Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
- Contract name:
- ERC20TokenCloned
- Optimization enabled
- true
- Compiler version
- v0.8.19+commit.7dd6d404
- Optimization runs
- 200
- EVM Version
- default
- Verified at
- 2024-09-26T15:31:32.296342Z
Constructor Arguments
0x000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000005746573743400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000057465737434000000000000000000000000000000000000000000000000000000
Arg [0] (string) : test4
Arg [1] (string) : test4
Contract source code
// SPDX-License-Identifier: No License (None)
pragma solidity 0.8.19;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the token decimals.
*/
function decimals() external view returns (uint8);
/**
* @dev Returns the token symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the token name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the bep token owner.
*/
function getOwner() external view returns (address);
/**
* @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);
}
contract ERC20TokenCloned is IERC20 {
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
mapping (address => bool) public minter;
uint256 private _totalSupply;
uint8 private _decimals;
string private _symbol;
string private _name;
address public owner;
/**
* @dev Throws if called by any account other than the bridge owner.
*/
modifier onlyOwner() {
require(owner == msg.sender, "Caller is not owner");
_;
}
modifier onlyMinter() {
require(owner == msg.sender || minter[msg.sender], "Caller is not minter");
_;
}
// set minter to bridge contract to avoid initialize this implementation contract
constructor(string memory name_, string memory symbol_) {
owner = msg.sender;
_name = name_;
_symbol = symbol_;
_decimals = 18;
}
function setMinter(address _minter, bool _active) external onlyOwner {
minter[_minter] = _active;
}
/**
* @dev Mint tokens to user in amount of his deposit. Used by bridge to mint wrapped tokens
* @param user - address of user's wallet
* @param amount - amount of token to mint (should be equivalent of USDT amount of deposit)
*/
function mint(address user, uint256 amount) external onlyMinter {
_mint(user, amount);
}
function airdrop(address[] calldata users, uint256[] calldata amounts) external onlyOwner {
require(users.length == amounts.length);
uint len = users.length;
for (uint i=0; i<len; i++) {
_mint(users[i], amounts[i]);
}
}
/**
* @dev Returns the bep token owner.
*/
function getOwner() external override view returns (address) {
return owner;
}
/**
* @dev Returns the token decimals.
*/
function decimals() external override view returns (uint8) {
return _decimals;
}
/**
* @dev Returns the token symbol.
*/
function symbol() external override view returns (string memory) {
return _symbol;
}
/**
* @dev Returns the token name.
*/
function name() external override view returns (string memory) {
return _name;
}
/**
* @dev See {ERC20-totalSupply}.
*/
function totalSupply() external override view returns (uint256) {
return _totalSupply;
}
/**
* @dev See {ERC20-balanceOf}.
*/
function balanceOf(address account) external override view returns (uint256) {
return _balances[account];
}
/**
* @dev See {ERC20-transfer}.
*
* Requirements:
*
* - `recipient` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address recipient, uint256 amount) external override returns (bool) {
_transfer(msg.sender, recipient, amount);
return true;
}
/**
* @dev See {ERC20-allowance}.
*/
function allowance(address owner, address spender) external override view returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {ERC20-approve}.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) external override returns (bool) {
_approve(msg.sender, spender, amount);
return true;
}
/**
* @dev See {ERC20-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) external override returns (bool) {
_transfer(sender, recipient, amount);
_approve(sender, msg.sender, _allowances[sender][msg.sender] - amount);
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {ERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) external returns (bool) {
_approve(msg.sender, spender, _allowances[msg.sender][spender] + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {ERC20-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) external returns (bool) {
_approve(msg.sender, spender, _allowances[msg.sender][spender] - subtractedValue);
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 {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
_balances[sender] = _balances[sender] - amount;
_balances[recipient] = _balances[recipient] + 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 {
require(account != address(0), "ERC20: mint to the zero address");
_totalSupply = _totalSupply + amount;
_balances[account] = _balances[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");
_balances[account] = _balances[account] - amount;
_totalSupply = _totalSupply - 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 {
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 Destroys `amount` tokens from `account`.`amount` is then deducted
* from the caller's allowance.
*
* See {_burn} and {_approve}.
*/
function _burnFrom(address account, uint256 amount) internal {
_burn(account, amount);
_approve(account, msg.sender, _allowances[account][msg.sender] - amount);
}
function rescue(address to, bytes calldata data) external onlyOwner {
(bool success,) = to.call(data);
require(success, "call failed");
}
}
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"string","name":"name_","internalType":"string"},{"type":"string","name":"symbol_","internalType":"string"}]},{"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":"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":"nonpayable","outputs":[],"name":"airdrop","inputs":[{"type":"address[]","name":"users","internalType":"address[]"},{"type":"uint256[]","name":"amounts","internalType":"uint256[]"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"getOwner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"mint","inputs":[{"type":"address","name":"user","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"minter","inputs":[{"type":"address","name":"","internalType":"address"}]},{"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":"nonpayable","outputs":[],"name":"rescue","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"bytes","name":"data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setMinter","inputs":[{"type":"address","name":"_minter","internalType":"address"},{"type":"bool","name":"_active","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":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]}]
Contract Creation Code
0x60806040523480156200001157600080fd5b50604051620010e2380380620010e283398101604081905262000034916200013e565b600780546001600160a01b03191633179055600662000054838262000237565b50600562000063828262000237565b50506004805460ff191660121790555062000303565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000a157600080fd5b81516001600160401b0380821115620000be57620000be62000079565b604051601f8301601f19908116603f01168101908282118183101715620000e957620000e962000079565b816040528381526020925086838588010111156200010657600080fd5b600091505b838210156200012a57858201830151818301840152908201906200010b565b600093810190920192909252949350505050565b600080604083850312156200015257600080fd5b82516001600160401b03808211156200016a57600080fd5b62000178868387016200008f565b935060208501519150808211156200018f57600080fd5b506200019e858286016200008f565b9150509250929050565b600181811c90821680620001bd57607f821691505b602082108103620001de57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200023257600081815260208120601f850160051c810160208610156200020d5750805b601f850160051c820191505b818110156200022e5782815560010162000219565b5050505b505050565b81516001600160401b0381111562000253576200025362000079565b6200026b81620002648454620001a8565b84620001e4565b602080601f831160018114620002a357600084156200028a5750858301515b600019600386901b1c1916600185901b1785556200022e565b600085815260208120601f198616915b82811015620002d457888601518255948401946001909101908401620002b3565b5085821015620002f35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b610dcf80620003136000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c806370a08231116100a2578063a457c2d711610071578063a457c2d71461025d578063a9059cbb14610270578063c5ecfed714610283578063cf456ae714610296578063dd62ed3e146102a957600080fd5b806370a08231146101f4578063893d20e81461021d5780638da5cb5b1461024257806395d89b411461025557600080fd5b8063313ce567116100e9578063313ce5671461018157806339509351146101965780633dd08c38146101a957806340c10f19146101cc57806367243482146101e157600080fd5b806306fdde031461011b578063095ea7b31461013957806318160ddd1461015c57806323b872dd1461016e575b600080fd5b6101236102e2565b6040516101309190610a1b565b60405180910390f35b61014c610147366004610a85565b610374565b6040519015158152602001610130565b6003545b604051908152602001610130565b61014c61017c366004610aaf565b61038b565b60045460405160ff9091168152602001610130565b61014c6101a4366004610a85565b6103dd565b61014c6101b7366004610aeb565b60026020526000908152604090205460ff1681565b6101df6101da366004610a85565b610414565b005b6101df6101ef366004610b59565b610492565b610160610202366004610aeb565b6001600160a01b031660009081526020819052604090205490565b6007546001600160a01b03165b6040516001600160a01b039091168152602001610130565b60075461022a906001600160a01b031681565b610123610536565b61014c61026b366004610a85565b610545565b61014c61027e366004610a85565b61057c565b6101df610291366004610bc5565b610589565b6101df6102a4366004610c48565b610656565b6101606102b7366004610c84565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600680546102f190610cb7565b80601f016020809104026020016040519081016040528092919081815260200182805461031d90610cb7565b801561036a5780601f1061033f5761010080835404028352916020019161036a565b820191906000526020600020905b81548152906001019060200180831161034d57829003601f168201915b5050505050905090565b60006103813384846106ab565b5060015b92915050565b60006103988484846107d0565b6001600160a01b0384166000908152600160209081526040808320338085529252909120546103d39186916103ce908690610d07565b6106ab565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103819185906103ce908690610d1a565b6007546001600160a01b031633148061043c57503360009081526002602052604090205460ff165b6104845760405162461bcd60e51b815260206004820152601460248201527321b0b63632b91034b9903737ba1036b4b73a32b960611b60448201526064015b60405180910390fd5b61048e828261093b565b5050565b6007546001600160a01b031633146104bc5760405162461bcd60e51b815260040161047b90610d2d565b8281146104c857600080fd5b8260005b8181101561052e5761051c8686838181106104e9576104e9610d5a565b90506020020160208101906104fe9190610aeb565b85858481811061051057610510610d5a565b9050602002013561093b565b8061052681610d70565b9150506104cc565b505050505050565b6060600580546102f190610cb7565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103819185906103ce908690610d07565b60006103813384846107d0565b6007546001600160a01b031633146105b35760405162461bcd60e51b815260040161047b90610d2d565b6000836001600160a01b031683836040516105cf929190610d89565b6000604051808303816000865af19150503d806000811461060c576040519150601f19603f3d011682016040523d82523d6000602084013e610611565b606091505b50509050806106505760405162461bcd60e51b815260206004820152600b60248201526a18d85b1b0819985a5b195960aa1b604482015260640161047b565b50505050565b6007546001600160a01b031633146106805760405162461bcd60e51b815260040161047b90610d2d565b6001600160a01b03919091166000908152600260205260409020805460ff1916911515919091179055565b6001600160a01b03831661070d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161047b565b6001600160a01b03821661076e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161047b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166108345760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161047b565b6001600160a01b0382166108965760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161047b565b6001600160a01b0383166000908152602081905260409020546108ba908290610d07565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546108ea908290610d1a565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016107c3565b6001600160a01b0382166109915760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161047b565b8060035461099f9190610d1a565b6003556001600160a01b0382166000908152602081905260409020546109c6908290610d1a565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600060208083528351808285015260005b81811015610a4857858101830151858201604001528201610a2c565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a8057600080fd5b919050565b60008060408385031215610a9857600080fd5b610aa183610a69565b946020939093013593505050565b600080600060608486031215610ac457600080fd5b610acd84610a69565b9250610adb60208501610a69565b9150604084013590509250925092565b600060208284031215610afd57600080fd5b610b0682610a69565b9392505050565b60008083601f840112610b1f57600080fd5b50813567ffffffffffffffff811115610b3757600080fd5b6020830191508360208260051b8501011115610b5257600080fd5b9250929050565b60008060008060408587031215610b6f57600080fd5b843567ffffffffffffffff80821115610b8757600080fd5b610b9388838901610b0d565b90965094506020870135915080821115610bac57600080fd5b50610bb987828801610b0d565b95989497509550505050565b600080600060408486031215610bda57600080fd5b610be384610a69565b9250602084013567ffffffffffffffff80821115610c0057600080fd5b818601915086601f830112610c1457600080fd5b813581811115610c2357600080fd5b876020828501011115610c3557600080fd5b6020830194508093505050509250925092565b60008060408385031215610c5b57600080fd5b610c6483610a69565b915060208301358015158114610c7957600080fd5b809150509250929050565b60008060408385031215610c9757600080fd5b610ca083610a69565b9150610cae60208401610a69565b90509250929050565b600181811c90821680610ccb57607f821691505b602082108103610ceb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561038557610385610cf1565b8082018082111561038557610385610cf1565b60208082526013908201527221b0b63632b91034b9903737ba1037bbb732b960691b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600060018201610d8257610d82610cf1565b5060010190565b818382376000910190815291905056fea2646970667358221220c34a7196e7ccd48d4e2cd24a6a01a136e26930d0add6f87e4e94e323d0e6f46664736f6c63430008130033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000005746573743400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000057465737434000000000000000000000000000000000000000000000000000000
Deployed ByteCode
0x608060405234801561001057600080fd5b50600436106101165760003560e01c806370a08231116100a2578063a457c2d711610071578063a457c2d71461025d578063a9059cbb14610270578063c5ecfed714610283578063cf456ae714610296578063dd62ed3e146102a957600080fd5b806370a08231146101f4578063893d20e81461021d5780638da5cb5b1461024257806395d89b411461025557600080fd5b8063313ce567116100e9578063313ce5671461018157806339509351146101965780633dd08c38146101a957806340c10f19146101cc57806367243482146101e157600080fd5b806306fdde031461011b578063095ea7b31461013957806318160ddd1461015c57806323b872dd1461016e575b600080fd5b6101236102e2565b6040516101309190610a1b565b60405180910390f35b61014c610147366004610a85565b610374565b6040519015158152602001610130565b6003545b604051908152602001610130565b61014c61017c366004610aaf565b61038b565b60045460405160ff9091168152602001610130565b61014c6101a4366004610a85565b6103dd565b61014c6101b7366004610aeb565b60026020526000908152604090205460ff1681565b6101df6101da366004610a85565b610414565b005b6101df6101ef366004610b59565b610492565b610160610202366004610aeb565b6001600160a01b031660009081526020819052604090205490565b6007546001600160a01b03165b6040516001600160a01b039091168152602001610130565b60075461022a906001600160a01b031681565b610123610536565b61014c61026b366004610a85565b610545565b61014c61027e366004610a85565b61057c565b6101df610291366004610bc5565b610589565b6101df6102a4366004610c48565b610656565b6101606102b7366004610c84565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600680546102f190610cb7565b80601f016020809104026020016040519081016040528092919081815260200182805461031d90610cb7565b801561036a5780601f1061033f5761010080835404028352916020019161036a565b820191906000526020600020905b81548152906001019060200180831161034d57829003601f168201915b5050505050905090565b60006103813384846106ab565b5060015b92915050565b60006103988484846107d0565b6001600160a01b0384166000908152600160209081526040808320338085529252909120546103d39186916103ce908690610d07565b6106ab565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103819185906103ce908690610d1a565b6007546001600160a01b031633148061043c57503360009081526002602052604090205460ff165b6104845760405162461bcd60e51b815260206004820152601460248201527321b0b63632b91034b9903737ba1036b4b73a32b960611b60448201526064015b60405180910390fd5b61048e828261093b565b5050565b6007546001600160a01b031633146104bc5760405162461bcd60e51b815260040161047b90610d2d565b8281146104c857600080fd5b8260005b8181101561052e5761051c8686838181106104e9576104e9610d5a565b90506020020160208101906104fe9190610aeb565b85858481811061051057610510610d5a565b9050602002013561093b565b8061052681610d70565b9150506104cc565b505050505050565b6060600580546102f190610cb7565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916103819185906103ce908690610d07565b60006103813384846107d0565b6007546001600160a01b031633146105b35760405162461bcd60e51b815260040161047b90610d2d565b6000836001600160a01b031683836040516105cf929190610d89565b6000604051808303816000865af19150503d806000811461060c576040519150601f19603f3d011682016040523d82523d6000602084013e610611565b606091505b50509050806106505760405162461bcd60e51b815260206004820152600b60248201526a18d85b1b0819985a5b195960aa1b604482015260640161047b565b50505050565b6007546001600160a01b031633146106805760405162461bcd60e51b815260040161047b90610d2d565b6001600160a01b03919091166000908152600260205260409020805460ff1916911515919091179055565b6001600160a01b03831661070d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161047b565b6001600160a01b03821661076e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161047b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166108345760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161047b565b6001600160a01b0382166108965760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161047b565b6001600160a01b0383166000908152602081905260409020546108ba908290610d07565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546108ea908290610d1a565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016107c3565b6001600160a01b0382166109915760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161047b565b8060035461099f9190610d1a565b6003556001600160a01b0382166000908152602081905260409020546109c6908290610d1a565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600060208083528351808285015260005b81811015610a4857858101830151858201604001528201610a2c565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a8057600080fd5b919050565b60008060408385031215610a9857600080fd5b610aa183610a69565b946020939093013593505050565b600080600060608486031215610ac457600080fd5b610acd84610a69565b9250610adb60208501610a69565b9150604084013590509250925092565b600060208284031215610afd57600080fd5b610b0682610a69565b9392505050565b60008083601f840112610b1f57600080fd5b50813567ffffffffffffffff811115610b3757600080fd5b6020830191508360208260051b8501011115610b5257600080fd5b9250929050565b60008060008060408587031215610b6f57600080fd5b843567ffffffffffffffff80821115610b8757600080fd5b610b9388838901610b0d565b90965094506020870135915080821115610bac57600080fd5b50610bb987828801610b0d565b95989497509550505050565b600080600060408486031215610bda57600080fd5b610be384610a69565b9250602084013567ffffffffffffffff80821115610c0057600080fd5b818601915086601f830112610c1457600080fd5b813581811115610c2357600080fd5b876020828501011115610c3557600080fd5b6020830194508093505050509250925092565b60008060408385031215610c5b57600080fd5b610c6483610a69565b915060208301358015158114610c7957600080fd5b809150509250929050565b60008060408385031215610c9757600080fd5b610ca083610a69565b9150610cae60208401610a69565b90509250929050565b600181811c90821680610ccb57607f821691505b602082108103610ceb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561038557610385610cf1565b8082018082111561038557610385610cf1565b60208082526013908201527221b0b63632b91034b9903737ba1037bbb732b960691b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600060018201610d8257610d82610cf1565b5060010190565b818382376000910190815291905056fea2646970667358221220c34a7196e7ccd48d4e2cd24a6a01a136e26930d0add6f87e4e94e323d0e6f46664736f6c63430008130033