ERC-20
Overview
Max Total Supply
70,505,102.850554128554805319 sFOO
Holders
138
Market
Price
$0.00 @ 0.000000 FTM
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
555.470609339379324472 sFOOValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
SfooToken
Compiler Version
v0.6.2+commit.bacdbe57
Optimization Enabled:
No with 200 runs
Other Settings:
byzantium EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.6.2; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; contract SfooToken is ERC20, Ownable { using SafeMath for uint256; address public constant foo = address(0xFbc3c04845162F067A0B6F8934383E63899c3524); uint256 public endDate; // End date for this staking contract. uint256 public deployedDate; // Date this staking contract was deployed. bool public disabled = false; // Disable new positions uint256 public minimumLock = 6 days; // 6 days struct StakerPosition { uint256 principle; // Recorded in the event funds need to be returned. uint256 amountToRelease; // The amount to release at the end of the locking period. uint256 releaseDate; // The end of the locking period. uint256 lastLockedDate; // Record the date of the last lock. } mapping (address => StakerPosition) public stakerPositions; address[] public stakers; constructor(string memory _name, string memory _symbol) public ERC20(_name, _symbol) { endDate = block.timestamp + 208 weeks; // 208 weeks deployedDate = block.timestamp; } // //* Convenience Functions *// function getStakers() public view returns (address[] memory) { return stakers; } function totalPrincipleLocked() public view returns (uint256) { uint256 totalPrinciple=0; for(int i = 0; i<int(stakers.length); i++) { StakerPosition memory stakerPosition = stakerPositions[stakers[uint(i)]]; if(stakerPosition.principle > 0) { totalPrinciple = totalPrinciple.add(stakerPosition.principle); } } return totalPrinciple; } function totalObligationAtDate(uint256 _obligationDate) public view returns (uint256) { uint256 totalObligation=0; for(int i = 0; i<int(stakers.length); i++) { StakerPosition memory stakerPosition = stakerPositions[stakers[uint(i)]]; if(stakerPosition.releaseDate <= _obligationDate) { if(stakerPosition.amountToRelease > 0) { totalObligation = totalObligation.add(stakerPosition.amountToRelease); } } } return totalObligation; } //* Staking Functions *// function lock(uint256 _amount, uint256 _untilDate) public { require(!disabled, 'Modifying, adding positions currently disabled.'); // Attempt to transfer in FOO _amount, must be approved! ERC20(foo).transferFrom(msg.sender, address(this), _amount); // Get stakerPosition in storage StakerPosition storage stakerPosition = stakerPositions[msg.sender]; require(_untilDate > block.timestamp + minimumLock, 'Funds must be locked for at least minimumLock.'); require(_untilDate >= stakerPosition.releaseDate, 'Lock until date must be at least stakerPosition.releaseDate'); require(_untilDate <= endDate, 'Lock date cannot exceed endDate of staking contract'); stakerPosition.amountToRelease = fooForAmountAndAddressAtDate(_amount, msg.sender, _untilDate); stakerPosition.releaseDate = _untilDate; stakerPosition.principle = stakerPosition.principle.add(_amount); stakerPosition.lastLockedDate = block.timestamp; // Put a token in the stakers wallet to indicate their future foo uint256 sendersBalance = ERC20(address(this)).balanceOf(msg.sender); // Stakers wallet should have amount to release in it, token is non-transferrable so this balance only changes when we want it to _mint(msg.sender, stakerPosition.amountToRelease.sub(sendersBalance)); // Add staker if necessary if(getIndexInStakers(msg.sender) == -1) { stakers.push(msg.sender); } emit Locked(msg.sender, _amount, _untilDate); } function fooForAmountAndAddressAtDate(uint256 _amount, address _staker, uint256 _untilDate) public view returns (uint256) { // Get stakerPosition in storage StakerPosition memory stakerPosition = stakerPositions[_staker]; // How much will staker have at current maturity date... uint256 stakerWillHave = stakerPosition.amountToRelease; // How much are we extending that date... uint256 amountToReleaseJustExtendingCurrent = stakerWillHave.add(stakerWillHave.mul(bonusForLockLength(stakerPosition.releaseDate, _untilDate)).div(1e36)); // Now add a new position with the additional funds... uint256 amountForStakingAdditionalToSameNewDate = _amount.add(_amount.mul(bonusForLockLength(block.timestamp, _untilDate)).div(1e36)); // Add these two amounts together to return the new amountToRelease at untilDate return amountToReleaseJustExtendingCurrent.add(amountForStakingAdditionalToSameNewDate); } function claim(uint256 _amount) public { // Claim all unlocked funds // Get stakerPosition in storage StakerPosition storage stakerPosition = stakerPositions[msg.sender]; // Make sure the releaseDate is here require(block.timestamp >= stakerPosition.releaseDate, 'No funds available to release'); require(_amount <= stakerPosition.amountToRelease, 'Do not have that amount to release'); // Burn the users tokens _burn(msg.sender, _amount); // Send the user the proper amount of FOO back ERC20(foo).approve(address(this), _amount); ERC20(foo).transferFrom(address(this), msg.sender, _amount); // Calculate principle to remove, position is fully unlocked at this point so subtracting proportionally should be fine uint256 principleToSubtract = stakerPosition.principle.mul(_amount).div(stakerPosition.amountToRelease); // Reset variables stakerPosition.amountToRelease = stakerPosition.amountToRelease.sub(_amount); stakerPosition.principle = stakerPosition.principle.sub(principleToSubtract); // Remove staker from management array and clear releaseDate if necessary if(stakerPosition.principle == 0 && stakerPosition.amountToRelease == 0) { stakerPosition.releaseDate = 0; stakerPosition.lastLockedDate = 0; require(removeFromStakers(msg.sender), 'Could not remove staker'); } emit Claimed(msg.sender, _amount); } function claimPrinciple() public { // Let staker claim principle only, we need this in the event dev keys are burned // All of their sFOO will be burned, and their position removed // Get stakerPosition in storage StakerPosition storage stakerPosition = stakerPositions[msg.sender]; // Store this for event emission uint256 principleAmount = stakerPosition.principle; // Make sure the releaseDate is here require(block.timestamp >= stakerPosition.releaseDate, 'No funds available to release'); // Burn all of the stakers tokens _burn(msg.sender, balanceOf(msg.sender)); // Send the user the proper amount of FOO back ERC20(foo).approve(address(this), stakerPosition.principle); ERC20(foo).transferFrom(address(this), msg.sender, stakerPosition.principle); // FOO principle has been returned, remove this stakers position stakerPosition.amountToRelease = 0; stakerPosition.releaseDate = 0; stakerPosition.principle = 0; stakerPosition.lastLockedDate = 0; require(removeFromStakers(msg.sender), 'Could not remove staker'); emit ClaimedPrinciple(msg.sender, principleAmount); } function bonusForLockLength(uint256 _startDate, uint256 _untilDate) internal view returns (uint256) { require(_untilDate > _startDate, 'Until date must be greater than startDate.'); uint256 lockedForSeconds = _untilDate.sub(_startDate); uint256 fourYears = endDate.sub(deployedDate); if(lockedForSeconds > fourYears) { lockedForSeconds = fourYears; } return (lockedForSeconds**2).mul(1e36).div(3990000000000000); } //* ERC20 Overrides *// function transfer(address recipient, uint256 amount) public virtual override returns (bool) { require(recipient==address(this), 'This token is non-transferrable'); _transfer(_msgSender(), recipient, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { require(recipient==address(this), 'This token is non-transferrable'); _transfer(sender, recipient, amount); _approve(sender, _msgSender(), allowance(sender, _msgSender()).sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } //* Stakers Array Management *// function getIndexInStakers(address _staker) public view returns (int) { int indexOfStaker = -1; for(int i = 0; i<int(stakers.length); i++) { if(stakers[uint(i)]==_staker) { indexOfStaker=i; break; } } return indexOfStaker; } function removeFromStakers(address _staker) private returns (bool) { int indexOfStaker = getIndexInStakers(_staker); if(indexOfStaker == -1) return false; // Remove element from array by swapping with last, loses order stakers[uint(indexOfStaker)] = stakers[stakers.length - 1]; // Move last element to current position stakers.pop(); return true; } //* Emergency Returns *// function returnPrincipleToStakers() public onlyOwner { // Try to do all at once, may or may not work (gas?) for(int i = 0; i<int(stakers.length); i++) { returnPrincipleToStaker(stakers[uint(i)]); } } function returnPrincipleToStaker(address _staker) public onlyOwner { // Equivalent to a claim except only principle gets returned... (In an emergency) // Get stakerPosition in storage StakerPosition storage stakerPosition = stakerPositions[_staker]; // See if staker has any principle to return if(stakerPosition.principle > 0) { // Store this for event emission uint256 principleAmount = stakerPosition.principle; // Burn the staker's tokens _burn(_staker, stakerPosition.amountToRelease); // Return FOO principle to staker ERC20(foo).approve(address(this), stakerPosition.principle); ERC20(foo).transferFrom(address(this), _staker, stakerPosition.principle); // FOO principle has been returned, remove this stakers position stakerPosition.amountToRelease = 0; stakerPosition.releaseDate = 0; stakerPosition.principle = 0; stakerPosition.lastLockedDate = 0; // Remove staker itself removeFromStakers(_staker); emit OwnerReturnedPrinciple(_staker, principleAmount); } } function returnNonPrincipleToOwner() public onlyOwner { // Return the non-principle FOO on this contract to the owner in an emergency uint256 deductPrinciple=0; for(int i = 0; i<int(stakers.length); i++) { StakerPosition memory stakerPosition = stakerPositions[stakers[uint(i)]]; if(stakerPosition.principle > 0) { deductPrinciple = deductPrinciple.add(stakerPosition.principle); } } // Get balance to return uint256 returnBalance = ERC20(foo).balanceOf(address(this)).sub(deductPrinciple); // Return this FOO balance to the contract owner ERC20(foo).approve(address(this), returnBalance); ERC20(foo).transferFrom(address(this), owner(), returnBalance); } function setDisabled(bool _disabled) public onlyOwner { disabled = _disabled; } function setMinimumLock(uint256 _minimumLock) public onlyOwner { minimumLock = _minimumLock; } //* Events *// event Locked(address staker, uint256 amount, uint256 until); event Claimed(address staker, uint256 amount); event ClaimedPrinciple(address staker, uint256 amount); event OwnerReturnedPrinciple(address staker, uint256 amount); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with 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. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `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); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../../utils/Context.sol"; import "./IERC20.sol"; import "../../math/SafeMath.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) public { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal virtual { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.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, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @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) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @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) { 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, reverting 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) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting 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) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * 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, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * 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, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { 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 virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "byzantium", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"staker","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"staker","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ClaimedPrinciple","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"staker","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"until","type":"uint256"}],"name":"Locked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"staker","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"OwnerReturnedPrinciple","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimPrinciple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deployedDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"foo","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_staker","type":"address"},{"internalType":"uint256","name":"_untilDate","type":"uint256"}],"name":"fooForAmountAndAddressAtDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_staker","type":"address"}],"name":"getIndexInStakers","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStakers","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_untilDate","type":"uint256"}],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minimumLock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"returnNonPrincipleToOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_staker","type":"address"}],"name":"returnPrincipleToStaker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"returnPrincipleToStakers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_disabled","type":"bool"}],"name":"setDisabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minimumLock","type":"uint256"}],"name":"setMinimumLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"stakerPositions","outputs":[{"internalType":"uint256","name":"principle","type":"uint256"},{"internalType":"uint256","name":"amountToRelease","type":"uint256"},{"internalType":"uint256","name":"releaseDate","type":"uint256"},{"internalType":"uint256","name":"lastLockedDate","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stakers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_obligationDate","type":"uint256"}],"name":"totalObligationAtDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalPrincipleLocked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600860006101000a81548160ff0219169083151502179055506207e9006009553480156200003357600080fd5b506040516200488f3803806200488f833981810160405262000059919081019062000294565b818181600390805190602001906200007392919062000189565b5080600490805190602001906200008c92919062000189565b506012600560006101000a81548160ff021916908360ff16021790555050506000620000c662000181640100000000026401000000009004565b905080600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35063077f8800420160068190555042600781905550505062000398565b600033905090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001cc57805160ff1916838001178555620001fd565b82800160010185558215620001fd579182015b82811115620001fc578251825591602001919060010190620001df565b5b5090506200020c919062000210565b5090565b6200023591905b808211156200023157600081600090555060010162000217565b5090565b90565b600082601f8301126200024a57600080fd5b8151620002616200025b8262000335565b62000307565b915080825260208301602083018583830111156200027e57600080fd5b6200028b83828462000362565b50505092915050565b60008060408385031215620002a857600080fd5b600083015167ffffffffffffffff811115620002c357600080fd5b620002d18582860162000238565b925050602083015167ffffffffffffffff811115620002ef57600080fd5b620002fd8582860162000238565b9150509250929050565b6000604051905081810181811067ffffffffffffffff821117156200032b57600080fd5b8060405250919050565b600067ffffffffffffffff8211156200034d57600080fd5b601f19601f8301169050602081019050919050565b60005b838110156200038257808201518184015260208101905062000365565b8381111562000392576000848401525b50505050565b6144e780620003a86000396000f3fe608060405234801561001057600080fd5b5060043610610223576000357c01000000000000000000000000000000000000000000000000000000009004806371177b3c11610137578063c24a0f8b116100ca578063d7d9303d11610099578063d7d9303d146105ff578063dd62ed3e14610609578063ee07080514610639578063f2fde38b14610657578063fd5e6dd11461067357610223565b8063c24a0f8b14610577578063c298557814610595578063d2440545146105b3578063d62f2246146105e357610223565b80639901a57f116101065780639901a57f146104da578063a457c2d7146104e4578063a9059cbb14610514578063b872873b1461054457610223565b806371177b3c14610476578063715018a6146104945780638da5cb5b1461049e57806395d89b41146104bc57610223565b806323b872dd116101ba5780633f3273b5116101895780633f3273b5146103e657806343352d61146103f05780635e64cd911461040e5780636c5a7d1e1461042a57806370a082311461044657610223565b806323b872dd1461034c578063313ce5671461037c578063379607f51461039a57806339509351146103b657610223565b80631338736f116101f65780631338736f146102b2578063163a29ce146102ce57806318160ddd146102fe578063193f19001461031c57610223565b806304b272db1461022857806306fdde0314610246578063076d555614610264578063095ea7b314610282575b600080fd5b6102306106a3565b60405161023d919061422e565b60405180910390f35b61024e6107ad565b60405161025b9190613f6c565b60405180910390f35b61026c61084f565b604051610279919061422e565b60405180910390f35b61029c600480360361029791908101906133ff565b610855565b6040516102a99190613f36565b60405180910390f35b6102cc60048036036102c7919081019061352e565b610873565b005b6102e860048036036102e3919081019061348d565b610c7a565b6040516102f5919061422e565b60405180910390f35b610306610d92565b604051610313919061422e565b60405180910390f35b610336600480360361033191908101906134df565b610d9c565b604051610343919061422e565b60405180910390f35b610366600480360361036191908101906133b0565b610eed565b6040516103739190613f36565b60405180910390f35b610384610fc1565b604051610391919061428e565b60405180910390f35b6103b460048036036103af919081019061348d565b610fd8565b005b6103d060048036036103cb91908101906133ff565b611358565b6040516103dd9190613f36565b60405180910390f35b6103ee61140b565b005b6103f86117e0565b6040516104059190613f14565b60405180910390f35b6104286004803603610423919081019061334b565b61186e565b005b610444600480360361043f919081019061343b565b611b48565b005b610460600480360361045b919081019061334b565b611be1565b60405161046d919061422e565b60405180910390f35b61047e611c29565b60405161048b919061422e565b60405180910390f35b61049c611c2f565b005b6104a6611d6c565b6040516104b39190613db0565b60405180910390f35b6104c4611d96565b6040516104d19190613f6c565b60405180910390f35b6104e2611e38565b005b6104fe60048036036104f991908101906133ff565b611f17565b60405161050b9190613f36565b60405180910390f35b61052e600480360361052991908101906133ff565b611fe4565b60405161053b9190613f36565b60405180910390f35b61055e6004803603610559919081019061334b565b612070565b60405161056e9493929190614249565b60405180910390f35b61057f6120a0565b60405161058c919061422e565b60405180910390f35b61059d6120a6565b6040516105aa9190613db0565b60405180910390f35b6105cd60048036036105c8919081019061334b565b6120be565b6040516105da9190613f51565b60405180910390f35b6105fd60048036036105f8919081019061348d565b612181565b005b610607612207565b005b610623600480360361061e9190810190613374565b6124df565b604051610630919061422e565b60405180910390f35b610641612566565b60405161064e9190613f36565b60405180910390f35b610671600480360361066c919081019061334b565b612579565b005b61068d6004803603610688919081019061348d565b612725565b60405161069a9190613db0565b60405180910390f35b6000806000905060008090505b600b805490508112156107a5576106c56132ba565b600a6000600b84815481106106d657fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820154815260200160038201548152505090506000816000015111156107975761079481600001518461276190919063ffffffff16565b92505b5080806001019150506106b0565b508091505090565b606060038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108455780601f1061081a57610100808354040283529160200191610845565b820191906000526020600020905b81548152906001019060200180831161082857829003601f168201915b5050505050905090565b60075481565b60006108696108626127b6565b84846127be565b6001905092915050565b600860009054906101000a900460ff16156108c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ba9061410e565b60405180910390fd5b73fbc3c04845162f067a0b6f8934383e63899c352473ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040161093093929190613de6565b602060405180830381600087803b15801561094a57600080fd5b505af115801561095e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506109829190810190613464565b506000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060095442018211610a0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a039061420e565b60405180910390fd5b8060020154821015610a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4a9061406e565b60405180910390fd5b600654821115610a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8f90613f8e565b60405180910390fd5b610aa3833384610d9c565b8160010181905550818160020181905550610acb83826000015461276190919063ffffffff16565b816000018190555042816003018190555060003073ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401610b339190613dcb565b60206040518083038186803b158015610b4b57600080fd5b505afa158015610b5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610b8391908101906134b6565b9050610ba533610ba083856001015461298990919063ffffffff16565b6129d9565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610bcf336120be565b1415610c3957600b339080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b7fd4665e3049283582ba6f9eba07a5b3e12dab49e02da99e8927a47af5d134bea5338585604051610c6c93929190613e46565b60405180910390a150505050565b6000806000905060008090505b600b80549050811215610d8857610c9c6132ba565b600a6000600b8481548110610cad57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806080016040529081600082015481526020016001820154815260200160028201548152602001600382015481525050905084816040015111610d7a57600081602001511115610d7957610d7681602001518461276190919063ffffffff16565b92505b5b508080600101915050610c87565b5080915050919050565b6000600254905090565b6000610da66132ba565b600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820154815260200160038201548152505090506000816020015190506000610e78610e696ec097ce7bc90715b34b9f1000000000610e5b610e4c87604001518a612b6d565b86612c3790919063ffffffff16565b612ca790919063ffffffff16565b8361276190919063ffffffff16565b90506000610ecb610ebc6ec097ce7bc90715b34b9f1000000000610eae610e9f428b612b6d565b8c612c3790919063ffffffff16565b612ca790919063ffffffff16565b8961276190919063ffffffff16565b9050610ee0818361276190919063ffffffff16565b9450505050509392505050565b60003073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610f5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5490613fce565b60405180910390fd5b610f68848484612cfd565b610fb684610f746127b6565b610fb18560405180606001604052806028815260200161446560289139610fa28a610f9d6127b6565b6124df565b612f929092919063ffffffff16565b6127be565b600190509392505050565b6000600560009054906101000a900460ff16905090565b6000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508060020154421015611062576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110599061418e565b60405180910390fd5b80600101548211156110a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a0906140ae565b60405180910390fd5b6110b33383612fe7565b73fbc3c04845162f067a0b6f8934383e63899c352473ffffffffffffffffffffffffffffffffffffffff1663095ea7b330846040518363ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040161111e929190613eeb565b602060405180830381600087803b15801561113857600080fd5b505af115801561114c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506111709190810190613464565b5073fbc3c04845162f067a0b6f8934383e63899c352473ffffffffffffffffffffffffffffffffffffffff166323b872dd3033856040518463ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016111de93929190613e7d565b602060405180830381600087803b1580156111f857600080fd5b505af115801561120c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506112309190810190613464565b5060006112608260010154611252858560000154612c3790919063ffffffff16565b612ca790919063ffffffff16565b905061127983836001015461298990919063ffffffff16565b826001018190555061129881836000015461298990919063ffffffff16565b8260000181905550600082600001541480156112b8575060008260010154145b1561131a5760008260020181905550600082600301819055506112da33613195565b611319576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611310906141ce565b60405180910390fd5b5b7fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a338460405161134b929190613e1d565b60405180910390a1505050565b60006114016113656127b6565b846113fc85600160006113766127b6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461276190919063ffffffff16565b6127be565b6001905092915050565b6114136127b6565b73ffffffffffffffffffffffffffffffffffffffff16611431611d6c565b73ffffffffffffffffffffffffffffffffffffffff1614611487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147e906140ee565b60405180910390fd5b600080905060008090505b600b80549050811215611587576114a76132ba565b600a6000600b84815481106114b857fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820154815260200160038201548152505090506000816000015111156115795761157681600001518461276190919063ffffffff16565b92505b508080600101915050611492565b5060006116558273fbc3c04845162f067a0b6f8934383e63899c352473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016115f79190613db0565b60206040518083038186803b15801561160f57600080fd5b505afa158015611623573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061164791908101906134b6565b61298990919063ffffffff16565b905073fbc3c04845162f067a0b6f8934383e63899c352473ffffffffffffffffffffffffffffffffffffffff1663095ea7b330836040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016116c2929190613eeb565b602060405180830381600087803b1580156116dc57600080fd5b505af11580156116f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506117149190810190613464565b5073fbc3c04845162f067a0b6f8934383e63899c352473ffffffffffffffffffffffffffffffffffffffff166323b872dd3061174e611d6c565b846040518463ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040161178993929190613eb4565b602060405180830381600087803b1580156117a357600080fd5b505af11580156117b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506117db9190810190613464565b505050565b6060600b80548060200260200160405190810160405280929190818152602001828054801561186457602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831161181a575b5050505050905090565b6118766127b6565b73ffffffffffffffffffffffffffffffffffffffff16611894611d6c565b73ffffffffffffffffffffffffffffffffffffffff16146118ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e1906140ee565b60405180910390fd5b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600001541115611b4457600081600001549050611951838360010154612fe7565b73fbc3c04845162f067a0b6f8934383e63899c352473ffffffffffffffffffffffffffffffffffffffff1663095ea7b33084600001546040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016119c0929190613eeb565b602060405180830381600087803b1580156119da57600080fd5b505af11580156119ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611a129190810190613464565b5073fbc3c04845162f067a0b6f8934383e63899c352473ffffffffffffffffffffffffffffffffffffffff166323b872dd308585600001546040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401611a8493929190613eb4565b602060405180830381600087803b158015611a9e57600080fd5b505af1158015611ab2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611ad69190810190613464565b5060008260010181905550600082600201819055506000826000018190555060008260030181905550611b0883613195565b507fbd259a9544f98fe5e1a78c1dd2afa4efd12095df4a605029f82fa71df2298d8b8382604051611b3a929190613eeb565b60405180910390a1505b5050565b611b506127b6565b73ffffffffffffffffffffffffffffffffffffffff16611b6e611d6c565b73ffffffffffffffffffffffffffffffffffffffff1614611bc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbb906140ee565b60405180910390fd5b80600860006101000a81548160ff02191690831515021790555050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60095481565b611c376127b6565b73ffffffffffffffffffffffffffffffffffffffff16611c55611d6c565b73ffffffffffffffffffffffffffffffffffffffff1614611cab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca2906140ee565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611e2e5780601f10611e0357610100808354040283529160200191611e2e565b820191906000526020600020905b815481529060010190602001808311611e1157829003601f168201915b5050505050905090565b611e406127b6565b73ffffffffffffffffffffffffffffffffffffffff16611e5e611d6c565b73ffffffffffffffffffffffffffffffffffffffff1614611eb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eab906140ee565b60405180910390fd5b60008090505b600b80549050811215611f1457611f07600b8281548110611ed757fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661186e565b8080600101915050611eba565b50565b6000611fda611f246127b6565b84611fd58560405180606001604052806025815260200161448d6025913960016000611f4e6127b6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612f929092919063ffffffff16565b6127be565b6001905092915050565b60003073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204b90613fce565b60405180910390fd5b61206661205f6127b6565b8484612cfd565b6001905092915050565b600a6020528060005260406000206000915090508060000154908060010154908060020154908060030154905084565b60065481565b73fbc3c04845162f067a0b6f8934383e63899c352481565b6000807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905060008090505b600b80549050811215612177578373ffffffffffffffffffffffffffffffffffffffff16600b828154811061211b57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561216a57809150612177565b80806001019150506120ea565b5080915050919050565b6121896127b6565b73ffffffffffffffffffffffffffffffffffffffff166121a7611d6c565b73ffffffffffffffffffffffffffffffffffffffff16146121fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f4906140ee565b60405180910390fd5b8060098190555050565b6000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600001549050816002015442101561229a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122919061418e565b60405180910390fd5b6122ac336122a733611be1565b612fe7565b73fbc3c04845162f067a0b6f8934383e63899c352473ffffffffffffffffffffffffffffffffffffffff1663095ea7b33084600001546040518363ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040161231b929190613eeb565b602060405180830381600087803b15801561233557600080fd5b505af1158015612349573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061236d9190810190613464565b5073fbc3c04845162f067a0b6f8934383e63899c352473ffffffffffffffffffffffffffffffffffffffff166323b872dd303385600001546040518463ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016123df93929190613e7d565b602060405180830381600087803b1580156123f957600080fd5b505af115801561240d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506124319190810190613464565b506000826001018190555060008260020181905550600082600001819055506000826003018190555061246333613195565b6124a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612499906141ce565b60405180910390fd5b7f3a762d3bb793991e9c4e7322af7b7de883f0ea45a538d46b896c65d9850731b833826040516124d3929190613e1d565b60405180910390a15050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600860009054906101000a900460ff1681565b6125816127b6565b73ffffffffffffffffffffffffffffffffffffffff1661259f611d6c565b73ffffffffffffffffffffffffffffffffffffffff16146125f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ec906140ee565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265c90613fee565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b818154811061273257fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000808284019050838110156127ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a39061402e565b60405180910390fd5b8091505092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561282e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612825906141ae565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561289e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128959061400e565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161297c919061422e565b60405180910390a3505050565b6000828211156129ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c59061404e565b60405180910390fd5b818303905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a40906141ee565b60405180910390fd5b612a55600083836132b5565b612a6a8160025461276190919063ffffffff16565b600281905550612ac1816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461276190919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612b61919061422e565b60405180910390a35050565b6000828211612bb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba89061416e565b60405180910390fd5b6000612bc6848461298990919063ffffffff16565b90506000612be160075460065461298990919063ffffffff16565b905080821115612bef578091505b612c2d660e2ce244a76000612c1f6ec097ce7bc90715b34b9f10000000006002860a612c3790919063ffffffff16565b612ca790919063ffffffff16565b9250505092915050565b600080831415612c4a5760009050612ca1565b6000828402905082848281612c5b57fe5b0414612c9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c93906140ce565b60405180910390fd5b809150505b92915050565b6000808211612ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce29061408e565b60405180910390fd5b818381612cf457fe5b04905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d649061414e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ddd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd490613fae565b60405180910390fd5b612de88383836132b5565b612e538160405180606001604052806026815260200161443f602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612f929092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612ee6816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461276190919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612f85919061422e565b60405180910390a3505050565b6000838311158290612fda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd19190613f6c565b60405180910390fd5b5082840390509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613057576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161304e9061412e565b60405180910390fd5b613063826000836132b5565b6130ce8160405180606001604052806022815260200161441d602291396000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612f929092919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506131258160025461298990919063ffffffff16565b600281905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051613189919061422e565b60405180910390a35050565b6000806131a1836120be565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114156131d55760009150506132b0565b600b6001600b8054905003815481106131ea57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600b828154811061322257fe5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600b80548061327557fe5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055905560019150505b919050565b505050565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b6000813590506132f1816143d7565b92915050565b600081359050613306816143ee565b92915050565b60008151905061331b816143ee565b92915050565b60008135905061333081614405565b92915050565b60008151905061334581614405565b92915050565b60006020828403121561335d57600080fd5b600061336b848285016132e2565b91505092915050565b6000806040838503121561338757600080fd5b6000613395858286016132e2565b92505060206133a6858286016132e2565b9150509250929050565b6000806000606084860312156133c557600080fd5b60006133d3868287016132e2565b93505060206133e4868287016132e2565b92505060406133f586828701613321565b9150509250925092565b6000806040838503121561341257600080fd5b6000613420858286016132e2565b925050602061343185828601613321565b9150509250929050565b60006020828403121561344d57600080fd5b600061345b848285016132f7565b91505092915050565b60006020828403121561347657600080fd5b60006134848482850161330c565b91505092915050565b60006020828403121561349f57600080fd5b60006134ad84828501613321565b91505092915050565b6000602082840312156134c857600080fd5b60006134d684828501613336565b91505092915050565b6000806000606084860312156134f457600080fd5b600061350286828701613321565b9350506020613513868287016132e2565b925050604061352486828701613321565b9150509250925092565b6000806040838503121561354157600080fd5b600061354f85828601613321565b925050602061356085828601613321565b9150509250929050565b60006135768383613591565b60208301905092915050565b61358b8161435d565b82525050565b61359a816142fe565b82525050565b6135a9816142fe565b82525050565b60006135ba826142b9565b6135c481856142dc565b93506135cf836142a9565b8060005b838110156136005781516135e7888261356a565b97506135f2836142cf565b9250506001810190506135d3565b5085935050505092915050565b61361681614310565b82525050565b6136258161431c565b82525050565b6000613636826142c4565b61364081856142ed565b9350613650818560208601614393565b613659816143c6565b840191505092915050565b60006136716033836142ed565b91507f4c6f636b20646174652063616e6e6f742065786365656420656e64446174652060008301527f6f66207374616b696e6720636f6e7472616374000000000000000000000000006020830152604082019050919050565b60006136d76023836142ed565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061373d601f836142ed565b91507f5468697320746f6b656e206973206e6f6e2d7472616e736665727261626c65006000830152602082019050919050565b600061377d6026836142ed565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006137e36022836142ed565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613849601b836142ed565b91507f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006000830152602082019050919050565b6000613889601e836142ed565b91507f536166654d6174683a207375627472616374696f6e206f766572666c6f7700006000830152602082019050919050565b60006138c9603b836142ed565b91507f4c6f636b20756e74696c2064617465206d757374206265206174206c6561737460008301527f207374616b6572506f736974696f6e2e72656c656173654461746500000000006020830152604082019050919050565b600061392f601a836142ed565b91507f536166654d6174683a206469766973696f6e206279207a65726f0000000000006000830152602082019050919050565b600061396f6022836142ed565b91507f446f206e6f742068617665207468617420616d6f756e7420746f2072656c656160008301527f73650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006139d56021836142ed565b91507f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60008301527f77000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a3b6020836142ed565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613a7b602f836142ed565b91507f4d6f64696679696e672c20616464696e6720706f736974696f6e73206375727260008301527f656e746c792064697361626c65642e00000000000000000000000000000000006020830152604082019050919050565b6000613ae16021836142ed565b91507f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b476025836142ed565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613bad602a836142ed565b91507f556e74696c2064617465206d7573742062652067726561746572207468616e2060008301527f7374617274446174652e000000000000000000000000000000000000000000006020830152604082019050919050565b6000613c13601d836142ed565b91507f4e6f2066756e647320617661696c61626c6520746f2072656c656173650000006000830152602082019050919050565b6000613c536024836142ed565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613cb96017836142ed565b91507f436f756c64206e6f742072656d6f7665207374616b65720000000000000000006000830152602082019050919050565b6000613cf9601f836142ed565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b6000613d39602e836142ed565b91507f46756e6473206d757374206265206c6f636b656420666f72206174206c65617360008301527f74206d696e696d756d4c6f636b2e0000000000000000000000000000000000006020830152604082019050919050565b613d9b81614346565b82525050565b613daa81614350565b82525050565b6000602082019050613dc560008301846135a0565b92915050565b6000602082019050613de06000830184613582565b92915050565b6000606082019050613dfb6000830186613582565b613e0860208301856135a0565b613e156040830184613d92565b949350505050565b6000604082019050613e326000830185613582565b613e3f6020830184613d92565b9392505050565b6000606082019050613e5b6000830186613582565b613e686020830185613d92565b613e756040830184613d92565b949350505050565b6000606082019050613e9260008301866135a0565b613e9f6020830185613582565b613eac6040830184613d92565b949350505050565b6000606082019050613ec960008301866135a0565b613ed660208301856135a0565b613ee36040830184613d92565b949350505050565b6000604082019050613f0060008301856135a0565b613f0d6020830184613d92565b9392505050565b60006020820190508181036000830152613f2e81846135af565b905092915050565b6000602082019050613f4b600083018461360d565b92915050565b6000602082019050613f66600083018461361c565b92915050565b60006020820190508181036000830152613f86818461362b565b905092915050565b60006020820190508181036000830152613fa781613664565b9050919050565b60006020820190508181036000830152613fc7816136ca565b9050919050565b60006020820190508181036000830152613fe781613730565b9050919050565b6000602082019050818103600083015261400781613770565b9050919050565b60006020820190508181036000830152614027816137d6565b9050919050565b600060208201905081810360008301526140478161383c565b9050919050565b600060208201905081810360008301526140678161387c565b9050919050565b60006020820190508181036000830152614087816138bc565b9050919050565b600060208201905081810360008301526140a781613922565b9050919050565b600060208201905081810360008301526140c781613962565b9050919050565b600060208201905081810360008301526140e7816139c8565b9050919050565b6000602082019050818103600083015261410781613a2e565b9050919050565b6000602082019050818103600083015261412781613a6e565b9050919050565b6000602082019050818103600083015261414781613ad4565b9050919050565b6000602082019050818103600083015261416781613b3a565b9050919050565b6000602082019050818103600083015261418781613ba0565b9050919050565b600060208201905081810360008301526141a781613c06565b9050919050565b600060208201905081810360008301526141c781613c46565b9050919050565b600060208201905081810360008301526141e781613cac565b9050919050565b6000602082019050818103600083015261420781613cec565b9050919050565b6000602082019050818103600083015261422781613d2c565b9050919050565b60006020820190506142436000830184613d92565b92915050565b600060808201905061425e6000830187613d92565b61426b6020830186613d92565b6142786040830185613d92565b6142856060830184613d92565b95945050505050565b60006020820190506142a36000830184613da1565b92915050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600061430982614326565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006143688261436f565b9050919050565b600061437a82614381565b9050919050565b600061438c82614326565b9050919050565b60005b838110156143b1578082015181840152602081019050614396565b838111156143c0576000848401525b50505050565b6000601f19601f8301169050919050565b6143e0816142fe565b81146143eb57600080fd5b50565b6143f781614310565b811461440257600080fd5b50565b61440e81614346565b811461441957600080fd5b5056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220697822274484f4c37a6229192d11a4a4858fec56328c6e4b2b10042535af102764736f6c6343000602003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001e46616e74756d73206f66204f70657261205374616b696e6720546f6b656e0000000000000000000000000000000000000000000000000000000000000000000473464f4f00000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b5060043610610223576000357c01000000000000000000000000000000000000000000000000000000009004806371177b3c11610137578063c24a0f8b116100ca578063d7d9303d11610099578063d7d9303d146105ff578063dd62ed3e14610609578063ee07080514610639578063f2fde38b14610657578063fd5e6dd11461067357610223565b8063c24a0f8b14610577578063c298557814610595578063d2440545146105b3578063d62f2246146105e357610223565b80639901a57f116101065780639901a57f146104da578063a457c2d7146104e4578063a9059cbb14610514578063b872873b1461054457610223565b806371177b3c14610476578063715018a6146104945780638da5cb5b1461049e57806395d89b41146104bc57610223565b806323b872dd116101ba5780633f3273b5116101895780633f3273b5146103e657806343352d61146103f05780635e64cd911461040e5780636c5a7d1e1461042a57806370a082311461044657610223565b806323b872dd1461034c578063313ce5671461037c578063379607f51461039a57806339509351146103b657610223565b80631338736f116101f65780631338736f146102b2578063163a29ce146102ce57806318160ddd146102fe578063193f19001461031c57610223565b806304b272db1461022857806306fdde0314610246578063076d555614610264578063095ea7b314610282575b600080fd5b6102306106a3565b60405161023d919061422e565b60405180910390f35b61024e6107ad565b60405161025b9190613f6c565b60405180910390f35b61026c61084f565b604051610279919061422e565b60405180910390f35b61029c600480360361029791908101906133ff565b610855565b6040516102a99190613f36565b60405180910390f35b6102cc60048036036102c7919081019061352e565b610873565b005b6102e860048036036102e3919081019061348d565b610c7a565b6040516102f5919061422e565b60405180910390f35b610306610d92565b604051610313919061422e565b60405180910390f35b610336600480360361033191908101906134df565b610d9c565b604051610343919061422e565b60405180910390f35b610366600480360361036191908101906133b0565b610eed565b6040516103739190613f36565b60405180910390f35b610384610fc1565b604051610391919061428e565b60405180910390f35b6103b460048036036103af919081019061348d565b610fd8565b005b6103d060048036036103cb91908101906133ff565b611358565b6040516103dd9190613f36565b60405180910390f35b6103ee61140b565b005b6103f86117e0565b6040516104059190613f14565b60405180910390f35b6104286004803603610423919081019061334b565b61186e565b005b610444600480360361043f919081019061343b565b611b48565b005b610460600480360361045b919081019061334b565b611be1565b60405161046d919061422e565b60405180910390f35b61047e611c29565b60405161048b919061422e565b60405180910390f35b61049c611c2f565b005b6104a6611d6c565b6040516104b39190613db0565b60405180910390f35b6104c4611d96565b6040516104d19190613f6c565b60405180910390f35b6104e2611e38565b005b6104fe60048036036104f991908101906133ff565b611f17565b60405161050b9190613f36565b60405180910390f35b61052e600480360361052991908101906133ff565b611fe4565b60405161053b9190613f36565b60405180910390f35b61055e6004803603610559919081019061334b565b612070565b60405161056e9493929190614249565b60405180910390f35b61057f6120a0565b60405161058c919061422e565b60405180910390f35b61059d6120a6565b6040516105aa9190613db0565b60405180910390f35b6105cd60048036036105c8919081019061334b565b6120be565b6040516105da9190613f51565b60405180910390f35b6105fd60048036036105f8919081019061348d565b612181565b005b610607612207565b005b610623600480360361061e9190810190613374565b6124df565b604051610630919061422e565b60405180910390f35b610641612566565b60405161064e9190613f36565b60405180910390f35b610671600480360361066c919081019061334b565b612579565b005b61068d6004803603610688919081019061348d565b612725565b60405161069a9190613db0565b60405180910390f35b6000806000905060008090505b600b805490508112156107a5576106c56132ba565b600a6000600b84815481106106d657fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820154815260200160038201548152505090506000816000015111156107975761079481600001518461276190919063ffffffff16565b92505b5080806001019150506106b0565b508091505090565b606060038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108455780601f1061081a57610100808354040283529160200191610845565b820191906000526020600020905b81548152906001019060200180831161082857829003601f168201915b5050505050905090565b60075481565b60006108696108626127b6565b84846127be565b6001905092915050565b600860009054906101000a900460ff16156108c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ba9061410e565b60405180910390fd5b73fbc3c04845162f067a0b6f8934383e63899c352473ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040161093093929190613de6565b602060405180830381600087803b15801561094a57600080fd5b505af115801561095e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506109829190810190613464565b506000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060095442018211610a0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a039061420e565b60405180910390fd5b8060020154821015610a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4a9061406e565b60405180910390fd5b600654821115610a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8f90613f8e565b60405180910390fd5b610aa3833384610d9c565b8160010181905550818160020181905550610acb83826000015461276190919063ffffffff16565b816000018190555042816003018190555060003073ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401610b339190613dcb565b60206040518083038186803b158015610b4b57600080fd5b505afa158015610b5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250610b8391908101906134b6565b9050610ba533610ba083856001015461298990919063ffffffff16565b6129d9565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610bcf336120be565b1415610c3957600b339080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b7fd4665e3049283582ba6f9eba07a5b3e12dab49e02da99e8927a47af5d134bea5338585604051610c6c93929190613e46565b60405180910390a150505050565b6000806000905060008090505b600b80549050811215610d8857610c9c6132ba565b600a6000600b8481548110610cad57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806080016040529081600082015481526020016001820154815260200160028201548152602001600382015481525050905084816040015111610d7a57600081602001511115610d7957610d7681602001518461276190919063ffffffff16565b92505b5b508080600101915050610c87565b5080915050919050565b6000600254905090565b6000610da66132ba565b600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820154815260200160038201548152505090506000816020015190506000610e78610e696ec097ce7bc90715b34b9f1000000000610e5b610e4c87604001518a612b6d565b86612c3790919063ffffffff16565b612ca790919063ffffffff16565b8361276190919063ffffffff16565b90506000610ecb610ebc6ec097ce7bc90715b34b9f1000000000610eae610e9f428b612b6d565b8c612c3790919063ffffffff16565b612ca790919063ffffffff16565b8961276190919063ffffffff16565b9050610ee0818361276190919063ffffffff16565b9450505050509392505050565b60003073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610f5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5490613fce565b60405180910390fd5b610f68848484612cfd565b610fb684610f746127b6565b610fb18560405180606001604052806028815260200161446560289139610fa28a610f9d6127b6565b6124df565b612f929092919063ffffffff16565b6127be565b600190509392505050565b6000600560009054906101000a900460ff16905090565b6000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508060020154421015611062576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110599061418e565b60405180910390fd5b80600101548211156110a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a0906140ae565b60405180910390fd5b6110b33383612fe7565b73fbc3c04845162f067a0b6f8934383e63899c352473ffffffffffffffffffffffffffffffffffffffff1663095ea7b330846040518363ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040161111e929190613eeb565b602060405180830381600087803b15801561113857600080fd5b505af115801561114c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506111709190810190613464565b5073fbc3c04845162f067a0b6f8934383e63899c352473ffffffffffffffffffffffffffffffffffffffff166323b872dd3033856040518463ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016111de93929190613e7d565b602060405180830381600087803b1580156111f857600080fd5b505af115801561120c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506112309190810190613464565b5060006112608260010154611252858560000154612c3790919063ffffffff16565b612ca790919063ffffffff16565b905061127983836001015461298990919063ffffffff16565b826001018190555061129881836000015461298990919063ffffffff16565b8260000181905550600082600001541480156112b8575060008260010154145b1561131a5760008260020181905550600082600301819055506112da33613195565b611319576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611310906141ce565b60405180910390fd5b5b7fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a338460405161134b929190613e1d565b60405180910390a1505050565b60006114016113656127b6565b846113fc85600160006113766127b6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461276190919063ffffffff16565b6127be565b6001905092915050565b6114136127b6565b73ffffffffffffffffffffffffffffffffffffffff16611431611d6c565b73ffffffffffffffffffffffffffffffffffffffff1614611487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147e906140ee565b60405180910390fd5b600080905060008090505b600b80549050811215611587576114a76132ba565b600a6000600b84815481106114b857fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052908160008201548152602001600182015481526020016002820154815260200160038201548152505090506000816000015111156115795761157681600001518461276190919063ffffffff16565b92505b508080600101915050611492565b5060006116558273fbc3c04845162f067a0b6f8934383e63899c352473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016115f79190613db0565b60206040518083038186803b15801561160f57600080fd5b505afa158015611623573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061164791908101906134b6565b61298990919063ffffffff16565b905073fbc3c04845162f067a0b6f8934383e63899c352473ffffffffffffffffffffffffffffffffffffffff1663095ea7b330836040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016116c2929190613eeb565b602060405180830381600087803b1580156116dc57600080fd5b505af11580156116f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506117149190810190613464565b5073fbc3c04845162f067a0b6f8934383e63899c352473ffffffffffffffffffffffffffffffffffffffff166323b872dd3061174e611d6c565b846040518463ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040161178993929190613eb4565b602060405180830381600087803b1580156117a357600080fd5b505af11580156117b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506117db9190810190613464565b505050565b6060600b80548060200260200160405190810160405280929190818152602001828054801561186457602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831161181a575b5050505050905090565b6118766127b6565b73ffffffffffffffffffffffffffffffffffffffff16611894611d6c565b73ffffffffffffffffffffffffffffffffffffffff16146118ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e1906140ee565b60405180910390fd5b6000600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600001541115611b4457600081600001549050611951838360010154612fe7565b73fbc3c04845162f067a0b6f8934383e63899c352473ffffffffffffffffffffffffffffffffffffffff1663095ea7b33084600001546040518363ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016119c0929190613eeb565b602060405180830381600087803b1580156119da57600080fd5b505af11580156119ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611a129190810190613464565b5073fbc3c04845162f067a0b6f8934383e63899c352473ffffffffffffffffffffffffffffffffffffffff166323b872dd308585600001546040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401611a8493929190613eb4565b602060405180830381600087803b158015611a9e57600080fd5b505af1158015611ab2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250611ad69190810190613464565b5060008260010181905550600082600201819055506000826000018190555060008260030181905550611b0883613195565b507fbd259a9544f98fe5e1a78c1dd2afa4efd12095df4a605029f82fa71df2298d8b8382604051611b3a929190613eeb565b60405180910390a1505b5050565b611b506127b6565b73ffffffffffffffffffffffffffffffffffffffff16611b6e611d6c565b73ffffffffffffffffffffffffffffffffffffffff1614611bc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbb906140ee565b60405180910390fd5b80600860006101000a81548160ff02191690831515021790555050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60095481565b611c376127b6565b73ffffffffffffffffffffffffffffffffffffffff16611c55611d6c565b73ffffffffffffffffffffffffffffffffffffffff1614611cab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca2906140ee565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611e2e5780601f10611e0357610100808354040283529160200191611e2e565b820191906000526020600020905b815481529060010190602001808311611e1157829003601f168201915b5050505050905090565b611e406127b6565b73ffffffffffffffffffffffffffffffffffffffff16611e5e611d6c565b73ffffffffffffffffffffffffffffffffffffffff1614611eb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eab906140ee565b60405180910390fd5b60008090505b600b80549050811215611f1457611f07600b8281548110611ed757fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661186e565b8080600101915050611eba565b50565b6000611fda611f246127b6565b84611fd58560405180606001604052806025815260200161448d6025913960016000611f4e6127b6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612f929092919063ffffffff16565b6127be565b6001905092915050565b60003073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204b90613fce565b60405180910390fd5b61206661205f6127b6565b8484612cfd565b6001905092915050565b600a6020528060005260406000206000915090508060000154908060010154908060020154908060030154905084565b60065481565b73fbc3c04845162f067a0b6f8934383e63899c352481565b6000807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905060008090505b600b80549050811215612177578373ffffffffffffffffffffffffffffffffffffffff16600b828154811061211b57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561216a57809150612177565b80806001019150506120ea565b5080915050919050565b6121896127b6565b73ffffffffffffffffffffffffffffffffffffffff166121a7611d6c565b73ffffffffffffffffffffffffffffffffffffffff16146121fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f4906140ee565b60405180910390fd5b8060098190555050565b6000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600001549050816002015442101561229a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122919061418e565b60405180910390fd5b6122ac336122a733611be1565b612fe7565b73fbc3c04845162f067a0b6f8934383e63899c352473ffffffffffffffffffffffffffffffffffffffff1663095ea7b33084600001546040518363ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040161231b929190613eeb565b602060405180830381600087803b15801561233557600080fd5b505af1158015612349573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525061236d9190810190613464565b5073fbc3c04845162f067a0b6f8934383e63899c352473ffffffffffffffffffffffffffffffffffffffff166323b872dd303385600001546040518463ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016123df93929190613e7d565b602060405180830381600087803b1580156123f957600080fd5b505af115801561240d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052506124319190810190613464565b506000826001018190555060008260020181905550600082600001819055506000826003018190555061246333613195565b6124a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612499906141ce565b60405180910390fd5b7f3a762d3bb793991e9c4e7322af7b7de883f0ea45a538d46b896c65d9850731b833826040516124d3929190613e1d565b60405180910390a15050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600860009054906101000a900460ff1681565b6125816127b6565b73ffffffffffffffffffffffffffffffffffffffff1661259f611d6c565b73ffffffffffffffffffffffffffffffffffffffff16146125f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ec906140ee565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265c90613fee565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b818154811061273257fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000808284019050838110156127ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a39061402e565b60405180910390fd5b8091505092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561282e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612825906141ae565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561289e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128959061400e565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161297c919061422e565b60405180910390a3505050565b6000828211156129ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c59061404e565b60405180910390fd5b818303905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a40906141ee565b60405180910390fd5b612a55600083836132b5565b612a6a8160025461276190919063ffffffff16565b600281905550612ac1816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461276190919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612b61919061422e565b60405180910390a35050565b6000828211612bb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba89061416e565b60405180910390fd5b6000612bc6848461298990919063ffffffff16565b90506000612be160075460065461298990919063ffffffff16565b905080821115612bef578091505b612c2d660e2ce244a76000612c1f6ec097ce7bc90715b34b9f10000000006002860a612c3790919063ffffffff16565b612ca790919063ffffffff16565b9250505092915050565b600080831415612c4a5760009050612ca1565b6000828402905082848281612c5b57fe5b0414612c9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c93906140ce565b60405180910390fd5b809150505b92915050565b6000808211612ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce29061408e565b60405180910390fd5b818381612cf457fe5b04905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d649061414e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ddd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd490613fae565b60405180910390fd5b612de88383836132b5565b612e538160405180606001604052806026815260200161443f602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612f929092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612ee6816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461276190919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612f85919061422e565b60405180910390a3505050565b6000838311158290612fda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd19190613f6c565b60405180910390fd5b5082840390509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613057576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161304e9061412e565b60405180910390fd5b613063826000836132b5565b6130ce8160405180606001604052806022815260200161441d602291396000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612f929092919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506131258160025461298990919063ffffffff16565b600281905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051613189919061422e565b60405180910390a35050565b6000806131a1836120be565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114156131d55760009150506132b0565b600b6001600b8054905003815481106131ea57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600b828154811061322257fe5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600b80548061327557fe5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055905560019150505b919050565b505050565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b6000813590506132f1816143d7565b92915050565b600081359050613306816143ee565b92915050565b60008151905061331b816143ee565b92915050565b60008135905061333081614405565b92915050565b60008151905061334581614405565b92915050565b60006020828403121561335d57600080fd5b600061336b848285016132e2565b91505092915050565b6000806040838503121561338757600080fd5b6000613395858286016132e2565b92505060206133a6858286016132e2565b9150509250929050565b6000806000606084860312156133c557600080fd5b60006133d3868287016132e2565b93505060206133e4868287016132e2565b92505060406133f586828701613321565b9150509250925092565b6000806040838503121561341257600080fd5b6000613420858286016132e2565b925050602061343185828601613321565b9150509250929050565b60006020828403121561344d57600080fd5b600061345b848285016132f7565b91505092915050565b60006020828403121561347657600080fd5b60006134848482850161330c565b91505092915050565b60006020828403121561349f57600080fd5b60006134ad84828501613321565b91505092915050565b6000602082840312156134c857600080fd5b60006134d684828501613336565b91505092915050565b6000806000606084860312156134f457600080fd5b600061350286828701613321565b9350506020613513868287016132e2565b925050604061352486828701613321565b9150509250925092565b6000806040838503121561354157600080fd5b600061354f85828601613321565b925050602061356085828601613321565b9150509250929050565b60006135768383613591565b60208301905092915050565b61358b8161435d565b82525050565b61359a816142fe565b82525050565b6135a9816142fe565b82525050565b60006135ba826142b9565b6135c481856142dc565b93506135cf836142a9565b8060005b838110156136005781516135e7888261356a565b97506135f2836142cf565b9250506001810190506135d3565b5085935050505092915050565b61361681614310565b82525050565b6136258161431c565b82525050565b6000613636826142c4565b61364081856142ed565b9350613650818560208601614393565b613659816143c6565b840191505092915050565b60006136716033836142ed565b91507f4c6f636b20646174652063616e6e6f742065786365656420656e64446174652060008301527f6f66207374616b696e6720636f6e7472616374000000000000000000000000006020830152604082019050919050565b60006136d76023836142ed565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061373d601f836142ed565b91507f5468697320746f6b656e206973206e6f6e2d7472616e736665727261626c65006000830152602082019050919050565b600061377d6026836142ed565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006137e36022836142ed565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613849601b836142ed565b91507f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006000830152602082019050919050565b6000613889601e836142ed565b91507f536166654d6174683a207375627472616374696f6e206f766572666c6f7700006000830152602082019050919050565b60006138c9603b836142ed565b91507f4c6f636b20756e74696c2064617465206d757374206265206174206c6561737460008301527f207374616b6572506f736974696f6e2e72656c656173654461746500000000006020830152604082019050919050565b600061392f601a836142ed565b91507f536166654d6174683a206469766973696f6e206279207a65726f0000000000006000830152602082019050919050565b600061396f6022836142ed565b91507f446f206e6f742068617665207468617420616d6f756e7420746f2072656c656160008301527f73650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006139d56021836142ed565b91507f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60008301527f77000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a3b6020836142ed565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613a7b602f836142ed565b91507f4d6f64696679696e672c20616464696e6720706f736974696f6e73206375727260008301527f656e746c792064697361626c65642e00000000000000000000000000000000006020830152604082019050919050565b6000613ae16021836142ed565b91507f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b476025836142ed565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613bad602a836142ed565b91507f556e74696c2064617465206d7573742062652067726561746572207468616e2060008301527f7374617274446174652e000000000000000000000000000000000000000000006020830152604082019050919050565b6000613c13601d836142ed565b91507f4e6f2066756e647320617661696c61626c6520746f2072656c656173650000006000830152602082019050919050565b6000613c536024836142ed565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613cb96017836142ed565b91507f436f756c64206e6f742072656d6f7665207374616b65720000000000000000006000830152602082019050919050565b6000613cf9601f836142ed565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b6000613d39602e836142ed565b91507f46756e6473206d757374206265206c6f636b656420666f72206174206c65617360008301527f74206d696e696d756d4c6f636b2e0000000000000000000000000000000000006020830152604082019050919050565b613d9b81614346565b82525050565b613daa81614350565b82525050565b6000602082019050613dc560008301846135a0565b92915050565b6000602082019050613de06000830184613582565b92915050565b6000606082019050613dfb6000830186613582565b613e0860208301856135a0565b613e156040830184613d92565b949350505050565b6000604082019050613e326000830185613582565b613e3f6020830184613d92565b9392505050565b6000606082019050613e5b6000830186613582565b613e686020830185613d92565b613e756040830184613d92565b949350505050565b6000606082019050613e9260008301866135a0565b613e9f6020830185613582565b613eac6040830184613d92565b949350505050565b6000606082019050613ec960008301866135a0565b613ed660208301856135a0565b613ee36040830184613d92565b949350505050565b6000604082019050613f0060008301856135a0565b613f0d6020830184613d92565b9392505050565b60006020820190508181036000830152613f2e81846135af565b905092915050565b6000602082019050613f4b600083018461360d565b92915050565b6000602082019050613f66600083018461361c565b92915050565b60006020820190508181036000830152613f86818461362b565b905092915050565b60006020820190508181036000830152613fa781613664565b9050919050565b60006020820190508181036000830152613fc7816136ca565b9050919050565b60006020820190508181036000830152613fe781613730565b9050919050565b6000602082019050818103600083015261400781613770565b9050919050565b60006020820190508181036000830152614027816137d6565b9050919050565b600060208201905081810360008301526140478161383c565b9050919050565b600060208201905081810360008301526140678161387c565b9050919050565b60006020820190508181036000830152614087816138bc565b9050919050565b600060208201905081810360008301526140a781613922565b9050919050565b600060208201905081810360008301526140c781613962565b9050919050565b600060208201905081810360008301526140e7816139c8565b9050919050565b6000602082019050818103600083015261410781613a2e565b9050919050565b6000602082019050818103600083015261412781613a6e565b9050919050565b6000602082019050818103600083015261414781613ad4565b9050919050565b6000602082019050818103600083015261416781613b3a565b9050919050565b6000602082019050818103600083015261418781613ba0565b9050919050565b600060208201905081810360008301526141a781613c06565b9050919050565b600060208201905081810360008301526141c781613c46565b9050919050565b600060208201905081810360008301526141e781613cac565b9050919050565b6000602082019050818103600083015261420781613cec565b9050919050565b6000602082019050818103600083015261422781613d2c565b9050919050565b60006020820190506142436000830184613d92565b92915050565b600060808201905061425e6000830187613d92565b61426b6020830186613d92565b6142786040830185613d92565b6142856060830184613d92565b95945050505050565b60006020820190506142a36000830184613da1565b92915050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600061430982614326565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006143688261436f565b9050919050565b600061437a82614381565b9050919050565b600061438c82614326565b9050919050565b60005b838110156143b1578082015181840152602081019050614396565b838111156143c0576000848401525b50505050565b6000601f19601f8301169050919050565b6143e0816142fe565b81146143eb57600080fd5b50565b6143f781614310565b811461440257600080fd5b50565b61440e81614346565b811461441957600080fd5b5056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220697822274484f4c37a6229192d11a4a4858fec56328c6e4b2b10042535af102764736f6c63430006020033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001e46616e74756d73206f66204f70657261205374616b696e6720546f6b656e0000000000000000000000000000000000000000000000000000000000000000000473464f4f00000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Fantums of Opera Staking Token
Arg [1] : _symbol (string): sFOO
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [3] : 46616e74756d73206f66204f70657261205374616b696e6720546f6b656e0000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 73464f4f00000000000000000000000000000000000000000000000000000000
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.