Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
661,099.333909891784379465 stGUISEflex
Holders
141
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
253 stGUISEflexValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
GuiseFlexibleStake
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// File: @openzeppelin/contracts/utils/Context.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; //import "hardhat/console.sol"; interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `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); } /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol 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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/ReentrancyGuard.sol /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/Address.sol /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.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.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead 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, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override 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 default value returned by this function, unless * it's overridden. * * 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 override returns (uint8) { return 18; } /** * @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: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, 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}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, 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}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); 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) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + 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) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This 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: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, 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: * * - `account` 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 += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(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); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(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 Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @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 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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} } /// @title Dividend-Paying Token /// @author Roger Wu (https://github.com/roger-wu) /// @dev A mintable ERC20 token that allows anyone to pay and distribute ether /// to token holders as dividends and allows token holders to withdraw their dividends. /// Reference: the source code of PoWH3D: https://etherscan.io/address/0xB3775fB83F7D12A36E0475aBdD1FCA35c091efBe#code contract DividendStakingToken is ERC20 { constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) {} function _transfer(address from, address to, uint256 value) internal virtual override { require(false, "Cant transfer dividend token"); super._transfer(from, to, value); } function _mint(address account, uint256 value) internal override { super._mint(account, value); } function _burn(address account, uint256 value) internal override { super._burn(account, value); } function _setDividendBalance(address account, uint256 newBalance) internal { uint256 currentBalance = balanceOf(account); if(newBalance > currentBalance) { uint256 mintAmount = newBalance - currentBalance; _mint(account, mintAmount); } else if(newBalance < currentBalance) { uint256 burnAmount = currentBalance - newBalance; _burn(account, burnAmount); } } } interface IwGUISEFlexibleStaking { function stakingAmount(address _user) external view returns (uint256); function isStakable(address _user) external view returns (bool); function forceWithdraw(address _user) external; } contract GuiseFlexibleStake is Ownable, ReentrancyGuard, DividendStakingToken { using SafeERC20 for IERC20Metadata; // apy uint256 public apy; // Accrued token per share uint256 public accTokenPerShare; uint256 public totalStaked; // The block number of the last pool update uint256 public lastRewardTimeStamp; // The precision factor uint256 public PRECISION_FACTOR = uint256(10**12); // The reward token IERC20Metadata public wGUISEToken; // The staked token IERC20Metadata public GUISEToken; // WGUISE Staking address public WGUISEStaking; // Info of each user that stakes tokens (GUISEToken) mapping(address => UserInfo) public userInfo; struct UserInfo { uint256 amount; // How many staked tokens the user has provided uint256 rewardDebt; // Reward debt } event Deposit(address indexed user, uint256 amount); event EmergencyWithdraw(address indexed user, uint256 amount); event NewAPY(uint256 apy); event TokenRecovery(address indexed token, uint256 amount); event Withdraw(address indexed user, uint256 amount); event Claim(address indexed user, uint256 amount); /** * @notice Constructor */ constructor() DividendStakingToken("Guise Stake Tracker", "stGUISEflex") { GUISEToken = IERC20Metadata(0x7721A4cb6190EDB11d47f51C20968436ECcDAFb8); //GUISE wGUISEToken = IERC20Metadata(0x8021179d170F44b9ad80675a49ED170C57F06BD7); //wGUISE // Set the lastRewardTimeStamp as the current timestamp lastRewardTimeStamp = block.timestamp; apy = 0; // 0% } /* * @notice Deposit staked tokens and collect reward tokens (if any) * @param _amount: amount to withdraw (in wGUISEToken) */ function deposit(uint256 _amount) external nonReentrant { UserInfo storage user = userInfo[msg.sender]; _updatePool(); if (user.amount > 0) { uint256 pending = (user.amount * accTokenPerShare) / PRECISION_FACTOR - user.rewardDebt; if (pending > 0) { wGUISEToken.safeTransfer(address(msg.sender), pending); } } if (_amount > 0) { totalStaked += _amount; user.amount += _amount; _setDividendBalance(msg.sender, user.amount); GUISEToken.safeTransferFrom(address(msg.sender), address(this), _amount); } user.rewardDebt = (user.amount * accTokenPerShare) / PRECISION_FACTOR; emit Deposit(msg.sender, _amount); } /* * @notice Withdraw staked tokens and collect reward tokens * @param _amount: amount to withdraw (in wGUISEToken) */ function withdraw(uint256 _amount) external nonReentrant { UserInfo storage user = userInfo[msg.sender]; require(user.amount >= _amount, "Amount to withdraw too high"); _updatePool(); uint256 pending = (user.amount * accTokenPerShare) / PRECISION_FACTOR - user.rewardDebt; if (_amount > 0) { totalStaked -= _amount; user.amount -= _amount; _setDividendBalance(msg.sender, user.amount); GUISEToken.safeTransfer(address(msg.sender), _amount); } if (pending > 0) { wGUISEToken.safeTransfer(address(msg.sender), pending); } user.rewardDebt = (user.amount * accTokenPerShare) / PRECISION_FACTOR; if(user.amount == 0 && WGUISEStaking != address(0)){ if(IwGUISEFlexibleStaking(WGUISEStaking).stakingAmount(msg.sender) > 0 && !IwGUISEFlexibleStaking(WGUISEStaking).isStakable(msg.sender)) { IwGUISEFlexibleStaking(WGUISEStaking).forceWithdraw(msg.sender); } } emit Withdraw(msg.sender, _amount); } /* * @notice Collect reward tokens */ function claim() external nonReentrant { UserInfo storage user = userInfo[msg.sender]; _updatePool(); uint256 pending = (user.amount * accTokenPerShare) / PRECISION_FACTOR - user.rewardDebt; require (pending > 0, "No reward to claim"); wGUISEToken.safeTransfer(address(msg.sender), pending); user.rewardDebt = (user.amount * accTokenPerShare) / PRECISION_FACTOR; emit Claim(msg.sender, pending); } /* * @notice Withdraw staked tokens without caring about rewards rewards * @dev Needs to be for emergency. */ function emergencyWithdraw() external nonReentrant { UserInfo storage user = userInfo[msg.sender]; uint256 amountToTransfer = user.amount; uint256 pending = (user.amount * accTokenPerShare) / PRECISION_FACTOR - user.rewardDebt; if(pending > 0){ rewardTreasure += pending; _updatePool(); } user.amount = 0; user.rewardDebt = 0; totalStaked -= amountToTransfer; if (amountToTransfer > 0) { GUISEToken.safeTransfer(address(msg.sender), amountToTransfer); } _setDividendBalance(msg.sender, user.amount); if(user.amount == 0 && WGUISEStaking != address(0)){ if(IwGUISEFlexibleStaking(WGUISEStaking).stakingAmount(msg.sender) > 0 && !IwGUISEFlexibleStaking(WGUISEStaking).isStakable(msg.sender)) { IwGUISEFlexibleStaking(WGUISEStaking).forceWithdraw(msg.sender); } } emit EmergencyWithdraw(msg.sender, user.amount); } /* * @notice Stop rewards, withdraw all reward * @dev Only callable by owner. Needs to be for emergency. */ function emergencyRewardWithdraw(uint256 _amount) external onlyOwner { require(_amount <= rewardTreasure, "Exceed withdrawable amount"); wGUISEToken.safeTransfer(address(msg.sender), _amount); rewardTreasure -= _amount; } /** * @notice Allows the owner to recover tokens sent to the contract by mistake * @param _token: token address * @dev Callable by owner */ function recoverToken(address _token) external onlyOwner { require(_token != address(GUISEToken), "Operations: Cannot recover staked token"); require(_token != address(wGUISEToken), "Operations: Cannot recover reward token"); uint256 balance = IERC20Metadata(_token).balanceOf(address(this)); require(balance != 0, "Operations: Cannot recover zero balance"); IERC20Metadata(_token).safeTransfer(address(msg.sender), balance); emit TokenRecovery(_token, balance); } /* * @notice Update APY * @dev Only callable by owner. Change APY. */ function updateNewAPY(uint256 _newAPY) external onlyOwner { _updatePool(); apy = _newAPY; emit NewAPY(_newAPY); } /* * @notice Set WGUISE staking contract * @dev Only callable by owner. Change APY. */ function setWGUISEStakingContract(address _wGUISEStaking) external onlyOwner { WGUISEStaking = _wGUISEStaking; } /* * @notice View function to see pending reward on frontend. * @param _user: user address * @return Pending reward for a given user */ function pendingReward(address _user) external view returns (uint256) { UserInfo storage user = userInfo[_user]; if (block.timestamp > lastRewardTimeStamp && totalStaked != 0) { uint256 multiplier = block.timestamp - lastRewardTimeStamp; uint256 estimatedReward = multiplier * (((totalStaked * apy)/100) / (365 days)); if(estimatedReward > rewardTreasure){ estimatedReward = rewardTreasure; } uint256 adjustedTokenPerShare = accTokenPerShare + (estimatedReward * PRECISION_FACTOR) / totalStaked; return (user.amount * adjustedTokenPerShare) / PRECISION_FACTOR - user.rewardDebt; } else { return (user.amount * accTokenPerShare) / PRECISION_FACTOR - user.rewardDebt; } } /* * @notice Update reward variables of the given pool to be up-to-date. */ function _updatePool() internal { if (block.timestamp <= lastRewardTimeStamp) { return; } if (totalStaked == 0) { lastRewardTimeStamp = block.timestamp; return; } uint256 multiplier = block.timestamp - lastRewardTimeStamp; uint256 estimatedReward = multiplier * (((totalStaked * apy)/100) / (365 days)); uint256 realReward = _allocateReward(estimatedReward); accTokenPerShare += (realReward * PRECISION_FACTOR) / totalStaked; lastRewardTimeStamp = block.timestamp; } uint256 public rewardTreasure; uint256 public rewardAllocated; function addRewardTreasure(uint256 _amount) external nonReentrant{ require( _amount > 0 , "err _amount=0"); uint256 oldBalance = wGUISEToken.balanceOf(address(this)); wGUISEToken.safeTransferFrom(msg.sender, address(this), _amount); uint256 newBalance = wGUISEToken.balanceOf(address(this)); uint256 realAmount = newBalance - oldBalance; rewardTreasure += realAmount; _updatePool(); } function _allocateReward(uint256 amount ) internal returns(uint256){ uint256 allocatedAmount = amount; if( amount >= rewardTreasure ){ allocatedAmount = rewardTreasure; } rewardTreasure -= allocatedAmount; rewardAllocated += allocatedAmount; return allocatedAmount; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"apy","type":"uint256"}],"name":"NewAPY","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":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokenRecovery","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"GUISEToken","outputs":[{"internalType":"contract IERC20Metadata","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRECISION_FACTOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WGUISEStaking","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accTokenPerShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"addRewardTreasure","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":[],"name":"apy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","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":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"emergencyRewardWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","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":[],"name":"lastRewardTimeStamp","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":[{"internalType":"address","name":"_user","type":"address"}],"name":"pendingReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"recoverToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardAllocated","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardTreasure","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wGUISEStaking","type":"address"}],"name":"setWGUISEStakingContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStaked","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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","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"},{"inputs":[{"internalType":"uint256","name":"_newAPY","type":"uint256"}],"name":"updateNewAPY","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wGUISEToken","outputs":[{"internalType":"contract IERC20Metadata","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405264e8d4a51000600b553480156200001a57600080fd5b506040518060400160405280601381526020017f4775697365205374616b6520547261636b6572000000000000000000000000008152506040518060400160405280600b81526020017f73744755495345666c65780000000000000000000000000000000000000000008152508181620000a96200009d620001a560201b60201c565b620001ad60201b60201c565b600180819055508160059080519060200190620000c892919062000271565b508060069080519060200190620000e192919062000271565b5050505050737721a4cb6190edb11d47f51c20968436eccdafb8600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550738021179d170f44b9ad80675a49ed170c57f06bd7600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555042600a81905550600060078190555062000386565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200027f9062000321565b90600052602060002090601f016020900481019282620002a35760008555620002ef565b82601f10620002be57805160ff1916838001178555620002ef565b82800160010185558215620002ef579182015b82811115620002ee578251825591602001919060010190620002d1565b5b509050620002fe919062000302565b5090565b5b808211156200031d57600081600090555060010162000303565b5090565b600060028204905060018216806200033a57607f821691505b6020821081141562000351576200035062000357565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61430680620003966000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c806370a0823111610125578063a457c2d7116100ad578063db2e21bc1161007c578063db2e21bc146105e5578063dbda80ca146105ef578063dd62ed3e1461060b578063f2fde38b1461063b578063f40f0f521461065757610211565b8063a457c2d71461054b578063a9059cbb1461057b578063b6b55f25146105ab578063ccd34cd5146105c757610211565b80638da5cb5b116100f45780638da5cb5b146104b75780638f662915146104d5578063959e5543146104f357806395d89b41146105115780639be65a601461052f57610211565b806370a0823114610441578063715018a614610471578063817b1cd21461047b578063828ac8cd1461049957610211565b8063313ce567116101a85780633a734930116101775780633a734930146103c15780633bcfc4b8146103dd5780634066f55b146103fb5780634e71d92d146104195780636a5e171e1461042357610211565b8063313ce567146103395780633279beab14610357578063356c728414610373578063395093511461039157610211565b806318160ddd116101e457806318160ddd1461029e5780631959a002146102bc57806323b872dd146102ed5780632e1a7d4d1461031d57610211565b806306fdde0314610216578063086801eb14610234578063095ea7b3146102505780631063c0c414610280575b600080fd5b61021e610687565b60405161022b9190613c47565b60405180910390f35b61024e60048036038101906102499190613264565b610719565b005b61026a600480360381019061026591906131ff565b610995565b6040516102779190613c11565b60405180910390f35b6102886109b8565b6040516102959190613f69565b60405180910390f35b6102a66109be565b6040516102b39190613f69565b60405180910390f35b6102d660048036038101906102d1919061314b565b6109c8565b6040516102e4929190613f84565b60405180910390f35b610307600480360381019061030291906131b0565b6109ec565b6040516103149190613c11565b60405180910390f35b61033760048036038101906103329190613264565b610a1b565b005b610341610efc565b60405161034e9190613fad565b60405180910390f35b610371600480360381019061036c9190613264565b610f05565b005b61037b61102f565b6040516103889190613f69565b60405180910390f35b6103ab60048036038101906103a691906131ff565b611035565b6040516103b89190613c11565b60405180910390f35b6103db60048036038101906103d6919061314b565b61106c565b005b6103e561112c565b6040516103f29190613f69565b60405180910390f35b610403611132565b6040516104109190613c2c565b60405180910390f35b610421611158565b005b61042b611333565b6040516104389190613b96565b60405180910390f35b61045b6004803603810190610456919061314b565b611359565b6040516104689190613f69565b60405180910390f35b6104796113a2565b005b61048361142a565b6040516104909190613f69565b60405180910390f35b6104a1611430565b6040516104ae9190613f69565b60405180910390f35b6104bf611436565b6040516104cc9190613b96565b60405180910390f35b6104dd61145f565b6040516104ea9190613f69565b60405180910390f35b6104fb611465565b6040516105089190613c2c565b60405180910390f35b61051961148b565b6040516105269190613c47565b60405180910390f35b6105496004803603810190610544919061314b565b61151d565b005b610565600480360381019061056091906131ff565b611809565b6040516105729190613c11565b60405180910390f35b610595600480360381019061059091906131ff565b611880565b6040516105a29190613c11565b60405180910390f35b6105c560048036038101906105c09190613264565b6118a3565b005b6105cf611aef565b6040516105dc9190613f69565b60405180910390f35b6105ed611af5565b005b61060960048036038101906106049190613264565b611f3a565b005b61062560048036038101906106209190613174565b611fff565b6040516106329190613f69565b60405180910390f35b6106556004803603810190610650919061314b565b612086565b005b610671600480360381019061066c919061314b565b61217e565b60405161067e9190613f69565b60405180910390f35b606060058054610696906141bb565b80601f01602080910402602001604051908101604052809291908181526020018280546106c2906141bb565b801561070f5780601f106106e45761010080835404028352916020019161070f565b820191906000526020600020905b8154815290600101906020018083116106f257829003601f168201915b5050505050905090565b6002600154141561075f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075690613ee9565b60405180910390fd5b6002600181905550600081116107aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a190613d69565b60405180910390fd5b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016108079190613b96565b60206040518083038186803b15801561081f57600080fd5b505afa158015610833573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610857919061328d565b90506108a8333084600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122d1909392919063ffffffff16565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016109059190613b96565b60206040518083038186803b15801561091d57600080fd5b505afa158015610931573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610955919061328d565b90506000828261096591906140db565b905080601060008282546109799190613ffa565b9250508190555061098861235a565b5050506001808190555050565b6000806109a0612418565b90506109ad818585612420565b600191505092915050565b60105481565b6000600454905090565b600f6020528060005260406000206000915090508060000154908060010154905082565b6000806109f7612418565b9050610a048582856125eb565b610a0f858585612677565b60019150509392505050565b60026001541415610a61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5890613ee9565b60405180910390fd5b60026001819055506000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508181600001541015610af3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aea90613e29565b60405180910390fd5b610afb61235a565b60008160010154600b546008548460000154610b179190614081565b610b219190614050565b610b2b91906140db565b90506000831115610bc6578260096000828254610b4891906140db565b9250508190555082826000016000828254610b6391906140db565b92505081905550610b783383600001546126c8565b610bc53384600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166127279092919063ffffffff16565b5b6000811115610c1d57610c1c3382600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166127279092919063ffffffff16565b5b600b546008548360000154610c329190614081565b610c3c9190614050565b826001018190555060008260000154148015610ca75750600073ffffffffffffffffffffffffffffffffffffffff16600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15610ea2576000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e8f7b1ee336040518263ffffffff1660e01b8152600401610d099190613b96565b60206040518083038186803b158015610d2157600080fd5b505afa158015610d35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d59919061328d565b118015610e0e5750600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166389f6e00d336040518263ffffffff1660e01b8152600401610dbc9190613b96565b60206040518083038186803b158015610dd457600080fd5b505afa158015610de8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e0c919061323b565b155b15610ea157600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663882f3e16336040518263ffffffff1660e01b8152600401610e6e9190613b96565b600060405180830381600087803b158015610e8857600080fd5b505af1158015610e9c573d6000803e3d6000fd5b505050505b5b3373ffffffffffffffffffffffffffffffffffffffff167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a942436484604051610ee89190613f69565b60405180910390a250506001808190555050565b60006012905090565b610f0d612418565b73ffffffffffffffffffffffffffffffffffffffff16610f2b611436565b73ffffffffffffffffffffffffffffffffffffffff1614610f81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7890613d89565b60405180910390fd5b601054811115610fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbd90613e09565b60405180910390fd5b6110133382600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166127279092919063ffffffff16565b806010600082825461102591906140db565b9250508190555050565b600a5481565b600080611040612418565b90506110618185856110528589611fff565b61105c9190613ffa565b612420565b600191505092915050565b611074612418565b73ffffffffffffffffffffffffffffffffffffffff16611092611436565b73ffffffffffffffffffffffffffffffffffffffff16146110e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110df90613d89565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60075481565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6002600154141561119e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119590613ee9565b60405180910390fd5b60026001819055506000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506111f161235a565b60008160010154600b54600854846000015461120d9190614081565b6112179190614050565b61122191906140db565b905060008111611266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125d90613ec9565b60405180910390fd5b6112b33382600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166127279092919063ffffffff16565b600b5460085483600001546112c89190614081565b6112d29190614050565b82600101819055503373ffffffffffffffffffffffffffffffffffffffff167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4826040516113209190613f69565b60405180910390a2505060018081905550565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113aa612418565b73ffffffffffffffffffffffffffffffffffffffff166113c8611436565b73ffffffffffffffffffffffffffffffffffffffff161461141e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141590613d89565b60405180910390fd5b61142860006127ad565b565b60095481565b60115481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60085481565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606006805461149a906141bb565b80601f01602080910402602001604051908101604052809291908181526020018280546114c6906141bb565b80156115135780601f106114e857610100808354040283529160200191611513565b820191906000526020600020905b8154815290600101906020018083116114f657829003601f168201915b5050505050905090565b611525612418565b73ffffffffffffffffffffffffffffffffffffffff16611543611436565b73ffffffffffffffffffffffffffffffffffffffff1614611599576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159090613d89565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561162a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162190613e89565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b290613da9565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016116f69190613b96565b60206040518083038186803b15801561170e57600080fd5b505afa158015611722573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611746919061328d565b9050600081141561178c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178390613c89565b60405180910390fd5b6117b733828473ffffffffffffffffffffffffffffffffffffffff166127279092919063ffffffff16565b8173ffffffffffffffffffffffffffffffffffffffff167f14f11966a996e0629572e51064726d2057a80fbd34efc066682c06a71dbb6e98826040516117fd9190613f69565b60405180910390a25050565b600080611814612418565b905060006118228286611fff565b905083811015611867576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185e90613f29565b60405180910390fd5b6118748286868403612420565b60019250505092915050565b60008061188b612418565b9050611898818585612677565b600191505092915050565b600260015414156118e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e090613ee9565b60405180910390fd5b60026001819055506000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061193c61235a565b6000816000015411156119d45760008160010154600b5460085484600001546119659190614081565b61196f9190614050565b61197991906140db565b905060008111156119d2576119d13382600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166127279092919063ffffffff16565b5b505b6000821115611a6f5781600960008282546119ef9190613ffa565b9250508190555081816000016000828254611a0a9190613ffa565b92505081905550611a1f3382600001546126c8565b611a6e333084600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122d1909392919063ffffffff16565b5b600b546008548260000154611a849190614081565b611a8e9190614050565b81600101819055503373ffffffffffffffffffffffffffffffffffffffff167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c83604051611adc9190613f69565b60405180910390a2506001808190555050565b600b5481565b60026001541415611b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3290613ee9565b60405180910390fd5b60026001819055506000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154905060008260010154600b546008548560000154611bab9190614081565b611bb59190614050565b611bbf91906140db565b90506000811115611bec578060106000828254611bdc9190613ffa565b92505081905550611beb61235a565b5b60008360000181905550600083600101819055508160096000828254611c1291906140db565b925050819055506000821115611c7057611c6f3383600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166127279092919063ffffffff16565b5b611c7e3384600001546126c8565b60008360000154148015611ce15750600073ffffffffffffffffffffffffffffffffffffffff16600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15611edc576000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e8f7b1ee336040518263ffffffff1660e01b8152600401611d439190613b96565b60206040518083038186803b158015611d5b57600080fd5b505afa158015611d6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d93919061328d565b118015611e485750600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166389f6e00d336040518263ffffffff1660e01b8152600401611df69190613b96565b60206040518083038186803b158015611e0e57600080fd5b505afa158015611e22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e46919061323b565b155b15611edb57600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663882f3e16336040518263ffffffff1660e01b8152600401611ea89190613b96565b600060405180830381600087803b158015611ec257600080fd5b505af1158015611ed6573d6000803e3d6000fd5b505050505b5b3373ffffffffffffffffffffffffffffffffffffffff167f5fafa99d0643513820be26656b45130b01e1c03062e1266bf36f88cbd3bd96958460000154604051611f269190613f69565b60405180910390a250505060018081905550565b611f42612418565b73ffffffffffffffffffffffffffffffffffffffff16611f60611436565b73ffffffffffffffffffffffffffffffffffffffff1614611fb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fad90613d89565b60405180910390fd5b611fbe61235a565b806007819055507fdf6a785a3f6f4690f12091be4b76d03b768c8f82a8d1612aac2f53cb2b7a9cad81604051611ff49190613f69565b60405180910390a150565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61208e612418565b73ffffffffffffffffffffffffffffffffffffffff166120ac611436565b73ffffffffffffffffffffffffffffffffffffffff1614612102576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f990613d89565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612172576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216990613cc9565b60405180910390fd5b61217b816127ad565b50565b600080600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600a54421180156121d65750600060095414155b1561229a576000600a54426121eb91906140db565b905060006301e1338060646007546009546122069190614081565b6122109190614050565b61221a9190614050565b826122259190614081565b90506010548111156122375760105490505b6000600954600b548361224a9190614081565b6122549190614050565b6008546122619190613ffa565b90508360010154600b5482866000015461227b9190614081565b6122859190614050565b61228f91906140db565b9450505050506122cc565b8060010154600b5460085483600001546122b49190614081565b6122be9190614050565b6122c891906140db565b9150505b919050565b612354846323b872dd60e01b8585856040516024016122f293929190613bb1565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612871565b50505050565b600a54421161236857612416565b6000600954141561237f5742600a81905550612416565b6000600a544261238f91906140db565b905060006301e1338060646007546009546123aa9190614081565b6123b49190614050565b6123be9190614050565b826123c99190614081565b905060006123d682612938565b9050600954600b54826123e99190614081565b6123f39190614050565b600860008282546124049190613ffa565b9250508190555042600a819055505050505b565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612490576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248790613e49565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612500576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f790613ce9565b60405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516125de9190613f69565b60405180910390a3505050565b60006125f78484611fff565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146126715781811015612663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265a90613d09565b60405180910390fd5b6126708484848403612420565b5b50505050565b60006126b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126af90613f09565b60405180910390fd5b6126c3838383612988565b505050565b60006126d383611359565b9050808211156126fd57600081836126eb91906140db565b90506126f78482612c03565b50612722565b80821015612721576000828261271391906140db565b905061271f8482612c11565b505b5b505050565b6127a88363a9059cbb60e01b8484604051602401612746929190613be8565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612871565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006128d3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612c1f9092919063ffffffff16565b905060008151111561293357808060200190518101906128f3919061323b565b612932576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292990613ea9565b60405180910390fd5b5b505050565b600080829050601054831061294d5760105490505b806010600082825461295f91906140db565b9250508190555080601160008282546129789190613ffa565b9250508190555080915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ef90613de9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5f90613c69565b60405180910390fd5b612a73838383612c37565b6000600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612afa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af190613d29565b60405180910390fd5b818103600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612bea9190613f69565b60405180910390a3612bfd848484612c3c565b50505050565b612c0d8282612c41565b5050565b612c1b8282612d99565b5050565b6060612c2e8484600085612f69565b90509392505050565b505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca890613f49565b60405180910390fd5b612cbd60008383612c37565b8060046000828254612ccf9190613ffa565b9250508190555080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612d819190613f69565b60405180910390a3612d9560008383612c3c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e0090613dc9565b60405180910390fd5b612e1582600083612c37565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612e9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e9390613ca9565b60405180910390fd5b818103600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600460008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612f509190613f69565b60405180910390a3612f6483600084612c3c565b505050565b606082471015612fae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fa590613d49565b60405180910390fd5b612fb78561307d565b612ff6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fed90613e69565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161301f9190613b7f565b60006040518083038185875af1925050503d806000811461305c576040519150601f19603f3d011682016040523d82523d6000602084013e613061565b606091505b5091509150613071828286613090565b92505050949350505050565b600080823b905060008111915050919050565b606083156130a0578290506130f0565b6000835111156130b35782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e79190613c47565b60405180910390fd5b9392505050565b6000813590506131068161428b565b92915050565b60008151905061311b816142a2565b92915050565b600081359050613130816142b9565b92915050565b600081519050613145816142b9565b92915050565b60006020828403121561315d57600080fd5b600061316b848285016130f7565b91505092915050565b6000806040838503121561318757600080fd5b6000613195858286016130f7565b92505060206131a6858286016130f7565b9150509250929050565b6000806000606084860312156131c557600080fd5b60006131d3868287016130f7565b93505060206131e4868287016130f7565b92505060406131f586828701613121565b9150509250925092565b6000806040838503121561321257600080fd5b6000613220858286016130f7565b925050602061323185828601613121565b9150509250929050565b60006020828403121561324d57600080fd5b600061325b8482850161310c565b91505092915050565b60006020828403121561327657600080fd5b600061328484828501613121565b91505092915050565b60006020828403121561329f57600080fd5b60006132ad84828501613136565b91505092915050565b6132bf8161410f565b82525050565b6132ce81614121565b82525050565b60006132df82613fc8565b6132e98185613fde565b93506132f9818560208601614188565b80840191505092915050565b61330e81614164565b82525050565b600061331f82613fd3565b6133298185613fe9565b9350613339818560208601614188565b6133428161427a565b840191505092915050565b600061335a602383613fe9565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006133c0602783613fe9565b91507f4f7065726174696f6e733a2043616e6e6f74207265636f766572207a65726f2060008301527f62616c616e6365000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613426602283613fe9565b91507f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008301527f63650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061348c602683613fe9565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006134f2602283613fe9565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613558601d83613fe9565b91507f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006000830152602082019050919050565b6000613598602683613fe9565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006135fe602683613fe9565b91507f416464726573733a20696e73756666696369656e742062616c616e636520666f60008301527f722063616c6c00000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613664600d83613fe9565b91507f657272205f616d6f756e743d30000000000000000000000000000000000000006000830152602082019050919050565b60006136a4602083613fe9565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006136e4602783613fe9565b91507f4f7065726174696f6e733a2043616e6e6f74207265636f76657220726577617260008301527f6420746f6b656e000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061374a602183613fe9565b91507f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006137b0602583613fe9565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613816601a83613fe9565b91507f45786365656420776974686472617761626c6520616d6f756e740000000000006000830152602082019050919050565b6000613856601b83613fe9565b91507f416d6f756e7420746f20776974686472617720746f6f206869676800000000006000830152602082019050919050565b6000613896602483613fe9565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006138fc601d83613fe9565b91507f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006000830152602082019050919050565b600061393c602783613fe9565b91507f4f7065726174696f6e733a2043616e6e6f74207265636f766572207374616b6560008301527f6420746f6b656e000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006139a2602a83613fe9565b91507f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008301527f6f742073756363656564000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a08601283613fe9565b91507f4e6f2072657761726420746f20636c61696d00000000000000000000000000006000830152602082019050919050565b6000613a48601f83613fe9565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b6000613a88601c83613fe9565b91507f43616e74207472616e73666572206469766964656e6420746f6b656e000000006000830152602082019050919050565b6000613ac8602583613fe9565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b2e601f83613fe9565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b613b6a8161414d565b82525050565b613b7981614157565b82525050565b6000613b8b82846132d4565b915081905092915050565b6000602082019050613bab60008301846132b6565b92915050565b6000606082019050613bc660008301866132b6565b613bd360208301856132b6565b613be06040830184613b61565b949350505050565b6000604082019050613bfd60008301856132b6565b613c0a6020830184613b61565b9392505050565b6000602082019050613c2660008301846132c5565b92915050565b6000602082019050613c416000830184613305565b92915050565b60006020820190508181036000830152613c618184613314565b905092915050565b60006020820190508181036000830152613c828161334d565b9050919050565b60006020820190508181036000830152613ca2816133b3565b9050919050565b60006020820190508181036000830152613cc281613419565b9050919050565b60006020820190508181036000830152613ce28161347f565b9050919050565b60006020820190508181036000830152613d02816134e5565b9050919050565b60006020820190508181036000830152613d228161354b565b9050919050565b60006020820190508181036000830152613d428161358b565b9050919050565b60006020820190508181036000830152613d62816135f1565b9050919050565b60006020820190508181036000830152613d8281613657565b9050919050565b60006020820190508181036000830152613da281613697565b9050919050565b60006020820190508181036000830152613dc2816136d7565b9050919050565b60006020820190508181036000830152613de28161373d565b9050919050565b60006020820190508181036000830152613e02816137a3565b9050919050565b60006020820190508181036000830152613e2281613809565b9050919050565b60006020820190508181036000830152613e4281613849565b9050919050565b60006020820190508181036000830152613e6281613889565b9050919050565b60006020820190508181036000830152613e82816138ef565b9050919050565b60006020820190508181036000830152613ea28161392f565b9050919050565b60006020820190508181036000830152613ec281613995565b9050919050565b60006020820190508181036000830152613ee2816139fb565b9050919050565b60006020820190508181036000830152613f0281613a3b565b9050919050565b60006020820190508181036000830152613f2281613a7b565b9050919050565b60006020820190508181036000830152613f4281613abb565b9050919050565b60006020820190508181036000830152613f6281613b21565b9050919050565b6000602082019050613f7e6000830184613b61565b92915050565b6000604082019050613f996000830185613b61565b613fa66020830184613b61565b9392505050565b6000602082019050613fc26000830184613b70565b92915050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b60006140058261414d565b91506140108361414d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614045576140446141ed565b5b828201905092915050565b600061405b8261414d565b91506140668361414d565b9250826140765761407561421c565b5b828204905092915050565b600061408c8261414d565b91506140978361414d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156140d0576140cf6141ed565b5b828202905092915050565b60006140e68261414d565b91506140f18361414d565b925082821015614104576141036141ed565b5b828203905092915050565b600061411a8261412d565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061416f82614176565b9050919050565b60006141818261412d565b9050919050565b60005b838110156141a657808201518184015260208101905061418b565b838111156141b5576000848401525b50505050565b600060028204905060018216806141d357607f821691505b602082108114156141e7576141e661424b565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b6142948161410f565b811461429f57600080fd5b50565b6142ab81614121565b81146142b657600080fd5b50565b6142c28161414d565b81146142cd57600080fd5b5056fea264697066735822122034b6275ba1bd623604c4b04f7ad424e596797a8be802288af5ab44f4c40da80a64736f6c63430008000033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102115760003560e01c806370a0823111610125578063a457c2d7116100ad578063db2e21bc1161007c578063db2e21bc146105e5578063dbda80ca146105ef578063dd62ed3e1461060b578063f2fde38b1461063b578063f40f0f521461065757610211565b8063a457c2d71461054b578063a9059cbb1461057b578063b6b55f25146105ab578063ccd34cd5146105c757610211565b80638da5cb5b116100f45780638da5cb5b146104b75780638f662915146104d5578063959e5543146104f357806395d89b41146105115780639be65a601461052f57610211565b806370a0823114610441578063715018a614610471578063817b1cd21461047b578063828ac8cd1461049957610211565b8063313ce567116101a85780633a734930116101775780633a734930146103c15780633bcfc4b8146103dd5780634066f55b146103fb5780634e71d92d146104195780636a5e171e1461042357610211565b8063313ce567146103395780633279beab14610357578063356c728414610373578063395093511461039157610211565b806318160ddd116101e457806318160ddd1461029e5780631959a002146102bc57806323b872dd146102ed5780632e1a7d4d1461031d57610211565b806306fdde0314610216578063086801eb14610234578063095ea7b3146102505780631063c0c414610280575b600080fd5b61021e610687565b60405161022b9190613c47565b60405180910390f35b61024e60048036038101906102499190613264565b610719565b005b61026a600480360381019061026591906131ff565b610995565b6040516102779190613c11565b60405180910390f35b6102886109b8565b6040516102959190613f69565b60405180910390f35b6102a66109be565b6040516102b39190613f69565b60405180910390f35b6102d660048036038101906102d1919061314b565b6109c8565b6040516102e4929190613f84565b60405180910390f35b610307600480360381019061030291906131b0565b6109ec565b6040516103149190613c11565b60405180910390f35b61033760048036038101906103329190613264565b610a1b565b005b610341610efc565b60405161034e9190613fad565b60405180910390f35b610371600480360381019061036c9190613264565b610f05565b005b61037b61102f565b6040516103889190613f69565b60405180910390f35b6103ab60048036038101906103a691906131ff565b611035565b6040516103b89190613c11565b60405180910390f35b6103db60048036038101906103d6919061314b565b61106c565b005b6103e561112c565b6040516103f29190613f69565b60405180910390f35b610403611132565b6040516104109190613c2c565b60405180910390f35b610421611158565b005b61042b611333565b6040516104389190613b96565b60405180910390f35b61045b6004803603810190610456919061314b565b611359565b6040516104689190613f69565b60405180910390f35b6104796113a2565b005b61048361142a565b6040516104909190613f69565b60405180910390f35b6104a1611430565b6040516104ae9190613f69565b60405180910390f35b6104bf611436565b6040516104cc9190613b96565b60405180910390f35b6104dd61145f565b6040516104ea9190613f69565b60405180910390f35b6104fb611465565b6040516105089190613c2c565b60405180910390f35b61051961148b565b6040516105269190613c47565b60405180910390f35b6105496004803603810190610544919061314b565b61151d565b005b610565600480360381019061056091906131ff565b611809565b6040516105729190613c11565b60405180910390f35b610595600480360381019061059091906131ff565b611880565b6040516105a29190613c11565b60405180910390f35b6105c560048036038101906105c09190613264565b6118a3565b005b6105cf611aef565b6040516105dc9190613f69565b60405180910390f35b6105ed611af5565b005b61060960048036038101906106049190613264565b611f3a565b005b61062560048036038101906106209190613174565b611fff565b6040516106329190613f69565b60405180910390f35b6106556004803603810190610650919061314b565b612086565b005b610671600480360381019061066c919061314b565b61217e565b60405161067e9190613f69565b60405180910390f35b606060058054610696906141bb565b80601f01602080910402602001604051908101604052809291908181526020018280546106c2906141bb565b801561070f5780601f106106e45761010080835404028352916020019161070f565b820191906000526020600020905b8154815290600101906020018083116106f257829003601f168201915b5050505050905090565b6002600154141561075f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075690613ee9565b60405180910390fd5b6002600181905550600081116107aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a190613d69565b60405180910390fd5b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016108079190613b96565b60206040518083038186803b15801561081f57600080fd5b505afa158015610833573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610857919061328d565b90506108a8333084600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122d1909392919063ffffffff16565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016109059190613b96565b60206040518083038186803b15801561091d57600080fd5b505afa158015610931573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610955919061328d565b90506000828261096591906140db565b905080601060008282546109799190613ffa565b9250508190555061098861235a565b5050506001808190555050565b6000806109a0612418565b90506109ad818585612420565b600191505092915050565b60105481565b6000600454905090565b600f6020528060005260406000206000915090508060000154908060010154905082565b6000806109f7612418565b9050610a048582856125eb565b610a0f858585612677565b60019150509392505050565b60026001541415610a61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5890613ee9565b60405180910390fd5b60026001819055506000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508181600001541015610af3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aea90613e29565b60405180910390fd5b610afb61235a565b60008160010154600b546008548460000154610b179190614081565b610b219190614050565b610b2b91906140db565b90506000831115610bc6578260096000828254610b4891906140db565b9250508190555082826000016000828254610b6391906140db565b92505081905550610b783383600001546126c8565b610bc53384600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166127279092919063ffffffff16565b5b6000811115610c1d57610c1c3382600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166127279092919063ffffffff16565b5b600b546008548360000154610c329190614081565b610c3c9190614050565b826001018190555060008260000154148015610ca75750600073ffffffffffffffffffffffffffffffffffffffff16600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15610ea2576000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e8f7b1ee336040518263ffffffff1660e01b8152600401610d099190613b96565b60206040518083038186803b158015610d2157600080fd5b505afa158015610d35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d59919061328d565b118015610e0e5750600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166389f6e00d336040518263ffffffff1660e01b8152600401610dbc9190613b96565b60206040518083038186803b158015610dd457600080fd5b505afa158015610de8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e0c919061323b565b155b15610ea157600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663882f3e16336040518263ffffffff1660e01b8152600401610e6e9190613b96565b600060405180830381600087803b158015610e8857600080fd5b505af1158015610e9c573d6000803e3d6000fd5b505050505b5b3373ffffffffffffffffffffffffffffffffffffffff167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a942436484604051610ee89190613f69565b60405180910390a250506001808190555050565b60006012905090565b610f0d612418565b73ffffffffffffffffffffffffffffffffffffffff16610f2b611436565b73ffffffffffffffffffffffffffffffffffffffff1614610f81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7890613d89565b60405180910390fd5b601054811115610fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbd90613e09565b60405180910390fd5b6110133382600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166127279092919063ffffffff16565b806010600082825461102591906140db565b9250508190555050565b600a5481565b600080611040612418565b90506110618185856110528589611fff565b61105c9190613ffa565b612420565b600191505092915050565b611074612418565b73ffffffffffffffffffffffffffffffffffffffff16611092611436565b73ffffffffffffffffffffffffffffffffffffffff16146110e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110df90613d89565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60075481565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6002600154141561119e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119590613ee9565b60405180910390fd5b60026001819055506000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506111f161235a565b60008160010154600b54600854846000015461120d9190614081565b6112179190614050565b61122191906140db565b905060008111611266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125d90613ec9565b60405180910390fd5b6112b33382600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166127279092919063ffffffff16565b600b5460085483600001546112c89190614081565b6112d29190614050565b82600101819055503373ffffffffffffffffffffffffffffffffffffffff167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4826040516113209190613f69565b60405180910390a2505060018081905550565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113aa612418565b73ffffffffffffffffffffffffffffffffffffffff166113c8611436565b73ffffffffffffffffffffffffffffffffffffffff161461141e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141590613d89565b60405180910390fd5b61142860006127ad565b565b60095481565b60115481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60085481565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606006805461149a906141bb565b80601f01602080910402602001604051908101604052809291908181526020018280546114c6906141bb565b80156115135780601f106114e857610100808354040283529160200191611513565b820191906000526020600020905b8154815290600101906020018083116114f657829003601f168201915b5050505050905090565b611525612418565b73ffffffffffffffffffffffffffffffffffffffff16611543611436565b73ffffffffffffffffffffffffffffffffffffffff1614611599576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159090613d89565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561162a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162190613e89565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b290613da9565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016116f69190613b96565b60206040518083038186803b15801561170e57600080fd5b505afa158015611722573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611746919061328d565b9050600081141561178c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178390613c89565b60405180910390fd5b6117b733828473ffffffffffffffffffffffffffffffffffffffff166127279092919063ffffffff16565b8173ffffffffffffffffffffffffffffffffffffffff167f14f11966a996e0629572e51064726d2057a80fbd34efc066682c06a71dbb6e98826040516117fd9190613f69565b60405180910390a25050565b600080611814612418565b905060006118228286611fff565b905083811015611867576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185e90613f29565b60405180910390fd5b6118748286868403612420565b60019250505092915050565b60008061188b612418565b9050611898818585612677565b600191505092915050565b600260015414156118e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e090613ee9565b60405180910390fd5b60026001819055506000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061193c61235a565b6000816000015411156119d45760008160010154600b5460085484600001546119659190614081565b61196f9190614050565b61197991906140db565b905060008111156119d2576119d13382600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166127279092919063ffffffff16565b5b505b6000821115611a6f5781600960008282546119ef9190613ffa565b9250508190555081816000016000828254611a0a9190613ffa565b92505081905550611a1f3382600001546126c8565b611a6e333084600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122d1909392919063ffffffff16565b5b600b546008548260000154611a849190614081565b611a8e9190614050565b81600101819055503373ffffffffffffffffffffffffffffffffffffffff167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c83604051611adc9190613f69565b60405180910390a2506001808190555050565b600b5481565b60026001541415611b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3290613ee9565b60405180910390fd5b60026001819055506000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154905060008260010154600b546008548560000154611bab9190614081565b611bb59190614050565b611bbf91906140db565b90506000811115611bec578060106000828254611bdc9190613ffa565b92505081905550611beb61235a565b5b60008360000181905550600083600101819055508160096000828254611c1291906140db565b925050819055506000821115611c7057611c6f3383600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166127279092919063ffffffff16565b5b611c7e3384600001546126c8565b60008360000154148015611ce15750600073ffffffffffffffffffffffffffffffffffffffff16600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15611edc576000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e8f7b1ee336040518263ffffffff1660e01b8152600401611d439190613b96565b60206040518083038186803b158015611d5b57600080fd5b505afa158015611d6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d93919061328d565b118015611e485750600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166389f6e00d336040518263ffffffff1660e01b8152600401611df69190613b96565b60206040518083038186803b158015611e0e57600080fd5b505afa158015611e22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e46919061323b565b155b15611edb57600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663882f3e16336040518263ffffffff1660e01b8152600401611ea89190613b96565b600060405180830381600087803b158015611ec257600080fd5b505af1158015611ed6573d6000803e3d6000fd5b505050505b5b3373ffffffffffffffffffffffffffffffffffffffff167f5fafa99d0643513820be26656b45130b01e1c03062e1266bf36f88cbd3bd96958460000154604051611f269190613f69565b60405180910390a250505060018081905550565b611f42612418565b73ffffffffffffffffffffffffffffffffffffffff16611f60611436565b73ffffffffffffffffffffffffffffffffffffffff1614611fb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fad90613d89565b60405180910390fd5b611fbe61235a565b806007819055507fdf6a785a3f6f4690f12091be4b76d03b768c8f82a8d1612aac2f53cb2b7a9cad81604051611ff49190613f69565b60405180910390a150565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61208e612418565b73ffffffffffffffffffffffffffffffffffffffff166120ac611436565b73ffffffffffffffffffffffffffffffffffffffff1614612102576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f990613d89565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612172576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216990613cc9565b60405180910390fd5b61217b816127ad565b50565b600080600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600a54421180156121d65750600060095414155b1561229a576000600a54426121eb91906140db565b905060006301e1338060646007546009546122069190614081565b6122109190614050565b61221a9190614050565b826122259190614081565b90506010548111156122375760105490505b6000600954600b548361224a9190614081565b6122549190614050565b6008546122619190613ffa565b90508360010154600b5482866000015461227b9190614081565b6122859190614050565b61228f91906140db565b9450505050506122cc565b8060010154600b5460085483600001546122b49190614081565b6122be9190614050565b6122c891906140db565b9150505b919050565b612354846323b872dd60e01b8585856040516024016122f293929190613bb1565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612871565b50505050565b600a54421161236857612416565b6000600954141561237f5742600a81905550612416565b6000600a544261238f91906140db565b905060006301e1338060646007546009546123aa9190614081565b6123b49190614050565b6123be9190614050565b826123c99190614081565b905060006123d682612938565b9050600954600b54826123e99190614081565b6123f39190614050565b600860008282546124049190613ffa565b9250508190555042600a819055505050505b565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612490576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248790613e49565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612500576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f790613ce9565b60405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516125de9190613f69565b60405180910390a3505050565b60006125f78484611fff565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146126715781811015612663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265a90613d09565b60405180910390fd5b6126708484848403612420565b5b50505050565b60006126b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126af90613f09565b60405180910390fd5b6126c3838383612988565b505050565b60006126d383611359565b9050808211156126fd57600081836126eb91906140db565b90506126f78482612c03565b50612722565b80821015612721576000828261271391906140db565b905061271f8482612c11565b505b5b505050565b6127a88363a9059cbb60e01b8484604051602401612746929190613be8565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612871565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006128d3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612c1f9092919063ffffffff16565b905060008151111561293357808060200190518101906128f3919061323b565b612932576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292990613ea9565b60405180910390fd5b5b505050565b600080829050601054831061294d5760105490505b806010600082825461295f91906140db565b9250508190555080601160008282546129789190613ffa565b9250508190555080915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ef90613de9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5f90613c69565b60405180910390fd5b612a73838383612c37565b6000600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612afa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af190613d29565b60405180910390fd5b818103600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612bea9190613f69565b60405180910390a3612bfd848484612c3c565b50505050565b612c0d8282612c41565b5050565b612c1b8282612d99565b5050565b6060612c2e8484600085612f69565b90509392505050565b505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca890613f49565b60405180910390fd5b612cbd60008383612c37565b8060046000828254612ccf9190613ffa565b9250508190555080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612d819190613f69565b60405180910390a3612d9560008383612c3c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e0090613dc9565b60405180910390fd5b612e1582600083612c37565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612e9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e9390613ca9565b60405180910390fd5b818103600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600460008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612f509190613f69565b60405180910390a3612f6483600084612c3c565b505050565b606082471015612fae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fa590613d49565b60405180910390fd5b612fb78561307d565b612ff6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fed90613e69565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161301f9190613b7f565b60006040518083038185875af1925050503d806000811461305c576040519150601f19603f3d011682016040523d82523d6000602084013e613061565b606091505b5091509150613071828286613090565b92505050949350505050565b600080823b905060008111915050919050565b606083156130a0578290506130f0565b6000835111156130b35782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e79190613c47565b60405180910390fd5b9392505050565b6000813590506131068161428b565b92915050565b60008151905061311b816142a2565b92915050565b600081359050613130816142b9565b92915050565b600081519050613145816142b9565b92915050565b60006020828403121561315d57600080fd5b600061316b848285016130f7565b91505092915050565b6000806040838503121561318757600080fd5b6000613195858286016130f7565b92505060206131a6858286016130f7565b9150509250929050565b6000806000606084860312156131c557600080fd5b60006131d3868287016130f7565b93505060206131e4868287016130f7565b92505060406131f586828701613121565b9150509250925092565b6000806040838503121561321257600080fd5b6000613220858286016130f7565b925050602061323185828601613121565b9150509250929050565b60006020828403121561324d57600080fd5b600061325b8482850161310c565b91505092915050565b60006020828403121561327657600080fd5b600061328484828501613121565b91505092915050565b60006020828403121561329f57600080fd5b60006132ad84828501613136565b91505092915050565b6132bf8161410f565b82525050565b6132ce81614121565b82525050565b60006132df82613fc8565b6132e98185613fde565b93506132f9818560208601614188565b80840191505092915050565b61330e81614164565b82525050565b600061331f82613fd3565b6133298185613fe9565b9350613339818560208601614188565b6133428161427a565b840191505092915050565b600061335a602383613fe9565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006133c0602783613fe9565b91507f4f7065726174696f6e733a2043616e6e6f74207265636f766572207a65726f2060008301527f62616c616e6365000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613426602283613fe9565b91507f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008301527f63650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061348c602683613fe9565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006134f2602283613fe9565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613558601d83613fe9565b91507f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006000830152602082019050919050565b6000613598602683613fe9565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006135fe602683613fe9565b91507f416464726573733a20696e73756666696369656e742062616c616e636520666f60008301527f722063616c6c00000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613664600d83613fe9565b91507f657272205f616d6f756e743d30000000000000000000000000000000000000006000830152602082019050919050565b60006136a4602083613fe9565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006136e4602783613fe9565b91507f4f7065726174696f6e733a2043616e6e6f74207265636f76657220726577617260008301527f6420746f6b656e000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061374a602183613fe9565b91507f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006137b0602583613fe9565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613816601a83613fe9565b91507f45786365656420776974686472617761626c6520616d6f756e740000000000006000830152602082019050919050565b6000613856601b83613fe9565b91507f416d6f756e7420746f20776974686472617720746f6f206869676800000000006000830152602082019050919050565b6000613896602483613fe9565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006138fc601d83613fe9565b91507f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006000830152602082019050919050565b600061393c602783613fe9565b91507f4f7065726174696f6e733a2043616e6e6f74207265636f766572207374616b6560008301527f6420746f6b656e000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006139a2602a83613fe9565b91507f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008301527f6f742073756363656564000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a08601283613fe9565b91507f4e6f2072657761726420746f20636c61696d00000000000000000000000000006000830152602082019050919050565b6000613a48601f83613fe9565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b6000613a88601c83613fe9565b91507f43616e74207472616e73666572206469766964656e6420746f6b656e000000006000830152602082019050919050565b6000613ac8602583613fe9565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b2e601f83613fe9565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b613b6a8161414d565b82525050565b613b7981614157565b82525050565b6000613b8b82846132d4565b915081905092915050565b6000602082019050613bab60008301846132b6565b92915050565b6000606082019050613bc660008301866132b6565b613bd360208301856132b6565b613be06040830184613b61565b949350505050565b6000604082019050613bfd60008301856132b6565b613c0a6020830184613b61565b9392505050565b6000602082019050613c2660008301846132c5565b92915050565b6000602082019050613c416000830184613305565b92915050565b60006020820190508181036000830152613c618184613314565b905092915050565b60006020820190508181036000830152613c828161334d565b9050919050565b60006020820190508181036000830152613ca2816133b3565b9050919050565b60006020820190508181036000830152613cc281613419565b9050919050565b60006020820190508181036000830152613ce28161347f565b9050919050565b60006020820190508181036000830152613d02816134e5565b9050919050565b60006020820190508181036000830152613d228161354b565b9050919050565b60006020820190508181036000830152613d428161358b565b9050919050565b60006020820190508181036000830152613d62816135f1565b9050919050565b60006020820190508181036000830152613d8281613657565b9050919050565b60006020820190508181036000830152613da281613697565b9050919050565b60006020820190508181036000830152613dc2816136d7565b9050919050565b60006020820190508181036000830152613de28161373d565b9050919050565b60006020820190508181036000830152613e02816137a3565b9050919050565b60006020820190508181036000830152613e2281613809565b9050919050565b60006020820190508181036000830152613e4281613849565b9050919050565b60006020820190508181036000830152613e6281613889565b9050919050565b60006020820190508181036000830152613e82816138ef565b9050919050565b60006020820190508181036000830152613ea28161392f565b9050919050565b60006020820190508181036000830152613ec281613995565b9050919050565b60006020820190508181036000830152613ee2816139fb565b9050919050565b60006020820190508181036000830152613f0281613a3b565b9050919050565b60006020820190508181036000830152613f2281613a7b565b9050919050565b60006020820190508181036000830152613f4281613abb565b9050919050565b60006020820190508181036000830152613f6281613b21565b9050919050565b6000602082019050613f7e6000830184613b61565b92915050565b6000604082019050613f996000830185613b61565b613fa66020830184613b61565b9392505050565b6000602082019050613fc26000830184613b70565b92915050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b60006140058261414d565b91506140108361414d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614045576140446141ed565b5b828201905092915050565b600061405b8261414d565b91506140668361414d565b9250826140765761407561421c565b5b828204905092915050565b600061408c8261414d565b91506140978361414d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156140d0576140cf6141ed565b5b828202905092915050565b60006140e68261414d565b91506140f18361414d565b925082821015614104576141036141ed565b5b828203905092915050565b600061411a8261412d565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061416f82614176565b9050919050565b60006141818261412d565b9050919050565b60005b838110156141a657808201518184015260208101905061418b565b838111156141b5576000848401525b50505050565b600060028204905060018216806141d357607f821691505b602082108114156141e7576141e661424b565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b6142948161410f565b811461429f57600080fd5b50565b6142ab81614121565b81146142b657600080fd5b50565b6142c28161414d565b81146142cd57600080fd5b5056fea264697066735822122034b6275ba1bd623604c4b04f7ad424e596797a8be802288af5ab44f4c40da80a64736f6c63430008000033
Loading...
Loading
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.