Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| - | 11383043 | 1922 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
MinterAmm
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2020-12-04
*/
// File: @openzeppelin/contracts-ethereum-package/contracts/token/ERC20/IERC20.sol
pragma solidity ^0.6.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}
// File: @openzeppelin/contracts-ethereum-package/contracts/math/SafeMath.sol
pragma solidity ^0.6.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
* - Subtraction cannot overflow.
*/
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;
}
}
// File: @openzeppelin/contracts-ethereum-package/contracts/utils/Address.sol
pragma solidity ^0.6.2;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// According to EIP-1052, 0x0 is the value returned for not-yet created accounts
// and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
// for accounts without code, i.e. `keccak256('')`
bytes32 codehash;
bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
// solhint-disable-next-line no-inline-assembly
assembly { codehash := extcodehash(account) }
return (codehash != accountHash && codehash != 0x0);
}
/**
* @dev 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");
}
}
// File: @openzeppelin/contracts-ethereum-package/contracts/token/ERC20/SafeERC20.sol
pragma solidity ^0.6.0;
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using SafeMath for uint256;
using Address for address;
function safeTransfer(IERC20 token, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
function safeApprove(IERC20 token, address spender, uint256 value) internal {
// safeApprove should only be called when setting an initial allowance,
// or when resetting it to zero. To increase and decrease it, use
// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
// solhint-disable-next-line max-line-length
require((value == 0) || (token.allowance(address(this), spender) == 0),
"SafeERC20: approve from non-zero to non-zero allowance"
);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
}
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 newAllowance = token.allowance(address(this), spender).add(value);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves.
// A Solidity high level call has three parts:
// 1. The target address is checked to verify it contains contract code
// 2. The call itself is made, and success asserted
// 3. The return value is decoded, which in turn checks the size of the returned data.
// solhint-disable-next-line max-line-length
require(address(token).isContract(), "SafeERC20: call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = address(token).call(data);
require(success, "SafeERC20: low-level call failed");
if (returndata.length > 0) { // Return data is optional
// solhint-disable-next-line max-line-length
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}
// File: @openzeppelin/contracts-ethereum-package/contracts/Initializable.sol
pragma solidity >=0.4.24 <0.7.0;
/**
* @title Initializable
*
* @dev Helper contract to support initializer functions. To use it, replace
* the constructor with a function that has the `initializer` modifier.
* WARNING: Unlike constructors, initializer functions must be manually
* invoked. This applies both to deploying an Initializable contract, as well
* as extending an Initializable contract via inheritance.
* WARNING: When used with inheritance, manual care must be taken to not invoke
* a parent initializer twice, or ensure that all initializers are idempotent,
* because this is not dealt with automatically as with constructors.
*/
contract Initializable {
/**
* @dev Indicates that the contract has been initialized.
*/
bool private initialized;
/**
* @dev Indicates that the contract is in the process of being initialized.
*/
bool private initializing;
/**
* @dev Modifier to use in the initializer function of a contract.
*/
modifier initializer() {
require(initializing || isConstructor() || !initialized, "Contract instance has already been initialized");
bool isTopLevelCall = !initializing;
if (isTopLevelCall) {
initializing = true;
initialized = true;
}
_;
if (isTopLevelCall) {
initializing = false;
}
}
/// @dev Returns true if and only if the function is running in the constructor
function isConstructor() private view returns (bool) {
// extcodesize checks the size of the code stored in an address, and
// address returns the current address. Since the code is still not
// deployed when running a constructor, any checks on its code size will
// yield zero, making it an effective way to detect if a contract is
// under construction or not.
address self = address(this);
uint256 cs;
assembly { cs := extcodesize(self) }
return cs == 0;
}
// Reserved storage space to allow for layout changes in the future.
uint256[50] private ______gap;
}
// File: @openzeppelin/contracts-ethereum-package/contracts/GSN/Context.sol
pragma solidity ^0.6.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with GSN meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
contract ContextUpgradeSafe is Initializable {
// Empty internal constructor, to prevent people from mistakenly deploying
// an instance of this contract, which should be used via inheritance.
function __Context_init() internal initializer {
__Context_init_unchained();
}
function __Context_init_unchained() internal initializer {
}
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;
}
uint256[50] private __gap;
}
// File: @openzeppelin/contracts-ethereum-package/contracts/token/ERC20/ERC20.sol
pragma solidity ^0.6.0;
/**
* @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 {ERC20MinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* We have followed general OpenZeppelin guidelines: functions revert instead
* of returning `false` on failure. This behavior is nonetheless conventional
* and does not conflict with the expectations of ERC20 applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20UpgradeSafe is Initializable, ContextUpgradeSafe, 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.
*/
function __ERC20_init(string memory name, string memory symbol) internal initializer {
__Context_init_unchained();
__ERC20_init_unchained(name, symbol);
}
function __ERC20_init_unchained(string memory name, string memory symbol) internal initializer {
_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 { }
uint256[44] private __gap;
}
// File: @openzeppelin/contracts-ethereum-package/contracts/access/Ownable.sol
pragma solidity ^0.6.0;
/**
* @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.
*/
contract OwnableUpgradeSafe is Initializable, ContextUpgradeSafe {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
function __Ownable_init() internal initializer {
__Context_init_unchained();
__Ownable_init_unchained();
}
function __Ownable_init_unchained() internal initializer {
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;
}
uint256[49] private __gap;
}
// File: @chainlink/contracts/src/v0.6/interfaces/AggregatorV3Interface.sol
pragma solidity >=0.6.0;
interface AggregatorV3Interface {
function decimals() external view returns (uint8);
function description() external view returns (string memory);
function version() external view returns (uint256);
// getRoundData and latestRoundData should both raise "No data present"
// if they do not have data to report, instead of returning unset values
// which could be misinterpreted as actual reported values.
function getRoundData(uint80 _roundId)
external
view
returns (
uint80 roundId,
int256 answer,
uint256 startedAt,
uint256 updatedAt,
uint80 answeredInRound
);
function latestRoundData()
external
view
returns (
uint80 roundId,
int256 answer,
uint256 startedAt,
uint256 updatedAt,
uint80 answeredInRound
);
}
// File: contracts/token/ISimpleToken.sol
pragma solidity 0.6.12;
/** Interface for any Siren SimpleToken
*/
interface ISimpleToken is IERC20 {
function initialize(
string memory name,
string memory symbol,
uint8 decimals
) external;
function mint(address to, uint256 amount) external;
function burn(address account, uint256 amount) external;
function selfDestructToken(address payable refundAddress) external;
}
// File: contracts/market/IMarket.sol
pragma solidity 0.6.12;
/** Interface for any Siren Market
*/
interface IMarket {
/** Tracking the different states of the market */
enum MarketState {
/**
* New options can be created
* Redemption token holders can redeem their options for collateral
* Collateral token holders can't do anything
*/
OPEN,
/**
* No new options can be created
* Redemption token holders can't do anything
* Collateral tokens holders can re-claim their collateral
*/
EXPIRED,
/**
* 180 Days after the market has expired, it will be set to a closed state.
* Once it is closed, the owner can sweep any remaining tokens and destroy the contract
* No new options can be created
* Redemption token holders can't do anything
* Collateral tokens holders can't do anything
*/
CLOSED
}
/** Specifies the manner in which options can be redeemed */
enum MarketStyle {
/**
* Options can only be redeemed 30 minutes prior to the option's expiration date
*/
EUROPEAN_STYLE,
/**
* Options can be redeemed any time between option creation
* and the option's expiration date
*/
AMERICAN_STYLE
}
function state() external view returns (MarketState);
function mintOptions(uint256 collateralAmount) external;
function calculatePaymentAmount(uint256 collateralAmount)
external
view
returns (uint256);
function calculateFee(uint256 amount, uint16 basisPoints)
external
pure
returns (uint256);
function exerciseOption(uint256 collateralAmount) external;
function claimCollateral(uint256 collateralAmount) external;
function closePosition(uint256 collateralAmount) external;
function recoverTokens(IERC20 token) external;
function selfDestructMarket(address payable refundAddress) external;
function updateRestrictedMinter(address _restrictedMinter) external;
function marketName() external view returns (string memory);
function priceRatio() external view returns (uint256);
function expirationDate() external view returns (uint256);
function collateralToken() external view returns (IERC20);
function wToken() external view returns (ISimpleToken);
function bToken() external view returns (ISimpleToken);
function updateImplementation(address newImplementation) external;
function initialize(
string calldata _marketName,
address _collateralToken,
address _paymentToken,
MarketStyle _marketStyle,
uint256 _priceRatio,
uint256 _expirationDate,
uint16 _exerciseFeeBasisPoints,
uint16 _closeFeeBasisPoints,
uint16 _claimFeeBasisPoints,
address _tokenImplementation
) external;
}
// File: contracts/market/IMarketsRegistry.sol
pragma solidity 0.6.12;
/** Interface for any Siren MarketsRegistry
*/
interface IMarketsRegistry {
// function state() external view returns (MarketState);
function markets(string calldata marketName)
external
view
returns (address);
function getMarketsByAssetPair(bytes32 assetPair)
external
view
returns (address[] memory);
function amms(bytes32 assetPair) external view returns (address);
function initialize(
address _tokenImplementation,
address _marketImplementation,
address _ammImplementation
) external;
function updateTokenImplementation(address newTokenImplementation) external;
function updateMarketImplementation(address newMarketImplementation)
external;
function updateAMMImplementation(address newAmmImplementation) external;
function updateMarketsRegistryImplementation(
address newMarketsRegistryImplementation
) external;
function createMarket(
string calldata _marketName,
address _collateralToken,
address _paymentToken,
IMarket.MarketStyle _marketStyle,
uint256 _priceRatio,
uint256 _expirationDate,
uint16 _exerciseFeeBasisPoints,
uint16 _closeFeeBasisPoints,
uint16 _claimFeeBasisPoints,
address _amm
) external returns (address);
function createAmm(
AggregatorV3Interface _priceOracle,
IERC20 _paymentToken,
IERC20 _collateralToken,
uint16 _tradeFeeBasisPoints,
bool _shouldInvertOraclePrice
) external returns (address);
function selfDestructMarket(IMarket market, address payable refundAddress)
external;
function updateImplementationForMarket(
IMarket market,
address newMarketImplementation
) external;
function recoverTokens(IERC20 token, address destination) external;
}
// File: contracts/proxy/Proxiable.sol
pragma solidity 0.6.12;
contract Proxiable {
// Code position in storage is keccak256("PROXIABLE") = "0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7"
uint256 constant PROXY_MEM_SLOT = 0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7;
event CodeAddressUpdated(address newAddress);
function _updateCodeAddress(address newAddress) internal {
require(
bytes32(PROXY_MEM_SLOT) == Proxiable(newAddress).proxiableUUID(),
"Not compatible"
);
assembly {
// solium-disable-line
sstore(PROXY_MEM_SLOT, newAddress)
}
emit CodeAddressUpdated(newAddress);
}
function getLogicAddress() public view returns (address logicAddress) {
assembly {
// solium-disable-line
logicAddress := sload(PROXY_MEM_SLOT)
}
}
function proxiableUUID() public pure returns (bytes32) {
return bytes32(PROXY_MEM_SLOT);
}
}
// File: contracts/proxy/Proxy.sol
pragma solidity 0.6.12;
contract Proxy {
// Code position in storage is keccak256("PROXIABLE") = "0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7"
uint256 constant PROXY_MEM_SLOT = 0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7;
constructor(address contractLogic) public {
// Verify a valid address was passed in
require(contractLogic != address(0), "Contract Logic cannot be 0x0");
// save the code address
assembly {
// solium-disable-line
sstore(PROXY_MEM_SLOT, contractLogic)
}
}
fallback() external payable {
assembly {
// solium-disable-line
let contractLogic := sload(PROXY_MEM_SLOT)
let ptr := mload(0x40)
calldatacopy(ptr, 0x0, calldatasize())
let success := delegatecall(
gas(),
contractLogic,
ptr,
calldatasize(),
0,
0
)
let retSz := returndatasize()
returndatacopy(ptr, 0, retSz)
switch success
case 0 {
revert(ptr, retSz)
}
default {
return(ptr, retSz)
}
}
}
}
// File: contracts/libraries/Math.sol
pragma solidity 0.6.12;
// a library for performing various math operations
library Math {
// babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
function sqrt(uint256 y) internal pure returns (uint256 z) {
if (y > 3) {
z = y;
uint256 x = y / 2 + 1;
while (x < z) {
z = x;
x = (y / x + x) / 2;
}
} else if (y != 0) {
z = 1;
}
}
function min(uint256 a, uint256 b) internal pure returns (uint256) {
if (a < b) return a;
return b;
}
}
// File: contracts/amm/InitializeableAmm.sol
pragma solidity 0.6.12;
interface InitializeableAmm {
function initialize(
IMarketsRegistry _registry,
AggregatorV3Interface _priceOracle,
IERC20 _paymentToken,
IERC20 _collateralToken,
address _tokenImplementation,
uint16 _tradeFeeBasisPoints,
bool _shouldInvertOraclePrice
) external;
function transferOwnership(address newOwner) external;
}
// File: contracts/amm/MinterAmm.sol
pragma solidity 0.6.12;
/**
This is an implementation of a minting/redeeming AMM that trades a list of markets with the same
collateral and payment assets. For example, a single AMM contract can trade all strikes of WBTC/USDC calls
It uses on-chain Black-Scholes approximation and an Oracle price feed to calculate price of an option.
It then uses this price to bootstrap a constant product bonding curve to calculate slippage for a particular trade
given the amount of liquidity in the pool.
External users can buy bTokens with collateral (wToken trading is disabled in this version).
When they do this, the AMM will mint new bTokens and wTokens, sell off the side the user doesn't want,
and return value to the user.
External users can sell bTokens for collateral. When they do this, the AMM will sell a partial amount of assets
to get a 50/50 split between bTokens and wTokens, then redeem them for collateral and send back to the user.
LPs can provide collateral for liquidity. All collateral will be used to mint bTokens/wTokens for each trade.
They will be given a corresponding amount of lpTokens to track ownership. The amount of lpTokens is calculated based on
total pool value which includes collateral token, payment token, active b/wTokens and expired/unclaimed b/wTokens
LPs can withdraw collateral from liquidity. When withdrawing user can specify if they want their pro-rata b/wTokens
to be automatically sold to the pool for collateral. If the chose not to sell then they get pro-rata of all tokens
in the pool (collateral, payment, bToken, wToken). If they chose to sell then their bTokens and wTokens will be sold
to the pool for collateral incurring slippage.
All expired unclaimed wTokens are automatically claimed on each deposit or withdrawal
All conversions between bToken and wToken in the AMM will generate fees that will be send to the protocol fees pool
(disabled in this version)
*/
contract MinterAmm is InitializeableAmm, OwnableUpgradeSafe, Proxiable {
/** Use safe ERC20 functions for any token transfers since people don't follow the ERC20 standard */
using SafeERC20 for IERC20;
using SafeERC20 for ISimpleToken;
/** Use safe math for uint256 */
using SafeMath for uint256;
/** @dev The token contract that will track lp ownership of the AMM */
ISimpleToken public lpToken;
/** @dev The ERC20 tokens used by all the Markets associated with this AMM */
IERC20 public collateralToken;
IERC20 public paymentToken;
uint8 internal collateralDecimals;
uint8 internal paymentDecimals;
/** @dev The registry which the AMM will use to lookup individual Markets */
IMarketsRegistry public registry;
/** @dev The oracle used to fetch the most recent on-chain price of the collateralToken */
AggregatorV3Interface internal priceOracle;
/** @dev a factor used in price oracle calculation that takes into account the decimals of
* the payment and collateral token
*/
uint256 internal paymentAndCollateralConversionFactor;
/** @dev Chainlink does not give inverse price pairs (i.e. it only gives a BTC / USD price of $14000, not
* a USD / BTC price of 1 / 14000. Sidenote: yes it is confusing that their BTC / USD price is actually in
* the inverse units of USD per BTC... but here we are!). So the initializer needs to specify if the price
* oracle's units match the AMM's price calculation units (in which case shouldInvertOraclePrice == false).
*
* Example: If collateralToken == WBTC, and paymentToken = USDC, and we're using the Chainlink price oracle
* with the .description() == 'BTC / USD', and latestAnswer = 1400000000000 ($14000) then
* shouldInvertOraclePrice should equal false. If the collateralToken and paymentToken variable values are
* switched, and we're still using the price oracle 'BTC / USD' (because remember, there is no inverse price
* oracle) then shouldInvertOraclePrice should equal true.
*/
bool internal shouldInvertOraclePrice;
/** @dev Fees on trading */
uint16 public tradeFeeBasisPoints;
/** Volatility factor used in the black scholes approximation - can be updated by the owner */
uint256 public volatilityFactor;
/** @dev Flag to ensure initialization can only happen once */
bool initialized = false;
/** @dev This is the keccak256 hash of the concatenation of the collateral and
* payment token address used to look up the markets in the registry
*/
bytes32 public assetPair;
/** Track whether enforcing deposit limits is turned on. The Owner can update this. */
bool public enforceDepositLimits;
/** Amount that accounts are allowed to deposit if enforcement is turned on */
uint256 public globalDepositLimit;
uint256 public constant MINIMUM_TRADE_SIZE = 1000;
/** Struct to track how whether user is allowed to deposit and the current amount they already have deposited */
struct LimitAmounts {
bool allowedToDeposit;
uint256 currentDeposit;
}
/**
* DISABLED: This variable is no longer being used, but is left it to support backwards compatibility of
* updating older contracts if needed. This variable can be removed once all historical contracts are updated.
* If this variable is removed and an existing contract is graded, it will corrupt the memory layout.
*
* Mapping to track deposit limits.
* This is intended to be a temporary feature and will only count amounts deposited by an LP.
* If they withdraw collateral, it will not be subtracted from their current deposit limit to
* free up collateral that they can deposit later.
*/
mapping(address => LimitAmounts) public collateralDepositLimits;
/** Emitted when the owner updates the enforcement flag */
event EnforceDepositLimitsUpdated(bool isEnforced, uint256 globalLimit);
/** Emitted when a deposit allowance is updated */
event DepositAllowedUpdated(address lpAddress, bool allowed);
/** Emitted when the amm is created */
event AMMInitialized(ISimpleToken lpToken, address priceOracle);
/** Emitted when an LP deposits collateral */
event LPTokensMinted(
address minter,
uint256 collateralAdded,
uint256 lpTokensMinted
);
/** Emitted when an LP withdraws collateral */
event LPTokensBurned(
address redeemer,
uint256 collateralRemoved,
uint256 paymentRemoved,
uint256 lpTokensBurned
);
/** Emitted when a user buys bTokens from the AMM*/
event BTokensBought(
address buyer,
uint256 bTokensBought,
uint256 collateralPaid
);
/** Emitted when a user sells bTokens to the AMM */
event BTokensSold(
address seller,
uint256 bTokensSold,
uint256 collateralPaid
);
/** Emitted when a user buys wTokens from the AMM*/
event WTokensBought(
address buyer,
uint256 wTokensBought,
uint256 collateralPaid
);
/** Emitted when a user sells wTokens to the AMM */
event WTokensSold(
address seller,
uint256 wTokensSold,
uint256 collateralPaid
);
/** Emitted when the owner updates volatilityFactor */
event VolatilityFactorUpdated(uint256 newVolatilityFactor);
/** @dev Require minimum trade size to prevent precision errors at low values */
modifier minTradeSize(uint256 tradeSize) {
require(tradeSize >= MINIMUM_TRADE_SIZE, "Trade below min size");
_;
}
function transferOwnership(address newOwner) public override(InitializeableAmm, OwnableUpgradeSafe) {
super.transferOwnership(newOwner);
}
/** Initialize the contract, and create an lpToken to track ownership */
function initialize(
IMarketsRegistry _registry,
AggregatorV3Interface _priceOracle,
IERC20 _paymentToken,
IERC20 _collateralToken,
address _tokenImplementation,
uint16 _tradeFeeBasisPoints,
bool _shouldInvertOraclePrice
) public override {
require(address(_registry) != address(0x0), "Invalid _registry");
require(address(_priceOracle) != address(0x0), "Invalid _priceOracle");
require(address(_paymentToken) != address(0x0), "Invalid _paymentToken");
require(address(_collateralToken) != address(0x0), "Invalid _collateralToken");
require(address(_collateralToken) != address(_paymentToken), "_collateralToken cannot equal _paymentToken");
require(_tokenImplementation != address(0x0), "Invalid _tokenImplementation");
// Enforce initialization can only happen once
require(!initialized, "Contract can only be initialized once.");
initialized = true;
// Save off state variables
registry = _registry;
// Note! Here we're making an assumption that the _priceOracle argument
// is for a price whose units are the same as the collateralToken and
// paymentToken used in this AMM. If they are not then horrible undefined
// behavior will ensue!
priceOracle = _priceOracle;
tradeFeeBasisPoints = _tradeFeeBasisPoints;
// Save off market tokens
collateralToken = _collateralToken;
paymentToken = _paymentToken;
assetPair = keccak256(abi.encode(address(collateralToken), address(paymentToken)));
ERC20UpgradeSafe erc20CollateralToken = ERC20UpgradeSafe(
address(collateralToken)
);
ERC20UpgradeSafe erc20PaymentToken = ERC20UpgradeSafe(
address(paymentToken)
);
collateralDecimals = erc20CollateralToken.decimals();
paymentDecimals = erc20PaymentToken.decimals();
// set the conversion factor used when calculating the current collateral price
// using the price value from the oracle
paymentAndCollateralConversionFactor = uint256(1e18)
.mul(uint256(10)**paymentDecimals)
.div(uint256(10)**collateralDecimals);
shouldInvertOraclePrice = _shouldInvertOraclePrice;
if (_shouldInvertOraclePrice) {
paymentAndCollateralConversionFactor = paymentAndCollateralConversionFactor
.mul(uint256(10)**priceOracle.decimals());
} else {
paymentAndCollateralConversionFactor = paymentAndCollateralConversionFactor
.div(uint256(10)**priceOracle.decimals());
}
// Create the lpToken and initialize it
Proxy lpTokenProxy = new Proxy(_tokenImplementation);
lpToken = ISimpleToken(address(lpTokenProxy));
// AMM name will be <collateralToken>-<paymentToken>, e.g. WBTC-USDC
string memory ammName = string(
abi.encodePacked(
erc20CollateralToken.symbol(),
"-",
erc20PaymentToken.symbol()
)
);
string memory lpTokenName = string(abi.encodePacked("LP-", ammName));
lpToken.initialize(lpTokenName, lpTokenName, collateralDecimals);
// Set default volatility
// 0.4 * volInSeconds * 1e18
volatilityFactor = 4000e10;
__Ownable_init();
emit AMMInitialized(lpToken, address(priceOracle));
}
/** The owner can set the flag to enforce deposit limits */
function setEnforceDepositLimits(
bool _enforceDepositLimits,
uint256 _globalDepositLimit
) public onlyOwner {
enforceDepositLimits = _enforceDepositLimits;
globalDepositLimit = _globalDepositLimit;
emit EnforceDepositLimitsUpdated(
enforceDepositLimits,
_globalDepositLimit
);
}
/**
* DISABLED: This feature has been disabled but left in for backwards compatibility.
* Instead of allowing individual caps, there will be a global cap for deposited liquidity.
*
* The owner can update limits on any addresses
*/
function setCapitalDepositLimit(
address[] memory lpAddresses,
bool[] memory allowedToDeposit
) public onlyOwner {
// Feature is disabled
require(
false,
"Feature not supported"
);
require(
lpAddresses.length == allowedToDeposit.length,
"Invalid arrays"
);
for (uint256 i = 0; i < lpAddresses.length; i++) {
collateralDepositLimits[lpAddresses[i]]
.allowedToDeposit = allowedToDeposit[i];
emit DepositAllowedUpdated(lpAddresses[i], allowedToDeposit[i]);
}
}
/** The owner can set the volatility factor used to price the options */
function setVolatilityFactor(uint256 _volatilityFactor) public onlyOwner {
// Check lower bounds: 500e10 corresponds to ~7% annualized volatility
require(_volatilityFactor > 500e10, "VolatilityFactor is too low");
volatilityFactor = _volatilityFactor;
emit VolatilityFactorUpdated(_volatilityFactor);
}
/**
* The owner can update the contract logic address in the proxy itself to upgrade
*/
function updateAMMImplementation(address newAmmImplementation)
public
onlyOwner
{
require(newAmmImplementation != address(0x0), "Invalid newAmmImplementation");
// Call the proxiable update
_updateCodeAddress(newAmmImplementation);
}
/**
* Ensure the value in the AMM is not over the limit. Revert if so.
*/
function enforceDepositLimit() internal view {
// If deposit limits are enabled, track and limit
if (enforceDepositLimits) {
// Do not allow open markets over the TVL
require(
getTotalPoolValue(false) <= globalDepositLimit,
"Pool over deposit limit"
);
}
}
/**
* LP allows collateral to be used to mint new options
* bTokens and wTokens will be held in this contract and can be traded back and forth.
* The amount of lpTokens is calculated based on total pool value
*/
function provideCapital(uint256 collateralAmount, uint256 lpTokenMinimum)
public
{
// Move collateral into this contract
collateralToken.safeTransferFrom(
msg.sender,
address(this),
collateralAmount
);
// If first LP, mint options, mint LP tokens, and send back any redemption amount
if (lpToken.totalSupply() == 0) {
// Ensure deposit limit is enforced
enforceDepositLimit();
// Mint lp tokens to the user
lpToken.mint(msg.sender, collateralAmount);
// Emit event
LPTokensMinted(msg.sender, collateralAmount, collateralAmount);
// Bail out after initial tokens are minted - nothing else to do
return;
}
// At any given moment the AMM can have the following reserves:
// * collateral token
// * active bTokens and wTokens for any market
// * expired bTokens and wTokens for any market
// * Payment token
// In order to calculate correct LP amount we do the following:
// 1. Claim expired wTokens
// 2. Add value of all active bTokens and wTokens at current prices
// 3. Add value of any payment token
// 4. Add value of collateral
claimAllExpiredTokens();
// Ensure deposit limit is enforced
enforceDepositLimit();
// Mint LP tokens - the percentage added to bTokens should be same as lp tokens added
uint256 lpTokenExistingSupply = lpToken.totalSupply();
uint256 poolValue = getTotalPoolValue(false);
uint256 lpTokensNewSupply = (poolValue).mul(lpTokenExistingSupply).div(
poolValue.sub(collateralAmount)
);
uint256 lpTokensToMint = lpTokensNewSupply.sub(lpTokenExistingSupply);
require(
lpTokensToMint >= lpTokenMinimum,
"provideCapital: Slippage exceeded"
);
lpToken.mint(msg.sender, lpTokensToMint);
// Emit event
emit LPTokensMinted(
msg.sender,
collateralAmount,
lpTokensToMint
);
}
/**
* LP can redeem their LP tokens in exchange for collateral
* If `sellTokens` is true pro-rata active b/wTokens will be sold to the pool in exchange for collateral
* All expired wTokens will be claimed
* LP will get pro-rata collateral and payment assets
* We return collateralTokenSent in order to give user ability to calculate the slippage via a call
*/
function withdrawCapital(
uint256 lpTokenAmount,
bool sellTokens,
uint256 collateralMinimum
) public {
require(
!sellTokens || collateralMinimum > 0,
"withdrawCapital: collateralMinimum must be set"
);
// First get starting numbers
uint256 redeemerCollateralBalance = collateralToken.balanceOf(
msg.sender
);
uint256 redeemerPaymentBalance = paymentToken.balanceOf(msg.sender);
// Get the lpToken supply
uint256 lpTokenSupply = lpToken.totalSupply();
// Burn the lp tokens
lpToken.burn(msg.sender, lpTokenAmount);
// Claim all expired wTokens
claimAllExpiredTokens();
// Send paymentTokens
uint256 paymentTokenBalance = paymentToken.balanceOf(address(this));
paymentToken.transfer(
msg.sender,
paymentTokenBalance.mul(lpTokenAmount).div(lpTokenSupply)
);
uint256 collateralTokenBalance = collateralToken.balanceOf(
address(this)
);
// Withdraw pro-rata collateral and payment tokens
// We withdraw this collateral here instead of at the end,
// because when we sell the residual tokens to the pool we want
// to exclude the withdrawn collateral
uint256 ammCollateralBalance = collateralTokenBalance.sub(
collateralTokenBalance.mul(lpTokenAmount).div(lpTokenSupply)
);
// Sell pro-rata active tokens or withdraw if no collateral left
ammCollateralBalance = _sellOrWithdrawActiveTokens(
lpTokenAmount,
lpTokenSupply,
msg.sender,
sellTokens,
ammCollateralBalance
);
// Send all accumulated collateralTokens
collateralToken.transfer(
msg.sender,
collateralTokenBalance.sub(ammCollateralBalance)
);
uint256 collateralTokenSent = collateralToken.balanceOf(msg.sender).sub(
redeemerCollateralBalance
);
require(
!sellTokens || collateralTokenSent >= collateralMinimum,
"withdrawCapital: Slippage exceeded"
);
// Emit the event
emit LPTokensBurned(
msg.sender,
collateralTokenSent,
paymentToken.balanceOf(msg.sender).sub(redeemerPaymentBalance),
lpTokenAmount
);
}
/**
* Takes any wTokens from expired Markets the AMM may have and converts
* them into collateral token which gets added to its liquidity pool
*/
function claimAllExpiredTokens() public {
address[] memory markets = getMarkets();
for (uint256 i = 0; i < markets.length; i++) {
IMarket optionMarket = IMarket(markets[i]);
if (optionMarket.state() == IMarket.MarketState.EXPIRED) {
uint256 wTokenBalance = optionMarket.wToken().balanceOf(
address(this)
);
if (wTokenBalance > 0) {
claimExpiredTokens(optionMarket, wTokenBalance);
}
}
}
}
/**
* Claims the wToken on a single expired Market. wTokenBalance should be equal to
* the amount of the expired Market's wToken owned by the AMM
*/
function claimExpiredTokens(IMarket optionMarket, uint256 wTokenBalance)
public
{
optionMarket.claimCollateral(wTokenBalance);
}
/**
* During liquidity withdrawal we either sell pro-rata active tokens back to the pool
* or withdraw them to the LP
*/
function _sellOrWithdrawActiveTokens(
uint256 lpTokenAmount,
uint256 lpTokenSupply,
address redeemer,
bool sellTokens,
uint256 collateralLeft
) internal returns (uint256) {
address[] memory markets = getMarkets();
for (uint256 i = 0; i < markets.length; i++) {
IMarket optionMarket = IMarket(markets[i]);
if (optionMarket.state() == IMarket.MarketState.OPEN) {
uint256 bTokenToSell = optionMarket
.bToken()
.balanceOf(address(this))
.mul(lpTokenAmount)
.div(lpTokenSupply);
uint256 wTokenToSell = optionMarket
.wToken()
.balanceOf(address(this))
.mul(lpTokenAmount)
.div(lpTokenSupply);
if (!sellTokens || lpTokenAmount == lpTokenSupply) {
// Full LP token withdrawal for the last LP in the pool
// or if auto-sale is disabled
if (bTokenToSell > 0) {
optionMarket.bToken().transfer(redeemer, bTokenToSell);
}
if (wTokenToSell > 0) {
optionMarket.wToken().transfer(redeemer, wTokenToSell);
}
} else {
// The LP sells their bToken and wToken to the AMM. The AMM
// pays the LP by reducing collateralLeft, which is what the
// AMM's collateral balance will be after executing this
// transaction (see MinterAmm.withdrawCapital to see where
// _sellOrWithdrawActiveTokens gets called)
uint256 collateralAmountB = bTokenGetCollateralOutInternal(
optionMarket,
bTokenToSell,
collateralLeft
);
// Note! It's possible that either of the two `.sub` calls
// below will underflow and return an error. This will only
// happen if the AMM does not have sufficient collateral
// balance to buy the bToken and wToken from the LP. If this
// happens, this transaction will revert with a
// "SafeMath: subtraction overflow" error
collateralLeft = collateralLeft.sub(collateralAmountB);
uint256 collateralAmountW = wTokenGetCollateralOutInternal(
optionMarket,
wTokenToSell,
collateralLeft
);
collateralLeft = collateralLeft.sub(collateralAmountW);
}
}
}
return collateralLeft;
}
/**
* Get value of all assets in the pool.
* Can specify whether to include the value of expired unclaimed tokens
*/
function getTotalPoolValue(bool includeUnclaimed)
public
view
returns (uint256)
{
address[] memory markets = getMarkets();
// Note! This function assumes the price obtained from the onchain oracle
// in getCurrentCollateralPrice is a valid market price in units of
// collateralToken/paymentToken. If the onchain price oracle's value
// were to drift from the true market price, then the bToken price
// we calculate here would also drift, and will result in undefined
// behavior for any functions which call getTotalPoolValue
uint256 collateralPrice = getCurrentCollateralPrice();
// First, determine the value of all residual b/wTokens
uint256 activeTokensValue = 0;
uint256 unclaimedTokensValue = 0;
for (uint256 i = 0; i < markets.length; i++) {
IMarket optionMarket = IMarket(markets[i]);
if (optionMarket.state() == IMarket.MarketState.OPEN) {
// value all active bTokens and wTokens at current prices
uint256 bPrice = getPriceForMarket(optionMarket);
// wPrice = 1 - bPrice
uint256 wPrice = uint256(1e18).sub(bPrice);
uint256 bTokenBalance = optionMarket.bToken().balanceOf(
address(this)
);
uint256 wTokenBalance = optionMarket.wToken().balanceOf(
address(this)
);
activeTokensValue = activeTokensValue.add(
bTokenBalance
.mul(bPrice)
.add(wTokenBalance.mul(wPrice))
.div(1e18)
);
} else if (
includeUnclaimed &&
optionMarket.state() == IMarket.MarketState.EXPIRED
) {
// Get pool wTokenBalance
uint256 wTokenBalance = optionMarket.wToken().balanceOf(
address(this)
);
uint256 wTokenSupply = optionMarket.wToken().totalSupply();
if (wTokenBalance == 0 || wTokenSupply == 0) continue;
// Get collateral token locked in the market
uint256 unclaimedCollateral = collateralToken
.balanceOf(address(optionMarket))
.mul(wTokenBalance)
.div(wTokenSupply);
// Get value of payment token locked in the market
uint256 unclaimedPayment = paymentToken
.balanceOf(address(optionMarket))
.mul(wTokenBalance)
.div(wTokenSupply)
.mul(1e18)
.div(collateralPrice);
unclaimedTokensValue = unclaimedTokensValue
.add(unclaimedCollateral)
.add(unclaimedPayment);
}
}
// value any payment token
uint256 paymentTokenValue = paymentToken
.balanceOf(address(this))
.mul(1e18)
.div(collateralPrice);
// Add collateral value
uint256 collateralBalance = collateralToken.balanceOf(address(this));
return
activeTokensValue
.add(unclaimedTokensValue)
.add(paymentTokenValue)
.add(collateralBalance);
}
/**
* Get unclaimed collateral and payment tokens locked in expired wTokens
*/
function getUnclaimedBalances() public view returns (uint256, uint256) {
address[] memory markets = getMarkets();
uint256 unclaimedCollateral = 0;
uint256 unclaimedPayment = 0;
for (uint256 i = 0; i < markets.length; i++) {
IMarket optionMarket = IMarket(markets[i]);
if (optionMarket.state() == IMarket.MarketState.EXPIRED) {
// Get pool wTokenBalance
uint256 wTokenBalance = optionMarket.wToken().balanceOf(
address(this)
);
uint256 wTokenSupply = optionMarket.wToken().totalSupply();
if (wTokenBalance == 0 || wTokenSupply == 0) continue;
// Get collateral token locked in the market
unclaimedCollateral = unclaimedCollateral.add(
collateralToken
.balanceOf(address(optionMarket))
.mul(wTokenBalance)
.div(wTokenSupply));
// Get payment token locked in the market
unclaimedPayment = unclaimedPayment.add(
paymentToken
.balanceOf(address(optionMarket))
.mul(wTokenBalance)
.div(wTokenSupply));
}
}
return (unclaimedCollateral, unclaimedPayment);
}
/**
* Calculate sale value of pro-rata LP b/wTokens
*/
function getTokensSaleValue(uint256 lpTokenAmount) public view returns (uint256) {
if (lpTokenAmount == 0) return 0;
uint256 lpTokenSupply = lpToken.totalSupply();
if (lpTokenSupply == 0) return 0;
address[] memory markets = getMarkets();
(uint256 unclaimedCollateral, ) = getUnclaimedBalances();
// Calculate amount of collateral left in the pool to sell tokens to
uint256 totalCollateral = unclaimedCollateral.add(collateralToken.balanceOf(address(this)));
// Subtract pro-rata collateral amount to be withdrawn
totalCollateral = totalCollateral.mul(lpTokenSupply.sub(lpTokenAmount)).div(lpTokenSupply);
// Given remaining collateral calculate how much all tokens can be sold for
uint256 collateralLeft = totalCollateral;
for (uint256 i = 0; i < markets.length; i++) {
IMarket optionMarket = IMarket(markets[i]);
if (optionMarket.state() == IMarket.MarketState.OPEN) {
uint256 bTokenToSell = optionMarket
.bToken()
.balanceOf(address(this))
.mul(lpTokenAmount)
.div(lpTokenSupply);
uint256 wTokenToSell = optionMarket
.wToken()
.balanceOf(address(this))
.mul(lpTokenAmount)
.div(lpTokenSupply);
uint256 collateralAmountB = bTokenGetCollateralOutInternal(
optionMarket,
bTokenToSell,
collateralLeft
);
collateralLeft = collateralLeft.sub(collateralAmountB);
uint256 collateralAmountW = wTokenGetCollateralOutInternal(
optionMarket,
wTokenToSell,
collateralLeft
);
collateralLeft = collateralLeft.sub(collateralAmountW);
}
}
return totalCollateral.sub(collateralLeft);
}
/**
* List of market addresses that this AMM trades
*/
function getMarkets() public view returns (address[] memory) {
return registry.getMarketsByAssetPair(assetPair);
}
/**
* Get market address by index
*/
function getMarket(uint256 marketIndex) public view returns (IMarket) {
return IMarket(getMarkets()[marketIndex]);
}
struct LocalVars {
uint256 bTokenBalance;
uint256 wTokenBalance;
uint256 toSquare;
uint256 collateralAmount;
uint256 collateralAfterFee;
uint256 bTokenAmount;
}
/**
* This function determines reserves of a bonding curve for a specific market.
* Given price of bToken we determine what is the largest pool we can create such that
* the ratio of its reserves satisfy the given bToken price: Rb / Rw = (1 - Pb) / Pb
*/
function getVirtualReserves(IMarket market)
public
view
returns (uint256, uint256)
{
return
getVirtualReservesInternal(
market,
collateralToken.balanceOf(address(this))
);
}
function getVirtualReservesInternal(
IMarket market,
uint256 collateralTokenBalance
) internal view returns (uint256, uint256) {
// Max amount of tokens we can get by adding current balance plus what can be minted from collateral
uint256 bTokenBalanceMax = market.bToken().balanceOf(address(this)).add(
collateralTokenBalance
);
uint256 wTokenBalanceMax = market.wToken().balanceOf(address(this)).add(
collateralTokenBalance
);
uint256 bTokenPrice = getPriceForMarket(market);
uint256 wTokenPrice = uint256(1e18).sub(bTokenPrice);
// Balance on higher reserve side is the sum of what can be minted (collateralTokenBalance)
// plus existing balance of the token
uint256 bTokenVirtualBalance;
uint256 wTokenVirtualBalance;
if (bTokenPrice <= wTokenPrice) {
// Rb >= Rw, Pb <= Pw
bTokenVirtualBalance = bTokenBalanceMax;
wTokenVirtualBalance = bTokenVirtualBalance.mul(bTokenPrice).div(
wTokenPrice
);
// Sanity check that we don't exceed actual physical balances
// In case this happens, adjust virtual balances to not exceed maximum
// available reserves while still preserving correct price
if (wTokenVirtualBalance > wTokenBalanceMax) {
wTokenVirtualBalance = wTokenBalanceMax;
bTokenVirtualBalance = wTokenVirtualBalance
.mul(wTokenPrice)
.div(bTokenPrice);
}
} else {
// if Rb < Rw, Pb > Pw
wTokenVirtualBalance = wTokenBalanceMax;
bTokenVirtualBalance = wTokenVirtualBalance.mul(wTokenPrice).div(
bTokenPrice
);
// Sanity check
if (bTokenVirtualBalance > bTokenBalanceMax) {
bTokenVirtualBalance = bTokenBalanceMax;
wTokenVirtualBalance = bTokenVirtualBalance
.mul(bTokenPrice)
.div(wTokenPrice);
}
}
return (bTokenVirtualBalance, wTokenVirtualBalance);
}
/**
* Get current collateral price expressed in payment token
*/
function getCurrentCollateralPrice() public view returns (uint256) {
// TODO: Cache the Oracle price within transaction
(, int256 latestAnswer, , , ) = priceOracle.latestRoundData();
require(latestAnswer >= 0, "invalid value received from price oracle");
if (shouldInvertOraclePrice) {
return
paymentAndCollateralConversionFactor.div(uint256(latestAnswer));
} else {
return
uint256(latestAnswer).mul(paymentAndCollateralConversionFactor);
}
}
/**
* @dev Get price of bToken for a given market
*/
function getPriceForMarket(IMarket market) public view returns (uint256) {
return
// Note! This function assumes the price obtained from the onchain oracle
// in getCurrentCollateralPrice is a valid market price in units of
// collateralToken/paymentToken. If the onchain price oracle's value
// were to drift from the true market price, then the bToken price
// we calculate here would also drift, and will result in undefined
// behavior for any functions which call getPriceForMarket
calcPrice(
market.expirationDate().sub(now),
market.priceRatio(),
getCurrentCollateralPrice(),
volatilityFactor
);
}
/**
* @dev Calculate price of bToken based on Black-Scholes approximation.
* Formula: 0.4 * ImplVol * sqrt(timeUntilExpiry) * currentPrice / strike
*/
function calcPrice(
uint256 timeUntilExpiry,
uint256 strike,
uint256 currentPrice,
uint256 volatility
) public pure returns (uint256) {
uint256 intrinsic = 0;
if (currentPrice > strike) {
intrinsic = currentPrice.sub(strike).mul(1e18).div(currentPrice);
}
uint256 timeValue = Math
.sqrt(timeUntilExpiry)
.mul(volatility)
.mul(currentPrice)
.div(strike);
return intrinsic.add(timeValue);
}
/**
* @dev Buy bToken of a given market.
* We supply market index instead of market address to ensure that only supported markets can be traded using this AMM
* collateralMaximum is used for slippage protection
*/
function bTokenBuy(
uint256 marketIndex,
uint256 bTokenAmount,
uint256 collateralMaximum
) public minTradeSize(bTokenAmount) returns (uint256) {
IMarket optionMarket = getMarket(marketIndex);
require(
optionMarket.state() == IMarket.MarketState.OPEN,
"bTokenBuy must be open"
);
uint256 collateralAmount = bTokenGetCollateralIn(
optionMarket,
bTokenAmount
);
require(
collateralAmount <= collateralMaximum,
"bTokenBuy: slippage exceeded"
);
// Move collateral into this contract
collateralToken.safeTransferFrom(
msg.sender,
address(this),
collateralAmount
);
// Mint new options only as needed
ISimpleToken bToken = optionMarket.bToken();
uint256 bTokenBalance = bToken.balanceOf(address(this));
if (bTokenBalance < bTokenAmount) {
// Approve the collateral to mint bTokenAmount of new options
collateralToken.approve(address(optionMarket), bTokenAmount);
optionMarket.mintOptions(bTokenAmount.sub(bTokenBalance));
}
// Send all bTokens back
bToken.transfer(msg.sender, bTokenAmount);
// Emit the event
emit BTokensBought(msg.sender, bTokenAmount, collateralAmount);
// Return the amount of collateral required to buy
return collateralAmount;
}
/**
* @dev Sell bToken of a given market.
* We supply market index instead of market address to ensure that only supported markets can be traded using this AMM
* collateralMaximum is used for slippage protection
*/
function bTokenSell(
uint256 marketIndex,
uint256 bTokenAmount,
uint256 collateralMinimum
) public minTradeSize(bTokenAmount) returns (uint256) {
IMarket optionMarket = getMarket(marketIndex);
require(
optionMarket.state() == IMarket.MarketState.OPEN,
"bTokenSell must be open"
);
// Get initial stats
bTokenAmount = bTokenAmount;
uint256 collateralAmount = bTokenGetCollateralOut(
optionMarket,
bTokenAmount
);
require(
collateralAmount >= collateralMinimum,
"bTokenSell: slippage exceeded"
);
// Move bToken into this contract
optionMarket.bToken().safeTransferFrom(
msg.sender,
address(this),
bTokenAmount
);
// Always be closing!
uint256 bTokenBalance = optionMarket.bToken().balanceOf(address(this));
uint256 wTokenBalance = optionMarket.wToken().balanceOf(address(this));
uint256 closeAmount = Math.min(bTokenBalance, wTokenBalance);
if (closeAmount > 0) {
optionMarket.closePosition(closeAmount);
}
// Send the tokens to the seller
collateralToken.transfer(msg.sender, collateralAmount);
// Emit the event
emit BTokensSold(msg.sender, bTokenAmount, collateralAmount);
// Return the amount of collateral received during sale
return collateralAmount;
}
/**
* @dev Calculate amount of collateral required to buy bTokens
*/
function bTokenGetCollateralIn(IMarket market, uint256 bTokenAmount)
public
view
returns (uint256)
{
// Shortcut for 0 amount
if (bTokenAmount == 0) return 0;
LocalVars memory vars; // Holds all our calculation results
// Get initial stats
vars.bTokenAmount = bTokenAmount;
(vars.bTokenBalance, vars.wTokenBalance) = getVirtualReserves(market);
uint256 sumBalance = vars.bTokenBalance.add(vars.wTokenBalance);
if (sumBalance > vars.bTokenAmount) {
vars.toSquare = sumBalance.sub(vars.bTokenAmount);
} else {
vars.toSquare = vars.bTokenAmount.sub(sumBalance);
}
vars.collateralAmount = Math
.sqrt(
vars.toSquare.mul(vars.toSquare).add(
vars.bTokenAmount.mul(vars.wTokenBalance).mul(4)
)
)
.add(vars.bTokenAmount)
.sub(vars.bTokenBalance)
.sub(vars.wTokenBalance)
.div(2);
return vars.collateralAmount;
}
/**
* @dev Calculate amount of collateral in exchange for selling bTokens
*/
function bTokenGetCollateralOut(IMarket market, uint256 bTokenAmount)
public
view
returns (uint256)
{
return
bTokenGetCollateralOutInternal(
market,
bTokenAmount,
collateralToken.balanceOf(address(this))
);
}
function bTokenGetCollateralOutInternal(
IMarket market,
uint256 bTokenAmount,
uint256 _collateralTokenBalance
) internal view returns (uint256) {
// Shortcut for 0 amount
if (bTokenAmount == 0) return 0;
(
uint256 bTokenBalance,
uint256 wTokenBalance
) = getVirtualReservesInternal(market, _collateralTokenBalance);
uint256 toSquare = bTokenAmount.add(bTokenBalance).add(wTokenBalance);
uint256 collateralAmount = toSquare
.sub(
Math.sqrt(
toSquare.mul(toSquare).sub(
bTokenAmount.mul(wTokenBalance).mul(4)
)
)
)
.div(2);
return collateralAmount;
}
/**
* @dev Calculate amount of collateral in exchange for selling wTokens
* This method is used internally when withdrawing liquidity with `sellTokens` set to true
*/
function wTokenGetCollateralOutInternal(
IMarket market,
uint256 wTokenAmount,
uint256 _collateralTokenBalance
) internal view returns (uint256) {
// Shortcut for 0 amount
if (wTokenAmount == 0) return 0;
(
uint256 bTokenBalance,
uint256 wTokenBalance
) = getVirtualReservesInternal(market, _collateralTokenBalance);
uint256 toSquare = wTokenAmount.add(wTokenBalance).add(bTokenBalance);
uint256 collateralAmount = toSquare
.sub(
Math.sqrt(
toSquare.mul(toSquare).sub(
wTokenAmount.mul(bTokenBalance).mul(4)
)
)
)
.div(2);
return collateralAmount;
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"contract ISimpleToken","name":"lpToken","type":"address"},{"indexed":false,"internalType":"address","name":"priceOracle","type":"address"}],"name":"AMMInitialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"bTokensBought","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"collateralPaid","type":"uint256"}],"name":"BTokensBought","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"uint256","name":"bTokensSold","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"collateralPaid","type":"uint256"}],"name":"BTokensSold","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newAddress","type":"address"}],"name":"CodeAddressUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"lpAddress","type":"address"},{"indexed":false,"internalType":"bool","name":"allowed","type":"bool"}],"name":"DepositAllowedUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isEnforced","type":"bool"},{"indexed":false,"internalType":"uint256","name":"globalLimit","type":"uint256"}],"name":"EnforceDepositLimitsUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"redeemer","type":"address"},{"indexed":false,"internalType":"uint256","name":"collateralRemoved","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"paymentRemoved","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lpTokensBurned","type":"uint256"}],"name":"LPTokensBurned","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"collateralAdded","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lpTokensMinted","type":"uint256"}],"name":"LPTokensMinted","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":"uint256","name":"newVolatilityFactor","type":"uint256"}],"name":"VolatilityFactorUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"wTokensBought","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"collateralPaid","type":"uint256"}],"name":"WTokensBought","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"uint256","name":"wTokensSold","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"collateralPaid","type":"uint256"}],"name":"WTokensSold","type":"event"},{"inputs":[],"name":"MINIMUM_TRADE_SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"assetPair","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"marketIndex","type":"uint256"},{"internalType":"uint256","name":"bTokenAmount","type":"uint256"},{"internalType":"uint256","name":"collateralMaximum","type":"uint256"}],"name":"bTokenBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMarket","name":"market","type":"address"},{"internalType":"uint256","name":"bTokenAmount","type":"uint256"}],"name":"bTokenGetCollateralIn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IMarket","name":"market","type":"address"},{"internalType":"uint256","name":"bTokenAmount","type":"uint256"}],"name":"bTokenGetCollateralOut","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"marketIndex","type":"uint256"},{"internalType":"uint256","name":"bTokenAmount","type":"uint256"},{"internalType":"uint256","name":"collateralMinimum","type":"uint256"}],"name":"bTokenSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"timeUntilExpiry","type":"uint256"},{"internalType":"uint256","name":"strike","type":"uint256"},{"internalType":"uint256","name":"currentPrice","type":"uint256"},{"internalType":"uint256","name":"volatility","type":"uint256"}],"name":"calcPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"claimAllExpiredTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMarket","name":"optionMarket","type":"address"},{"internalType":"uint256","name":"wTokenBalance","type":"uint256"}],"name":"claimExpiredTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"collateralDepositLimits","outputs":[{"internalType":"bool","name":"allowedToDeposit","type":"bool"},{"internalType":"uint256","name":"currentDeposit","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collateralToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enforceDepositLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentCollateralPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLogicAddress","outputs":[{"internalType":"address","name":"logicAddress","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"marketIndex","type":"uint256"}],"name":"getMarket","outputs":[{"internalType":"contract IMarket","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMarkets","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IMarket","name":"market","type":"address"}],"name":"getPriceForMarket","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"lpTokenAmount","type":"uint256"}],"name":"getTokensSaleValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"includeUnclaimed","type":"bool"}],"name":"getTotalPoolValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getUnclaimedBalances","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IMarket","name":"market","type":"address"}],"name":"getVirtualReserves","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"globalDepositLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IMarketsRegistry","name":"_registry","type":"address"},{"internalType":"contract AggregatorV3Interface","name":"_priceOracle","type":"address"},{"internalType":"contract IERC20","name":"_paymentToken","type":"address"},{"internalType":"contract IERC20","name":"_collateralToken","type":"address"},{"internalType":"address","name":"_tokenImplementation","type":"address"},{"internalType":"uint16","name":"_tradeFeeBasisPoints","type":"uint16"},{"internalType":"bool","name":"_shouldInvertOraclePrice","type":"bool"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lpToken","outputs":[{"internalType":"contract ISimpleToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paymentToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"collateralAmount","type":"uint256"},{"internalType":"uint256","name":"lpTokenMinimum","type":"uint256"}],"name":"provideCapital","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"registry","outputs":[{"internalType":"contract IMarketsRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"lpAddresses","type":"address[]"},{"internalType":"bool[]","name":"allowedToDeposit","type":"bool[]"}],"name":"setCapitalDepositLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enforceDepositLimits","type":"bool"},{"internalType":"uint256","name":"_globalDepositLimit","type":"uint256"}],"name":"setEnforceDepositLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_volatilityFactor","type":"uint256"}],"name":"setVolatilityFactor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tradeFeeBasisPoints","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAmmImplementation","type":"address"}],"name":"updateAMMImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"volatilityFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"lpTokenAmount","type":"uint256"},{"internalType":"bool","name":"sellTokens","type":"bool"},{"internalType":"uint256","name":"collateralMinimum","type":"uint256"}],"name":"withdrawCapital","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
6080604052609f805460ff1916905534801561001a57600080fd5b5061563c8061002a6000396000f3fe60806040523480156200001157600080fd5b5060043610620002685760003560e01c80637ef4ac19116200014d578063be77aca511620000c9578063ec2c90161162000087578063ec2c90161462000749578063f2fde38b14620007a5578063f368fa7814620007ce578063f557bbfe1462000829578063f67325ba14620008495762000268565b8063be77aca514620006c5578063c3bf70f114620006cf578063e023c84514620006f0578063e775eb4a146200071f578063eb44fdd314620007295762000268565b8063abd108ba1162000117578063abd108ba1462000537578063b016a9c21462000541578063b2016bd41462000585578063b5da681e146200058f578063bb736f4b14620006bb5762000268565b80637ef4ac1914620004a65780638da5cb5b14620004cf5780638f3f8c4014620004d957806391b3ef7a14620005085762000268565b806352d1902d11620001e9578063736525cf11620001a7578063736525cf14620004145780637b06271a146200041e5780637b10399914620004605780637d1eb004146200046a5780637e507742146200049c5762000268565b806352d1902d14620003aa5780635fcbd28514620003b4578063602d0efc14620003be5780637064a82a14620003ea578063715018a6146200040a5762000268565b80633013ce2911620002375780633013ce2914620002dd57806336d3b9c614620003035780633b26cf5c146200032e57806343907122146200035c5780634825701814620003845762000268565b806310082c75146200026d57806314beac2c14620002895780631a4d0e4814620002a75780631e0c929d14620002d3575b600080fd5b620002776200086b565b60408051918252519081900360200190f35b6200029362000871565b604080519115158252519081900360200190f35b6200027760048036036060811015620002bf57600080fd5b50803590602081013590604001356200087a565b6200027762000da3565b620002e762000da9565b604080516001600160a01b039092168252519081900360200190f35b6200032c600480360360208110156200031b57600080fd5b50356001600160a01b031662000db8565b005b6200032c600480360360608110156200034657600080fd5b5080359060208101351515906040013562000e7e565b6200032c600480360360408110156200037457600080fd5b508035151590602001356200149d565b6200032c600480360360408110156200039c57600080fd5b508035906020013562001552565b620002776200186d565b620002e762001881565b6200027760048036036060811015620003d657600080fd5b508035906020810135906040013562001890565b62000277600480360360208110156200040257600080fd5b503562001cdf565b6200032c62002090565b6200032c62002136565b62000447600480360360208110156200043657600080fd5b50356001600160a01b0316620022f5565b6040805192835260208301919091528051918290030190f35b620002e762002387565b62000277600480360360808110156200048257600080fd5b508035906020810135906040810135906060013562002396565b62000277620023ff565b6200027760048036036020811015620004be57600080fd5b50356001600160a01b031662002405565b620002e7620024cb565b6200027760048036036040811015620004f157600080fd5b506001600160a01b038135169060200135620024da565b6200032c600480360360408110156200052057600080fd5b506001600160a01b0381351690602001356200256a565b620002e7620025ce565b6200056a600480360360208110156200055957600080fd5b50356001600160a01b0316620025e2565b60408051921515835260208301919091528051918290030190f35b620002e762002601565b6200032c60048036036040811015620005a757600080fd5b810190602081018135600160201b811115620005c257600080fd5b820183602082011115620005d557600080fd5b803590602001918460208302840111600160201b83111715620005f757600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156200064757600080fd5b8201836020820111156200065a57600080fd5b803590602001918460208302840111600160201b831117156200067c57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955062002610945050505050565b62000277620027a3565b62000447620027a9565b620006d962002b5f565b6040805161ffff9092168252519081900360200190f35b62000277600480360360408110156200070857600080fd5b506001600160a01b03813516906020013562002b6e565b6200027762002c67565b620002e7600480360360208110156200074157600080fd5b503562002d62565b6200075362002d89565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156200079157818101518382015260200162000777565b505050509050019250505060405180910390f35b6200032c60048036036020811015620007bd57600080fd5b50356001600160a01b031662002eac565b6200032c600480360360e0811015620007e657600080fd5b506001600160a01b0381358116916020810135821691604082013581169160608101358216916080820135169061ffff60a0820135169060c00135151562002eb7565b6200032c600480360360208110156200084157600080fd5b5035620039cc565b62000277600480360360208110156200086157600080fd5b5035151562003abe565b60a05481565b60a15460ff1681565b6000826103e8811015620008cc576040805162461bcd60e51b815260206004820152601460248201527354726164652062656c6f77206d696e2073697a6560601b604482015290519081900360640190fd5b6000620008d98662002d62565b90506000816001600160a01b031663c19d93fb6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200091757600080fd5b505afa1580156200092c573d6000803e3d6000fd5b505050506040513d60208110156200094357600080fd5b505160028111156200095157fe5b14620009a4576040805162461bcd60e51b815260206004820152601760248201527f62546f6b656e53656c6c206d757374206265206f70656e000000000000000000604482015290519081900360640190fd5b6000620009b28287620024da565b90508481101562000a0a576040805162461bcd60e51b815260206004820152601d60248201527f62546f6b656e53656c6c3a20736c697070616765206578636565646564000000604482015290519081900360640190fd5b62000a8b333088856001600160a01b031663180f58426040518163ffffffff1660e01b815260040160206040518083038186803b15801562000a4b57600080fd5b505afa15801562000a60573d6000803e3d6000fd5b505050506040513d602081101562000a7757600080fd5b50516001600160a01b03169291906200424e565b6000826001600160a01b031663180f58426040518163ffffffff1660e01b815260040160206040518083038186803b15801562000ac757600080fd5b505afa15801562000adc573d6000803e3d6000fd5b505050506040513d602081101562000af357600080fd5b5051604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801562000b3e57600080fd5b505afa15801562000b53573d6000803e3d6000fd5b505050506040513d602081101562000b6a57600080fd5b5051604080516302eaf61960e21b815290519192506000916001600160a01b03861691630babd864916004808301926020929190829003018186803b15801562000bb357600080fd5b505afa15801562000bc8573d6000803e3d6000fd5b505050506040513d602081101562000bdf57600080fd5b5051604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801562000c2a57600080fd5b505afa15801562000c3f573d6000803e3d6000fd5b505050506040513d602081101562000c5657600080fd5b50519050600062000c688383620042b0565b9050801562000cd257846001600160a01b031663a126d601826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801562000cb857600080fd5b505af115801562000ccd573d6000803e3d6000fd5b505050505b6098546040805163a9059cbb60e01b81523360048201526024810187905290516001600160a01b039092169163a9059cbb916044808201926020929091908290030181600087803b15801562000d2757600080fd5b505af115801562000d3c573d6000803e3d6000fd5b505050506040513d602081101562000d5357600080fd5b505060408051338152602081018b905280820186905290517f6835aed4b65fb2c214a8623dffae24a5a66ec22f5b04aca8414897c43901a12d9181900360600190a1509198975050505050505050565b60a25481565b6099546001600160a01b031681565b62000dc2620042c9565b6065546001600160a01b0390811691161462000e14576040805162461bcd60e51b8152602060048201819052602482015260008051602062005539833981519152604482015290519081900360640190fd5b6001600160a01b03811662000e70576040805162461bcd60e51b815260206004820152601c60248201527f496e76616c6964206e6577416d6d496d706c656d656e746174696f6e00000000604482015290519081900360640190fd5b62000e7b81620042cd565b50565b81158062000e8c5750600081115b62000ec95760405162461bcd60e51b815260040180806020018281038252602e815260200180620055af602e913960400191505060405180910390fd5b609854604080516370a0823160e01b815233600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801562000f1557600080fd5b505afa15801562000f2a573d6000803e3d6000fd5b505050506040513d602081101562000f4157600080fd5b5051609954604080516370a0823160e01b815233600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801562000f9557600080fd5b505afa15801562000faa573d6000803e3d6000fd5b505050506040513d602081101562000fc157600080fd5b5051609754604080516318160ddd60e01b815290519293506000926001600160a01b03909216916318160ddd91600480820192602092909190829003018186803b1580156200100f57600080fd5b505afa15801562001024573d6000803e3d6000fd5b505050506040513d60208110156200103b57600080fd5b505160975460408051632770a7eb60e21b8152336004820152602481018a905290519293506001600160a01b0390911691639dc29fac9160448082019260009290919082900301818387803b1580156200109457600080fd5b505af1158015620010a9573d6000803e3d6000fd5b50505050620010b762002136565b609954604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156200110357600080fd5b505afa15801562001118573d6000803e3d6000fd5b505050506040513d60208110156200112f57600080fd5b50516099549091506001600160a01b031663a9059cbb336200115e8562001157868d620043db565b9062004439565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015620011a557600080fd5b505af1158015620011ba573d6000803e3d6000fd5b505050506040513d6020811015620011d157600080fd5b5050609854604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156200121f57600080fd5b505afa15801562001234573d6000803e3d6000fd5b505050506040513d60208110156200124b57600080fd5b5051905060006200126e620012668562001157858d620043db565b83906200447d565b90506200127f8985338b85620044c1565b6098549091506001600160a01b031663a9059cbb33620012a085856200447d565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015620012e757600080fd5b505af1158015620012fc573d6000803e3d6000fd5b505050506040513d60208110156200131357600080fd5b5050609854604080516370a0823160e01b81523360048201529051600092620013a0928a926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156200136b57600080fd5b505afa15801562001380573d6000803e3d6000fd5b505050506040513d60208110156200139757600080fd5b5051906200447d565b9050881580620013b05750878110155b620013ed5760405162461bcd60e51b8152600401808060200182810382526022815260200180620054856022913960400191505060405180910390fd5b609954604080516370a0823160e01b8152336004820181905291517f82aa6be8cf3670554a943a95a2281291bf303b4e4555d2688e7649b0058b175293859262001463928c926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156200136b57600080fd5b604080516001600160a01b039094168452602084019290925282820152606082018d9052519081900360800190a150505050505050505050565b620014a7620042c9565b6065546001600160a01b03908116911614620014f9576040805162461bcd60e51b8152602060048201819052602482015260008051602062005539833981519152604482015290519081900360640190fd5b60a1805460ff1916831515179081905560a28290556040805160ff909216151582526020820183905280517fc7b27296870515af6c6cd7d137bff002c83c7c1b1bab36ce3502ff95c81fd3bf9281900390910190a15050565b6098546200156c906001600160a01b03163330856200424e565b609760009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015620015bb57600080fd5b505afa158015620015d0573d6000803e3d6000fd5b505050506040513d6020811015620015e757600080fd5b5051620016ac57620015f862004867565b609754604080516340c10f1960e01b81523360048201526024810185905290516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b1580156200164c57600080fd5b505af115801562001661573d6000803e3d6000fd5b5050604080513381526020810186905280820186905290517f698040b81d1b2a06886ea6b1f64dd57ad9b77d73b51e43460f668d9a6956f01e9350908190036060019150a162001869565b620016b662002136565b620016c062004867565b609754604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b1580156200170657600080fd5b505afa1580156200171b573d6000803e3d6000fd5b505050506040513d60208110156200173257600080fd5b505190506000620017438162003abe565b90506000620017636200175783876200447d565b620011578486620043db565b905060006200177382856200447d565b905084811015620017b65760405162461bcd60e51b8152600401808060200182810382526021815260200180620054646021913960400191505060405180910390fd5b609754604080516340c10f1960e01b81523360048201526024810184905290516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b1580156200180a57600080fd5b505af11580156200181f573d6000803e3d6000fd5b505060408051338152602081018a905280820185905290517f698040b81d1b2a06886ea6b1f64dd57ad9b77d73b51e43460f668d9a6956f01e9350908190036060019150a1505050505b5050565b600080516020620054f88339815191525b90565b6097546001600160a01b031681565b6000826103e8811015620018e2576040805162461bcd60e51b815260206004820152601460248201527354726164652062656c6f77206d696e2073697a6560601b604482015290519081900360640190fd5b6000620018ef8662002d62565b90506000816001600160a01b031663c19d93fb6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200192d57600080fd5b505afa15801562001942573d6000803e3d6000fd5b505050506040513d60208110156200195957600080fd5b505160028111156200196757fe5b14620019b3576040805162461bcd60e51b8152602060048201526016602482015275312a37b5b2b7213abc9036bab9ba1031329037b832b760511b604482015290519081900360640190fd5b6000620019c1828762002b6e565b90508481111562001a19576040805162461bcd60e51b815260206004820152601c60248201527f62546f6b656e4275793a20736c69707061676520657863656564656400000000604482015290519081900360640190fd5b60985462001a33906001600160a01b03163330846200424e565b6000826001600160a01b031663180f58426040518163ffffffff1660e01b815260040160206040518083038186803b15801562001a6f57600080fd5b505afa15801562001a84573d6000803e3d6000fd5b505050506040513d602081101562001a9b57600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038416916370a08231916024808301926020929190829003018186803b15801562001aea57600080fd5b505afa15801562001aff573d6000803e3d6000fd5b505050506040513d602081101562001b1657600080fd5b505190508781101562001c14576098546040805163095ea7b360e01b81526001600160a01b038781166004830152602482018c90529151919092169163095ea7b39160448083019260209291908290030181600087803b15801562001b7a57600080fd5b505af115801562001b8f573d6000803e3d6000fd5b505050506040513d602081101562001ba657600080fd5b50506001600160a01b03841663729494b462001bc38a846200447d565b6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801562001bfa57600080fd5b505af115801562001c0f573d6000803e3d6000fd5b505050505b6040805163a9059cbb60e01b8152336004820152602481018a905290516001600160a01b0384169163a9059cbb9160448083019260209291908290030181600087803b15801562001c6457600080fd5b505af115801562001c79573d6000803e3d6000fd5b505050506040513d602081101562001c9057600080fd5b505060408051338152602081018a905280820185905290517f96e8f1e69e5dca8a842e6698dcc724781528b8717037a69b2cee4f9ba55aa2319181900360600190a15090979650505050505050565b60008162001cf0575060006200208b565b609754604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b15801562001d3657600080fd5b505afa15801562001d4b573d6000803e3d6000fd5b505050506040513d602081101562001d6257600080fd5b505190508062001d775760009150506200208b565b606062001d8362002d89565b9050600062001d91620027a9565b50609854604080516370a0823160e01b8152306004820152905192935060009262001e1c926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801562001de657600080fd5b505afa15801562001dfb573d6000803e3d6000fd5b505050506040513d602081101562001e1257600080fd5b50518390620048d8565b905062001e3b846200115762001e33828a6200447d565b8490620043db565b90508060005b84518110156200207657600085828151811062001e5a57fe5b602002602001015190506000600281111562001e7257fe5b816001600160a01b031663c19d93fb6040518163ffffffff1660e01b815260040160206040518083038186803b15801562001eac57600080fd5b505afa15801562001ec1573d6000803e3d6000fd5b505050506040513d602081101562001ed857600080fd5b5051600281111562001ee657fe5b14156200206c57600062001fdf88620011578c856001600160a01b031663180f58426040518163ffffffff1660e01b815260040160206040518083038186803b15801562001f3357600080fd5b505afa15801562001f48573d6000803e3d6000fd5b505050506040513d602081101562001f5f57600080fd5b5051604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801562001faa57600080fd5b505afa15801562001fbf573d6000803e3d6000fd5b505050506040513d602081101562001fd657600080fd5b505190620043db565b905060006200202789620011578d866001600160a01b0316630babd8646040518163ffffffff1660e01b815260040160206040518083038186803b15801562001f3357600080fd5b905060006200203884848862004933565b90506200204686826200447d565b9550600062002057858489620049a7565b90506200206587826200447d565b9650505050505b5060010162001e41565b506200208382826200447d565b955050505050505b919050565b6200209a620042c9565b6065546001600160a01b03908116911614620020ec576040805162461bcd60e51b8152602060048201819052602482015260008051602062005539833981519152604482015290519081900360640190fd5b6065546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3606580546001600160a01b0319169055565b60606200214262002d89565b905060005b8151811015620018695760008282815181106200216057fe5b60200260200101519050600160028111156200217857fe5b816001600160a01b031663c19d93fb6040518163ffffffff1660e01b815260040160206040518083038186803b158015620021b257600080fd5b505afa158015620021c7573d6000803e3d6000fd5b505050506040513d6020811015620021de57600080fd5b50516002811115620021ec57fe5b1415620022eb576000816001600160a01b0316630babd8646040518163ffffffff1660e01b815260040160206040518083038186803b1580156200222f57600080fd5b505afa15801562002244573d6000803e3d6000fd5b505050506040513d60208110156200225b57600080fd5b5051604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015620022a657600080fd5b505afa158015620022bb573d6000803e3d6000fd5b505050506040513d6020811015620022d257600080fd5b505190508015620022e957620022e982826200256a565b505b5060010162002147565b609854604080516370a0823160e01b8152306004820152905160009283926200237e9286926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156200234a57600080fd5b505afa1580156200235f573d6000803e3d6000fd5b505050506040513d60208110156200237657600080fd5b505162004a07565b91509150915091565b609a546001600160a01b031681565b60008084841115620023ca57620023c78462001157670de0b6b3a7640000620023c0838a6200447d565b90620043db565b90505b6000620023e6866200115787620023c088620023c08d62004bed565b9050620023f48282620048d8565b979650505050505050565b609e5481565b6000620024c56200244a42846001600160a01b0316638f6204876040518163ffffffff1660e01b815260040160206040518083038186803b1580156200136b57600080fd5b836001600160a01b0316630aa2f4206040518163ffffffff1660e01b815260040160206040518083038186803b1580156200248457600080fd5b505afa15801562002499573d6000803e3d6000fd5b505050506040513d6020811015620024b057600080fd5b5051620024bc62002c67565b609e5462002396565b92915050565b6065546001600160a01b031690565b609854604080516370a0823160e01b815230600482015290516000926200256392869286926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156200252f57600080fd5b505afa15801562002544573d6000803e3d6000fd5b505050506040513d60208110156200255b57600080fd5b505162004933565b9392505050565b816001600160a01b031663c49785b4826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015620025b157600080fd5b505af1158015620025c6573d6000803e3d6000fd5b505050505050565b600080516020620054f88339815191525490565b60a3602052600090815260409020805460019091015460ff9091169082565b6098546001600160a01b031681565b6200261a620042c9565b6065546001600160a01b039081169116146200266c576040805162461bcd60e51b8152602060048201819052602482015260008051602062005539833981519152604482015290519081900360640190fd5b6040805162461bcd60e51b81526020600482015260156024820152741199585d1d5c99481b9bdd081cdd5c1c1bdc9d1959605a1b604482015290519081900360640190fd5b82518110156200279e57818181518110620026c857fe5b602002602001015160a36000858481518110620026e157fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000160006101000a81548160ff0219169083151502179055507fbaf357f5d08bd75780b7ec7c0167d5b1cce4d7fdb83abbc21f5bfa37da01bc908382815181106200275157fe5b60200260200101518383815181106200276657fe5b602002602001015160405180836001600160a01b0316815260200182151581526020019250505060405180910390a1600101620026b1565b505050565b6103e881565b6000806060620027b862002d89565b905060008060005b835181101562002b54576000848281518110620027d957fe5b6020026020010151905060016002811115620027f157fe5b816001600160a01b031663c19d93fb6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200282b57600080fd5b505afa15801562002840573d6000803e3d6000fd5b505050506040513d60208110156200285757600080fd5b505160028111156200286557fe5b141562002b49576000816001600160a01b0316630babd8646040518163ffffffff1660e01b815260040160206040518083038186803b158015620028a857600080fd5b505afa158015620028bd573d6000803e3d6000fd5b505050506040513d6020811015620028d457600080fd5b5051604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156200291f57600080fd5b505afa15801562002934573d6000803e3d6000fd5b505050506040513d60208110156200294b57600080fd5b5051604080516302eaf61960e21b815290519192506000916001600160a01b03851691630babd864916004808301926020929190829003018186803b1580156200299457600080fd5b505afa158015620029a9573d6000803e3d6000fd5b505050506040513d6020811015620029c057600080fd5b5051604080516318160ddd60e01b815290516001600160a01b03909216916318160ddd91600480820192602092909190829003018186803b15801562002a0557600080fd5b505afa15801562002a1a573d6000803e3d6000fd5b505050506040513d602081101562002a3157600080fd5b5051905081158062002a41575080155b1562002a505750505062002b4b565b62002ac962002ac1826200115785609860009054906101000a90046001600160a01b03166001600160a01b03166370a08231896040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801562001faa57600080fd5b8790620048d8565b955062002b4462002b3c826200115785609960009054906101000a90046001600160a01b03166001600160a01b03166370a08231896040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801562001faa57600080fd5b8690620048d8565b945050505b505b600101620027c0565b509093509150509091565b609d54610100900461ffff1681565b60008162002b7f57506000620024c5565b62002b89620052b7565b60a0810183905262002b9b84620022f5565b6020830181905281835260009162002bb391620048d8565b90508160a0015181111562002bdf5760a082015162002bd49082906200447d565b604083015262002bf6565b60a082015162002bf090826200447d565b60408301525b6020820151825160a084015162002c5692600292620011579262002c4f9190829062002c4262002c4962002c316004620023c0858a620043db565b60408d015162002c429080620043db565b90620048d8565b62004bed565b906200447d565b606090920182905250905092915050565b600080609b60009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801562002cb957600080fd5b505afa15801562002cce573d6000803e3d6000fd5b505050506040513d60a081101562002ce557600080fd5b50602001519050600081121562002d2e5760405162461bcd60e51b8152600401808060200182810382526028815260200180620055876028913960400191505060405180910390fd5b609d5460ff161562002d5257609c5462002d49908262004439565b9150506200187e565b609c5462002d49908290620043db565b600062002d6e62002d89565b828151811062002d7a57fe5b60200260200101519050919050565b609a5460a05460408051637caf154560e01b81526004810192909252516060926001600160a01b031691637caf1545916024808301926000929190829003018186803b15801562002dd957600080fd5b505afa15801562002dee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101562002e1857600080fd5b8101908080516040519392919084600160201b82111562002e3857600080fd5b90830190602082018581111562002e4e57600080fd5b82518660208202830111600160201b8211171562002e6b57600080fd5b82525081516020918201928201910280838360005b8381101562002e9a57818101518382015260200162002e80565b50505050905001604052505050905090565b62000e7b8162004c45565b6001600160a01b03871662002f07576040805162461bcd60e51b8152602060048201526011602482015270496e76616c6964205f726567697374727960781b604482015290519081900360640190fd5b6001600160a01b03861662002f5a576040805162461bcd60e51b8152602060048201526014602482015273496e76616c6964205f70726963654f7261636c6560601b604482015290519081900360640190fd5b6001600160a01b03851662002fae576040805162461bcd60e51b815260206004820152601560248201527424b73b30b634b2102fb830bcb6b2b73a2a37b5b2b760591b604482015290519081900360640190fd5b6001600160a01b0384166200300a576040805162461bcd60e51b815260206004820152601860248201527f496e76616c6964205f636f6c6c61746572616c546f6b656e0000000000000000604482015290519081900360640190fd5b846001600160a01b0316846001600160a01b031614156200305d5760405162461bcd60e51b815260040180806020018281038252602b815260200180620054cd602b913960400191505060405180910390fd5b6001600160a01b038316620030b9576040805162461bcd60e51b815260206004820152601c60248201527f496e76616c6964205f746f6b656e496d706c656d656e746174696f6e00000000604482015290519081900360640190fd5b609f5460ff1615620030fd5760405162461bcd60e51b8152600401808060200182810382526026815260200180620054a76026913960400191505060405180910390fd5b609f8054600160ff19909116179055609a80546001600160a01b03199081166001600160a01b038a811691909117909255609b80548216898416179055609d805462ffff00191661010061ffff8716021790556098805482168784161790819055609980549092168884161791829055604080519184166020808401829052939094168282018190528151808403830181526060840180845281519186019190912060a05563313ce56760e01b905290519092849263313ce5679260648083019392829003018186803b158015620031d457600080fd5b505afa158015620031e9573d6000803e3d6000fd5b505050506040513d60208110156200320057600080fd5b50516099805460ff909216600160a01b0260ff60a01b199092169190911790556040805163313ce56760e01b815290516001600160a01b0383169163313ce567916004808301926020929190829003018186803b1580156200326157600080fd5b505afa15801562003276573d6000803e3d6000fd5b505050506040513d60208110156200328d57600080fd5b50516099805460ff60a81b1916600160a81b60ff93841681029190911791829055620032dc92600160a01b83048116600a90810a936200115793670de0b6b3a764000093910416900a620043db565b609c55609d805460ff191684158015919091179091556200338657609b546040805163313ce56760e01b815290516200337d926001600160a01b03169163313ce567916004808301926020929190829003018186803b1580156200333f57600080fd5b505afa15801562003354573d6000803e3d6000fd5b505050506040513d60208110156200336b57600080fd5b5051609c549060ff16600a0a620043db565b609c5562003410565b609b546040805163313ce56760e01b815290516200340c926001600160a01b03169163313ce567916004808301926020929190829003018186803b158015620033ce57600080fd5b505afa158015620033e3573d6000803e3d6000fd5b505050506040513d6020811015620033fa57600080fd5b5051609c549060ff16600a0a62004439565b609c555b6000856040516200342190620052ed565b6001600160a01b03909116815260405190819003602001906000f0801580156200344f573d6000803e3d6000fd5b50905080609760006101000a8154816001600160a01b0302191690836001600160a01b031602179055506060836001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b158015620034b557600080fd5b505afa158015620034ca573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015620034f457600080fd5b8101908080516040519392919084600160201b8211156200351457600080fd5b9083019060208201858111156200352a57600080fd5b8251600160201b8111828201881017156200354457600080fd5b82525081516020918201929091019080838360005b838110156200357357818101518382015260200162003559565b50505050905090810190601f168015620035a15780820380516001836020036101000a031916815260200191505b50604052505050836001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b158015620035e257600080fd5b505afa158015620035f7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156200362157600080fd5b8101908080516040519392919084600160201b8211156200364157600080fd5b9083019060208201858111156200365757600080fd5b8251600160201b8111828201881017156200367157600080fd5b82525081516020918201929091019080838360005b83811015620036a057818101518382015260200162003686565b50505050905090810190601f168015620036ce5780820380516001836020036101000a031916815260200191505b506040525050506040516020018083805190602001908083835b60208310620037095780518252601f199092019160209182019101620036e8565b6001836020036101000a03801982511681845116808217855250505050505090500180602d60f81b81525060010182805190602001908083835b60208310620037645780518252601f19909201916020918201910162003743565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405290506060816040516020018080624c502d60e81b81525060030182805190602001908083835b60208310620037e05780518252601f199092019160209182019101620037bf565b51815160209384036101000a60001901801990921691161790526040805192909401828103601f1901835293849052609754609954630b127b6360e11b8652600160a01b900460ff16604486018190526060600487019081528451606488015284519499506001600160a01b039092169750631624f6c69650889586955090939192839260248301926084019187019080838360005b838110156200389057818101518382015260200162003876565b50505050905090810190601f168015620038be5780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015620038f3578181015183820152602001620038d9565b50505050905090810190601f168015620039215780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156200394457600080fd5b505af115801562003959573d6000803e3d6000fd5b505065246139ca8000609e555062003972905062004d44565b609754609b54604080516001600160a01b03938416815292909116602083015280517fee8c1456473a8633deb9ec0e6474a51a39f9b0836d7c8c953fe44ba974a111619281900390910190a1505050505050505050505050565b620039d6620042c9565b6065546001600160a01b0390811691161462003a28576040805162461bcd60e51b8152602060048201819052602482015260008051602062005539833981519152604482015290519081900360640190fd5b65048c27395000811162003a83576040805162461bcd60e51b815260206004820152601b60248201527f566f6c6174696c697479466163746f7220697320746f6f206c6f770000000000604482015290519081900360640190fd5b609e8190556040805182815290517f64c041d58edba5f0f8c4b1e3069ab60cd040564677fd1d9533253cd81e41bffb9181900360200190a150565b6000606062003acc62002d89565b9050600062003ada62002c67565b905060008060005b84518110156200414757600085828151811062003afb57fe5b602002602001015190506000600281111562003b1357fe5b816001600160a01b031663c19d93fb6040518163ffffffff1660e01b815260040160206040518083038186803b15801562003b4d57600080fd5b505afa15801562003b62573d6000803e3d6000fd5b505050506040513d602081101562003b7957600080fd5b5051600281111562003b8757fe5b141562003dc557600062003b9b8262002405565b9050600062003bb3670de0b6b3a7640000836200447d565b90506000836001600160a01b031663180f58426040518163ffffffff1660e01b815260040160206040518083038186803b15801562003bf157600080fd5b505afa15801562003c06573d6000803e3d6000fd5b505050506040513d602081101562003c1d57600080fd5b5051604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801562003c6857600080fd5b505afa15801562003c7d573d6000803e3d6000fd5b505050506040513d602081101562003c9457600080fd5b5051604080516302eaf61960e21b815290519192506000916001600160a01b03871691630babd864916004808301926020929190829003018186803b15801562003cdd57600080fd5b505afa15801562003cf2573d6000803e3d6000fd5b505050506040513d602081101562003d0957600080fd5b5051604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801562003d5457600080fd5b505afa15801562003d69573d6000803e3d6000fd5b505050506040513d602081101562003d8057600080fd5b5051905062003db962003db1670de0b6b3a76400006200115762003da58588620043db565b62002c42878a620043db565b8990620048d8565b9750505050506200413c565b87801562003e4657506001816001600160a01b031663c19d93fb6040518163ffffffff1660e01b815260040160206040518083038186803b15801562003e0a57600080fd5b505afa15801562003e1f573d6000803e3d6000fd5b505050506040513d602081101562003e3657600080fd5b5051600281111562003e4457fe5b145b156200413c576000816001600160a01b0316630babd8646040518163ffffffff1660e01b815260040160206040518083038186803b15801562003e8857600080fd5b505afa15801562003e9d573d6000803e3d6000fd5b505050506040513d602081101562003eb457600080fd5b5051604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801562003eff57600080fd5b505afa15801562003f14573d6000803e3d6000fd5b505050506040513d602081101562003f2b57600080fd5b5051604080516302eaf61960e21b815290519192506000916001600160a01b03851691630babd864916004808301926020929190829003018186803b15801562003f7457600080fd5b505afa15801562003f89573d6000803e3d6000fd5b505050506040513d602081101562003fa057600080fd5b5051604080516318160ddd60e01b815290516001600160a01b03909216916318160ddd91600480820192602092909190829003018186803b15801562003fe557600080fd5b505afa15801562003ffa573d6000803e3d6000fd5b505050506040513d60208110156200401157600080fd5b5051905081158062004021575080155b1562004030575050506200413e565b60006200409f826200115785609860009054906101000a90046001600160a01b03166001600160a01b03166370a08231896040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801562001faa57600080fd5b90506000620041228962001157670de0b6b3a7640000620023c087620011578a609960009054906101000a90046001600160a01b03166001600160a01b03166370a082318e6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801562001faa57600080fd5b9050620041358162002c428985620048d8565b9650505050505b505b60010162003ae2565b50609954604080516370a0823160e01b81523060048201529051600092620041ad9287926200115792670de0b6b3a7640000926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b15801562001faa57600080fd5b609854604080516370a0823160e01b815230600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015620041ff57600080fd5b505afa15801562004214573d6000803e3d6000fd5b505050506040513d60208110156200422b57600080fd5b50519050620042428162002c4284818888620048d8565b98975050505050505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052620042aa90859062004e01565b50505050565b600081831015620042c3575081620024c5565b50919050565b3390565b806001600160a01b03166352d1902d6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200430757600080fd5b505afa1580156200431c573d6000803e3d6000fd5b505050506040513d60208110156200433357600080fd5b5051600080516020620054f88339815191521462004389576040805162461bcd60e51b815260206004820152600e60248201526d4e6f7420636f6d70617469626c6560901b604482015290519081900360640190fd5b600080516020620054f8833981519152819055604080516001600160a01b038316815290517feeaed647dc622e55877c30943e5c1d4feb92d1b8cfcc88d974163e9787bde9af9181900360200190a150565b600082620043ec57506000620024c5565b82820282848281620043fa57fe5b0414620025635760405162461bcd60e51b8152600401808060200182810382526021815260200180620055186021913960400191505060405180910390fd5b60006200256383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525062004fc5565b60006200256383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506200506c565b60006060620044cf62002d89565b905060005b81518110156200485b576000828281518110620044ed57fe5b60200260200101519050600060028111156200450557fe5b816001600160a01b031663c19d93fb6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200453f57600080fd5b505afa15801562004554573d6000803e3d6000fd5b505050506040513d60208110156200456b57600080fd5b505160028111156200457957fe5b141562004851576000620045c689620011578c856001600160a01b031663180f58426040518163ffffffff1660e01b815260040160206040518083038186803b15801562001f3357600080fd5b905060006200460e8a620011578d866001600160a01b0316630babd8646040518163ffffffff1660e01b815260040160206040518083038186803b15801562001f3357600080fd5b90508715806200461d5750898b145b156200480d5781156200471557826001600160a01b031663180f58426040518163ffffffff1660e01b815260040160206040518083038186803b1580156200466457600080fd5b505afa15801562004679573d6000803e3d6000fd5b505050506040513d60208110156200469057600080fd5b50516040805163a9059cbb60e01b81526001600160a01b038c81166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015620046e657600080fd5b505af1158015620046fb573d6000803e3d6000fd5b505050506040513d60208110156200471257600080fd5b50505b80156200480757826001600160a01b0316630babd8646040518163ffffffff1660e01b815260040160206040518083038186803b1580156200475657600080fd5b505afa1580156200476b573d6000803e3d6000fd5b505050506040513d60208110156200478257600080fd5b50516040805163a9059cbb60e01b81526001600160a01b038c81166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015620047d857600080fd5b505af1158015620047ed573d6000803e3d6000fd5b505050506040513d60208110156200480457600080fd5b50505b6200484e565b60006200481c84848a62004933565b90506200482a88826200447d565b975060006200483b85848b620049a7565b90506200484989826200447d565b985050505b50505b50600101620044d4565b50919695505050505050565b60a15460ff1615620048d65760a25462004882600062003abe565b1115620048d6576040805162461bcd60e51b815260206004820152601760248201527f506f6f6c206f766572206465706f736974206c696d6974000000000000000000604482015290519081900360640190fd5b565b60008282018381101562002563576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600082620049445750600062002563565b60008062004953868562004a07565b909250905060006200496b8262002c428886620048d8565b90506000620042426002620011576200499f62002c49620049936004620023c08e8b620043db565b62002c4f8880620043db565b85906200447d565b600082620049b85750600062002563565b600080620049c7868562004a07565b90925090506000620049df8362002c428885620048d8565b90506000620042426002620011576200499f62002c49620049936004620023c08e8c620043db565b600080600062004af784866001600160a01b031663180f58426040518163ffffffff1660e01b815260040160206040518083038186803b15801562004a4b57600080fd5b505afa15801562004a60573d6000803e3d6000fd5b505050506040513d602081101562004a7757600080fd5b5051604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801562004ac257600080fd5b505afa15801562004ad7573d6000803e3d6000fd5b505050506040513d602081101562004aee57600080fd5b505190620048d8565b9050600062004b3a85876001600160a01b0316630babd8646040518163ffffffff1660e01b815260040160206040518083038186803b15801562004a4b57600080fd5b9050600062004b498762002405565b9050600062004b61670de0b6b3a7640000836200447d565b905060008082841162004ba95785915062004b8283620011578487620043db565b90508481111562004ba357508362004ba084620011578386620043db565b91505b62004bde565b508362004bbc84620011578386620043db565b91508582111562004bde5785915062004bdb83620011578487620043db565b90505b90999098509650505050505050565b6000600382111562004c36575080600160028204015b8181101562004c2f5780915060028182858162004c1c57fe5b04018162004c2657fe5b04905062004c03565b506200208b565b81156200208b57506001919050565b62004c4f620042c9565b6065546001600160a01b0390811691161462004ca1576040805162461bcd60e51b8152602060048201819052602482015260008051602062005539833981519152604482015290519081900360640190fd5b6001600160a01b03811662004ce85760405162461bcd60e51b81526004018080602001828103825260268152602001806200543e6026913960400191505060405180910390fd5b6065546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3606580546001600160a01b0319166001600160a01b0392909216919091179055565b600054610100900460ff168062004d60575062004d60620050c9565b8062004d6f575060005460ff16155b62004dac5760405162461bcd60e51b815260040180806020018281038252602e81526020018062005559602e913960400191505060405180910390fd5b600054610100900460ff1615801562004dd8576000805460ff1961ff0019909116610100171660011790555b62004de2620050cf565b62004dec62005177565b801562000e7b576000805461ff001916905550565b62004e15826001600160a01b03166200527a565b62004e67576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b6020831062004ea75780518252601f19909201916020918201910162004e86565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811462004f0b576040519150601f19603f3d011682016040523d82523d6000602084013e62004f10565b606091505b50915091508162004f68576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115620042aa5780806020019051602081101562004f8657600080fd5b5051620042aa5760405162461bcd60e51b815260040180806020018281038252602a815260200180620055dd602a913960400191505060405180910390fd5b60008183620050555760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156200501957818101518382015260200162004fff565b50505050905090810190601f168015620050475780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816200506257fe5b0495945050505050565b60008184841115620050c15760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156200501957818101518382015260200162004fff565b505050900390565b303b1590565b600054610100900460ff1680620050eb5750620050eb620050c9565b80620050fa575060005460ff16155b620051375760405162461bcd60e51b815260040180806020018281038252602e81526020018062005559602e913960400191505060405180910390fd5b600054610100900460ff1615801562004dec576000805460ff1961ff001990911661010017166001179055801562000e7b576000805461ff001916905550565b600054610100900460ff168062005193575062005193620050c9565b80620051a2575060005460ff16155b620051df5760405162461bcd60e51b815260040180806020018281038252602e81526020018062005559602e913960400191505060405180910390fd5b600054610100900460ff161580156200520b576000805460ff1961ff0019909116610100171660011790555b600062005217620042c9565b606580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350801562000e7b576000805461ff001916905550565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590620052af57508115155b949350505050565b6040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b61014280620052fc8339019056fe608060405234801561001057600080fd5b506040516101423803806101428339818101604052602081101561003357600080fd5b50516001600160a01b038116610090576040805162461bcd60e51b815260206004820152601c60248201527f436f6e7472616374204c6f6769632063616e6e6f742062652030783000000000604482015290519081900360640190fd5b7fc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7556082806100c06000396000f3fe60806040527fc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf75460405136600082376000803683855af491503d806000833e8280156048578183f35b8183fdfea2646970667358221220a0638f327ea4245a0fcb63feef5210f7f7cb9a72341a39c3be895bade9162aa764736f6c634300060c00334f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737370726f766964654361706974616c3a20536c69707061676520657863656564656477697468647261774361706974616c3a20536c697070616765206578636565646564436f6e74726163742063616e206f6e6c7920626520696e697469616c697a6564206f6e63652e5f636f6c6c61746572616c546f6b656e2063616e6e6f7420657175616c205f7061796d656e74546f6b656ec5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564696e76616c69642076616c75652072656365697665642066726f6d207072696365206f7261636c6577697468647261774361706974616c3a20636f6c6c61746572616c4d696e696d756d206d757374206265207365745361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212203482cab934e81f964622486a87a4ad67f07532a0ca847b55bb47bb06f83fd1fb64736f6c634300060c0033
Deployed Bytecode
0x60806040523480156200001157600080fd5b5060043610620002685760003560e01c80637ef4ac19116200014d578063be77aca511620000c9578063ec2c90161162000087578063ec2c90161462000749578063f2fde38b14620007a5578063f368fa7814620007ce578063f557bbfe1462000829578063f67325ba14620008495762000268565b8063be77aca514620006c5578063c3bf70f114620006cf578063e023c84514620006f0578063e775eb4a146200071f578063eb44fdd314620007295762000268565b8063abd108ba1162000117578063abd108ba1462000537578063b016a9c21462000541578063b2016bd41462000585578063b5da681e146200058f578063bb736f4b14620006bb5762000268565b80637ef4ac1914620004a65780638da5cb5b14620004cf5780638f3f8c4014620004d957806391b3ef7a14620005085762000268565b806352d1902d11620001e9578063736525cf11620001a7578063736525cf14620004145780637b06271a146200041e5780637b10399914620004605780637d1eb004146200046a5780637e507742146200049c5762000268565b806352d1902d14620003aa5780635fcbd28514620003b4578063602d0efc14620003be5780637064a82a14620003ea578063715018a6146200040a5762000268565b80633013ce2911620002375780633013ce2914620002dd57806336d3b9c614620003035780633b26cf5c146200032e57806343907122146200035c5780634825701814620003845762000268565b806310082c75146200026d57806314beac2c14620002895780631a4d0e4814620002a75780631e0c929d14620002d3575b600080fd5b620002776200086b565b60408051918252519081900360200190f35b6200029362000871565b604080519115158252519081900360200190f35b6200027760048036036060811015620002bf57600080fd5b50803590602081013590604001356200087a565b6200027762000da3565b620002e762000da9565b604080516001600160a01b039092168252519081900360200190f35b6200032c600480360360208110156200031b57600080fd5b50356001600160a01b031662000db8565b005b6200032c600480360360608110156200034657600080fd5b5080359060208101351515906040013562000e7e565b6200032c600480360360408110156200037457600080fd5b508035151590602001356200149d565b6200032c600480360360408110156200039c57600080fd5b508035906020013562001552565b620002776200186d565b620002e762001881565b6200027760048036036060811015620003d657600080fd5b508035906020810135906040013562001890565b62000277600480360360208110156200040257600080fd5b503562001cdf565b6200032c62002090565b6200032c62002136565b62000447600480360360208110156200043657600080fd5b50356001600160a01b0316620022f5565b6040805192835260208301919091528051918290030190f35b620002e762002387565b62000277600480360360808110156200048257600080fd5b508035906020810135906040810135906060013562002396565b62000277620023ff565b6200027760048036036020811015620004be57600080fd5b50356001600160a01b031662002405565b620002e7620024cb565b6200027760048036036040811015620004f157600080fd5b506001600160a01b038135169060200135620024da565b6200032c600480360360408110156200052057600080fd5b506001600160a01b0381351690602001356200256a565b620002e7620025ce565b6200056a600480360360208110156200055957600080fd5b50356001600160a01b0316620025e2565b60408051921515835260208301919091528051918290030190f35b620002e762002601565b6200032c60048036036040811015620005a757600080fd5b810190602081018135600160201b811115620005c257600080fd5b820183602082011115620005d557600080fd5b803590602001918460208302840111600160201b83111715620005f757600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156200064757600080fd5b8201836020820111156200065a57600080fd5b803590602001918460208302840111600160201b831117156200067c57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955062002610945050505050565b62000277620027a3565b62000447620027a9565b620006d962002b5f565b6040805161ffff9092168252519081900360200190f35b62000277600480360360408110156200070857600080fd5b506001600160a01b03813516906020013562002b6e565b6200027762002c67565b620002e7600480360360208110156200074157600080fd5b503562002d62565b6200075362002d89565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156200079157818101518382015260200162000777565b505050509050019250505060405180910390f35b6200032c60048036036020811015620007bd57600080fd5b50356001600160a01b031662002eac565b6200032c600480360360e0811015620007e657600080fd5b506001600160a01b0381358116916020810135821691604082013581169160608101358216916080820135169061ffff60a0820135169060c00135151562002eb7565b6200032c600480360360208110156200084157600080fd5b5035620039cc565b62000277600480360360208110156200086157600080fd5b5035151562003abe565b60a05481565b60a15460ff1681565b6000826103e8811015620008cc576040805162461bcd60e51b815260206004820152601460248201527354726164652062656c6f77206d696e2073697a6560601b604482015290519081900360640190fd5b6000620008d98662002d62565b90506000816001600160a01b031663c19d93fb6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200091757600080fd5b505afa1580156200092c573d6000803e3d6000fd5b505050506040513d60208110156200094357600080fd5b505160028111156200095157fe5b14620009a4576040805162461bcd60e51b815260206004820152601760248201527f62546f6b656e53656c6c206d757374206265206f70656e000000000000000000604482015290519081900360640190fd5b6000620009b28287620024da565b90508481101562000a0a576040805162461bcd60e51b815260206004820152601d60248201527f62546f6b656e53656c6c3a20736c697070616765206578636565646564000000604482015290519081900360640190fd5b62000a8b333088856001600160a01b031663180f58426040518163ffffffff1660e01b815260040160206040518083038186803b15801562000a4b57600080fd5b505afa15801562000a60573d6000803e3d6000fd5b505050506040513d602081101562000a7757600080fd5b50516001600160a01b03169291906200424e565b6000826001600160a01b031663180f58426040518163ffffffff1660e01b815260040160206040518083038186803b15801562000ac757600080fd5b505afa15801562000adc573d6000803e3d6000fd5b505050506040513d602081101562000af357600080fd5b5051604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801562000b3e57600080fd5b505afa15801562000b53573d6000803e3d6000fd5b505050506040513d602081101562000b6a57600080fd5b5051604080516302eaf61960e21b815290519192506000916001600160a01b03861691630babd864916004808301926020929190829003018186803b15801562000bb357600080fd5b505afa15801562000bc8573d6000803e3d6000fd5b505050506040513d602081101562000bdf57600080fd5b5051604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801562000c2a57600080fd5b505afa15801562000c3f573d6000803e3d6000fd5b505050506040513d602081101562000c5657600080fd5b50519050600062000c688383620042b0565b9050801562000cd257846001600160a01b031663a126d601826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801562000cb857600080fd5b505af115801562000ccd573d6000803e3d6000fd5b505050505b6098546040805163a9059cbb60e01b81523360048201526024810187905290516001600160a01b039092169163a9059cbb916044808201926020929091908290030181600087803b15801562000d2757600080fd5b505af115801562000d3c573d6000803e3d6000fd5b505050506040513d602081101562000d5357600080fd5b505060408051338152602081018b905280820186905290517f6835aed4b65fb2c214a8623dffae24a5a66ec22f5b04aca8414897c43901a12d9181900360600190a1509198975050505050505050565b60a25481565b6099546001600160a01b031681565b62000dc2620042c9565b6065546001600160a01b0390811691161462000e14576040805162461bcd60e51b8152602060048201819052602482015260008051602062005539833981519152604482015290519081900360640190fd5b6001600160a01b03811662000e70576040805162461bcd60e51b815260206004820152601c60248201527f496e76616c6964206e6577416d6d496d706c656d656e746174696f6e00000000604482015290519081900360640190fd5b62000e7b81620042cd565b50565b81158062000e8c5750600081115b62000ec95760405162461bcd60e51b815260040180806020018281038252602e815260200180620055af602e913960400191505060405180910390fd5b609854604080516370a0823160e01b815233600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801562000f1557600080fd5b505afa15801562000f2a573d6000803e3d6000fd5b505050506040513d602081101562000f4157600080fd5b5051609954604080516370a0823160e01b815233600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801562000f9557600080fd5b505afa15801562000faa573d6000803e3d6000fd5b505050506040513d602081101562000fc157600080fd5b5051609754604080516318160ddd60e01b815290519293506000926001600160a01b03909216916318160ddd91600480820192602092909190829003018186803b1580156200100f57600080fd5b505afa15801562001024573d6000803e3d6000fd5b505050506040513d60208110156200103b57600080fd5b505160975460408051632770a7eb60e21b8152336004820152602481018a905290519293506001600160a01b0390911691639dc29fac9160448082019260009290919082900301818387803b1580156200109457600080fd5b505af1158015620010a9573d6000803e3d6000fd5b50505050620010b762002136565b609954604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156200110357600080fd5b505afa15801562001118573d6000803e3d6000fd5b505050506040513d60208110156200112f57600080fd5b50516099549091506001600160a01b031663a9059cbb336200115e8562001157868d620043db565b9062004439565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015620011a557600080fd5b505af1158015620011ba573d6000803e3d6000fd5b505050506040513d6020811015620011d157600080fd5b5050609854604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156200121f57600080fd5b505afa15801562001234573d6000803e3d6000fd5b505050506040513d60208110156200124b57600080fd5b5051905060006200126e620012668562001157858d620043db565b83906200447d565b90506200127f8985338b85620044c1565b6098549091506001600160a01b031663a9059cbb33620012a085856200447d565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015620012e757600080fd5b505af1158015620012fc573d6000803e3d6000fd5b505050506040513d60208110156200131357600080fd5b5050609854604080516370a0823160e01b81523360048201529051600092620013a0928a926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156200136b57600080fd5b505afa15801562001380573d6000803e3d6000fd5b505050506040513d60208110156200139757600080fd5b5051906200447d565b9050881580620013b05750878110155b620013ed5760405162461bcd60e51b8152600401808060200182810382526022815260200180620054856022913960400191505060405180910390fd5b609954604080516370a0823160e01b8152336004820181905291517f82aa6be8cf3670554a943a95a2281291bf303b4e4555d2688e7649b0058b175293859262001463928c926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156200136b57600080fd5b604080516001600160a01b039094168452602084019290925282820152606082018d9052519081900360800190a150505050505050505050565b620014a7620042c9565b6065546001600160a01b03908116911614620014f9576040805162461bcd60e51b8152602060048201819052602482015260008051602062005539833981519152604482015290519081900360640190fd5b60a1805460ff1916831515179081905560a28290556040805160ff909216151582526020820183905280517fc7b27296870515af6c6cd7d137bff002c83c7c1b1bab36ce3502ff95c81fd3bf9281900390910190a15050565b6098546200156c906001600160a01b03163330856200424e565b609760009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015620015bb57600080fd5b505afa158015620015d0573d6000803e3d6000fd5b505050506040513d6020811015620015e757600080fd5b5051620016ac57620015f862004867565b609754604080516340c10f1960e01b81523360048201526024810185905290516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b1580156200164c57600080fd5b505af115801562001661573d6000803e3d6000fd5b5050604080513381526020810186905280820186905290517f698040b81d1b2a06886ea6b1f64dd57ad9b77d73b51e43460f668d9a6956f01e9350908190036060019150a162001869565b620016b662002136565b620016c062004867565b609754604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b1580156200170657600080fd5b505afa1580156200171b573d6000803e3d6000fd5b505050506040513d60208110156200173257600080fd5b505190506000620017438162003abe565b90506000620017636200175783876200447d565b620011578486620043db565b905060006200177382856200447d565b905084811015620017b65760405162461bcd60e51b8152600401808060200182810382526021815260200180620054646021913960400191505060405180910390fd5b609754604080516340c10f1960e01b81523360048201526024810184905290516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b1580156200180a57600080fd5b505af11580156200181f573d6000803e3d6000fd5b505060408051338152602081018a905280820185905290517f698040b81d1b2a06886ea6b1f64dd57ad9b77d73b51e43460f668d9a6956f01e9350908190036060019150a1505050505b5050565b600080516020620054f88339815191525b90565b6097546001600160a01b031681565b6000826103e8811015620018e2576040805162461bcd60e51b815260206004820152601460248201527354726164652062656c6f77206d696e2073697a6560601b604482015290519081900360640190fd5b6000620018ef8662002d62565b90506000816001600160a01b031663c19d93fb6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200192d57600080fd5b505afa15801562001942573d6000803e3d6000fd5b505050506040513d60208110156200195957600080fd5b505160028111156200196757fe5b14620019b3576040805162461bcd60e51b8152602060048201526016602482015275312a37b5b2b7213abc9036bab9ba1031329037b832b760511b604482015290519081900360640190fd5b6000620019c1828762002b6e565b90508481111562001a19576040805162461bcd60e51b815260206004820152601c60248201527f62546f6b656e4275793a20736c69707061676520657863656564656400000000604482015290519081900360640190fd5b60985462001a33906001600160a01b03163330846200424e565b6000826001600160a01b031663180f58426040518163ffffffff1660e01b815260040160206040518083038186803b15801562001a6f57600080fd5b505afa15801562001a84573d6000803e3d6000fd5b505050506040513d602081101562001a9b57600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038416916370a08231916024808301926020929190829003018186803b15801562001aea57600080fd5b505afa15801562001aff573d6000803e3d6000fd5b505050506040513d602081101562001b1657600080fd5b505190508781101562001c14576098546040805163095ea7b360e01b81526001600160a01b038781166004830152602482018c90529151919092169163095ea7b39160448083019260209291908290030181600087803b15801562001b7a57600080fd5b505af115801562001b8f573d6000803e3d6000fd5b505050506040513d602081101562001ba657600080fd5b50506001600160a01b03841663729494b462001bc38a846200447d565b6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801562001bfa57600080fd5b505af115801562001c0f573d6000803e3d6000fd5b505050505b6040805163a9059cbb60e01b8152336004820152602481018a905290516001600160a01b0384169163a9059cbb9160448083019260209291908290030181600087803b15801562001c6457600080fd5b505af115801562001c79573d6000803e3d6000fd5b505050506040513d602081101562001c9057600080fd5b505060408051338152602081018a905280820185905290517f96e8f1e69e5dca8a842e6698dcc724781528b8717037a69b2cee4f9ba55aa2319181900360600190a15090979650505050505050565b60008162001cf0575060006200208b565b609754604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b15801562001d3657600080fd5b505afa15801562001d4b573d6000803e3d6000fd5b505050506040513d602081101562001d6257600080fd5b505190508062001d775760009150506200208b565b606062001d8362002d89565b9050600062001d91620027a9565b50609854604080516370a0823160e01b8152306004820152905192935060009262001e1c926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801562001de657600080fd5b505afa15801562001dfb573d6000803e3d6000fd5b505050506040513d602081101562001e1257600080fd5b50518390620048d8565b905062001e3b846200115762001e33828a6200447d565b8490620043db565b90508060005b84518110156200207657600085828151811062001e5a57fe5b602002602001015190506000600281111562001e7257fe5b816001600160a01b031663c19d93fb6040518163ffffffff1660e01b815260040160206040518083038186803b15801562001eac57600080fd5b505afa15801562001ec1573d6000803e3d6000fd5b505050506040513d602081101562001ed857600080fd5b5051600281111562001ee657fe5b14156200206c57600062001fdf88620011578c856001600160a01b031663180f58426040518163ffffffff1660e01b815260040160206040518083038186803b15801562001f3357600080fd5b505afa15801562001f48573d6000803e3d6000fd5b505050506040513d602081101562001f5f57600080fd5b5051604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801562001faa57600080fd5b505afa15801562001fbf573d6000803e3d6000fd5b505050506040513d602081101562001fd657600080fd5b505190620043db565b905060006200202789620011578d866001600160a01b0316630babd8646040518163ffffffff1660e01b815260040160206040518083038186803b15801562001f3357600080fd5b905060006200203884848862004933565b90506200204686826200447d565b9550600062002057858489620049a7565b90506200206587826200447d565b9650505050505b5060010162001e41565b506200208382826200447d565b955050505050505b919050565b6200209a620042c9565b6065546001600160a01b03908116911614620020ec576040805162461bcd60e51b8152602060048201819052602482015260008051602062005539833981519152604482015290519081900360640190fd5b6065546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3606580546001600160a01b0319169055565b60606200214262002d89565b905060005b8151811015620018695760008282815181106200216057fe5b60200260200101519050600160028111156200217857fe5b816001600160a01b031663c19d93fb6040518163ffffffff1660e01b815260040160206040518083038186803b158015620021b257600080fd5b505afa158015620021c7573d6000803e3d6000fd5b505050506040513d6020811015620021de57600080fd5b50516002811115620021ec57fe5b1415620022eb576000816001600160a01b0316630babd8646040518163ffffffff1660e01b815260040160206040518083038186803b1580156200222f57600080fd5b505afa15801562002244573d6000803e3d6000fd5b505050506040513d60208110156200225b57600080fd5b5051604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015620022a657600080fd5b505afa158015620022bb573d6000803e3d6000fd5b505050506040513d6020811015620022d257600080fd5b505190508015620022e957620022e982826200256a565b505b5060010162002147565b609854604080516370a0823160e01b8152306004820152905160009283926200237e9286926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156200234a57600080fd5b505afa1580156200235f573d6000803e3d6000fd5b505050506040513d60208110156200237657600080fd5b505162004a07565b91509150915091565b609a546001600160a01b031681565b60008084841115620023ca57620023c78462001157670de0b6b3a7640000620023c0838a6200447d565b90620043db565b90505b6000620023e6866200115787620023c088620023c08d62004bed565b9050620023f48282620048d8565b979650505050505050565b609e5481565b6000620024c56200244a42846001600160a01b0316638f6204876040518163ffffffff1660e01b815260040160206040518083038186803b1580156200136b57600080fd5b836001600160a01b0316630aa2f4206040518163ffffffff1660e01b815260040160206040518083038186803b1580156200248457600080fd5b505afa15801562002499573d6000803e3d6000fd5b505050506040513d6020811015620024b057600080fd5b5051620024bc62002c67565b609e5462002396565b92915050565b6065546001600160a01b031690565b609854604080516370a0823160e01b815230600482015290516000926200256392869286926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156200252f57600080fd5b505afa15801562002544573d6000803e3d6000fd5b505050506040513d60208110156200255b57600080fd5b505162004933565b9392505050565b816001600160a01b031663c49785b4826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015620025b157600080fd5b505af1158015620025c6573d6000803e3d6000fd5b505050505050565b600080516020620054f88339815191525490565b60a3602052600090815260409020805460019091015460ff9091169082565b6098546001600160a01b031681565b6200261a620042c9565b6065546001600160a01b039081169116146200266c576040805162461bcd60e51b8152602060048201819052602482015260008051602062005539833981519152604482015290519081900360640190fd5b6040805162461bcd60e51b81526020600482015260156024820152741199585d1d5c99481b9bdd081cdd5c1c1bdc9d1959605a1b604482015290519081900360640190fd5b82518110156200279e57818181518110620026c857fe5b602002602001015160a36000858481518110620026e157fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000160006101000a81548160ff0219169083151502179055507fbaf357f5d08bd75780b7ec7c0167d5b1cce4d7fdb83abbc21f5bfa37da01bc908382815181106200275157fe5b60200260200101518383815181106200276657fe5b602002602001015160405180836001600160a01b0316815260200182151581526020019250505060405180910390a1600101620026b1565b505050565b6103e881565b6000806060620027b862002d89565b905060008060005b835181101562002b54576000848281518110620027d957fe5b6020026020010151905060016002811115620027f157fe5b816001600160a01b031663c19d93fb6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200282b57600080fd5b505afa15801562002840573d6000803e3d6000fd5b505050506040513d60208110156200285757600080fd5b505160028111156200286557fe5b141562002b49576000816001600160a01b0316630babd8646040518163ffffffff1660e01b815260040160206040518083038186803b158015620028a857600080fd5b505afa158015620028bd573d6000803e3d6000fd5b505050506040513d6020811015620028d457600080fd5b5051604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156200291f57600080fd5b505afa15801562002934573d6000803e3d6000fd5b505050506040513d60208110156200294b57600080fd5b5051604080516302eaf61960e21b815290519192506000916001600160a01b03851691630babd864916004808301926020929190829003018186803b1580156200299457600080fd5b505afa158015620029a9573d6000803e3d6000fd5b505050506040513d6020811015620029c057600080fd5b5051604080516318160ddd60e01b815290516001600160a01b03909216916318160ddd91600480820192602092909190829003018186803b15801562002a0557600080fd5b505afa15801562002a1a573d6000803e3d6000fd5b505050506040513d602081101562002a3157600080fd5b5051905081158062002a41575080155b1562002a505750505062002b4b565b62002ac962002ac1826200115785609860009054906101000a90046001600160a01b03166001600160a01b03166370a08231896040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801562001faa57600080fd5b8790620048d8565b955062002b4462002b3c826200115785609960009054906101000a90046001600160a01b03166001600160a01b03166370a08231896040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801562001faa57600080fd5b8690620048d8565b945050505b505b600101620027c0565b509093509150509091565b609d54610100900461ffff1681565b60008162002b7f57506000620024c5565b62002b89620052b7565b60a0810183905262002b9b84620022f5565b6020830181905281835260009162002bb391620048d8565b90508160a0015181111562002bdf5760a082015162002bd49082906200447d565b604083015262002bf6565b60a082015162002bf090826200447d565b60408301525b6020820151825160a084015162002c5692600292620011579262002c4f9190829062002c4262002c4962002c316004620023c0858a620043db565b60408d015162002c429080620043db565b90620048d8565b62004bed565b906200447d565b606090920182905250905092915050565b600080609b60009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801562002cb957600080fd5b505afa15801562002cce573d6000803e3d6000fd5b505050506040513d60a081101562002ce557600080fd5b50602001519050600081121562002d2e5760405162461bcd60e51b8152600401808060200182810382526028815260200180620055876028913960400191505060405180910390fd5b609d5460ff161562002d5257609c5462002d49908262004439565b9150506200187e565b609c5462002d49908290620043db565b600062002d6e62002d89565b828151811062002d7a57fe5b60200260200101519050919050565b609a5460a05460408051637caf154560e01b81526004810192909252516060926001600160a01b031691637caf1545916024808301926000929190829003018186803b15801562002dd957600080fd5b505afa15801562002dee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101562002e1857600080fd5b8101908080516040519392919084600160201b82111562002e3857600080fd5b90830190602082018581111562002e4e57600080fd5b82518660208202830111600160201b8211171562002e6b57600080fd5b82525081516020918201928201910280838360005b8381101562002e9a57818101518382015260200162002e80565b50505050905001604052505050905090565b62000e7b8162004c45565b6001600160a01b03871662002f07576040805162461bcd60e51b8152602060048201526011602482015270496e76616c6964205f726567697374727960781b604482015290519081900360640190fd5b6001600160a01b03861662002f5a576040805162461bcd60e51b8152602060048201526014602482015273496e76616c6964205f70726963654f7261636c6560601b604482015290519081900360640190fd5b6001600160a01b03851662002fae576040805162461bcd60e51b815260206004820152601560248201527424b73b30b634b2102fb830bcb6b2b73a2a37b5b2b760591b604482015290519081900360640190fd5b6001600160a01b0384166200300a576040805162461bcd60e51b815260206004820152601860248201527f496e76616c6964205f636f6c6c61746572616c546f6b656e0000000000000000604482015290519081900360640190fd5b846001600160a01b0316846001600160a01b031614156200305d5760405162461bcd60e51b815260040180806020018281038252602b815260200180620054cd602b913960400191505060405180910390fd5b6001600160a01b038316620030b9576040805162461bcd60e51b815260206004820152601c60248201527f496e76616c6964205f746f6b656e496d706c656d656e746174696f6e00000000604482015290519081900360640190fd5b609f5460ff1615620030fd5760405162461bcd60e51b8152600401808060200182810382526026815260200180620054a76026913960400191505060405180910390fd5b609f8054600160ff19909116179055609a80546001600160a01b03199081166001600160a01b038a811691909117909255609b80548216898416179055609d805462ffff00191661010061ffff8716021790556098805482168784161790819055609980549092168884161791829055604080519184166020808401829052939094168282018190528151808403830181526060840180845281519186019190912060a05563313ce56760e01b905290519092849263313ce5679260648083019392829003018186803b158015620031d457600080fd5b505afa158015620031e9573d6000803e3d6000fd5b505050506040513d60208110156200320057600080fd5b50516099805460ff909216600160a01b0260ff60a01b199092169190911790556040805163313ce56760e01b815290516001600160a01b0383169163313ce567916004808301926020929190829003018186803b1580156200326157600080fd5b505afa15801562003276573d6000803e3d6000fd5b505050506040513d60208110156200328d57600080fd5b50516099805460ff60a81b1916600160a81b60ff93841681029190911791829055620032dc92600160a01b83048116600a90810a936200115793670de0b6b3a764000093910416900a620043db565b609c55609d805460ff191684158015919091179091556200338657609b546040805163313ce56760e01b815290516200337d926001600160a01b03169163313ce567916004808301926020929190829003018186803b1580156200333f57600080fd5b505afa15801562003354573d6000803e3d6000fd5b505050506040513d60208110156200336b57600080fd5b5051609c549060ff16600a0a620043db565b609c5562003410565b609b546040805163313ce56760e01b815290516200340c926001600160a01b03169163313ce567916004808301926020929190829003018186803b158015620033ce57600080fd5b505afa158015620033e3573d6000803e3d6000fd5b505050506040513d6020811015620033fa57600080fd5b5051609c549060ff16600a0a62004439565b609c555b6000856040516200342190620052ed565b6001600160a01b03909116815260405190819003602001906000f0801580156200344f573d6000803e3d6000fd5b50905080609760006101000a8154816001600160a01b0302191690836001600160a01b031602179055506060836001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b158015620034b557600080fd5b505afa158015620034ca573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015620034f457600080fd5b8101908080516040519392919084600160201b8211156200351457600080fd5b9083019060208201858111156200352a57600080fd5b8251600160201b8111828201881017156200354457600080fd5b82525081516020918201929091019080838360005b838110156200357357818101518382015260200162003559565b50505050905090810190601f168015620035a15780820380516001836020036101000a031916815260200191505b50604052505050836001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b158015620035e257600080fd5b505afa158015620035f7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156200362157600080fd5b8101908080516040519392919084600160201b8211156200364157600080fd5b9083019060208201858111156200365757600080fd5b8251600160201b8111828201881017156200367157600080fd5b82525081516020918201929091019080838360005b83811015620036a057818101518382015260200162003686565b50505050905090810190601f168015620036ce5780820380516001836020036101000a031916815260200191505b506040525050506040516020018083805190602001908083835b60208310620037095780518252601f199092019160209182019101620036e8565b6001836020036101000a03801982511681845116808217855250505050505090500180602d60f81b81525060010182805190602001908083835b60208310620037645780518252601f19909201916020918201910162003743565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405290506060816040516020018080624c502d60e81b81525060030182805190602001908083835b60208310620037e05780518252601f199092019160209182019101620037bf565b51815160209384036101000a60001901801990921691161790526040805192909401828103601f1901835293849052609754609954630b127b6360e11b8652600160a01b900460ff16604486018190526060600487019081528451606488015284519499506001600160a01b039092169750631624f6c69650889586955090939192839260248301926084019187019080838360005b838110156200389057818101518382015260200162003876565b50505050905090810190601f168015620038be5780820380516001836020036101000a031916815260200191505b50838103825285518152855160209182019187019080838360005b83811015620038f3578181015183820152602001620038d9565b50505050905090810190601f168015620039215780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156200394457600080fd5b505af115801562003959573d6000803e3d6000fd5b505065246139ca8000609e555062003972905062004d44565b609754609b54604080516001600160a01b03938416815292909116602083015280517fee8c1456473a8633deb9ec0e6474a51a39f9b0836d7c8c953fe44ba974a111619281900390910190a1505050505050505050505050565b620039d6620042c9565b6065546001600160a01b0390811691161462003a28576040805162461bcd60e51b8152602060048201819052602482015260008051602062005539833981519152604482015290519081900360640190fd5b65048c27395000811162003a83576040805162461bcd60e51b815260206004820152601b60248201527f566f6c6174696c697479466163746f7220697320746f6f206c6f770000000000604482015290519081900360640190fd5b609e8190556040805182815290517f64c041d58edba5f0f8c4b1e3069ab60cd040564677fd1d9533253cd81e41bffb9181900360200190a150565b6000606062003acc62002d89565b9050600062003ada62002c67565b905060008060005b84518110156200414757600085828151811062003afb57fe5b602002602001015190506000600281111562003b1357fe5b816001600160a01b031663c19d93fb6040518163ffffffff1660e01b815260040160206040518083038186803b15801562003b4d57600080fd5b505afa15801562003b62573d6000803e3d6000fd5b505050506040513d602081101562003b7957600080fd5b5051600281111562003b8757fe5b141562003dc557600062003b9b8262002405565b9050600062003bb3670de0b6b3a7640000836200447d565b90506000836001600160a01b031663180f58426040518163ffffffff1660e01b815260040160206040518083038186803b15801562003bf157600080fd5b505afa15801562003c06573d6000803e3d6000fd5b505050506040513d602081101562003c1d57600080fd5b5051604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801562003c6857600080fd5b505afa15801562003c7d573d6000803e3d6000fd5b505050506040513d602081101562003c9457600080fd5b5051604080516302eaf61960e21b815290519192506000916001600160a01b03871691630babd864916004808301926020929190829003018186803b15801562003cdd57600080fd5b505afa15801562003cf2573d6000803e3d6000fd5b505050506040513d602081101562003d0957600080fd5b5051604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801562003d5457600080fd5b505afa15801562003d69573d6000803e3d6000fd5b505050506040513d602081101562003d8057600080fd5b5051905062003db962003db1670de0b6b3a76400006200115762003da58588620043db565b62002c42878a620043db565b8990620048d8565b9750505050506200413c565b87801562003e4657506001816001600160a01b031663c19d93fb6040518163ffffffff1660e01b815260040160206040518083038186803b15801562003e0a57600080fd5b505afa15801562003e1f573d6000803e3d6000fd5b505050506040513d602081101562003e3657600080fd5b5051600281111562003e4457fe5b145b156200413c576000816001600160a01b0316630babd8646040518163ffffffff1660e01b815260040160206040518083038186803b15801562003e8857600080fd5b505afa15801562003e9d573d6000803e3d6000fd5b505050506040513d602081101562003eb457600080fd5b5051604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801562003eff57600080fd5b505afa15801562003f14573d6000803e3d6000fd5b505050506040513d602081101562003f2b57600080fd5b5051604080516302eaf61960e21b815290519192506000916001600160a01b03851691630babd864916004808301926020929190829003018186803b15801562003f7457600080fd5b505afa15801562003f89573d6000803e3d6000fd5b505050506040513d602081101562003fa057600080fd5b5051604080516318160ddd60e01b815290516001600160a01b03909216916318160ddd91600480820192602092909190829003018186803b15801562003fe557600080fd5b505afa15801562003ffa573d6000803e3d6000fd5b505050506040513d60208110156200401157600080fd5b5051905081158062004021575080155b1562004030575050506200413e565b60006200409f826200115785609860009054906101000a90046001600160a01b03166001600160a01b03166370a08231896040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801562001faa57600080fd5b90506000620041228962001157670de0b6b3a7640000620023c087620011578a609960009054906101000a90046001600160a01b03166001600160a01b03166370a082318e6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801562001faa57600080fd5b9050620041358162002c428985620048d8565b9650505050505b505b60010162003ae2565b50609954604080516370a0823160e01b81523060048201529051600092620041ad9287926200115792670de0b6b3a7640000926001600160a01b03909116916370a0823191602480820192602092909190829003018186803b15801562001faa57600080fd5b609854604080516370a0823160e01b815230600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015620041ff57600080fd5b505afa15801562004214573d6000803e3d6000fd5b505050506040513d60208110156200422b57600080fd5b50519050620042428162002c4284818888620048d8565b98975050505050505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052620042aa90859062004e01565b50505050565b600081831015620042c3575081620024c5565b50919050565b3390565b806001600160a01b03166352d1902d6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200430757600080fd5b505afa1580156200431c573d6000803e3d6000fd5b505050506040513d60208110156200433357600080fd5b5051600080516020620054f88339815191521462004389576040805162461bcd60e51b815260206004820152600e60248201526d4e6f7420636f6d70617469626c6560901b604482015290519081900360640190fd5b600080516020620054f8833981519152819055604080516001600160a01b038316815290517feeaed647dc622e55877c30943e5c1d4feb92d1b8cfcc88d974163e9787bde9af9181900360200190a150565b600082620043ec57506000620024c5565b82820282848281620043fa57fe5b0414620025635760405162461bcd60e51b8152600401808060200182810382526021815260200180620055186021913960400191505060405180910390fd5b60006200256383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525062004fc5565b60006200256383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506200506c565b60006060620044cf62002d89565b905060005b81518110156200485b576000828281518110620044ed57fe5b60200260200101519050600060028111156200450557fe5b816001600160a01b031663c19d93fb6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200453f57600080fd5b505afa15801562004554573d6000803e3d6000fd5b505050506040513d60208110156200456b57600080fd5b505160028111156200457957fe5b141562004851576000620045c689620011578c856001600160a01b031663180f58426040518163ffffffff1660e01b815260040160206040518083038186803b15801562001f3357600080fd5b905060006200460e8a620011578d866001600160a01b0316630babd8646040518163ffffffff1660e01b815260040160206040518083038186803b15801562001f3357600080fd5b90508715806200461d5750898b145b156200480d5781156200471557826001600160a01b031663180f58426040518163ffffffff1660e01b815260040160206040518083038186803b1580156200466457600080fd5b505afa15801562004679573d6000803e3d6000fd5b505050506040513d60208110156200469057600080fd5b50516040805163a9059cbb60e01b81526001600160a01b038c81166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015620046e657600080fd5b505af1158015620046fb573d6000803e3d6000fd5b505050506040513d60208110156200471257600080fd5b50505b80156200480757826001600160a01b0316630babd8646040518163ffffffff1660e01b815260040160206040518083038186803b1580156200475657600080fd5b505afa1580156200476b573d6000803e3d6000fd5b505050506040513d60208110156200478257600080fd5b50516040805163a9059cbb60e01b81526001600160a01b038c81166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015620047d857600080fd5b505af1158015620047ed573d6000803e3d6000fd5b505050506040513d60208110156200480457600080fd5b50505b6200484e565b60006200481c84848a62004933565b90506200482a88826200447d565b975060006200483b85848b620049a7565b90506200484989826200447d565b985050505b50505b50600101620044d4565b50919695505050505050565b60a15460ff1615620048d65760a25462004882600062003abe565b1115620048d6576040805162461bcd60e51b815260206004820152601760248201527f506f6f6c206f766572206465706f736974206c696d6974000000000000000000604482015290519081900360640190fd5b565b60008282018381101562002563576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600082620049445750600062002563565b60008062004953868562004a07565b909250905060006200496b8262002c428886620048d8565b90506000620042426002620011576200499f62002c49620049936004620023c08e8b620043db565b62002c4f8880620043db565b85906200447d565b600082620049b85750600062002563565b600080620049c7868562004a07565b90925090506000620049df8362002c428885620048d8565b90506000620042426002620011576200499f62002c49620049936004620023c08e8c620043db565b600080600062004af784866001600160a01b031663180f58426040518163ffffffff1660e01b815260040160206040518083038186803b15801562004a4b57600080fd5b505afa15801562004a60573d6000803e3d6000fd5b505050506040513d602081101562004a7757600080fd5b5051604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801562004ac257600080fd5b505afa15801562004ad7573d6000803e3d6000fd5b505050506040513d602081101562004aee57600080fd5b505190620048d8565b9050600062004b3a85876001600160a01b0316630babd8646040518163ffffffff1660e01b815260040160206040518083038186803b15801562004a4b57600080fd5b9050600062004b498762002405565b9050600062004b61670de0b6b3a7640000836200447d565b905060008082841162004ba95785915062004b8283620011578487620043db565b90508481111562004ba357508362004ba084620011578386620043db565b91505b62004bde565b508362004bbc84620011578386620043db565b91508582111562004bde5785915062004bdb83620011578487620043db565b90505b90999098509650505050505050565b6000600382111562004c36575080600160028204015b8181101562004c2f5780915060028182858162004c1c57fe5b04018162004c2657fe5b04905062004c03565b506200208b565b81156200208b57506001919050565b62004c4f620042c9565b6065546001600160a01b0390811691161462004ca1576040805162461bcd60e51b8152602060048201819052602482015260008051602062005539833981519152604482015290519081900360640190fd5b6001600160a01b03811662004ce85760405162461bcd60e51b81526004018080602001828103825260268152602001806200543e6026913960400191505060405180910390fd5b6065546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3606580546001600160a01b0319166001600160a01b0392909216919091179055565b600054610100900460ff168062004d60575062004d60620050c9565b8062004d6f575060005460ff16155b62004dac5760405162461bcd60e51b815260040180806020018281038252602e81526020018062005559602e913960400191505060405180910390fd5b600054610100900460ff1615801562004dd8576000805460ff1961ff0019909116610100171660011790555b62004de2620050cf565b62004dec62005177565b801562000e7b576000805461ff001916905550565b62004e15826001600160a01b03166200527a565b62004e67576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b6020831062004ea75780518252601f19909201916020918201910162004e86565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811462004f0b576040519150601f19603f3d011682016040523d82523d6000602084013e62004f10565b606091505b50915091508162004f68576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115620042aa5780806020019051602081101562004f8657600080fd5b5051620042aa5760405162461bcd60e51b815260040180806020018281038252602a815260200180620055dd602a913960400191505060405180910390fd5b60008183620050555760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156200501957818101518382015260200162004fff565b50505050905090810190601f168015620050475780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816200506257fe5b0495945050505050565b60008184841115620050c15760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156200501957818101518382015260200162004fff565b505050900390565b303b1590565b600054610100900460ff1680620050eb5750620050eb620050c9565b80620050fa575060005460ff16155b620051375760405162461bcd60e51b815260040180806020018281038252602e81526020018062005559602e913960400191505060405180910390fd5b600054610100900460ff1615801562004dec576000805460ff1961ff001990911661010017166001179055801562000e7b576000805461ff001916905550565b600054610100900460ff168062005193575062005193620050c9565b80620051a2575060005460ff16155b620051df5760405162461bcd60e51b815260040180806020018281038252602e81526020018062005559602e913960400191505060405180910390fd5b600054610100900460ff161580156200520b576000805460ff1961ff0019909116610100171660011790555b600062005217620042c9565b606580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350801562000e7b576000805461ff001916905550565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590620052af57508115155b949350505050565b6040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b61014280620052fc8339019056fe608060405234801561001057600080fd5b506040516101423803806101428339818101604052602081101561003357600080fd5b50516001600160a01b038116610090576040805162461bcd60e51b815260206004820152601c60248201527f436f6e7472616374204c6f6769632063616e6e6f742062652030783000000000604482015290519081900360640190fd5b7fc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7556082806100c06000396000f3fe60806040527fc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf75460405136600082376000803683855af491503d806000833e8280156048578183f35b8183fdfea2646970667358221220a0638f327ea4245a0fcb63feef5210f7f7cb9a72341a39c3be895bade9162aa764736f6c634300060c00334f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737370726f766964654361706974616c3a20536c69707061676520657863656564656477697468647261774361706974616c3a20536c697070616765206578636565646564436f6e74726163742063616e206f6e6c7920626520696e697469616c697a6564206f6e63652e5f636f6c6c61746572616c546f6b656e2063616e6e6f7420657175616c205f7061796d656e74546f6b656ec5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564696e76616c69642076616c75652072656365697665642066726f6d207072696365206f7261636c6577697468647261774361706974616c3a20636f6c6c61746572616c4d696e696d756d206d757374206265207365745361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212203482cab934e81f964622486a87a4ad67f07532a0ca847b55bb47bb06f83fd1fb64736f6c634300060c0033
Deployed Bytecode Sourcemap
44539:41913:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47181:24;;;:::i;:::-;;;;;;;;;;;;;;;;47307:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;81468:1554;;;;;;;;;;;;;;;;-1:-1:-1;81468:1554:0;;;;;;;;;;;;:::i;47432:33::-;;;:::i;45099:26::-;;;:::i;:::-;;;;-1:-1:-1;;;;;45099:26:0;;;;;;;;;;;;;;56044:290;;;;;;;;;;;;;;;;-1:-1:-1;56044:290:0;-1:-1:-1;;;;;56044:290:0;;:::i;:::-;;59704:2521;;;;;;;;;;;;;;;;-1:-1:-1;59704:2521:0;;;;;;;;;;;;;;:::i;54213:369::-;;;;;;;;;;;;;;;;-1:-1:-1;54213:369:0;;;;;;;;;:::i;57044:2251::-;;;;;;;;;;;;;;;;-1:-1:-1;57044:2251:0;;;;;;;:::i;39814:104::-;;;:::i;44944:27::-;;;:::i;79677:1539::-;;;;;;;;;;;;;;;;-1:-1:-1;79677:1539:0;;;;;;;;;;;;:::i;71628:2086::-;;;;;;;;;;;;;;;;-1:-1:-1;71628:2086:0;;:::i;31688:148::-;;;:::i;62402:569::-;;;:::i;74633:279::-;;;;;;;;;;;;;;;;-1:-1:-1;74633:279:0;-1:-1:-1;;;;;74633:279:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;45293:32;;;:::i;78878:548::-;;;;;;;;;;;;;;;;-1:-1:-1;78878:548:0;;;;;;;;;;;;;;;;;:::i;46873:31::-;;;:::i;77907:789::-;;;;;;;;;;;;;;;;-1:-1:-1;77907:789:0;-1:-1:-1;;;;;77907:789:0;;:::i;31046:79::-;;;:::i;84316:331::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;84316:331:0;;;;;;;;:::i;63151:156::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;63151:156:0;;;;;;;;:::i;39610:196::-;;;:::i;48407:63::-;;;;;;;;;;;;;;;;-1:-1:-1;48407:63:0;-1:-1:-1;;;;;48407:63:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;45063:29;;;:::i;54853:647::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;54853:647:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;54853:647:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54853:647:0;;;;;;;;-1:-1:-1;54853:647:0;;-1:-1:-1;;;;;54853:647:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;54853:647:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54853:647:0;;-1:-1:-1;54853:647:0;;-1:-1:-1;;;;;54853:647:0:i;47474:49::-;;;:::i;70149:1399::-;;;:::i;46731:33::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;83116:1098;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;83116:1098:0;;;;;;;;:::i;77264:565::-;;;:::i;73984:130::-;;;;;;;;;;;;;;;;-1:-1:-1;73984:130:0;;:::i;73794:128::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50335:152;;;;;;;;;;;;;;;;-1:-1:-1;50335:152:0;-1:-1:-1;;;;;50335:152:0;;:::i;50573:3567::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;50573:3567:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;55586:345::-;;;;;;;;;;;;;;;;-1:-1:-1;55586:345:0;;:::i;66541:3504::-;;;;;;;;;;;;;;;;-1:-1:-1;66541:3504:0;;;;:::i;47181:24::-;;;;:::o;47307:32::-;;;;;;:::o;81468:1554::-;81635:7;81612:12;47519:4;50251:9;:31;;50243:64;;;;;-1:-1:-1;;;50243:64:0;;;;;;;;;;;;-1:-1:-1;;;50243:64:0;;;;;;;;;;;;;;;81655:20:::1;81678:22;81688:11;81678:9;:22::i;:::-;81655:45:::0;-1:-1:-1;81757:24:0::1;81733:12;-1:-1:-1::0;;;;;81733:18:0::1;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;81733:20:0;:48:::1;::::0;::::1;;;;;;;81711:121;;;::::0;;-1:-1:-1;;;81711:121:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;81915:24;81942:87;81979:12;82006;81942:22;:87::i;:::-;81915:114;;82082:17;82062:16;:37;;82040:116;;;::::0;;-1:-1:-1;;;82040:116:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;82212:129;82265:10;82298:4;82318:12;82212;-1:-1:-1::0;;;;;82212:19:0::1;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;82212:21:0;-1:-1:-1;;;;;82212:38:0::1;::::0;:129;;:38:::1;:129::i;:::-;82385:21;82409:12;-1:-1:-1::0;;;;;82409:19:0::1;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;82409:21:0;:46:::1;::::0;;-1:-1:-1;;;82409:46:0;;82449:4:::1;82409:46;::::0;::::1;::::0;;;-1:-1:-1;;;;;82409:31:0;;::::1;::::0;::::1;::::0;:46;;;;;:21:::1;::::0;:46;;;;;;;;:31;:46;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;82409:46:0;82490:21:::1;::::0;;-1:-1:-1;;;82490:21:0;;;;82409:46;;-1:-1:-1;82466:21:0::1;::::0;-1:-1:-1;;;;;82490:19:0;::::1;::::0;::::1;::::0;:21:::1;::::0;;::::1;::::0;82409:46:::1;::::0;82490:21;;;;;;;:19;:21;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;82490:21:0;:46:::1;::::0;;-1:-1:-1;;;82490:46:0;;82530:4:::1;82490:46;::::0;::::1;::::0;;;-1:-1:-1;;;;;82490:31:0;;::::1;::::0;::::1;::::0;:46;;;;;:21:::1;::::0;:46;;;;;;;;:31;:46;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;82490:46:0;;-1:-1:-1;82547:19:0::1;82569:38;82578:13:::0;82490:46;82569:8:::1;:38::i;:::-;82547:60:::0;-1:-1:-1;82622:15:0;;82618:87:::1;;82654:12;-1:-1:-1::0;;;;;82654:26:0::1;;82681:11;82654:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;82618:87;82759:15;::::0;:54:::1;::::0;;-1:-1:-1;;;82759:54:0;;82784:10:::1;82759:54;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;;;;;82759:15:0;;::::1;::::0;:24:::1;::::0;:54;;;;;::::1;::::0;;;;;;;;;:15:::1;::::0;:54;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;82858:55:0::1;::::0;;82870:10:::1;82858:55:::0;;82759:54:::1;82858:55:::0;::::1;::::0;;;;;;;;;;;::::1;::::0;;;;;;;::::1;-1:-1:-1::0;82998:16:0;;81468:1554;-1:-1:-1;;;;;;;;81468:1554:0:o;47432:33::-;;;;:::o;45099:26::-;;;-1:-1:-1;;;;;45099:26:0;;:::o;56044:290::-;31268:12;:10;:12::i;:::-;31258:6;;-1:-1:-1;;;;;31258:6:0;;;:22;;;31250:67;;;;;-1:-1:-1;;;31250:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31250:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;56166:36:0;::::1;56158:77;;;::::0;;-1:-1:-1;;;56158:77:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;56286:40;56305:20;56286:18;:40::i;:::-;56044:290:::0;:::o;59704:2521::-;59871:10;59870:11;:36;;;;59905:1;59885:17;:21;59870:36;59848:132;;;;-1:-1:-1;;;59848:132:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60066:15;;:61;;;-1:-1:-1;;;60066:61:0;;60106:10;60066:61;;;;;;60030:33;;-1:-1:-1;;;;;60066:15:0;;:25;;:61;;;;;;;;;;;;;;:15;:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60066:61:0;60171:12;;:34;;;-1:-1:-1;;;60171:34:0;;60194:10;60171:34;;;;;;60066:61;;-1:-1:-1;60138:30:0;;-1:-1:-1;;;;;60171:12:0;;;;:22;;:34;;;;;60066:61;;60171:34;;;;;;;;:12;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60171:34:0;60277:7;;:21;;;-1:-1:-1;;;60277:21:0;;;;60171:34;;-1:-1:-1;60253:21:0;;-1:-1:-1;;;;;60277:7:0;;;;:19;;:21;;;;;60171:34;;60277:21;;;;;;;;:7;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60277:21:0;60342:7;;:39;;;-1:-1:-1;;;60342:39:0;;60355:10;60342:39;;;;;;;;;;;;60277:21;;-1:-1:-1;;;;;;60342:7:0;;;;:12;;:39;;;;;:7;;:39;;;;;;;;:7;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60432:23;:21;:23::i;:::-;60529:12;;:37;;;-1:-1:-1;;;60529:37:0;;60560:4;60529:37;;;;;;60499:27;;-1:-1:-1;;;;;60529:12:0;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60529:37:0;60577:12;;60529:37;;-1:-1:-1;;;;;;60577:12:0;:21;60613:10;60638:57;60681:13;60638:38;60529:37;60662:13;60638:23;:38::i;:::-;:42;;:57::i;:::-;60577:129;;;;;;;;;;;;;-1:-1:-1;;;;;60577:129:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;60752:15:0;;:64;;;-1:-1:-1;;;60752:64:0;;60800:4;60752:64;;;;;;60719:30;;-1:-1:-1;;;;;60752:15:0;;:25;;:64;;;;;60577:129;;60752:64;;;;;;;:15;:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60752:64:0;;-1:-1:-1;61078:28:0;61109:112;61150:60;61196:13;61150:41;60752:64;61177:13;61150:26;:41::i;:60::-;61109:22;;:26;:112::i;:::-;61078:143;;61331:179;61373:13;61401;61429:10;61454;61479:20;61331:27;:179::i;:::-;61573:15;;61308:202;;-1:-1:-1;;;;;;61573:15:0;:24;61612:10;61637:48;:22;61308:202;61637:26;:48::i;:::-;61573:123;;;;;;;;;;;;;-1:-1:-1;;;;;61573:123:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;61739:15:0;;:37;;;-1:-1:-1;;;61739:37:0;;61765:10;61739:37;;;;;;61709:27;;61739:92;;61795:25;;-1:-1:-1;;;;;61739:15:0;;;;:25;;:37;;;;;61573:123;;61739:37;;;;;;;;:15;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61739:37:0;;:41;:92::i;:::-;61709:122;;61867:10;61866:11;:55;;;;61904:17;61881:19;:40;;61866:55;61844:139;;;;-1:-1:-1;;;61844:139:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62116:12;;:34;;;-1:-1:-1;;;62116:34:0;;62057:10;62116:34;;;;;;;;62028:189;;62082:19;;62116:62;;62155:22;;-1:-1:-1;;;;;62116:12:0;;:22;;:34;;;;;;;;;;;;;;:12;:34;;;;;;;;;;:62;62028:189;;;-1:-1:-1;;;;;62028:189:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59704:2521;;;;;;;;;;:::o;54213:369::-;31268:12;:10;:12::i;:::-;31258:6;;-1:-1:-1;;;;;31258:6:0;;;:22;;;31250:67;;;;;-1:-1:-1;;;31250:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31250:67:0;;;;;;;;;;;;;;;54356:20:::1;:44:::0;;-1:-1:-1;;54356:44:0::1;::::0;::::1;;;::::0;;;;54411:18:::1;:40:::0;;;54467:107:::1;::::0;;54356:44:::1;54509:20:::0;;::::1;54467:107;;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;::::1;54213:369:::0;;:::o;57044:2251::-;57197:15;;:127;;-1:-1:-1;;;;;57197:15:0;57244:10;57277:4;57297:16;57197:32;:127::i;:::-;57432:7;;;;;;;;;-1:-1:-1;;;;;57432:7:0;-1:-1:-1;;;;;57432:19:0;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57432:21:0;57428:464;;57538:21;:19;:21::i;:::-;57631:7;;:42;;;-1:-1:-1;;;57631:42:0;;57644:10;57631:42;;;;;;;;;;;;-1:-1:-1;;;;;57631:7:0;;;;:12;;:42;;;;;:7;;:42;;;;;;;;:7;;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;57717:62:0;;;57732:10;57717:62;;;;;;;;;;;;;;;;;;-1:-1:-1;57717:62:0;;;;;;;-1:-1:-1;57717:62:0;57874:7;;57428:464;58423:23;:21;:23::i;:::-;58504:21;:19;:21::i;:::-;58665:7;;:21;;;-1:-1:-1;;;58665:21:0;;;;58633:29;;-1:-1:-1;;;;;58665:7:0;;:19;;:21;;;;;;;;;;;;;;:7;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58665:21:0;;-1:-1:-1;58697:17:0;58717:24;58697:17;58717;:24::i;:::-;58697:44;-1:-1:-1;58752:25:0;58780:99;58837:31;58697:44;58851:16;58837:13;:31::i;:::-;58780:38;58781:9;58796:21;58780:15;:38::i;:99::-;58752:127;-1:-1:-1;58890:22:0;58915:44;58752:127;58937:21;58915;:44::i;:::-;58890:69;;59010:14;58992;:32;;58970:115;;;;-1:-1:-1;;;58970:115:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59096:7;;:40;;;-1:-1:-1;;;59096:40:0;;59109:10;59096:40;;;;;;;;;;;;-1:-1:-1;;;;;59096:7:0;;;;:12;;:40;;;;;:7;;:40;;;;;;;;:7;;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;59177:110:0;;;59206:10;59177:110;;;;;;;;;;;;;;;;;;-1:-1:-1;59177:110:0;;;;;;;-1:-1:-1;59177:110:0;57044:2251;;;;;;;:::o;39814:104::-;-1:-1:-1;;;;;;;;;;;39814:104:0;;:::o;44944:27::-;;;-1:-1:-1;;;;;44944:27:0;;:::o;79677:1539::-;79843:7;79820:12;47519:4;50251:9;:31;;50243:64;;;;;-1:-1:-1;;;50243:64:0;;;;;;;;;;;;-1:-1:-1;;;50243:64:0;;;;;;;;;;;;;;;79863:20:::1;79886:22;79896:11;79886:9;:22::i;:::-;79863:45:::0;-1:-1:-1;79965:24:0::1;79941:12;-1:-1:-1::0;;;;;79941:18:0::1;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;79941:20:0;:48:::1;::::0;::::1;;;;;;;79919:120;;;::::0;;-1:-1:-1;;;79919:120:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;79919:120:0;;;;;;;;;;;;;::::1;;80052:24;80079:86;80115:12;80142;80079:21;:86::i;:::-;80052:113;;80218:17;80198:16;:37;;80176:115;;;::::0;;-1:-1:-1;;;80176:115:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;80351:15;::::0;:127:::1;::::0;-1:-1:-1;;;;;80351:15:0::1;80398:10;80431:4;80451:16:::0;80351:32:::1;:127::i;:::-;80535:19;80557:12;-1:-1:-1::0;;;;;80557:19:0::1;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;80557:21:0;80613:31:::1;::::0;;-1:-1:-1;;;80613:31:0;;80638:4:::1;80613:31;::::0;::::1;::::0;;;80557:21;;-1:-1:-1;80589:21:0::1;::::0;-1:-1:-1;;;;;80613:16:0;::::1;::::0;::::1;::::0;:31;;;;;80557:21:::1;::::0;80613:31;;;;;;;:16;:31;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;80613:31:0;;-1:-1:-1;80659:28:0;;::::1;80655:268;;;80779:15;::::0;:60:::1;::::0;;-1:-1:-1;;;80779:60:0;;-1:-1:-1;;;;;80779:60:0;;::::1;;::::0;::::1;::::0;;;;;;;;;:15;;;::::1;::::0;:23:::1;::::0;:60;;;;;::::1;::::0;;;;;;;;:15:::1;::::0;:60;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;;;;;;80854:24:0;::::1;;80879:31;:12:::0;80896:13;80879:16:::1;:31::i;:::-;80854:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;80655:268;80969:41;::::0;;-1:-1:-1;;;80969:41:0;;80985:10:::1;80969:41;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;;;;;80969:15:0;::::1;::::0;::::1;::::0;:41;;;;;::::1;::::0;;;;;;;;-1:-1:-1;80969:15:0;:41;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;81055:57:0::1;::::0;;81069:10:::1;81055:57:::0;;80969:41:::1;81055:57:::0;::::1;::::0;;;;;;;;;;;::::1;::::0;;;;;;;::::1;-1:-1:-1::0;81192:16:0;;79677:1539;-1:-1:-1;;;;;;;79677:1539:0:o;71628:2086::-;71700:7;71724:18;71720:32;;-1:-1:-1;71751:1:0;71744:8;;71720:32;71789:7;;:21;;;-1:-1:-1;;;71789:21:0;;;;71765;;-1:-1:-1;;;;;71789:7:0;;:19;;:21;;;;;;;;;;;;;;:7;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71789:21:0;;-1:-1:-1;71825:18:0;71821:32;;71852:1;71845:8;;;;;71821:32;71866:24;71893:12;:10;:12::i;:::-;71866:39;;71919:27;71952:22;:20;:22::i;:::-;-1:-1:-1;72113:15:0;;:40;;;-1:-1:-1;;;72113:40:0;;72147:4;72113:40;;;;;;71918:56;;-1:-1:-1;72063:23:0;;72089:65;;-1:-1:-1;;;;;72113:15:0;;:25;;:40;;;;;;;;;;;;;;:15;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72113:40:0;72089:19;;:23;:65::i;:::-;72063:91;-1:-1:-1;72249:72:0;72307:13;72249:53;72269:32;72307:13;72287;72269:17;:32::i;:::-;72249:15;;:19;:53::i;:72::-;72231:90;-1:-1:-1;72231:90:0;72419:22;72470:1182;72494:7;:14;72490:1;:18;72470:1182;;;72530:20;72561:7;72569:1;72561:10;;;;;;;;;;;;;;72530:42;;72615:24;72591:48;;;;;;;;:12;-1:-1:-1;;;;;72591:18:0;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72591:20:0;:48;;;;;;;;;72587:1054;;;72660:20;72683:172;72841:13;72683:131;72800:13;72683:12;-1:-1:-1;;;;;72683:41:0;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72683:43:0;:90;;;-1:-1:-1;;;72683:90:0;;72767:4;72683:90;;;;;;-1:-1:-1;;;;;72683:75:0;;;;;;:90;;;;;:43;;:90;;;;;;;;:75;:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72683:90:0;;:116;:131::i;:172::-;72660:195;;72874:20;72897:172;73055:13;72897:131;73014:13;72897:12;-1:-1:-1;;;;;72897:41:0;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:172;72874:195;;73090:25;73118:156;73171:12;73206;73241:14;73118:30;:156::i;:::-;73090:184;-1:-1:-1;73312:37:0;:14;73090:184;73312:18;:37::i;:::-;73295:54;;73368:25;73396:156;73449:12;73484;73519:14;73396:30;:156::i;:::-;73368:184;-1:-1:-1;73588:37:0;:14;73368:184;73588:18;:37::i;:::-;73571:54;;72587:1054;;;;;-1:-1:-1;72510:3:0;;72470:1182;;;-1:-1:-1;73671:35:0;:15;73691:14;73671:19;:35::i;:::-;73664:42;;;;;;;71628:2086;;;;:::o;31688:148::-;31268:12;:10;:12::i;:::-;31258:6;;-1:-1:-1;;;;;31258:6:0;;;:22;;;31250:67;;;;;-1:-1:-1;;;31250:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31250:67:0;;;;;;;;;;;;;;;31779:6:::1;::::0;31758:40:::1;::::0;31795:1:::1;::::0;-1:-1:-1;;;;;31779:6:0::1;::::0;31758:40:::1;::::0;31795:1;;31758:40:::1;31809:6;:19:::0;;-1:-1:-1;;;;;;31809:19:0::1;::::0;;31688:148::o;62402:569::-;62453:24;62480:12;:10;:12::i;:::-;62453:39;;62508:9;62503:461;62527:7;:14;62523:1;:18;62503:461;;;62563:20;62594:7;62602:1;62594:10;;;;;;;;;;;;;;62563:42;;62648:27;62624:51;;;;;;;;:12;-1:-1:-1;;;;;62624:18:0;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62624:20:0;:51;;;;;;;;;62620:333;;;62696:21;62720:12;-1:-1:-1;;;;;62720:19:0;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62720:21:0;:86;;;-1:-1:-1;;;62720:86:0;;62782:4;62720:86;;;;;;-1:-1:-1;;;;;62720:31:0;;;;;;:86;;;;;:21;;:86;;;;;;;;:31;:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62720:86:0;;-1:-1:-1;62829:17:0;;62825:113;;62871:47;62890:12;62904:13;62871:18;:47::i;:::-;62620:333;;-1:-1:-1;62543:3:0;;62503:461;;74633:279;74849:15;;:40;;;-1:-1:-1;;;74849:40:0;;74883:4;74849:40;;;;;;74725:7;;;;74779:125;;74824:6;;-1:-1:-1;;;;;74849:15:0;;:25;;:40;;;;;;;;;;;;;;:15;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74849:40:0;74779:26;:125::i;:::-;74759:145;;;;74633:279;;;:::o;45293:32::-;;;-1:-1:-1;;;;;45293:32:0;;:::o;78878:548::-;79044:7;;79100:21;;;79096:118;;;79150:52;79189:12;79150:34;79179:4;79150:24;79189:12;79167:6;79150:16;:24::i;:::-;:28;;:34::i;:52::-;79138:64;;79096:118;79226:17;79246:128;79367:6;79246:102;79335:12;79246:70;79305:10;79246:40;79270:15;79246:23;:40::i;:128::-;79226:148;-1:-1:-1;79394:24:0;:9;79226:148;79394:13;:24::i;:::-;79387:31;78878:548;-1:-1:-1;;;;;;;78878:548:0:o;46873:31::-;;;;:::o;77907:789::-;77971:7;78494:194;78522:32;78550:3;78522:6;-1:-1:-1;;;;;78522:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:32;78573:6;-1:-1:-1;;;;;78573:17:0;;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;78573:19:0;78611:27;:25;:27::i;:::-;78657:16;;78494:9;:194::i;:::-;77991:697;77907:789;-1:-1:-1;;77907:789:0:o;31046:79::-;31111:6;;-1:-1:-1;;;;;31111:6:0;31046:79;:::o;84316:331::-;84584:15;;:40;;;-1:-1:-1;;;84584:40:0;;84618:4;84584:40;;;;;;84434:7;;84479:160;;84528:6;;84553:12;;-1:-1:-1;;;;;84584:15:0;;:25;;:40;;;;;;;;;;;;;;:15;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;84584:40:0;84479:30;:160::i;:::-;84459:180;84316:331;-1:-1:-1;;;84316:331:0:o;63151:156::-;63256:12;-1:-1:-1;;;;;63256:28:0;;63285:13;63256:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63151:156;;:::o;39610:196::-;-1:-1:-1;;;;;;;;;;;39767:21:0;;39700:99::o;48407:63::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;45063:29::-;;;-1:-1:-1;;;;;45063:29:0;;:::o;54853:647::-;31268:12;:10;:12::i;:::-;31258:6;;-1:-1:-1;;;;;31258:6:0;;;:22;;;31250:67;;;;;-1:-1:-1;;;31250:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31250:67:0;;;;;;;;;;;;;;;55032:76:::1;::::0;;-1:-1:-1;;;55032:76:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;55032:76:0;;;;;;;;;;;;;::::1;55243:250;55267:11;:18;55263:1;:22;55243:250;;;55384:16;55401:1;55384:19;;;;;;;;;;;;;;55307:23;:39;55331:11;55343:1;55331:14;;;;;;;;;;;;;;-1:-1:-1::0;;;;;55307:39:0::1;-1:-1:-1::0;;;;;55307:39:0::1;;;;;;;;;;;;:74;;;:96;;;;;;;;;;;;;;;;;;55423:58;55445:11;55457:1;55445:14;;;;;;;;;;;;;;55461:16;55478:1;55461:19;;;;;;;;;;;;;;55423:58;;;;-1:-1:-1::0;;;;;55423:58:0::1;;;;;;;;;;;;;;;;;;;;;;;55287:3;;55243:250;;;;54853:647:::0;;:::o;47474:49::-;47519:4;47474:49;:::o;70149:1399::-;70202:7;70211;70231:24;70258:12;:10;:12::i;:::-;70231:39;;70283:27;70325:24;70371:9;70366:1116;70390:7;:14;70386:1;:18;70366:1116;;;70426:20;70457:7;70465:1;70457:10;;;;;;;;;;;;;;70426:42;;70511:27;70487:51;;;;;;;;:12;-1:-1:-1;;;;;70487:18:0;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70487:20:0;:51;;;;;;;;;70483:988;;;70602:21;70626:12;-1:-1:-1;;;;;70626:19:0;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70626:21:0;:86;;;-1:-1:-1;;;70626:86:0;;70688:4;70626:86;;;;;;-1:-1:-1;;;;;70626:31:0;;;;;;:86;;;;;:21;;:86;;;;;;;;:31;:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70626:86:0;70754:21;;;-1:-1:-1;;;70754:21:0;;;;70626:86;;-1:-1:-1;70731:20:0;;-1:-1:-1;;;;;70754:19:0;;;;;:21;;;;;70626:86;;70754:21;;;;;;;:19;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70754:21:0;:35;;;-1:-1:-1;;;70754:35:0;;;;-1:-1:-1;;;;;70754:33:0;;;;;;:35;;;;;:21;;:35;;;;;;;;:33;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70754:35:0;;-1:-1:-1;70812:18:0;;;:39;;-1:-1:-1;70834:17:0;;70812:39;70808:53;;;70853:8;;;;;70808:53;70966:198;71012:151;71150:12;71012:111;71109:13;71012:15;;;;;;;;;-1:-1:-1;;;;;71012:15:0;-1:-1:-1;;;;;71012:47:0;;71068:12;71012:70;;;;;;;;;;;;;-1:-1:-1;;;;;71012:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;:151;70966:19;;:23;:198::i;:::-;70944:220;;71263:192;71306:148;71441:12;71306:108;71400:13;71306:12;;;;;;;;;-1:-1:-1;;;;;71306:12:0;-1:-1:-1;;;;;71306:44:0;;71359:12;71306:67;;;;;;;;;;;;;-1:-1:-1;;;;;71306:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;:148;71263:16;;:20;:192::i;:::-;71244:211;;70483:988;;;70366:1116;;70406:3;;70366:1116;;;-1:-1:-1;71502:19:0;;-1:-1:-1;71523:16:0;-1:-1:-1;;70149:1399:0;;:::o;46731:33::-;;;;;;;;;:::o;83116:1098::-;83233:7;83296:17;83292:31;;-1:-1:-1;83322:1:0;83315:8;;83292:31;83336:21;;:::i;:::-;83437:17;;;:32;;;83523:26;83542:6;83523:18;:26::i;:::-;83501:18;;;83480:69;;;;;;83481:18;;83583:42;;:22;:42::i;:::-;83562:63;;83653:4;:17;;;83640:10;:30;83636:194;;;83718:17;;;;83703:33;;:10;;:14;:33::i;:::-;83687:13;;;:49;83636:194;;;83785:17;;;;:33;;83807:10;83785:21;:33::i;:::-;83769:13;;;:49;83636:194;84125:18;;;;84087;;84050:17;;;;83864:301;;84163:1;;83864:280;;:242;;84087:18;83864:242;;:167;83902:118;83957:48;84003:1;83957:41;84050:17;84125:18;83957:21;:41::i;:48::-;83920:13;;;;83902:32;;83920:13;83902:17;:32::i;:::-;:36;;:118::i;:::-;83864:23;:167::i;:204::-;:222;;:242::i;:301::-;83840:21;;;;:325;;;-1:-1:-1;83840:325:0;-1:-1:-1;83116:1098:0;;;;:::o;77264:565::-;77322:7;77405:19;77434:11;;;;;;;;;-1:-1:-1;;;;;77434:11:0;-1:-1:-1;;;;;77434:27:0;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;77434:29:0;;;;-1:-1:-1;77500:1:0;77484:17;;;77476:70;;;;-1:-1:-1;;;77476:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77563:23;;;;77559:263;;;77627:36;;:63;;77676:12;77627:40;:63::i;:::-;77603:87;;;;;77559:263;77773:36;;77747:63;;77755:12;;77747:25;:63::i;73984:130::-;74045:7;74080:12;:10;:12::i;:::-;74093:11;74080:25;;;;;;;;;;;;;;74065:41;;73984:130;;;:::o;73794:128::-;73873:8;;73904:9;;73873:41;;;-1:-1:-1;;;73873:41:0;;;;;;;;;;73837:16;;-1:-1:-1;;;;;73873:8:0;;:30;;:41;;;;;:8;;:41;;;;;;;:8;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;73873:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;73873:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;73873:41:0;;;;;;;;;;;;-1:-1:-1;73873:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73866:48;;73794:128;:::o;50335:152::-;50446:33;50470:8;50446:23;:33::i;50573:3567::-;-1:-1:-1;;;;;50899:34:0;;50891:64;;;;;-1:-1:-1;;;50891:64:0;;;;;;;;;;;;-1:-1:-1;;;50891:64:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;50974:37:0;;50966:70;;;;;-1:-1:-1;;;50966:70:0;;;;;;;;;;;;-1:-1:-1;;;50966:70:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;51055:38:0;;51047:72;;;;;-1:-1:-1;;;51047:72:0;;;;;;;;;;;;-1:-1:-1;;;51047:72:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;51138:41:0;;51130:78;;;;;-1:-1:-1;;;51130:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;51264:13;-1:-1:-1;;;;;51227:51:0;51235:16;-1:-1:-1;;;;;51227:51:0;;;51219:107;;;;-1:-1:-1;;;51219:107:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51345:36:0;;51337:77;;;;;-1:-1:-1;;;51337:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;51492:11;;;;51491:12;51483:63;;;;-1:-1:-1;;;51483:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51557:11;:18;;51571:4;-1:-1:-1;;51557:18:0;;;;;;51625:8;:20;;-1:-1:-1;;;;;;51625:20:0;;;-1:-1:-1;;;;;51625:20:0;;;;;;;;;;51934:11;:26;;;;;;;;;;51971:19;:42;;-1:-1:-1;;51971:42:0;51557:18;51971:42;;;;;;;52061:15;:34;;;;;;;;;;;;52106:12;:28;;;;;;;;;;;;;52167:59;;;52186:15;;;52167:59;;;;;;;52212:12;;;;52167:59;;;;;;;;;;;;;;;;;;;;;52157:70;;;;;;;;;52145:9;:82;-1:-1:-1;;;52489:31:0;;;;52212:12;;52186:15;;52489:29;;:31;;;;;52167:59;52489:31;;;;;52186:15;52489:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52489:31:0;52468:18;:52;;;;;;-1:-1:-1;;;52468:52:0;-1:-1:-1;;;;52468:52:0;;;;;;;;;52549:28;;;-1:-1:-1;;;52549:28:0;;;;-1:-1:-1;;;;;52549:26:0;;;;;:28;;;;;52489:31;;52549:28;;;;;;;:26;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52549:28:0;52531:15;:46;;-1:-1:-1;;;;52531:46:0;-1:-1:-1;;;52531:46:0;;;;;;;;;;;;;;52768:112;;-1:-1:-1;;;52861:18:0;;;;52856:2;52848:31;;;;52768:61;;52776:4;;52813:15;;;52800:28;;52768:31;:61::i;:112::-;52729:36;:151;52893:23;:50;;-1:-1:-1;;52893:50:0;;;;;;;;;;;;52954:358;;53110:11;;:22;;;-1:-1:-1;;;53110:22:0;;;;53038:95;;-1:-1:-1;;;;;53110:11:0;;:20;;:22;;;;;;;;;;;;;;:11;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53110:22:0;53038:36;;;53097:35;;53105:2;53097:35;53038:58;:95::i;:::-;52999:36;:134;52954:358;;;53277:11;;:22;;;-1:-1:-1;;;53277:22:0;;;;53205:95;;-1:-1:-1;;;;;53277:11:0;;:20;;:22;;;;;;;;;;;;;;:11;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53277:22:0;53205:36;;;53264:35;;53272:2;53264:35;53205:58;:95::i;:::-;53166:36;:134;52954:358;53373:18;53404:20;53394:31;;;;;:::i;:::-;-1:-1:-1;;;;;53394:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53373:52;;53467:12;53436:7;;:45;;;;;-1:-1:-1;;;;;53436:45:0;;;;;-1:-1:-1;;;;;53436:45:0;;;;;;53572:21;53652:20;-1:-1:-1;;;;;53652:27:0;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53652:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;53652:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;53652:29:0;;;;;;-1:-1:-1;53652:29:0;;;;;;;;;;-1:-1:-1;53652:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53722:17;-1:-1:-1;;;;;53722:24:0;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53722:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;53722:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;53722:26:0;;;;;;-1:-1:-1;53722:26:0;;;;;;;;;;-1:-1:-1;53722:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53617:146;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53617:146:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;53617:146:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53617:146:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53572:202;;53785:25;53844:7;53820:32;;;;;;-1:-1:-1;;;53820:32:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53820:32:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53820:32:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53820:32:0;;;;;;;53864:7;;53909:18;;-1:-1:-1;;;53864:64:0;;-1:-1:-1;;;53909:18:0;;;;53864:64;;;;;;;;;;;;;;;;;;;;;53820:32;;-1:-1:-1;;;;;;53864:7:0;;;;-1:-1:-1;53864:18:0;;-1:-1:-1;53820:32:0;;;;-1:-1:-1;53909:18:0;;53864:64;;;;;;;;;;;;;;;;;-1:-1:-1;53864:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53864:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;54033:7:0;54014:16;:26;-1:-1:-1;54053:16:0;;-1:-1:-1;54053:14:0;:16::i;:::-;54102:7;;54119:11;;54087:45;;;-1:-1:-1;;;;;54102:7:0;;;54087:45;;54119:11;;;;54087:45;;;;;;;;;;;;;;;;50573:3567;;;;;;;;;;;;:::o;55586:345::-;31268:12;:10;:12::i;:::-;31258:6;;-1:-1:-1;;;;;31258:6:0;;;:22;;;31250:67;;;;;-1:-1:-1;;;31250:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31250:67:0;;;;;;;;;;;;;;;55778:6:::1;55758:17;:26;55750:66;;;::::0;;-1:-1:-1;;;55750:66:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;55829:16;:36:::0;;;55881:42:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;55586:345:::0;:::o;66541:3504::-;66639:7;66664:24;66691:12;:10;:12::i;:::-;66664:39;;67175:23;67201:27;:25;:27::i;:::-;67175:53;;67304:25;67344:28;67392:9;67387:2174;67411:7;:14;67407:1;:18;67387:2174;;;67447:20;67478:7;67486:1;67478:10;;;;;;;;;;;;;;67447:42;;67532:24;67508:48;;;;;;;;:12;-1:-1:-1;;;;;67508:18:0;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67508:20:0;:48;;;;;;;;;67504:2046;;;67652:14;67669:31;67687:12;67669:17;:31::i;:::-;67652:48;-1:-1:-1;67759:14:0;67776:25;67784:4;67652:48;67776:17;:25::i;:::-;67759:42;;67820:21;67844:12;-1:-1:-1;;;;;67844:19:0;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67844:21:0;:86;;;-1:-1:-1;;;67844:86:0;;67906:4;67844:86;;;;;;-1:-1:-1;;;;;67844:31:0;;;;;;:86;;;;;:21;;:86;;;;;;;;:31;:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67844:86:0;67973:21;;;-1:-1:-1;;;67973:21:0;;;;67844:86;;-1:-1:-1;67949:21:0;;-1:-1:-1;;;;;67973:19:0;;;;;:21;;;;;67844:86;;67973:21;;;;;;;:19;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67973:21:0;:86;;;-1:-1:-1;;;67973:86:0;;68035:4;67973:86;;;;;;-1:-1:-1;;;;;67973:31:0;;;;;;:86;;;;;:21;;:86;;;;;;;;:31;:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67973:86:0;;-1:-1:-1;68100:207:0;68144:144;68283:4;68144:108;68226:25;67973:86;68244:6;68226:17;:25::i;:::-;68144:51;:13;68188:6;68144:43;:51::i;:144::-;68100:17;;:21;:207::i;:::-;68080:227;;67504:2046;;;;;;;68351:16;:88;;;;-1:-1:-1;68412:27:0;68388:12;-1:-1:-1;;;;;68388:18:0;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68388:20:0;:51;;;;;;;;;68351:88;68329:1221;;;68517:21;68541:12;-1:-1:-1;;;;;68541:19:0;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68541:21:0;:86;;;-1:-1:-1;;;68541:86:0;;68603:4;68541:86;;;;;;-1:-1:-1;;;;;68541:31:0;;;;;;:86;;;;;:21;;:86;;;;;;;;:31;:86;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68541:86:0;68669:21;;;-1:-1:-1;;;68669:21:0;;;;68541:86;;-1:-1:-1;68646:20:0;;-1:-1:-1;;;;;68669:19:0;;;;;:21;;;;;68541:86;;68669:21;;;;;;;:19;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68669:21:0;:35;;;-1:-1:-1;;;68669:35:0;;;;-1:-1:-1;;;;;68669:33:0;;;;;;:35;;;;;:21;;:35;;;;;;;;:33;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68669:35:0;;-1:-1:-1;68727:18:0;;;:39;;-1:-1:-1;68749:17:0;;68727:39;68723:53;;;68768:8;;;;;68723:53;68859:27;68889:151;69027:12;68889:111;68986:13;68889:15;;;;;;;;;-1:-1:-1;;;;;68889:15:0;-1:-1:-1;;;;;68889:47:0;;68945:12;68889:70;;;;;;;;;;;;;-1:-1:-1;;;;;68889:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;:151;68859:181;;69129:24;69156:223;69363:15;69156:180;69331:4;69156:148;69291:12;69156:108;69250:13;69156:12;;;;;;;;;-1:-1:-1;;;;;69156:12:0;-1:-1:-1;;;;;69156:44:0;;69209:12;69156:67;;;;;;;;;;;;;-1:-1:-1;;;;;69156:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;:223;69129:250;-1:-1:-1;69423:111:0;69129:250;69423:67;:20;69470:19;69423:46;:67::i;:111::-;69400:134;;68329:1221;;;;;67387:2174;;67427:3;;67387:2174;;;-1:-1:-1;69637:12:0;;:51;;;-1:-1:-1;;;69637:51:0;;69682:4;69637:51;;;;;;69609:25;;69637:110;;69731:15;;69637:75;;69707:4;;-1:-1:-1;;;;;69637:12:0;;;;:36;;:51;;;;;;;;;;;;;;;:12;:51;;;;;;;;;;:110;69821:15;;:40;;;-1:-1:-1;;;69821:40:0;;69855:4;69821:40;;;;;;69609:138;;-1:-1:-1;69793:25:0;;-1:-1:-1;;;;;69821:15:0;;;;:25;;:40;;;;;;;;;;;;;;;:15;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69821:40:0;;-1:-1:-1;69894:143:0;69821:40;69894:102;69978:17;69894:102;:17;69934:20;69894:39;:61::i;:143::-;69874:163;66541:3504;-1:-1:-1;;;;;;;;66541:3504:0:o;11849:205::-;11977:68;;;-1:-1:-1;;;;;11977:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;11977:68:0;-1:-1:-1;;;11977:68:0;;;11950:96;;11970:5;;11950:19;:96::i;:::-;11849:205;;;;:::o;41910:124::-;41968:7;41996:1;41992;:5;41988:19;;;-1:-1:-1;42006:1:0;41999:8;;41988:19;-1:-1:-1;42025:1:0;41910:124;-1:-1:-1;41910:124:0:o;17997:106::-;18085:10;17997:106;:::o;39235:367::-;39362:10;-1:-1:-1;;;;;39352:35:0;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39352:37:0;-1:-1:-1;;;;;;;;;;;39325:64:0;39303:128;;;;;-1:-1:-1;;;39303:128:0;;;;;;;;;;;;-1:-1:-1;;;39303:128:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;39502:34:0;;;39564:30;;;-1:-1:-1;;;;;39564:30:0;;;;;;;;;;;;;;;39235:367;:::o;5096:471::-;5154:7;5399:6;5395:47;;-1:-1:-1;5429:1:0;5422:8;;5395:47;5466:5;;;5470:1;5466;:5;:1;5490:5;;;;;:10;5482:56;;;;-1:-1:-1;;;5482:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6035:132;6093:7;6120:39;6124:1;6127;6120:39;;;;;;;;;;;;;;;;;:3;:39::i;4222:136::-;4280:7;4307:43;4311:1;4314;4307:43;;;;;;;;;;;;;;;;;:3;:43::i;63459:2934::-;63671:7;63691:24;63718:12;:10;:12::i;:::-;63691:39;;63748:9;63743:2609;63767:7;:14;63763:1;:18;63743:2609;;;63803:20;63834:7;63842:1;63834:10;;;;;;;;;;;;;;63803:42;;63888:24;63864:48;;;;;;;;:12;-1:-1:-1;;;;;63864:18:0;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63864:20:0;:48;;;;;;;;;63860:2481;;;63933:20;63956:172;64114:13;63956:131;64073:13;63956:12;-1:-1:-1;;;;;63956:41:0;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:172;63933:195;;64147:20;64170:172;64328:13;64170:131;64287:13;64170:12;-1:-1:-1;;;;;64170:41:0;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:172;64147:195;;64366:10;64365:11;:45;;;;64397:13;64380;:30;64365:45;64361:1965;;;64568:16;;64564:127;;64613:12;-1:-1:-1;;;;;64613:19:0;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64613:21:0;:54;;;-1:-1:-1;;;64613:54:0;;-1:-1:-1;;;;;64613:54:0;;;;;;;;;;;;;;;:30;;;;;;;:54;;;;;:21;;:54;;;;;;;-1:-1:-1;64613:30:0;:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;64564:127:0;64717:16;;64713:127;;64762:12;-1:-1:-1;;;;;64762:19:0;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64762:21:0;:54;;;-1:-1:-1;;;64762:54:0;;-1:-1:-1;;;;;64762:54:0;;;;;;;;;;;;;;;:30;;;;;;;:54;;;;;:21;;:54;;;;;;;-1:-1:-1;64762:30:0;:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;64713:127:0;64361:1965;;;65274:25;65302:172;65359:12;65398;65437:14;65302:30;:172::i;:::-;65274:200;-1:-1:-1;65969:37:0;:14;65274:200;65969:18;:37::i;:::-;65952:54;;66029:25;66057:172;66114:12;66153;66192:14;66057:30;:172::i;:::-;66029:200;-1:-1:-1;66269:37:0;:14;66029:200;66269:18;:37::i;:::-;66252:54;;64361:1965;;;63860:2481;;;-1:-1:-1;63783:3:0;;63743:2609;;;-1:-1:-1;66371:14:0;;63459:2934;-1:-1:-1;;;;;;63459:2934:0:o;56434:361::-;56553:20;;;;56549:239;;;56699:18;;56671:24;56689:5;56671:17;:24::i;:::-;:46;;56645:131;;;;;-1:-1:-1;;;56645:131:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;56434:361::o;3766:181::-;3824:7;3856:5;;;3880:6;;;;3872:46;;;;;-1:-1:-1;;;3872:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;84655:799;84823:7;84881:17;84877:31;;-1:-1:-1;84907:1:0;84900:8;;84877:31;84936:21;84972;85007:59;85034:6;85042:23;85007:26;:59::i;:::-;84921:145;;-1:-1:-1;84921:145:0;-1:-1:-1;85079:16:0;85098:50;84921:145;85098:31;:12;84921:145;85098:16;:31::i;:50::-;85079:69;-1:-1:-1;85161:24:0;85188:222;85408:1;85188:201;85229:149;85257:106;85306:38;85342:1;85306:31;:12;85323:13;85306:16;:31::i;:38::-;85257:22;85270:8;;85257:12;:22::i;85229:149::-;85188:8;;:26;:201::i;85652:797::-;85820:7;85878:17;85874:31;;-1:-1:-1;85904:1:0;85897:8;;85874:31;85933:21;85969;86004:59;86031:6;86039:23;86004:26;:59::i;:::-;85918:145;;-1:-1:-1;85918:145:0;-1:-1:-1;86076:16:0;86095:50;85918:145;86095:31;:12;85918:145;86095:16;:31::i;:50::-;86076:69;-1:-1:-1;86156:24:0;86183:222;86403:1;86183:201;86224:149;86252:106;86301:38;86337:1;86301:31;:12;86318:13;86301:16;:31::i;74920:2254::-;75052:7;75061;75191:24;75218:92;75277:22;75218:6;-1:-1:-1;;;;;75218:13:0;;:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75218:15:0;:40;;;-1:-1:-1;;;75218:40:0;;75252:4;75218:40;;;;;;-1:-1:-1;;;;;75218:25:0;;;;;;:40;;;;;:15;;:40;;;;;;;;:25;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75218:40:0;;:44;:92::i;:::-;75191:119;;75321:24;75348:92;75407:22;75348:6;-1:-1:-1;;;;;75348:13:0;;:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:92;75321:119;;75453:19;75475:25;75493:6;75475:17;:25::i;:::-;75453:47;-1:-1:-1;75511:19:0;75533:30;75541:4;75453:47;75533:17;:30::i;:::-;75511:52;;75724:28;75763;75823:11;75808;:26;75804:1299;;75909:16;;-1:-1:-1;75963:86:0;76023:11;75963:37;75909:16;75988:11;75963:24;:37::i;:86::-;75940:109;;76324:16;76301:20;:39;76297:259;;;-1:-1:-1;76384:16:0;76442:98;76528:11;76442:59;76384:16;76489:11;76442:46;:59::i;:98::-;76419:121;;76297:259;75804:1299;;;-1:-1:-1;76647:16:0;76701:86;76761:11;76701:37;76647:16;76726:11;76701:24;:37::i;:86::-;76678:109;;76860:16;76837:20;:39;76833:259;;;76920:16;;-1:-1:-1;76978:98:0;77064:11;76978:59;76920:16;77025:11;76978:46;:59::i;:98::-;76955:121;;76833:259;77123:20;;;;-1:-1:-1;74920:2254:0;-1:-1:-1;;;;;;;74920:2254:0:o;41590:312::-;41638:9;41668:1;41664;:5;41660:235;;;-1:-1:-1;41690:1:0;41726;41722;41718:5;;:9;41742:92;41753:1;41749;:5;41742:92;;;41779:1;41775:5;;41817:1;41812;41808;41804;:5;;;;;;:9;41803:15;;;;;;41799:19;;41742:92;;;41660:235;;;;41855:6;;41851:44;;-1:-1:-1;41882:1:0;41590:312;;;:::o;31991:244::-;31268:12;:10;:12::i;:::-;31258:6;;-1:-1:-1;;;;;31258:6:0;;;:22;;;31250:67;;;;;-1:-1:-1;;;31250:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;31250:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;32080:22:0;::::1;32072:73;;;;-1:-1:-1::0;;;32072:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32182:6;::::0;32161:38:::1;::::0;-1:-1:-1;;;;;32161:38:0;;::::1;::::0;32182:6:::1;::::0;32161:38:::1;::::0;32182:6:::1;::::0;32161:38:::1;32210:6;:17:::0;;-1:-1:-1;;;;;;32210:17:0::1;-1:-1:-1::0;;;;;32210:17:0;;;::::1;::::0;;;::::1;::::0;;31991:244::o;30624:129::-;15966:12;;;;;;;;:31;;;15982:15;:13;:15::i;:::-;15966:47;;;-1:-1:-1;16002:11:0;;;;16001:12;15966:47;15958:106;;;;-1:-1:-1;;;15958:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16073:19;16096:12;;;;;;16095:13;16115:83;;;;16144:12;:19;;-1:-1:-1;;;;16144:19:0;;;;;16172:18;16159:4;16172:18;;;16115:83;30682:26:::1;:24;:26::i;:::-;30719;:24;:26::i;:::-;16220:14:::0;16216:57;;;16260:5;16245:20;;-1:-1:-1;;16245:20:0;;;30624:129;:::o;13708:1115::-;14313:27;14321:5;-1:-1:-1;;;;;14313:25:0;;:27::i;:::-;14305:71;;;;;-1:-1:-1;;;14305:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14450:12;14464:23;14499:5;-1:-1:-1;;;;;14491:19:0;14511:4;14491:25;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14491:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14449:67;;;;14535:7;14527:52;;;;;-1:-1:-1;;;14527:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14596:17;;:21;14592:224;;14738:10;14727:30;;;;;;;;;;;;;;;-1:-1:-1;14727:30:0;14719:85;;;;-1:-1:-1;;;14719:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6655:345;6741:7;6843:12;6836:5;6828:28;;;;-1:-1:-1;;;6828:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6867:9;6883:1;6879;:5;;;;;;;6655:345;-1:-1:-1;;;;;6655:345:0:o;4653:192::-;4739:7;4775:12;4767:6;;;;4759:29;;;;-1:-1:-1;;;4759:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4811:5:0;;;4653:192::o;16367:508::-;16784:4;16830:17;16862:7;16367:508;:::o;17918:69::-;15966:12;;;;;;;;:31;;;15982:15;:13;:15::i;:::-;15966:47;;;-1:-1:-1;16002:11:0;;;;16001:12;15966:47;15958:106;;;;-1:-1:-1;;;15958:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16073:19;16096:12;;;;;;16095:13;16115:83;;;;16144:12;:19;;-1:-1:-1;;;;16144:19:0;;;;;16172:18;16159:4;16172:18;;;16220:14;16216:57;;;16260:5;16245:20;;-1:-1:-1;;16245:20:0;;;17918:69;:::o;30761:202::-;15966:12;;;;;;;;:31;;;15982:15;:13;:15::i;:::-;15966:47;;;-1:-1:-1;16002:11:0;;;;16001:12;15966:47;15958:106;;;;-1:-1:-1;;;15958:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16073:19;16096:12;;;;;;16095:13;16115:83;;;;16144:12;:19;;-1:-1:-1;;;;16144:19:0;;;;;16172:18;16159:4;16172:18;;;16115:83;30833:17:::1;30853:12;:10;:12::i;:::-;30876:6;:18:::0;;-1:-1:-1;;;;;;30876:18:0::1;-1:-1:-1::0;;;;;30876:18:0;::::1;::::0;;::::1;::::0;;;30910:43:::1;::::0;30876:18;;-1:-1:-1;30876:18:0;-1:-1:-1;;30910:43:0::1;::::0;-1:-1:-1;;30910:43:0::1;16206:1;16220:14:::0;16216:57;;;16260:5;16245:20;;-1:-1:-1;;16245:20:0;;;30761:202;:::o;9026:619::-;9086:4;9554:20;;9397:66;9594:23;;;;;;:42;;-1:-1:-1;9621:15:0;;;9594:42;9586:51;9026:619;-1:-1:-1;;;;9026:619:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;:::o
Swarm Source
ipfs://3482cab934e81f964622486a87a4ad67f07532a0ca847b55bb47bb06f83fd1fb
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.