Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 187 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Convert | 16503678 | 707 days ago | IN | 0 ETH | 0.0044864 | ||||
Convert | 16453485 | 714 days ago | IN | 0 ETH | 0.00353432 | ||||
Convert | 16439742 | 716 days ago | IN | 0 ETH | 0.00551511 | ||||
Convert | 16424515 | 718 days ago | IN | 0 ETH | 0.00455284 | ||||
Market Buy Lua W... | 11996944 | 1397 days ago | IN | 0 ETH | 0.0140838 | ||||
Market Buy Lua W... | 11996943 | 1397 days ago | IN | 0 ETH | 0.01415796 | ||||
Market Buy Lua W... | 11996903 | 1398 days ago | IN | 0 ETH | 0.02413476 | ||||
Market Buy Lua W... | 11996896 | 1398 days ago | IN | 0 ETH | 0.00330588 | ||||
Market Buy Lua W... | 11996895 | 1398 days ago | IN | 0 ETH | 0.01413396 | ||||
Market Buy Lua W... | 11996894 | 1398 days ago | IN | 0 ETH | 0.01519008 | ||||
Market Buy Lua W... | 11996893 | 1398 days ago | IN | 0 ETH | 0.01331088 | ||||
Market Buy Lua W... | 11996891 | 1398 days ago | IN | 0 ETH | 0.01419 | ||||
Market Buy Lua W... | 11996890 | 1398 days ago | IN | 0 ETH | 0.00356268 | ||||
Remove Liqidity | 11996870 | 1398 days ago | IN | 0 ETH | 0.024697 | ||||
Remove Liqidity | 11996687 | 1398 days ago | IN | 0 ETH | 0.0245723 | ||||
Remove Liqidity | 11996680 | 1398 days ago | IN | 0 ETH | 0.0221469 | ||||
Remove Liqidity | 11996678 | 1398 days ago | IN | 0 ETH | 0.0239138 | ||||
Remove Liqidity | 11996677 | 1398 days ago | IN | 0 ETH | 0.0240731 | ||||
Remove Liqidity | 11996661 | 1398 days ago | IN | 0 ETH | 0.0218768 | ||||
Remove Liqidity | 11996651 | 1398 days ago | IN | 0 ETH | 0.0221916 | ||||
Remove Liqidity | 11996650 | 1398 days ago | IN | 0 ETH | 0.0225576 | ||||
Remove Liqidity | 11996643 | 1398 days ago | IN | 0 ETH | 0.0236517 | ||||
Remove Liqidity | 11996632 | 1398 days ago | IN | 0 ETH | 0.0243337 | ||||
Remove Liqidity | 11996630 | 1398 days ago | IN | 0 ETH | 0.0261836 | ||||
Remove Liqidity | 11996622 | 1398 days ago | IN | 0 ETH | 0.0209492 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
LuaMaker
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-10-30 */ // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.6.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.6.2; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies in extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol pragma solidity ^0.6.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 SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: @openzeppelin/contracts/GSN/Context.sol pragma solidity ^0.6.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity ^0.6.0; /** * @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. */ 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 () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: contracts/uniswapv2/interfaces/IUniswapV2ERC20.sol pragma solidity >=0.5.0; interface IUniswapV2ERC20 { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; } // File: contracts/uniswapv2/interfaces/IUniswapV2Pair.sol pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } // File: contracts/uniswapv2/interfaces/IUniswapV2Factory.sol pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function withdrawFeeTo() external view returns (address); function swapFee() external view returns (uint); function withdrawFee() external view returns (uint); function feeSetter() external view returns (address); function migrator() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setWithdrawFeeTo(address) external; function setSwapFee(uint) external; function setFeeSetter(address) external; function setMigrator(address) external; } // File: contracts/uniswapv2/interfaces/IUniswapV2Router01.sol pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); 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 quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external view returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external view returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } // File: contracts/uniswapv2/interfaces/IUniswapV2Router02.sol pragma solidity >=0.6.2; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); 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: contracts/LuaMaker.sol pragma solidity 0.6.12; // This contract handles "serving up" rewards for xLua holders by trading tokens collected from fees for Lua. contract LuaMaker is Ownable { using SafeMath for uint; using SafeERC20 for IERC20; IUniswapV2Router02 public routerv2; IUniswapV2Factory public factory; address public luaSafe; address public lua; address public weth; mapping(address => bool) public operators; mapping(address => bool) public acceptTokens; constructor( IUniswapV2Factory _factory, IUniswapV2Router02 _routerv2, address[] memory _tokens, address _luaSafe, address _lua, address _weth ) public { factory = _factory; routerv2 = _routerv2; lua = _lua; luaSafe = _luaSafe; weth = _weth; operators[msg.sender] = true; for (uint i = 0; i < _tokens.length; i++) { acceptTokens[_tokens[i]] = true; } } function setAcceptToken(address _token, bool _accept) public onlyOwner { acceptTokens[_token] = _accept; } function setOperator(address _operator, bool on) public onlyOwner { operators[_operator] = on; } function removeLiqidity(address token0, address token1, uint amount) public { require(operators[msg.sender], 'LuaMaker: no permistion'); IUniswapV2Pair pair = IUniswapV2Pair(factory.getPair(token0, token1)); pair.transfer(address(pair), amount); pair.burn(address(this)); _safeApproveForRouterV2(token0); _safeApproveForRouterV2(token1); } function marketBuyLuaWithETH(address[] calldata path, uint amount, uint deadline) public { require(operators[msg.sender], 'LuaMaker: no permistion'); require(path[path.length - 1] == lua, 'LuaMaker: wrong path'); for (uint i = 1; i < path.length - 1; i++) { require(acceptTokens[path[i]], 'LuaMaker: wrong path'); } routerv2.swapExactETHForTokens{value: amount}( 0, path, luaSafe, deadline ); } function marketBuyLuaWithToken(address[] calldata path, uint amount, uint deadline) public { require(operators[msg.sender], 'LuaMaker: no permistion'); address token = path[0]; if (token == lua) { IERC20(token).safeTransfer(luaSafe, amount); } else { require(path[path.length - 1] == lua, 'LuaMaker: wrong path'); for (uint i = 1; i < path.length - 1; i++) { require(acceptTokens[path[i]], 'LuaMaker: wrong path'); } routerv2.swapExactTokensForTokens( amount, 0, path, luaSafe, deadline ); } } function convert(address token0, address token1) public { require(msg.sender == tx.origin, "do not convert from contract"); IUniswapV2Pair pair = IUniswapV2Pair(factory.getPair(token0, token1)); pair.transfer(address(pair), pair.balanceOf(address(this))); pair.burn(address(this)); _safeApproveForRouterV2(token0); _safeApproveForRouterV2(token1); _toBaseToken(token0); _toBaseToken(token1); if (IERC20(weth).balanceOf(address(this)) > 0) { _safeApproveForRouterV2(weth); _swap(weth, lua); } if (IERC20(lua).balanceOf(address(this)) > 0) { IERC20(lua).safeTransfer(luaSafe, IERC20(lua).balanceOf(address(this))); } } function _swap(address token0, address token1) internal { if (factory.getPair(token0, token1) != address(0)) { address[] memory path = new address[](2); path[0] = token0; path[1] = token1; routerv2.swapExactTokensForTokens( IERC20(token0).balanceOf(address(this)), 0, path, address(this), block.timestamp + 1000); } } function _canSwap(address token0, address token1) internal view returns (bool) { return factory.getPair(token0, token1) != address(0); } function _toBaseToken(address token) internal { if (token == lua) return; if (_canSwap(token, lua)) { _swap(token, lua); } else if (_canSwap(token, weth)) { _swap(token, weth); } } function _safeApproveForRouterV2(address token) internal { IERC20(token).safeApprove(address(routerv2), 0); IERC20(token).safeApprove(address(routerv2), uint256(-1)); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IUniswapV2Factory","name":"_factory","type":"address"},{"internalType":"contract IUniswapV2Router02","name":"_routerv2","type":"address"},{"internalType":"address[]","name":"_tokens","type":"address[]"},{"internalType":"address","name":"_luaSafe","type":"address"},{"internalType":"address","name":"_lua","type":"address"},{"internalType":"address","name":"_weth","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"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"acceptTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"}],"name":"convert","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"contract IUniswapV2Factory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lua","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"luaSafe","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"marketBuyLuaWithETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"marketBuyLuaWithToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"operators","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token0","type":"address"},{"internalType":"address","name":"token1","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"removeLiqidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"routerv2","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"bool","name":"_accept","type":"bool"}],"name":"setAcceptToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"bool","name":"on","type":"bool"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162001e1338038062001e13833981810160405260c08110156200003757600080fd5b815160208301516040808501805191519395929483019291846401000000008211156200006357600080fd5b9083019060208201858111156200007957600080fd5b82518660208202830111640100000000821117156200009757600080fd5b82525081516020918201928201910280838360005b83811015620000c6578181015183820152602001620000ac565b5050505091909101604090815260208301519083015160609093015190945091925060009050620000f662000217565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600280546001600160a01b03199081166001600160a01b038981169190911790925560018054821688841617815560048054831686851617905560038054831687851617905560058054909216928416929092179055336000908152600660205260408120805460ff19169092179091555b84518110156200020a57600160076000878481518110620001cf57fe5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055600101620001b2565b505050505050506200021b565b3390565b611be8806200022b6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80638da5cb5b11610097578063d1da1ee511610066578063d1da1ee5146102c1578063d45d76b3146102c9578063e4d286cc146102ef578063f2fde38b1461036357610100565b80638da5cb5b1461024d57806398b2bb7114610255578063bd1b820c1461028b578063c45a0155146102b957610100565b8063558a7297116100d3578063558a729714610173578063693c1987146101a3578063715018a6146101d157806386e6237a146101d957610100565b8063072fc80b1461010557806313e7c9d814610129578063368bce02146101635780633fc8cef31461016b575b600080fd5b61010d610389565b604080516001600160a01b039092168252519081900360200190f35b61014f6004803603602081101561013f57600080fd5b50356001600160a01b0316610398565b604080519115158252519081900360200190f35b61010d6103ad565b61010d6103bc565b6101a16004803603604081101561018957600080fd5b506001600160a01b03813516906020013515156103cb565b005b6101a1600480360360408110156101b957600080fd5b506001600160a01b038135169060200135151561044e565b6101a16104d1565b6101a1600480360360608110156101ef57600080fd5b810190602081018135600160201b81111561020957600080fd5b82018360208201111561021b57600080fd5b803590602001918460208302840111600160201b8311171561023c57600080fd5b919350915080359060200135610573565b61010d610851565b6101a16004803603606081101561026b57600080fd5b506001600160a01b03813581169160208101359091169060400135610860565b6101a1600480360360408110156102a157600080fd5b506001600160a01b0381358116916020013516610a4d565b61010d610e7e565b61010d610e8d565b61014f600480360360208110156102df57600080fd5b50356001600160a01b0316610e9c565b6101a16004803603606081101561030557600080fd5b810190602081018135600160201b81111561031f57600080fd5b82018360208201111561033157600080fd5b803590602001918460208302840111600160201b8311171561035257600080fd5b919350915080359060200135610eb1565b6101a16004803603602081101561037957600080fd5b50356001600160a01b03166111f0565b6003546001600160a01b031681565b60066020526000908152604090205460ff1681565b6004546001600160a01b031681565b6005546001600160a01b031681565b6103d36112e8565b6000546001600160a01b03908116911614610423576040805162461bcd60e51b81526020600482018190526024820152600080516020611b33833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6104566112e8565b6000546001600160a01b039081169116146104a6576040805162461bcd60e51b81526020600482018190526024820152600080516020611b33833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6104d96112e8565b6000546001600160a01b03908116911614610529576040805162461bcd60e51b81526020600482018190526024820152600080516020611b33833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b3360009081526006602052604090205460ff166105d1576040805162461bcd60e51b8152602060048201526017602482015276263ab0a6b0b5b2b91d103737903832b936b4b9ba34b7b760491b604482015290519081900360640190fd5b6004546001600160a01b0316848460001981018181106105ed57fe5b905060200201356001600160a01b03166001600160a01b03161461064f576040805162461bcd60e51b8152602060048201526014602482015273098eac29ac2d6cae47440eee4dedcce40e0c2e8d60631b604482015290519081900360640190fd5b60015b60001984018110156106e4576007600086868481811061066e57fe5b602090810292909201356001600160a01b03168352508101919091526040016000205460ff166106dc576040805162461bcd60e51b8152602060048201526014602482015273098eac29ac2d6cae47440eee4dedcce40e0c2e8d60631b604482015290519081900360640190fd5b600101610652565b50600154600354604051637ff36ab560e01b81526000600482018181526001600160a01b039384166044840181905260648401879052608060248501908152608485018a90529490951694637ff36ab59488948b938b93928a9260a401866020870280828437600081840152601f19601f82011690508083019250505096505050505050506000604051808303818588803b15801561078257600080fd5b505af1158015610796573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f1916820160405260208110156107c057600080fd5b8101908080516040519392919084600160201b8211156107df57600080fd5b9083019060208201858111156107f457600080fd5b82518660208202830111600160201b8211171561081057600080fd5b82525081516020918201928201910280838360005b8381101561083d578181015183820152602001610825565b505050509050016040525050505050505050565b6000546001600160a01b031690565b3360009081526006602052604090205460ff166108be576040805162461bcd60e51b8152602060048201526017602482015276263ab0a6b0b5b2b91d103737903832b936b4b9ba34b7b760491b604482015290519081900360640190fd5b6002546040805163e6a4390560e01b81526001600160a01b03868116600483015285811660248301529151600093929092169163e6a4390591604480820192602092909190829003018186803b15801561091757600080fd5b505afa15801561092b573d6000803e3d6000fd5b505050506040513d602081101561094157600080fd5b50516040805163a9059cbb60e01b81526001600160a01b03831660048201819052602482018690529151929350909163a9059cbb916044808201926020929091908290030181600087803b15801561099857600080fd5b505af11580156109ac573d6000803e3d6000fd5b505050506040513d60208110156109c257600080fd5b50506040805163226bf2d160e21b815230600482015281516001600160a01b038416926389afcb4492602480820193918290030181600087803b158015610a0857600080fd5b505af1158015610a1c573d6000803e3d6000fd5b505050506040513d6040811015610a3257600080fd5b50610a3e9050846112ec565b610a47836112ec565b50505050565b333214610aa1576040805162461bcd60e51b815260206004820152601c60248201527f646f206e6f7420636f6e766572742066726f6d20636f6e747261637400000000604482015290519081900360640190fd5b6002546040805163e6a4390560e01b81526001600160a01b03858116600483015284811660248301529151600093929092169163e6a4390591604480820192602092909190829003018186803b158015610afa57600080fd5b505afa158015610b0e573d6000803e3d6000fd5b505050506040513d6020811015610b2457600080fd5b5051604080516370a0823160e01b815230600482015290519192506001600160a01b0383169163a9059cbb91849184916370a08231916024808301926020929190829003018186803b158015610b7957600080fd5b505afa158015610b8d573d6000803e3d6000fd5b505050506040513d6020811015610ba357600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b158015610bf457600080fd5b505af1158015610c08573d6000803e3d6000fd5b505050506040513d6020811015610c1e57600080fd5b50506040805163226bf2d160e21b815230600482015281516001600160a01b038416926389afcb4492602480820193918290030181600087803b158015610c6457600080fd5b505af1158015610c78573d6000803e3d6000fd5b505050506040513d6040811015610c8e57600080fd5b50610c9a9050836112ec565b610ca3826112ec565b610cac83611326565b610cb582611326565b600554604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610d0057600080fd5b505afa158015610d14573d6000803e3d6000fd5b505050506040513d6020811015610d2a57600080fd5b50511115610d6357600554610d47906001600160a01b03166112ec565b600554600454610d63916001600160a01b0390811691166113a8565b60048054604080516370a0823160e01b81523093810193909352516000926001600160a01b03909216916370a08231916024808301926020929190829003018186803b158015610db257600080fd5b505afa158015610dc6573d6000803e3d6000fd5b505050506040513d6020811015610ddc57600080fd5b50511115610e795760035460048054604080516370a0823160e01b8152309381019390935251610e79936001600160a01b03908116939216916370a08231916024808301926020929190829003018186803b158015610e3a57600080fd5b505afa158015610e4e573d6000803e3d6000fd5b505050506040513d6020811015610e6457600080fd5b50516004546001600160a01b03169190611699565b505050565b6002546001600160a01b031681565b6001546001600160a01b031681565b60076020526000908152604090205460ff1681565b3360009081526006602052604090205460ff16610f0f576040805162461bcd60e51b8152602060048201526017602482015276263ab0a6b0b5b2b91d103737903832b936b4b9ba34b7b760491b604482015290519081900360640190fd5b600084846000818110610f1e57fe5b6004546001600160a01b036020909202939093013581169350919091168214159050610f6357600354610f5e906001600160a01b03838116911685611699565b6111e9565b6004546001600160a01b031685856000198101818110610f7f57fe5b905060200201356001600160a01b03166001600160a01b031614610fe1576040805162461bcd60e51b8152602060048201526014602482015273098eac29ac2d6cae47440eee4dedcce40e0c2e8d60631b604482015290519081900360640190fd5b60015b6000198501811015611076576007600087878481811061100057fe5b602090810292909201356001600160a01b03168352508101919091526040016000205460ff1661106e576040805162461bcd60e51b8152602060048201526014602482015273098eac29ac2d6cae47440eee4dedcce40e0c2e8d60631b604482015290519081900360640190fd5b600101610fe4565b506001546003546040516338ed173960e01b8152600481018681526000602483018190526001600160a01b03938416606484018190526084840188905260a06044850190815260a485018b905294909516946338ed173994899492938c938c93928b929160c401866020870280828437600081840152601f19601f820116905080830192505050975050505050505050600060405180830381600087803b15801561112057600080fd5b505af1158015611134573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561115d57600080fd5b8101908080516040519392919084600160201b82111561117c57600080fd5b90830190602082018581111561119157600080fd5b82518660208202830111600160201b821117156111ad57600080fd5b82525081516020918201928201910280838360005b838110156111da5781810151838201526020016111c2565b50505050905001604052505050505b5050505050565b6111f86112e8565b6000546001600160a01b03908116911614611248576040805162461bcd60e51b81526020600482018190526024820152600080516020611b33833981519152604482015290519081900360640190fd5b6001600160a01b03811661128d5760405162461bcd60e51b8152600401808060200182810382526026815260200180611b0d6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b600154611307906001600160a01b03838116911660006116eb565b600154611323906001600160a01b0383811691166000196116eb565b50565b6004546001600160a01b038281169116141561134157611323565b6004546113589082906001600160a01b03166117fe565b15611379576004546113749082906001600160a01b03166113a8565b611323565b6005546113909082906001600160a01b03166117fe565b15611323576005546113239082906001600160a01b03165b6002546040805163e6a4390560e01b81526001600160a01b038581166004830152848116602483015291516000939092169163e6a4390591604480820192602092909190829003018186803b15801561140057600080fd5b505afa158015611414573d6000803e3d6000fd5b505050506040513d602081101561142a57600080fd5b50516001600160a01b031614611695576040805160028082526060808301845292602083019080368337019050509050828160008151811061146857fe5b60200260200101906001600160a01b031690816001600160a01b031681525050818160018151811061149657fe5b6001600160a01b03928316602091820292909201810191909152600154604080516370a0823160e01b81523060048201529051918416936338ed173993908816926370a08231926024808201939291829003018186803b1580156114f957600080fd5b505afa15801561150d573d6000803e3d6000fd5b505050506040513d602081101561152357600080fd5b50516040516001600160e01b031960e084901b1681526004810182815260006024830181905230606484018190526103e842016084850181905260a060448601908152895160a4870152895193958a95939492939260c490910190602087810191028083838b5b838110156115a257818101518382015260200161158a565b505050509050019650505050505050600060405180830381600087803b1580156115cb57600080fd5b505af11580156115df573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561160857600080fd5b8101908080516040519392919084600160201b82111561162757600080fd5b90830190602082018581111561163c57600080fd5b82518660208202830111600160201b8211171561165857600080fd5b82525081516020918201928201910280838360005b8381101561168557818101518382015260200161166d565b5050505090500160405250505050505b5050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610e79908490611893565b801580611771575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561174357600080fd5b505afa158015611757573d6000803e3d6000fd5b505050506040513d602081101561176d57600080fd5b5051155b6117ac5760405162461bcd60e51b8152600401808060200182810382526036815260200180611b7d6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610e79908490611893565b6002546040805163e6a4390560e01b81526001600160a01b038581166004830152848116602483015291516000938493169163e6a43905916044808301926020929190829003018186803b15801561185557600080fd5b505afa158015611869573d6000803e3d6000fd5b505050506040513d602081101561187f57600080fd5b50516001600160a01b031614159392505050565b60606118e8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166119449092919063ffffffff16565b805190915015610e795780806020019051602081101561190757600080fd5b5051610e795760405162461bcd60e51b815260040180806020018281038252602a815260200180611b53602a913960400191505060405180910390fd5b6060611953848460008561195b565b949350505050565b606061196685611b06565b6119b7576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106119f65780518252601f1990920191602091820191016119d7565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611a58576040519150601f19603f3d011682016040523d82523d6000602084013e611a5d565b606091505b50915091508115611a715791506119539050565b805115611a815780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611acb578181015183820152602001611ab3565b50505050905090810190601f168015611af85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a26469706673582212200edda84ddfdb515160634eae52b9649e92cebaf62fd1c1717b8c480f801f0a4c64736f6c634300060c00330000000000000000000000000388c1e0f210abae597b7de712b9510c6c36c8570000000000000000000000001d5c6f1607a171ad52efb270121331b3039dd83e00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000009abf23f4e439d695a7fd341a1b25873c50cfa52e000000000000000000000000b1f66997a5760428d3a87d68b90bfe0ae64121cc000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101005760003560e01c80638da5cb5b11610097578063d1da1ee511610066578063d1da1ee5146102c1578063d45d76b3146102c9578063e4d286cc146102ef578063f2fde38b1461036357610100565b80638da5cb5b1461024d57806398b2bb7114610255578063bd1b820c1461028b578063c45a0155146102b957610100565b8063558a7297116100d3578063558a729714610173578063693c1987146101a3578063715018a6146101d157806386e6237a146101d957610100565b8063072fc80b1461010557806313e7c9d814610129578063368bce02146101635780633fc8cef31461016b575b600080fd5b61010d610389565b604080516001600160a01b039092168252519081900360200190f35b61014f6004803603602081101561013f57600080fd5b50356001600160a01b0316610398565b604080519115158252519081900360200190f35b61010d6103ad565b61010d6103bc565b6101a16004803603604081101561018957600080fd5b506001600160a01b03813516906020013515156103cb565b005b6101a1600480360360408110156101b957600080fd5b506001600160a01b038135169060200135151561044e565b6101a16104d1565b6101a1600480360360608110156101ef57600080fd5b810190602081018135600160201b81111561020957600080fd5b82018360208201111561021b57600080fd5b803590602001918460208302840111600160201b8311171561023c57600080fd5b919350915080359060200135610573565b61010d610851565b6101a16004803603606081101561026b57600080fd5b506001600160a01b03813581169160208101359091169060400135610860565b6101a1600480360360408110156102a157600080fd5b506001600160a01b0381358116916020013516610a4d565b61010d610e7e565b61010d610e8d565b61014f600480360360208110156102df57600080fd5b50356001600160a01b0316610e9c565b6101a16004803603606081101561030557600080fd5b810190602081018135600160201b81111561031f57600080fd5b82018360208201111561033157600080fd5b803590602001918460208302840111600160201b8311171561035257600080fd5b919350915080359060200135610eb1565b6101a16004803603602081101561037957600080fd5b50356001600160a01b03166111f0565b6003546001600160a01b031681565b60066020526000908152604090205460ff1681565b6004546001600160a01b031681565b6005546001600160a01b031681565b6103d36112e8565b6000546001600160a01b03908116911614610423576040805162461bcd60e51b81526020600482018190526024820152600080516020611b33833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6104566112e8565b6000546001600160a01b039081169116146104a6576040805162461bcd60e51b81526020600482018190526024820152600080516020611b33833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6104d96112e8565b6000546001600160a01b03908116911614610529576040805162461bcd60e51b81526020600482018190526024820152600080516020611b33833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b3360009081526006602052604090205460ff166105d1576040805162461bcd60e51b8152602060048201526017602482015276263ab0a6b0b5b2b91d103737903832b936b4b9ba34b7b760491b604482015290519081900360640190fd5b6004546001600160a01b0316848460001981018181106105ed57fe5b905060200201356001600160a01b03166001600160a01b03161461064f576040805162461bcd60e51b8152602060048201526014602482015273098eac29ac2d6cae47440eee4dedcce40e0c2e8d60631b604482015290519081900360640190fd5b60015b60001984018110156106e4576007600086868481811061066e57fe5b602090810292909201356001600160a01b03168352508101919091526040016000205460ff166106dc576040805162461bcd60e51b8152602060048201526014602482015273098eac29ac2d6cae47440eee4dedcce40e0c2e8d60631b604482015290519081900360640190fd5b600101610652565b50600154600354604051637ff36ab560e01b81526000600482018181526001600160a01b039384166044840181905260648401879052608060248501908152608485018a90529490951694637ff36ab59488948b938b93928a9260a401866020870280828437600081840152601f19601f82011690508083019250505096505050505050506000604051808303818588803b15801561078257600080fd5b505af1158015610796573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f1916820160405260208110156107c057600080fd5b8101908080516040519392919084600160201b8211156107df57600080fd5b9083019060208201858111156107f457600080fd5b82518660208202830111600160201b8211171561081057600080fd5b82525081516020918201928201910280838360005b8381101561083d578181015183820152602001610825565b505050509050016040525050505050505050565b6000546001600160a01b031690565b3360009081526006602052604090205460ff166108be576040805162461bcd60e51b8152602060048201526017602482015276263ab0a6b0b5b2b91d103737903832b936b4b9ba34b7b760491b604482015290519081900360640190fd5b6002546040805163e6a4390560e01b81526001600160a01b03868116600483015285811660248301529151600093929092169163e6a4390591604480820192602092909190829003018186803b15801561091757600080fd5b505afa15801561092b573d6000803e3d6000fd5b505050506040513d602081101561094157600080fd5b50516040805163a9059cbb60e01b81526001600160a01b03831660048201819052602482018690529151929350909163a9059cbb916044808201926020929091908290030181600087803b15801561099857600080fd5b505af11580156109ac573d6000803e3d6000fd5b505050506040513d60208110156109c257600080fd5b50506040805163226bf2d160e21b815230600482015281516001600160a01b038416926389afcb4492602480820193918290030181600087803b158015610a0857600080fd5b505af1158015610a1c573d6000803e3d6000fd5b505050506040513d6040811015610a3257600080fd5b50610a3e9050846112ec565b610a47836112ec565b50505050565b333214610aa1576040805162461bcd60e51b815260206004820152601c60248201527f646f206e6f7420636f6e766572742066726f6d20636f6e747261637400000000604482015290519081900360640190fd5b6002546040805163e6a4390560e01b81526001600160a01b03858116600483015284811660248301529151600093929092169163e6a4390591604480820192602092909190829003018186803b158015610afa57600080fd5b505afa158015610b0e573d6000803e3d6000fd5b505050506040513d6020811015610b2457600080fd5b5051604080516370a0823160e01b815230600482015290519192506001600160a01b0383169163a9059cbb91849184916370a08231916024808301926020929190829003018186803b158015610b7957600080fd5b505afa158015610b8d573d6000803e3d6000fd5b505050506040513d6020811015610ba357600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b158015610bf457600080fd5b505af1158015610c08573d6000803e3d6000fd5b505050506040513d6020811015610c1e57600080fd5b50506040805163226bf2d160e21b815230600482015281516001600160a01b038416926389afcb4492602480820193918290030181600087803b158015610c6457600080fd5b505af1158015610c78573d6000803e3d6000fd5b505050506040513d6040811015610c8e57600080fd5b50610c9a9050836112ec565b610ca3826112ec565b610cac83611326565b610cb582611326565b600554604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610d0057600080fd5b505afa158015610d14573d6000803e3d6000fd5b505050506040513d6020811015610d2a57600080fd5b50511115610d6357600554610d47906001600160a01b03166112ec565b600554600454610d63916001600160a01b0390811691166113a8565b60048054604080516370a0823160e01b81523093810193909352516000926001600160a01b03909216916370a08231916024808301926020929190829003018186803b158015610db257600080fd5b505afa158015610dc6573d6000803e3d6000fd5b505050506040513d6020811015610ddc57600080fd5b50511115610e795760035460048054604080516370a0823160e01b8152309381019390935251610e79936001600160a01b03908116939216916370a08231916024808301926020929190829003018186803b158015610e3a57600080fd5b505afa158015610e4e573d6000803e3d6000fd5b505050506040513d6020811015610e6457600080fd5b50516004546001600160a01b03169190611699565b505050565b6002546001600160a01b031681565b6001546001600160a01b031681565b60076020526000908152604090205460ff1681565b3360009081526006602052604090205460ff16610f0f576040805162461bcd60e51b8152602060048201526017602482015276263ab0a6b0b5b2b91d103737903832b936b4b9ba34b7b760491b604482015290519081900360640190fd5b600084846000818110610f1e57fe5b6004546001600160a01b036020909202939093013581169350919091168214159050610f6357600354610f5e906001600160a01b03838116911685611699565b6111e9565b6004546001600160a01b031685856000198101818110610f7f57fe5b905060200201356001600160a01b03166001600160a01b031614610fe1576040805162461bcd60e51b8152602060048201526014602482015273098eac29ac2d6cae47440eee4dedcce40e0c2e8d60631b604482015290519081900360640190fd5b60015b6000198501811015611076576007600087878481811061100057fe5b602090810292909201356001600160a01b03168352508101919091526040016000205460ff1661106e576040805162461bcd60e51b8152602060048201526014602482015273098eac29ac2d6cae47440eee4dedcce40e0c2e8d60631b604482015290519081900360640190fd5b600101610fe4565b506001546003546040516338ed173960e01b8152600481018681526000602483018190526001600160a01b03938416606484018190526084840188905260a06044850190815260a485018b905294909516946338ed173994899492938c938c93928b929160c401866020870280828437600081840152601f19601f820116905080830192505050975050505050505050600060405180830381600087803b15801561112057600080fd5b505af1158015611134573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561115d57600080fd5b8101908080516040519392919084600160201b82111561117c57600080fd5b90830190602082018581111561119157600080fd5b82518660208202830111600160201b821117156111ad57600080fd5b82525081516020918201928201910280838360005b838110156111da5781810151838201526020016111c2565b50505050905001604052505050505b5050505050565b6111f86112e8565b6000546001600160a01b03908116911614611248576040805162461bcd60e51b81526020600482018190526024820152600080516020611b33833981519152604482015290519081900360640190fd5b6001600160a01b03811661128d5760405162461bcd60e51b8152600401808060200182810382526026815260200180611b0d6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b600154611307906001600160a01b03838116911660006116eb565b600154611323906001600160a01b0383811691166000196116eb565b50565b6004546001600160a01b038281169116141561134157611323565b6004546113589082906001600160a01b03166117fe565b15611379576004546113749082906001600160a01b03166113a8565b611323565b6005546113909082906001600160a01b03166117fe565b15611323576005546113239082906001600160a01b03165b6002546040805163e6a4390560e01b81526001600160a01b038581166004830152848116602483015291516000939092169163e6a4390591604480820192602092909190829003018186803b15801561140057600080fd5b505afa158015611414573d6000803e3d6000fd5b505050506040513d602081101561142a57600080fd5b50516001600160a01b031614611695576040805160028082526060808301845292602083019080368337019050509050828160008151811061146857fe5b60200260200101906001600160a01b031690816001600160a01b031681525050818160018151811061149657fe5b6001600160a01b03928316602091820292909201810191909152600154604080516370a0823160e01b81523060048201529051918416936338ed173993908816926370a08231926024808201939291829003018186803b1580156114f957600080fd5b505afa15801561150d573d6000803e3d6000fd5b505050506040513d602081101561152357600080fd5b50516040516001600160e01b031960e084901b1681526004810182815260006024830181905230606484018190526103e842016084850181905260a060448601908152895160a4870152895193958a95939492939260c490910190602087810191028083838b5b838110156115a257818101518382015260200161158a565b505050509050019650505050505050600060405180830381600087803b1580156115cb57600080fd5b505af11580156115df573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561160857600080fd5b8101908080516040519392919084600160201b82111561162757600080fd5b90830190602082018581111561163c57600080fd5b82518660208202830111600160201b8211171561165857600080fd5b82525081516020918201928201910280838360005b8381101561168557818101518382015260200161166d565b5050505090500160405250505050505b5050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610e79908490611893565b801580611771575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561174357600080fd5b505afa158015611757573d6000803e3d6000fd5b505050506040513d602081101561176d57600080fd5b5051155b6117ac5760405162461bcd60e51b8152600401808060200182810382526036815260200180611b7d6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610e79908490611893565b6002546040805163e6a4390560e01b81526001600160a01b038581166004830152848116602483015291516000938493169163e6a43905916044808301926020929190829003018186803b15801561185557600080fd5b505afa158015611869573d6000803e3d6000fd5b505050506040513d602081101561187f57600080fd5b50516001600160a01b031614159392505050565b60606118e8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166119449092919063ffffffff16565b805190915015610e795780806020019051602081101561190757600080fd5b5051610e795760405162461bcd60e51b815260040180806020018281038252602a815260200180611b53602a913960400191505060405180910390fd5b6060611953848460008561195b565b949350505050565b606061196685611b06565b6119b7576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106119f65780518252601f1990920191602091820191016119d7565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611a58576040519150601f19603f3d011682016040523d82523d6000602084013e611a5d565b606091505b50915091508115611a715791506119539050565b805115611a815780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611acb578181015183820152602001611ab3565b50505050905090810190601f168015611af85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a26469706673582212200edda84ddfdb515160634eae52b9649e92cebaf62fd1c1717b8c480f801f0a4c64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000388c1e0f210abae597b7de712b9510c6c36c8570000000000000000000000001d5c6f1607a171ad52efb270121331b3039dd83e00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000009abf23f4e439d695a7fd341a1b25873c50cfa52e000000000000000000000000b1f66997a5760428d3a87d68b90bfe0ae64121cc000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
-----Decoded View---------------
Arg [0] : _factory (address): 0x0388C1E0f210AbAe597B7DE712B9510C6C36C857
Arg [1] : _routerv2 (address): 0x1d5C6F1607A171Ad52EFB270121331b3039dD83e
Arg [2] : _tokens (address[]): 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48,0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [3] : _luaSafe (address): 0x9abF23f4e439d695A7FD341a1b25873C50CFa52e
Arg [4] : _lua (address): 0xB1f66997A5760428D3a87D68b90BfE0aE64121cC
Arg [5] : _weth (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000388c1e0f210abae597b7de712b9510c6c36c857
Arg [1] : 0000000000000000000000001d5c6f1607a171ad52efb270121331b3039dd83e
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000009abf23f4e439d695a7fd341a1b25873c50cfa52e
Arg [4] : 000000000000000000000000b1f66997a5760428d3a87d68b90bfe0ae64121cc
Arg [5] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [7] : 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Arg [8] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Deployed Bytecode Sourcemap
31365:4495:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31545:22;;;:::i;:::-;;;;-1:-1:-1;;;;;31545:22:0;;;;;;;;;;;;;;31625:41;;;;;;;;;;;;;;;;-1:-1:-1;31625:41:0;-1:-1:-1;;;;;31625:41:0;;:::i;:::-;;;;;;;;;;;;;;;;;;31574:18;;;:::i;31599:19::-;;;:::i;32349:108::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;32349:108:0;;;;;;;;;;:::i;:::-;;32223:118;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;32223:118:0;;;;;;;;;;:::i;20693:148::-;;;:::i;32871:494::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;32871:494:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;32871:494:0;;;;;;;;;;;;-1:-1:-1;32871:494:0;-1:-1:-1;32871:494:0;;;;;;;:::i;20051:79::-;;;:::i;32465:398::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;32465:398:0;;;;;;;;;;;;;;;;;:::i;34041:778::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;34041:778:0;;;;;;;;;;:::i;31506:32::-;;;:::i;31465:34::-;;;:::i;31673:44::-;;;;;;;;;;;;;;;;-1:-1:-1;31673:44:0;-1:-1:-1;;;;;31673:44:0;;:::i;33377:656::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;33377:656:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;33377:656:0;;;;;;;;;;;;-1:-1:-1;33377:656:0;-1:-1:-1;33377:656:0;;;;;;;:::i;20996:244::-;;;;;;;;;;;;;;;;-1:-1:-1;20996:244:0;-1:-1:-1;;;;;20996:244:0;;:::i;31545:22::-;;;-1:-1:-1;;;;;31545:22:0;;:::o;31625:41::-;;;;;;;;;;;;;;;:::o;31574:18::-;;;-1:-1:-1;;;;;31574:18:0;;:::o;31599:19::-;;;-1:-1:-1;;;;;31599:19:0;;:::o;32349:108::-;20273:12;:10;:12::i;:::-;20263:6;;-1:-1:-1;;;;;20263:6:0;;;:22;;;20255:67;;;;;-1:-1:-1;;;20255:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20255:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;32424:20:0;;;::::1;;::::0;;;:9:::1;:20;::::0;;;;:25;;-1:-1:-1;;32424:25:0::1;::::0;::::1;;::::0;;;::::1;::::0;;32349:108::o;32223:118::-;20273:12;:10;:12::i;:::-;20263:6;;-1:-1:-1;;;;;20263:6:0;;;:22;;;20255:67;;;;;-1:-1:-1;;;20255:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20255:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;32303:20:0;;;::::1;;::::0;;;:12:::1;:20;::::0;;;;:30;;-1:-1:-1;;32303:30:0::1;::::0;::::1;;::::0;;;::::1;::::0;;32223:118::o;20693:148::-;20273:12;:10;:12::i;:::-;20263:6;;-1:-1:-1;;;;;20263:6:0;;;:22;;;20255:67;;;;;-1:-1:-1;;;20255:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20255:67:0;;;;;;;;;;;;;;;20800:1:::1;20784:6:::0;;20763:40:::1;::::0;-1:-1:-1;;;;;20784:6:0;;::::1;::::0;20763:40:::1;::::0;20800:1;;20763:40:::1;20831:1;20814:19:::0;;-1:-1:-1;;;;;;20814:19:0::1;::::0;;20693:148::o;32871:494::-;32987:10;32977:21;;;;:9;:21;;;;;;;;32969:57;;;;;-1:-1:-1;;;32969:57:0;;;;;;;;;;;;-1:-1:-1;;;32969:57:0;;;;;;;;;;;;;;;33068:3;;-1:-1:-1;;;;;33068:3:0;33043:4;;-1:-1:-1;;33048:15:0;;33043:21;;;;;;;;;;;;;-1:-1:-1;;;;;33043:21:0;-1:-1:-1;;;;;33043:28:0;;33035:61;;;;;-1:-1:-1;;;33035:61:0;;;;;;;;;;;;-1:-1:-1;;;33035:61:0;;;;;;;;;;;;;;;33119:1;33105:118;-1:-1:-1;;33126:15:0;;33122:19;;33105:118;;;33167:12;:21;33180:4;;33185:1;33180:7;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33180:7:0;33167:21;;-1:-1:-1;33167:21:0;;;;;;;;-1:-1:-1;33167:21:0;;;;33159:54;;;;;-1:-1:-1;;;33159:54:0;;;;;;;;;;;;-1:-1:-1;;;33159:54:0;;;;;;;;;;;;;;;33143:3;;33105:118;;;-1:-1:-1;33239:8:0;;33322:7;;33239:118;;-1:-1:-1;;;33239:118:0;;:8;:118;;;;;;-1:-1:-1;;;;;33322:7:0;;;33239:118;;;;;;;;;;;;;;;;;;;;;;;;;:8;;;;;:30;;33277:6;;33307:4;;;;33322:7;33340:8;;33239:118;;33307:4;33239:118;;;;33307:4;33239:118;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;33239:118:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;33239:118:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;33239:118:0;;;;;;;;;;;;-1:-1:-1;33239:118:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32871:494;;;;:::o;20051:79::-;20089:7;20116:6;-1:-1:-1;;;;;20116:6:0;20051:79;:::o;32465:398::-;32570:10;32560:21;;;;:9;:21;;;;;;;;32552:57;;;;;-1:-1:-1;;;32552:57:0;;;;;;;;;;;;-1:-1:-1;;;32552:57:0;;;;;;;;;;;;;;;32657:7;;:31;;;-1:-1:-1;;;32657:31:0;;-1:-1:-1;;;;;32657:31:0;;;;;;;;;;;;;;;;32620:19;;32657:7;;;;;:15;;:31;;;;;;;;;;;;;;;:7;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32657:31:0;32700:36;;;-1:-1:-1;;;32700:36:0;;-1:-1:-1;;;;;32700:13:0;;:36;;;;;;;;;;;;;;32657:31;;-1:-1:-1;32700:13:0;;;;:36;;;;;32657:31;;32700:36;;;;;;;;-1:-1:-1;32700:13:0;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;32747:24:0;;;-1:-1:-1;;;32747:24:0;;32765:4;32747:24;;;;;;-1:-1:-1;;;;;32747:9:0;;;;;:24;;;;;;;;;;;-1:-1:-1;32747:9:0;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32782:31:0;;-1:-1:-1;32806:6:0;32782:23;:31::i;:::-;32824;32848:6;32824:23;:31::i;:::-;32465:398;;;;:::o;34041:778::-;34116:10;34130:9;34116:23;34108:64;;;;;-1:-1:-1;;;34108:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;34230:7;;:31;;;-1:-1:-1;;;34230:31:0;;-1:-1:-1;;;;;34230:31:0;;;;;;;;;;;;;;;;34193:19;;34230:7;;;;;:15;;:31;;;;;;;;;;;;;;;:7;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34230:31:0;34302:29;;;-1:-1:-1;;;34302:29:0;;34325:4;34302:29;;;;;;34230:31;;-1:-1:-1;;;;;;34273:13:0;;;;;34230:31;;34273:13;;34302:14;;:29;;;;;34230:31;;34302:29;;;;;;;34273:13;34302:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34302:29:0;34273:59;;;-1:-1:-1;;;;;;34273:59:0;;;;;;;-1:-1:-1;;;;;34273:59:0;;;;;;;;;;;;;;;;;;;;34302:29;;34273:59;;;;;;;-1:-1:-1;34273:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;34343:24:0;;;-1:-1:-1;;;34343:24:0;;34361:4;34343:24;;;;;;-1:-1:-1;;;;;34343:9:0;;;;;:24;;;;;;;;;;;-1:-1:-1;34343:9:0;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34378:31:0;;-1:-1:-1;34402:6:0;34378:23;:31::i;:::-;34420;34444:6;34420:23;:31::i;:::-;34464:20;34477:6;34464:12;:20::i;:::-;34495;34508:6;34495:12;:20::i;:::-;34539:4;;34532:37;;;-1:-1:-1;;;34532:37:0;;34563:4;34532:37;;;;;;34572:1;;-1:-1:-1;;;;;34539:4:0;;34532:22;;:37;;;;;;;;;;;;;;34539:4;34532:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34532:37:0;:41;34528:130;;;34612:4;;34588:29;;-1:-1:-1;;;;;34612:4:0;34588:23;:29::i;:::-;34636:4;;34642:3;;34630:16;;-1:-1:-1;;;;;34636:4:0;;;;34642:3;34630:5;:16::i;:::-;34681:3;;;34674:36;;;-1:-1:-1;;;34674:36:0;;34704:4;34674:36;;;;;;;;34713:1;;-1:-1:-1;;;;;34681:3:0;;;;34674:21;;:36;;;;;;;;;;;;;;34681:3;34674:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34674:36:0;:40;34670:142;;;34754:7;;34770:3;;;34763:36;;;-1:-1:-1;;;34763:36:0;;34793:4;34763:36;;;;;;;;34729:71;;-1:-1:-1;;;;;34754:7:0;;;;34770:3;;;34763:21;;:36;;;;;;;;;;;;;;34770:3;34763:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34763:36:0;34736:3;;-1:-1:-1;;;;;34736:3:0;;34729:71;:24;:71::i;:::-;34041:778;;;:::o;31506:32::-;;;-1:-1:-1;;;;;31506:32:0;;:::o;31465:34::-;;;-1:-1:-1;;;;;31465:34:0;;:::o;31673:44::-;;;;;;;;;;;;;;;:::o;33377:656::-;33495:10;33485:21;;;;:9;:21;;;;;;;;33477:57;;;;;-1:-1:-1;;;33477:57:0;;;;;;;;;;;;-1:-1:-1;;;33477:57:0;;;;;;;;;;;;;;;33543:13;33559:4;;33564:1;33559:7;;;;;;;33588:3;;-1:-1:-1;;;;;33559:7:0;;;;;;;;;;;;-1:-1:-1;33588:3:0;;;;33579:12;;33575:451;;-1:-1:-1;33575:451:0;;33633:7;;33606:43;;-1:-1:-1;;;;;33606:26:0;;;;33633:7;33642:6;33606:26;:43::i;:::-;33575:451;;;33710:3;;-1:-1:-1;;;;;33710:3:0;33685:4;;-1:-1:-1;;33690:15:0;;33685:21;;;;;;;;;;;;;-1:-1:-1;;;;;33685:21:0;-1:-1:-1;;;;;33685:28:0;;33677:61;;;;;-1:-1:-1;;;33677:61:0;;;;;;;;;;;;-1:-1:-1;;;33677:61:0;;;;;;;;;;;;;;;33763:1;33749:122;-1:-1:-1;;33770:15:0;;33766:19;;33749:122;;;33813:12;:21;33826:4;;33831:1;33826:7;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33826:7:0;33813:21;;-1:-1:-1;33813:21:0;;;;;;;;-1:-1:-1;33813:21:0;;;;33805:54;;;;;-1:-1:-1;;;33805:54:0;;;;;;;;;;;;-1:-1:-1;;;33805:54:0;;;;;;;;;;;;;;;33787:3;;33749:122;;;-1:-1:-1;33881:8:0;;33977:7;;33881:135;;-1:-1:-1;;;33881:135:0;;;;;;;;:8;:135;;;;;;-1:-1:-1;;;;;33977:7:0;;;33881:135;;;;;;;;;;;;;;;;;;;;;;;;;:8;;;;;:33;;33927:6;;33881:8;;33960:4;;;;33977:7;33997:8;;33881:135;;;33960:4;33881:135;;;;33960:4;33881:135;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;33881:135:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;33881:135:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;33881:135:0;;;;;;;;;;;;-1:-1:-1;33881:135:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33575:451;33377:656;;;;;:::o;20996:244::-;20273:12;:10;:12::i;:::-;20263:6;;-1:-1:-1;;;;;20263:6:0;;;:22;;;20255:67;;;;;-1:-1:-1;;;20255:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20255:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;21085:22:0;::::1;21077:73;;;;-1:-1:-1::0;;;21077:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21187:6;::::0;;21166:38:::1;::::0;-1:-1:-1;;;;;21166:38:0;;::::1;::::0;21187:6;::::1;::::0;21166:38:::1;::::0;::::1;21215:6;:17:::0;;-1:-1:-1;;;;;;21215:17:0::1;-1:-1:-1::0;;;;;21215:17:0;;;::::1;::::0;;;::::1;::::0;;20996:244::o;18607:106::-;18695:10;18607:106;:::o;35670:187::-;35770:8;;35736:47;;-1:-1:-1;;;;;35736:25:0;;;;35770:8;;35736:25;:47::i;:::-;35826:8;;35792:57;;-1:-1:-1;;;;;35792:25:0;;;;35826:8;-1:-1:-1;;35792:25:0;:57::i;:::-;35670:187;:::o;35422:240::-;35490:3;;-1:-1:-1;;;;;35481:12:0;;;35490:3;;35481:12;35477:25;;;35495:7;;35477:25;35532:3;;35516:20;;35525:5;;-1:-1:-1;;;;;35532:3:0;35516:8;:20::i;:::-;35512:143;;;35562:3;;35549:17;;35555:5;;-1:-1:-1;;;;;35562:3:0;35549:5;:17::i;:::-;35512:143;;;35609:4;;35593:21;;35602:5;;-1:-1:-1;;;;;35609:4:0;35593:8;:21::i;:::-;35589:66;;;35640:4;;35627:18;;35633:5;;-1:-1:-1;;;;;35640:4:0;34827:431;34896:7;;:31;;;-1:-1:-1;;;34896:31:0;;-1:-1:-1;;;;;34896:31:0;;;;;;;;;;;;;;;;34939:1;;34896:7;;;;:15;;:31;;;;;;;;;;;;;;;:7;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34896:31:0;-1:-1:-1;;;;;34896:45:0;;34892:359;;34978:16;;;34992:1;34978:16;;;34954:21;34978:16;;;;;34954:21;34978:16;;;;;;;;;;-1:-1:-1;34978:16:0;34954:40;;35015:6;35005:4;35010:1;35005:7;;;;;;;;;;;;;:16;-1:-1:-1;;;;;35005:16:0;;;-1:-1:-1;;;;;35005:16:0;;;;;35042:6;35032:4;35037:1;35032:7;;;;;;;;-1:-1:-1;;;;;35032:16:0;;;:7;;;;;;;;;;:16;;;;35059:8;;35105:39;;;-1:-1:-1;;;35105:39:0;;35138:4;35105:39;;;;;;35059:8;;;;:33;;35105:24;;;;;;:39;;;;;35032:7;35105:39;;;;;;:24;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35105:39:0;35059:182;;-1:-1:-1;;;;;;35059:182:0;;;;;;;;;;;;;35158:1;35059:182;;;;;;35199:4;35059:182;;;;;;35236:4;35218:15;:22;35059:182;;;;;;;;;;;;;;;;;;;;;35158:1;;35173:4;;35199;;35218:22;;35059:182;;;;;;35105:39;35059:182;;;;;;;;35158:1;35059:182;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;35059:182:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;35059:182:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;35059:182:0;;;;;;;;;;;;-1:-1:-1;35059:182:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34892:359;;34827:431;;:::o;14912:177::-;15022:58;;;-1:-1:-1;;;;;15022:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15022:58:0;-1:-1:-1;;;15022:58:0;;;14995:86;;15015:5;;14995:19;:86::i;15571:622::-;15941:10;;;15940:62;;-1:-1:-1;15957:39:0;;;-1:-1:-1;;;15957:39:0;;15981:4;15957:39;;;;-1:-1:-1;;;;;15957:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15957:39:0;:44;15940:62;15932:152;;;;-1:-1:-1;;;15932:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16122:62;;;-1:-1:-1;;;;;16122:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16122:62:0;-1:-1:-1;;;16122:62:0;;;16095:90;;16115:5;;16095:19;:90::i;35266:148::-;35361:7;;:31;;;-1:-1:-1;;;35361:31:0;;-1:-1:-1;;;;;35361:31:0;;;;;;;;;;;;;;;;35339:4;;;;35361:7;;:15;;:31;;;;;;;;;;;;;;:7;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35361:31:0;-1:-1:-1;;;;;35361:45:0;;;;35266:148;-1:-1:-1;;;35266:148:0:o;17217:761::-;17641:23;17667:69;17695:4;17667:69;;;;;;;;;;;;;;;;;17675:5;-1:-1:-1;;;;;17667:27:0;;;:69;;;;;:::i;:::-;17751:17;;17641:95;;-1:-1:-1;17751:21:0;17747:224;;17893:10;17882:30;;;;;;;;;;;;;;;-1:-1:-1;17882:30:0;17874:85;;;;-1:-1:-1;;;17874:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11895:196;11998:12;12030:53;12053:6;12061:4;12067:1;12070:12;12030:22;:53::i;:::-;12023:60;11895:196;-1:-1:-1;;;;11895:196:0:o;13272:979::-;13402:12;13435:18;13446:6;13435:10;:18::i;:::-;13427:60;;;;;-1:-1:-1;;;13427:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;13561:12;13575:23;13602:6;-1:-1:-1;;;;;13602:11:0;13622:8;13633:4;13602:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13602:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13560:78;;;;13653:7;13649:595;;;13684:10;-1:-1:-1;13677:17:0;;-1:-1:-1;13677:17:0;13649:595;13798:17;;:21;13794:439;;14061:10;14055:17;14122:15;14109:10;14105:2;14101:19;14094:44;14009:148;14204:12;14197:20;;-1:-1:-1;;;14197:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8977:422;9344:20;9383:8;;;8977:422::o
Swarm Source
ipfs://0edda84ddfdb515160634eae52b9649e92cebaf62fd1c1717b8c480f801f0a4c
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.