Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 96 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Zap In | 18295424 | 331 days ago | IN | 0.1018 ETH | 0.00109629 | ||||
Zap In | 18295421 | 331 days ago | IN | 0.1018 ETH | 0.00109629 | ||||
Zap In | 18295416 | 331 days ago | IN | 0.12423828 ETH | 0.00109629 | ||||
Zap In | 18295405 | 331 days ago | IN | 0.12423828 ETH | 0.00109629 | ||||
Zap In | 18295391 | 331 days ago | IN | 0.12423828 ETH | 0.00109629 | ||||
Zap In | 18295389 | 331 days ago | IN | 0.12423828 ETH | 0.00109629 | ||||
Zap In | 18295384 | 331 days ago | IN | 0.12423828 ETH | 0.00109629 | ||||
Zap In | 18295312 | 331 days ago | IN | 0.12423828 ETH | 0.00109629 | ||||
Zap In | 18295291 | 331 days ago | IN | 0.12423828 ETH | 0.00109629 | ||||
Zap In | 18295226 | 331 days ago | IN | 0.12423828 ETH | 0.00109629 | ||||
Zap In | 18295086 | 331 days ago | IN | 0.12423828 ETH | 0.00109629 | ||||
Zap In | 18289903 | 332 days ago | IN | 0.12423828 ETH | 0.00109629 | ||||
Zap In | 16906345 | 527 days ago | IN | 4.5018 ETH | 0.01260851 | ||||
Zap In | 16833778 | 537 days ago | IN | 1.0018 ETH | 0.02371698 | ||||
Zap In | 16758966 | 547 days ago | IN | 11.5018 ETH | 0.01575443 | ||||
Zap In | 16756846 | 548 days ago | IN | 0.01669829 ETH | 0.0115035 | ||||
Zap In | 16738319 | 550 days ago | IN | 5.0018 ETH | 0.05983236 | ||||
Zap In | 16731099 | 551 days ago | IN | 0.1018 ETH | 0.04827704 | ||||
Zap In | 16730789 | 551 days ago | IN | 0.26206095 ETH | 0.04145839 | ||||
Zap In | 16708456 | 554 days ago | IN | 0.02163121 ETH | 0.01108563 | ||||
Zap In | 16706284 | 555 days ago | IN | 0.19485835 ETH | 0.01212477 | ||||
Zap In | 16642104 | 564 days ago | IN | 0.38856938 ETH | 0.0432977 | ||||
Zap In | 16614192 | 568 days ago | IN | 4.5018 ETH | 0.01176418 | ||||
Zap In | 16599793 | 570 days ago | IN | 0.4018 ETH | 0.01734046 | ||||
Zap In | 16536439 | 579 days ago | IN | 1.5018 ETH | 0.07562274 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
18295424 | 331 days ago | 0.1 ETH | ||||
18295424 | 331 days ago | 0.0018 ETH | ||||
18295421 | 331 days ago | 0.1 ETH | ||||
18295421 | 331 days ago | 0.0018 ETH | ||||
18295416 | 331 days ago | 0.12243828 ETH | ||||
18295416 | 331 days ago | 0.0018 ETH | ||||
18295405 | 331 days ago | 0.12243828 ETH | ||||
18295405 | 331 days ago | 0.0018 ETH | ||||
18295391 | 331 days ago | 0.12243828 ETH | ||||
18295391 | 331 days ago | 0.0018 ETH | ||||
18295389 | 331 days ago | 0.12243828 ETH | ||||
18295389 | 331 days ago | 0.0018 ETH | ||||
18295384 | 331 days ago | 0.12243828 ETH | ||||
18295384 | 331 days ago | 0.0018 ETH | ||||
18295312 | 331 days ago | 0.12243828 ETH | ||||
18295312 | 331 days ago | 0.0018 ETH | ||||
18295291 | 331 days ago | 0.12243828 ETH | ||||
18295291 | 331 days ago | 0.0018 ETH | ||||
18295226 | 331 days ago | 0.12243828 ETH | ||||
18295226 | 331 days ago | 0.0018 ETH | ||||
18295086 | 331 days ago | 0.12243828 ETH | ||||
18295086 | 331 days ago | 0.0018 ETH | ||||
18289903 | 332 days ago | 0.12243828 ETH | ||||
18289903 | 332 days ago | 0.0018 ETH | ||||
16906345 | 527 days ago | 4.5 ETH |
Loading...
Loading
Contract Name:
BrewlabsZapInConstructor
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; interface IWETH { function deposit() external payable; } interface IUniswapV2Factory { function getPair(address tokenA, address tokenB) external view returns (address pair); } interface IUniswapV2Router02 { function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); } interface IUniswapV2Pair { function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns ( uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast ); } interface IBrewlabsLiquidityManager { function addLiquidity( address token0, address token1, uint256 _amount0, uint256 _amount1, uint256 _slipPage ) external payable returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); } library Babylonian { function sqrt(uint256 y) internal pure returns (uint256 z) { if (y > 3) { z = y; uint256 x = y / 2 + 1; while (x < z) { z = x; x = (y / x + x) / 2; } } else if (y != 0) { z = 1; } // else z = 0 } } contract BrewlabsZapInConstructor is Ownable { using SafeERC20 for IERC20; IUniswapV2Factory private constant uniswapFactory = IUniswapV2Factory(0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f); IUniswapV2Router02 private constant uniswapRouter = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); IBrewlabsLiquidityManager private constant brewlabsLiquidityManager = IBrewlabsLiquidityManager(0xd6A74757F3F307931f94a62331FB4D8884e3cc56); address private constant wethTokenAddress = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; address private constant ETHAddress = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE; uint256 private constant deadline = 0xf000000000000000000000000000000000000000000000000000000000000000; bool public stopped = false; uint256 public feeAmount; address payable public feeAddress; event ZapIn(address sender, address pool, uint256 tokensRec); event UpdateFeeAmount(uint256 indexed oldAmount, uint256 indexed newAmount); event UpdateFeeAddress( address indexed oldAddress, address indexed newAddress ); constructor(uint256 _feeAmount, address payable _feeAddress) { feeAmount = _feeAmount; feeAddress = _feeAddress; } receive() external payable { require(msg.sender != tx.origin, "Do not send ETH directly"); } modifier stopInEmergency() { if (stopped) { revert("Temporarily Paused"); } else { _; } } function toggleContractActive() public onlyOwner { stopped = !stopped; } function updateFeeAmount(uint256 _feeAmount) external onlyOwner { uint256 _oldAmount = feeAmount; feeAmount = _feeAmount; emit UpdateFeeAmount(_oldAmount, _feeAmount); } function updateFeeAddress(address payable _feeAddress) external onlyOwner { address _oldAddress = feeAddress; feeAddress = _feeAddress; emit UpdateFeeAddress(_oldAddress, _feeAddress); } function withdrawTokens(address[] calldata tokens) external onlyOwner { for (uint256 i = 0; i < tokens.length; i++) { if (tokens[i] == ETHAddress) { Address.sendValue(payable(owner()), address(this).balance); } else { IERC20(tokens[i]).safeTransfer( owner(), IERC20(tokens[i]).balanceOf(address(this)) ); } } } function zapIn(address _pairAddress, uint256 _minPoolTokens) external payable stopInEmergency returns (uint256) { require(msg.value > feeAmount, "Zapper: Eth is not enough"); feeAddress.transfer(feeAmount); uint256 toInvest = msg.value - feeAmount; uint256 LPBought = _performZapIn(_pairAddress, toInvest); require(LPBought >= _minPoolTokens, "High Slippage"); IERC20(_pairAddress).safeTransfer(msg.sender, LPBought); emit ZapIn(msg.sender, _pairAddress, LPBought); return LPBought; } function _performZapIn(address _pairAddress, uint256 _amount) internal returns (uint256) { (address _ToUniswapToken0, address _ToUniswapToken1) = _getPairTokens( _pairAddress ); IWETH(wethTokenAddress).deposit{value: _amount}(); _swapIntermediate( wethTokenAddress, _ToUniswapToken0, _ToUniswapToken1, _amount ); return _uniDeposit( _ToUniswapToken0, _ToUniswapToken1, IERC20(_ToUniswapToken0).balanceOf(address(this)), IERC20(_ToUniswapToken1).balanceOf(address(this)) ); } function _uniDeposit( address _ToUnipoolToken0, address _ToUnipoolToken1, uint256 token0Bought, uint256 token1Bought ) internal returns (uint256) { _approveToken( _ToUnipoolToken0, address(brewlabsLiquidityManager), token0Bought ); _approveToken( _ToUnipoolToken1, address(brewlabsLiquidityManager), token1Bought ); (, , uint256 LP) = brewlabsLiquidityManager.addLiquidity( _ToUnipoolToken0, _ToUnipoolToken1, token0Bought, token1Bought, 9999 ); return LP; } function _swapIntermediate( address _toContractAddress, address _ToUnipoolToken0, address _ToUnipoolToken1, uint256 _amount ) internal returns (uint256 token0Bought, uint256 token1Bought) { IUniswapV2Pair pair = IUniswapV2Pair( uniswapFactory.getPair(_ToUnipoolToken0, _ToUnipoolToken1) ); (uint256 res0, uint256 res1, ) = pair.getReserves(); if (_toContractAddress == _ToUnipoolToken0) { uint256 amountToSwap = calculateSwapInAmount(res0, _amount); if (amountToSwap <= 0) amountToSwap = _amount / 2; token1Bought = _token2Token( _toContractAddress, _ToUnipoolToken1, amountToSwap ); token0Bought = _amount - amountToSwap; } else if (_toContractAddress == _ToUnipoolToken1) { uint256 amountToSwap = calculateSwapInAmount(res1, _amount); if (amountToSwap <= 0) amountToSwap = _amount / 2; token0Bought = _token2Token( _toContractAddress, _ToUnipoolToken0, amountToSwap ); token1Bought = _amount - amountToSwap; } else { uint256 amountToSwap = _amount / 2; token0Bought = _token2Token( _toContractAddress, _ToUnipoolToken0, amountToSwap ); token1Bought = _token2Token( _toContractAddress, _ToUnipoolToken1, _amount - amountToSwap ); } } function _token2Token( address _FromTokenContractAddress, address _ToTokenContractAddress, uint256 tokens2Trade ) internal returns (uint256 tokenBought) { if (_FromTokenContractAddress == _ToTokenContractAddress) { return tokens2Trade; } _approveToken( _FromTokenContractAddress, address(uniswapRouter), tokens2Trade ); address pair = uniswapFactory.getPair( _FromTokenContractAddress, _ToTokenContractAddress ); require(pair != address(0), "No Swap Available"); address[] memory path = new address[](2); path[0] = _FromTokenContractAddress; path[1] = _ToTokenContractAddress; tokenBought = uniswapRouter.swapExactTokensForTokens( tokens2Trade, 1, path, address(this), deadline )[path.length - 1]; require(tokenBought > 0, "Error Swapping Tokens 2"); } function _approveToken(address token, address spender) internal { IERC20 _token = IERC20(token); if (_token.allowance(address(this), spender) > 0) return; else { _token.safeApprove(spender, type(uint256).max); } } function _approveToken( address token, address spender, uint256 amount ) internal { IERC20(token).safeApprove(spender, 0); IERC20(token).safeApprove(spender, amount); } function _getPairTokens(address _pairAddress) internal view returns (address token0, address token1) { IUniswapV2Pair uniPair = IUniswapV2Pair(_pairAddress); token0 = uniPair.token0(); token1 = uniPair.token1(); } function calculateSwapInAmount(uint256 reserveIn, uint256 userIn) internal pure returns (uint256) { return (Babylonian.sqrt( reserveIn * ((userIn * 3988000) + (reserveIn * 3988009)) ) - (reserveIn * 1997)) / 1994; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/draft-IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.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 Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return 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 Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_feeAmount","type":"uint256"},{"internalType":"address payable","name":"_feeAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"UpdateFeeAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"oldAmount","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdateFeeAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"address","name":"pool","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokensRec","type":"uint256"}],"name":"ZapIn","type":"event"},{"inputs":[],"name":"feeAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleContractActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_feeAddress","type":"address"}],"name":"updateFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_feeAmount","type":"uint256"}],"name":"updateFeeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pairAddress","type":"address"},{"internalType":"uint256","name":"_minPoolTokens","type":"uint256"}],"name":"zapIn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405260008060146101000a81548160ff0219169083151502179055503480156200002b57600080fd5b5060405162002f8a38038062002f8a833981810160405281019062000051919062000232565b6200007162000065620000c160201b60201c565b620000c960201b60201c565b8160018190555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505062000279565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b6000819050919050565b620001a78162000192565b8114620001b357600080fd5b50565b600081519050620001c7816200019c565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620001fa82620001cd565b9050919050565b6200020c81620001ed565b81146200021857600080fd5b50565b6000815190506200022c8162000201565b92915050565b600080604083850312156200024c576200024b6200018d565b5b60006200025c85828601620001b6565b92505060206200026f858286016200021b565b9150509250929050565b612d0180620002896000396000f3fe6080604052600436106100a05760003560e01c806375f12b211161006457806375f12b21146101c75780638da5cb5b146101f25780639ea55bb01461021d578063bbcaac3814610246578063dad4cd521461026f578063f2fde38b1461029f57610115565b80631385d24c1461011a57806341275358146101315780635ecb16cd1461015c57806369e1540414610185578063715018a6146101b057610115565b36610115573273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1603610113576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161010a90611a31565b60405180910390fd5b005b600080fd5b34801561012657600080fd5b5061012f6102c8565b005b34801561013d57600080fd5b506101466102fc565b6040516101539190611a92565b60405180910390f35b34801561016857600080fd5b50610183600480360381019061017e9190611b26565b610322565b005b34801561019157600080fd5b5061019a6104ce565b6040516101a79190611b8c565b60405180910390f35b3480156101bc57600080fd5b506101c56104d4565b005b3480156101d357600080fd5b506101dc6104e8565b6040516101e99190611bc2565b60405180910390f35b3480156101fe57600080fd5b506102076104fb565b6040516102149190611bfe565b60405180910390f35b34801561022957600080fd5b50610244600480360381019061023f9190611c45565b610524565b005b34801561025257600080fd5b5061026d60048036038101906102689190611c9e565b61056c565b005b61028960048036038101906102849190611cf7565b61063a565b6040516102969190611b8c565b60405180910390f35b3480156102ab57600080fd5b506102c660048036038101906102c19190611d37565b61080e565b005b6102d0610891565b600060149054906101000a900460ff1615600060146101000a81548160ff021916908315150217905550565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61032a610891565b60005b828290508110156104c95773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee73ffffffffffffffffffffffffffffffffffffffff1683838381811061037657610375611d64565b5b905060200201602081019061038b9190611d37565b73ffffffffffffffffffffffffffffffffffffffff16036103bc576103b76103b16104fb565b4761090f565b6104b6565b6104b56103c76104fb565b8484848181106103da576103d9611d64565b5b90506020020160208101906103ef9190611d37565b73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016104279190611bfe565b602060405180830381865afa158015610444573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104689190611da8565b85858581811061047b5761047a611d64565b5b90506020020160208101906104909190611d37565b73ffffffffffffffffffffffffffffffffffffffff16610a039092919063ffffffff16565b5b80806104c190611e04565b91505061032d565b505050565b60015481565b6104dc610891565b6104e66000610a89565b565b600060149054906101000a900460ff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61052c610891565b600060015490508160018190555081817f42fc0ee30f9b1345acb70fb2449823ad2e6bd461e27507685db66fd8133d517060405160405180910390a35050565b610574610891565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f902851878f378b5ada06366b0ecb192abf50a68836fd2862d2bc551c174a6f8a60405160405180910390a35050565b60008060149054906101000a900460ff161561068b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068290611e98565b60405180910390fd5b60015434116106cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c690611f04565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6001549081150290604051600060405180830381858888f19350505050158015610739573d6000803e3d6000fd5b5060006001543461074a9190611f24565b905060006107588583610b4d565b90508381101561079d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079490611fa4565b60405180910390fd5b6107c833828773ffffffffffffffffffffffffffffffffffffffff16610a039092919063ffffffff16565b7f4fd86e42fdf9189d86bda34d3e693c24264ea2b54ff7796d9e1d40f5e29f4f593386836040516107fb93929190611fc4565b60405180910390a1809250505092915050565b610816610891565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610885576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087c9061206d565b60405180910390fd5b61088e81610a89565b50565b610899610cfe565b73ffffffffffffffffffffffffffffffffffffffff166108b76104fb565b73ffffffffffffffffffffffffffffffffffffffff161461090d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610904906120d9565b60405180910390fd5b565b80471015610952576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094990612145565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161097890612196565b60006040518083038185875af1925050503d80600081146109b5576040519150601f19603f3d011682016040523d82523d6000602084013e6109ba565b606091505b50509050806109fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f59061221d565b60405180910390fd5b505050565b610a848363a9059cbb60e01b8484604051602401610a2292919061223d565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610d06565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000806000610b5b85610dcd565b9150915073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1663d0e30db0856040518263ffffffff1660e01b81526004016000604051808303818588803b158015610bbb57600080fd5b505af1158015610bcf573d6000803e3d6000fd5b5050505050610bf473c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2838387610ebd565b5050610cf482828473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610c349190611bfe565b602060405180830381865afa158015610c51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c759190611da8565b8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610cae9190611bfe565b602060405180830381865afa158015610ccb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cef9190611da8565b611124565b9250505092915050565b600033905090565b6000610d68826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166112109092919063ffffffff16565b9050600081511115610dc85780806020019051810190610d889190612292565b610dc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbe90612331565b60405180910390fd5b5b505050565b60008060008390508073ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e449190612366565b92508073ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb59190612366565b915050915091565b6000806000735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f73ffffffffffffffffffffffffffffffffffffffff1663e6a4390587876040518363ffffffff1660e01b8152600401610f11929190612393565b602060405180830381865afa158015610f2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f529190612366565b90506000808273ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610fa2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc6919061243e565b506dffffffffffffffffffffffffffff1691506dffffffffffffffffffffffffffff1691508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff160361106557600061102a8388611228565b9050600081116110445760028761104191906124c0565b90505b61104f8a8983611292565b9450808761105d9190611f24565b955050611118565b8673ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff16036110df5760006110a48288611228565b9050600081116110be576002876110bb91906124c0565b90505b6110c98a8a83611292565b955080876110d79190611f24565b945050611117565b60006002876110ee91906124c0565b90506110fb8a8a83611292565b95506111138a89838a61110e9190611f24565b611292565b9450505b5b50505094509492505050565b60006111458573d6a74757f3f307931f94a62331fb4d8884e3cc5685611611565b6111648473d6a74757f3f307931f94a62331fb4d8884e3cc5684611611565b600073d6a74757f3f307931f94a62331fb4d8884e3cc5673ffffffffffffffffffffffffffffffffffffffff166391c98a2a8787878761270f6040518663ffffffff1660e01b81526004016111bd959493929190612536565b6060604051808303816000875af11580156111dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112009190612589565b9250505080915050949350505050565b606061121f848460008561166d565b90509392505050565b60006107ca6107cd8461123b91906125dc565b611276623cda298661124d91906125dc565b623cda208661125c91906125dc565b6112669190612636565b8661127191906125dc565b611781565b6112809190611f24565b61128a91906124c0565b905092915050565b60008273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036112cf5781905061160a565b6112ee84737a250d5630b4cf539739df2c5dacb4c659f2488d84611611565b6000735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f73ffffffffffffffffffffffffffffffffffffffff1663e6a4390586866040518363ffffffff1660e01b815260040161133f929190612393565b602060405180830381865afa15801561135c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113809190612366565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036113f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e8906126d8565b60405180910390fd5b6000600267ffffffffffffffff81111561140e5761140d6126f8565b5b60405190808252806020026020018201604052801561143c5781602001602082028036833780820191505090505b509050858160008151811061145457611453611d64565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505084816001815181106114a3576114a2611d64565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff166338ed173985600184307ff0000000000000000000000000000000000000000000000000000000000000006040518663ffffffff1660e01b8152600401611553959493929190612820565b6000604051808303816000875af1158015611572573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061159b919061299a565b600182516115a99190611f24565b815181106115ba576115b9611d64565b5b6020026020010151925060008311611607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fe90612a2f565b60405180910390fd5b50505b9392505050565b61163d8260008573ffffffffffffffffffffffffffffffffffffffff166117fb9092919063ffffffff16565b61166882828573ffffffffffffffffffffffffffffffffffffffff166117fb9092919063ffffffff16565b505050565b6060824710156116b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a990612ac1565b60405180910390fd5b6116bb8561194a565b6116fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f190612b2d565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516117239190612bbc565b60006040518083038185875af1925050503d8060008114611760576040519150601f19603f3d011682016040523d82523d6000602084013e611765565b606091505b509150915061177582828661196d565b92505050949350505050565b600060038211156117e857819050600060016002846117a091906124c0565b6117aa9190612636565b90505b818110156117e25780915060028182856117c791906124c0565b6117d19190612636565b6117db91906124c0565b90506117ad565b506117f6565b600082146117f557600190505b5b919050565b6000811480611885575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401611842929190612393565b602060405180830381865afa15801561185f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118839190611da8565b145b6118c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bb90612c45565b60405180910390fd5b6119458363095ea7b360e01b84846040516024016118e392919061223d565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610d06565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060831561197d578290506119cd565b6000835111156119905782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c49190612ca9565b60405180910390fd5b9392505050565b600082825260208201905092915050565b7f446f206e6f742073656e6420455448206469726563746c790000000000000000600082015250565b6000611a1b6018836119d4565b9150611a26826119e5565b602082019050919050565b60006020820190508181036000830152611a4a81611a0e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611a7c82611a51565b9050919050565b611a8c81611a71565b82525050565b6000602082019050611aa76000830184611a83565b92915050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112611ae657611ae5611ac1565b5b8235905067ffffffffffffffff811115611b0357611b02611ac6565b5b602083019150836020820283011115611b1f57611b1e611acb565b5b9250929050565b60008060208385031215611b3d57611b3c611ab7565b5b600083013567ffffffffffffffff811115611b5b57611b5a611abc565b5b611b6785828601611ad0565b92509250509250929050565b6000819050919050565b611b8681611b73565b82525050565b6000602082019050611ba16000830184611b7d565b92915050565b60008115159050919050565b611bbc81611ba7565b82525050565b6000602082019050611bd76000830184611bb3565b92915050565b6000611be882611a51565b9050919050565b611bf881611bdd565b82525050565b6000602082019050611c136000830184611bef565b92915050565b611c2281611b73565b8114611c2d57600080fd5b50565b600081359050611c3f81611c19565b92915050565b600060208284031215611c5b57611c5a611ab7565b5b6000611c6984828501611c30565b91505092915050565b611c7b81611a71565b8114611c8657600080fd5b50565b600081359050611c9881611c72565b92915050565b600060208284031215611cb457611cb3611ab7565b5b6000611cc284828501611c89565b91505092915050565b611cd481611bdd565b8114611cdf57600080fd5b50565b600081359050611cf181611ccb565b92915050565b60008060408385031215611d0e57611d0d611ab7565b5b6000611d1c85828601611ce2565b9250506020611d2d85828601611c30565b9150509250929050565b600060208284031215611d4d57611d4c611ab7565b5b6000611d5b84828501611ce2565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050611da281611c19565b92915050565b600060208284031215611dbe57611dbd611ab7565b5b6000611dcc84828501611d93565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611e0f82611b73565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611e4157611e40611dd5565b5b600182019050919050565b7f54656d706f726172696c79205061757365640000000000000000000000000000600082015250565b6000611e826012836119d4565b9150611e8d82611e4c565b602082019050919050565b60006020820190508181036000830152611eb181611e75565b9050919050565b7f5a61707065723a20457468206973206e6f7420656e6f75676800000000000000600082015250565b6000611eee6019836119d4565b9150611ef982611eb8565b602082019050919050565b60006020820190508181036000830152611f1d81611ee1565b9050919050565b6000611f2f82611b73565b9150611f3a83611b73565b925082821015611f4d57611f4c611dd5565b5b828203905092915050565b7f4869676820536c69707061676500000000000000000000000000000000000000600082015250565b6000611f8e600d836119d4565b9150611f9982611f58565b602082019050919050565b60006020820190508181036000830152611fbd81611f81565b9050919050565b6000606082019050611fd96000830186611bef565b611fe66020830185611bef565b611ff36040830184611b7d565b949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006120576026836119d4565b915061206282611ffb565b604082019050919050565b600060208201905081810360008301526120868161204a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006120c36020836119d4565b91506120ce8261208d565b602082019050919050565b600060208201905081810360008301526120f2816120b6565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b600061212f601d836119d4565b915061213a826120f9565b602082019050919050565b6000602082019050818103600083015261215e81612122565b9050919050565b600081905092915050565b50565b6000612180600083612165565b915061218b82612170565b600082019050919050565b60006121a182612173565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000612207603a836119d4565b9150612212826121ab565b604082019050919050565b60006020820190508181036000830152612236816121fa565b9050919050565b60006040820190506122526000830185611bef565b61225f6020830184611b7d565b9392505050565b61226f81611ba7565b811461227a57600080fd5b50565b60008151905061228c81612266565b92915050565b6000602082840312156122a8576122a7611ab7565b5b60006122b68482850161227d565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b600061231b602a836119d4565b9150612326826122bf565b604082019050919050565b6000602082019050818103600083015261234a8161230e565b9050919050565b60008151905061236081611ccb565b92915050565b60006020828403121561237c5761237b611ab7565b5b600061238a84828501612351565b91505092915050565b60006040820190506123a86000830185611bef565b6123b56020830184611bef565b9392505050565b60006dffffffffffffffffffffffffffff82169050919050565b6123df816123bc565b81146123ea57600080fd5b50565b6000815190506123fc816123d6565b92915050565b600063ffffffff82169050919050565b61241b81612402565b811461242657600080fd5b50565b60008151905061243881612412565b92915050565b60008060006060848603121561245757612456611ab7565b5b6000612465868287016123ed565b9350506020612476868287016123ed565b925050604061248786828701612429565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006124cb82611b73565b91506124d683611b73565b9250826124e6576124e5612491565b5b828204905092915050565b6000819050919050565b6000819050919050565b600061252061251b612516846124f1565b6124fb565b611b73565b9050919050565b61253081612505565b82525050565b600060a08201905061254b6000830188611bef565b6125586020830187611bef565b6125656040830186611b7d565b6125726060830185611b7d565b61257f6080830184612527565b9695505050505050565b6000806000606084860312156125a2576125a1611ab7565b5b60006125b086828701611d93565b93505060206125c186828701611d93565b92505060406125d286828701611d93565b9150509250925092565b60006125e782611b73565b91506125f283611b73565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561262b5761262a611dd5565b5b828202905092915050565b600061264182611b73565b915061264c83611b73565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561268157612680611dd5565b5b828201905092915050565b7f4e6f205377617020417661696c61626c65000000000000000000000000000000600082015250565b60006126c26011836119d4565b91506126cd8261268c565b602082019050919050565b600060208201905081810360008301526126f1816126b5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000819050919050565b600061274c61274761274284612727565b6124fb565b611b73565b9050919050565b61275c81612731565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61279781611bdd565b82525050565b60006127a9838361278e565b60208301905092915050565b6000602082019050919050565b60006127cd82612762565b6127d7818561276d565b93506127e28361277e565b8060005b838110156128135781516127fa888261279d565b9750612805836127b5565b9250506001810190506127e6565b5085935050505092915050565b600060a0820190506128356000830188611b7d565b6128426020830187612753565b818103604083015261285481866127c2565b90506128636060830185611bef565b6128706080830184611b7d565b9695505050505050565b6000601f19601f8301169050919050565b6128948261287a565b810181811067ffffffffffffffff821117156128b3576128b26126f8565b5b80604052505050565b60006128c6611aad565b90506128d2828261288b565b919050565b600067ffffffffffffffff8211156128f2576128f16126f8565b5b602082029050602081019050919050565b6000612916612911846128d7565b6128bc565b9050808382526020820190506020840283018581111561293957612938611acb565b5b835b81811015612962578061294e8882611d93565b84526020840193505060208101905061293b565b5050509392505050565b600082601f83011261298157612980611ac1565b5b8151612991848260208601612903565b91505092915050565b6000602082840312156129b0576129af611ab7565b5b600082015167ffffffffffffffff8111156129ce576129cd611abc565b5b6129da8482850161296c565b91505092915050565b7f4572726f72205377617070696e6720546f6b656e732032000000000000000000600082015250565b6000612a196017836119d4565b9150612a24826129e3565b602082019050919050565b60006020820190508181036000830152612a4881612a0c565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000612aab6026836119d4565b9150612ab682612a4f565b604082019050919050565b60006020820190508181036000830152612ada81612a9e565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000612b17601d836119d4565b9150612b2282612ae1565b602082019050919050565b60006020820190508181036000830152612b4681612b0a565b9050919050565b600081519050919050565b60005b83811015612b76578082015181840152602081019050612b5b565b83811115612b85576000848401525b50505050565b6000612b9682612b4d565b612ba08185612165565b9350612bb0818560208601612b58565b80840191505092915050565b6000612bc88284612b8b565b915081905092915050565b7f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60008201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000602082015250565b6000612c2f6036836119d4565b9150612c3a82612bd3565b604082019050919050565b60006020820190508181036000830152612c5e81612c22565b9050919050565b600081519050919050565b6000612c7b82612c65565b612c8581856119d4565b9350612c95818560208601612b58565b612c9e8161287a565b840191505092915050565b60006020820190508181036000830152612cc38184612c70565b90509291505056fea2646970667358221220015b0b23b022094c02c8c894770564248f398bdc704873418f5aca069d2ba6d764736f6c634300080f00330000000000000000000000000000000000000000000000000006651728988000000000000000000000000000e1f1dd010bbc2860f81c8f90ea4e38db949bb16f
Deployed Bytecode
0x6080604052600436106100a05760003560e01c806375f12b211161006457806375f12b21146101c75780638da5cb5b146101f25780639ea55bb01461021d578063bbcaac3814610246578063dad4cd521461026f578063f2fde38b1461029f57610115565b80631385d24c1461011a57806341275358146101315780635ecb16cd1461015c57806369e1540414610185578063715018a6146101b057610115565b36610115573273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1603610113576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161010a90611a31565b60405180910390fd5b005b600080fd5b34801561012657600080fd5b5061012f6102c8565b005b34801561013d57600080fd5b506101466102fc565b6040516101539190611a92565b60405180910390f35b34801561016857600080fd5b50610183600480360381019061017e9190611b26565b610322565b005b34801561019157600080fd5b5061019a6104ce565b6040516101a79190611b8c565b60405180910390f35b3480156101bc57600080fd5b506101c56104d4565b005b3480156101d357600080fd5b506101dc6104e8565b6040516101e99190611bc2565b60405180910390f35b3480156101fe57600080fd5b506102076104fb565b6040516102149190611bfe565b60405180910390f35b34801561022957600080fd5b50610244600480360381019061023f9190611c45565b610524565b005b34801561025257600080fd5b5061026d60048036038101906102689190611c9e565b61056c565b005b61028960048036038101906102849190611cf7565b61063a565b6040516102969190611b8c565b60405180910390f35b3480156102ab57600080fd5b506102c660048036038101906102c19190611d37565b61080e565b005b6102d0610891565b600060149054906101000a900460ff1615600060146101000a81548160ff021916908315150217905550565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61032a610891565b60005b828290508110156104c95773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee73ffffffffffffffffffffffffffffffffffffffff1683838381811061037657610375611d64565b5b905060200201602081019061038b9190611d37565b73ffffffffffffffffffffffffffffffffffffffff16036103bc576103b76103b16104fb565b4761090f565b6104b6565b6104b56103c76104fb565b8484848181106103da576103d9611d64565b5b90506020020160208101906103ef9190611d37565b73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016104279190611bfe565b602060405180830381865afa158015610444573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104689190611da8565b85858581811061047b5761047a611d64565b5b90506020020160208101906104909190611d37565b73ffffffffffffffffffffffffffffffffffffffff16610a039092919063ffffffff16565b5b80806104c190611e04565b91505061032d565b505050565b60015481565b6104dc610891565b6104e66000610a89565b565b600060149054906101000a900460ff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61052c610891565b600060015490508160018190555081817f42fc0ee30f9b1345acb70fb2449823ad2e6bd461e27507685db66fd8133d517060405160405180910390a35050565b610574610891565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f902851878f378b5ada06366b0ecb192abf50a68836fd2862d2bc551c174a6f8a60405160405180910390a35050565b60008060149054906101000a900460ff161561068b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068290611e98565b60405180910390fd5b60015434116106cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c690611f04565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6001549081150290604051600060405180830381858888f19350505050158015610739573d6000803e3d6000fd5b5060006001543461074a9190611f24565b905060006107588583610b4d565b90508381101561079d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079490611fa4565b60405180910390fd5b6107c833828773ffffffffffffffffffffffffffffffffffffffff16610a039092919063ffffffff16565b7f4fd86e42fdf9189d86bda34d3e693c24264ea2b54ff7796d9e1d40f5e29f4f593386836040516107fb93929190611fc4565b60405180910390a1809250505092915050565b610816610891565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610885576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087c9061206d565b60405180910390fd5b61088e81610a89565b50565b610899610cfe565b73ffffffffffffffffffffffffffffffffffffffff166108b76104fb565b73ffffffffffffffffffffffffffffffffffffffff161461090d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610904906120d9565b60405180910390fd5b565b80471015610952576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094990612145565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161097890612196565b60006040518083038185875af1925050503d80600081146109b5576040519150601f19603f3d011682016040523d82523d6000602084013e6109ba565b606091505b50509050806109fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f59061221d565b60405180910390fd5b505050565b610a848363a9059cbb60e01b8484604051602401610a2292919061223d565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610d06565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000806000610b5b85610dcd565b9150915073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1663d0e30db0856040518263ffffffff1660e01b81526004016000604051808303818588803b158015610bbb57600080fd5b505af1158015610bcf573d6000803e3d6000fd5b5050505050610bf473c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2838387610ebd565b5050610cf482828473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610c349190611bfe565b602060405180830381865afa158015610c51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c759190611da8565b8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610cae9190611bfe565b602060405180830381865afa158015610ccb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cef9190611da8565b611124565b9250505092915050565b600033905090565b6000610d68826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166112109092919063ffffffff16565b9050600081511115610dc85780806020019051810190610d889190612292565b610dc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbe90612331565b60405180910390fd5b5b505050565b60008060008390508073ffffffffffffffffffffffffffffffffffffffff16630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e449190612366565b92508073ffffffffffffffffffffffffffffffffffffffff1663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb59190612366565b915050915091565b6000806000735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f73ffffffffffffffffffffffffffffffffffffffff1663e6a4390587876040518363ffffffff1660e01b8152600401610f11929190612393565b602060405180830381865afa158015610f2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f529190612366565b90506000808273ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610fa2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc6919061243e565b506dffffffffffffffffffffffffffff1691506dffffffffffffffffffffffffffff1691508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff160361106557600061102a8388611228565b9050600081116110445760028761104191906124c0565b90505b61104f8a8983611292565b9450808761105d9190611f24565b955050611118565b8673ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff16036110df5760006110a48288611228565b9050600081116110be576002876110bb91906124c0565b90505b6110c98a8a83611292565b955080876110d79190611f24565b945050611117565b60006002876110ee91906124c0565b90506110fb8a8a83611292565b95506111138a89838a61110e9190611f24565b611292565b9450505b5b50505094509492505050565b60006111458573d6a74757f3f307931f94a62331fb4d8884e3cc5685611611565b6111648473d6a74757f3f307931f94a62331fb4d8884e3cc5684611611565b600073d6a74757f3f307931f94a62331fb4d8884e3cc5673ffffffffffffffffffffffffffffffffffffffff166391c98a2a8787878761270f6040518663ffffffff1660e01b81526004016111bd959493929190612536565b6060604051808303816000875af11580156111dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112009190612589565b9250505080915050949350505050565b606061121f848460008561166d565b90509392505050565b60006107ca6107cd8461123b91906125dc565b611276623cda298661124d91906125dc565b623cda208661125c91906125dc565b6112669190612636565b8661127191906125dc565b611781565b6112809190611f24565b61128a91906124c0565b905092915050565b60008273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036112cf5781905061160a565b6112ee84737a250d5630b4cf539739df2c5dacb4c659f2488d84611611565b6000735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f73ffffffffffffffffffffffffffffffffffffffff1663e6a4390586866040518363ffffffff1660e01b815260040161133f929190612393565b602060405180830381865afa15801561135c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113809190612366565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036113f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e8906126d8565b60405180910390fd5b6000600267ffffffffffffffff81111561140e5761140d6126f8565b5b60405190808252806020026020018201604052801561143c5781602001602082028036833780820191505090505b509050858160008151811061145457611453611d64565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505084816001815181106114a3576114a2611d64565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff166338ed173985600184307ff0000000000000000000000000000000000000000000000000000000000000006040518663ffffffff1660e01b8152600401611553959493929190612820565b6000604051808303816000875af1158015611572573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061159b919061299a565b600182516115a99190611f24565b815181106115ba576115b9611d64565b5b6020026020010151925060008311611607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fe90612a2f565b60405180910390fd5b50505b9392505050565b61163d8260008573ffffffffffffffffffffffffffffffffffffffff166117fb9092919063ffffffff16565b61166882828573ffffffffffffffffffffffffffffffffffffffff166117fb9092919063ffffffff16565b505050565b6060824710156116b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a990612ac1565b60405180910390fd5b6116bb8561194a565b6116fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f190612b2d565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516117239190612bbc565b60006040518083038185875af1925050503d8060008114611760576040519150601f19603f3d011682016040523d82523d6000602084013e611765565b606091505b509150915061177582828661196d565b92505050949350505050565b600060038211156117e857819050600060016002846117a091906124c0565b6117aa9190612636565b90505b818110156117e25780915060028182856117c791906124c0565b6117d19190612636565b6117db91906124c0565b90506117ad565b506117f6565b600082146117f557600190505b5b919050565b6000811480611885575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401611842929190612393565b602060405180830381865afa15801561185f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118839190611da8565b145b6118c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bb90612c45565b60405180910390fd5b6119458363095ea7b360e01b84846040516024016118e392919061223d565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610d06565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060831561197d578290506119cd565b6000835111156119905782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c49190612ca9565b60405180910390fd5b9392505050565b600082825260208201905092915050565b7f446f206e6f742073656e6420455448206469726563746c790000000000000000600082015250565b6000611a1b6018836119d4565b9150611a26826119e5565b602082019050919050565b60006020820190508181036000830152611a4a81611a0e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611a7c82611a51565b9050919050565b611a8c81611a71565b82525050565b6000602082019050611aa76000830184611a83565b92915050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008083601f840112611ae657611ae5611ac1565b5b8235905067ffffffffffffffff811115611b0357611b02611ac6565b5b602083019150836020820283011115611b1f57611b1e611acb565b5b9250929050565b60008060208385031215611b3d57611b3c611ab7565b5b600083013567ffffffffffffffff811115611b5b57611b5a611abc565b5b611b6785828601611ad0565b92509250509250929050565b6000819050919050565b611b8681611b73565b82525050565b6000602082019050611ba16000830184611b7d565b92915050565b60008115159050919050565b611bbc81611ba7565b82525050565b6000602082019050611bd76000830184611bb3565b92915050565b6000611be882611a51565b9050919050565b611bf881611bdd565b82525050565b6000602082019050611c136000830184611bef565b92915050565b611c2281611b73565b8114611c2d57600080fd5b50565b600081359050611c3f81611c19565b92915050565b600060208284031215611c5b57611c5a611ab7565b5b6000611c6984828501611c30565b91505092915050565b611c7b81611a71565b8114611c8657600080fd5b50565b600081359050611c9881611c72565b92915050565b600060208284031215611cb457611cb3611ab7565b5b6000611cc284828501611c89565b91505092915050565b611cd481611bdd565b8114611cdf57600080fd5b50565b600081359050611cf181611ccb565b92915050565b60008060408385031215611d0e57611d0d611ab7565b5b6000611d1c85828601611ce2565b9250506020611d2d85828601611c30565b9150509250929050565b600060208284031215611d4d57611d4c611ab7565b5b6000611d5b84828501611ce2565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050611da281611c19565b92915050565b600060208284031215611dbe57611dbd611ab7565b5b6000611dcc84828501611d93565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611e0f82611b73565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611e4157611e40611dd5565b5b600182019050919050565b7f54656d706f726172696c79205061757365640000000000000000000000000000600082015250565b6000611e826012836119d4565b9150611e8d82611e4c565b602082019050919050565b60006020820190508181036000830152611eb181611e75565b9050919050565b7f5a61707065723a20457468206973206e6f7420656e6f75676800000000000000600082015250565b6000611eee6019836119d4565b9150611ef982611eb8565b602082019050919050565b60006020820190508181036000830152611f1d81611ee1565b9050919050565b6000611f2f82611b73565b9150611f3a83611b73565b925082821015611f4d57611f4c611dd5565b5b828203905092915050565b7f4869676820536c69707061676500000000000000000000000000000000000000600082015250565b6000611f8e600d836119d4565b9150611f9982611f58565b602082019050919050565b60006020820190508181036000830152611fbd81611f81565b9050919050565b6000606082019050611fd96000830186611bef565b611fe66020830185611bef565b611ff36040830184611b7d565b949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006120576026836119d4565b915061206282611ffb565b604082019050919050565b600060208201905081810360008301526120868161204a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006120c36020836119d4565b91506120ce8261208d565b602082019050919050565b600060208201905081810360008301526120f2816120b6565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b600061212f601d836119d4565b915061213a826120f9565b602082019050919050565b6000602082019050818103600083015261215e81612122565b9050919050565b600081905092915050565b50565b6000612180600083612165565b915061218b82612170565b600082019050919050565b60006121a182612173565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000612207603a836119d4565b9150612212826121ab565b604082019050919050565b60006020820190508181036000830152612236816121fa565b9050919050565b60006040820190506122526000830185611bef565b61225f6020830184611b7d565b9392505050565b61226f81611ba7565b811461227a57600080fd5b50565b60008151905061228c81612266565b92915050565b6000602082840312156122a8576122a7611ab7565b5b60006122b68482850161227d565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b600061231b602a836119d4565b9150612326826122bf565b604082019050919050565b6000602082019050818103600083015261234a8161230e565b9050919050565b60008151905061236081611ccb565b92915050565b60006020828403121561237c5761237b611ab7565b5b600061238a84828501612351565b91505092915050565b60006040820190506123a86000830185611bef565b6123b56020830184611bef565b9392505050565b60006dffffffffffffffffffffffffffff82169050919050565b6123df816123bc565b81146123ea57600080fd5b50565b6000815190506123fc816123d6565b92915050565b600063ffffffff82169050919050565b61241b81612402565b811461242657600080fd5b50565b60008151905061243881612412565b92915050565b60008060006060848603121561245757612456611ab7565b5b6000612465868287016123ed565b9350506020612476868287016123ed565b925050604061248786828701612429565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006124cb82611b73565b91506124d683611b73565b9250826124e6576124e5612491565b5b828204905092915050565b6000819050919050565b6000819050919050565b600061252061251b612516846124f1565b6124fb565b611b73565b9050919050565b61253081612505565b82525050565b600060a08201905061254b6000830188611bef565b6125586020830187611bef565b6125656040830186611b7d565b6125726060830185611b7d565b61257f6080830184612527565b9695505050505050565b6000806000606084860312156125a2576125a1611ab7565b5b60006125b086828701611d93565b93505060206125c186828701611d93565b92505060406125d286828701611d93565b9150509250925092565b60006125e782611b73565b91506125f283611b73565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561262b5761262a611dd5565b5b828202905092915050565b600061264182611b73565b915061264c83611b73565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561268157612680611dd5565b5b828201905092915050565b7f4e6f205377617020417661696c61626c65000000000000000000000000000000600082015250565b60006126c26011836119d4565b91506126cd8261268c565b602082019050919050565b600060208201905081810360008301526126f1816126b5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000819050919050565b600061274c61274761274284612727565b6124fb565b611b73565b9050919050565b61275c81612731565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61279781611bdd565b82525050565b60006127a9838361278e565b60208301905092915050565b6000602082019050919050565b60006127cd82612762565b6127d7818561276d565b93506127e28361277e565b8060005b838110156128135781516127fa888261279d565b9750612805836127b5565b9250506001810190506127e6565b5085935050505092915050565b600060a0820190506128356000830188611b7d565b6128426020830187612753565b818103604083015261285481866127c2565b90506128636060830185611bef565b6128706080830184611b7d565b9695505050505050565b6000601f19601f8301169050919050565b6128948261287a565b810181811067ffffffffffffffff821117156128b3576128b26126f8565b5b80604052505050565b60006128c6611aad565b90506128d2828261288b565b919050565b600067ffffffffffffffff8211156128f2576128f16126f8565b5b602082029050602081019050919050565b6000612916612911846128d7565b6128bc565b9050808382526020820190506020840283018581111561293957612938611acb565b5b835b81811015612962578061294e8882611d93565b84526020840193505060208101905061293b565b5050509392505050565b600082601f83011261298157612980611ac1565b5b8151612991848260208601612903565b91505092915050565b6000602082840312156129b0576129af611ab7565b5b600082015167ffffffffffffffff8111156129ce576129cd611abc565b5b6129da8482850161296c565b91505092915050565b7f4572726f72205377617070696e6720546f6b656e732032000000000000000000600082015250565b6000612a196017836119d4565b9150612a24826129e3565b602082019050919050565b60006020820190508181036000830152612a4881612a0c565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000612aab6026836119d4565b9150612ab682612a4f565b604082019050919050565b60006020820190508181036000830152612ada81612a9e565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000612b17601d836119d4565b9150612b2282612ae1565b602082019050919050565b60006020820190508181036000830152612b4681612b0a565b9050919050565b600081519050919050565b60005b83811015612b76578082015181840152602081019050612b5b565b83811115612b85576000848401525b50505050565b6000612b9682612b4d565b612ba08185612165565b9350612bb0818560208601612b58565b80840191505092915050565b6000612bc88284612b8b565b915081905092915050565b7f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60008201527f20746f206e6f6e2d7a65726f20616c6c6f77616e636500000000000000000000602082015250565b6000612c2f6036836119d4565b9150612c3a82612bd3565b604082019050919050565b60006020820190508181036000830152612c5e81612c22565b9050919050565b600081519050919050565b6000612c7b82612c65565b612c8581856119d4565b9350612c95818560208601612b58565b612c9e8161287a565b840191505092915050565b60006020820190508181036000830152612cc38184612c70565b90509291505056fea2646970667358221220015b0b23b022094c02c8c894770564248f398bdc704873418f5aca069d2ba6d764736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000006651728988000000000000000000000000000e1f1dd010bbc2860f81c8f90ea4e38db949bb16f
-----Decoded View---------------
Arg [0] : _feeAmount (uint256): 1800000000000000
Arg [1] : _feeAddress (address): 0xE1f1dd010BBC2860F81c8F90Ea4E38dB949BB16F
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000006651728988000
Arg [1] : 000000000000000000000000e1f1dd010bbc2860f81c8f90ea4e38db949bb16f
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.