More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 72 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Recover Tokens | 12034898 | 1380 days ago | IN | 0 ETH | 0.00342202 | ||||
Recover Tokens | 12034896 | 1380 days ago | IN | 0 ETH | 0.00539065 | ||||
Recover Tokens | 12028335 | 1381 days ago | IN | 0 ETH | 0.00634307 | ||||
Remove Liquidity | 12028315 | 1381 days ago | IN | 0 ETH | 0.02509312 | ||||
Add Liquidity | 12028303 | 1381 days ago | IN | 0 ETH | 0.02105756 | ||||
Buy Root Kit | 12028291 | 1381 days ago | IN | 0 ETH | 0.02122403 | ||||
Buy Root Kit | 12028286 | 1381 days ago | IN | 0 ETH | 0.02122606 | ||||
Pump It Ponzo | 12028268 | 1381 days ago | IN | 0 ETH | 0.03350171 | ||||
Pump It Ponzo | 12028250 | 1381 days ago | IN | 0 ETH | 0.03350171 | ||||
Pump It Ponzo | 12028248 | 1381 days ago | IN | 0 ETH | 0.03327103 | ||||
Unwrap Keth | 12028233 | 1381 days ago | IN | 0 ETH | 0.00856339 | ||||
Add Liquidity | 12028215 | 1381 days ago | IN | 0 ETH | 0.02627088 | ||||
Add Liquidity | 12028211 | 1381 days ago | IN | 0 ETH | 0.02554891 | ||||
Pump It Ponzo | 12028205 | 1381 days ago | IN | 0 ETH | 0.03507835 | ||||
Sell Root Kit | 12028197 | 1381 days ago | IN | 0 ETH | 0.02121423 | ||||
Set Infinite Pum... | 12027985 | 1381 days ago | IN | 0 ETH | 0.00878571 | ||||
Recover Tokens | 12021177 | 1382 days ago | IN | 0 ETH | 0.00723894 | ||||
Sell Root Kit | 12017957 | 1383 days ago | IN | 0 ETH | 0.02102343 | ||||
Pump It Ponzo | 11974321 | 1389 days ago | IN | 0 ETH | 0.03184348 | ||||
Pump It Ponzo | 11964585 | 1391 days ago | IN | 0 ETH | 0.02834538 | ||||
Pump It Ponzo | 11962301 | 1391 days ago | IN | 0 ETH | 0.02762423 | ||||
Pump It Ponzo | 11957482 | 1392 days ago | IN | 0 ETH | 0.02593873 | ||||
Buy Root Kit | 11957301 | 1392 days ago | IN | 0 ETH | 0.01277963 | ||||
Pump It Ponzo | 11957026 | 1392 days ago | IN | 0 ETH | 0.03184348 | ||||
Pump It Ponzo | 11956520 | 1392 days ago | IN | 0 ETH | 0.02593873 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
PonzoMaBobberV696969
Compiler Version
v0.7.4+commit.3f05b770
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; import "./Owned.sol"; import "./TokensRecoverable.sol"; import "./RootKit.sol"; import "./IERC31337.sol"; import "./IUniswapV2Router02.sol"; import "./IWETH.sol"; import "./IUniswapV2Pair.sol"; import "./IERC20.sol"; import "./RootKitTransferGate.sol"; import "./UniswapV2Library.sol"; import "./KETH.sol"; import "./SafeMath.sol"; import "./IPonzoMaBobberV696969.sol"; import "./IERC31337.sol"; import "./IFloorCalculator.sol"; contract PonzoMaBobberV696969 is TokensRecoverable, IPonzoMaBobberV696969 /* Ponzo-Ma-BobberV69.sol Status: Fully functional Infinity Edition with kETH swapper Calibration: Pumping Rootkit The Ponzo-Ma-Bobber is a contract with access to critical system control functions and liquidity tokens for ROOT. It uses kETH and the ERC-31337 sweeper functionality to make upwards market manipulation less tiresome. Created by @ProfessorPonzo */ { using SafeMath for uint256; IUniswapV2Router02 immutable uniswapV2Router; IUniswapV2Factory immutable uniswapV2Factory; RootKit immutable rootKit; IWETH immutable weth; KETH keth; IERC20 IKETH; IERC20 rootKeth; IERC20 rootWeth; IFloorCalculator calculator; RootKitTransferGate gate; mapping (address => bool) public infinitePumpers; constructor(IUniswapV2Router02 _uniswapV2Router, IWETH _weth, RootKit _rootKit, IFloorCalculator _calculator, RootKitTransferGate _gate) { uniswapV2Router = _uniswapV2Router; rootKit = _rootKit; calculator = _calculator; IUniswapV2Factory _uniswapV2Factory = IUniswapV2Factory(_uniswapV2Router.factory()); uniswapV2Factory = _uniswapV2Factory; weth = _weth; gate = _gate; _weth.approve(address(_uniswapV2Router), uint256(-1)); _rootKit.approve(address(_uniswapV2Router), uint256(-1)); rootWeth = IERC20(_uniswapV2Factory.getPair(address(_weth), address(_rootKit))); rootWeth.approve(address(_uniswapV2Router), uint256(-1)); } function updateKethLOL(KETH _keth) public ownerOnly(){ keth = _keth; weth.approve(address(_keth), uint256(-1)); _keth.approve(address(uniswapV2Router), uint256(-1)); rootKeth = IERC20(uniswapV2Factory.getPair(address(keth), address(rootKit))); rootKeth.approve(address(uniswapV2Router), uint256(-1)); } // The Pump Button is really fun, cant keep it all to myself function setInfinitePumper(address pumper, bool infinite) public ownerOnly() { infinitePumpers[pumper] = infinite; } // Removes liquidity and buys from either pool, ignores all Root function pumpItPonzo (uint256 PUMPIT, address token) public override { require (msg.sender == owner || infinitePumpers[msg.sender], "You Wish!!!"); gate.setUnrestricted(true); PUMPIT = removeLiq(token, PUMPIT); buyRoot(token, PUMPIT); gate.setUnrestricted(false); } // Sweeps the wETH under the floor to this address function sweepTheFloor() public override { require (msg.sender == owner || infinitePumpers[msg.sender], "You Wish!!!"); keth.sweepFloor(address(this)); } // Move liquidity from kETH --->> wETH function zapKethToWeth(uint256 liquidity) public override { require (msg.sender == owner || infinitePumpers[msg.sender], "You Wish!!!"); gate.setUnrestricted(true); liquidity = removeLiq(address(keth), liquidity); keth.withdrawTokens(liquidity); addLiq(address(weth), liquidity); gate.setUnrestricted(false); } // Move liquidity from wETH --->> kETH function zapWethToKeth(uint256 liquidity) public override { require (msg.sender == owner || infinitePumpers[msg.sender], "You Wish!!!"); gate.setUnrestricted(true); liquidity = removeLiq(address(weth), liquidity); keth.depositTokens(liquidity); addLiq(address(keth), liquidity); gate.setUnrestricted(false); } function wrapToKeth(uint256 wethAmount) public override { require (msg.sender == owner || infinitePumpers[msg.sender], "You Wish!!!"); keth.depositTokens(wethAmount); } function unwrapKeth(uint256 kethAmount) public override { require (msg.sender == owner || infinitePumpers[msg.sender], "You Wish!!!"); keth.withdrawTokens(kethAmount); } function addLiquidity(address kethORweth, uint256 ethAmount) public override { gate.setUnrestricted(true); require (msg.sender == owner || infinitePumpers[msg.sender], "You Wish!!!"); addLiq(kethORweth, ethAmount); gate.setUnrestricted(false); } function removeLiquidity (address kethORweth, uint256 tokens) public override { require (msg.sender == owner || infinitePumpers[msg.sender], "You Wish!!!"); gate.setUnrestricted(true); removeLiq(kethORweth, tokens); gate.setUnrestricted(false); } function buyRootKit(address token, uint256 amountToSpend) public override { gate.setUnrestricted(true); require (msg.sender == owner || infinitePumpers[msg.sender], "You Wish!!!"); buyRoot(token, amountToSpend); gate.setUnrestricted(false); } function sellRootKit(address token, uint256 amountToSpend) public override { require (msg.sender == owner || infinitePumpers[msg.sender], "You Wish!!!"); gate.setUnrestricted(true); sellRoot(token, amountToSpend); gate.setUnrestricted(false); } function addLiq(address kethORweth, uint256 ethAmount) internal { uniswapV2Router.addLiquidity(address(kethORweth), address(rootKit), ethAmount, rootKit.balanceOf(address(this)), 0, 0, address(this), block.timestamp); } function removeLiq(address kethORweth, uint256 tokens) internal returns (uint256) { (tokens,) = uniswapV2Router.removeLiquidity(address(kethORweth), address(rootKit), tokens, 0, 0, address(this), block.timestamp); return tokens; } function buyRoot(address token, uint256 amountToSpend) internal { uniswapV2Router.swapExactTokensForTokens(amountToSpend, 0, buyPath(token), address(this), block.timestamp); } function sellRoot(address token, uint256 amountToSpend) internal { uniswapV2Router.swapExactTokensForTokens(amountToSpend, 0, sellPath(token), address(this), block.timestamp); } function buyPath(address token) internal view returns(address[] memory) { address[] memory path = new address[](2); path[0] = address(token); path[1] = address(rootKit); return path; } function sellPath(address token) internal view returns(address[] memory) { address[] memory path = new address[](2); path[0] = address(rootKit); path[1] = address(token); return path; } }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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.3._ */ 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.3._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; /* ROOTKIT: Simplified thanks to higher solidity version But same functionality */ import "./IERC20.sol"; import "./SafeMath.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ abstract contract ERC20 is IERC20 { using SafeMath for uint256; mapping (address => uint256) internal _balanceOf; mapping (address => mapping (address => uint256)) public override allowance; uint256 public override totalSupply; string public override name; string public override symbol; uint8 public override decimals = 18; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory _name, string memory _symbol) { name = _name; symbol = _symbol; } function balanceOf(address a) public virtual override view returns (uint256) { return _balanceOf[a]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(msg.sender, recipient, amount); return true; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(msg.sender, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 oldAllowance = allowance[sender][msg.sender]; if (oldAllowance != uint256(-1)) { _approve(sender, msg.sender, oldAllowance.sub(amount, "ERC20: transfer amount exceeds allowance")); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(msg.sender, spender, allowance[msg.sender][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(msg.sender, spender, allowance[msg.sender][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balanceOf[sender] = _balanceOf[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balanceOf[recipient] = _balanceOf[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); totalSupply = totalSupply.add(amount); _balanceOf[account] = _balanceOf[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balanceOf[account] = _balanceOf[account].sub(amount, "ERC20: burn amount exceeds balance"); totalSupply = totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); allowance[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 _decimals) internal { decimals = _decimals; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; /* ROOTKIT: A wrapped token, where the underlying token can be swept and used for other purposes Governed by an installable floor calculator contract Sweepable by designated sweeper addresses */ import "./IERC20.sol"; import "./SafeERC20.sol"; import "./Owned.sol"; import "./IFloorCalculator.sol"; import "./WrappedERC20.sol"; import "./IERC31337.sol"; contract ERC31337 is WrappedERC20, IERC31337 { using SafeERC20 for IERC20; IFloorCalculator public override floorCalculator; mapping (address => bool) public override sweepers; constructor(IERC20 _wrappedToken, string memory _name, string memory _symbol) WrappedERC20(_wrappedToken, _name, _symbol) { } function setFloorCalculator(IFloorCalculator _floorCalculator) public override ownerOnly() { floorCalculator = _floorCalculator; } function setSweeper(address sweeper, bool allow) public override ownerOnly() { sweepers[sweeper] = allow; } function sweepFloor(address to) public override returns (uint256 amountSwept) { require (to != address(0)); require (sweepers[msg.sender], "Sweepers only"); amountSwept = floorCalculator.calculateSubFloor(wrappedToken, this); if (amountSwept > 0) { wrappedToken.safeTransfer(to, amountSwept); } } }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; pragma experimental ABIEncoderV2; /* ROOTKIT: A standard ERC20 with an extra hook: An installable transfer gate allowing for token tax and burn on transfer */ import "./ERC20.sol"; import "./ITransferGate.sol"; import "./Owned.sol"; import "./SafeMath.sol"; import "./TokensRecoverable.sol"; import "./IGatedERC20.sol"; abstract contract GatedERC20 is ERC20, TokensRecoverable, IGatedERC20 { using SafeMath for uint256; ITransferGate public override transferGate; constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) { } function setTransferGate(ITransferGate _transferGate) public override ownerOnly() { transferGate = _transferGate; } function _transfer(address sender, address recipient, uint256 amount) internal virtual override { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); ITransferGate _transferGate = transferGate; uint256 remaining = amount; if (address(_transferGate) != address(0)) { (uint256 burn, TransferGateTarget[] memory targets) = _transferGate.handleTransfer(msg.sender, sender, recipient, amount); if (burn > 0) { amount = remaining = remaining.sub(burn, "Burn too much"); _burn(sender, burn); } for (uint256 x = 0; x < targets.length; ++x) { (address dest, uint256 amt) = (targets[x].destination, targets[x].amount); remaining = remaining.sub(amt, "Transfer too much"); _balanceOf[dest] = _balanceOf[dest].add(amt); } } _balanceOf[sender] = _balanceOf[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balanceOf[recipient] = _balanceOf[recipient].add(remaining); emit Transfer(sender, recipient, amount); } }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; interface IERC20 { event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); function totalSupply() external view returns (uint256); function balanceOf(address _account) external view returns (uint256); function transfer(address _recipient, uint256 _amount) external returns (bool); function allowance(address _owner, address _spender) external view returns (uint256); function approve(address _spender, uint256 _amount) external returns (bool); function transferFrom(address _sender, address _recipient, uint256 _amount) external returns (bool); function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; import "./IWrappedERC20.sol"; import "./IFloorCalculator.sol"; interface IERC31337 is IWrappedERC20 { function floorCalculator() external view returns (IFloorCalculator); function sweepers(address _sweeper) external view returns (bool); function setFloorCalculator(IFloorCalculator _floorCalculator) external; function setSweeper(address _sweeper, bool _allow) external; function sweepFloor(address _to) external returns (uint256 amountSwept); }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; import "./IERC20.sol"; interface IFloorCalculator { function calculateSubFloor(IERC20 wrappedToken, IERC20 backingToken) external view returns (uint256); }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; import "./IERC20.sol"; import "./ITransferGate.sol"; interface IGatedERC20 is IERC20 { function transferGate() external view returns (ITransferGate); function setTransferGate(ITransferGate _transferGate) external; }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; interface IOwned { event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); function owner() external view returns (address); function transferOwnership(address newOwner) external; function claimOwnership() external; }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; interface IPonzoMaBobberV696969 { function pumpItPonzo (uint256 PUMPIT, address token) external; function sweepTheFloor() external; function zapKethToWeth(uint256 liquidity) external; function zapWethToKeth(uint256 liquidity) external; function wrapToKeth(uint256 wethAmount) external; function unwrapKeth(uint256 kethAmount) external; function addLiquidity(address kethORweth, uint256 ethAmount) external; function removeLiquidity(address kethORweth, uint256 tokens) external; function buyRootKit(address token, uint256 amountToSpend) external; function sellRootKit(address token, uint256 amountToSpend) external; }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; import "./IERC20.sol"; interface ITokensRecoverable { function recoverTokens(IERC20 token) external; }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; pragma experimental ABIEncoderV2; struct TransferGateTarget { address destination; uint256 amount; } interface ITransferGate { function handleTransfer(address msgSender, address from, address to, uint256 amount) external returns (uint256 burn, TransferGateTarget[] memory targets); }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() 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; }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external 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); }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; import "./IERC20.sol"; import "./IWrappedERC20Events.sol"; interface IWETH is IERC20, IWrappedERC20Events { function deposit() external payable; function withdraw(uint256 _amount) external; }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; import "./IERC20.sol"; import "./IWrappedERC20Events.sol"; interface IWrappedERC20 is IERC20, IWrappedERC20Events { function wrappedToken() external view returns (IERC20); function depositTokens(uint256 _amount) external; function withdrawTokens(uint256 _amount) external; }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; interface IWrappedERC20Events { event Deposit(address indexed from, uint256 amount); event Withdrawal(address indexed to, uint256 amount); }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; /* ROOTKIT: Technically a wrapped WETH So a wrapped wrapped ethereum But also accepts raw ETH Also functions exactly like WETH (deposit/withdraw/direct send) */ import "./ERC31337.sol"; import "./IWETH.sol"; import "./SafeMath.sol"; contract KETH is ERC31337, IWETH { using SafeMath for uint256; constructor (IWETH _weth) ERC31337(_weth, "KETH2", "KETH2") { } receive() external payable { if (msg.sender != address(wrappedToken)) { deposit(); } } function deposit() public payable override { uint256 amount = msg.value; IWETH(address(wrappedToken)).deposit{ value: amount }(); _mint(msg.sender, amount); emit Deposit(msg.sender, amount); } function withdraw(uint256 _amount) public override { _burn(msg.sender, _amount); IWETH(address(wrappedToken)).withdraw(_amount); emit Withdrawal(msg.sender, _amount); (bool success,) = msg.sender.call{ value: _amount }(""); require (success, "Transfer failed"); } }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; /* ROOTKIT: Provides ownerOnly() modifier Allows for ownership transfer but requires the new owner to claim (accept) ownership Safer because no accidental transfers or renouncing */ import "./IOwned.sol"; abstract contract Owned is IOwned { address public override owner = msg.sender; address internal pendingOwner; modifier ownerOnly() { require (msg.sender == owner, "Owner only"); _; } function transferOwnership(address newOwner) public override ownerOnly() { pendingOwner = newOwner; } function claimOwnership() public override { require (pendingOwner == msg.sender); pendingOwner = address(0); emit OwnershipTransferred(owner, msg.sender); owner = msg.sender; } }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; /* ROOTKIT: RootKit Because my suggestions of WootKit and GrootKit were overruled */ import "./GatedERC20.sol"; contract RootKit is GatedERC20("RootKit", "ROOT") { constructor() { _mint(msg.sender, 10000 ether); } }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; pragma experimental ABIEncoderV2; /* ROOTKIT: A transfer gate (GatedERC20) for use with RootKit tokens It: Allows customization of tax and burn rates Allows transfer to/from approved Uniswap pools Disallows transfer to/from non-approved Uniswap pools (doesn't interfere with other crappy AMMs) Allows transfer to/from anywhere else Allows for free transfers if permission granted Allows for unrestricted transfers if permission granted Provides a safe and tax-free liquidity adding function */ import "./Owned.sol"; import "./IUniswapV2Factory.sol"; import "./IERC20.sol"; import "./IUniswapV2Pair.sol"; import "./RootKit.sol"; import "./Address.sol"; import "./IUniswapV2Router02.sol"; import "./SafeERC20.sol"; import "./SafeMath.sol"; import "./TokensRecoverable.sol"; import "./ITransferGate.sol"; struct RootKitTransferGateParameters { address dev; uint16 stakeRate; // 10000 = 100% uint16 burnRate; // 10000 = 100% uint16 devRate; // 10000 = 100% address stake; } contract RootKitTransferGate is Owned, TokensRecoverable, ITransferGate { using Address for address; using SafeERC20 for IERC20; using SafeMath for uint256; enum AddressState { Unknown, NotPool, DisallowedPool, AllowedPool } RootKitTransferGateParameters public parameters; IUniswapV2Router02 immutable uniswapV2Router; IUniswapV2Factory immutable uniswapV2Factory; RootKit immutable rootKit; mapping (address => AddressState) public addressStates; IERC20[] public allowedPoolTokens; bool public unrestricted; mapping (address => bool) public unrestrictedControllers; mapping (address => bool) public freeParticipant; mapping (address => uint256) public liquiditySupply; address public mustUpdate; constructor(RootKit _rootKit, IUniswapV2Router02 _uniswapV2Router) { rootKit = _rootKit; uniswapV2Router = _uniswapV2Router; uniswapV2Factory = IUniswapV2Factory(_uniswapV2Router.factory()); } function allowedPoolTokensCount() public view returns (uint256) { return allowedPoolTokens.length; } function setUnrestrictedController(address unrestrictedController, bool allow) public ownerOnly() { unrestrictedControllers[unrestrictedController] = allow; } function setFreeParticipant(address participant, bool free) public ownerOnly() { freeParticipant[participant] = free; } function setUnrestricted(bool _unrestricted) public { require (unrestrictedControllers[msg.sender], "Not an unrestricted controller"); unrestricted = _unrestricted; } function setParameters(address _dev, address _stake, uint16 _stakeRate, uint16 _burnRate, uint16 _devRate) public ownerOnly() { require (_stakeRate <= 10000 && _burnRate <= 10000 && _devRate <= 10000 && _stakeRate + _burnRate + _devRate <= 10000, "> 100%"); require (_dev != address(0) && _stake != address(0)); require (_stakeRate <= 500 && _burnRate <= 500 && _devRate <= 10, "Sanity"); RootKitTransferGateParameters memory _parameters; _parameters.dev = _dev; _parameters.stakeRate = _stakeRate; _parameters.burnRate = _burnRate; _parameters.devRate = _devRate; _parameters.stake = _stake; parameters = _parameters; } function allowPool(IERC20 token) public ownerOnly() { address pool = uniswapV2Factory.getPair(address(rootKit), address(token)); if (pool == address(0)) { pool = uniswapV2Factory.createPair(address(rootKit), address(token)); } AddressState state = addressStates[pool]; require (state != AddressState.AllowedPool, "Already allowed"); addressStates[pool] = AddressState.AllowedPool; allowedPoolTokens.push(token); liquiditySupply[pool] = IERC20(pool).totalSupply(); } function safeAddLiquidity(IERC20 token, uint256 tokenAmount, uint256 rootKitAmount, uint256 minTokenAmount, uint256 minRootKitAmount, address to, uint256 deadline) public returns (uint256 rootKitUsed, uint256 tokenUsed, uint256 liquidity) { address pool = uniswapV2Factory.getPair(address(rootKit), address(token)); require (pool != address(0) && addressStates[pool] == AddressState.AllowedPool, "Pool not approved"); unrestricted = true; uint256 tokenBalance = token.balanceOf(address(this)); token.safeTransferFrom(msg.sender, address(this), tokenAmount); rootKit.transferFrom(msg.sender, address(this), rootKitAmount); rootKit.approve(address(uniswapV2Router), rootKitAmount); token.safeApprove(address(uniswapV2Router), tokenAmount); (rootKitUsed, tokenUsed, liquidity) = uniswapV2Router.addLiquidity(address(rootKit), address(token), rootKitAmount, tokenAmount, minRootKitAmount, minTokenAmount, to, deadline); liquiditySupply[pool] = IERC20(pool).totalSupply(); if (mustUpdate == pool) { mustUpdate = address(0); } if (rootKitUsed < rootKitAmount) { rootKit.transfer(msg.sender, rootKitAmount - rootKitUsed); } tokenBalance = token.balanceOf(address(this)).sub(tokenBalance); // we do it this way in case there's a burn if (tokenBalance > 0) { token.safeTransfer(msg.sender, tokenBalance); } unrestricted = false; } function handleTransfer(address, address from, address to, uint256 amount) external override returns (uint256 burn, TransferGateTarget[] memory targets) { address mustUpdateAddress = mustUpdate; if (mustUpdateAddress != address(0)) { mustUpdate = address(0); liquiditySupply[mustUpdateAddress] = IERC20(mustUpdateAddress).totalSupply(); } AddressState fromState = addressStates[from]; AddressState toState = addressStates[to]; if (fromState != AddressState.AllowedPool && toState != AddressState.AllowedPool) { if (fromState == AddressState.Unknown) { fromState = detectState(from); } if (toState == AddressState.Unknown) { toState = detectState(to); } require (unrestricted || (fromState != AddressState.DisallowedPool && toState != AddressState.DisallowedPool), "Pool not approved"); } if (toState == AddressState.AllowedPool) { mustUpdate = to; } if (fromState == AddressState.AllowedPool) { if (unrestricted) { liquiditySupply[from] = IERC20(from).totalSupply(); } require (IERC20(from).totalSupply() >= liquiditySupply[from], "Cannot remove liquidity"); } if (unrestricted || freeParticipant[from] || freeParticipant[to]) { return (0, new TransferGateTarget[](0)); } RootKitTransferGateParameters memory params = parameters; // "amount" will never be > totalSupply which is capped at 10k, so these multiplications will never overflow burn = amount * params.burnRate / 10000; targets = new TransferGateTarget[]((params.devRate > 0 ? 1 : 0) + (params.stakeRate > 0 ? 1 : 0)); uint256 index = 0; if (params.stakeRate > 0) { targets[index].destination = params.stake; targets[index++].amount = amount * params.stakeRate / 10000; } if (params.devRate > 0) { targets[index].destination = params.dev; targets[index].amount = amount * params.devRate / 10000; } } function setAddressState(address a, AddressState state) public ownerOnly() { addressStates[a] = state; } function detectState(address a) public returns (AddressState state) { state = AddressState.NotPool; if (a.isContract()) { try this.throwAddressState(a) { assert(false); } catch Error(string memory result) { // if (bytes(result).length == 1) { // state = AddressState.NotPool; // } if (bytes(result).length == 2) { state = AddressState.DisallowedPool; } } catch { } } addressStates[a] = state; return state; } // Not intended for external consumption // Always throws // We want to call functions to probe for things, but don't want to open ourselves up to // possible state-changes // So we return a value by reverting with a message function throwAddressState(address a) external view { try IUniswapV2Pair(a).factory() returns (address factory) { // don't care if it's some crappy alt-amm if (factory == address(uniswapV2Factory)) { // these checks for token0/token1 are just for additional // certainty that we're interacting with a uniswap pair try IUniswapV2Pair(a).token0() returns (address token0) { if (token0 == address(rootKit)) { revert("22"); } try IUniswapV2Pair(a).token1() returns (address token1) { if (token1 == address(rootKit)) { revert("22"); } } catch { } } catch { } } } catch { } revert("1"); } }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; /* ROOTKIT: A floor calculator (to use with ERC31337) for RootKit uniswap pairs Ensures 100% of accessible funds are backed at all times */ import "./IFloorCalculator.sol"; import "./RootKit.sol"; import "./SafeMath.sol"; import "./UniswapV2Library.sol"; import "./IUniswapV2Factory.sol"; import "./TokensRecoverable.sol"; contract RootKitTwoPoolCalculator is IFloorCalculator, TokensRecoverable { using SafeMath for uint256; uint256 public totalIgnored; RootKit immutable rootKit; IUniswapV2Factory immutable uniswapV2Factory; constructor(RootKit _rootKit, IUniswapV2Factory _uniswapV2Factory) { rootKit = _rootKit; uniswapV2Factory = _uniswapV2Factory; } function setIgnoredAddresses(address[] memory ignoredAddresses) public ownerOnly() { totalIgnored = 0; for (uint i = 0; i < ignoredAddresses.length; i++) { totalIgnored = totalIgnored.add(rootKit.balanceOf(ignoredAddresses[i])); } } function addExtraIgnoreAddress(address extraToIgnore) public ownerOnly(){ totalIgnored = totalIgnored.add(rootKit.balanceOf(extraToIgnore)); } function calculateExcessInPool(IERC20 token, address pair, uint256 liquidityShare, uint256 rootKitTotalSupply, uint256 rootKitPoolsLiquidity) internal view returns (uint256) { uint256 freeRootKit = (rootKitTotalSupply.sub(rootKitPoolsLiquidity)).mul(liquidityShare).div(1e12); uint256 sellAllProceeds = 0; if (freeRootKit > 0) { address[] memory path = new address[](2); path[0] = address(rootKit); path[1] = address(token); uint256[] memory amountsOut = UniswapV2Library.getAmountsOut(address(uniswapV2Factory), freeRootKit, path); sellAllProceeds = amountsOut[1]; } uint256 backingInPool = token.balanceOf(pair); if (backingInPool <= sellAllProceeds) { return 0; } uint256 excessInPool = backingInPool - sellAllProceeds; return excessInPool; } function calculateExcessInPools(IERC20 wrappedToken, IERC20 backingToken) public view returns (uint256) { address kethPair = UniswapV2Library.pairFor(address(uniswapV2Factory), address(rootKit), address(backingToken)); address wethPair = UniswapV2Library.pairFor(address(uniswapV2Factory), address(rootKit), address(wrappedToken)); uint256 rootKitTotalSupply = rootKit.totalSupply().sub(totalIgnored); uint256 rootKitPoolsLiquidity = rootKit.balanceOf(kethPair).add(rootKit.balanceOf(wethPair)); uint256 ethPoolsLiquidity = backingToken.balanceOf(kethPair).add(wrappedToken.balanceOf(wethPair)); uint256 rootLiquidityShareInKethPair = rootKit.balanceOf(kethPair).mul(1e12).div(rootKitPoolsLiquidity); uint256 kethLiquidityShareInKethPair = backingToken.balanceOf(kethPair).mul(1e12).div(ethPoolsLiquidity); uint256 avgLiquidityShareInKethPair = (rootLiquidityShareInKethPair.add(kethLiquidityShareInKethPair)).div(2); uint256 one = 1e12; uint256 excessInKethPool = calculateExcessInPool(backingToken, kethPair, avgLiquidityShareInKethPair, rootKitTotalSupply, rootKitPoolsLiquidity); uint256 excessInWethPool = calculateExcessInPool(wrappedToken, wethPair, (one).sub(avgLiquidityShareInKethPair), rootKitTotalSupply, rootKitPoolsLiquidity); return excessInKethPool.add(excessInWethPool); } function calculateSubFloor(IERC20 wrappedToken, IERC20 backingToken) public override view returns (uint256) // backing token = keth { uint256 excessInPools = calculateExcessInPools(wrappedToken, backingToken); uint256 requiredBacking = backingToken.totalSupply().sub(excessInPools); uint256 currentBacking = wrappedToken.balanceOf(address(backingToken)); if (requiredBacking >= currentBacking) { return 0; } return currentBacking - requiredBacking; } }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; /* ROOTKIT: Modified to remove some junk Also modified to remove silly restrictions (traps!) within safeApprove */ import "./IERC20.sol"; import "./SafeMath.sol"; import "./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 SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; /* ROOTKIT: O wherefore art thou 8 point O */ library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; return c; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; /* ROOTKIT: Allows recovery of unexpected tokens (airdrops, etc) Inheriters can customize logic by overriding canRecoverTokens */ import "./IERC20.sol"; import "./SafeERC20.sol"; import "./Owned.sol"; import "./ITokensRecoverable.sol"; abstract contract TokensRecoverable is Owned, ITokensRecoverable { using SafeERC20 for IERC20; function recoverTokens(IERC20 token) public override ownerOnly() { require (canRecoverTokens(token)); token.safeTransfer(msg.sender, token.balanceOf(address(this))); } function canRecoverTokens(IERC20 token) internal virtual view returns (bool) { return address(token) != address(this); } }
// SPDX-License-Identifier: J-J-J-JENGA!!! pragma solidity ^0.7.4; import "./IUniswapV2Pair.sol"; import "./SafeMath.sol"; library UniswapV2Library { 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, '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(uint(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 (uint reserveA, uint reserveB) { (address token0,) = sortTokens(tokenA, tokenB); (uint reserve0, uint 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(uint amountA, uint reserveA, uint reserveB) internal pure returns (uint amountB) { require(amountA > 0, 'UniswapV2Library: INSUFFICIENT_AMOUNT'); require(reserveA > 0 && reserveB > 0, 'UniswapV2Library: 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, 'UniswapV2Library: INSUFFICIENT_INPUT_AMOUNT'); require(reserveIn > 0 && reserveOut > 0, 'UniswapV2Library: 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, 'UniswapV2Library: INSUFFICIENT_OUTPUT_AMOUNT'); require(reserveIn > 0 && reserveOut > 0, 'UniswapV2Library: 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, 'UniswapV2Library: 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, 'UniswapV2Library: 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: J-J-J-JENGA!!! pragma solidity ^0.7.4; /* ROOTKIT: Wraps any ERC20 Similar to WETH except for ERC20 tokens instead of ETH depositTokens/withdrawTokens are like deposit/withdraw in WETH Inheriters can hook into depositTokens and withdrawTokens by overriding _beforeDepositTokens and _beforeWithdrawTokens */ import "./IERC20.sol"; import "./ERC20.sol"; import "./IWrappedERC20.sol"; import "./TokensRecoverable.sol"; import "./SafeERC20.sol"; import "./SafeMath.sol"; contract WrappedERC20 is ERC20, IWrappedERC20, TokensRecoverable { using SafeERC20 for IERC20; using SafeMath for uint256; IERC20 public immutable override wrappedToken; constructor (IERC20 _wrappedToken, string memory _name, string memory _symbol) ERC20(_name, _symbol) { if (_wrappedToken.decimals() != 18) { _setupDecimals(_wrappedToken.decimals()); } wrappedToken = _wrappedToken; } function depositTokens(uint256 _amount) public override { _beforeDepositTokens(_amount); uint256 myBalance = wrappedToken.balanceOf(address(this)); wrappedToken.safeTransferFrom(msg.sender, address(this), _amount); uint256 received = wrappedToken.balanceOf(address(this)).sub(myBalance); _mint(msg.sender, received); emit Deposit(msg.sender, _amount); } function withdrawTokens(uint256 _amount) public override { _beforeWithdrawTokens(_amount); _burn(msg.sender, _amount); uint256 myBalance = wrappedToken.balanceOf(address(this)); wrappedToken.safeTransfer(msg.sender, _amount); require (wrappedToken.balanceOf(address(this)) == myBalance.sub(_amount), "Transfer not exact"); emit Withdrawal(msg.sender, _amount); } function canRecoverTokens(IERC20 token) internal virtual override view returns (bool) { return token != this && token != wrappedToken; } function _beforeDepositTokens(uint256 _amount) internal virtual view { } function _beforeWithdrawTokens(uint256 _amount) internal virtual view { } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IUniswapV2Router02","name":"_uniswapV2Router","type":"address"},{"internalType":"contract IWETH","name":"_weth","type":"address"},{"internalType":"contract RootKit","name":"_rootKit","type":"address"},{"internalType":"contract IFloorCalculator","name":"_calculator","type":"address"},{"internalType":"contract RootKitTransferGate","name":"_gate","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address","name":"kethORweth","type":"address"},{"internalType":"uint256","name":"ethAmount","type":"uint256"}],"name":"addLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amountToSpend","type":"uint256"}],"name":"buyRootKit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"infinitePumpers","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":"PUMPIT","type":"uint256"},{"internalType":"address","name":"token","type":"address"}],"name":"pumpItPonzo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"recoverTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"kethORweth","type":"address"},{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"removeLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amountToSpend","type":"uint256"}],"name":"sellRootKit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pumper","type":"address"},{"internalType":"bool","name":"infinite","type":"bool"}],"name":"setInfinitePumper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sweepTheFloor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"kethAmount","type":"uint256"}],"name":"unwrapKeth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract KETH","name":"_keth","type":"address"}],"name":"updateKethLOL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"wethAmount","type":"uint256"}],"name":"wrapToKeth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"}],"name":"zapKethToWeth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"}],"name":"zapWethToKeth","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
610100604052336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200005257600080fd5b5060405162003b3e38038062003b3e833981810160405260a08110156200007857600080fd5b8101908080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291905050508473ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250508273ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1660601b8152505081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008573ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015620001a957600080fd5b505afa158015620001be573d6000803e3d6000fd5b505050506040513d6020811015620001d557600080fd5b810190808051906020019092919050505090508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508473ffffffffffffffffffffffffffffffffffffffff1660e08173ffffffffffffffffffffffffffffffffffffffff1660601b8152505081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508473ffffffffffffffffffffffffffffffffffffffff1663095ea7b3877fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156200032957600080fd5b505af11580156200033e573d6000803e3d6000fd5b505050506040513d60208110156200035557600080fd5b8101908080519060200190929190505050508373ffffffffffffffffffffffffffffffffffffffff1663095ea7b3877fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015620003f957600080fd5b505af11580156200040e573d6000803e3d6000fd5b505050506040513d60208110156200042557600080fd5b8101908080519060200190929190505050508073ffffffffffffffffffffffffffffffffffffffff1663e6a4390586866040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015620004bd57600080fd5b505afa158015620004d2573d6000803e3d6000fd5b505050506040513d6020811015620004e957600080fd5b8101908080519060200190929190505050600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3877fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015620005ee57600080fd5b505af115801562000603573d6000803e3d6000fd5b505050506040513d60208110156200061a57600080fd5b81019080805190602001909291905050505050505050505060805160601c60a05160601c60c05160601c60e05160601c61348e620006b0600039806106b652806111e9528061231752508061142252806126ba528061281252806128345280612ff352806130b15250806113c35250806112f25280611563528061267d52806127d55280612ad55280612ca2525061348e6000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c806383873130116100a2578063ae38306811610071578063ae383068146103f0578063b3d5a5591461041e578063bc4fec0f1461046c578063d5a1e02f1461049a578063f2fde38b146104c85761010b565b806383873130146103165780638da5cb5b1461032057806399bb2ff514610354578063a201ccf6146103a25761010b565b80634e71e0c8116100de5780634e71e0c81461022a57806355c311531461023457806356688700146102845780635999d566146102d25761010b565b8063027dc5ec1461011057806316114acd1461013e5780633f34b519146101825780634ac1d025146101d0575b600080fd5b61013c6004803603602081101561012657600080fd5b810190808035906020019092919050505061050c565b005b6101806004803603602081101561015457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610829565b005b6101ce6004803603604081101561019857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506109cb565b005b610212600480360360208110156101e657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c0e565b60405180821515815260200191505060405180910390f35b610232610c2e565b005b6102826004803603604081101561024a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050610d86565b005b6102d06004803603604081101561029a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610ea2565b005b610314600480360360208110156102e857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110e5565b005b61031e611635565b005b610328611813565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103a06004803603604081101561036a57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611837565b005b6103ee600480360360408110156103b857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611a86565b005b61041c6004803603602081101561040657600080fd5b8101908080359060200190929190505050611cca565b005b61046a6004803603604081101561043457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611e6f565b005b6104986004803603602081101561048257600080fd5b81019080803590602001909291905050506120b2565b005b6104c6600480360360208110156104b057600080fd5b81019080803590602001909291905050506123cf565b005b61050a600480360360208110156104de57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612574565b005b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806105af5750600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610621576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f596f75205769736821212100000000000000000000000000000000000000000081525060200191505060405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760016040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b15801561069957600080fd5b505af11580156106ad573d6000803e3d6000fd5b505050506106db7f000000000000000000000000000000000000000000000000000000000000000082612679565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd49756e826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561075257600080fd5b505af1158015610766573d6000803e3d6000fd5b50505050610796600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826127d3565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760006040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b15801561080e57600080fd5b505af1158015610822573d6000803e3d6000fd5b5050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4f776e6572206f6e6c790000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6108f3816129f8565b6108fc57600080fd5b6109c8338273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561096757600080fd5b505afa15801561097b573d6000803e3d6000fd5b505050506040513d602081101561099157600080fd5b81019080805190602001909291905050508373ffffffffffffffffffffffffffffffffffffffff16612a319092919063ffffffff16565b50565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760016040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b158015610a4357600080fd5b505af1158015610a57573d6000803e3d6000fd5b5050505060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610afe5750600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610b70576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f596f75205769736821212100000000000000000000000000000000000000000081525060200191505060405180910390fd5b610b7a8282612ad3565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760006040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b158015610bf257600080fd5b505af1158015610c06573d6000803e3d6000fd5b505050505050565b60086020528060005260406000206000915054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c8857600080fd5b6000600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e47576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4f776e6572206f6e6c790000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760016040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b158015610f1a57600080fd5b505af1158015610f2e573d6000803e3d6000fd5b5050505060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610fd55750600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611047576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f596f75205769736821212100000000000000000000000000000000000000000081525060200191505060405180910390fd5b61105182826127d3565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760006040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b1580156110c957600080fd5b505af11580156110dd573d6000803e3d6000fd5b505050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4f776e6572206f6e6c790000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663095ea7b3827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561129857600080fd5b505af11580156112ac573d6000803e3d6000fd5b505050506040513d60208110156112c257600080fd5b8101908080519060200190929190505050508073ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f00000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561138557600080fd5b505af1158015611399573d6000803e3d6000fd5b505050506040513d60208110156113af57600080fd5b8101908080519060200190929190505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e6a43905600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167f00000000000000000000000000000000000000000000000000000000000000006040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b1580156114a857600080fd5b505afa1580156114bc573d6000803e3d6000fd5b505050506040513d60208110156114d257600080fd5b8101908080519060200190929190505050600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f00000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156115f657600080fd5b505af115801561160a573d6000803e3d6000fd5b505050506040513d602081101561162057600080fd5b81019080805190602001909291905050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806116d85750600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61174a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f596f75205769736821212100000000000000000000000000000000000000000081525060200191505060405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b12a22a2306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1580156117d557600080fd5b505af11580156117e9573d6000803e3d6000fd5b505050506040513d60208110156117ff57600080fd5b810190808051906020019092919050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806118da5750600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61194c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f596f75205769736821212100000000000000000000000000000000000000000081525060200191505060405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760016040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b1580156119c457600080fd5b505af11580156119d8573d6000803e3d6000fd5b505050506119e68183612679565b91506119f28183612ad3565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760006040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b158015611a6a57600080fd5b505af1158015611a7e573d6000803e3d6000fd5b505050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611b295750600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611b9b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f596f75205769736821212100000000000000000000000000000000000000000081525060200191505060405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760016040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b158015611c1357600080fd5b505af1158015611c27573d6000803e3d6000fd5b50505050611c358282612679565b50600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760006040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b158015611cae57600080fd5b505af1158015611cc2573d6000803e3d6000fd5b505050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611d6d5750600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611ddf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f596f75205769736821212100000000000000000000000000000000000000000081525060200191505060405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd49756e826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611e5457600080fd5b505af1158015611e68573d6000803e3d6000fd5b5050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611f125750600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611f84576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f596f75205769736821212100000000000000000000000000000000000000000081525060200191505060405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760016040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b158015611ffc57600080fd5b505af1158015612010573d6000803e3d6000fd5b5050505061201e8282612ca0565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760006040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b15801561209657600080fd5b505af11580156120aa573d6000803e3d6000fd5b505050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806121555750600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6121c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f596f75205769736821212100000000000000000000000000000000000000000081525060200191505060405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760016040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b15801561223f57600080fd5b505af1158015612253573d6000803e3d6000fd5b50505050612283600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612679565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663315a095d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156122fa57600080fd5b505af115801561230e573d6000803e3d6000fd5b5050505061233c7f0000000000000000000000000000000000000000000000000000000000000000826127d3565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760006040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b1580156123b457600080fd5b505af11580156123c8573d6000803e3d6000fd5b5050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806124725750600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6124e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f596f75205769736821212100000000000000000000000000000000000000000081525060200191505060405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663315a095d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561255957600080fd5b505af115801561256d573d6000803e3d6000fd5b5050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4f776e6572206f6e6c790000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663baa2abde847f00000000000000000000000000000000000000000000000000000000000000008560008030426040518863ffffffff1660e01b8152600401808873ffffffffffffffffffffffffffffffffffffffff1681526020018773ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019750505050505050506040805180830381600087803b15801561278057600080fd5b505af1158015612794573d6000803e3d6000fd5b505050506040513d60408110156127aa57600080fd5b810190808051906020019092919080519060200190929190505050508092505081905092915050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e8e33700837f0000000000000000000000000000000000000000000000000000000000000000847f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156128b957600080fd5b505afa1580156128cd573d6000803e3d6000fd5b505050506040513d60208110156128e357600080fd5b810190808051906020019092919050505060008030426040518963ffffffff1660e01b8152600401808973ffffffffffffffffffffffffffffffffffffffff1681526020018873ffffffffffffffffffffffffffffffffffffffff1681526020018781526020018681526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200198505050505050505050606060405180830381600087803b1580156129a257600080fd5b505af11580156129b6573d6000803e3d6000fd5b505050506040513d60608110156129cc57600080fd5b810190808051906020019092919080519060200190929190805190602001909291905050505050505050565b60003073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614159050919050565b612ace8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612e6d565b505050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166338ed1739826000612b1b86612f5c565b30426040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015612b9d578082015181840152602081019050612b82565b505050509050019650505050505050600060405180830381600087803b158015612bc657600080fd5b505af1158015612bda573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052506020811015612c0457600080fd5b8101908080516040519392919084640100000000821115612c2457600080fd5b83820191506020820185811115612c3a57600080fd5b8251866020820283011164010000000082111715612c5757600080fd5b8083526020830192505050908051906020019060200280838360005b83811015612c8e578082015181840152602081019050612c73565b50505050905001604052505050505050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166338ed1739826000612ce886613062565b30426040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015612d6a578082015181840152602081019050612d4f565b505050509050019650505050505050600060405180830381600087803b158015612d9357600080fd5b505af1158015612da7573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052506020811015612dd157600080fd5b8101908080516040519392919084640100000000821115612df157600080fd5b83820191506020820185811115612e0757600080fd5b8251866020820283011164010000000082111715612e2457600080fd5b8083526020830192505050908051906020019060200280838360005b83811015612e5b578082015181840152602081019050612e40565b50505050905001604052505050505050565b6060612ecf826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166131689092919063ffffffff16565b9050600081511115612f5757808060200190516020811015612ef057600080fd5b8101908080519060200190929190505050612f56576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061342f602a913960400191505060405180910390fd5b5b505050565b606080600267ffffffffffffffff81118015612f7757600080fd5b50604051908082528060200260200182016040528015612fa65781602001602082028036833780820191505090505b5090508281600081518110612fb757fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f00000000000000000000000000000000000000000000000000000000000000008160018151811061301f57fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505080915050919050565b606080600267ffffffffffffffff8111801561307d57600080fd5b506040519080825280602002602001820160405280156130ac5781602001602082028036833780820191505090505b5090507f0000000000000000000000000000000000000000000000000000000000000000816000815181106130dd57fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050828160018151811061312557fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505080915050919050565b60606131778484600085613180565b90509392505050565b6060824710156131db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806134096026913960400191505060405180910390fd5b6131e485613329565b613256576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106132a65780518252602082019150602081019050602083039250613283565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613308576040519150601f19603f3d011682016040523d82523d6000602084013e61330d565b606091505b509150915061331d82828661333c565b92505050949350505050565b600080823b905060008111915050919050565b6060831561334c57829050613401565b60008351111561335f5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156133c65780820151818401526020810190506133ab565b50505050905090810190601f1680156133f35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220aa462a622a0d5be7245f1f38a68b6473de0e4f9ca31c10e34f9186a0e2c48bf364736f6c634300070400330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000cb5f72d37685c3d5ad0bb5f982443bc8fcdf570e000000000000000000000000909b24014c7304aa87ea2402b8f9ffdd2ef66ac8000000000000000000000000bced48fd991846e267b02fbc1b7afe2cc2e483d2
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061010b5760003560e01c806383873130116100a2578063ae38306811610071578063ae383068146103f0578063b3d5a5591461041e578063bc4fec0f1461046c578063d5a1e02f1461049a578063f2fde38b146104c85761010b565b806383873130146103165780638da5cb5b1461032057806399bb2ff514610354578063a201ccf6146103a25761010b565b80634e71e0c8116100de5780634e71e0c81461022a57806355c311531461023457806356688700146102845780635999d566146102d25761010b565b8063027dc5ec1461011057806316114acd1461013e5780633f34b519146101825780634ac1d025146101d0575b600080fd5b61013c6004803603602081101561012657600080fd5b810190808035906020019092919050505061050c565b005b6101806004803603602081101561015457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610829565b005b6101ce6004803603604081101561019857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506109cb565b005b610212600480360360208110156101e657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c0e565b60405180821515815260200191505060405180910390f35b610232610c2e565b005b6102826004803603604081101561024a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050610d86565b005b6102d06004803603604081101561029a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610ea2565b005b610314600480360360208110156102e857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110e5565b005b61031e611635565b005b610328611813565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103a06004803603604081101561036a57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611837565b005b6103ee600480360360408110156103b857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611a86565b005b61041c6004803603602081101561040657600080fd5b8101908080359060200190929190505050611cca565b005b61046a6004803603604081101561043457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611e6f565b005b6104986004803603602081101561048257600080fd5b81019080803590602001909291905050506120b2565b005b6104c6600480360360208110156104b057600080fd5b81019080803590602001909291905050506123cf565b005b61050a600480360360208110156104de57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612574565b005b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806105af5750600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610621576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f596f75205769736821212100000000000000000000000000000000000000000081525060200191505060405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760016040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b15801561069957600080fd5b505af11580156106ad573d6000803e3d6000fd5b505050506106db7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc282612679565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd49756e826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561075257600080fd5b505af1158015610766573d6000803e3d6000fd5b50505050610796600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826127d3565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760006040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b15801561080e57600080fd5b505af1158015610822573d6000803e3d6000fd5b5050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4f776e6572206f6e6c790000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6108f3816129f8565b6108fc57600080fd5b6109c8338273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561096757600080fd5b505afa15801561097b573d6000803e3d6000fd5b505050506040513d602081101561099157600080fd5b81019080805190602001909291905050508373ffffffffffffffffffffffffffffffffffffffff16612a319092919063ffffffff16565b50565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760016040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b158015610a4357600080fd5b505af1158015610a57573d6000803e3d6000fd5b5050505060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610afe5750600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610b70576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f596f75205769736821212100000000000000000000000000000000000000000081525060200191505060405180910390fd5b610b7a8282612ad3565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760006040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b158015610bf257600080fd5b505af1158015610c06573d6000803e3d6000fd5b505050505050565b60086020528060005260406000206000915054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c8857600080fd5b6000600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e47576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4f776e6572206f6e6c790000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760016040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b158015610f1a57600080fd5b505af1158015610f2e573d6000803e3d6000fd5b5050505060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610fd55750600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611047576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f596f75205769736821212100000000000000000000000000000000000000000081525060200191505060405180910390fd5b61105182826127d3565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760006040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b1580156110c957600080fd5b505af11580156110dd573d6000803e3d6000fd5b505050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4f776e6572206f6e6c790000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1663095ea7b3827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561129857600080fd5b505af11580156112ac573d6000803e3d6000fd5b505050506040513d60208110156112c257600080fd5b8101908080519060200190929190505050508073ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561138557600080fd5b505af1158015611399573d6000803e3d6000fd5b505050506040513d60208110156113af57600080fd5b8101908080519060200190929190505050507f0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f73ffffffffffffffffffffffffffffffffffffffff1663e6a43905600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000cb5f72d37685c3d5ad0bb5f982443bc8fcdf570e6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b1580156114a857600080fd5b505afa1580156114bc573d6000803e3d6000fd5b505050506040513d60208110156114d257600080fd5b8101908080519060200190929190505050600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156115f657600080fd5b505af115801561160a573d6000803e3d6000fd5b505050506040513d602081101561162057600080fd5b81019080805190602001909291905050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806116d85750600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61174a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f596f75205769736821212100000000000000000000000000000000000000000081525060200191505060405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b12a22a2306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1580156117d557600080fd5b505af11580156117e9573d6000803e3d6000fd5b505050506040513d60208110156117ff57600080fd5b810190808051906020019092919050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806118da5750600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b61194c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f596f75205769736821212100000000000000000000000000000000000000000081525060200191505060405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760016040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b1580156119c457600080fd5b505af11580156119d8573d6000803e3d6000fd5b505050506119e68183612679565b91506119f28183612ad3565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760006040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b158015611a6a57600080fd5b505af1158015611a7e573d6000803e3d6000fd5b505050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611b295750600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611b9b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f596f75205769736821212100000000000000000000000000000000000000000081525060200191505060405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760016040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b158015611c1357600080fd5b505af1158015611c27573d6000803e3d6000fd5b50505050611c358282612679565b50600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760006040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b158015611cae57600080fd5b505af1158015611cc2573d6000803e3d6000fd5b505050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611d6d5750600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611ddf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f596f75205769736821212100000000000000000000000000000000000000000081525060200191505060405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd49756e826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611e5457600080fd5b505af1158015611e68573d6000803e3d6000fd5b5050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611f125750600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611f84576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f596f75205769736821212100000000000000000000000000000000000000000081525060200191505060405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760016040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b158015611ffc57600080fd5b505af1158015612010573d6000803e3d6000fd5b5050505061201e8282612ca0565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760006040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b15801561209657600080fd5b505af11580156120aa573d6000803e3d6000fd5b505050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806121555750600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6121c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f596f75205769736821212100000000000000000000000000000000000000000081525060200191505060405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760016040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b15801561223f57600080fd5b505af1158015612253573d6000803e3d6000fd5b50505050612283600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612679565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663315a095d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156122fa57600080fd5b505af115801561230e573d6000803e3d6000fd5b5050505061233c7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2826127d3565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638327eb8760006040518263ffffffff1660e01b8152600401808215158152602001915050600060405180830381600087803b1580156123b457600080fd5b505af11580156123c8573d6000803e3d6000fd5b5050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806124725750600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6124e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f596f75205769736821212100000000000000000000000000000000000000000081525060200191505060405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663315a095d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561255957600080fd5b505af115801561256d573d6000803e3d6000fd5b5050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4f776e6572206f6e6c790000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663baa2abde847f000000000000000000000000cb5f72d37685c3d5ad0bb5f982443bc8fcdf570e8560008030426040518863ffffffff1660e01b8152600401808873ffffffffffffffffffffffffffffffffffffffff1681526020018773ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019750505050505050506040805180830381600087803b15801561278057600080fd5b505af1158015612794573d6000803e3d6000fd5b505050506040513d60408110156127aa57600080fd5b810190808051906020019092919080519060200190929190505050508092505081905092915050565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663e8e33700837f000000000000000000000000cb5f72d37685c3d5ad0bb5f982443bc8fcdf570e847f000000000000000000000000cb5f72d37685c3d5ad0bb5f982443bc8fcdf570e73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156128b957600080fd5b505afa1580156128cd573d6000803e3d6000fd5b505050506040513d60208110156128e357600080fd5b810190808051906020019092919050505060008030426040518963ffffffff1660e01b8152600401808973ffffffffffffffffffffffffffffffffffffffff1681526020018873ffffffffffffffffffffffffffffffffffffffff1681526020018781526020018681526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200198505050505050505050606060405180830381600087803b1580156129a257600080fd5b505af11580156129b6573d6000803e3d6000fd5b505050506040513d60608110156129cc57600080fd5b810190808051906020019092919080519060200190929190805190602001909291905050505050505050565b60003073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614159050919050565b612ace8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612e6d565b505050565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff166338ed1739826000612b1b86612f5c565b30426040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015612b9d578082015181840152602081019050612b82565b505050509050019650505050505050600060405180830381600087803b158015612bc657600080fd5b505af1158015612bda573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052506020811015612c0457600080fd5b8101908080516040519392919084640100000000821115612c2457600080fd5b83820191506020820185811115612c3a57600080fd5b8251866020820283011164010000000082111715612c5757600080fd5b8083526020830192505050908051906020019060200280838360005b83811015612c8e578082015181840152602081019050612c73565b50505050905001604052505050505050565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff166338ed1739826000612ce886613062565b30426040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015612d6a578082015181840152602081019050612d4f565b505050509050019650505050505050600060405180830381600087803b158015612d9357600080fd5b505af1158015612da7573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052506020811015612dd157600080fd5b8101908080516040519392919084640100000000821115612df157600080fd5b83820191506020820185811115612e0757600080fd5b8251866020820283011164010000000082111715612e2457600080fd5b8083526020830192505050908051906020019060200280838360005b83811015612e5b578082015181840152602081019050612e40565b50505050905001604052505050505050565b6060612ecf826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166131689092919063ffffffff16565b9050600081511115612f5757808060200190516020811015612ef057600080fd5b8101908080519060200190929190505050612f56576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061342f602a913960400191505060405180910390fd5b5b505050565b606080600267ffffffffffffffff81118015612f7757600080fd5b50604051908082528060200260200182016040528015612fa65781602001602082028036833780820191505090505b5090508281600081518110612fb757fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f000000000000000000000000cb5f72d37685c3d5ad0bb5f982443bc8fcdf570e8160018151811061301f57fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505080915050919050565b606080600267ffffffffffffffff8111801561307d57600080fd5b506040519080825280602002602001820160405280156130ac5781602001602082028036833780820191505090505b5090507f000000000000000000000000cb5f72d37685c3d5ad0bb5f982443bc8fcdf570e816000815181106130dd57fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050828160018151811061312557fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505080915050919050565b60606131778484600085613180565b90509392505050565b6060824710156131db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806134096026913960400191505060405180910390fd5b6131e485613329565b613256576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106132a65780518252602082019150602081019050602083039250613283565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613308576040519150601f19603f3d011682016040523d82523d6000602084013e61330d565b606091505b509150915061331d82828661333c565b92505050949350505050565b600080823b905060008111915050919050565b6060831561334c57829050613401565b60008351111561335f5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156133c65780820151818401526020810190506133ab565b50505050905090810190601f1680156133f35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220aa462a622a0d5be7245f1f38a68b6473de0e4f9ca31c10e34f9186a0e2c48bf364736f6c63430007040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000cb5f72d37685c3d5ad0bb5f982443bc8fcdf570e000000000000000000000000909b24014c7304aa87ea2402b8f9ffdd2ef66ac8000000000000000000000000bced48fd991846e267b02fbc1b7afe2cc2e483d2
-----Decoded View---------------
Arg [0] : _uniswapV2Router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : _weth (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [2] : _rootKit (address): 0xCb5f72d37685C3D5aD0bB5F982443BC8FcdF570E
Arg [3] : _calculator (address): 0x909B24014C7304aA87eA2402B8f9ffDD2EF66ac8
Arg [4] : _gate (address): 0xBcEd48FD991846E267B02FBC1b7aFE2cc2E483D2
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [2] : 000000000000000000000000cb5f72d37685c3d5ad0bb5f982443bc8fcdf570e
Arg [3] : 000000000000000000000000909b24014c7304aa87ea2402b8f9ffdd2ef66ac8
Arg [4] : 000000000000000000000000bced48fd991846e267b02fbc1b7afe2cc2e483d2
Deployed Bytecode Sourcemap
519:6640:21:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3875:368;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;427:196:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;5229:283:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1392:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;652:222:20;;;:::i;:::-;;2630:130:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4644:286;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2202:352;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3222:176;;;:::i;:::-;;329:42:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2841:315:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4936:287;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4249:191;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;5518:285;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3452:369;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4446:192;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;524:120:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3875:368:21;3967:5;;;;;;;;;;3953:19;;:10;:19;;;:50;;;;3976:15;:27;3992:10;3976:27;;;;;;;;;;;;;;;;;;;;;;;;;3953:50;3944:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4030:4;;;;;;;;;;;:20;;;4051:4;4030:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4079:35;4097:4;4104:9;4079;:35::i;:::-;4067:47;;4125:4;;;;;;;;;;;:18;;;4144:9;4125:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4165:32;4180:4;;;;;;;;;;;4187:9;4165:6;:32::i;:::-;4208:4;;;;;;;;;;;:20;;;4229:5;4208:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3875:368;:::o;427:196:27:-;476:5:20;;;;;;;;;;462:19;;:10;:19;;;453:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;518:23:27::1;535:5;518:16;:23::i;:::-;509:33;;;::::0;::::1;;553:62;572:10;584:5;:15;;;608:4;584:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;553:5;:18;;;;:62;;;;;:::i;:::-;427:196:::0;:::o;5229:283:21:-;5314:4;;;;;;;;;;;:20;;;5335:4;5314:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5374:5;;;;;;;;;;5360:19;;:10;:19;;;:50;;;;5383:15;:27;5399:10;5383:27;;;;;;;;;;;;;;;;;;;;;;;;;5360:50;5351:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5437:29;5445:5;5452:13;5437:7;:29::i;:::-;5477:4;;;;;;;;;;;:20;;;5498:5;5477:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5229:283;;:::o;1392:48::-;;;;;;;;;;;;;;;;;;;;;;:::o;652:222:20:-;735:10;719:26;;:12;;;;;;;;;;;:26;;;710:36;;;;;;780:1;757:12;;:25;;;;;;;;;;;;;;;;;;826:10;798:39;;819:5;;;;;;;;;;798:39;;;;;;;;;;;;856:10;848:5;;:18;;;;;;;;;;;;;;;;;;652:222::o;2630:130:21:-;476:5:20;;;;;;;;;;462:19;;:10;:19;;;453:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2744:8:21::1;2718:15;:23;2734:6;2718:23;;;;;;;;;;;;;;;;:34;;;;;;;;;;;;;;;;;;2630:130:::0;;:::o;4644:286::-;4732:4;;;;;;;;;;;:20;;;4753:4;4732:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4792:5;;;;;;;;;;4778:19;;:10;:19;;;:50;;;;4801:15;:27;4817:10;4801:27;;;;;;;;;;;;;;;;;;;;;;;;;4778:50;4769:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4855:29;4862:10;4874:9;4855:6;:29::i;:::-;4895:4;;;;;;;;;;;:20;;;4916:5;4895:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4644:286;;:::o;2202:352::-;476:5:20;;;;;;;;;;462:19;;:10;:19;;;453:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2273:5:21::1;2266:4;;:12;;;;;;;;;;;;;;;;;;2289:4;:12;;;2310:5;2326:2;2289:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;2341:5;:13;;;2363:15;2389:2;2341:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;2422:16;:24;;;2455:4;;;;;;;;;;;2470:7;2422:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;2404:8;;:76;;;;;;;;;;;;;;;;;;2491:8;;;;;;;;;;;:16;;;2516:15;2542:2;2491:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;2202:352:::0;:::o;3222:176::-;3297:5;;;;;;;;;;3283:19;;:10;:19;;;:50;;;;3306:15;:27;3322:10;3306:27;;;;;;;;;;;;;;;;;;;;;;;;;3283:50;3274:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3360:4;;;;;;;;;;;:15;;;3384:4;3360:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3222:176::o;329:42:20:-;;;;;;;;;;;;:::o;2841:315:21:-;2944:5;;;;;;;;;;2930:19;;:10;:19;;;:50;;;;2953:15;:27;2969:10;2953:27;;;;;;;;;;;;;;;;;;;;;;;;;2930:50;2921:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3007:4;;;;;;;;;;;:20;;;3028:4;3007:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3053:24;3063:5;3070:6;3053:9;:24::i;:::-;3044:33;;3088:22;3096:5;3103:6;3088:7;:22::i;:::-;3121:4;;;;;;;;;;;:20;;;3142:5;3121:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2841:315;;:::o;4936:287::-;5048:5;;;;;;;;;;5034:19;;:10;:19;;;:50;;;;5057:15;:27;5073:10;5057:27;;;;;;;;;;;;;;;;;;;;;;;;;5034:50;5025:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5111:4;;;;;;;;;;;:20;;;5132:4;5111:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5148:29;5158:10;5170:6;5148:9;:29::i;:::-;;5188:4;;;;;;;;;;;:20;;;5209:5;5188:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4936:287;;:::o;4249:191::-;4339:5;;;;;;;;;;4325:19;;:10;:19;;;:50;;;;4348:15;:27;4364:10;4348:27;;;;;;;;;;;;;;;;;;;;;;;;;4325:50;4316:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4402:4;;;;;;;;;;;:18;;;4421:10;4402:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4249:191;:::o;5518:285::-;5627:5;;;;;;;;;;5613:19;;:10;:19;;;:50;;;;5636:15;:27;5652:10;5636:27;;;;;;;;;;;;;;;;;;;;;;;;;5613:50;5604:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5690:4;;;;;;;;;;;:20;;;5711:4;5690:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5727:30;5736:5;5743:13;5727:8;:30::i;:::-;5768:4;;;;;;;;;;;:20;;;5789:5;5768:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5518:285;;:::o;3452:369::-;3544:5;;;;;;;;;;3530:19;;:10;:19;;;:50;;;;3553:15;:27;3569:10;3553:27;;;;;;;;;;;;;;;;;;;;;;;;;3530:50;3521:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3607:4;;;;;;;;;;;:20;;;3628:4;3607:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3656:35;3674:4;;;;;;;;;;;3681:9;3656;:35::i;:::-;3644:47;;3702:4;;;;;;;;;;;:19;;;3722:9;3702:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3743:32;3758:4;3765:9;3743:6;:32::i;:::-;3786:4;;;;;;;;;;;:20;;;3807:5;3786:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3452:369;:::o;4446:192::-;4536:5;;;;;;;;;;4522:19;;:10;:19;;;:50;;;;4545:15;:27;4561:10;4545:27;;;;;;;;;;;;;;;;;;;;;;;;;4522:50;4513:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4599:4;;;;;;;;;;;:19;;;4619:10;4599:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4446:192;:::o;524:120:20:-;476:5;;;;;;;;;;462:19;;:10;:19;;;453:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;628:8:::1;613:12;;:23;;;;;;;;;;;;;;;;;;524:120:::0;:::o;6048:253:21:-;6121:7;6153:15;:31;;;6193:10;6214:7;6224:6;6232:1;6235;6246:4;6253:15;6153:116;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6141:128;;;;;6287:6;6280:13;;6048:253;;;;:::o;5809:233::-;5884:15;:28;;;5921:10;5942:7;5952:9;5963:7;:17;;;5989:4;5963:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5997:1;6000;6011:4;6018:15;5884:150;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5809:233;;:::o;631:142:27:-;702:4;759;733:31;;741:5;733:31;;;;726:38;;631:142;;;:::o;828:177:25:-;911:86;931:5;961:23;;;986:2;990:5;938:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;911:19;:86::i;:::-;828:177;;;:::o;6307:189:21:-;6382:15;:40;;;6423:13;6438:1;6441:14;6449:5;6441:7;:14::i;:::-;6465:4;6472:15;6382:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6307:189;;:::o;6502:191::-;6578:15;:40;;;6619:13;6634:1;6637:15;6646:5;6637:8;:15::i;:::-;6662:4;6669:15;6578:107;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6502:191;;:::o;2071:761:25:-;2495:23;2521:69;2549:4;2521:69;;;;;;;;;;;;;;;;;2529:5;2521:27;;;;:69;;;;;:::i;:::-;2495:95;;2625:1;2605:10;:17;:21;2601:224;;;2747:10;2736:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2728:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2601:224;2071:761;;;:::o;6699:225:21:-;6753:16;6782:21;6820:1;6806:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6782:40;;6851:5;6833:4;6838:1;6833:7;;;;;;;;;;;;;:24;;;;;;;;;;;6886:7;6868:4;6873:1;6868:7;;;;;;;;;;;;;:26;;;;;;;;;;;6912:4;6905:11;;;6699:225;;;:::o;6930:226::-;6985:16;7014:21;7052:1;7038:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7014:40;;7083:7;7065:4;7070:1;7065:7;;;;;;;;;;;;;:26;;;;;;;;;;;7120:5;7102:4;7107:1;7102:7;;;;;;;;;;;;;:24;;;;;;;;;;;7144:4;7137:11;;;6930:226;;;:::o;3670:195:0:-;3773:12;3805:52;3827:6;3835:4;3841:1;3844:12;3805:21;:52::i;:::-;3798:59;;3670:195;;;;;:::o;4722:530::-;4849:12;4907:5;4882:21;:30;;4874:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4974:18;4985:6;4974:10;:18::i;:::-;4966:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5100:12;5114:23;5141:6;:11;;5161:5;5169:4;5141:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5099:75;;;;5192:52;5210:7;5219:10;5231:12;5192:17;:52::i;:::-;5185:59;;;;4722:530;;;;;;:::o;752:422::-;812:4;1020:12;1131:7;1119:20;1111:28;;1165:1;1158:4;:8;1151:15;;;752:422;;;:::o;7262:742::-;7377:12;7406:7;7402:595;;;7437:10;7430:17;;;;7402:595;7571:1;7551:10;:17;:21;7547:439;;;7814:10;7808:17;7875:15;7862:10;7858:2;7854:19;7847:44;7762:148;7957:12;7950:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7262:742;;;;;;:::o
Swarm Source
ipfs://aa462a622a0d5be7245f1f38a68b6473de0e4f9ca31c10e34f9186a0e2c48bf3
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.