Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
BurnMintTokenPool
Compiler Version
v0.8.24+commit.e11b9ed9
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2025-01-14
*/
pragma solidity ^0.8.0;
interface ITypeAndVersion {
function typeAndVersion() external pure returns (string memory);
}
// File: .deps/npm/@chainlink/[email protected]/src/v0.8/vendor/openzeppelin-solidity/v4.8.3/contracts/token/ERC20/IERC20.sol
// 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);
}
// File: .deps/npm/@chainlink/[email protected]/src/v0.8/shared/token/ERC20/IBurnMintERC20.sol
pragma solidity ^0.8.0;
interface IBurnMintERC20 is IERC20 {
/// @notice Mints new tokens for a given address.
/// @param account The address to mint the new tokens to.
/// @param amount The number of tokens to be minted.
/// @dev this function increases the total supply.
function mint(address account, uint256 amount) external;
/// @notice Burns tokens from the sender.
/// @param amount The number of tokens to be burned.
/// @dev this function decreases the total supply.
function burn(uint256 amount) external;
/// @notice Burns tokens from a given address..
/// @param account The address to burn tokens from.
/// @param amount The number of tokens to be burned.
/// @dev this function decreases the total supply.
function burn(address account, uint256 amount) external;
/// @notice Burns tokens from a given address..
/// @param account The address to burn tokens from.
/// @param amount The number of tokens to be burned.
/// @dev this function decreases the total supply.
function burnFrom(address account, uint256 amount) external;
}
// File: .deps/npm/@chainlink/[email protected]/src/v0.8/ccip/libraries/Pool.sol
pragma solidity ^0.8.0;
/// @notice This library contains various token pool functions to aid constructing the return data.
library Pool {
// The tag used to signal support for the pool v1 standard
// bytes4(keccak256("CCIP_POOL_V1"))
bytes4 public constant CCIP_POOL_V1 = 0xaff2afbf;
// The number of bytes in the return data for a pool v1 releaseOrMint call.
// This should match the size of the ReleaseOrMintOutV1 struct.
uint16 public constant CCIP_POOL_V1_RET_BYTES = 32;
// The default max number of bytes in the return data for a pool v1 lockOrBurn call.
// This data can be used to send information to the destination chain token pool. Can be overwritten
// in the TokenTransferFeeConfig.destBytesOverhead if more data is required.
uint32 public constant CCIP_LOCK_OR_BURN_V1_RET_BYTES = 32;
struct LockOrBurnInV1 {
bytes receiver; // The recipient of the tokens on the destination chain, abi encoded
uint64 remoteChainSelector; // ─╮ The chain ID of the destination chain
address originalSender; // ─────╯ The original sender of the tx on the source chain
uint256 amount; // The amount of tokens to lock or burn, denominated in the source token's decimals
address localToken; // The address on this chain of the token to lock or burn
}
struct LockOrBurnOutV1 {
// The address of the destination token, abi encoded in the case of EVM chains
// This value is UNTRUSTED as any pool owner can return whatever value they want.
bytes destTokenAddress;
// Optional pool data to be transferred to the destination chain. Be default this is capped at
// CCIP_LOCK_OR_BURN_V1_RET_BYTES bytes. If more data is required, the TokenTransferFeeConfig.destBytesOverhead
// has to be set for the specific token.
bytes destPoolData;
}
struct ReleaseOrMintInV1 {
bytes originalSender; // The original sender of the tx on the source chain
uint64 remoteChainSelector; // ─╮ The chain ID of the source chain
address receiver; // ───────────╯ The recipient of the tokens on the destination chain.
uint256 amount; // The amount of tokens to release or mint, denominated in the source token's decimals
address localToken; // The address on this chain of the token to release or mint
/// @dev WARNING: sourcePoolAddress should be checked prior to any processing of funds. Make sure it matches the
/// expected pool address for the given remoteChainSelector.
bytes sourcePoolAddress; // The address of the source pool, abi encoded in the case of EVM chains
bytes sourcePoolData; // The data received from the source pool to process the release or mint
/// @dev WARNING: offchainTokenData is untrusted data.
bytes offchainTokenData; // The offchain data to process the release or mint
}
struct ReleaseOrMintOutV1 {
// The number of tokens released or minted on the destination chain, denominated in the local token's decimals.
// This value is expected to be equal to the ReleaseOrMintInV1.amount in the case where the source and destination
// chain have the same number of decimals.
uint256 destinationAmount;
}
}
// File: .deps/npm/@chainlink/[email protected]/src/v0.8/vendor/openzeppelin-solidity/v5.0.2/contracts/utils/introspection/IERC165.sol
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
// File: .deps/npm/@chainlink/[email protected]/src/v0.8/ccip/interfaces/IPool.sol
pragma solidity ^0.8.0;
/// @notice Shared public interface for multiple V1 pool types.
/// Each pool type handles a different child token model (lock/unlock, mint/burn.)
interface IPoolV1 is IERC165 {
/// @notice Lock tokens into the pool or burn the tokens.
/// @param lockOrBurnIn Encoded data fields for the processing of tokens on the source chain.
/// @return lockOrBurnOut Encoded data fields for the processing of tokens on the destination chain.
function lockOrBurn(
Pool.LockOrBurnInV1 calldata lockOrBurnIn
) external returns (Pool.LockOrBurnOutV1 memory lockOrBurnOut);
/// @notice Releases or mints tokens to the receiver address.
/// @param releaseOrMintIn All data required to release or mint tokens.
/// @return releaseOrMintOut The amount of tokens released or minted on the local chain, denominated
/// in the local token's decimals.
/// @dev The offramp asserts that the balanceOf of the receiver has been incremented by exactly the number
/// of tokens that is returned in ReleaseOrMintOutV1.destinationAmount. If the amounts do not match, the tx reverts.
function releaseOrMint(
Pool.ReleaseOrMintInV1 calldata releaseOrMintIn
) external returns (Pool.ReleaseOrMintOutV1 memory);
/// @notice Checks whether a remote chain is supported in the token pool.
/// @param remoteChainSelector The selector of the remote chain.
/// @return true if the given chain is a permissioned remote chain.
function isSupportedChain(
uint64 remoteChainSelector
) external view returns (bool);
/// @notice Returns if the token pool supports the given token.
/// @param token The address of the token.
/// @return true if the token is supported by the pool.
function isSupportedToken(
address token
) external view returns (bool);
}
// File: .deps/npm/@chainlink/[email protected]/src/v0.8/ccip/interfaces/IRMN.sol
pragma solidity ^0.8.0;
/// @notice This interface contains the only RMN-related functions that might be used on-chain by other CCIP contracts.
interface IRMN {
/// @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 Iff there is an active global or legacy curse, this function returns true.
function isCursed() external view returns (bool);
/// @notice Iff there is an active global curse, or an active curse for `subject`, this function returns true.
/// @param subject To check whether a particular chain is cursed, set to bytes16(uint128(chainSelector)).
function isCursed(
bytes16 subject
) external view returns (bool);
}
// File: .deps/npm/@chainlink/[email protected]/src/v0.8/ccip/libraries/Client.sol
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(EVMExtraArgsV2)
}
// 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);
}
// bytes4(keccak256("CCIP EVMExtraArgsV2"));
bytes4 public constant EVM_EXTRA_ARGS_V2_TAG = 0x181dcf10;
/// @param gasLimit: gas limit for the callback on the destination chain.
/// @param allowOutOfOrderExecution: if true, it indicates that the message can be executed in any order relative to other messages from the same sender.
/// This value's default varies by chain. On some chains, a particular value is enforced, meaning if the expected value
/// is not set, the message request will revert.
struct EVMExtraArgsV2 {
uint256 gasLimit;
bool allowOutOfOrderExecution;
}
function _argsToBytes(
EVMExtraArgsV2 memory extraArgs
) internal pure returns (bytes memory bts) {
return abi.encodeWithSelector(EVM_EXTRA_ARGS_V2_TAG, extraArgs);
}
}
// File: .deps/npm/@chainlink/[email protected]/src/v0.8/ccip/interfaces/IRouter.sol
pragma solidity ^0.8.0;
interface IRouter {
error OnlyOffRamp();
/// @notice Route the message to its intended receiver contract.
/// @param message Client.Any2EVMMessage struct.
/// @param gasForCallExactCheck of params for exec
/// @param gasLimit set of params for exec
/// @param receiver set of params for exec
/// @dev if the receiver is a contracts that signals support for CCIP execution through EIP-165.
/// the contract is called. If not, only tokens are transferred.
/// @return success A boolean value indicating whether the ccip message was received without errors.
/// @return retBytes A bytes array containing return data form CCIP receiver.
/// @return gasUsed the gas used by the external customer call. Does not include any overhead.
function routeMessage(
Client.Any2EVMMessage calldata message,
uint16 gasForCallExactCheck,
uint256 gasLimit,
address receiver
) external returns (bool success, bytes memory retBytes, uint256 gasUsed);
/// @notice Returns the configured onramp for a specific destination chain.
/// @param destChainSelector The destination chain Id to get the onRamp for.
/// @return onRampAddress The address of the onRamp.
function getOnRamp(
uint64 destChainSelector
) external view returns (address onRampAddress);
/// @notice Return true if the given offRamp is a configured offRamp for the given source chain.
/// @param sourceChainSelector The source chain selector to check.
/// @param offRamp The address of the offRamp to check.
function isOffRamp(uint64 sourceChainSelector, address offRamp) external view returns (bool isOffRamp);
}
// File: .deps/npm/@chainlink/[email protected]/src/v0.8/shared/interfaces/IOwnable.sol
pragma solidity ^0.8.0;
interface IOwnable {
function owner() external returns (address);
function transferOwnership(address recipient) external;
function acceptOwnership() external;
}
// File: .deps/npm/@chainlink/[email protected]/src/v0.8/shared/access/Ownable2Step.sol
pragma solidity ^0.8.4;
/// @notice A minimal contract that implements 2-step ownership transfer and nothing more. It's made to be minimal
/// to reduce the impact of the bytecode size on any contract that inherits from it.
contract Ownable2Step is IOwnable {
/// @notice The pending owner is the address to which ownership may be transferred.
address private s_pendingOwner;
/// @notice The owner is the current owner of the contract.
/// @dev The owner is the second storage variable so any implementing contract could pack other state with it
/// instead of the much less used s_pendingOwner.
address private s_owner;
error OwnerCannotBeZero();
error MustBeProposedOwner();
error CannotTransferToSelf();
error OnlyCallableByOwner();
event OwnershipTransferRequested(address indexed from, address indexed to);
event OwnershipTransferred(address indexed from, address indexed to);
constructor(address newOwner, address pendingOwner) {
if (newOwner == address(0)) {
revert OwnerCannotBeZero();
}
s_owner = newOwner;
if (pendingOwner != address(0)) {
_transferOwnership(pendingOwner);
}
}
/// @notice Get the current owner
function owner() public view override returns (address) {
return s_owner;
}
/// @notice Allows an owner to begin transferring ownership to a new address. The new owner needs to call
/// `acceptOwnership` to accept the transfer before any permissions are changed.
/// @param to The address to which ownership will be transferred.
function transferOwnership(address to) public override onlyOwner {
_transferOwnership(to);
}
/// @notice validate, transfer ownership, and emit relevant events
/// @param to The address to which ownership will be transferred.
function _transferOwnership(address to) private {
if (to == msg.sender) {
revert CannotTransferToSelf();
}
s_pendingOwner = to;
emit OwnershipTransferRequested(s_owner, to);
}
/// @notice Allows an ownership transfer to be completed by the recipient.
function acceptOwnership() external override {
if (msg.sender != s_pendingOwner) {
revert MustBeProposedOwner();
}
address oldOwner = s_owner;
s_owner = msg.sender;
s_pendingOwner = address(0);
emit OwnershipTransferred(oldOwner, msg.sender);
}
/// @notice validate access
function _validateOwnership() internal view {
if (msg.sender != s_owner) {
revert OnlyCallableByOwner();
}
}
/// @notice Reverts if called by anyone other than the contract owner.
modifier onlyOwner() {
_validateOwnership();
_;
}
}
// File: .deps/npm/@chainlink/[email protected]/src/v0.8/shared/access/Ownable2StepMsgSender.sol
pragma solidity ^0.8.4;
/// @notice Sets the msg.sender to be the owner of the contract and does not set a pending owner.
contract Ownable2StepMsgSender is Ownable2Step {
constructor() Ownable2Step(msg.sender, address(0)) {}
}
// File: .deps/npm/@chainlink/[email protected]/src/v0.8/ccip/libraries/RateLimiter.sol
pragma solidity ^0.8.4;
/// @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);
error InvalidRateLimitRate(Config rateLimiterConfig);
error DisabledNonZeroRateLimit(Config config);
error RateLimitMustBeDisabled();
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 Validates the token bucket config
function _validateTokenBucketConfig(Config memory config, bool mustBeDisabled) internal pure {
if (config.isEnabled) {
if (config.rate >= config.capacity || config.rate == 0) {
revert InvalidRateLimitRate(config);
}
if (mustBeDisabled) {
revert RateLimitMustBeDisabled();
}
} else {
if (config.rate != 0 || config.capacity != 0) {
revert DisabledNonZeroRateLimit(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;
}
}
// File: .deps/npm/@chainlink/[email protected]/src/v0.8/vendor/openzeppelin-solidity/v4.8.3/contracts/token/ERC20/extensions/IERC20Metadata.sol
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}
// File: .deps/npm/@chainlink/[email protected]/src/v0.8/vendor/openzeppelin-solidity/v5.0.2/contracts/utils/structs/EnumerableSet.sol
// OpenZeppelin Contracts (last updated v5.0.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.
pragma solidity ^0.8.20;
/**
* @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.
*
* ```solidity
* 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 is the index of the value in the `values` array plus 1.
// Position 0 is used to mean a value is not in the set.
mapping(bytes32 value => uint256) _positions;
}
/**
* @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._positions[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 cache the value's position to prevent multiple reads from the same storage slot
uint256 position = set._positions[value];
if (position != 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 valueIndex = position - 1;
uint256 lastIndex = set._values.length - 1;
if (valueIndex != lastIndex) {
bytes32 lastValue = set._values[lastIndex];
// Move the lastValue to the index where the value to delete is
set._values[valueIndex] = lastValue;
// Update the tracked position of the lastValue (that was just moved)
set._positions[lastValue] = position;
}
// Delete the slot where the moved value was stored
set._values.pop();
// Delete the tracked position for the deleted slot
delete set._positions[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._positions[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;
}
}
// File: .deps/npm/@chainlink/[email protected]/src/v0.8/ccip/pools/TokenPool.sol
pragma solidity 0.8.24;
/// @dev This pool supports different decimals on different chains but using this feature could impact the total number
/// of tokens in circulation. Since all of the tokens are locked/burned on the source, and a rounded amount is minted/released on the
/// destination, the number of tokens minted/released could be less than the number of tokens burned/locked. This is because the source
/// chain does not know about the destination token decimals. This is not a problem if the decimals are the same on both
/// chains.
///
/// Example:
/// Assume there is a token with 6 decimals on chain A and 3 decimals on chain B.
/// - 1.234567 tokens are burned on chain A.
/// - 1.234 tokens are minted on chain B.
/// When sending the 1.234 tokens back to chain A, you will receive 1.234000 tokens on chain A, effectively losing
/// 0.000567 tokens.
/// In the case of a burnMint pool on chain A, these funds are burned in the pool on chain A.
/// In the case of a lockRelease pool on chain A, these funds accumulate in the pool on chain A.
abstract contract TokenPool is IPoolV1, Ownable2StepMsgSender {
using EnumerableSet for EnumerableSet.Bytes32Set;
using EnumerableSet for EnumerableSet.AddressSet;
using EnumerableSet for EnumerableSet.UintSet;
using RateLimiter for RateLimiter.TokenBucket;
error CallerIsNotARampOnRouter(address caller);
error ZeroAddressNotAllowed();
error SenderNotAllowed(address sender);
error AllowListNotEnabled();
error NonExistentChain(uint64 remoteChainSelector);
error ChainNotAllowed(uint64 remoteChainSelector);
error CursedByRMN();
error ChainAlreadyExists(uint64 chainSelector);
error InvalidSourcePoolAddress(bytes sourcePoolAddress);
error InvalidToken(address token);
error Unauthorized(address caller);
error PoolAlreadyAdded(uint64 remoteChainSelector, bytes remotePoolAddress);
error InvalidRemotePoolForChain(uint64 remoteChainSelector, bytes remotePoolAddress);
error InvalidRemoteChainDecimals(bytes sourcePoolData);
error OverflowDetected(uint8 remoteDecimals, uint8 localDecimals, uint256 remoteAmount);
error InvalidDecimalArgs(uint8 expected, uint8 actual);
event Locked(address indexed sender, uint256 amount);
event Burned(address indexed sender, uint256 amount);
event Released(address indexed sender, address indexed recipient, uint256 amount);
event Minted(address indexed sender, address indexed recipient, uint256 amount);
event ChainAdded(
uint64 remoteChainSelector,
bytes remoteToken,
RateLimiter.Config outboundRateLimiterConfig,
RateLimiter.Config inboundRateLimiterConfig
);
event ChainConfigured(
uint64 remoteChainSelector,
RateLimiter.Config outboundRateLimiterConfig,
RateLimiter.Config inboundRateLimiterConfig
);
event ChainRemoved(uint64 remoteChainSelector);
event RemotePoolAdded(uint64 indexed remoteChainSelector, bytes remotePoolAddress);
event RemotePoolRemoved(uint64 indexed remoteChainSelector, bytes remotePoolAddress);
event AllowListAdd(address sender);
event AllowListRemove(address sender);
event RouterUpdated(address oldRouter, address newRouter);
event RateLimitAdminSet(address rateLimitAdmin);
struct ChainUpdate {
uint64 remoteChainSelector; // Remote chain selector
bytes[] remotePoolAddresses; // Address of the remote pool, ABI encoded in the case of a remote EVM chain.
bytes remoteTokenAddress; // Address of the remote token, ABI encoded in the case of a remote EVM chain.
RateLimiter.Config outboundRateLimiterConfig; // Outbound rate limited config, meaning the rate limits for all of the onRamps for the given chain
RateLimiter.Config inboundRateLimiterConfig; // Inbound rate limited config, meaning the rate limits for all of the offRamps for the given chain
}
struct RemoteChainConfig {
RateLimiter.TokenBucket outboundRateLimiterConfig; // Outbound rate limited config, meaning the rate limits for all of the onRamps for the given chain
RateLimiter.TokenBucket inboundRateLimiterConfig; // Inbound rate limited config, meaning the rate limits for all of the offRamps for the given chain
bytes remoteTokenAddress; // Address of the remote token, ABI encoded in the case of a remote EVM chain.
EnumerableSet.Bytes32Set remotePools; // Set of remote pool hashes, ABI encoded in the case of a remote EVM chain.
}
/// @dev The bridgeable token that is managed by this pool. Pools could support multiple tokens at the same time if
/// required, but this implementation only supports one token.
IERC20 internal immutable i_token;
/// @dev The number of decimals of the token managed by this pool.
uint8 internal immutable i_tokenDecimals;
/// @dev The address of the RMN proxy
address internal immutable i_rmnProxy;
/// @dev The immutable flag that indicates if the pool is access-controlled.
bool internal immutable i_allowlistEnabled;
/// @dev A set of addresses allowed to trigger lockOrBurn as original senders.
/// Only takes effect if i_allowlistEnabled is true.
/// This can be used to ensure only token-issuer specified addresses can move tokens.
EnumerableSet.AddressSet internal s_allowlist;
/// @dev The address of the router
IRouter internal s_router;
/// @dev A set of allowed chain selectors. We want the allowlist to be enumerable to
/// be able to quickly determine (without parsing logs) who can access the pool.
/// @dev The chain selectors are in uint256 format because of the EnumerableSet implementation.
EnumerableSet.UintSet internal s_remoteChainSelectors;
mapping(uint64 remoteChainSelector => RemoteChainConfig) internal s_remoteChainConfigs;
/// @notice A mapping of hashed pool addresses to their unhashed form. This is used to be able to find the actually
/// configured pools and not just their hashed versions.
mapping(bytes32 poolAddressHash => bytes poolAddress) internal s_remotePoolAddresses;
/// @notice The address of the rate limiter admin.
/// @dev Can be address(0) if none is configured.
address internal s_rateLimitAdmin;
constructor(IERC20 token, uint8 localTokenDecimals, address[] memory allowlist, address rmnProxy, address router) {
if (address(token) == address(0) || router == address(0) || rmnProxy == address(0)) revert ZeroAddressNotAllowed();
i_token = token;
i_rmnProxy = rmnProxy;
try IERC20Metadata(address(token)).decimals() returns (uint8 actualTokenDecimals) {
if (localTokenDecimals != actualTokenDecimals) {
revert InvalidDecimalArgs(localTokenDecimals, actualTokenDecimals);
}
} catch {
// The decimals function doesn't exist, which is possible since it's optional in the ERC20 spec. We skip the check and
// assume the supplied token decimals are correct.
}
i_tokenDecimals = localTokenDecimals;
s_router = IRouter(router);
// Pool can be set as permissioned or permissionless at deployment time only to save hot-path gas.
i_allowlistEnabled = allowlist.length > 0;
if (i_allowlistEnabled) {
_applyAllowListUpdates(new address[](0), allowlist);
}
}
/// @inheritdoc IPoolV1
function isSupportedToken(
address token
) public view virtual returns (bool) {
return token == address(i_token);
}
/// @notice Gets the IERC20 token that this pool can lock or burn.
/// @return token The IERC20 token representation.
function getToken() public view returns (IERC20 token) {
return i_token;
}
/// @notice Get RMN proxy address
/// @return rmnProxy Address of RMN proxy
function getRmnProxy() public view returns (address rmnProxy) {
return i_rmnProxy;
}
/// @notice Gets the pool's Router
/// @return router The pool's Router
function getRouter() public view returns (address router) {
return address(s_router);
}
/// @notice Sets the pool's Router
/// @param newRouter The new Router
function setRouter(
address newRouter
) public onlyOwner {
if (newRouter == address(0)) revert ZeroAddressNotAllowed();
address oldRouter = address(s_router);
s_router = IRouter(newRouter);
emit RouterUpdated(oldRouter, newRouter);
}
/// @notice Signals which version of the pool interface is supported
function supportsInterface(
bytes4 interfaceId
) public pure virtual override returns (bool) {
return interfaceId == Pool.CCIP_POOL_V1 || interfaceId == type(IPoolV1).interfaceId
|| interfaceId == type(IERC165).interfaceId;
}
// ================================================================
// │ Validation │
// ================================================================
/// @notice Validates the lock or burn input for correctness on
/// - token to be locked or burned
/// - RMN curse status
/// - allowlist status
/// - if the sender is a valid onRamp
/// - rate limit status
/// @param lockOrBurnIn The input to validate.
/// @dev This function should always be called before executing a lock or burn. Not doing so would allow
/// for various exploits.
function _validateLockOrBurn(
Pool.LockOrBurnInV1 calldata lockOrBurnIn
) internal {
if (!isSupportedToken(lockOrBurnIn.localToken)) revert InvalidToken(lockOrBurnIn.localToken);
if (IRMN(i_rmnProxy).isCursed(bytes16(uint128(lockOrBurnIn.remoteChainSelector)))) revert CursedByRMN();
_checkAllowList(lockOrBurnIn.originalSender);
_onlyOnRamp(lockOrBurnIn.remoteChainSelector);
_consumeOutboundRateLimit(lockOrBurnIn.remoteChainSelector, lockOrBurnIn.amount);
}
/// @notice Validates the release or mint input for correctness on
/// - token to be released or minted
/// - RMN curse status
/// - if the sender is a valid offRamp
/// - if the source pool is valid
/// - rate limit status
/// @param releaseOrMintIn The input to validate.
/// @dev This function should always be called before executing a release or mint. Not doing so would allow
/// for various exploits.
function _validateReleaseOrMint(
Pool.ReleaseOrMintInV1 calldata releaseOrMintIn
) internal {
if (!isSupportedToken(releaseOrMintIn.localToken)) revert InvalidToken(releaseOrMintIn.localToken);
if (IRMN(i_rmnProxy).isCursed(bytes16(uint128(releaseOrMintIn.remoteChainSelector)))) revert CursedByRMN();
_onlyOffRamp(releaseOrMintIn.remoteChainSelector);
// Validates that the source pool address is configured on this pool.
if (!isRemotePool(releaseOrMintIn.remoteChainSelector, releaseOrMintIn.sourcePoolAddress)) {
revert InvalidSourcePoolAddress(releaseOrMintIn.sourcePoolAddress);
}
_consumeInboundRateLimit(releaseOrMintIn.remoteChainSelector, releaseOrMintIn.amount);
}
// ================================================================
// │ Token decimals │
// ================================================================
/// @notice Gets the IERC20 token decimals on the local chain.
function getTokenDecimals() public view virtual returns (uint8 decimals) {
return i_tokenDecimals;
}
function _encodeLocalDecimals() internal view virtual returns (bytes memory) {
return abi.encode(i_tokenDecimals);
}
function _parseRemoteDecimals(
bytes memory sourcePoolData
) internal view virtual returns (uint8) {
// Fallback to the local token decimals if the source pool data is empty. This allows for backwards compatibility.
if (sourcePoolData.length == 0) {
return i_tokenDecimals;
}
if (sourcePoolData.length != 32) {
revert InvalidRemoteChainDecimals(sourcePoolData);
}
uint256 remoteDecimals = abi.decode(sourcePoolData, (uint256));
if (remoteDecimals > type(uint8).max) {
revert InvalidRemoteChainDecimals(sourcePoolData);
}
return uint8(remoteDecimals);
}
/// @notice Calculates the local amount based on the remote amount and decimals.
/// @param remoteAmount The amount on the remote chain.
/// @param remoteDecimals The decimals of the token on the remote chain.
/// @return The local amount.
/// @dev This function protects against overflows. If there is a transaction that hits the overflow check, it is
/// probably incorrect as that means the amount cannot be represented on this chain. If the local decimals have been
/// wrongly configured, the token issuer could redeploy the pool with the correct decimals and manually re-execute the
/// CCIP tx to fix the issue.
function _calculateLocalAmount(uint256 remoteAmount, uint8 remoteDecimals) internal view virtual returns (uint256) {
if (remoteDecimals == i_tokenDecimals) {
return remoteAmount;
}
if (remoteDecimals > i_tokenDecimals) {
uint8 decimalsDiff = remoteDecimals - i_tokenDecimals;
if (decimalsDiff > 77) {
// This is a safety check to prevent overflow in the next calculation.
revert OverflowDetected(remoteDecimals, i_tokenDecimals, remoteAmount);
}
// Solidity rounds down so there is no risk of minting more tokens than the remote chain sent.
return remoteAmount / (10 ** decimalsDiff);
}
// This is a safety check to prevent overflow in the next calculation.
// More than 77 would never fit in a uint256 and would cause an overflow. We also check if the resulting amount
// would overflow.
uint8 diffDecimals = i_tokenDecimals - remoteDecimals;
if (diffDecimals > 77 || remoteAmount > type(uint256).max / (10 ** diffDecimals)) {
revert OverflowDetected(remoteDecimals, i_tokenDecimals, remoteAmount);
}
return remoteAmount * (10 ** diffDecimals);
}
// ================================================================
// │ Chain permissions │
// ================================================================
/// @notice Gets the pool address on the remote chain.
/// @param remoteChainSelector Remote chain selector.
/// @dev To support non-evm chains, this value is encoded into bytes
function getRemotePools(
uint64 remoteChainSelector
) public view returns (bytes[] memory) {
bytes32[] memory remotePoolHashes = s_remoteChainConfigs[remoteChainSelector].remotePools.values();
bytes[] memory remotePools = new bytes[](remotePoolHashes.length);
for (uint256 i = 0; i < remotePoolHashes.length; ++i) {
remotePools[i] = s_remotePoolAddresses[remotePoolHashes[i]];
}
return remotePools;
}
/// @notice Checks if the pool address is configured on the remote chain.
/// @param remoteChainSelector Remote chain selector.
/// @param remotePoolAddress The address of the remote pool.
function isRemotePool(uint64 remoteChainSelector, bytes calldata remotePoolAddress) public view returns (bool) {
return s_remoteChainConfigs[remoteChainSelector].remotePools.contains(keccak256(remotePoolAddress));
}
/// @notice Gets the token address on the remote chain.
/// @param remoteChainSelector Remote chain selector.
/// @dev To support non-evm chains, this value is encoded into bytes
function getRemoteToken(
uint64 remoteChainSelector
) public view returns (bytes memory) {
return s_remoteChainConfigs[remoteChainSelector].remoteTokenAddress;
}
/// @notice Adds a remote pool for a given chain selector. This could be due to a pool being upgraded on the remote
/// chain. We don't simply want to replace the old pool as there could still be valid inflight messages from the old
/// pool. This function allows for multiple pools to be added for a single chain selector.
/// @param remoteChainSelector The remote chain selector for which the remote pool address is being added.
/// @param remotePoolAddress The address of the new remote pool.
function addRemotePool(uint64 remoteChainSelector, bytes calldata remotePoolAddress) external onlyOwner {
if (!isSupportedChain(remoteChainSelector)) revert NonExistentChain(remoteChainSelector);
_setRemotePool(remoteChainSelector, remotePoolAddress);
}
/// @notice Removes the remote pool address for a given chain selector.
/// @dev All inflight txs from the remote pool will be rejected after it is removed. To ensure no loss of funds, there
/// should be no inflight txs from the given pool.
function removeRemotePool(uint64 remoteChainSelector, bytes calldata remotePoolAddress) external onlyOwner {
if (!isSupportedChain(remoteChainSelector)) revert NonExistentChain(remoteChainSelector);
if (!s_remoteChainConfigs[remoteChainSelector].remotePools.remove(keccak256(remotePoolAddress))) {
revert InvalidRemotePoolForChain(remoteChainSelector, remotePoolAddress);
}
emit RemotePoolRemoved(remoteChainSelector, remotePoolAddress);
}
/// @inheritdoc IPoolV1
function isSupportedChain(
uint64 remoteChainSelector
) public view returns (bool) {
return s_remoteChainSelectors.contains(remoteChainSelector);
}
/// @notice Get list of allowed chains
/// @return list of chains.
function getSupportedChains() public view returns (uint64[] memory) {
uint256[] memory uint256ChainSelectors = s_remoteChainSelectors.values();
uint64[] memory chainSelectors = new uint64[](uint256ChainSelectors.length);
for (uint256 i = 0; i < uint256ChainSelectors.length; ++i) {
chainSelectors[i] = uint64(uint256ChainSelectors[i]);
}
return chainSelectors;
}
/// @notice Sets the permissions for a list of chains selectors. Actual senders for these chains
/// need to be allowed on the Router to interact with this pool.
/// @param remoteChainSelectorsToRemove A list of chain selectors to remove.
/// @param chainsToAdd A list of chains and their new permission status & rate limits. Rate limits
/// are only used when the chain is being added through `allowed` being true.
/// @dev Only callable by the owner
function applyChainUpdates(
uint64[] calldata remoteChainSelectorsToRemove,
ChainUpdate[] calldata chainsToAdd
) external virtual onlyOwner {
for (uint256 i = 0; i < remoteChainSelectorsToRemove.length; ++i) {
uint64 remoteChainSelectorToRemove = remoteChainSelectorsToRemove[i];
// If the chain doesn't exist, revert
if (!s_remoteChainSelectors.remove(remoteChainSelectorToRemove)) {
revert NonExistentChain(remoteChainSelectorToRemove);
}
// Remove all remote pool hashes for the chain
bytes32[] memory remotePools = s_remoteChainConfigs[remoteChainSelectorToRemove].remotePools.values();
for (uint256 j = 0; j < remotePools.length; ++j) {
s_remoteChainConfigs[remoteChainSelectorToRemove].remotePools.remove(remotePools[j]);
}
delete s_remoteChainConfigs[remoteChainSelectorToRemove];
emit ChainRemoved(remoteChainSelectorToRemove);
}
for (uint256 i = 0; i < chainsToAdd.length; ++i) {
ChainUpdate memory newChain = chainsToAdd[i];
RateLimiter._validateTokenBucketConfig(newChain.outboundRateLimiterConfig, false);
RateLimiter._validateTokenBucketConfig(newChain.inboundRateLimiterConfig, false);
if (newChain.remoteTokenAddress.length == 0) {
revert ZeroAddressNotAllowed();
}
// If the chain already exists, revert
if (!s_remoteChainSelectors.add(newChain.remoteChainSelector)) {
revert ChainAlreadyExists(newChain.remoteChainSelector);
}
RemoteChainConfig storage remoteChainConfig = s_remoteChainConfigs[newChain.remoteChainSelector];
remoteChainConfig.outboundRateLimiterConfig = RateLimiter.TokenBucket({
rate: newChain.outboundRateLimiterConfig.rate,
capacity: newChain.outboundRateLimiterConfig.capacity,
tokens: newChain.outboundRateLimiterConfig.capacity,
lastUpdated: uint32(block.timestamp),
isEnabled: newChain.outboundRateLimiterConfig.isEnabled
});
remoteChainConfig.inboundRateLimiterConfig = RateLimiter.TokenBucket({
rate: newChain.inboundRateLimiterConfig.rate,
capacity: newChain.inboundRateLimiterConfig.capacity,
tokens: newChain.inboundRateLimiterConfig.capacity,
lastUpdated: uint32(block.timestamp),
isEnabled: newChain.inboundRateLimiterConfig.isEnabled
});
remoteChainConfig.remoteTokenAddress = newChain.remoteTokenAddress;
for (uint256 j = 0; j < newChain.remotePoolAddresses.length; ++j) {
_setRemotePool(newChain.remoteChainSelector, newChain.remotePoolAddresses[j]);
}
emit ChainAdded(
newChain.remoteChainSelector,
newChain.remoteTokenAddress,
newChain.outboundRateLimiterConfig,
newChain.inboundRateLimiterConfig
);
}
}
/// @notice Adds a pool address to the allowed remote token pools for a particular chain.
/// @param remoteChainSelector The remote chain selector for which the remote pool address is being added.
/// @param remotePoolAddress The address of the new remote pool.
function _setRemotePool(uint64 remoteChainSelector, bytes memory remotePoolAddress) internal {
if (remotePoolAddress.length == 0) {
revert ZeroAddressNotAllowed();
}
bytes32 poolHash = keccak256(remotePoolAddress);
// Check if the pool already exists.
if (!s_remoteChainConfigs[remoteChainSelector].remotePools.add(poolHash)) {
revert PoolAlreadyAdded(remoteChainSelector, remotePoolAddress);
}
// Add the pool to the mapping to be able to un-hash it later.
s_remotePoolAddresses[poolHash] = remotePoolAddress;
emit RemotePoolAdded(remoteChainSelector, remotePoolAddress);
}
// ================================================================
// │ Rate limiting │
// ================================================================
/// @dev The inbound rate limits should be slightly higher than the outbound rate limits. This is because many chains
/// finalize blocks in batches. CCIP also commits messages in batches: the commit plugin bundles multiple messages in
/// a single merkle root.
/// Imagine the following scenario.
/// - Chain A has an inbound and outbound rate limit of 100 tokens capacity and 1 token per second refill rate.
/// - Chain B has an inbound and outbound rate limit of 100 tokens capacity and 1 token per second refill rate.
///
/// At time 0:
/// - Chain A sends 100 tokens to Chain B.
/// At time 5:
/// - Chain A sends 5 tokens to Chain B.
/// At time 6:
/// The epoch that contains blocks [0-5] is finalized.
/// Both transactions will be included in the same merkle root and become executable at the same time. This means
/// the token pool on chain B requires a capacity of 105 to successfully execute both messages at the same time.
/// The exact additional capacity required depends on the refill rate and the size of the source chain epochs and the
/// CCIP round time. For simplicity, a 5-10% buffer should be sufficient in most cases.
/// @notice Sets the rate limiter admin address.
/// @dev Only callable by the owner.
/// @param rateLimitAdmin The new rate limiter admin address.
function setRateLimitAdmin(
address rateLimitAdmin
) external onlyOwner {
s_rateLimitAdmin = rateLimitAdmin;
emit RateLimitAdminSet(rateLimitAdmin);
}
/// @notice Gets the rate limiter admin address.
function getRateLimitAdmin() external view returns (address) {
return s_rateLimitAdmin;
}
/// @notice Consumes outbound rate limiting capacity in this pool
function _consumeOutboundRateLimit(uint64 remoteChainSelector, uint256 amount) internal {
s_remoteChainConfigs[remoteChainSelector].outboundRateLimiterConfig._consume(amount, address(i_token));
}
/// @notice Consumes inbound rate limiting capacity in this pool
function _consumeInboundRateLimit(uint64 remoteChainSelector, uint256 amount) internal {
s_remoteChainConfigs[remoteChainSelector].inboundRateLimiterConfig._consume(amount, address(i_token));
}
/// @notice Gets the token bucket with its values for the block it was requested at.
/// @return The token bucket.
function getCurrentOutboundRateLimiterState(
uint64 remoteChainSelector
) external view returns (RateLimiter.TokenBucket memory) {
return s_remoteChainConfigs[remoteChainSelector].outboundRateLimiterConfig._currentTokenBucketState();
}
/// @notice Gets the token bucket with its values for the block it was requested at.
/// @return The token bucket.
function getCurrentInboundRateLimiterState(
uint64 remoteChainSelector
) external view returns (RateLimiter.TokenBucket memory) {
return s_remoteChainConfigs[remoteChainSelector].inboundRateLimiterConfig._currentTokenBucketState();
}
/// @notice Sets the chain rate limiter config.
/// @param remoteChainSelector The remote chain selector for which the rate limits apply.
/// @param outboundConfig The new outbound rate limiter config, meaning the onRamp rate limits for the given chain.
/// @param inboundConfig The new inbound rate limiter config, meaning the offRamp rate limits for the given chain.
function setChainRateLimiterConfig(
uint64 remoteChainSelector,
RateLimiter.Config memory outboundConfig,
RateLimiter.Config memory inboundConfig
) external {
if (msg.sender != s_rateLimitAdmin && msg.sender != owner()) revert Unauthorized(msg.sender);
_setRateLimitConfig(remoteChainSelector, outboundConfig, inboundConfig);
}
function _setRateLimitConfig(
uint64 remoteChainSelector,
RateLimiter.Config memory outboundConfig,
RateLimiter.Config memory inboundConfig
) internal {
if (!isSupportedChain(remoteChainSelector)) revert NonExistentChain(remoteChainSelector);
RateLimiter._validateTokenBucketConfig(outboundConfig, false);
s_remoteChainConfigs[remoteChainSelector].outboundRateLimiterConfig._setTokenBucketConfig(outboundConfig);
RateLimiter._validateTokenBucketConfig(inboundConfig, false);
s_remoteChainConfigs[remoteChainSelector].inboundRateLimiterConfig._setTokenBucketConfig(inboundConfig);
emit ChainConfigured(remoteChainSelector, outboundConfig, inboundConfig);
}
// ================================================================
// │ Access │
// ================================================================
/// @notice Checks whether remote chain selector is configured on this contract, and if the msg.sender
/// is a permissioned onRamp for the given chain on the Router.
function _onlyOnRamp(
uint64 remoteChainSelector
) internal view {
if (!isSupportedChain(remoteChainSelector)) revert ChainNotAllowed(remoteChainSelector);
if (!(msg.sender == s_router.getOnRamp(remoteChainSelector))) revert CallerIsNotARampOnRouter(msg.sender);
}
/// @notice Checks whether remote chain selector is configured on this contract, and if the msg.sender
/// is a permissioned offRamp for the given chain on the Router.
function _onlyOffRamp(
uint64 remoteChainSelector
) internal view {
if (!isSupportedChain(remoteChainSelector)) revert ChainNotAllowed(remoteChainSelector);
if (!s_router.isOffRamp(remoteChainSelector, msg.sender)) revert CallerIsNotARampOnRouter(msg.sender);
}
// ================================================================
// │ Allowlist │
// ================================================================
function _checkAllowList(
address sender
) internal view {
if (i_allowlistEnabled) {
if (!s_allowlist.contains(sender)) {
revert SenderNotAllowed(sender);
}
}
}
/// @notice Gets whether the allowlist functionality is enabled.
/// @return true is enabled, false if not.
function getAllowListEnabled() external view returns (bool) {
return i_allowlistEnabled;
}
/// @notice Gets the allowed addresses.
/// @return The allowed addresses.
function getAllowList() external view returns (address[] memory) {
return s_allowlist.values();
}
/// @notice Apply updates to the allow list.
/// @param removes The addresses to be removed.
/// @param adds The addresses to be added.
function applyAllowListUpdates(address[] calldata removes, address[] calldata adds) external onlyOwner {
_applyAllowListUpdates(removes, adds);
}
/// @notice Internal version of applyAllowListUpdates to allow for reuse in the constructor.
function _applyAllowListUpdates(address[] memory removes, address[] memory adds) internal {
if (!i_allowlistEnabled) revert AllowListNotEnabled();
for (uint256 i = 0; i < removes.length; ++i) {
address toRemove = removes[i];
if (s_allowlist.remove(toRemove)) {
emit AllowListRemove(toRemove);
}
}
for (uint256 i = 0; i < adds.length; ++i) {
address toAdd = adds[i];
if (toAdd == address(0)) {
continue;
}
if (s_allowlist.add(toAdd)) {
emit AllowListAdd(toAdd);
}
}
}
}
// File: .deps/npm/@chainlink/[email protected]/src/v0.8/ccip/pools/BurnMintTokenPoolAbstract.sol
pragma solidity 0.8.24;
abstract contract BurnMintTokenPoolAbstract is TokenPool {
/// @notice Contains the specific burn call for a pool.
/// @dev overriding this method allows us to create pools with different burn signatures
/// without duplicating the underlying logic.
function _burn(
uint256 amount
) internal virtual;
/// @notice Burn the token in the pool
/// @dev The _validateLockOrBurn check is an essential security check
function lockOrBurn(
Pool.LockOrBurnInV1 calldata lockOrBurnIn
) external virtual override returns (Pool.LockOrBurnOutV1 memory) {
_validateLockOrBurn(lockOrBurnIn);
_burn(lockOrBurnIn.amount);
emit Burned(msg.sender, lockOrBurnIn.amount);
return Pool.LockOrBurnOutV1({
destTokenAddress: getRemoteToken(lockOrBurnIn.remoteChainSelector),
destPoolData: _encodeLocalDecimals()
});
}
/// @notice Mint tokens from the pool to the recipient
/// @dev The _validateReleaseOrMint check is an essential security check
function releaseOrMint(
Pool.ReleaseOrMintInV1 calldata releaseOrMintIn
) external virtual override returns (Pool.ReleaseOrMintOutV1 memory) {
_validateReleaseOrMint(releaseOrMintIn);
// Calculate the local amount
uint256 localAmount =
_calculateLocalAmount(releaseOrMintIn.amount, _parseRemoteDecimals(releaseOrMintIn.sourcePoolData));
// Mint to the receiver
IBurnMintERC20(address(i_token)).mint(releaseOrMintIn.receiver, localAmount);
emit Minted(msg.sender, releaseOrMintIn.receiver, localAmount);
return Pool.ReleaseOrMintOutV1({destinationAmount: localAmount});
}
}
// File: .deps/npm/@chainlink/[email protected]/src/v0.8/ccip/pools/BurnMintTokenPool.sol
pragma solidity 0.8.24;
/// @notice This pool mints and burns a 3rd-party token.
/// @dev Pool whitelisting mode is set in the constructor and cannot be modified later.
/// It either accepts any address as originalSender, or only accepts whitelisted originalSender.
/// The only way to change whitelisting mode is to deploy a new pool.
/// If that is expected, please make sure the token's burner/minter roles are adjustable.
/// @dev This contract is a variant of BurnMintTokenPool that uses `burn(amount)`.
contract BurnMintTokenPool is BurnMintTokenPoolAbstract, ITypeAndVersion {
string public constant override typeAndVersion = "BurnMintTokenPool 1.5.1";
constructor(
IBurnMintERC20 token,
uint8 localTokenDecimals,
address[] memory allowlist,
address rmnProxy,
address router
) TokenPool(token, localTokenDecimals, allowlist, rmnProxy, router) {}
/// @inheritdoc BurnMintTokenPoolAbstract
function _burn(
uint256 amount
) internal virtual override {
IBurnMintERC20(address(i_token)).burn(amount);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"contract IBurnMintERC20","name":"token","type":"address"},{"internalType":"uint8","name":"localTokenDecimals","type":"uint8"},{"internalType":"address[]","name":"allowlist","type":"address[]"},{"internalType":"address","name":"rmnProxy","type":"address"},{"internalType":"address","name":"router","type":"address"}],"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":"AllowListNotEnabled","type":"error"},{"inputs":[],"name":"BucketOverfilled","type":"error"},{"inputs":[{"internalType":"address","name":"caller","type":"address"}],"name":"CallerIsNotARampOnRouter","type":"error"},{"inputs":[],"name":"CannotTransferToSelf","type":"error"},{"inputs":[{"internalType":"uint64","name":"chainSelector","type":"uint64"}],"name":"ChainAlreadyExists","type":"error"},{"inputs":[{"internalType":"uint64","name":"remoteChainSelector","type":"uint64"}],"name":"ChainNotAllowed","type":"error"},{"inputs":[],"name":"CursedByRMN","type":"error"},{"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":"DisabledNonZeroRateLimit","type":"error"},{"inputs":[{"internalType":"uint8","name":"expected","type":"uint8"},{"internalType":"uint8","name":"actual","type":"uint8"}],"name":"InvalidDecimalArgs","type":"error"},{"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":"rateLimiterConfig","type":"tuple"}],"name":"InvalidRateLimitRate","type":"error"},{"inputs":[{"internalType":"bytes","name":"sourcePoolData","type":"bytes"}],"name":"InvalidRemoteChainDecimals","type":"error"},{"inputs":[{"internalType":"uint64","name":"remoteChainSelector","type":"uint64"},{"internalType":"bytes","name":"remotePoolAddress","type":"bytes"}],"name":"InvalidRemotePoolForChain","type":"error"},{"inputs":[{"internalType":"bytes","name":"sourcePoolAddress","type":"bytes"}],"name":"InvalidSourcePoolAddress","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"InvalidToken","type":"error"},{"inputs":[],"name":"MustBeProposedOwner","type":"error"},{"inputs":[{"internalType":"uint64","name":"remoteChainSelector","type":"uint64"}],"name":"NonExistentChain","type":"error"},{"inputs":[],"name":"OnlyCallableByOwner","type":"error"},{"inputs":[{"internalType":"uint8","name":"remoteDecimals","type":"uint8"},{"internalType":"uint8","name":"localDecimals","type":"uint8"},{"internalType":"uint256","name":"remoteAmount","type":"uint256"}],"name":"OverflowDetected","type":"error"},{"inputs":[],"name":"OwnerCannotBeZero","type":"error"},{"inputs":[{"internalType":"uint64","name":"remoteChainSelector","type":"uint64"},{"internalType":"bytes","name":"remotePoolAddress","type":"bytes"}],"name":"PoolAlreadyAdded","type":"error"},{"inputs":[],"name":"RateLimitMustBeDisabled","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"SenderNotAllowed","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":[{"internalType":"uint256","name":"minWaitInSeconds","type":"uint256"},{"internalType":"uint256","name":"available","type":"uint256"},{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"TokenRateLimitReached","type":"error"},{"inputs":[{"internalType":"address","name":"caller","type":"address"}],"name":"Unauthorized","type":"error"},{"inputs":[],"name":"ZeroAddressNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"}],"name":"AllowListAdd","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"}],"name":"AllowListRemove","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Burned","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"remoteChainSelector","type":"uint64"},{"indexed":false,"internalType":"bytes","name":"remoteToken","type":"bytes"},{"components":[{"internalType":"bool","name":"isEnabled","type":"bool"},{"internalType":"uint128","name":"capacity","type":"uint128"},{"internalType":"uint128","name":"rate","type":"uint128"}],"indexed":false,"internalType":"struct RateLimiter.Config","name":"outboundRateLimiterConfig","type":"tuple"},{"components":[{"internalType":"bool","name":"isEnabled","type":"bool"},{"internalType":"uint128","name":"capacity","type":"uint128"},{"internalType":"uint128","name":"rate","type":"uint128"}],"indexed":false,"internalType":"struct RateLimiter.Config","name":"inboundRateLimiterConfig","type":"tuple"}],"name":"ChainAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"remoteChainSelector","type":"uint64"},{"components":[{"internalType":"bool","name":"isEnabled","type":"bool"},{"internalType":"uint128","name":"capacity","type":"uint128"},{"internalType":"uint128","name":"rate","type":"uint128"}],"indexed":false,"internalType":"struct RateLimiter.Config","name":"outboundRateLimiterConfig","type":"tuple"},{"components":[{"internalType":"bool","name":"isEnabled","type":"bool"},{"internalType":"uint128","name":"capacity","type":"uint128"},{"internalType":"uint128","name":"rate","type":"uint128"}],"indexed":false,"internalType":"struct RateLimiter.Config","name":"inboundRateLimiterConfig","type":"tuple"}],"name":"ChainConfigured","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"remoteChainSelector","type":"uint64"}],"name":"ChainRemoved","type":"event"},{"anonymous":false,"inputs":[{"components":[{"internalType":"bool","name":"isEnabled","type":"bool"},{"internalType":"uint128","name":"capacity","type":"uint128"},{"internalType":"uint128","name":"rate","type":"uint128"}],"indexed":false,"internalType":"struct RateLimiter.Config","name":"config","type":"tuple"}],"name":"ConfigChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Locked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Minted","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":"rateLimitAdmin","type":"address"}],"name":"RateLimitAdminSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Released","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint64","name":"remoteChainSelector","type":"uint64"},{"indexed":false,"internalType":"bytes","name":"remotePoolAddress","type":"bytes"}],"name":"RemotePoolAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint64","name":"remoteChainSelector","type":"uint64"},{"indexed":false,"internalType":"bytes","name":"remotePoolAddress","type":"bytes"}],"name":"RemotePoolRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldRouter","type":"address"},{"indexed":false,"internalType":"address","name":"newRouter","type":"address"}],"name":"RouterUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"TokensConsumed","type":"event"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"remoteChainSelector","type":"uint64"},{"internalType":"bytes","name":"remotePoolAddress","type":"bytes"}],"name":"addRemotePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"removes","type":"address[]"},{"internalType":"address[]","name":"adds","type":"address[]"}],"name":"applyAllowListUpdates","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64[]","name":"remoteChainSelectorsToRemove","type":"uint64[]"},{"components":[{"internalType":"uint64","name":"remoteChainSelector","type":"uint64"},{"internalType":"bytes[]","name":"remotePoolAddresses","type":"bytes[]"},{"internalType":"bytes","name":"remoteTokenAddress","type":"bytes"},{"components":[{"internalType":"bool","name":"isEnabled","type":"bool"},{"internalType":"uint128","name":"capacity","type":"uint128"},{"internalType":"uint128","name":"rate","type":"uint128"}],"internalType":"struct RateLimiter.Config","name":"outboundRateLimiterConfig","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":"inboundRateLimiterConfig","type":"tuple"}],"internalType":"struct TokenPool.ChainUpdate[]","name":"chainsToAdd","type":"tuple[]"}],"name":"applyChainUpdates","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAllowList","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAllowListEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"remoteChainSelector","type":"uint64"}],"name":"getCurrentInboundRateLimiterState","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":"remoteChainSelector","type":"uint64"}],"name":"getCurrentOutboundRateLimiterState","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":[],"name":"getRateLimitAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"remoteChainSelector","type":"uint64"}],"name":"getRemotePools","outputs":[{"internalType":"bytes[]","name":"","type":"bytes[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"remoteChainSelector","type":"uint64"}],"name":"getRemoteToken","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRmnProxy","outputs":[{"internalType":"address","name":"rmnProxy","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRouter","outputs":[{"internalType":"address","name":"router","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSupportedChains","outputs":[{"internalType":"uint64[]","name":"","type":"uint64[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getToken","outputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokenDecimals","outputs":[{"internalType":"uint8","name":"decimals","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"remoteChainSelector","type":"uint64"},{"internalType":"bytes","name":"remotePoolAddress","type":"bytes"}],"name":"isRemotePool","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"remoteChainSelector","type":"uint64"}],"name":"isSupportedChain","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"isSupportedToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"bytes","name":"receiver","type":"bytes"},{"internalType":"uint64","name":"remoteChainSelector","type":"uint64"},{"internalType":"address","name":"originalSender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"localToken","type":"address"}],"internalType":"struct Pool.LockOrBurnInV1","name":"lockOrBurnIn","type":"tuple"}],"name":"lockOrBurn","outputs":[{"components":[{"internalType":"bytes","name":"destTokenAddress","type":"bytes"},{"internalType":"bytes","name":"destPoolData","type":"bytes"}],"internalType":"struct Pool.LockOrBurnOutV1","name":"","type":"tuple"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"bytes","name":"originalSender","type":"bytes"},{"internalType":"uint64","name":"remoteChainSelector","type":"uint64"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"localToken","type":"address"},{"internalType":"bytes","name":"sourcePoolAddress","type":"bytes"},{"internalType":"bytes","name":"sourcePoolData","type":"bytes"},{"internalType":"bytes","name":"offchainTokenData","type":"bytes"}],"internalType":"struct Pool.ReleaseOrMintInV1","name":"releaseOrMintIn","type":"tuple"}],"name":"releaseOrMint","outputs":[{"components":[{"internalType":"uint256","name":"destinationAmount","type":"uint256"}],"internalType":"struct Pool.ReleaseOrMintOutV1","name":"","type":"tuple"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"remoteChainSelector","type":"uint64"},{"internalType":"bytes","name":"remotePoolAddress","type":"bytes"}],"name":"removeRemotePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"remoteChainSelector","type":"uint64"},{"components":[{"internalType":"bool","name":"isEnabled","type":"bool"},{"internalType":"uint128","name":"capacity","type":"uint128"},{"internalType":"uint128","name":"rate","type":"uint128"}],"internalType":"struct RateLimiter.Config","name":"outboundConfig","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":"inboundConfig","type":"tuple"}],"name":"setChainRateLimiterConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"rateLimitAdmin","type":"address"}],"name":"setRateLimitAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRouter","type":"address"}],"name":"setRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","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"}]Contract Creation Code
6101006040523480156200001257600080fd5b5060405162003f2a38038062003f2a8339810160408190526200003591620005a2565b8484848484336000816200005c57604051639b15e16f60e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b03848116919091179091558116156200008f576200008f81620001eb565b50506001600160a01b0385161580620000af57506001600160a01b038116155b80620000c257506001600160a01b038216155b15620000e1576040516342bcdf7f60e11b815260040160405180910390fd5b6001600160a01b03808616608081905290831660c0526040805163313ce56760e01b8152905163313ce567916004808201926020929091908290030181865afa92505050801562000151575060408051601f3d908101601f191682019092526200014e91810190620006c4565b60015b1562000191578060ff168560ff16146200018f576040516332ad3e0760e11b815260ff80871660048301528216602482015260440160405180910390fd5b505b60ff841660a052600480546001600160a01b0319166001600160a01b038316179055825115801560e052620001db57604080516000815260208101909152620001db908462000265565b5050505050505050505062000730565b336001600160a01b038216036200021557604051636d6c4ee560e11b815260040160405180910390fd5b600080546001600160a01b0319166001600160a01b03838116918217835560015460405192939116917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b60e05162000286576040516335f4a7b360e01b815260040160405180910390fd5b60005b825181101562000311576000838281518110620002aa57620002aa620006e2565b60209081029190910101519050620002c4600282620003c2565b1562000307576040516001600160a01b03821681527f800671136ab6cfee9fbe5ed1fb7ca417811aca3cf864800d127b927adedf75669060200160405180910390a15b5060010162000289565b5060005b8151811015620003bd576000828281518110620003365762000336620006e2565b6020026020010151905060006001600160a01b0316816001600160a01b031603620003625750620003b4565b6200036f600282620003e2565b15620003b2576040516001600160a01b03821681527f2640d4d76caf8bf478aabfa982fa4e1c4eb71a37f93cd15e80dbc657911546d89060200160405180910390a15b505b60010162000315565b505050565b6000620003d9836001600160a01b038416620003f9565b90505b92915050565b6000620003d9836001600160a01b038416620004fd565b60008181526001830160205260408120548015620004f257600062000420600183620006f8565b85549091506000906200043690600190620006f8565b9050808214620004a25760008660000182815481106200045a576200045a620006e2565b9060005260206000200154905080876000018481548110620004805762000480620006e2565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080620004b657620004b66200071a565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050620003dc565b6000915050620003dc565b60008181526001830160205260408120546200054657508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620003dc565b506000620003dc565b6001600160a01b03811681146200056557600080fd5b50565b805160ff811681146200057a57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b80516200057a816200054f565b600080600080600060a08688031215620005bb57600080fd5b8551620005c8816200054f565b94506020620005d987820162000568565b60408801519095506001600160401b0380821115620005f757600080fd5b818901915089601f8301126200060c57600080fd5b8151818111156200062157620006216200057f565b8060051b604051601f19603f830116810181811085821117156200064957620006496200057f565b60405291825284820192508381018501918c8311156200066857600080fd5b938501935b828510156200069157620006818562000595565b845293850193928501926200066d565b809850505050505050620006a86060870162000595565b9150620006b86080870162000595565b90509295509295909350565b600060208284031215620006d757600080fd5b620003d98262000568565b634e487b7160e01b600052603260045260246000fd5b81810381811115620003dc57634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b60805160a05160c05160e051613749620007e16000396000818161050501528181611a1d01526122db0152600081816104df015281816115fa0152611caf0152600081816102c601528181610a5b01528181611772015281816117fa0152818161182e01528181611861015281816118ad0152818161190601526119710152600081816102470152818161028f0152818161066901528181611dfb0152818161228b015261246001526137496000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80639a4575b911610104578063c0d78655116100a2578063dc0bd97111610071578063dc0bd971146104dd578063e0351e1314610503578063e8a1da1714610529578063f2fde38b1461053c57600080fd5b8063c0d786551461048f578063c4bffe2b146104a2578063c75eea9c146104b7578063cf7401f3146104ca57600080fd5b8063acfecf91116100de578063acfecf91146103f2578063af58d59f14610405578063b0f479a11461046b578063b79465801461047c57600080fd5b80639a4575b91461039d578063a42a7b8b146103bd578063a7cd63b7146103dd57600080fd5b806354c8a4f31161017157806379ba50971161014b57806379ba50971461035e5780637d54534e146103665780638926f54f146103795780638da5cb5b1461038c57600080fd5b806354c8a4f31461032557806362ddd3c41461033a5780636d3d1a581461034d57600080fd5b8063240028e8116101ad578063240028e81461027f57806324f65ee7146102bf57806339077537146102f05780634c5ef0ed1461031257600080fd5b806301ffc9a7146101d4578063181f5a77146101fc57806321df0da714610245575b600080fd5b6101e76101e2366004612af5565b61054f565b60405190151581526020015b60405180910390f35b6102386040518060400160405280601781526020017f4275726e4d696e74546f6b656e506f6f6c20312e352e3100000000000000000081525081565b6040516101f39190612b65565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b0390911681526020016101f3565b6101e761028d366004612b8d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0390811691161490565b60405160ff7f00000000000000000000000000000000000000000000000000000000000000001681526020016101f3565b6103036102fe366004612baa565b6105ec565b604051905181526020016101f3565b6101e7610320366004612c03565b61076f565b610338610333366004612cd2565b6107b9565b005b610338610348366004612c03565b610834565b6009546001600160a01b0316610267565b6103386108b8565b610338610374366004612b8d565b610954565b6101e7610387366004612d3e565b6109b0565b6001546001600160a01b0316610267565b6103b06103ab366004612d59565b6109c7565b6040516101f39190612d94565b6103d06103cb366004612d3e565b610aa0565b6040516101f39190612dcd565b6103e5610c0b565b6040516101f39190612e31565b610338610400366004612c03565b610c1c565b610418610413366004612d3e565b610d1b565b6040516101f3919081516001600160801b03908116825260208084015163ffffffff1690830152604080840151151590830152606080840151821690830152608092830151169181019190915260a00190565b6004546001600160a01b0316610267565b61023861048a366004612d3e565b610dc9565b61033861049d366004612b8d565b610e79565b6104aa610f09565b6040516101f39190612e7e565b6104186104c5366004612d3e565b610fc1565b6103386104d8366004612fc6565b61106c565b7f0000000000000000000000000000000000000000000000000000000000000000610267565b7f00000000000000000000000000000000000000000000000000000000000000006101e7565b610338610537366004612cd2565b6110d6565b61033861054a366004612b8d565b611577565b60006001600160e01b031982167faff2afbf0000000000000000000000000000000000000000000000000000000014806105b257506001600160e01b031982167f0e64dd2900000000000000000000000000000000000000000000000000000000145b806105e657506001600160e01b031982167f01ffc9a700000000000000000000000000000000000000000000000000000000145b92915050565b6040805160208101909152600081526106048261158b565b600061065d606084013561065861061e60c087018761300b565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061176492505050565b6117f6565b90506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166340c10f1961069e6060860160408701612b8d565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401600060405180830381600087803b1580156106e657600080fd5b505af11580156106fa573d6000803e3d6000fd5b5061070f925050506060840160408501612b8d565b6001600160a01b0316336001600160a01b03167f9d228d69b5fdb8d273a2336f8fb8612d039631024ea9bf09c424a9503aa078f08360405161075391815260200190565b60405180910390a3604080516020810190915290815292915050565b60006107b18383604051610784929190613052565b604080519182900390912067ffffffffffffffff87166000908152600760205291909120600501906119ba565b949350505050565b6107c16119d5565b61082e84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808802828101820190935287825290935087925086918291850190849080828437600092019190915250611a1b92505050565b50505050565b61083c6119d5565b610845836109b0565b61087357604051631e670e4b60e01b815267ffffffffffffffff841660048201526024015b60405180910390fd5b6108b38383838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b9d92505050565b505050565b6000546001600160a01b031633146108fc576040517f02b543c600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600180546001600160a01b0319808216339081179093556000805490911681556040516001600160a01b03909216929183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a350565b61095c6119d5565b600980546001600160a01b0319166001600160a01b0383169081179091556040519081527f44676b5284b809a22248eba0da87391d79098be38bb03154be88a58bf4d091749060200160405180910390a150565b60006105e6600567ffffffffffffffff84166119ba565b60408051808201909152606080825260208201526109e482611c7e565b6109f18260600135611dcc565b6040516060830135815233907f696de425f79f4a40bc6d2122ca50507f0efbeabbff86a84871b7196ab8ea8df79060200160405180910390a26040518060400160405280610a4b84602001602081019061048a9190612d3e565b8152602001610a986040805160ff7f000000000000000000000000000000000000000000000000000000000000000016602082015260609101604051602081830303815290604052905090565b905292915050565b67ffffffffffffffff8116600090815260076020526040812060609190610ac990600501611e5b565b90506000815167ffffffffffffffff811115610ae757610ae7612ec0565b604051908082528060200260200182016040528015610b1a57816020015b6060815260200190600190039081610b055790505b50905060005b8251811015610c035760086000848381518110610b3f57610b3f613062565b602002602001015181526020019081526020016000208054610b6090613078565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8c90613078565b8015610bd95780601f10610bae57610100808354040283529160200191610bd9565b820191906000526020600020905b815481529060010190602001808311610bbc57829003601f168201915b5050505050828281518110610bf057610bf0613062565b6020908102919091010152600101610b20565b509392505050565b6060610c176002611e5b565b905090565b610c246119d5565b610c2d836109b0565b610c5657604051631e670e4b60e01b815267ffffffffffffffff8416600482015260240161086a565b610c968282604051610c69929190613052565b604080519182900390912067ffffffffffffffff8616600090815260076020529190912060050190611e68565b610cd2578282826040517f74f23c7c00000000000000000000000000000000000000000000000000000000815260040161086a939291906130db565b8267ffffffffffffffff167f52d00ee4d9bd51b40168f2afc5848837288ce258784ad914278791464b3f4d768383604051610d0e9291906130ff565b60405180910390a2505050565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915267ffffffffffffffff8216600090815260076020908152604091829020825160a08101845260028201546001600160801b038082168352600160801b80830463ffffffff1695840195909552600160a01b90910460ff1615159482019490945260039091015480841660608301529190910490911660808201526105e690611e74565b67ffffffffffffffff81166000908152600760205260409020600401805460609190610df490613078565b80601f0160208091040260200160405190810160405280929190818152602001828054610e2090613078565b8015610e6d5780601f10610e4257610100808354040283529160200191610e6d565b820191906000526020600020905b815481529060010190602001808311610e5057829003601f168201915b50505050509050919050565b610e816119d5565b6001600160a01b038116610ea8576040516342bcdf7f60e11b815260040160405180910390fd5b600480546001600160a01b038381166001600160a01b031983168117909355604080519190921680825260208201939093527f02dc5c233404867c793b749c6d644beb2277536d18a7e7974d3f238e4c6f1684910160405180910390a15050565b60606000610f176005611e5b565b90506000815167ffffffffffffffff811115610f3557610f35612ec0565b604051908082528060200260200182016040528015610f5e578160200160208202803683370190505b50905060005b8251811015610fba57828181518110610f7f57610f7f613062565b6020026020010151828281518110610f9957610f99613062565b67ffffffffffffffff90921660209283029190910190910152600101610f64565b5092915050565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915267ffffffffffffffff8216600090815260076020908152604091829020825160a08101845281546001600160801b038082168352600160801b80830463ffffffff1695840195909552600160a01b90910460ff1615159482019490945260019091015480841660608301529190910490911660808201526105e690611e74565b6009546001600160a01b0316331480159061109257506001546001600160a01b03163314155b156110cb576040517f8e4a23d600000000000000000000000000000000000000000000000000000000815233600482015260240161086a565b6108b3838383611f02565b6110de6119d5565b60005b838110156112b25760008585838181106110fd576110fd613062565b90506020020160208101906111129190612d3e565b9050611129600567ffffffffffffffff8316611e68565b61115257604051631e670e4b60e01b815267ffffffffffffffff8216600482015260240161086a565b67ffffffffffffffff8116600090815260076020526040812061117790600501611e5b565b905060005b81518110156111e3576111da82828151811061119a5761119a613062565b6020026020010151600760008667ffffffffffffffff1667ffffffffffffffff168152602001908152602001600020600501611e6890919063ffffffff16565b5060010161117c565b5067ffffffffffffffff8216600090815260076020526040812080547fffffffffffffffffffffff0000000000000000000000000000000000000000009081168255600182018390556002820180549091169055600381018290559061124c6004830182612a88565b600582016000818161125e8282612ac2565b505060405167ffffffffffffffff871681527f5204aec90a3c794d8e90fded8b46ae9c7c552803e7e832e0c1d358396d859916945060200192506112a0915050565b60405180910390a150506001016110e1565b5060005b818110156115705760008383838181106112d2576112d2613062565b90506020028101906112e49190613113565b6112ed906131a4565b90506112fe81606001516000611fd3565b61130d81608001516000611fd3565b806040015151600003611333576040516342bcdf7f60e11b815260040160405180910390fd5b805161134b9060059067ffffffffffffffff166120e3565b6113905780516040517f1d5ad3c500000000000000000000000000000000000000000000000000000000815267ffffffffffffffff909116600482015260240161086a565b805167ffffffffffffffff16600090815260076020908152604091829020825160a08082018552606080870180518601516001600160801b0390811680865263ffffffff42168689018190528351511515878b0181905284518a0151841686890181905294518b0151841660809889018190528954600160a01b9283027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff600160801b8087026001600160a01b031994851690981788178216929092178d5592810290971760018c01558c519889018d52898e0180518d01518716808b528a8e019590955280515115158a8f018190528151909d01518716988a01899052518d0151909516979098018790526002890180549a9091029990931617179094169590951790925590920290911760038201559082015160048201906114d4908261331b565b5060005b8260200151518110156115185761151083600001518460200151838151811061150357611503613062565b6020026020010151611b9d565b6001016114d8565b507f8d340f17e19058004c20453540862a9c62778504476f6756755cb33bcd6c38c2826000015183604001518460600151856080015160405161155e94939291906133db565b60405180910390a150506001016112b6565b5050505050565b61157f6119d5565b611588816120ef565b50565b61159e61028d60a0830160808401612b8d565b6115f0576115b260a0820160808301612b8d565b6040517f961c9a4f0000000000000000000000000000000000000000000000000000000081526001600160a01b03909116600482015260240161086a565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016632cbc26bb61162f6040840160208501612d3e565b60405160e083901b6001600160e01b031916815260809190911b77ffffffffffffffff00000000000000000000000000000000166004820152602401602060405180830381865afa158015611688573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116ac9190613462565b156116ca57604051630a75a23b60e31b815260040160405180910390fd5b6116e26116dd6040830160208401612d3e565b612181565b6117026116f56040830160208401612d3e565b61032060a084018461300b565b6117475761171360a082018261300b565b6040517f24eb47e500000000000000000000000000000000000000000000000000000000815260040161086a9291906130ff565b61158861175a6040830160208401612d3e565b8260600135612268565b6000815160000361179657507f0000000000000000000000000000000000000000000000000000000000000000919050565b81516020146117ba578160405163953576f760e01b815260040161086a9190612b65565b6000828060200190518101906117d0919061347f565b905060ff8111156105e6578260405163953576f760e01b815260040161086a9190612b65565b60007f000000000000000000000000000000000000000000000000000000000000000060ff168260ff160361182c5750816105e6565b7f000000000000000000000000000000000000000000000000000000000000000060ff168260ff1611156118fe5760006118867f0000000000000000000000000000000000000000000000000000000000000000846134ae565b9050604d8160ff1611156118e15760405163a9cb113d60e01b815260ff80851660048301527f00000000000000000000000000000000000000000000000000000000000000001660248201526044810185905260640161086a565b6118ec81600a6135ab565b6118f690856135ba565b9150506105e6565b600061192a837f00000000000000000000000000000000000000000000000000000000000000006134ae565b9050604d8160ff161180611953575061194481600a6135ab565b611950906000196135ba565b84115b156119a55760405163a9cb113d60e01b815260ff80851660048301527f00000000000000000000000000000000000000000000000000000000000000001660248201526044810185905260640161086a565b6119b081600a6135ab565b6107b190856135dc565b600081815260018301602052604081205415155b9392505050565b6001546001600160a01b03163314611a19576040517f2b5c74de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b7f0000000000000000000000000000000000000000000000000000000000000000611a72576040517f35f4a7b300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b8251811015611afb576000838281518110611a9257611a92613062565b60200260200101519050611ab08160026122af90919063ffffffff16565b15611af2576040516001600160a01b03821681527f800671136ab6cfee9fbe5ed1fb7ca417811aca3cf864800d127b927adedf75669060200160405180910390a15b50600101611a75565b5060005b81518110156108b3576000828281518110611b1c57611b1c613062565b6020026020010151905060006001600160a01b0316816001600160a01b031603611b465750611b95565b611b516002826122c4565b15611b93576040516001600160a01b03821681527f2640d4d76caf8bf478aabfa982fa4e1c4eb71a37f93cd15e80dbc657911546d89060200160405180910390a15b505b600101611aff565b8051600003611bbf576040516342bcdf7f60e11b815260040160405180910390fd5b805160208083019190912067ffffffffffffffff8416600090815260079092526040909120611bf190600501826120e3565b611c2b5782826040517f393b8ad200000000000000000000000000000000000000000000000000000000815260040161086a9291906135f3565b6000818152600860205260409020611c43838261331b565b508267ffffffffffffffff167f7d628c9a1796743d365ab521a8b2a4686e419b3269919dc9145ea2ce853b54ea83604051610d0e9190612b65565b611c9161028d60a0830160808401612b8d565b611ca5576115b260a0820160808301612b8d565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016632cbc26bb611ce46040840160208501612d3e565b60405160e083901b6001600160e01b031916815260809190911b77ffffffffffffffff00000000000000000000000000000000166004820152602401602060405180830381865afa158015611d3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d619190613462565b15611d7f57604051630a75a23b60e31b815260040160405180910390fd5b611d97611d926060830160408401612b8d565b6122d9565b611daf611daa6040830160208401612d3e565b61234b565b611588611dc26040830160208401612d3e565b8260600135612440565b6040517f42966c68000000000000000000000000000000000000000000000000000000008152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906342966c6890602401600060405180830381600087803b158015611e4757600080fd5b505af1158015611570573d6000803e3d6000fd5b606060006119ce83612484565b60006119ce83836124df565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152611ee782606001516001600160801b031683600001516001600160801b0316846020015163ffffffff1642611ed49190613616565b85608001516001600160801b03166125d2565b6001600160801b031682525063ffffffff4216602082015290565b611f0b836109b0565b611f3457604051631e670e4b60e01b815267ffffffffffffffff8416600482015260240161086a565b611f3f826000611fd3565b67ffffffffffffffff83166000908152600760205260409020611f6290836125fa565b611f6d816000611fd3565b67ffffffffffffffff83166000908152600760205260409020611f9390600201826125fa565b7f0350d63aa5f270e01729d00d627eeb8f3429772b1818c016c66a588a864f912b838383604051611fc693929190613629565b60405180910390a1505050565b8151156120835781602001516001600160801b031682604001516001600160801b031610158061200e575060408201516001600160801b0316155b1561204757816040517f8020d12400000000000000000000000000000000000000000000000000000000815260040161086a919061369a565b801561207f576040517f433fc33d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050565b60408201516001600160801b03161515806120aa575060208201516001600160801b031615155b1561207f57816040517fd68af9cc00000000000000000000000000000000000000000000000000000000815260040161086a919061369a565b60006119ce838361271b565b336001600160a01b03821603612131576040517fdad89dca00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080546001600160a01b0319166001600160a01b03838116918217835560015460405192939116917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b61218a816109b0565b6121b3576040516354c8163f60e11b815267ffffffffffffffff8216600482015260240161086a565b600480546040517f83826b2b00000000000000000000000000000000000000000000000000000000815267ffffffffffffffff8416928101929092523360248301526001600160a01b0316906383826b2b90604401602060405180830381865afa158015612225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122499190613462565b6115885760405163728fe07b60e01b815233600482015260240161086a565b67ffffffffffffffff8216600090815260076020526040902061207f90600201827f000000000000000000000000000000000000000000000000000000000000000061276a565b60006119ce836001600160a01b0384166124df565b60006119ce836001600160a01b03841661271b565b7f0000000000000000000000000000000000000000000000000000000000000000156115885761230a600282612a50565b611588576040517fd0d259760000000000000000000000000000000000000000000000000000000081526001600160a01b038216600482015260240161086a565b612354816109b0565b61237d576040516354c8163f60e11b815267ffffffffffffffff8216600482015260240161086a565b600480546040517fa8d87a3b00000000000000000000000000000000000000000000000000000000815267ffffffffffffffff8416928101929092526001600160a01b03169063a8d87a3b90602401602060405180830381865afa1580156123e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061240d91906136cd565b6001600160a01b0316336001600160a01b0316146115885760405163728fe07b60e01b815233600482015260240161086a565b67ffffffffffffffff8216600090815260076020526040902061207f90827f000000000000000000000000000000000000000000000000000000000000000061276a565b606081600001805480602002602001604051908101604052809291908181526020018280548015610e6d57602002820191906000526020600020905b8154815260200190600101908083116124c05750505050509050919050565b600081815260018301602052604081205480156125c8576000612503600183613616565b855490915060009061251790600190613616565b905080821461257c57600086600001828154811061253757612537613062565b906000526020600020015490508087600001848154811061255a5761255a613062565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061258d5761258d6136ea565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506105e6565b60009150506105e6565b60006125f1856125e284866135dc565b6125ec9087613700565b612a72565b95945050505050565b815460009061261690600160801b900463ffffffff1642613616565b905080156126745760018301548354612648916001600160801b03808216928116918591600160801b909104166125d2565b83546001600160801b03919091166001600160a01b031990911617600160801b4263ffffffff16021783555b60208201518354612691916001600160801b039081169116612a72565b835483511515600160a01b027fffffffffffffffffffffff00ffffffff000000000000000000000000000000009091166001600160801b039283161717845560208301516040808501518316600160801b0291909216176001850155517f9ea3374b67bf275e6bb9c8ae68f9cae023e1c528b4b27e092f0bb209d3531c1990611fc690849061369a565b6000818152600183016020526040812054612762575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556105e6565b5060006105e6565b8254600160a01b900460ff161580612780575081155b1561278a57505050565b825460018401546001600160801b03808316929116906000906127ba90600160801b900463ffffffff1642613616565b9050801561285757818311156127fc576040517f9725942a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600186015461282090839085908490600160801b90046001600160801b03166125d2565b86547fffffffffffffffffffffffff00000000ffffffffffffffffffffffffffffffff16600160801b4263ffffffff160217875592505b848210156128f4576001600160a01b0384166128a9576040517ff94ebcd1000000000000000000000000000000000000000000000000000000008152600481018390526024810186905260440161086a565b6040517f1a76572a00000000000000000000000000000000000000000000000000000000815260048101839052602481018690526001600160a01b038516604482015260640161086a565b848310156129d757600186810154600160801b90046001600160801b03169060009082906129229082613616565b61292c878a613616565b6129369190613700565b61294091906135ba565b90506001600160a01b03861661298c576040517f15279c08000000000000000000000000000000000000000000000000000000008152600481018290526024810186905260440161086a565b6040517fd0c8d23a00000000000000000000000000000000000000000000000000000000815260048101829052602481018690526001600160a01b038716604482015260640161086a565b6129e18584613616565b86547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166001600160801b0382161787556040518681529093507f1871cdf8010e63f2eb8384381a68dfa7416dc571a5517e66e88b2d2d0c0a690a9060200160405180910390a1505050505050565b6001600160a01b038116600090815260018301602052604081205415156119ce565b6000818310612a8157816119ce565b5090919050565b508054612a9490613078565b6000825580601f10612aa4575050565b601f0160209004906000526020600020908101906115889190612adc565b508054600082559060005260206000209081019061158891905b5b80821115612af15760008155600101612add565b5090565b600060208284031215612b0757600080fd5b81356001600160e01b0319811681146119ce57600080fd5b6000815180845260005b81811015612b4557602081850181015186830182015201612b29565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006119ce6020830184612b1f565b6001600160a01b038116811461158857600080fd5b600060208284031215612b9f57600080fd5b81356119ce81612b78565b600060208284031215612bbc57600080fd5b813567ffffffffffffffff811115612bd357600080fd5b820161010081850312156119ce57600080fd5b803567ffffffffffffffff81168114612bfe57600080fd5b919050565b600080600060408486031215612c1857600080fd5b612c2184612be6565b9250602084013567ffffffffffffffff80821115612c3e57600080fd5b818601915086601f830112612c5257600080fd5b813581811115612c6157600080fd5b876020828501011115612c7357600080fd5b6020830194508093505050509250925092565b60008083601f840112612c9857600080fd5b50813567ffffffffffffffff811115612cb057600080fd5b6020830191508360208260051b8501011115612ccb57600080fd5b9250929050565b60008060008060408587031215612ce857600080fd5b843567ffffffffffffffff80821115612d0057600080fd5b612d0c88838901612c86565b90965094506020870135915080821115612d2557600080fd5b50612d3287828801612c86565b95989497509550505050565b600060208284031215612d5057600080fd5b6119ce82612be6565b600060208284031215612d6b57600080fd5b813567ffffffffffffffff811115612d8257600080fd5b820160a081850312156119ce57600080fd5b602081526000825160406020840152612db06060840182612b1f565b90506020840151601f198483030160408501526125f18282612b1f565b600060208083016020845280855180835260408601915060408160051b87010192506020870160005b82811015612e2457603f19888603018452612e12858351612b1f565b94509285019290850190600101612df6565b5092979650505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612e725783516001600160a01b031683529284019291840191600101612e4d565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612e7257835167ffffffffffffffff1683529284019291840191600101612e9a565b634e487b7160e01b600052604160045260246000fd5b60405160a0810167ffffffffffffffff81118282101715612ef957612ef9612ec0565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715612f2857612f28612ec0565b604052919050565b801515811461158857600080fd5b80356001600160801b0381168114612bfe57600080fd5b600060608284031215612f6757600080fd5b6040516060810181811067ffffffffffffffff82111715612f8a57612f8a612ec0565b6040529050808235612f9b81612f30565b8152612fa960208401612f3e565b6020820152612fba60408401612f3e565b60408201525092915050565b600080600060e08486031215612fdb57600080fd5b612fe484612be6565b9250612ff38560208601612f55565b91506130028560808601612f55565b90509250925092565b6000808335601e1984360301811261302257600080fd5b83018035915067ffffffffffffffff82111561303d57600080fd5b602001915036819003821315612ccb57600080fd5b8183823760009101908152919050565b634e487b7160e01b600052603260045260246000fd5b600181811c9082168061308c57607f821691505b6020821081036130ac57634e487b7160e01b600052602260045260246000fd5b50919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b67ffffffffffffffff841681526040602082015260006125f16040830184866130b2565b6020815260006107b16020830184866130b2565b6000823561011e1983360301811261312a57600080fd5b9190910192915050565b600082601f83011261314557600080fd5b813567ffffffffffffffff81111561315f5761315f612ec0565b613172601f8201601f1916602001612eff565b81815284602083860101111561318757600080fd5b816020850160208301376000918101602001919091529392505050565b600061012082360312156131b757600080fd5b6131bf612ed6565b6131c883612be6565b815260208084013567ffffffffffffffff808211156131e657600080fd5b9085019036601f8301126131f957600080fd5b81358181111561320b5761320b612ec0565b8060051b61321a858201612eff565b918252838101850191858101903684111561323457600080fd5b86860192505b83831015613270578235858111156132525760008081fd5b6132603689838a0101613134565b835250918601919086019061323a565b808789015250505050604086013592508083111561328d57600080fd5b505061329b36828601613134565b6040830152506132ae3660608501612f55565b60608201526132c03660c08501612f55565b608082015292915050565b601f8211156108b3576000816000526020600020601f850160051c810160208610156132f45750805b601f850160051c820191505b8181101561331357828155600101613300565b505050505050565b815167ffffffffffffffff81111561333557613335612ec0565b613349816133438454613078565b846132cb565b602080601f83116001811461337e57600084156133665750858301515b600019600386901b1c1916600185901b178555613313565b600085815260208120601f198616915b828110156133ad5788860151825594840194600190910190840161338e565b50858210156133cb5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600061010067ffffffffffffffff871683528060208401526133ff81840187612b1f565b8551151560408581019190915260208701516001600160801b0390811660608701529087015116608085015291506134349050565b8251151560a083015260208301516001600160801b0390811660c084015260408401511660e08301526125f1565b60006020828403121561347457600080fd5b81516119ce81612f30565b60006020828403121561349157600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b60ff82811682821603908111156105e6576105e6613498565b600181815b808511156135025781600019048211156134e8576134e8613498565b808516156134f557918102915b93841c93908002906134cc565b509250929050565b600082613519575060016105e6565b81613526575060006105e6565b816001811461353c576002811461354657613562565b60019150506105e6565b60ff84111561355757613557613498565b50506001821b6105e6565b5060208310610133831016604e8410600b8410161715613585575081810a6105e6565b61358f83836134c7565b80600019048211156135a3576135a3613498565b029392505050565b60006119ce60ff84168361350a565b6000826135d757634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176105e6576105e6613498565b67ffffffffffffffff831681526040602082015260006107b16040830184612b1f565b818103818111156105e6576105e6613498565b67ffffffffffffffff8416815260e0810161366c60208301858051151582526020808201516001600160801b039081169184019190915260409182015116910152565b82511515608083015260208301516001600160801b0390811660a084015260408401511660c08301526107b1565b606081016105e682848051151582526020808201516001600160801b039081169184019190915260409182015116910152565b6000602082840312156136df57600080fd5b81516119ce81612b78565b634e487b7160e01b600052603160045260246000fd5b808201808211156105e6576105e661349856fea2646970667358221220689b3249d4543d80bcff960ef8053a78cc223a51b369d8ee2541e5893304db7564736f6c63430008180033000000000000000000000000dbde08d475bd50e2d1a6af34c7b10dd430d8396e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000411de17f12d1a34ecc7f45f49844626267c75e8100000000000000000000000080226fc0ee2b096224eeac085bb9a8cba1146f7d0000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c80639a4575b911610104578063c0d78655116100a2578063dc0bd97111610071578063dc0bd971146104dd578063e0351e1314610503578063e8a1da1714610529578063f2fde38b1461053c57600080fd5b8063c0d786551461048f578063c4bffe2b146104a2578063c75eea9c146104b7578063cf7401f3146104ca57600080fd5b8063acfecf91116100de578063acfecf91146103f2578063af58d59f14610405578063b0f479a11461046b578063b79465801461047c57600080fd5b80639a4575b91461039d578063a42a7b8b146103bd578063a7cd63b7146103dd57600080fd5b806354c8a4f31161017157806379ba50971161014b57806379ba50971461035e5780637d54534e146103665780638926f54f146103795780638da5cb5b1461038c57600080fd5b806354c8a4f31461032557806362ddd3c41461033a5780636d3d1a581461034d57600080fd5b8063240028e8116101ad578063240028e81461027f57806324f65ee7146102bf57806339077537146102f05780634c5ef0ed1461031257600080fd5b806301ffc9a7146101d4578063181f5a77146101fc57806321df0da714610245575b600080fd5b6101e76101e2366004612af5565b61054f565b60405190151581526020015b60405180910390f35b6102386040518060400160405280601781526020017f4275726e4d696e74546f6b656e506f6f6c20312e352e3100000000000000000081525081565b6040516101f39190612b65565b7f000000000000000000000000dbde08d475bd50e2d1a6af34c7b10dd430d8396e5b6040516001600160a01b0390911681526020016101f3565b6101e761028d366004612b8d565b7f000000000000000000000000dbde08d475bd50e2d1a6af34c7b10dd430d8396e6001600160a01b0390811691161490565b60405160ff7f00000000000000000000000000000000000000000000000000000000000000121681526020016101f3565b6103036102fe366004612baa565b6105ec565b604051905181526020016101f3565b6101e7610320366004612c03565b61076f565b610338610333366004612cd2565b6107b9565b005b610338610348366004612c03565b610834565b6009546001600160a01b0316610267565b6103386108b8565b610338610374366004612b8d565b610954565b6101e7610387366004612d3e565b6109b0565b6001546001600160a01b0316610267565b6103b06103ab366004612d59565b6109c7565b6040516101f39190612d94565b6103d06103cb366004612d3e565b610aa0565b6040516101f39190612dcd565b6103e5610c0b565b6040516101f39190612e31565b610338610400366004612c03565b610c1c565b610418610413366004612d3e565b610d1b565b6040516101f3919081516001600160801b03908116825260208084015163ffffffff1690830152604080840151151590830152606080840151821690830152608092830151169181019190915260a00190565b6004546001600160a01b0316610267565b61023861048a366004612d3e565b610dc9565b61033861049d366004612b8d565b610e79565b6104aa610f09565b6040516101f39190612e7e565b6104186104c5366004612d3e565b610fc1565b6103386104d8366004612fc6565b61106c565b7f000000000000000000000000411de17f12d1a34ecc7f45f49844626267c75e81610267565b7f00000000000000000000000000000000000000000000000000000000000000006101e7565b610338610537366004612cd2565b6110d6565b61033861054a366004612b8d565b611577565b60006001600160e01b031982167faff2afbf0000000000000000000000000000000000000000000000000000000014806105b257506001600160e01b031982167f0e64dd2900000000000000000000000000000000000000000000000000000000145b806105e657506001600160e01b031982167f01ffc9a700000000000000000000000000000000000000000000000000000000145b92915050565b6040805160208101909152600081526106048261158b565b600061065d606084013561065861061e60c087018761300b565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061176492505050565b6117f6565b90506001600160a01b037f000000000000000000000000dbde08d475bd50e2d1a6af34c7b10dd430d8396e166340c10f1961069e6060860160408701612b8d565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401600060405180830381600087803b1580156106e657600080fd5b505af11580156106fa573d6000803e3d6000fd5b5061070f925050506060840160408501612b8d565b6001600160a01b0316336001600160a01b03167f9d228d69b5fdb8d273a2336f8fb8612d039631024ea9bf09c424a9503aa078f08360405161075391815260200190565b60405180910390a3604080516020810190915290815292915050565b60006107b18383604051610784929190613052565b604080519182900390912067ffffffffffffffff87166000908152600760205291909120600501906119ba565b949350505050565b6107c16119d5565b61082e84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808802828101820190935287825290935087925086918291850190849080828437600092019190915250611a1b92505050565b50505050565b61083c6119d5565b610845836109b0565b61087357604051631e670e4b60e01b815267ffffffffffffffff841660048201526024015b60405180910390fd5b6108b38383838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b9d92505050565b505050565b6000546001600160a01b031633146108fc576040517f02b543c600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600180546001600160a01b0319808216339081179093556000805490911681556040516001600160a01b03909216929183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a350565b61095c6119d5565b600980546001600160a01b0319166001600160a01b0383169081179091556040519081527f44676b5284b809a22248eba0da87391d79098be38bb03154be88a58bf4d091749060200160405180910390a150565b60006105e6600567ffffffffffffffff84166119ba565b60408051808201909152606080825260208201526109e482611c7e565b6109f18260600135611dcc565b6040516060830135815233907f696de425f79f4a40bc6d2122ca50507f0efbeabbff86a84871b7196ab8ea8df79060200160405180910390a26040518060400160405280610a4b84602001602081019061048a9190612d3e565b8152602001610a986040805160ff7f000000000000000000000000000000000000000000000000000000000000001216602082015260609101604051602081830303815290604052905090565b905292915050565b67ffffffffffffffff8116600090815260076020526040812060609190610ac990600501611e5b565b90506000815167ffffffffffffffff811115610ae757610ae7612ec0565b604051908082528060200260200182016040528015610b1a57816020015b6060815260200190600190039081610b055790505b50905060005b8251811015610c035760086000848381518110610b3f57610b3f613062565b602002602001015181526020019081526020016000208054610b6090613078565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8c90613078565b8015610bd95780601f10610bae57610100808354040283529160200191610bd9565b820191906000526020600020905b815481529060010190602001808311610bbc57829003601f168201915b5050505050828281518110610bf057610bf0613062565b6020908102919091010152600101610b20565b509392505050565b6060610c176002611e5b565b905090565b610c246119d5565b610c2d836109b0565b610c5657604051631e670e4b60e01b815267ffffffffffffffff8416600482015260240161086a565b610c968282604051610c69929190613052565b604080519182900390912067ffffffffffffffff8616600090815260076020529190912060050190611e68565b610cd2578282826040517f74f23c7c00000000000000000000000000000000000000000000000000000000815260040161086a939291906130db565b8267ffffffffffffffff167f52d00ee4d9bd51b40168f2afc5848837288ce258784ad914278791464b3f4d768383604051610d0e9291906130ff565b60405180910390a2505050565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915267ffffffffffffffff8216600090815260076020908152604091829020825160a08101845260028201546001600160801b038082168352600160801b80830463ffffffff1695840195909552600160a01b90910460ff1615159482019490945260039091015480841660608301529190910490911660808201526105e690611e74565b67ffffffffffffffff81166000908152600760205260409020600401805460609190610df490613078565b80601f0160208091040260200160405190810160405280929190818152602001828054610e2090613078565b8015610e6d5780601f10610e4257610100808354040283529160200191610e6d565b820191906000526020600020905b815481529060010190602001808311610e5057829003601f168201915b50505050509050919050565b610e816119d5565b6001600160a01b038116610ea8576040516342bcdf7f60e11b815260040160405180910390fd5b600480546001600160a01b038381166001600160a01b031983168117909355604080519190921680825260208201939093527f02dc5c233404867c793b749c6d644beb2277536d18a7e7974d3f238e4c6f1684910160405180910390a15050565b60606000610f176005611e5b565b90506000815167ffffffffffffffff811115610f3557610f35612ec0565b604051908082528060200260200182016040528015610f5e578160200160208202803683370190505b50905060005b8251811015610fba57828181518110610f7f57610f7f613062565b6020026020010151828281518110610f9957610f99613062565b67ffffffffffffffff90921660209283029190910190910152600101610f64565b5092915050565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915267ffffffffffffffff8216600090815260076020908152604091829020825160a08101845281546001600160801b038082168352600160801b80830463ffffffff1695840195909552600160a01b90910460ff1615159482019490945260019091015480841660608301529190910490911660808201526105e690611e74565b6009546001600160a01b0316331480159061109257506001546001600160a01b03163314155b156110cb576040517f8e4a23d600000000000000000000000000000000000000000000000000000000815233600482015260240161086a565b6108b3838383611f02565b6110de6119d5565b60005b838110156112b25760008585838181106110fd576110fd613062565b90506020020160208101906111129190612d3e565b9050611129600567ffffffffffffffff8316611e68565b61115257604051631e670e4b60e01b815267ffffffffffffffff8216600482015260240161086a565b67ffffffffffffffff8116600090815260076020526040812061117790600501611e5b565b905060005b81518110156111e3576111da82828151811061119a5761119a613062565b6020026020010151600760008667ffffffffffffffff1667ffffffffffffffff168152602001908152602001600020600501611e6890919063ffffffff16565b5060010161117c565b5067ffffffffffffffff8216600090815260076020526040812080547fffffffffffffffffffffff0000000000000000000000000000000000000000009081168255600182018390556002820180549091169055600381018290559061124c6004830182612a88565b600582016000818161125e8282612ac2565b505060405167ffffffffffffffff871681527f5204aec90a3c794d8e90fded8b46ae9c7c552803e7e832e0c1d358396d859916945060200192506112a0915050565b60405180910390a150506001016110e1565b5060005b818110156115705760008383838181106112d2576112d2613062565b90506020028101906112e49190613113565b6112ed906131a4565b90506112fe81606001516000611fd3565b61130d81608001516000611fd3565b806040015151600003611333576040516342bcdf7f60e11b815260040160405180910390fd5b805161134b9060059067ffffffffffffffff166120e3565b6113905780516040517f1d5ad3c500000000000000000000000000000000000000000000000000000000815267ffffffffffffffff909116600482015260240161086a565b805167ffffffffffffffff16600090815260076020908152604091829020825160a08082018552606080870180518601516001600160801b0390811680865263ffffffff42168689018190528351511515878b0181905284518a0151841686890181905294518b0151841660809889018190528954600160a01b9283027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff600160801b8087026001600160a01b031994851690981788178216929092178d5592810290971760018c01558c519889018d52898e0180518d01518716808b528a8e019590955280515115158a8f018190528151909d01518716988a01899052518d0151909516979098018790526002890180549a9091029990931617179094169590951790925590920290911760038201559082015160048201906114d4908261331b565b5060005b8260200151518110156115185761151083600001518460200151838151811061150357611503613062565b6020026020010151611b9d565b6001016114d8565b507f8d340f17e19058004c20453540862a9c62778504476f6756755cb33bcd6c38c2826000015183604001518460600151856080015160405161155e94939291906133db565b60405180910390a150506001016112b6565b5050505050565b61157f6119d5565b611588816120ef565b50565b61159e61028d60a0830160808401612b8d565b6115f0576115b260a0820160808301612b8d565b6040517f961c9a4f0000000000000000000000000000000000000000000000000000000081526001600160a01b03909116600482015260240161086a565b6001600160a01b037f000000000000000000000000411de17f12d1a34ecc7f45f49844626267c75e8116632cbc26bb61162f6040840160208501612d3e565b60405160e083901b6001600160e01b031916815260809190911b77ffffffffffffffff00000000000000000000000000000000166004820152602401602060405180830381865afa158015611688573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116ac9190613462565b156116ca57604051630a75a23b60e31b815260040160405180910390fd5b6116e26116dd6040830160208401612d3e565b612181565b6117026116f56040830160208401612d3e565b61032060a084018461300b565b6117475761171360a082018261300b565b6040517f24eb47e500000000000000000000000000000000000000000000000000000000815260040161086a9291906130ff565b61158861175a6040830160208401612d3e565b8260600135612268565b6000815160000361179657507f0000000000000000000000000000000000000000000000000000000000000012919050565b81516020146117ba578160405163953576f760e01b815260040161086a9190612b65565b6000828060200190518101906117d0919061347f565b905060ff8111156105e6578260405163953576f760e01b815260040161086a9190612b65565b60007f000000000000000000000000000000000000000000000000000000000000001260ff168260ff160361182c5750816105e6565b7f000000000000000000000000000000000000000000000000000000000000001260ff168260ff1611156118fe5760006118867f0000000000000000000000000000000000000000000000000000000000000012846134ae565b9050604d8160ff1611156118e15760405163a9cb113d60e01b815260ff80851660048301527f00000000000000000000000000000000000000000000000000000000000000121660248201526044810185905260640161086a565b6118ec81600a6135ab565b6118f690856135ba565b9150506105e6565b600061192a837f00000000000000000000000000000000000000000000000000000000000000126134ae565b9050604d8160ff161180611953575061194481600a6135ab565b611950906000196135ba565b84115b156119a55760405163a9cb113d60e01b815260ff80851660048301527f00000000000000000000000000000000000000000000000000000000000000121660248201526044810185905260640161086a565b6119b081600a6135ab565b6107b190856135dc565b600081815260018301602052604081205415155b9392505050565b6001546001600160a01b03163314611a19576040517f2b5c74de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b7f0000000000000000000000000000000000000000000000000000000000000000611a72576040517f35f4a7b300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b8251811015611afb576000838281518110611a9257611a92613062565b60200260200101519050611ab08160026122af90919063ffffffff16565b15611af2576040516001600160a01b03821681527f800671136ab6cfee9fbe5ed1fb7ca417811aca3cf864800d127b927adedf75669060200160405180910390a15b50600101611a75565b5060005b81518110156108b3576000828281518110611b1c57611b1c613062565b6020026020010151905060006001600160a01b0316816001600160a01b031603611b465750611b95565b611b516002826122c4565b15611b93576040516001600160a01b03821681527f2640d4d76caf8bf478aabfa982fa4e1c4eb71a37f93cd15e80dbc657911546d89060200160405180910390a15b505b600101611aff565b8051600003611bbf576040516342bcdf7f60e11b815260040160405180910390fd5b805160208083019190912067ffffffffffffffff8416600090815260079092526040909120611bf190600501826120e3565b611c2b5782826040517f393b8ad200000000000000000000000000000000000000000000000000000000815260040161086a9291906135f3565b6000818152600860205260409020611c43838261331b565b508267ffffffffffffffff167f7d628c9a1796743d365ab521a8b2a4686e419b3269919dc9145ea2ce853b54ea83604051610d0e9190612b65565b611c9161028d60a0830160808401612b8d565b611ca5576115b260a0820160808301612b8d565b6001600160a01b037f000000000000000000000000411de17f12d1a34ecc7f45f49844626267c75e8116632cbc26bb611ce46040840160208501612d3e565b60405160e083901b6001600160e01b031916815260809190911b77ffffffffffffffff00000000000000000000000000000000166004820152602401602060405180830381865afa158015611d3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d619190613462565b15611d7f57604051630a75a23b60e31b815260040160405180910390fd5b611d97611d926060830160408401612b8d565b6122d9565b611daf611daa6040830160208401612d3e565b61234b565b611588611dc26040830160208401612d3e565b8260600135612440565b6040517f42966c68000000000000000000000000000000000000000000000000000000008152600481018290527f000000000000000000000000dbde08d475bd50e2d1a6af34c7b10dd430d8396e6001600160a01b0316906342966c6890602401600060405180830381600087803b158015611e4757600080fd5b505af1158015611570573d6000803e3d6000fd5b606060006119ce83612484565b60006119ce83836124df565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152611ee782606001516001600160801b031683600001516001600160801b0316846020015163ffffffff1642611ed49190613616565b85608001516001600160801b03166125d2565b6001600160801b031682525063ffffffff4216602082015290565b611f0b836109b0565b611f3457604051631e670e4b60e01b815267ffffffffffffffff8416600482015260240161086a565b611f3f826000611fd3565b67ffffffffffffffff83166000908152600760205260409020611f6290836125fa565b611f6d816000611fd3565b67ffffffffffffffff83166000908152600760205260409020611f9390600201826125fa565b7f0350d63aa5f270e01729d00d627eeb8f3429772b1818c016c66a588a864f912b838383604051611fc693929190613629565b60405180910390a1505050565b8151156120835781602001516001600160801b031682604001516001600160801b031610158061200e575060408201516001600160801b0316155b1561204757816040517f8020d12400000000000000000000000000000000000000000000000000000000815260040161086a919061369a565b801561207f576040517f433fc33d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050565b60408201516001600160801b03161515806120aa575060208201516001600160801b031615155b1561207f57816040517fd68af9cc00000000000000000000000000000000000000000000000000000000815260040161086a919061369a565b60006119ce838361271b565b336001600160a01b03821603612131576040517fdad89dca00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080546001600160a01b0319166001600160a01b03838116918217835560015460405192939116917fed8889f560326eb138920d842192f0eb3dd22b4f139c87a2c57538e05bae12789190a350565b61218a816109b0565b6121b3576040516354c8163f60e11b815267ffffffffffffffff8216600482015260240161086a565b600480546040517f83826b2b00000000000000000000000000000000000000000000000000000000815267ffffffffffffffff8416928101929092523360248301526001600160a01b0316906383826b2b90604401602060405180830381865afa158015612225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122499190613462565b6115885760405163728fe07b60e01b815233600482015260240161086a565b67ffffffffffffffff8216600090815260076020526040902061207f90600201827f000000000000000000000000dbde08d475bd50e2d1a6af34c7b10dd430d8396e61276a565b60006119ce836001600160a01b0384166124df565b60006119ce836001600160a01b03841661271b565b7f0000000000000000000000000000000000000000000000000000000000000000156115885761230a600282612a50565b611588576040517fd0d259760000000000000000000000000000000000000000000000000000000081526001600160a01b038216600482015260240161086a565b612354816109b0565b61237d576040516354c8163f60e11b815267ffffffffffffffff8216600482015260240161086a565b600480546040517fa8d87a3b00000000000000000000000000000000000000000000000000000000815267ffffffffffffffff8416928101929092526001600160a01b03169063a8d87a3b90602401602060405180830381865afa1580156123e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061240d91906136cd565b6001600160a01b0316336001600160a01b0316146115885760405163728fe07b60e01b815233600482015260240161086a565b67ffffffffffffffff8216600090815260076020526040902061207f90827f000000000000000000000000dbde08d475bd50e2d1a6af34c7b10dd430d8396e61276a565b606081600001805480602002602001604051908101604052809291908181526020018280548015610e6d57602002820191906000526020600020905b8154815260200190600101908083116124c05750505050509050919050565b600081815260018301602052604081205480156125c8576000612503600183613616565b855490915060009061251790600190613616565b905080821461257c57600086600001828154811061253757612537613062565b906000526020600020015490508087600001848154811061255a5761255a613062565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061258d5761258d6136ea565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506105e6565b60009150506105e6565b60006125f1856125e284866135dc565b6125ec9087613700565b612a72565b95945050505050565b815460009061261690600160801b900463ffffffff1642613616565b905080156126745760018301548354612648916001600160801b03808216928116918591600160801b909104166125d2565b83546001600160801b03919091166001600160a01b031990911617600160801b4263ffffffff16021783555b60208201518354612691916001600160801b039081169116612a72565b835483511515600160a01b027fffffffffffffffffffffff00ffffffff000000000000000000000000000000009091166001600160801b039283161717845560208301516040808501518316600160801b0291909216176001850155517f9ea3374b67bf275e6bb9c8ae68f9cae023e1c528b4b27e092f0bb209d3531c1990611fc690849061369a565b6000818152600183016020526040812054612762575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556105e6565b5060006105e6565b8254600160a01b900460ff161580612780575081155b1561278a57505050565b825460018401546001600160801b03808316929116906000906127ba90600160801b900463ffffffff1642613616565b9050801561285757818311156127fc576040517f9725942a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600186015461282090839085908490600160801b90046001600160801b03166125d2565b86547fffffffffffffffffffffffff00000000ffffffffffffffffffffffffffffffff16600160801b4263ffffffff160217875592505b848210156128f4576001600160a01b0384166128a9576040517ff94ebcd1000000000000000000000000000000000000000000000000000000008152600481018390526024810186905260440161086a565b6040517f1a76572a00000000000000000000000000000000000000000000000000000000815260048101839052602481018690526001600160a01b038516604482015260640161086a565b848310156129d757600186810154600160801b90046001600160801b03169060009082906129229082613616565b61292c878a613616565b6129369190613700565b61294091906135ba565b90506001600160a01b03861661298c576040517f15279c08000000000000000000000000000000000000000000000000000000008152600481018290526024810186905260440161086a565b6040517fd0c8d23a00000000000000000000000000000000000000000000000000000000815260048101829052602481018690526001600160a01b038716604482015260640161086a565b6129e18584613616565b86547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166001600160801b0382161787556040518681529093507f1871cdf8010e63f2eb8384381a68dfa7416dc571a5517e66e88b2d2d0c0a690a9060200160405180910390a1505050505050565b6001600160a01b038116600090815260018301602052604081205415156119ce565b6000818310612a8157816119ce565b5090919050565b508054612a9490613078565b6000825580601f10612aa4575050565b601f0160209004906000526020600020908101906115889190612adc565b508054600082559060005260206000209081019061158891905b5b80821115612af15760008155600101612add565b5090565b600060208284031215612b0757600080fd5b81356001600160e01b0319811681146119ce57600080fd5b6000815180845260005b81811015612b4557602081850181015186830182015201612b29565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006119ce6020830184612b1f565b6001600160a01b038116811461158857600080fd5b600060208284031215612b9f57600080fd5b81356119ce81612b78565b600060208284031215612bbc57600080fd5b813567ffffffffffffffff811115612bd357600080fd5b820161010081850312156119ce57600080fd5b803567ffffffffffffffff81168114612bfe57600080fd5b919050565b600080600060408486031215612c1857600080fd5b612c2184612be6565b9250602084013567ffffffffffffffff80821115612c3e57600080fd5b818601915086601f830112612c5257600080fd5b813581811115612c6157600080fd5b876020828501011115612c7357600080fd5b6020830194508093505050509250925092565b60008083601f840112612c9857600080fd5b50813567ffffffffffffffff811115612cb057600080fd5b6020830191508360208260051b8501011115612ccb57600080fd5b9250929050565b60008060008060408587031215612ce857600080fd5b843567ffffffffffffffff80821115612d0057600080fd5b612d0c88838901612c86565b90965094506020870135915080821115612d2557600080fd5b50612d3287828801612c86565b95989497509550505050565b600060208284031215612d5057600080fd5b6119ce82612be6565b600060208284031215612d6b57600080fd5b813567ffffffffffffffff811115612d8257600080fd5b820160a081850312156119ce57600080fd5b602081526000825160406020840152612db06060840182612b1f565b90506020840151601f198483030160408501526125f18282612b1f565b600060208083016020845280855180835260408601915060408160051b87010192506020870160005b82811015612e2457603f19888603018452612e12858351612b1f565b94509285019290850190600101612df6565b5092979650505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612e725783516001600160a01b031683529284019291840191600101612e4d565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612e7257835167ffffffffffffffff1683529284019291840191600101612e9a565b634e487b7160e01b600052604160045260246000fd5b60405160a0810167ffffffffffffffff81118282101715612ef957612ef9612ec0565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715612f2857612f28612ec0565b604052919050565b801515811461158857600080fd5b80356001600160801b0381168114612bfe57600080fd5b600060608284031215612f6757600080fd5b6040516060810181811067ffffffffffffffff82111715612f8a57612f8a612ec0565b6040529050808235612f9b81612f30565b8152612fa960208401612f3e565b6020820152612fba60408401612f3e565b60408201525092915050565b600080600060e08486031215612fdb57600080fd5b612fe484612be6565b9250612ff38560208601612f55565b91506130028560808601612f55565b90509250925092565b6000808335601e1984360301811261302257600080fd5b83018035915067ffffffffffffffff82111561303d57600080fd5b602001915036819003821315612ccb57600080fd5b8183823760009101908152919050565b634e487b7160e01b600052603260045260246000fd5b600181811c9082168061308c57607f821691505b6020821081036130ac57634e487b7160e01b600052602260045260246000fd5b50919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b67ffffffffffffffff841681526040602082015260006125f16040830184866130b2565b6020815260006107b16020830184866130b2565b6000823561011e1983360301811261312a57600080fd5b9190910192915050565b600082601f83011261314557600080fd5b813567ffffffffffffffff81111561315f5761315f612ec0565b613172601f8201601f1916602001612eff565b81815284602083860101111561318757600080fd5b816020850160208301376000918101602001919091529392505050565b600061012082360312156131b757600080fd5b6131bf612ed6565b6131c883612be6565b815260208084013567ffffffffffffffff808211156131e657600080fd5b9085019036601f8301126131f957600080fd5b81358181111561320b5761320b612ec0565b8060051b61321a858201612eff565b918252838101850191858101903684111561323457600080fd5b86860192505b83831015613270578235858111156132525760008081fd5b6132603689838a0101613134565b835250918601919086019061323a565b808789015250505050604086013592508083111561328d57600080fd5b505061329b36828601613134565b6040830152506132ae3660608501612f55565b60608201526132c03660c08501612f55565b608082015292915050565b601f8211156108b3576000816000526020600020601f850160051c810160208610156132f45750805b601f850160051c820191505b8181101561331357828155600101613300565b505050505050565b815167ffffffffffffffff81111561333557613335612ec0565b613349816133438454613078565b846132cb565b602080601f83116001811461337e57600084156133665750858301515b600019600386901b1c1916600185901b178555613313565b600085815260208120601f198616915b828110156133ad5788860151825594840194600190910190840161338e565b50858210156133cb5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600061010067ffffffffffffffff871683528060208401526133ff81840187612b1f565b8551151560408581019190915260208701516001600160801b0390811660608701529087015116608085015291506134349050565b8251151560a083015260208301516001600160801b0390811660c084015260408401511660e08301526125f1565b60006020828403121561347457600080fd5b81516119ce81612f30565b60006020828403121561349157600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b60ff82811682821603908111156105e6576105e6613498565b600181815b808511156135025781600019048211156134e8576134e8613498565b808516156134f557918102915b93841c93908002906134cc565b509250929050565b600082613519575060016105e6565b81613526575060006105e6565b816001811461353c576002811461354657613562565b60019150506105e6565b60ff84111561355757613557613498565b50506001821b6105e6565b5060208310610133831016604e8410600b8410161715613585575081810a6105e6565b61358f83836134c7565b80600019048211156135a3576135a3613498565b029392505050565b60006119ce60ff84168361350a565b6000826135d757634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176105e6576105e6613498565b67ffffffffffffffff831681526040602082015260006107b16040830184612b1f565b818103818111156105e6576105e6613498565b67ffffffffffffffff8416815260e0810161366c60208301858051151582526020808201516001600160801b039081169184019190915260409182015116910152565b82511515608083015260208301516001600160801b0390811660a084015260408401511660c08301526107b1565b606081016105e682848051151582526020808201516001600160801b039081169184019190915260409182015116910152565b6000602082840312156136df57600080fd5b81516119ce81612b78565b634e487b7160e01b600052603160045260246000fd5b808201808211156105e6576105e661349856fea2646970667358221220689b3249d4543d80bcff960ef8053a78cc223a51b369d8ee2541e5893304db7564736f6c63430008180033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000dbde08d475bd50e2d1a6af34c7b10dd430d8396e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000411de17f12d1a34ecc7f45f49844626267c75e8100000000000000000000000080226fc0ee2b096224eeac085bb9a8cba1146f7d0000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : token (address): 0xdBDE08d475bd50E2D1A6af34c7b10DD430D8396e
Arg [1] : localTokenDecimals (uint8): 18
Arg [2] : allowlist (address[]):
Arg [3] : rmnProxy (address): 0x411dE17f12D1A34ecC7F45f49844626267c75e81
Arg [4] : router (address): 0x80226fc0Ee2b096224EeAc085Bb9a8cba1146f7D
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000dbde08d475bd50e2d1a6af34c7b10dd430d8396e
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 000000000000000000000000411de17f12d1a34ecc7f45f49844626267c75e81
Arg [4] : 00000000000000000000000080226fc0ee2b096224eeac085bb9a8cba1146f7d
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
72972:558:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49228:248;;;;;;:::i;:::-;;:::i;:::-;;;516:14:1;;509:22;491:41;;479:2;464:18;49228:248:0;;;;;;;;73050:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;48360:82::-;48429:7;48360:82;;;-1:-1:-1;;;;;1373:55:1;;;1355:74;;1343:2;1328:18;48360:82:0;1196:239:1;48099:131:0;;;;;;:::i;:::-;48216:7;-1:-1:-1;;;;;48199:25:0;;;;;;;48099:131;52074:108;;;2023:4:1;52161:15:0;2011:17:1;1993:36;;1981:2;1966:18;52074:108:0;1851:184:1;71703:631:0;;;;;;:::i;:::-;;:::i;:::-;;;2675:13:1;;2657:32;;2645:2;2630:18;71703:631:0;2441:254:1;55835:223:0;;;;;;:::i;:::-;;:::i;69699:153::-;;;;;;:::i;:::-;;:::i;:::-;;56946:268;;;;;;:::i;:::-;;:::i;64701:97::-;64776:16;;-1:-1:-1;;;;;64776:16:0;64701:97;;18293:288;;;:::i;64472:171::-;;;;;;:::i;:::-;;:::i;57977:163::-;;;;;;:::i;:::-;;:::i;17404:83::-;17474:7;;-1:-1:-1;;;;;17474:7:0;17404:83;;71127:436;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;55184:447::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;69443:105::-;;;:::i;:::-;;;;;;;:::i;57471:473::-;;;;;;:::i;:::-;;:::i;65856:249::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;7832:13:1;;-1:-1:-1;;;;;7828:22:1;;;7810:41;;7911:4;7899:17;;;7893:24;7919:10;7889:41;7867:20;;;7860:71;8001:4;7989:17;;;7983:24;7976:32;7969:40;7947:20;;;7940:70;8070:4;8058:17;;;8052:24;8048:33;;8026:20;;;8019:63;8142:4;8130:17;;;8124:24;8120:33;8098:20;;;8091:63;;;;7744:3;7729:19;;7554:606;48706:95:0;48786:8;;-1:-1:-1;;;;;48786:8:0;48706:95;;56252:177;;;;;;:::i;:::-;;:::i;48884:266::-;;;;;;:::i;:::-;;:::i;58219:399::-;;;:::i;:::-;;;;;;;:::i;65478:251::-;;;;;;:::i;:::-;;:::i;66492:360::-;;;;;;:::i;:::-;;:::i;48530:92::-;48606:10;48530:92;;69258:98;69332:18;69258:98;;59094:2879;;;;;;:::i;:::-;;:::i;17755:100::-;;;;;;:::i;:::-;;:::i;49228:248::-;49323:4;-1:-1:-1;;;;;;49343:32:0;;49358:17;49343:32;;:76;;-1:-1:-1;;;;;;;49379:40:0;;49394:25;49379:40;49343:76;:127;;;-1:-1:-1;;;;;;;49430:40:0;;49445:25;49430:40;49343:127;49336:134;49228:248;-1:-1:-1;;49228:248:0:o;71703:631::-;-1:-1:-1;;;;;;;;;;;;71859:39:0;71882:15;71859:22;:39::i;:::-;71942:19;71971:99;71993:22;;;;72017:52;72038:30;;;;71993:15;72038:30;:::i;:::-;72017:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72017:20:0;;-1:-1:-1;;;72017:52:0:i;:::-;71971:21;:99::i;:::-;71942:128;-1:-1:-1;;;;;;72131:7:0;72108:37;;72146:24;;;;;;;;:::i;:::-;72108:76;;-1:-1:-1;;;;;;72108:76:0;;;;;;;-1:-1:-1;;;;;12656:55:1;;;72108:76:0;;;12638:74:1;12728:18;;;12721:34;;;12611:18;;72108:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72217:24:0;;-1:-1:-1;;;72217:24:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;72198:57:0;72205:10;-1:-1:-1;;;;;72198:57:0;;72243:11;72198:57;;;;12912:25:1;;12900:2;12885:18;;12766:177;72198:57:0;;;;;;;;72271;;;;;;;;;;;;;71703:631;-1:-1:-1;;71703:631:0:o;55835:223::-;55940:4;55960:92;56033:17;;56023:28;;;;;;;:::i;:::-;;;;;;;;;;;55960:41;;;;;;;:20;:41;;;;;;:53;;;:62;:92::i;:::-;55953:99;55835:223;-1:-1:-1;;;;55835:223:0:o;69699:153::-;18854:20;:18;:20::i;:::-;69809:37:::1;69832:7;;69809:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;69809:37:0::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;;;;;;-1:-1:-1;69841:4:0;;-1:-1:-1;69841:4:0;;;;69809:37;::::1;::::0;69841:4;;69809:37;69841:4;69809:37;::::1;;::::0;::::1;::::0;;;;-1:-1:-1;69809:22:0::1;::::0;-1:-1:-1;;;69809:37:0:i:1;:::-;69699:153:::0;;;;:::o;56946:268::-;18854:20;:18;:20::i;:::-;57062:37:::1;57079:19;57062:16;:37::i;:::-;57057:88;;57108:37;::::0;-1:-1:-1;;;57108:37:0;;13398:18:1;13386:31;;57108:37:0::1;::::0;::::1;13368:50:1::0;13341:18;;57108:37:0::1;;;;;;;;57057:88;57154:54;57169:19;57190:17;;57154:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;57154:14:0::1;::::0;-1:-1:-1;;;57154:54:0:i:1;:::-;56946:268:::0;;;:::o;18293:288::-;18363:14;;-1:-1:-1;;;;;18363:14:0;18349:10;:28;18345:79;;18395:21;;;;;;;;;;;;;;18345:79;18451:7;;;-1:-1:-1;;;;;;18465:20:0;;;18475:10;18465:20;;;;;;18432:16;18492:27;;;;;;;18533:42;;-1:-1:-1;;;;;18451:7:0;;;;18475:10;18451:7;;18533:42;;;18338:243;18293:288::o;64472:171::-;18854:20;:18;:20::i;:::-;64559:16:::1;:33:::0;;-1:-1:-1;;;;;;64559:33:0::1;-1:-1:-1::0;;;;;64559:33:0;::::1;::::0;;::::1;::::0;;;64604::::1;::::0;1355:74:1;;;64604:33:0::1;::::0;1343:2:1;1328:18;64604:33:0::1;;;;;;;64472:171:::0;:::o;57977:163::-;58062:4;58082:52;:22;:52;;;:31;:52::i;71127:436::-;-1:-1:-1;;;;;;;;;;;;;;;;;71271:33:0;71291:12;71271:19;:33::i;:::-;71313:26;71319:12;:19;;;71313:5;:26::i;:::-;71353:39;;71372:19;;;;12912:25:1;;71360:10:0;;71353:39;;12900:2:1;12885:18;71353:39:0;;;;;;;71408:149;;;;;;;;71456:48;71471:12;:32;;;;;;;;;;:::i;71456:48::-;71408:149;;;;71527:22;52279:27;;;2023:4:1;52290:15:0;2011:17:1;52279:27:0;;;1993:36:1;52251:12:0;;1966:18:1;52279:27:0;;;;;;;;;;;;52272:34;;52188:124;;71527:22;71408:149;;71401:156;71127:436;-1:-1:-1;;71127:436:0:o;55184:447::-;55326:41;;;55290:33;55326:41;;;:20;:41;;;;;55267:14;;55290:33;55326:62;;:53;;:60;:62::i;:::-;55290:98;;55397:26;55438:16;:23;55426:36;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55397:65;;55474:9;55469:130;55493:16;:23;55489:1;:27;55469:130;;;55549:21;:42;55571:16;55588:1;55571:19;;;;;;;;:::i;:::-;;;;;;;55549:42;;;;;;;;;;;55532:59;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:11;55544:1;55532:14;;;;;;;;:::i;:::-;;;;;;;;;;:59;55518:3;;55469:130;;;-1:-1:-1;55614:11:0;55184:447;-1:-1:-1;;;55184:447:0:o;69443:105::-;69490:16;69522:20;:11;:18;:20::i;:::-;69515:27;;69443:105;:::o;57471:473::-;18854:20;:18;:20::i;:::-;57590:37:::1;57607:19;57590:16;:37::i;:::-;57585:88;;57636:37;::::0;-1:-1:-1;;;57636:37:0;;13398:18:1;13386:31;;57636:37:0::1;::::0;::::1;13368:50:1::0;13341:18;;57636:37:0::1;13224:200:1::0;57585:88:0::1;57687:90;57758:17;;57748:28;;;;;;;:::i;:::-;;::::0;;;;;::::1;::::0;;;57687:41:::1;::::0;::::1;;::::0;;;:20:::1;:41;::::0;;;;;:53:::1;;::::0;:60:::1;:90::i;:::-;57682:186;;57821:19;57842:17;;57795:65;;;;;;;;;;;;;:::i;57682:186::-;57899:19;57881:57;;;57920:17;;57881:57;;;;;;;:::i;:::-;;;;;;;;57471:473:::0;;;:::o;65856:249::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66006:41:0;;;;;;;:20;:41;;;;;;;;;:91;;;;;;;:66;;;:91;-1:-1:-1;;;;;66006:91:0;;;;;-1:-1:-1;;;66006:91:0;;;;;;;;;;;;-1:-1:-1;;;66006:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:93;;:91;:93::i;56252:177::-;56363:41;;;;;;;:20;:41;;;;;:60;;56356:67;;56335:12;;56363:60;56356:67;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56252:177;;;:::o;48884:266::-;18854:20;:18;:20::i;:::-;-1:-1:-1;;;;;48960:23:0;::::1;48956:59;;48992:23;;-1:-1:-1::0;;;48992:23:0::1;;;;;;;;;;;48956:59;49050:8;::::0;;-1:-1:-1;;;;;49066:29:0;;::::1;-1:-1:-1::0;;;;;;49066:29:0;::::1;::::0;::::1;::::0;;;49109:35:::1;::::0;;49050:8;;;::::1;15158:34:1::0;;;15223:2;15208:18;;15201:43;;;;49109:35:0::1;::::0;15070:18:1;49109:35:0::1;;;;;;;48949:201;48884:266:::0;:::o;58219:399::-;58270:15;58294:38;58335:31;:22;:29;:31::i;:::-;58294:72;;58373:30;58419:21;:28;58406:42;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58406:42:0;;58373:75;;58460:9;58455:128;58479:21;:28;58475:1;:32;58455:128;;;58550:21;58572:1;58550:24;;;;;;;;:::i;:::-;;;;;;;58523:14;58538:1;58523:17;;;;;;;;:::i;:::-;:52;;;;:17;;;;;;;;;;;:52;58509:3;;58455:128;;;-1:-1:-1;58598:14:0;58219:399;-1:-1:-1;;58219:399:0:o;65478:251::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65629:41:0;;;;;;;:20;:41;;;;;;;;;:92;;;;;;;;;-1:-1:-1;;;;;65629:92:0;;;;;-1:-1:-1;;;65629:92:0;;;;;;;;;;;;-1:-1:-1;;;65629:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:94;;:92;:94::i;66492:360::-;66692:16;;-1:-1:-1;;;;;66692:16:0;66678:10;:30;;;;:55;;-1:-1:-1;17474:7:0;;-1:-1:-1;;;;;17474:7:0;66712:10;:21;;66678:55;66674:92;;;66742:24;;;;;66755:10;66742:24;;;1355:74:1;1328:18;;66742:24:0;1196:239:1;66674:92:0;66775:71;66795:19;66816:14;66832:13;66775:19;:71::i;59094:2879::-;18854:20;:18;:20::i;:::-;59259:9:::1;59254:794;59274:39:::0;;::::1;59254:794;;;59329:34;59366:28;;59395:1;59366:31;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;59329:68:::0;-1:-1:-1;59456:58:0::1;:22;:58;::::0;::::1;:29;:58::i;:::-;59451:138;;59534:45;::::0;-1:-1:-1;;;59534:45:0;;13398:18:1;13386:31;;59534:45:0::1;::::0;::::1;13368:50:1::0;13341:18;;59534:45:0::1;13224:200:1::0;59451:138:0::1;59684:49;::::0;::::1;59653:28;59684:49:::0;;;:20:::1;:49;::::0;;;;:70:::1;::::0;:61:::1;;:68;:70::i;:::-;59653:101;;59768:9;59763:154;59787:11;:18;59783:1;:22;59763:154;;;59823:84;59892:11;59904:1;59892:14;;;;;;;;:::i;:::-;;;;;;;59823:20;:49;59844:27;59823:49;;;;;;;;;;;;;;;:61;;:68;;:84;;;;:::i;:::-;-1:-1:-1::0;59807:3:0::1;;59763:154;;;-1:-1:-1::0;59934:49:0::1;::::0;::::1;;::::0;;;:20:::1;:49;::::0;;;;59927:56;;;;;;;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;;;;;;;;;;59934:49;59927:56:::1;;::::0;::::1;59934:49:::0;59927:56:::1;:::i;:::-;;::::0;::::1;;::::0;;::::1;::::0;;::::1;:::i;:::-;-1:-1:-1::0;;59999:41:0::1;::::0;13398:18:1;13386:31;;13368:50;;59999:41:0::1;::::0;-1:-1:-1;13356:2:1;13341:18;;-1:-1:-1;59999:41:0::1;::::0;-1:-1:-1;;13224:200:1;59999:41:0::1;;;;;;;;-1:-1:-1::0;;59315:3:0::1;;59254:794;;;;60061:9;60056:1912;60076:22:::0;;::::1;60056:1912;;;60114:27;60144:11;;60156:1;60144:14;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;60114:44;;;:::i;:::-;;;60167:81;60206:8;:34;;;60242:5;60167:38;:81::i;:::-;60257:80;60296:8;:33;;;60331:5;60257:38;:80::i;:::-;60352:8;:27;;;:34;60390:1;60352:39:::0;60348:96:::1;;60411:23;;-1:-1:-1::0;;;60411:23:0::1;;;;;;;;;;;60348:96;60532:28:::0;;60505:56:::1;::::0;:22:::1;::::0;:56:::1;;:26;:56::i;:::-;60500:139;;60600:28:::0;;60581:48:::1;::::0;::::1;::::0;;13398:18:1;13386:31;;;60581:48:0::1;::::0;::::1;13368:50:1::0;13341:18;;60581:48:0::1;13224:200:1::0;60500:139:0::1;60716:28:::0;;60695:50:::1;;60649:43;60695:50:::0;;;:20:::1;:50;::::0;;;;;;;;60802:329;;::::1;::::0;;::::1;::::0;;60965:34:::1;::::0;;::::1;::::0;;:43;::::1;::::0;-1:-1:-1;;;;;60802:329:0;;::::1;::::0;;;::::1;61039:15;60802:329;::::0;;::::1;::::0;;;61077:34;;:44;60802:329:::1;;::::0;;;;;;60903:34;;:43;::::1;::::0;60802:329;::::1;::::0;;;;;;60843:34;;:39;::::1;::::0;60802:329;::::1;::::0;;;;;;;60756:375;;-1:-1:-1;;;60756:375:0;;::::1;::::0;-1:-1:-1;;;60756:375:0;;::::1;-1:-1:-1::0;;;;;;60756:375:0;;;;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;61185:325;;;;::::1;::::0;;61346:33;;::::1;::::0;;:42;::::1;::::0;61185:325;::::1;::::0;;;;;::::1;::::0;;;;61457:33;;:43;61185:325:::1;;::::0;;;;;;61285:33;;:42;;::::1;::::0;61185:325;::::1;::::0;;;;;;61226:33;:38;::::1;::::0;61185:325;;::::1;::::0;;;;;;;61140:42:::1;::::0;::::1;:370:::0;;;;;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;;61558:27;;::::1;::::0;61519:36:::1;::::0;::::1;::::0;:66:::1;::::0;:36;:66:::1;:::i;:::-;;61601:9;61596:164;61620:8;:28;;;:35;61616:1;:39;61596:164;;;61673:77;61688:8;:28;;;61718:8;:28;;;61747:1;61718:31;;;;;;;;:::i;:::-;;;;;;;61673:14;:77::i;:::-;61657:3;;61596:164;;;;61775:185;61796:8;:28;;;61835:8;:27;;;61873:8;:34;;;61918:8;:33;;;61775:185;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;;60100:3:0::1;;60056:1912;;;;59094:2879:::0;;;;:::o;17755:100::-;18854:20;:18;:20::i;:::-;17827:22:::1;17846:2;17827:18;:22::i;:::-;17755:100:::0;:::o;51052:731::-;51164:44;51181:26;;;;;;;;:::i;51164:44::-;51159:98;;51230:26;;;;;;;;:::i;:::-;51217:40;;;;;-1:-1:-1;;;;;1373:55:1;;;51217:40:0;;;1355:74:1;1328:18;;51217:40:0;1196:239:1;51159:98:0;-1:-1:-1;;;;;51273:10:0;51268:25;;51310:35;;;;;;;;:::i;:::-;51268:80;;;;;;-1:-1:-1;;;;;;51268:80:0;;;51294:53;;;;;;;51268:80;;;21137:98:1;21110:18;;51268:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51264:106;;;51357:13;;-1:-1:-1;;;51357:13:0;;;;;;;;;;;51264:106;51377:49;51390:35;;;;;;;;:::i;:::-;51377:12;:49::i;:::-;51515:84;51528:35;;;;;;;;:::i;:::-;51565:33;;;;:15;:33;:::i;51515:84::-;51510:174;;51642:33;;;;:15;:33;:::i;:::-;51617:59;;;;;;;;;;;;:::i;51510:174::-;51692:85;51717:35;;;;;;;;:::i;:::-;51754:15;:22;;;51692:24;:85::i;52318:629::-;52418:5;52556:14;:21;52581:1;52556:26;52552:71;;-1:-1:-1;52600:15:0;;52318:629;-1:-1:-1;52318:629:0:o;52552:71::-;52633:14;:21;52658:2;52633:27;52629:99;;52705:14;52678:42;;-1:-1:-1;;;52678:42:0;;;;;;;;:::i;52629:99::-;52734:22;52770:14;52759:37;;;;;;;;;;;;:::i;:::-;52734:62;-1:-1:-1;52824:15:0;52807:32;;52803:104;;;52884:14;52857:42;;-1:-1:-1;;;52857:42:0;;;;;;;;:::i;53596:1176::-;53702:7;53740:15;53722:33;;:14;:33;;;53718:75;;-1:-1:-1;53773:12:0;53766:19;;53718:75;53820:15;53803:32;;:14;:32;;;53799:463;;;53846:18;53867:32;53884:15;53867:14;:32;:::i;:::-;53846:53;;53927:2;53912:12;:17;;;53908:194;;;54029:63;;-1:-1:-1;;;54029:63:0;;22254:4:1;22242:17;;;54029:63:0;;;22224:36:1;54062:15:0;22296:17:1;22276:18;;;22269:45;22330:18;;;22323:34;;;22197:18;;54029:63:0;22030:333:1;53908:194:0;54235:18;54241:12;54235:2;:18;:::i;:::-;54219:35;;:12;:35;:::i;:::-;54212:42;;;;;53799:463;54487:18;54508:32;54526:14;54508:15;:32;:::i;:::-;54487:53;;54566:2;54551:12;:17;;;:76;;;-1:-1:-1;54608:18:0;54614:12;54608:2;:18;:::i;:::-;54587:40;;-1:-1:-1;;54587:40:0;:::i;:::-;54572:12;:55;54551:76;54547:169;;;54645:63;;-1:-1:-1;;;54645:63:0;;22254:4:1;22242:17;;;54645:63:0;;;22224:36:1;54678:15:0;22296:17:1;22276:18;;;22269:45;22330:18;;;22323:34;;;22197:18;;54645:63:0;22030:333:1;54547:169:0;54747:18;54753:12;54747:2;:18;:::i;:::-;54731:35;;:12;:35;:::i;33982:140::-;34062:4;31846:21;;;:14;;;:21;;;;;;:26;;34086:28;34079:35;33982:140;-1:-1:-1;;;33982:140:0:o;18618:128::-;18687:7;;-1:-1:-1;;;;;18687:7:0;18673:10;:21;18669:72;;18712:21;;;;;;;;;;;;;;18669:72;18618:128::o;69954:579::-;70056:18;70051:53;;70083:21;;;;;;;;;;;;;;70051:53;70118:9;70113:184;70137:7;:14;70133:1;:18;70113:184;;;70167:16;70186:7;70194:1;70186:10;;;;;;;;:::i;:::-;;;;;;;70167:29;;70209:28;70228:8;70209:11;:18;;:28;;;;:::i;:::-;70205:85;;;70255:25;;-1:-1:-1;;;;;1373:55:1;;1355:74;;70255:25:0;;1343:2:1;1328:18;70255:25:0;;;;;;;70205:85;-1:-1:-1;70153:3:0;;70113:184;;;;70308:9;70303:225;70327:4;:11;70323:1;:15;70303:225;;;70354:13;70370:4;70375:1;70370:7;;;;;;;;:::i;:::-;;;;;;;70354:23;;70407:1;-1:-1:-1;;;;;70390:19:0;:5;-1:-1:-1;;;;;70390:19:0;;70386:54;;70422:8;;;70386:54;70452:22;:11;70468:5;70452:15;:22::i;:::-;70448:73;;;70492:19;;-1:-1:-1;;;;;1373:55:1;;1355:74;;70492:19:0;;1343:2:1;1328:18;70492:19:0;;;;;;;70448:73;70345:183;70303:225;70340:3;;70303:225;;62250:644;62354:17;:24;62382:1;62354:29;62350:82;;62401:23;;-1:-1:-1;;;62401:23:0;;;;;;;;;;;62350:82;62459:28;;;;;;;;;;62543:41;;;62440:16;62543:41;;;:20;:41;;;;;;;:67;;:53;;62459:28;62543:57;:67::i;:::-;62538:154;;62645:19;62666:17;62628:56;;;;;;;;;;;;:::i;62538:154::-;62768:31;;;;:21;:31;;;;;:51;62802:17;62768:31;:51;:::i;:::-;;62849:19;62833:55;;;62870:17;62833:55;;;;;;:::i;50113:498::-;50216:41;50233:23;;;;;;;;:::i;50216:41::-;50211:92;;50279:23;;;;;;;;:::i;50211:92::-;-1:-1:-1;;;;;50319:10:0;50314:25;;50356:32;;;;;;;;:::i;:::-;50314:77;;;;;;-1:-1:-1;;;;;;50314:77:0;;;50340:50;;;;;;;50314:77;;;21137:98:1;21110:18;;50314:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;50310:103;;;50400:13;;-1:-1:-1;;;50400:13:0;;;;;;;;;;;50310:103;50420:44;50436:27;;;;;;;;:::i;:::-;50420:15;:44::i;:::-;50473:45;50485:32;;;;;;;;:::i;:::-;50473:11;:45::i;:::-;50525:80;50551:32;;;;;;;;:::i;:::-;50585:12;:19;;;50525:25;:80::i;73402:125::-;73476:45;;;;;;;;12912:25:1;;;73499:7:0;-1:-1:-1;;;;;73476:37:0;;;;12885:18:1;;73476:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35360:310;35423:16;35452:22;35477:19;35485:3;35477:7;:19::i;33765:131::-;33838:4;33862:26;33870:3;33882:5;33862:7;:26::i;23828:540::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24191:99:0;24208:6;:15;;;-1:-1:-1;;;;;24191:99:0;24225:6;:13;;;-1:-1:-1;;;;;24191:99:0;24258:6;:18;;;24240:36;;:15;:36;;;;:::i;:::-;24278:6;:11;;;-1:-1:-1;;;;;24191:99:0;:16;:99::i;:::-;-1:-1:-1;;;;;24160:131:0;;;-1:-1:-1;24298:44:0;24326:15;24298:44;:18;;;:44;24160:6;23828:540::o;66858:706::-;67039:37;67056:19;67039:16;:37::i;:::-;67034:88;;67085:37;;-1:-1:-1;;;67085:37:0;;13398:18:1;13386:31;;67085:37:0;;;13368:50:1;13341:18;;67085:37:0;13224:200:1;67034:88:0;67129:61;67168:14;67184:5;67129:38;:61::i;:::-;67197:41;;;;;;;:20;:41;;;;;:105;;67287:14;67197:89;:105::i;:::-;67309:60;67348:13;67363:5;67309:38;:60::i;:::-;67376:41;;;;;;;:20;:41;;;;;:103;;:66;;67465:13;67376:88;:103::i;:::-;67491:67;67507:19;67528:14;67544:13;67491:67;;;;;;;;:::i;:::-;;;;;;;;66858:706;;;:::o;25266:464::-;25370:16;;25366:359;;;25416:6;:15;;;-1:-1:-1;;;;;25401:30:0;:6;:11;;;-1:-1:-1;;;;;25401:30:0;;;:50;;;-1:-1:-1;25435:11:0;;;;-1:-1:-1;;;;;25435:16:0;;25401:50;25397:112;;;25492:6;25471:28;;;;;;;;;;;:::i;25397:112::-;25521:14;25517:73;;;25555:25;;;;;;;;;;;;;;25517:73;25266:464;;:::o;25366:359::-;25616:11;;;;-1:-1:-1;;;;;25616:16:0;;;;:40;;-1:-1:-1;25636:15:0;;;;-1:-1:-1;;;;;25636:20:0;;;25616:40;25612:106;;;25701:6;25676:32;;;;;;;;;;;:::i;38486:131::-;38553:4;38577:32;38582:3;38602:5;38577:4;:32::i;18000:209::-;18065:10;-1:-1:-1;;;;;18059:16:0;;;18055:68;;18093:22;;;;;;;;;;;;;;18055:68;18131:14;:19;;-1:-1:-1;;;;;;18131:19:0;-1:-1:-1;;;;;18131:19:0;;;;;;;;-1:-1:-1;18191:7:0;18164:39;;18131:19;;18191:7;;;18164:39;;18131:14;18164:39;18000:209;:::o;68427:282::-;68513:37;68530:19;68513:16;:37::i;:::-;68508:87;;68559:36;;-1:-1:-1;;;68559:36:0;;13398:18:1;13386:31;;68559:36:0;;;13368:50:1;13341:18;;68559:36:0;13224:200:1;68508:87:0;68607:8;;;:51;;;;;25572:18:1;25560:31;;68607:51:0;;;25542:50:1;;;;68647:10:0;25608:18:1;;;25601:83;-1:-1:-1;;;;;68607:8:0;;:18;;25515::1;;68607:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;68602:101;;68667:36;;-1:-1:-1;;;68667:36:0;;68692:10;68667:36;;;1355:74:1;1328:18;;68667:36:0;1196:239:1;65150:201:0;65244:41;;;;;;;:20;:41;;;;;:101;;:66;;65320:6;65336:7;65244:75;:101::i;36252:158::-;36325:4;36349:53;36357:3;-1:-1:-1;;;;;36377:23:0;;36349:7;:53::i;35924:152::-;35994:4;36018:50;36023:3;-1:-1:-1;;;;;36043:23:0;;36018:4;:50::i;68934:204::-;69010:18;69006:127;;;69044:28;:11;69065:6;69044:20;:28::i;:::-;69039:87;;69092:24;;;;;-1:-1:-1;;;;;1373:55:1;;69092:24:0;;;1355:74:1;1328:18;;69092:24:0;1196:239:1;67962:285:0;68047:37;68064:19;68047:16;:37::i;:::-;68042:87;;68093:36;;-1:-1:-1;;;68093:36:0;;13398:18:1;13386:31;;68093:36:0;;;13368:50:1;13341:18;;68093:36:0;13224:200:1;68042:87:0;68156:8;;;:39;;;;;13398:18:1;13386:31;;68156:39:0;;;13368:50:1;;;;-1:-1:-1;;;;;68156:8:0;;:18;;13341::1;;68156:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;68142:53:0;:10;-1:-1:-1;;;;;68142:53:0;;68136:105;;68205:36;;-1:-1:-1;;;68205:36:0;;68230:10;68205:36;;;1355:74:1;1328:18;;68205:36:0;1196:239:1;64873:203:0;64968:41;;;;;;;:20;:41;;;;;:102;;65045:6;65061:7;64968:76;:102::i;33099:111::-;33155:16;33191:3;:11;;33184:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33099:111;;;:::o;30263:1400::-;30329:4;30460:21;;;:14;;;:21;;;;;;30498:13;;30494:1162;;30871:18;30892:12;30903:1;30892:8;:12;:::i;:::-;30939:18;;30871:33;;-1:-1:-1;30919:17:0;;30939:22;;30960:1;;30939:22;:::i;:::-;30919:42;;30996:9;30982:10;:23;30978:385;;31026:17;31046:3;:11;;31058:9;31046:22;;;;;;;;:::i;:::-;;;;;;;;;31026:42;;31196:9;31170:3;:11;;31182:10;31170:23;;;;;;;;:::i;:::-;;;;;;;;;;;;:35;;;;31311:25;;;:14;;;:25;;;;;:36;;;30978:385;31444:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;31550:3;:14;;:21;31565:5;31550:21;;;;;;;;;;;31543:28;;;31595:4;31588:11;;;;;;;30494:1162;31639:5;31632:12;;;;;26008:208;26147:7;26170:40;26175:8;26194:15;26205:4;26194:8;:15;:::i;:::-;26185:24;;:6;:24;:::i;:::-;26170:4;:40::i;:::-;26163:47;26008:208;-1:-1:-1;;;;;26008:208:0:o;24495:716::-;24753:20;;24716:16;;24735:38;;-1:-1:-1;;;24753:20:0;;;;24735:15;:38;:::i;:::-;24716:57;-1:-1:-1;24784:13:0;;24780:197;;24851:17;;;;24870:15;;24834:77;;-1:-1:-1;;;;;24851:17:0;;;;24870:15;;;24887:8;;-1:-1:-1;;;24897:13:0;;;;24834:16;:77::i;:::-;24808:104;;-1:-1:-1;;;;;24808:104:0;;;;-1:-1:-1;;;;;;24923:46:0;;;;-1:-1:-1;;;24953:15:0;24923:46;;;;;;24780:197;25016:15;;;;25033;;25011:38;;-1:-1:-1;;;;;25011:38:0;;;;25033:15;25011:4;:38::i;:::-;24985:65;;25078:16;;25057:37;;-1:-1:-1;;;25057:37:0;;;;;-1:-1:-1;;;;;24985:65:0;;;25057:37;;;;25121:15;;;;25159:11;;;;;25143:27;;-1:-1:-1;;;25143:27:0;25101:35;;;;25143:27;24985:65;25101:17;;25143:27;25184:21;;;;;25078:6;;25184:21;:::i;29671:416::-;29734:4;31846:21;;;:14;;;:21;;;;;;29751:329;;-1:-1:-1;29794:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;29979:18;;29955:21;;;:14;;;:21;;;;;;:42;;;;30012:11;;29751:329;-1:-1:-1;30063:5:0;30056:12;;21872:1829;22092:18;;-1:-1:-1;;;22092:18:0;;;;22091:19;;:41;;-1:-1:-1;22114:18:0;;22091:41;22087:70;;;21872:1829;;;:::o;22087:70::-;22182:15;;;22223:17;;;-1:-1:-1;;;;;22182:15:0;;;;22223:17;;;22165:14;;22266:38;;-1:-1:-1;;;22284:20:0;;;;22266:15;:38;:::i;:::-;22247:57;-1:-1:-1;22317:13:0;;22313:278;;22354:8;22345:6;:17;22341:48;;;22371:18;;;;;;;;;;;;;;22341:48;22512:13;;;;22467:59;;22484:8;;22494:6;;22502:8;;-1:-1:-1;;;22512:13:0;;-1:-1:-1;;;;;22512:13:0;22467:16;:59::i;:::-;22537:46;;;;-1:-1:-1;;;22567:15:0;22537:46;;;;;;22458:68;-1:-1:-1;22313:278:0;22614:13;22603:8;:24;22599:306;;;-1:-1:-1;;;;;22725:26:0;;22721:97;;22760:58;;;;;;;;26444:25:1;;;26485:18;;;26478:34;;;26417:18;;22760:58:0;26270:248:1;22721:97:0;22834:63;;;;;;;;26725:25:1;;;26766:18;;;26759:34;;;-1:-1:-1;;;;;26829:55:1;;26809:18;;;26802:83;26698:18;;22834:63:0;26523:368:1;22599:306:0;22924:13;22915:6;:22;22911:603;;;22963:13;;;;;-1:-1:-1;;;22963:13:0;;-1:-1:-1;;;;;22963:13:0;;22948:12;;22963:13;;23306:8;;22963:13;23306:8;:::i;:::-;23279:22;23295:6;23279:13;:22;:::i;:::-;23278:37;;;;:::i;:::-;23277:46;;;;:::i;:::-;23250:73;-1:-1:-1;;;;;;23338:26:0;;23334:95;;23373:56;;;;;;;;26444:25:1;;;26485:18;;;26478:34;;;26417:18;;23373:56:0;26270:248:1;23334:95:0;23445:61;;;;;;;;26725:25:1;;;26766:18;;;26759:34;;;-1:-1:-1;;;;;26829:55:1;;26809:18;;;26802:83;26698:18;;23445:61:0;26523:368:1;22911:603:0;23520:23;23530:13;23520:23;;:::i;:::-;23621:33;;;;-1:-1:-1;;;;;23621:33:0;;;;;23666:29;;12912:25:1;;;23621:33:0;;-1:-1:-1;23666:29:0;;12900:2:1;12885:18;23666:29:0;;;;;;;21974:1727;;;21872:1829;;;:::o;36496:167::-;-1:-1:-1;;;;;36630:23:0;;36576:4;31846:21;;;:14;;;:21;;;;;;:26;;36600:55;31749:131;26350:101;26409:7;26436:1;26432;:5;:13;;26444:1;26432:13;;;-1:-1:-1;26440:1:0;;26350:101;-1:-1:-1;26350:101:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:332:1:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;180:9;167:23;-1:-1:-1;;;;;;223:5:1;219:78;212:5;209:89;199:117;;312:1;309;302:12;543:423;585:3;623:5;617:12;650:6;645:3;638:19;675:1;685:162;699:6;696:1;693:13;685:162;;;761:4;817:13;;;813:22;;807:29;789:11;;;785:20;;778:59;714:12;685:162;;;689:3;892:1;885:4;876:6;871:3;867:16;863:27;856:38;955:4;948:2;944:7;939:2;931:6;927:15;923:29;918:3;914:39;910:50;903:57;;;543:423;;;;:::o;971:220::-;1120:2;1109:9;1102:21;1083:4;1140:45;1181:2;1170:9;1166:18;1158:6;1140:45;:::i;1440:154::-;-1:-1:-1;;;;;1519:5:1;1515:54;1508:5;1505:65;1495:93;;1584:1;1581;1574:12;1599:247;1658:6;1711:2;1699:9;1690:7;1686:23;1682:32;1679:52;;;1727:1;1724;1717:12;1679:52;1766:9;1753:23;1785:31;1810:5;1785:31;:::i;2040:396::-;2135:6;2188:2;2176:9;2167:7;2163:23;2159:32;2156:52;;;2204:1;2201;2194:12;2156:52;2244:9;2231:23;2277:18;2269:6;2266:30;2263:50;;;2309:1;2306;2299:12;2263:50;2332:22;;2388:3;2370:16;;;2366:26;2363:46;;;2405:1;2402;2395:12;2700:171;2767:20;;2827:18;2816:30;;2806:41;;2796:69;;2861:1;2858;2851:12;2796:69;2700:171;;;:::o;2876:663::-;2954:6;2962;2970;3023:2;3011:9;3002:7;2998:23;2994:32;2991:52;;;3039:1;3036;3029:12;2991:52;3062:28;3080:9;3062:28;:::i;:::-;3052:38;;3141:2;3130:9;3126:18;3113:32;3164:18;3205:2;3197:6;3194:14;3191:34;;;3221:1;3218;3211:12;3191:34;3259:6;3248:9;3244:22;3234:32;;3304:7;3297:4;3293:2;3289:13;3285:27;3275:55;;3326:1;3323;3316:12;3275:55;3366:2;3353:16;3392:2;3384:6;3381:14;3378:34;;;3408:1;3405;3398:12;3378:34;3453:7;3448:2;3439:6;3435:2;3431:15;3427:24;3424:37;3421:57;;;3474:1;3471;3464:12;3421:57;3505:2;3501;3497:11;3487:21;;3527:6;3517:16;;;;;2876:663;;;;;:::o;3544:367::-;3607:8;3617:6;3671:3;3664:4;3656:6;3652:17;3648:27;3638:55;;3689:1;3686;3679:12;3638:55;-1:-1:-1;3712:20:1;;3755:18;3744:30;;3741:50;;;3787:1;3784;3777:12;3741:50;3824:4;3816:6;3812:17;3800:29;;3884:3;3877:4;3867:6;3864:1;3860:14;3852:6;3848:27;3844:38;3841:47;3838:67;;;3901:1;3898;3891:12;3838:67;3544:367;;;;;:::o;3916:773::-;4038:6;4046;4054;4062;4115:2;4103:9;4094:7;4090:23;4086:32;4083:52;;;4131:1;4128;4121:12;4083:52;4171:9;4158:23;4200:18;4241:2;4233:6;4230:14;4227:34;;;4257:1;4254;4247:12;4227:34;4296:70;4358:7;4349:6;4338:9;4334:22;4296:70;:::i;:::-;4385:8;;-1:-1:-1;4270:96:1;-1:-1:-1;4473:2:1;4458:18;;4445:32;;-1:-1:-1;4489:16:1;;;4486:36;;;4518:1;4515;4508:12;4486:36;;4557:72;4621:7;4610:8;4599:9;4595:24;4557:72;:::i;:::-;3916:773;;;;-1:-1:-1;4648:8:1;-1:-1:-1;;;;3916:773:1:o;4925:184::-;4983:6;5036:2;5024:9;5015:7;5011:23;5007:32;5004:52;;;5052:1;5049;5042:12;5004:52;5075:28;5093:9;5075:28;:::i;5114:393::-;5206:6;5259:2;5247:9;5238:7;5234:23;5230:32;5227:52;;;5275:1;5272;5265:12;5227:52;5315:9;5302:23;5348:18;5340:6;5337:30;5334:50;;;5380:1;5377;5370:12;5334:50;5403:22;;5459:3;5441:16;;;5437:26;5434:46;;;5476:1;5473;5466:12;5512:545;5705:2;5694:9;5687:21;5668:4;5743:6;5737:13;5786:4;5781:2;5770:9;5766:18;5759:32;5814:51;5861:2;5850:9;5846:18;5832:12;5814:51;:::i;:::-;5800:65;;5914:2;5906:6;5902:15;5896:22;5988:2;5984:7;5972:9;5964:6;5960:22;5956:36;5949:4;5938:9;5934:20;5927:66;6010:41;6044:6;6028:14;6010:41;:::i;6062:801::-;6222:4;6251:2;6291;6280:9;6276:18;6321:2;6310:9;6303:21;6344:6;6379;6373:13;6410:6;6402;6395:22;6448:2;6437:9;6433:18;6426:25;;6510:2;6500:6;6497:1;6493:14;6482:9;6478:30;6474:39;6460:53;;6548:2;6540:6;6536:15;6569:1;6579:255;6593:6;6590:1;6587:13;6579:255;;;6686:2;6682:7;6670:9;6662:6;6658:22;6654:36;6649:3;6642:49;6714:40;6747:6;6738;6732:13;6714:40;:::i;:::-;6704:50;-1:-1:-1;6812:12:1;;;;6777:15;;;;6615:1;6608:9;6579:255;;;-1:-1:-1;6851:6:1;;6062:801;-1:-1:-1;;;;;;;6062:801:1:o;6868:681::-;7039:2;7091:21;;;7161:13;;7064:18;;;7183:22;;;7010:4;;7039:2;7262:15;;;;7236:2;7221:18;;;7010:4;7305:218;7319:6;7316:1;7313:13;7305:218;;;7384:13;;-1:-1:-1;;;;;7380:62:1;7368:75;;7498:15;;;;7463:12;;;;7341:1;7334:9;7305:218;;;-1:-1:-1;7540:3:1;;6868:681;-1:-1:-1;;;;;;6868:681:1:o;8388:655::-;8557:2;8609:21;;;8679:13;;8582:18;;;8701:22;;;8528:4;;8557:2;8780:15;;;;8754:2;8739:18;;;8528:4;8823:194;8837:6;8834:1;8831:13;8823:194;;;8902:13;;8917:18;8898:38;8886:51;;8992:15;;;;8957:12;;;;8859:1;8852:9;8823:194;;9048:184;-1:-1:-1;;;9097:1:1;9090:88;9197:4;9194:1;9187:15;9221:4;9218:1;9211:15;9237:253;9309:2;9303:9;9351:4;9339:17;;9386:18;9371:34;;9407:22;;;9368:62;9365:88;;;9433:18;;:::i;:::-;9469:2;9462:22;9237:253;:::o;9495:275::-;9566:2;9560:9;9631:2;9612:13;;-1:-1:-1;;9608:27:1;9596:40;;9666:18;9651:34;;9687:22;;;9648:62;9645:88;;;9713:18;;:::i;:::-;9749:2;9742:22;9495:275;;-1:-1:-1;9495:275:1:o;9775:118::-;9861:5;9854:13;9847:21;9840:5;9837:32;9827:60;;9883:1;9880;9873:12;9898:188;9966:20;;-1:-1:-1;;;;;10015:46:1;;10005:57;;9995:85;;10076:1;10073;10066:12;10091:619;10144:5;10192:4;10180:9;10175:3;10171:19;10167:30;10164:50;;;10210:1;10207;10200:12;10164:50;10243:2;10237:9;10285:4;10277:6;10273:17;10356:6;10344:10;10341:22;10320:18;10308:10;10305:34;10302:62;10299:88;;;10367:18;;:::i;:::-;10403:2;10396:22;10436:6;-1:-1:-1;10436:6:1;10466:23;;10498:30;10466:23;10498:30;:::i;:::-;10537:23;;10593:38;10627:2;10612:18;;10593:38;:::i;:::-;10588:2;10580:6;10576:15;10569:63;10665:38;10699:2;10688:9;10684:18;10665:38;:::i;:::-;10660:2;10652:6;10648:15;10641:63;;10091:619;;;;:::o;10715:410::-;10837:6;10845;10853;10906:3;10894:9;10885:7;10881:23;10877:33;10874:53;;;10923:1;10920;10913:12;10874:53;10946:28;10964:9;10946:28;:::i;:::-;10936:38;;10993:53;11038:7;11033:2;11022:9;11018:18;10993:53;:::i;:::-;10983:63;;11065:54;11111:7;11105:3;11094:9;11090:19;11065:54;:::i;:::-;11055:64;;10715:410;;;;;:::o;11938:521::-;12015:4;12021:6;12081:11;12068:25;12175:2;12171:7;12160:8;12144:14;12140:29;12136:43;12116:18;12112:68;12102:96;;12194:1;12191;12184:12;12102:96;12221:33;;12273:20;;;-1:-1:-1;12316:18:1;12305:30;;12302:50;;;12348:1;12345;12338:12;12302:50;12381:4;12369:17;;-1:-1:-1;12412:14:1;12408:27;;;12398:38;;12395:58;;;12449:1;12446;12439:12;12948:271;13131:6;13123;13118:3;13105:33;13087:3;13157:16;;13182:13;;;13157:16;12948:271;-1:-1:-1;12948:271:1:o;13429:184::-;-1:-1:-1;;;13478:1:1;13471:88;13578:4;13575:1;13568:15;13602:4;13599:1;13592:15;13618:437;13697:1;13693:12;;;;13740;;;13761:61;;13815:4;13807:6;13803:17;13793:27;;13761:61;13868:2;13860:6;13857:14;13837:18;13834:38;13831:218;;-1:-1:-1;;;13902:1:1;13895:88;14006:4;14003:1;13996:15;14034:4;14031:1;14024:15;13831:218;;13618:437;;;:::o;14060:266::-;14148:6;14143:3;14136:19;14200:6;14193:5;14186:4;14181:3;14177:14;14164:43;-1:-1:-1;14252:1:1;14227:16;;;14245:4;14223:27;;;14216:38;;;;14308:2;14287:15;;;-1:-1:-1;;14283:29:1;14274:39;;;14270:50;;14060:266::o;14331:338::-;14526:18;14518:6;14514:31;14503:9;14496:50;14582:2;14577;14566:9;14562:18;14555:30;14477:4;14602:61;14659:2;14648:9;14644:18;14636:6;14628;14602:61;:::i;14674:244::-;14831:2;14820:9;14813:21;14794:4;14851:61;14908:2;14897:9;14893:18;14885:6;14877;14851:61;:::i;15255:329::-;15352:4;15410:11;15397:25;15504:3;15500:8;15489;15473:14;15469:29;15465:44;15445:18;15441:69;15431:97;;15524:1;15521;15514:12;15431:97;15545:33;;;;;15255:329;-1:-1:-1;;15255:329:1:o;15589:530::-;15631:5;15684:3;15677:4;15669:6;15665:17;15661:27;15651:55;;15702:1;15699;15692:12;15651:55;15738:6;15725:20;15764:18;15760:2;15757:26;15754:52;;;15786:18;;:::i;:::-;15830:55;15873:2;15854:13;;-1:-1:-1;;15850:27:1;15879:4;15846:38;15830:55;:::i;:::-;15910:2;15901:7;15894:19;15956:3;15949:4;15944:2;15936:6;15932:15;15928:26;15925:35;15922:55;;;15973:1;15970;15963:12;15922:55;16038:2;16031:4;16023:6;16019:17;16012:4;16003:7;15999:18;15986:55;16086:1;16061:16;;;16079:4;16057:27;16050:38;;;;16065:7;15589:530;-1:-1:-1;;;15589:530:1:o;16124:1727::-;16234:9;16293:6;16285:5;16269:14;16265:26;16261:39;16258:59;;;16313:1;16310;16303:12;16258:59;16341:22;;:::i;:::-;16388:24;16406:5;16388:24;:::i;:::-;16379:7;16372:41;16432:2;16481;16474:5;16470:14;16457:28;16504:18;16545:2;16537:6;16534:14;16531:34;;;16561:1;16558;16551:12;16531:34;16584:18;;;;16640:14;16633:4;16625:13;;16621:34;16611:62;;16669:1;16666;16659:12;16611:62;16705:2;16692:16;16727:2;16723;16720:10;16717:36;;;16733:18;;:::i;:::-;16779:2;16776:1;16772:10;16802:28;16826:2;16822;16818:11;16802:28;:::i;:::-;16864:15;;;16934:11;;;16930:20;;;16895:12;;;;16973:14;16962:26;;16959:46;;;17001:1;16998;16991:12;16959:46;17033:2;17029;17025:11;17014:22;;17045:359;17061:6;17056:3;17053:15;17045:359;;;17147:3;17134:17;17183:2;17170:11;17167:19;17164:109;;;17227:1;17256:2;17252;17245:14;17164:109;17298:63;17346:14;17341:2;17327:11;17323:2;17319:20;17315:29;17298:63;:::i;:::-;17286:76;;-1:-1:-1;17078:12:1;;;;17382;;;;17045:359;;;17438:5;17433:2;17424:7;17420:16;17413:31;;;;;17493:2;17486:5;17482:14;17469:28;17453:44;;17522:2;17512:8;17509:16;17506:36;;;17538:1;17535;17528:12;17506:36;;;17576:54;17615:14;17604:8;17597:5;17593:20;17576:54;:::i;:::-;17571:2;17562:7;17558:16;17551:80;;17665:56;17706:14;17701:2;17694:5;17690:14;17665:56;:::i;:::-;17660:2;17651:7;17647:16;17640:82;17758:57;17800:14;17794:3;17787:5;17783:15;17758:57;:::i;:::-;17751:4;17738:18;;17731:85;17742:7;16124:1727;-1:-1:-1;;16124:1727:1:o;17981:542::-;18082:2;18077:3;18074:11;18071:446;;;18118:1;18142:5;18139:1;18132:16;18186:4;18183:1;18173:18;18256:2;18244:10;18240:19;18237:1;18233:27;18227:4;18223:38;18292:4;18280:10;18277:20;18274:47;;;-1:-1:-1;18315:4:1;18274:47;18370:2;18365:3;18361:12;18358:1;18354:20;18348:4;18344:31;18334:41;;18425:82;18443:2;18436:5;18433:13;18425:82;;;18488:17;;;18469:1;18458:13;18425:82;;;18429:3;;;17981:542;;;:::o;18699:1341::-;18823:3;18817:10;18850:18;18842:6;18839:30;18836:56;;;18872:18;;:::i;:::-;18901:96;18990:6;18950:38;18982:4;18976:11;18950:38;:::i;:::-;18944:4;18901:96;:::i;:::-;19052:4;;19109:2;19098:14;;19126:1;19121:662;;;;19827:1;19844:6;19841:89;;;-1:-1:-1;19896:19:1;;;19890:26;19841:89;-1:-1:-1;;18656:1:1;18652:11;;;18648:24;18644:29;18634:40;18680:1;18676:11;;;18631:57;19943:81;;19091:943;;19121:662;17928:1;17921:14;;;17965:4;17952:18;;-1:-1:-1;;19157:20:1;;;19274:236;19288:7;19285:1;19282:14;19274:236;;;19377:19;;;19371:26;19356:42;;19469:27;;;;19437:1;19425:14;;;;19304:19;;19274:236;;;19278:3;19538:6;19529:7;19526:19;19523:201;;;19599:19;;;19593:26;-1:-1:-1;;19682:1:1;19678:14;;;19694:3;19674:24;19670:37;19666:42;19651:58;19636:74;;19523:201;-1:-1:-1;;;;;19770:1:1;19754:14;;;19750:22;19737:36;;-1:-1:-1;18699:1341:1:o;20381:605::-;20665:4;20694:3;20736:18;20728:6;20724:31;20713:9;20706:50;20792:2;20787;20776:9;20772:18;20765:30;20812:45;20853:2;20842:9;20838:18;20830:6;20812:45;:::i;:::-;20131:12;;20124:20;20117:28;20914:2;20899:18;;;20105:41;;;;20192:4;20181:16;;20175:23;-1:-1:-1;;;;;20283:21:1;;;20267:14;;;20260:45;20347:16;;;20341:23;20337:32;20321:14;;;20314:56;20804:53;-1:-1:-1;20866:52:1;;-1:-1:-1;20045:331:1;20866:52;20131:12;;20124:20;20117:28;20975:3;20960:19;;20105:41;20192:4;20181:16;;20175:23;-1:-1:-1;;;;;20283:21:1;;;20267:14;;;20260:45;20358:4;20347:16;;20341:23;20337:32;20321:14;;;20314:56;20927:53;20045:331;21246:245;21313:6;21366:2;21354:9;21345:7;21341:23;21337:32;21334:52;;;21382:1;21379;21372:12;21334:52;21414:9;21408:16;21433:28;21455:5;21433:28;:::i;21496:184::-;21566:6;21619:2;21607:9;21598:7;21594:23;21590:32;21587:52;;;21635:1;21632;21625:12;21587:52;-1:-1:-1;21658:16:1;;21496:184;-1:-1:-1;21496:184:1:o;21685:::-;-1:-1:-1;;;21734:1:1;21727:88;21834:4;21831:1;21824:15;21858:4;21855:1;21848:15;21874:151;21964:4;21957:12;;;21943;;;21939:31;;21982:14;;21979:40;;;21999:18;;:::i;22368:416::-;22457:1;22494:5;22457:1;22508:270;22529:7;22519:8;22516:21;22508:270;;;22588:4;22584:1;22580:6;22576:17;22570:4;22567:27;22564:53;;;22597:18;;:::i;:::-;22647:7;22637:8;22633:22;22630:55;;;22667:16;;;;22630:55;22746:22;;;;22706:15;;;;22508:270;;;22512:3;22368:416;;;;;:::o;22789:806::-;22838:5;22868:8;22858:80;;-1:-1:-1;22909:1:1;22923:5;;22858:80;22957:4;22947:76;;-1:-1:-1;22994:1:1;23008:5;;22947:76;23039:4;23057:1;23052:59;;;;23125:1;23120:130;;;;23032:218;;23052:59;23082:1;23073:10;;23096:5;;;23120:130;23157:3;23147:8;23144:17;23141:43;;;23164:18;;:::i;:::-;-1:-1:-1;;23220:1:1;23206:16;;23235:5;;23032:218;;23334:2;23324:8;23321:16;23315:3;23309:4;23306:13;23302:36;23296:2;23286:8;23283:16;23278:2;23272:4;23269:12;23265:35;23262:77;23259:159;;;-1:-1:-1;23371:19:1;;;23403:5;;23259:159;23450:34;23475:8;23469:4;23450:34;:::i;:::-;23520:6;23516:1;23512:6;23508:19;23499:7;23496:32;23493:58;;;23531:18;;:::i;:::-;23569:20;;22789:806;-1:-1:-1;;;22789:806:1:o;23600:140::-;23658:5;23687:47;23728:4;23718:8;23714:19;23708:4;23687:47;:::i;23745:274::-;23785:1;23811;23801:189;;-1:-1:-1;;;23843:1:1;23836:88;23947:4;23944:1;23937:15;23975:4;23972:1;23965:15;23801:189;-1:-1:-1;24004:9:1;;23745:274::o;24024:168::-;24097:9;;;24128;;24145:15;;;24139:22;;24125:37;24115:71;;24166:18;;:::i;24197:312::-;24382:18;24374:6;24370:31;24359:9;24352:50;24438:2;24433;24422:9;24418:18;24411:30;24333:4;24458:45;24499:2;24488:9;24484:18;24476:6;24458:45;:::i;24514:128::-;24581:9;;;24602:11;;;24599:37;;;24616:18;;:::i;24647:472::-;24970:18;24958:31;;24940:50;;24927:3;24912:19;;24999:52;25047:2;25032:18;;25024:6;20131:12;;20124:20;20117:28;20105:41;;20192:4;20181:16;;;20175:23;-1:-1:-1;;;;;20283:21:1;;;20267:14;;;20260:45;;;;20358:4;20347:16;;;20341:23;20337:32;20321:14;;20314:56;20045:331;24999:52;20131:12;;20124:20;20117:28;25108:3;25093:19;;20105:41;20192:4;20181:16;;20175:23;-1:-1:-1;;;;;20283:21:1;;;20267:14;;;20260:45;20358:4;20347:16;;20341:23;20337:32;20321:14;;;20314:56;25060:53;20045:331;25124:241;25304:2;25289:18;;25316:43;25293:9;25341:6;20131:12;;20124:20;20117:28;20105:41;;20192:4;20181:16;;;20175:23;-1:-1:-1;;;;;20283:21:1;;;20267:14;;;20260:45;;;;20358:4;20347:16;;;20341:23;20337:32;20321:14;;20314:56;20045:331;25695:251;25765:6;25818:2;25806:9;25797:7;25793:23;25789:32;25786:52;;;25834:1;25831;25824:12;25786:52;25866:9;25860:16;25885:31;25910:5;25885:31;:::i;25951:184::-;-1:-1:-1;;;26000:1:1;25993:88;26100:4;26097:1;26090:15;26124:4;26121:1;26114:15;26140:125;26205:9;;;26226:10;;;26223:36;;;26239:18;;:::i
Swarm Source
ipfs://689b3249d4543d80bcff960ef8053a78cc223a51b369d8ee2541e5893304db75
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.