Polygon Sponsored slots available. Book your slot here!
My Name Tag:
Not Available, login to update
Txn Hash |
Method
|
Block
|
From
|
To
|
Value | [Txn Fee] | |||
---|---|---|---|---|---|---|---|---|---|
0x5906df93393d39f38b78339fe9c4635ee5d9e80b239b1ae185f2c5724f06b9cd | 0x60806040 | 29079728 | 359 days 7 hrs ago | Furucombo: Deployer | IN | Create: HQuickSwap | 0 MATIC | 0.055132032154 |
[ Download CSV Export ]
Contract Name:
HQuickSwap
Compiler Version
v0.8.10+commit.fc410830
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; abstract contract Config { // function signature of "postProcess()" bytes4 public constant POSTPROCESS_SIG = 0xc2722916; // The base amount of percentage function uint256 public constant PERCENTAGE_BASE = 1 ether; // Handler post-process type. Others should not happen now. enum HandlerType { Token, Custom, Others, Initial } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {LibCache} from "./lib/LibCache.sol"; import {LibStack} from "./lib/LibStack.sol"; import {IFurucomboRegistry} from "./interfaces/IFurucomboRegistry.sol"; /// @notice A cache structure composed by a bytes32 array abstract contract Storage { using LibCache for mapping(bytes32 => bytes32); using LibStack for bytes32[]; IFurucomboRegistry public registry; bytes32[] public stack; mapping(bytes32 => bytes32) public cache; // keccak256 hash of "msg.sender" // prettier-ignore bytes32 public constant MSG_SENDER_KEY = 0xb2f2618cecbbb6e7468cc0f2aa43858ad8d153e0280b22285e28e853bb9d453a; modifier isStackEmpty() { require(stack.length == 0, "Stack not empty"); _; } modifier isInitialized() { require(_getSender() != address(0), "Sender is not initialized"); _; } modifier isNotInitialized() { require(_getSender() == address(0), "Sender is initialized"); _; } function _setSender() internal isNotInitialized { cache.setAddress(MSG_SENDER_KEY, msg.sender); } function _resetSender() internal { cache.setAddress(MSG_SENDER_KEY, address(0)); } function _getSender() internal view returns (address) { return cache.getAddress(MSG_SENDER_KEY); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {SafeERC20, IERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import {IERC20Usdt} from "../../interfaces/IERC20Usdt.sol"; import {Config} from "../Config.sol"; import {Storage, LibStack} from "../Storage.sol"; abstract contract HandlerBase is Storage, Config { using SafeERC20 for IERC20; using LibStack for bytes32[]; // prettier-ignore address public constant NATIVE_TOKEN_ADDRESS = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE; // prettier-ignore address private constant MATIC_TOKEN = 0x0000000000000000000000000000000000001010; modifier validCallee( string memory functionName, address handler, address callee ) { _requireMsg(registry.handlerCalleeWhiteList(handler, callee), functionName, "invalid callee"); _; } function postProcess() external payable virtual { revert("Invalid post process"); /* Implementation template bytes4 sig = stack.getSig(); if (sig == bytes4(keccak256(bytes("handlerFunction_1()")))) { // Do something } else if (sig == bytes4(keccak256(bytes("handlerFunction_2()")))) { bytes32 temp = stack.get(); // Do something } else revert("Invalid post process"); */ } function _updateToken(address token) internal { _notMaticToken(token); stack.setAddress(token); // Ignore token type to fit old handlers // stack.setHandlerType(uint256(HandlerType.Token)); } function _updateInitialToken(address token) internal { _notMaticToken(token); stack.setAddress(token); stack.setHandlerType(HandlerType.Initial); } function _updatePostProcess(bytes32[] memory params) internal { for (uint256 i = params.length; i > 0; i--) { stack.set(params[i - 1]); } stack.set(msg.sig); stack.setHandlerType(HandlerType.Custom); } function getContractName() public pure virtual returns (string memory); function _revertMsg(string memory functionName, string memory reason) internal pure { revert(string(abi.encodePacked(getContractName(), "_", functionName, ": ", reason))); } function _revertMsg(string memory functionName) internal pure { _revertMsg(functionName, "Unspecified"); } function _requireMsg( bool condition, string memory functionName, string memory reason ) internal pure { if (!condition) _revertMsg(functionName, reason); } function _uint2String(uint256 n) internal pure returns (string memory) { if (n == 0) { return "0"; } else { uint256 len = 0; for (uint256 temp = n; temp > 0; temp /= 10) { len++; } bytes memory str = new bytes(len); for (uint256 i = len; i > 0; i--) { str[i - 1] = bytes1(uint8(48 + (n % 10))); n /= 10; } return string(str); } } function _getBalance(address token, uint256 amount) internal view returns (uint256) { if (amount != type(uint256).max) { return amount; } // ETH case if (token == address(0) || token == NATIVE_TOKEN_ADDRESS) { return address(this).balance; } // ERC20 token case return IERC20(token).balanceOf(address(this)); } function _tokenApprove( address token, address spender, uint256 amount ) internal { try IERC20Usdt(token).approve(spender, amount) {} catch { IERC20(token).safeApprove(spender, 0); IERC20(token).safeApprove(spender, amount); } } function _tokenApproveZero(address token, address spender) internal { if (IERC20Usdt(token).allowance(address(this), spender) > 0) { try IERC20Usdt(token).approve(spender, 0) {} catch { IERC20Usdt(token).approve(spender, 1); } } } // Do not support matic token (0x0000...1010) function _notMaticToken(address token) internal pure { require(token != MATIC_TOKEN, "Not support matic token"); } function _notMaticToken(address[] memory tokens) internal pure { for (uint256 i = 0; i < tokens.length; i++) { require(tokens[i] != MATIC_TOKEN, "Not support matic token"); } } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.10; import {IUniswapV2Router02} from "../../../interfaces/IUniswapV2Router02.sol"; import {UniswapV2Library} from "./libraries/UniswapV2Library.sol"; import {HandlerBase} from "../HandlerBase.sol"; contract HQuickSwap is HandlerBase { // prettier-ignore address public constant UNISWAPV2_ROUTER = 0xa5E0829CaCEd8fFDD4De3c43696c57F7D7A678ff; function getContractName() public pure override returns (string memory) { return "HQuickSwap"; } function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin ) external payable returns ( uint256 amountA, uint256 amountB, uint256 liquidity ) { _notMaticToken(tokenA); _notMaticToken(tokenB); // Get uniswapV2 router IUniswapV2Router02 router = IUniswapV2Router02(UNISWAPV2_ROUTER); // Approve token amountADesired = _getBalance(tokenA, amountADesired); amountBDesired = _getBalance(tokenB, amountBDesired); _tokenApprove(tokenA, UNISWAPV2_ROUTER, amountADesired); _tokenApprove(tokenB, UNISWAPV2_ROUTER, amountBDesired); // Add liquidity try router.addLiquidity( tokenA, tokenB, amountADesired, amountBDesired, amountAMin, amountBMin, address(this), block.timestamp ) returns (uint256 ret1, uint256 ret2, uint256 ret3) { amountA = ret1; amountB = ret2; liquidity = ret3; } catch Error(string memory reason) { _revertMsg("addLiquidity", reason); } catch { _revertMsg("addLiquidity"); } _tokenApproveZero(tokenA, UNISWAPV2_ROUTER); _tokenApproveZero(tokenB, UNISWAPV2_ROUTER); // Update involved token address pair = UniswapV2Library.pairFor(router.factory(), tokenA, tokenB); _updateToken(pair); } function removeLiquidity( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin ) external payable returns (uint256 amountA, uint256 amountB) { // Get uniswapV2 router IUniswapV2Router02 router = IUniswapV2Router02(UNISWAPV2_ROUTER); address pair = UniswapV2Library.pairFor(router.factory(), tokenA, tokenB); // Approve token liquidity = _getBalance(pair, liquidity); _tokenApprove(pair, UNISWAPV2_ROUTER, liquidity); // remove liquidity try router.removeLiquidity(tokenA, tokenB, liquidity, amountAMin, amountBMin, address(this), block.timestamp) returns (uint256 ret1, uint256 ret2) { amountA = ret1; amountB = ret2; } catch Error(string memory reason) { _revertMsg("removeLiquidity", reason); } catch { _revertMsg("removeLiquidity"); } _tokenApproveZero(pair, UNISWAPV2_ROUTER); // Update involved token _updateToken(tokenA); _updateToken(tokenB); } function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path ) external payable returns (uint256 amount) { _requireMsg(path.length >= 2, "swapExactTokensForTokens", "invalid path"); address tokenIn = path[0]; _notMaticToken(tokenIn); // Get uniswapV2 router IUniswapV2Router02 router = IUniswapV2Router02(UNISWAPV2_ROUTER); // Approve token amountIn = _getBalance(tokenIn, amountIn); _tokenApprove(tokenIn, UNISWAPV2_ROUTER, amountIn); try router.swapExactTokensForTokens(amountIn, amountOutMin, path, address(this), block.timestamp) returns ( uint256[] memory amounts ) { amount = amounts[amounts.length - 1]; } catch Error(string memory reason) { _revertMsg("swapExactTokensForTokens", reason); } catch { _revertMsg("swapExactTokensForTokens"); } _tokenApproveZero(tokenIn, UNISWAPV2_ROUTER); // From the 2nd token of path, because path[0] will be update by previous cubes for (uint256 i = 1; i < path.length; i++) { _updateToken(path[i]); } } function swapTokensForExactTokens( uint256 amountOut, uint256 amountInMax, address[] calldata path ) external payable returns (uint256 amount) { _requireMsg(path.length >= 2, "swapTokensForExactTokens", "invalid path"); address tokenIn = path[0]; _notMaticToken(tokenIn); // Get uniswapV2 router IUniswapV2Router02 router = IUniswapV2Router02(UNISWAPV2_ROUTER); // if amount == type(uint256).max return balance of Proxy amountInMax = _getBalance(tokenIn, amountInMax); // Approve token _tokenApprove(tokenIn, UNISWAPV2_ROUTER, amountInMax); try router.swapTokensForExactTokens(amountOut, amountInMax, path, address(this), block.timestamp) returns ( uint256[] memory amounts ) { amount = amounts[0]; } catch Error(string memory reason) { _revertMsg("swapTokensForExactTokens", reason); } catch { _revertMsg("swapTokensForExactTokens"); } _tokenApproveZero(tokenIn, UNISWAPV2_ROUTER); // From the 2nd token of path, because path[0] will be update by previous cubes for (uint256 i = 1; i < path.length; i++) { _updateToken(path[i]); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {IUniswapV2Pair} from "../../../../interfaces/IUniswapV2Pair.sol"; library UniswapV2Library { // 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, "UniswapV2Library: IDENTICAL_ADDRESSES"); (token0, token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA); require(token0 != address(0), "UniswapV2Library: 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); pair = address( uint160( uint256( keccak256( abi.encodePacked( hex"ff", factory, keccak256(abi.encodePacked(token0, token1)), hex"96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f" // init code hash ) ) ) ) ); } // fetches and sorts the reserves for a pair function getReserves( address factory, address tokenA, address tokenB ) internal view returns (uint256 reserveA, uint256 reserveB) { (address token0, ) = sortTokens(tokenA, tokenB); (uint256 reserve0, uint256 reserve1, ) = IUniswapV2Pair(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( uint256 amountA, uint256 reserveA, uint256 reserveB ) internal pure returns (uint256 amountB) { require(amountA > 0, "UniswapV2Library: INSUFFICIENT_AMOUNT"); require(reserveA > 0 && reserveB > 0, "UniswapV2Library: INSUFFICIENT_LIQUIDITY"); amountB = (amountA * reserveB) / reserveA; } // given an input amount of an asset and pair reserves, returns the maximum output amount of the other asset function getAmountOut( uint256 amountIn, uint256 reserveIn, uint256 reserveOut ) internal pure returns (uint256 amountOut) { require(amountIn > 0, "UniswapV2Library: INSUFFICIENT_INPUT_AMOUNT"); require(reserveIn > 0 && reserveOut > 0, "UniswapV2Library: INSUFFICIENT_LIQUIDITY"); uint256 amountInWithFee = amountIn * 997; uint256 numerator = amountInWithFee * reserveOut; uint256 denominator = (reserveIn * 1000) + 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( uint256 amountOut, uint256 reserveIn, uint256 reserveOut ) internal pure returns (uint256 amountIn) { require(amountOut > 0, "UniswapV2Library: INSUFFICIENT_OUTPUT_AMOUNT"); require(reserveIn > 0 && reserveOut > 0, "UniswapV2Library: INSUFFICIENT_LIQUIDITY"); uint256 numerator = reserveIn * amountOut * 1000; uint256 denominator = (reserveOut - amountOut) * 997; amountIn = (numerator / denominator) + 1; } // performs chained getAmountOut calculations on any number of pairs function getAmountsOut( address factory, uint256 amountIn, address[] memory path ) internal view returns (uint256[] memory amounts) { require(path.length >= 2, "UniswapV2Library: INVALID_PATH"); amounts = new uint256[](path.length); amounts[0] = amountIn; for (uint256 i; i < path.length - 1; i++) { (uint256 reserveIn, uint256 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, uint256 amountOut, address[] memory path ) internal view returns (uint256[] memory amounts) { require(path.length >= 2, "UniswapV2Library: INVALID_PATH"); amounts = new uint256[](path.length); amounts[amounts.length - 1] = amountOut; for (uint256 i = path.length - 1; i > 0; i--) { (uint256 reserveIn, uint256 reserveOut) = getReserves(factory, path[i - 1], path[i]); amounts[i - 1] = getAmountIn(amounts[i], reserveIn, reserveOut); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IFurucomboRegistry { function handlers(address) external view returns (bytes32); function callers(address) external view returns (bytes32); function bannedAgents(address) external view returns (uint256); function fHalt() external view returns (bool); function isValidHandler(address handler) external view returns (bool); function isValidCaller(address handler) external view returns (bool); function handlerCalleeWhiteList(address handler, address callee) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; library LibCache { function set( mapping(bytes32 => bytes32) storage _cache, bytes32 _key, bytes32 _value ) internal { _cache[_key] = _value; } function setAddress( mapping(bytes32 => bytes32) storage _cache, bytes32 _key, address _value ) internal { _cache[_key] = bytes32(uint256(uint160(_value))); } function setUint256( mapping(bytes32 => bytes32) storage _cache, bytes32 _key, uint256 _value ) internal { _cache[_key] = bytes32(_value); } function getAddress(mapping(bytes32 => bytes32) storage _cache, bytes32 _key) internal view returns (address ret) { ret = address(uint160(uint256(_cache[_key]))); } function getUint256(mapping(bytes32 => bytes32) storage _cache, bytes32 _key) internal view returns (uint256 ret) { ret = uint256(_cache[_key]); } function get(mapping(bytes32 => bytes32) storage _cache, bytes32 _key) internal view returns (bytes32 ret) { ret = _cache[_key]; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {Config} from "../Config.sol"; library LibStack { function setAddress(bytes32[] storage _stack, address _input) internal { _stack.push(bytes32(uint256(uint160(_input)))); } function set(bytes32[] storage _stack, bytes32 _input) internal { _stack.push(_input); } function setHandlerType(bytes32[] storage _stack, Config.HandlerType _input) internal { _stack.push(bytes12(uint96(_input))); } function getAddress(bytes32[] storage _stack) internal returns (address ret) { ret = address(uint160(uint256(peek(_stack)))); _stack.pop(); } function getSig(bytes32[] storage _stack) internal returns (bytes4 ret) { ret = bytes4(peek(_stack)); _stack.pop(); } function get(bytes32[] storage _stack) internal returns (bytes32 ret) { ret = peek(_stack); _stack.pop(); } function peek(bytes32[] storage _stack) internal view returns (bytes32 ret) { uint256 length = _stack.length; require(length > 0, "stack empty"); ret = _stack[length - 1]; } function peek(bytes32[] storage _stack, uint256 _index) internal view returns (bytes32 ret) { uint256 length = _stack.length; require(length > 0, "stack empty"); require(length > _index, "not enough elements in stack"); ret = _stack[length - _index - 1]; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IERC20Usdt { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external; function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external; function transferFrom( address sender, address recipient, uint256 amount ) external; event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint256 value); event Transfer(address indexed from, address indexed to, uint256 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 (uint256); function balanceOf(address owner) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 value) external returns (bool); function transfer(address to, uint256 value) external returns (bool); function transferFrom( address from, address to, uint256 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 (uint256); function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; event Mint(address indexed sender, uint256 amount0, uint256 amount1); event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to); event Swap( address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint256); 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 (uint256); function price1CumulativeLast() external view returns (uint256); function kLast() external view returns (uint256); function mint(address to) external returns (uint256 liquidity); function burn(address to) external returns (uint256 amount0, uint256 amount1); function swap( uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data ) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); function removeLiquidity( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETH( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountToken, uint256 amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETHWithPermit( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountToken, uint256 amountETH); function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapTokensForExactTokens( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactETHForTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function swapTokensForExactETH( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForETH( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapETHForExactTokens( uint256 amountOut, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function quote( uint256 amountA, uint256 reserveA, uint256 reserveB ) external pure returns (uint256 amountB); function getAmountOut( uint256 amountIn, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountOut); function getAmountIn( uint256 amountOut, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountIn); function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts); function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts); function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; }
{ "evmVersion": "london", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"name":"MSG_SENDER_KEY","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NATIVE_TOKEN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERCENTAGE_BASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"POSTPROCESS_SIG","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNISWAPV2_ROUTER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"},{"internalType":"uint256","name":"amountADesired","type":"uint256"},{"internalType":"uint256","name":"amountBDesired","type":"uint256"},{"internalType":"uint256","name":"amountAMin","type":"uint256"},{"internalType":"uint256","name":"amountBMin","type":"uint256"}],"name":"addLiquidity","outputs":[{"internalType":"uint256","name":"amountA","type":"uint256"},{"internalType":"uint256","name":"amountB","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"cache","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getContractName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"postProcess","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"registry","outputs":[{"internalType":"contract IFurucomboRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"amountAMin","type":"uint256"},{"internalType":"uint256","name":"amountBMin","type":"uint256"}],"name":"removeLiquidity","outputs":[{"internalType":"uint256","name":"amountA","type":"uint256"},{"internalType":"uint256","name":"amountB","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stack","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"}],"name":"swapExactTokensForTokens","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"uint256","name":"amountInMax","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"}],"name":"swapTokensForExactTokens","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"payable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50611b9b806100206000396000f3fe6080604052600436106100dd5760003560e01c806399eb59b91161007f578063df2ebdbb11610059578063df2ebdbb1461024a578063e2dc85dc14610272578063f5f5ba721461029a578063fa2901a5146102d357600080fd5b806399eb59b9146101f3578063c272291614610220578063dc9031c41461022a57600080fd5b806349618dad116100bb57806349618dad1461016a5780637b103999146101a457806386818f26146101c457806387c13943146101d757600080fd5b80630f532d18146100e25780633351733f14610129578063397d4b4a14610157575b600080fd5b3480156100ee57600080fd5b506101167fb2f2618cecbbb6e7468cc0f2aa43858ad8d153e0280b22285e28e853bb9d453a81565b6040519081526020015b60405180910390f35b61013c6101373660046115f8565b610307565b60408051938452602084019290925290820152606001610120565b610116610165366004611651565b61055e565b34801561017657600080fd5b5061018c600080516020611b4683398151915281565b6040516001600160a01b039091168152602001610120565b3480156101b057600080fd5b5060005461018c906001600160a01b031681565b6101166101d2366004611651565b6107df565b3480156101e357600080fd5b50610116670de0b6b3a764000081565b3480156101ff57600080fd5b5061011661020e3660046116d4565b60026020526000908152604090205481565b610228610a47565b005b34801561023657600080fd5b506101166102453660046116d4565b610a8b565b34801561025657600080fd5b5061018c73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81565b6102856102803660046116ed565b610aac565b60408051928352602083019190915201610120565b3480156102a657600080fd5b50604080518082018252600a815269048517569636b537761760b41b60208201529051610120919061176e565b3480156102df57600080fd5b506102ee636139148b60e11b81565b6040516001600160e01b03199091168152602001610120565b600080600061031589610cb9565b61031e88610cb9565b600080516020611b468339815191526103378a89610d17565b97506103438988610d17565b965061035e8a600080516020611b468339815191528a610dd8565b61037789600080516020611b4683398151915289610dd8565b60405162e8e33760e81b81526001600160a01b038b811660048301528a81166024830152604482018a9052606482018990526084820188905260a482018790523060c48301524260e483015282169063e8e3370090610104016060604051808303816000875af192505050801561040b575060408051601f3d908101601f19168201909252610408918101906117a1565b60015b61049f576104176117cf565b806308c379a0141561046b575061042c61182e565b80610437575061046d565b6104656040518060400160405280600c81526020016b6164644c697175696469747960a01b81525082610e65565b506104a7565b505b61049a6040518060400160405280600c81526020016b6164644c697175696469747960a01b815250610ec0565b6104a7565b919550935091505b6104bf8a600080516020611b46833981519152610eed565b6104d789600080516020611b46833981519152610eed565b6000610545826001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561051a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053e91906118b8565b8c8c61102d565b905061055081611106565b505096509650969350505050565b60006105c660028484905010156040518060400160405280601881526020017773776170546f6b656e73466f724578616374546f6b656e7360401b8152506040518060400160405280600c81526020016b0d2dcecc2d8d2c840e0c2e8d60a31b815250611150565b6000838360008181106105db576105db6118d5565b90506020020160208101906105f091906118eb565b90506105fb81610cb9565b600080516020611b468339815191526106148287610d17565b955061062f82600080516020611b4683398151915288610dd8565b604051634401edf760e11b81526001600160a01b03821690638803dbee90610665908a908a908a908a9030904290600401611908565b6000604051808303816000875af19250505080156106a557506040513d6000823e601f3d908101601f191682016040526106a2919081019061197b565b60015b610751576106b16117cf565b806308c379a0141561071157506106c661182e565b806106d15750610713565b61070b6040518060400160405280601881526020017773776170546f6b656e73466f724578616374546f6b656e7360401b81525082610e65565b50610770565b505b61074c6040518060400160405280601881526020017773776170546f6b656e73466f724578616374546f6b656e7360401b815250610ec0565b610770565b80600081518110610764576107646118d5565b60200260200101519350505b61078882600080516020611b46833981519152610eed565b60015b848110156107d4576107c28686838181106107a8576107a86118d5565b90506020020160208101906107bd91906118eb565b611106565b806107cc81611a38565b91505061078b565b505050949350505050565b6000610847600284849050101560405180604001604052806018815260200177737761704578616374546f6b656e73466f72546f6b656e7360401b8152506040518060400160405280600c81526020016b0d2dcecc2d8d2c840e0c2e8d60a31b815250611150565b60008383600081811061085c5761085c6118d5565b905060200201602081019061087191906118eb565b905061087c81610cb9565b600080516020611b468339815191526108958288610d17565b96506108b082600080516020611b4683398151915289610dd8565b6040516338ed173960e01b81526001600160a01b038216906338ed1739906108e6908a908a908a908a9030904290600401611908565b6000604051808303816000875af192505050801561092657506040513d6000823e601f3d908101601f19168201604052610923919081019061197b565b60015b6109d2576109326117cf565b806308c379a01415610992575061094761182e565b806109525750610994565b61098c60405180604001604052806018815260200177737761704578616374546f6b656e73466f72546f6b656e7360401b81525082610e65565b506109fd565b505b6109cd60405180604001604052806018815260200177737761704578616374546f6b656e73466f72546f6b656e7360401b815250610ec0565b6109fd565b80600182516109e19190611a53565b815181106109f1576109f16118d5565b60200260200101519350505b610a1582600080516020611b46833981519152610eed565b60015b848110156107d457610a358686838181106107a8576107a86118d5565b80610a3f81611a38565b915050610a18565b60405162461bcd60e51b8152602060048201526014602482015273496e76616c696420706f73742070726f6365737360601b60448201526064015b60405180910390fd5b60018181548110610a9b57600080fd5b600091825260209091200154905081565b6000806000600080516020611b4683398151915290506000610b30826001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b2991906118b8565b8a8a61102d565b9050610b3c8188610d17565b9650610b5781600080516020611b4683398151915289610dd8565b604051635d5155ef60e11b81526001600160a01b038a8116600483015289811660248301526044820189905260648201889052608482018790523060a48301524260c483015283169063baa2abde9060e40160408051808303816000875af1925050508015610be3575060408051601f3d908101601f19168201909252610be091810190611a6a565b60015b610c7d57610bef6117cf565b806308c379a01415610c465750610c0461182e565b80610c0f5750610c48565b610c406040518060400160405280600f81526020016e72656d6f76654c697175696469747960881b81525082610e65565b50610c83565b505b610c786040518060400160405280600f81526020016e72656d6f76654c697175696469747960881b815250610ec0565b610c83565b90945092505b610c9b81600080516020611b46833981519152610eed565b610ca489611106565b610cad88611106565b50509550959350505050565b6001600160a01b0381166110101415610d145760405162461bcd60e51b815260206004820152601760248201527f4e6f7420737570706f7274206d6174696320746f6b656e0000000000000000006044820152606401610a82565b50565b60006000198214610d29575080610dd2565b6001600160a01b0383161580610d5b57506001600160a01b03831673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee145b15610d67575047610dd2565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa158015610dab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dcf9190611a8e565b90505b92915050565b60405163095ea7b360e01b81526001600160a01b0383811660048301526024820183905284169063095ea7b390604401600060405180830381600087803b158015610e2257600080fd5b505af1925050508015610e33575060015b610e6057610e4c6001600160a01b03841683600061115f565b610e606001600160a01b038416838361115f565b505050565b60408051808201909152600a815269048517569636b537761760b41b60208201528282604051602001610e9a93929190611aa7565b60408051601f198184030181529082905262461bcd60e51b8252610a829160040161176e565b610d14816040518060400160405280600b81526020016a155b9cdc1958da599a595960aa1b815250610e65565b604051636eb1769f60e11b81523060048201526001600160a01b0382811660248301526000919084169063dd62ed3e90604401602060405180830381865afa158015610f3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f619190611a8e565b11156110295760405163095ea7b360e01b81526001600160a01b0382811660048301526000602483015283169063095ea7b390604401600060405180830381600087803b158015610fb157600080fd5b505af1925050508015610fc2575060015b6110295760405163095ea7b360e01b81526001600160a01b0382811660048301526001602483015283169063095ea7b390604401600060405180830381600087803b15801561101057600080fd5b505af1158015611024573d6000803e3d6000fd5b505050505b5050565b600080600061103c8585611296565b6040516bffffffffffffffffffffffff19606084811b8216602084015283901b16603482015291935091508690604801604051602081830303815290604052805190602001206040516020016110e49291906001600160f81b0319815260609290921b6bffffffffffffffffffffffff1916600183015260158201527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f603582015260550190565b60408051601f1981840301815291905280516020909101209695505050505050565b61110f81610cb9565b6001805480820182556000919091526001600160a01b0382167fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf69091015550565b82610e6057610e608282610e65565b8015806111d95750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e90604401602060405180830381865afa1580156111b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d79190611a8e565b155b6112445760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b6064820152608401610a82565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610e6090849061138e565b600080826001600160a01b0316846001600160a01b031614156113095760405162461bcd60e51b815260206004820152602560248201527f556e697377617056324c6962726172793a204944454e544943414c5f41444452604482015264455353455360d81b6064820152608401610a82565b826001600160a01b0316846001600160a01b03161061132957828461132c565b83835b90925090506001600160a01b0382166113875760405162461bcd60e51b815260206004820152601e60248201527f556e697377617056324c6962726172793a205a45524f5f4144445245535300006044820152606401610a82565b9250929050565b60006113e3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166114609092919063ffffffff16565b805190915015610e6057808060200190518101906114019190611b07565b610e605760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a82565b606061146f8484600085611479565b90505b9392505050565b6060824710156114da5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610a82565b6001600160a01b0385163b6115315760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a82565b600080866001600160a01b0316858760405161154d9190611b29565b60006040518083038185875af1925050503d806000811461158a576040519150601f19603f3d011682016040523d82523d6000602084013e61158f565b606091505b509150915061159f8282866115aa565b979650505050505050565b606083156115b9575081611472565b8251156115c95782518084602001fd5b8160405162461bcd60e51b8152600401610a82919061176e565b6001600160a01b0381168114610d1457600080fd5b60008060008060008060c0878903121561161157600080fd5b863561161c816115e3565b9550602087013561162c816115e3565b95989597505050506040840135936060810135936080820135935060a0909101359150565b6000806000806060858703121561166757600080fd5b8435935060208501359250604085013567ffffffffffffffff8082111561168d57600080fd5b818701915087601f8301126116a157600080fd5b8135818111156116b057600080fd5b8860208260051b85010111156116c557600080fd5b95989497505060200194505050565b6000602082840312156116e657600080fd5b5035919050565b600080600080600060a0868803121561170557600080fd5b8535611710816115e3565b94506020860135611720816115e3565b94979496505050506040830135926060810135926080909101359150565b60005b83811015611759578181015183820152602001611741565b83811115611768576000848401525b50505050565b602081526000825180602084015261178d81604085016020870161173e565b601f01601f19169190910160400192915050565b6000806000606084860312156117b657600080fd5b8351925060208401519150604084015190509250925092565b600060033d11156117e85760046000803e5060005160e01c5b90565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff81118282101715611827576118276117eb565b6040525050565b600060443d101561183c5790565b6040516003193d81016004833e81513d67ffffffffffffffff816024840111818411171561186c57505050505090565b82850191508151818111156118845750505050505090565b843d870101602082850101111561189e5750505050505090565b6118ad60208286010187611801565b509095945050505050565b6000602082840312156118ca57600080fd5b8151611472816115e3565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156118fd57600080fd5b8135611472816115e3565b868152602080820187905260a0604083018190528201859052600090869060c08401835b8881101561195a57833561193f816115e3565b6001600160a01b03168252928201929082019060010161192c565b506001600160a01b0396909616606085015250505060800152949350505050565b6000602080838503121561198e57600080fd5b825167ffffffffffffffff808211156119a657600080fd5b818501915085601f8301126119ba57600080fd5b8151818111156119cc576119cc6117eb565b8060051b91506040516119e185840182611801565b818152918301840191848101888411156119fa57600080fd5b938501935b83851015611a1657845181529385019385016119ff565b50979650505050505050565b634e487b7160e01b600052601160045260246000fd5b6000600019821415611a4c57611a4c611a22565b5060010190565b600082821015611a6557611a65611a22565b500390565b60008060408385031215611a7d57600080fd5b505080516020909101519092909150565b600060208284031215611aa057600080fd5b5051919050565b60008451611ab981846020890161173e565b605f60f81b9083019081528451611ad781600184016020890161173e565b6101d160f51b600192909101918201528351611afa81600384016020880161173e565b0160030195945050505050565b600060208284031215611b1957600080fd5b8151801515811461147257600080fd5b60008251611b3b81846020870161173e565b919091019291505056fe000000000000000000000000a5e0829caced8ffdd4de3c43696c57f7d7a678ffa2646970667358221220213bb9a5eacec0568c4963e54b828bb09b50030f682cd02af91344a724f9880064736f6c634300080a0033
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.