ERC-20
Overview
Max Total Supply
30,311.482435211216512216 rfBPT-sFTMx
Holders
22
Market
Price
$0.00 @ 0.000000 FTM
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0 rfBPT-sFTMxValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xEeF42051...669AA0a20 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
ReaperVaultv1_4
Compiler Version
v0.8.11+commit.d7f03943
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./interfaces/IStrategy.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; /** * @dev Implementation of a vault to deposit funds for yield optimizing. * This is the contract that receives funds and that users interface with. * The yield optimizing strategy itself is implemented in a separate 'Strategy.sol' contract. */ contract ReaperVaultv1_4 is ERC20, Ownable, ReentrancyGuard { using SafeERC20 for IERC20; // The strategy in use by the vault. address public strategy; uint256 public depositFee; uint256 public constant PERCENT_DIVISOR = 10000; uint256 public tvlCap; /** * @dev The stretegy's initialization status. Gives deployer 20 minutes after contract * construction (constructionTime) to set the strategy implementation. */ bool public initialized = false; uint256 public constructionTime; // The token the vault accepts and looks to maximize. IERC20 public token; /** * + WEBSITE DISCLAIMER + * While we have taken precautionary measures to protect our users, * it is imperative that you read, understand and agree to the disclaimer below: * * Using our platform may involve financial risk of loss. * Never invest more than what you can afford to lose. * Never invest in a Reaper Vault with tokens you don't trust. * Never invest in a Reaper Vault with tokens whose rules for minting you don’t agree with. * Ensure the accuracy of the contracts for the tokens in the Reaper Vault. * Ensure the accuracy of the contracts for the Reaper Vault and Strategy you are depositing in. * Check our documentation regularly for additional disclaimers and security assessments. * ...and of course: DO YOUR OWN RESEARCH!!! * * By accepting these terms, you agree that Byte Masons, Fantom.Farm, or any parties * affiliated with the deployment and management of these vaults or their attached strategies * are not liable for any financial losses you might incur as a direct or indirect * result of investing in any of the pools on the platform. */ mapping(address => bool) public hasReadAndAcceptedTerms; /** * @dev simple mappings used to determine PnL denominated in LP tokens, * as well as keep a generalized history of a user's protocol usage. */ mapping(address => uint256) public cumulativeDeposits; mapping(address => uint256) public cumulativeWithdrawals; event TermsAccepted(address user); event TvlCapUpdated(uint256 newTvlCap); event DepositsIncremented(address user, uint256 amount, uint256 total); event WithdrawalsIncremented(address user, uint256 amount, uint256 total); /** * @dev Initializes the vault's own 'RF' token. * This token is minted when someone does a deposit. It is burned in order * to withdraw the corresponding portion of the underlying assets. * @param _token the token to maximize. * @param _name the name of the vault token. * @param _symbol the symbol of the vault token. * @param _depositFee one-time fee taken from deposits to this vault (in basis points) * @param _tvlCap initial deposit cap for scaling TVL safely */ constructor( address _token, string memory _name, string memory _symbol, uint256 _depositFee, uint256 _tvlCap ) ERC20(string(_name), string(_symbol)) { token = IERC20(_token); constructionTime = block.timestamp; depositFee = _depositFee; tvlCap = _tvlCap; } /** * @dev Connects the vault to its initial strategy. One use only. * @notice deployer has only 20 minutes after construction to connect the initial strategy. * @param _strategy the vault's initial strategy */ function initialize(address _strategy) public onlyOwner returns (bool) { require(!initialized, "Contract is already initialized."); require(block.timestamp <= (constructionTime + 1200), "initialization period over, too bad!"); strategy = _strategy; initialized = true; return true; } /** * @dev Gives user access to the client * @notice this does not affect vault permissions, and is read from client-side */ function agreeToTerms() public returns (bool) { require(!hasReadAndAcceptedTerms[msg.sender], "you have already accepted the terms"); hasReadAndAcceptedTerms[msg.sender] = true; emit TermsAccepted(msg.sender); return true; } /** * @dev It calculates the total underlying value of {token} held by the system. * It takes into account the vault contract balance, the strategy contract balance * and the balance deployed in other contracts as part of the strategy. */ function balance() public view returns (uint256) { return token.balanceOf(address(this)) + IStrategy(strategy).balanceOf(); } /** * @dev Custom logic in here for how much the vault allows to be borrowed. * We return 100% of tokens for now. Under certain conditions we might * want to keep some of the system funds at hand in the vault, instead * of putting them to work. */ function available() public view returns (uint256) { return token.balanceOf(address(this)); } /** * @dev Function for various UIs to display the current value of one of our yield tokens. * Returns an uint256 with 18 decimals of how much underlying asset one vault share represents. */ function getPricePerFullShare() public view returns (uint256) { return totalSupply() == 0 ? 1e18 : (balance() * 1e18) / totalSupply(); } /** * @dev A helper function to call deposit() with all the sender's funds. */ function depositAll() external { deposit(token.balanceOf(msg.sender)); } /** * @dev The entrypoint of funds into the system. People deposit with this function * into the vault. The vault is then in charge of sending funds into the strategy. * @notice the _before and _after variables are used to account properly for * 'burn-on-transaction' tokens. * @notice to ensure 'owner' can't sneak an implementation past the timelock, * it's set to true */ function deposit(uint256 _amount) public nonReentrant { require(_amount != 0, "please provide amount"); uint256 _pool = balance(); require(_pool + _amount <= tvlCap, "vault is full!"); uint256 _before = token.balanceOf(address(this)); token.safeTransferFrom(msg.sender, address(this), _amount); uint256 _after = token.balanceOf(address(this)); _amount = _after - _before; uint256 _amountAfterDeposit = (_amount * (PERCENT_DIVISOR - depositFee)) / PERCENT_DIVISOR; uint256 shares = 0; if (totalSupply() == 0) { shares = _amountAfterDeposit; } else { shares = (_amountAfterDeposit * totalSupply()) / _pool; } _mint(msg.sender, shares); earn(); incrementDeposits(_amount); } /** * @dev Function to send funds into the strategy and put them to work. It's primarily called * by the vault's deposit() function. */ function earn() public { uint256 _bal = available(); token.safeTransfer(strategy, _bal); IStrategy(strategy).deposit(); } /** * @dev A helper function to call withdraw() with all the sender's funds. */ function withdrawAll() external { withdraw(balanceOf(msg.sender)); } /** * @dev Function to exit the system. The vault will withdraw the required tokens * from the strategy and pay up the token holder. A proportional number of IOU * tokens are burned in the process. */ function withdraw(uint256 _shares) public nonReentrant { require(_shares > 0, "please provide amount"); uint256 r = (balance() * _shares) / totalSupply(); _burn(msg.sender, _shares); uint256 b = token.balanceOf(address(this)); if (b < r) { uint256 _withdraw = r - b; IStrategy(strategy).withdraw(_withdraw); uint256 _after = token.balanceOf(address(this)); uint256 _diff = _after - b; if (_diff < _withdraw) { r = b + _diff; } } token.safeTransfer(msg.sender, r); incrementWithdrawals(r); } function updateDepositFee(uint256 fee) public onlyOwner { depositFee = fee; } /** * @dev pass in max value of uint to effectively remove TVL cap */ function updateTvlCap(uint256 _newTvlCap) public onlyOwner { tvlCap = _newTvlCap; emit TvlCapUpdated(tvlCap); } /** * @dev helper function to remove TVL cap */ function removeTvlCap() external onlyOwner { updateTvlCap(type(uint256).max); } /* * @dev functions to increase user's cumulative deposits and withdrawals * @param _amount number of LP tokens being deposited/withdrawn */ function incrementDeposits(uint256 _amount) internal returns (bool) { uint256 initial = cumulativeDeposits[tx.origin]; uint256 newTotal = initial + _amount; cumulativeDeposits[tx.origin] = newTotal; emit DepositsIncremented(tx.origin, _amount, newTotal); return true; } function incrementWithdrawals(uint256 _amount) internal returns (bool) { uint256 initial = cumulativeWithdrawals[tx.origin]; uint256 newTotal = initial + _amount; cumulativeWithdrawals[tx.origin] = newTotal; emit WithdrawalsIncremented(tx.origin, _amount, newTotal); return true; } /** * @dev Rescues random funds stuck that the strat can't handle. * @param _token address of the token to rescue. */ function inCaseTokensGetStuck(address _token) external onlyOwner { require(_token != address(token), "!token"); uint256 amount = IERC20(_token).balanceOf(address(this)); IERC20(_token).safeTransfer(msg.sender, amount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IStrategy { //deposits all funds into the farm function deposit() external; //vault only - withdraws funds from the strategy function withdraw(uint256 _amount) external; //claims farmed tokens, distributes fees, and sells tokens to re-add to the LP & farm function harvest() external; //returns the balance of all tokens managed by the strategy function balanceOf() external view returns (uint256); //returns the approx amount of profit from harvesting plus fee returned to harvest caller. function estimateHarvest() external view returns (uint256 profit, uint256 callFeeToUser); //withdraws all tokens and sends them back to the vault function retireStrat() external; //pauses deposits, resets allowances, and withdraws all funds from farm function panic() external; //pauses deposits and resets allowances function pause() external; //unpauses deposits and maxes out allowances again function unpause() external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // 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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin 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}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * 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 value {ERC20} uses, unless this function is * 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, _allowances[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 = _allowances[owner][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * 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; } _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; _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; } _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 Spend `amount` form the allowance of `owner` toward `spender`. * * 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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for 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"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
{ "metadata": { "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_depositFee","type":"uint256"},{"internalType":"uint256","name":"_tvlCap","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"total","type":"uint256"}],"name":"DepositsIncremented","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":false,"internalType":"address","name":"user","type":"address"}],"name":"TermsAccepted","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":false,"internalType":"uint256","name":"newTvlCap","type":"uint256"}],"name":"TvlCapUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"total","type":"uint256"}],"name":"WithdrawalsIncremented","type":"event"},{"inputs":[],"name":"PERCENT_DIVISOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"agreeToTerms","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"available","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balance","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":"constructionTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"cumulativeDeposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"cumulativeWithdrawals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"depositAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"earn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getPricePerFullShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasReadAndAcceptedTerms","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"inCaseTokensGetStuck","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":[{"internalType":"address","name":"_strategy","type":"address"}],"name":"initialize","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeTvlCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"strategy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"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":[],"name":"tvlCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"updateDepositFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newTvlCap","type":"uint256"}],"name":"updateTvlCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shares","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600a805460ff191690553480156200001b57600080fd5b50604051620022fc380380620022fc8339810160408190526200003e916200028b565b8351849084906200005790600390602085019062000118565b5080516200006d90600490602084019062000118565b5050506200008a62000084620000c260201b60201c565b620000c6565b6001600655600c80546001600160a01b0319166001600160a01b03969096169590951790945542600b55600855505060095562000365565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001269062000328565b90600052602060002090601f0160209004810192826200014a576000855562000195565b82601f106200016557805160ff191683800117855562000195565b8280016001018555821562000195579182015b828111156200019557825182559160200191906001019062000178565b50620001a3929150620001a7565b5090565b5b80821115620001a35760008155600101620001a8565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001e657600080fd5b81516001600160401b0380821115620002035762000203620001be565b604051601f8301601f19908116603f011681019082821181831017156200022e576200022e620001be565b816040528381526020925086838588010111156200024b57600080fd5b600091505b838210156200026f578582018301518183018401529082019062000250565b83821115620002815760008385830101525b9695505050505050565b600080600080600060a08688031215620002a457600080fd5b85516001600160a01b0381168114620002bc57600080fd5b60208701519095506001600160401b0380821115620002da57600080fd5b620002e889838a01620001d4565b95506040880151915080821115620002ff57600080fd5b506200030e88828901620001d4565b606088015160809098015196999598509695949350505050565b600181811c908216806200033d57607f821691505b602082108114156200035f57634e487b7160e01b600052602260045260246000fd5b50919050565b611f8780620003756000396000f3fe608060405234801561001057600080fd5b50600436106102315760003560e01c8063853828b611610130578063b6b55f25116100b8578063de5f62681161007c578063de5f6268146104b2578063def68a9c146104ba578063f06c5610146104cd578063f2fde38b146104d6578063fc0c546a146104e957600080fd5b8063b6b55f2514610443578063c4d66de814610456578063d17d350314610469578063d389800f14610471578063dd62ed3e1461047957600080fd5b8063a6c8220e116100ff578063a6c8220e146103d5578063a8c62e76146103f5578063a9059cbb14610408578063b3ca31881461041b578063b69ef8a81461043b57600080fd5b8063853828b61461038d5780638da5cb5b1461039557806395d89b41146103ba578063a457c2d7146103c257600080fd5b8063313ce567116101be578063574445fb11610182578063574445fb1461032857806367a527931461034b57806370a0823114610354578063715018a61461037d57806377c7b8fc1461038557600080fd5b8063313ce567146102ec57806339509351146102fb5780633f23fa1a1461030e5780634870dd9a1461031757806348a0d7541461032057600080fd5b8063158ef93e11610205578063158ef93e1461029f57806318160ddd146102ac57806323b872dd146102be57806329b9d694146102d15780632e1a7d4d146102d957600080fd5b8062272d8114610236578063017def571461024b57806306fdde031461025e578063095ea7b31461027c575b600080fd5b610249610244366004611cc1565b6104fc565b005b610249610259366004611cc1565b61056a565b610266610599565b6040516102739190611d06565b60405180910390f35b61028f61028a366004611d50565b61062b565b6040519015158152602001610273565b600a5461028f9060ff1681565b6002545b604051908152602001610273565b61028f6102cc366004611d7a565b610643565b610249610669565b6102496102e7366004611cc1565b6106a0565b60405160128152602001610273565b61028f610309366004611d50565b610916565b6102b060095481565b6102b061271081565b6102b0610955565b61028f610336366004611db6565b600d6020526000908152604090205460ff1681565b6102b060085481565b6102b0610362366004611db6565b6001600160a01b031660009081526020819052604090205490565b6102496109c7565b6102b06109fb565b610249610a3f565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610273565b610266610a58565b61028f6103d0366004611d50565b610a67565b6102b06103e3366004611db6565b600f6020526000908152604090205481565b6007546103a2906001600160a01b031681565b61028f610416366004611d50565b610b04565b6102b0610429366004611db6565b600e6020526000908152604090205481565b6102b0610b12565b610249610451366004611cc1565b610bf6565b61028f610464366004611db6565b610e7a565b61028f610f96565b610249611056565b6102b0610487366004611dd1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102496110eb565b6102496104c8366004611db6565b611159565b6102b0600b5481565b6102496104e4366004611db6565b61124f565b600c546103a2906001600160a01b031681565b6005546001600160a01b0316331461052f5760405162461bcd60e51b815260040161052690611e04565b60405180910390fd5b60098190556040518181527f2923cecec41b7140eaf657a035af4abb23ed61d16b1fc20a986838eb3ad99bd09060200160405180910390a150565b6005546001600160a01b031633146105945760405162461bcd60e51b815260040161052690611e04565b600855565b6060600380546105a890611e39565b80601f01602080910402602001604051908101604052809291908181526020018280546105d490611e39565b80156106215780601f106105f657610100808354040283529160200191610621565b820191906000526020600020905b81548152906001019060200180831161060457829003601f168201915b5050505050905090565b6000336106398185856112ea565b5060019392505050565b60003361065185828561140f565b61065c8585856114a1565b60019150505b9392505050565b6005546001600160a01b031633146106935760405162461bcd60e51b815260040161052690611e04565b61069e6000196104fc565b565b600260065414156106f35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610526565b60026006558061073d5760405162461bcd60e51b81526020600482015260156024820152741c1b19585cd9481c1c9bdd9a591948185b5bdd5b9d605a1b6044820152606401610526565b600061074860025490565b82610751610b12565b61075b9190611e8a565b6107659190611ea9565b9050610771338361166f565b600c546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156107ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107de9190611ecb565b9050818110156108eb5760006107f48284611ee4565b600754604051632e1a7d4d60e01b8152600481018390529192506001600160a01b031690632e1a7d4d90602401600060405180830381600087803b15801561083b57600080fd5b505af115801561084f573d6000803e3d6000fd5b5050600c546040516370a0823160e01b8152306004820152600093506001600160a01b0390911691506370a0823190602401602060405180830381865afa15801561089e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c29190611ecb565b905060006108d08483611ee4565b9050828110156108e7576108e48185611efb565b94505b5050505b600c54610902906001600160a01b031633846117ba565b61090b8261181d565b505060016006555050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906106399082908690610950908790611efb565b6112ea565b600c546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa15801561099e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c29190611ecb565b905090565b6005546001600160a01b031633146109f15760405162461bcd60e51b815260040161052690611e04565b61069e6000611898565b6000610a0660025490565b15610a3257600254610a16610b12565b610a2890670de0b6b3a7640000611e8a565b6109c29190611ea9565b50670de0b6b3a764000090565b3360009081526020819052604090205461069e906106a0565b6060600480546105a890611e39565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610aec5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610526565b610af982868684036112ea565b506001949350505050565b6000336106398185856114a1565b6007546040805163722713f760e01b815290516000926001600160a01b03169163722713f79160048083019260209291908290030181865afa158015610b5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b809190611ecb565b600c546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015610bc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bec9190611ecb565b6109c29190611efb565b60026006541415610c495760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610526565b600260065580610c935760405162461bcd60e51b81526020600482015260156024820152741c1b19585cd9481c1c9bdd9a591948185b5bdd5b9d605a1b6044820152606401610526565b6000610c9d610b12565b600954909150610cad8383611efb565b1115610cec5760405162461bcd60e51b815260206004820152600e60248201526d7661756c742069732066756c6c2160901b6044820152606401610526565b600c546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610d35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d599190611ecb565b600c54909150610d74906001600160a01b03163330866118ea565b600c546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610dbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de19190611ecb565b9050610ded8282611ee4565b93506000612710600854612710610e049190611ee4565b610e0e9087611e8a565b610e189190611ea9565b90506000610e2560025490565b610e30575080610e51565b84610e3a60025490565b610e449084611e8a565b610e4e9190611ea9565b90505b610e5b3382611922565b610e63611056565b610e6c86611a01565b505060016006555050505050565b6005546000906001600160a01b03163314610ea75760405162461bcd60e51b815260040161052690611e04565b600a5460ff1615610efa5760405162461bcd60e51b815260206004820181905260248201527f436f6e747261637420697320616c726561647920696e697469616c697a65642e6044820152606401610526565b600b54610f09906104b0611efb565b421115610f645760405162461bcd60e51b8152602060048201526024808201527f696e697469616c697a6174696f6e20706572696f64206f7665722c20746f6f206044820152636261642160e01b6064820152608401610526565b50600780546001600160a01b0319166001600160a01b038316179055600a805460ff191660019081179091555b919050565b336000908152600d602052604081205460ff16156110025760405162461bcd60e51b815260206004820152602360248201527f796f75206861766520616c726561647920616363657074656420746865207465604482015262726d7360e81b6064820152608401610526565b336000818152600d6020908152604091829020805460ff1916600117905590519182527fac268f7e07e832bf2aedd9f3ffd031ceb7a2b2553a288d8f509a34ee51f6b01f910160405180910390a150600190565b6000611060610955565b600754600c54919250611080916001600160a01b039081169116836117ba565b600760009054906101000a90046001600160a01b03166001600160a01b031663d0e30db06040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156110d057600080fd5b505af11580156110e4573d6000803e3d6000fd5b5050505050565b600c546040516370a0823160e01b815233600482015261069e916001600160a01b0316906370a0823190602401602060405180830381865afa158015611135573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104519190611ecb565b6005546001600160a01b031633146111835760405162461bcd60e51b815260040161052690611e04565b600c546001600160a01b03828116911614156111ca5760405162461bcd60e51b815260206004820152600660248201526510ba37b5b2b760d11b6044820152606401610526565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015611211573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112359190611ecb565b905061124b6001600160a01b03831633836117ba565b5050565b6005546001600160a01b031633146112795760405162461bcd60e51b815260040161052690611e04565b6001600160a01b0381166112de5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610526565b6112e781611898565b50565b6001600160a01b03831661134c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610526565b6001600160a01b0382166113ad5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610526565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461149b578181101561148e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610526565b61149b84848484036112ea565b50505050565b6001600160a01b0383166115055760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610526565b6001600160a01b0382166115675760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610526565b6001600160a01b038316600090815260208190526040902054818110156115df5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610526565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611616908490611efb565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161166291815260200190565b60405180910390a361149b565b6001600160a01b0382166116cf5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610526565b6001600160a01b038216600090815260208190526040902054818110156117435760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610526565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611772908490611ee4565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611402565b505050565b6040516001600160a01b0383166024820152604481018290526117b590849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611a6e565b326000908152600f6020526040812054816118388483611efb565b326000818152600f60209081526040918290208490558151928352820187905281018290529091507f9141e77ca2893646d48087b1b095075541605e9b87ca091e2057b651b1e62af2906060015b60405180910390a15060019392505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040516001600160a01b038085166024830152831660448201526064810182905261149b9085906323b872dd60e01b906084016117e6565b6001600160a01b0382166119785760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610526565b806002600082825461198a9190611efb565b90915550506001600160a01b038216600090815260208190526040812080548392906119b7908490611efb565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b326000908152600e602052604081205481611a1c8483611efb565b326000818152600e60209081526040918290208490558151928352820187905281018290529091507f06a0895c1a837cd12ac50bcba0b79f680b66b790598e25e296d9e998e1b7520990606001611886565b6000611ac3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611b409092919063ffffffff16565b8051909150156117b55780806020019051810190611ae19190611f13565b6117b55760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610526565b6060611b4f8484600085611b57565b949350505050565b606082471015611bb85760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610526565b6001600160a01b0385163b611c0f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610526565b600080866001600160a01b03168587604051611c2b9190611f35565b60006040518083038185875af1925050503d8060008114611c68576040519150601f19603f3d011682016040523d82523d6000602084013e611c6d565b606091505b5091509150611c7d828286611c88565b979650505050505050565b60608315611c97575081610662565b825115611ca75782518084602001fd5b8160405162461bcd60e51b81526004016105269190611d06565b600060208284031215611cd357600080fd5b5035919050565b60005b83811015611cf5578181015183820152602001611cdd565b8381111561149b5750506000910152565b6020815260008251806020840152611d25816040850160208701611cda565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114610f9157600080fd5b60008060408385031215611d6357600080fd5b611d6c83611d39565b946020939093013593505050565b600080600060608486031215611d8f57600080fd5b611d9884611d39565b9250611da660208501611d39565b9150604084013590509250925092565b600060208284031215611dc857600080fd5b61066282611d39565b60008060408385031215611de457600080fd5b611ded83611d39565b9150611dfb60208401611d39565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680611e4d57607f821691505b60208210811415611e6e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611ea457611ea4611e74565b500290565b600082611ec657634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611edd57600080fd5b5051919050565b600082821015611ef657611ef6611e74565b500390565b60008219821115611f0e57611f0e611e74565b500190565b600060208284031215611f2557600080fd5b8151801515811461066257600080fd5b60008251611f47818460208701611cda565b919091019291505056fea2646970667358221220243d758db2e680ab22b8ee3506cd7fe6d5e139cdcd19834a7f96dc2349fde11764736f6c634300080b003300000000000000000000000045f4682b560d4e3b8ff1f1b3a38fdbe775c7177b00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000013544f4d422d4d414920546f6d6220437279707400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b72662d544f4d422d4d4149000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102315760003560e01c8063853828b611610130578063b6b55f25116100b8578063de5f62681161007c578063de5f6268146104b2578063def68a9c146104ba578063f06c5610146104cd578063f2fde38b146104d6578063fc0c546a146104e957600080fd5b8063b6b55f2514610443578063c4d66de814610456578063d17d350314610469578063d389800f14610471578063dd62ed3e1461047957600080fd5b8063a6c8220e116100ff578063a6c8220e146103d5578063a8c62e76146103f5578063a9059cbb14610408578063b3ca31881461041b578063b69ef8a81461043b57600080fd5b8063853828b61461038d5780638da5cb5b1461039557806395d89b41146103ba578063a457c2d7146103c257600080fd5b8063313ce567116101be578063574445fb11610182578063574445fb1461032857806367a527931461034b57806370a0823114610354578063715018a61461037d57806377c7b8fc1461038557600080fd5b8063313ce567146102ec57806339509351146102fb5780633f23fa1a1461030e5780634870dd9a1461031757806348a0d7541461032057600080fd5b8063158ef93e11610205578063158ef93e1461029f57806318160ddd146102ac57806323b872dd146102be57806329b9d694146102d15780632e1a7d4d146102d957600080fd5b8062272d8114610236578063017def571461024b57806306fdde031461025e578063095ea7b31461027c575b600080fd5b610249610244366004611cc1565b6104fc565b005b610249610259366004611cc1565b61056a565b610266610599565b6040516102739190611d06565b60405180910390f35b61028f61028a366004611d50565b61062b565b6040519015158152602001610273565b600a5461028f9060ff1681565b6002545b604051908152602001610273565b61028f6102cc366004611d7a565b610643565b610249610669565b6102496102e7366004611cc1565b6106a0565b60405160128152602001610273565b61028f610309366004611d50565b610916565b6102b060095481565b6102b061271081565b6102b0610955565b61028f610336366004611db6565b600d6020526000908152604090205460ff1681565b6102b060085481565b6102b0610362366004611db6565b6001600160a01b031660009081526020819052604090205490565b6102496109c7565b6102b06109fb565b610249610a3f565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610273565b610266610a58565b61028f6103d0366004611d50565b610a67565b6102b06103e3366004611db6565b600f6020526000908152604090205481565b6007546103a2906001600160a01b031681565b61028f610416366004611d50565b610b04565b6102b0610429366004611db6565b600e6020526000908152604090205481565b6102b0610b12565b610249610451366004611cc1565b610bf6565b61028f610464366004611db6565b610e7a565b61028f610f96565b610249611056565b6102b0610487366004611dd1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102496110eb565b6102496104c8366004611db6565b611159565b6102b0600b5481565b6102496104e4366004611db6565b61124f565b600c546103a2906001600160a01b031681565b6005546001600160a01b0316331461052f5760405162461bcd60e51b815260040161052690611e04565b60405180910390fd5b60098190556040518181527f2923cecec41b7140eaf657a035af4abb23ed61d16b1fc20a986838eb3ad99bd09060200160405180910390a150565b6005546001600160a01b031633146105945760405162461bcd60e51b815260040161052690611e04565b600855565b6060600380546105a890611e39565b80601f01602080910402602001604051908101604052809291908181526020018280546105d490611e39565b80156106215780601f106105f657610100808354040283529160200191610621565b820191906000526020600020905b81548152906001019060200180831161060457829003601f168201915b5050505050905090565b6000336106398185856112ea565b5060019392505050565b60003361065185828561140f565b61065c8585856114a1565b60019150505b9392505050565b6005546001600160a01b031633146106935760405162461bcd60e51b815260040161052690611e04565b61069e6000196104fc565b565b600260065414156106f35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610526565b60026006558061073d5760405162461bcd60e51b81526020600482015260156024820152741c1b19585cd9481c1c9bdd9a591948185b5bdd5b9d605a1b6044820152606401610526565b600061074860025490565b82610751610b12565b61075b9190611e8a565b6107659190611ea9565b9050610771338361166f565b600c546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156107ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107de9190611ecb565b9050818110156108eb5760006107f48284611ee4565b600754604051632e1a7d4d60e01b8152600481018390529192506001600160a01b031690632e1a7d4d90602401600060405180830381600087803b15801561083b57600080fd5b505af115801561084f573d6000803e3d6000fd5b5050600c546040516370a0823160e01b8152306004820152600093506001600160a01b0390911691506370a0823190602401602060405180830381865afa15801561089e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c29190611ecb565b905060006108d08483611ee4565b9050828110156108e7576108e48185611efb565b94505b5050505b600c54610902906001600160a01b031633846117ba565b61090b8261181d565b505060016006555050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906106399082908690610950908790611efb565b6112ea565b600c546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa15801561099e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c29190611ecb565b905090565b6005546001600160a01b031633146109f15760405162461bcd60e51b815260040161052690611e04565b61069e6000611898565b6000610a0660025490565b15610a3257600254610a16610b12565b610a2890670de0b6b3a7640000611e8a565b6109c29190611ea9565b50670de0b6b3a764000090565b3360009081526020819052604090205461069e906106a0565b6060600480546105a890611e39565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610aec5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610526565b610af982868684036112ea565b506001949350505050565b6000336106398185856114a1565b6007546040805163722713f760e01b815290516000926001600160a01b03169163722713f79160048083019260209291908290030181865afa158015610b5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b809190611ecb565b600c546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015610bc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bec9190611ecb565b6109c29190611efb565b60026006541415610c495760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610526565b600260065580610c935760405162461bcd60e51b81526020600482015260156024820152741c1b19585cd9481c1c9bdd9a591948185b5bdd5b9d605a1b6044820152606401610526565b6000610c9d610b12565b600954909150610cad8383611efb565b1115610cec5760405162461bcd60e51b815260206004820152600e60248201526d7661756c742069732066756c6c2160901b6044820152606401610526565b600c546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610d35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d599190611ecb565b600c54909150610d74906001600160a01b03163330866118ea565b600c546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610dbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de19190611ecb565b9050610ded8282611ee4565b93506000612710600854612710610e049190611ee4565b610e0e9087611e8a565b610e189190611ea9565b90506000610e2560025490565b610e30575080610e51565b84610e3a60025490565b610e449084611e8a565b610e4e9190611ea9565b90505b610e5b3382611922565b610e63611056565b610e6c86611a01565b505060016006555050505050565b6005546000906001600160a01b03163314610ea75760405162461bcd60e51b815260040161052690611e04565b600a5460ff1615610efa5760405162461bcd60e51b815260206004820181905260248201527f436f6e747261637420697320616c726561647920696e697469616c697a65642e6044820152606401610526565b600b54610f09906104b0611efb565b421115610f645760405162461bcd60e51b8152602060048201526024808201527f696e697469616c697a6174696f6e20706572696f64206f7665722c20746f6f206044820152636261642160e01b6064820152608401610526565b50600780546001600160a01b0319166001600160a01b038316179055600a805460ff191660019081179091555b919050565b336000908152600d602052604081205460ff16156110025760405162461bcd60e51b815260206004820152602360248201527f796f75206861766520616c726561647920616363657074656420746865207465604482015262726d7360e81b6064820152608401610526565b336000818152600d6020908152604091829020805460ff1916600117905590519182527fac268f7e07e832bf2aedd9f3ffd031ceb7a2b2553a288d8f509a34ee51f6b01f910160405180910390a150600190565b6000611060610955565b600754600c54919250611080916001600160a01b039081169116836117ba565b600760009054906101000a90046001600160a01b03166001600160a01b031663d0e30db06040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156110d057600080fd5b505af11580156110e4573d6000803e3d6000fd5b5050505050565b600c546040516370a0823160e01b815233600482015261069e916001600160a01b0316906370a0823190602401602060405180830381865afa158015611135573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104519190611ecb565b6005546001600160a01b031633146111835760405162461bcd60e51b815260040161052690611e04565b600c546001600160a01b03828116911614156111ca5760405162461bcd60e51b815260206004820152600660248201526510ba37b5b2b760d11b6044820152606401610526565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015611211573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112359190611ecb565b905061124b6001600160a01b03831633836117ba565b5050565b6005546001600160a01b031633146112795760405162461bcd60e51b815260040161052690611e04565b6001600160a01b0381166112de5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610526565b6112e781611898565b50565b6001600160a01b03831661134c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610526565b6001600160a01b0382166113ad5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610526565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461149b578181101561148e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610526565b61149b84848484036112ea565b50505050565b6001600160a01b0383166115055760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610526565b6001600160a01b0382166115675760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610526565b6001600160a01b038316600090815260208190526040902054818110156115df5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610526565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611616908490611efb565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161166291815260200190565b60405180910390a361149b565b6001600160a01b0382166116cf5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610526565b6001600160a01b038216600090815260208190526040902054818110156117435760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610526565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611772908490611ee4565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611402565b505050565b6040516001600160a01b0383166024820152604481018290526117b590849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611a6e565b326000908152600f6020526040812054816118388483611efb565b326000818152600f60209081526040918290208490558151928352820187905281018290529091507f9141e77ca2893646d48087b1b095075541605e9b87ca091e2057b651b1e62af2906060015b60405180910390a15060019392505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040516001600160a01b038085166024830152831660448201526064810182905261149b9085906323b872dd60e01b906084016117e6565b6001600160a01b0382166119785760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610526565b806002600082825461198a9190611efb565b90915550506001600160a01b038216600090815260208190526040812080548392906119b7908490611efb565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b326000908152600e602052604081205481611a1c8483611efb565b326000818152600e60209081526040918290208490558151928352820187905281018290529091507f06a0895c1a837cd12ac50bcba0b79f680b66b790598e25e296d9e998e1b7520990606001611886565b6000611ac3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611b409092919063ffffffff16565b8051909150156117b55780806020019051810190611ae19190611f13565b6117b55760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610526565b6060611b4f8484600085611b57565b949350505050565b606082471015611bb85760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610526565b6001600160a01b0385163b611c0f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610526565b600080866001600160a01b03168587604051611c2b9190611f35565b60006040518083038185875af1925050503d8060008114611c68576040519150601f19603f3d011682016040523d82523d6000602084013e611c6d565b606091505b5091509150611c7d828286611c88565b979650505050505050565b60608315611c97575081610662565b825115611ca75782518084602001fd5b8160405162461bcd60e51b81526004016105269190611d06565b600060208284031215611cd357600080fd5b5035919050565b60005b83811015611cf5578181015183820152602001611cdd565b8381111561149b5750506000910152565b6020815260008251806020840152611d25816040850160208701611cda565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114610f9157600080fd5b60008060408385031215611d6357600080fd5b611d6c83611d39565b946020939093013593505050565b600080600060608486031215611d8f57600080fd5b611d9884611d39565b9250611da660208501611d39565b9150604084013590509250925092565b600060208284031215611dc857600080fd5b61066282611d39565b60008060408385031215611de457600080fd5b611ded83611d39565b9150611dfb60208401611d39565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680611e4d57607f821691505b60208210811415611e6e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611ea457611ea4611e74565b500290565b600082611ec657634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611edd57600080fd5b5051919050565b600082821015611ef657611ef6611e74565b500390565b60008219821115611f0e57611f0e611e74565b500190565b600060208284031215611f2557600080fd5b8151801515811461066257600080fd5b60008251611f47818460208701611cda565b919091019291505056fea2646970667358221220243d758db2e680ab22b8ee3506cd7fe6d5e139cdcd19834a7f96dc2349fde11764736f6c634300080b0033
Deployed Bytecode Sourcemap
584:9842:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8931:131;;;;;;:::i;:::-;;:::i;:::-;;8752:89;;;;;;:::i;:::-;;:::i;2156:98:4:-;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4433:197;;;;;;:::i;:::-;;:::i;:::-;;;1452:14:10;;1445:22;1427:41;;1415:2;1400:18;4433:197:4;1287:187:10;1048:31:0;;;;;;;;;3244:106:4;3331:12;;3244:106;;;1625:25:10;;;1613:2;1598:18;3244:106:4;1479:177:10;5192:286:4;;;;;;:::i;:::-;;:::i;9130:91:0:-;;;:::i;8099:647::-;;;;;;:::i;:::-;;:::i;3093:91:4:-;;;3175:2;2136:36:10;;2124:2;2109:18;3093:91:4;1994:184:10;5873:236:4;;;;;;:::i;:::-;;:::i;838:21:0:-;;;;;;785:47;;827:5;785:47;;5486:105;;;:::i;2372:55::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;754:25;;;;;;3408:125:4;;;;;;:::i;:::-;-1:-1:-1;;;;;3508:18:4;3482:7;3508:18;;;;;;;;;;;;3408:125;1668:101:2;;;:::i;5807:148:0:-;;;:::i;7788:80::-;;;:::i;1036:85:2:-;1108:6;;-1:-1:-1;;;;;1108:6:2;1036:85;;;-1:-1:-1;;;;;2538:32:10;;;2520:51;;2508:2;2493:18;1036:85:2;2374:203:10;2367:102:4;;;:::i;6596:429::-;;;;;;:::i;:::-;;:::i;2658:56:0:-;;;;;;:::i;:::-;;;;;;;;;;;;;;724:23;;;;;-1:-1:-1;;;;;724:23:0;;;3729:189:4;;;;;;:::i;:::-;;:::i;2599:53:0:-;;;;;;:::i;:::-;;;;;;;;;;;;;;5066:137;;;:::i;6558:820::-;;;;;;:::i;:::-;;:::i;4060:327::-;;;;;;:::i;:::-;;:::i;4537:260::-;;;:::i;7539:149::-;;;:::i;3976::4:-;;;;;;:::i;:::-;-1:-1:-1;;;;;4091:18:4;;;4065:7;4091:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3976:149;6054:84:0;;;:::i;10175:249::-;;;;;;:::i;:::-;;:::i;1085:31::-;;;;;;1918:198:2;;;;;;:::i;:::-;;:::i;1181:19:0:-;;;;;-1:-1:-1;;;;;1181:19:0;;;8931:131;1108:6:2;;-1:-1:-1;;;;;1108:6:2;719:10:9;1248:23:2;1240:68;;;;-1:-1:-1;;;1240:68:2;;;;;;;:::i;:::-;;;;;;;;;9000:6:0::1;:19:::0;;;9034:21:::1;::::0;1625:25:10;;;9034:21:0::1;::::0;1613:2:10;1598:18;9034:21:0::1;;;;;;;8931:131:::0;:::o;8752:89::-;1108:6:2;;-1:-1:-1;;;;;1108:6:2;719:10:9;1248:23:2;1240:68;;;;-1:-1:-1;;;1240:68:2;;;;;;;:::i;:::-;8818:10:0::1;:16:::0;8752:89::o;2156:98:4:-;2210:13;2242:5;2235:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2156:98;:::o;4433:197::-;4516:4;719:10:9;4570:32:4;719:10:9;4586:7:4;4595:6;4570:8;:32::i;:::-;-1:-1:-1;4619:4:4;;4433:197;-1:-1:-1;;;4433:197:4:o;5192:286::-;5319:4;719:10:9;5375:38:4;5391:4;719:10:9;5406:6:4;5375:15;:38::i;:::-;5423:27;5433:4;5439:2;5443:6;5423:9;:27::i;:::-;5467:4;5460:11;;;5192:286;;;;;;:::o;9130:91:0:-;1108:6:2;;-1:-1:-1;;;;;1108:6:2;719:10:9;1248:23:2;1240:68;;;;-1:-1:-1;;;1240:68:2;;;;;;;:::i;:::-;9183:31:0::1;-1:-1:-1::0;;9183:12:0::1;:31::i;:::-;9130:91::o:0;8099:647::-;1744:1:3;2325:7;;:19;;2317:63;;;;-1:-1:-1;;;2317:63:3;;4018:2:10;2317:63:3;;;4000:21:10;4057:2;4037:18;;;4030:30;4096:33;4076:18;;;4069:61;4147:18;;2317:63:3;3816:355:10;2317:63:3;1744:1;2455:7;:18;8172:11:0;8164:45:::1;;;::::0;-1:-1:-1;;;8164:45:0;;4378:2:10;8164:45:0::1;::::0;::::1;4360:21:10::0;4417:2;4397:18;;;4390:30;-1:-1:-1;;;4436:18:10;;;4429:51;4497:18;;8164:45:0::1;4176:345:10::0;8164:45:0::1;8219:9;8255:13;3331:12:4::0;;;3244:106;8255:13:0::1;8244:7;8232:9;:7;:9::i;:::-;:19;;;;:::i;:::-;8231:37;;;;:::i;:::-;8219:49;;8278:26;8284:10;8296:7;8278:5;:26::i;:::-;8327:5;::::0;:30:::1;::::0;-1:-1:-1;;;8327:30:0;;8351:4:::1;8327:30;::::0;::::1;2520:51:10::0;8315:9:0::1;::::0;-1:-1:-1;;;;;8327:5:0::1;::::0;:15:::1;::::0;2493:18:10;;8327:30:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8315:42;;8375:1;8371;:5;8367:297;;;8392:17;8412:5;8416:1:::0;8412;:5:::1;:::i;:::-;8441:8;::::0;8431:39:::1;::::0;-1:-1:-1;;;8431:39:0;;::::1;::::0;::::1;1625:25:10::0;;;8392::0;;-1:-1:-1;;;;;;8441:8:0::1;::::0;8431:28:::1;::::0;1598:18:10;;8431:39:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;8501:5:0::1;::::0;:30:::1;::::0;-1:-1:-1;;;8501:30:0;;8525:4:::1;8501:30;::::0;::::1;2520:51:10::0;8484:14:0::1;::::0;-1:-1:-1;;;;;;8501:5:0;;::::1;::::0;-1:-1:-1;8501:15:0::1;::::0;2493:18:10;;8501:30:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8484:47:::0;-1:-1:-1;8545:13:0::1;8561:10;8570:1:::0;8484:47;8561:10:::1;:::i;:::-;8545:26;;8597:9;8589:5;:17;8585:69;;;8630:9;8634:5:::0;8630:1;:9:::1;:::i;:::-;8626:13;;8585:69;8378:286;;;8367:297;8673:5;::::0;:33:::1;::::0;-1:-1:-1;;;;;8673:5:0::1;8692:10;8704:1:::0;8673:18:::1;:33::i;:::-;8716:23;8737:1;8716:20;:23::i;:::-;-1:-1:-1::0;;1701:1:3;2628:7;:22;-1:-1:-1;;8099:647:0:o;5873:236:4:-;719:10:9;5961:4:4;6040:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;6040:27:4;;;;;;;;;;5961:4;;719:10:9;6015:66:4;;719:10:9;;6040:27:4;;:40;;6070:10;;6040:40;:::i;:::-;6015:8;:66::i;5486:105:0:-;5554:5;;:30;;-1:-1:-1;;;5554:30:0;;5578:4;5554:30;;;2520:51:10;5528:7:0;;-1:-1:-1;;;;;5554:5:0;;:15;;2493:18:10;;5554:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5547:37;;5486:105;:::o;1668:101:2:-;1108:6;;-1:-1:-1;;;;;1108:6:2;719:10:9;1248:23:2;1240:68;;;;-1:-1:-1;;;1240:68:2;;;;;;;:::i;:::-;1732:30:::1;1759:1;1732:18;:30::i;5807:148:0:-:0;5860:7;5886:13;3331:12:4;;;3244:106;5886:13:0;:18;:62;;3331:12:4;;5915:9:0;:7;:9::i;:::-;:16;;5927:4;5915:16;:::i;:::-;5914:34;;;;:::i;5886:62::-;-1:-1:-1;5907:4:0;;5807:148::o;7788:80::-;7849:10;3482:7:4;3508:18;;;;;;;;;;;7830:31:0;;8099:647;:::i;2367:102:4:-;2423:13;2455:7;2448:14;;;;;:::i;6596:429::-;719:10:9;6689:4:4;6770:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;6770:27:4;;;;;;;;;;6689:4;;719:10:9;6815:35:4;;;;6807:85;;;;-1:-1:-1;;;6807:85:4;;5707:2:10;6807:85:4;;;5689:21:10;5746:2;5726:18;;;5719:30;5785:34;5765:18;;;5758:62;-1:-1:-1;;;5836:18:10;;;5829:35;5881:19;;6807:85:4;5505:401:10;6807:85:4;6926:60;6935:5;6942:7;6970:15;6951:16;:34;6926:8;:60::i;:::-;-1:-1:-1;7014:4:4;;6596:429;-1:-1:-1;;;;6596:429:4:o;3729:189::-;3808:4;719:10:9;3862:28:4;719:10:9;3879:2:4;3883:6;3862:9;:28::i;5066:137:0:-;5175:8;;5165:31;;;-1:-1:-1;;;5165:31:0;;;;5106:7;;-1:-1:-1;;;;;5175:8:0;;5165:29;;:31;;;;;;;;;;;;;;5175:8;5165:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5132:5;;:30;;-1:-1:-1;;;5132:30:0;;5156:4;5132:30;;;2520:51:10;-1:-1:-1;;;;;5132:5:0;;;;:15;;2493:18:10;;5132:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:64;;;;:::i;6558:820::-;1744:1:3;2325:7;;:19;;2317:63;;;;-1:-1:-1;;;2317:63:3;;4018:2:10;2317:63:3;;;4000:21:10;4057:2;4037:18;;;4030:30;4096:33;4076:18;;;4069:61;4147:18;;2317:63:3;3816:355:10;2317:63:3;1744:1;2455:7;:18;6630:12:0;6622:46:::1;;;::::0;-1:-1:-1;;;6622:46:0;;4378:2:10;6622:46:0::1;::::0;::::1;4360:21:10::0;4417:2;4397:18;;;4390:30;-1:-1:-1;;;4436:18:10;;;4429:51;4497:18;;6622:46:0::1;4176:345:10::0;6622:46:0::1;6678:13;6694:9;:7;:9::i;:::-;6740:6;::::0;6678:25;;-1:-1:-1;6721:15:0::1;6729:7:::0;6678:25;6721:15:::1;:::i;:::-;:25;;6713:52;;;::::0;-1:-1:-1;;;6713:52:0;;6113:2:10;6713:52:0::1;::::0;::::1;6095:21:10::0;6152:2;6132:18;;;6125:30;-1:-1:-1;;;6171:18:10;;;6164:44;6225:18;;6713:52:0::1;5911:338:10::0;6713:52:0::1;6794:5;::::0;:30:::1;::::0;-1:-1:-1;;;6794:30:0;;6818:4:::1;6794:30;::::0;::::1;2520:51:10::0;6776:15:0::1;::::0;-1:-1:-1;;;;;6794:5:0::1;::::0;:15:::1;::::0;2493:18:10;;6794:30:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6834:5;::::0;6776:48;;-1:-1:-1;6834:58:0::1;::::0;-1:-1:-1;;;;;6834:5:0::1;6857:10;6877:4;6884:7:::0;6834:22:::1;:58::i;:::-;6919:5;::::0;:30:::1;::::0;-1:-1:-1;;;6919:30:0;;6943:4:::1;6919:30;::::0;::::1;2520:51:10::0;6902:14:0::1;::::0;-1:-1:-1;;;;;6919:5:0::1;::::0;:15:::1;::::0;2493:18:10;;6919:30:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6902:47:::0;-1:-1:-1;6969:16:0::1;6978:7:::0;6902:47;6969:16:::1;:::i;:::-;6959:26;;6995:27;827:5;7055:10;;827:5;7037:28;;;;:::i;:::-;7026:40;::::0;:7;:40:::1;:::i;:::-;7025:60;;;;:::i;:::-;6995:90;;7095:14;7127:13;3331:12:4::0;;;3244:106;7127:13:0::1;7123:162;;-1:-1:-1::0;7170:19:0;7123:162:::1;;;7269:5;7252:13;3331:12:4::0;;;3244:106;7252:13:0::1;7230:35;::::0;:19;:35:::1;:::i;:::-;7229:45;;;;:::i;:::-;7220:54;;7123:162;7294:25;7300:10;7312:6;7294:5;:25::i;:::-;7329:6;:4;:6::i;:::-;7345:26;7363:7;7345:17;:26::i;:::-;-1:-1:-1::0;;1701:1:3;2628:7;:22;-1:-1:-1;;;;;6558:820:0:o;4060:327::-;1108:6:2;;4125:4:0;;-1:-1:-1;;;;;1108:6:2;719:10:9;1248:23:2;1240:68;;;;-1:-1:-1;;;1240:68:2;;;;;;;:::i;:::-;4150:11:0::1;::::0;::::1;;4149:12;4141:57;;;::::0;-1:-1:-1;;;4141:57:0;;6456:2:10;4141:57:0::1;::::0;::::1;6438:21:10::0;;;6475:18;;;6468:30;6534:34;6514:18;;;6507:62;6586:18;;4141:57:0::1;6254:356:10::0;4141:57:0::1;4236:16;::::0;:23:::1;::::0;4255:4:::1;4236:23;:::i;:::-;4216:15;:44;;4208:93;;;::::0;-1:-1:-1;;;4208:93:0;;6817:2:10;4208:93:0::1;::::0;::::1;6799:21:10::0;6856:2;6836:18;;;6829:30;6895:34;6875:18;;;6868:62;-1:-1:-1;;;6946:18:10;;;6939:34;6990:19;;4208:93:0::1;6615:400:10::0;4208:93:0::1;-1:-1:-1::0;4311:8:0::1;:20:::0;;-1:-1:-1;;;;;;4311:20:0::1;-1:-1:-1::0;;;;;4311:20:0;::::1;;::::0;;4341:11:::1;:18:::0;;-1:-1:-1;;4341:18:0::1;-1:-1:-1::0;4341:18:0;;::::1;::::0;;;1318:1:2::1;4060:327:0::0;;;:::o;4537:260::-;4626:10;4577:4;4602:35;;;:23;:35;;;;;;;;4601:36;4593:84;;;;-1:-1:-1;;;4593:84:0;;7222:2:10;4593:84:0;;;7204:21:10;7261:2;7241:18;;;7234:30;7300:34;7280:18;;;7273:62;-1:-1:-1;;;7351:18:10;;;7344:33;7394:19;;4593:84:0;7020:399:10;4593:84:0;4711:10;4687:35;;;;:23;:35;;;;;;;;;:42;;-1:-1:-1;;4687:42:0;4725:4;4687:42;;;4744:25;;2520:51:10;;;4744:25:0;;2493:18:10;4744:25:0;;;;;;;-1:-1:-1;4786:4:0;;4537:260::o;7539:149::-;7572:12;7587:11;:9;:11::i;:::-;7627:8;;7608:5;;7572:26;;-1:-1:-1;7608:34:0;;-1:-1:-1;;;;;7608:5:0;;;;7627:8;7572:26;7608:18;:34::i;:::-;7662:8;;;;;;;;;-1:-1:-1;;;;;7662:8:0;-1:-1:-1;;;;;7652:27:0;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7562:126;7539:149::o;6054:84::-;6103:5;;:27;;-1:-1:-1;;;6103:27:0;;6119:10;6103:27;;;2520:51:10;6095:36:0;;-1:-1:-1;;;;;6103:5:0;;:15;;2493:18:10;;6103:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;10175:249::-;1108:6:2;;-1:-1:-1;;;;;1108:6:2;719:10:9;1248:23:2;1240:68;;;;-1:-1:-1;;;1240:68:2;;;;;;;:::i;:::-;10276:5:0::1;::::0;-1:-1:-1;;;;;10258:24:0;;::::1;10276:5:::0;::::1;10258:24;;10250:43;;;::::0;-1:-1:-1;;;10250:43:0;;7626:2:10;10250:43:0::1;::::0;::::1;7608:21:10::0;7665:1;7645:18;;;7638:29;-1:-1:-1;;;7683:18:10;;;7676:36;7729:18;;10250:43:0::1;7424:329:10::0;10250:43:0::1;10321:39;::::0;-1:-1:-1;;;10321:39:0;;10354:4:::1;10321:39;::::0;::::1;2520:51:10::0;10304:14:0::1;::::0;-1:-1:-1;;;;;10321:24:0;::::1;::::0;::::1;::::0;2493:18:10;;10321:39:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10304:56:::0;-1:-1:-1;10370:47:0::1;-1:-1:-1::0;;;;;10370:27:0;::::1;10398:10;10304:56:::0;10370:27:::1;:47::i;:::-;10240:184;10175:249:::0;:::o;1918:198:2:-;1108:6;;-1:-1:-1;;;;;1108:6:2;719:10:9;1248:23:2;1240:68;;;;-1:-1:-1;;;1240:68:2;;;;;;;:::i;:::-;-1:-1:-1;;;;;2006:22:2;::::1;1998:73;;;::::0;-1:-1:-1;;;1998:73:2;;7960:2:10;1998:73:2::1;::::0;::::1;7942:21:10::0;7999:2;7979:18;;;7972:30;8038:34;8018:18;;;8011:62;-1:-1:-1;;;8089:18:10;;;8082:36;8135:19;;1998:73:2::1;7758:402:10::0;1998:73:2::1;2081:28;2100:8;2081:18;:28::i;:::-;1918:198:::0;:::o;10123:370:4:-;-1:-1:-1;;;;;10254:19:4;;10246:68;;;;-1:-1:-1;;;10246:68:4;;8367:2:10;10246:68:4;;;8349:21:10;8406:2;8386:18;;;8379:30;8445:34;8425:18;;;8418:62;-1:-1:-1;;;8496:18:10;;;8489:34;8540:19;;10246:68:4;8165:400:10;10246:68:4;-1:-1:-1;;;;;10332:21:4;;10324:68;;;;-1:-1:-1;;;10324:68:4;;8772:2:10;10324:68:4;;;8754:21:10;8811:2;8791:18;;;8784:30;8850:34;8830:18;;;8823:62;-1:-1:-1;;;8901:18:10;;;8894:32;8943:19;;10324:68:4;8570:398:10;10324:68:4;-1:-1:-1;;;;;10403:18:4;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;10454:32;;1625:25:10;;;10454:32:4;;1598:18:10;10454:32:4;;;;;;;;10123:370;;;:::o;10770:441::-;-1:-1:-1;;;;;4091:18:4;;;10900:24;4091:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;10966:37:4;;10962:243;;11047:6;11027:16;:26;;11019:68;;;;-1:-1:-1;;;11019:68:4;;9175:2:10;11019:68:4;;;9157:21:10;9214:2;9194:18;;;9187:30;9253:31;9233:18;;;9226:59;9302:18;;11019:68:4;8973:353:10;11019:68:4;11129:51;11138:5;11145:7;11173:6;11154:16;:25;11129:8;:51::i;:::-;10890:321;10770:441;;;:::o;7488:651::-;-1:-1:-1;;;;;7614:18:4;;7606:68;;;;-1:-1:-1;;;7606:68:4;;9533:2:10;7606:68:4;;;9515:21:10;9572:2;9552:18;;;9545:30;9611:34;9591:18;;;9584:62;-1:-1:-1;;;9662:18:10;;;9655:35;9707:19;;7606:68:4;9331:401:10;7606:68:4;-1:-1:-1;;;;;7692:16:4;;7684:64;;;;-1:-1:-1;;;7684:64:4;;9939:2:10;7684:64:4;;;9921:21:10;9978:2;9958:18;;;9951:30;10017:34;9997:18;;;9990:62;-1:-1:-1;;;10068:18:10;;;10061:33;10111:19;;7684:64:4;9737:399:10;7684:64:4;-1:-1:-1;;;;;7830:15:4;;7808:19;7830:15;;;;;;;;;;;7863:21;;;;7855:72;;;;-1:-1:-1;;;7855:72:4;;10343:2:10;7855:72:4;;;10325:21:10;10382:2;10362:18;;;10355:30;10421:34;10401:18;;;10394:62;-1:-1:-1;;;10472:18:10;;;10465:36;10518:19;;7855:72:4;10141:402:10;7855:72:4;-1:-1:-1;;;;;7961:15:4;;;:9;:15;;;;;;;;;;;7979:20;;;7961:38;;8019:13;;;;;;;;:23;;7993:6;;7961:9;8019:23;;7993:6;;8019:23;:::i;:::-;;;;;;;;8073:2;-1:-1:-1;;;;;8058:26:4;8067:4;-1:-1:-1;;;;;8058:26:4;;8077:6;8058:26;;;;1625:25:10;;1613:2;1598:18;;1479:177;8058:26:4;;;;;;;;8095:37;9124:576;;-1:-1:-1;;;;;9207:21:4;;9199:67;;;;-1:-1:-1;;;9199:67:4;;10750:2:10;9199:67:4;;;10732:21:10;10789:2;10769:18;;;10762:30;10828:34;10808:18;;;10801:62;-1:-1:-1;;;10879:18:10;;;10872:31;10920:19;;9199:67:4;10548:397:10;9199:67:4;-1:-1:-1;;;;;9362:18:4;;9337:22;9362:18;;;;;;;;;;;9398:24;;;;9390:71;;;;-1:-1:-1;;;9390:71:4;;11152:2:10;9390:71:4;;;11134:21:10;11191:2;11171:18;;;11164:30;11230:34;11210:18;;;11203:62;-1:-1:-1;;;11281:18:10;;;11274:32;11323:19;;9390:71:4;10950:398:10;9390:71:4;-1:-1:-1;;;;;9495:18:4;;:9;:18;;;;;;;;;;9516:23;;;9495:44;;9559:12;:22;;9533:6;;9495:9;9559:22;;9533:6;;9559:22;:::i;:::-;;;;-1:-1:-1;;9597:37:4;;1625:25:10;;;9623:1:4;;-1:-1:-1;;;;;9597:37:4;;;;;1613:2:10;1598:18;9597:37:4;1479:177:10;9645:48:4;9189:511;9124:576;;:::o;701:205:7:-;840:58;;-1:-1:-1;;;;;11545:32:10;;840:58:7;;;11527:51:10;11594:18;;;11587:34;;;813:86:7;;833:5;;-1:-1:-1;;;863:23:7;11500:18:10;;840:58:7;;;;-1:-1:-1;;840:58:7;;;;;;;;;;;;;;-1:-1:-1;;;;;840:58:7;-1:-1:-1;;;;;;840:58:7;;;;;;;;;;813:19;:86::i;9707:325:0:-;9828:9;9772:4;9806:32;;;:21;:32;;;;;;9772:4;9867:17;9877:7;9806:32;9867:17;:::i;:::-;9916:9;9894:32;;;;:21;:32;;;;;;;;;:43;;;9952:52;;11834:51:10;;;11901:18;;11894:34;;;11944:18;;11937:34;;;9894:43:0;;-1:-1:-1;9952:52:0;;11822:2:10;11807:18;9952:52:0;;;;;;;;-1:-1:-1;10021:4:0;;9707:325;-1:-1:-1;;;9707:325:0:o;2270:187:2:-;2362:6;;;-1:-1:-1;;;;;2378:17:2;;;-1:-1:-1;;;;;;2378:17:2;;;;;;;2410:40;;2362:6;;;2378:17;2362:6;;2410:40;;2343:16;;2410:40;2333:124;2270:187;:::o;912:241:7:-;1077:68;;-1:-1:-1;;;;;12240:15:10;;;1077:68:7;;;12222:34:10;12292:15;;12272:18;;;12265:43;12324:18;;;12317:34;;;1050:96:7;;1070:5;;-1:-1:-1;;;1100:27:7;12157:18:10;;1077:68:7;11982:375:10;8415:389:4;-1:-1:-1;;;;;8498:21:4;;8490:65;;;;-1:-1:-1;;;8490:65:4;;12564:2:10;8490:65:4;;;12546:21:10;12603:2;12583:18;;;12576:30;12642:33;12622:18;;;12615:61;12693:18;;8490:65:4;12362:355:10;8490:65:4;8642:6;8626:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;8658:18:4;;:9;:18;;;;;;;;;;:28;;8680:6;;8658:9;:28;;8680:6;;8658:28;:::i;:::-;;;;-1:-1:-1;;8701:37:4;;1625:25:10;;;-1:-1:-1;;;;;8701:37:4;;;8718:1;;8701:37;;1613:2:10;1598:18;8701:37:4;;;;;;;10240:184:0::1;10175:249:::0;:::o;9388:313::-;9503:9;9450:4;9484:29;;;:18;:29;;;;;;9450:4;9542:17;9552:7;9484:29;9542:17;:::i;:::-;9588:9;9569:29;;;;:18;:29;;;;;;;;;:40;;;9624:49;;11834:51:10;;;11901:18;;11894:34;;;11944:18;;11937:34;;;9569:40:0;;-1:-1:-1;9624:49:0;;11822:2:10;11807:18;9624:49:0;11632:345:10;3207:706:7;3626:23;3652:69;3680:4;3652:69;;;;;;;;;;;;;;;;;3660:5;-1:-1:-1;;;;;3652:27:7;;;:69;;;;;:::i;:::-;3735:17;;3626:95;;-1:-1:-1;3735:21:7;3731:176;;3830:10;3819:30;;;;;;;;;;;;:::i;:::-;3811:85;;;;-1:-1:-1;;;3811:85:7;;13206:2:10;3811:85:7;;;13188:21:10;13245:2;13225:18;;;13218:30;13284:34;13264:18;;;13257:62;-1:-1:-1;;;13335:18:10;;;13328:40;13385:19;;3811:85:7;13004:406:10;3861:223:8;3994:12;4025:52;4047:6;4055:4;4061:1;4064:12;4025:21;:52::i;:::-;4018:59;3861:223;-1:-1:-1;;;;3861:223:8:o;4948:499::-;5113:12;5170:5;5145:21;:30;;5137:81;;;;-1:-1:-1;;;5137:81:8;;13617:2:10;5137:81:8;;;13599:21:10;13656:2;13636:18;;;13629:30;13695:34;13675:18;;;13668:62;-1:-1:-1;;;13746:18:10;;;13739:36;13792:19;;5137:81:8;13415:402:10;5137:81:8;-1:-1:-1;;;;;1465:19:8;;;5228:60;;;;-1:-1:-1;;;5228:60:8;;14024:2:10;5228:60:8;;;14006:21:10;14063:2;14043:18;;;14036:30;14102:31;14082:18;;;14075:59;14151:18;;5228:60:8;13822:353:10;5228:60:8;5300:12;5314:23;5341:6;-1:-1:-1;;;;;5341:11:8;5360:5;5367:4;5341:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5299:73;;;;5389:51;5406:7;5415:10;5427:12;5389:16;:51::i;:::-;5382:58;4948:499;-1:-1:-1;;;;;;;4948:499:8:o;7561:692::-;7707:12;7735:7;7731:516;;;-1:-1:-1;7765:10:8;7758:17;;7731:516;7876:17;;:21;7872:365;;8070:10;8064:17;8130:15;8117:10;8113:2;8109:19;8102:44;7872:365;8209:12;8202:20;;-1:-1:-1;;;8202:20:8;;;;;;;;:::i;14:180:10:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:10;;14:180;-1:-1:-1;14:180:10:o;199:258::-;271:1;281:113;295:6;292:1;289:13;281:113;;;371:11;;;365:18;352:11;;;345:39;317:2;310:10;281:113;;;412:6;409:1;406:13;403:48;;;-1:-1:-1;;447:1:10;429:16;;422:27;199:258::o;462:383::-;611:2;600:9;593:21;574:4;643:6;637:13;686:6;681:2;670:9;666:18;659:34;702:66;761:6;756:2;745:9;741:18;736:2;728:6;724:15;702:66;:::i;:::-;829:2;808:15;-1:-1:-1;;804:29:10;789:45;;;;836:2;785:54;;462:383;-1:-1:-1;;462:383:10:o;850:173::-;918:20;;-1:-1:-1;;;;;967:31:10;;957:42;;947:70;;1013:1;1010;1003:12;1028:254;1096:6;1104;1157:2;1145:9;1136:7;1132:23;1128:32;1125:52;;;1173:1;1170;1163:12;1125:52;1196:29;1215:9;1196:29;:::i;:::-;1186:39;1272:2;1257:18;;;;1244:32;;-1:-1:-1;;;1028:254:10:o;1661:328::-;1738:6;1746;1754;1807:2;1795:9;1786:7;1782:23;1778:32;1775:52;;;1823:1;1820;1813:12;1775:52;1846:29;1865:9;1846:29;:::i;:::-;1836:39;;1894:38;1928:2;1917:9;1913:18;1894:38;:::i;:::-;1884:48;;1979:2;1968:9;1964:18;1951:32;1941:42;;1661:328;;;;;:::o;2183:186::-;2242:6;2295:2;2283:9;2274:7;2270:23;2266:32;2263:52;;;2311:1;2308;2301:12;2263:52;2334:29;2353:9;2334:29;:::i;2582:260::-;2650:6;2658;2711:2;2699:9;2690:7;2686:23;2682:32;2679:52;;;2727:1;2724;2717:12;2679:52;2750:29;2769:9;2750:29;:::i;:::-;2740:39;;2798:38;2832:2;2821:9;2817:18;2798:38;:::i;:::-;2788:48;;2582:260;;;;;:::o;3070:356::-;3272:2;3254:21;;;3291:18;;;3284:30;3350:34;3345:2;3330:18;;3323:62;3417:2;3402:18;;3070:356::o;3431:380::-;3510:1;3506:12;;;;3553;;;3574:61;;3628:4;3620:6;3616:17;3606:27;;3574:61;3681:2;3673:6;3670:14;3650:18;3647:38;3644:161;;;3727:10;3722:3;3718:20;3715:1;3708:31;3762:4;3759:1;3752:15;3790:4;3787:1;3780:15;3644:161;;3431:380;;;:::o;4526:127::-;4587:10;4582:3;4578:20;4575:1;4568:31;4618:4;4615:1;4608:15;4642:4;4639:1;4632:15;4658:168;4698:7;4764:1;4760;4756:6;4752:14;4749:1;4746:21;4741:1;4734:9;4727:17;4723:45;4720:71;;;4771:18;;:::i;:::-;-1:-1:-1;4811:9:10;;4658:168::o;4831:217::-;4871:1;4897;4887:132;;4941:10;4936:3;4932:20;4929:1;4922:31;4976:4;4973:1;4966:15;5004:4;5001:1;4994:15;4887:132;-1:-1:-1;5033:9:10;;4831:217::o;5053:184::-;5123:6;5176:2;5164:9;5155:7;5151:23;5147:32;5144:52;;;5192:1;5189;5182:12;5144:52;-1:-1:-1;5215:16:10;;5053:184;-1:-1:-1;5053:184:10:o;5242:125::-;5282:4;5310:1;5307;5304:8;5301:34;;;5315:18;;:::i;:::-;-1:-1:-1;5352:9:10;;5242:125::o;5372:128::-;5412:3;5443:1;5439:6;5436:1;5433:13;5430:39;;;5449:18;;:::i;:::-;-1:-1:-1;5485:9:10;;5372:128::o;12722:277::-;12789:6;12842:2;12830:9;12821:7;12817:23;12813:32;12810:52;;;12858:1;12855;12848:12;12810:52;12890:9;12884:16;12943:5;12936:13;12929:21;12922:5;12919:32;12909:60;;12965:1;12962;12955:12;14180:274;14309:3;14347:6;14341:13;14363:53;14409:6;14404:3;14397:4;14389:6;14385:17;14363:53;:::i;:::-;14432:16;;;;;14180:274;-1:-1:-1;;14180:274:10:o
Swarm Source
ipfs://243d758db2e680ab22b8ee3506cd7fe6d5e139cdcd19834a7f96dc2349fde117
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.