More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 269 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Exit Pool | 20680653 | 129 days ago | IN | 0 ETH | 0.00081655 | ||||
Set Swap Enabled | 20680648 | 129 days ago | IN | 0 ETH | 0.00013809 | ||||
Set Swap Enabled | 20666348 | 131 days ago | IN | 0 ETH | 0.00011941 | ||||
Create LBP | 20666296 | 131 days ago | IN | 1 ETH | 0.01517909 | ||||
Create LBP | 20363059 | 173 days ago | IN | 0.0001 ETH | 0.04672734 | ||||
Exit Pool | 20271351 | 186 days ago | IN | 0 ETH | 0.00137713 | ||||
Set Swap Enabled | 20271348 | 186 days ago | IN | 0 ETH | 0.00017254 | ||||
Set Swap Enabled | 20256298 | 188 days ago | IN | 0 ETH | 0.00013353 | ||||
Create LBP | 20256295 | 188 days ago | IN | 0.2 ETH | 0.01685684 | ||||
Set Swap Enabled | 20237924 | 191 days ago | IN | 0 ETH | 0.00147307 | ||||
Create LBP | 20231782 | 192 days ago | IN | 0.00000026 ETH | 0.0198752 | ||||
Exit Pool | 20225695 | 193 days ago | IN | 0 ETH | 0.00194516 | ||||
Create LBP | 20225686 | 193 days ago | IN | 1 ETH | 0.03703131 | ||||
Exit Pool | 19525912 | 291 days ago | IN | 0 ETH | 0.01675738 | ||||
Set Swap Enabled | 19525909 | 291 days ago | IN | 0 ETH | 0.00223096 | ||||
Set Swap Enabled | 19497512 | 295 days ago | IN | 0 ETH | 0.00076324 | ||||
Create LBP | 19497511 | 295 days ago | IN | 0.1 ETH | 0.09041392 | ||||
Exit Pool | 19261937 | 328 days ago | IN | 0 ETH | 0.01238079 | ||||
Set Swap Enabled | 19261936 | 328 days ago | IN | 0 ETH | 0.00163644 | ||||
Set Swap Enabled | 19240558 | 331 days ago | IN | 0 ETH | 0.00109969 | ||||
Create LBP | 19240546 | 331 days ago | IN | 1.5 ETH | 0.14391288 | ||||
Set Swap Enabled | 19216470 | 334 days ago | IN | 0 ETH | 0.0016479 | ||||
Exit Pool | 19212180 | 335 days ago | IN | 0 ETH | 0.00578973 | ||||
Exit Pool | 19176100 | 340 days ago | IN | 0 ETH | 0.00718277 | ||||
Set Swap Enabled | 19176099 | 340 days ago | IN | 0 ETH | 0.0009676 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
20666296 | 131 days ago | 1 ETH | ||||
20363059 | 173 days ago | 0.0001 ETH | ||||
20256295 | 188 days ago | 0.2 ETH | ||||
20231782 | 192 days ago | 0.00000026 ETH | ||||
20225686 | 193 days ago | 1 ETH | ||||
19497511 | 295 days ago | 0.1 ETH | ||||
19240546 | 331 days ago | 1.5 ETH | ||||
19085019 | 352 days ago | 2.5 ETH | ||||
18999132 | 364 days ago | 2 ETH | ||||
18950054 | 371 days ago | 4 ETH | ||||
18866681 | 383 days ago | 0.1 ETH | ||||
18823183 | 389 days ago | 0.5 ETH | ||||
18777745 | 396 days ago | 3 ETH | ||||
18738804 | 401 days ago | 0.8 ETH | ||||
18716952 | 404 days ago | 1 ETH | ||||
18712782 | 405 days ago | 0.1 ETH | ||||
18705237 | 406 days ago | 0.1 ETH | ||||
18641460 | 415 days ago | 0.25 ETH | ||||
18590546 | 422 days ago | 0.3 ETH | ||||
18582918 | 423 days ago | 0.1 ETH | ||||
18563151 | 426 days ago | 0.5 ETH | ||||
18545987 | 428 days ago | 0.8 ETH | ||||
18534616 | 430 days ago | 0.1 ETH | ||||
18518742 | 432 days ago | 0.5 ETH | ||||
18448947 | 442 days ago | 0.5 ETH |
Loading...
Loading
Contract Name:
Launchpad
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "./interfaces/IWETH.sol"; import "./interfaces/IERC20.sol"; import "./interfaces/IRewards.sol"; import "./libraries/TransferHelper.sol"; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import { EnumerableSet } from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; interface IAsset { // solhint-disable-previous-line no-empty-blocks } enum SwapKind { GIVEN_IN, GIVEN_OUT } struct SingleSwap { bytes32 poolId; SwapKind kind; IAsset assetIn; IAsset assetOut; uint256 amount; bytes userData; } struct FundManagement { address sender; bool fromInternalBalance; address payable recipient; bool toInternalBalance; } interface LBPFactory { function create( string memory name, string memory symbol, address[] memory tokens, uint256[] memory weights, uint256 swapFeePercentage, address owner, bool swapEnabledOnStart ) external returns (address); } interface Vault { struct JoinPoolRequest { address[] assets; uint256[] maxAmountsIn; bytes userData; bool fromInternalBalance; } struct ExitPoolRequest { address[] assets; uint256[] minAmountsOut; bytes userData; bool toInternalBalance; } function joinPool( bytes32 poolId, address sender, address recipient, JoinPoolRequest memory request ) external; function exitPool( bytes32 poolId, address sender, address recipient, ExitPoolRequest memory request ) external; function getPoolTokens(bytes32 poolId) external view returns ( address[] memory tokens, uint256[] memory balances, uint256 lastChangeBlock ); function swap( SingleSwap memory singleSwap, FundManagement memory funds, uint256 limit, uint256 deadline ) external payable returns (uint256 amountCalculated); } interface LBP { function updateWeightsGradually( uint256 startTime, uint256 endTime, uint256[] memory endWeights ) external; function setSwapEnabled(bool swapEnabled) external; function getPoolId() external returns (bytes32 poolID); } /// @title Launchpad /// @notice This contract allows for simplified creation and management of Balancer LBPs /// It currently supports: /// - LBPs with 2 tokens /// - Withdrawl of the full liquidity at once /// - Distributing fees to single and double sided staking contracts contract Launchpad is Ownable { using EnumerableSet for EnumerableSet.AddressSet; struct PoolData { address owner; bool isCorrectOrder; uint256 fundTokenInputAmount; string ipfsDetails; } mapping(address => PoolData) private _poolData; EnumerableSet.AddressSet private _pools; mapping(address => uint256) private _feeRecipientsBPS; IWETH public WETH; address public constant VAULT = address(0xBA12222222228d8Ba445958a75a0704d566BF2C8); uint256 private constant _TEN_THOUSAND_BPS = 10_000; address public immutable LBPFactoryAddress; uint256 public immutable platformAccessFeeBPS; address public immutable lpStakingAddress; address public immutable stakingAddress; constructor( uint256 _platformAccessFeeBPS, address _LBPFactoryAddress, address _stakingAddress, address _lpStakingAddress, address _wethAddress ) { stakingAddress = _stakingAddress; lpStakingAddress = _lpStakingAddress; LBPFactoryAddress = _LBPFactoryAddress; platformAccessFeeBPS = _platformAccessFeeBPS; _feeRecipientsBPS[owner()] = _TEN_THOUSAND_BPS; WETH = IWETH(_wethAddress); } // Events event PoolCreated( address indexed pool, bytes32 poolId, string name, string symbol, address[] tokens, uint256[] weights, uint256 swapFeePercentage, address owner, bool swapEnabledOnStart ); event JoinedPool(address indexed pool, address[] tokens, uint256[] amounts, bytes userData); event GradualWeightUpdateScheduled(address indexed pool, uint256 startTime, uint256 endTime, uint256[] endWeights); event SwapEnabledSet(address indexed pool, bool swapEnabled); event IpfsUpdated(address indexed pool, string hash); event TransferredPoolOwnership(address indexed pool, address previousOwner, address newOwner); event TransferredFee(address indexed pool, address token, address feeRecipient, uint256 feeAmount); event TransferredToken(address indexed pool, address token, address to, uint256 amount); event RecipientsUpdated(address[] recipients, uint256[] recipientShareBPS); event Skimmed(address token, address to, uint256 balance); // Pool access control modifier onlyPoolOwner(address pool) { require(msg.sender == _poolData[pool].owner, "!owner"); _; } /** * @dev Checks if the pool address was created in this smart contract */ function isPool(address pool) external view returns (bool valid) { return _pools.contains(pool); } /** * @dev Returns the total amount of pools created in the contract */ function poolCount() external view returns (uint256 count) { return _pools.length(); } /** * @dev Returns a pool for a specific index */ function getPoolAt(uint256 index) external view returns (address pool) { return _pools.at(index); } /** * @dev Returns all the pool values */ function getPools() external view returns (address[] memory pools) { return _pools.values(); } /** * @dev Returns the pool's data saved during creation */ function getPoolData(address pool) external view returns (PoolData memory poolData) { return _poolData[pool]; } /** * @dev Returns the total amount of LBP Tokens for a pool. These tokens are burned when exit */ function getBPTTokenBalance(address pool) external view returns (uint256 bptBalance) { return IERC20(pool).balanceOf(address(this)); } struct PoolConfig { string name; string symbol; address[] tokens; uint256[] amounts; uint256[] weights; uint256[] endWeights; bool isCorrectOrder; uint256 swapFeePercentage; uint256 startTime; uint256 endTime; string ipfsDetails; } function fundTokens() public view returns (address[] memory) { return IRewards(stakingAddress).getRewardTokens(); } function getFundTokensAndSymbols() public view returns (string[] memory, address[] memory) { address[] memory addresses = fundTokens(); string[] memory symbols = new string[](addresses.length); for (uint16 i=0; i < addresses.length; i++) symbols[i] = IERC20(addresses[i]).symbol(); return (symbols, addresses); } /** * @dev Creates a pool and return the contract address of the new pool */ function createLBP(PoolConfig memory poolConfig) external payable returns (address) { // 1: deposit tokens and approve vault require(poolConfig.tokens.length == 2, "F9 LBPs must have exactly two tokens"); require(poolConfig.tokens[0] != poolConfig.tokens[1], "LBP tokens must be unique"); require(poolConfig.startTime > block.timestamp, "LBP start time must be in the future"); require(poolConfig.endTime > poolConfig.startTime, "LBP end time must be greater than start time"); uint8 fundTokenIndex = poolConfig.isCorrectOrder ? 0 : 1; uint8 mainTokenIndex = poolConfig.isCorrectOrder ? 1 : 0; TransferHelper.safeTransferFrom(poolConfig.tokens[mainTokenIndex], msg.sender, address(this), poolConfig.amounts[mainTokenIndex]); if (poolConfig.tokens[fundTokenIndex] == address(0)) { require(poolConfig.amounts[fundTokenIndex] == msg.value, "Incorrect fund token amount"); poolConfig.tokens[fundTokenIndex] = address(WETH); WETH.deposit{value: msg.value}(); } else { bool isValidFundToken = false; address[] memory _fundTokens = fundTokens(); for (uint i=0; i < _fundTokens.length; i++) if (poolConfig.tokens[fundTokenIndex] == _fundTokens[i]) { isValidFundToken = true; break; } require(isValidFundToken, "fund token not approved"); TransferHelper.safeTransferFrom(poolConfig.tokens[fundTokenIndex], msg.sender, address(this), poolConfig.amounts[fundTokenIndex]); } TransferHelper.safeApprove(poolConfig.tokens[0], VAULT, poolConfig.amounts[0]); TransferHelper.safeApprove(poolConfig.tokens[1], VAULT, poolConfig.amounts[1]); // 2: pool creation address pool = LBPFactory(LBPFactoryAddress).create( poolConfig.name, poolConfig.symbol, poolConfig.tokens, poolConfig.weights, poolConfig.swapFeePercentage, address(this), // owner set to this proxy false // swaps disabled on start ); bytes32 poolId = LBP(pool).getPoolId(); emit PoolCreated( pool, poolId, poolConfig.name, poolConfig.symbol, poolConfig.tokens, poolConfig.weights, poolConfig.swapFeePercentage, address(this), false ); // 3: store pool data _poolData[pool] = PoolData( msg.sender, poolConfig.isCorrectOrder, poolConfig.amounts[poolConfig.isCorrectOrder ? 0 : 1], poolConfig.ipfsDetails ); require(_pools.add(pool), "exists already"); bytes memory userData = abi.encode(0, poolConfig.amounts); // JOIN_KIND_INIT = 0 // 4: deposit tokens into pool Vault(VAULT).joinPool( poolId, address(this), // sender address(this), // recipient Vault.JoinPoolRequest( poolConfig.tokens, poolConfig.amounts, userData, false) ); emit JoinedPool(pool, poolConfig.tokens, poolConfig.amounts, userData); // 5: configure weights LBP(pool).updateWeightsGradually(poolConfig.startTime, poolConfig.endTime, poolConfig.endWeights); emit GradualWeightUpdateScheduled(pool, poolConfig.startTime, poolConfig.endTime, poolConfig.endWeights); return pool; } /** * @dev Enable or disables swaps. * Note: LBPs are created with trading disabled by default. */ function setSwapEnabled(address pool, bool swapEnabled) external onlyPoolOwner(pool) { LBP(pool).setSwapEnabled(swapEnabled); emit SwapEnabledSet(pool, swapEnabled); } /** * @dev Enable or disables swaps. * Note: LBPs are created with trading disabled by default. */ function updateIPFSDetails(address pool, string memory hash) external onlyPoolOwner(pool) { _poolData[pool].ipfsDetails = hash; emit IpfsUpdated(pool, hash); } /** * @dev Transfer ownership of the pool to a new owner */ function transferPoolOwnership(address pool, address newOwner) external onlyPoolOwner(pool) { address previousOwner = _poolData[pool].owner; _poolData[pool].owner = newOwner; emit TransferredPoolOwnership(pool, previousOwner, newOwner); } enum ExitKind { EXACT_BPT_IN_FOR_ONE_TOKEN_OUT, EXACT_BPT_IN_FOR_TOKENS_OUT, BPT_IN_FOR_EXACT_TOKENS_OUT } /** * @dev calculate the amount of BPToken to burn. * - if maxBPTTokenOut is 0, everything will be burned * - else it will burn only the amount passed */ function _calcBPTokenToBurn(address pool, uint256 maxBPTTokenOut) internal view returns(uint256) { uint256 bptBalance = IERC20(pool).balanceOf(address(this)); require(maxBPTTokenOut <= bptBalance, "Specifed BPT out amount out exceeds owner balance"); require(bptBalance > 0, "Pool owner BPT balance is less than zero"); return maxBPTTokenOut == 0 ? bptBalance : maxBPTTokenOut; } /** * @dev Exit a pool, burn the BPT token and transfer back the tokens. * - If maxBPTTokenOut is passed as 0, the function will use the total balance available for the BPT token. * - If maxBPTTokenOut is between 0 and the total of BPT available, that will be the amount used to burn. * maxBPTTokenOut must be greater than or equal to 0 * as false, and the fee will stay in the contract and later on distributed manualy to mitigate errors */ function exitPool(address pool, uint256 maxBPTTokenOut) external onlyPoolOwner(pool) { uint256[] memory minAmountsOut = new uint256[](2); minAmountsOut[0] = uint256(0); minAmountsOut[1] = uint256(0); // 1. Get pool data bytes32 poolId = LBP(pool).getPoolId(); (address[] memory poolTokens, uint256[] memory balances, ) = Vault(VAULT).getPoolTokens(poolId); require(poolTokens.length == minAmountsOut.length, "invalid input length"); PoolData memory poolData = _poolData[pool]; // 2. Specify the exact BPT amount to burn uint256 bptToBurn = _calcBPTokenToBurn(pool, maxBPTTokenOut); // 3. Exit pool and keep tokens in contract Vault(VAULT).exitPool( poolId, address(this), payable(address(this)), Vault.ExitPoolRequest( poolTokens, minAmountsOut, abi.encode(ExitKind.EXACT_BPT_IN_FOR_TOKENS_OUT, bptToBurn), false ) ); // 4. Get the amount of Fund token from the pool that was left behind after exit (dust) ( ,uint256[] memory balancesAfterExit, ) = Vault(VAULT).getPoolTokens(poolId); uint256 fundTokenIndex = poolData.isCorrectOrder ? 0 : 1; // 5. Distribute tokens and fees _distributeTokens( pool, poolTokens, poolData, balances[fundTokenIndex] - balancesAfterExit[fundTokenIndex] ); } /** * @dev Distributes the tokens to the owner and the fee to the fee recipients */ function _distributeTokens( address pool, address[] memory poolTokens, PoolData memory poolData, uint256 fundTokenFromPool) internal { address mainToken = poolTokens[poolData.isCorrectOrder ? 1 : 0]; address fundToken = poolTokens[poolData.isCorrectOrder ? 0 : 1]; uint256 mainTokenBalance = IERC20(mainToken).balanceOf(address(this)); uint256 remainingFundBalance = fundTokenFromPool; // if the amount of fund token increased during the LBP if (fundTokenFromPool > poolData.fundTokenInputAmount) { uint256 totalPlatformAccessFeeAmount = ((fundTokenFromPool - poolData.fundTokenInputAmount) * platformAccessFeeBPS) / _TEN_THOUSAND_BPS; // Fund amount after substracting the fee remainingFundBalance = fundTokenFromPool - totalPlatformAccessFeeAmount; _distributePlatformAccessFee(pool, fundToken, totalPlatformAccessFeeAmount); } // Transfer the balance of the main token _transferTokenToPoolOwner(pool, mainToken, mainTokenBalance); // Transfer the balanace of fund token excluding the platform access fee _transferTokenToPoolOwner(pool, fundToken, remainingFundBalance); } /** * @dev Transfer token to pool owner */ function _transferTokenToPoolOwner(address pool, address token, uint256 amount) private { TransferHelper.safeTransfer( token, msg.sender, amount ); emit TransferredToken(pool, token, msg.sender, amount); } /** * @dev Distribute fee between recipients */ function _distributePlatformAccessFee(address pool, address fundToken, uint256 totalFeeAmount) private { uint256 splitFee = totalFeeAmount / 2; IERC20(fundToken).approve(stakingAddress, splitFee); IERC20(fundToken).approve(lpStakingAddress,splitFee); IRewards(stakingAddress).addRewards(fundToken, splitFee); IRewards(lpStakingAddress).addRewards(fundToken, splitFee); emit TransferredFee(pool, fundToken, stakingAddress, splitFee); emit TransferredFee(pool, fundToken, lpStakingAddress, splitFee); } }
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity >=0.6.0; // helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false library TransferHelper { function safeApprove( address token, address to, uint256 value ) internal { // bytes4(keccak256(bytes('approve(address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value)); require( success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper::safeApprove: approve failed' ); } function safeTransfer( address token, address to, uint256 value ) internal { // bytes4(keccak256(bytes('transfer(address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value)); require( success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper::safeTransfer: transfer failed' ); } function safeTransferFrom( address token, address from, address to, uint256 value ) internal { // bytes4(keccak256(bytes('transferFrom(address,address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value)); require( success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper::transferFrom: transferFrom failed' ); } function safeTransferETH(address to, uint256 value) internal { (bool success, ) = to.call{value: value}(new bytes(0)); require(success, 'TransferHelper::safeTransferETH: ETH transfer failed'); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; interface IWETH { function deposit() external payable; function balanceOf(address addr) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; interface IRewards { function getRewardTokens() external view returns (address[] memory); function addRewards(address token, uint256 amount) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the symbol of the token */ function symbol() external view returns (string memory); /** * @dev Returns the amount of decimals of the token */ function decimals() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol) // This file was procedurally generated from scripts/generate/templates/EnumerableSet.js. pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. * * [WARNING] * ==== * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure * unusable. * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. * * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an * array of EnumerableSet. * ==== */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastValue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastValue; // Update the index for the moved value set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { bytes32[] memory store = _values(set._inner); bytes32[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values in the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "paris", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_platformAccessFeeBPS","type":"uint256"},{"internalType":"address","name":"_LBPFactoryAddress","type":"address"},{"internalType":"address","name":"_stakingAddress","type":"address"},{"internalType":"address","name":"_lpStakingAddress","type":"address"},{"internalType":"address","name":"_wethAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pool","type":"address"},{"indexed":false,"internalType":"uint256","name":"startTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endTime","type":"uint256"},{"indexed":false,"internalType":"uint256[]","name":"endWeights","type":"uint256[]"}],"name":"GradualWeightUpdateScheduled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pool","type":"address"},{"indexed":false,"internalType":"string","name":"hash","type":"string"}],"name":"IpfsUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pool","type":"address"},{"indexed":false,"internalType":"address[]","name":"tokens","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"indexed":false,"internalType":"bytes","name":"userData","type":"bytes"}],"name":"JoinedPool","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pool","type":"address"},{"indexed":false,"internalType":"bytes32","name":"poolId","type":"bytes32"},{"indexed":false,"internalType":"string","name":"name","type":"string"},{"indexed":false,"internalType":"string","name":"symbol","type":"string"},{"indexed":false,"internalType":"address[]","name":"tokens","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"weights","type":"uint256[]"},{"indexed":false,"internalType":"uint256","name":"swapFeePercentage","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"bool","name":"swapEnabledOnStart","type":"bool"}],"name":"PoolCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"recipients","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"recipientShareBPS","type":"uint256[]"}],"name":"RecipientsUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"balance","type":"uint256"}],"name":"Skimmed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pool","type":"address"},{"indexed":false,"internalType":"bool","name":"swapEnabled","type":"bool"}],"name":"SwapEnabledSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pool","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"feeRecipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"feeAmount","type":"uint256"}],"name":"TransferredFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pool","type":"address"},{"indexed":false,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"TransferredPoolOwnership","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pool","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TransferredToken","type":"event"},{"inputs":[],"name":"LBPFactoryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VAULT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"contract IWETH","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address[]","name":"tokens","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"uint256[]","name":"weights","type":"uint256[]"},{"internalType":"uint256[]","name":"endWeights","type":"uint256[]"},{"internalType":"bool","name":"isCorrectOrder","type":"bool"},{"internalType":"uint256","name":"swapFeePercentage","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"endTime","type":"uint256"},{"internalType":"string","name":"ipfsDetails","type":"string"}],"internalType":"struct Launchpad.PoolConfig","name":"poolConfig","type":"tuple"}],"name":"createLBP","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"},{"internalType":"uint256","name":"maxBPTTokenOut","type":"uint256"}],"name":"exitPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fundTokens","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"}],"name":"getBPTTokenBalance","outputs":[{"internalType":"uint256","name":"bptBalance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFundTokensAndSymbols","outputs":[{"internalType":"string[]","name":"","type":"string[]"},{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getPoolAt","outputs":[{"internalType":"address","name":"pool","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"}],"name":"getPoolData","outputs":[{"components":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"bool","name":"isCorrectOrder","type":"bool"},{"internalType":"uint256","name":"fundTokenInputAmount","type":"uint256"},{"internalType":"string","name":"ipfsDetails","type":"string"}],"internalType":"struct Launchpad.PoolData","name":"poolData","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPools","outputs":[{"internalType":"address[]","name":"pools","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"}],"name":"isPool","outputs":[{"internalType":"bool","name":"valid","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpStakingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"platformAccessFeeBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolCount","outputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"},{"internalType":"bool","name":"swapEnabled","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"},{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferPoolOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"},{"internalType":"string","name":"hash","type":"string"}],"name":"updateIPFSDetails","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101006040523480156200001257600080fd5b506040516200565f3803806200565f833981810160405281019062000038919062000337565b620000586200004c6200019d60201b60201c565b620001a560201b60201c565b8273ffffffffffffffffffffffffffffffffffffffff1660e08173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff16815250508373ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250508460a0818152505061271060046000620001136200026960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050620003bf565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080fd5b6000819050919050565b620002ac8162000297565b8114620002b857600080fd5b50565b600081519050620002cc81620002a1565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002ff82620002d2565b9050919050565b6200031181620002f2565b81146200031d57600080fd5b50565b600081519050620003318162000306565b92915050565b600080600080600060a0868803121562000356576200035562000292565b5b60006200036688828901620002bb565b9550506020620003798882890162000320565b94505060406200038c8882890162000320565b93505060606200039f8882890162000320565b9250506080620003b28882890162000320565b9150509295509295909350565b60805160a05160c05160e0516152276200043860003960008181611d77015281816120400152818161282e015281816129500152612aa301526000818161051d015281816128cd015281816129dd0152612b15015260008181610ec6015261230d01526000818161055e01526117a001526152276000f3fe6080604052600436106101345760003560e01c80638da5cb5b116100ab578063cac626bb1161006f578063cac626bb1461040b578063d7b4be2414610448578063ee9ee0e414610473578063f2fde38b1461049c578063f525cb68146104c5578063fcae08e1146104f057610134565b80638da5cb5b1461033057806396c442c31461035b57806399e6f54014610387578063ad5c4648146103b0578063badfca29146103db57610134565b806351d48cea116100fd57806351d48cea14610234578063564294f71461025d5780635b16ebb714610286578063673a2a1f146102c3578063715018a6146102ee57806375ac3cb01461030557610134565b8062897ad31461013957806305ea2183146101645780630e7d90aa146101a157806313d21cdf146101cc578063411557d114610209575b600080fd5b34801561014557600080fd5b5061014e61051b565b60405161015b9190612e73565b60405180910390f35b34801561017057600080fd5b5061018b60048036038101906101869190612ed8565b61053f565b6040516101989190612e73565b60405180910390f35b3480156101ad57600080fd5b506101b661055c565b6040516101c39190612e73565b60405180910390f35b3480156101d857600080fd5b506101f360048036038101906101ee9190612f31565b610580565b604051610200919061308a565b60405180910390f35b34801561021557600080fd5b5061021e6106e6565b60405161022b9190612e73565b60405180910390f35b34801561024057600080fd5b5061025b600480360381019061025691906130d8565b6106fe565b005b34801561026957600080fd5b50610284600480360381019061027f9190613118565b61088d565b005b34801561029257600080fd5b506102ad60048036038101906102a89190612f31565b610e82565b6040516102ba9190613167565b60405180910390f35b3480156102cf57600080fd5b506102d8610e9f565b6040516102e59190613231565b60405180910390f35b3480156102fa57600080fd5b50610303610eb0565b005b34801561031157600080fd5b5061031a610ec4565b6040516103279190613262565b60405180910390f35b34801561033c57600080fd5b50610345610ee8565b6040516103529190612e73565b60405180910390f35b34801561036757600080fd5b50610370610f11565b60405161037e92919061333f565b60405180910390f35b34801561039357600080fd5b506103ae60048036038101906103a991906134ab565b611057565b005b3480156103bc57600080fd5b506103c56111cb565b6040516103d29190613566565b60405180910390f35b6103f560048036038101906103f091906138e6565b6111f1565b6040516104029190612e73565b60405180910390f35b34801561041757600080fd5b50610432600480360381019061042d9190612f31565b611cf2565b60405161043f9190613262565b60405180910390f35b34801561045457600080fd5b5061045d611d75565b60405161046a9190612e73565b60405180910390f35b34801561047f57600080fd5b5061049a6004803603810190610495919061392f565b611d99565b005b3480156104a857600080fd5b506104c360048036038101906104be9190612f31565b611fa8565b005b3480156104d157600080fd5b506104da61202b565b6040516104e79190613262565b60405180910390f35b3480156104fc57600080fd5b5061050561203c565b6040516105129190613231565b60405180910390f35b7f000000000000000000000000000000000000000000000000000000000000000081565b60006105558260026120d790919063ffffffff16565b9050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b610588612df2565b600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460ff161515151581526020016001820154815260200160028201805461065d9061399e565b80601f01602080910402602001604051908101604052809291908181526020018280546106899061399e565b80156106d65780601f106106ab576101008083540402835291602001916106d6565b820191906000526020600020905b8154815290600101906020018083116106b957829003601f168201915b5050505050815250509050919050565b73ba12222222228d8ba445958a75a0704d566bf2c881565b81600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146107cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c690613a2c565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663e01af92c836040518263ffffffff1660e01b81526004016108089190613167565b600060405180830381600087803b15801561082257600080fd5b505af1158015610836573d6000803e3d6000fd5b505050508273ffffffffffffffffffffffffffffffffffffffff167fdc5bc5b27f91cbe9bad8b85e20c9519fb6d126629108f16d474af76579696ea9836040516108809190613167565b60405180910390a2505050565b81600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461095e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095590613a2c565b60405180910390fd5b6000600267ffffffffffffffff81111561097b5761097a613380565b5b6040519080825280602002602001820160405280156109a95781602001602082028036833780820191505090505b5090506000816000815181106109c2576109c1613a4c565b5b6020026020010181815250506000816001815181106109e4576109e3613a4c565b5b60200260200101818152505060008473ffffffffffffffffffffffffffffffffffffffff166338fff2d06040518163ffffffff1660e01b81526004016020604051808303816000875af1158015610a3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a639190613ab1565b905060008073ba12222222228d8ba445958a75a0704d566bf2c873ffffffffffffffffffffffffffffffffffffffff1663f94d4668846040518263ffffffff1660e01b8152600401610ab59190613aed565b600060405180830381865afa158015610ad2573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610afb9190613c60565b50915091508351825114610b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3b90613d37565b60405180910390fd5b6000600160008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460ff1615151515815260200160018201548152602001600282018054610c1b9061399e565b80601f0160208091040260200160405190810160405280929190818152602001828054610c479061399e565b8015610c945780601f10610c6957610100808354040283529160200191610c94565b820191906000526020600020905b815481529060010190602001808311610c7757829003601f168201915b50505050508152505090506000610cab89896120f1565b905073ba12222222228d8ba445958a75a0704d566bf2c873ffffffffffffffffffffffffffffffffffffffff16638bdb391386303060405180608001604052808a81526020018c8152602001600188604051602001610d0b929190613dce565b6040516020818303038152906040528152602001600015158152506040518563ffffffff1660e01b8152600401610d459493929190613ffc565b600060405180830381600087803b158015610d5f57600080fd5b505af1158015610d73573d6000803e3d6000fd5b50505050600073ba12222222228d8ba445958a75a0704d566bf2c873ffffffffffffffffffffffffffffffffffffffff1663f94d4668876040518263ffffffff1660e01b8152600401610dc69190613aed565b600060405180830381865afa158015610de3573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610e0c9190613c60565b5091505060008360200151610e22576001610e25565b60005b60ff169050610e758b8786858581518110610e4357610e42613a4c565b5b6020026020010151898681518110610e5e57610e5d613a4c565b5b6020026020010151610e709190614077565b61220f565b5050505050505050505050565b6000610e9882600261238d90919063ffffffff16565b9050919050565b6060610eab60026123bd565b905090565b610eb86123de565b610ec2600061245c565b565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060806000610f1e61203c565b90506000815167ffffffffffffffff811115610f3d57610f3c613380565b5b604051908082528060200260200182016040528015610f7057816020015b6060815260200190600190039081610f5b5790505b50905060005b82518161ffff16101561104a57828161ffff1681518110610f9a57610f99613a4c565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa158015610fec573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611015919061411b565b828261ffff168151811061102c5761102b613a4c565b5b6020026020010181905250808061104290614172565b915050610f76565b5080829350935050509091565b81600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611128576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111f90613a2c565b60405180910390fd5b81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206002019081611177919061433e565b508273ffffffffffffffffffffffffffffffffffffffff167f895a26cdcf16292697778a981cbf10d3996211cb1f046984ddaaf06de87ebd07836040516111be9190614449565b60405180910390a2505050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060028260400151511461123b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611232906144dd565b60405180910390fd5b816040015160018151811061125357611252613a4c565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16826040015160008151811061128957611288613a4c565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16036112e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112de90614549565b60405180910390fd5b428261010001511161132e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611325906145db565b60405180910390fd5b8161010001518261012001511161137a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113719061466d565b60405180910390fd5b60008260c0015161138c57600161138f565b60005b905060008360c001516113a35760006113a6565b60015b90506113f684604001518260ff16815181106113c5576113c4613a4c565b5b6020026020010151333087606001518560ff16815181106113e9576113e8613a4c565b5b6020026020010151612520565b600073ffffffffffffffffffffffffffffffffffffffff1684604001518360ff168151811061142857611427613a4c565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16036115ad573484606001518360ff168151811061146657611465613a4c565b5b6020026020010151146114ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a5906146d9565b60405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684604001518360ff16815181106114eb576114ea613a4c565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b15801561158f57600080fd5b505af11580156115a3573d6000803e3d6000fd5b50505050506116e2565b6000806115b861203c565b905060005b8151811015611650578181815181106115d9576115d8613a4c565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1687604001518660ff168151811061161157611610613a4c565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff160361163d5760019250611650565b8080611648906146f9565b9150506115bd565b5081611691576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116889061478d565b60405180910390fd5b6116df86604001518560ff16815181106116ae576116ad613a4c565b5b6020026020010151333089606001518860ff16815181106116d2576116d1613a4c565b5b6020026020010151612520565b50505b61173f84604001516000815181106116fd576116fc613a4c565b5b602002602001015173ba12222222228d8ba445958a75a0704d566bf2c8866060015160008151811061173257611731613a4c565b5b6020026020010151612659565b61179c846040015160018151811061175a57611759613a4c565b5b602002602001015173ba12222222228d8ba445958a75a0704d566bf2c8866060015160018151811061178f5761178e613a4c565b5b6020026020010151612659565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632367971986600001518760200151886040015189608001518a60e001513060006040518863ffffffff1660e01b8152600401611818979695949392919061481c565b6020604051808303816000875af1158015611837573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185b91906148a7565b905060008173ffffffffffffffffffffffffffffffffffffffff166338fff2d06040518163ffffffff1660e01b81526004016020604051808303816000875af11580156118ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d09190613ab1565b90508173ffffffffffffffffffffffffffffffffffffffff167f2b416ce78f01c3304331a3a35005ee09bfb64c878f2be9849fc9909101bc61ac82886000015189602001518a604001518b608001518c60e0015130600060405161193b9897969594939291906148d4565b60405180910390a260405180608001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018760c001511515815260200187606001518860c0015161198b57600161198e565b60005b60ff16815181106119a2576119a1613a4c565b5b60200260200101518152602001876101400151815250600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548160ff021916908315150217905550604082015181600101556060820151816002019081611a7d919061433e565b50905050611a9582600261278f90919063ffffffff16565b611ad4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acb906149ba565b60405180910390fd5b6000808760600151604051602001611aed929190614a22565b604051602081830303815290604052905073ba12222222228d8ba445958a75a0704d566bf2c873ffffffffffffffffffffffffffffffffffffffff1663b95cac2883303060405180608001604052808d6040015181526020018d606001518152602001878152602001600015158152506040518563ffffffff1660e01b8152600401611b7c9493929190614ac3565b600060405180830381600087803b158015611b9657600080fd5b505af1158015611baa573d6000803e3d6000fd5b505050508273ffffffffffffffffffffffffffffffffffffffff167f5dcdc6c8b7b09c26d0c867e99f2b7389b69d982aa8f10b1373f84667a8f58b358860400151896060015184604051611c0093929190614b59565b60405180910390a28273ffffffffffffffffffffffffffffffffffffffff16633e5692058861010001518961012001518a60a001516040518463ffffffff1660e01b8152600401611c5393929190614ba5565b600060405180830381600087803b158015611c6d57600080fd5b505af1158015611c81573d6000803e3d6000fd5b505050508273ffffffffffffffffffffffffffffffffffffffff167f5b604c3eb0508fc702242270d353c7673f02b609e03862e244766785e39c278c8861010001518961012001518a60a00151604051611cdd93929190614ba5565b60405180910390a28295505050505050919050565b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611d2d9190612e73565b602060405180830381865afa158015611d4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d6e9190614be3565b9050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b81600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611e6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6190613a2c565b60405180910390fd5b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905082600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508373ffffffffffffffffffffffffffffffffffffffff167f384b4ebfb7a1daf517a31e956ff005ea9f315e5a5f92ebee1e4a498e56a5c00e8285604051611f9a929190614c10565b60405180910390a250505050565b611fb06123de565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361201f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201690614cab565b60405180910390fd5b6120288161245c565b50565b600061203760026127bf565b905090565b60607f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c4f59f9b6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156120a9573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906120d29190614ccb565b905090565b60006120e683600001836127d4565b60001c905092915050565b6000808373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161212d9190612e73565b602060405180830381865afa15801561214a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061216e9190614be3565b9050808311156121b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121aa90614d86565b60405180910390fd5b600081116121f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ed90614e18565b60405180910390fd5b600083146122045782612206565b805b91505092915050565b6000838360200151612222576000612225565b60015b60ff168151811061223957612238613a4c565b5b602002602001015190506000848460200151612256576001612259565b60005b60ff168151811061226d5761226c613a4c565b5b6020026020010151905060008273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016122b29190612e73565b602060405180830381865afa1580156122cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122f39190614be3565b90506000849050856040015185111561236d5760006127107f000000000000000000000000000000000000000000000000000000000000000088604001518861233c9190614077565b6123469190614e38565b6123509190614ea9565b9050808661235e9190614077565b915061236b8985836127ff565b505b612378888584612b52565b612383888483612b52565b5050505050505050565b60006123b5836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612bb4565b905092915050565b606060006123cd83600001612bd7565b905060608190508092505050919050565b6123e6612c33565b73ffffffffffffffffffffffffffffffffffffffff16612404610ee8565b73ffffffffffffffffffffffffffffffffffffffff161461245a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245190614f26565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808573ffffffffffffffffffffffffffffffffffffffff166323b872dd86868660405160240161255493929190614f46565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516125a29190614fb9565b6000604051808303816000865af19150503d80600081146125df576040519150601f19603f3d011682016040523d82523d6000602084013e6125e4565b606091505b509150915081801561261257506000815114806126115750808060200190518101906126109190614fe5565b5b5b612651576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264890615084565b60405180910390fd5b505050505050565b6000808473ffffffffffffffffffffffffffffffffffffffff1663095ea7b3858560405160240161268b9291906150a4565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516126d99190614fb9565b6000604051808303816000865af19150503d8060008114612716576040519150601f19603f3d011682016040523d82523d6000602084013e61271b565b606091505b509150915081801561274957506000815114806127485750808060200190518101906127479190614fe5565b5b5b612788576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277f9061513f565b60405180910390fd5b5050505050565b60006127b7836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612c3b565b905092915050565b60006127cd82600001612cab565b9050919050565b60008260000182815481106127ec576127eb613a4c565b5b9060005260206000200154905092915050565b600060028261280e9190614ea9565b90508273ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f0000000000000000000000000000000000000000000000000000000000000000836040518363ffffffff1660e01b815260040161286b9291906150a4565b6020604051808303816000875af115801561288a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128ae9190614fe5565b508273ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f0000000000000000000000000000000000000000000000000000000000000000836040518363ffffffff1660e01b815260040161290a9291906150a4565b6020604051808303816000875af1158015612929573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061294d9190614fe5565b507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9fc507b84836040518363ffffffff1660e01b81526004016129a99291906150a4565b600060405180830381600087803b1580156129c357600080fd5b505af11580156129d7573d6000803e3d6000fd5b505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9fc507b84836040518363ffffffff1660e01b8152600401612a369291906150a4565b600060405180830381600087803b158015612a5057600080fd5b505af1158015612a64573d6000803e3d6000fd5b505050508373ffffffffffffffffffffffffffffffffffffffff167f204ae686c4033ffe86d8c43a868b07572798d37b4f75a781bd55980b187a96ad847f000000000000000000000000000000000000000000000000000000000000000084604051612ad293929190614f46565b60405180910390a28373ffffffffffffffffffffffffffffffffffffffff167f204ae686c4033ffe86d8c43a868b07572798d37b4f75a781bd55980b187a96ad847f000000000000000000000000000000000000000000000000000000000000000084604051612b4493929190614f46565b60405180910390a250505050565b612b5d823383612cbc565b8273ffffffffffffffffffffffffffffffffffffffff167f18197d7ddedf9f741835c97e5b80d0e808803c23812ccaeb0ab9bc9c08ee3645833384604051612ba793929190614f46565b60405180910390a2505050565b600080836001016000848152602001908152602001600020541415905092915050565b606081600001805480602002602001604051908101604052809291908181526020018280548015612c2757602002820191906000526020600020905b815481526020019060010190808311612c13575b50505050509050919050565b600033905090565b6000612c478383612bb4565b612ca0578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612ca5565b600090505b92915050565b600081600001805490509050919050565b6000808473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401612cee9291906150a4565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051612d3c9190614fb9565b6000604051808303816000865af19150503d8060008114612d79576040519150601f19603f3d011682016040523d82523d6000602084013e612d7e565b606091505b5091509150818015612dac5750600081511480612dab575080806020019051810190612daa9190614fe5565b5b5b612deb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612de2906151d1565b60405180910390fd5b5050505050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160001515815260200160008152602001606081525090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e5d82612e32565b9050919050565b612e6d81612e52565b82525050565b6000602082019050612e886000830184612e64565b92915050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b612eb581612ea2565b8114612ec057600080fd5b50565b600081359050612ed281612eac565b92915050565b600060208284031215612eee57612eed612e98565b5b6000612efc84828501612ec3565b91505092915050565b612f0e81612e52565b8114612f1957600080fd5b50565b600081359050612f2b81612f05565b92915050565b600060208284031215612f4757612f46612e98565b5b6000612f5584828501612f1c565b91505092915050565b612f6781612e52565b82525050565b60008115159050919050565b612f8281612f6d565b82525050565b612f9181612ea2565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612fd1578082015181840152602081019050612fb6565b60008484015250505050565b6000601f19601f8301169050919050565b6000612ff982612f97565b6130038185612fa2565b9350613013818560208601612fb3565b61301c81612fdd565b840191505092915050565b600060808301600083015161303f6000860182612f5e565b5060208301516130526020860182612f79565b5060408301516130656040860182612f88565b506060830151848203606086015261307d8282612fee565b9150508091505092915050565b600060208201905081810360008301526130a48184613027565b905092915050565b6130b581612f6d565b81146130c057600080fd5b50565b6000813590506130d2816130ac565b92915050565b600080604083850312156130ef576130ee612e98565b5b60006130fd85828601612f1c565b925050602061310e858286016130c3565b9150509250929050565b6000806040838503121561312f5761312e612e98565b5b600061313d85828601612f1c565b925050602061314e85828601612ec3565b9150509250929050565b61316181612f6d565b82525050565b600060208201905061317c6000830184613158565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60006131ba8383612f5e565b60208301905092915050565b6000602082019050919050565b60006131de82613182565b6131e8818561318d565b93506131f38361319e565b8060005b8381101561322457815161320b88826131ae565b9750613216836131c6565b9250506001810190506131f7565b5085935050505092915050565b6000602082019050818103600083015261324b81846131d3565b905092915050565b61325c81612ea2565b82525050565b60006020820190506132776000830184613253565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60006132b58383612fee565b905092915050565b6000602082019050919050565b60006132d58261327d565b6132df8185613288565b9350836020820285016132f185613299565b8060005b8581101561332d578484038952815161330e85826132a9565b9450613319836132bd565b925060208a019950506001810190506132f5565b50829750879550505050505092915050565b6000604082019050818103600083015261335981856132ca565b9050818103602083015261336d81846131d3565b90509392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6133b882612fdd565b810181811067ffffffffffffffff821117156133d7576133d6613380565b5b80604052505050565b60006133ea612e8e565b90506133f682826133af565b919050565b600067ffffffffffffffff82111561341657613415613380565b5b61341f82612fdd565b9050602081019050919050565b82818337600083830152505050565b600061344e613449846133fb565b6133e0565b90508281526020810184848401111561346a5761346961337b565b5b61347584828561342c565b509392505050565b600082601f83011261349257613491613376565b5b81356134a284826020860161343b565b91505092915050565b600080604083850312156134c2576134c1612e98565b5b60006134d085828601612f1c565b925050602083013567ffffffffffffffff8111156134f1576134f0612e9d565b5b6134fd8582860161347d565b9150509250929050565b6000819050919050565b600061352c61352761352284612e32565b613507565b612e32565b9050919050565b600061353e82613511565b9050919050565b600061355082613533565b9050919050565b61356081613545565b82525050565b600060208201905061357b6000830184613557565b92915050565b600080fd5b600080fd5b600067ffffffffffffffff8211156135a6576135a5613380565b5b602082029050602081019050919050565b600080fd5b60006135cf6135ca8461358b565b6133e0565b905080838252602082019050602084028301858111156135f2576135f16135b7565b5b835b8181101561361b57806136078882612f1c565b8452602084019350506020810190506135f4565b5050509392505050565b600082601f83011261363a57613639613376565b5b813561364a8482602086016135bc565b91505092915050565b600067ffffffffffffffff82111561366e5761366d613380565b5b602082029050602081019050919050565b600061369261368d84613653565b6133e0565b905080838252602082019050602084028301858111156136b5576136b46135b7565b5b835b818110156136de57806136ca8882612ec3565b8452602084019350506020810190506136b7565b5050509392505050565b600082601f8301126136fd576136fc613376565b5b813561370d84826020860161367f565b91505092915050565b6000610160828403121561372d5761372c613581565b5b6137386101606133e0565b9050600082013567ffffffffffffffff81111561375857613757613586565b5b6137648482850161347d565b600083015250602082013567ffffffffffffffff81111561378857613787613586565b5b6137948482850161347d565b602083015250604082013567ffffffffffffffff8111156137b8576137b7613586565b5b6137c484828501613625565b604083015250606082013567ffffffffffffffff8111156137e8576137e7613586565b5b6137f4848285016136e8565b606083015250608082013567ffffffffffffffff81111561381857613817613586565b5b613824848285016136e8565b60808301525060a082013567ffffffffffffffff81111561384857613847613586565b5b613854848285016136e8565b60a08301525060c0613868848285016130c3565b60c08301525060e061387c84828501612ec3565b60e08301525061010061389184828501612ec3565b610100830152506101206138a784828501612ec3565b6101208301525061014082013567ffffffffffffffff8111156138cd576138cc613586565b5b6138d98482850161347d565b6101408301525092915050565b6000602082840312156138fc576138fb612e98565b5b600082013567ffffffffffffffff81111561391a57613919612e9d565b5b61392684828501613716565b91505092915050565b6000806040838503121561394657613945612e98565b5b600061395485828601612f1c565b925050602061396585828601612f1c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806139b657607f821691505b6020821081036139c9576139c861396f565b5b50919050565b600082825260208201905092915050565b7f216f776e65720000000000000000000000000000000000000000000000000000600082015250565b6000613a166006836139cf565b9150613a21826139e0565b602082019050919050565b60006020820190508181036000830152613a4581613a09565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000819050919050565b613a8e81613a7b565b8114613a9957600080fd5b50565b600081519050613aab81613a85565b92915050565b600060208284031215613ac757613ac6612e98565b5b6000613ad584828501613a9c565b91505092915050565b613ae781613a7b565b82525050565b6000602082019050613b026000830184613ade565b92915050565b600081519050613b1781612f05565b92915050565b6000613b30613b2b8461358b565b6133e0565b90508083825260208201905060208402830185811115613b5357613b526135b7565b5b835b81811015613b7c5780613b688882613b08565b845260208401935050602081019050613b55565b5050509392505050565b600082601f830112613b9b57613b9a613376565b5b8151613bab848260208601613b1d565b91505092915050565b600081519050613bc381612eac565b92915050565b6000613bdc613bd784613653565b6133e0565b90508083825260208201905060208402830185811115613bff57613bfe6135b7565b5b835b81811015613c285780613c148882613bb4565b845260208401935050602081019050613c01565b5050509392505050565b600082601f830112613c4757613c46613376565b5b8151613c57848260208601613bc9565b91505092915050565b600080600060608486031215613c7957613c78612e98565b5b600084015167ffffffffffffffff811115613c9757613c96612e9d565b5b613ca386828701613b86565b935050602084015167ffffffffffffffff811115613cc457613cc3612e9d565b5b613cd086828701613c32565b9250506040613ce186828701613bb4565b9150509250925092565b7f696e76616c696420696e707574206c656e677468000000000000000000000000600082015250565b6000613d216014836139cf565b9150613d2c82613ceb565b602082019050919050565b60006020820190508181036000830152613d5081613d14565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110613d9757613d96613d57565b5b50565b6000819050613da882613d86565b919050565b6000613db882613d9a565b9050919050565b613dc881613dad565b82525050565b6000604082019050613de36000830185613dbf565b613df06020830184613253565b9392505050565b6000613e0282613533565b9050919050565b613e1281613df7565b82525050565b600082825260208201905092915050565b6000613e3482613182565b613e3e8185613e18565b9350613e498361319e565b8060005b83811015613e7a578151613e6188826131ae565b9750613e6c836131c6565b925050600181019050613e4d565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000613ebf8383612f88565b60208301905092915050565b6000602082019050919050565b6000613ee382613e87565b613eed8185613e92565b9350613ef883613ea3565b8060005b83811015613f29578151613f108882613eb3565b9750613f1b83613ecb565b925050600181019050613efc565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000613f5d82613f36565b613f678185613f41565b9350613f77818560208601612fb3565b613f8081612fdd565b840191505092915050565b60006080830160008301518482036000860152613fa88282613e29565b91505060208301518482036020860152613fc28282613ed8565b91505060408301518482036040860152613fdc8282613f52565b9150506060830151613ff16060860182612f79565b508091505092915050565b60006080820190506140116000830187613ade565b61401e6020830186612e64565b61402b6040830185613e09565b818103606083015261403d8184613f8b565b905095945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061408282612ea2565b915061408d83612ea2565b92508282039050818111156140a5576140a4614048565b5b92915050565b60006140be6140b9846133fb565b6133e0565b9050828152602081018484840111156140da576140d961337b565b5b6140e5848285612fb3565b509392505050565b600082601f83011261410257614101613376565b5b81516141128482602086016140ab565b91505092915050565b60006020828403121561413157614130612e98565b5b600082015167ffffffffffffffff81111561414f5761414e612e9d565b5b61415b848285016140ed565b91505092915050565b600061ffff82169050919050565b600061417d82614164565b915061ffff820361419157614190614048565b5b600182019050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026141fe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826141c1565b61420886836141c1565b95508019841693508086168417925050509392505050565b600061423b61423661423184612ea2565b613507565b612ea2565b9050919050565b6000819050919050565b61425583614220565b61426961426182614242565b8484546141ce565b825550505050565b600090565b61427e614271565b61428981848461424c565b505050565b5b818110156142ad576142a2600082614276565b60018101905061428f565b5050565b601f8211156142f2576142c38161419c565b6142cc846141b1565b810160208510156142db578190505b6142ef6142e7856141b1565b83018261428e565b50505b505050565b600082821c905092915050565b6000614315600019846008026142f7565b1980831691505092915050565b600061432e8383614304565b9150826002028217905092915050565b61434782612f97565b67ffffffffffffffff8111156143605761435f613380565b5b61436a825461399e565b6143758282856142b1565b600060209050601f8311600181146143a85760008415614396578287015190505b6143a08582614322565b865550614408565b601f1984166143b68661419c565b60005b828110156143de578489015182556001820191506020850194506020810190506143b9565b868310156143fb57848901516143f7601f891682614304565b8355505b6001600288020188555050505b505050505050565b600061441b82612f97565b61442581856139cf565b9350614435818560208601612fb3565b61443e81612fdd565b840191505092915050565b600060208201905081810360008301526144638184614410565b905092915050565b7f4639204c425073206d75737420686176652065786163746c792074776f20746f60008201527f6b656e7300000000000000000000000000000000000000000000000000000000602082015250565b60006144c76024836139cf565b91506144d28261446b565b604082019050919050565b600060208201905081810360008301526144f6816144ba565b9050919050565b7f4c425020746f6b656e73206d75737420626520756e6971756500000000000000600082015250565b60006145336019836139cf565b915061453e826144fd565b602082019050919050565b6000602082019050818103600083015261456281614526565b9050919050565b7f4c42502073746172742074696d65206d75737420626520696e2074686520667560008201527f7475726500000000000000000000000000000000000000000000000000000000602082015250565b60006145c56024836139cf565b91506145d082614569565b604082019050919050565b600060208201905081810360008301526145f4816145b8565b9050919050565b7f4c425020656e642074696d65206d75737420626520677265617465722074686160008201527f6e2073746172742074696d650000000000000000000000000000000000000000602082015250565b6000614657602c836139cf565b9150614662826145fb565b604082019050919050565b600060208201905081810360008301526146868161464a565b9050919050565b7f496e636f72726563742066756e6420746f6b656e20616d6f756e740000000000600082015250565b60006146c3601b836139cf565b91506146ce8261468d565b602082019050919050565b600060208201905081810360008301526146f2816146b6565b9050919050565b600061470482612ea2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361473657614735614048565b5b600182019050919050565b7f66756e6420746f6b656e206e6f7420617070726f766564000000000000000000600082015250565b60006147776017836139cf565b915061478282614741565b602082019050919050565b600060208201905081810360008301526147a68161476a565b9050919050565b600082825260208201905092915050565b60006147c982613e87565b6147d381856147ad565b93506147de83613ea3565b8060005b8381101561480f5781516147f68882613eb3565b975061480183613ecb565b9250506001810190506147e2565b5085935050505092915050565b600060e0820190508181036000830152614836818a614410565b9050818103602083015261484a8189614410565b9050818103604083015261485e81886131d3565b9050818103606083015261487281876147be565b90506148816080830186613253565b61488e60a0830185612e64565b61489b60c0830184613158565b98975050505050505050565b6000602082840312156148bd576148bc612e98565b5b60006148cb84828501613b08565b91505092915050565b6000610100820190506148ea600083018b613ade565b81810360208301526148fc818a614410565b905081810360408301526149108189614410565b9050818103606083015261492481886131d3565b9050818103608083015261493881876147be565b905061494760a0830186613253565b61495460c0830185612e64565b61496160e0830184613158565b9998505050505050505050565b7f65786973747320616c7265616479000000000000000000000000000000000000600082015250565b60006149a4600e836139cf565b91506149af8261496e565b602082019050919050565b600060208201905081810360008301526149d381614997565b9050919050565b6000819050919050565b600060ff82169050919050565b6000614a0c614a07614a02846149da565b613507565b6149e4565b9050919050565b614a1c816149f1565b82525050565b6000604082019050614a376000830185614a13565b8181036020830152614a4981846147be565b90509392505050565b60006080830160008301518482036000860152614a6f8282613e29565b91505060208301518482036020860152614a898282613ed8565b91505060408301518482036040860152614aa38282613f52565b9150506060830151614ab86060860182612f79565b508091505092915050565b6000608082019050614ad86000830187613ade565b614ae56020830186612e64565b614af26040830185612e64565b8181036060830152614b048184614a52565b905095945050505050565b600082825260208201905092915050565b6000614b2b82613f36565b614b358185614b0f565b9350614b45818560208601612fb3565b614b4e81612fdd565b840191505092915050565b60006060820190508181036000830152614b7381866131d3565b90508181036020830152614b8781856147be565b90508181036040830152614b9b8184614b20565b9050949350505050565b6000606082019050614bba6000830186613253565b614bc76020830185613253565b8181036040830152614bd981846147be565b9050949350505050565b600060208284031215614bf957614bf8612e98565b5b6000614c0784828501613bb4565b91505092915050565b6000604082019050614c256000830185612e64565b614c326020830184612e64565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614c956026836139cf565b9150614ca082614c39565b604082019050919050565b60006020820190508181036000830152614cc481614c88565b9050919050565b600060208284031215614ce157614ce0612e98565b5b600082015167ffffffffffffffff811115614cff57614cfe612e9d565b5b614d0b84828501613b86565b91505092915050565b7f537065636966656420425054206f757420616d6f756e74206f7574206578636560008201527f656473206f776e65722062616c616e6365000000000000000000000000000000602082015250565b6000614d706031836139cf565b9150614d7b82614d14565b604082019050919050565b60006020820190508181036000830152614d9f81614d63565b9050919050565b7f506f6f6c206f776e6572204250542062616c616e6365206973206c657373207460008201527f68616e207a65726f000000000000000000000000000000000000000000000000602082015250565b6000614e026028836139cf565b9150614e0d82614da6565b604082019050919050565b60006020820190508181036000830152614e3181614df5565b9050919050565b6000614e4382612ea2565b9150614e4e83612ea2565b9250828202614e5c81612ea2565b91508282048414831517614e7357614e72614048565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614eb482612ea2565b9150614ebf83612ea2565b925082614ecf57614ece614e7a565b5b828204905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614f106020836139cf565b9150614f1b82614eda565b602082019050919050565b60006020820190508181036000830152614f3f81614f03565b9050919050565b6000606082019050614f5b6000830186612e64565b614f686020830185612e64565b614f756040830184613253565b949350505050565b600081905092915050565b6000614f9382613f36565b614f9d8185614f7d565b9350614fad818560208601612fb3565b80840191505092915050565b6000614fc58284614f88565b915081905092915050565b600081519050614fdf816130ac565b92915050565b600060208284031215614ffb57614ffa612e98565b5b600061500984828501614fd0565b91505092915050565b7f5472616e7366657248656c7065723a3a7472616e7366657246726f6d3a20747260008201527f616e7366657246726f6d206661696c6564000000000000000000000000000000602082015250565b600061506e6031836139cf565b915061507982615012565b604082019050919050565b6000602082019050818103600083015261509d81615061565b9050919050565b60006040820190506150b96000830185612e64565b6150c66020830184613253565b9392505050565b7f5472616e7366657248656c7065723a3a73616665417070726f76653a2061707060008201527f726f7665206661696c6564000000000000000000000000000000000000000000602082015250565b6000615129602b836139cf565b9150615134826150cd565b604082019050919050565b600060208201905081810360008301526151588161511c565b9050919050565b7f5472616e7366657248656c7065723a3a736166655472616e736665723a20747260008201527f616e73666572206661696c656400000000000000000000000000000000000000602082015250565b60006151bb602d836139cf565b91506151c68261515f565b604082019050919050565b600060208201905081810360008301526151ea816151ae565b905091905056fea2646970667358221220035bb0339638e45270fec87941ced76b52196be94467083036fa7ea1de07946e64736f6c6343000813003300000000000000000000000000000000000000000000000000000000000000fa0000000000000000000000000f3e0c4218b7b0108a3643cfe9d3ec0d4f57c54e000000000000000000000000824206c73e83f5be019f90a2439275458d9a5de50000000000000000000000003c567525868ed30493c6cbb4e6c5addc10e57a7b000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Deployed Bytecode
0x6080604052600436106101345760003560e01c80638da5cb5b116100ab578063cac626bb1161006f578063cac626bb1461040b578063d7b4be2414610448578063ee9ee0e414610473578063f2fde38b1461049c578063f525cb68146104c5578063fcae08e1146104f057610134565b80638da5cb5b1461033057806396c442c31461035b57806399e6f54014610387578063ad5c4648146103b0578063badfca29146103db57610134565b806351d48cea116100fd57806351d48cea14610234578063564294f71461025d5780635b16ebb714610286578063673a2a1f146102c3578063715018a6146102ee57806375ac3cb01461030557610134565b8062897ad31461013957806305ea2183146101645780630e7d90aa146101a157806313d21cdf146101cc578063411557d114610209575b600080fd5b34801561014557600080fd5b5061014e61051b565b60405161015b9190612e73565b60405180910390f35b34801561017057600080fd5b5061018b60048036038101906101869190612ed8565b61053f565b6040516101989190612e73565b60405180910390f35b3480156101ad57600080fd5b506101b661055c565b6040516101c39190612e73565b60405180910390f35b3480156101d857600080fd5b506101f360048036038101906101ee9190612f31565b610580565b604051610200919061308a565b60405180910390f35b34801561021557600080fd5b5061021e6106e6565b60405161022b9190612e73565b60405180910390f35b34801561024057600080fd5b5061025b600480360381019061025691906130d8565b6106fe565b005b34801561026957600080fd5b50610284600480360381019061027f9190613118565b61088d565b005b34801561029257600080fd5b506102ad60048036038101906102a89190612f31565b610e82565b6040516102ba9190613167565b60405180910390f35b3480156102cf57600080fd5b506102d8610e9f565b6040516102e59190613231565b60405180910390f35b3480156102fa57600080fd5b50610303610eb0565b005b34801561031157600080fd5b5061031a610ec4565b6040516103279190613262565b60405180910390f35b34801561033c57600080fd5b50610345610ee8565b6040516103529190612e73565b60405180910390f35b34801561036757600080fd5b50610370610f11565b60405161037e92919061333f565b60405180910390f35b34801561039357600080fd5b506103ae60048036038101906103a991906134ab565b611057565b005b3480156103bc57600080fd5b506103c56111cb565b6040516103d29190613566565b60405180910390f35b6103f560048036038101906103f091906138e6565b6111f1565b6040516104029190612e73565b60405180910390f35b34801561041757600080fd5b50610432600480360381019061042d9190612f31565b611cf2565b60405161043f9190613262565b60405180910390f35b34801561045457600080fd5b5061045d611d75565b60405161046a9190612e73565b60405180910390f35b34801561047f57600080fd5b5061049a6004803603810190610495919061392f565b611d99565b005b3480156104a857600080fd5b506104c360048036038101906104be9190612f31565b611fa8565b005b3480156104d157600080fd5b506104da61202b565b6040516104e79190613262565b60405180910390f35b3480156104fc57600080fd5b5061050561203c565b6040516105129190613231565b60405180910390f35b7f0000000000000000000000003c567525868ed30493c6cbb4e6c5addc10e57a7b81565b60006105558260026120d790919063ffffffff16565b9050919050565b7f0000000000000000000000000f3e0c4218b7b0108a3643cfe9d3ec0d4f57c54e81565b610588612df2565b600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460ff161515151581526020016001820154815260200160028201805461065d9061399e565b80601f01602080910402602001604051908101604052809291908181526020018280546106899061399e565b80156106d65780601f106106ab576101008083540402835291602001916106d6565b820191906000526020600020905b8154815290600101906020018083116106b957829003601f168201915b5050505050815250509050919050565b73ba12222222228d8ba445958a75a0704d566bf2c881565b81600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146107cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c690613a2c565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663e01af92c836040518263ffffffff1660e01b81526004016108089190613167565b600060405180830381600087803b15801561082257600080fd5b505af1158015610836573d6000803e3d6000fd5b505050508273ffffffffffffffffffffffffffffffffffffffff167fdc5bc5b27f91cbe9bad8b85e20c9519fb6d126629108f16d474af76579696ea9836040516108809190613167565b60405180910390a2505050565b81600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461095e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095590613a2c565b60405180910390fd5b6000600267ffffffffffffffff81111561097b5761097a613380565b5b6040519080825280602002602001820160405280156109a95781602001602082028036833780820191505090505b5090506000816000815181106109c2576109c1613a4c565b5b6020026020010181815250506000816001815181106109e4576109e3613a4c565b5b60200260200101818152505060008473ffffffffffffffffffffffffffffffffffffffff166338fff2d06040518163ffffffff1660e01b81526004016020604051808303816000875af1158015610a3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a639190613ab1565b905060008073ba12222222228d8ba445958a75a0704d566bf2c873ffffffffffffffffffffffffffffffffffffffff1663f94d4668846040518263ffffffff1660e01b8152600401610ab59190613aed565b600060405180830381865afa158015610ad2573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610afb9190613c60565b50915091508351825114610b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3b90613d37565b60405180910390fd5b6000600160008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060800160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460ff1615151515815260200160018201548152602001600282018054610c1b9061399e565b80601f0160208091040260200160405190810160405280929190818152602001828054610c479061399e565b8015610c945780601f10610c6957610100808354040283529160200191610c94565b820191906000526020600020905b815481529060010190602001808311610c7757829003601f168201915b50505050508152505090506000610cab89896120f1565b905073ba12222222228d8ba445958a75a0704d566bf2c873ffffffffffffffffffffffffffffffffffffffff16638bdb391386303060405180608001604052808a81526020018c8152602001600188604051602001610d0b929190613dce565b6040516020818303038152906040528152602001600015158152506040518563ffffffff1660e01b8152600401610d459493929190613ffc565b600060405180830381600087803b158015610d5f57600080fd5b505af1158015610d73573d6000803e3d6000fd5b50505050600073ba12222222228d8ba445958a75a0704d566bf2c873ffffffffffffffffffffffffffffffffffffffff1663f94d4668876040518263ffffffff1660e01b8152600401610dc69190613aed565b600060405180830381865afa158015610de3573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610e0c9190613c60565b5091505060008360200151610e22576001610e25565b60005b60ff169050610e758b8786858581518110610e4357610e42613a4c565b5b6020026020010151898681518110610e5e57610e5d613a4c565b5b6020026020010151610e709190614077565b61220f565b5050505050505050505050565b6000610e9882600261238d90919063ffffffff16565b9050919050565b6060610eab60026123bd565b905090565b610eb86123de565b610ec2600061245c565b565b7f00000000000000000000000000000000000000000000000000000000000000fa81565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060806000610f1e61203c565b90506000815167ffffffffffffffff811115610f3d57610f3c613380565b5b604051908082528060200260200182016040528015610f7057816020015b6060815260200190600190039081610f5b5790505b50905060005b82518161ffff16101561104a57828161ffff1681518110610f9a57610f99613a4c565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa158015610fec573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611015919061411b565b828261ffff168151811061102c5761102b613a4c565b5b6020026020010181905250808061104290614172565b915050610f76565b5080829350935050509091565b81600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611128576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111f90613a2c565b60405180910390fd5b81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206002019081611177919061433e565b508273ffffffffffffffffffffffffffffffffffffffff167f895a26cdcf16292697778a981cbf10d3996211cb1f046984ddaaf06de87ebd07836040516111be9190614449565b60405180910390a2505050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060028260400151511461123b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611232906144dd565b60405180910390fd5b816040015160018151811061125357611252613a4c565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16826040015160008151811061128957611288613a4c565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16036112e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112de90614549565b60405180910390fd5b428261010001511161132e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611325906145db565b60405180910390fd5b8161010001518261012001511161137a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113719061466d565b60405180910390fd5b60008260c0015161138c57600161138f565b60005b905060008360c001516113a35760006113a6565b60015b90506113f684604001518260ff16815181106113c5576113c4613a4c565b5b6020026020010151333087606001518560ff16815181106113e9576113e8613a4c565b5b6020026020010151612520565b600073ffffffffffffffffffffffffffffffffffffffff1684604001518360ff168151811061142857611427613a4c565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16036115ad573484606001518360ff168151811061146657611465613a4c565b5b6020026020010151146114ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a5906146d9565b60405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684604001518360ff16815181106114eb576114ea613a4c565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b15801561158f57600080fd5b505af11580156115a3573d6000803e3d6000fd5b50505050506116e2565b6000806115b861203c565b905060005b8151811015611650578181815181106115d9576115d8613a4c565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1687604001518660ff168151811061161157611610613a4c565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff160361163d5760019250611650565b8080611648906146f9565b9150506115bd565b5081611691576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116889061478d565b60405180910390fd5b6116df86604001518560ff16815181106116ae576116ad613a4c565b5b6020026020010151333089606001518860ff16815181106116d2576116d1613a4c565b5b6020026020010151612520565b50505b61173f84604001516000815181106116fd576116fc613a4c565b5b602002602001015173ba12222222228d8ba445958a75a0704d566bf2c8866060015160008151811061173257611731613a4c565b5b6020026020010151612659565b61179c846040015160018151811061175a57611759613a4c565b5b602002602001015173ba12222222228d8ba445958a75a0704d566bf2c8866060015160018151811061178f5761178e613a4c565b5b6020026020010151612659565b60007f0000000000000000000000000f3e0c4218b7b0108a3643cfe9d3ec0d4f57c54e73ffffffffffffffffffffffffffffffffffffffff16632367971986600001518760200151886040015189608001518a60e001513060006040518863ffffffff1660e01b8152600401611818979695949392919061481c565b6020604051808303816000875af1158015611837573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185b91906148a7565b905060008173ffffffffffffffffffffffffffffffffffffffff166338fff2d06040518163ffffffff1660e01b81526004016020604051808303816000875af11580156118ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d09190613ab1565b90508173ffffffffffffffffffffffffffffffffffffffff167f2b416ce78f01c3304331a3a35005ee09bfb64c878f2be9849fc9909101bc61ac82886000015189602001518a604001518b608001518c60e0015130600060405161193b9897969594939291906148d4565b60405180910390a260405180608001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018760c001511515815260200187606001518860c0015161198b57600161198e565b60005b60ff16815181106119a2576119a1613a4c565b5b60200260200101518152602001876101400151815250600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548160ff021916908315150217905550604082015181600101556060820151816002019081611a7d919061433e565b50905050611a9582600261278f90919063ffffffff16565b611ad4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acb906149ba565b60405180910390fd5b6000808760600151604051602001611aed929190614a22565b604051602081830303815290604052905073ba12222222228d8ba445958a75a0704d566bf2c873ffffffffffffffffffffffffffffffffffffffff1663b95cac2883303060405180608001604052808d6040015181526020018d606001518152602001878152602001600015158152506040518563ffffffff1660e01b8152600401611b7c9493929190614ac3565b600060405180830381600087803b158015611b9657600080fd5b505af1158015611baa573d6000803e3d6000fd5b505050508273ffffffffffffffffffffffffffffffffffffffff167f5dcdc6c8b7b09c26d0c867e99f2b7389b69d982aa8f10b1373f84667a8f58b358860400151896060015184604051611c0093929190614b59565b60405180910390a28273ffffffffffffffffffffffffffffffffffffffff16633e5692058861010001518961012001518a60a001516040518463ffffffff1660e01b8152600401611c5393929190614ba5565b600060405180830381600087803b158015611c6d57600080fd5b505af1158015611c81573d6000803e3d6000fd5b505050508273ffffffffffffffffffffffffffffffffffffffff167f5b604c3eb0508fc702242270d353c7673f02b609e03862e244766785e39c278c8861010001518961012001518a60a00151604051611cdd93929190614ba5565b60405180910390a28295505050505050919050565b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611d2d9190612e73565b602060405180830381865afa158015611d4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d6e9190614be3565b9050919050565b7f000000000000000000000000824206c73e83f5be019f90a2439275458d9a5de581565b81600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611e6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6190613a2c565b60405180910390fd5b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905082600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508373ffffffffffffffffffffffffffffffffffffffff167f384b4ebfb7a1daf517a31e956ff005ea9f315e5a5f92ebee1e4a498e56a5c00e8285604051611f9a929190614c10565b60405180910390a250505050565b611fb06123de565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361201f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201690614cab565b60405180910390fd5b6120288161245c565b50565b600061203760026127bf565b905090565b60607f000000000000000000000000824206c73e83f5be019f90a2439275458d9a5de573ffffffffffffffffffffffffffffffffffffffff1663c4f59f9b6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156120a9573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906120d29190614ccb565b905090565b60006120e683600001836127d4565b60001c905092915050565b6000808373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161212d9190612e73565b602060405180830381865afa15801561214a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061216e9190614be3565b9050808311156121b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121aa90614d86565b60405180910390fd5b600081116121f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ed90614e18565b60405180910390fd5b600083146122045782612206565b805b91505092915050565b6000838360200151612222576000612225565b60015b60ff168151811061223957612238613a4c565b5b602002602001015190506000848460200151612256576001612259565b60005b60ff168151811061226d5761226c613a4c565b5b6020026020010151905060008273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016122b29190612e73565b602060405180830381865afa1580156122cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122f39190614be3565b90506000849050856040015185111561236d5760006127107f00000000000000000000000000000000000000000000000000000000000000fa88604001518861233c9190614077565b6123469190614e38565b6123509190614ea9565b9050808661235e9190614077565b915061236b8985836127ff565b505b612378888584612b52565b612383888483612b52565b5050505050505050565b60006123b5836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612bb4565b905092915050565b606060006123cd83600001612bd7565b905060608190508092505050919050565b6123e6612c33565b73ffffffffffffffffffffffffffffffffffffffff16612404610ee8565b73ffffffffffffffffffffffffffffffffffffffff161461245a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245190614f26565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808573ffffffffffffffffffffffffffffffffffffffff166323b872dd86868660405160240161255493929190614f46565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516125a29190614fb9565b6000604051808303816000865af19150503d80600081146125df576040519150601f19603f3d011682016040523d82523d6000602084013e6125e4565b606091505b509150915081801561261257506000815114806126115750808060200190518101906126109190614fe5565b5b5b612651576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264890615084565b60405180910390fd5b505050505050565b6000808473ffffffffffffffffffffffffffffffffffffffff1663095ea7b3858560405160240161268b9291906150a4565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516126d99190614fb9565b6000604051808303816000865af19150503d8060008114612716576040519150601f19603f3d011682016040523d82523d6000602084013e61271b565b606091505b509150915081801561274957506000815114806127485750808060200190518101906127479190614fe5565b5b5b612788576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277f9061513f565b60405180910390fd5b5050505050565b60006127b7836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612c3b565b905092915050565b60006127cd82600001612cab565b9050919050565b60008260000182815481106127ec576127eb613a4c565b5b9060005260206000200154905092915050565b600060028261280e9190614ea9565b90508273ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f000000000000000000000000824206c73e83f5be019f90a2439275458d9a5de5836040518363ffffffff1660e01b815260040161286b9291906150a4565b6020604051808303816000875af115801561288a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128ae9190614fe5565b508273ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f0000000000000000000000003c567525868ed30493c6cbb4e6c5addc10e57a7b836040518363ffffffff1660e01b815260040161290a9291906150a4565b6020604051808303816000875af1158015612929573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061294d9190614fe5565b507f000000000000000000000000824206c73e83f5be019f90a2439275458d9a5de573ffffffffffffffffffffffffffffffffffffffff1663a9fc507b84836040518363ffffffff1660e01b81526004016129a99291906150a4565b600060405180830381600087803b1580156129c357600080fd5b505af11580156129d7573d6000803e3d6000fd5b505050507f0000000000000000000000003c567525868ed30493c6cbb4e6c5addc10e57a7b73ffffffffffffffffffffffffffffffffffffffff1663a9fc507b84836040518363ffffffff1660e01b8152600401612a369291906150a4565b600060405180830381600087803b158015612a5057600080fd5b505af1158015612a64573d6000803e3d6000fd5b505050508373ffffffffffffffffffffffffffffffffffffffff167f204ae686c4033ffe86d8c43a868b07572798d37b4f75a781bd55980b187a96ad847f000000000000000000000000824206c73e83f5be019f90a2439275458d9a5de584604051612ad293929190614f46565b60405180910390a28373ffffffffffffffffffffffffffffffffffffffff167f204ae686c4033ffe86d8c43a868b07572798d37b4f75a781bd55980b187a96ad847f0000000000000000000000003c567525868ed30493c6cbb4e6c5addc10e57a7b84604051612b4493929190614f46565b60405180910390a250505050565b612b5d823383612cbc565b8273ffffffffffffffffffffffffffffffffffffffff167f18197d7ddedf9f741835c97e5b80d0e808803c23812ccaeb0ab9bc9c08ee3645833384604051612ba793929190614f46565b60405180910390a2505050565b600080836001016000848152602001908152602001600020541415905092915050565b606081600001805480602002602001604051908101604052809291908181526020018280548015612c2757602002820191906000526020600020905b815481526020019060010190808311612c13575b50505050509050919050565b600033905090565b6000612c478383612bb4565b612ca0578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612ca5565b600090505b92915050565b600081600001805490509050919050565b6000808473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401612cee9291906150a4565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051612d3c9190614fb9565b6000604051808303816000865af19150503d8060008114612d79576040519150601f19603f3d011682016040523d82523d6000602084013e612d7e565b606091505b5091509150818015612dac5750600081511480612dab575080806020019051810190612daa9190614fe5565b5b5b612deb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612de2906151d1565b60405180910390fd5b5050505050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160001515815260200160008152602001606081525090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e5d82612e32565b9050919050565b612e6d81612e52565b82525050565b6000602082019050612e886000830184612e64565b92915050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b612eb581612ea2565b8114612ec057600080fd5b50565b600081359050612ed281612eac565b92915050565b600060208284031215612eee57612eed612e98565b5b6000612efc84828501612ec3565b91505092915050565b612f0e81612e52565b8114612f1957600080fd5b50565b600081359050612f2b81612f05565b92915050565b600060208284031215612f4757612f46612e98565b5b6000612f5584828501612f1c565b91505092915050565b612f6781612e52565b82525050565b60008115159050919050565b612f8281612f6d565b82525050565b612f9181612ea2565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612fd1578082015181840152602081019050612fb6565b60008484015250505050565b6000601f19601f8301169050919050565b6000612ff982612f97565b6130038185612fa2565b9350613013818560208601612fb3565b61301c81612fdd565b840191505092915050565b600060808301600083015161303f6000860182612f5e565b5060208301516130526020860182612f79565b5060408301516130656040860182612f88565b506060830151848203606086015261307d8282612fee565b9150508091505092915050565b600060208201905081810360008301526130a48184613027565b905092915050565b6130b581612f6d565b81146130c057600080fd5b50565b6000813590506130d2816130ac565b92915050565b600080604083850312156130ef576130ee612e98565b5b60006130fd85828601612f1c565b925050602061310e858286016130c3565b9150509250929050565b6000806040838503121561312f5761312e612e98565b5b600061313d85828601612f1c565b925050602061314e85828601612ec3565b9150509250929050565b61316181612f6d565b82525050565b600060208201905061317c6000830184613158565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60006131ba8383612f5e565b60208301905092915050565b6000602082019050919050565b60006131de82613182565b6131e8818561318d565b93506131f38361319e565b8060005b8381101561322457815161320b88826131ae565b9750613216836131c6565b9250506001810190506131f7565b5085935050505092915050565b6000602082019050818103600083015261324b81846131d3565b905092915050565b61325c81612ea2565b82525050565b60006020820190506132776000830184613253565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60006132b58383612fee565b905092915050565b6000602082019050919050565b60006132d58261327d565b6132df8185613288565b9350836020820285016132f185613299565b8060005b8581101561332d578484038952815161330e85826132a9565b9450613319836132bd565b925060208a019950506001810190506132f5565b50829750879550505050505092915050565b6000604082019050818103600083015261335981856132ca565b9050818103602083015261336d81846131d3565b90509392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6133b882612fdd565b810181811067ffffffffffffffff821117156133d7576133d6613380565b5b80604052505050565b60006133ea612e8e565b90506133f682826133af565b919050565b600067ffffffffffffffff82111561341657613415613380565b5b61341f82612fdd565b9050602081019050919050565b82818337600083830152505050565b600061344e613449846133fb565b6133e0565b90508281526020810184848401111561346a5761346961337b565b5b61347584828561342c565b509392505050565b600082601f83011261349257613491613376565b5b81356134a284826020860161343b565b91505092915050565b600080604083850312156134c2576134c1612e98565b5b60006134d085828601612f1c565b925050602083013567ffffffffffffffff8111156134f1576134f0612e9d565b5b6134fd8582860161347d565b9150509250929050565b6000819050919050565b600061352c61352761352284612e32565b613507565b612e32565b9050919050565b600061353e82613511565b9050919050565b600061355082613533565b9050919050565b61356081613545565b82525050565b600060208201905061357b6000830184613557565b92915050565b600080fd5b600080fd5b600067ffffffffffffffff8211156135a6576135a5613380565b5b602082029050602081019050919050565b600080fd5b60006135cf6135ca8461358b565b6133e0565b905080838252602082019050602084028301858111156135f2576135f16135b7565b5b835b8181101561361b57806136078882612f1c565b8452602084019350506020810190506135f4565b5050509392505050565b600082601f83011261363a57613639613376565b5b813561364a8482602086016135bc565b91505092915050565b600067ffffffffffffffff82111561366e5761366d613380565b5b602082029050602081019050919050565b600061369261368d84613653565b6133e0565b905080838252602082019050602084028301858111156136b5576136b46135b7565b5b835b818110156136de57806136ca8882612ec3565b8452602084019350506020810190506136b7565b5050509392505050565b600082601f8301126136fd576136fc613376565b5b813561370d84826020860161367f565b91505092915050565b6000610160828403121561372d5761372c613581565b5b6137386101606133e0565b9050600082013567ffffffffffffffff81111561375857613757613586565b5b6137648482850161347d565b600083015250602082013567ffffffffffffffff81111561378857613787613586565b5b6137948482850161347d565b602083015250604082013567ffffffffffffffff8111156137b8576137b7613586565b5b6137c484828501613625565b604083015250606082013567ffffffffffffffff8111156137e8576137e7613586565b5b6137f4848285016136e8565b606083015250608082013567ffffffffffffffff81111561381857613817613586565b5b613824848285016136e8565b60808301525060a082013567ffffffffffffffff81111561384857613847613586565b5b613854848285016136e8565b60a08301525060c0613868848285016130c3565b60c08301525060e061387c84828501612ec3565b60e08301525061010061389184828501612ec3565b610100830152506101206138a784828501612ec3565b6101208301525061014082013567ffffffffffffffff8111156138cd576138cc613586565b5b6138d98482850161347d565b6101408301525092915050565b6000602082840312156138fc576138fb612e98565b5b600082013567ffffffffffffffff81111561391a57613919612e9d565b5b61392684828501613716565b91505092915050565b6000806040838503121561394657613945612e98565b5b600061395485828601612f1c565b925050602061396585828601612f1c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806139b657607f821691505b6020821081036139c9576139c861396f565b5b50919050565b600082825260208201905092915050565b7f216f776e65720000000000000000000000000000000000000000000000000000600082015250565b6000613a166006836139cf565b9150613a21826139e0565b602082019050919050565b60006020820190508181036000830152613a4581613a09565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000819050919050565b613a8e81613a7b565b8114613a9957600080fd5b50565b600081519050613aab81613a85565b92915050565b600060208284031215613ac757613ac6612e98565b5b6000613ad584828501613a9c565b91505092915050565b613ae781613a7b565b82525050565b6000602082019050613b026000830184613ade565b92915050565b600081519050613b1781612f05565b92915050565b6000613b30613b2b8461358b565b6133e0565b90508083825260208201905060208402830185811115613b5357613b526135b7565b5b835b81811015613b7c5780613b688882613b08565b845260208401935050602081019050613b55565b5050509392505050565b600082601f830112613b9b57613b9a613376565b5b8151613bab848260208601613b1d565b91505092915050565b600081519050613bc381612eac565b92915050565b6000613bdc613bd784613653565b6133e0565b90508083825260208201905060208402830185811115613bff57613bfe6135b7565b5b835b81811015613c285780613c148882613bb4565b845260208401935050602081019050613c01565b5050509392505050565b600082601f830112613c4757613c46613376565b5b8151613c57848260208601613bc9565b91505092915050565b600080600060608486031215613c7957613c78612e98565b5b600084015167ffffffffffffffff811115613c9757613c96612e9d565b5b613ca386828701613b86565b935050602084015167ffffffffffffffff811115613cc457613cc3612e9d565b5b613cd086828701613c32565b9250506040613ce186828701613bb4565b9150509250925092565b7f696e76616c696420696e707574206c656e677468000000000000000000000000600082015250565b6000613d216014836139cf565b9150613d2c82613ceb565b602082019050919050565b60006020820190508181036000830152613d5081613d14565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110613d9757613d96613d57565b5b50565b6000819050613da882613d86565b919050565b6000613db882613d9a565b9050919050565b613dc881613dad565b82525050565b6000604082019050613de36000830185613dbf565b613df06020830184613253565b9392505050565b6000613e0282613533565b9050919050565b613e1281613df7565b82525050565b600082825260208201905092915050565b6000613e3482613182565b613e3e8185613e18565b9350613e498361319e565b8060005b83811015613e7a578151613e6188826131ae565b9750613e6c836131c6565b925050600181019050613e4d565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000613ebf8383612f88565b60208301905092915050565b6000602082019050919050565b6000613ee382613e87565b613eed8185613e92565b9350613ef883613ea3565b8060005b83811015613f29578151613f108882613eb3565b9750613f1b83613ecb565b925050600181019050613efc565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000613f5d82613f36565b613f678185613f41565b9350613f77818560208601612fb3565b613f8081612fdd565b840191505092915050565b60006080830160008301518482036000860152613fa88282613e29565b91505060208301518482036020860152613fc28282613ed8565b91505060408301518482036040860152613fdc8282613f52565b9150506060830151613ff16060860182612f79565b508091505092915050565b60006080820190506140116000830187613ade565b61401e6020830186612e64565b61402b6040830185613e09565b818103606083015261403d8184613f8b565b905095945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061408282612ea2565b915061408d83612ea2565b92508282039050818111156140a5576140a4614048565b5b92915050565b60006140be6140b9846133fb565b6133e0565b9050828152602081018484840111156140da576140d961337b565b5b6140e5848285612fb3565b509392505050565b600082601f83011261410257614101613376565b5b81516141128482602086016140ab565b91505092915050565b60006020828403121561413157614130612e98565b5b600082015167ffffffffffffffff81111561414f5761414e612e9d565b5b61415b848285016140ed565b91505092915050565b600061ffff82169050919050565b600061417d82614164565b915061ffff820361419157614190614048565b5b600182019050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026141fe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826141c1565b61420886836141c1565b95508019841693508086168417925050509392505050565b600061423b61423661423184612ea2565b613507565b612ea2565b9050919050565b6000819050919050565b61425583614220565b61426961426182614242565b8484546141ce565b825550505050565b600090565b61427e614271565b61428981848461424c565b505050565b5b818110156142ad576142a2600082614276565b60018101905061428f565b5050565b601f8211156142f2576142c38161419c565b6142cc846141b1565b810160208510156142db578190505b6142ef6142e7856141b1565b83018261428e565b50505b505050565b600082821c905092915050565b6000614315600019846008026142f7565b1980831691505092915050565b600061432e8383614304565b9150826002028217905092915050565b61434782612f97565b67ffffffffffffffff8111156143605761435f613380565b5b61436a825461399e565b6143758282856142b1565b600060209050601f8311600181146143a85760008415614396578287015190505b6143a08582614322565b865550614408565b601f1984166143b68661419c565b60005b828110156143de578489015182556001820191506020850194506020810190506143b9565b868310156143fb57848901516143f7601f891682614304565b8355505b6001600288020188555050505b505050505050565b600061441b82612f97565b61442581856139cf565b9350614435818560208601612fb3565b61443e81612fdd565b840191505092915050565b600060208201905081810360008301526144638184614410565b905092915050565b7f4639204c425073206d75737420686176652065786163746c792074776f20746f60008201527f6b656e7300000000000000000000000000000000000000000000000000000000602082015250565b60006144c76024836139cf565b91506144d28261446b565b604082019050919050565b600060208201905081810360008301526144f6816144ba565b9050919050565b7f4c425020746f6b656e73206d75737420626520756e6971756500000000000000600082015250565b60006145336019836139cf565b915061453e826144fd565b602082019050919050565b6000602082019050818103600083015261456281614526565b9050919050565b7f4c42502073746172742074696d65206d75737420626520696e2074686520667560008201527f7475726500000000000000000000000000000000000000000000000000000000602082015250565b60006145c56024836139cf565b91506145d082614569565b604082019050919050565b600060208201905081810360008301526145f4816145b8565b9050919050565b7f4c425020656e642074696d65206d75737420626520677265617465722074686160008201527f6e2073746172742074696d650000000000000000000000000000000000000000602082015250565b6000614657602c836139cf565b9150614662826145fb565b604082019050919050565b600060208201905081810360008301526146868161464a565b9050919050565b7f496e636f72726563742066756e6420746f6b656e20616d6f756e740000000000600082015250565b60006146c3601b836139cf565b91506146ce8261468d565b602082019050919050565b600060208201905081810360008301526146f2816146b6565b9050919050565b600061470482612ea2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361473657614735614048565b5b600182019050919050565b7f66756e6420746f6b656e206e6f7420617070726f766564000000000000000000600082015250565b60006147776017836139cf565b915061478282614741565b602082019050919050565b600060208201905081810360008301526147a68161476a565b9050919050565b600082825260208201905092915050565b60006147c982613e87565b6147d381856147ad565b93506147de83613ea3565b8060005b8381101561480f5781516147f68882613eb3565b975061480183613ecb565b9250506001810190506147e2565b5085935050505092915050565b600060e0820190508181036000830152614836818a614410565b9050818103602083015261484a8189614410565b9050818103604083015261485e81886131d3565b9050818103606083015261487281876147be565b90506148816080830186613253565b61488e60a0830185612e64565b61489b60c0830184613158565b98975050505050505050565b6000602082840312156148bd576148bc612e98565b5b60006148cb84828501613b08565b91505092915050565b6000610100820190506148ea600083018b613ade565b81810360208301526148fc818a614410565b905081810360408301526149108189614410565b9050818103606083015261492481886131d3565b9050818103608083015261493881876147be565b905061494760a0830186613253565b61495460c0830185612e64565b61496160e0830184613158565b9998505050505050505050565b7f65786973747320616c7265616479000000000000000000000000000000000000600082015250565b60006149a4600e836139cf565b91506149af8261496e565b602082019050919050565b600060208201905081810360008301526149d381614997565b9050919050565b6000819050919050565b600060ff82169050919050565b6000614a0c614a07614a02846149da565b613507565b6149e4565b9050919050565b614a1c816149f1565b82525050565b6000604082019050614a376000830185614a13565b8181036020830152614a4981846147be565b90509392505050565b60006080830160008301518482036000860152614a6f8282613e29565b91505060208301518482036020860152614a898282613ed8565b91505060408301518482036040860152614aa38282613f52565b9150506060830151614ab86060860182612f79565b508091505092915050565b6000608082019050614ad86000830187613ade565b614ae56020830186612e64565b614af26040830185612e64565b8181036060830152614b048184614a52565b905095945050505050565b600082825260208201905092915050565b6000614b2b82613f36565b614b358185614b0f565b9350614b45818560208601612fb3565b614b4e81612fdd565b840191505092915050565b60006060820190508181036000830152614b7381866131d3565b90508181036020830152614b8781856147be565b90508181036040830152614b9b8184614b20565b9050949350505050565b6000606082019050614bba6000830186613253565b614bc76020830185613253565b8181036040830152614bd981846147be565b9050949350505050565b600060208284031215614bf957614bf8612e98565b5b6000614c0784828501613bb4565b91505092915050565b6000604082019050614c256000830185612e64565b614c326020830184612e64565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614c956026836139cf565b9150614ca082614c39565b604082019050919050565b60006020820190508181036000830152614cc481614c88565b9050919050565b600060208284031215614ce157614ce0612e98565b5b600082015167ffffffffffffffff811115614cff57614cfe612e9d565b5b614d0b84828501613b86565b91505092915050565b7f537065636966656420425054206f757420616d6f756e74206f7574206578636560008201527f656473206f776e65722062616c616e6365000000000000000000000000000000602082015250565b6000614d706031836139cf565b9150614d7b82614d14565b604082019050919050565b60006020820190508181036000830152614d9f81614d63565b9050919050565b7f506f6f6c206f776e6572204250542062616c616e6365206973206c657373207460008201527f68616e207a65726f000000000000000000000000000000000000000000000000602082015250565b6000614e026028836139cf565b9150614e0d82614da6565b604082019050919050565b60006020820190508181036000830152614e3181614df5565b9050919050565b6000614e4382612ea2565b9150614e4e83612ea2565b9250828202614e5c81612ea2565b91508282048414831517614e7357614e72614048565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614eb482612ea2565b9150614ebf83612ea2565b925082614ecf57614ece614e7a565b5b828204905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614f106020836139cf565b9150614f1b82614eda565b602082019050919050565b60006020820190508181036000830152614f3f81614f03565b9050919050565b6000606082019050614f5b6000830186612e64565b614f686020830185612e64565b614f756040830184613253565b949350505050565b600081905092915050565b6000614f9382613f36565b614f9d8185614f7d565b9350614fad818560208601612fb3565b80840191505092915050565b6000614fc58284614f88565b915081905092915050565b600081519050614fdf816130ac565b92915050565b600060208284031215614ffb57614ffa612e98565b5b600061500984828501614fd0565b91505092915050565b7f5472616e7366657248656c7065723a3a7472616e7366657246726f6d3a20747260008201527f616e7366657246726f6d206661696c6564000000000000000000000000000000602082015250565b600061506e6031836139cf565b915061507982615012565b604082019050919050565b6000602082019050818103600083015261509d81615061565b9050919050565b60006040820190506150b96000830185612e64565b6150c66020830184613253565b9392505050565b7f5472616e7366657248656c7065723a3a73616665417070726f76653a2061707060008201527f726f7665206661696c6564000000000000000000000000000000000000000000602082015250565b6000615129602b836139cf565b9150615134826150cd565b604082019050919050565b600060208201905081810360008301526151588161511c565b9050919050565b7f5472616e7366657248656c7065723a3a736166655472616e736665723a20747260008201527f616e73666572206661696c656400000000000000000000000000000000000000602082015250565b60006151bb602d836139cf565b91506151c68261515f565b604082019050919050565b600060208201905081810360008301526151ea816151ae565b905091905056fea2646970667358221220035bb0339638e45270fec87941ced76b52196be94467083036fa7ea1de07946e64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000fa0000000000000000000000000f3e0c4218b7b0108a3643cfe9d3ec0d4f57c54e000000000000000000000000824206c73e83f5be019f90a2439275458d9a5de50000000000000000000000003c567525868ed30493c6cbb4e6c5addc10e57a7b000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
-----Decoded View---------------
Arg [0] : _platformAccessFeeBPS (uint256): 250
Arg [1] : _LBPFactoryAddress (address): 0x0F3e0c4218b7b0108a3643cFe9D3ec0d4F57c54e
Arg [2] : _stakingAddress (address): 0x824206C73e83F5bE019F90a2439275458d9A5de5
Arg [3] : _lpStakingAddress (address): 0x3C567525868Ed30493C6CbB4e6C5ADDC10e57a7b
Arg [4] : _wethAddress (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000fa
Arg [1] : 0000000000000000000000000f3e0c4218b7b0108a3643cfe9d3ec0d4f57c54e
Arg [2] : 000000000000000000000000824206c73e83f5be019f90a2439275458d9a5de5
Arg [3] : 0000000000000000000000003c567525868ed30493c6cbb4e6c5addc10e57a7b
Arg [4] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.