Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
RewardEscrow
Compiler Version
v0.5.12+commit.7709ece9
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity 0.5.12; import "@openzeppelin/contracts-ethereum-package/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts-ethereum-package/contracts/ownership/Ownable.sol"; import "@openzeppelin/contracts-ethereum-package/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/upgrades/contracts/Initializable.sol"; /** * @title SharesTimelock interface */ interface ISharesTimeLock { function depositByMonths(uint256 amount, uint256 months, address receiver) external; } /** * @title DoughEscrow interface */ interface IDoughEscrow { function balanceOf(address account) external view returns (uint); function appendVestingEntry(address account, uint quantity) external; } interface IBuyback { function buyback(uint256 _tokenInQty, address _receiver) external returns (bool success); function maxAvailableToBuy() external view returns (uint available); } /* ----------------------------------------------------------------- FILE INFORMATION ----------------------------------------------------------------- file: RewardEscrow.sol version: 1.1 author: Jackson Chan Clinton Ennis date: 2019-03-01 ----------------------------------------------------------------- MODULE DESCRIPTION ----------------------------------------------------------------- Escrows the DOUGH rewards from the inflationary supply awarded to users for staking their DOUGH and maintaining the c-rationn target. SNW rewards are escrowed for 1 year from the claim date and users can call vest in 12 months time. ----------------------------------------------------------------- */ /** * @title A contract to hold escrowed DOUGH and free them at given schedules. */ contract RewardEscrow is Ownable { using SafeMath for uint; using SafeERC20 for IERC20; IERC20 public dough; mapping(address => bool) public isRewardContract; /* Lists of (timestamp, quantity) pairs per account, sorted in ascending time order. * These are the times at which each given quantity of DOUGH vests. */ mapping(address => uint[2][]) public vestingSchedules; /* An account's total escrowed dough balance to save recomputing this for fee extraction purposes. */ mapping(address => uint) public totalEscrowedAccountBalance; /* An account's total vested reward dough. */ mapping(address => uint) public totalVestedAccountBalance; /* The total remaining escrowed balance, for verifying the actual dough balance of this contract against. */ uint public totalEscrowedBalance; uint constant TIME_INDEX = 0; uint constant QUANTITY_INDEX = 1; /* Limit vesting entries to disallow unbounded iteration over vesting schedules. * There are 5 years of the supply scedule */ uint constant public MAX_VESTING_ENTRIES = 52*5; uint8 public constant decimals = 18; string public name; string public symbol; uint256 public constant STAKE_DURATION = 36; ISharesTimeLock public sharesTimeLock; /* @dev added in 1.1 */ /* Commonly used burn address * @dev as a constant this does not affect proxy storage */ address public constant BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD; /* Address of the buyback contract for early exits */ IBuyback public buyback; /* Admin function to permit calling the burn function */ bool public burnEnabled; /* ========== Initializer ========== */ function initialize (address _dough, string memory _name, string memory _symbol) public initializer { dough = IERC20(_dough); name = _name; symbol = _symbol; Ownable.initialize(msg.sender); } /* ========== SETTERS ========== */ /** * @notice set the dough contract address as we need to transfer DOUGH when the user vests */ function setDough(address _dough) external onlyOwner { dough = IERC20(_dough); emit DoughUpdated(address(_dough)); } /** * @notice set the dough contract address as we need to transfer DOUGH when the user vests */ function setTimelock(address _timelock) external onlyOwner { sharesTimeLock = ISharesTimeLock(_timelock); emit TimelockUpdated(address(_timelock)); } /** * @notice Add a whitelisted rewards contract */ function addRewardsContract(address _rewardContract) external onlyOwner { isRewardContract[_rewardContract] = true; emit RewardContractAdded(_rewardContract); } /** * @notice Remove a whitelisted rewards contract */ function removeRewardsContract(address _rewardContract) external onlyOwner { isRewardContract[_rewardContract] = false; emit RewardContractRemoved(_rewardContract); } /** * @notice set the address for the dough buyback functionality */ function setBuyback(address _buyback) external onlyOwner { buyback = IBuyback(_buyback); emit BuybackContractUpdated(_buyback); } /** * @notice if enabled, will allow users to burn edough */ function setBurnEnabled(bool _enabled) external onlyOwner { burnEnabled = _enabled; emit BurnEnabledUpdated(_enabled); } /** * @notice approve DOUGH to be transfered to another address * @dev call to linked contracts such as eDOUGH buyback to save on approvals each time * @param _spender the address to approve * @param _amount the quantity to approve */ function approve(address _spender, uint _amount) external onlyOwner returns (bool) { require(_spender != address(0), "Cannot approve to zero address"); dough.safeApprove(_spender, _amount); return true; } /* ========== VIEW FUNCTIONS ========== */ /** * @notice A simple alias to totalEscrowedAccountBalance: provides ERC20 balance integration. */ function balanceOf(address account) public view returns (uint) { return totalEscrowedAccountBalance[account]; } /** * @notice A simple alias to totalEscrowedBalance: provides ERC20 totalSupply integration. */ function totalSupply() external view returns (uint256) { return totalEscrowedBalance; } /** * @notice The number of vesting dates in an account's schedule. */ function numVestingEntries(address account) public view returns (uint) { return vestingSchedules[account].length; } /** * @notice Get a particular schedule entry for an account. * @return A pair of uints: (timestamp, dough quantity). */ function getVestingScheduleEntry(address account, uint index) public view returns (uint[2] memory) { return vestingSchedules[account][index]; } /** * @notice Get the time at which a given schedule entry will vest. */ function getVestingTime(address account, uint index) public view returns (uint) { return getVestingScheduleEntry(account,index)[TIME_INDEX]; } /** * @notice Get the quantity of DOUGH associated with a given schedule entry. */ function getVestingQuantity(address account, uint index) public view returns (uint) { return getVestingScheduleEntry(account,index)[QUANTITY_INDEX]; } /** * @notice Obtain the index of the next schedule entry that will vest for a given user. */ function getNextVestingIndex(address account) public view returns (uint) { uint len = numVestingEntries(account); for (uint i = 0; i < len; i++) { if (getVestingTime(account, i) != 0) { return i; } } return len; } /** * @notice Obtain the next schedule entry that will vest for a given user. * @return A pair of uints: (timestamp, DOUGH quantity). */ function getNextVestingEntry(address account) public view returns (uint[2] memory) { uint index = getNextVestingIndex(account); if (index == numVestingEntries(account)) { return [uint(0), 0]; } return getVestingScheduleEntry(account, index); } /** * @notice Obtain the time at which the next schedule entry will vest for a given user. */ function getNextVestingTime(address account) external view returns (uint) { return getNextVestingEntry(account)[TIME_INDEX]; } /** * @notice Obtain the quantity which the next schedule entry will vest for a given user. */ function getNextVestingQuantity(address account) external view returns (uint) { return getNextVestingEntry(account)[QUANTITY_INDEX]; } /** * @notice return the full vesting schedule entries vest for a given user. */ function checkAccountSchedule(address account) public view returns (uint[520] memory) { uint[520] memory _result; uint schedules = numVestingEntries(account); for (uint i = 0; i < schedules; i++) { uint[2] memory pair = getVestingScheduleEntry(account, i); _result[i*2] = pair[0]; _result[i*2 + 1] = pair[1]; } return _result; } /** * @notice how much eDOUGH can currently be sold back to the DAO, based on vesting + available balance of the buyback contract * @dev this does not account for the deadline passing - this must be checked separately * @param _recipient the account to check for * @return total units of DOUGH that can be sold to the DAO at the price listed in the buyback contract * @return lastFulfillableVestingEntry last index of the sorted vesting array where we are able to completely fulfil the order * @dev use lastFulfillableVestingEntry in the buyback function to zero out all values at and before, while keeping this a view function */ function getAvailableForBuyBack(address _recipient) public view returns (uint total, uint lastFulfillableVestingEntry) { uint numEntries = numVestingEntries(_recipient); uint maxAvailableDough = buyback.maxAvailableToBuy(); // iterate though the user's entries for (uint i = 0; i < numEntries; i++) { uint[2] memory entry = getVestingScheduleEntry(_recipient, i); uint quantity = entry[QUANTITY_INDEX]; // we check if quantity and vestingTime is greater than 0 (otherwise, the entry was already claimed) if(quantity > 0 && entry[TIME_INDEX] > 0) { // edough claimants can enter into buyback at any point as long as we can afford it // No partial vests - must fulfill the entire entry if (total.add(quantity) <= maxAvailableDough) { // cache the index so we can zero all entries in a non-view function lastFulfillableVestingEntry = i; total = total.add(quantity); } else { // save gas by stopping the loop break; } } } } /* ========== MUTATIVE FUNCTIONS ========== */ /** * @notice Add a new vesting entry at a given time and quantity to an account's schedule. * @dev A call to this should accompany a previous successfull call to dough.transfer(rewardEscrow, amount), * to ensure that when the funds are withdrawn, there is enough balance. * Note; although this function could technically be used to produce unbounded * arrays, it's only withinn the 4 year period of the weekly inflation schedule. * @param account The account to append a new vesting entry to. * @param quantity The quantity of DOUGH that will be escrowed. */ function appendVestingEntry(address account, uint quantity) public onlyRewardsContract { /* No empty or already-passed vesting entries allowed. */ require(quantity != 0, "Quantity cannot be zero"); /* There must be enough balance in the contract to provide for the vesting entry. */ totalEscrowedBalance = totalEscrowedBalance.add(quantity); require(totalEscrowedBalance <= dough.balanceOf(address(this)), "Must be enough balance in the contract to provide for the vesting entry"); /* Disallow arbitrarily long vesting schedules in light of the gas limit. */ uint scheduleLength = vestingSchedules[account].length; require(scheduleLength <= MAX_VESTING_ENTRIES, "Vesting schedule is too long"); /* Escrow the tokens for 1 year. */ uint time = now + 52 weeks; if (scheduleLength == 0) { totalEscrowedAccountBalance[account] = quantity; } else { /* Disallow adding new vested DOUGH earlier than the last one. * Since entries are only appended, this means that no vesting date can be repeated. */ require(getVestingTime(account, numVestingEntries(account) - 1) < time, "Cannot add new vested entries earlier than the last one"); totalEscrowedAccountBalance[account] = totalEscrowedAccountBalance[account].add(quantity); } // If last window is less than a week old add amount to that one. if( vestingSchedules[account].length != 0 && vestingSchedules[account][vestingSchedules[account].length - 1][0] > time - 1 weeks ) { vestingSchedules[account][vestingSchedules[account].length - 1][1] = vestingSchedules[account][vestingSchedules[account].length - 1][1].add(quantity); } else { vestingSchedules[account].push([time, quantity]); } emit Transfer(address(0), account, quantity); emit VestingEntryCreated(account, now, quantity); } /** * @notice Allow a user to withdraw any DOUGH in their schedule that have vested. */ function vest() external { uint numEntries = numVestingEntries(msg.sender); uint total; for (uint i = 0; i < numEntries; i++) { uint time = getVestingTime(msg.sender, i); /* The list is sorted; when we reach the first future time, bail out. */ if (time > now) { break; } uint qty = getVestingQuantity(msg.sender, i); if (qty == 0) { continue; } vestingSchedules[msg.sender][i] = [0, 0]; total = total.add(qty); } if (total != 0) { totalEscrowedBalance = totalEscrowedBalance.sub(total); totalEscrowedAccountBalance[msg.sender] = totalEscrowedAccountBalance[msg.sender].sub(total); totalVestedAccountBalance[msg.sender] = totalVestedAccountBalance[msg.sender].add(total); dough.safeTransfer(msg.sender, total); emit Vested(msg.sender, now, total); emit Transfer(msg.sender, address(0), total); } } /** * @notice Allow a user to withdraw any DOUGH in their schedule to skip waiting and migrate to veDOUGH at maximum stake. * */ function migrateToVeDOUGH() external { require(address(sharesTimeLock) != address(0), "SharesTimeLock not set"); uint numEntries = numVestingEntries(msg.sender); // get the number of entries for msg.sender /* // As per PIP-67: // We propose that a bridge be created to swap eDOUGH to veDOUGH with a non-configurable time lock of 3 years. // Only eDOUGH that has vested for 6+ months will be eligible for this bridge. // https://snapshot.org/#/piedao.eth/proposal/0xaf04cb5391de0cb3d9c9e694a2bf6e5d20f0e4e1c48e0a1d6f85c5233aa580b6 */ uint total; for (uint i = 0; i < numEntries; i++) { uint[2] memory entry = getVestingScheduleEntry(msg.sender, i); (uint quantity, uint vestingTime) = (entry[QUANTITY_INDEX], entry[TIME_INDEX]); // we check if quantity and vestingTime is greater than 0 (otherwise, the entry was already claimed) if(quantity > 0 && vestingTime > 0) { uint activationTime = entry[TIME_INDEX].sub(26 weeks); // point in time when the bridge becomes possible (52 weeks - 26 weeks = 26 weeks (6 months)) if(block.timestamp >= activationTime) { vestingSchedules[msg.sender][i] = [0, 0]; total = total.add(quantity); } } } // require amount to stake > 0, else we emit events and update the state require(total > 0, 'No vesting entries to bridge'); totalEscrowedBalance = totalEscrowedBalance.sub(total); totalEscrowedAccountBalance[msg.sender] = totalEscrowedAccountBalance[msg.sender].sub(total); totalVestedAccountBalance[msg.sender] = totalVestedAccountBalance[msg.sender].add(total); // Approve DOUGH to Timelock (we need to approve) dough.safeApprove(address(sharesTimeLock), 0); dough.safeApprove(address(sharesTimeLock), total); // Deposit to timelock sharesTimeLock.depositByMonths(total, STAKE_DURATION, msg.sender); emit MigratedToVeDOUGH(msg.sender, now, total); emit Transfer(msg.sender, address(0), total); } /** * @notice eDOUGH that has been vesting for less than 6 months can be sold back to the DAO at a fixed price * @dev as part of setup, ensure approve has been called with the address of the vesting contract */ function eDoughBuyback() external { require(address(buyback) != address(0), "Buyback contract not set"); (uint total, uint lastFulfillableVestingEntry) = getAvailableForBuyBack(msg.sender); require(total > 0, 'Nothing available for buyback'); // for all entries we can completely fulfil, zero them out for (uint i = 0; i <= lastFulfillableVestingEntry; i++) { vestingSchedules[msg.sender][i] = [0, 0]; } totalEscrowedBalance = totalEscrowedBalance.sub(total); totalEscrowedAccountBalance[msg.sender] = totalEscrowedAccountBalance[msg.sender].sub(total); totalVestedAccountBalance[msg.sender] = totalVestedAccountBalance[msg.sender].add(total); // buyback will execute transfers - will throw if price has expired bool success = buyback.buyback(total, msg.sender); require(success, "Buyback failed"); emit Buyback(msg.sender, block.timestamp, total); emit Transfer(msg.sender, address(buyback), total); } function eDoughBurn() external { require(burnEnabled, "Burn disabled"); // we can just burn the entire user balance uint userBalance = balanceOf(msg.sender); require(userBalance > 0, 'Nothing to burn'); // get the user's vesting entries and zero them out uint numEntries = numVestingEntries(msg.sender); for (uint i = 0; i < numEntries; i++) { // user is burning everything once, so just zero their entire schedule if (vestingSchedules[msg.sender][i][0] != 0) { vestingSchedules[msg.sender][i] = [0, 0]; } } // sub off the escrow but don't increment state variables (we resolve off-chain) totalEscrowedBalance = totalEscrowedBalance.sub(userBalance); totalEscrowedAccountBalance[msg.sender] = 0; // burn corresponding DOUGH dough.safeTransfer(BURN_ADDRESS, userBalance); emit Burned(msg.sender, userBalance); emit Transfer(msg.sender, BURN_ADDRESS, userBalance); } /* ========== MODIFIERS ========== */ modifier onlyRewardsContract() { require(isRewardContract[msg.sender], "Only reward contract can perform this action"); _; } /* ========== EVENTS ========== */ event DoughUpdated(address newDough); event TimelockUpdated(address newTimelock); event Vested(address indexed beneficiary, uint time, uint value); event MigratedToVeDOUGH(address indexed beneficiary, uint time, uint value); event VestingEntryCreated(address indexed beneficiary, uint time, uint value); event Transfer(address indexed from, address indexed to, uint256 value); event RewardContractAdded(address indexed rewardContract); event RewardContractRemoved(address indexed rewardContract); event BuybackContractUpdated(address newBuyback); event Buyback(address indexed beneficiary, uint time, uint value); event Burned(address indexed from, uint value); event BurnEnabledUpdated(bool enabled); }
pragma solidity ^0.5.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. * * _Available since v2.4.0._ */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } }
pragma solidity >=0.4.24 <0.7.0; /** * @title Initializable * * @dev Helper contract to support initializer functions. To use it, replace * the constructor with a function that has the `initializer` modifier. * WARNING: Unlike constructors, initializer functions must be manually * invoked. This applies both to deploying an Initializable contract, as well * as extending an Initializable contract via inheritance. * WARNING: When used with inheritance, manual care must be taken to not invoke * a parent initializer twice, or ensure that all initializers are idempotent, * because this is not dealt with automatically as with constructors. */ contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private initializing; /** * @dev Modifier to use in the initializer function of a contract. */ modifier initializer() { require(initializing || isConstructor() || !initialized, "Contract instance has already been initialized"); bool isTopLevelCall = !initializing; if (isTopLevelCall) { initializing = true; initialized = true; } _; if (isTopLevelCall) { initializing = false; } } /// @dev Returns true if and only if the function is running in the constructor function isConstructor() private view returns (bool) { // extcodesize checks the size of the code stored in an address, and // address returns the current address. Since the code is still not // deployed when running a constructor, any checks on its code size will // yield zero, making it an effective way to detect if a contract is // under construction or not. address self = address(this); uint256 cs; assembly { cs := extcodesize(self) } return cs == 0; } // Reserved storage space to allow for layout changes in the future. uint256[50] private ______gap; }
pragma solidity ^0.5.0; import "@openzeppelin/upgrades/contracts/Initializable.sol"; import "../GSN/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be aplied to your functions to restrict their use to * the owner. */ contract Ownable is Initializable, Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function initialize(address sender) public initializer { _owner = sender; emit OwnershipTransferred(address(0), _owner); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner(), "Ownable: caller is not the owner"); _; } /** * @dev Returns true if the caller is the current owner. */ function isOwner() public view returns (bool) { return _msgSender() == _owner; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * > Note: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } uint256[50] private ______gap; }
pragma solidity ^0.5.0; import "./IERC20.sol"; import "../../math/SafeMath.sol"; import "../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } 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' // solhint-disable-next-line max-line-length 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).add(value); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); 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. // A Solidity high level call has three parts: // 1. The target address is checked to verify it contains contract code // 2. The call itself is made, and success asserted // 3. The return value is decoded, which in turn checks the size of the returned data. // solhint-disable-next-line max-line-length require(address(token).isContract(), "SafeERC20: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = address(token).call(data); require(success, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
pragma solidity ^0.5.0; import "@openzeppelin/upgrades/contracts/Initializable.sol"; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ contract Context is Initializable { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal { } // solhint-disable-previous-line no-empty-blocks function _msgSender() internal view returns (address payable) { return msg.sender; } function _msgData() internal view returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
pragma solidity ^0.5.5; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Converts an `address` into `address payable`. Note that this is * simply a type cast: the actual underlying value is not changed. * * _Available since v2.4.0._ */ function toPayable(address account) internal pure returns (address payable) { return address(uint160(account)); } /** * @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]. * * _Available since v2.4.0._ */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-call-value (bool success, ) = recipient.call.value(amount)(""); require(success, "Address: unable to send value, recipient may have reverted"); } }
pragma solidity ^0.5.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ 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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, 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); }
{ "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
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"BurnEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Burned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Buyback","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newBuyback","type":"address"}],"name":"BuybackContractUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newDough","type":"address"}],"name":"DoughUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"MigratedToVeDOUGH","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rewardContract","type":"address"}],"name":"RewardContractAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rewardContract","type":"address"}],"name":"RewardContractRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newTimelock","type":"address"}],"name":"TimelockUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Vested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"VestingEntryCreated","type":"event"},{"constant":true,"inputs":[],"name":"BURN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAX_VESTING_ENTRIES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"STAKE_DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_rewardContract","type":"address"}],"name":"addRewardsContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"appendVestingEntry","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"burnEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"buyback","outputs":[{"internalType":"contract IBuyback","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"checkAccountSchedule","outputs":[{"internalType":"uint256[520]","name":"","type":"uint256[520]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"dough","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"eDoughBurn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"eDoughBuyback","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"_recipient","type":"address"}],"name":"getAvailableForBuyBack","outputs":[{"internalType":"uint256","name":"total","type":"uint256"},{"internalType":"uint256","name":"lastFulfillableVestingEntry","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getNextVestingEntry","outputs":[{"internalType":"uint256[2]","name":"","type":"uint256[2]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getNextVestingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getNextVestingQuantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getNextVestingTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getVestingQuantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getVestingScheduleEntry","outputs":[{"internalType":"uint256[2]","name":"","type":"uint256[2]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getVestingTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_dough","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isRewardContract","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"migrateToVeDOUGH","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"numVestingEntries","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_rewardContract","type":"address"}],"name":"removeRewardsContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setBurnEnabled","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_buyback","type":"address"}],"name":"setBuyback","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_dough","type":"address"}],"name":"setDough","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_timelock","type":"address"}],"name":"setTimelock","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"sharesTimeLock","outputs":[{"internalType":"contract ISharesTimeLock","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalEscrowedAccountBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalEscrowedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalVestedAccountBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"vest","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"vestingSchedules","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052614ad3806100136000396000f3fe608060405234801561001057600080fd5b506004361061027f5760003560e01c80638da5cb5b1161015c578063bbca6210116100ce578063da7bd3e911610087578063da7bd3e914610e16578063ee1d036c14610ea0578063f2fde38b14610f02578063f3856e7614610f46578063f8ec691114610f8a578063fccc281314610fd45761027f565b8063bbca621014610cd2578063bdacb30314610d1c578063c4d66de814610d60578063c55b3f5314610da4578063cebcbe9514610dae578063d0cc82e314610df85761027f565b806397f465271161012057806397f4652714610ae65780639b217f9014610b3e5780639f61e68e14610ba0578063a1c032f714610be4578063b0e852f814610c28578063b5ddb9c714610c845761027f565b80638da5cb5b146108265780638f32d59b14610870578063906571471461089257806395d89b4114610a0457806397e7ab3a14610a875761027f565b8063458efde3116101f55780636afb630a116101b95780636afb630a146107005780636b3905c41461071e57806370a0823114610776578063715018a6146107ce57806371e780f3146107d85780637b2c835f146107f65761027f565b8063458efde31461065457806345e5441f1461065e5780634deff29a146106ca5780634f3fead6146106d45780635dc96d16146106de5761027f565b8063204b676a11610247578063204b676a14610427578063227d517a1461047f5780632f5bb661146104d7578063313ce56714610557578063326a3cfb1461057b578063449d0eb1146105d35761027f565b806306fdde0314610284578063095ea7b3146103075780630bcc8c171461036d57806318160ddd146103b157806319e740c0146103cf575b600080fd5b61028c61101e565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156102cc5780820151818401526020810190506102b1565b50505050905090810190601f1680156102f95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103536004803603604081101561031d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506110bc565b604051808215151515815260200191505060405180910390f35b6103af6004803603602081101561038357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611232565b005b6103b961134a565b6040518082815260200191505060405180910390f35b610411600480360360208110156103e557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611354565b6040518082815260200191505060405180910390f35b6104696004803603602081101561043d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113a3565b6040518082815260200191505060405180910390f35b6104c16004803603602081101561049557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113ef565b6040518082815260200191505060405180910390f35b610519600480360360208110156104ed57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611407565b6040518082600260200280838360005b83811015610544578082015181840152602081019050610529565b5050505090500191505060405180910390f35b61055f61145e565b604051808260ff1660ff16815260200191505060405180910390f35b6105bd6004803603602081101561059157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611463565b6040518082815260200191505060405180910390f35b610615600480360360208110156105e957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061147b565b604051808261020860200280838360005b83811015610641578082015181840152602081019050610626565b5050505090500191505060405180910390f35b61065c61152c565b005b6106b46004803603606081101561067457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190505050611888565b6040518082815260200191505060405180910390f35b6106d26118c7565b005b6106dc611c4f565b005b6106e6612288565b604051808215151515815260200191505060405180910390f35b61070861229b565b6040518082815260200191505060405180910390f35b6107606004803603602081101561073457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506122a0565b6040518082815260200191505060405180910390f35b6107b86004803603602081101561078c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506122c3565b6040518082815260200191505060405180910390f35b6107d661230c565b005b6107e0612447565b6040518082815260200191505060405180910390f35b6108246004803603602081101561080c57600080fd5b8101908080351515906020019092919050505061244d565b005b61082e61251f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610878612549565b604051808215151515815260200191505060405180910390f35b610a02600480360360608110156108a857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001906401000000008111156108e557600080fd5b8201836020820111156108f757600080fd5b8035906020019184600183028401116401000000008311171561091957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561097c57600080fd5b82018360208201111561098e57600080fd5b803590602001918460018302840111640100000000831117156109b057600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506125a8565b005b610a0c612722565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610a4c578082015181840152602081019050610a31565b50505050905090810190601f168015610a795780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610ac960048036036020811015610a9d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506127c0565b604051808381526020018281526020019250505060405180910390f35b610b2860048036036020811015610afc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061292a565b6040518082815260200191505060405180910390f35b610b8a60048036036040811015610b5457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061294d565b6040518082815260200191505060405180910390f35b610be260048036036020811015610bb657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612972565b005b610c2660048036036020811015610bfa57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612a8a565b005b610c6a60048036036020811015610c3e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612bab565b604051808215151515815260200191505060405180910390f35b610cd060048036036040811015610c9a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612bcb565b005b610cda613419565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610d5e60048036036020811015610d3257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061343f565b005b610da260048036036020811015610d7657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613560565b005b610dac61371e565b005b610db6613c8a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610e00613cb0565b6040518082815260200191505060405180910390f35b610e6260048036036040811015610e2c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050613cb6565b6040518082600260200280838360005b83811015610e8d578082015181840152602081019050610e72565b5050505090500191505060405180910390f35b610eec60048036036040811015610eb657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050613d5a565b6040518082815260200191505060405180910390f35b610f4460048036036020811015610f1857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613d7f565b005b610f8860048036036020811015610f5c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613e05565b005b610f92613f26565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610fdc613f4c565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b606c8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156110b45780601f10611089576101008083540402835291602001916110b4565b820191906000526020600020905b81548152906001019060200180831161109757829003601f168201915b505050505081565b60006110c6612549565b611138576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156111db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f43616e6e6f7420617070726f766520746f207a65726f2061646472657373000081525060200191505060405180910390fd5b6112288383606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613f529092919063ffffffff16565b6001905092915050565b61123a612549565b6112ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6000606760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167fdf629f2060d3f7f4a65bdb2ae8d8cad8c16cf804af98b16951819a8111ae440360405160405180910390a250565b6000606b54905090565b600080611360836113a3565b905060008090505b8181101561139857600061137c858361294d565b1461138b57809250505061139e565b8080600101915050611368565b50809150505b919050565b6000606860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b606a6020528060005260406000206000915090505481565b61140f6147d0565b600061141a83611354565b9050611425836113a3565b81141561144b576040518060400160405280600081526020016000815250915050611459565b6114558382613cb6565b9150505b919050565b601281565b60696020528060005260406000206000915090505481565b6114836147f2565b61148b6147f2565b6000611496846113a3565b905060008090505b81811015611521576114ae6147d0565b6114b88683613cb6565b9050806000600281106114c757fe5b6020020151846002840261020881106114dc57fe5b602002018181525050806001600281106114f257fe5b60200201518460016002850201610208811061150a57fe5b60200201818152505050808060010191505061149e565b508192505050919050565b6000611537336113a3565b9050600080600090505b8281101561162c576000611555338361294d565b905042811115611565575061162c565b60006115713384613d5a565b9050600081141561158357505061161f565b6040518060400160405280600060ff168152602001600060ff16815250606860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002084815481106115ea57fe5b9060005260206000209060020201906002611606929190614816565b5061161a818561417290919063ffffffff16565b935050505b8080600101915050611541565b50600081146118845761164a81606b546141fa90919063ffffffff16565b606b819055506116a281606960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546141fa90919063ffffffff16565b606960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061173781606a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461417290919063ffffffff16565b606a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506117c73382606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166142449092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167ffbeff59d2bfda0d79ea8a29f8c57c66d48c7a13eabbdb90908d9115ec41c9dc64283604051808381526020018281526020019250505060405180910390a2600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35b5050565b606860205282600052604060002082815481106118a157fe5b906000526020600020906002020181600281106118ba57fe5b0160009250925050505481565b606f60149054906101000a900460ff16611949576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f4275726e2064697361626c65640000000000000000000000000000000000000081525060200191505060405180910390fd5b6000611954336122c3565b9050600081116119cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f4e6f7468696e6720746f206275726e000000000000000000000000000000000081525060200191505060405180910390fd5b60006119d7336113a3565b905060008090505b81811015611ae6576000606860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110611a3357fe5b9060005260206000209060020201600060028110611a4d57fe5b015414611ad9576040518060400160405280600060ff168152602001600060ff16815250606860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110611abb57fe5b9060005260206000209060020201906002611ad7929190614816565b505b80806001019150506119df565b50611afc82606b546141fa90919063ffffffff16565b606b819055506000606960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611b9661dead83606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166142449092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f696de425f79f4a40bc6d2122ca50507f0efbeabbff86a84871b7196ab8ea8df7836040518082815260200191505060405180910390a261dead73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff16606e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611d14576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f53686172657354696d654c6f636b206e6f74207365740000000000000000000081525060200191505060405180910390fd5b6000611d1f336113a3565b9050600080600090505b82811015611e6357611d396147d0565b611d433383613cb6565b905060008082600160028110611d5557fe5b602002015183600060028110611d6757fe5b602002015191509150600082118015611d805750600081115b15611e53576000611dae62eff10085600060028110611d9b57fe5b60200201516141fa90919063ffffffff16565b9050804210611e51576040518060400160405280600060ff168152602001600060ff16815250606860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208681548110611e1e57fe5b9060005260206000209060020201906002611e3a929190614816565b50611e4e838761417290919063ffffffff16565b95505b505b5050508080600101915050611d29565b5060008111611eda576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4e6f2076657374696e6720656e747269657320746f206272696467650000000081525060200191505060405180910390fd5b611eef81606b546141fa90919063ffffffff16565b606b81905550611f4781606960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546141fa90919063ffffffff16565b606960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611fdc81606a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461417290919063ffffffff16565b606a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061208f606e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613f529092919063ffffffff16565b6120fe606e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613f529092919063ffffffff16565b606e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630ae65fb1826024336040518463ffffffff1660e01b8152600401808481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019350505050600060405180830381600087803b1580156121b057600080fd5b505af11580156121c4573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff167f24902d8aaa966ca68c58d39a8b1fbf2a45a6e6516e2311372f269982f49faf054283604051808381526020018281526020019250505060405180910390a2600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b606f60149054906101000a900460ff1681565b602481565b60006122ab82611407565b6000600281106122b757fe5b60200201519050919050565b6000606960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b612314612549565b612386576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b606b5481565b612455612549565b6124c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80606f60146101000a81548160ff0219169083151502179055507f2c1d3fa42470f38c24d7ce77dc883522afe986e4d2f9bb71e11756381c240e2c81604051808215151515815260200191505060405180910390a150565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661258c614315565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b600060019054906101000a900460ff16806125c757506125c661431d565b5b806125de57506000809054906101000a900460ff16155b612633576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180614a11602e913960400191505060405180910390fd5b60008060019054906101000a900460ff161590508015612683576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b83606660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082606c90805190602001906126da92919061485b565b5081606d90805190602001906126f192919061485b565b506126fb33613560565b801561271c5760008060016101000a81548160ff0219169083151502179055505b50505050565b606d8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156127b85780601f1061278d576101008083540402835291602001916127b8565b820191906000526020600020905b81548152906001019060200180831161279b57829003601f168201915b505050505081565b60008060006127ce846113a3565b90506000606f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ec2538bb6040518163ffffffff1660e01b815260040160206040518083038186803b15801561283a57600080fd5b505afa15801561284e573d6000803e3d6000fd5b505050506040513d602081101561286457600080fd5b8101908080519060200190929190505050905060008090505b828110156129225761288d6147d0565b6128978783613cb6565b90506000816001600281106128a857fe5b602002015190506000811180156128d057506000826000600281106128c957fe5b6020020151115b1561291357836128e9828961417290919063ffffffff16565b1161290b57829550612904818861417290919063ffffffff16565b9650612912565b5050612922565b5b5050808060010191505061287d565b505050915091565b600061293582611407565b60016002811061294157fe5b60200201519050919050565b60006129598383613cb6565b60006002811061296557fe5b6020020151905092915050565b61297a612549565b6129ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6001606760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f07d8ee2fc36bea90923c93777f9957c6e8ad8ef72ff3168ee0a65672cf5b6c9660405160405180910390a250565b612a92612549565b612b04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80606660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f4428cd624ae30614695a66d2cdbf5db015921ae91ce069d3c39d10970c05138681604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b60676020528060005260406000206000915054906101000a900460ff1681565b606760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612c6d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c81526020018061499e602c913960400191505060405180910390fd5b6000811415612ce4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f5175616e746974792063616e6e6f74206265207a65726f00000000000000000081525060200191505060405180910390fd5b612cf981606b5461417290919063ffffffff16565b606b81905550606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612d9e57600080fd5b505afa158015612db2573d6000803e3d6000fd5b505050506040513d6020811015612dc857600080fd5b8101908080519060200190929190505050606b541115612e33576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260478152602001806149ca6047913960600191505060405180910390fd5b6000606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050610104811115612ef2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f56657374696e67207363686564756c6520697320746f6f206c6f6e670000000081525060200191505060405180910390fd5b60006301dfe200420190506000821415612f4f5782606960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550613051565b80612f65856001612f5f886113a3565b0361294d565b10612fbb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260378152602001806149676037913960400191505060405180910390fd5b61300d83606960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461417290919063ffffffff16565b606960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000606860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905014158015613152575062093a808103606860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001606860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050038154811061313457fe5b906000526020600020906002020160006002811061314e57fe5b0154115b156132c75761321483606860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001606860008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905003815481106131ea57fe5b906000526020600020906002020160016002811061320457fe5b015461417290919063ffffffff16565b606860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001606860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905003815481106132a357fe5b90600052602060002090600202016001600281106132bd57fe5b0181905550613357565b606860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806040016040528083815260200185815250908060018154018082558091505090600182039060005260206000209060020201600090919290919091509060026133549291906148db565b50505b8373ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a38373ffffffffffffffffffffffffffffffffffffffff167fedd34dc5a5ea12bd847909801d0660781b50e26c7f4cec3c7b308f1ea410635c4285604051808381526020018281526020019250505060405180910390a250505050565b606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b613447612549565b6134b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80606e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fc046b9e8f0cd9b70a3b838962e9c229277fbb7abee68ea0fad4acf2898ed2ca981604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b600060019054906101000a900460ff168061357f575061357e61431d565b5b8061359657506000809054906101000a900460ff16155b6135eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180614a11602e913960400191505060405180910390fd5b60008060019054906101000a900460ff16159050801561363b576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b81603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3801561371a5760008060016101000a81548160ff0219169083151502179055505b5050565b600073ffffffffffffffffffffffffffffffffffffffff16606f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156137e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f4275796261636b20636f6e7472616374206e6f7420736574000000000000000081525060200191505060405180910390fd5b6000806137ef336127c0565b9150915060008211613869576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4e6f7468696e6720617661696c61626c6520666f72206275796261636b00000081525060200191505060405180910390fd5b60008090505b818111613907576040518060400160405280600060ff168152602001600060ff16815250606860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002082815481106138dd57fe5b90600052602060002090600202019060026138f9929190614816565b50808060010191505061386f565b5061391d82606b546141fa90919063ffffffff16565b606b8190555061397582606960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546141fa90919063ffffffff16565b606960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550613a0a82606a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461417290919063ffffffff16565b606a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000606f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d1ffa52984336040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200192505050602060405180830381600087803b158015613af857600080fd5b505af1158015613b0c573d6000803e3d6000fd5b505050506040513d6020811015613b2257600080fd5b8101908080519060200190929190505050905080613ba8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f4275796261636b206661696c656400000000000000000000000000000000000081525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167f2dcc2439519c7d06fca9f8ae01e07f4f3c6ca21b5cdf8eff42cb75cf34d223c94285604051808381526020018281526020019250505060405180910390a2606f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a3505050565b606e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61010481565b613cbe6147d0565b606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110613d0857fe5b9060005260206000209060020201600280602002604051908101604052809291908260028015613d4d576020028201915b815481526020019060010190808311613d39575b5050505050905092915050565b6000613d668383613cb6565b600160028110613d7257fe5b6020020151905092915050565b613d87612549565b613df9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b613e0281614334565b50565b613e0d612549565b613e7f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80606f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f55e04d2941a18ee7983b199e97c602106c6710e40f96041b65e8301fbcd8d1bd81604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b606f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61dead81565b600081148061404c575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561400f57600080fd5b505afa158015614023573d6000803e3d6000fd5b505050506040513d602081101561403957600080fd5b8101908080519060200190929190505050145b6140a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180614a696036913960400191505060405180910390fd5b61416d838473ffffffffffffffffffffffffffffffffffffffff1663095ea7b3905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061447a565b505050565b6000808284019050838110156141f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600061423c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506146c5565b905092915050565b614310838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061447a565b505050565b600033905090565b6000803090506000813b9050600081149250505090565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156143ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806149416026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6144998273ffffffffffffffffffffffffffffffffffffffff16614785565b61450b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b6020831061455a5780518252602082019150602081019050602083039250614537565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146145bc576040519150601f19603f3d011682016040523d82523d6000602084013e6145c1565b606091505b509150915081614639576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b6000815111156146bf5780806020019051602081101561465857600080fd5b81019080805190602001909291905050506146be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614a3f602a913960400191505060405180910390fd5b5b50505050565b6000838311158290614772576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561473757808201518184015260208101905061471c565b50505050905090810190601f1680156147645780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f91508082141580156147c757506000801b8214155b92505050919050565b6040518060400160405280600290602082028038833980820191505090505090565b60405180614100016040528061020890602082028038833980820191505090505090565b826002810192821561484a579160200282015b82811115614849578251829060ff16905591602001919060010190614829565b5b509050614857919061491b565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061489c57805160ff19168380011785556148ca565b828001600101855582156148ca579182015b828111156148c95782518255916020019190600101906148ae565b5b5090506148d7919061491b565b5090565b826002810192821561490a579160200282015b828111156149095782518255916020019190600101906148ee565b5b509050614917919061491b565b5090565b61493d91905b80821115614939576000816000905550600101614921565b5090565b9056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737343616e6e6f7420616464206e65772076657374656420656e7472696573206561726c696572207468616e20746865206c617374206f6e654f6e6c792072657761726420636f6e74726163742063616e20706572666f726d207468697320616374696f6e4d75737420626520656e6f7567682062616c616e636520696e2074686520636f6e747261637420746f2070726f7669646520666f72207468652076657374696e6720656e747279436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a65645361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a265627a7a723158205ce89512f07e2e611938c5bd78136ef0a38b8711581a35434511388286def5e964736f6c634300050c0032
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061027f5760003560e01c80638da5cb5b1161015c578063bbca6210116100ce578063da7bd3e911610087578063da7bd3e914610e16578063ee1d036c14610ea0578063f2fde38b14610f02578063f3856e7614610f46578063f8ec691114610f8a578063fccc281314610fd45761027f565b8063bbca621014610cd2578063bdacb30314610d1c578063c4d66de814610d60578063c55b3f5314610da4578063cebcbe9514610dae578063d0cc82e314610df85761027f565b806397f465271161012057806397f4652714610ae65780639b217f9014610b3e5780639f61e68e14610ba0578063a1c032f714610be4578063b0e852f814610c28578063b5ddb9c714610c845761027f565b80638da5cb5b146108265780638f32d59b14610870578063906571471461089257806395d89b4114610a0457806397e7ab3a14610a875761027f565b8063458efde3116101f55780636afb630a116101b95780636afb630a146107005780636b3905c41461071e57806370a0823114610776578063715018a6146107ce57806371e780f3146107d85780637b2c835f146107f65761027f565b8063458efde31461065457806345e5441f1461065e5780634deff29a146106ca5780634f3fead6146106d45780635dc96d16146106de5761027f565b8063204b676a11610247578063204b676a14610427578063227d517a1461047f5780632f5bb661146104d7578063313ce56714610557578063326a3cfb1461057b578063449d0eb1146105d35761027f565b806306fdde0314610284578063095ea7b3146103075780630bcc8c171461036d57806318160ddd146103b157806319e740c0146103cf575b600080fd5b61028c61101e565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156102cc5780820151818401526020810190506102b1565b50505050905090810190601f1680156102f95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103536004803603604081101561031d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506110bc565b604051808215151515815260200191505060405180910390f35b6103af6004803603602081101561038357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611232565b005b6103b961134a565b6040518082815260200191505060405180910390f35b610411600480360360208110156103e557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611354565b6040518082815260200191505060405180910390f35b6104696004803603602081101561043d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113a3565b6040518082815260200191505060405180910390f35b6104c16004803603602081101561049557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113ef565b6040518082815260200191505060405180910390f35b610519600480360360208110156104ed57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611407565b6040518082600260200280838360005b83811015610544578082015181840152602081019050610529565b5050505090500191505060405180910390f35b61055f61145e565b604051808260ff1660ff16815260200191505060405180910390f35b6105bd6004803603602081101561059157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611463565b6040518082815260200191505060405180910390f35b610615600480360360208110156105e957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061147b565b604051808261020860200280838360005b83811015610641578082015181840152602081019050610626565b5050505090500191505060405180910390f35b61065c61152c565b005b6106b46004803603606081101561067457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190929190505050611888565b6040518082815260200191505060405180910390f35b6106d26118c7565b005b6106dc611c4f565b005b6106e6612288565b604051808215151515815260200191505060405180910390f35b61070861229b565b6040518082815260200191505060405180910390f35b6107606004803603602081101561073457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506122a0565b6040518082815260200191505060405180910390f35b6107b86004803603602081101561078c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506122c3565b6040518082815260200191505060405180910390f35b6107d661230c565b005b6107e0612447565b6040518082815260200191505060405180910390f35b6108246004803603602081101561080c57600080fd5b8101908080351515906020019092919050505061244d565b005b61082e61251f565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610878612549565b604051808215151515815260200191505060405180910390f35b610a02600480360360608110156108a857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001906401000000008111156108e557600080fd5b8201836020820111156108f757600080fd5b8035906020019184600183028401116401000000008311171561091957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561097c57600080fd5b82018360208201111561098e57600080fd5b803590602001918460018302840111640100000000831117156109b057600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506125a8565b005b610a0c612722565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610a4c578082015181840152602081019050610a31565b50505050905090810190601f168015610a795780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610ac960048036036020811015610a9d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506127c0565b604051808381526020018281526020019250505060405180910390f35b610b2860048036036020811015610afc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061292a565b6040518082815260200191505060405180910390f35b610b8a60048036036040811015610b5457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061294d565b6040518082815260200191505060405180910390f35b610be260048036036020811015610bb657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612972565b005b610c2660048036036020811015610bfa57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612a8a565b005b610c6a60048036036020811015610c3e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612bab565b604051808215151515815260200191505060405180910390f35b610cd060048036036040811015610c9a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050612bcb565b005b610cda613419565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610d5e60048036036020811015610d3257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061343f565b005b610da260048036036020811015610d7657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613560565b005b610dac61371e565b005b610db6613c8a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610e00613cb0565b6040518082815260200191505060405180910390f35b610e6260048036036040811015610e2c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050613cb6565b6040518082600260200280838360005b83811015610e8d578082015181840152602081019050610e72565b5050505090500191505060405180910390f35b610eec60048036036040811015610eb657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050613d5a565b6040518082815260200191505060405180910390f35b610f4460048036036020811015610f1857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613d7f565b005b610f8860048036036020811015610f5c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613e05565b005b610f92613f26565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610fdc613f4c565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b606c8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156110b45780601f10611089576101008083540402835291602001916110b4565b820191906000526020600020905b81548152906001019060200180831161109757829003601f168201915b505050505081565b60006110c6612549565b611138576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156111db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f43616e6e6f7420617070726f766520746f207a65726f2061646472657373000081525060200191505060405180910390fd5b6112288383606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613f529092919063ffffffff16565b6001905092915050565b61123a612549565b6112ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6000606760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167fdf629f2060d3f7f4a65bdb2ae8d8cad8c16cf804af98b16951819a8111ae440360405160405180910390a250565b6000606b54905090565b600080611360836113a3565b905060008090505b8181101561139857600061137c858361294d565b1461138b57809250505061139e565b8080600101915050611368565b50809150505b919050565b6000606860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b606a6020528060005260406000206000915090505481565b61140f6147d0565b600061141a83611354565b9050611425836113a3565b81141561144b576040518060400160405280600081526020016000815250915050611459565b6114558382613cb6565b9150505b919050565b601281565b60696020528060005260406000206000915090505481565b6114836147f2565b61148b6147f2565b6000611496846113a3565b905060008090505b81811015611521576114ae6147d0565b6114b88683613cb6565b9050806000600281106114c757fe5b6020020151846002840261020881106114dc57fe5b602002018181525050806001600281106114f257fe5b60200201518460016002850201610208811061150a57fe5b60200201818152505050808060010191505061149e565b508192505050919050565b6000611537336113a3565b9050600080600090505b8281101561162c576000611555338361294d565b905042811115611565575061162c565b60006115713384613d5a565b9050600081141561158357505061161f565b6040518060400160405280600060ff168152602001600060ff16815250606860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002084815481106115ea57fe5b9060005260206000209060020201906002611606929190614816565b5061161a818561417290919063ffffffff16565b935050505b8080600101915050611541565b50600081146118845761164a81606b546141fa90919063ffffffff16565b606b819055506116a281606960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546141fa90919063ffffffff16565b606960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061173781606a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461417290919063ffffffff16565b606a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506117c73382606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166142449092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167ffbeff59d2bfda0d79ea8a29f8c57c66d48c7a13eabbdb90908d9115ec41c9dc64283604051808381526020018281526020019250505060405180910390a2600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35b5050565b606860205282600052604060002082815481106118a157fe5b906000526020600020906002020181600281106118ba57fe5b0160009250925050505481565b606f60149054906101000a900460ff16611949576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f4275726e2064697361626c65640000000000000000000000000000000000000081525060200191505060405180910390fd5b6000611954336122c3565b9050600081116119cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f4e6f7468696e6720746f206275726e000000000000000000000000000000000081525060200191505060405180910390fd5b60006119d7336113a3565b905060008090505b81811015611ae6576000606860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110611a3357fe5b9060005260206000209060020201600060028110611a4d57fe5b015414611ad9576040518060400160405280600060ff168152602001600060ff16815250606860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110611abb57fe5b9060005260206000209060020201906002611ad7929190614816565b505b80806001019150506119df565b50611afc82606b546141fa90919063ffffffff16565b606b819055506000606960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611b9661dead83606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166142449092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f696de425f79f4a40bc6d2122ca50507f0efbeabbff86a84871b7196ab8ea8df7836040518082815260200191505060405180910390a261dead73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff16606e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611d14576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f53686172657354696d654c6f636b206e6f74207365740000000000000000000081525060200191505060405180910390fd5b6000611d1f336113a3565b9050600080600090505b82811015611e6357611d396147d0565b611d433383613cb6565b905060008082600160028110611d5557fe5b602002015183600060028110611d6757fe5b602002015191509150600082118015611d805750600081115b15611e53576000611dae62eff10085600060028110611d9b57fe5b60200201516141fa90919063ffffffff16565b9050804210611e51576040518060400160405280600060ff168152602001600060ff16815250606860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208681548110611e1e57fe5b9060005260206000209060020201906002611e3a929190614816565b50611e4e838761417290919063ffffffff16565b95505b505b5050508080600101915050611d29565b5060008111611eda576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4e6f2076657374696e6720656e747269657320746f206272696467650000000081525060200191505060405180910390fd5b611eef81606b546141fa90919063ffffffff16565b606b81905550611f4781606960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546141fa90919063ffffffff16565b606960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611fdc81606a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461417290919063ffffffff16565b606a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061208f606e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166000606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613f529092919063ffffffff16565b6120fe606e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613f529092919063ffffffff16565b606e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630ae65fb1826024336040518463ffffffff1660e01b8152600401808481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019350505050600060405180830381600087803b1580156121b057600080fd5b505af11580156121c4573d6000803e3d6000fd5b505050503373ffffffffffffffffffffffffffffffffffffffff167f24902d8aaa966ca68c58d39a8b1fbf2a45a6e6516e2311372f269982f49faf054283604051808381526020018281526020019250505060405180910390a2600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b606f60149054906101000a900460ff1681565b602481565b60006122ab82611407565b6000600281106122b757fe5b60200201519050919050565b6000606960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b612314612549565b612386576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b606b5481565b612455612549565b6124c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80606f60146101000a81548160ff0219169083151502179055507f2c1d3fa42470f38c24d7ce77dc883522afe986e4d2f9bb71e11756381c240e2c81604051808215151515815260200191505060405180910390a150565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661258c614315565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b600060019054906101000a900460ff16806125c757506125c661431d565b5b806125de57506000809054906101000a900460ff16155b612633576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180614a11602e913960400191505060405180910390fd5b60008060019054906101000a900460ff161590508015612683576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b83606660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082606c90805190602001906126da92919061485b565b5081606d90805190602001906126f192919061485b565b506126fb33613560565b801561271c5760008060016101000a81548160ff0219169083151502179055505b50505050565b606d8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156127b85780601f1061278d576101008083540402835291602001916127b8565b820191906000526020600020905b81548152906001019060200180831161279b57829003601f168201915b505050505081565b60008060006127ce846113a3565b90506000606f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ec2538bb6040518163ffffffff1660e01b815260040160206040518083038186803b15801561283a57600080fd5b505afa15801561284e573d6000803e3d6000fd5b505050506040513d602081101561286457600080fd5b8101908080519060200190929190505050905060008090505b828110156129225761288d6147d0565b6128978783613cb6565b90506000816001600281106128a857fe5b602002015190506000811180156128d057506000826000600281106128c957fe5b6020020151115b1561291357836128e9828961417290919063ffffffff16565b1161290b57829550612904818861417290919063ffffffff16565b9650612912565b5050612922565b5b5050808060010191505061287d565b505050915091565b600061293582611407565b60016002811061294157fe5b60200201519050919050565b60006129598383613cb6565b60006002811061296557fe5b6020020151905092915050565b61297a612549565b6129ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6001606760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167f07d8ee2fc36bea90923c93777f9957c6e8ad8ef72ff3168ee0a65672cf5b6c9660405160405180910390a250565b612a92612549565b612b04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80606660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f4428cd624ae30614695a66d2cdbf5db015921ae91ce069d3c39d10970c05138681604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b60676020528060005260406000206000915054906101000a900460ff1681565b606760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612c6d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c81526020018061499e602c913960400191505060405180910390fd5b6000811415612ce4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f5175616e746974792063616e6e6f74206265207a65726f00000000000000000081525060200191505060405180910390fd5b612cf981606b5461417290919063ffffffff16565b606b81905550606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612d9e57600080fd5b505afa158015612db2573d6000803e3d6000fd5b505050506040513d6020811015612dc857600080fd5b8101908080519060200190929190505050606b541115612e33576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260478152602001806149ca6047913960600191505060405180910390fd5b6000606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050610104811115612ef2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f56657374696e67207363686564756c6520697320746f6f206c6f6e670000000081525060200191505060405180910390fd5b60006301dfe200420190506000821415612f4f5782606960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550613051565b80612f65856001612f5f886113a3565b0361294d565b10612fbb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260378152602001806149676037913960400191505060405180910390fd5b61300d83606960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461417290919063ffffffff16565b606960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000606860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905014158015613152575062093a808103606860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001606860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050038154811061313457fe5b906000526020600020906002020160006002811061314e57fe5b0154115b156132c75761321483606860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001606860008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905003815481106131ea57fe5b906000526020600020906002020160016002811061320457fe5b015461417290919063ffffffff16565b606860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001606860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905003815481106132a357fe5b90600052602060002090600202016001600281106132bd57fe5b0181905550613357565b606860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806040016040528083815260200185815250908060018154018082558091505090600182039060005260206000209060020201600090919290919091509060026133549291906148db565b50505b8373ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a38373ffffffffffffffffffffffffffffffffffffffff167fedd34dc5a5ea12bd847909801d0660781b50e26c7f4cec3c7b308f1ea410635c4285604051808381526020018281526020019250505060405180910390a250505050565b606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b613447612549565b6134b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80606e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fc046b9e8f0cd9b70a3b838962e9c229277fbb7abee68ea0fad4acf2898ed2ca981604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b600060019054906101000a900460ff168061357f575061357e61431d565b5b8061359657506000809054906101000a900460ff16155b6135eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180614a11602e913960400191505060405180910390fd5b60008060019054906101000a900460ff16159050801561363b576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b81603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3801561371a5760008060016101000a81548160ff0219169083151502179055505b5050565b600073ffffffffffffffffffffffffffffffffffffffff16606f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156137e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f4275796261636b20636f6e7472616374206e6f7420736574000000000000000081525060200191505060405180910390fd5b6000806137ef336127c0565b9150915060008211613869576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f4e6f7468696e6720617661696c61626c6520666f72206275796261636b00000081525060200191505060405180910390fd5b60008090505b818111613907576040518060400160405280600060ff168152602001600060ff16815250606860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002082815481106138dd57fe5b90600052602060002090600202019060026138f9929190614816565b50808060010191505061386f565b5061391d82606b546141fa90919063ffffffff16565b606b8190555061397582606960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546141fa90919063ffffffff16565b606960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550613a0a82606a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461417290919063ffffffff16565b606a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000606f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d1ffa52984336040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200192505050602060405180830381600087803b158015613af857600080fd5b505af1158015613b0c573d6000803e3d6000fd5b505050506040513d6020811015613b2257600080fd5b8101908080519060200190929190505050905080613ba8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f4275796261636b206661696c656400000000000000000000000000000000000081525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167f2dcc2439519c7d06fca9f8ae01e07f4f3c6ca21b5cdf8eff42cb75cf34d223c94285604051808381526020018281526020019250505060405180910390a2606f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a3505050565b606e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61010481565b613cbe6147d0565b606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208281548110613d0857fe5b9060005260206000209060020201600280602002604051908101604052809291908260028015613d4d576020028201915b815481526020019060010190808311613d39575b5050505050905092915050565b6000613d668383613cb6565b600160028110613d7257fe5b6020020151905092915050565b613d87612549565b613df9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b613e0281614334565b50565b613e0d612549565b613e7f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80606f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f55e04d2941a18ee7983b199e97c602106c6710e40f96041b65e8301fbcd8d1bd81604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b606f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61dead81565b600081148061404c575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561400f57600080fd5b505afa158015614023573d6000803e3d6000fd5b505050506040513d602081101561403957600080fd5b8101908080519060200190929190505050145b6140a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180614a696036913960400191505060405180910390fd5b61416d838473ffffffffffffffffffffffffffffffffffffffff1663095ea7b3905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061447a565b505050565b6000808284019050838110156141f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600061423c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506146c5565b905092915050565b614310838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061447a565b505050565b600033905090565b6000803090506000813b9050600081149250505090565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156143ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806149416026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6144998273ffffffffffffffffffffffffffffffffffffffff16614785565b61450b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b6020831061455a5780518252602082019150602081019050602083039250614537565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146145bc576040519150601f19603f3d011682016040523d82523d6000602084013e6145c1565b606091505b509150915081614639576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b6000815111156146bf5780806020019051602081101561465857600080fd5b81019080805190602001909291905050506146be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614a3f602a913960400191505060405180910390fd5b5b50505050565b6000838311158290614772576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561473757808201518184015260208101905061471c565b50505050905090810190601f1680156147645780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f91508082141580156147c757506000801b8214155b92505050919050565b6040518060400160405280600290602082028038833980820191505090505090565b60405180614100016040528061020890602082028038833980820191505090505090565b826002810192821561484a579160200282015b82811115614849578251829060ff16905591602001919060010190614829565b5b509050614857919061491b565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061489c57805160ff19168380011785556148ca565b828001600101855582156148ca579182015b828111156148c95782518255916020019190600101906148ae565b5b5090506148d7919061491b565b5090565b826002810192821561490a579160200282015b828111156149095782518255916020019190600101906148ee565b5b509050614917919061491b565b5090565b61493d91905b80821115614939576000816000905550600101614921565b5090565b9056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737343616e6e6f7420616464206e65772076657374656420656e7472696573206561726c696572207468616e20746865206c617374206f6e654f6e6c792072657761726420636f6e74726163742063616e20706572666f726d207468697320616374696f6e4d75737420626520656e6f7567682062616c616e636520696e2074686520636f6e747261637420746f2070726f7669646520666f72207468652076657374696e6720656e747279436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a65645361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a265627a7a723158205ce89512f07e2e611938c5bd78136ef0a38b8711581a35434511388286def5e964736f6c634300050c0032
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
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.