ERC-20
Overview
Max Total Supply
8,012.491621740362916732 writeETH
Holders
48
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.00000000000000019 writeETHValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
HegicETHPool
Compiler Version
v0.6.6+commit.6c089d02
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-05-08 */ pragma solidity ^0.6.6; library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev 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"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } } library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } interface AggregatorInterface { function latestAnswer() external view returns (int256); function latestTimestamp() external view returns (uint256); function latestRound() external view returns (uint256); function getAnswer(uint256 roundId) external view returns (int256); function getTimestamp(uint256 roundId) external view returns (uint256); event AnswerUpdated(int256 indexed current, uint256 indexed roundId, uint256 timestamp); event NewRound(uint256 indexed roundId, address indexed startedBy, uint256 startedAt); } interface IUniswapFactory { function getExchange(IERC20 token) external view returns (UniswapExchangeInterface exchange); } interface UniswapExchangeInterface { // // Address of ERC20 token sold on this exchange // function tokenAddress() external view returns (address token); // // Address of Uniswap Factory // function factoryAddress() external view returns (address factory); // // Provide Liquidity // function addLiquidity(uint256 min_liquidity, uint256 max_tokens, uint256 deadline) external payable returns (uint256); // function removeLiquidity(uint256 amount, uint256 min_eth, uint256 min_tokens, uint256 deadline) external returns (uint256, uint256); // // Get Prices function getEthToTokenInputPrice(uint256 eth_sold) external view returns (uint256 tokens_bought); // function getEthToTokenOutputPrice(uint256 tokens_bought) external view returns (uint256 eth_sold); function getTokenToEthInputPrice(uint256 tokens_sold) external view returns (uint256 eth_bought); // function getTokenToEthOutputPrice(uint256 eth_bought) external view returns (uint256 tokens_sold); // // Trade ETH to ERC20 // function ethToTokenSwapInput(uint256 min_tokens, uint256 deadline) external payable returns (uint256 tokens_bought); function ethToTokenTransferInput(uint256 min_tokens, uint256 deadline, address recipient) external payable returns (uint256 tokens_bought); // function ethToTokenSwapOutput(uint256 tokens_bought, uint256 deadline) external payable returns (uint256 eth_sold); // function ethToTokenTransferOutput(uint256 tokens_bought, uint256 deadline, address recipient) external payable returns (uint256 eth_sold); // // Trade ERC20 to ETH // function tokenToEthSwapInput(uint256 tokens_sold, uint256 min_eth, uint256 deadline) external returns (uint256 eth_bought); function tokenToEthTransferInput(uint256 tokens_sold, uint256 min_eth, uint256 deadline, address recipient) external returns (uint256 eth_bought); // function tokenToEthSwapOutput(uint256 eth_bought, uint256 max_tokens, uint256 deadline) external returns (uint256 tokens_sold); // function tokenToEthTransferOutput(uint256 eth_bought, uint256 max_tokens, uint256 deadline, address recipient) external returns (uint256 tokens_sold); // // Trade ERC20 to ERC20 // function tokenToTokenSwapInput(uint256 tokens_sold, uint256 min_tokens_bought, uint256 min_eth_bought, uint256 deadline, address token_addr) external returns (uint256 tokens_bought); // function tokenToTokenTransferInput(uint256 tokens_sold, uint256 min_tokens_bought, uint256 min_eth_bought, uint256 deadline, address recipient, address token_addr) external returns (uint256 tokens_bought); // function tokenToTokenSwapOutput(uint256 tokens_bought, uint256 max_tokens_sold, uint256 max_eth_sold, uint256 deadline, address token_addr) external returns (uint256 tokens_sold); // function tokenToTokenTransferOutput(uint256 tokens_bought, uint256 max_tokens_sold, uint256 max_eth_sold, uint256 deadline, address recipient, address token_addr) external returns (uint256 tokens_sold); // // Trade ERC20 to Custom Pool // function tokenToExchangeSwapInput(uint256 tokens_sold, uint256 min_tokens_bought, uint256 min_eth_bought, uint256 deadline, address exchange_addr) external returns (uint256 tokens_bought); // function tokenToExchangeTransferInput(uint256 tokens_sold, uint256 min_tokens_bought, uint256 min_eth_bought, uint256 deadline, address recipient, address exchange_addr) external returns (uint256 tokens_bought); // function tokenToExchangeSwapOutput(uint256 tokens_bought, uint256 max_tokens_sold, uint256 max_eth_sold, uint256 deadline, address exchange_addr) external returns (uint256 tokens_sold); // function tokenToExchangeTransferOutput(uint256 tokens_bought, uint256 max_tokens_sold, uint256 max_eth_sold, uint256 deadline, address recipient, address exchange_addr) external returns (uint256 tokens_sold); // // ERC20 comaptibility for liquidity tokens // bytes32 public name; // bytes32 public symbol; // uint256 public decimals; // function transfer(address _to, uint256 _value) external returns (bool); // function transferFrom(address _from, address _to, uint256 value) external returns (bool); // function approve(address _spender, uint256 _value) external returns (bool); // function allowance(address _owner, address _spender) external view returns (uint256); // function balanceOf(address _owner) external view returns (uint256); // function totalSupply() external view returns (uint256); // // Never use // function setup(address token_addr) external; } interface ILiquidityPool { event Withdraw(address indexed account, uint amount, uint writeAmount); event Provide (address indexed account, uint amount, uint writeAmount); function totalBalance() external view returns (uint amount); function lock(uint amount) external; function unlock(uint amount) external; function send(address payable account, uint amount) external; } interface IERCLiquidityPool is ILiquidityPool { function token() external view returns(IERC20); } interface ERC20Incorrect { // for the future function balanceOf(address who) external view returns (uint); function transfer(address to, uint value) external; function allowance(address owner, address spender) external view returns (uint); function transferFrom(address from, address to, uint value) external; function approve(address spender, uint value) external; event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); } interface SpreadLock { function highSpreadLockEnabled() external returns (bool); } contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal { } function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } contract ERC20 is Context, IERC20 { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } contract HegicETHPool is ILiquidityPool, Ownable, ERC20("Hegic ETH LP Token", "writeETH"){ using SafeMath for uint256; uint public lockedAmount; mapping(address => uint) private lastProvideBlock; /* * @nonce Send premiums to the liquidity pool **/ receive() external payable {} /* * @nonce Returns the available amount in ETH for withdrawals * @return balance Unlocked amount */ function availableBalance() public view returns (uint balance) { balance = totalBalance().sub(lockedAmount); } /* * @nonce Returns the ETH total balance provided to the pool * @return balance Pool balance */ function totalBalance() public override view returns (uint balance) { balance = address(this).balance; } /* * @nonce A provider supplies ETH to the pool and receives writeETH tokens * @param minMint Low limit tokens that should be received * @return mint Received tokens amount */ function provide(uint minMint) public payable returns (uint mint) { mint = provide(); require(mint >= minMint, "Pool: Mint limit is too large"); } /* * @nonce A provider supplies ETH to the pool and receives writeETH tokens * @return mint Tokens amount received */ function provide() public payable returns (uint mint) { lastProvideBlock[msg.sender] = block.number; require(!SpreadLock(owner()).highSpreadLockEnabled(), "Pool: Locked"); if(totalSupply().mul(totalBalance()) == 0) mint = msg.value.mul(1000); else mint = msg.value.mul(totalSupply()).div(totalBalance().sub(msg.value)); require(mint > 0, "Pool: Amount is too small"); emit Provide(msg.sender, msg.value, mint); _mint(msg.sender, mint); } /* * @nonce Provider burns writeETH and receives ETH back from the pool * @param amount ETH amount to receive * @param maxBurn Upper limit tokens that can be burned * @return burn Tokens amount burnt */ function withdraw(uint amount, uint maxBurn) public returns (uint burn) { burn = withdraw(amount); require(burn <= maxBurn, "Pool: Burn limit is too small"); } /* * @nonce Provider burns writeETH and receives ETH back from the pool * @param amount ETH amount to receive * @return burn Tokens amount burnt */ function withdraw(uint amount) public returns (uint burn) { require( lastProvideBlock[msg.sender] != block.number, "Pool: Provide & Withdraw in one block" ); require(amount <= availableBalance(), "Pool: Insufficient unlocked funds"); burn = amount.mul(totalSupply()).div(totalBalance()); require(burn <= balanceOf(msg.sender), "Pool: Amount is too large"); require(burn > 0, "Pool: Amount is too small"); _burn(msg.sender, burn); emit Withdraw(msg.sender, amount, burn); msg.sender.transfer(amount); } /* * @nonce Returns a share of the privider in ETH * @param account User address * @return A share of the provider in ETH */ function shareOf(address account) public view returns (uint share){ if(totalBalance() > 0) share = totalBalance() .mul(balanceOf(account)) .div(totalSupply()); } /* * @nonce calls by HegicCallOptions to lock funds * @param amount Funds that should be locked */ function lock(uint amount) public override onlyOwner { require( lockedAmount.add(amount).mul(10).div(totalBalance()) < 8, "Pool: Insufficient unlocked funds" ); lockedAmount = lockedAmount.add(amount); } /* * @nonce calls by HegicCallOptions to unlock funds * @param amount Funds that should be unlocked */ function unlock(uint amount) public override onlyOwner { require(lockedAmount >= amount, "Pool: Insufficient locked funds"); lockedAmount = lockedAmount.sub(amount); } /* * @nonce calls by HegicCallOptions to send funds to the provider after an option is closed * @param to Provider * @param amount Funds that should be sent */ function send(address payable to, uint amount) public override onlyOwner { require(lockedAmount >= amount, "Pool: Insufficient locked funds"); lockedAmount -= amount; to.transfer(amount); } } contract HegicERCPool is IERCLiquidityPool, Ownable, ERC20("Hegic DAI LP Token", "writeDAI"){ using SafeMath for uint256; uint public lockedAmount; mapping(address => uint) private lastProvideBlock; IERC20 public override token; /* * @return _token DAI Address */ constructor(IERC20 _token) public { token = _token; } /* * @nonce Returns the available amount in DAI for withdrawals * @return balance Unlocked amount */ function availableBalance() public view returns (uint balance) { balance = totalBalance().sub(lockedAmount); } /* * @nonce Returns the DAI total balance provided to the pool * @return balance Pool balance */ function totalBalance() public override view returns (uint balance) { balance = token.balanceOf(address(this)); } /* * @nonce A provider supplies DAI to the pool and receives writeDAI tokens * @param amount Amount provided * @param minMint Low limit tokens that should be received * @return mint Received tokens amount */ function provide(uint amount, uint minMint) public returns (uint mint) { mint = provide(amount); require(mint >= minMint, "Pool: Mint limit is too large"); } /* * @nonce A provider supplies DAI to the pool and receives writeDAI tokens * @param amount Provided tokens * @return mint Tokens amount received */ function provide(uint amount) public returns (uint mint) { lastProvideBlock[msg.sender] = block.number; require(!SpreadLock(owner()).highSpreadLockEnabled(), "Pool: Locked"); if(totalSupply().mul(totalBalance()) == 0) mint = amount.mul(1000); else mint = amount.mul(totalSupply()).div(totalBalance()); require(mint > 0, "Pool: Amount is too small"); emit Provide(msg.sender, amount, mint); require( token.transferFrom(msg.sender, address(this), amount), "Insufficient funds" ); _mint(msg.sender, mint); } /* * @nonce Provider burns writeDAI and receives DAI back from the pool * @param amount DAI amount to receive * @param maxBurn Upper limit tokens that can be burned * @return burn Tokens amount burnt */ function withdraw(uint amount, uint maxBurn) public returns (uint burn) { burn = withdraw(amount); require(burn <= maxBurn, "Pool: Burn limit is too small"); } /* * @nonce Provider burns writeDAI and receives DAI back from the pool * @param amount DAI amount to receive * @return mint Tokens amount burnt */ function withdraw(uint amount) public returns (uint burn) { require( lastProvideBlock[msg.sender] != block.number, "Pool: Provide & Withdraw in one block" ); require(amount <= availableBalance(), "Pool: Insufficient unlocked funds"); burn = amount.mul(totalSupply()).div(totalBalance()); require(burn <= balanceOf(msg.sender), "Pool: Amount is too large"); require(burn > 0, "Pool: Amount is too small"); _burn(msg.sender, burn); emit Withdraw(msg.sender, amount, burn); require( token.transfer(msg.sender, amount), "Insufficient funds" ); } /* * @nonce Returns a share of the provider in DAI * @param account User address * @return A share of the provider in DAI */ function shareOf(address user) public view returns (uint share){ if(totalBalance() > 0) share = totalBalance().mul(balanceOf(user)).div(totalSupply()); } /* * @nonce calls by HegicPutOptions to lock funds * @param amount Funds that should be locked */ function lock(uint amount) public override onlyOwner { require( lockedAmount.add(amount).mul(10).div( totalBalance() ) < 8, "Pool: Insufficient unlocked funds" ); lockedAmount = lockedAmount.add(amount); } /* * @nonce calls by HegicPutOptions to unlock funds * @param amount Funds that should be unlocked */ function unlock(uint amount) public override onlyOwner { require(lockedAmount >= amount, "Pool: Insufficient locked funds"); lockedAmount = lockedAmount.sub(amount); } /* * @nonce calls by HegicPutOptions to send funds to the provider after an option is closed * @param to Provider * @param amount Funds that should be sent */ function send(address payable to, uint amount) public override onlyOwner { require(lockedAmount >= amount, "Pool: Insufficient locked funds"); lockedAmount -= amount; require( token.transfer(to, amount), "Insufficient funds" ); } } abstract contract HegicOptions is Ownable, SpreadLock { using SafeMath for uint; Option[] public options; uint public impliedVolRate = 18000; uint public maxSpread = 95;//% uint constant priceDecimals = 1e8; uint constant activationTime = 15 minutes; AggregatorInterface public priceProvider; IUniswapFactory public exchanges; IERC20 token; ILiquidityPool public pool; OptionType private optionType; bool public override highSpreadLockEnabled; event Create (uint indexed id, address indexed account, uint settlementFee, uint totalFee); event Exercise (uint indexed id, uint exchangeAmount); event Expire (uint indexed id); enum State { Active, Exercised, Expired } enum OptionType { Put, Call } struct Option { State state; address payable holder; uint strikeAmount; uint amount; uint expiration; uint activation; } /** * @param DAI The address of the DAI token * @param pp The address of the ChainLink ETH/USD price feed contract * @param ex The address of the Uniswap Factory * @param _type Put or call contract type */ constructor(IERC20 DAI, AggregatorInterface pp, IUniswapFactory ex, OptionType _type) public { token = DAI; priceProvider = pp; exchanges = ex; optionType = _type; } /** * @notice Used to adjust prices * @param value New IVRate value */ function setImpliedVolRate(uint value) public onlyOwner { require(value >= 10000, "ImpliedVolRate limit is too small"); impliedVolRate = value; } /** * @notice Used to adjust the spread limit * @param value New maxSpread value */ function setMaxSpread(uint value) public onlyOwner { require(value <= 95, "Spread limit is too large"); maxSpread = value; } /** * @notice Used to get actual option's prices * @param period Option period in seconds (1 days <= period <= 8 weeks) * @param amount Option amount * @param strike Strike price of the option * @return total Total price needs to be paid * @return settlementFee Amount to be distributed between the HEGIC token holders * @return strikeFee Amount that covers the price difference in the ITM options * @return slippageFee Compensates the slippage during the exercising process * @return periodFee Option period fee */ function fees( uint period, uint amount, uint strike ) public view returns ( uint total, uint settlementFee, uint strikeFee, uint slippageFee, uint periodFee ) { uint currentPrice = uint(priceProvider.latestAnswer()); settlementFee = getSettlementFee(amount); periodFee = getPeriodFee(amount, period, strike, currentPrice); slippageFee = getSlippageFee(amount); strikeFee = getStrikeFee(amount, strike, currentPrice); total = periodFee.add(slippageFee).add(strikeFee); } /** * @notice Creates ATM option * @param period Option period in seconds (1 days <= period <= 8 weeks) * @param amount Option amount * @return optionID Created option's ID */ function createATM(uint period, uint amount) public payable returns (uint optionID) { return create(period, amount, uint(priceProvider.latestAnswer())); } /** * @notice Creates a new option * @param period Option period in sconds (1 days <= period <= 8 weeks) * @param amount Option amount * @param strike Strike price of an option * @return optionID Created option's ID */ function create(uint period, uint amount, uint strike) public payable returns (uint optionID) { (uint total, uint settlementFee,,,) = fees(period, amount, strike); uint strikeAmount = strike.mul(amount) / priceDecimals; require(strikeAmount > 0,"Amount is too small"); require(settlementFee < total, "Premium is too small"); require(period >= 1 days,"Period is too short"); require(period <= 8 weeks,"Period is too long"); require(msg.value == total, "Wrong value"); payable( owner() ).transfer(settlementFee); optionID = options.length; options.push( Option( State.Active, msg.sender, strikeAmount, amount, now + period, now + activationTime ) ); sendPremium(total.sub(settlementFee)); lockFunds(options[optionID]); emit Create(optionID, msg.sender, settlementFee, total); } /** * @notice Exercise your active option * @param optionID ID of your option */ function exercise(uint optionID) public payable { Option storage option = options[optionID]; require(option.expiration >= now, 'Option has expired'); require(option.activation <= now, 'Option has not been activated yet'); require(option.holder == msg.sender, "Wrong msg.sender"); require(option.state == State.Active, "Wrong state"); option.state = State.Exercised; swapFunds(option); uint amount = exchange(); emit Exercise(optionID, amount); } /** * @notice Unlock array of options * @param optionIDs array of options */ function unlockAll(uint[] memory optionIDs) public { for(uint i; i < optionIDs.length; unlock(optionIDs[i++])){} } /** * @notice Unlock funds locked in the expired options * @param optionID ID of the option */ function unlock(uint optionID) public { Option storage option = options[optionID]; require(option.expiration < now, "Option has not expired yet"); require(option.state == State.Active, "Option is not active"); option.state = State.Expired; unlockFunds(option); emit Expire(optionID); } /** * @notice Counts settlementFee * @param amount Option amount * @return fee Settlment fee amount */ function getSettlementFee(uint amount) internal pure returns (uint fee) { fee = amount / 100; } /** * @notice Counts periodFee * @param amount Option amount * @param period Option period in seconds (1 days <= period <= 8 weeks) * @param strike Strike price of the option * @param currentPrice Current ETH price * @return fee Period fee amount */ function getPeriodFee( uint amount, uint period, uint strike, uint currentPrice ) internal view returns (uint fee) { if(optionType == OptionType.Put) fee = amount.mul(sqrt(period / 10)).mul(impliedVolRate) .mul(strike).div(currentPrice).div(1e8); else fee = amount.mul(sqrt(period / 10)).mul(impliedVolRate) .mul(currentPrice).div(strike).div(1e8); } /** * @notice Calculates slippageFee * @param amount Option amount * @return fee Slippage fee amount */ function getSlippageFee(uint amount) internal pure returns (uint fee){ if(amount > 10 ether) fee = amount.mul(amount) / 1e22; } /** * @notice Counts strikeFee * @param amount Option amount * @param strike Strike price of the option * @param currentPrice Current ether price * @return fee Strike fee amount */ function getStrikeFee( uint amount, uint strike, uint currentPrice ) internal view returns (uint fee) { if(strike > currentPrice && optionType == OptionType.Put) fee = (strike - currentPrice).mul(amount).div(currentPrice); if(strike < currentPrice && optionType == OptionType.Call) fee = (currentPrice - strike).mul(amount).div(currentPrice); } function exchange() public virtual returns (uint exchangedAmount); function sendPremium(uint amount) internal virtual; function lockFunds(Option memory option) internal virtual; function swapFunds(Option memory option) internal virtual; function unlockFunds(Option memory option) internal virtual; /** * @return res Square root of the number */ function sqrt(uint x) private pure returns (uint res) { res = x; uint z = (x + 1) / 2; while (z < res) (res, z) = (z, (x / z + z) / 2); } } contract HegicCallOptions is HegicOptions { /** * @param DAI The address of the DAI token * @param priceProvider The address of the ChainLink ETH/USD price feed contract * @param uniswap The address of the Uniswap Factory */ constructor( IERC20 DAI, AggregatorInterface priceProvider, IUniswapFactory uniswap ) public HegicOptions(DAI, priceProvider, uniswap, HegicOptions.OptionType.Call) { pool = new HegicETHPool(); approve(); } /** * @notice Allows the Uniswap pool to swap the assets */ function approve() public { token.approve(address(exchanges.getExchange(token)), uint(-1)); } /** * @notice Swap a specific amount of DAI tokens for ETH and send it to the ETH liquidity pool * @return exchangedAmount An amount to receive from the Uniswap pool */ function exchange() public override returns (uint exchangedAmount) { return exchange( token.balanceOf(address(this)) ); } /** * @notice Swap a specific amount of DAI tokens for ETH and send it to the ETH liquidity pool * @param amount A specific amount to swap * @return exchangedAmount An amount that was received from the Uniswap pool */ function exchange(uint amount) public returns (uint exchangedAmount) { UniswapExchangeInterface ex = exchanges.getExchange(token); uint exShare = ex.getTokenToEthInputPrice( uint(priceProvider.latestAnswer()).mul(1e10) ); if(exShare > maxSpread.mul(0.01 ether)){ highSpreadLockEnabled = false; exchangedAmount = ex.tokenToEthTransferInput( amount, 1, now + 1 minutes, address(pool) ); } else { highSpreadLockEnabled = true; } } /** * @notice Distributes the premiums between the liquidity providers * @param amount Premiums amount that will be sent to the pool */ function sendPremium(uint amount) override internal { payable(address(pool)).transfer(amount); } /** * @notice Locks the amount required for an option * @param option A specific option contract */ function lockFunds(Option memory option) override internal { pool.lock(option.amount); } /** * @notice Receives DAI tokens from the user and sends ETH from the pool * @param option A specific option contract */ function swapFunds(Option memory option) override internal { require(msg.value == 0, "Wrong msg.value"); require( token.transferFrom(option.holder, address(this), option.strikeAmount), "Insufficient funds" ); pool.send(option.holder, option.amount); } /** * @notice Locks the amount required for an option contract * @param option A specific option contract */ function unlockFunds(Option memory option) override internal { pool.unlock(option.amount); } } contract HegicPutOptions is HegicOptions { /** * @param DAI The address of the DAI token * @param priceProvider The address of the ChainLink ETH/USD price feed contract * @param uniswap The address of the Uniswap Factory */ constructor( IERC20 DAI, AggregatorInterface priceProvider, IUniswapFactory uniswap ) public HegicOptions(DAI, priceProvider, uniswap, HegicOptions.OptionType.Put) { pool = new HegicERCPool(DAI); } /** * @notice Swaps ETH for DAI tokens and sends to the DAI liquidity pool * @return exchangedAmount Amount that is received from the Uniswap pool */ function exchange() public override returns (uint) { return exchange(address(this).balance); } /** * @notice Swap a specific amount of ETH for DAI tokens and send it to the DAI liquidity pool * @param amount A specific amount to swap * @return exchangedAmount An amount to receive from the Uniswap pool */ function exchange(uint amount) public returns (uint exchangedAmount) { UniswapExchangeInterface ex = exchanges.getExchange(token); uint exShare = ex.getEthToTokenInputPrice(1 ether); if(exShare > maxSpread.mul(uint(priceProvider.latestAnswer())).mul(1e8)) { highSpreadLockEnabled = false; exchangedAmount = ex.ethToTokenTransferInput {value: amount} ( 1, now + 1 minutes, address(pool) ); } else { highSpreadLockEnabled = true; } } /** * @notice Distributes the premiums between the liquidity providers */ function sendPremium(uint) override internal { exchange(); } /** * @notice Locks the amount required for an option * @param option A specific option contract */ function lockFunds(Option memory option) override internal { pool.lock(option.strikeAmount); } /** * @notice Receives ETH from the user and sends DAI tokens from the pool * @param option A specific option contract */ function swapFunds(Option memory option) override internal { require(option.amount == msg.value, "Wrong msg.value"); pool.send(option.holder, option.strikeAmount); } /** * @notice Locks the amount required for an option contract * @param option A specific option contract */ function unlockFunds(Option memory option) override internal { pool.unlock(option.strikeAmount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"writeAmount","type":"uint256"}],"name":"Provide","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"writeAmount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"availableBalance","outputs":[{"internalType":"uint256","name":"balance","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":"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":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lockedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"minMint","type":"uint256"}],"name":"provide","outputs":[{"internalType":"uint256","name":"mint","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"provide","outputs":[{"internalType":"uint256","name":"mint","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"send","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shareOf","outputs":[{"internalType":"uint256","name":"share","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBalance","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"burn","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"maxBurn","type":"uint256"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"burn","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60126080908152712432b3b4b19022aa24102628102a37b5b2b760711b60a052610100604052600860c0908152670eee4d2e8ca8aa8960c31b60e0526000620000506001600160e01b03620000db16565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508151620000af906004906020850190620000e0565b508051620000c5906005906020840190620000e0565b50506006805460ff191660121790555062000182565b335b90565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200012357805160ff191683800117855562000153565b8280016001018555821562000153579182015b828111156200015357825182559160200191906001019062000136565b506200016192915062000165565b5090565b620000dd91905b808211156200016157600081556001016200016c565b611a9580620001926000396000f3fe60806040526004361061016a5760003560e01c806370a08231116100d1578063ab2f0e511161008a578063d0679d3411610064578063d0679d3414610538578063dd46706414610571578063dd62ed3e1461059b578063f2fde38b146105d657610171565b8063ab2f0e5114610506578063ad7a672f1461051b578063b94725351461053057610171565b806370a0823114610406578063715018a6146104395780638da5cb5b1461044e57806395d89b411461047f578063a457c2d714610494578063a9059cbb146104cd57610171565b80632e2ebe06116101235780632e2ebe0614610314578063313ce56714610331578063395093511461035c578063441a3e70146103955780636198e339146103c55780636ab28bc8146103f157610171565b806306fdde0314610176578063095ea7b31461020057806318160ddd1461024d57806321e5e2c41461027457806323b872dd146102a75780632e1a7d4d146102ea57610171565b3661017157005b600080fd5b34801561018257600080fd5b5061018b610609565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101c55781810151838201526020016101ad565b50505050905090810190601f1680156101f25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561020c57600080fd5b506102396004803603604081101561022357600080fd5b506001600160a01b0381351690602001356106a0565b604080519115158252519081900360200190f35b34801561025957600080fd5b506102626106be565b60408051918252519081900360200190f35b34801561028057600080fd5b506102626004803603602081101561029757600080fd5b50356001600160a01b03166106c4565b3480156102b357600080fd5b50610239600480360360608110156102ca57600080fd5b506001600160a01b03813581169160208101359091169060400135610714565b3480156102f657600080fd5b506102626004803603602081101561030d57600080fd5b50356107a1565b6102626004803603602081101561032a57600080fd5b503561097f565b34801561033d57600080fd5b506103466109e0565b6040805160ff9092168252519081900360200190f35b34801561036857600080fd5b506102396004803603604081101561037f57600080fd5b506001600160a01b0381351690602001356109e9565b3480156103a157600080fd5b50610262600480360360408110156103b857600080fd5b5080359060200135610a3d565b3480156103d157600080fd5b506103ef600480360360208110156103e857600080fd5b5035610a9f565b005b3480156103fd57600080fd5b50610262610b67565b34801561041257600080fd5b506102626004803603602081101561042957600080fd5b50356001600160a01b0316610b6d565b34801561044557600080fd5b506103ef610b88565b34801561045a57600080fd5b50610463610c2a565b604080516001600160a01b039092168252519081900360200190f35b34801561048b57600080fd5b5061018b610c39565b3480156104a057600080fd5b50610239600480360360408110156104b757600080fd5b506001600160a01b038135169060200135610c9a565b3480156104d957600080fd5b50610239600480360360408110156104f057600080fd5b506001600160a01b038135169060200135610d08565b34801561051257600080fd5b50610262610d1c565b34801561052757600080fd5b50610262610d3d565b610262610d41565b34801561054457600080fd5b506103ef6004803603604081101561055b57600080fd5b506001600160a01b038135169060200135610ef1565b34801561057d57600080fd5b506103ef6004803603602081101561059457600080fd5b5035610fe4565b3480156105a757600080fd5b50610262600480360360408110156105be57600080fd5b506001600160a01b03813581169160200135166110b2565b3480156105e257600080fd5b506103ef600480360360208110156105f957600080fd5b50356001600160a01b03166110dd565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106955780601f1061066a57610100808354040283529160200191610695565b820191906000526020600020905b81548152906001019060200180831161067857829003601f168201915b505050505090505b90565b60006106b46106ad6111d5565b84846111d9565b5060015b92915050565b60035490565b6000806106cf610d3d565b111561070f5761070c6106e06106be565b6107006106ec85610b6d565b6106f4610d3d565b9063ffffffff6112c516565b9063ffffffff61132516565b90505b919050565b6000610721848484611367565b6107978461072d6111d5565b61079285604051806060016040528060288152602001611989602891396001600160a01b038a1660009081526002602052604081209061076b6111d5565b6001600160a01b03168152602081019190915260400160002054919063ffffffff6114d016565b6111d9565b5060019392505050565b336000908152600860205260408120544314156107ef5760405162461bcd60e51b81526004018080602001828103825260258152602001806119436025913960400191505060405180910390fd5b6107f7610d1c565b8211156108355760405162461bcd60e51b81526004018080602001828103825260218152602001806118b46021913960400191505060405180910390fd5b610858610840610d3d565b61070061084b6106be565b859063ffffffff6112c516565b905061086333610b6d565b8111156108b7576040805162461bcd60e51b815260206004820152601960248201527f506f6f6c3a20416d6f756e7420697320746f6f206c6172676500000000000000604482015290519081900360640190fd5b60008111610908576040805162461bcd60e51b8152602060048201526019602482015278141bdbdb0e88105b5bdd5b9d081a5cc81d1bdbc81cdb585b1b603a1b604482015290519081900360640190fd5b6109123382611567565b6040805183815260208101839052815133927ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568928290030190a2604051339083156108fc029084906000818181858888f19350505050158015610979573d6000803e3d6000fd5b50919050565b6000610989610d41565b90508181101561070f576040805162461bcd60e51b815260206004820152601d60248201527f506f6f6c3a204d696e74206c696d697420697320746f6f206c61726765000000604482015290519081900360640190fd5b60065460ff1690565b60006106b46109f66111d5565b846107928560026000610a076111d5565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff61166f16565b6000610a48836107a1565b9050818111156106b8576040805162461bcd60e51b815260206004820152601d60248201527f506f6f6c3a204275726e206c696d697420697320746f6f20736d616c6c000000604482015290519081900360640190fd5b610aa76111d5565b6000546001600160a01b03908116911614610af7576040805162461bcd60e51b815260206004820181905260248201526000805160206119b1833981519152604482015290519081900360640190fd5b806007541015610b4e576040805162461bcd60e51b815260206004820152601f60248201527f506f6f6c3a20496e73756666696369656e74206c6f636b65642066756e647300604482015290519081900360640190fd5b600754610b61908263ffffffff6116c916565b60075550565b60075481565b6001600160a01b031660009081526001602052604090205490565b610b906111d5565b6000546001600160a01b03908116911614610be0576040805162461bcd60e51b815260206004820181905260248201526000805160206119b1833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106955780601f1061066a57610100808354040283529160200191610695565b60006106b4610ca76111d5565b8461079285604051806060016040528060258152602001611a3b6025913960026000610cd16111d5565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff6114d016565b60006106b4610d156111d5565b8484611367565b6000610d38600754610d2c610d3d565b9063ffffffff6116c916565b905090565b4790565b336000908152600860205260408120439055610d5b610c2a565b6001600160a01b031663c322b60f6040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610d9557600080fd5b505af1158015610da9573d6000803e3d6000fd5b505050506040513d6020811015610dbf57600080fd5b505115610e02576040805162461bcd60e51b815260206004820152600c60248201526b141bdbdb0e88131bd8dad95960a21b604482015290519081900360640190fd5b610e15610e0d610d3d565b6106f46106be565b610e3257610e2b346103e863ffffffff6112c516565b9050610e5c565b610e59610e4134610d2c610d3d565b610700610e4c6106be565b349063ffffffff6112c516565b90505b60008111610ead576040805162461bcd60e51b8152602060048201526019602482015278141bdbdb0e88105b5bdd5b9d081a5cc81d1bdbc81cdb585b1b603a1b604482015290519081900360640190fd5b6040805134815260208101839052815133927f4089141ea5e4c16575f5ebf65f1786497ea07c175846fc7745ef8d8986a4ff65928290030190a261069d338261170b565b610ef96111d5565b6000546001600160a01b03908116911614610f49576040805162461bcd60e51b815260206004820181905260248201526000805160206119b1833981519152604482015290519081900360640190fd5b806007541015610fa0576040805162461bcd60e51b815260206004820152601f60248201527f506f6f6c3a20496e73756666696369656e74206c6f636b65642066756e647300604482015290519081900360640190fd5b6007805482900390556040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610fdf573d6000803e3d6000fd5b505050565b610fec6111d5565b6000546001600160a01b0390811691161461103c576040805162461bcd60e51b815260206004820181905260248201526000805160206119b1833981519152604482015290519081900360640190fd5b6008611063611049610d3d565b610700600a6106f48660075461166f90919063ffffffff16565b1061109f5760405162461bcd60e51b81526004018080602001828103825260218152602001806118b46021913960400191505060405180910390fd5b600754610b61908263ffffffff61166f16565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6110e56111d5565b6000546001600160a01b03908116911614611135576040805162461bcd60e51b815260206004820181905260248201526000805160206119b1833981519152604482015290519081900360640190fd5b6001600160a01b03811661117a5760405162461bcd60e51b81526004018080602001828103825260268152602001806118d56026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b03831661121e5760405162461bcd60e51b8152600401808060200182810382526024815260200180611a176024913960400191505060405180910390fd5b6001600160a01b0382166112635760405162461bcd60e51b81526004018080602001828103825260228152602001806118fb6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000826112d4575060006106b8565b828202828482816112e157fe5b041461131e5760405162461bcd60e51b81526004018080602001828103825260218152602001806119686021913960400191505060405180910390fd5b9392505050565b600061131e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611809565b6001600160a01b0383166113ac5760405162461bcd60e51b81526004018080602001828103825260258152602001806119f26025913960400191505060405180910390fd5b6001600160a01b0382166113f15760405162461bcd60e51b815260040180806020018281038252602381526020018061186f6023913960400191505060405180910390fd5b6113fc838383610fdf565b61143f8160405180606001604052806026815260200161191d602691396001600160a01b038616600090815260016020526040902054919063ffffffff6114d016565b6001600160a01b038085166000908152600160205260408082209390935590841681522054611474908263ffffffff61166f16565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818484111561155f5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561152457818101518382015260200161150c565b50505050905090810190601f1680156115515780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b0382166115ac5760405162461bcd60e51b81526004018080602001828103825260218152602001806119d16021913960400191505060405180910390fd5b6115b882600083610fdf565b6115fb81604051806060016040528060228152602001611892602291396001600160a01b038516600090815260016020526040902054919063ffffffff6114d016565b6001600160a01b038316600090815260016020526040902055600354611627908263ffffffff6116c916565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60008282018381101561131e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061131e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506114d0565b6001600160a01b038216611766576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61177260008383610fdf565b600354611785908263ffffffff61166f16565b6003556001600160a01b0382166000908152600160205260409020546117b1908263ffffffff61166f16565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600081836118585760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561152457818101518382015260200161150c565b50600083858161186457fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e6365506f6f6c3a20496e73756666696369656e7420756e6c6f636b65642066756e64734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365506f6f6c3a2050726f76696465202620576974686472617720696e206f6e6520626c6f636b536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220ddcf13eccecfb214793de4b36e6e313a129671951a4ec6ab9bd257d43c96b46964736f6c63430006060033
Deployed Bytecode
0x60806040526004361061016a5760003560e01c806370a08231116100d1578063ab2f0e511161008a578063d0679d3411610064578063d0679d3414610538578063dd46706414610571578063dd62ed3e1461059b578063f2fde38b146105d657610171565b8063ab2f0e5114610506578063ad7a672f1461051b578063b94725351461053057610171565b806370a0823114610406578063715018a6146104395780638da5cb5b1461044e57806395d89b411461047f578063a457c2d714610494578063a9059cbb146104cd57610171565b80632e2ebe06116101235780632e2ebe0614610314578063313ce56714610331578063395093511461035c578063441a3e70146103955780636198e339146103c55780636ab28bc8146103f157610171565b806306fdde0314610176578063095ea7b31461020057806318160ddd1461024d57806321e5e2c41461027457806323b872dd146102a75780632e1a7d4d146102ea57610171565b3661017157005b600080fd5b34801561018257600080fd5b5061018b610609565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101c55781810151838201526020016101ad565b50505050905090810190601f1680156101f25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561020c57600080fd5b506102396004803603604081101561022357600080fd5b506001600160a01b0381351690602001356106a0565b604080519115158252519081900360200190f35b34801561025957600080fd5b506102626106be565b60408051918252519081900360200190f35b34801561028057600080fd5b506102626004803603602081101561029757600080fd5b50356001600160a01b03166106c4565b3480156102b357600080fd5b50610239600480360360608110156102ca57600080fd5b506001600160a01b03813581169160208101359091169060400135610714565b3480156102f657600080fd5b506102626004803603602081101561030d57600080fd5b50356107a1565b6102626004803603602081101561032a57600080fd5b503561097f565b34801561033d57600080fd5b506103466109e0565b6040805160ff9092168252519081900360200190f35b34801561036857600080fd5b506102396004803603604081101561037f57600080fd5b506001600160a01b0381351690602001356109e9565b3480156103a157600080fd5b50610262600480360360408110156103b857600080fd5b5080359060200135610a3d565b3480156103d157600080fd5b506103ef600480360360208110156103e857600080fd5b5035610a9f565b005b3480156103fd57600080fd5b50610262610b67565b34801561041257600080fd5b506102626004803603602081101561042957600080fd5b50356001600160a01b0316610b6d565b34801561044557600080fd5b506103ef610b88565b34801561045a57600080fd5b50610463610c2a565b604080516001600160a01b039092168252519081900360200190f35b34801561048b57600080fd5b5061018b610c39565b3480156104a057600080fd5b50610239600480360360408110156104b757600080fd5b506001600160a01b038135169060200135610c9a565b3480156104d957600080fd5b50610239600480360360408110156104f057600080fd5b506001600160a01b038135169060200135610d08565b34801561051257600080fd5b50610262610d1c565b34801561052757600080fd5b50610262610d3d565b610262610d41565b34801561054457600080fd5b506103ef6004803603604081101561055b57600080fd5b506001600160a01b038135169060200135610ef1565b34801561057d57600080fd5b506103ef6004803603602081101561059457600080fd5b5035610fe4565b3480156105a757600080fd5b50610262600480360360408110156105be57600080fd5b506001600160a01b03813581169160200135166110b2565b3480156105e257600080fd5b506103ef600480360360208110156105f957600080fd5b50356001600160a01b03166110dd565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106955780601f1061066a57610100808354040283529160200191610695565b820191906000526020600020905b81548152906001019060200180831161067857829003601f168201915b505050505090505b90565b60006106b46106ad6111d5565b84846111d9565b5060015b92915050565b60035490565b6000806106cf610d3d565b111561070f5761070c6106e06106be565b6107006106ec85610b6d565b6106f4610d3d565b9063ffffffff6112c516565b9063ffffffff61132516565b90505b919050565b6000610721848484611367565b6107978461072d6111d5565b61079285604051806060016040528060288152602001611989602891396001600160a01b038a1660009081526002602052604081209061076b6111d5565b6001600160a01b03168152602081019190915260400160002054919063ffffffff6114d016565b6111d9565b5060019392505050565b336000908152600860205260408120544314156107ef5760405162461bcd60e51b81526004018080602001828103825260258152602001806119436025913960400191505060405180910390fd5b6107f7610d1c565b8211156108355760405162461bcd60e51b81526004018080602001828103825260218152602001806118b46021913960400191505060405180910390fd5b610858610840610d3d565b61070061084b6106be565b859063ffffffff6112c516565b905061086333610b6d565b8111156108b7576040805162461bcd60e51b815260206004820152601960248201527f506f6f6c3a20416d6f756e7420697320746f6f206c6172676500000000000000604482015290519081900360640190fd5b60008111610908576040805162461bcd60e51b8152602060048201526019602482015278141bdbdb0e88105b5bdd5b9d081a5cc81d1bdbc81cdb585b1b603a1b604482015290519081900360640190fd5b6109123382611567565b6040805183815260208101839052815133927ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568928290030190a2604051339083156108fc029084906000818181858888f19350505050158015610979573d6000803e3d6000fd5b50919050565b6000610989610d41565b90508181101561070f576040805162461bcd60e51b815260206004820152601d60248201527f506f6f6c3a204d696e74206c696d697420697320746f6f206c61726765000000604482015290519081900360640190fd5b60065460ff1690565b60006106b46109f66111d5565b846107928560026000610a076111d5565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff61166f16565b6000610a48836107a1565b9050818111156106b8576040805162461bcd60e51b815260206004820152601d60248201527f506f6f6c3a204275726e206c696d697420697320746f6f20736d616c6c000000604482015290519081900360640190fd5b610aa76111d5565b6000546001600160a01b03908116911614610af7576040805162461bcd60e51b815260206004820181905260248201526000805160206119b1833981519152604482015290519081900360640190fd5b806007541015610b4e576040805162461bcd60e51b815260206004820152601f60248201527f506f6f6c3a20496e73756666696369656e74206c6f636b65642066756e647300604482015290519081900360640190fd5b600754610b61908263ffffffff6116c916565b60075550565b60075481565b6001600160a01b031660009081526001602052604090205490565b610b906111d5565b6000546001600160a01b03908116911614610be0576040805162461bcd60e51b815260206004820181905260248201526000805160206119b1833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106955780601f1061066a57610100808354040283529160200191610695565b60006106b4610ca76111d5565b8461079285604051806060016040528060258152602001611a3b6025913960026000610cd16111d5565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff6114d016565b60006106b4610d156111d5565b8484611367565b6000610d38600754610d2c610d3d565b9063ffffffff6116c916565b905090565b4790565b336000908152600860205260408120439055610d5b610c2a565b6001600160a01b031663c322b60f6040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610d9557600080fd5b505af1158015610da9573d6000803e3d6000fd5b505050506040513d6020811015610dbf57600080fd5b505115610e02576040805162461bcd60e51b815260206004820152600c60248201526b141bdbdb0e88131bd8dad95960a21b604482015290519081900360640190fd5b610e15610e0d610d3d565b6106f46106be565b610e3257610e2b346103e863ffffffff6112c516565b9050610e5c565b610e59610e4134610d2c610d3d565b610700610e4c6106be565b349063ffffffff6112c516565b90505b60008111610ead576040805162461bcd60e51b8152602060048201526019602482015278141bdbdb0e88105b5bdd5b9d081a5cc81d1bdbc81cdb585b1b603a1b604482015290519081900360640190fd5b6040805134815260208101839052815133927f4089141ea5e4c16575f5ebf65f1786497ea07c175846fc7745ef8d8986a4ff65928290030190a261069d338261170b565b610ef96111d5565b6000546001600160a01b03908116911614610f49576040805162461bcd60e51b815260206004820181905260248201526000805160206119b1833981519152604482015290519081900360640190fd5b806007541015610fa0576040805162461bcd60e51b815260206004820152601f60248201527f506f6f6c3a20496e73756666696369656e74206c6f636b65642066756e647300604482015290519081900360640190fd5b6007805482900390556040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610fdf573d6000803e3d6000fd5b505050565b610fec6111d5565b6000546001600160a01b0390811691161461103c576040805162461bcd60e51b815260206004820181905260248201526000805160206119b1833981519152604482015290519081900360640190fd5b6008611063611049610d3d565b610700600a6106f48660075461166f90919063ffffffff16565b1061109f5760405162461bcd60e51b81526004018080602001828103825260218152602001806118b46021913960400191505060405180910390fd5b600754610b61908263ffffffff61166f16565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6110e56111d5565b6000546001600160a01b03908116911614611135576040805162461bcd60e51b815260206004820181905260248201526000805160206119b1833981519152604482015290519081900360640190fd5b6001600160a01b03811661117a5760405162461bcd60e51b81526004018080602001828103825260268152602001806118d56026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6001600160a01b03831661121e5760405162461bcd60e51b8152600401808060200182810382526024815260200180611a176024913960400191505060405180910390fd5b6001600160a01b0382166112635760405162461bcd60e51b81526004018080602001828103825260228152602001806118fb6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000826112d4575060006106b8565b828202828482816112e157fe5b041461131e5760405162461bcd60e51b81526004018080602001828103825260218152602001806119686021913960400191505060405180910390fd5b9392505050565b600061131e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611809565b6001600160a01b0383166113ac5760405162461bcd60e51b81526004018080602001828103825260258152602001806119f26025913960400191505060405180910390fd5b6001600160a01b0382166113f15760405162461bcd60e51b815260040180806020018281038252602381526020018061186f6023913960400191505060405180910390fd5b6113fc838383610fdf565b61143f8160405180606001604052806026815260200161191d602691396001600160a01b038616600090815260016020526040902054919063ffffffff6114d016565b6001600160a01b038085166000908152600160205260408082209390935590841681522054611474908263ffffffff61166f16565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818484111561155f5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561152457818101518382015260200161150c565b50505050905090810190601f1680156115515780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b0382166115ac5760405162461bcd60e51b81526004018080602001828103825260218152602001806119d16021913960400191505060405180910390fd5b6115b882600083610fdf565b6115fb81604051806060016040528060228152602001611892602291396001600160a01b038516600090815260016020526040902054919063ffffffff6114d016565b6001600160a01b038316600090815260016020526040902055600354611627908263ffffffff6116c916565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60008282018381101561131e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061131e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506114d0565b6001600160a01b038216611766576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61177260008383610fdf565b600354611785908263ffffffff61166f16565b6003556001600160a01b0382166000908152600160205260409020546117b1908263ffffffff61166f16565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600081836118585760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561152457818101518382015260200161150c565b50600083858161186457fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e6365506f6f6c3a20496e73756666696369656e7420756e6c6f636b65642066756e64734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365506f6f6c3a2050726f76696465202620576974686472617720696e206f6e6520626c6f636b536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220ddcf13eccecfb214793de4b36e6e313a129671951a4ec6ab9bd257d43c96b46964736f6c63430006060033
Deployed Bytecode Sourcemap
27854:4598:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;17923:77:0;;5:9:-1;2:2;;;27:1;24;17:12;2:2;17923:77:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;17923:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19867:159;;5:9:-1;2:2;;;27:1;24;17:12;2:2;19867:159:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;19867:159:0;;-1:-1:-1;;;;;19867:159:0;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;18923:94;;5:9:-1;2:2;;;27:1;24;17:12;2:2;18923:94:0;;;:::i;:::-;;;;;;;;;;;;;;;;31122:201;;5:9:-1;2:2;;;27:1;24;17:12;2:2;31122:201:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;31122:201:0;-1:-1:-1;;;;;31122:201:0;;:::i;20465:307::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;20465:307:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;20465:307:0;;;;;;;;;;;;;;;;;:::i;30347:613::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;30347:613:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;30347:613:0;;:::i;28885:169::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;28885:169:0;;:::i;18789:77::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;18789:77:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21146:208;;5:9:-1;2:2;;;27:1;24;17:12;2:2;21146:208:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;21146:208:0;;-1:-1:-1;;;;;21146:208:0;;;;;;:::i;29980:182::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;29980:182:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;29980:182:0;;;;;;;:::i;31839:190::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;31839:190:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;31839:190:0;;:::i;:::-;;27983:24;;5:9:-1;2:2;;;27:1;24;17:12;2:2;27983:24:0;;;:::i;19072:113::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;19072:113:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;19072:113:0;-1:-1:-1;;;;;19072:113:0;;:::i;27300:148::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;27300:148:0;;;:::i;26658:79::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;26658:79:0;;;:::i;:::-;;;;-1:-1:-1;;;;;26658:79:0;;;;;;;;;;;;;;18108:81;;5:9:-1;2:2;;;27:1;24;17:12;2:2;18108:81:0;;;:::i;21816:259::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;21816:259:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;21816:259:0;;-1:-1:-1;;;;;21816:259:0;;;;;;:::i;19375:165::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;19375:165:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;19375:165:0;;-1:-1:-1;;;;;19375:165:0;;;;;;:::i;28302:124::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;28302:124:0;;;:::i;28554:118::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;28554:118:0;;;:::i;29203:531::-;;;:::i;32226:221::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;32226:221:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;32226:221:0;;-1:-1:-1;;;;;32226:221:0;;;;;;:::i;31453:252::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;31453:252:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;31453:252:0;;:::i;19595:145::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;19595:145:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;19595:145:0;;;;;;;;;;:::i;27603:244::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;27603:244:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;27603:244:0;-1:-1:-1;;;;;27603:244:0;;:::i;17923:77::-;17989:5;17982:12;;;;;;;;;;;;;-1:-1:-1;;17982:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;17960:13;;17982:12;;17989:5;;17982:12;;;17989:5;17982:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17923:77;;:::o;19867:159::-;19950:4;19963:39;19972:12;:10;:12::i;:::-;19986:7;19995:6;19963:8;:39::i;:::-;-1:-1:-1;20016:4:0;19867:159;;;;;:::o;18923:94::-;18999:12;;18923:94;:::o;31122:201::-;31177:10;31219:1;31202:14;:12;:14::i;:::-;:18;31199:116;;;31230:85;31301:13;:11;:13::i;:::-;31230:52;31263:18;31273:7;31263:9;:18::i;:::-;31230:14;:12;:14::i;:::-;:32;:52;:32;:52;:::i;:::-;:70;:85;:70;:85;:::i;:::-;31222:93;;31199:116;31122:201;;;:::o;20465:307::-;20571:4;20584:36;20594:6;20602:9;20613:6;20584:9;:36::i;:::-;20627:121;20636:6;20644:12;:10;:12::i;:::-;20658:89;20696:6;20658:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20658:19:0;;;;;;:11;:19;;;;;;20678:12;:10;:12::i;:::-;-1:-1:-1;;;;;20658:33:0;;;;;;;;;;;;-1:-1:-1;20658:33:0;;;;:37;:89::i;:::-;20627:8;:121::i;:::-;-1:-1:-1;20762:4:0;20465:307;;;;;:::o;30347:613::-;30455:10;30394:9;30438:28;;;:16;:28;;;;;;30470:12;30438:44;;30416:131;;;;-1:-1:-1;;;30416:131:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30576:18;:16;:18::i;:::-;30566:6;:28;;30558:74;;;;-1:-1:-1;;;30558:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30650:45;30680:14;:12;:14::i;:::-;30650:25;30661:13;:11;:13::i;:::-;30650:6;;:25;:10;:25;:::i;:45::-;30643:52;;30722:21;30732:10;30722:9;:21::i;:::-;30714:4;:29;;30706:67;;;;;-1:-1:-1;;;30706:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;30799:1;30792:4;:8;30784:46;;;;;-1:-1:-1;;;30784:46:0;;;;;;;;;;;;-1:-1:-1;;;30784:46:0;;;;;;;;;;;;;;;30841:23;30847:10;30859:4;30841:5;:23::i;:::-;30880:34;;;;;;;;;;;;;;30889:10;;30880:34;;;;;;;;30925:27;;:10;;:27;;;;;30945:6;;30925:27;;;;30945:6;30925:10;:27;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;30925:27:0;30347:613;;;:::o;28885:169::-;28940:9;28969;:7;:9::i;:::-;28962:16;;29005:7;28997:4;:15;;28989:57;;;;;-1:-1:-1;;;28989:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;18789:77;18851:9;;;;18789:77;:::o;21146:208::-;21234:4;21247:83;21256:12;:10;:12::i;:::-;21270:7;21279:50;21318:10;21279:11;:25;21291:12;:10;:12::i;:::-;-1:-1:-1;;;;;21279:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;21279:25:0;;;:34;;;;;;;;;;;:38;:50::i;29980:182::-;30041:9;30070:16;30079:6;30070:8;:16::i;:::-;30063:23;;30113:7;30105:4;:15;;30097:57;;;;;-1:-1:-1;;;30097:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;31839:190;26880:12;:10;:12::i;:::-;26870:6;;-1:-1:-1;;;;;26870:22:0;;;:6;;:22;26862:67;;;;;-1:-1:-1;;;26862:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26862:67:0;;;;;;;;;;;;;;;31929:6:::1;31913:12;;:22;;31905:66;;;::::0;;-1:-1:-1;;;31905:66:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;31997:12;::::0;:24:::1;::::0;32014:6;31997:24:::1;:16;:24;:::i;:::-;31982:12;:39:::0;-1:-1:-1;31839:190:0:o;27983:24::-;;;;:::o;19072:113::-;-1:-1:-1;;;;;19161:18:0;19138:7;19161:18;;;-1:-1:-1;19161:18:0;;;;;;;19072:113::o;27300:148::-;26880:12;:10;:12::i;:::-;26870:6;;-1:-1:-1;;;;;26870:22:0;;;:6;;:22;26862:67;;;;;-1:-1:-1;;;26862:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26862:67:0;;;;;;;;;;;;;;;27407:1:::1;27391:6:::0;;27370:40:::1;::::0;-1:-1:-1;;;;;27391:6:0;;::::1;::::0;27370:40:::1;::::0;27407:1;;27370:40:::1;27438:1;27421:19:::0;;-1:-1:-1;;;;;;27421:19:0::1;::::0;;27300:148::o;26658:79::-;26696:7;26723:6;-1:-1:-1;;;;;26723:6:0;;26658:79::o;18108:81::-;18176:7;18169:14;;;;;;;;;;;;;-1:-1:-1;;18169:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;18147:13;;18169:14;;18176:7;;18169:14;;;18176:7;18169:14;;;;;;;;;;;;;;;;;;;;;;;;21816:259;21909:4;21922:129;21931:12;:10;:12::i;:::-;21945:7;21954:96;21993:15;21954:96;;;;;;;;;;;;;;;;;:11;:25;21966:12;:10;:12::i;:::-;-1:-1:-1;;;;;21954:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;21954:25:0;;;:34;;;;;;;;;;;;:38;:96::i;19375:165::-;19461:4;19474:42;19484:12;:10;:12::i;:::-;19498:9;19509:6;19474:9;:42::i;28302:124::-;28351:12;28386:32;28405:12;;28386:14;:12;:14::i;:::-;:18;:32;:18;:32;:::i;:::-;28376:42;;28302:124;:::o;28554:118::-;28643:21;;28554:118::o;29203:531::-;29285:10;29246:9;29268:28;;;:16;:28;;;;;29299:12;29268:43;;29342:7;:5;:7::i;:::-;-1:-1:-1;;;;;29331:41:0;;:43;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;29331:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;29331:43:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;29331:43:0;29330:44;29322:69;;;;;-1:-1:-1;;;29322:69:0;;;;;;;;;;;;-1:-1:-1;;;29322:69:0;;;;;;;;;;;;;;;29405:33;29423:14;:12;:14::i;:::-;29405:13;:11;:13::i;:33::-;29402:181;;29465:19;:9;29479:4;29465:19;:13;:19;:::i;:::-;29458:26;;29402:181;;;29520:63;29553:29;29572:9;29553:14;:12;:14::i;:29::-;29520:28;29534:13;:11;:13::i;:::-;29520:9;;:28;:13;:28;:::i;:63::-;29513:70;;29402:181;29609:1;29602:4;:8;29594:46;;;;;-1:-1:-1;;;29594:46:0;;;;;;;;;;;;-1:-1:-1;;;29594:46:0;;;;;;;;;;;;;;;29656:36;;;29676:9;29656:36;;;;;;;;;;29664:10;;29656:36;;;;;;;;29703:23;29709:10;29721:4;29703:5;:23::i;32226:221::-;26880:12;:10;:12::i;:::-;26870:6;;-1:-1:-1;;;;;26870:22:0;;;:6;;:22;26862:67;;;;;-1:-1:-1;;;26862:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26862:67:0;;;;;;;;;;;;;;;32334:6:::1;32318:12;;:22;;32310:66;;;::::0;;-1:-1:-1;;;32310:66:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;32387:12;:22:::0;;;;::::1;::::0;;32420:19:::1;::::0;-1:-1:-1;;;;;32420:11:0;::::1;::::0;:19:::1;::::0;::::1;;::::0;32387:22;;-1:-1:-1;32420:19:0;-1:-1:-1;32420:19:0;32387:22;32420:11;:19;::::1;;;;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;32420:19:0;32226:221:::0;;:::o;31453:252::-;26880:12;:10;:12::i;:::-;26870:6;;-1:-1:-1;;;;;26870:22:0;;;:6;;:22;26862:67;;;;;-1:-1:-1;;;26862:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26862:67:0;;;;;;;;;;;;;;;31594:1:::1;31539:52;31576:14;:12;:14::i;:::-;31539:32;31568:2;31539:24;31556:6;31539:12;;:16;;:24;;;;:::i;:52::-;:56;31517:130;;;;-1:-1:-1::0;;;31517:130:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31673:12;::::0;:24:::1;::::0;31690:6;31673:24:::1;:16;:24;:::i;19595:145::-:0;-1:-1:-1;;;;;19707:18:0;;;19684:7;19707:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;19595:145::o;27603:244::-;26880:12;:10;:12::i;:::-;26870:6;;-1:-1:-1;;;;;26870:22:0;;;:6;;:22;26862:67;;;;;-1:-1:-1;;;26862:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26862:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;27692:22:0;::::1;27684:73;;;;-1:-1:-1::0;;;27684:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27794:6;::::0;;27773:38:::1;::::0;-1:-1:-1;;;;;27773:38:0;;::::1;::::0;27794:6;::::1;::::0;27773:38:::1;::::0;::::1;27822:6;:17:::0;;-1:-1:-1;;;;;;27822:17:0::1;-1:-1:-1::0;;;;;27822:17:0;;;::::1;::::0;;;::::1;::::0;;27603:244::o;16737:100::-;16821:10;16737:100;:::o;24770:332::-;-1:-1:-1;;;;;24868:19:0;;24860:68;;;;-1:-1:-1;;;24860:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24943:21:0;;24935:68;;;;-1:-1:-1;;;24935:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25016:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;25064:32;;;;;;;;;;;;;;;;;24770:332;;;:::o;4230:481::-;4288:7;4537:6;4533:49;;-1:-1:-1;4568:1:0;4561:8;;4533:49;4607:5;;;4611:1;4607;:5;:1;4632:5;;;;;:10;4624:56;;;;-1:-1:-1;;;4624:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4701:1;4230:481;-1:-1:-1;;;4230:481:0:o;5191:134::-;5249:7;5277:39;5281:1;5284;5277:39;;;;;;;;;;;;;;;;;:3;:39::i;22524:521::-;-1:-1:-1;;;;;22626:20:0;;22618:70;;;;-1:-1:-1;;;22618:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22703:23:0;;22695:71;;;;-1:-1:-1;;;22695:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22779:47;22800:6;22808:9;22819:6;22779:20;:47::i;:::-;22859:71;22881:6;22859:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22859:17:0;;;;;;-1:-1:-1;22859:17:0;;;;;;;;:21;:71::i;:::-;-1:-1:-1;;;;;22839:17:0;;;;;;;-1:-1:-1;22839:17:0;;;;;;:91;;;;22960:20;;;;;;;:32;;22985:6;22960:24;:32::i;:::-;-1:-1:-1;;;;;22937:20:0;;;;;;;-1:-1:-1;22937:20:0;;;;;;;;;:55;;;;23004:35;;;;;;;22937:20;;23004:35;;;;;;;;;;;;;22524:521;;;:::o;3773:196::-;3859:7;3896:12;3888:6;;;;3880:29;;;;-1:-1:-1;;;3880:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;3880:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;3933:5:0;;;3773:196::o;23964:404::-;-1:-1:-1;;;;;24044:21:0;;24036:67;;;;-1:-1:-1;;;24036:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24116:49;24137:7;24154:1;24158:6;24116:20;:49::i;:::-;24199:68;24222:6;24199:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24199:18:0;;;;;;-1:-1:-1;24199:18:0;;;;;;;;:22;:68::i;:::-;-1:-1:-1;;;;;24178:18:0;;;;;;-1:-1:-1;24178:18:0;;;;;:89;24289:12;;:24;;24306:6;24289:16;:24::i;:::-;24274:12;:39;24325:37;;;;;;;;24351:1;;-1:-1:-1;;;;;24325:37:0;;;;;;;;;;;;23964:404;;:::o;2860:185::-;2918:7;2951:5;;;2976:6;;;;2968:46;;;;;-1:-1:-1;;;2968:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;3330:138;3388:7;3416:43;3420:1;3423;3416:43;;;;;;;;;;;;;;;;;:3;:43::i;23300:364::-;-1:-1:-1;;;;;23380:21:0;;23372:65;;;;;-1:-1:-1;;;23372:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23450:49;23479:1;23483:7;23492:6;23450:20;:49::i;:::-;23527:12;;:24;;23544:6;23527:24;:16;:24;:::i;:::-;23512:12;:39;-1:-1:-1;;;;;23579:18:0;;;;;;-1:-1:-1;23579:18:0;;;;;;:30;;23602:6;23579:22;:30::i;:::-;-1:-1:-1;;;;;23558:18:0;;;;;;-1:-1:-1;23558:18:0;;;;;;;;:51;;;;23621:37;;;;;;;23558:18;;;;23621:37;;;;;;;;;;23300:364;;:::o;5825:351::-;5911:7;6015:12;6008:5;6000:28;;;;-1:-1:-1;;;6000:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27:10;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;6000:28:0;;6040:9;6056:1;6052;:5;;;;;;;5825:351;-1:-1:-1;;;;;5825:351:0:o
Swarm Source
ipfs://ddcf13eccecfb214793de4b36e6e313a129671951a4ec6ab9bd257d43c96b469
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.