- Contract name:
- AnyswapV6ERC20
- Optimization enabled
- true
- Compiler version
- v0.8.17+commit.8df45f5f
- Optimization runs
- 200
- EVM Version
- default
- Verified at
- 2023-02-13 08:36:32.074967Z
Constructor Arguments
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fa9da51631268a30ec3ddd1ccbf46c65fad99251000000000000000000000000000000000000000000000000000000000000000855534420436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045553444300000000000000000000000000000000000000000000000000000000
Arg [0] (string) : USD Coin
Arg [1] (string) : USDC
Arg [2] (uint8) : 6
Arg [3] (address) : 0x0000000000000000000000000000000000000000
Arg [4] (address) : 0xfa9da51631268a30ec3ddd1ccbf46c65fad99251
Contract source code
/**
*Submitted for verification at Etherscan.io on 2022-11-24
*/
/**
*Submitted for verification at BscScan.com on 2022-05-20
*/
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.2;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
function totalSupply() external view returns (uint256);
function decimals() external view returns (uint8);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns (bool);
function allowance(address owner, address spender) external view returns (uint256);
function approve(address spender, uint256 amount) external returns (bool);
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
}
library Address {
function isContract(address account) internal view returns (bool) {
bytes32 codehash;
bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
// solhint-disable-next-line no-inline-assembly
assembly { codehash := extcodehash(account) }
return (codehash != 0x0 && codehash != accountHash);
}
}
library SafeERC20 {
using Address for address;
function safeTransfer(IERC20 token, address to, uint value) internal {
callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
function safeTransferFrom(IERC20 token, address from, address to, uint value) internal {
callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
function safeApprove(IERC20 token, address spender, uint value) internal {
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 callOptionalReturn(IERC20 token, bytes memory data) private {
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");
}
}
}
contract AnyswapV6ERC20 is IERC20 {
using SafeERC20 for IERC20;
string public name;
string public symbol;
uint8 public immutable override decimals;
address public immutable underlying;
bool public constant underlyingIsMinted = false;
/// @dev Records amount of AnyswapV6ERC20 token owned by account.
mapping (address => uint256) public override balanceOf;
uint256 private _totalSupply;
// init flag for setting immediate vault, needed for CREATE2 support
bool private _init;
// flag to enable/disable swapout vs vault.burn so multiple events are triggered
bool private _vaultOnly;
// delay for timelock functions
uint public constant DELAY = 2 days;
// set of minters, can be this bridge or other bridges
mapping(address => bool) public isMinter;
address[] public minters;
// primary controller of the token contract
address public vault;
address public pendingMinter;
uint public delayMinter;
address public pendingVault;
uint public delayVault;
modifier onlyAuth() {
require(isMinter[msg.sender], "AnyswapV6ERC20: FORBIDDEN");
_;
}
modifier onlyVault() {
require(msg.sender == vault, "AnyswapV6ERC20: FORBIDDEN");
_;
}
function owner() external view returns (address) {
return vault;
}
function mpc() external view returns (address) {
return vault;
}
function setVaultOnly(bool enabled) external onlyVault {
_vaultOnly = enabled;
}
function initVault(address _vault) external onlyVault {
require(_init);
_init = false;
vault = _vault;
isMinter[_vault] = true;
minters.push(_vault);
}
function setVault(address _vault) external onlyVault {
require(_vault != address(0), "AnyswapV6ERC20: address(0)");
pendingVault = _vault;
delayVault = block.timestamp + DELAY;
}
function applyVault() external onlyVault {
require(pendingVault != address(0) && block.timestamp >= delayVault);
vault = pendingVault;
pendingVault = address(0);
delayVault = 0;
}
function setMinter(address _auth) external onlyVault {
require(_auth != address(0), "AnyswapV6ERC20: address(0)");
pendingMinter = _auth;
delayMinter = block.timestamp + DELAY;
}
function applyMinter() external onlyVault {
require(pendingMinter != address(0) && block.timestamp >= delayMinter);
isMinter[pendingMinter] = true;
minters.push(pendingMinter);
pendingMinter = address(0);
delayMinter = 0;
}
// No time delay revoke minter emergency function
function revokeMinter(address _auth) external onlyVault {
isMinter[_auth] = false;
}
function getAllMinters() external view returns (address[] memory) {
return minters;
}
function changeVault(address newVault) external onlyVault returns (bool) {
require(newVault != address(0), "AnyswapV6ERC20: address(0)");
emit LogChangeVault(vault, newVault, block.timestamp);
vault = newVault;
pendingVault = address(0);
delayVault = 0;
return true;
}
function mint(address to, uint256 amount) external onlyAuth returns (bool) {
_mint(to, amount);
return true;
}
function burn(address from, uint256 amount) external onlyAuth returns (bool) {
_burn(from, amount);
return true;
}
function Swapin(bytes32 txhash, address account, uint256 amount) external onlyAuth returns (bool) {
if (underlying != address(0) && IERC20(underlying).balanceOf(address(this)) >= amount) {
IERC20(underlying).safeTransfer(account, amount);
} else {
_mint(account, amount);
}
emit LogSwapin(txhash, account, amount);
return true;
}
function Swapout(uint256 amount, address bindaddr) external returns (bool) {
require(!_vaultOnly, "AnyswapV6ERC20: vaultOnly");
require(bindaddr != address(0), "AnyswapV6ERC20: address(0)");
if (underlying != address(0) && balanceOf[msg.sender] < amount) {
IERC20(underlying).safeTransferFrom(msg.sender, address(this), amount);
} else {
_burn(msg.sender, amount);
}
emit LogSwapout(msg.sender, bindaddr, amount);
return true;
}
/// @dev Records number of AnyswapV6ERC20 token that account (second) will be allowed to spend on behalf of another account (first) through {transferFrom}.
mapping (address => mapping (address => uint256)) public override allowance;
event LogChangeVault(address indexed oldVault, address indexed newVault, uint indexed effectiveTime);
event LogSwapin(bytes32 indexed txhash, address indexed account, uint amount);
event LogSwapout(address indexed account, address indexed bindaddr, uint amount);
constructor(string memory _name, string memory _symbol, uint8 _decimals, address _underlying, address _vault) {
name = _name;
symbol = _symbol;
decimals = _decimals;
underlying = _underlying;
if (_underlying != address(0)) {
require(_decimals == IERC20(_underlying).decimals());
}
// Use init to allow for CREATE2 accross all chains
_init = true;
// Disable/Enable swapout for v1 tokens vs mint/burn for v3 tokens
_vaultOnly = false;
vault = _vault;
}
/// @dev Returns the total supply of AnyswapV6ERC20 token as the ETH held in this contract.
function totalSupply() external view override returns (uint256) {
return _totalSupply;
}
function deposit() external returns (uint) {
uint _amount = IERC20(underlying).balanceOf(msg.sender);
IERC20(underlying).safeTransferFrom(msg.sender, address(this), _amount);
return _deposit(_amount, msg.sender);
}
function deposit(uint amount) external returns (uint) {
IERC20(underlying).safeTransferFrom(msg.sender, address(this), amount);
return _deposit(amount, msg.sender);
}
function deposit(uint amount, address to) external returns (uint) {
IERC20(underlying).safeTransferFrom(msg.sender, address(this), amount);
return _deposit(amount, to);
}
function depositVault(uint amount, address to) external onlyVault returns (uint) {
return _deposit(amount, to);
}
function _deposit(uint amount, address to) internal returns (uint) {
require(!underlyingIsMinted);
require(underlying != address(0) && underlying != address(this));
_mint(to, amount);
return amount;
}
function withdraw() external returns (uint) {
return _withdraw(msg.sender, balanceOf[msg.sender], msg.sender);
}
function withdraw(uint amount) external returns (uint) {
return _withdraw(msg.sender, amount, msg.sender);
}
function withdraw(uint amount, address to) external returns (uint) {
return _withdraw(msg.sender, amount, to);
}
function withdrawVault(address from, uint amount, address to) external onlyVault returns (uint) {
return _withdraw(from, amount, to);
}
function _withdraw(address from, uint amount, address to) internal returns (uint) {
require(!underlyingIsMinted);
require(underlying != address(0) && underlying != address(this));
_burn(from, amount);
IERC20(underlying).safeTransfer(to, amount);
return 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 {
require(account != address(0), "ERC20: mint to the zero address");
_totalSupply += amount;
balanceOf[account] += 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 {
require(account != address(0), "ERC20: burn from the zero address");
uint256 balance = balanceOf[account];
require(balance >= amount, "ERC20: burn amount exceeds balance");
balanceOf[account] = balance - amount;
_totalSupply -= amount;
emit Transfer(account, address(0), amount);
}
/// @dev Sets `value` as allowance of `spender` account over caller account's AnyswapV6ERC20 token.
/// Emits {Approval} event.
/// Returns boolean value indicating whether operation succeeded.
function approve(address spender, uint256 value) external override returns (bool) {
allowance[msg.sender][spender] = value;
emit Approval(msg.sender, spender, value);
return true;
}
/// @dev Moves `value` AnyswapV6ERC20 token from caller's account to account (`to`).
/// Emits {Transfer} event.
/// Returns boolean value indicating whether operation succeeded.
/// Requirements:
/// - caller account must have at least `value` AnyswapV6ERC20 token.
function transfer(address to, uint256 value) external override returns (bool) {
require(to != address(0) && to != address(this));
uint256 balance = balanceOf[msg.sender];
require(balance >= value, "AnyswapV6ERC20: transfer amount exceeds balance");
balanceOf[msg.sender] = balance - value;
balanceOf[to] += value;
emit Transfer(msg.sender, to, value);
return true;
}
/// @dev Moves `value` AnyswapV6ERC20 token from account (`from`) to account (`to`) using allowance mechanism.
/// `value` is then deducted from caller account's allowance, unless set to `type(uint256).max`.
/// Emits {Approval} event to reflect reduced allowance `value` for caller account to spend from account (`from`),
/// unless allowance is set to `type(uint256).max`
/// Emits {Transfer} event.
/// Returns boolean value indicating whether operation succeeded.
/// Requirements:
/// - `from` account must have at least `value` balance of AnyswapV6ERC20 token.
/// - `from` account must have approved caller to spend at least `value` of AnyswapV6ERC20 token, unless `from` and caller are the same account.
function transferFrom(address from, address to, uint256 value) external override returns (bool) {
require(to != address(0) && to != address(this));
if (from != msg.sender) {
uint256 allowed = allowance[from][msg.sender];
if (allowed != type(uint256).max) {
require(allowed >= value, "AnyswapV6ERC20: request exceeds allowance");
uint256 reduced = allowed - value;
allowance[from][msg.sender] = reduced;
emit Approval(from, msg.sender, reduced);
}
}
uint256 balance = balanceOf[from];
require(balance >= value, "AnyswapV6ERC20: transfer amount exceeds balance");
balanceOf[from] = balance - value;
balanceOf[to] += value;
emit Transfer(from, to, value);
return true;
}
}
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"string","name":"_name","internalType":"string"},{"type":"string","name":"_symbol","internalType":"string"},{"type":"uint8","name":"_decimals","internalType":"uint8"},{"type":"address","name":"_underlying","internalType":"address"},{"type":"address","name":"_vault","internalType":"address"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"LogChangeVault","inputs":[{"type":"address","name":"oldVault","internalType":"address","indexed":true},{"type":"address","name":"newVault","internalType":"address","indexed":true},{"type":"uint256","name":"effectiveTime","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"LogSwapin","inputs":[{"type":"bytes32","name":"txhash","internalType":"bytes32","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"LogSwapout","inputs":[{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"bindaddr","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"DELAY","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"Swapin","inputs":[{"type":"bytes32","name":"txhash","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"Swapout","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"address","name":"bindaddr","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"","internalType":"address"},{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"applyMinter","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"applyVault","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"burn","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"changeVault","inputs":[{"type":"address","name":"newVault","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"delayMinter","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"delayVault","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"deposit","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"address","name":"to","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"deposit","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"deposit","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"depositVault","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"address","name":"to","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address[]","name":"","internalType":"address[]"}],"name":"getAllMinters","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"initVault","inputs":[{"type":"address","name":"_vault","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isMinter","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"mint","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"minters","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"mpc","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"pendingMinter","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"pendingVault","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"revokeMinter","inputs":[{"type":"address","name":"_auth","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMinter","inputs":[{"type":"address","name":"_auth","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setVault","inputs":[{"type":"address","name":"_vault","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setVaultOnly","inputs":[{"type":"bool","name":"enabled","internalType":"bool"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"underlying","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"underlyingIsMinted","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"vault","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"withdraw","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"address","name":"to","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"withdraw","inputs":[{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"withdraw","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"withdrawVault","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"address","name":"to","internalType":"address"}]}]
Contract Creation Code
0x60c06040523480156200001157600080fd5b506040516200223538038062002235833981016040819052620000349162000213565b600062000042868262000344565b50600162000051858262000344565b5060ff83166080526001600160a01b03821660a081905215620000e557816001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000ad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000d3919062000410565b60ff168360ff1614620000e557600080fd5b6004805461ffff19166001179055600780546001600160a01b039092166001600160a01b0319909216919091179055506200043592505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200014757600080fd5b81516001600160401b03808211156200016457620001646200011f565b604051601f8301601f19908116603f011681019082821181831017156200018f576200018f6200011f565b81604052838152602092508683858801011115620001ac57600080fd5b600091505b83821015620001d05785820183015181830184015290820190620001b1565b600093810190920192909252949350505050565b805160ff81168114620001f657600080fd5b919050565b80516001600160a01b0381168114620001f657600080fd5b600080600080600060a086880312156200022c57600080fd5b85516001600160401b03808211156200024457600080fd5b6200025289838a0162000135565b965060208801519150808211156200026957600080fd5b50620002788882890162000135565b9450506200028960408701620001e4565b92506200029960608701620001fb565b9150620002a960808701620001fb565b90509295509295909350565b600181811c90821680620002ca57607f821691505b602082108103620002eb57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200033f57600081815260208120601f850160051c810160208610156200031a5750805b601f850160051c820191505b818110156200033b5782815560010162000326565b5050505b505050565b81516001600160401b038111156200036057620003606200011f565b6200037881620003718454620002b5565b84620002f1565b602080601f831160018114620003b05760008415620003975750858301515b600019600386901b1c1916600185901b1785556200033b565b600085815260208120601f198616915b82811015620003e157888601518255948401946001909101908401620003c0565b5085821015620004005787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200042357600080fd5b6200042e82620001e4565b9392505050565b60805160a051611d78620004bd600039600081816103f701528181610c4801528181610c9e01528181610d9f01528181610f890152818161109901528181611113015281816111f70152818161123f015281816112c7015281816113bb015281816113ee0152818161143a015281816116f00152611723015260006103220152611d786000f3fe608060405234801561001057600080fd5b506004361061025c5760003560e01c806387689e2811610146578063c3081240116100c3578063d93f244511610087578063d93f244514610544578063dd62ed3e1461054c578063ec126c7714610577578063f75c266414610455578063fbfa77cf1461058a578063fca3b5aa1461059d57600080fd5b8063c308124014610505578063c4b740f51461050e578063cfbd488514610521578063d0e30db014610534578063d6c797511461053c57600080fd5b8063a045442c1161010a578063a045442c14610494578063a9059cbb146104a9578063aa271e1a146104bc578063b6b55f25146104df578063bebbf4d0146104f257600080fd5b806387689e281461044c5780638da5cb5b1461045557806391c5df491461046657806395d89b41146104795780639dc29fac1461048157600080fd5b80633ccfd60b116101df5780636817031b116101a35780636817031b146103c257806369b41170146103d55780636e553f65146103df5780636f307dc3146103f257806370a08231146104195780638623ec7b1461043957600080fd5b80633ccfd60b1461035657806340c10f191461035e57806352113ba71461037157806360e232a91461039c578063628d6cba146103af57600080fd5b806318160ddd1161022657806318160ddd146102dc57806323b872dd146102e45780632e1a7d4d146102f75780632ebe3fbb1461030a578063313ce5671461031d57600080fd5b806239d6ec14610261578062f714ce1461028757806306fdde031461029a578063095ea7b3146102af5780630d707df8146102d2575b600080fd5b61027461026f366004611973565b6105b0565b6040519081526020015b60405180910390f35b6102746102953660046119af565b6105f9565b6102a261060f565b60405161027e91906119ff565b6102c26102bd366004611a32565b61069d565b604051901515815260200161027e565b6102da610709565b005b600354610274565b6102c26102f2366004611a5c565b6107d8565b610274610305366004611a98565b6109d6565b6102da610318366004611ab1565b6109e3565b6103447f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff909116815260200161027e565b610274610a9d565b6102c261036c366004611a32565b610abe565b600a54610384906001600160a01b031681565b6040516001600160a01b03909116815260200161027e565b6102c26103aa366004611ab1565b610b00565b6102c26103bd3660046119af565b610bc5565b6102da6103d0366004611ab1565b610d12565b6102746202a30081565b6102746103ed3660046119af565b610d90565b6103847f000000000000000000000000000000000000000000000000000000000000000081565b610274610427366004611ab1565b60026020526000908152604090205481565b610384610447366004611a98565b610dd1565b610274600b5481565b6007546001600160a01b0316610384565b600854610384906001600160a01b031681565b6102a2610dfb565b6102c261048f366004611a32565b610e08565b61049c610e41565b60405161027e9190611acc565b6102c26104b7366004611a32565b610ea3565b6102c26104ca366004611ab1565b60056020526000908152604090205460ff1681565b6102746104ed366004611a98565b610f7a565b6102746105003660046119af565b610fbb565b61027460095481565b6102da61051c366004611b2a565b610fe8565b6102da61052f366004611ab1565b61102c565b610274611077565b6102c2600081565b6102da61114b565b61027461055a366004611b4e565b600c60209081526000928352604080842090915290825290205481565b6102c2610585366004611b78565b6111c6565b600754610384906001600160a01b031681565b6102da6105ab366004611ab1565b611339565b6007546000906001600160a01b031633146105e65760405162461bcd60e51b81526004016105dd90611b9d565b60405180910390fd5b6105f18484846113b7565b949350505050565b60006106063384846113b7565b90505b92915050565b6000805461061c90611bd4565b80601f016020809104026020016040519081016040528092919081815260200182805461064890611bd4565b80156106955780601f1061066a57610100808354040283529160200191610695565b820191906000526020600020905b81548152906001019060200180831161067857829003601f168201915b505050505081565b336000818152600c602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906106f89086815260200190565b60405180910390a350600192915050565b6007546001600160a01b031633146107335760405162461bcd60e51b81526004016105dd90611b9d565b6008546001600160a01b03161580159061074f57506009544210155b61075857600080fd5b600880546001600160a01b0390811660009081526005602052604081208054600160ff199091168117909155835460068054928301815583527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f9091018054919093166001600160a01b0319918216179092558254909116909155600955565b60006001600160a01b038316158015906107fb57506001600160a01b0383163014155b61080457600080fd5b6001600160a01b0384163314610910576001600160a01b0384166000908152600c60209081526040808320338452909152902054600019811461090e57828110156108a35760405162461bcd60e51b815260206004820152602960248201527f416e7973776170563645524332303a2072657175657374206578636565647320604482015268616c6c6f77616e636560b81b60648201526084016105dd565b60006108af8483611c24565b6001600160a01b0387166000818152600c6020908152604080832033808552908352928190208590555184815293945090927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505b505b6001600160a01b038416600090815260026020526040902054828110156109495760405162461bcd60e51b81526004016105dd90611c37565b6109538382611c24565b6001600160a01b038087166000908152600260205260408082209390935590861681529081208054859290610989908490611c86565b92505081905550836001600160a01b0316856001600160a01b0316600080516020611d23833981519152856040516109c391815260200190565b60405180910390a3506001949350505050565b60006106093383336113b7565b6007546001600160a01b03163314610a0d5760405162461bcd60e51b81526004016105dd90611b9d565b60045460ff16610a1c57600080fd5b6004805460ff19908116909155600780546001600160a01b039093166001600160a01b0319938416811790915560008181526005602052604081208054909316600190811790935560068054938401815590527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f9091018054909216179055565b336000818152600260205260408120549091610ab991816113b7565b905090565b3360009081526005602052604081205460ff16610aed5760405162461bcd60e51b81526004016105dd90611b9d565b610af78383611469565b50600192915050565b6007546000906001600160a01b03163314610b2d5760405162461bcd60e51b81526004016105dd90611b9d565b6001600160a01b038216610b535760405162461bcd60e51b81526004016105dd90611c99565b60075460405142916001600160a01b03808616929116907f5c364079e7102c27c608f9b237c735a1b7bfa0b67f27c2ad26bad447bf965cac90600090a450600780546001600160a01b0383166001600160a01b031991821617909155600a805490911690556000600b5560015b919050565b600454600090610100900460ff1615610c205760405162461bcd60e51b815260206004820152601960248201527f416e7973776170563645524332303a207661756c744f6e6c790000000000000060448201526064016105dd565b6001600160a01b038216610c465760405162461bcd60e51b81526004016105dd90611c99565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031615801590610c8c57503360009081526002602052604090205483115b15610ccb57610cc66001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016333086611536565b610cd5565b610cd533846115a7565b6040518381526001600160a01b0383169033907f6b616089d04950dc06c45c6dd787d657980543f89651aec47924752c7d16c888906020016106f8565b6007546001600160a01b03163314610d3c5760405162461bcd60e51b81526004016105dd90611b9d565b6001600160a01b038116610d625760405162461bcd60e51b81526004016105dd90611c99565b600a80546001600160a01b0319166001600160a01b038316179055610d8a6202a30042611c86565b600b5550565b6000610dc76001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016333086611536565b61060683836116ec565b60068181548110610de157600080fd5b6000918252602090912001546001600160a01b0316905081565b6001805461061c90611bd4565b3360009081526005602052604081205460ff16610e375760405162461bcd60e51b81526004016105dd90611b9d565b610af783836115a7565b60606006805480602002602001604051908101604052809291908181526020018280548015610e9957602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610e7b575b5050505050905090565b60006001600160a01b03831615801590610ec657506001600160a01b0383163014155b610ecf57600080fd5b3360009081526002602052604090205482811015610eff5760405162461bcd60e51b81526004016105dd90611c37565b610f098382611c24565b33600090815260026020526040808220929092556001600160a01b03861681529081208054859290610f3c908490611c86565b90915550506040518381526001600160a01b038516903390600080516020611d23833981519152906020015b60405180910390a35060019392505050565b6000610fb16001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016333085611536565b61060982336116ec565b6007546000906001600160a01b03163314610dc75760405162461bcd60e51b81526004016105dd90611b9d565b6007546001600160a01b031633146110125760405162461bcd60e51b81526004016105dd90611b9d565b600480549115156101000261ff0019909216919091179055565b6007546001600160a01b031633146110565760405162461bcd60e51b81526004016105dd90611b9d565b6001600160a01b03166000908152600560205260409020805460ff19169055565b6040516370a0823160e01b815233600482015260009081906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa1580156110e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111049190611cd0565b905061113b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016333084611536565b61114581336116ec565b91505090565b6007546001600160a01b031633146111755760405162461bcd60e51b81526004016105dd90611b9d565b600a546001600160a01b0316158015906111915750600b544210155b61119a57600080fd5b600a8054600780546001600160a01b03199081166001600160a01b038416179091551690556000600b55565b3360009081526005602052604081205460ff166111f55760405162461bcd60e51b81526004016105dd90611b9d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316158015906112b557506040516370a0823160e01b815230600482015282907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa15801561128e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b29190611cd0565b10155b156112f3576112ee6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168484611769565b6112fd565b6112fd8383611469565b826001600160a01b0316847f05d0634fe981be85c22e2942a880821b70095d84e152c3ea3c17a4e4250d9d6184604051610f6891815260200190565b6007546001600160a01b031633146113635760405162461bcd60e51b81526004016105dd90611b9d565b6001600160a01b0381166113895760405162461bcd60e51b81526004016105dd90611c99565b600880546001600160a01b0319166001600160a01b0383161790556113b16202a30042611c86565b60095550565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161580159061141a57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163014155b61142357600080fd5b61142d84846115a7565b6114616001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168385611769565b509092915050565b6001600160a01b0382166114bf5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105dd565b80600360008282546114d19190611c86565b90915550506001600160a01b038216600090815260026020526040812080548392906114fe908490611c86565b90915550506040518181526001600160a01b03831690600090600080516020611d238339815191529060200160405180910390a35050565b6040516001600160a01b03808516602483015283166044820152606481018290526115a19085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261179e565b50505050565b6001600160a01b0382166116075760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105dd565b6001600160a01b0382166000908152600260205260409020548181101561167b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105dd565b6116858282611c24565b6001600160a01b038416600090815260026020526040812091909155600380548492906116b3908490611c24565b90915550506040518281526000906001600160a01b03851690600080516020611d238339815191529060200160405180910390a3505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161580159061174f57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163014155b61175857600080fd5b6117628284611469565b5090919050565b6040516001600160a01b03831660248201526044810182905261179990849063a9059cbb60e01b9060640161156a565b505050565b6117b0826001600160a01b0316611925565b6117fc5760405162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740060448201526064016105dd565b600080836001600160a01b0316836040516118179190611ce9565b6000604051808303816000865af19150503d8060008114611854576040519150601f19603f3d011682016040523d82523d6000602084013e611859565b606091505b5091509150816118ab5760405162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656460448201526064016105dd565b8051156115a157808060200190518101906118c69190611d05565b6115a15760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016105dd565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906105f15750141592915050565b80356001600160a01b0381168114610bc057600080fd5b60008060006060848603121561198857600080fd5b6119918461195c565b9250602084013591506119a66040850161195c565b90509250925092565b600080604083850312156119c257600080fd5b823591506119d26020840161195c565b90509250929050565b60005b838110156119f65781810151838201526020016119de565b50506000910152565b6020815260008251806020840152611a1e8160408501602087016119db565b601f01601f19169190910160400192915050565b60008060408385031215611a4557600080fd5b611a4e8361195c565b946020939093013593505050565b600080600060608486031215611a7157600080fd5b611a7a8461195c565b9250611a886020850161195c565b9150604084013590509250925092565b600060208284031215611aaa57600080fd5b5035919050565b600060208284031215611ac357600080fd5b6106068261195c565b6020808252825182820181905260009190848201906040850190845b81811015611b0d5783516001600160a01b031683529284019291840191600101611ae8565b50909695505050505050565b8015158114611b2757600080fd5b50565b600060208284031215611b3c57600080fd5b8135611b4781611b19565b9392505050565b60008060408385031215611b6157600080fd5b611b6a8361195c565b91506119d26020840161195c565b600080600060608486031215611b8d57600080fd5b83359250611a886020850161195c565b60208082526019908201527f416e7973776170563645524332303a20464f5242494444454e00000000000000604082015260600190565b600181811c90821680611be857607f821691505b602082108103611c0857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561060957610609611c0e565b6020808252602f908201527f416e7973776170563645524332303a207472616e7366657220616d6f756e742060408201526e657863656564732062616c616e636560881b606082015260800190565b8082018082111561060957610609611c0e565b6020808252601a908201527f416e7973776170563645524332303a2061646472657373283029000000000000604082015260600190565b600060208284031215611ce257600080fd5b5051919050565b60008251611cfb8184602087016119db565b9190910192915050565b600060208284031215611d1757600080fd5b8151611b4781611b1956feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220a3403c9d66c38f3fceccb728ee879ce7ba5795fa6fc035ab5e9eab199f29101264736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fa9da51631268a30ec3ddd1ccbf46c65fad99251000000000000000000000000000000000000000000000000000000000000000855534420436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045553444300000000000000000000000000000000000000000000000000000000
Deployed ByteCode
0x608060405234801561001057600080fd5b506004361061025c5760003560e01c806387689e2811610146578063c3081240116100c3578063d93f244511610087578063d93f244514610544578063dd62ed3e1461054c578063ec126c7714610577578063f75c266414610455578063fbfa77cf1461058a578063fca3b5aa1461059d57600080fd5b8063c308124014610505578063c4b740f51461050e578063cfbd488514610521578063d0e30db014610534578063d6c797511461053c57600080fd5b8063a045442c1161010a578063a045442c14610494578063a9059cbb146104a9578063aa271e1a146104bc578063b6b55f25146104df578063bebbf4d0146104f257600080fd5b806387689e281461044c5780638da5cb5b1461045557806391c5df491461046657806395d89b41146104795780639dc29fac1461048157600080fd5b80633ccfd60b116101df5780636817031b116101a35780636817031b146103c257806369b41170146103d55780636e553f65146103df5780636f307dc3146103f257806370a08231146104195780638623ec7b1461043957600080fd5b80633ccfd60b1461035657806340c10f191461035e57806352113ba71461037157806360e232a91461039c578063628d6cba146103af57600080fd5b806318160ddd1161022657806318160ddd146102dc57806323b872dd146102e45780632e1a7d4d146102f75780632ebe3fbb1461030a578063313ce5671461031d57600080fd5b806239d6ec14610261578062f714ce1461028757806306fdde031461029a578063095ea7b3146102af5780630d707df8146102d2575b600080fd5b61027461026f366004611973565b6105b0565b6040519081526020015b60405180910390f35b6102746102953660046119af565b6105f9565b6102a261060f565b60405161027e91906119ff565b6102c26102bd366004611a32565b61069d565b604051901515815260200161027e565b6102da610709565b005b600354610274565b6102c26102f2366004611a5c565b6107d8565b610274610305366004611a98565b6109d6565b6102da610318366004611ab1565b6109e3565b6103447f000000000000000000000000000000000000000000000000000000000000000681565b60405160ff909116815260200161027e565b610274610a9d565b6102c261036c366004611a32565b610abe565b600a54610384906001600160a01b031681565b6040516001600160a01b03909116815260200161027e565b6102c26103aa366004611ab1565b610b00565b6102c26103bd3660046119af565b610bc5565b6102da6103d0366004611ab1565b610d12565b6102746202a30081565b6102746103ed3660046119af565b610d90565b6103847f000000000000000000000000000000000000000000000000000000000000000081565b610274610427366004611ab1565b60026020526000908152604090205481565b610384610447366004611a98565b610dd1565b610274600b5481565b6007546001600160a01b0316610384565b600854610384906001600160a01b031681565b6102a2610dfb565b6102c261048f366004611a32565b610e08565b61049c610e41565b60405161027e9190611acc565b6102c26104b7366004611a32565b610ea3565b6102c26104ca366004611ab1565b60056020526000908152604090205460ff1681565b6102746104ed366004611a98565b610f7a565b6102746105003660046119af565b610fbb565b61027460095481565b6102da61051c366004611b2a565b610fe8565b6102da61052f366004611ab1565b61102c565b610274611077565b6102c2600081565b6102da61114b565b61027461055a366004611b4e565b600c60209081526000928352604080842090915290825290205481565b6102c2610585366004611b78565b6111c6565b600754610384906001600160a01b031681565b6102da6105ab366004611ab1565b611339565b6007546000906001600160a01b031633146105e65760405162461bcd60e51b81526004016105dd90611b9d565b60405180910390fd5b6105f18484846113b7565b949350505050565b60006106063384846113b7565b90505b92915050565b6000805461061c90611bd4565b80601f016020809104026020016040519081016040528092919081815260200182805461064890611bd4565b80156106955780601f1061066a57610100808354040283529160200191610695565b820191906000526020600020905b81548152906001019060200180831161067857829003601f168201915b505050505081565b336000818152600c602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906106f89086815260200190565b60405180910390a350600192915050565b6007546001600160a01b031633146107335760405162461bcd60e51b81526004016105dd90611b9d565b6008546001600160a01b03161580159061074f57506009544210155b61075857600080fd5b600880546001600160a01b0390811660009081526005602052604081208054600160ff199091168117909155835460068054928301815583527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f9091018054919093166001600160a01b0319918216179092558254909116909155600955565b60006001600160a01b038316158015906107fb57506001600160a01b0383163014155b61080457600080fd5b6001600160a01b0384163314610910576001600160a01b0384166000908152600c60209081526040808320338452909152902054600019811461090e57828110156108a35760405162461bcd60e51b815260206004820152602960248201527f416e7973776170563645524332303a2072657175657374206578636565647320604482015268616c6c6f77616e636560b81b60648201526084016105dd565b60006108af8483611c24565b6001600160a01b0387166000818152600c6020908152604080832033808552908352928190208590555184815293945090927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505b505b6001600160a01b038416600090815260026020526040902054828110156109495760405162461bcd60e51b81526004016105dd90611c37565b6109538382611c24565b6001600160a01b038087166000908152600260205260408082209390935590861681529081208054859290610989908490611c86565b92505081905550836001600160a01b0316856001600160a01b0316600080516020611d23833981519152856040516109c391815260200190565b60405180910390a3506001949350505050565b60006106093383336113b7565b6007546001600160a01b03163314610a0d5760405162461bcd60e51b81526004016105dd90611b9d565b60045460ff16610a1c57600080fd5b6004805460ff19908116909155600780546001600160a01b039093166001600160a01b0319938416811790915560008181526005602052604081208054909316600190811790935560068054938401815590527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f9091018054909216179055565b336000818152600260205260408120549091610ab991816113b7565b905090565b3360009081526005602052604081205460ff16610aed5760405162461bcd60e51b81526004016105dd90611b9d565b610af78383611469565b50600192915050565b6007546000906001600160a01b03163314610b2d5760405162461bcd60e51b81526004016105dd90611b9d565b6001600160a01b038216610b535760405162461bcd60e51b81526004016105dd90611c99565b60075460405142916001600160a01b03808616929116907f5c364079e7102c27c608f9b237c735a1b7bfa0b67f27c2ad26bad447bf965cac90600090a450600780546001600160a01b0383166001600160a01b031991821617909155600a805490911690556000600b5560015b919050565b600454600090610100900460ff1615610c205760405162461bcd60e51b815260206004820152601960248201527f416e7973776170563645524332303a207661756c744f6e6c790000000000000060448201526064016105dd565b6001600160a01b038216610c465760405162461bcd60e51b81526004016105dd90611c99565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031615801590610c8c57503360009081526002602052604090205483115b15610ccb57610cc66001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016333086611536565b610cd5565b610cd533846115a7565b6040518381526001600160a01b0383169033907f6b616089d04950dc06c45c6dd787d657980543f89651aec47924752c7d16c888906020016106f8565b6007546001600160a01b03163314610d3c5760405162461bcd60e51b81526004016105dd90611b9d565b6001600160a01b038116610d625760405162461bcd60e51b81526004016105dd90611c99565b600a80546001600160a01b0319166001600160a01b038316179055610d8a6202a30042611c86565b600b5550565b6000610dc76001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016333086611536565b61060683836116ec565b60068181548110610de157600080fd5b6000918252602090912001546001600160a01b0316905081565b6001805461061c90611bd4565b3360009081526005602052604081205460ff16610e375760405162461bcd60e51b81526004016105dd90611b9d565b610af783836115a7565b60606006805480602002602001604051908101604052809291908181526020018280548015610e9957602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610e7b575b5050505050905090565b60006001600160a01b03831615801590610ec657506001600160a01b0383163014155b610ecf57600080fd5b3360009081526002602052604090205482811015610eff5760405162461bcd60e51b81526004016105dd90611c37565b610f098382611c24565b33600090815260026020526040808220929092556001600160a01b03861681529081208054859290610f3c908490611c86565b90915550506040518381526001600160a01b038516903390600080516020611d23833981519152906020015b60405180910390a35060019392505050565b6000610fb16001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016333085611536565b61060982336116ec565b6007546000906001600160a01b03163314610dc75760405162461bcd60e51b81526004016105dd90611b9d565b6007546001600160a01b031633146110125760405162461bcd60e51b81526004016105dd90611b9d565b600480549115156101000261ff0019909216919091179055565b6007546001600160a01b031633146110565760405162461bcd60e51b81526004016105dd90611b9d565b6001600160a01b03166000908152600560205260409020805460ff19169055565b6040516370a0823160e01b815233600482015260009081906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa1580156110e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111049190611cd0565b905061113b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016333084611536565b61114581336116ec565b91505090565b6007546001600160a01b031633146111755760405162461bcd60e51b81526004016105dd90611b9d565b600a546001600160a01b0316158015906111915750600b544210155b61119a57600080fd5b600a8054600780546001600160a01b03199081166001600160a01b038416179091551690556000600b55565b3360009081526005602052604081205460ff166111f55760405162461bcd60e51b81526004016105dd90611b9d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316158015906112b557506040516370a0823160e01b815230600482015282907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa15801561128e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b29190611cd0565b10155b156112f3576112ee6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168484611769565b6112fd565b6112fd8383611469565b826001600160a01b0316847f05d0634fe981be85c22e2942a880821b70095d84e152c3ea3c17a4e4250d9d6184604051610f6891815260200190565b6007546001600160a01b031633146113635760405162461bcd60e51b81526004016105dd90611b9d565b6001600160a01b0381166113895760405162461bcd60e51b81526004016105dd90611c99565b600880546001600160a01b0319166001600160a01b0383161790556113b16202a30042611c86565b60095550565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161580159061141a57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163014155b61142357600080fd5b61142d84846115a7565b6114616001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168385611769565b509092915050565b6001600160a01b0382166114bf5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105dd565b80600360008282546114d19190611c86565b90915550506001600160a01b038216600090815260026020526040812080548392906114fe908490611c86565b90915550506040518181526001600160a01b03831690600090600080516020611d238339815191529060200160405180910390a35050565b6040516001600160a01b03808516602483015283166044820152606481018290526115a19085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261179e565b50505050565b6001600160a01b0382166116075760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105dd565b6001600160a01b0382166000908152600260205260409020548181101561167b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105dd565b6116858282611c24565b6001600160a01b038416600090815260026020526040812091909155600380548492906116b3908490611c24565b90915550506040518281526000906001600160a01b03851690600080516020611d238339815191529060200160405180910390a3505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161580159061174f57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163014155b61175857600080fd5b6117628284611469565b5090919050565b6040516001600160a01b03831660248201526044810182905261179990849063a9059cbb60e01b9060640161156a565b505050565b6117b0826001600160a01b0316611925565b6117fc5760405162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740060448201526064016105dd565b600080836001600160a01b0316836040516118179190611ce9565b6000604051808303816000865af19150503d8060008114611854576040519150601f19603f3d011682016040523d82523d6000602084013e611859565b606091505b5091509150816118ab5760405162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656460448201526064016105dd565b8051156115a157808060200190518101906118c69190611d05565b6115a15760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016105dd565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906105f15750141592915050565b80356001600160a01b0381168114610bc057600080fd5b60008060006060848603121561198857600080fd5b6119918461195c565b9250602084013591506119a66040850161195c565b90509250925092565b600080604083850312156119c257600080fd5b823591506119d26020840161195c565b90509250929050565b60005b838110156119f65781810151838201526020016119de565b50506000910152565b6020815260008251806020840152611a1e8160408501602087016119db565b601f01601f19169190910160400192915050565b60008060408385031215611a4557600080fd5b611a4e8361195c565b946020939093013593505050565b600080600060608486031215611a7157600080fd5b611a7a8461195c565b9250611a886020850161195c565b9150604084013590509250925092565b600060208284031215611aaa57600080fd5b5035919050565b600060208284031215611ac357600080fd5b6106068261195c565b6020808252825182820181905260009190848201906040850190845b81811015611b0d5783516001600160a01b031683529284019291840191600101611ae8565b50909695505050505050565b8015158114611b2757600080fd5b50565b600060208284031215611b3c57600080fd5b8135611b4781611b19565b9392505050565b60008060408385031215611b6157600080fd5b611b6a8361195c565b91506119d26020840161195c565b600080600060608486031215611b8d57600080fd5b83359250611a886020850161195c565b60208082526019908201527f416e7973776170563645524332303a20464f5242494444454e00000000000000604082015260600190565b600181811c90821680611be857607f821691505b602082108103611c0857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561060957610609611c0e565b6020808252602f908201527f416e7973776170563645524332303a207472616e7366657220616d6f756e742060408201526e657863656564732062616c616e636560881b606082015260800190565b8082018082111561060957610609611c0e565b6020808252601a908201527f416e7973776170563645524332303a2061646472657373283029000000000000604082015260600190565b600060208284031215611ce257600080fd5b5051919050565b60008251611cfb8184602087016119db565b9190910192915050565b600060208284031215611d1757600080fd5b8151611b4781611b1956feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220a3403c9d66c38f3fceccb728ee879ce7ba5795fa6fc035ab5e9eab199f29101264736f6c63430008110033