More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 115 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Mature Unstake | 19050368 | 216 days ago | IN | 0 ETH | 0.00206188 | ||||
Stake Satoshis V... | 18929369 | 233 days ago | IN | 0 ETH | 0.00745193 | ||||
Unstake | 18865566 | 242 days ago | IN | 0 ETH | 0.00226532 | ||||
Unstake | 18574501 | 282 days ago | IN | 0 ETH | 0.00541348 | ||||
Stake Satoshis V... | 18567202 | 283 days ago | IN | 0 ETH | 0.01001639 | ||||
Unstake | 18531074 | 288 days ago | IN | 0 ETH | 0.00516976 | ||||
Unstake | 18526964 | 289 days ago | IN | 0 ETH | 0.00310382 | ||||
Unstake | 18526778 | 289 days ago | IN | 0 ETH | 0.00412197 | ||||
Mature Unstake | 18526053 | 289 days ago | IN | 0 ETH | 0.0029853 | ||||
Unstake | 18524912 | 289 days ago | IN | 0 ETH | 0.00264918 | ||||
Unstake | 18519354 | 290 days ago | IN | 0 ETH | 0.00405532 | ||||
Unstake | 18517612 | 290 days ago | IN | 0 ETH | 0.00262288 | ||||
Unstake | 18517603 | 290 days ago | IN | 0 ETH | 0.00239176 | ||||
Unstake | 18494481 | 294 days ago | IN | 0 ETH | 0.00192847 | ||||
Mature Unstake | 18492726 | 294 days ago | IN | 0 ETH | 0.00342592 | ||||
Unstake | 18463731 | 298 days ago | IN | 0 ETH | 0.00352074 | ||||
Unstake | 17961782 | 368 days ago | IN | 0 ETH | 0.00185645 | ||||
Mature Unstake | 17819245 | 388 days ago | IN | 0 ETH | 0.00246342 | ||||
Stake Satoshis V... | 17716601 | 403 days ago | IN | 0 ETH | 0.00495324 | ||||
Mature Unstake | 17696730 | 405 days ago | IN | 0 ETH | 0.00226187 | ||||
Unstake | 17545642 | 427 days ago | IN | 0 ETH | 0.0023989 | ||||
Stake Satoshis V... | 17513690 | 431 days ago | IN | 0 ETH | 0.00472418 | ||||
Unstake | 17467790 | 437 days ago | IN | 0 ETH | 0.00256168 | ||||
Unstake | 17456939 | 439 days ago | IN | 0 ETH | 0.00290432 | ||||
Unstake | 17424255 | 444 days ago | IN | 0 ETH | 0.00336049 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
SATStaking
Compiler Version
v0.8.18+commit.87f61d96
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.18; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } contract SATStaking is ReentrancyGuard{ /** Stake event logs **/ event Stake( address indexed staker, uint sats, uint duration, uint arraySlot, uint activeStakes ); /** Stake Claim event logs **/ event StakeClaim( address indexed initializer, address indexed staker, uint payout, uint daysDelayed, uint activeStakes ); event DirectStakeClaim( address indexed staker, uint payout, uint activeStakes ); /** Lobby event logs **/ event InTheLobby( uint entryDay, uint ethCheckedIn, address indexed lobbyMember, address indexed referrer ); event LeftTheLobby( uint entryDay, uint exitDay, uint ethCheckedOut, uint totalRewards, address indexed lobbyMember, uint ethLeftInLobby ); /** Satoshis Vision token interface and Safety Wrapper **/ using SafeERC20 for IERC20; IERC20 public SatoshisVision = IERC20(0x6C22910c6F75F828B305e57c6a54855D8adeAbf8); uint public immutable LaunchTime; //Launch time contract uint public TotalShares; //Total share of users uint public MaxStakeDuration = 5479; //Maximum stake time in days uint public EndOfLobby = 365; //Final day of an active lobby in days uint private MinUnstakePenalty = 182; //The minimum number days to be used when calulating penalty for an early unstake uint private OriginScale = 10; //Origin scale: represents 10% of penalty / payout sent to the origin address uint private FlushScale = 1000; //Flush scale: represents 0.1% sent to flush address uint private PenaltyScale = 4; //Penalty scale: represents 25% of penalties to leave in the lobby uint private DurationScale = 700; //Duration scale: represents 0.14% of penalties deducted from payout after a late unstake address private Reserve = 0xD14e0D9DB23A7925c6C19C28D9A616d873357CBD; address public OriginAddr = 0xaDEF1dd539a70D59477f9CF18354F9c264fFf40f; address payable public FlushAddr = payable(0xaDEF1dd539a70D59477f9CF18354F9c264fFf40f); struct StakeCollection { uint sats; uint share; uint startday; uint payday; uint duration; } struct StakeHistory { uint sats; uint share; int yield; uint startday; uint payday; uint duration; uint closed; } struct LobbyEntries { uint ethCheckIn; address referralAddress; } /** Stakers mapping **/ mapping(address => StakeCollection[]) public stakersArray; mapping(address => StakeHistory[]) public stakersHistory; /** Lobby mappings**/ mapping(uint => mapping(address => LobbyEntries[])) public lobby; mapping(address => uint[]) public lobbyMapping; //Used by frontend to view a lobby member's day of entry. Does not affect flow of contract mapping(uint => uint) public lobbyTotalEth; mapping(uint => uint) public lobbyCut; constructor() { LaunchTime = block.timestamp; } function currentDay() public view returns (uint){ return (block.timestamp - LaunchTime) / 1 days; } function timeStamp() external view returns (uint){ return block.timestamp; } function contractBalance() public view returns (uint) { return SatoshisVision.balanceOf(address(this)); } function deleteFromMapping(address _recipient, uint _arraySlot) private { if (_arraySlot != stakersArray[_recipient].length - 1) { stakersArray[_recipient][_arraySlot] = stakersArray[_recipient][stakersArray[_recipient].length - 1]; } stakersArray[_recipient].pop(); } function stakeSatoshisVision(uint256 _satoshiAmount, uint256 _duration) external nonReentrant { require(_satoshiAmount > 10000, "Stake amount too low"); require(_duration >= 7 && _duration <= MaxStakeDuration, "INVALID STAKE TIME"); SatoshisVision.safeTransferFrom(msg.sender, address(this), _satoshiAmount);// CHANGE ADDRESS ON MAINNET if (TotalShares == 0 ){ stakersArray[msg.sender].push(StakeCollection(_satoshiAmount, _satoshiAmount, block.timestamp, block.timestamp + (_duration * 1 days), _duration)); stakersHistory[msg.sender].push(StakeHistory(_satoshiAmount, _satoshiAmount, 0, block.timestamp, block.timestamp + (_duration * 1 days), _duration, 0)); TotalShares += _satoshiAmount; } else{ uint TotalSATS = contractBalance(); uint SATShare = _satoshiAmount * TotalShares / TotalSATS; stakersArray[msg.sender].push(StakeCollection(_satoshiAmount, SATShare, block.timestamp, block.timestamp + (_duration * 1 days), _duration)); stakersHistory[msg.sender].push(StakeHistory(_satoshiAmount, SATShare, 0, block.timestamp, block.timestamp + (_duration * 1 days), _duration, 0)); TotalShares += SATShare; } emit Stake(msg.sender, _satoshiAmount, _duration, stakersArray[msg.sender].length - 1, stakersArray[msg.sender].length); } function matureUnstake(address _recipient, uint _arraySlot) external nonReentrant { require(_recipient != address(0), "Address zero not allowed"); require(_recipient != address(this), "Contract address not allowed"); require(stakersArray[_recipient].length != 0, "Recipient has no Stakes"); require(_arraySlot < stakersArray[_recipient].length, "Invalid slot"); StakeCollection memory sc = stakersArray[_recipient][_arraySlot]; require(block.timestamp >= sc.payday, "Immature Unstake"); uint TotalSATS = contractBalance(); uint SATS = sc.share * TotalSATS / TotalShares; uint payout = _calculatePayout(SATS, sc.duration * 1 days); uint totalPayout = SATS + payout; uint delay = block.timestamp - sc.payday; if (delay > 14 days){ totalPayout = _calculateLatePayout(totalPayout, delay - 14 days); } TotalShares -= sc.share; stakersHistory[_recipient][_arraySlot] = StakeHistory(sc.sats, sc.share, int(totalPayout) - int(sc.sats), sc.startday, sc.payday, sc.duration, block.timestamp); deleteFromMapping(_recipient, _arraySlot); if (totalPayout > 0){ if (totalPayout > SATS && totalPayout - SATS > OriginScale){ uint OriginAccounting = (totalPayout - SATS) / OriginScale; SatoshisVision.safeTransferFrom(Reserve, address(this), totalPayout - SATS); SatoshisVision.safeTransfer(OriginAddr, OriginAccounting); SatoshisVision.safeTransfer(_recipient, totalPayout - OriginAccounting); } else{ SatoshisVision.safeTransfer(_recipient, totalPayout); } } emit StakeClaim(msg.sender, _recipient, totalPayout, delay > 1 days ? delay / 1 days : 0, stakersArray[_recipient].length); } function unstake(uint _arraySlot) external nonReentrant { require(msg.sender != address(0), "Address zero not allowed"); require(msg.sender != address(this), "Contract address not allowed"); require(stakersArray[msg.sender].length != 0, "You have no Stakes"); require(_arraySlot < stakersArray[msg.sender].length, "Invalid slot"); StakeCollection memory sc = stakersArray[msg.sender][_arraySlot]; uint TotalSATS = contractBalance(); uint SATS = sc.share * TotalSATS / TotalShares; uint totalPayout; if (sc.payday > block.timestamp){ uint actualStakeTime = block.timestamp - sc.startday; require(actualStakeTime > 0); totalPayout = _calculateEarlyPayout(SATS, actualStakeTime); } else{ uint payout = _calculatePayout(SATS, sc.duration * 1 days); totalPayout = SATS + payout; uint delay = block.timestamp - sc.payday; if (delay > 14 days){ totalPayout = _calculateLatePayout(totalPayout, delay - 14 days); } } TotalShares -= sc.share; stakersHistory[msg.sender][_arraySlot] = StakeHistory(sc.sats, sc.share, int(totalPayout) - int(sc.sats), sc.startday, sc.payday, sc.duration, block.timestamp); deleteFromMapping(msg.sender, _arraySlot); if (totalPayout > 0){ if (totalPayout > SATS && totalPayout - SATS > OriginScale){ uint OriginAccounting = (totalPayout - SATS) / OriginScale; SatoshisVision.safeTransferFrom(Reserve, address(this), totalPayout - SATS); SatoshisVision.safeTransfer(OriginAddr, OriginAccounting); SatoshisVision.safeTransfer(msg.sender, totalPayout - OriginAccounting); } else{ SatoshisVision.safeTransfer(msg.sender, totalPayout); } } emit DirectStakeClaim(msg.sender, totalPayout, stakersArray[msg.sender].length); } function _calculatePayout(uint _sats, uint _seconds) internal pure returns (uint payout) { uint longerPaysBetter = (_sats * (_seconds / 1 days)) / 1820; uint biggerPaysBetter = _sats < 1e15 ? (_sats ** 2) / 21e15 : 4e13; payout = longerPaysBetter + biggerPaysBetter; } function _calculateEarlyPayout(uint _sats, uint _seconds) internal returns (uint) { if (_seconds < 1 days) _seconds = 1 days; uint payout = _calculatePayout(_sats, _seconds); uint penalty = (payout * MinUnstakePenalty) / (_seconds / 1 days); uint totalPayout = _sats + payout > penalty ? (_sats + payout) - penalty : 0; if (penalty <= _sats) { if(currentDay() < EndOfLobby){ SatoshisVision.safeTransfer(OriginAddr, penalty / OriginScale); lobbyCut[currentDay()] += penalty / PenaltyScale; } else{ SatoshisVision.safeTransfer(OriginAddr, penalty / OriginScale); SatoshisVision.safeTransfer(Reserve, penalty / PenaltyScale); } } return totalPayout; } function _calculateLatePayout(uint _totalPayout, uint _seconds) internal view returns (uint actualPayout) { uint penalty = _calculateLatePenalty(_totalPayout, _seconds); actualPayout = penalty < _totalPayout ? _totalPayout - penalty : 0; } function _calculateLatePenalty(uint _rawPayout, uint _seconds) internal view returns (uint penalty) { uint secondsToDays = _seconds / 1 days; penalty = _rawPayout * secondsToDays / DurationScale; } /** @notice Helper for frontend to receive user's stake length */ function individualStakesLength(address _recipient) external view returns (uint, uint) { return (stakersArray[_recipient].length, stakersHistory[_recipient].length); } /** @notice Enter lobby with Eth to receive a percentage of penalties from early unstakers */ function enterLobby(address _referralAddress) external payable { require(msg.value != 0, "Value cannot be zero"); require(currentDay() < EndOfLobby, "Lobbies have ended"); if (lobby[currentDay()][msg.sender].length == 0){ lobbyMapping[msg.sender].push(currentDay()); } uint lobbyFee = msg.value / FlushScale; lobby[currentDay()][msg.sender].push(LobbyEntries(msg.value - lobbyFee, _referralAddress)); lobbyTotalEth[currentDay()] += msg.value - lobbyFee; FlushAddr.transfer(lobbyFee); emit InTheLobby(currentDay(), msg.value - lobbyFee, msg.sender, _referralAddress); } /** @notice Exit lobby with Eth and any penalty rewards */ function exitLobby(uint _entryDay) external nonReentrant { require(currentDay() >= _entryDay++, "This lobby will be open after 24 hours"); require(lobby[_entryDay][msg.sender].length != 0, "You're not in this lobby"); uint ethCheckout; uint totalRewards; while(lobby[_entryDay][msg.sender].length > 0){ uint ethCheckedIn = lobby[_entryDay][msg.sender][lobby[_entryDay][msg.sender].length - 1].ethCheckIn; address referrer = lobby[_entryDay][msg.sender][lobby[_entryDay][msg.sender].length - 1].referralAddress; uint rewards = lobbyCut[_entryDay] * ethCheckedIn / lobbyTotalEth[_entryDay]; if (referrer != address(0) && rewards > 5 && SatoshisVision.balanceOf(address(this)) > rewards) { SatoshisVision.safeTransfer(referrer, rewards / 5); totalRewards += rewards - (rewards / 5); }else{ totalRewards += rewards; } ethCheckout += ethCheckedIn; lobbyCut[_entryDay] -= rewards; lobbyTotalEth[_entryDay] -= ethCheckedIn; lobby[_entryDay][msg.sender].pop(); } if (totalRewards > 0 && SatoshisVision.balanceOf(address(this)) > totalRewards){ SatoshisVision.safeTransfer(msg.sender, totalRewards); } lobbyDelete(msg.sender, _entryDay); payable(msg.sender).transfer(ethCheckout); emit LeftTheLobby(_entryDay, (block.timestamp - _entryDay) / 1 days, ethCheckout, totalRewards, msg.sender, lobbyTotalEth[_entryDay]); } /** @notice Delete from lobbyMapping which is used by frontend. Does not affect contract flow */ function lobbyDelete(address _member, uint _entryDaySlot) private { if (_entryDaySlot != lobbyMapping[_member].length - 1) { lobbyMapping[_member][_entryDaySlot] = lobbyMapping[_member][lobbyMapping[_member].length - 1]; } lobbyMapping[_member].pop(); } /** @notice Helper for frontend to receive days length of single lobby member */ function lobbyMemberDaysLength(address _member) external view returns (uint) { return lobbyMapping[_member].length; } /** @notice Remove foreign tokens from the smart contract */ function sweep( IERC20 token ) external { require(token != SatoshisVision, "Cannot be SATS"); token.safeTransfer(OriginAddr, token.balanceOf(address(this))); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"staker","type":"address"},{"indexed":false,"internalType":"uint256","name":"payout","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"activeStakes","type":"uint256"}],"name":"DirectStakeClaim","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"entryDay","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethCheckedIn","type":"uint256"},{"indexed":true,"internalType":"address","name":"lobbyMember","type":"address"},{"indexed":true,"internalType":"address","name":"referrer","type":"address"}],"name":"InTheLobby","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"entryDay","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"exitDay","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethCheckedOut","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalRewards","type":"uint256"},{"indexed":true,"internalType":"address","name":"lobbyMember","type":"address"},{"indexed":false,"internalType":"uint256","name":"ethLeftInLobby","type":"uint256"}],"name":"LeftTheLobby","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"staker","type":"address"},{"indexed":false,"internalType":"uint256","name":"sats","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"duration","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"arraySlot","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"activeStakes","type":"uint256"}],"name":"Stake","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"initializer","type":"address"},{"indexed":true,"internalType":"address","name":"staker","type":"address"},{"indexed":false,"internalType":"uint256","name":"payout","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"daysDelayed","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"activeStakes","type":"uint256"}],"name":"StakeClaim","type":"event"},{"inputs":[],"name":"EndOfLobby","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FlushAddr","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LaunchTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MaxStakeDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OriginAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SatoshisVision","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TotalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentDay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_referralAddress","type":"address"}],"name":"enterLobby","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_entryDay","type":"uint256"}],"name":"exitLobby","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"}],"name":"individualStakesLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"lobby","outputs":[{"internalType":"uint256","name":"ethCheckIn","type":"uint256"},{"internalType":"address","name":"referralAddress","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lobbyCut","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"lobbyMapping","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_member","type":"address"}],"name":"lobbyMemberDaysLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lobbyTotalEth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_arraySlot","type":"uint256"}],"name":"matureUnstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_satoshiAmount","type":"uint256"},{"internalType":"uint256","name":"_duration","type":"uint256"}],"name":"stakeSatoshisVision","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"stakersArray","outputs":[{"internalType":"uint256","name":"sats","type":"uint256"},{"internalType":"uint256","name":"share","type":"uint256"},{"internalType":"uint256","name":"startday","type":"uint256"},{"internalType":"uint256","name":"payday","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"stakersHistory","outputs":[{"internalType":"uint256","name":"sats","type":"uint256"},{"internalType":"uint256","name":"share","type":"uint256"},{"internalType":"int256","name":"yield","type":"int256"},{"internalType":"uint256","name":"startday","type":"uint256"},{"internalType":"uint256","name":"payday","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"closed","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"sweep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"timeStamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_arraySlot","type":"uint256"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a0604052736c22910c6f75f828b305e57c6a54855d8adeabf8600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061156760035561016d60045560b6600555600a6006556103e860075560046008556102bc60095573d14e0d9db23a7925c6c19c28d9a616d873357cbd600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073adef1dd539a70d59477f9cf18354f9c264fff40f600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073adef1dd539a70d59477f9cf18354f9c264fff40f600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555034801561018b57600080fd5b506001600081905550426080818152505060805161487f6101be60003960008181611cbc0152611cf7015261487f6000f3fe60806040526004361061014b5760003560e01c80638b7afe2e116100b6578063d95a66cb1161006f578063d95a66cb146104c4578063e0e2fbe4146104ef578063e90a39b01461050b578063eb88ac8b14610536578063f9b4eba214610574578063fbbb227e1461059d5761014b565b80638b7afe2e146103825780639ffa1acb146103ad578063a5a82a70146103ea578063c8aeb91414610415578063d806741d14610440578063d8846a91146104835761014b565b80633d053f1e116101085780633d053f1e1461025e5780634797e3161461029b5780635c9302c9146102c4578063651ff925146102ef578063758c0f821461031a5780638abb1e74146103575761014b565b806301681a62146101505780630ab0df8714610179578063104c7490146101a4578063246bb536146101e15780632e17de781461020a57806332d4b02514610233575b600080fd5b34801561015c57600080fd5b5061017760048036038101906101729190613678565b6105db565b005b34801561018557600080fd5b5061018e610734565b60405161019b91906136be565b60405180910390f35b3480156101b057600080fd5b506101cb60048036038101906101c69190613731565b61073c565b6040516101d891906136be565b60405180910390f35b3480156101ed57600080fd5b5061020860048036038101906102039190613771565b61076d565b005b34801561021657600080fd5b50610231600480360381019061022c91906137b1565b610d6b565b005b34801561023f57600080fd5b50610248611476565b604051610255919061383d565b60405180910390f35b34801561026a57600080fd5b5061028560048036038101906102809190613858565b61149c565b60405161029291906136be565b60405180910390f35b3480156102a757600080fd5b506102c260048036038101906102bd91906137b1565b6114e8565b005b3480156102d057600080fd5b506102d9611cb4565b6040516102e691906136be565b60405180910390f35b3480156102fb57600080fd5b50610304611cf5565b60405161031191906136be565b60405180910390f35b34801561032657600080fd5b50610341600480360381019061033c91906137b1565b611d19565b60405161034e91906136be565b60405180910390f35b34801561036357600080fd5b5061036c611d31565b60405161037991906136be565b60405180910390f35b34801561038e57600080fd5b50610397611d37565b6040516103a491906136be565b60405180910390f35b3480156103b957600080fd5b506103d460048036038101906103cf91906137b1565b611dda565b6040516103e191906136be565b60405180910390f35b3480156103f657600080fd5b506103ff611df2565b60405161040c9190613894565b60405180910390f35b34801561042157600080fd5b5061042a611e18565b60405161043791906136be565b60405180910390f35b34801561044c57600080fd5b5061046760048036038101906104629190613731565b611e1e565b60405161047a97969594939291906138c8565b60405180910390f35b34801561048f57600080fd5b506104aa60048036038101906104a59190613731565b611e7d565b6040516104bb959493929190613937565b60405180910390f35b3480156104d057600080fd5b506104d9611ed0565b6040516104e691906136be565b60405180910390f35b61050960048036038101906105049190613858565b611ed6565b005b34801561051757600080fd5b50610520612271565b60405161052d91906139ab565b60405180910390f35b34801561054257600080fd5b5061055d600480360381019061055891906139c6565b612297565b60405161056b929190613a19565b60405180910390f35b34801561058057600080fd5b5061059b60048036038101906105969190613731565b612305565b005b3480156105a957600080fd5b506105c460048036038101906105bf9190613858565b612a51565b6040516105d2929190613a42565b60405180910390f35b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361066b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066290613ac8565b60405180910390fd5b610731600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016106ca9190613894565b602060405180830381865afa1580156106e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070b9190613afd565b8373ffffffffffffffffffffffffffffffffffffffff16612ae39092919063ffffffff16565b50565b600042905090565b6010602052816000526040600020818154811061075857600080fd5b90600052602060002001600091509150505481565b610775612b69565b61271082116107b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b090613b76565b60405180910390fd5b600781101580156107cc57506003548111155b61080b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080290613be2565b60405180910390fd5b61085a333084600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612bb8909392919063ffffffff16565b600060025403610a5c57600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060a0016040528084815260200184815260200142815260200162015180846108cf9190613c31565b426108da9190613c73565b815260200183815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000155602082015181600101556040820151816002015560608201518160030155608082015181600401555050600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060e001604052808481526020018481526020016000815260200142815260200162015180846109b29190613c31565b426109bd9190613c73565b815260200183815260200160008152509080600181540180825580915050600190039060005260206000209060070201600090919091909150600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c0820151816006015550508160026000828254610a509190613c73565b92505081905550610c7b565b6000610a66611d37565b905060008160025485610a799190613c31565b610a839190613cd6565b9050600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060a001604052808681526020018381526020014281526020016201518086610af09190613c31565b42610afb9190613c73565b815260200185815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000155602082015181600101556040820151816002015560608201518160030155608082015181600401555050600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060e00160405280868152602001838152602001600081526020014281526020016201518086610bd39190613c31565b42610bde9190613c73565b815260200185815260200160008152509080600181540180825580915050600190039060005260206000209060070201600090919091909150600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c0820151816006015550508060026000828254610c719190613c73565b9250508190555050505b3373ffffffffffffffffffffffffffffffffffffffff167f2720efa4b2dd4f3f8a347da3cbd290a522e9432da9072c5b8e6300496fdde28283836001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050610d049190613d07565b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050604051610d579493929190613d3b565b60405180910390a2610d67612c41565b5050565b610d73612b69565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1603610de2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd990613dcc565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1603610e50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4790613e38565b60405180910390fd5b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905003610ed5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecc90613ea4565b60405180910390fd5b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490508110610f59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5090613f10565b60405180910390fd5b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110610fac57610fab613f30565b5b90600052602060002090600502016040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152505090506000611003611d37565b9050600060025482846020015161101a9190613c31565b6110249190613cd6565b9050600042846060015111156110675760008460400151426110469190613d07565b90506000811161105557600080fd5b61105f8382612c4b565b9150506110d2565b6000611085836201518087608001516110809190613c31565b612eaa565b905080836110939190613c73565b915060008560600151426110a79190613d07565b9050621275008111156110cf576110cc8362127500836110c79190613d07565b612f2a565b92505b50505b8360200151600260008282546110e89190613d07565b925050819055506040518060e00160405280856000015181526020018560200151815260200185600001518361111e9190613f5f565b815260200185604001518152602001856060015181526020018560800151815260200142815250600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020868154811061119657611195613f30565b5b9060005260206000209060070201600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c082015181600601559050506111f73386612f5d565b60008111156113d557818111801561121b575060065482826112199190613d07565b115b1561138657600060065483836112319190613d07565b61123b9190613cd6565b90506112b9600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff163085856112709190613d07565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612bb8909392919063ffffffff16565b611328600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ae39092919063ffffffff16565b6113803382846113389190613d07565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ae39092919063ffffffff16565b506113d4565b6113d33382600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ae39092919063ffffffff16565b5b5b3373ffffffffffffffffffffffffffffffffffffffff167f2904c208e70ba4e86d4336fa5651491dd8811e78e45279e93d35e2f4eb762e3882600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905060405161145f929190613a42565b60405180910390a250505050611473612c41565b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b6114f0612b69565b80806114fb90613fa2565b9150611505611cb4565b1015611546576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153d9061405c565b60405180910390fd5b6000600f600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050036115dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d3906140c8565b60405180910390fd5b6000805b6000600f600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490501115611ad7576000600f600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600f600087815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506116ee9190613d07565b815481106116ff576116fe613f30565b5b90600052602060002090600202016000015490506000600f600086815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600f600088815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506117c59190613d07565b815481106117d6576117d5613f30565b5b906000526020600020906002020160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000601160008781526020019081526020016000205483601260008981526020019081526020016000205461183f9190613c31565b6118499190613cd6565b9050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156118885750600581115b801561192e575080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016118eb9190613894565b602060405180830381865afa158015611908573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061192c9190613afd565b115b156119b65761198c826005836119449190613cd6565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ae39092919063ffffffff16565b6005816119999190613cd6565b816119a49190613d07565b846119af9190613c73565b93506119c5565b80846119c29190613c73565b93505b82856119d19190613c73565b9450806012600088815260200190815260200160002060008282546119f69190613d07565b9250508190555082601160008881526020019081526020016000206000828254611a209190613d07565b92505081905550600f600087815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480611a8757611a866140e8565b5b60019003818190600052602060002090600202016000808201600090556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055505090555050506115e0565b600081118015611b81575080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611b3e9190613894565b602060405180830381865afa158015611b5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b7f9190613afd565b115b15611bd457611bd33382600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ae39092919063ffffffff16565b5b611bde3384613188565b3373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611c24573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff167f09432913cfcc647f2a9cd1a6e5d7ce7193f7e887efc483385755e24577cada1084620151808642611c6e9190613d07565b611c789190613cd6565b8585601160008a815260200190815260200160002054604051611c9f959493929190613937565b60405180910390a25050611cb1612c41565b50565b6000620151807f000000000000000000000000000000000000000000000000000000000000000042611ce69190613d07565b611cf09190613cd6565b905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b60116020528060005260406000206000915090505481565b60025481565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611d949190613894565b602060405180830381865afa158015611db1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dd59190613afd565b905090565b60126020528060005260406000206000915090505481565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60045481565b600e6020528160005260406000208181548110611e3a57600080fd5b9060005260206000209060070201600091509150508060000154908060010154908060020154908060030154908060040154908060050154908060060154905087565b600d6020528160005260406000208181548110611e9957600080fd5b9060005260206000209060050201600091509150508060000154908060010154908060020154908060030154908060040154905085565b60035481565b60003403611f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1090614163565b60405180910390fd5b600454611f24611cb4565b10611f64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5b906141cf565b60405180910390fd5b6000600f6000611f72611cb4565b815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490500361203457601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061200d611cb4565b90806001815401808255809150506001900390600052602060002001600090919091909150555b6000600754346120449190613cd6565b9050600f6000612052611cb4565b815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806040016040528083346120b49190613d07565b81526020018473ffffffffffffffffffffffffffffffffffffffff1681525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050803461215b9190613d07565b60116000612167611cb4565b815260200190815260200160002060008282546121849190613c73565b92505081905550600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156121f3573d6000803e3d6000fd5b508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f16d803d203b5160917e5f75ad259647d32a4915650a29ce16383d5f4b318aae461224b611cb4565b84346122579190613d07565b604051612265929190613a42565b60405180910390a35050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600f60205282600052604060002060205281600052604060002081815481106122bf57600080fd5b906000526020600020906002020160009250925050508060000154908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905082565b61230d612b69565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361237c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237390613dcc565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036123ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e190613e38565b60405180910390fd5b6000600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490500361246f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124669061423b565b60405180910390fd5b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905081106124f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ea90613f10565b60405180910390fd5b6000600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020828154811061254657612545613f30565b5b90600052602060002090600502016040518060a001604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481525050905080606001514210156125da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d1906142a7565b60405180910390fd5b60006125e4611d37565b905060006002548284602001516125fb9190613c31565b6126059190613cd6565b90506000612625826201518086608001516126209190613c31565b612eaa565b9050600081836126359190613c73565b905060008560600151426126499190613d07565b9050621275008111156126715761266e8262127500836126699190613d07565b612f2a565b91505b8560200151600260008282546126879190613d07565b925050819055506040518060e0016040528087600001518152602001876020015181526020018760000151846126bd9190613f5f565b815260200187604001518152602001876060015181526020018760800151815260200142815250600e60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020888154811061273557612734613f30565b5b9060005260206000209060070201600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c082015181600601559050506127968888612f5d565b60008211156129745783821180156127ba575060065484836127b89190613d07565b115b1561292557600060065485846127d09190613d07565b6127da9190613cd6565b9050612858600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1630878661280f9190613d07565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612bb8909392919063ffffffff16565b6128c7600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ae39092919063ffffffff16565b61291f8982856128d79190613d07565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ae39092919063ffffffff16565b50612973565b6129728883600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ae39092919063ffffffff16565b5b5b8773ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f2dd7e59b2c8d06269c694a878ccfd937d7c0a5de22d6424ce05611daaa069303846201518085116129d55760006129e5565b62015180856129e49190613cd6565b5b600d60008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050604051612a37939291906142c7565b60405180910390a3505050505050612a4d612c41565b5050565b600080600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905091509150915091565b612b648363a9059cbb60e01b8484604051602401612b029291906142fe565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613350565b505050565b600260005403612bae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba590614373565b60405180910390fd5b6002600081905550565b612c3b846323b872dd60e01b858585604051602401612bd993929190614393565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613350565b50505050565b6001600081905550565b600062015180821015612c5f576201518091505b6000612c6b8484612eaa565b905060006201518084612c7e9190613cd6565b60055483612c8c9190613c31565b612c969190613cd6565b90506000818387612ca79190613c73565b11612cb3576000612ccb565b818387612cc09190613c73565b612cca9190613d07565b5b9050858211612e9e57600454612cdf611cb4565b1015612da457612d61600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660065484612d199190613cd6565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ae39092919063ffffffff16565b60085482612d6f9190613cd6565b60126000612d7b611cb4565b81526020019081526020016000206000828254612d989190613c73565b92505081905550612e9d565b612e20600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660065484612dd89190613cd6565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ae39092919063ffffffff16565b612e9c600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660085484612e549190613cd6565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ae39092919063ffffffff16565b5b5b80935050505092915050565b60008061071c6201518084612ebf9190613cd6565b85612eca9190613c31565b612ed49190613cd6565b9050600066038d7ea4c680008510612ef25765246139ca8000612f12565b664a9b6384488000600286612f07919061450a565b612f119190613cd6565b5b90508082612f209190613c73565b9250505092915050565b600080612f378484613417565b9050838110612f47576000612f54565b8084612f539190613d07565b5b91505092915050565b6001600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050612fac9190613d07565b81146130f457600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506130409190613d07565b8154811061305157613050613f30565b5b9060005260206000209060050201600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002082815481106130b0576130af613f30565b5b906000526020600020906005020160008201548160000155600182015481600101556002820154816002015560038201548160030155600482015481600401559050505b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480613143576131426140e8565b5b60019003818190600052602060002090600502016000808201600090556001820160009055600282016000905560038201600090556004820160009055505090555050565b6001601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506131d79190613d07565b81146132e757601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001601060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061326b9190613d07565b8154811061327c5761327b613f30565b5b9060005260206000200154601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002082815481106132d8576132d7613f30565b5b90600052602060002001819055505b601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480613336576133356140e8565b5b600190038181906000526020600020016000905590555050565b60006133b2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661344d9092919063ffffffff16565b905060008151111561341257808060200190518101906133d2919061458d565b613411576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134089061462c565b60405180910390fd5b5b505050565b60008062015180836134299190613cd6565b9050600954818561343a9190613c31565b6134449190613cd6565b91505092915050565b606061345c8484600085613465565b90509392505050565b6060824710156134aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134a1906146be565b60405180910390fd5b6134b385613579565b6134f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134e99061472a565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161351b91906147bb565b60006040518083038185875af1925050503d8060008114613558576040519150601f19603f3d011682016040523d82523d6000602084013e61355d565b606091505b509150915061356d82828661359c565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b606083156135ac578290506135fc565b6000835111156135bf5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135f39190614827565b60405180910390fd5b9392505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061363382613608565b9050919050565b600061364582613628565b9050919050565b6136558161363a565b811461366057600080fd5b50565b6000813590506136728161364c565b92915050565b60006020828403121561368e5761368d613603565b5b600061369c84828501613663565b91505092915050565b6000819050919050565b6136b8816136a5565b82525050565b60006020820190506136d360008301846136af565b92915050565b6136e281613628565b81146136ed57600080fd5b50565b6000813590506136ff816136d9565b92915050565b61370e816136a5565b811461371957600080fd5b50565b60008135905061372b81613705565b92915050565b6000806040838503121561374857613747613603565b5b6000613756858286016136f0565b92505060206137678582860161371c565b9150509250929050565b6000806040838503121561378857613787613603565b5b60006137968582860161371c565b92505060206137a78582860161371c565b9150509250929050565b6000602082840312156137c7576137c6613603565b5b60006137d58482850161371c565b91505092915050565b6000819050919050565b60006138036137fe6137f984613608565b6137de565b613608565b9050919050565b6000613815826137e8565b9050919050565b60006138278261380a565b9050919050565b6138378161381c565b82525050565b6000602082019050613852600083018461382e565b92915050565b60006020828403121561386e5761386d613603565b5b600061387c848285016136f0565b91505092915050565b61388e81613628565b82525050565b60006020820190506138a96000830184613885565b92915050565b6000819050919050565b6138c2816138af565b82525050565b600060e0820190506138dd600083018a6136af565b6138ea60208301896136af565b6138f760408301886138b9565b61390460608301876136af565b61391160808301866136af565b61391e60a08301856136af565b61392b60c08301846136af565b98975050505050505050565b600060a08201905061394c60008301886136af565b61395960208301876136af565b61396660408301866136af565b61397360608301856136af565b61398060808301846136af565b9695505050505050565b600061399582613608565b9050919050565b6139a58161398a565b82525050565b60006020820190506139c0600083018461399c565b92915050565b6000806000606084860312156139df576139de613603565b5b60006139ed8682870161371c565b93505060206139fe868287016136f0565b9250506040613a0f8682870161371c565b9150509250925092565b6000604082019050613a2e60008301856136af565b613a3b6020830184613885565b9392505050565b6000604082019050613a5760008301856136af565b613a6460208301846136af565b9392505050565b600082825260208201905092915050565b7f43616e6e6f742062652053415453000000000000000000000000000000000000600082015250565b6000613ab2600e83613a6b565b9150613abd82613a7c565b602082019050919050565b60006020820190508181036000830152613ae181613aa5565b9050919050565b600081519050613af781613705565b92915050565b600060208284031215613b1357613b12613603565b5b6000613b2184828501613ae8565b91505092915050565b7f5374616b6520616d6f756e7420746f6f206c6f77000000000000000000000000600082015250565b6000613b60601483613a6b565b9150613b6b82613b2a565b602082019050919050565b60006020820190508181036000830152613b8f81613b53565b9050919050565b7f494e56414c4944205354414b452054494d450000000000000000000000000000600082015250565b6000613bcc601283613a6b565b9150613bd782613b96565b602082019050919050565b60006020820190508181036000830152613bfb81613bbf565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613c3c826136a5565b9150613c47836136a5565b9250828202613c55816136a5565b91508282048414831517613c6c57613c6b613c02565b5b5092915050565b6000613c7e826136a5565b9150613c89836136a5565b9250828201905080821115613ca157613ca0613c02565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613ce1826136a5565b9150613cec836136a5565b925082613cfc57613cfb613ca7565b5b828204905092915050565b6000613d12826136a5565b9150613d1d836136a5565b9250828203905081811115613d3557613d34613c02565b5b92915050565b6000608082019050613d5060008301876136af565b613d5d60208301866136af565b613d6a60408301856136af565b613d7760608301846136af565b95945050505050565b7f41646472657373207a65726f206e6f7420616c6c6f7765640000000000000000600082015250565b6000613db6601883613a6b565b9150613dc182613d80565b602082019050919050565b60006020820190508181036000830152613de581613da9565b9050919050565b7f436f6e74726163742061646472657373206e6f7420616c6c6f77656400000000600082015250565b6000613e22601c83613a6b565b9150613e2d82613dec565b602082019050919050565b60006020820190508181036000830152613e5181613e15565b9050919050565b7f596f752068617665206e6f205374616b65730000000000000000000000000000600082015250565b6000613e8e601283613a6b565b9150613e9982613e58565b602082019050919050565b60006020820190508181036000830152613ebd81613e81565b9050919050565b7f496e76616c696420736c6f740000000000000000000000000000000000000000600082015250565b6000613efa600c83613a6b565b9150613f0582613ec4565b602082019050919050565b60006020820190508181036000830152613f2981613eed565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613f6a826138af565b9150613f75836138af565b9250828203905081811260008412168282136000851215161715613f9c57613f9b613c02565b5b92915050565b6000613fad826136a5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613fdf57613fde613c02565b5b600182019050919050565b7f54686973206c6f6262792077696c6c206265206f70656e20616674657220323460008201527f20686f7572730000000000000000000000000000000000000000000000000000602082015250565b6000614046602683613a6b565b915061405182613fea565b604082019050919050565b6000602082019050818103600083015261407581614039565b9050919050565b7f596f75277265206e6f7420696e2074686973206c6f6262790000000000000000600082015250565b60006140b2601883613a6b565b91506140bd8261407c565b602082019050919050565b600060208201905081810360008301526140e1816140a5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f56616c75652063616e6e6f74206265207a65726f000000000000000000000000600082015250565b600061414d601483613a6b565b915061415882614117565b602082019050919050565b6000602082019050818103600083015261417c81614140565b9050919050565b7f4c6f6262696573206861766520656e6465640000000000000000000000000000600082015250565b60006141b9601283613a6b565b91506141c482614183565b602082019050919050565b600060208201905081810360008301526141e8816141ac565b9050919050565b7f526563697069656e7420686173206e6f205374616b6573000000000000000000600082015250565b6000614225601783613a6b565b9150614230826141ef565b602082019050919050565b6000602082019050818103600083015261425481614218565b9050919050565b7f496d6d617475726520556e7374616b6500000000000000000000000000000000600082015250565b6000614291601083613a6b565b915061429c8261425b565b602082019050919050565b600060208201905081810360008301526142c081614284565b9050919050565b60006060820190506142dc60008301866136af565b6142e960208301856136af565b6142f660408301846136af565b949350505050565b60006040820190506143136000830185613885565b61432060208301846136af565b9392505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061435d601f83613a6b565b915061436882614327565b602082019050919050565b6000602082019050818103600083015261438c81614350565b9050919050565b60006060820190506143a86000830186613885565b6143b56020830185613885565b6143c260408301846136af565b949350505050565b60008160011c9050919050565b6000808291508390505b6001851115614421578086048111156143fd576143fc613c02565b5b600185161561440c5780820291505b808102905061441a856143ca565b94506143e1565b94509492505050565b60008261443a57600190506144f6565b8161444857600090506144f6565b816001811461445e576002811461446857614497565b60019150506144f6565b60ff84111561447a57614479613c02565b5b8360020a91508482111561449157614490613c02565b5b506144f6565b5060208310610133831016604e8410600b84101617156144cc5782820a9050838111156144c7576144c6613c02565b5b6144f6565b6144d984848460016143d7565b925090508184048111156144f0576144ef613c02565b5b81810290505b9392505050565b600060ff82169050919050565b6000614515826136a5565b9150614520836144fd565b925061454d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848461442a565b905092915050565b60008115159050919050565b61456a81614555565b811461457557600080fd5b50565b60008151905061458781614561565b92915050565b6000602082840312156145a3576145a2613603565b5b60006145b184828501614578565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000614616602a83613a6b565b9150614621826145ba565b604082019050919050565b6000602082019050818103600083015261464581614609565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b60006146a8602683613a6b565b91506146b38261464c565b604082019050919050565b600060208201905081810360008301526146d78161469b565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000614714601d83613a6b565b915061471f826146de565b602082019050919050565b6000602082019050818103600083015261474381614707565b9050919050565b600081519050919050565b600081905092915050565b60005b8381101561477e578082015181840152602081019050614763565b60008484015250505050565b60006147958261474a565b61479f8185614755565b93506147af818560208601614760565b80840191505092915050565b60006147c7828461478a565b915081905092915050565b600081519050919050565b6000601f19601f8301169050919050565b60006147f9826147d2565b6148038185613a6b565b9350614813818560208601614760565b61481c816147dd565b840191505092915050565b6000602082019050818103600083015261484181846147ee565b90509291505056fea26469706673582212207a2ad323c0349b7756231c0ccda1f67ed17a864e85758d55e03670f4e33a339864736f6c63430008120033
Deployed Bytecode
0x60806040526004361061014b5760003560e01c80638b7afe2e116100b6578063d95a66cb1161006f578063d95a66cb146104c4578063e0e2fbe4146104ef578063e90a39b01461050b578063eb88ac8b14610536578063f9b4eba214610574578063fbbb227e1461059d5761014b565b80638b7afe2e146103825780639ffa1acb146103ad578063a5a82a70146103ea578063c8aeb91414610415578063d806741d14610440578063d8846a91146104835761014b565b80633d053f1e116101085780633d053f1e1461025e5780634797e3161461029b5780635c9302c9146102c4578063651ff925146102ef578063758c0f821461031a5780638abb1e74146103575761014b565b806301681a62146101505780630ab0df8714610179578063104c7490146101a4578063246bb536146101e15780632e17de781461020a57806332d4b02514610233575b600080fd5b34801561015c57600080fd5b5061017760048036038101906101729190613678565b6105db565b005b34801561018557600080fd5b5061018e610734565b60405161019b91906136be565b60405180910390f35b3480156101b057600080fd5b506101cb60048036038101906101c69190613731565b61073c565b6040516101d891906136be565b60405180910390f35b3480156101ed57600080fd5b5061020860048036038101906102039190613771565b61076d565b005b34801561021657600080fd5b50610231600480360381019061022c91906137b1565b610d6b565b005b34801561023f57600080fd5b50610248611476565b604051610255919061383d565b60405180910390f35b34801561026a57600080fd5b5061028560048036038101906102809190613858565b61149c565b60405161029291906136be565b60405180910390f35b3480156102a757600080fd5b506102c260048036038101906102bd91906137b1565b6114e8565b005b3480156102d057600080fd5b506102d9611cb4565b6040516102e691906136be565b60405180910390f35b3480156102fb57600080fd5b50610304611cf5565b60405161031191906136be565b60405180910390f35b34801561032657600080fd5b50610341600480360381019061033c91906137b1565b611d19565b60405161034e91906136be565b60405180910390f35b34801561036357600080fd5b5061036c611d31565b60405161037991906136be565b60405180910390f35b34801561038e57600080fd5b50610397611d37565b6040516103a491906136be565b60405180910390f35b3480156103b957600080fd5b506103d460048036038101906103cf91906137b1565b611dda565b6040516103e191906136be565b60405180910390f35b3480156103f657600080fd5b506103ff611df2565b60405161040c9190613894565b60405180910390f35b34801561042157600080fd5b5061042a611e18565b60405161043791906136be565b60405180910390f35b34801561044c57600080fd5b5061046760048036038101906104629190613731565b611e1e565b60405161047a97969594939291906138c8565b60405180910390f35b34801561048f57600080fd5b506104aa60048036038101906104a59190613731565b611e7d565b6040516104bb959493929190613937565b60405180910390f35b3480156104d057600080fd5b506104d9611ed0565b6040516104e691906136be565b60405180910390f35b61050960048036038101906105049190613858565b611ed6565b005b34801561051757600080fd5b50610520612271565b60405161052d91906139ab565b60405180910390f35b34801561054257600080fd5b5061055d600480360381019061055891906139c6565b612297565b60405161056b929190613a19565b60405180910390f35b34801561058057600080fd5b5061059b60048036038101906105969190613731565b612305565b005b3480156105a957600080fd5b506105c460048036038101906105bf9190613858565b612a51565b6040516105d2929190613a42565b60405180910390f35b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361066b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066290613ac8565b60405180910390fd5b610731600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016106ca9190613894565b602060405180830381865afa1580156106e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070b9190613afd565b8373ffffffffffffffffffffffffffffffffffffffff16612ae39092919063ffffffff16565b50565b600042905090565b6010602052816000526040600020818154811061075857600080fd5b90600052602060002001600091509150505481565b610775612b69565b61271082116107b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b090613b76565b60405180910390fd5b600781101580156107cc57506003548111155b61080b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080290613be2565b60405180910390fd5b61085a333084600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612bb8909392919063ffffffff16565b600060025403610a5c57600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060a0016040528084815260200184815260200142815260200162015180846108cf9190613c31565b426108da9190613c73565b815260200183815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000155602082015181600101556040820151816002015560608201518160030155608082015181600401555050600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060e001604052808481526020018481526020016000815260200142815260200162015180846109b29190613c31565b426109bd9190613c73565b815260200183815260200160008152509080600181540180825580915050600190039060005260206000209060070201600090919091909150600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c0820151816006015550508160026000828254610a509190613c73565b92505081905550610c7b565b6000610a66611d37565b905060008160025485610a799190613c31565b610a839190613cd6565b9050600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060a001604052808681526020018381526020014281526020016201518086610af09190613c31565b42610afb9190613c73565b815260200185815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000155602082015181600101556040820151816002015560608201518160030155608082015181600401555050600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060e00160405280868152602001838152602001600081526020014281526020016201518086610bd39190613c31565b42610bde9190613c73565b815260200185815260200160008152509080600181540180825580915050600190039060005260206000209060070201600090919091909150600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c0820151816006015550508060026000828254610c719190613c73565b9250508190555050505b3373ffffffffffffffffffffffffffffffffffffffff167f2720efa4b2dd4f3f8a347da3cbd290a522e9432da9072c5b8e6300496fdde28283836001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050610d049190613d07565b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050604051610d579493929190613d3b565b60405180910390a2610d67612c41565b5050565b610d73612b69565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1603610de2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd990613dcc565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1603610e50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4790613e38565b60405180910390fd5b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905003610ed5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecc90613ea4565b60405180910390fd5b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490508110610f59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5090613f10565b60405180910390fd5b6000600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110610fac57610fab613f30565b5b90600052602060002090600502016040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152505090506000611003611d37565b9050600060025482846020015161101a9190613c31565b6110249190613cd6565b9050600042846060015111156110675760008460400151426110469190613d07565b90506000811161105557600080fd5b61105f8382612c4b565b9150506110d2565b6000611085836201518087608001516110809190613c31565b612eaa565b905080836110939190613c73565b915060008560600151426110a79190613d07565b9050621275008111156110cf576110cc8362127500836110c79190613d07565b612f2a565b92505b50505b8360200151600260008282546110e89190613d07565b925050819055506040518060e00160405280856000015181526020018560200151815260200185600001518361111e9190613f5f565b815260200185604001518152602001856060015181526020018560800151815260200142815250600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020868154811061119657611195613f30565b5b9060005260206000209060070201600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c082015181600601559050506111f73386612f5d565b60008111156113d557818111801561121b575060065482826112199190613d07565b115b1561138657600060065483836112319190613d07565b61123b9190613cd6565b90506112b9600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff163085856112709190613d07565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612bb8909392919063ffffffff16565b611328600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ae39092919063ffffffff16565b6113803382846113389190613d07565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ae39092919063ffffffff16565b506113d4565b6113d33382600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ae39092919063ffffffff16565b5b5b3373ffffffffffffffffffffffffffffffffffffffff167f2904c208e70ba4e86d4336fa5651491dd8811e78e45279e93d35e2f4eb762e3882600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905060405161145f929190613a42565b60405180910390a250505050611473612c41565b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b6114f0612b69565b80806114fb90613fa2565b9150611505611cb4565b1015611546576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153d9061405c565b60405180910390fd5b6000600f600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050036115dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d3906140c8565b60405180910390fd5b6000805b6000600f600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490501115611ad7576000600f600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600f600087815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506116ee9190613d07565b815481106116ff576116fe613f30565b5b90600052602060002090600202016000015490506000600f600086815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600f600088815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506117c59190613d07565b815481106117d6576117d5613f30565b5b906000526020600020906002020160010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000601160008781526020019081526020016000205483601260008981526020019081526020016000205461183f9190613c31565b6118499190613cd6565b9050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156118885750600581115b801561192e575080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016118eb9190613894565b602060405180830381865afa158015611908573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061192c9190613afd565b115b156119b65761198c826005836119449190613cd6565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ae39092919063ffffffff16565b6005816119999190613cd6565b816119a49190613d07565b846119af9190613c73565b93506119c5565b80846119c29190613c73565b93505b82856119d19190613c73565b9450806012600088815260200190815260200160002060008282546119f69190613d07565b9250508190555082601160008881526020019081526020016000206000828254611a209190613d07565b92505081905550600f600087815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480611a8757611a866140e8565b5b60019003818190600052602060002090600202016000808201600090556001820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055505090555050506115e0565b600081118015611b81575080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611b3e9190613894565b602060405180830381865afa158015611b5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b7f9190613afd565b115b15611bd457611bd33382600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ae39092919063ffffffff16565b5b611bde3384613188565b3373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611c24573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff167f09432913cfcc647f2a9cd1a6e5d7ce7193f7e887efc483385755e24577cada1084620151808642611c6e9190613d07565b611c789190613cd6565b8585601160008a815260200190815260200160002054604051611c9f959493929190613937565b60405180910390a25050611cb1612c41565b50565b6000620151807f00000000000000000000000000000000000000000000000000000000641758a342611ce69190613d07565b611cf09190613cd6565b905090565b7f00000000000000000000000000000000000000000000000000000000641758a381565b60116020528060005260406000206000915090505481565b60025481565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611d949190613894565b602060405180830381865afa158015611db1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dd59190613afd565b905090565b60126020528060005260406000206000915090505481565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60045481565b600e6020528160005260406000208181548110611e3a57600080fd5b9060005260206000209060070201600091509150508060000154908060010154908060020154908060030154908060040154908060050154908060060154905087565b600d6020528160005260406000208181548110611e9957600080fd5b9060005260206000209060050201600091509150508060000154908060010154908060020154908060030154908060040154905085565b60035481565b60003403611f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1090614163565b60405180910390fd5b600454611f24611cb4565b10611f64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5b906141cf565b60405180910390fd5b6000600f6000611f72611cb4565b815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490500361203457601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061200d611cb4565b90806001815401808255809150506001900390600052602060002001600090919091909150555b6000600754346120449190613cd6565b9050600f6000612052611cb4565b815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806040016040528083346120b49190613d07565b81526020018473ffffffffffffffffffffffffffffffffffffffff1681525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050803461215b9190613d07565b60116000612167611cb4565b815260200190815260200160002060008282546121849190613c73565b92505081905550600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156121f3573d6000803e3d6000fd5b508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f16d803d203b5160917e5f75ad259647d32a4915650a29ce16383d5f4b318aae461224b611cb4565b84346122579190613d07565b604051612265929190613a42565b60405180910390a35050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600f60205282600052604060002060205281600052604060002081815481106122bf57600080fd5b906000526020600020906002020160009250925050508060000154908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905082565b61230d612b69565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361237c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237390613dcc565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036123ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e190613e38565b60405180910390fd5b6000600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490500361246f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124669061423b565b60405180910390fd5b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905081106124f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ea90613f10565b60405180910390fd5b6000600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020828154811061254657612545613f30565b5b90600052602060002090600502016040518060a001604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481525050905080606001514210156125da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d1906142a7565b60405180910390fd5b60006125e4611d37565b905060006002548284602001516125fb9190613c31565b6126059190613cd6565b90506000612625826201518086608001516126209190613c31565b612eaa565b9050600081836126359190613c73565b905060008560600151426126499190613d07565b9050621275008111156126715761266e8262127500836126699190613d07565b612f2a565b91505b8560200151600260008282546126879190613d07565b925050819055506040518060e0016040528087600001518152602001876020015181526020018760000151846126bd9190613f5f565b815260200187604001518152602001876060015181526020018760800151815260200142815250600e60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020888154811061273557612734613f30565b5b9060005260206000209060070201600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c082015181600601559050506127968888612f5d565b60008211156129745783821180156127ba575060065484836127b89190613d07565b115b1561292557600060065485846127d09190613d07565b6127da9190613cd6565b9050612858600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1630878661280f9190613d07565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612bb8909392919063ffffffff16565b6128c7600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ae39092919063ffffffff16565b61291f8982856128d79190613d07565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ae39092919063ffffffff16565b50612973565b6129728883600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ae39092919063ffffffff16565b5b5b8773ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f2dd7e59b2c8d06269c694a878ccfd937d7c0a5de22d6424ce05611daaa069303846201518085116129d55760006129e5565b62015180856129e49190613cd6565b5b600d60008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050604051612a37939291906142c7565b60405180910390a3505050505050612a4d612c41565b5050565b600080600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905091509150915091565b612b648363a9059cbb60e01b8484604051602401612b029291906142fe565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613350565b505050565b600260005403612bae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba590614373565b60405180910390fd5b6002600081905550565b612c3b846323b872dd60e01b858585604051602401612bd993929190614393565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613350565b50505050565b6001600081905550565b600062015180821015612c5f576201518091505b6000612c6b8484612eaa565b905060006201518084612c7e9190613cd6565b60055483612c8c9190613c31565b612c969190613cd6565b90506000818387612ca79190613c73565b11612cb3576000612ccb565b818387612cc09190613c73565b612cca9190613d07565b5b9050858211612e9e57600454612cdf611cb4565b1015612da457612d61600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660065484612d199190613cd6565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ae39092919063ffffffff16565b60085482612d6f9190613cd6565b60126000612d7b611cb4565b81526020019081526020016000206000828254612d989190613c73565b92505081905550612e9d565b612e20600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660065484612dd89190613cd6565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ae39092919063ffffffff16565b612e9c600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660085484612e549190613cd6565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ae39092919063ffffffff16565b5b5b80935050505092915050565b60008061071c6201518084612ebf9190613cd6565b85612eca9190613c31565b612ed49190613cd6565b9050600066038d7ea4c680008510612ef25765246139ca8000612f12565b664a9b6384488000600286612f07919061450a565b612f119190613cd6565b5b90508082612f209190613c73565b9250505092915050565b600080612f378484613417565b9050838110612f47576000612f54565b8084612f539190613d07565b5b91505092915050565b6001600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050612fac9190613d07565b81146130f457600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506130409190613d07565b8154811061305157613050613f30565b5b9060005260206000209060050201600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002082815481106130b0576130af613f30565b5b906000526020600020906005020160008201548160000155600182015481600101556002820154816002015560038201548160030155600482015481600401559050505b600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480613143576131426140e8565b5b60019003818190600052602060002090600502016000808201600090556001820160009055600282016000905560038201600090556004820160009055505090555050565b6001601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506131d79190613d07565b81146132e757601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001601060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061326b9190613d07565b8154811061327c5761327b613f30565b5b9060005260206000200154601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002082815481106132d8576132d7613f30565b5b90600052602060002001819055505b601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480613336576133356140e8565b5b600190038181906000526020600020016000905590555050565b60006133b2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661344d9092919063ffffffff16565b905060008151111561341257808060200190518101906133d2919061458d565b613411576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134089061462c565b60405180910390fd5b5b505050565b60008062015180836134299190613cd6565b9050600954818561343a9190613c31565b6134449190613cd6565b91505092915050565b606061345c8484600085613465565b90509392505050565b6060824710156134aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134a1906146be565b60405180910390fd5b6134b385613579565b6134f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134e99061472a565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161351b91906147bb565b60006040518083038185875af1925050503d8060008114613558576040519150601f19603f3d011682016040523d82523d6000602084013e61355d565b606091505b509150915061356d82828661359c565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b606083156135ac578290506135fc565b6000835111156135bf5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135f39190614827565b60405180910390fd5b9392505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061363382613608565b9050919050565b600061364582613628565b9050919050565b6136558161363a565b811461366057600080fd5b50565b6000813590506136728161364c565b92915050565b60006020828403121561368e5761368d613603565b5b600061369c84828501613663565b91505092915050565b6000819050919050565b6136b8816136a5565b82525050565b60006020820190506136d360008301846136af565b92915050565b6136e281613628565b81146136ed57600080fd5b50565b6000813590506136ff816136d9565b92915050565b61370e816136a5565b811461371957600080fd5b50565b60008135905061372b81613705565b92915050565b6000806040838503121561374857613747613603565b5b6000613756858286016136f0565b92505060206137678582860161371c565b9150509250929050565b6000806040838503121561378857613787613603565b5b60006137968582860161371c565b92505060206137a78582860161371c565b9150509250929050565b6000602082840312156137c7576137c6613603565b5b60006137d58482850161371c565b91505092915050565b6000819050919050565b60006138036137fe6137f984613608565b6137de565b613608565b9050919050565b6000613815826137e8565b9050919050565b60006138278261380a565b9050919050565b6138378161381c565b82525050565b6000602082019050613852600083018461382e565b92915050565b60006020828403121561386e5761386d613603565b5b600061387c848285016136f0565b91505092915050565b61388e81613628565b82525050565b60006020820190506138a96000830184613885565b92915050565b6000819050919050565b6138c2816138af565b82525050565b600060e0820190506138dd600083018a6136af565b6138ea60208301896136af565b6138f760408301886138b9565b61390460608301876136af565b61391160808301866136af565b61391e60a08301856136af565b61392b60c08301846136af565b98975050505050505050565b600060a08201905061394c60008301886136af565b61395960208301876136af565b61396660408301866136af565b61397360608301856136af565b61398060808301846136af565b9695505050505050565b600061399582613608565b9050919050565b6139a58161398a565b82525050565b60006020820190506139c0600083018461399c565b92915050565b6000806000606084860312156139df576139de613603565b5b60006139ed8682870161371c565b93505060206139fe868287016136f0565b9250506040613a0f8682870161371c565b9150509250925092565b6000604082019050613a2e60008301856136af565b613a3b6020830184613885565b9392505050565b6000604082019050613a5760008301856136af565b613a6460208301846136af565b9392505050565b600082825260208201905092915050565b7f43616e6e6f742062652053415453000000000000000000000000000000000000600082015250565b6000613ab2600e83613a6b565b9150613abd82613a7c565b602082019050919050565b60006020820190508181036000830152613ae181613aa5565b9050919050565b600081519050613af781613705565b92915050565b600060208284031215613b1357613b12613603565b5b6000613b2184828501613ae8565b91505092915050565b7f5374616b6520616d6f756e7420746f6f206c6f77000000000000000000000000600082015250565b6000613b60601483613a6b565b9150613b6b82613b2a565b602082019050919050565b60006020820190508181036000830152613b8f81613b53565b9050919050565b7f494e56414c4944205354414b452054494d450000000000000000000000000000600082015250565b6000613bcc601283613a6b565b9150613bd782613b96565b602082019050919050565b60006020820190508181036000830152613bfb81613bbf565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613c3c826136a5565b9150613c47836136a5565b9250828202613c55816136a5565b91508282048414831517613c6c57613c6b613c02565b5b5092915050565b6000613c7e826136a5565b9150613c89836136a5565b9250828201905080821115613ca157613ca0613c02565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613ce1826136a5565b9150613cec836136a5565b925082613cfc57613cfb613ca7565b5b828204905092915050565b6000613d12826136a5565b9150613d1d836136a5565b9250828203905081811115613d3557613d34613c02565b5b92915050565b6000608082019050613d5060008301876136af565b613d5d60208301866136af565b613d6a60408301856136af565b613d7760608301846136af565b95945050505050565b7f41646472657373207a65726f206e6f7420616c6c6f7765640000000000000000600082015250565b6000613db6601883613a6b565b9150613dc182613d80565b602082019050919050565b60006020820190508181036000830152613de581613da9565b9050919050565b7f436f6e74726163742061646472657373206e6f7420616c6c6f77656400000000600082015250565b6000613e22601c83613a6b565b9150613e2d82613dec565b602082019050919050565b60006020820190508181036000830152613e5181613e15565b9050919050565b7f596f752068617665206e6f205374616b65730000000000000000000000000000600082015250565b6000613e8e601283613a6b565b9150613e9982613e58565b602082019050919050565b60006020820190508181036000830152613ebd81613e81565b9050919050565b7f496e76616c696420736c6f740000000000000000000000000000000000000000600082015250565b6000613efa600c83613a6b565b9150613f0582613ec4565b602082019050919050565b60006020820190508181036000830152613f2981613eed565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613f6a826138af565b9150613f75836138af565b9250828203905081811260008412168282136000851215161715613f9c57613f9b613c02565b5b92915050565b6000613fad826136a5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613fdf57613fde613c02565b5b600182019050919050565b7f54686973206c6f6262792077696c6c206265206f70656e20616674657220323460008201527f20686f7572730000000000000000000000000000000000000000000000000000602082015250565b6000614046602683613a6b565b915061405182613fea565b604082019050919050565b6000602082019050818103600083015261407581614039565b9050919050565b7f596f75277265206e6f7420696e2074686973206c6f6262790000000000000000600082015250565b60006140b2601883613a6b565b91506140bd8261407c565b602082019050919050565b600060208201905081810360008301526140e1816140a5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f56616c75652063616e6e6f74206265207a65726f000000000000000000000000600082015250565b600061414d601483613a6b565b915061415882614117565b602082019050919050565b6000602082019050818103600083015261417c81614140565b9050919050565b7f4c6f6262696573206861766520656e6465640000000000000000000000000000600082015250565b60006141b9601283613a6b565b91506141c482614183565b602082019050919050565b600060208201905081810360008301526141e8816141ac565b9050919050565b7f526563697069656e7420686173206e6f205374616b6573000000000000000000600082015250565b6000614225601783613a6b565b9150614230826141ef565b602082019050919050565b6000602082019050818103600083015261425481614218565b9050919050565b7f496d6d617475726520556e7374616b6500000000000000000000000000000000600082015250565b6000614291601083613a6b565b915061429c8261425b565b602082019050919050565b600060208201905081810360008301526142c081614284565b9050919050565b60006060820190506142dc60008301866136af565b6142e960208301856136af565b6142f660408301846136af565b949350505050565b60006040820190506143136000830185613885565b61432060208301846136af565b9392505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061435d601f83613a6b565b915061436882614327565b602082019050919050565b6000602082019050818103600083015261438c81614350565b9050919050565b60006060820190506143a86000830186613885565b6143b56020830185613885565b6143c260408301846136af565b949350505050565b60008160011c9050919050565b6000808291508390505b6001851115614421578086048111156143fd576143fc613c02565b5b600185161561440c5780820291505b808102905061441a856143ca565b94506143e1565b94509492505050565b60008261443a57600190506144f6565b8161444857600090506144f6565b816001811461445e576002811461446857614497565b60019150506144f6565b60ff84111561447a57614479613c02565b5b8360020a91508482111561449157614490613c02565b5b506144f6565b5060208310610133831016604e8410600b84101617156144cc5782820a9050838111156144c7576144c6613c02565b5b6144f6565b6144d984848460016143d7565b925090508184048111156144f0576144ef613c02565b5b81810290505b9392505050565b600060ff82169050919050565b6000614515826136a5565b9150614520836144fd565b925061454d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848461442a565b905092915050565b60008115159050919050565b61456a81614555565b811461457557600080fd5b50565b60008151905061458781614561565b92915050565b6000602082840312156145a3576145a2613603565b5b60006145b184828501614578565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000614616602a83613a6b565b9150614621826145ba565b604082019050919050565b6000602082019050818103600083015261464581614609565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b60006146a8602683613a6b565b91506146b38261464c565b604082019050919050565b600060208201905081810360008301526146d78161469b565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000614714601d83613a6b565b915061471f826146de565b602082019050919050565b6000602082019050818103600083015261474381614707565b9050919050565b600081519050919050565b600081905092915050565b60005b8381101561477e578082015181840152602081019050614763565b60008484015250505050565b60006147958261474a565b61479f8185614755565b93506147af818560208601614760565b80840191505092915050565b60006147c7828461478a565b915081905092915050565b600081519050919050565b6000601f19601f8301169050919050565b60006147f9826147d2565b6148038185613a6b565b9350614813818560208601614760565b61481c816147dd565b840191505092915050565b6000602082019050818103600083015261484181846147ee565b90509291505056fea26469706673582212207a2ad323c0349b7756231c0ccda1f67ed17a864e85758d55e03670f4e33a339864736f6c63430008120033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.004963 | 227,305.5777 | $1,128.19 |
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.