Source Code
Latest 11 from a total of 11 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Clear Cached Swa... | 18186080 | 892 days ago | IN | 0 ETH | 0.00038019 | ||||
| Set Peer | 18172005 | 894 days ago | IN | 0 ETH | 0.0007403 | ||||
| Set Peer | 18172004 | 894 days ago | IN | 0 ETH | 0.00078046 | ||||
| Set Peer | 18172003 | 894 days ago | IN | 0 ETH | 0.00076126 | ||||
| Set Peer | 18172002 | 894 days ago | IN | 0 ETH | 0.00074525 | ||||
| Set Peer | 18172001 | 894 days ago | IN | 0 ETH | 0.00071484 | ||||
| Set Peer | 18172000 | 894 days ago | IN | 0 ETH | 0.00072717 | ||||
| Set Peer | 18171999 | 894 days ago | IN | 0 ETH | 0.00072226 | ||||
| Set Peer | 18171998 | 894 days ago | IN | 0 ETH | 0.00073738 | ||||
| Set Peer | 18171997 | 894 days ago | IN | 0 ETH | 0.00076599 | ||||
| Set Peer | 18171996 | 894 days ago | IN | 0 ETH | 0.00075267 |
Latest 14 internal transactions
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Swap | 18191896 | 891 days ago | 0.00134374 ETH | ||||
| Swap | 18191896 | 891 days ago | 0.00134374 ETH | ||||
| Swap | 18191741 | 891 days ago | 0.00079631 ETH | ||||
| Swap | 18191239 | 891 days ago | 0.00084045 ETH | ||||
| Swap | 18191239 | 891 days ago | 0.00084045 ETH | ||||
| Swap | 18190820 | 891 days ago | 0.00079738 ETH | ||||
| Swap | 18190820 | 891 days ago | 0.00079738 ETH | ||||
| Swap | 18187600 | 892 days ago | 0.0007803 ETH | ||||
| Swap | 18183299 | 892 days ago | 0.0007803 ETH | ||||
| Swap | 18183299 | 892 days ago | 0.0007803 ETH | ||||
| Swap | 18183168 | 892 days ago | 0.0007803 ETH | ||||
| Swap | 18183168 | 892 days ago | 0.0007803 ETH | ||||
| Swap | 18182577 | 892 days ago | 0.00066516 ETH | ||||
| Swap | 18182577 | 892 days ago | 0.00066516 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
StargateComposer
Compiler Version
v0.7.6+commit.7338295f
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.6;
pragma abicoder v2;
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "./interfaces/IStargateRouter.sol";
import "./interfaces/IStargateReceiver.sol";
import "./interfaces/IStargateEthVault.sol";
import "./util/BytesLib.sol";
import "./util/SafeCall.sol";
interface IStargateBridge {
function quoteLayerZeroFee(
uint16 _chainId,
uint8 _functionType,
bytes calldata _toAddress,
bytes calldata _transferAndCallPayload,
IStargateRouter.lzTxObj memory _lzTxParams
) external view returns (uint256, uint256);
}
interface IPool {
function token() external view returns (address);
function convertRate() external view returns (uint256);
}
interface IStargateFactory {
function getPool(uint256 _poolId) external view returns (address);
}
contract StargateComposer is IStargateRouter, IStargateReceiver, Ownable, ReentrancyGuard {
using BytesLib for bytes;
using SafeCall for address;
using Address for address;
using SafeERC20 for IERC20;
using SafeMath for uint256;
bytes4 private constant SELECTOR = bytes4(keccak256(bytes("transfer(address,uint256)")));
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private dstGasReserve = 40000;
uint256 private transferOverhead = 20000;
uint256 private _swapStatus = _NOT_ENTERED;
IStargateBridge public immutable stargateBridge;
IStargateRouter public immutable stargateRouter;
address public immutable factory;
uint256 public wethPoolId;
struct PoolInfo {
address token;
address poolAddress;
uint256 convertRate;
}
mapping(uint16 => address) public peers;
mapping(uint256 => address) public stargateEthVaults;
mapping(uint16 => mapping(bytes => mapping(uint256 => bytes32))) public payloadHashes;
mapping(uint256 => PoolInfo) public poolIdToInfo; // cache pool info
modifier nonSwapReentrant() {
require(_swapStatus != _ENTERED, "Stargate: reentrant call");
_swapStatus = _ENTERED;
_;
_swapStatus = _NOT_ENTERED;
}
event CachedSwapSaved(
uint16 chainId,
bytes srcAddress,
uint256 nonce,
bytes reason
);
event ComposedTokenTransferFailed(
address token,
address intendedReceiver,
uint amountLD
);
struct SwapAmount {
uint256 amountLD; // the amount, in Local Decimals, to be swapped
uint256 minAmountLD; // the minimum amount accepted out on destination
}
constructor(address _stargateBridge, address _stargateRouter, address _stargateEthVault, uint256 _wethPoolId) {
stargateBridge = IStargateBridge(_stargateBridge);
stargateRouter = IStargateRouter(_stargateRouter);
wethPoolId = _wethPoolId;
setStargateEthVaults(_wethPoolId, _stargateEthVault);
(bool success, bytes memory data) = _stargateRouter.staticcall(abi.encodeWithSignature("factory()"));
require(success, "Stargate: invalid factory address");
factory = abi.decode(data, (address));
}
function addLiquidity(
uint256 _poolId,
uint256 _amountLD,
address _to
) external override {
PoolInfo memory poolInfo = _getPoolInfo(_poolId);
// remove dust
if (poolInfo.convertRate > 1) _amountLD = _amountLD.div(poolInfo.convertRate).mul(poolInfo.convertRate);
// transfer tokens into this contract
IERC20(poolInfo.token).safeTransferFrom(msg.sender, address(this), _amountLD);
stargateRouter.addLiquidity(_poolId, _amountLD, _to);
}
function redeemRemote(
uint16 _dstChainId,
uint256 _srcPoolId,
uint256 _dstPoolId,
address payable _refundAddress,
uint256 _amountLP,
uint256 _minAmountLD,
bytes calldata _to,
lzTxObj memory _lzTxParams
) external override payable nonReentrant {
IERC20 lpToken = IERC20(_getPoolInfo(_srcPoolId).poolAddress);
// transfer lp tokens into this contract
lpToken.safeTransferFrom(msg.sender, address(this), _amountLP);
stargateRouter.redeemRemote{value: msg.value}(
_dstChainId,
_srcPoolId,
_dstPoolId,
_refundAddress,
_amountLP,
_minAmountLD,
_to,
_lzTxParams
);
}
function redeemLocal(
uint16 _dstChainId,
uint256 _srcPoolId,
uint256 _dstPoolId,
address payable _refundAddress,
uint256 _amountLP,
bytes calldata _to,
lzTxObj memory _lzTxParams
) external override payable nonReentrant {
IERC20 lpToken = IERC20(_getPoolInfo(_srcPoolId).poolAddress);
// transfer lp tokens into this contract
lpToken.safeTransferFrom(msg.sender, address(this), _amountLP);
stargateRouter.redeemLocal{value: msg.value}(
_dstChainId,
_srcPoolId,
_dstPoolId,
_refundAddress,
_amountLP,
_to,
_lzTxParams
);
}
function instantRedeemLocal(
uint16 _srcPoolId,
uint256 _amountLP,
address _to
) external override nonReentrant returns (uint256 amountSD) {
IERC20 lpToken = IERC20(_getPoolInfo(_srcPoolId).poolAddress);
// should always be zero as this contract doesnt hold tokens
uint balanceBefore = lpToken.balanceOf(address(this));
// transfer lp tokens into this contract
lpToken.safeTransferFrom(msg.sender, address(this), _amountLP);
// redeem the tokens on behalf of user
amountSD = stargateRouter.instantRedeemLocal(_srcPoolId, _amountLP, _to);
// any extra lpTokens send back to the original msg.sender
uint balanceAfter = lpToken.balanceOf(address(this));
uint diff = balanceAfter - balanceBefore;
if (diff > 0) lpToken.safeTransfer(msg.sender, diff);
}
function sendCredits(
uint16 _dstChainId,
uint256 _srcPoolId,
uint256 _dstPoolId,
address payable _refundAddress
) external payable override nonReentrant {
stargateRouter.sendCredits{value: msg.value}(_dstChainId, _srcPoolId, _dstPoolId, _refundAddress);
}
function quoteLayerZeroFee(
uint16 _chainId,
uint8 _functionType,
bytes calldata _toAddress,
bytes calldata _transferAndCallPayload,
IStargateRouter.lzTxObj memory _lzTxParams
) external view override returns(uint256, uint256) {
bytes memory newPayload = _buildPayload(_toAddress, _transferAndCallPayload);
// overhead for calling composer's sgReceive()
_lzTxParams.dstGasForCall += dstGasReserve + transferOverhead;
return stargateBridge.quoteLayerZeroFee(_chainId, _functionType, _toAddress, newPayload, _lzTxParams);
}
function swap(
uint16 _dstChainId,
uint256 _srcPoolId,
uint256 _dstPoolId,
address payable _refundAddress,
uint256 _amountLD,
uint256 _minAmountLD,
IStargateRouter.lzTxObj memory _lzTxParams,
bytes calldata _to,
bytes calldata _payload
) external override payable nonSwapReentrant {
bytes memory newPayload = _buildPayload(_to, _payload);
bytes memory peer = _getPeer(_dstChainId);
if(isEthPool(_srcPoolId)) {
require(msg.value > _amountLD, "Stargate: msg.value must be > _swapAmount.amountLD");
IStargateEthVault(stargateEthVaults[_srcPoolId]).deposit{value: _amountLD}();
IStargateEthVault(stargateEthVaults[_srcPoolId]).approve(address(stargateRouter), _amountLD);
} else {
PoolInfo memory poolInfo = _getPoolInfo(_srcPoolId);
// remove dust
if (poolInfo.convertRate > 1) _amountLD = _amountLD.div(poolInfo.convertRate).mul(poolInfo.convertRate);
// transfer token to this contract
IERC20(poolInfo.token).safeTransferFrom(msg.sender, address(this), _amountLD);
}
// overhead for calling composer's sgReceive()
_lzTxParams.dstGasForCall += dstGasReserve + transferOverhead;
stargateRouter.swap{value: isEthPool(_srcPoolId) ? msg.value - _amountLD : msg.value}(
_dstChainId,
_srcPoolId,
_dstPoolId,
_refundAddress,
_amountLD,
_minAmountLD,
_lzTxParams,
peer, // swap the to address with the peer address
newPayload
);
}
// @notice compose stargate to swap ETH on the source to ETH on the destination and arbitrary call
function swapETHAndCall(
uint16 _dstChainId, // destination Stargate chainId
address payable _refundAddress, // refund additional messageFee to this address
bytes calldata _to, // the receiver of the destination ETH
SwapAmount memory _swapAmount, // the amount and the minimum swap amount
IStargateRouter.lzTxObj memory _lzTxParams, // the LZ tx params
bytes calldata _payload // the payload to send to the destination
) external payable nonSwapReentrant {
bytes memory newPayload = _buildPayload(_to, _payload);
bytes memory peer = _getPeer(_dstChainId);
{
require(msg.value > _swapAmount.amountLD, "Stargate: msg.value must be > _swapAmount.amountLD");
require(stargateEthVaults[wethPoolId] != address(0), "Stargate: Pool does not exist");
IStargateEthVault(stargateEthVaults[wethPoolId]).deposit{value: _swapAmount.amountLD}();
IStargateEthVault(stargateEthVaults[wethPoolId]).approve(address(stargateRouter), _swapAmount.amountLD);
}
// overhead for calling composer's sgReceive()
_lzTxParams.dstGasForCall += dstGasReserve + transferOverhead;
stargateRouter.swap{value: (msg.value - _swapAmount.amountLD)}(
_dstChainId, // destination Stargate chainId
wethPoolId, // WETH Stargate poolId on source
wethPoolId, // WETH Stargate poolId on destination
_refundAddress, // message refund address if overpaid
_swapAmount.amountLD, // the amount in Local Decimals to swap()
_swapAmount.minAmountLD, // the minimum amount swap()er would allow to get out (ie: slippage)
_lzTxParams, // the LZ tx params
peer, // address on destination to send to
newPayload // payload to send to the destination
);
}
function _buildPayload(
bytes calldata _to,
bytes calldata _payload
) internal view returns (bytes memory) {
require(_to.length == 20, "Stargate: invalid to address");
require(_payload.length > 0, "Stargate: payload is empty");
// new payload = to(20) + sender(20) + payload
// encoding the sender allows the receiver to know who called the Stargate
return abi.encodePacked(_to, msg.sender, _payload);
}
function _getPeer(uint16 _dstChainId) internal view returns(bytes memory) {
address peerAddr = peers[_dstChainId];
require(peerAddr != address(0), "Stargate: peer not found");
return abi.encodePacked(peerAddr);
}
function addLiquidityETH() external payable {
require(msg.value > 0, "Stargate: msg.value is 0");
// wrap the ETH into WETH
uint256 amountLD = msg.value;
require(stargateEthVaults[wethPoolId] != address(0), "Stargate: Pool does not exist");
IStargateEthVault(stargateEthVaults[wethPoolId]).deposit{value: amountLD}();
IStargateEthVault(stargateEthVaults[wethPoolId]).approve(address(stargateRouter), amountLD);
// addLiquidity using the WETH that was just wrapped,
// and mint the LP token to the msg.sender
stargateRouter.addLiquidity(wethPoolId, amountLD, msg.sender);
}
function sgReceive(
uint16 _srcChainId,
bytes memory _srcAddress,
uint256 _nonce,
address _token,
uint256 _amountLD,
bytes memory _payload
) external override {
require(msg.sender == address(stargateRouter), "Stargate: only router");
// will just ignore the payload in some invalid configuration
if (_payload.length <= 40) return; // 20 + 20 + payload
address intendedReceiver = _payload.toAddress(0);
try IERC20(_token).transfer(intendedReceiver, _amountLD) {
if (!intendedReceiver.isContract()) return; // ignore
bytes memory callData = abi.encodeWithSelector(
IStargateReceiver.sgReceive.selector,
_srcChainId,
abi.encodePacked(_payload.toAddress(20)), // use the caller as the srcAddress (the msg.sender caller the StargateComposer at the source)
_nonce,
_token,
_amountLD,
_payload.slice(40, _payload.length - 40)
);
// no point in requires, because it will revert regardless
uint256 externalGas = gasleft() - dstGasReserve;
(bool success, bytes memory reason) = intendedReceiver.safeCall(externalGas, 0, 150, callData); // only return 150 bytes of data
if (!success) {
payloadHashes[_srcChainId][_srcAddress][_nonce] = keccak256(abi.encodePacked(intendedReceiver, callData));
emit CachedSwapSaved(_srcChainId, _srcAddress, _nonce, reason);
}
} catch {
// do nothing, token swap failed and can't be delivered, tokens are held inside this contract
emit ComposedTokenTransferFailed(_token, intendedReceiver, _amountLD);
}
}
function clearCachedSwap(
uint16 _srcChainId,
bytes calldata _srcAddress,
uint64 _nonce,
address _receiver,
bytes calldata _sgReceiveCallData
) external nonReentrant {
bytes32 hash = keccak256(abi.encodePacked(_receiver, _sgReceiveCallData));
require(payloadHashes[_srcChainId][_srcAddress][_nonce] == hash, "Stargate: invalid hash");
delete payloadHashes[_srcChainId][_srcAddress][_nonce];
(bool success, bytes memory reason) = _receiver.safeCall(gasleft(), 0, 150, _sgReceiveCallData);
if (!success) {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
function setDstGasReserve(uint256 _dstGasReserve) onlyOwner external {
dstGasReserve = _dstGasReserve;
}
function setTransferOverhead(uint256 _transferOverhead) onlyOwner external {
transferOverhead = _transferOverhead;
}
function setStargateEthVaults(uint256 _poolId, address _stargateEthVault) onlyOwner public {
stargateEthVaults[_poolId] = _stargateEthVault;
}
function setWethPoolId(uint256 _wethPoolId) onlyOwner external {
wethPoolId = _wethPoolId;
}
function setPeer(uint16 _chainId, address _peer) onlyOwner external {
require(peers[_chainId] == address(0), "Stargate: peer already set");
peers[_chainId] = _peer;
}
function recoverToken(address _token, address _to, uint256 _amount) external onlyOwner {
IERC20(_token).safeTransfer(_to, _amount);
}
function isSending() external view returns (bool) {
return _swapStatus == _ENTERED;
}
function isEthPool(uint256 _srcPoolId) internal view returns (bool) {
return stargateEthVaults[_srcPoolId] != address(0);
}
function getPoolInfo(uint256 _poolId) external returns (PoolInfo memory poolInfo) {
return _getPoolInfo(_poolId);
}
function _getPoolInfo(uint256 _poolId) internal returns (PoolInfo memory poolInfo) {
// return early if its already been called
if (poolIdToInfo[_poolId].poolAddress != address(0)) {
return poolIdToInfo[_poolId];
}
address pool = IStargateFactory(factory).getPool(_poolId);
require(address(pool) != address(0), "Stargate: pool does not exist");
IERC20(pool).safeApprove(address(stargateRouter), type(uint256).max);
address token = IPool(pool).token();
require(address(token) != address(0), "Stargate: token does not exist");
IERC20(token).safeApprove(address(stargateRouter), type(uint256).max);
uint256 convertRate = IPool(pool).convertRate();
poolInfo = PoolInfo({token: token, poolAddress: pool, convertRate: convertRate});
poolIdToInfo[_poolId] = poolInfo;
}
}// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with GSN meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor () {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and make it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
// On the first call to nonReentrant, _notEntered will be true
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
_;
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor () {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
// solhint-disable-next-line no-inline-assembly
assembly { size := extcodesize(account) }
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
// solhint-disable-next-line avoid-low-level-calls, avoid-call-value
(bool success, ) = recipient.call{ value: amount }("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain`call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.call{ value: value }(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.staticcall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.delegatecall(data);
return _verifyCallResult(success, returndata, errorMessage);
}
function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
// solhint-disable-next-line no-inline-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
import "./IERC20.sol";
import "../../math/SafeMath.sol";
import "../../utils/Address.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using SafeMath for uint256;
using Address for address;
function safeTransfer(IERC20 token, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
/**
* @dev Deprecated. This function has issues similar to the ones found in
* {IERC20-approve}, and its usage is discouraged.
*
* Whenever possible, use {safeIncreaseAllowance} and
* {safeDecreaseAllowance} instead.
*/
function safeApprove(IERC20 token, address spender, uint256 value) internal {
// safeApprove should only be called when setting an initial allowance,
// or when resetting it to zero. To increase and decrease it, use
// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
// solhint-disable-next-line max-line-length
require((value == 0) || (token.allowance(address(this), spender) == 0),
"SafeERC20: approve from non-zero to non-zero allowance"
);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
}
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 newAllowance = token.allowance(address(this), spender).add(value);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
// the target address contains contract code and also asserts for success in the low-level call.
bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
if (returndata.length > 0) { // Return data is optional
// solhint-disable-next-line max-line-length
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
/**
* @dev Returns the substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
if (b > a) return (false, 0);
return (true, a - b);
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
if (b == 0) return (false, 0);
return (true, a / b);
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
if (b == 0) return (false, 0);
return (true, a % b);
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
require(b <= a, "SafeMath: subtraction overflow");
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) return 0;
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
require(b > 0, "SafeMath: division by zero");
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
require(b > 0, "SafeMath: modulo by zero");
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
return a - b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryDiv}.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
return a % b;
}
}// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.7.6;
pragma abicoder v2;
interface IStargateRouter {
struct lzTxObj {
uint256 dstGasForCall;
uint256 dstNativeAmount;
bytes dstNativeAddr;
}
function addLiquidity(
uint256 _poolId,
uint256 _amountLD,
address _to
) external;
function swap(
uint16 _dstChainId,
uint256 _srcPoolId,
uint256 _dstPoolId,
address payable _refundAddress,
uint256 _amountLD,
uint256 _minAmountLD,
lzTxObj memory _lzTxParams,
bytes calldata _to,
bytes calldata _payload
) external payable;
function redeemRemote(
uint16 _dstChainId,
uint256 _srcPoolId,
uint256 _dstPoolId,
address payable _refundAddress,
uint256 _amountLP,
uint256 _minAmountLD,
bytes calldata _to,
lzTxObj memory _lzTxParams
) external payable;
function instantRedeemLocal(
uint16 _srcPoolId,
uint256 _amountLP,
address _to
) external returns (uint256);
function redeemLocal(
uint16 _dstChainId,
uint256 _srcPoolId,
uint256 _dstPoolId,
address payable _refundAddress,
uint256 _amountLP,
bytes calldata _to,
lzTxObj memory _lzTxParams
) external payable;
function sendCredits(
uint16 _dstChainId,
uint256 _srcPoolId,
uint256 _dstPoolId,
address payable _refundAddress
) external payable;
function quoteLayerZeroFee(
uint16 _dstChainId,
uint8 _functionType,
bytes calldata _toAddress,
bytes calldata _transferAndCallPayload,
lzTxObj memory _lzTxParams
) external view returns (uint256, uint256);
}// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.7.6;
interface IStargateReceiver {
function sgReceive(
uint16 _chainId,
bytes memory _srcAddress,
uint256 _nonce,
address _token,
uint256 amountLD,
bytes memory payload
) external;
}// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.7.6;
interface IStargateEthVault {
function deposit() external payable;
function transfer(address to, uint value) external returns (bool);
function withdraw(uint) external;
function approve(address guy, uint wad) external returns (bool);
function transferFrom(
address src,
address dst,
uint wad
) external returns (bool);
}// SPDX-License-Identifier: Unlicense /* * @title Solidity Bytes Arrays Utils * @author Gonçalo Sá <[email protected]> * * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity. * The library lets you concatenate, slice and type cast bytes arrays both in memory and storage. */ pragma solidity >=0.7.0 <0.8.0; import "@openzeppelin/contracts/math/SafeMath.sol"; library BytesLib { using SafeMath for uint256; function slice(bytes memory _bytes, uint256 _start, uint256 _length) internal pure returns (bytes memory) { require(_length.add(31) >= _length, "slice_overflow"); require(_bytes.length >= _start.add(_length), "slice_outOfBounds"); bytes memory tempBytes; assembly { switch iszero(_length) case 0 { // Get a location of some free memory and store it in tempBytes as // Solidity does for memory variables. tempBytes := mload(0x40) // The first word of the slice result is potentially a partial // word read from the original array. To read it, we calculate // the length of that partial word and start copying that many // bytes into the array. The first word we copy will start with // data we don't care about, but the last `lengthmod` bytes will // land at the beginning of the contents of the new array. When // we're done copying, we overwrite the full first word with // the actual length of the slice. let lengthmod := and(_length, 31) // The multiplication in the next line is necessary // because when slicing multiples of 32 bytes (lengthmod == 0) // the following copy loop was copying the origin's length // and then ending prematurely not copying everything it should. let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod))) let end := add(mc, _length) for { // The multiplication in the next line has the same exact purpose // as the one above. let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start) } lt(mc, end) { mc := add(mc, 0x20) cc := add(cc, 0x20) } { mstore(mc, mload(cc)) } mstore(tempBytes, _length) //update free-memory pointer //allocating the array padded to 32 bytes like the compiler does now mstore(0x40, and(add(mc, 31), not(31))) } //if we want a zero-length slice let's just return a zero-length array default { tempBytes := mload(0x40) //zero out the 32 bytes slice we are about to return //we need to do it because Solidity does not garbage collect mstore(tempBytes, 0) mstore(0x40, add(tempBytes, 0x20)) } } return tempBytes; } function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) { require(_bytes.length >= _start.add(2), "toUint16_outOfBounds"); uint16 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x2), _start)) } return tempUint; } function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) { require(_bytes.length >= _start.add(32), "toBytes32_outOfBounds"); bytes32 tempBytes32; assembly { tempBytes32 := mload(add(add(_bytes, 0x20), _start)) } return tempBytes32; } function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) { require(_bytes.length >= _start.add(20), "toAddress_outOfBounds"); address tempAddress; assembly { tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000) } return tempAddress; } }
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.7.6;
library SafeCall {
/// @notice calls a contract with a specified gas limit and value and captures the return data
/// @dev copied from https://github.com/nomad-xyz/ExcessivelySafeCall/blob/main/src/ExcessivelySafeCall.sol.
/// @param _target The address to call
/// @param _gas The amount of gas to forward to the remote contract
/// @param _value The value in wei to send to the remote contract
/// @param _maxCopy The maximum number of bytes of returndata to copy
/// to memory.
/// @param _calldata The data to send to the remote contract
/// @return success and returndata, as `.call()`. Returndata is capped to
/// `_maxCopy` bytes.
function safeCall(
address _target,
uint256 _gas,
uint256 _value,
uint16 _maxCopy,
bytes memory _calldata
) internal returns (bool, bytes memory) {
// set up for assembly call
uint256 _toCopy;
bool _success;
bytes memory _returnData = new bytes(_maxCopy);
// dispatch message to recipient
// by assembly calling "handle" function
// we call via assembly to avoid memcopying a very large returndata
// returned by a malicious contract
assembly {
_success := call(
_gas, // gas
_target, // recipient
_value, // ether value
add(_calldata, 0x20), // inloc
mload(_calldata), // inlen
0, // outloc
0 // outlen
)
// limit our copy to 256 bytes
_toCopy := returndatasize()
if gt(_toCopy, _maxCopy) {
_toCopy := _maxCopy
}
// Store the length of the copied bytes
mstore(_returnData, _toCopy)
// copy the bytes from returndata[0:_toCopy]
returndatacopy(add(_returnData, 0x20), 0, _toCopy)
}
return (_success, _returnData);
}
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
},
"metadata": {
"useLiteralContent": true
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_stargateBridge","type":"address"},{"internalType":"address","name":"_stargateRouter","type":"address"},{"internalType":"address","name":"_stargateEthVault","type":"address"},{"internalType":"uint256","name":"_wethPoolId","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"chainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"srcAddress","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"nonce","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"reason","type":"bytes"}],"name":"CachedSwapSaved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"intendedReceiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountLD","type":"uint256"}],"name":"ComposedTokenTransferFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"uint256","name":"_poolId","type":"uint256"},{"internalType":"uint256","name":"_amountLD","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"addLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"addLiquidityETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"bytes","name":"_sgReceiveCallData","type":"bytes"}],"name":"clearCachedSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_poolId","type":"uint256"}],"name":"getPoolInfo","outputs":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"poolAddress","type":"address"},{"internalType":"uint256","name":"convertRate","type":"uint256"}],"internalType":"struct StargateComposer.PoolInfo","name":"poolInfo","type":"tuple"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcPoolId","type":"uint16"},{"internalType":"uint256","name":"_amountLP","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"instantRedeemLocal","outputs":[{"internalType":"uint256","name":"amountSD","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isSending","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"payloadHashes","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"peers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolIdToInfo","outputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"poolAddress","type":"address"},{"internalType":"uint256","name":"convertRate","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_chainId","type":"uint16"},{"internalType":"uint8","name":"_functionType","type":"uint8"},{"internalType":"bytes","name":"_toAddress","type":"bytes"},{"internalType":"bytes","name":"_transferAndCallPayload","type":"bytes"},{"components":[{"internalType":"uint256","name":"dstGasForCall","type":"uint256"},{"internalType":"uint256","name":"dstNativeAmount","type":"uint256"},{"internalType":"bytes","name":"dstNativeAddr","type":"bytes"}],"internalType":"struct IStargateRouter.lzTxObj","name":"_lzTxParams","type":"tuple"}],"name":"quoteLayerZeroFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"recoverToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint256","name":"_srcPoolId","type":"uint256"},{"internalType":"uint256","name":"_dstPoolId","type":"uint256"},{"internalType":"address payable","name":"_refundAddress","type":"address"},{"internalType":"uint256","name":"_amountLP","type":"uint256"},{"internalType":"bytes","name":"_to","type":"bytes"},{"components":[{"internalType":"uint256","name":"dstGasForCall","type":"uint256"},{"internalType":"uint256","name":"dstNativeAmount","type":"uint256"},{"internalType":"bytes","name":"dstNativeAddr","type":"bytes"}],"internalType":"struct IStargateRouter.lzTxObj","name":"_lzTxParams","type":"tuple"}],"name":"redeemLocal","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint256","name":"_srcPoolId","type":"uint256"},{"internalType":"uint256","name":"_dstPoolId","type":"uint256"},{"internalType":"address payable","name":"_refundAddress","type":"address"},{"internalType":"uint256","name":"_amountLP","type":"uint256"},{"internalType":"uint256","name":"_minAmountLD","type":"uint256"},{"internalType":"bytes","name":"_to","type":"bytes"},{"components":[{"internalType":"uint256","name":"dstGasForCall","type":"uint256"},{"internalType":"uint256","name":"dstNativeAmount","type":"uint256"},{"internalType":"bytes","name":"dstNativeAddr","type":"bytes"}],"internalType":"struct IStargateRouter.lzTxObj","name":"_lzTxParams","type":"tuple"}],"name":"redeemRemote","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint256","name":"_srcPoolId","type":"uint256"},{"internalType":"uint256","name":"_dstPoolId","type":"uint256"},{"internalType":"address payable","name":"_refundAddress","type":"address"}],"name":"sendCredits","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_dstGasReserve","type":"uint256"}],"name":"setDstGasReserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_chainId","type":"uint16"},{"internalType":"address","name":"_peer","type":"address"}],"name":"setPeer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_poolId","type":"uint256"},{"internalType":"address","name":"_stargateEthVault","type":"address"}],"name":"setStargateEthVaults","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_transferOverhead","type":"uint256"}],"name":"setTransferOverhead","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wethPoolId","type":"uint256"}],"name":"setWethPoolId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint256","name":"_nonce","type":"uint256"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amountLD","type":"uint256"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"sgReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stargateBridge","outputs":[{"internalType":"contract IStargateBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stargateEthVaults","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stargateRouter","outputs":[{"internalType":"contract IStargateRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint256","name":"_srcPoolId","type":"uint256"},{"internalType":"uint256","name":"_dstPoolId","type":"uint256"},{"internalType":"address payable","name":"_refundAddress","type":"address"},{"internalType":"uint256","name":"_amountLD","type":"uint256"},{"internalType":"uint256","name":"_minAmountLD","type":"uint256"},{"components":[{"internalType":"uint256","name":"dstGasForCall","type":"uint256"},{"internalType":"uint256","name":"dstNativeAmount","type":"uint256"},{"internalType":"bytes","name":"dstNativeAddr","type":"bytes"}],"internalType":"struct IStargateRouter.lzTxObj","name":"_lzTxParams","type":"tuple"},{"internalType":"bytes","name":"_to","type":"bytes"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"swap","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"address payable","name":"_refundAddress","type":"address"},{"internalType":"bytes","name":"_to","type":"bytes"},{"components":[{"internalType":"uint256","name":"amountLD","type":"uint256"},{"internalType":"uint256","name":"minAmountLD","type":"uint256"}],"internalType":"struct StargateComposer.SwapAmount","name":"_swapAmount","type":"tuple"},{"components":[{"internalType":"uint256","name":"dstGasForCall","type":"uint256"},{"internalType":"uint256","name":"dstNativeAmount","type":"uint256"},{"internalType":"bytes","name":"dstNativeAddr","type":"bytes"}],"internalType":"struct IStargateRouter.lzTxObj","name":"_lzTxParams","type":"tuple"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"swapETHAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wethPoolId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]Contract Creation Code
60e0604052619c40600255614e2060035560016004553480156200002257600080fd5b5060405162003f3738038062003f37833981016040819052620000459162000292565b600062000051620001b2565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180556001600160601b0319606085811b821660805284901b1660a0526005819055620000ca8183620001b6565b60408051600481526024810182526020810180516001600160e01b031663c45a015560e01b179052905160009182916001600160a01b038716916200010f91620002eb565b600060405180830381855afa9150503d80600081146200014c576040519150601f19603f3d011682016040523d82523d6000602084013e62000151565b606091505b5091509150816200017f5760405162461bcd60e51b8152600401620001769062000327565b60405180910390fd5b808060200190518101906200019591906200026c565b60601b6001600160601b03191660c0525062000381945050505050565b3390565b620001c0620001b2565b6001600160a01b0316620001d36200025d565b6001600160a01b0316146200022f576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60009182526007602052604090912080546001600160a01b0319166001600160a01b03909216919091179055565b6000546001600160a01b031690565b6000602082840312156200027e578081fd5b81516200028b8162000368565b9392505050565b60008060008060808587031215620002a8578283fd5b8451620002b58162000368565b6020860151909450620002c88162000368565b6040860151909350620002db8162000368565b6060959095015193969295505050565b60008251815b818110156200030d5760208186018101518583015201620002f1565b818111156200031c5782828501525b509190910192915050565b60208082526021908201527f53746172676174653a20696e76616c696420666163746f7279206164647265736040820152607360f81b606082015260800190565b6001600160a01b03811681146200037e57600080fd5b50565b60805160601c60a05160601c60c05160601c613b3062000407600039806115435280611ebd5250806109565280610a435280610b4b5280610c335280610dc35280610ea55280610fec52806110195280611673528061197a5280611a0e5280611bb95280611c505280611f79528061204a52508061058052806118165250613b306000f3fe6080604052600436106101cd5760003560e01c80639ba3aa74116100f7578063c2362d0d11610095578063e0b63dee11610064578063e0b63dee146104f8578063e62268891461050d578063ed99530714610520578063f2fde38b14610528576101cd565b8063c2362d0d14610483578063c45a0155146104a3578063c4de93a5146104b8578063d9eebbaf146104d8576101cd565b8063a765cd12116100d1578063a765cd121461040e578063a9e56f3c1461042e578063ab8236f314610443578063c0e6ac6c14610463576101cd565b80639ba3aa74146103c85780639fbf10fc146103db578063a7229fd9146103ee576101cd565b80634b60b4251161016f57806384d0dba31161013e57806384d0dba31461036d57806387b21efc146103805780638da5cb5b146103a05780638f2e1d18146103b5576101cd565b80634b60b425146102e75780634fe7009114610309578063715018a614610338578063767954dc1461034d576101cd565b80632127fa72116101ab5780632127fa721461024d5780632902aeb01461027a5780632f380b351461029a578063449180a8146102c7576101cd565b80630a512369146101d25780631ce4bb7f14610209578063205cfe9d1461022b575b600080fd5b3480156101de57600080fd5b506101f26101ed366004613129565b610548565b60405161020092919061397c565b60405180910390f35b34801561021557600080fd5b506102296102243660046131e0565b61061f565b005b34801561023757600080fd5b50610240610686565b6040516102009190613445565b34801561025957600080fd5b5061026d6102683660046131e0565b61068c565b60405161020091906133e9565b34801561028657600080fd5b50610240610295366004612d84565b6106a7565b3480156102a657600080fd5b506102ba6102b53660046131e0565b6106db565b60405161020091906136ee565b3480156102d357600080fd5b506102296102e2366004613210565b6106f4565b3480156102f357600080fd5b506102fc610784565b604051610200919061343a565b34801561031557600080fd5b506103296103243660046131e0565b61078d565b604051610200939291906133fd565b34801561034457600080fd5b506102296107bb565b34801561035957600080fd5b506102296103683660046131e0565b610867565b61022961037b366004612f9a565b6108ce565b34801561038c57600080fd5b5061022961039b366004613257565b6109df565b3480156103ac57600080fd5b5061026d610ab4565b6102296103c3366004612ef5565b610ac3565b6102296103d6366004612eae565b610bd1565b6102296103e9366004613049565b610cac565b3480156103fa57600080fd5b50610229610409366004612b2e565b610f54565b34801561041a57600080fd5b5061026d610429366004612b8e565b610fcf565b34801561043a57600080fd5b5061026d610fea565b34801561044f57600080fd5b5061022961045e366004612dd8565b61100e565b34801561046f57600080fd5b5061022961047e366004612cda565b6112c6565b34801561048f57600080fd5b5061022961049e366004612ba8565b611471565b3480156104af57600080fd5b5061026d611541565b3480156104c457600080fd5b506102406104d3366004612e6f565b611565565b3480156104e457600080fd5b506102296104f33660046131e0565b6117ad565b34801561050457600080fd5b5061026d611814565b61022961051b366004612bde565b611838565b610229611abe565b34801561053457600080fd5b50610229610543366004612af6565b611cbd565b600080600061055988888888611dbf565b60035460025486519101018552604051630a51236960e01b81529091506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690630a512369906105bf908d908d908d908d9088908c9060040161392f565b604080518083038186803b1580156105d657600080fd5b505afa1580156105ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060e9190613234565b925092505097509795505050505050565b610627611e30565b6001600160a01b0316610638610ab4565b6001600160a01b031614610681576040805162461bcd60e51b81526020600482018190526024820152600080516020613a7b833981519152604482015290519081900360640190fd5b600255565b60055481565b6007602052600090815260409020546001600160a01b031681565b6008602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b6106e361298e565b6106ec82611e34565b90505b919050565b6106fc611e30565b6001600160a01b031661070d610ab4565b6001600160a01b031614610756576040805162461bcd60e51b81526020600482018190526024820152600080516020613a7b833981519152604482015290519081900360640190fd5b60009182526007602052604090912080546001600160a01b0319166001600160a01b03909216919091179055565b60045460021490565b6009602052600090815260409020805460018201546002909201546001600160a01b03918216929091169083565b6107c3611e30565b6001600160a01b03166107d4610ab4565b6001600160a01b03161461081d576040805162461bcd60e51b81526020600482018190526024820152600080516020613a7b833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b61086f611e30565b6001600160a01b0316610880610ab4565b6001600160a01b0316146108c9576040805162461bcd60e51b81526020600482018190526024820152600080516020613a7b833981519152604482015290519081900360640190fd5b600355565b60026001541415610914576040805162461bcd60e51b815260206004820152601f60248201526000805160206139ee833981519152604482015290519081900360640190fd5b6002600155600061092489611e34565b60200151905061093f6001600160a01b038216333089612151565b6040516384d0dba360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906384d0dba390349061099d908e908e908e908e908e908e908e908e908e90600401613859565b6000604051808303818588803b1580156109b657600080fd5b505af11580156109ca573d6000803e3d6000fd5b50506001805550505050505050505050505050565b60006109ea84611e34565b9050600181604001511115610a15576040810151610a1290610a0c85826121b1565b9061221a565b92505b8051610a2c906001600160a01b0316333086612151565b6040516321ec87bf60e21b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906387b21efc90610a7c9087908790879060040161398a565b600060405180830381600087803b158015610a9657600080fd5b505af1158015610aaa573d6000803e3d6000fd5b5050505050505050565b6000546001600160a01b031690565b60026001541415610b09576040805162461bcd60e51b815260206004820152601f60248201526000805160206139ee833981519152604482015290519081900360640190fd5b60026001556000610b1988611e34565b602001519050610b346001600160a01b038216333088612151565b6040516311e5c3a360e31b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690638f2e1d18903490610b90908d908d908d908d908d908d908d908d906004016137fa565b6000604051808303818588803b158015610ba957600080fd5b505af1158015610bbd573d6000803e3d6000fd5b505060018055505050505050505050505050565b60026001541415610c17576040805162461bcd60e51b815260206004820152601f60248201526000805160206139ee833981519152604482015290519081900360640190fd5b60026001556040516326e8ea9d60e21b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690639ba3aa74903490610c709088908890889088906004016137d0565b6000604051808303818588803b158015610c8957600080fd5b505af1158015610c9d573d6000803e3d6000fd5b50506001805550505050505050565b60026004541415610cd85760405162461bcd60e51b8152600401610ccf90613680565b60405180910390fd5b60026004556000610ceb85858585611dbf565b90506000610cf88d61227a565b9050610d038c6122df565b15610e4557883411610d275760405162461bcd60e51b8152600401610ccf9061362e565b60008c815260076020526040808220548151630d0e30db60e41b815291516001600160a01b039091169263d0e30db0928d926004808301939282900301818588803b158015610d7557600080fd5b505af1158015610d89573d6000803e3d6000fd5b50505060008e8152600760205260409081902054905163095ea7b360e01b81526001600160a01b03909116925063095ea7b39150610ded907f0000000000000000000000000000000000000000000000000000000000000000908d90600401613421565b602060405180830381600087803b158015610e0757600080fd5b505af1158015610e1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3f9190612b6e565b50610e8e565b6000610e508d611e34565b9050600181604001511115610e75576040810151610e7290610a0c8c826121b1565b99505b8051610e8c906001600160a01b031633308d612151565b505b600354600254885191010187526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016639fbf10fc610ed38e6122df565b610edd5734610ee1565b8a34035b8f8f8f8f8f8f8f8a8c6040518b63ffffffff1660e01b8152600401610f0e999897969594939291906138c2565b6000604051808303818588803b158015610f2757600080fd5b505af1158015610f3b573d6000803e3d6000fd5b5050600160045550505050505050505050505050505050565b610f5c611e30565b6001600160a01b0316610f6d610ab4565b6001600160a01b031614610fb6576040805162461bcd60e51b81526020600482018190526024820152600080516020613a7b833981519152604482015290519081900360640190fd5b610fca6001600160a01b03841683836122fc565b505050565b6006602052600090815260409020546001600160a01b031681565b7f000000000000000000000000000000000000000000000000000000000000000081565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146110565760405162461bcd60e51b8152600401610ccf906135c8565b6028815111611064576112be565b6000611070828261234e565b60405163a9059cbb60e01b81529091506001600160a01b0385169063a9059cbb906110a19084908790600401613421565b602060405180830381600087803b1580156110bb57600080fd5b505af19250505080156110eb575060408051601f3d908101601f191682019092526110e891810190612b6e565b60015b61112f577fedf70e267c659b0af90f1e8a3c6aa7db09032c676b46b0a4de8d328f73448cef848285604051611122939291906133fd565b60405180910390a16112bc565b50611142816001600160a01b03166123b8565b61114c57506112be565b600063ab8236f360e01b8861116285601461234e565b6040516020016111729190613303565b60405160208183030381529060405288888861119d6028808b51038b6123be9092919063ffffffff16565b6040516024016111b29695949392919061371d565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050905060006002545a03905060008061120a6001600160a01b03861684836096886124d5565b91509150816112b757848460405160200161122692919061334c565b60408051601f19818403018152828252805160209182012061ffff8f1660009081526008909252919020909161125d908d906133cd565b90815260408051918290036020908101832060008e8152915220919091557f52ee826ce7905614ca74aedf19f7404f1220cd5ee254406a4586eb034a611949906112ae908d908d908d908690613776565b60405180910390a15b505050505b505b505050505050565b6002600154141561130c576040805162461bcd60e51b815260206004820152601f60248201526000805160206139ee833981519152604482015290519081900360640190fd5b600260015560405160009061132990859085908590602001613320565b60408051601f19818403018152828252805160209182012061ffff8c16600090815260089092529190209092508291611365908a908a90613384565b90815260200160405180910390206000876001600160401b0316815260200190815260200160002054146113ab5760405162461bcd60e51b8152600401610ccf90613485565b61ffff88166000908152600860205260409081902090516113cf9089908990613384565b90815260200160405180910390206000866001600160401b03168152602001908152602001600020600090556000806114505a6000609688888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506001600160a01b038d16959493929150506124d5565b915091508161146157805181602001fd5b5050600180555050505050505050565b611479611e30565b6001600160a01b031661148a610ab4565b6001600160a01b0316146114d3576040805162461bcd60e51b81526020600482018190526024820152600080516020613a7b833981519152604482015290519081900360640190fd5b61ffff82166000908152600660205260409020546001600160a01b03161561150d5760405162461bcd60e51b8152600401610ccf9061344e565b61ffff91909116600090815260066020526040902080546001600160a01b0319166001600160a01b03909216919091179055565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600260015414156115ad576040805162461bcd60e51b815260206004820152601f60248201526000805160206139ee833981519152604482015290519081900360640190fd5b600260015560006115c161ffff8616611e34565b6020015190506000816001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016115f591906133e9565b60206040518083038186803b15801561160d57600080fd5b505afa158015611621573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061164591906131f8565b905061165c6001600160a01b038316333088612151565b60405163c4de93a560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c4de93a5906116ac908990899089906004016137ab565b602060405180830381600087803b1580156116c657600080fd5b505af11580156116da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116fe91906131f8565b92506000826001600160a01b03166370a08231306040518263ffffffff1660e01b815260040161172e91906133e9565b60206040518083038186803b15801561174657600080fd5b505afa15801561175a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061177e91906131f8565b9050818103801561179d5761179d6001600160a01b03851633836122fc565b5050600180555090949350505050565b6117b5611e30565b6001600160a01b03166117c6610ab4565b6001600160a01b03161461180f576040805162461bcd60e51b81526020600482018190526024820152600080516020613a7b833981519152604482015290519081900360640190fd5b600555565b7f000000000000000000000000000000000000000000000000000000000000000081565b6002600454141561185b5760405162461bcd60e51b8152600401610ccf90613680565b6002600455600061186e87878585611dbf565b9050600061187b8a61227a565b8651909150341161189e5760405162461bcd60e51b8152600401610ccf9061362e565b6005546000908152600760205260409020546001600160a01b03166118d55760405162461bcd60e51b8152600401610ccf906136b7565b6005546000908152600760205260408082205488518251630d0e30db60e41b815292516001600160a01b039092169363d0e30db093919260048084019382900301818588803b15801561192757600080fd5b505af115801561193b573d6000803e3d6000fd5b505060055460009081526007602052604090819020548a51915163095ea7b360e01b81526001600160a01b03909116945063095ea7b393506119a392507f00000000000000000000000000000000000000000000000000000000000000009190600401613421565b602060405180830381600087803b1580156119bd57600080fd5b505af11580156119d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f59190612b6e565b50600354600254018560000181815101915081815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639fbf10fc876000015134038c6005546005548e8c600001518d602001518d8a8c6040518b63ffffffff1660e01b8152600401611a7b999897969594939291906138c2565b6000604051808303818588803b158015611a9457600080fd5b505af1158015611aa8573d6000803e3d6000fd5b5050600160045550505050505050505050505050565b60003411611ade5760405162461bcd60e51b8152600401610ccf9061355a565b60055460009081526007602052604090205434906001600160a01b0316611b175760405162461bcd60e51b8152600401610ccf906136b7565b600554600090815260076020526040808220548151630d0e30db60e41b815291516001600160a01b039091169263d0e30db09285926004808301939282900301818588803b158015611b6857600080fd5b505af1158015611b7c573d6000803e3d6000fd5b50506005546000908152600760205260409081902054905163095ea7b360e01b81526001600160a01b03909116935063095ea7b39250611be391507f0000000000000000000000000000000000000000000000000000000000000000908590600401613421565b602060405180830381600087803b158015611bfd57600080fd5b505af1158015611c11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c359190612b6e565b506005546040516321ec87bf60e21b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916387b21efc91611c8891908590339060040161398a565b600060405180830381600087803b158015611ca257600080fd5b505af1158015611cb6573d6000803e3d6000fd5b5050505050565b611cc5611e30565b6001600160a01b0316611cd6610ab4565b6001600160a01b031614611d1f576040805162461bcd60e51b81526020600482018190526024820152600080516020613a7b833981519152604482015290519081900360640190fd5b6001600160a01b038116611d645760405162461bcd60e51b8152600401808060200182810382526026815260200180613a0e6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b606060148414611de15760405162461bcd60e51b8152600401610ccf906134b5565b81611dfe5760405162461bcd60e51b8152600401610ccf906135f7565b8484338585604051602001611e17959493929190613394565b6040516020818303038152906040529050949350505050565b3390565b611e3c61298e565b6000828152600960205260409020600101546001600160a01b031615611ea35750600081815260096020908152604091829020825160608101845281546001600160a01b0390811682526001830154169281019290925260020154918101919091526106ef565b60405163068bcd8d60e01b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063068bcd8d90611ef2908690600401613445565b60206040518083038186803b158015611f0a57600080fd5b505afa158015611f1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f429190612b12565b90506001600160a01b038116611f6a5760405162461bcd60e51b8152600401610ccf90613523565b611fa06001600160a01b0382167f000000000000000000000000000000000000000000000000000000000000000060001961255e565b6000816001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b158015611fdb57600080fd5b505afa158015611fef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120139190612b12565b90506001600160a01b03811661203b5760405162461bcd60e51b8152600401610ccf90613591565b6120716001600160a01b0382167f000000000000000000000000000000000000000000000000000000000000000060001961255e565b6000826001600160a01b031663feb56b156040518163ffffffff1660e01b815260040160206040518083038186803b1580156120ac57600080fd5b505afa1580156120c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120e491906131f8565b604080516060810182526001600160a01b03948516815294841660208087019182528683019384526000988952600990529620845181549085166001600160a01b031991821617825596516001820180549190951697169690961790925550516002909301929092555090565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526121ab90859061266d565b50505050565b6000808211612207576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161221057fe5b0490505b92915050565b60008261222957506000612214565b8282028284828161223657fe5b04146122735760405162461bcd60e51b8152600401808060200182810382526021815260200180613a5a6021913960400191505060405180910390fd5b9392505050565b61ffff81166000908152600660205260409020546060906001600160a01b0316806122b75760405162461bcd60e51b8152600401610ccf906134ec565b806040516020016122c89190613303565b604051602081830303815290604052915050919050565b6000908152600760205260409020546001600160a01b0316151590565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610fca90849061266d565b600061235b82601461271e565b835110156123a8576040805162461bcd60e51b8152602060048201526015602482015274746f416464726573735f6f75744f66426f756e647360581b604482015290519081900360640190fd5b500160200151600160601b900490565b3b151590565b6060816123cc81601f61271e565b1015612410576040805162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b604482015290519081900360640190fd5b61241a838361271e565b84511015612463576040805162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b604482015290519081900360640190fd5b60608215801561248257604051915060008252602082016040526124cc565b6040519150601f8416801560200281840101858101878315602002848b0101015b818310156124bb5780518352602092830192016124a3565b5050858452601f01601f1916604052505b50949350505050565b6000606060008060008661ffff166001600160401b03811180156124f857600080fd5b506040519080825280601f01601f191660200182016040528015612523576020820181803683370190505b5090506000808751602089018b8e8ef191503d925086831115612544578692505b828152826000602083013e90999098509650505050505050565b8015806125e4575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156125b657600080fd5b505afa1580156125ca573d6000803e3d6000fd5b505050506040513d60208110156125e057600080fd5b5051155b61261f5760405162461bcd60e51b8152600401808060200182810382526036815260200180613ac56036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610fca9084905b60006126c2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166127789092919063ffffffff16565b805190915015610fca578080602001905160208110156126e157600080fd5b5051610fca5760405162461bcd60e51b815260040180806020018281038252602a815260200180613a9b602a913960400191505060405180910390fd5b600082820183811015612273576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6060612787848460008561278f565b949350505050565b6060824710156127d05760405162461bcd60e51b8152600401808060200182810382526026815260200180613a346026913960400191505060405180910390fd5b6127d9856123b8565b61282a576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b602083106128685780518252601f199092019160209182019101612849565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146128ca576040519150601f19603f3d011682016040523d82523d6000602084013e6128cf565b606091505b50915091506128df8282866128ea565b979650505050505050565b606083156128f9575081612273565b8251156129095782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561295357818101518382015260200161293b565b50505050905090810190601f1680156129805780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b604080516060810182526000808252602082018190529181019190915290565b80356106ef816139d5565b60008083601f8401126129ca578182fd5b5081356001600160401b038111156129e0578182fd5b6020830191508360208285010111156129f857600080fd5b9250929050565b600082601f830112612a0f578081fd5b81356001600160401b0380821115612a2357fe5b604051601f8301601f191681016020018281118282101715612a4157fe5b604052828152848301602001861015612a58578384fd5b82602086016020830137918201602001929092529392505050565b600060608284031215612a84578081fd5b604051606081016001600160401b038282108183111715612aa157fe5b8160405282935084358352602085013560208401526040850135915080821115612aca57600080fd5b50612ad7858286016129ff565b6040830152505092915050565b803561ffff811681146106ef57600080fd5b600060208284031215612b07578081fd5b8135612273816139d5565b600060208284031215612b23578081fd5b8151612273816139d5565b600080600060608486031215612b42578182fd5b8335612b4d816139d5565b92506020840135612b5d816139d5565b929592945050506040919091013590565b600060208284031215612b7f578081fd5b81518015158114612273578182fd5b600060208284031215612b9f578081fd5b61227382612ae4565b60008060408385031215612bba578182fd5b612bc383612ae4565b91506020830135612bd3816139d5565b809150509250929050565b600080600080600080600080888a0360e0811215612bfa578485fd5b612c038a612ae4565b985060208a0135612c13816139d5565b975060408a01356001600160401b0380821115612c2e578687fd5b612c3a8d838e016129b9565b90995097508791506040605f1984011215612c53578687fd5b60405192506040830191508282108183111715612c6c57fe5b8160405260608c0135835260808c0135602084015282965060a08c0135925080831115612c97578586fd5b612ca38d848e01612a73565b955060c08c0135925080831115612cb8578485fd5b5050612cc68b828c016129b9565b999c989b5096995094979396929594505050565b600080600080600080600060a0888a031215612cf4578283fd5b612cfd88612ae4565b965060208801356001600160401b0380821115612d18578485fd5b612d248b838c016129b9565b909850965060408a013591508082168214612d3d578485fd5b909450606089013590612d4f826139d5565b90935060808901359080821115612d64578384fd5b50612d718a828b016129b9565b989b979a50959850939692959293505050565b600080600060608486031215612d98578283fd5b612da184612ae4565b925060208401356001600160401b03811115612dbb578283fd5b612dc7868287016129ff565b925050604084013590509250925092565b60008060008060008060c08789031215612df0578384fd5b612df987612ae4565b955060208701356001600160401b0380821115612e14578586fd5b612e208a838b016129ff565b96506040890135955060608901359150612e39826139d5565b9093506080880135925060a08801359080821115612e55578283fd5b50612e6289828a016129ff565b9150509295509295509295565b600080600060608486031215612e83578081fd5b612e8c84612ae4565b9250602084013591506040840135612ea3816139d5565b809150509250925092565b60008060008060808587031215612ec3578182fd5b612ecc85612ae4565b935060208501359250604085013591506060850135612eea816139d5565b939692955090935050565b60008060008060008060008060e0898b031215612f10578182fd5b612f1989612ae4565b975060208901359650604089013595506060890135612f37816139d5565b94506080890135935060a08901356001600160401b0380821115612f59578384fd5b612f658c838d016129b9565b909550935060c08b0135915080821115612f7d578283fd5b50612f8a8b828c01612a73565b9150509295985092959890939650565b60008060008060008060008060006101008a8c031215612fb8578283fd5b612fc18a612ae4565b985060208a0135975060408a0135965060608a0135612fdf816139d5565b955060808a0135945060a08a0135935060c08a01356001600160401b0380821115613008578485fd5b6130148d838e016129b9565b909550935060e08c013591508082111561302c578283fd5b506130398c828d01612a73565b9150509295985092959850929598565b60008060008060008060008060008060006101208c8e03121561306a578485fd5b6130738c612ae4565b9a5060208c0135995060408c0135985061308f60608d016129ae565b975060808c0135965060a08c013595506001600160401b038060c08e013511156130b7578586fd5b6130c78e60c08f01358f01612a73565b95508060e08e013511156130d9578283fd5b6130e98e60e08f01358f016129b9565b90955093506101008d01358110156130ff578283fd5b506131118d6101008e01358e016129b9565b81935080925050509295989b509295989b9093969950565b600080600080600080600060a0888a031215613143578081fd5b61314c88612ae4565b9650602088013560ff81168114613161578182fd5b955060408801356001600160401b038082111561317c578283fd5b6131888b838c016129b9565b909750955060608a01359150808211156131a0578283fd5b6131ac8b838c016129b9565b909550935060808a01359150808211156131c4578283fd5b506131d18a828b01612a73565b91505092959891949750929550565b6000602082840312156131f1578081fd5b5035919050565b600060208284031215613209578081fd5b5051919050565b60008060408385031215613222578182fd5b823591506020830135612bd3816139d5565b60008060408385031215613246578182fd5b505080516020909101519092909150565b60008060006060848603121561326b578081fd5b83359250602084013591506040840135612ea3816139d5565b60008284528282602086013780602084860101526020601f19601f85011685010190509392505050565b600081518084526132c68160208601602086016139a9565b601f01601f19169290920160200192915050565b6000815183526020820151602084015260408201516060604085015261278760608501826132ae565b60609190911b6bffffffffffffffffffffffff1916815260140190565b60006bffffffffffffffffffffffff198560601b16825282846014840137910160140190815292915050565b60006bffffffffffffffffffffffff198460601b16825282516133768160148501602087016139a9565b919091016014019392505050565b6000828483379101908152919050565b600085878337606085901b6bffffffffffffffffffffffff19168287019081528385601483013790920160140191825250949350505050565b600082516133df8184602087016139a9565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b6020808252601a908201527f53746172676174653a207065657220616c726561647920736574000000000000604082015260600190565b6020808252601690820152750a6e8c2e4cec2e8ca7440d2dcecc2d8d2c840d0c2e6d60531b604082015260600190565b6020808252601c908201527f53746172676174653a20696e76616c696420746f206164647265737300000000604082015260600190565b60208082526018908201527f53746172676174653a2070656572206e6f7420666f756e640000000000000000604082015260600190565b6020808252601d908201527f53746172676174653a20706f6f6c20646f6573206e6f74206578697374000000604082015260600190565b60208082526018908201527f53746172676174653a206d73672e76616c756520697320300000000000000000604082015260600190565b6020808252601e908201527f53746172676174653a20746f6b656e20646f6573206e6f742065786973740000604082015260600190565b60208082526015908201527429ba30b933b0ba329d1037b7363c903937baba32b960591b604082015260600190565b6020808252601a908201527f53746172676174653a207061796c6f616420697320656d707479000000000000604082015260600190565b60208082526032908201527f53746172676174653a206d73672e76616c7565206d757374206265203e205f736040820152711dd85c105b5bdd5b9d0b985b5bdd5b9d131160721b606082015260800190565b60208082526018908201527f53746172676174653a207265656e7472616e742063616c6c0000000000000000604082015260600190565b6020808252601d908201527f53746172676174653a20506f6f6c20646f6573206e6f74206578697374000000604082015260600190565b81516001600160a01b039081168252602080840151909116908201526040918201519181019190915260600190565b600061ffff8816825260c0602083015261373a60c08301886132ae565b604083018790526001600160a01b03861660608401526080830185905282810360a084015261376981856132ae565b9998505050505050505050565b600061ffff861682526080602083015261379360808301866132ae565b84604084015282810360608401526128df81856132ae565b61ffff93909316835260208301919091526001600160a01b0316604082015260600190565b61ffff949094168452602084019290925260408301526001600160a01b0316606082015260800190565b600061ffff8a16825288602083015287604083015260018060a01b038716606083015285608083015260e060a083015261383860e083018587613284565b82810360c084015261384a81856132da565b9b9a5050505050505050505050565b600061010061ffff8c1683528a602084015289604084015260018060a01b03891660608401528760808401528660a08401528060c084015261389e8184018688613284565b905082810360e08401526138b281856132da565b9c9b505050505050505050505050565b600061012061ffff8c1683528a602084015289604084015260018060a01b03891660608401528760808401528660a08401528060c0840152613906818401876132da565b905082810360e084015261391a81866132ae565b90508281036101008401526138b281856132ae565b600061ffff8816825260ff8716602083015260a0604083015261395660a083018688613284565b828103606084015261396881866132ae565b9050828103608084015261376981856132da565b918252602082015260400190565b92835260208301919091526001600160a01b0316604082015260600190565b60005b838110156139c45781810151838201526020016139ac565b838111156121ab5750506000910152565b6001600160a01b03811681146139ea57600080fd5b5056fe5265656e7472616e637947756172643a207265656e7472616e742063616c6c004f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a264697066735822122086575e2083f629297ba6b88471211b137437785396b61a37634b6f22f529bd1864736f6c63430007060033000000000000000000000000296f55f8fb28e498b858d0bcda06d955b2cb3f970000000000000000000000008731d54e9d02c286767d56ac03e8037c07e01e9800000000000000000000000072e2f4830b9e45d52f80ac08cb2bec0fef72ed9c000000000000000000000000000000000000000000000000000000000000000d
Deployed Bytecode
0x6080604052600436106101cd5760003560e01c80639ba3aa74116100f7578063c2362d0d11610095578063e0b63dee11610064578063e0b63dee146104f8578063e62268891461050d578063ed99530714610520578063f2fde38b14610528576101cd565b8063c2362d0d14610483578063c45a0155146104a3578063c4de93a5146104b8578063d9eebbaf146104d8576101cd565b8063a765cd12116100d1578063a765cd121461040e578063a9e56f3c1461042e578063ab8236f314610443578063c0e6ac6c14610463576101cd565b80639ba3aa74146103c85780639fbf10fc146103db578063a7229fd9146103ee576101cd565b80634b60b4251161016f57806384d0dba31161013e57806384d0dba31461036d57806387b21efc146103805780638da5cb5b146103a05780638f2e1d18146103b5576101cd565b80634b60b425146102e75780634fe7009114610309578063715018a614610338578063767954dc1461034d576101cd565b80632127fa72116101ab5780632127fa721461024d5780632902aeb01461027a5780632f380b351461029a578063449180a8146102c7576101cd565b80630a512369146101d25780631ce4bb7f14610209578063205cfe9d1461022b575b600080fd5b3480156101de57600080fd5b506101f26101ed366004613129565b610548565b60405161020092919061397c565b60405180910390f35b34801561021557600080fd5b506102296102243660046131e0565b61061f565b005b34801561023757600080fd5b50610240610686565b6040516102009190613445565b34801561025957600080fd5b5061026d6102683660046131e0565b61068c565b60405161020091906133e9565b34801561028657600080fd5b50610240610295366004612d84565b6106a7565b3480156102a657600080fd5b506102ba6102b53660046131e0565b6106db565b60405161020091906136ee565b3480156102d357600080fd5b506102296102e2366004613210565b6106f4565b3480156102f357600080fd5b506102fc610784565b604051610200919061343a565b34801561031557600080fd5b506103296103243660046131e0565b61078d565b604051610200939291906133fd565b34801561034457600080fd5b506102296107bb565b34801561035957600080fd5b506102296103683660046131e0565b610867565b61022961037b366004612f9a565b6108ce565b34801561038c57600080fd5b5061022961039b366004613257565b6109df565b3480156103ac57600080fd5b5061026d610ab4565b6102296103c3366004612ef5565b610ac3565b6102296103d6366004612eae565b610bd1565b6102296103e9366004613049565b610cac565b3480156103fa57600080fd5b50610229610409366004612b2e565b610f54565b34801561041a57600080fd5b5061026d610429366004612b8e565b610fcf565b34801561043a57600080fd5b5061026d610fea565b34801561044f57600080fd5b5061022961045e366004612dd8565b61100e565b34801561046f57600080fd5b5061022961047e366004612cda565b6112c6565b34801561048f57600080fd5b5061022961049e366004612ba8565b611471565b3480156104af57600080fd5b5061026d611541565b3480156104c457600080fd5b506102406104d3366004612e6f565b611565565b3480156104e457600080fd5b506102296104f33660046131e0565b6117ad565b34801561050457600080fd5b5061026d611814565b61022961051b366004612bde565b611838565b610229611abe565b34801561053457600080fd5b50610229610543366004612af6565b611cbd565b600080600061055988888888611dbf565b60035460025486519101018552604051630a51236960e01b81529091506001600160a01b037f000000000000000000000000296f55f8fb28e498b858d0bcda06d955b2cb3f971690630a512369906105bf908d908d908d908d9088908c9060040161392f565b604080518083038186803b1580156105d657600080fd5b505afa1580156105ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060e9190613234565b925092505097509795505050505050565b610627611e30565b6001600160a01b0316610638610ab4565b6001600160a01b031614610681576040805162461bcd60e51b81526020600482018190526024820152600080516020613a7b833981519152604482015290519081900360640190fd5b600255565b60055481565b6007602052600090815260409020546001600160a01b031681565b6008602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b6106e361298e565b6106ec82611e34565b90505b919050565b6106fc611e30565b6001600160a01b031661070d610ab4565b6001600160a01b031614610756576040805162461bcd60e51b81526020600482018190526024820152600080516020613a7b833981519152604482015290519081900360640190fd5b60009182526007602052604090912080546001600160a01b0319166001600160a01b03909216919091179055565b60045460021490565b6009602052600090815260409020805460018201546002909201546001600160a01b03918216929091169083565b6107c3611e30565b6001600160a01b03166107d4610ab4565b6001600160a01b03161461081d576040805162461bcd60e51b81526020600482018190526024820152600080516020613a7b833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b61086f611e30565b6001600160a01b0316610880610ab4565b6001600160a01b0316146108c9576040805162461bcd60e51b81526020600482018190526024820152600080516020613a7b833981519152604482015290519081900360640190fd5b600355565b60026001541415610914576040805162461bcd60e51b815260206004820152601f60248201526000805160206139ee833981519152604482015290519081900360640190fd5b6002600155600061092489611e34565b60200151905061093f6001600160a01b038216333089612151565b6040516384d0dba360e01b81526001600160a01b037f0000000000000000000000008731d54e9d02c286767d56ac03e8037c07e01e9816906384d0dba390349061099d908e908e908e908e908e908e908e908e908e90600401613859565b6000604051808303818588803b1580156109b657600080fd5b505af11580156109ca573d6000803e3d6000fd5b50506001805550505050505050505050505050565b60006109ea84611e34565b9050600181604001511115610a15576040810151610a1290610a0c85826121b1565b9061221a565b92505b8051610a2c906001600160a01b0316333086612151565b6040516321ec87bf60e21b81526001600160a01b037f0000000000000000000000008731d54e9d02c286767d56ac03e8037c07e01e9816906387b21efc90610a7c9087908790879060040161398a565b600060405180830381600087803b158015610a9657600080fd5b505af1158015610aaa573d6000803e3d6000fd5b5050505050505050565b6000546001600160a01b031690565b60026001541415610b09576040805162461bcd60e51b815260206004820152601f60248201526000805160206139ee833981519152604482015290519081900360640190fd5b60026001556000610b1988611e34565b602001519050610b346001600160a01b038216333088612151565b6040516311e5c3a360e31b81526001600160a01b037f0000000000000000000000008731d54e9d02c286767d56ac03e8037c07e01e981690638f2e1d18903490610b90908d908d908d908d908d908d908d908d906004016137fa565b6000604051808303818588803b158015610ba957600080fd5b505af1158015610bbd573d6000803e3d6000fd5b505060018055505050505050505050505050565b60026001541415610c17576040805162461bcd60e51b815260206004820152601f60248201526000805160206139ee833981519152604482015290519081900360640190fd5b60026001556040516326e8ea9d60e21b81526001600160a01b037f0000000000000000000000008731d54e9d02c286767d56ac03e8037c07e01e981690639ba3aa74903490610c709088908890889088906004016137d0565b6000604051808303818588803b158015610c8957600080fd5b505af1158015610c9d573d6000803e3d6000fd5b50506001805550505050505050565b60026004541415610cd85760405162461bcd60e51b8152600401610ccf90613680565b60405180910390fd5b60026004556000610ceb85858585611dbf565b90506000610cf88d61227a565b9050610d038c6122df565b15610e4557883411610d275760405162461bcd60e51b8152600401610ccf9061362e565b60008c815260076020526040808220548151630d0e30db60e41b815291516001600160a01b039091169263d0e30db0928d926004808301939282900301818588803b158015610d7557600080fd5b505af1158015610d89573d6000803e3d6000fd5b50505060008e8152600760205260409081902054905163095ea7b360e01b81526001600160a01b03909116925063095ea7b39150610ded907f0000000000000000000000008731d54e9d02c286767d56ac03e8037c07e01e98908d90600401613421565b602060405180830381600087803b158015610e0757600080fd5b505af1158015610e1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3f9190612b6e565b50610e8e565b6000610e508d611e34565b9050600181604001511115610e75576040810151610e7290610a0c8c826121b1565b99505b8051610e8c906001600160a01b031633308d612151565b505b600354600254885191010187526001600160a01b037f0000000000000000000000008731d54e9d02c286767d56ac03e8037c07e01e9816639fbf10fc610ed38e6122df565b610edd5734610ee1565b8a34035b8f8f8f8f8f8f8f8a8c6040518b63ffffffff1660e01b8152600401610f0e999897969594939291906138c2565b6000604051808303818588803b158015610f2757600080fd5b505af1158015610f3b573d6000803e3d6000fd5b5050600160045550505050505050505050505050505050565b610f5c611e30565b6001600160a01b0316610f6d610ab4565b6001600160a01b031614610fb6576040805162461bcd60e51b81526020600482018190526024820152600080516020613a7b833981519152604482015290519081900360640190fd5b610fca6001600160a01b03841683836122fc565b505050565b6006602052600090815260409020546001600160a01b031681565b7f0000000000000000000000008731d54e9d02c286767d56ac03e8037c07e01e9881565b336001600160a01b037f0000000000000000000000008731d54e9d02c286767d56ac03e8037c07e01e9816146110565760405162461bcd60e51b8152600401610ccf906135c8565b6028815111611064576112be565b6000611070828261234e565b60405163a9059cbb60e01b81529091506001600160a01b0385169063a9059cbb906110a19084908790600401613421565b602060405180830381600087803b1580156110bb57600080fd5b505af19250505080156110eb575060408051601f3d908101601f191682019092526110e891810190612b6e565b60015b61112f577fedf70e267c659b0af90f1e8a3c6aa7db09032c676b46b0a4de8d328f73448cef848285604051611122939291906133fd565b60405180910390a16112bc565b50611142816001600160a01b03166123b8565b61114c57506112be565b600063ab8236f360e01b8861116285601461234e565b6040516020016111729190613303565b60405160208183030381529060405288888861119d6028808b51038b6123be9092919063ffffffff16565b6040516024016111b29695949392919061371d565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050905060006002545a03905060008061120a6001600160a01b03861684836096886124d5565b91509150816112b757848460405160200161122692919061334c565b60408051601f19818403018152828252805160209182012061ffff8f1660009081526008909252919020909161125d908d906133cd565b90815260408051918290036020908101832060008e8152915220919091557f52ee826ce7905614ca74aedf19f7404f1220cd5ee254406a4586eb034a611949906112ae908d908d908d908690613776565b60405180910390a15b505050505b505b505050505050565b6002600154141561130c576040805162461bcd60e51b815260206004820152601f60248201526000805160206139ee833981519152604482015290519081900360640190fd5b600260015560405160009061132990859085908590602001613320565b60408051601f19818403018152828252805160209182012061ffff8c16600090815260089092529190209092508291611365908a908a90613384565b90815260200160405180910390206000876001600160401b0316815260200190815260200160002054146113ab5760405162461bcd60e51b8152600401610ccf90613485565b61ffff88166000908152600860205260409081902090516113cf9089908990613384565b90815260200160405180910390206000866001600160401b03168152602001908152602001600020600090556000806114505a6000609688888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506001600160a01b038d16959493929150506124d5565b915091508161146157805181602001fd5b5050600180555050505050505050565b611479611e30565b6001600160a01b031661148a610ab4565b6001600160a01b0316146114d3576040805162461bcd60e51b81526020600482018190526024820152600080516020613a7b833981519152604482015290519081900360640190fd5b61ffff82166000908152600660205260409020546001600160a01b03161561150d5760405162461bcd60e51b8152600401610ccf9061344e565b61ffff91909116600090815260066020526040902080546001600160a01b0319166001600160a01b03909216919091179055565b7f00000000000000000000000006d538690af257da524f25d0cd52fd85b1c2173e81565b6000600260015414156115ad576040805162461bcd60e51b815260206004820152601f60248201526000805160206139ee833981519152604482015290519081900360640190fd5b600260015560006115c161ffff8616611e34565b6020015190506000816001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016115f591906133e9565b60206040518083038186803b15801561160d57600080fd5b505afa158015611621573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061164591906131f8565b905061165c6001600160a01b038316333088612151565b60405163c4de93a560e01b81526001600160a01b037f0000000000000000000000008731d54e9d02c286767d56ac03e8037c07e01e98169063c4de93a5906116ac908990899089906004016137ab565b602060405180830381600087803b1580156116c657600080fd5b505af11580156116da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116fe91906131f8565b92506000826001600160a01b03166370a08231306040518263ffffffff1660e01b815260040161172e91906133e9565b60206040518083038186803b15801561174657600080fd5b505afa15801561175a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061177e91906131f8565b9050818103801561179d5761179d6001600160a01b03851633836122fc565b5050600180555090949350505050565b6117b5611e30565b6001600160a01b03166117c6610ab4565b6001600160a01b03161461180f576040805162461bcd60e51b81526020600482018190526024820152600080516020613a7b833981519152604482015290519081900360640190fd5b600555565b7f000000000000000000000000296f55f8fb28e498b858d0bcda06d955b2cb3f9781565b6002600454141561185b5760405162461bcd60e51b8152600401610ccf90613680565b6002600455600061186e87878585611dbf565b9050600061187b8a61227a565b8651909150341161189e5760405162461bcd60e51b8152600401610ccf9061362e565b6005546000908152600760205260409020546001600160a01b03166118d55760405162461bcd60e51b8152600401610ccf906136b7565b6005546000908152600760205260408082205488518251630d0e30db60e41b815292516001600160a01b039092169363d0e30db093919260048084019382900301818588803b15801561192757600080fd5b505af115801561193b573d6000803e3d6000fd5b505060055460009081526007602052604090819020548a51915163095ea7b360e01b81526001600160a01b03909116945063095ea7b393506119a392507f0000000000000000000000008731d54e9d02c286767d56ac03e8037c07e01e989190600401613421565b602060405180830381600087803b1580156119bd57600080fd5b505af11580156119d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f59190612b6e565b50600354600254018560000181815101915081815250507f0000000000000000000000008731d54e9d02c286767d56ac03e8037c07e01e986001600160a01b0316639fbf10fc876000015134038c6005546005548e8c600001518d602001518d8a8c6040518b63ffffffff1660e01b8152600401611a7b999897969594939291906138c2565b6000604051808303818588803b158015611a9457600080fd5b505af1158015611aa8573d6000803e3d6000fd5b5050600160045550505050505050505050505050565b60003411611ade5760405162461bcd60e51b8152600401610ccf9061355a565b60055460009081526007602052604090205434906001600160a01b0316611b175760405162461bcd60e51b8152600401610ccf906136b7565b600554600090815260076020526040808220548151630d0e30db60e41b815291516001600160a01b039091169263d0e30db09285926004808301939282900301818588803b158015611b6857600080fd5b505af1158015611b7c573d6000803e3d6000fd5b50506005546000908152600760205260409081902054905163095ea7b360e01b81526001600160a01b03909116935063095ea7b39250611be391507f0000000000000000000000008731d54e9d02c286767d56ac03e8037c07e01e98908590600401613421565b602060405180830381600087803b158015611bfd57600080fd5b505af1158015611c11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c359190612b6e565b506005546040516321ec87bf60e21b81526001600160a01b037f0000000000000000000000008731d54e9d02c286767d56ac03e8037c07e01e9816916387b21efc91611c8891908590339060040161398a565b600060405180830381600087803b158015611ca257600080fd5b505af1158015611cb6573d6000803e3d6000fd5b5050505050565b611cc5611e30565b6001600160a01b0316611cd6610ab4565b6001600160a01b031614611d1f576040805162461bcd60e51b81526020600482018190526024820152600080516020613a7b833981519152604482015290519081900360640190fd5b6001600160a01b038116611d645760405162461bcd60e51b8152600401808060200182810382526026815260200180613a0e6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b606060148414611de15760405162461bcd60e51b8152600401610ccf906134b5565b81611dfe5760405162461bcd60e51b8152600401610ccf906135f7565b8484338585604051602001611e17959493929190613394565b6040516020818303038152906040529050949350505050565b3390565b611e3c61298e565b6000828152600960205260409020600101546001600160a01b031615611ea35750600081815260096020908152604091829020825160608101845281546001600160a01b0390811682526001830154169281019290925260020154918101919091526106ef565b60405163068bcd8d60e01b81526000906001600160a01b037f00000000000000000000000006d538690af257da524f25d0cd52fd85b1c2173e169063068bcd8d90611ef2908690600401613445565b60206040518083038186803b158015611f0a57600080fd5b505afa158015611f1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f429190612b12565b90506001600160a01b038116611f6a5760405162461bcd60e51b8152600401610ccf90613523565b611fa06001600160a01b0382167f0000000000000000000000008731d54e9d02c286767d56ac03e8037c07e01e9860001961255e565b6000816001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b158015611fdb57600080fd5b505afa158015611fef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120139190612b12565b90506001600160a01b03811661203b5760405162461bcd60e51b8152600401610ccf90613591565b6120716001600160a01b0382167f0000000000000000000000008731d54e9d02c286767d56ac03e8037c07e01e9860001961255e565b6000826001600160a01b031663feb56b156040518163ffffffff1660e01b815260040160206040518083038186803b1580156120ac57600080fd5b505afa1580156120c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120e491906131f8565b604080516060810182526001600160a01b03948516815294841660208087019182528683019384526000988952600990529620845181549085166001600160a01b031991821617825596516001820180549190951697169690961790925550516002909301929092555090565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526121ab90859061266d565b50505050565b6000808211612207576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161221057fe5b0490505b92915050565b60008261222957506000612214565b8282028284828161223657fe5b04146122735760405162461bcd60e51b8152600401808060200182810382526021815260200180613a5a6021913960400191505060405180910390fd5b9392505050565b61ffff81166000908152600660205260409020546060906001600160a01b0316806122b75760405162461bcd60e51b8152600401610ccf906134ec565b806040516020016122c89190613303565b604051602081830303815290604052915050919050565b6000908152600760205260409020546001600160a01b0316151590565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610fca90849061266d565b600061235b82601461271e565b835110156123a8576040805162461bcd60e51b8152602060048201526015602482015274746f416464726573735f6f75744f66426f756e647360581b604482015290519081900360640190fd5b500160200151600160601b900490565b3b151590565b6060816123cc81601f61271e565b1015612410576040805162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b604482015290519081900360640190fd5b61241a838361271e565b84511015612463576040805162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b604482015290519081900360640190fd5b60608215801561248257604051915060008252602082016040526124cc565b6040519150601f8416801560200281840101858101878315602002848b0101015b818310156124bb5780518352602092830192016124a3565b5050858452601f01601f1916604052505b50949350505050565b6000606060008060008661ffff166001600160401b03811180156124f857600080fd5b506040519080825280601f01601f191660200182016040528015612523576020820181803683370190505b5090506000808751602089018b8e8ef191503d925086831115612544578692505b828152826000602083013e90999098509650505050505050565b8015806125e4575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156125b657600080fd5b505afa1580156125ca573d6000803e3d6000fd5b505050506040513d60208110156125e057600080fd5b5051155b61261f5760405162461bcd60e51b8152600401808060200182810382526036815260200180613ac56036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610fca9084905b60006126c2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166127789092919063ffffffff16565b805190915015610fca578080602001905160208110156126e157600080fd5b5051610fca5760405162461bcd60e51b815260040180806020018281038252602a815260200180613a9b602a913960400191505060405180910390fd5b600082820183811015612273576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6060612787848460008561278f565b949350505050565b6060824710156127d05760405162461bcd60e51b8152600401808060200182810382526026815260200180613a346026913960400191505060405180910390fd5b6127d9856123b8565b61282a576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b602083106128685780518252601f199092019160209182019101612849565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146128ca576040519150601f19603f3d011682016040523d82523d6000602084013e6128cf565b606091505b50915091506128df8282866128ea565b979650505050505050565b606083156128f9575081612273565b8251156129095782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561295357818101518382015260200161293b565b50505050905090810190601f1680156129805780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b604080516060810182526000808252602082018190529181019190915290565b80356106ef816139d5565b60008083601f8401126129ca578182fd5b5081356001600160401b038111156129e0578182fd5b6020830191508360208285010111156129f857600080fd5b9250929050565b600082601f830112612a0f578081fd5b81356001600160401b0380821115612a2357fe5b604051601f8301601f191681016020018281118282101715612a4157fe5b604052828152848301602001861015612a58578384fd5b82602086016020830137918201602001929092529392505050565b600060608284031215612a84578081fd5b604051606081016001600160401b038282108183111715612aa157fe5b8160405282935084358352602085013560208401526040850135915080821115612aca57600080fd5b50612ad7858286016129ff565b6040830152505092915050565b803561ffff811681146106ef57600080fd5b600060208284031215612b07578081fd5b8135612273816139d5565b600060208284031215612b23578081fd5b8151612273816139d5565b600080600060608486031215612b42578182fd5b8335612b4d816139d5565b92506020840135612b5d816139d5565b929592945050506040919091013590565b600060208284031215612b7f578081fd5b81518015158114612273578182fd5b600060208284031215612b9f578081fd5b61227382612ae4565b60008060408385031215612bba578182fd5b612bc383612ae4565b91506020830135612bd3816139d5565b809150509250929050565b600080600080600080600080888a0360e0811215612bfa578485fd5b612c038a612ae4565b985060208a0135612c13816139d5565b975060408a01356001600160401b0380821115612c2e578687fd5b612c3a8d838e016129b9565b90995097508791506040605f1984011215612c53578687fd5b60405192506040830191508282108183111715612c6c57fe5b8160405260608c0135835260808c0135602084015282965060a08c0135925080831115612c97578586fd5b612ca38d848e01612a73565b955060c08c0135925080831115612cb8578485fd5b5050612cc68b828c016129b9565b999c989b5096995094979396929594505050565b600080600080600080600060a0888a031215612cf4578283fd5b612cfd88612ae4565b965060208801356001600160401b0380821115612d18578485fd5b612d248b838c016129b9565b909850965060408a013591508082168214612d3d578485fd5b909450606089013590612d4f826139d5565b90935060808901359080821115612d64578384fd5b50612d718a828b016129b9565b989b979a50959850939692959293505050565b600080600060608486031215612d98578283fd5b612da184612ae4565b925060208401356001600160401b03811115612dbb578283fd5b612dc7868287016129ff565b925050604084013590509250925092565b60008060008060008060c08789031215612df0578384fd5b612df987612ae4565b955060208701356001600160401b0380821115612e14578586fd5b612e208a838b016129ff565b96506040890135955060608901359150612e39826139d5565b9093506080880135925060a08801359080821115612e55578283fd5b50612e6289828a016129ff565b9150509295509295509295565b600080600060608486031215612e83578081fd5b612e8c84612ae4565b9250602084013591506040840135612ea3816139d5565b809150509250925092565b60008060008060808587031215612ec3578182fd5b612ecc85612ae4565b935060208501359250604085013591506060850135612eea816139d5565b939692955090935050565b60008060008060008060008060e0898b031215612f10578182fd5b612f1989612ae4565b975060208901359650604089013595506060890135612f37816139d5565b94506080890135935060a08901356001600160401b0380821115612f59578384fd5b612f658c838d016129b9565b909550935060c08b0135915080821115612f7d578283fd5b50612f8a8b828c01612a73565b9150509295985092959890939650565b60008060008060008060008060006101008a8c031215612fb8578283fd5b612fc18a612ae4565b985060208a0135975060408a0135965060608a0135612fdf816139d5565b955060808a0135945060a08a0135935060c08a01356001600160401b0380821115613008578485fd5b6130148d838e016129b9565b909550935060e08c013591508082111561302c578283fd5b506130398c828d01612a73565b9150509295985092959850929598565b60008060008060008060008060008060006101208c8e03121561306a578485fd5b6130738c612ae4565b9a5060208c0135995060408c0135985061308f60608d016129ae565b975060808c0135965060a08c013595506001600160401b038060c08e013511156130b7578586fd5b6130c78e60c08f01358f01612a73565b95508060e08e013511156130d9578283fd5b6130e98e60e08f01358f016129b9565b90955093506101008d01358110156130ff578283fd5b506131118d6101008e01358e016129b9565b81935080925050509295989b509295989b9093969950565b600080600080600080600060a0888a031215613143578081fd5b61314c88612ae4565b9650602088013560ff81168114613161578182fd5b955060408801356001600160401b038082111561317c578283fd5b6131888b838c016129b9565b909750955060608a01359150808211156131a0578283fd5b6131ac8b838c016129b9565b909550935060808a01359150808211156131c4578283fd5b506131d18a828b01612a73565b91505092959891949750929550565b6000602082840312156131f1578081fd5b5035919050565b600060208284031215613209578081fd5b5051919050565b60008060408385031215613222578182fd5b823591506020830135612bd3816139d5565b60008060408385031215613246578182fd5b505080516020909101519092909150565b60008060006060848603121561326b578081fd5b83359250602084013591506040840135612ea3816139d5565b60008284528282602086013780602084860101526020601f19601f85011685010190509392505050565b600081518084526132c68160208601602086016139a9565b601f01601f19169290920160200192915050565b6000815183526020820151602084015260408201516060604085015261278760608501826132ae565b60609190911b6bffffffffffffffffffffffff1916815260140190565b60006bffffffffffffffffffffffff198560601b16825282846014840137910160140190815292915050565b60006bffffffffffffffffffffffff198460601b16825282516133768160148501602087016139a9565b919091016014019392505050565b6000828483379101908152919050565b600085878337606085901b6bffffffffffffffffffffffff19168287019081528385601483013790920160140191825250949350505050565b600082516133df8184602087016139a9565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b6020808252601a908201527f53746172676174653a207065657220616c726561647920736574000000000000604082015260600190565b6020808252601690820152750a6e8c2e4cec2e8ca7440d2dcecc2d8d2c840d0c2e6d60531b604082015260600190565b6020808252601c908201527f53746172676174653a20696e76616c696420746f206164647265737300000000604082015260600190565b60208082526018908201527f53746172676174653a2070656572206e6f7420666f756e640000000000000000604082015260600190565b6020808252601d908201527f53746172676174653a20706f6f6c20646f6573206e6f74206578697374000000604082015260600190565b60208082526018908201527f53746172676174653a206d73672e76616c756520697320300000000000000000604082015260600190565b6020808252601e908201527f53746172676174653a20746f6b656e20646f6573206e6f742065786973740000604082015260600190565b60208082526015908201527429ba30b933b0ba329d1037b7363c903937baba32b960591b604082015260600190565b6020808252601a908201527f53746172676174653a207061796c6f616420697320656d707479000000000000604082015260600190565b60208082526032908201527f53746172676174653a206d73672e76616c7565206d757374206265203e205f736040820152711dd85c105b5bdd5b9d0b985b5bdd5b9d131160721b606082015260800190565b60208082526018908201527f53746172676174653a207265656e7472616e742063616c6c0000000000000000604082015260600190565b6020808252601d908201527f53746172676174653a20506f6f6c20646f6573206e6f74206578697374000000604082015260600190565b81516001600160a01b039081168252602080840151909116908201526040918201519181019190915260600190565b600061ffff8816825260c0602083015261373a60c08301886132ae565b604083018790526001600160a01b03861660608401526080830185905282810360a084015261376981856132ae565b9998505050505050505050565b600061ffff861682526080602083015261379360808301866132ae565b84604084015282810360608401526128df81856132ae565b61ffff93909316835260208301919091526001600160a01b0316604082015260600190565b61ffff949094168452602084019290925260408301526001600160a01b0316606082015260800190565b600061ffff8a16825288602083015287604083015260018060a01b038716606083015285608083015260e060a083015261383860e083018587613284565b82810360c084015261384a81856132da565b9b9a5050505050505050505050565b600061010061ffff8c1683528a602084015289604084015260018060a01b03891660608401528760808401528660a08401528060c084015261389e8184018688613284565b905082810360e08401526138b281856132da565b9c9b505050505050505050505050565b600061012061ffff8c1683528a602084015289604084015260018060a01b03891660608401528760808401528660a08401528060c0840152613906818401876132da565b905082810360e084015261391a81866132ae565b90508281036101008401526138b281856132ae565b600061ffff8816825260ff8716602083015260a0604083015261395660a083018688613284565b828103606084015261396881866132ae565b9050828103608084015261376981856132da565b918252602082015260400190565b92835260208301919091526001600160a01b0316604082015260600190565b60005b838110156139c45781810151838201526020016139ac565b838111156121ab5750506000910152565b6001600160a01b03811681146139ea57600080fd5b5056fe5265656e7472616e637947756172643a207265656e7472616e742063616c6c004f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a264697066735822122086575e2083f629297ba6b88471211b137437785396b61a37634b6f22f529bd1864736f6c63430007060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000296f55f8fb28e498b858d0bcda06d955b2cb3f970000000000000000000000008731d54e9d02c286767d56ac03e8037c07e01e9800000000000000000000000072e2f4830b9e45d52f80ac08cb2bec0fef72ed9c000000000000000000000000000000000000000000000000000000000000000d
-----Decoded View---------------
Arg [0] : _stargateBridge (address): 0x296F55F8Fb28E498B858d0BcDA06D955B2Cb3f97
Arg [1] : _stargateRouter (address): 0x8731d54E9D02c286767d56ac03e8037C07e01e98
Arg [2] : _stargateEthVault (address): 0x72E2F4830b9E45d52F80aC08CB2bEC0FeF72eD9c
Arg [3] : _wethPoolId (uint256): 13
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000296f55f8fb28e498b858d0bcda06d955b2cb3f97
Arg [1] : 0000000000000000000000008731d54e9d02c286767d56ac03e8037c07e01e98
Arg [2] : 00000000000000000000000072e2f4830b9e45d52f80ac08cb2bec0fef72ed9c
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000d
Deployed Bytecode Sourcemap
1149:15818:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6671:603;;;;;;;;;;-1:-1:-1;6671:603:7;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;14841:116;;;;;;;;;;-1:-1:-1;14841:116:7;;;;;:::i;:::-;;:::i;:::-;;1870:25;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;2057:52::-;;;;;;;;;;-1:-1:-1;2057:52:7;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2115:85::-;;;;;;;;;;-1:-1:-1;2115:85:7;;;;;:::i;:::-;;:::i;15954:127::-;;;;;;;;;;-1:-1:-1;15954:127:7;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;15097:154::-;;;;;;;;;;-1:-1:-1;15097:154:7;;;;;:::i;:::-;;:::i;15710:97::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;2206:48::-;;;;;;;;;;-1:-1:-1;2206:48:7;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;1700:145:0:-;;;;;;;;;;;;;:::i;14963:128:7:-;;;;;;;;;;-1:-1:-1;14963:128:7;;;;;:::i;:::-;;:::i;3991:769::-;;;;;;:::i;:::-;;:::i;3467:518::-;;;;;;;;;;-1:-1:-1;3467:518:7;;;;;:::i;:::-;;:::i;1068:85:0:-;;;;;;;;;;;;;:::i;4766:711:7:-;;;;;;:::i;:::-;;:::i;6361:304::-;;;;;;:::i;:::-;;:::i;7280:1679::-;;;;;;:::i;:::-;;:::i;15559:145::-;;;;;;;;;;-1:-1:-1;15559:145:7;;;;;:::i;:::-;;:::i;2012:39::-;;;;;;;;;;-1:-1:-1;2012:39:7;;;;;:::i;:::-;;:::i;1779:47::-;;;;;;;;;;;;;:::i;12324:1809::-;;;;;;;;;;-1:-1:-1;12324:1809:7;;;;;:::i;:::-;;:::i;14139:696::-;;;;;;;;;;-1:-1:-1;14139:696:7;;;;;:::i;:::-;;:::i;15367:186::-;;;;;;;;;;-1:-1:-1;15367:186:7;;;;;:::i;:::-;;:::i;1832:32::-;;;;;;;;;;;;;:::i;5483:872::-;;;;;;;;;;-1:-1:-1;5483:872:7;;;;;:::i;:::-;;:::i;15257:104::-;;;;;;;;;;-1:-1:-1;15257:104:7;;;;;:::i;:::-;;:::i;1726:47::-;;;;;;;;;;;;;:::i;9068:1874::-;;;;;;:::i;:::-;;:::i;11668:650::-;;;:::i;1994:240:0:-;;;;;;;;;;-1:-1:-1;1994:240:0;;;;;:::i;:::-;;:::i;6671:603:7:-;6924:7;6933;6952:23;6978:50;6992:10;;7004:23;;6978:13;:50::i;:::-;7139:16;;7123:13;;7094:61;;7123:32;;7094:61;;;7173:94;;-1:-1:-1;;;7173:94:7;;6952:76;;-1:-1:-1;;;;;;7173:14:7;:32;;;;:94;;7206:8;;7216:13;;7231:10;;;;6952:76;;7094:11;;7173:94;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7166:101;;;;;6671:603;;;;;;;;;;:::o;14841:116::-;1291:12:0;:10;:12::i;:::-;-1:-1:-1;;;;;1280:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1280:23:0;;1272:68;;;;;-1:-1:-1;;;1272:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1272:68:0;;;;;;;;;;;;;;;14920:13:7::1;:30:::0;14841:116::o;1870:25::-;;;;:::o;2057:52::-;;;;;;;;;;;;-1:-1:-1;;;;;2057:52:7;;:::o;2115:85::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;15954:127::-;16010:24;;:::i;:::-;16053:21;16066:7;16053:12;:21::i;:::-;16046:28;;15954:127;;;;:::o;15097:154::-;1291:12:0;:10;:12::i;:::-;-1:-1:-1;;;;;1280:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1280:23:0;;1272:68;;;;;-1:-1:-1;;;1272:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1272:68:0;;;;;;;;;;;;;;;15198:26:7::1;::::0;;;:17:::1;:26;::::0;;;;;:46;;-1:-1:-1;;;;;;15198:46:7::1;-1:-1:-1::0;;;;;15198:46:7;;::::1;::::0;;;::::1;::::0;;15097:154::o;15710:97::-;15777:11;;1580:1;15777:23;15710:97;:::o;2206:48::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2206:48:7;;;;;;;;;:::o;1700:145:0:-;1291:12;:10;:12::i;:::-;-1:-1:-1;;;;;1280:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1280:23:0;;1272:68;;;;;-1:-1:-1;;;1272:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1272:68:0;;;;;;;;;;;;;;;1806:1:::1;1790:6:::0;;1769:40:::1;::::0;-1:-1:-1;;;;;1790:6:0;;::::1;::::0;1769:40:::1;::::0;1806:1;;1769:40:::1;1836:1;1819:19:::0;;-1:-1:-1;;;;;;1819:19:0::1;::::0;;1700:145::o;14963:128:7:-;1291:12:0;:10;:12::i;:::-;-1:-1:-1;;;;;1280:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1280:23:0;;1272:68;;;;;-1:-1:-1;;;1272:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1272:68:0;;;;;;;;;;;;;;;15048:16:7::1;:36:::0;14963:128::o;3991:769::-;1680:1:6;2260:7;;:19;;2252:63;;;;;-1:-1:-1;;;2252:63:6;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2252:63:6;;;;;;;;;;;;;;;1680:1;2390:7;:18;4313:14:7::1;4337:24;4350:10:::0;4337:12:::1;:24::i;:::-;:36;;::::0;;-1:-1:-1;4433:62:7::1;-1:-1:-1::0;;;;;4433:24:7;::::1;4458:10;4478:4;4485:9:::0;4433:24:::1;:62::i;:::-;4506:247;::::0;-1:-1:-1;;;4506:247:7;;-1:-1:-1;;;;;4506:14:7::1;:27;::::0;::::1;::::0;4541:9:::1;::::0;4506:247:::1;::::0;4565:11;;4590:10;;4614;;4638:14;;4666:9;;4689:12;;4715:3;;;;4732:11;;4506:247:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;1637:1:6;2563:22;;-1:-1:-1;;;;;;;;;;;;;3991:769:7:o;3467:518::-;3596:24;3623:21;3636:7;3623:12;:21::i;:::-;3596:48;;3705:1;3682:8;:20;;;:24;3678:103;;;3760:20;;;;3720:61;;:35;:9;3760:20;3720:13;:35::i;:::-;:39;;:61::i;:::-;3708:73;;3678:103;3845:14;;3838:77;;-1:-1:-1;;;;;3838:39:7;3878:10;3898:4;3905:9;3838:39;:77::i;:::-;3926:52;;-1:-1:-1;;;3926:52:7;;-1:-1:-1;;;;;3926:14:7;:27;;;;:52;;3954:7;;3963:9;;3974:3;;3926:52;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3467:518;;;;:::o;1068:85:0:-;1114:7;1140:6;-1:-1:-1;;;;;1140:6:0;1068:85;:::o;4766:711:7:-;1680:1:6;2260:7;;:19;;2252:63;;;;;-1:-1:-1;;;2252:63:6;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2252:63:6;;;;;;;;;;;;;;;1680:1;2390:7;:18;5057:14:7::1;5081:24;5094:10:::0;5081:12:::1;:24::i;:::-;:36;;::::0;;-1:-1:-1;5177:62:7::1;-1:-1:-1::0;;;;;5177:24:7;::::1;5202:10;5222:4;5229:9:::0;5177:24:::1;:62::i;:::-;5250:220;::::0;-1:-1:-1;;;5250:220:7;;-1:-1:-1;;;;;5250:14:7::1;:26;::::0;::::1;::::0;5284:9:::1;::::0;5250:220:::1;::::0;5308:11;;5333:10;;5357;;5381:14;;5409:9;;5432:3;;;;5449:11;;5250:220:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;1637:1:6;2563:22;;-1:-1:-1;;;;;;;;;;;;4766:711:7:o;6361:304::-;1680:1:6;2260:7;;:19;;2252:63;;;;;-1:-1:-1;;;2252:63:6;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2252:63:6;;;;;;;;;;;;;;;1680:1;2390:7;:18;6561:97:7::1;::::0;-1:-1:-1;;;6561:97:7;;-1:-1:-1;;;;;6561:14:7::1;:26;::::0;::::1;::::0;6595:9:::1;::::0;6561:97:::1;::::0;6606:11;;6619:10;;6631;;6643:14;;6561:97:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;1637:1:6;2563:22;;-1:-1:-1;;;;;;;6361:304:7:o;7280:1679::-;1580:1;2326:11;;:23;;2318:60;;;;-1:-1:-1;;;2318:60:7;;;;;;;:::i;:::-;;;;;;;;;1580:1;2388:11;:22;7647:23:::1;7673:28;7687:3:::0;;7692:8;;7673:13:::1;:28::i;:::-;7647:54;;7711:17;7731:21;7740:11;7731:8;:21::i;:::-;7711:41;;7766:21;7776:10;7766:9;:21::i;:::-;7763:695;;;7823:9;7811;:21;7803:84;;;;-1:-1:-1::0;;;7803:84:7::1;;;;;;;:::i;:::-;7919:29;::::0;;;:17:::1;:29;::::0;;;;;;7901:76;;-1:-1:-1;;;7901:76:7;;;;-1:-1:-1;;;;;7919:29:7;;::::1;::::0;7901:56:::1;::::0;7965:9;;7901:76:::1;::::0;;::::1;::::0;7919:29;7901:76;;;;;7965:9;7919:29;7901:76;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;;8009:29:7::1;::::0;;;:17:::1;:29;::::0;;;;;;;7991:92;;-1:-1:-1;;;7991:92:7;;-1:-1:-1;;;;;8009:29:7;;::::1;::::0;-1:-1:-1;7991:56:7::1;::::0;-1:-1:-1;7991:92:7::1;::::0;8056:14:::1;::::0;8073:9;;7991:92:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;7763:695;;;8114:24;8141;8154:10;8141:12;:24::i;:::-;8114:51;;8233:1;8210:8;:20;;;:24;8206:103;;;8288:20;::::0;::::1;::::0;8248:61:::1;::::0;:35:::1;:9:::0;8288:20;8248:13:::1;:35::i;:61::-;8236:73;;8206:103;8377:14:::0;;8370:77:::1;::::0;-1:-1:-1;;;;;8370:39:7::1;8410:10;8430:4;8437:9:::0;8370:39:::1;:77::i;:::-;7763:695;;8568:16;::::0;8552:13:::1;::::0;8523:61;;8552:32;::::1;8523:61;::::0;;-1:-1:-1;;;;;8595:14:7::1;:19;;8622:21;8632:10:::0;8622:9:::1;:21::i;:::-;:57;;8670:9;8622:57;;;8658:9;8646;:21;8622:57;8694:11;8719:10;8743;8767:14;8795:9;8818:12;8844:11;8869:4;8932:10;8595:357;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;1537:1:7;2431:11;:26;-1:-1:-1;;;;;;;;;;;;;;;;7280:1679:7:o;15559:145::-;1291:12:0;:10;:12::i;:::-;-1:-1:-1;;;;;1280:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1280:23:0;;1272:68;;;;;-1:-1:-1;;;1272:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1272:68:0;;;;;;;;;;;;;;;15656:41:7::1;-1:-1:-1::0;;;;;15656:27:7;::::1;15684:3:::0;15689:7;15656:27:::1;:41::i;:::-;15559:145:::0;;;:::o;2012:39::-;;;;;;;;;;;;-1:-1:-1;;;;;2012:39:7;;:::o;1779:47::-;;;:::o;12324:1809::-;12553:10;-1:-1:-1;;;;;12575:14:7;12553:37;;12545:71;;;;-1:-1:-1;;;12545:71:7;;;;;;;:::i;:::-;12719:2;12700:8;:15;:21;12696:34;;12723:7;;12696:34;12761:24;12788:21;:8;12761:24;12788:18;:21::i;:::-;12824:52;;-1:-1:-1;;;12824:52:7;;12761:48;;-1:-1:-1;;;;;;12824:23:7;;;;;:52;;12761:48;;12866:9;;12824:52;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12824:52:7;;;;;;;;-1:-1:-1;;12824:52:7;;;;;;;;;;;;:::i;:::-;;;12820:1307;;14052:64;14080:6;14088:16;14106:9;14052:64;;;;;;;;:::i;:::-;;;;;;;;12820:1307;;;;12896:29;:16;-1:-1:-1;;;;;12896:27:7;;:29::i;:::-;12891:43;;12927:7;;;12891:43;12958:21;-1:-1:-1;;;13076:11:7;13122:22;:8;13141:2;13122:18;:22::i;:::-;13105:40;;;;;;;;:::i;:::-;;;;;;;;;;;;;13258:6;13282;13306:9;13333:40;13348:2;13370;13352:8;:15;:20;13333:8;:14;;:40;;;;;:::i;:::-;12982:405;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;12982:405:7;;;;;;;-1:-1:-1;;;;;12982:405:7;;;;;;;;;;;12958:429;;13473:19;13507:13;;13495:9;:25;;-1:-1:-1;13536:12:7;;13573:56;-1:-1:-1;;;;;13573:25:7;;13495;13536:12;13615:3;13620:8;13573:25;:56::i;:::-;13535:94;;;;13682:7;13677:232;;13786:16;13804:8;13769:44;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;13769:44:7;;;;;;;;;13759:55;;13769:44;13759:55;;;;13709:26;;;;;;;:13;:26;;;;;;13759:55;;13709:39;;13736:11;;13709:39;:::i;:::-;;;;;;;;;;;;;;;;;:47;;;;;;;:105;;;;13837:57;;;;13853:11;;13866;;13749:6;;13887;;13837:57;:::i;:::-;;;;;;;;13677:232;12877:1043;;;;12820:1307;12324:1809;;;;;;;;:::o;14139:696::-;1680:1:6;2260:7;;:19;;2252:63;;;;;-1:-1:-1;;;2252:63:6;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2252:63:6;;;;;;;;;;;;;;;1680:1;2390:7;:18;14384:47:7::1;::::0;14359:12:::1;::::0;14384:47:::1;::::0;14401:9;;14412:18;;;;14384:47:::1;;;:::i;:::-;;::::0;;-1:-1:-1;;14384:47:7;;::::1;::::0;;;;;;14374:58;;14384:47:::1;14374:58:::0;;::::1;::::0;14450:26:::1;::::0;::::1;;::::0;;;:13:::1;:26:::0;;;;;;14374:58;;-1:-1:-1;14374:58:7;;14450:39:::1;::::0;14477:11;;;;14450:39:::1;:::i;:::-;;;;;;;;;;;;;:47;14490:6;-1:-1:-1::0;;;;;14450:47:7::1;;;;;;;;;;;;;:55;14442:90;;;;-1:-1:-1::0;;;14442:90:7::1;;;;;;;:::i;:::-;14549:26;::::0;::::1;;::::0;;;:13:::1;:26;::::0;;;;;;:39;;::::1;::::0;14576:11;;;;14549:39:::1;:::i;:::-;;;;;;;;;;;;;:47;14589:6;-1:-1:-1::0;;;;;14549:47:7::1;;;;;;;;;;;;14542:54;;;14608:12;14622:19:::0;14645:57:::1;14664:9;14675:1;14678:3;14683:18;;14645:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;;;;;;14645:18:7;::::1;::::0;:57;;;;-1:-1:-1;;14645:18:7::1;:57::i;:::-;14607:95;;;;14717:7;14712:117;;14797:6;14791:13;14782:6;14778:2;14774:15;14767:38;14749:70;-1:-1:-1::0;;1637:1:6;2563:22;;-1:-1:-1;;;;;;;;14139:696:7:o;15367:186::-;1291:12:0;:10;:12::i;:::-;-1:-1:-1;;;;;1280:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1280:23:0;;1272:68;;;;;-1:-1:-1;;;1272:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1272:68:0;;;;;;;;;;;;;;;15453:15:7::1;::::0;::::1;15480:1;15453:15:::0;;;:5:::1;:15;::::0;;;;;-1:-1:-1;;;;;15453:15:7::1;:29:::0;15445:68:::1;;;;-1:-1:-1::0;;;15445:68:7::1;;;;;;;:::i;:::-;15523:15;::::0;;;::::1;;::::0;;;:5:::1;:15;::::0;;;;:23;;-1:-1:-1;;;;;;15523:23:7::1;-1:-1:-1::0;;;;;15523:23:7;;::::1;::::0;;;::::1;::::0;;15367:186::o;1832:32::-;;;:::o;5483:872::-;5632:16;1680:1:6;2260:7;;:19;;2252:63;;;;;-1:-1:-1;;;2252:63:6;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2252:63:6;;;;;;;;;;;;;;;1680:1;2390:7;:18;5660:14:7::1;5684:24;;::::0;::::1;:12;:24::i;:::-;:36;;;5660:61;;5801:18;5822:7;-1:-1:-1::0;;;;;5822:17:7::1;;5848:4;5822:32;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5801:53:::0;-1:-1:-1;5914:62:7::1;-1:-1:-1::0;;;;;5914:24:7;::::1;5939:10;5959:4;5966:9:::0;5914:24:::1;:62::i;:::-;6045:61;::::0;-1:-1:-1;;;6045:61:7;;-1:-1:-1;;;;;6045:14:7::1;:33;::::0;::::1;::::0;:61:::1;::::0;6079:10;;6091:9;;6102:3;;6045:61:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6034:72;;6184:17;6204:7;-1:-1:-1::0;;;;;6204:17:7::1;;6230:4;6204:32;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6184:52:::0;-1:-1:-1;6258:28:7;;::::1;6300:8:::0;;6296:52:::1;;6310:38;-1:-1:-1::0;;;;;6310:20:7;::::1;6331:10;6343:4:::0;6310:20:::1;:38::i;:::-;-1:-1:-1::0;;1637:1:6;2563:22;;-1:-1:-1;5483:872:7;;;-1:-1:-1;;;;5483:872:7:o;15257:104::-;1291:12:0;:10;:12::i;:::-;-1:-1:-1;;;;;1280:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1280:23:0;;1272:68;;;;;-1:-1:-1;;;1272:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1272:68:0;;;;;;;;;;;;;;;15330:10:7::1;:24:::0;15257:104::o;1726:47::-;;;:::o;9068:1874::-;1580:1;2326:11;;:23;;2318:60;;;;-1:-1:-1;;;2318:60:7;;;;;;;:::i;:::-;1580:1;2388:11;:22;9585:23:::1;9611:28;9625:3:::0;;9630:8;;9611:13:::1;:28::i;:::-;9585:54;;9649:17;9669:21;9678:11;9669:8;:21::i;:::-;9735:20:::0;;9649:41;;-1:-1:-1;9723:9:7::1;:32;9715:95;;;;-1:-1:-1::0;;;9715:95:7::1;;;;;;;:::i;:::-;9850:10;::::0;9873:1:::1;9832:29:::0;;;:17:::1;:29;::::0;;;;;-1:-1:-1;;;;;9832:29:7::1;9824:85;;;;-1:-1:-1::0;;;9824:85:7::1;;;;;;;:::i;:::-;9959:10;::::0;9941:29:::1;::::0;;;:17:::1;:29;::::0;;;;;;9987:20;;9923:87;;-1:-1:-1;;;9923:87:7;;;;-1:-1:-1;;;;;9941:29:7;;::::1;::::0;9923:56:::1;::::0;9987:20;;9923:87:::1;::::0;;::::1;::::0;;;;;;9987:20;9941:29;9923:87;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;10060:10:7::1;::::0;10042:29:::1;::::0;;;:17:::1;:29;::::0;;;;;;;10106:20;;10024:103;;-1:-1:-1;;;10024:103:7;;-1:-1:-1;;;;;10042:29:7;;::::1;::::0;-1:-1:-1;10024:56:7::1;::::0;-1:-1:-1;10024:103:7::1;::::0;-1:-1:-1;10089:14:7::1;::::0;10106:20;10024:103:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;10248:16;;10232:13;;:32;10203:11;:25;;:61;;;;;;;;;::::0;::::1;10275:14;-1:-1:-1::0;;;;;10275:19:7::1;;10315:11;:20;;;10303:9;:32;10351:11;10408:10;;10466;;10529:14;10595:11;:20;;;10671:11;:23;;;10777:11;10822:4;10877:10;10275:660;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;1537:1:7;2431:11;:26;-1:-1:-1;;;;;;;;;;;;;9068:1874:7:o;11668:650::-;11742:1;11730:9;:13;11722:50;;;;-1:-1:-1;;;11722:50:7;;;;;;;:::i;:::-;11881:10;;11817:16;11863:29;;;:17;:29;;;;;;11836:9;;-1:-1:-1;;;;;11863:29:7;11855:85;;;;-1:-1:-1;;;11855:85:7;;;;;;;:::i;:::-;11986:10;;11968:29;;;;:17;:29;;;;;;;11950:75;;-1:-1:-1;;;11950:75:7;;;;-1:-1:-1;;;;;11968:29:7;;;;11950:56;;12014:8;;11950:75;;;;;11968:29;11950:75;;;;;12014:8;11968:29;11950:75;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;12071:10:7;;12053:29;;;;:17;:29;;;;;;;;12035:91;;-1:-1:-1;;;12035:91:7;;-1:-1:-1;;;;;12053:29:7;;;;-1:-1:-1;12035:56:7;;-1:-1:-1;12035:91:7;;-1:-1:-1;12100:14:7;;12117:8;;12035:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;12278:10:7;;12250:61;;-1:-1:-1;;;12250:61:7;;-1:-1:-1;;;;;12250:14:7;:27;;;;:61;;12278:10;12290:8;;12300:10;;12250:61;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11668:650;:::o;1994:240:0:-;1291:12;:10;:12::i;:::-;-1:-1:-1;;;;;1280:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1280:23:0;;1272:68;;;;;-1:-1:-1;;;1272:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1272:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;2082:22:0;::::1;2074:73;;;;-1:-1:-1::0;;;2074:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2183:6;::::0;;2162:38:::1;::::0;-1:-1:-1;;;;;2162:38:0;;::::1;::::0;2183:6;::::1;::::0;2162:38:::1;::::0;::::1;2210:6;:17:::0;;-1:-1:-1;;;;;;2210:17:0::1;-1:-1:-1::0;;;;;2210:17:0;;;::::1;::::0;;;::::1;::::0;;1994:240::o;10948:468:7:-;11061:12;11107:2;11093:16;;11085:57;;;;-1:-1:-1;;;11085:57:7;;;;;;;:::i;:::-;11160:19;11152:58;;;;-1:-1:-1;;;11152:58:7;;;;;;;:::i;:::-;11383:3;;11388:10;11400:8;;11366:43;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;11359:50;;10948:468;;;;;;:::o;598:104:5:-;685:10;598:104;:::o;16087:878:7:-;16144:24;;:::i;:::-;16280:1;16235:21;;;:12;:21;;;;;:33;;;-1:-1:-1;;;;;16235:33:7;:47;16231:106;;-1:-1:-1;16305:21:7;;;;:12;:21;;;;;;;;;16298:28;;;;;;;;;-1:-1:-1;;;;;16298:28:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16231:106;16362:42;;-1:-1:-1;;;16362:42:7;;16347:12;;-1:-1:-1;;;;;16379:7:7;16362:33;;;;:42;;16396:7;;16362:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;16347:57;-1:-1:-1;;;;;;16422:27:7;;16414:69;;;;-1:-1:-1;;;16414:69:7;;;;;;;:::i;:::-;16493:68;-1:-1:-1;;;;;16493:24:7;;16526:14;-1:-1:-1;;16493:24:7;:68::i;:::-;16572:13;16594:4;-1:-1:-1;;;;;16588:17:7;;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;16572:35;-1:-1:-1;;;;;;16625:28:7;;16617:71;;;;-1:-1:-1;;;16617:71:7;;;;;;;:::i;:::-;16698:69;-1:-1:-1;;;;;16698:25:7;;16732:14;-1:-1:-1;;16698:25:7;:69::i;:::-;16778:19;16806:4;-1:-1:-1;;;;;16800:23:7;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;16847:69;;;;;;;;-1:-1:-1;;;;;16847:69:7;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16926:21:7;;;:12;:21;;;;:32;;;;;;;-1:-1:-1;;;;;;16926:32:7;;;;;;;;-1:-1:-1;16926:32:7;;;;;;;;;;;;;;;;;-1:-1:-1;16926:32:7;;;;;;;;;-1:-1:-1;16847:69:7;16087:878::o;877:203:3:-;1004:68;;;-1:-1:-1;;;;;1004:68:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1004:68:3;-1:-1:-1;;;1004:68:3;;;977:96;;997:5;;977:19;:96::i;:::-;877:203;;;;:::o;4209:150:1:-;4267:7;4298:1;4294;:5;4286:44;;;;;-1:-1:-1;;;4286:44:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;4351:1;4347;:5;;;;;;4340:12;;4209:150;;;;;:::o;3530:215::-;3588:7;3611:6;3607:20;;-1:-1:-1;3626:1:1;3619:8;;3607:20;3649:5;;;3653:1;3649;:5;:1;3672:5;;;;;:10;3664:56;;;;-1:-1:-1;;;3664:56:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3737:1;3530:215;-1:-1:-1;;;3530:215:1:o;11422:240:7:-;11525:18;;;11506:16;11525:18;;;:5;:18;;;;;;11482:12;;-1:-1:-1;;;;;11525:18:7;11561:22;11553:59;;;;-1:-1:-1;;;11553:59:7;;;;;;;:::i;:::-;11646:8;11629:26;;;;;;;;:::i;:::-;;;;;;;;;;;;;11622:33;;;11422:240;;;:::o;15813:135::-;15875:4;15898:29;;;:17;:29;;;;;;-1:-1:-1;;;;;15898:29:7;:43;;;15813:135::o;696:175:3:-;805:58;;;-1:-1:-1;;;;;805:58:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;805:58:3;-1:-1:-1;;;805:58:3;;;778:86;;798:5;;778:19;:86::i;3879:357:11:-;3958:7;4002:14;:6;4013:2;4002:10;:14::i;:::-;3985:6;:13;:31;;3977:65;;;;;-1:-1:-1;;;3977:65:11;;;;;;;;;;;;-1:-1:-1;;;3977:65:11;;;;;;;;;;;;;;;-1:-1:-1;4130:30:11;4146:4;4130:30;4124:37;-1:-1:-1;;;4120:71:11;;;3879:357::o;718:413:4:-;1078:20;1116:8;;;718:413::o;478:2752:11:-;570:12;621:7;602:15;621:7;614:2;602:11;:15::i;:::-;:26;;594:53;;;;;-1:-1:-1;;;594:53:11;;;;;;;;;;;;-1:-1:-1;;;594:53:11;;;;;;;;;;;;;;;682:19;:6;693:7;682:10;:19::i;:::-;665:6;:13;:36;;657:66;;;;;-1:-1:-1;;;657:66:11;;;;;;;;;;;;-1:-1:-1;;;657:66:11;;;;;;;;;;;;;;;734:22;797:15;;825:1967;;;;2933:4;2927:11;2914:24;;3119:1;3108:9;3101:20;3167:4;3156:9;3152:20;3146:4;3139:34;790:2397;;825:1967;1007:4;1001:11;988:24;;1666:2;1657:7;1653:16;2048:9;2041:17;2035:4;2031:28;2019:9;2008;2004:25;2000:60;2096:7;2092:2;2088:16;2348:6;2334:9;2327:17;2321:4;2317:28;2305:9;2297:6;2293:22;2289:57;2285:70;2122:425;2381:3;2377:2;2374:11;2122:425;;;2519:9;;2508:21;;2422:4;2414:13;;;;2454;2122:425;;;-1:-1:-1;;2565:26:11;;;2773:2;2756:11;-1:-1:-1;;2752:25:11;2746:4;2739:39;-1:-1:-1;790:2397:11;-1:-1:-1;3214:9:11;478:2752;-1:-1:-1;;;;478:2752:11:o;744:1298:12:-;914:4;920:12;980:15;1005:13;1028:24;1065:8;1055:19;;-1:-1:-1;;;;;1055:19:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1055:19:12;;1028:46;;1576:1;1547;1510:9;1504:16;1472:4;1461:9;1457:20;1418:6;1380:7;1351:4;1329:272;1317:284;;1668:16;1657:27;;1712:8;1703:7;1700:21;1697:2;;;1751:8;1740:19;;1697:2;1858:7;1845:11;1838:28;1978:7;1975:1;1968:4;1955:11;1951:22;1936:50;2013:8;;;;-1:-1:-1;744:1298:12;-1:-1:-1;;;;;;;744:1298:12:o;1340:613:3:-;1705:10;;;1704:62;;-1:-1:-1;1721:39:3;;;-1:-1:-1;;;1721:39:3;;1745:4;1721:39;;;;-1:-1:-1;;;;;1721:39:3;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1721:39:3;:44;1704:62;1696:150;;;;-1:-1:-1;;;1696:150:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1883:62;;;-1:-1:-1;;;;;1883:62:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1883:62:3;-1:-1:-1;;;1883:62:3;;;1856:90;;1876:5;;2959:751;3378:23;3404:69;3432:4;3404:69;;;;;;;;;;;;;;;;;3412:5;-1:-1:-1;;;;;3404:27:3;;;:69;;;;;:::i;:::-;3487:17;;3378:95;;-1:-1:-1;3487:21:3;3483:221;;3627:10;3616:30;;;;;;;;;;;;;;;-1:-1:-1;3616:30:3;3608:85;;;;-1:-1:-1;;;3608:85:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2682:175:1;2740:7;2771:5;;;2794:6;;;;2786:46;;;;;-1:-1:-1;;;2786:46:1;;;;;;;;;;;;;;;;;;;;;;;;;;;3573:193:4;3676:12;3707:52;3729:6;3737:4;3743:1;3746:12;3707:21;:52::i;:::-;3700:59;3573:193;-1:-1:-1;;;;3573:193:4:o;4600:523::-;4727:12;4784:5;4759:21;:30;;4751:81;;;;-1:-1:-1;;;4751:81:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4850:18;4861:6;4850:10;:18::i;:::-;4842:60;;;;;-1:-1:-1;;;4842:60:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;4973:12;4987:23;5014:6;-1:-1:-1;;;;;5014:11:4;5034:5;5042:4;5014:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5014:33:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4972:75;;;;5064:52;5082:7;5091:10;5103:12;5064:17;:52::i;:::-;5057:59;4600:523;-1:-1:-1;;;;;;;4600:523:4:o;7083:725::-;7198:12;7226:7;7222:580;;;-1:-1:-1;7256:10:4;7249:17;;7222:580;7367:17;;:21;7363:429;;7625:10;7619:17;7685:15;7672:10;7668:2;7664:19;7657:44;7574:145;7764:12;7757:20;;-1:-1:-1;;;7757:20:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:146:13:-;92:20;;121:33;92:20;121:33;:::i;165:377::-;;;282:3;275:4;267:6;263:17;259:27;249:2;;307:8;297;290:26;249:2;-1:-1:-1;337:20:13;;-1:-1:-1;;;;;369:30:13;;366:2;;;419:8;409;402:26;366:2;463:4;455:6;451:17;439:29;;515:3;508:4;499:6;491;487:19;483:30;480:39;477:2;;;532:1;529;522:12;477:2;239:303;;;;;:::o;547:694::-;;644:3;637:4;629:6;625:17;621:27;611:2;;666:5;659;652:20;611:2;706:6;693:20;-1:-1:-1;;;;;769:2:13;765;762:10;759:2;;;775:9;759:2;815;809:9;884:2;865:13;;-1:-1:-1;;861:27:13;849:40;;891:4;845:51;911:18;;;931:22;;;908:46;905:2;;;957:9;905:2;984;977:22;1008:18;;;1045:15;;;1062:4;1041:26;1038:35;-1:-1:-1;1035:2:13;;;1090:5;1083;1076:20;1035:2;1158;1151:4;1143:6;1139:17;1132:4;1124:6;1120:17;1107:54;1181:15;;;1198:4;1177:26;1170:41;;;;1185:6;601:640;-1:-1:-1;;;601:640:13:o;1246:674::-;;1351:4;1339:9;1334:3;1330:19;1326:30;1323:2;;;1373:5;1366;1359:20;1323:2;1410;1404:9;1452:4;1444:6;1440:17;-1:-1:-1;;;;;1544:6:13;1532:10;1529:22;1524:2;1512:10;1509:18;1506:46;1503:2;;;1555:9;1503:2;1586:10;1582:2;1575:22;1615:6;1606:15;;1658:9;1645:23;1637:6;1630:39;1730:2;1719:9;1715:18;1702:32;1697:2;1689:6;1685:15;1678:57;1786:2;1775:9;1771:18;1758:32;1744:46;;1813:2;1805:6;1802:14;1799:2;;;1829:1;1826;1819:12;1799:2;;1866:47;1909:3;1900:6;1889:9;1885:22;1866:47;:::i;:::-;1861:2;1853:6;1849:15;1842:72;;;1313:607;;;;:::o;1925:161::-;1994:20;;2054:6;2043:18;;2033:29;;2023:2;;2076:1;2073;2066:12;2091:259;;2203:2;2191:9;2182:7;2178:23;2174:32;2171:2;;;2224:6;2216;2209:22;2171:2;2268:9;2255:23;2287:33;2314:5;2287:33;:::i;2355:263::-;;2478:2;2466:9;2457:7;2453:23;2449:32;2446:2;;;2499:6;2491;2484:22;2446:2;2536:9;2530:16;2555:33;2582:5;2555:33;:::i;2623:470::-;;;;2769:2;2757:9;2748:7;2744:23;2740:32;2737:2;;;2790:6;2782;2775:22;2737:2;2834:9;2821:23;2853:33;2880:5;2853:33;:::i;:::-;2905:5;-1:-1:-1;2962:2:13;2947:18;;2934:32;2975:35;2934:32;2975:35;:::i;:::-;2727:366;;3029:7;;-1:-1:-1;;;3083:2:13;3068:18;;;;3055:32;;2727:366::o;3098:297::-;;3218:2;3206:9;3197:7;3193:23;3189:32;3186:2;;;3239:6;3231;3224:22;3186:2;3276:9;3270:16;3329:5;3322:13;3315:21;3308:5;3305:32;3295:2;;3356:6;3348;3341:22;3400:196;;3511:2;3499:9;3490:7;3486:23;3482:32;3479:2;;;3532:6;3524;3517:22;3479:2;3560:30;3580:9;3560:30;:::i;3601:333::-;;;3729:2;3717:9;3708:7;3704:23;3700:32;3697:2;;;3750:6;3742;3735:22;3697:2;3778:30;3798:9;3778:30;:::i;:::-;3768:40;;3858:2;3847:9;3843:18;3830:32;3871:33;3898:5;3871:33;:::i;:::-;3923:5;3913:15;;;3687:247;;;;;:::o;3939:1665::-;;;;;;;;;4225:9;4216:7;4212:23;4255:3;4251:2;4247:12;4244:2;;;4277:6;4269;4262:22;4244:2;4305:30;4325:9;4305:30;:::i;:::-;4295:40;;4385:2;4374:9;4370:18;4357:32;4398:33;4425:5;4398:33;:::i;:::-;4450:5;-1:-1:-1;4506:2:13;4491:18;;4478:32;-1:-1:-1;;;;;4559:14:13;;;4556:2;;;4591:6;4583;4576:22;4556:2;4635:60;4687:7;4678:6;4667:9;4663:22;4635:60;:::i;:::-;4714:8;;-1:-1:-1;4609:86:13;-1:-1:-1;4609:86:13;;-1:-1:-1;4783:2:13;-1:-1:-1;;4765:16:13;;4761:25;4758:2;;;4804:6;4796;4789:22;4758:2;4842;4836:9;4822:23;;4884:2;4876:6;4872:15;4854:33;;4937:6;4925:10;4922:22;4917:2;4905:10;4902:18;4899:46;4896:2;;;4948:9;4896:2;4979:10;4975:2;4968:22;5042:2;5031:9;5027:18;5014:32;5006:6;4999:48;5108:3;5097:9;5093:19;5080:33;5075:2;5067:6;5063:15;5056:58;5133:6;5123:16;;5192:3;5181:9;5177:19;5164:33;5148:49;;5222:2;5212:8;5209:16;5206:2;;;5243:6;5235;5228:22;5206:2;5271:63;5326:7;5315:8;5304:9;5300:24;5271:63;:::i;:::-;5261:73;;5387:3;5376:9;5372:19;5359:33;5343:49;;5417:2;5407:8;5404:16;5401:2;;;5438:6;5430;5423:22;5401:2;;;5482:62;5536:7;5525:8;5514:9;5510:24;5482:62;:::i;:::-;4192:1412;;;;-1:-1:-1;4192:1412:13;;-1:-1:-1;4192:1412:13;;;;;;5563:8;-1:-1:-1;;;4192:1412:13:o;5609:1136::-;;;;;;;;5825:3;5813:9;5804:7;5800:23;5796:33;5793:2;;;5847:6;5839;5832:22;5793:2;5875:30;5895:9;5875:30;:::i;:::-;5865:40;;5956:2;5945:9;5941:18;5928:32;-1:-1:-1;;;;;6020:2:13;6012:6;6009:14;6006:2;;;6041:6;6033;6026:22;6006:2;6085:60;6137:7;6128:6;6117:9;6113:22;6085:60;:::i;:::-;6164:8;;-1:-1:-1;6059:86:13;-1:-1:-1;6249:2:13;6234:18;;6221:32;;-1:-1:-1;6282:14:13;;;6272:25;;6262:2;;6316:6;6308;6301:22;6262:2;6344:5;;-1:-1:-1;6401:2:13;6386:18;;6373:32;;6414:35;6373:32;6414:35;:::i;:::-;6468:7;;-1:-1:-1;6528:3:13;6513:19;;6500:33;;6545:16;;;6542:2;;;6579:6;6571;6564:22;6542:2;;6623:62;6677:7;6666:8;6655:9;6651:24;6623:62;:::i;:::-;5783:962;;;;-1:-1:-1;5783:962:13;;-1:-1:-1;5783:962:13;;;;6597:88;;-1:-1:-1;;;5783:962:13:o;6750:484::-;;;;6904:2;6892:9;6883:7;6879:23;6875:32;6872:2;;;6925:6;6917;6910:22;6872:2;6953:30;6973:9;6953:30;:::i;:::-;6943:40;;7034:2;7023:9;7019:18;7006:32;-1:-1:-1;;;;;7053:6:13;7050:30;7047:2;;;7098:6;7090;7083:22;7047:2;7126:51;7169:7;7160:6;7149:9;7145:22;7126:51;:::i;:::-;7116:61;;;7224:2;7213:9;7209:18;7196:32;7186:42;;6862:372;;;;;:::o;7239:923::-;;;;;;;7453:3;7441:9;7432:7;7428:23;7424:33;7421:2;;;7475:6;7467;7460:22;7421:2;7503:30;7523:9;7503:30;:::i;:::-;7493:40;;7584:2;7573:9;7569:18;7556:32;-1:-1:-1;;;;;7648:2:13;7640:6;7637:14;7634:2;;;7669:6;7661;7654:22;7634:2;7697:51;7740:7;7731:6;7720:9;7716:22;7697:51;:::i;:::-;7687:61;;7795:2;7784:9;7780:18;7767:32;7757:42;;7849:2;7838:9;7834:18;7821:32;7808:45;;7862:33;7889:5;7862:33;:::i;:::-;7914:5;;-1:-1:-1;7966:3:13;7951:19;;7938:33;;-1:-1:-1;8024:3:13;8009:19;;7996:33;;8041:16;;;8038:2;;;8075:6;8067;8060:22;8038:2;;8103:53;8148:7;8137:8;8126:9;8122:24;8103:53;:::i;:::-;8093:63;;;7411:751;;;;;;;;:::o;8167:401::-;;;;8312:2;8300:9;8291:7;8287:23;8283:32;8280:2;;;8333:6;8325;8318:22;8280:2;8361:30;8381:9;8361:30;:::i;:::-;8351:40;;8438:2;8427:9;8423:18;8410:32;8400:42;;8492:2;8481:9;8477:18;8464:32;8505:33;8532:5;8505:33;:::i;:::-;8557:5;8547:15;;;8270:298;;;;;:::o;8573:478::-;;;;;8743:3;8731:9;8722:7;8718:23;8714:33;8711:2;;;8765:6;8757;8750:22;8711:2;8793:30;8813:9;8793:30;:::i;:::-;8783:40;;8870:2;8859:9;8855:18;8842:32;8832:42;;8921:2;8910:9;8906:18;8893:32;8883:42;;8975:2;8964:9;8960:18;8947:32;8988:33;9015:5;8988:33;:::i;:::-;8701:350;;;;-1:-1:-1;8701:350:13;;-1:-1:-1;;8701:350:13:o;9056:1115::-;;;;;;;;;9321:3;9309:9;9300:7;9296:23;9292:33;9289:2;;;9343:6;9335;9328:22;9289:2;9371:30;9391:9;9371:30;:::i;:::-;9361:40;;9448:2;9437:9;9433:18;9420:32;9410:42;;9499:2;9488:9;9484:18;9471:32;9461:42;;9553:2;9542:9;9538:18;9525:32;9566:33;9593:5;9566:33;:::i;:::-;9618:5;-1:-1:-1;9670:3:13;9655:19;;9642:33;;-1:-1:-1;9726:3:13;9711:19;;9698:33;-1:-1:-1;;;;;9780:14:13;;;9777:2;;;9812:6;9804;9797:22;9777:2;9856:60;9908:7;9899:6;9888:9;9884:22;9856:60;:::i;:::-;9935:8;;-1:-1:-1;9830:86:13;-1:-1:-1;10023:3:13;10008:19;;9995:33;;-1:-1:-1;10040:16:13;;;10037:2;;;10074:6;10066;10059:22;10037:2;;10102:63;10157:7;10146:8;10135:9;10131:24;10102:63;:::i;:::-;10092:73;;;9279:892;;;;;;;;;;;:::o;10176:1184::-;;;;;;;;;;10458:3;10446:9;10437:7;10433:23;10429:33;10426:2;;;10480:6;10472;10465:22;10426:2;10508:30;10528:9;10508:30;:::i;:::-;10498:40;;10585:2;10574:9;10570:18;10557:32;10547:42;;10636:2;10625:9;10621:18;10608:32;10598:42;;10690:2;10679:9;10675:18;10662:32;10703:33;10730:5;10703:33;:::i;:::-;10755:5;-1:-1:-1;10807:3:13;10792:19;;10779:33;;-1:-1:-1;10859:3:13;10844:19;;10831:33;;-1:-1:-1;10915:3:13;10900:19;;10887:33;-1:-1:-1;;;;;10969:14:13;;;10966:2;;;11001:6;10993;10986:22;10966:2;11045:60;11097:7;11088:6;11077:9;11073:22;11045:60;:::i;:::-;11124:8;;-1:-1:-1;11019:86:13;-1:-1:-1;11212:3:13;11197:19;;11184:33;;-1:-1:-1;11229:16:13;;;11226:2;;;11263:6;11255;11248:22;11226:2;;11291:63;11346:7;11335:8;11324:9;11320:24;11291:63;:::i;:::-;11281:73;;;10416:944;;;;;;;;;;;:::o;11365:1417::-;;;;;;;;;;;;11684:3;11672:9;11663:7;11659:23;11655:33;11652:2;;;11706:6;11698;11691:22;11652:2;11734:30;11754:9;11734:30;:::i;:::-;11724:40;;11811:2;11800:9;11796:18;11783:32;11773:42;;11862:2;11851:9;11847:18;11834:32;11824:42;;11885:48;11929:2;11918:9;11914:18;11885:48;:::i;:::-;11875:58;;11980:3;11969:9;11965:19;11952:33;11942:43;;12032:3;12021:9;12017:19;12004:33;11994:43;;-1:-1:-1;;;;;12124:2:13;12117:3;12106:9;12102:19;12089:33;12086:41;12083:2;;;12145:6;12137;12130:22;12083:2;12173:88;12253:7;12245:3;12234:9;12230:19;12217:33;12206:9;12202:49;12173:88;:::i;:::-;12163:98;;12311:2;12304:3;12293:9;12289:19;12276:33;12273:41;12270:2;;;12332:6;12324;12317:22;12270:2;12376:87;12455:7;12447:3;12436:9;12432:19;12419:33;12408:9;12404:49;12376:87;:::i;:::-;12482:8;;-1:-1:-1;12509:8:13;-1:-1:-1;12560:3:13;12545:19;;12532:33;12529:41;-1:-1:-1;12526:2:13;;;12588:6;12580;12573:22;12526:2;;12633:87;12712:7;12704:3;12693:9;12689:19;12676:33;12665:9;12661:49;12633:87;:::i;:::-;12739:8;12729:18;;12767:9;12756:20;;;;11642:1140;;;;;;;;;;;;;;:::o;12787:1230::-;;;;;;;;13027:3;13015:9;13006:7;13002:23;12998:33;12995:2;;;13049:6;13041;13034:22;12995:2;13077:30;13097:9;13077:30;:::i;:::-;13067:40;;13157:2;13146:9;13142:18;13129:32;13201:4;13194:5;13190:16;13183:5;13180:27;13170:2;;13226:6;13218;13211:22;13170:2;13254:5;-1:-1:-1;13310:2:13;13295:18;;13282:32;-1:-1:-1;;;;;13363:14:13;;;13360:2;;;13395:6;13387;13380:22;13360:2;13439:60;13491:7;13482:6;13471:9;13467:22;13439:60;:::i;:::-;13518:8;;-1:-1:-1;13413:86:13;-1:-1:-1;13606:2:13;13591:18;;13578:32;;-1:-1:-1;13622:16:13;;;13619:2;;;13656:6;13648;13641:22;13619:2;13700:62;13754:7;13743:8;13732:9;13728:24;13700:62;:::i;:::-;13781:8;;-1:-1:-1;13674:88:13;-1:-1:-1;13869:3:13;13854:19;;13841:33;;-1:-1:-1;13886:16:13;;;13883:2;;;13920:6;13912;13905:22;13883:2;;13948:63;14003:7;13992:8;13981:9;13977:24;13948:63;:::i;:::-;13938:73;;;12985:1032;;;;;;;;;;:::o;14022:190::-;;14134:2;14122:9;14113:7;14109:23;14105:32;14102:2;;;14155:6;14147;14140:22;14102:2;-1:-1:-1;14183:23:13;;14092:120;-1:-1:-1;14092:120:13:o;14217:194::-;;14340:2;14328:9;14319:7;14315:23;14311:32;14308:2;;;14361:6;14353;14346:22;14308:2;-1:-1:-1;14389:16:13;;14298:113;-1:-1:-1;14298:113:13:o;14416:327::-;;;14545:2;14533:9;14524:7;14520:23;14516:32;14513:2;;;14566:6;14558;14551:22;14513:2;14607:9;14594:23;14584:33;;14667:2;14656:9;14652:18;14639:32;14680:33;14707:5;14680:33;:::i;14748:255::-;;;14888:2;14876:9;14867:7;14863:23;14859:32;14856:2;;;14909:6;14901;14894:22;14856:2;-1:-1:-1;;14937:16:13;;14993:2;14978:18;;;14972:25;14937:16;;14972:25;;-1:-1:-1;14846:157:13:o;15008:395::-;;;;15154:2;15142:9;15133:7;15129:23;15125:32;15122:2;;;15175:6;15167;15160:22;15122:2;15216:9;15203:23;15193:33;;15273:2;15262:9;15258:18;15245:32;15235:42;;15327:2;15316:9;15312:18;15299:32;15340:33;15367:5;15340:33;:::i;15408:270::-;;15498:6;15493:3;15486:19;15550:6;15543:5;15536:4;15531:3;15527:14;15514:43;15602:3;15595:4;15586:6;15581:3;15577:16;15573:27;15566:40;15667:4;15660:2;15656:7;15651:2;15643:6;15639:15;15635:29;15630:3;15626:39;15622:50;15615:57;;15476:202;;;;;:::o;15683:259::-;;15764:5;15758:12;15791:6;15786:3;15779:19;15807:63;15863:6;15856:4;15851:3;15847:14;15840:4;15833:5;15829:16;15807:63;:::i;:::-;15924:2;15903:15;-1:-1:-1;;15899:29:13;15890:39;;;;15931:4;15886:50;;15734:208;-1:-1:-1;;15734:208:13:o;15947:311::-;;16036:5;16030:12;16025:3;16018:25;16092:4;16085:5;16081:16;16075:23;16068:4;16063:3;16059:14;16052:47;16145:4;16138:5;16134:16;16128:23;16183:4;16176;16171:3;16167:14;16160:28;16204:48;16246:4;16241:3;16237:14;16223:12;16204:48;:::i;16263:229::-;16412:2;16408:15;;;;-1:-1:-1;;16404:53:13;16392:66;;16483:2;16474:12;;16382:110::o;16497:394::-;;16719:26;16715:31;16706:6;16702:2;16698:15;16694:53;16689:3;16682:66;16792:6;16784;16779:2;16774:3;16770:12;16757:42;16822:16;;16840:2;16818:25;16852:15;;;16818:25;16672:219;-1:-1:-1;;16672:219:13:o;16896:395::-;;17108:26;17104:31;17095:6;17091:2;17087:15;17083:53;17078:3;17071:66;17166:6;17160:13;17182:62;17237:6;17232:2;17227:3;17223:12;17216:4;17208:6;17204:17;17182:62;:::i;:::-;17264:16;;;;17282:2;17260:25;;17061:230;-1:-1:-1;;;17061:230:13:o;17296:273::-;;17479:6;17471;17466:3;17453:33;17505:16;;17530:15;;;17505:16;17443:126;-1:-1:-1;17443:126:13:o;17574:564::-;;17857:6;17849;17844:3;17831:33;17951:2;17947:15;;;-1:-1:-1;;17943:53:13;17883:16;;;17932:65;;;18040:6;18032;18027:2;18019:11;;18006:41;18070:15;;;18087:2;18066:24;18099:15;;;-1:-1:-1;18066:24:13;17821:317;-1:-1:-1;;;;17821:317:13:o;18143:274::-;;18310:6;18304:13;18326:53;18372:6;18367:3;18360:4;18352:6;18348:17;18326:53;:::i;:::-;18395:16;;;;;18280:137;-1:-1:-1;;18280:137:13:o;18422:203::-;-1:-1:-1;;;;;18586:32:13;;;;18568:51;;18556:2;18541:18;;18523:102::o;18630:375::-;-1:-1:-1;;;;;18888:15:13;;;18870:34;;18940:15;;;;18935:2;18920:18;;18913:43;18987:2;18972:18;;18965:34;;;;18820:2;18805:18;;18787:218::o;19010:274::-;-1:-1:-1;;;;;19202:32:13;;;;19184:51;;19266:2;19251:18;;19244:34;19172:2;19157:18;;19139:145::o;19289:187::-;19454:14;;19447:22;19429:41;;19417:2;19402:18;;19384:92::o;19481:177::-;19627:25;;;19615:2;19600:18;;19582:76::o;20127:350::-;20329:2;20311:21;;;20368:2;20348:18;;;20341:30;20407:28;20402:2;20387:18;;20380:56;20468:2;20453:18;;20301:176::o;20482:346::-;20684:2;20666:21;;;20723:2;20703:18;;;20696:30;-1:-1:-1;;;20757:2:13;20742:18;;20735:52;20819:2;20804:18;;20656:172::o;20833:352::-;21035:2;21017:21;;;21074:2;21054:18;;;21047:30;21113;21108:2;21093:18;;21086:58;21176:2;21161:18;;21007:178::o;21190:348::-;21392:2;21374:21;;;21431:2;21411:18;;;21404:30;21470:26;21465:2;21450:18;;21443:54;21529:2;21514:18;;21364:174::o;21543:353::-;21745:2;21727:21;;;21784:2;21764:18;;;21757:30;21823:31;21818:2;21803:18;;21796:59;21887:2;21872:18;;21717:179::o;21901:348::-;22103:2;22085:21;;;22142:2;22122:18;;;22115:30;22181:26;22176:2;22161:18;;22154:54;22240:2;22225:18;;22075:174::o;22254:354::-;22456:2;22438:21;;;22495:2;22475:18;;;22468:30;22534:32;22529:2;22514:18;;22507:60;22599:2;22584:18;;22428:180::o;22613:345::-;22815:2;22797:21;;;22854:2;22834:18;;;22827:30;-1:-1:-1;;;22888:2:13;22873:18;;22866:51;22949:2;22934:18;;22787:171::o;22963:350::-;23165:2;23147:21;;;23204:2;23184:18;;;23177:30;23243:28;23238:2;23223:18;;23216:56;23304:2;23289:18;;23137:176::o;23318:414::-;23520:2;23502:21;;;23559:2;23539:18;;;23532:30;23598:34;23593:2;23578:18;;23571:62;-1:-1:-1;;;23664:2:13;23649:18;;23642:48;23722:3;23707:19;;23492:240::o;23737:348::-;23939:2;23921:21;;;23978:2;23958:18;;;23951:30;24017:26;24012:2;23997:18;;23990:54;24076:2;24061:18;;23911:174::o;24090:353::-;24292:2;24274:21;;;24331:2;24311:18;;;24304:30;24370:31;24365:2;24350:18;;24343:59;24434:2;24419:18;;24264:179::o;24448:418::-;24706:13;;-1:-1:-1;;;;;24702:22:13;;;24684:41;;24785:4;24773:17;;;24767:24;24763:33;;;24741:20;;;24734:63;24853:4;24841:17;;;24835:24;24813:20;;;24806:54;;;;24634:2;24619:18;;24601:265::o;24871:706::-;;25186:6;25178;25174:19;25163:9;25156:38;25230:3;25225:2;25214:9;25210:18;25203:31;25257:47;25299:3;25288:9;25284:19;25276:6;25257:47;:::i;:::-;25335:2;25320:18;;25313:34;;;-1:-1:-1;;;;;25383:32:13;;25378:2;25363:18;;25356:60;25447:3;25432:19;;25425:35;;;25497:22;;;25403:3;25476:19;;25469:51;25537:34;25501:6;25556;25537:34;:::i;:::-;25529:42;25146:431;-1:-1:-1;;;;;;;;;25146:431:13:o;25582:536::-;;25841:6;25833;25829:19;25818:9;25811:38;25885:3;25880:2;25869:9;25865:18;25858:31;25912:47;25954:3;25943:9;25939:19;25931:6;25912:47;:::i;:::-;25995:6;25990:2;25979:9;25975:18;25968:34;26050:9;26042:6;26038:22;26033:2;26022:9;26018:18;26011:50;26078:34;26105:6;26097;26078:34;:::i;26123:356::-;26353:6;26341:19;;;;26323:38;;26392:2;26377:18;;26370:34;;;;-1:-1:-1;;;;;26440:32:13;26435:2;26420:18;;26413:60;26311:2;26296:18;;26278:201::o;26484:444::-;26759:6;26747:19;;;;26729:38;;26798:2;26783:18;;26776:34;;;;26841:2;26826:18;;26819:34;-1:-1:-1;;;;;26889:32:13;26884:2;26869:18;;26862:60;26716:3;26701:19;;26683:245::o;26933:863::-;;27334:6;27326;27322:19;27311:9;27304:38;27378:6;27373:2;27362:9;27358:18;27351:34;27421:6;27416:2;27405:9;27401:18;27394:34;27493:1;27489;27484:3;27480:11;27476:19;27468:6;27464:32;27459:2;27448:9;27444:18;27437:60;27534:6;27528:3;27517:9;27513:19;27506:35;27578:3;27572;27561:9;27557:19;27550:32;27605:64;27664:3;27653:9;27649:19;27641:6;27633;27605:64;:::i;:::-;27718:9;27710:6;27706:22;27700:3;27689:9;27685:19;27678:51;27746:44;27783:6;27775;27746:44;:::i;:::-;27738:52;27294:502;-1:-1:-1;;;;;;;;;;;27294:502:13:o;27801:955::-;;28210:3;28252:6;28244;28240:19;28229:9;28222:38;28296:6;28291:2;28280:9;28276:18;28269:34;28339:6;28334:2;28323:9;28319:18;28312:34;28411:1;28407;28402:3;28398:11;28394:19;28386:6;28382:32;28377:2;28366:9;28362:18;28355:60;28452:6;28446:3;28435:9;28431:19;28424:35;28496:6;28490:3;28479:9;28475:19;28468:35;28540:2;28534:3;28523:9;28519:19;28512:31;28566:63;28625:2;28614:9;28610:18;28602:6;28594;28566:63;:::i;:::-;28552:77;;28678:9;28670:6;28666:22;28660:3;28649:9;28645:19;28638:51;28706:44;28743:6;28735;28706:44;:::i;:::-;28698:52;28190:566;-1:-1:-1;;;;;;;;;;;;28190:566:13:o;28761:1091::-;;29206:3;29248:6;29240;29236:19;29225:9;29218:38;29292:6;29287:2;29276:9;29272:18;29265:34;29335:6;29330:2;29319:9;29315:18;29308:34;29407:1;29403;29398:3;29394:11;29390:19;29382:6;29378:32;29373:2;29362:9;29358:18;29351:60;29448:6;29442:3;29431:9;29427:19;29420:35;29492:6;29486:3;29475:9;29471:19;29464:35;29536:2;29530:3;29519:9;29515:19;29508:31;29562:56;29614:2;29603:9;29599:18;29591:6;29562:56;:::i;:::-;29548:70;;29667:9;29659:6;29655:22;29649:3;29638:9;29634:19;29627:51;29701:34;29728:6;29720;29701:34;:::i;:::-;29687:48;;29784:9;29776:6;29772:22;29766:3;29755:9;29751:19;29744:51;29812:34;29839:6;29831;29812:34;:::i;29857:775::-;;30200:6;30192;30188:19;30177:9;30170:38;30256:4;30248:6;30244:17;30239:2;30228:9;30224:18;30217:45;30298:3;30293:2;30282:9;30278:18;30271:31;30325:64;30384:3;30373:9;30369:19;30361:6;30353;30325:64;:::i;:::-;30437:9;30429:6;30425:22;30420:2;30409:9;30405:18;30398:50;30471:34;30498:6;30490;30471:34;:::i;:::-;30457:48;;30554:9;30546:6;30542:22;30536:3;30525:9;30521:19;30514:51;30582:44;30619:6;30611;30582:44;:::i;30819:248::-;30993:25;;;31049:2;31034:18;;31027:34;30981:2;30966:18;;30948:119::o;31072:345::-;31274:25;;;31330:2;31315:18;;31308:34;;;;-1:-1:-1;;;;;31378:32:13;31373:2;31358:18;;31351:60;31262:2;31247:18;;31229:188::o;31780:258::-;31852:1;31862:113;31876:6;31873:1;31870:13;31862:113;;;31952:11;;;31946:18;31933:11;;;31926:39;31898:2;31891:10;31862:113;;;31993:6;31990:1;31987:13;31984:2;;;-1:-1:-1;;32028:1:13;32010:16;;32003:27;31833:205::o;32043:133::-;-1:-1:-1;;;;;32120:31:13;;32110:42;;32100:2;;32166:1;32163;32156:12;32100:2;32090:86;:::o
Swarm Source
ipfs://86575e2083f629297ba6b88471211b137437785396b61a37634b6f22f529bd18
Loading...
Loading
Loading...
Loading
Net Worth in USD
$3,033.63
Net Worth in ETH
1.545786
Token Allocations
USDT
99.99%
USDC
0.01%
USDC.E
0.01%
Multichain Portfolio | 33 Chains
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.