Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
BewSwap
Compiler Version
v0.8.3+commit.8d00100c
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-11-11 */ // File: contracts/interfaces/IUniRouter.sol pragma solidity >=0.6.2; interface IUniRouter { function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } // File: @openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20Upgradeable { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @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; 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"); (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"); (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"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // 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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol pragma solidity ^0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20Upgradeable { using AddressUpgradeable for address; function safeTransfer( IERC20Upgradeable token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20Upgradeable 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( IERC20Upgradeable token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20Upgradeable token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20Upgradeable token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @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(IERC20Upgradeable token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: @openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol pragma solidity ^0.8.0; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Modifier to protect an initializer function from being invoked twice. */ modifier initializer() { require(_initializing || !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } } // File: @openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol pragma solidity ^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 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 ContextUpgradeable is Initializable { function __Context_init() internal initializer { __Context_init_unchained(); } function __Context_init_unchained() internal initializer { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } uint256[50] private __gap; } // File: @openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol pragma solidity ^0.8.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 ReentrancyGuardUpgradeable is Initializable { // 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; function __ReentrancyGuard_init() internal initializer { __ReentrancyGuard_init_unchained(); } function __ReentrancyGuard_init_unchained() internal initializer { _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; } uint256[49] private __gap; } // File: contracts/BewSwapImplement.sol pragma solidity ^0.8.0; contract BewSwap is Initializable, ContextUpgradeable, ReentrancyGuardUpgradeable { using SafeERC20Upgradeable for IERC20Upgradeable; uint256 public constant feePctScale = 1e6; uint256 public safeMinGas; uint256 private _feePct; address private _owner; address private _pendingOwner; address payable private _feeAccount; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); event OwnershipAccepted(address indexed previousOwner, address indexed newOwner); event FeePctUpdated(uint256 indexed previousFeePct, uint256 indexed newFeePct); event FeeAccountUpdated(address indexed previousFeeAccount, address indexed newFeeAccount); event FeeReceived(address indexed token, uint256 indexed amount); constructor() public { } function initialize(address owner, address payable feeAccount, uint256 feePct) external { __BewSwap_init(owner, feeAccount, feePct); } function __BewSwap_init(address owner, address payable feeAccount, uint256 feePct) internal initializer { __Context_init_unchained(); __ReentrancyGuard_init_unchained(); __BewSwap_init_unchained(owner, feeAccount, feePct); } function __BewSwap_init_unchained(address owner, address payable feeAccount, uint256 feePct) internal initializer { require(feePct <= feePctScale, "BewSwap: fee pct is larger than fee pct scale"); require(owner != address(0), "BewSwap: owner is the zero address"); require(feeAccount != address(0), "BewSwap: fee account is the zero address"); _owner = owner; _feePct = feePct; _feeAccount = feeAccount; safeMinGas = 2300; emit OwnershipTransferred(address(0), owner); emit FeePctUpdated(0, feePct); emit FeeAccountUpdated(address(0), feeAccount); } fallback() external payable {} function owner() external view returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender(), "BewSwap: caller is not the owner"); _; } function transferOwnership(address newOwner) external onlyOwner { require(newOwner != address(0), "BewSwap: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _pendingOwner = newOwner; } function acceptOwnership() external { require(msg.sender == _pendingOwner, "BewSwap: invalid new owner"); emit OwnershipAccepted(_owner, _pendingOwner); _owner = _pendingOwner; _pendingOwner = address(0); } function feePct() external view returns (uint256) { return _feePct; } function updateFeePct(uint256 newFeePct) external onlyOwner { require(newFeePct != _feePct, "BewSwap: new fee pct is the same as the current fee pct"); require(newFeePct <= feePctScale, "BewSwap: new fee pct should larger than fee pct scale"); emit FeePctUpdated(_feePct, newFeePct); _feePct = newFeePct; } function feeAccount() external view returns (address) { return _feeAccount; } function updateSafeMinGas(uint256 _safeMinGas) external onlyOwner { require(2300 <= _safeMinGas, "BewSwap: 2300 <= _safeMinGas"); safeMinGas = _safeMinGas; } function updateFeeAccount(address payable newFeeAccount) external onlyOwner { require(newFeeAccount != address(0), "BewSwap: new fee account is the zero address"); require(newFeeAccount != _feeAccount, "BewSwap: new fee account is the same as current fee account"); emit FeeAccountUpdated(_feeAccount, newFeeAccount); _feeAccount = newFeeAccount; } function swapExactTokensForTokens( IUniRouter router, uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external nonReentrant { IERC20Upgradeable fromToken = IERC20Upgradeable(path[0]); fromToken.safeTransferFrom(msg.sender, address(this), amountIn); fromToken.safeIncreaseAllowance(address(router), amountIn); router.swapExactTokensForTokensSupportingFeeOnTransferTokens(amountIn, amountOutMin, path, address(this), deadline); IERC20Upgradeable toToken = IERC20Upgradeable(path[path.length-1]); uint256 toTokenBalance = toToken.balanceOf(address(this)); require(toTokenBalance >= amountOutMin, "BewSwap: get less to tokens than expected"); uint256 feeAmount = (toTokenBalance * _feePct) / feePctScale; uint256 remainAmount = toTokenBalance - feeAmount; // charge fee and transfer balance to to address toToken.safeTransfer(to, remainAmount); if (feeAmount != 0) { toToken.safeTransfer(_feeAccount, feeAmount); emit FeeReceived(address(toToken), feeAmount); } } function swapTokensForExactTokens( IUniRouter router, uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external nonReentrant { IERC20Upgradeable fromToken = IERC20Upgradeable(path[0]); fromToken.safeTransferFrom(msg.sender, address(this), amountInMax); fromToken.safeIncreaseAllowance(address(router), amountInMax); router.swapTokensForExactTokens(amountOut, amountInMax , path, address(this), deadline); IERC20Upgradeable toToken = IERC20Upgradeable(path[path.length-1]); uint256 toTokenBalance = toToken.balanceOf(address(this)); require(toTokenBalance >= amountOut, "BewSwap: get less to tokens than expected"); uint256 feeAmount = (toTokenBalance * _feePct) / feePctScale; uint256 remainAmount = toTokenBalance - feeAmount; // charge fee and transfer balance to to address toToken.safeTransfer(to, remainAmount); if (feeAmount != 0) { toToken.safeTransfer( _feeAccount, feeAmount); emit FeeReceived(address(toToken), feeAmount); } // return remain from tokens uint256 fromTokenBalance = fromToken.balanceOf(address(this)); if (fromTokenBalance != 0) { fromToken.safeTransfer(to, fromTokenBalance); } } function swapExactETHForTokens( IUniRouter router, uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable nonReentrant { router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: msg.value}(amountOutMin, path, address(this), deadline); IERC20Upgradeable toToken = IERC20Upgradeable(path[path.length-1]); uint256 toTokenBalance = toToken.balanceOf(address(this)); require(toTokenBalance >= amountOutMin, "BewSwap: get less to tokens than expected"); uint256 feeAmount = (toTokenBalance * _feePct) / feePctScale; uint256 remainAmount = toTokenBalance - feeAmount; // charge fee and transfer balance to to address toToken.safeTransfer(to, remainAmount); if (feeAmount != 0) { toToken.safeTransfer(_feeAccount, feeAmount); emit FeeReceived(address(toToken), feeAmount); } } function swapTokensForExactETH( IUniRouter router, uint amountOut, uint amountInMax, address[] calldata path, address payable to, uint deadline ) external nonReentrant { IERC20Upgradeable fromToken = IERC20Upgradeable(path[0]); fromToken.safeTransferFrom(msg.sender, address(this), amountInMax); fromToken.safeIncreaseAllowance(address(router), amountInMax); router.swapTokensForExactETH(amountOut, amountInMax, path, address(this), deadline); uint256 ethBalance = address(this).balance; require(ethBalance >= amountOut, "BewSwap: get less eth than expected"); uint256 feeAmount = (ethBalance * _feePct) / feePctScale; uint256 remainAmount = ethBalance - feeAmount; // charge fee and transfer balance to to address _safeTransferETH(to, remainAmount); if (feeAmount != 0) { _safeTransferETH(_feeAccount, feeAmount); emit FeeReceived(address(0), feeAmount); } // return remain from tokens uint256 fromTokenBalance = fromToken.balanceOf(address(this)); if (fromTokenBalance != 0) { fromToken.safeTransfer(to, fromTokenBalance); } } function swapExactTokensForETH( IUniRouter router, uint amountIn, uint amountOutMin, address[] calldata path, address payable to, uint deadline ) external nonReentrant { IERC20Upgradeable fromToken = IERC20Upgradeable(path[0]); fromToken.safeTransferFrom(msg.sender, address(this), amountIn); fromToken.safeIncreaseAllowance(address(router), amountIn); router.swapExactTokensForETHSupportingFeeOnTransferTokens(amountIn, amountOutMin, path, address(this), deadline); uint256 ethBalance = address(this).balance; require(ethBalance >= amountOutMin, "BewSwap: get less eth than expected"); uint256 feeAmount = (ethBalance * _feePct) / feePctScale; uint256 remainAmount = ethBalance - feeAmount; // charge fee and transfer balance to to address _safeTransferETH(to, remainAmount); if (feeAmount != 0) { _safeTransferETH(_feeAccount, feeAmount); emit FeeReceived(address(0), feeAmount); } } function swapETHForExactTokens( IUniRouter router, uint amountOut, address[] calldata path, address payable to, uint deadline ) external payable nonReentrant { router.swapETHForExactTokens{value: msg.value}(amountOut, path, address(this), deadline); IERC20Upgradeable toToken = IERC20Upgradeable(path[path.length-1]); uint256 toTokenBalance = toToken.balanceOf(address(this)); require(toTokenBalance >= amountOut, "BewSwap: get less to tokens than expected"); uint256 feeAmount = (toTokenBalance * _feePct) / feePctScale; uint256 remainAmount = toTokenBalance - feeAmount; // charge fee and transfer balance to to address if (feeAmount != 0) { toToken.safeTransfer(_feeAccount, feeAmount); emit FeeReceived(address(0), feeAmount); } toToken.safeTransfer(to, remainAmount); // return remain eth uint256 ethBalance = address(this).balance; if (ethBalance != 0) { _safeTransferETH(to, ethBalance); } } function _safeTransferETH(address to, uint256 value) internal { (bool success, ) = to.call{gas: safeMinGas, value: value}(""); require(success, "BewSwap: transfer eth failed"); } uint256[50] private __gap; }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousFeeAccount","type":"address"},{"indexed":true,"internalType":"address","name":"newFeeAccount","type":"address"}],"name":"FeeAccountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"previousFeePct","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"newFeePct","type":"uint256"}],"name":"FeePctUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FeeReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipAccepted","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeAccount","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feePct","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feePctScale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address payable","name":"feeAccount","type":"address"},{"internalType":"uint256","name":"feePct","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"safeMinGas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IUniRouter","name":"router","type":"address"},{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address payable","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapETHForExactTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract IUniRouter","name":"router","type":"address"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactETHForTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"contract IUniRouter","name":"router","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address payable","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactTokensForETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IUniRouter","name":"router","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactTokensForTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IUniRouter","name":"router","type":"address"},{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"amountInMax","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address payable","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapTokensForExactETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IUniRouter","name":"router","type":"address"},{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"amountInMax","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapTokensForExactTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newFeeAccount","type":"address"}],"name":"updateFeeAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newFeePct","type":"uint256"}],"name":"updateFeePct","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_safeMinGas","type":"uint256"}],"name":"updateSafeMinGas","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50612435806100206000396000f3fe6080604052600436106100fe5760003560e01c80639c91fcb511610095578063cfc9680011610064578063cfc9680014610276578063f2fde38b1461028d578063fa3219d5146102ad578063fde1adda146102cd578063fff13ee7146102e0576100fe565b80639c91fcb51461020e578063a02cf9371461022e578063b05f579e14610243578063b11ccfc614610256576100fe565b8063395f0356116100d1578063395f03561461018957806365e17c9d146101a957806379ba5097146101db5780638da5cb5b146101f0576100fe565b80631794bb3c1461010057806322b5841014610120578063239d784e14610140578063375734d914610169575b005b34801561010c57600080fd5b506100fe61011b366004611e15565b610300565b34801561012c57600080fd5b506100fe61013b366004612034565b610310565b34801561014c57600080fd5b5061015660655481565b6040519081526020015b60405180910390f35b34801561017557600080fd5b506100fe610184366004612034565b61063f565b34801561019557600080fd5b506100fe6101a4366004612082565b6108ac565b3480156101b557600080fd5b506069546001600160a01b03165b6040516001600160a01b039091168152602001610160565b3480156101e757600080fd5b506100fe61092d565b3480156101fc57600080fd5b506067546001600160a01b03166101c3565b34801561021a57600080fd5b506100fe610229366004611faf565b6109ed565b34801561023a57600080fd5b50606654610156565b6100fe610251366004611f35565b610b81565b34801561026257600080fd5b506100fe610271366004612082565b610da5565b34801561028257600080fd5b50610156620f424081565b34801561029957600080fd5b506100fe6102a8366004611df9565b610eec565b3480156102b957600080fd5b506100fe6102c8366004611faf565b610fd7565b6100fe6102db366004611f35565b611213565b3480156102ec57600080fd5b506100fe6102fb366004611df9565b61141f565b61030b838383611594565b505050565b6002603354141561033c5760405162461bcd60e51b815260040161033390612215565b60405180910390fd5b600260335560008484828161036157634e487b7160e01b600052603260045260246000fd5b90506020020160208101906103769190611df9565b905061038d6001600160a01b03821633308961161e565b6103a16001600160a01b0382168988611689565b604051634401edf760e11b81526001600160a01b03891690638803dbee906103d7908a908a908a908a9030908a906004016122c6565b600060405180830381600087803b1580156103f157600080fd5b505af1158015610405573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261042d9190810190611e55565b506000858561043d60018261235b565b81811061045a57634e487b7160e01b600052603260045260246000fd5b905060200201602081019061046f9190611df9565b6040516370a0823160e01b81523060048201529091506000906001600160a01b038316906370a082319060240160206040518083038186803b1580156104b457600080fd5b505afa1580156104c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ec919061209a565b90508881101561050e5760405162461bcd60e51b815260040161033390612197565b6000620f424060665483610522919061233c565b61052c919061231c565b9050600061053a828461235b565b90506105506001600160a01b038516888361174a565b811561059557606954610570906001600160a01b0386811691168461174a565b60405182906001600160a01b038616906000805160206123e083398151915290600090a35b6040516370a0823160e01b81523060048201526000906001600160a01b038716906370a082319060240160206040518083038186803b1580156105d757600080fd5b505afa1580156105eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060f919061209a565b9050801561062b5761062b6001600160a01b038716898361174a565b505060016033555050505050505050505050565b600260335414156106625760405162461bcd60e51b815260040161033390612215565b600260335560008484828161068757634e487b7160e01b600052603260045260246000fd5b905060200201602081019061069c9190611df9565b90506106b36001600160a01b03821633308a61161e565b6106c76001600160a01b0382168989611689565b604051635c11d79560e01b81526001600160a01b03891690635c11d795906106fd908a908a908a908a9030908a906004016122c6565b600060405180830381600087803b15801561071757600080fd5b505af115801561072b573d6000803e3d6000fd5b506000925087915086905061074160018261235b565b81811061075e57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906107739190611df9565b6040516370a0823160e01b81523060048201529091506000906001600160a01b038316906370a082319060240160206040518083038186803b1580156107b857600080fd5b505afa1580156107cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f0919061209a565b9050878110156108125760405162461bcd60e51b815260040161033390612197565b6000620f424060665483610826919061233c565b610830919061231c565b9050600061083e828461235b565b90506108546001600160a01b038516888361174a565b811561089957606954610874906001600160a01b0386811691168461174a565b60405182906001600160a01b038616906000805160206123e083398151915290600090a35b5050600160335550505050505050505050565b6067546001600160a01b031633146108d65760405162461bcd60e51b8152600401610333906121e0565b806108fc11156109285760405162461bcd60e51b815260206004820152601c60248201527f426577537761703a2032333030203c3d205f736166654d696e476173000000006044820152606401610333565b606555565b6068546001600160a01b031633146109875760405162461bcd60e51b815260206004820152601a60248201527f426577537761703a20696e76616c6964206e6577206f776e65720000000000006044820152606401610333565b6068546067546040516001600160a01b0392831692909116907f357bdeb5828fa83945f38a88510ce5cd7d628dafb346d767efbc693149fdd97c90600090a360688054606780546001600160a01b03199081166001600160a01b03841617909155169055565b60026033541415610a105760405162461bcd60e51b815260040161033390612215565b6002603355600084848281610a3557634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610a4a9190611df9565b9050610a616001600160a01b03821633308a61161e565b610a756001600160a01b0382168989611689565b60405163791ac94760e01b81526001600160a01b0389169063791ac94790610aab908a908a908a908a9030908a906004016122c6565b600060405180830381600087803b158015610ac557600080fd5b505af1158015610ad9573d6000803e3d6000fd5b50479250505086811015610aff5760405162461bcd60e51b81526004016103339061224c565b6000620f424060665483610b13919061233c565b610b1d919061231c565b90506000610b2b828461235b565b9050610b37868261177a565b8115610b6f57606954610b53906001600160a01b03168361177a565b60405182906000906000805160206123e0833981519152908290a35b50506001603355505050505050505050565b60026033541415610ba45760405162461bcd60e51b815260040161033390612215565b600260335560405163fb3bdb4160e01b81526001600160a01b0387169063fb3bdb41903490610bdf908990899089903090899060040161228f565b6000604051808303818588803b158015610bf857600080fd5b505af1158015610c0c573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f19168201604052610c359190810190611e55565b5060008484610c4560018261235b565b818110610c6257634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610c779190611df9565b6040516370a0823160e01b81523060048201529091506000906001600160a01b038316906370a082319060240160206040518083038186803b158015610cbc57600080fd5b505afa158015610cd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf4919061209a565b905086811015610d165760405162461bcd60e51b815260040161033390612197565b6000620f424060665483610d2a919061233c565b610d34919061231c565b90506000610d42828461235b565b90508115610d8057606954610d64906001600160a01b0386811691168461174a565b60405182906000906000805160206123e0833981519152908290a35b610d946001600160a01b038516878361174a565b478015610b6f57610b6f878261177a565b6067546001600160a01b03163314610dcf5760405162461bcd60e51b8152600401610333906121e0565b606654811415610e475760405162461bcd60e51b815260206004820152603760248201527f426577537761703a206e65772066656520706374206973207468652073616d6560448201527f206173207468652063757272656e7420666565207063740000000000000000006064820152608401610333565b620f4240811115610eb85760405162461bcd60e51b815260206004820152603560248201527f426577537761703a206e657720666565207063742073686f756c64206c6172676044820152746572207468616e2066656520706374207363616c6560581b6064820152608401610333565b6066546040518291907f441874922705ff49ceb98aca375d3f784fbd73a1094641f00c4005586b2724eb90600090a3606655565b6067546001600160a01b03163314610f165760405162461bcd60e51b8152600401610333906121e0565b6001600160a01b038116610f7b5760405162461bcd60e51b815260206004820152602660248201527f426577537761703a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610333565b6067546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3606880546001600160a01b0319166001600160a01b0392909216919091179055565b60026033541415610ffa5760405162461bcd60e51b815260040161033390612215565b600260335560008484828161101f57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906110349190611df9565b905061104b6001600160a01b03821633308961161e565b61105f6001600160a01b0382168988611689565b604051632512eca560e11b81526001600160a01b03891690634a25d94a90611095908a908a908a908a9030908a906004016122c6565b600060405180830381600087803b1580156110af57600080fd5b505af11580156110c3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110eb9190810190611e55565b50478781101561110d5760405162461bcd60e51b81526004016103339061224c565b6000620f424060665483611121919061233c565b61112b919061231c565b90506000611139828461235b565b9050611145868261177a565b811561117d57606954611161906001600160a01b03168361177a565b60405182906000906000805160206123e0833981519152908290a35b6040516370a0823160e01b81523060048201526000906001600160a01b038616906370a082319060240160206040518083038186803b1580156111bf57600080fd5b505afa1580156111d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f7919061209a565b90508015610899576108996001600160a01b038616888361174a565b600260335414156112365760405162461bcd60e51b815260040161033390612215565b600260335560405163b6f9de9560e01b81526001600160a01b0387169063b6f9de95903490611271908990899089903090899060040161228f565b6000604051808303818588803b15801561128a57600080fd5b505af115801561129e573d6000803e3d6000fd5b50600093508792508691506112b6905060018261235b565b8181106112d357634e487b7160e01b600052603260045260246000fd5b90506020020160208101906112e89190611df9565b6040516370a0823160e01b81523060048201529091506000906001600160a01b038316906370a082319060240160206040518083038186803b15801561132d57600080fd5b505afa158015611341573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611365919061209a565b9050868110156113875760405162461bcd60e51b815260040161033390612197565b6000620f42406066548361139b919061233c565b6113a5919061231c565b905060006113b3828461235b565b90506113c96001600160a01b038516878361174a565b811561140e576069546113e9906001600160a01b0386811691168461174a565b60405182906001600160a01b038616906000805160206123e083398151915290600090a35b505060016033555050505050505050565b6067546001600160a01b031633146114495760405162461bcd60e51b8152600401610333906121e0565b6001600160a01b0381166114b45760405162461bcd60e51b815260206004820152602c60248201527f426577537761703a206e657720666565206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b6064820152608401610333565b6069546001600160a01b03828116911614156115385760405162461bcd60e51b815260206004820152603b60248201527f426577537761703a206e657720666565206163636f756e74206973207468652060448201527f73616d652061732063757272656e7420666565206163636f756e7400000000006064820152608401610333565b6069546040516001600160a01b038084169216907f63f8f609737c2dc01ff1d619040ccd6cb6d0e1e7b04f5271d959deefa09ef54b90600090a3606980546001600160a01b0319166001600160a01b0392909216919091179055565b600054610100900460ff16806115ad575060005460ff16155b6115c95760405162461bcd60e51b815260040161033390612149565b600054610100900460ff161580156115eb576000805461ffff19166101011790555b6115f3611821565b6115fb61188d565b6116068484846118fd565b8015611618576000805461ff00191690555b50505050565b6040516001600160a01b03808516602483015283166044820152606481018290526116189085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611b63565b604051636eb1769f60e11b81523060048201526001600160a01b038381166024830152600091839186169063dd62ed3e9060440160206040518083038186803b1580156116d557600080fd5b505afa1580156116e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061170d919061209a565b6117179190612304565b6040516001600160a01b03851660248201526044810182905290915061161890859063095ea7b360e01b90606401611652565b6040516001600160a01b03831660248201526044810182905261030b90849063a9059cbb60e01b90606401611652565b6000826001600160a01b031660655483604051600060405180830381858888f193505050503d80600081146117cb576040519150601f19603f3d011682016040523d82523d6000602084013e6117d0565b606091505b505090508061030b5760405162461bcd60e51b815260206004820152601c60248201527f426577537761703a207472616e7366657220657468206661696c6564000000006044820152606401610333565b600054610100900460ff168061183a575060005460ff16155b6118565760405162461bcd60e51b815260040161033390612149565b600054610100900460ff16158015611878576000805461ffff19166101011790555b801561188a576000805461ff00191690555b50565b600054610100900460ff16806118a6575060005460ff16155b6118c25760405162461bcd60e51b815260040161033390612149565b600054610100900460ff161580156118e4576000805461ffff19166101011790555b6001603355801561188a576000805461ff001916905550565b600054610100900460ff1680611916575060005460ff16155b6119325760405162461bcd60e51b815260040161033390612149565b600054610100900460ff16158015611954576000805461ffff19166101011790555b620f42408211156119bd5760405162461bcd60e51b815260206004820152602d60248201527f426577537761703a2066656520706374206973206c6172676572207468616e2060448201526c66656520706374207363616c6560981b6064820152608401610333565b6001600160a01b038416611a1e5760405162461bcd60e51b815260206004820152602260248201527f426577537761703a206f776e657220697320746865207a65726f206164647265604482015261737360f01b6064820152608401610333565b6001600160a01b038316611a855760405162461bcd60e51b815260206004820152602860248201527f426577537761703a20666565206163636f756e7420697320746865207a65726f604482015267206164647265737360c01b6064820152608401610333565b606780546001600160a01b038087166001600160a01b03199283168117909355606685905560698054918716919092161790556108fc6065556040516000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a360405182906000907f441874922705ff49ceb98aca375d3f784fbd73a1094641f00c4005586b2724eb908290a36040516001600160a01b038416906000907f63f8f609737c2dc01ff1d619040ccd6cb6d0e1e7b04f5271d959deefa09ef54b908290a38015611618576000805461ff001916905550505050565b6000611bb8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611c359092919063ffffffff16565b80519091501561030b5780806020019051810190611bd69190611f15565b61030b5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610333565b6060611c448484600085611c4e565b90505b9392505050565b606082471015611caf5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610333565b843b611cfd5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610333565b600080866001600160a01b03168587604051611d1991906120fa565b60006040518083038185875af1925050503d8060008114611d56576040519150601f19603f3d011682016040523d82523d6000602084013e611d5b565b606091505b5091509150611d6b828286611d76565b979650505050505050565b60608315611d85575081611c47565b825115611d955782518084602001fd5b8160405162461bcd60e51b81526004016103339190612116565b60008083601f840112611dc0578081fd5b50813567ffffffffffffffff811115611dd7578182fd5b6020830191508360208260051b8501011115611df257600080fd5b9250929050565b600060208284031215611e0a578081fd5b8135611c47816123ca565b600080600060608486031215611e29578182fd5b8335611e34816123ca565b92506020840135611e44816123ca565b929592945050506040919091013590565b60006020808385031215611e67578182fd5b825167ffffffffffffffff80821115611e7e578384fd5b818501915085601f830112611e91578384fd5b815181811115611ea357611ea36123b4565b8060051b604051601f19603f83011681018181108582111715611ec857611ec86123b4565b604052828152858101935084860182860187018a1015611ee6578788fd5b8795505b83861015611f08578051855260019590950194938601938601611eea565b5098975050505050505050565b600060208284031215611f26578081fd5b81518015158114611c47578182fd5b60008060008060008060a08789031215611f4d578182fd5b8635611f58816123ca565b955060208701359450604087013567ffffffffffffffff811115611f7a578283fd5b611f8689828a01611daf565b9095509350506060870135611f9a816123ca565b80925050608087013590509295509295509295565b600080600080600080600060c0888a031215611fc9578081fd5b8735611fd4816123ca565b96506020880135955060408801359450606088013567ffffffffffffffff811115611ffd578182fd5b6120098a828b01611daf565b909550935050608088013561201d816123ca565b8092505060a0880135905092959891949750929550565b600080600080600080600060c0888a03121561204e578283fd5b8735612059816123ca565b96506020880135955060408801359450606088013567ffffffffffffffff811115611ffd578384fd5b600060208284031215612093578081fd5b5035919050565b6000602082840312156120ab578081fd5b5051919050565b60008284526020808501945082825b858110156120ef5781356120d4816123ca565b6001600160a01b0316875295820195908201906001016120c1565b509495945050505050565b6000825161210c818460208701612372565b9190910192915050565b6000602082528251806020840152612135816040850160208701612372565b601f01601f19169190910160400192915050565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b60208082526029908201527f426577537761703a20676574206c65737320746f20746f6b656e73207468616e60408201526808195e1c1958dd195960ba1b606082015260800190565b6020808252818101527f426577537761703a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526023908201527f426577537761703a20676574206c65737320657468207468616e2065787065636040820152621d195960ea1b606082015260800190565b6000868252608060208301526122a96080830186886120b2565b6001600160a01b0394909416604083015250606001529392505050565b600087825286602083015260a060408301526122e660a0830186886120b2565b6001600160a01b039490941660608301525060800152949350505050565b600082198211156123175761231761239e565b500190565b60008261233757634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156123565761235661239e565b500290565b60008282101561236d5761236d61239e565b500390565b60005b8381101561238d578181015183820152602001612375565b838111156116185750506000910152565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461188a57600080fdfebb527541f6cc244ae00ab689f8c23d072a30a3b4176021df62ea1c2bac8aa226a26469706673582212208ed9e89caacb557d7738c04e6427c05c01ee66e7caea569a47427b29facffdf264736f6c63430008030033
Deployed Bytecode
0x6080604052600436106100fe5760003560e01c80639c91fcb511610095578063cfc9680011610064578063cfc9680014610276578063f2fde38b1461028d578063fa3219d5146102ad578063fde1adda146102cd578063fff13ee7146102e0576100fe565b80639c91fcb51461020e578063a02cf9371461022e578063b05f579e14610243578063b11ccfc614610256576100fe565b8063395f0356116100d1578063395f03561461018957806365e17c9d146101a957806379ba5097146101db5780638da5cb5b146101f0576100fe565b80631794bb3c1461010057806322b5841014610120578063239d784e14610140578063375734d914610169575b005b34801561010c57600080fd5b506100fe61011b366004611e15565b610300565b34801561012c57600080fd5b506100fe61013b366004612034565b610310565b34801561014c57600080fd5b5061015660655481565b6040519081526020015b60405180910390f35b34801561017557600080fd5b506100fe610184366004612034565b61063f565b34801561019557600080fd5b506100fe6101a4366004612082565b6108ac565b3480156101b557600080fd5b506069546001600160a01b03165b6040516001600160a01b039091168152602001610160565b3480156101e757600080fd5b506100fe61092d565b3480156101fc57600080fd5b506067546001600160a01b03166101c3565b34801561021a57600080fd5b506100fe610229366004611faf565b6109ed565b34801561023a57600080fd5b50606654610156565b6100fe610251366004611f35565b610b81565b34801561026257600080fd5b506100fe610271366004612082565b610da5565b34801561028257600080fd5b50610156620f424081565b34801561029957600080fd5b506100fe6102a8366004611df9565b610eec565b3480156102b957600080fd5b506100fe6102c8366004611faf565b610fd7565b6100fe6102db366004611f35565b611213565b3480156102ec57600080fd5b506100fe6102fb366004611df9565b61141f565b61030b838383611594565b505050565b6002603354141561033c5760405162461bcd60e51b815260040161033390612215565b60405180910390fd5b600260335560008484828161036157634e487b7160e01b600052603260045260246000fd5b90506020020160208101906103769190611df9565b905061038d6001600160a01b03821633308961161e565b6103a16001600160a01b0382168988611689565b604051634401edf760e11b81526001600160a01b03891690638803dbee906103d7908a908a908a908a9030908a906004016122c6565b600060405180830381600087803b1580156103f157600080fd5b505af1158015610405573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261042d9190810190611e55565b506000858561043d60018261235b565b81811061045a57634e487b7160e01b600052603260045260246000fd5b905060200201602081019061046f9190611df9565b6040516370a0823160e01b81523060048201529091506000906001600160a01b038316906370a082319060240160206040518083038186803b1580156104b457600080fd5b505afa1580156104c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ec919061209a565b90508881101561050e5760405162461bcd60e51b815260040161033390612197565b6000620f424060665483610522919061233c565b61052c919061231c565b9050600061053a828461235b565b90506105506001600160a01b038516888361174a565b811561059557606954610570906001600160a01b0386811691168461174a565b60405182906001600160a01b038616906000805160206123e083398151915290600090a35b6040516370a0823160e01b81523060048201526000906001600160a01b038716906370a082319060240160206040518083038186803b1580156105d757600080fd5b505afa1580156105eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060f919061209a565b9050801561062b5761062b6001600160a01b038716898361174a565b505060016033555050505050505050505050565b600260335414156106625760405162461bcd60e51b815260040161033390612215565b600260335560008484828161068757634e487b7160e01b600052603260045260246000fd5b905060200201602081019061069c9190611df9565b90506106b36001600160a01b03821633308a61161e565b6106c76001600160a01b0382168989611689565b604051635c11d79560e01b81526001600160a01b03891690635c11d795906106fd908a908a908a908a9030908a906004016122c6565b600060405180830381600087803b15801561071757600080fd5b505af115801561072b573d6000803e3d6000fd5b506000925087915086905061074160018261235b565b81811061075e57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906107739190611df9565b6040516370a0823160e01b81523060048201529091506000906001600160a01b038316906370a082319060240160206040518083038186803b1580156107b857600080fd5b505afa1580156107cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f0919061209a565b9050878110156108125760405162461bcd60e51b815260040161033390612197565b6000620f424060665483610826919061233c565b610830919061231c565b9050600061083e828461235b565b90506108546001600160a01b038516888361174a565b811561089957606954610874906001600160a01b0386811691168461174a565b60405182906001600160a01b038616906000805160206123e083398151915290600090a35b5050600160335550505050505050505050565b6067546001600160a01b031633146108d65760405162461bcd60e51b8152600401610333906121e0565b806108fc11156109285760405162461bcd60e51b815260206004820152601c60248201527f426577537761703a2032333030203c3d205f736166654d696e476173000000006044820152606401610333565b606555565b6068546001600160a01b031633146109875760405162461bcd60e51b815260206004820152601a60248201527f426577537761703a20696e76616c6964206e6577206f776e65720000000000006044820152606401610333565b6068546067546040516001600160a01b0392831692909116907f357bdeb5828fa83945f38a88510ce5cd7d628dafb346d767efbc693149fdd97c90600090a360688054606780546001600160a01b03199081166001600160a01b03841617909155169055565b60026033541415610a105760405162461bcd60e51b815260040161033390612215565b6002603355600084848281610a3557634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610a4a9190611df9565b9050610a616001600160a01b03821633308a61161e565b610a756001600160a01b0382168989611689565b60405163791ac94760e01b81526001600160a01b0389169063791ac94790610aab908a908a908a908a9030908a906004016122c6565b600060405180830381600087803b158015610ac557600080fd5b505af1158015610ad9573d6000803e3d6000fd5b50479250505086811015610aff5760405162461bcd60e51b81526004016103339061224c565b6000620f424060665483610b13919061233c565b610b1d919061231c565b90506000610b2b828461235b565b9050610b37868261177a565b8115610b6f57606954610b53906001600160a01b03168361177a565b60405182906000906000805160206123e0833981519152908290a35b50506001603355505050505050505050565b60026033541415610ba45760405162461bcd60e51b815260040161033390612215565b600260335560405163fb3bdb4160e01b81526001600160a01b0387169063fb3bdb41903490610bdf908990899089903090899060040161228f565b6000604051808303818588803b158015610bf857600080fd5b505af1158015610c0c573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f19168201604052610c359190810190611e55565b5060008484610c4560018261235b565b818110610c6257634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610c779190611df9565b6040516370a0823160e01b81523060048201529091506000906001600160a01b038316906370a082319060240160206040518083038186803b158015610cbc57600080fd5b505afa158015610cd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf4919061209a565b905086811015610d165760405162461bcd60e51b815260040161033390612197565b6000620f424060665483610d2a919061233c565b610d34919061231c565b90506000610d42828461235b565b90508115610d8057606954610d64906001600160a01b0386811691168461174a565b60405182906000906000805160206123e0833981519152908290a35b610d946001600160a01b038516878361174a565b478015610b6f57610b6f878261177a565b6067546001600160a01b03163314610dcf5760405162461bcd60e51b8152600401610333906121e0565b606654811415610e475760405162461bcd60e51b815260206004820152603760248201527f426577537761703a206e65772066656520706374206973207468652073616d6560448201527f206173207468652063757272656e7420666565207063740000000000000000006064820152608401610333565b620f4240811115610eb85760405162461bcd60e51b815260206004820152603560248201527f426577537761703a206e657720666565207063742073686f756c64206c6172676044820152746572207468616e2066656520706374207363616c6560581b6064820152608401610333565b6066546040518291907f441874922705ff49ceb98aca375d3f784fbd73a1094641f00c4005586b2724eb90600090a3606655565b6067546001600160a01b03163314610f165760405162461bcd60e51b8152600401610333906121e0565b6001600160a01b038116610f7b5760405162461bcd60e51b815260206004820152602660248201527f426577537761703a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610333565b6067546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3606880546001600160a01b0319166001600160a01b0392909216919091179055565b60026033541415610ffa5760405162461bcd60e51b815260040161033390612215565b600260335560008484828161101f57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906110349190611df9565b905061104b6001600160a01b03821633308961161e565b61105f6001600160a01b0382168988611689565b604051632512eca560e11b81526001600160a01b03891690634a25d94a90611095908a908a908a908a9030908a906004016122c6565b600060405180830381600087803b1580156110af57600080fd5b505af11580156110c3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110eb9190810190611e55565b50478781101561110d5760405162461bcd60e51b81526004016103339061224c565b6000620f424060665483611121919061233c565b61112b919061231c565b90506000611139828461235b565b9050611145868261177a565b811561117d57606954611161906001600160a01b03168361177a565b60405182906000906000805160206123e0833981519152908290a35b6040516370a0823160e01b81523060048201526000906001600160a01b038616906370a082319060240160206040518083038186803b1580156111bf57600080fd5b505afa1580156111d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f7919061209a565b90508015610899576108996001600160a01b038616888361174a565b600260335414156112365760405162461bcd60e51b815260040161033390612215565b600260335560405163b6f9de9560e01b81526001600160a01b0387169063b6f9de95903490611271908990899089903090899060040161228f565b6000604051808303818588803b15801561128a57600080fd5b505af115801561129e573d6000803e3d6000fd5b50600093508792508691506112b6905060018261235b565b8181106112d357634e487b7160e01b600052603260045260246000fd5b90506020020160208101906112e89190611df9565b6040516370a0823160e01b81523060048201529091506000906001600160a01b038316906370a082319060240160206040518083038186803b15801561132d57600080fd5b505afa158015611341573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611365919061209a565b9050868110156113875760405162461bcd60e51b815260040161033390612197565b6000620f42406066548361139b919061233c565b6113a5919061231c565b905060006113b3828461235b565b90506113c96001600160a01b038516878361174a565b811561140e576069546113e9906001600160a01b0386811691168461174a565b60405182906001600160a01b038616906000805160206123e083398151915290600090a35b505060016033555050505050505050565b6067546001600160a01b031633146114495760405162461bcd60e51b8152600401610333906121e0565b6001600160a01b0381166114b45760405162461bcd60e51b815260206004820152602c60248201527f426577537761703a206e657720666565206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b6064820152608401610333565b6069546001600160a01b03828116911614156115385760405162461bcd60e51b815260206004820152603b60248201527f426577537761703a206e657720666565206163636f756e74206973207468652060448201527f73616d652061732063757272656e7420666565206163636f756e7400000000006064820152608401610333565b6069546040516001600160a01b038084169216907f63f8f609737c2dc01ff1d619040ccd6cb6d0e1e7b04f5271d959deefa09ef54b90600090a3606980546001600160a01b0319166001600160a01b0392909216919091179055565b600054610100900460ff16806115ad575060005460ff16155b6115c95760405162461bcd60e51b815260040161033390612149565b600054610100900460ff161580156115eb576000805461ffff19166101011790555b6115f3611821565b6115fb61188d565b6116068484846118fd565b8015611618576000805461ff00191690555b50505050565b6040516001600160a01b03808516602483015283166044820152606481018290526116189085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611b63565b604051636eb1769f60e11b81523060048201526001600160a01b038381166024830152600091839186169063dd62ed3e9060440160206040518083038186803b1580156116d557600080fd5b505afa1580156116e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061170d919061209a565b6117179190612304565b6040516001600160a01b03851660248201526044810182905290915061161890859063095ea7b360e01b90606401611652565b6040516001600160a01b03831660248201526044810182905261030b90849063a9059cbb60e01b90606401611652565b6000826001600160a01b031660655483604051600060405180830381858888f193505050503d80600081146117cb576040519150601f19603f3d011682016040523d82523d6000602084013e6117d0565b606091505b505090508061030b5760405162461bcd60e51b815260206004820152601c60248201527f426577537761703a207472616e7366657220657468206661696c6564000000006044820152606401610333565b600054610100900460ff168061183a575060005460ff16155b6118565760405162461bcd60e51b815260040161033390612149565b600054610100900460ff16158015611878576000805461ffff19166101011790555b801561188a576000805461ff00191690555b50565b600054610100900460ff16806118a6575060005460ff16155b6118c25760405162461bcd60e51b815260040161033390612149565b600054610100900460ff161580156118e4576000805461ffff19166101011790555b6001603355801561188a576000805461ff001916905550565b600054610100900460ff1680611916575060005460ff16155b6119325760405162461bcd60e51b815260040161033390612149565b600054610100900460ff16158015611954576000805461ffff19166101011790555b620f42408211156119bd5760405162461bcd60e51b815260206004820152602d60248201527f426577537761703a2066656520706374206973206c6172676572207468616e2060448201526c66656520706374207363616c6560981b6064820152608401610333565b6001600160a01b038416611a1e5760405162461bcd60e51b815260206004820152602260248201527f426577537761703a206f776e657220697320746865207a65726f206164647265604482015261737360f01b6064820152608401610333565b6001600160a01b038316611a855760405162461bcd60e51b815260206004820152602860248201527f426577537761703a20666565206163636f756e7420697320746865207a65726f604482015267206164647265737360c01b6064820152608401610333565b606780546001600160a01b038087166001600160a01b03199283168117909355606685905560698054918716919092161790556108fc6065556040516000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a360405182906000907f441874922705ff49ceb98aca375d3f784fbd73a1094641f00c4005586b2724eb908290a36040516001600160a01b038416906000907f63f8f609737c2dc01ff1d619040ccd6cb6d0e1e7b04f5271d959deefa09ef54b908290a38015611618576000805461ff001916905550505050565b6000611bb8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611c359092919063ffffffff16565b80519091501561030b5780806020019051810190611bd69190611f15565b61030b5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610333565b6060611c448484600085611c4e565b90505b9392505050565b606082471015611caf5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610333565b843b611cfd5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610333565b600080866001600160a01b03168587604051611d1991906120fa565b60006040518083038185875af1925050503d8060008114611d56576040519150601f19603f3d011682016040523d82523d6000602084013e611d5b565b606091505b5091509150611d6b828286611d76565b979650505050505050565b60608315611d85575081611c47565b825115611d955782518084602001fd5b8160405162461bcd60e51b81526004016103339190612116565b60008083601f840112611dc0578081fd5b50813567ffffffffffffffff811115611dd7578182fd5b6020830191508360208260051b8501011115611df257600080fd5b9250929050565b600060208284031215611e0a578081fd5b8135611c47816123ca565b600080600060608486031215611e29578182fd5b8335611e34816123ca565b92506020840135611e44816123ca565b929592945050506040919091013590565b60006020808385031215611e67578182fd5b825167ffffffffffffffff80821115611e7e578384fd5b818501915085601f830112611e91578384fd5b815181811115611ea357611ea36123b4565b8060051b604051601f19603f83011681018181108582111715611ec857611ec86123b4565b604052828152858101935084860182860187018a1015611ee6578788fd5b8795505b83861015611f08578051855260019590950194938601938601611eea565b5098975050505050505050565b600060208284031215611f26578081fd5b81518015158114611c47578182fd5b60008060008060008060a08789031215611f4d578182fd5b8635611f58816123ca565b955060208701359450604087013567ffffffffffffffff811115611f7a578283fd5b611f8689828a01611daf565b9095509350506060870135611f9a816123ca565b80925050608087013590509295509295509295565b600080600080600080600060c0888a031215611fc9578081fd5b8735611fd4816123ca565b96506020880135955060408801359450606088013567ffffffffffffffff811115611ffd578182fd5b6120098a828b01611daf565b909550935050608088013561201d816123ca565b8092505060a0880135905092959891949750929550565b600080600080600080600060c0888a03121561204e578283fd5b8735612059816123ca565b96506020880135955060408801359450606088013567ffffffffffffffff811115611ffd578384fd5b600060208284031215612093578081fd5b5035919050565b6000602082840312156120ab578081fd5b5051919050565b60008284526020808501945082825b858110156120ef5781356120d4816123ca565b6001600160a01b0316875295820195908201906001016120c1565b509495945050505050565b6000825161210c818460208701612372565b9190910192915050565b6000602082528251806020840152612135816040850160208701612372565b601f01601f19169190910160400192915050565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b60208082526029908201527f426577537761703a20676574206c65737320746f20746f6b656e73207468616e60408201526808195e1c1958dd195960ba1b606082015260800190565b6020808252818101527f426577537761703a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526023908201527f426577537761703a20676574206c65737320657468207468616e2065787065636040820152621d195960ea1b606082015260800190565b6000868252608060208301526122a96080830186886120b2565b6001600160a01b0394909416604083015250606001529392505050565b600087825286602083015260a060408301526122e660a0830186886120b2565b6001600160a01b039490941660608301525060800152949350505050565b600082198211156123175761231761239e565b500190565b60008261233757634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156123565761235661239e565b500290565b60008282101561236d5761236d61239e565b500390565b60005b8381101561238d578181015183820152602001612375565b838111156116185750506000910152565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461188a57600080fdfebb527541f6cc244ae00ab689f8c23d072a30a3b4176021df62ea1c2bac8aa226a26469706673582212208ed9e89caacb557d7738c04e6427c05c01ee66e7caea569a47427b29facffdf264736f6c63430008030033
Deployed Bytecode Sourcemap
21909:11208:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22757:148;;;;;;;;;;-1:-1:-1;22757:148:0;;;;;:::i;:::-;;:::i;26950:1409::-;;;;;;;;;;-1:-1:-1;26950:1409:0;;;;;:::i;:::-;;:::i;22105:25::-;;;;;;;;;;;;;;;;;;;17256::1;;;17244:2;17229:18;22105:25:0;;;;;;;;25731:1211;;;;;;;;;;-1:-1:-1;25731:1211:0;;;;;:::i;:::-;;:::i;25144:180::-;;;;;;;;;;-1:-1:-1;25144:180:0;;;;;:::i;:::-;;:::i;25045:91::-;;;;;;;;;;-1:-1:-1;25117:11:0;;-1:-1:-1;;;;;25117:11:0;25045:91;;;-1:-1:-1;;;;;8195:32:1;;;8177:51;;8165:2;8150:18;25045:91:0;8132:102:1;24344:247:0;;;;;;;;;;;;;:::i;23873:81::-;;;;;;;;;;-1:-1:-1;23940:6:0;;-1:-1:-1;;;;;23940:6:0;23873:81;;30646:1091;;;;;;;;;;-1:-1:-1;30646:1091:0;;;;;:::i;:::-;;:::i;24599:83::-;;;;;;;;;;-1:-1:-1;24667:7:0;;24599:83;;31745:1126;;;;;;:::i;:::-;;:::i;24690:347::-;;;;;;;;;;-1:-1:-1;24690:347:0;;;;;:::i;:::-;;:::i;22057:41::-;;;;;;;;;;;;22095:3;22057:41;;24089:247;;;;;;;;;;-1:-1:-1;24089:247:0;;;;;:::i;:::-;;:::i;29362:1276::-;;;;;;;;;;-1:-1:-1;29362:1276:0;;;;;:::i;:::-;;:::i;28367:987::-;;;;;;:::i;:::-;;:::i;25332:391::-;;;;;;;;;;-1:-1:-1;25332:391:0;;;;;:::i;:::-;;:::i;22757:148::-;22856:41;22871:5;22878:10;22890:6;22856:14;:41::i;:::-;22757:148;;;:::o;26950:1409::-;20681:1;21444:7;;:19;;21436:63;;;;-1:-1:-1;;;21436:63:0;;;;;;;:::i;:::-;;;;;;;;;20681:1;21577:7;:18;27183:27:::1;27231:4:::0;;27183:27;27231:7;::::1;;-1:-1:-1::0;;;27231:7:0::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;27183:56:::0;-1:-1:-1;27250:66:0::1;-1:-1:-1::0;;;;;27250:26:0;::::1;27277:10;27297:4;27304:11:::0;27250:26:::1;:66::i;:::-;27327:61;-1:-1:-1::0;;;;;27327:31:0;::::1;27367:6:::0;27376:11;27327:31:::1;:61::i;:::-;27401:87;::::0;-1:-1:-1;;;27401:87:0;;-1:-1:-1;;;;;27401:31:0;::::1;::::0;::::1;::::0;:87:::1;::::0;27433:9;;27444:11;;27458:4;;;;27472::::1;::::0;27479:8;;27401:87:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;::::0;;::::1;-1:-1:-1::0;;27401:87:0::1;::::0;::::1;;::::0;::::1;::::0;;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;27501:25:0::1;27547:4:::0;;27552:13:::1;27564:1;27547:4:::0;27552:13:::1;:::i;:::-;27547:19;;;;;-1:-1:-1::0;;;27547:19:0::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;27603:32;::::0;-1:-1:-1;;;27603:32:0;;27629:4:::1;27603:32;::::0;::::1;8177:51:1::0;27501:66:0;;-1:-1:-1;27578:22:0::1;::::0;-1:-1:-1;;;;;27603:17:0;::::1;::::0;::::1;::::0;8150:18:1;;27603:32:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;27578:57;;27672:9;27654:14;:27;;27646:81;;;;-1:-1:-1::0;;;27646:81:0::1;;;;;;;:::i;:::-;27740:17;22095:3;27778:7;;27761:14;:24;;;;:::i;:::-;27760:40;;;;:::i;:::-;27740:60:::0;-1:-1:-1;27811:20:0::1;27834:26;27740:60:::0;27834:14;:26:::1;:::i;:::-;27811:49:::0;-1:-1:-1;27931:38:0::1;-1:-1:-1::0;;;;;27931:20:0;::::1;27952:2:::0;27811:49;27931:20:::1;:38::i;:::-;27984:14:::0;;27980:152:::1;;28037:11;::::0;28015:45:::1;::::0;-1:-1:-1;;;;;28015:20:0;;::::1;::::0;28037:11:::1;28050:9:::0;28015:20:::1;:45::i;:::-;28080:40;::::0;28110:9;;-1:-1:-1;;;;;28080:40:0;::::1;::::0;-1:-1:-1;;;;;;;;;;;28080:40:0;;;::::1;27980:152;28209:34;::::0;-1:-1:-1;;;28209:34:0;;28237:4:::1;28209:34;::::0;::::1;8177:51:1::0;28182:24:0::1;::::0;-1:-1:-1;;;;;28209:19:0;::::1;::::0;::::1;::::0;8150:18:1;;28209:34:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;28182:61:::0;-1:-1:-1;28258:21:0;;28254:98:::1;;28296:44;-1:-1:-1::0;;;;;28296:22:0;::::1;28319:2:::0;28323:16;28296:22:::1;:44::i;:::-;-1:-1:-1::0;;20637:1:0;21756:7;:22;-1:-1:-1;;;;;;;;;;;26950:1409:0:o;25731:1211::-;20681:1;21444:7;;:19;;21436:63;;;;-1:-1:-1;;;21436:63:0;;;;;;;:::i;:::-;20681:1;21577:7;:18;25964:27:::1;26012:4:::0;;25964:27;26012:7;::::1;;-1:-1:-1::0;;;26012:7:0::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;25964:56:::0;-1:-1:-1;26031:63:0::1;-1:-1:-1::0;;;;;26031:26:0;::::1;26058:10;26078:4;26085:8:::0;26031:26:::1;:63::i;:::-;26105:58;-1:-1:-1::0;;;;;26105:31:0;::::1;26145:6:::0;26154:8;26105:31:::1;:58::i;:::-;26174:115;::::0;-1:-1:-1;;;26174:115:0;;-1:-1:-1;;;;;26174:60:0;::::1;::::0;::::1;::::0;:115:::1;::::0;26235:8;;26245:12;;26259:4;;;;26273::::1;::::0;26280:8;;26174:115:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;26302:25:0::1;::::0;-1:-1:-1;26348:4:0;;-1:-1:-1;26348:4:0;;-1:-1:-1;26353:13:0::1;26365:1;26348:4:::0;26353:13:::1;:::i;:::-;26348:19;;;;;-1:-1:-1::0;;;26348:19:0::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;26404:32;::::0;-1:-1:-1;;;26404:32:0;;26430:4:::1;26404:32;::::0;::::1;8177:51:1::0;26302:66:0;;-1:-1:-1;26379:22:0::1;::::0;-1:-1:-1;;;;;26404:17:0;::::1;::::0;::::1;::::0;8150:18:1;;26404:32:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;26379:57;;26473:12;26455:14;:30;;26447:84;;;;-1:-1:-1::0;;;26447:84:0::1;;;;;;;:::i;:::-;26544:17;22095:3;26582:7;;26565:14;:24;;;;:::i;:::-;26564:40;;;;:::i;:::-;26544:60:::0;-1:-1:-1;26615:20:0::1;26638:26;26544:60:::0;26638:14;:26:::1;:::i;:::-;26615:49:::0;-1:-1:-1;26735:38:0::1;-1:-1:-1::0;;;;;26735:20:0;::::1;26756:2:::0;26615:49;26735:20:::1;:38::i;:::-;26788:14:::0;;26784:151:::1;;26840:11;::::0;26819:44:::1;::::0;-1:-1:-1;;;;;26819:20:0;;::::1;::::0;26840:11:::1;26853:9:::0;26819:20:::1;:44::i;:::-;26883:40;::::0;26913:9;;-1:-1:-1;;;;;26883:40:0;::::1;::::0;-1:-1:-1;;;;;;;;;;;26883:40:0;;;::::1;26784:151;-1:-1:-1::0;;20637:1:0;21756:7;:22;-1:-1:-1;;;;;;;;;;25731:1211:0:o;25144:180::-;24002:6;;-1:-1:-1;;;;;24002:6:0;18717:10;24002:22;23994:67;;;;-1:-1:-1;;;23994:67:0;;;;;;;:::i;:::-;25237:11:::1;25229:4;:19;;25221:60;;;::::0;-1:-1:-1;;;25221:60:0;;10647:2:1;25221:60:0::1;::::0;::::1;10629:21:1::0;10686:2;10666:18;;;10659:30;10725;10705:18;;;10698:58;10773:18;;25221:60:0::1;10619:178:1::0;25221:60:0::1;25292:10;:24:::0;25144:180::o;24344:247::-;24413:13;;-1:-1:-1;;;;;24413:13:0;24399:10;:27;24391:66;;;;-1:-1:-1;;;24391:66:0;;12597:2:1;24391:66:0;;;12579:21:1;12636:2;12616:18;;;12609:30;12675:28;12655:18;;;12648:56;12721:18;;24391:66:0;12569:176:1;24391:66:0;24499:13;;24491:6;;24473:40;;-1:-1:-1;;;;;24499:13:0;;;;24491:6;;;;24473:40;;24499:13;;24473:40;24533:13;;;24524:6;:22;;-1:-1:-1;;;;;;24524:22:0;;;-1:-1:-1;;;;;24533:13:0;;24524:22;;;;24557:26;;;24344:247::o;30646:1091::-;20681:1;21444:7;;:19;;21436:63;;;;-1:-1:-1;;;21436:63:0;;;;;;;:::i;:::-;20681:1;21577:7;:18;30884:27:::1;30932:4:::0;;30884:27;30932:7;::::1;;-1:-1:-1::0;;;30932:7:0::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;30884:56:::0;-1:-1:-1;30951:63:0::1;-1:-1:-1::0;;;;;30951:26:0;::::1;30978:10;30998:4;31005:8:::0;30951:26:::1;:63::i;:::-;31025:58;-1:-1:-1::0;;;;;31025:31:0;::::1;31065:6:::0;31074:8;31025:31:::1;:58::i;:::-;31096:112;::::0;-1:-1:-1;;;31096:112:0;;-1:-1:-1;;;;;31096:57:0;::::1;::::0;::::1;::::0;:112:::1;::::0;31154:8;;31164:12;;31178:4;;;;31192::::1;::::0;31199:8;;31096:112:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;31242:21:0::1;::::0;-1:-1:-1;;;31282:26:0;;::::1;;31274:74;;;;-1:-1:-1::0;;;31274:74:0::1;;;;;;;:::i;:::-;31361:17;22095:3;31395:7;;31382:10;:20;;;;:::i;:::-;31381:36;;;;:::i;:::-;31361:56:::0;-1:-1:-1;31428:20:0::1;31451:22;31361:56:::0;31451:10;:22:::1;:::i;:::-;31428:45;;31544:34;31561:2;31565:12;31544:16;:34::i;:::-;31593:14:::0;;31589:141:::1;;31641:11;::::0;31624:40:::1;::::0;-1:-1:-1;;;;;31641:11:0::1;31654:9:::0;31624:16:::1;:40::i;:::-;31684:34;::::0;31708:9;;31704:1:::1;::::0;-1:-1:-1;;;;;;;;;;;31684:34:0;31704:1;;31684:34:::1;31589:141;-1:-1:-1::0;;20637:1:0;21756:7;:22;-1:-1:-1;;;;;;;;;30646:1091:0:o;31745:1126::-;20681:1;21444:7;;:19;;21436:63;;;;-1:-1:-1;;;21436:63:0;;;;;;;:::i;:::-;20681:1;21577:7;:18;31964:88:::1;::::0;-1:-1:-1;;;31964:88:0;;-1:-1:-1;;;;;31964:28:0;::::1;::::0;::::1;::::0;32000:9:::1;::::0;31964:88:::1;::::0;32011:9;;32022:4;;;;32036::::1;::::0;32043:8;;31964:88:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;::::0;;::::1;-1:-1:-1::0;;31964:88:0::1;::::0;::::1;;::::0;::::1;::::0;;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;32065:25:0::1;32111:4:::0;;32116:13:::1;32128:1;32111:4:::0;32116:13:::1;:::i;:::-;32111:19;;;;;-1:-1:-1::0;;;32111:19:0::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;32167:32;::::0;-1:-1:-1;;;32167:32:0;;32193:4:::1;32167:32;::::0;::::1;8177:51:1::0;32065:66:0;;-1:-1:-1;32142:22:0::1;::::0;-1:-1:-1;;;;;32167:17:0;::::1;::::0;::::1;::::0;8150:18:1;;32167:32:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;32142:57;;32236:9;32218:14;:27;;32210:81;;;;-1:-1:-1::0;;;32210:81:0::1;;;;;;;:::i;:::-;32304:17;22095:3;32342:7;;32325:14;:24;;;;:::i;:::-;32324:40;;;;:::i;:::-;32304:60:::0;-1:-1:-1;32375:20:0::1;32398:26;32304:60:::0;32398:14;:26:::1;:::i;:::-;32375:49:::0;-1:-1:-1;32499:14:0;;32495:145:::1;;32551:11;::::0;32530:44:::1;::::0;-1:-1:-1;;;;;32530:20:0;;::::1;::::0;32551:11:::1;32564:9:::0;32530:20:::1;:44::i;:::-;32594:34;::::0;32618:9;;32614:1:::1;::::0;-1:-1:-1;;;;;;;;;;;32594:34:0;32614:1;;32594:34:::1;32495:145;32650:38;-1:-1:-1::0;;;;;32650:20:0;::::1;32671:2:::0;32675:12;32650:20:::1;:38::i;:::-;32752:21;32788:15:::0;;32784:80:::1;;32820:32;32837:2;32841:10;32820:16;:32::i;24690:347::-:0;24002:6;;-1:-1:-1;;;;;24002:6:0;18717:10;24002:22;23994:67;;;;-1:-1:-1;;;23994:67:0;;;;;;;:::i;:::-;24782:7:::1;;24769:9;:20;;24761:88;;;::::0;-1:-1:-1;;;24761:88:0;;14136:2:1;24761:88:0::1;::::0;::::1;14118:21:1::0;14175:2;14155:18;;;14148:30;14214:34;14194:18;;;14187:62;14285:25;14265:18;;;14258:53;14328:19;;24761:88:0::1;14108:245:1::0;24761:88:0::1;22095:3;24868:9;:24;;24860:90;;;::::0;-1:-1:-1;;;24860:90:0;;10225:2:1;24860:90:0::1;::::0;::::1;10207:21:1::0;10264:2;10244:18;;;10237:30;10303:34;10283:18;;;10276:62;-1:-1:-1;;;10354:18:1;;;10347:51;10415:19;;24860:90:0::1;10197:243:1::0;24860:90:0::1;24980:7;::::0;24966:33:::1;::::0;24989:9;;24980:7;24966:33:::1;::::0;;;::::1;25010:7;:19:::0;24690:347::o;24089:247::-;24002:6;;-1:-1:-1;;;;;24002:6:0;18717:10;24002:22;23994:67;;;;-1:-1:-1;;;23994:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;24172:22:0;::::1;24164:73;;;::::0;-1:-1:-1;;;24164:73:0;;15321:2:1;24164:73:0::1;::::0;::::1;15303:21:1::0;15360:2;15340:18;;;15333:30;15399:34;15379:18;;;15372:62;-1:-1:-1;;;15450:18:1;;;15443:36;15496:19;;24164:73:0::1;15293:228:1::0;24164:73:0::1;24276:6;::::0;24255:38:::1;::::0;-1:-1:-1;;;;;24255:38:0;;::::1;::::0;24276:6:::1;::::0;24255:38:::1;::::0;24276:6:::1;::::0;24255:38:::1;24304:13;:24:::0;;-1:-1:-1;;;;;;24304:24:0::1;-1:-1:-1::0;;;;;24304:24:0;;;::::1;::::0;;;::::1;::::0;;24089:247::o;29362:1276::-;20681:1;21444:7;;:19;;21436:63;;;;-1:-1:-1;;;21436:63:0;;;;;;;:::i;:::-;20681:1;21577:7;:18;29591:27:::1;29639:4:::0;;29591:27;29639:7;::::1;;-1:-1:-1::0;;;29639:7:0::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;29591:56:::0;-1:-1:-1;29658:66:0::1;-1:-1:-1::0;;;;;29658:26:0;::::1;29685:10;29705:4;29712:11:::0;29658:26:::1;:66::i;:::-;29735:61;-1:-1:-1::0;;;;;29735:31:0;::::1;29775:6:::0;29784:11;29735:31:::1;:61::i;:::-;29809:83;::::0;-1:-1:-1;;;29809:83:0;;-1:-1:-1;;;;;29809:28:0;::::1;::::0;::::1;::::0;:83:::1;::::0;29838:9;;29849:11;;29862:4;;;;29876::::1;::::0;29883:8;;29809:83:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;::::0;;::::1;-1:-1:-1::0;;29809:83:0::1;::::0;::::1;;::::0;::::1;::::0;;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;29926:21:0::1;29966:23:::0;;::::1;;29958:71;;;;-1:-1:-1::0;;;29958:71:0::1;;;;;;;:::i;:::-;30042:17;22095:3;30076:7;;30063:10;:20;;;;:::i;:::-;30062:36;;;;:::i;:::-;30042:56:::0;-1:-1:-1;30109:20:0::1;30132:22;30042:56:::0;30132:10;:22:::1;:::i;:::-;30109:45;;30225:34;30242:2;30246:12;30225:16;:34::i;:::-;30274:14:::0;;30270:141:::1;;30322:11;::::0;30305:40:::1;::::0;-1:-1:-1;;;;;30322:11:0::1;30335:9:::0;30305:16:::1;:40::i;:::-;30365:34;::::0;30389:9;;30385:1:::1;::::0;-1:-1:-1;;;;;;;;;;;30365:34:0;30385:1;;30365:34:::1;30270:141;30488:34;::::0;-1:-1:-1;;;30488:34:0;;30516:4:::1;30488:34;::::0;::::1;8177:51:1::0;30461:24:0::1;::::0;-1:-1:-1;;;;;30488:19:0;::::1;::::0;::::1;::::0;8150:18:1;;30488:34:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;30461:61:::0;-1:-1:-1;30537:21:0;;30533:98:::1;;30575:44;-1:-1:-1::0;;;;;30575:22:0;::::1;30598:2:::0;30602:16;30575:22:::1;:44::i;28367:987::-:0;20681:1;21444:7;;:19;;21436:63;;;;-1:-1:-1;;;21436:63:0;;;;;;;:::i;:::-;20681:1;21577:7;:18;28581:120:::1;::::0;-1:-1:-1;;;28581:120:0;;-1:-1:-1;;;;;28581:57:0;::::1;::::0;::::1;::::0;28646:9:::1;::::0;28581:120:::1;::::0;28657:12;;28671:4;;;;28685::::1;::::0;28692:8;;28581:120:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;28714:25:0::1;::::0;-1:-1:-1;28760:4:0;;-1:-1:-1;28760:4:0;;-1:-1:-1;28765:13:0::1;::::0;-1:-1:-1;28777:1:0::1;28760:4:::0;28765:13:::1;:::i;:::-;28760:19;;;;;-1:-1:-1::0;;;28760:19:0::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;28816:32;::::0;-1:-1:-1;;;28816:32:0;;28842:4:::1;28816:32;::::0;::::1;8177:51:1::0;28714:66:0;;-1:-1:-1;28791:22:0::1;::::0;-1:-1:-1;;;;;28816:17:0;::::1;::::0;::::1;::::0;8150:18:1;;28816:32:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;28791:57;;28885:12;28867:14;:30;;28859:84;;;;-1:-1:-1::0;;;28859:84:0::1;;;;;;;:::i;:::-;28956:17;22095:3;28994:7;;28977:14;:24;;;;:::i;:::-;28976:40;;;;:::i;:::-;28956:60:::0;-1:-1:-1;29027:20:0::1;29050:26;28956:60:::0;29050:14;:26:::1;:::i;:::-;29027:49:::0;-1:-1:-1;29147:38:0::1;-1:-1:-1::0;;;;;29147:20:0;::::1;29168:2:::0;29027:49;29147:20:::1;:38::i;:::-;29200:14:::0;;29196:151:::1;;29252:11;::::0;29231:44:::1;::::0;-1:-1:-1;;;;;29231:20:0;;::::1;::::0;29252:11:::1;29265:9:::0;29231:20:::1;:44::i;:::-;29295:40;::::0;29325:9;;-1:-1:-1;;;;;29295:40:0;::::1;::::0;-1:-1:-1;;;;;;;;;;;29295:40:0;;;::::1;29196:151;-1:-1:-1::0;;20637:1:0;21756:7;:22;-1:-1:-1;;;;;;;;28367:987:0:o;25332:391::-;24002:6;;-1:-1:-1;;;;;24002:6:0;18717:10;24002:22;23994:67;;;;-1:-1:-1;;;23994:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;25427:27:0;::::1;25419:84;;;::::0;-1:-1:-1;;;25419:84:0;;12952:2:1;25419:84:0::1;::::0;::::1;12934:21:1::0;12991:2;12971:18;;;12964:30;13030:34;13010:18;;;13003:62;-1:-1:-1;;;13081:18:1;;;13074:42;13133:19;;25419:84:0::1;12924:234:1::0;25419:84:0::1;25539:11;::::0;-1:-1:-1;;;;;25522:28:0;;::::1;25539:11:::0;::::1;25522:28;;25514:100;;;::::0;-1:-1:-1;;;25514:100:0;;9797:2:1;25514:100:0::1;::::0;::::1;9779:21:1::0;9836:2;9816:18;;;9809:30;9875:34;9855:18;;;9848:62;9946:29;9926:18;;;9919:57;9993:19;;25514:100:0::1;9769:249:1::0;25514:100:0::1;25650:11;::::0;25632:45:::1;::::0;-1:-1:-1;;;;;25632:45:0;;::::1;::::0;25650:11:::1;::::0;25632:45:::1;::::0;25650:11:::1;::::0;25632:45:::1;25688:11;:27:::0;;-1:-1:-1;;;;;;25688:27:0::1;-1:-1:-1::0;;;;;25688:27:0;;;::::1;::::0;;;::::1;::::0;;25332:391::o;22913:256::-;17440:13;;;;;;;;:30;;-1:-1:-1;17458:12:0;;;;17457:13;17440:30;17432:89;;;;-1:-1:-1;;;17432:89:0;;;;;;;:::i;:::-;17534:19;17557:13;;;;;;17556:14;17581:101;;;;17616:13;:20;;-1:-1:-1;;17651:19:0;;;;;17581:101;23028:26:::1;:24;:26::i;:::-;23065:34;:32;:34::i;:::-;23110:51;23135:5;23142:10;23154:6;23110:24;:51::i;:::-;17712:14:::0;17708:68;;;17759:5;17743:21;;-1:-1:-1;;17743:21:0;;;17708:68;22913:256;;;;:::o;12823:259::-;13005:68;;-1:-1:-1;;;;;8806:15:1;;;13005:68:0;;;8788:34:1;8858:15;;8838:18;;;8831:43;8890:18;;;8883:34;;;12978:96:0;;12998:5;;-1:-1:-1;;;13028:27:0;8723:18:1;;13005:68:0;;;;-1:-1:-1;;13005:68:0;;;;;;;;;;;;;;-1:-1:-1;;;;;13005:68:0;-1:-1:-1;;;;;;13005:68:0;;;;;;;;;;12978:19;:96::i;13986:328::-;14151:39;;-1:-1:-1;;;14151:39:0;;14175:4;14151:39;;;8451:34:1;-1:-1:-1;;;;;8521:15:1;;;8501:18;;;8494:43;14128:20:0;;14193:5;;14151:15;;;;;8386:18:1;;14151:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:47;;;;:::i;:::-;14236:69;;-1:-1:-1;;;;;9120:32:1;;14236:69:0;;;9102:51:1;9169:18;;;9162:34;;;14128:70:0;;-1:-1:-1;14209:97:0;;14229:5;;-1:-1:-1;;;14259:22:0;9075:18:1;;14236:69:0;9057:145:1;12593:222:0;12748:58;;-1:-1:-1;;;;;9120:32:1;;12748:58:0;;;9102:51:1;9169:18;;;9162:34;;;12721:86:0;;12741:5;;-1:-1:-1;;;12771:23:0;9075:18:1;;12748:58:0;9057:145:1;32879:201:0;32953:12;32971:2;-1:-1:-1;;;;;32971:7:0;32984:10;;33003:5;32971:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32952:61;;;33032:7;33024:48;;;;-1:-1:-1;;;33024:48:0;;11825:2:1;33024:48:0;;;11807:21:1;11864:2;11844:18;;;11837:30;11903;11883:18;;;11876:58;11951:18;;33024:48:0;11797:178:1;18566:65:0;17440:13;;;;;;;;:30;;-1:-1:-1;17458:12:0;;;;17457:13;17440:30;17432:89;;;;-1:-1:-1;;;17432:89:0;;;;;;;:::i;:::-;17534:19;17557:13;;;;;;17556:14;17581:101;;;;17616:13;:20;;-1:-1:-1;;17651:19:0;;;;;17581:101;17712:14;17708:68;;;17759:5;17743:21;;-1:-1:-1;;17743:21:0;;;17708:68;18566:65;:::o;20839:106::-;17440:13;;;;;;;;:30;;-1:-1:-1;17458:12:0;;;;17457:13;17440:30;17432:89;;;;-1:-1:-1;;;17432:89:0;;;;;;;:::i;:::-;17534:19;17557:13;;;;;;17556:14;17581:101;;;;17616:13;:20;;-1:-1:-1;;17651:19:0;;;;;17581:101;20637:1:::1;20915:7;:22:::0;17708:68;;;;17759:5;17743:21;;-1:-1:-1;;17743:21:0;;;20839:106;:::o;23177:648::-;17440:13;;;;;;;;:30;;-1:-1:-1;17458:12:0;;;;17457:13;17440:30;17432:89;;;;-1:-1:-1;;;17432:89:0;;;;;;;:::i;:::-;17534:19;17557:13;;;;;;17556:14;17581:101;;;;17616:13;:20;;-1:-1:-1;;17651:19:0;;;;;17581:101;22095:3:::1;23310:6;:21;;23302:79;;;::::0;-1:-1:-1;;;23302:79:0;;11004:2:1;23302:79:0::1;::::0;::::1;10986:21:1::0;11043:2;11023:18;;;11016:30;11082:34;11062:18;;;11055:62;-1:-1:-1;;;11133:18:1;;;11126:43;11186:19;;23302:79:0::1;10976:235:1::0;23302:79:0::1;-1:-1:-1::0;;;;;23400:19:0;::::1;23392:66;;;::::0;-1:-1:-1;;;23392:66:0;;14918:2:1;23392:66:0::1;::::0;::::1;14900:21:1::0;14957:2;14937:18;;;14930:30;14996:34;14976:18;;;14969:62;-1:-1:-1;;;15047:18:1;;;15040:32;15089:19;;23392:66:0::1;14890:224:1::0;23392:66:0::1;-1:-1:-1::0;;;;;23477:24:0;::::1;23469:77;;;::::0;-1:-1:-1;;;23469:77:0;;16903:2:1;23469:77:0::1;::::0;::::1;16885:21:1::0;16942:2;16922:18;;;16915:30;16981:34;16961:18;;;16954:62;-1:-1:-1;;;17032:18:1;;;17025:38;17080:19;;23469:77:0::1;16875:230:1::0;23469:77:0::1;23559:6;:14:::0;;-1:-1:-1;;;;;23559:14:0;;::::1;-1:-1:-1::0;;;;;;23559:14:0;;::::1;::::0;::::1;::::0;;;23584:7:::1;:16:::0;;;23611:11:::1;:24:::0;;;;::::1;::::0;;;::::1;;::::0;;23659:4:::1;23646:10;:17:::0;23681:39:::1;::::0;23559:6:::1;::::0;23681:39:::1;::::0;23559:6;;23681:39:::1;23736:24;::::0;23753:6;;23750:1:::1;::::0;23736:24:::1;::::0;23750:1;;23736:24:::1;23776:41;::::0;-1:-1:-1;;;;;23776:41:0;::::1;::::0;23802:1:::1;::::0;23776:41:::1;::::0;23802:1;;23776:41:::1;17712:14:::0;17708:68;;;17759:5;17743:21;;-1:-1:-1;;17743:21:0;;;23177:648;;;;:::o;15221:727::-;15656:23;15682:69;15710:4;15682:69;;;;;;;;;;;;;;;;;15690:5;-1:-1:-1;;;;;15682:27:0;;;:69;;;;;:::i;:::-;15766:17;;15656:95;;-1:-1:-1;15766:21:0;15762:179;;15863:10;15852:30;;;;;;;;;;;;:::i;:::-;15844:85;;;;-1:-1:-1;;;15844:85:0;;15728:2:1;15844:85:0;;;15710:21:1;15767:2;15747:18;;;15740:30;15806:34;15786:18;;;15779:62;-1:-1:-1;;;15857:18:1;;;15850:40;15907:19;;15844:85:0;15700:232:1;8373:229:0;8510:12;8542:52;8564:6;8572:4;8578:1;8581:12;8542:21;:52::i;:::-;8535:59;;8373:229;;;;;;:::o;9493:510::-;9663:12;9721:5;9696:21;:30;;9688:81;;;;-1:-1:-1;;;9688:81:0;;11418:2:1;9688:81:0;;;11400:21:1;11457:2;11437:18;;;11430:30;11496:34;11476:18;;;11469:62;-1:-1:-1;;;11547:18:1;;;11540:36;11593:19;;9688:81:0;11390:228:1;9688:81:0;5890:20;;9780:60;;;;-1:-1:-1;;;9780:60:0;;14560:2:1;9780:60:0;;;14542:21:1;14599:2;14579:18;;;14572:30;14638:31;14618:18;;;14611:59;14687:18;;9780:60:0;14532:179:1;9780:60:0;9854:12;9868:23;9895:6;-1:-1:-1;;;;;9895:11:0;9914:5;9921:4;9895:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9853:73;;;;9944:51;9961:7;9970:10;9982:12;9944:16;:51::i;:::-;9937:58;9493:510;-1:-1:-1;;;;;;;9493:510:0:o;11202:712::-;11352:12;11381:7;11377:530;;;-1:-1:-1;11412:10:0;11405:17;;11377:530;11526:17;;:21;11522:374;;11724:10;11718:17;11785:15;11772:10;11768:2;11764:19;11757:44;11672:148;11867:12;11860:20;;-1:-1:-1;;;11860:20:0;;;;;;;;:::i;14:391:1:-;;;141:3;134:4;126:6;122:17;118:27;108:2;;164:6;156;149:22;108:2;-1:-1:-1;192:20:1;;235:18;224:30;;221:2;;;274:8;264;257:26;221:2;318:4;310:6;306:17;294:29;;378:3;371:4;361:6;358:1;354:14;346:6;342:27;338:38;335:47;332:2;;;395:1;392;385:12;332:2;98:307;;;;;:::o;410:257::-;;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;587:9;574:23;606:31;631:5;606:31;:::i;942:474::-;;;;1096:2;1084:9;1075:7;1071:23;1067:32;1064:2;;;1117:6;1109;1102:22;1064:2;1161:9;1148:23;1180:31;1205:5;1180:31;:::i;:::-;1230:5;-1:-1:-1;1287:2:1;1272:18;;1259:32;1300:33;1259:32;1300:33;:::i;:::-;1054:362;;1352:7;;-1:-1:-1;;;1406:2:1;1391:18;;;;1378:32;;1054:362::o;1421:1161::-;;1547:2;1590;1578:9;1569:7;1565:23;1561:32;1558:2;;;1611:6;1603;1596:22;1558:2;1649:9;1643:16;1678:18;1719:2;1711:6;1708:14;1705:2;;;1740:6;1732;1725:22;1705:2;1783:6;1772:9;1768:22;1758:32;;1828:7;1821:4;1817:2;1813:13;1809:27;1799:2;;1855:6;1847;1840:22;1799:2;1889;1883:9;1911:2;1907;1904:10;1901:2;;;1917:18;;:::i;:::-;1963:2;1960:1;1956:10;1995:2;1989:9;2058:2;2054:7;2049:2;2045;2041:11;2037:25;2029:6;2025:38;2113:6;2101:10;2098:22;2093:2;2081:10;2078:18;2075:46;2072:2;;;2124:18;;:::i;:::-;2160:2;2153:22;2210:18;;;2244:15;;;;-1:-1:-1;2279:11:1;;;2309;;;2305:20;;2302:33;-1:-1:-1;2299:2:1;;;2353:6;2345;2338:22;2299:2;2380:6;2371:15;;2395:156;2409:2;2406:1;2403:9;2395:156;;;2466:10;;2454:23;;2427:1;2420:9;;;;;2497:12;;;;2529;;2395:156;;;-1:-1:-1;2570:6:1;1527:1055;-1:-1:-1;;;;;;;;1527:1055:1:o;2587:297::-;;2707:2;2695:9;2686:7;2682:23;2678:32;2675:2;;;2728:6;2720;2713:22;2675:2;2765:9;2759:16;2818:5;2811:13;2804:21;2797:5;2794:32;2784:2;;2845:6;2837;2830:22;2889:897;;;;;;;3130:3;3118:9;3109:7;3105:23;3101:33;3098:2;;;3152:6;3144;3137:22;3098:2;3196:9;3183:23;3215:31;3240:5;3215:31;:::i;:::-;3265:5;-1:-1:-1;3317:2:1;3302:18;;3289:32;;-1:-1:-1;3372:2:1;3357:18;;3344:32;3399:18;3388:30;;3385:2;;;3436:6;3428;3421:22;3385:2;3480:70;3542:7;3533:6;3522:9;3518:22;3480:70;:::i;:::-;3569:8;;-1:-1:-1;3454:96:1;-1:-1:-1;;3656:2:1;3641:18;;3628:32;3669:33;3628:32;3669:33;:::i;:::-;3721:7;3711:17;;;3775:3;3764:9;3760:19;3747:33;3737:43;;3088:698;;;;;;;;:::o;4685:966::-;;;;;;;;4943:3;4931:9;4922:7;4918:23;4914:33;4911:2;;;4965:6;4957;4950:22;4911:2;5009:9;4996:23;5028:31;5053:5;5028:31;:::i;:::-;5078:5;-1:-1:-1;5130:2:1;5115:18;;5102:32;;-1:-1:-1;5181:2:1;5166:18;;5153:32;;-1:-1:-1;5236:2:1;5221:18;;5208:32;5263:18;5252:30;;5249:2;;;5300:6;5292;5285:22;5249:2;5344:70;5406:7;5397:6;5386:9;5382:22;5344:70;:::i;:::-;5433:8;;-1:-1:-1;5318:96:1;-1:-1:-1;;5520:3:1;5505:19;;5492:33;5534;5492;5534;:::i;:::-;5586:7;5576:17;;;5640:3;5629:9;5625:19;5612:33;5602:43;;4901:750;;;;;;;;;;:::o;5656:958::-;;;;;;;;5906:3;5894:9;5885:7;5881:23;5877:33;5874:2;;;5928:6;5920;5913:22;5874:2;5972:9;5959:23;5991:31;6016:5;5991:31;:::i;:::-;6041:5;-1:-1:-1;6093:2:1;6078:18;;6065:32;;-1:-1:-1;6144:2:1;6129:18;;6116:32;;-1:-1:-1;6199:2:1;6184:18;;6171:32;6226:18;6215:30;;6212:2;;;6263:6;6255;6248:22;6619:190;;6731:2;6719:9;6710:7;6706:23;6702:32;6699:2;;;6752:6;6744;6737:22;6699:2;-1:-1:-1;6780:23:1;;6689:120;-1:-1:-1;6689:120:1:o;6814:194::-;;6937:2;6925:9;6916:7;6912:23;6908:32;6905:2;;;6958:6;6950;6943:22;6905:2;-1:-1:-1;6986:16:1;;6895:113;-1:-1:-1;6895:113:1:o;7013:524::-;;7113:6;7108:3;7101:19;7139:4;7168:2;7163:3;7159:12;7152:19;;7194:5;7217:3;7229:283;7243:6;7240:1;7237:13;7229:283;;;7320:6;7307:20;7340:33;7365:7;7340:33;:::i;:::-;-1:-1:-1;;;;;7398:33:1;7386:46;;7452:12;;;;7487:15;;;;7428:1;7258:9;7229:283;;;-1:-1:-1;7528:3:1;;7091:446;-1:-1:-1;;;;;7091:446:1:o;7542:274::-;;7709:6;7703:13;7725:53;7771:6;7766:3;7759:4;7751:6;7747:17;7725:53;:::i;:::-;7794:16;;;;;7679:137;-1:-1:-1;;7679:137:1:o;9207:383::-;;9356:2;9345:9;9338:21;9388:6;9382:13;9431:6;9426:2;9415:9;9411:18;9404:34;9447:66;9506:6;9501:2;9490:9;9486:18;9481:2;9473:6;9469:15;9447:66;:::i;:::-;9574:2;9553:15;-1:-1:-1;;9549:29:1;9534:45;;;;9581:2;9530:54;;9328:262;-1:-1:-1;;9328:262:1:o;11980:410::-;12182:2;12164:21;;;12221:2;12201:18;;;12194:30;12260:34;12255:2;12240:18;;12233:62;-1:-1:-1;;;12326:2:1;12311:18;;12304:44;12380:3;12365:19;;12154:236::o;13163:405::-;13365:2;13347:21;;;13404:2;13384:18;;;13377:30;13443:34;13438:2;13423:18;;13416:62;-1:-1:-1;;;13509:2:1;13494:18;;13487:39;13558:3;13543:19;;13337:231::o;13573:356::-;13775:2;13757:21;;;13794:18;;;13787:30;13853:34;13848:2;13833:18;;13826:62;13920:2;13905:18;;13747:182::o;15937:355::-;16139:2;16121:21;;;16178:2;16158:18;;;16151:30;16217:33;16212:2;16197:18;;16190:61;16283:2;16268:18;;16111:181::o;16297:399::-;16499:2;16481:21;;;16538:2;16518:18;;;16511:30;16577:34;16572:2;16557:18;;16550:62;-1:-1:-1;;;16643:2:1;16628:18;;16621:33;16686:3;16671:19;;16471:225::o;17292:529::-;;17565:6;17554:9;17547:25;17608:3;17603:2;17592:9;17588:18;17581:31;17629:74;17698:3;17687:9;17683:19;17675:6;17667;17629:74;:::i;:::-;-1:-1:-1;;;;;17739:32:1;;;;17734:2;17719:18;;17712:60;-1:-1:-1;17803:2:1;17788:18;17781:34;17621:82;17537:284;-1:-1:-1;;;17537:284:1:o;17826:601::-;;18127:6;18116:9;18109:25;18170:6;18165:2;18154:9;18150:18;18143:34;18213:3;18208:2;18197:9;18193:18;18186:31;18234:74;18303:3;18292:9;18288:19;18280:6;18272;18234:74;:::i;:::-;-1:-1:-1;;;;;18344:32:1;;;;18339:2;18324:18;;18317:60;-1:-1:-1;18408:3:1;18393:19;18386:35;18226:82;18099:328;-1:-1:-1;;;;18099:328:1:o;18432:128::-;;18503:1;18499:6;18496:1;18493:13;18490:2;;;18509:18;;:::i;:::-;-1:-1:-1;18545:9:1;;18480:80::o;18565:217::-;;18631:1;18621:2;;-1:-1:-1;;;18656:31:1;;18710:4;18707:1;18700:15;18738:4;18663:1;18728:15;18621:2;-1:-1:-1;18767:9:1;;18611:171::o;18787:168::-;;18893:1;18889;18885:6;18881:14;18878:1;18875:21;18870:1;18863:9;18856:17;18852:45;18849:2;;;18900:18;;:::i;:::-;-1:-1:-1;18940:9:1;;18839:116::o;18960:125::-;;19028:1;19025;19022:8;19019:2;;;19033:18;;:::i;:::-;-1:-1:-1;19070:9:1;;19009:76::o;19090:258::-;19162:1;19172:113;19186:6;19183:1;19180:13;19172:113;;;19262:11;;;19256:18;19243:11;;;19236:39;19208:2;19201:10;19172:113;;;19303:6;19300:1;19297:13;19294:2;;;-1:-1:-1;;19338:1:1;19320:16;;19313:27;19143:205::o;19353:127::-;19414:10;19409:3;19405:20;19402:1;19395:31;19445:4;19442:1;19435:15;19469:4;19466:1;19459:15;19485:127;19546:10;19541:3;19537:20;19534:1;19527:31;19577:4;19574:1;19567:15;19601:4;19598:1;19591:15;19617:131;-1:-1:-1;;;;;19692:31:1;;19682:42;;19672:2;;19738:1;19735;19728:12
Swarm Source
ipfs://8ed9e89caacb557d7738c04e6427c05c01ee66e7caea569a47427b29facffdf2
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
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.