Contract Overview
Balance:
0 GLMR
GLMR Value:
$0.00
My Name Tag:
Not Available, login to update
[ Download CSV Export ]
Contract Name:
EIP712SwapRouter
Compiler Version
v0.6.12+commit.27d51765
Optimization Enabled:
Yes with 999999 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import '../libraries/SwapLibrary.sol'; import '../libraries/SafeMath.sol'; import '../libraries/TransferHelper.sol'; import '../interfaces/INoLiquiditySwapRouter.sol'; import '../interfaces/ISwapFactory.sol'; import '../interfaces/IERC20.sol'; import '../interfaces/IWETH.sol'; import '../libraries/EIP712MetaTransaction.sol'; import "@openzeppelin/contracts/access/Ownable.sol"; contract EIP712SwapRouter is INoLiquiditySwapRouter, EIP712MetaTransaction, Ownable { using SafeMath for uint; address public immutable override factory; address public immutable override WETH; mapping(address => bool) public noFeesPair; modifier ensure(uint deadline) { require(deadline >= block.timestamp, 'convergenceX eip712SwapRouter: EXPIRED'); _; } constructor(address _factory, address _WETH) public EIP712MetaTransaction("ConvergenceX", "1") { factory = _factory; WETH = _WETH; } receive() external payable { assert(msgSender() == WETH); // only accept ETH via fallback from the WETH contract } function setNoFeesPair(address pair, bool noFees) external onlyOwner { require(pair != address(0), "convergenceX eip712SwapRouter: zero address"); noFeesPair[pair] = noFees; } // **** SWAP **** // requires the initial amount to have already been sent to the first pair function _swap(uint[] memory amounts, address[] memory path, address _to) internal virtual { for (uint i; i < path.length - 1; i++) { (address input, address output) = (path[i], path[i + 1]); (address token0,) = SwapLibrary.sortTokens(input, output); uint amountOut = amounts[i + 1]; (uint amount0Out, uint amount1Out) = input == token0 ? (uint(0), amountOut) : (amountOut, uint(0)); address to = i < path.length - 2 ? SwapLibrary.pairFor(factory, output, path[i + 2]) : _to; address pairAddress = SwapLibrary.pairFor(factory, input, output); require(noFeesPair[pairAddress] == true, 'convergenceX eip712SwapRouter: not in no fees pair list'); ISwapPair(pairAddress).swap( amount0Out, amount1Out, to, new bytes(0) ); } } function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external virtual override ensure(deadline) returns (uint[] memory amounts) { amounts = SwapLibrary.getAmountsOut(factory, amountIn, path); require(amounts[amounts.length - 1] >= amountOutMin, 'convergenceX eip712SwapRouter: INSUFFICIENT_OUTPUT_AMOUNT'); TransferHelper.safeTransferFrom( path[0], msgSender(), SwapLibrary.pairFor(factory, path[0], path[1]), amounts[0] ); _swap(amounts, path, to); } function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external virtual override ensure(deadline) returns (uint[] memory amounts) { amounts = SwapLibrary.getAmountsIn(factory, amountOut, path); require(amounts[0] <= amountInMax, 'convergenceX eip712SwapRouter: EXCESSIVE_INPUT_AMOUNT'); TransferHelper.safeTransferFrom( path[0], msgSender(), SwapLibrary.pairFor(factory, path[0], path[1]), amounts[0] ); _swap(amounts, path, to); } function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external virtual override payable ensure(deadline) returns (uint[] memory amounts) { require(path[0] == WETH, 'convergenceX eip712SwapRouter: INVALID_PATH'); amounts = SwapLibrary.getAmountsOut(factory, msg.value, path); require(amounts[amounts.length - 1] >= amountOutMin, 'convergenceX eip712SwapRouter: INSUFFICIENT_OUTPUT_AMOUNT'); IWETH(WETH).deposit{value: amounts[0]}(); assert(IWETH(WETH).transfer(SwapLibrary.pairFor(factory, path[0], path[1]), amounts[0])); _swap(amounts, path, to); } function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external virtual override ensure(deadline) returns (uint[] memory amounts) { require(path[path.length - 1] == WETH, 'convergenceX eip712SwapRouter: INVALID_PATH'); amounts = SwapLibrary.getAmountsIn(factory, amountOut, path); require(amounts[0] <= amountInMax, 'convergenceX eip712SwapRouter: EXCESSIVE_INPUT_AMOUNT'); TransferHelper.safeTransferFrom( path[0], msgSender(), SwapLibrary.pairFor(factory, path[0], path[1]), amounts[0] ); _swap(amounts, path, address(this)); IWETH(WETH).withdraw(amounts[amounts.length - 1]); TransferHelper.safeTransferETH(to, amounts[amounts.length - 1]); } function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external virtual override ensure(deadline) returns (uint[] memory amounts) { require(path[path.length - 1] == WETH, 'convergenceX eip712SwapRouter: INVALID_PATH'); amounts = SwapLibrary.getAmountsOut(factory, amountIn, path); require(amounts[amounts.length - 1] >= amountOutMin, 'convergenceX eip712SwapRouter: INSUFFICIENT_OUTPUT_AMOUNT'); TransferHelper.safeTransferFrom( path[0], msgSender(), SwapLibrary.pairFor(factory, path[0], path[1]), amounts[0] ); _swap(amounts, path, address(this)); IWETH(WETH).withdraw(amounts[amounts.length - 1]); TransferHelper.safeTransferETH(to, amounts[amounts.length - 1]); } function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external virtual override payable ensure(deadline) returns (uint[] memory amounts) { require(path[0] == WETH, 'convergenceX eip712SwapRouter: INVALID_PATH'); amounts = SwapLibrary.getAmountsIn(factory, amountOut, path); require(amounts[0] <= msg.value, 'convergenceX eip712SwapRouter: EXCESSIVE_INPUT_AMOUNT'); IWETH(WETH).deposit{value: amounts[0]}(); assert(IWETH(WETH).transfer(SwapLibrary.pairFor(factory, path[0], path[1]), amounts[0])); _swap(amounts, path, to); // refund dust eth, if any if (msg.value > amounts[0]) TransferHelper.safeTransferETH(msgSender(), msg.value - amounts[0]); } // **** SWAP (supporting fee-on-transfer tokens) **** // requires the initial amount to have already been sent to the first pair function _swapSupportingFeeOnTransferTokens(address[] memory path, address _to) internal virtual { for (uint i; i < path.length - 1; i++) { (address input, address output) = (path[i], path[i + 1]); (address token0,) = SwapLibrary.sortTokens(input, output); ISwapPair pair = ISwapPair(SwapLibrary.pairFor(factory, input, output)); uint amountInput; uint amountOutput; { // scope to avoid stack too deep errors (uint reserve0, uint reserve1,) = pair.getReserves(); (uint reserveInput, uint reserveOutput) = input == token0 ? (reserve0, reserve1) : (reserve1, reserve0); amountInput = IERC20(input).balanceOf(address(pair)).sub(reserveInput); amountOutput = SwapLibrary.getAmountOut(amountInput, reserveInput, reserveOutput); } (uint amount0Out, uint amount1Out) = input == token0 ? (uint(0), amountOutput) : (amountOutput, uint(0)); address to = i < path.length - 2 ? SwapLibrary.pairFor(factory, output, path[i + 2]) : _to; pair.swap(amount0Out, amount1Out, to, new bytes(0)); } } function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external virtual override ensure(deadline) { TransferHelper.safeTransferFrom( path[0], msgSender(), SwapLibrary.pairFor(factory, path[0], path[1]), amountIn ); uint balanceBefore = IERC20(path[path.length - 1]).balanceOf(to); _swapSupportingFeeOnTransferTokens(path, to); require( IERC20(path[path.length - 1]).balanceOf(to).sub(balanceBefore) >= amountOutMin, 'convergenceX eip712SwapRouter: INSUFFICIENT_OUTPUT_AMOUNT' ); } function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external virtual override payable ensure(deadline) { require(path[0] == WETH, 'convergenceX eip712SwapRouter: INVALID_PATH'); uint amountIn = msg.value; IWETH(WETH).deposit{value: amountIn}(); assert(IWETH(WETH).transfer(SwapLibrary.pairFor(factory, path[0], path[1]), amountIn)); uint balanceBefore = IERC20(path[path.length - 1]).balanceOf(to); _swapSupportingFeeOnTransferTokens(path, to); require( IERC20(path[path.length - 1]).balanceOf(to).sub(balanceBefore) >= amountOutMin, 'convergenceX eip712SwapRouter: INSUFFICIENT_OUTPUT_AMOUNT' ); } function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external virtual override ensure(deadline) { require(path[path.length - 1] == WETH, 'convergenceX eip712SwapRouter: INVALID_PATH'); TransferHelper.safeTransferFrom( path[0], msgSender(), SwapLibrary.pairFor(factory, path[0], path[1]), amountIn ); _swapSupportingFeeOnTransferTokens(path, address(this)); uint amountOut = IERC20(WETH).balanceOf(address(this)); require(amountOut >= amountOutMin, 'convergenceX eip712SwapRouter: INSUFFICIENT_OUTPUT_AMOUNT'); IWETH(WETH).withdraw(amountOut); TransferHelper.safeTransferETH(to, amountOut); } // **** LIBRARY FUNCTIONS **** function quote(uint amountA, uint reserveA, uint reserveB) public pure virtual override returns (uint amountB) { return SwapLibrary.quote(amountA, reserveA, reserveB); } function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) public pure virtual override returns (uint amountOut) { return SwapLibrary.getAmountOut(amountIn, reserveIn, reserveOut); } function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) public pure virtual override returns (uint amountIn) { return SwapLibrary.getAmountIn(amountOut, reserveIn, reserveOut); } function getAmountsOut(uint amountIn, address[] memory path) public view virtual override returns (uint[] memory amounts) { return SwapLibrary.getAmountsOut(factory, amountIn, path); } function getAmountsIn(uint amountOut, address[] memory path) public view virtual override returns (uint[] memory amounts) { return SwapLibrary.getAmountsIn(factory, amountOut, path); } }
// SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.5.0; import '../interfaces/ISwapPair.sol'; import "./SafeMath.sol"; library SwapLibrary { using SafeMath for uint; // returns sorted token addresses, used to handle return values from pairs sorted in this order function sortTokens(address tokenA, address tokenB) internal pure returns (address token0, address token1) { require(tokenA != tokenB, 'SwapLibrary: IDENTICAL_ADDRESSES'); (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA); require(token0 != address(0), 'SwapLibrary: ZERO_ADDRESS'); } // calculates the CREATE2 address for a pair without making any external calls function pairFor(address factory, address tokenA, address tokenB) internal pure returns (address pair) { (address token0, address token1) = sortTokens(tokenA, tokenB); // get the Keccak-256 hash from the SwapPair bytecode (doesn't need the 0x) // https://emn178.github.io/online-tools/keccak_256.html pair = address(uint(keccak256(abi.encodePacked( hex'ff', factory, keccak256(abi.encodePacked(token0, token1)), hex'cde9b0c75e2a4c1e9b2c8de91a208ff4917080e1dd07917fa1c80a02bc362374' // init code hash )))); } // fetches and sorts the reserves for a pair function getReserves(address factory, address tokenA, address tokenB) internal view returns (uint reserveA, uint reserveB) { (address token0,) = sortTokens(tokenA, tokenB); (uint reserve0, uint reserve1,) = ISwapPair(pairFor(factory, tokenA, tokenB)).getReserves(); (reserveA, reserveB) = tokenA == token0 ? (reserve0, reserve1) : (reserve1, reserve0); } // given some amount of an asset and pair reserves, returns an equivalent amount of the other asset function quote(uint amountA, uint reserveA, uint reserveB) internal pure returns (uint amountB) { require(amountA > 0, 'SwapLibrary: INSUFFICIENT_AMOUNT'); require(reserveA > 0 && reserveB > 0, 'SwapLibrary: INSUFFICIENT_LIQUIDITY'); amountB = amountA.mul(reserveB) / reserveA; } // given an input amount of an asset and pair reserves, returns the maximum output amount of the other asset function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) internal pure returns (uint amountOut) { require(amountIn > 0, 'SwapLibrary: INSUFFICIENT_INPUT_AMOUNT'); require(reserveIn > 0 && reserveOut > 0, 'SwapLibrary: INSUFFICIENT_LIQUIDITY'); uint amountInWithFee = amountIn.mul(997); uint numerator = amountInWithFee.mul(reserveOut); uint denominator = reserveIn.mul(1000).add(amountInWithFee); amountOut = numerator / denominator; } // given an output amount of an asset and pair reserves, returns a required input amount of the other asset function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) internal pure returns (uint amountIn) { require(amountOut > 0, 'SwapLibrary: INSUFFICIENT_OUTPUT_AMOUNT'); require(reserveIn > 0 && reserveOut > 0, 'SwapLibrary: INSUFFICIENT_LIQUIDITY'); uint numerator = reserveIn.mul(amountOut).mul(1000); uint denominator = reserveOut.sub(amountOut).mul(997); amountIn = (numerator / denominator).add(1); } // performs chained getAmountOut calculations on any number of pairs function getAmountsOut(address factory, uint amountIn, address[] memory path) internal view returns (uint[] memory amounts) { require(path.length >= 2, 'SwapLibrary: INVALID_PATH'); amounts = new uint[](path.length); amounts[0] = amountIn; for (uint i; i < path.length - 1; i++) { (uint reserveIn, uint reserveOut) = getReserves(factory, path[i], path[i + 1]); amounts[i + 1] = getAmountOut(amounts[i], reserveIn, reserveOut); } } // performs chained getAmountIn calculations on any number of pairs function getAmountsIn(address factory, uint amountOut, address[] memory path) internal view returns (uint[] memory amounts) { require(path.length >= 2, 'SwapLibrary: INVALID_PATH'); amounts = new uint[](path.length); amounts[amounts.length - 1] = amountOut; for (uint i = path.length - 1; i > 0; i--) { (uint reserveIn, uint reserveOut) = getReserves(factory, path[i - 1], path[i]); amounts[i - 1] = getAmountIn(amounts[i], reserveIn, reserveOut); } } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; // a library for performing overflow-safe math, updated with awesomeness from of DappHub (https://github.com/dapphub/ds-math) library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256 c) {require((c = a + b) >= b, "SafeMath: Add Overflow");} function sub(uint256 a, uint256 b) internal pure returns (uint256 c) {require((c = a - b) <= a, "SafeMath: Underflow");} function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {require(b == 0 || (c = a * b)/b == a, "SafeMath: Mul Overflow");} function to128(uint256 a) internal pure returns (uint128 c) { require(a <= uint128(-1), "SafeMath: uint128 Overflow"); c = uint128(a); } } library SafeMath128 { function add(uint128 a, uint128 b) internal pure returns (uint128 c) {require((c = a + b) >= b, "SafeMath: Add Overflow");} function sub(uint128 a, uint128 b) internal pure returns (uint128 c) {require((c = a - b) <= a, "SafeMath: Underflow");} }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; // helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false library TransferHelper { function safeApprove(address token, address to, uint value) internal { // bytes4(keccak256(bytes('approve(address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: APPROVE_FAILED'); } function safeTransfer(address token, address to, uint value) internal { // bytes4(keccak256(bytes('transfer(address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FAILED'); } function safeTransferFrom(address token, address from, address to, uint value) internal { // bytes4(keccak256(bytes('transferFrom(address,address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FROM_FAILED'); } function safeTransferETH(address to, uint value) internal { (bool success,) = to.call{value:value}(new bytes(0)); require(success, 'TransferHelper: ETH_TRANSFER_FAILED'); } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; interface INoLiquiditySwapRouter { function factory() external pure returns (address); function WETH() external pure returns (address); 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 pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure 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); 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; }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; interface ISwapFactory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() 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 setFeeToSetter(address) external; function setMigrator(address) external; }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; interface IERC20 { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view 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); // EIP 2612 function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external; }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; interface IWETH { function deposit() external payable; function transfer(address to, uint value) external returns (bool); function withdraw(uint) external; }
// SPDX-License-Identifier: MIT //SPDX-License-Identifier: MIT pragma solidity =0.6.12; pragma experimental ABIEncoderV2; import "./EIP712Base.sol"; import "./SafeMath.sol"; contract EIP712MetaTransaction is EIP712Base { using SafeMath for uint256; bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256(bytes("MetaTransaction(uint256 nonce,address from,bytes functionSignature)")); event MetaTransactionExecuted(address userAddress, address payable relayerAddress, bytes functionSignature); mapping(address => uint256) nonces; /* * Meta transaction structure. * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas * He should call the desired function directly in that case. */ struct MetaTransaction { uint256 nonce; address from; bytes functionSignature; } constructor(string memory name, string memory version) public EIP712Base(name, version) {} function executeMetaTransaction(address userAddress, bytes memory functionSignature, bytes32 sigR, bytes32 sigS, uint8 sigV) public payable returns(bytes memory) { MetaTransaction memory metaTx = MetaTransaction({ nonce: nonces[userAddress], from: userAddress, functionSignature: functionSignature }); require(verify(userAddress, metaTx, sigR, sigS, sigV), "Signer and signature do not match"); // Append userAddress and relayer address at the end to extract it from calling context (bool success, bytes memory returnData) = address(this).call(abi.encodePacked(functionSignature, userAddress)); require(success, "Function call not successfull"); nonces[userAddress] = nonces[userAddress].add(1); emit MetaTransactionExecuted(userAddress, msg.sender, functionSignature); return returnData; } function hashMetaTransaction(MetaTransaction memory metaTx) internal view returns (bytes32) { return keccak256(abi.encode( META_TRANSACTION_TYPEHASH, metaTx.nonce, metaTx.from, keccak256(metaTx.functionSignature) )); } function getNonce(address user) public view returns(uint256 nonce) { nonce = nonces[user]; } function verify(address signer, MetaTransaction memory metaTx, bytes32 sigR, bytes32 sigS, uint8 sigV) internal view returns (bool) { return signer == ecrecover(toTypedMessageHash(hashMetaTransaction(metaTx)), sigV, sigR, sigS); } function msgSender() internal view returns(address sender) { if(msg.sender == address(this)) { bytes memory array = msg.data; uint256 index = msg.data.length; assembly { // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those. sender := and(mload(add(array, index)), 0xffffffffffffffffffffffffffffffffffffffff) } } else { sender = msg.sender; } return sender; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <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 () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; interface ISwapPair { 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; }
// SPDX-License-Identifier: MIT //SPDX-License-Identifier: MIT pragma solidity =0.6.12; contract EIP712Base { struct EIP712Domain { string name; string version; uint256 chainId; address verifyingContract; } bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256(bytes("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)")); bytes32 internal domainSeperator; constructor(string memory name, string memory version) public { domainSeperator = keccak256(abi.encode( EIP712_DOMAIN_TYPEHASH, keccak256(bytes(name)), keccak256(bytes(version)), getChainID(), address(this) )); } function getChainID() internal pure returns (uint256 chainId) { assembly { chainId := chainid() } } function getDomainSeperator() private view returns(bytes32) { return domainSeperator; } /** * Accept message hash and returns hash message in EIP712 compatible form * So that it can be used to recover signer from signature signed using EIP712 formatted data * https://eips.ethereum.org/EIPS/eip-712 * "\\x19" makes the encoding deterministic * "\\x01" is the version byte to make it compatible to EIP-191 */ function toTypedMessageHash(bytes32 messageHash) internal view returns(bytes32) { return keccak256(abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash)); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 999999 }, "evmVersion": "istanbul", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
[{"inputs":[{"internalType":"address","name":"_factory","type":"address"},{"internalType":"address","name":"_WETH","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"reserveIn","type":"uint256"},{"internalType":"uint256","name":"reserveOut","type":"uint256"}],"name":"getAmountIn","outputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"reserveIn","type":"uint256"},{"internalType":"uint256","name":"reserveOut","type":"uint256"}],"name":"getAmountOut","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"}],"name":"getAmountsIn","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"}],"name":"getAmountsOut","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"noFeesPair","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":"uint256","name":"amountA","type":"uint256"},{"internalType":"uint256","name":"reserveA","type":"uint256"},{"internalType":"uint256","name":"reserveB","type":"uint256"}],"name":"quote","outputs":[{"internalType":"uint256","name":"amountB","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"noFees","type":"bool"}],"name":"setNoFeesPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapETHForExactTokens","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactETHForTokens","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactETHForTokensSupportingFeeOnTransferTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactTokensForETH","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactTokensForETHSupportingFeeOnTransferTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactTokensForTokens","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapExactTokensForTokensSupportingFeeOnTransferTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"amountInMax","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapTokensForExactETH","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"amountInMax","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swapTokensForExactTokens","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c06040523480156200001157600080fd5b5060405162004d7038038062004d70833981810160405260408110156200003757600080fd5b508051602091820151604080518082018252600c81526b086dedceccae4cecadcc6cab60a31b818601528151808301835260018152603160f81b81870152825160808101909352605280845294959394919390928492849262004d1e908301398051906020012082805190602001208280519060200120620000be6200019360201b60201c565b3060405160200180868152602001858152602001848152602001838152602001826001600160a01b031681526020019550505050505060405160208183030381529060405280519060200120600081905550505050506000620001266200019760201b60201c565b600280546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600160601b0319606092831b8116608052911b1660a0526200019b565b4690565b3390565b60805160601c60a05160601c614ab46200026a6000398061018b52806111ad528061146152806117795280611f675280612090528061219e528061228f528061242c52806124c15280612763528061280352806128d552806129565280612e6d5280613007528061309c525080611289528061138e528061153452806115ec528061185552806119b1528061235f5280612500528061267d52806129955280612c1e5280612c475280612f3d52806130db528061393a528061397f5280613e7952806140445250614ab46000f3fe6080604052600436106101845760003560e01c80637ff36ab5116100d6578063b60a12f81161007f578063d06ca61f11610059578063d06ca61f14610b4a578063f2fde38b14610c01578063fb3bdb4114610c41576101e7565b8063b60a12f814610a4e578063b6f9de9514610aa2578063c45a015514610b35576101e7565b80638da5cb5b116100b05780638da5cb5b146109c5578063ad5c464814610a03578063ad615dec14610a18576101e7565b80637ff36ab51461085757806385f8c259146108ea5780638803dbee14610920576101e7565b806338ed17391161013857806360688d191161011257806360688d1914610755578063715018a61461079d578063791ac947146107b2576101e7565b806338ed1739146105665780634a25d94a1461060b5780635c11d795146106b0576101e7565b806318cbafe51161016957806318cbafe51461037a5780631f00ca741461046f5780632d0335ab14610526576101e7565b8063054d50d4146101ec5780630c53c51c14610234576101e7565b366101e7577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166101c8610cd4565b73ffffffffffffffffffffffffffffffffffffffff16146101e557fe5b005b600080fd5b3480156101f857600080fd5b506102226004803603606081101561020f57600080fd5b5080359060208101359060400135610d3f565b60408051918252519081900360200190f35b610305600480360360a081101561024a57600080fd5b73ffffffffffffffffffffffffffffffffffffffff823516919081019060408101602082013564010000000081111561028257600080fd5b82018360208201111561029457600080fd5b803590602001918460018302840111640100000000831117156102b657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550508235935050506020810135906040013560ff16610d54565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561033f578181015183820152602001610327565b50505050905090810190601f16801561036c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561038657600080fd5b5061041f600480360360a081101561039d57600080fd5b8135916020810135918101906060810160408201356401000000008111156103c457600080fd5b8201836020820111156103d657600080fd5b803590602001918460208302840111640100000000831117156103f857600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff813516906020013561113a565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561045b578181015183820152602001610443565b505050509050019250505060405180910390f35b34801561047b57600080fd5b5061041f6004803603604081101561049257600080fd5b813591908101906040810160208201356401000000008111156104b457600080fd5b8201836020820111156104c657600080fd5b803590602001918460208302840111640100000000831117156104e857600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061152d945050505050565b34801561053257600080fd5b506102226004803603602081101561054957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611563565b34801561057257600080fd5b5061041f600480360360a081101561058957600080fd5b8135916020810135918101906060810160408201356401000000008111156105b057600080fd5b8201836020820111156105c257600080fd5b803590602001918460208302840111640100000000831117156105e457600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff813516906020013561158b565b34801561061757600080fd5b5061041f600480360360a081101561062e57600080fd5b81359160208101359181019060608101604082013564010000000081111561065557600080fd5b82018360208201111561066757600080fd5b8035906020019184602083028401116401000000008311171561068957600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff8135169060200135611706565b3480156106bc57600080fd5b506101e5600480360360a08110156106d357600080fd5b8135916020810135918101906060810160408201356401000000008111156106fa57600080fd5b82018360208201111561070c57600080fd5b8035906020019184602083028401116401000000008311171561072e57600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff813516906020013561191d565b34801561076157600080fd5b506101e56004803603604081101561077857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001351515611c75565b3480156107a957600080fd5b506101e5611ddf565b3480156107be57600080fd5b506101e5600480360360a08110156107d557600080fd5b8135916020810135918101906060810160408201356401000000008111156107fc57600080fd5b82018360208201111561080e57600080fd5b8035906020019184602083028401116401000000008311171561083057600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff8135169060200135611ef6565b61041f6004803603608081101561086d57600080fd5b8135919081019060408101602082013564010000000081111561088f57600080fd5b8201836020820111156108a157600080fd5b803590602001918460208302840111640100000000831117156108c357600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff8135169060200135612231565b3480156108f657600080fd5b506102226004803603606081101561090d57600080fd5b508035906020810135906040013561260f565b34801561092c57600080fd5b5061041f600480360360a081101561094357600080fd5b81359160208101359181019060608101604082013564010000000081111561096a57600080fd5b82018360208201111561097c57600080fd5b8035906020019184602083028401116401000000008311171561099e57600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff813516906020013561261c565b3480156109d157600080fd5b506109da612745565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b348015610a0f57600080fd5b506109da612761565b348015610a2457600080fd5b5061022260048036036060811015610a3b57600080fd5b5080359060208101359060400135612785565b348015610a5a57600080fd5b50610a8e60048036036020811015610a7157600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16612792565b604080519115158252519081900360200190f35b6101e560048036036080811015610ab857600080fd5b81359190810190604081016020820135640100000000811115610ada57600080fd5b820183602082011115610aec57600080fd5b80359060200191846020830284011164010000000083111715610b0e57600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff81351690602001356127a7565b348015610b4157600080fd5b506109da612c1c565b348015610b5657600080fd5b5061041f60048036036040811015610b6d57600080fd5b81359190810190604081016020820135640100000000811115610b8f57600080fd5b820183602082011115610ba157600080fd5b80359060200191846020830284011164010000000083111715610bc357600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550612c40945050505050565b348015610c0d57600080fd5b506101e560048036036020811015610c2457600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16612c6d565b61041f60048036036080811015610c5757600080fd5b81359190810190604081016020820135640100000000811115610c7957600080fd5b820183602082011115610c8b57600080fd5b80359060200191846020830284011164010000000083111715610cad57600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff8135169060200135612e0f565b600033301415610d395760606000368080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050505036015173ffffffffffffffffffffffffffffffffffffffff169150610d3c9050565b50335b90565b6000610d4c848484613223565b949350505050565b6060610d5e6147e5565b506040805160608101825273ffffffffffffffffffffffffffffffffffffffff881660008181526001602090815290849020548352820152908101869052610da9878287878761332f565b610dfe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061496d6021913960400191505060405180910390fd5b600060603073ffffffffffffffffffffffffffffffffffffffff16888a6040516020018083805190602001908083835b60208310610e6b57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610e2e565b6001836020036101000a0380198251168184511680821785525050505050509050018273ffffffffffffffffffffffffffffffffffffffff1660601b8152601401925050506040516020818303038152906040526040518082805190602001908083835b60208310610f0c57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610ecf565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610f6e576040519150601f19603f3d011682016040523d82523d6000602084013e610f73565b606091505b509150915081610fe457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c6c000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8916600090815260016020819052604090912054611016916133de565b600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b89338a604051808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b838110156110f25781810151838201526020016110da565b50505050905090810190601f16801561111f5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a198975050505050505050565b60608142811015611196576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806149b46026913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001686867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81018181106111fb57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611284576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180614942602b913960400191505060405180910390fd5b6112e27f00000000000000000000000000000000000000000000000000000000000000008988888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061345092505050565b915086826001845103815181106112f557fe5b60200260200101511015611354576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260398152602001806149096039913960400191505060405180910390fd5b6114208686600081811061136457fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff16611389610cd4565b6114067f00000000000000000000000000000000000000000000000000000000000000008a8a60008181106113ba57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff168b8b60018181106113e457fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff166135b6565b8560008151811061141357fe5b60200260200101516136a1565b61145f82878780806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250309250613871915050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d836001855103815181106114ab57fe5b60200260200101516040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156114e957600080fd5b505af11580156114fd573d6000803e3d6000fd5b50505050611522848360018551038151811061151557fe5b6020026020010151613b57565b509695505050505050565b606061155a7f00000000000000000000000000000000000000000000000000000000000000008484613c94565b90505b92915050565b73ffffffffffffffffffffffffffffffffffffffff1660009081526001602052604090205490565b606081428110156115e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806149b46026913960400191505060405180910390fd5b6116457f00000000000000000000000000000000000000000000000000000000000000008988888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061345092505050565b9150868260018451038151811061165857fe5b602002602001015110156116b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260398152602001806149096039913960400191505060405180910390fd5b6116c78686600081811061136457fe5b61152282878780806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250899250613871915050565b60608142811015611762576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806149b46026913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001686867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81018181106117c757fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611850576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180614942602b913960400191505060405180910390fd5b6118ae7f000000000000000000000000000000000000000000000000000000000000000089888880806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250613c9492505050565b915086826000815181106118be57fe5b60200260200101511115611354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603581526020018061481d6035913960400191505060405180910390fd5b8042811015611977576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806149b46026913960400191505060405180910390fd5b611a0d8585600081811061198757fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff166119ac610cd4565b611a077f0000000000000000000000000000000000000000000000000000000000000000898960008181106119dd57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff168a8a60018181106113e457fe5b8a6136a1565b600085857fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101818110611a3d57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611ac057600080fd5b505afa158015611ad4573d6000803e3d6000fd5b505050506040513d6020811015611aea57600080fd5b50516040805160208881028281018201909352888252929350611b2c929091899189918291850190849080828437600092019190915250889250613e22915050565b86611c148288887fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101818110611b5f57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231886040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611be257600080fd5b505afa158015611bf6573d6000803e3d6000fd5b505050506040513d6020811015611c0c57600080fd5b50519061419f565b1015611c6b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260398152602001806149096039913960400191505060405180910390fd5b5050505050505050565b611c7d614211565b73ffffffffffffffffffffffffffffffffffffffff16611c9b612745565b73ffffffffffffffffffffffffffffffffffffffff1614611d1d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8216611d89576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b8152602001806148bb602b913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260036020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b611de7614211565b73ffffffffffffffffffffffffffffffffffffffff16611e05612745565b73ffffffffffffffffffffffffffffffffffffffff1614611e8757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60025460405160009173ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600280547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b8042811015611f50576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806149b46026913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001685857fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101818110611fb557fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461203e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180614942602b913960400191505060405180910390fd5b61204e8585600081811061198757fe5b61208c858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250309250613e22915050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561211557600080fd5b505afa158015612129573d6000803e3d6000fd5b505050506040513d602081101561213f57600080fd5b505190508681101561219c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260398152602001806149096039913960400191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561220f57600080fd5b505af1158015612223573d6000803e3d6000fd5b50505050611c6b8482613b57565b6060814281101561228d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806149b46026913960400191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16868660008181106122d157fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461235a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180614942602b913960400191505060405180910390fd5b6123b87f00000000000000000000000000000000000000000000000000000000000000003488888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061345092505050565b915086826001845103815181106123cb57fe5b6020026020010151101561242a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260398152602001806149096039913960400191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db08360008151811061247357fe5b60200260200101516040518263ffffffff1660e01b81526004016000604051808303818588803b1580156124a657600080fd5b505af11580156124ba573d6000803e3d6000fd5b50505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61252c7f0000000000000000000000000000000000000000000000000000000000000000898960008181106119dd57fe5b8460008151811061253957fe5b60200260200101516040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561259457600080fd5b505af11580156125a8573d6000803e3d6000fd5b505050506040513d60208110156125be57600080fd5b50516125c657fe5b61260582878780806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250899250613871915050565b5095945050505050565b6000610d4c848484614215565b60608142811015612678576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806149b46026913960400191505060405180910390fd5b6126d67f000000000000000000000000000000000000000000000000000000000000000089888880806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250613c9492505050565b915086826000815181106126e657fe5b602002602001015111156116b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603581526020018061481d6035913960400191505060405180910390fd5b60025473ffffffffffffffffffffffffffffffffffffffff1690565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000610d4c848484614321565b60036020526000908152604090205460ff1681565b8042811015612801576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806149b46026913960400191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168585600081811061284557fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146128ce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180614942602b913960400191505060405180910390fd5b60003490507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561293b57600080fd5b505af115801561294f573d6000803e3d6000fd5b50505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6129c17f0000000000000000000000000000000000000000000000000000000000000000898960008181106119dd57fe5b836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015612a1557600080fd5b505af1158015612a29573d6000803e3d6000fd5b505050506040513d6020811015612a3f57600080fd5b5051612a4757fe5b600086867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101818110612a7757fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612afa57600080fd5b505afa158015612b0e573d6000803e3d6000fd5b505050506040513d6020811015612b2457600080fd5b50516040805160208981028281018201909352898252929350612b669290918a918a918291850190849080828437600092019190915250899250613e22915050565b87611c148289897fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101818110612b9957fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231896040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611be257600080fd5b7f000000000000000000000000000000000000000000000000000000000000000081565b606061155a7f00000000000000000000000000000000000000000000000000000000000000008484613450565b612c75614211565b73ffffffffffffffffffffffffffffffffffffffff16612c93612745565b73ffffffffffffffffffffffffffffffffffffffff1614612d1557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116612d81576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806148956026913960400191505060405180910390fd5b60025460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60608142811015612e6b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806149b46026913960400191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1686866000818110612eaf57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612f38576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180614942602b913960400191505060405180910390fd5b612f967f000000000000000000000000000000000000000000000000000000000000000088888880806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250613c9492505050565b91503482600081518110612fa657fe5b60200260200101511115613005576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603581526020018061481d6035913960400191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663d0e30db08360008151811061304e57fe5b60200260200101516040518263ffffffff1660e01b81526004016000604051808303818588803b15801561308157600080fd5b505af1158015613095573d6000803e3d6000fd5b50505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6131077f0000000000000000000000000000000000000000000000000000000000000000898960008181106119dd57fe5b8460008151811061311457fe5b60200260200101516040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561316f57600080fd5b505af1158015613183573d6000803e3d6000fd5b505050506040513d602081101561319957600080fd5b50516131a157fe5b6131e082878780806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250899250613871915050565b816000815181106131ed57fe5b602002602001015134111561260557612605613207610cd4565b8360008151811061321457fe5b60200260200101513403613b57565b600080841161327d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061498e6026913960400191505060405180910390fd5b60008311801561328d5750600082115b6132e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806148e66023913960400191505060405180910390fd5b60006132f0856103e5614411565b905060006132fe8285614411565b9050600061331883613312886103e8614411565b906133de565b905080828161332357fe5b04979650505050505050565b6000600161334461333f87614497565b614527565b83868660405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa15801561339b573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b8181018181101561155d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f536166654d6174683a20416464204f766572666c6f7700000000000000000000604482015290519081900360640190fd5b60606002825110156134c357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f537761704c6962726172793a20494e56414c49445f5041544800000000000000604482015290519081900360640190fd5b815167ffffffffffffffff811180156134db57600080fd5b50604051908082528060200260200182016040528015613505578160200160208202803683370190505b509050828160008151811061351657fe5b60200260200101818152505060005b60018351038110156135ae576000806135688786858151811061354457fe5b602002602001015187866001018151811061355b57fe5b602002602001015161458e565b9150915061358a84848151811061357b57fe5b60200260200101518383613223565b84846001018151811061359957fe5b60209081029190910101525050600101613525565b509392505050565b60008060006135c58585614676565b604080517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606094851b811660208084019190915293851b81166034830152825160288184030181526048830184528051908501207fff0000000000000000000000000000000000000000000000000000000000000060688401529a90941b9093166069840152607d8301989098527fcde9b0c75e2a4c1e9b2c8de91a208ff4917080e1dd07917fa1c80a02bc362374609d808401919091528851808403909101815260bd909201909752805196019590952095945050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017815292518251600094606094938a169392918291908083835b6020831061377f57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613742565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146137e1576040519150601f19603f3d011682016040523d82523d6000602084013e6137e6565b606091505b5091509150818015613814575080511580613814575080806020019051602081101561381157600080fd5b50515b613869576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180614a5b6024913960400191505060405180910390fd5b505050505050565b60005b6001835103811015613b515760008084838151811061388f57fe5b60200260200101518584600101815181106138a657fe5b60200260200101519150915060006138be8383614676565b50905060008785600101815181106138d257fe5b602002602001015190506000808373ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161461391a5782600061391e565b6000835b91509150600060028a510388106139355788613976565b6139767f0000000000000000000000000000000000000000000000000000000000000000878c8b6002018151811061396957fe5b60200260200101516135b6565b905060006139a57f000000000000000000000000000000000000000000000000000000000000000089896135b6565b73ffffffffffffffffffffffffffffffffffffffff811660009081526003602052604090205490915060ff161515600114613a2b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260378152602001806149da6037913960400191505060405180910390fd5b60408051600080825260208201928390527f022c0d9f000000000000000000000000000000000000000000000000000000008352602482018781526044830187905273ffffffffffffffffffffffffffffffffffffffff8681166064850152608060848501908152845160a486018190529187169563022c0d9f958b958b958b9592949093909260c48601928190849084905b83811015613ad6578181015183820152602001613abe565b50505050905090810190601f168015613b035780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b158015613b2557600080fd5b505af1158015613b39573d6000803e3d6000fd5b50506001909a01995061387498505050505050505050565b50505050565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff84169083906040518082805190602001908083835b60208310613bce57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613b91565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613c30576040519150601f19603f3d011682016040523d82523d6000602084013e613c35565b606091505b5050905080613c8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180614a386023913960400191505060405180910390fd5b505050565b6060600282511015613d0757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f537761704c6962726172793a20494e56414c49445f5041544800000000000000604482015290519081900360640190fd5b815167ffffffffffffffff81118015613d1f57600080fd5b50604051908082528060200260200182016040528015613d49578160200160208202803683370190505b5090508281600183510381518110613d5d57fe5b602090810291909101015281517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff015b80156135ae57600080613dbd87866001860381518110613da957fe5b602002602001015187868151811061355b57fe5b91509150613ddf848481518110613dd057fe5b60200260200101518383614215565b846001850381518110613dee57fe5b602090810291909101015250507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01613d8d565b60005b6001835103811015613c8f57600080848381518110613e4057fe5b6020026020010151858460010181518110613e5757fe5b6020026020010151915091506000613e6f8383614676565b5090506000613e9f7f000000000000000000000000000000000000000000000000000000000000000085856135b6565b90506000806000808473ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015613eed57600080fd5b505afa158015613f01573d6000803e3d6000fd5b505050506040513d6060811015613f1757600080fd5b5080516020909101516dffffffffffffffffffffffffffff918216935016905060008073ffffffffffffffffffffffffffffffffffffffff8a811690891614613f61578284613f64565b83835b91509150613fd3828b73ffffffffffffffffffffffffffffffffffffffff166370a082318a6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611be257600080fd5b9550613fe0868383613223565b9450505050506000808573ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff161461402457826000614028565b6000835b91509150600060028c51038a1061403f578a614073565b6140737f0000000000000000000000000000000000000000000000000000000000000000898e8d6002018151811061396957fe5b60408051600080825260208201928390527f022c0d9f000000000000000000000000000000000000000000000000000000008352602482018781526044830187905273ffffffffffffffffffffffffffffffffffffffff8086166064850152608060848501908152845160a48601819052969750908c169563022c0d9f958a958a958a9591949193919260c486019290918190849084905b8381101561412357818101518382015260200161410b565b50505050905090810190601f1680156141505780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801561417257600080fd5b505af1158015614186573d6000803e3d6000fd5b50506001909b019a50613e259950505050505050505050565b8082038281111561155d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f536166654d6174683a20556e646572666c6f7700000000000000000000000000604482015290519081900360640190fd5b3390565b600080841161426f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180614a116027913960400191505060405180910390fd5b60008311801561427f5750600082115b6142d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806148e66023913960400191505060405180910390fd5b60006142ec6103e86142e68688614411565b90614411565b905060006143006103e56142e6868961419f565b9050614317600182848161431057fe5b04906133de565b9695505050505050565b600080841161439157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f537761704c6962726172793a20494e53554646494349454e545f414d4f554e54604482015290519081900360640190fd5b6000831180156143a15750600082115b6143f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806148e66023913960400191505060405180910390fd5b826144018584614411565b8161440857fe5b04949350505050565b600081158061442c5750508082028282828161442957fe5b04145b61155d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f536166654d6174683a204d756c204f766572666c6f7700000000000000000000604482015290519081900360640190fd5b6000604051806080016040528060438152602001614852604391398051906020012082600001518360200151846040015180519060200120604051602001808581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff168152602001828152602001945050505050604051602081830303815290604052805190602001209050919050565b60006145316147df565b8260405160200180807f190100000000000000000000000000000000000000000000000000000000000081525060020183815260200182815260200192505050604051602081830303815290604052805190602001209050919050565b600080600061459d8585614676565b5090506000806145ae8888886135b6565b73ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156145f357600080fd5b505afa158015614607573d6000803e3d6000fd5b505050506040513d606081101561461d57600080fd5b5080516020909101516dffffffffffffffffffffffffffff918216935016905073ffffffffffffffffffffffffffffffffffffffff87811690841614614664578082614667565b81815b90999098509650505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561471457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f537761704c6962726172793a204944454e544943414c5f414444524553534553604482015290519081900360640190fd5b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161061474e578284614751565b83835b909250905073ffffffffffffffffffffffffffffffffffffffff82166147d857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f537761704c6962726172793a205a45524f5f4144445245535300000000000000604482015290519081900360640190fd5b9250929050565b60005490565b604051806060016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160608152509056fe636f6e76657267656e6365582065697037313253776170526f757465723a204558434553534956455f494e5055545f414d4f554e544d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e6174757265294f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373636f6e76657267656e6365582065697037313253776170526f757465723a207a65726f2061646472657373537761704c6962726172793a20494e53554646494349454e545f4c4951554944495459636f6e76657267656e6365582065697037313253776170526f757465723a20494e53554646494349454e545f4f55545055545f414d4f554e54636f6e76657267656e6365582065697037313253776170526f757465723a20494e56414c49445f504154485369676e657220616e64207369676e617475726520646f206e6f74206d61746368537761704c6962726172793a20494e53554646494349454e545f494e5055545f414d4f554e54636f6e76657267656e6365582065697037313253776170526f757465723a2045585049524544636f6e76657267656e6365582065697037313253776170526f757465723a206e6f7420696e206e6f20666565732070616972206c697374537761704c6962726172793a20494e53554646494349454e545f4f55545055545f414d4f554e545472616e7366657248656c7065723a204554485f5452414e534645525f4641494c45445472616e7366657248656c7065723a205452414e534645525f46524f4d5f4641494c4544a26469706673582212208354298192cbd4816b159fd169ba511ee94fa5ce3e1d527f2b419607b87605f864736f6c634300060c0033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e7472616374290000000000000000000000009504d0d43189d208459e15c7f643aac1abe3735d000000000000000000000000acc15dc74880c9944775448304b263d191c6077f
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000009504d0d43189d208459e15c7f643aac1abe3735d000000000000000000000000acc15dc74880c9944775448304b263d191c6077f
-----Decoded View---------------
Arg [0] : _factory (address): 0x9504d0d43189d208459e15c7f643aac1abe3735d
Arg [1] : _WETH (address): 0xacc15dc74880c9944775448304b263d191c6077f
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000009504d0d43189d208459e15c7f643aac1abe3735d
Arg [1] : 000000000000000000000000acc15dc74880c9944775448304b263d191c6077f
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.