Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
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:
Token_v3
Compiler Version
v0.5.8+commit.23d335f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
petersburg EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity 0.5.8; import "./Token_v2.sol"; import "./Roles/Rescuer.sol"; import "./Roles/Operators.sol"; import { IERC20 } from "openzeppelin-solidity/contracts/token/ERC20/IERC20.sol"; import { SafeERC20 } from "openzeppelin-solidity/contracts/token/ERC20/SafeERC20.sol"; contract Token_v3 is Token_v2, Rescuer, Operators { using SafeERC20 for IERC20; struct MintTransaction { address destination; uint amount; bool executed; } uint256 public mintTransactionCount; mapping (uint => mapping (address => bool)) public confirmations; mapping (uint => MintTransaction) public mintTransactions; modifier transactionExists(uint transactionId) { require (mintTransactions[transactionId].destination != address(0), "mint transaction does not exist."); _; } modifier notConfirmed(uint transactionId, address operator) { require (!confirmations[transactionId][operator], "mint transaction had been confirmed."); _; } event Rescue(IERC20 indexed tokenAddr, address indexed toAddr, uint256 amount); event RescuerChanged(address indexed oldRescuer, address indexed newRescuer, address indexed sender); event OperatorChanged(address indexed oldOperator, address indexed newOperator, uint256 index, address indexed sender); event Confirmation(address indexed sender, uint indexed transactionId); event PendingMintTransaction(uint indexed transactionId, address indexed acount, uint amount, address indexed sender); // only admin can change rescuer function changeRescuer(address _account) public onlyAdmin whenNotPaused isNotZeroAddress(_account) { address old = rescuer; rescuer = _account; emit RescuerChanged(old, rescuer, msg.sender); } // rescue locked ERC20 Tokens function rescue(IERC20 _tokenContract, address _to, uint256 _amount) public whenNotPaused onlyRescuer { _tokenContract.safeTransfer(_to, _amount); emit Rescue(_tokenContract, _to, _amount); } // only admin can change operator function changeOperator(address _account, uint256 _index) public onlyAdmin whenNotPaused isNotZeroAddress(_account) { require(_index == 1 || _index == 2, "there is only two operators."); address old = operator1; if(_index == 1){ operator1 = _account; }else{ old = operator2; operator2 = _account; } emit OperatorChanged(old, _account, _index, msg.sender); } function addMintTransaction(address _account, uint _amount) internal returns (uint transactionId) { transactionId = mintTransactionCount; mintTransactions[transactionId] = MintTransaction({ destination: _account, amount: _amount, executed: false }); mintTransactionCount += 1; emit PendingMintTransaction(transactionId, _account, _amount, msg.sender); } function confirmMintTransaction(uint transactionId) public onlyOperator whenNotPaused transactionExists(transactionId) notConfirmed(transactionId, msg.sender) { confirmations[transactionId][msg.sender] = true; emit Confirmation(msg.sender, transactionId); executeTransaction(transactionId); } function mint(address _account, uint256 _amount) public onlyMinter whenNotPaused notMoreThanCapacity(totalSupply().add(_amount)) onlyNotProhibited(_account) isNaturalNumber(_amount){ require(_account != address(0), "mint destination is the zero address"); addMintTransaction(_account, _amount); } function executeTransaction(uint transactionId) internal { if (isConfirmed(transactionId)) { mintTransactions[transactionId].executed = true; _mint(mintTransactions[transactionId].destination, mintTransactions[transactionId].amount); emit Mint(mintTransactions[transactionId].destination, mintTransactions[transactionId].amount, msg.sender); } } function isConfirmed(uint transactionId) public view returns (bool) { if(confirmations[transactionId][operator1] && confirmations[transactionId][operator2]){ return true; } return false; } function initializeV3(address _rescuer, address _operator1, address _operator2) public isNotZeroAddress(_rescuer) isNotZeroAddress(_operator1) isNotZeroAddress(_operator2){ initializeRescuer(_rescuer); initializeOperators(_operator1, _operator2); } function transfer(address _recipient, uint256 _amount) public whenNotPaused onlyNotProhibited(msg.sender) onlyNotProhibited(_recipient) isNaturalNumber(_amount) returns (bool) { _transfer(msg.sender, _recipient, _amount); return true; } function transferFrom(address _sender, address _recipient, uint256 _amount) public whenNotPaused onlyNotProhibited(_sender) onlyNotProhibited(_recipient) isNaturalNumber(_amount) returns (bool) { return super.transferFrom(_sender, _recipient, _amount); } function burn(uint256 _amount) public onlyNotProhibited(msg.sender) isNaturalNumber(_amount) { _burn(msg.sender, _amount); emit Burn(msg.sender, _amount, msg.sender); } }
pragma solidity 0.5.8; import "./Capper.sol"; import "./Pauser.sol"; import "./Prohibiter.sol"; contract Admin is Capper, Prohibiter { address public admin = address(0); event CapperChanged(address indexed oldCapper, address indexed newCapper, address indexed sender); event PauserChanged(address indexed oldPauser, address indexed newPauser, address indexed sender); event ProhibiterChanged(address indexed oldProhibiter, address indexed newProhibiter, address indexed sender); modifier onlyAdmin() { require(msg.sender == admin, "the sender is not the admin"); _; } function changeCapper(address _account) public onlyAdmin whenNotPaused isNotZeroAddress(_account) { address old = capper; capper = _account; emit CapperChanged(old, capper, msg.sender); } /** * Change Pauser * @dev "whenNotPaused" modifier should not be used here */ function changePauser(address _account) public onlyAdmin isNotZeroAddress(_account) { address old = pauser; pauser = _account; emit PauserChanged(old, pauser, msg.sender); } function changeProhibiter(address _account) public onlyAdmin whenNotPaused isNotZeroAddress(_account) { address old = prohibiter; prohibiter = _account; emit ProhibiterChanged(old, prohibiter, msg.sender); } }
pragma solidity 0.5.8; import "./Common.sol"; contract Capper is Common { uint256 public capacity = 0; address public capper = address(0); event Cap(uint256 indexed newCapacity, address indexed sender); modifier onlyCapper() { require(msg.sender == capper, "the sender is not the capper"); _; } modifier notMoreThanCapacity(uint256 _amount) { require(_amount <= capacity, "this amount is more than capacity"); _; } function _cap(uint256 _amount) internal { capacity = _amount; emit Cap(capacity, msg.sender); } }
pragma solidity 0.5.8; contract Common { modifier isNotZeroAddress(address _account) { require(_account != address(0), "this account is the zero address"); _; } modifier isNaturalNumber(uint256 _amount) { require(0 < _amount, "this amount is not a natural number"); _; } }
pragma solidity 0.5.8; import "./Pauser.sol"; contract Minter is Pauser { address public minter = address(0); modifier onlyMinter() { require(msg.sender == minter, "the sender is not the minter"); _; } }
pragma solidity 0.5.8; import "./Minter.sol"; contract MinterAdmin is Minter { address public minterAdmin = address(0); event MinterChanged(address indexed oldMinter, address indexed newMinter, address indexed sender); modifier onlyMinterAdmin() { require(msg.sender == minterAdmin, "the sender is not the minterAdmin"); _; } function changeMinter(address _account) public onlyMinterAdmin whenNotPaused isNotZeroAddress(_account) { address old = minter; minter = _account; emit MinterChanged(old, minter, msg.sender); } }
pragma solidity 0.5.8; import "./Common.sol"; contract Operators is Common { address public operator1 = address(0); address public operator2 = address(0); modifier onlyOperator() { require(msg.sender == operator1 || msg.sender == operator2, "the sender is not the operator"); _; } function initializeOperators(address _account1, address _account2) internal { operator1 = _account1; operator2 = _account2; } }
pragma solidity 0.5.8; import "./Admin.sol"; import "./MinterAdmin.sol"; contract Owner is Admin, MinterAdmin { address public owner = address(0); event OwnerChanged(address indexed oldOwner, address indexed newOwner, address indexed sender); event AdminChanged(address indexed oldAdmin, address indexed newAdmin, address indexed sender); event MinterAdminChanged(address indexed oldMinterAdmin, address indexed newMinterAdmin, address indexed sender); modifier onlyOwner() { require(msg.sender == owner, "the sender is not the owner"); _; } function changeOwner(address _account) public onlyOwner whenNotPaused isNotZeroAddress(_account) { address old = owner; owner = _account; emit OwnerChanged(old, owner, msg.sender); } /** * Change Admin * @dev "whenNotPaused" modifier should not be used here */ function changeAdmin(address _account) public onlyOwner isNotZeroAddress(_account) { address old = admin; admin = _account; emit AdminChanged(old, admin, msg.sender); } function changeMinterAdmin(address _account) public onlyOwner whenNotPaused isNotZeroAddress(_account) { address old = minterAdmin; minterAdmin = _account; emit MinterAdminChanged(old, minterAdmin, msg.sender); } }
pragma solidity 0.5.8; import "./Common.sol"; contract Pauser is Common { address public pauser = address(0); bool public paused = false; event Pause(bool status, address indexed sender); modifier onlyPauser() { require(msg.sender == pauser, "the sender is not the pauser"); _; } modifier whenNotPaused() { require(!paused, "this is a paused contract"); _; } modifier whenPaused() { require(paused, "this is not a paused contract"); _; } function pause() public onlyPauser whenNotPaused { paused = true; emit Pause(paused, msg.sender); } function unpause() public onlyPauser whenPaused { paused = false; emit Pause(paused, msg.sender); } }
pragma solidity 0.5.8; import "./Pauser.sol"; contract Prohibiter is Pauser { address public prohibiter = address(0); mapping(address => bool) public prohibiteds; event Prohibition(address indexed prohibited, bool status, address indexed sender); modifier onlyProhibiter() { require(msg.sender == prohibiter, "the sender is not the prohibiter"); _; } modifier onlyNotProhibited(address _account) { require(!prohibiteds[_account], "this account is prohibited"); _; } modifier onlyProhibited(address _account) { require(prohibiteds[_account], "this account is not prohibited"); _; } function prohibit(address _account) public onlyProhibiter whenNotPaused isNotZeroAddress(_account) onlyNotProhibited(_account) { prohibiteds[_account] = true; emit Prohibition(_account, prohibiteds[_account], msg.sender); } function unprohibit(address _account) public onlyProhibiter whenNotPaused isNotZeroAddress(_account) onlyProhibited(_account) { prohibiteds[_account] = false; emit Prohibition(_account, prohibiteds[_account], msg.sender); } }
pragma solidity 0.5.8; import "./Common.sol"; contract Rescuer is Common { address public rescuer = address(0); modifier onlyRescuer() { require(msg.sender == rescuer, "the sender is not the rescuer"); _; } function initializeRescuer(address _account) internal { require(rescuer == address(0), "the rescuer can only be initiated once"); rescuer = _account; } }
pragma solidity 0.5.8; import "./Common.sol"; contract Wiper is Common { address public wiper = address(0); modifier onlyWiper() { require(msg.sender == wiper, "the sender is not the wiper"); _; } function initializeWiper(address _account) public isNotZeroAddress(_account) { require(wiper == address(0), "the wiper can only be initiated once"); wiper = _account; } }
pragma solidity 0.5.8; import "@openzeppelin/upgrades/contracts/Initializable.sol"; import "openzeppelin-solidity/contracts/token/ERC20/ERC20.sol"; import "./Roles/Owner.sol"; contract Token_v1 is Initializable, ERC20, Owner { string public name; string public symbol; uint8 public decimals; event Mint(address indexed mintee, uint256 amount, address indexed sender); event Burn(address indexed burnee, uint256 amount, address indexed sender); function initialize( string memory _name, string memory _symbol, uint8 _decimals, address _owner, address _admin, address _capper, address _prohibiter, address _pauser, address _minterAdmin, address _minter ) public initializer { require(_owner != address(0), "_owner is the zero address"); require(_admin != address(0), "_admin is the zero address"); require(_capper != address(0), "_capper is the zero address"); require(_prohibiter != address(0), "_prohibiter is the zero address"); require(_pauser != address(0), "_pauser is the zero address"); require(_minterAdmin != address(0), "_minterAdmin is the zero address"); require(_minter != address(0), "_minter is the zero address"); name = _name; symbol = _symbol; decimals = _decimals; owner = _owner; admin = _admin; capper = _capper; prohibiter = _prohibiter; pauser = _pauser; minterAdmin = _minterAdmin; minter = _minter; } function cap(uint256 _amount) public onlyCapper whenNotPaused isNaturalNumber(_amount) { require(totalSupply() <= _amount, "this amount is less than the totalySupply"); _cap(_amount); } function mint(address _account, uint256 _amount) public onlyMinter whenNotPaused notMoreThanCapacity(totalSupply().add(_amount)) isNaturalNumber(_amount) { _mint(_account, _amount); emit Mint(_account, _amount, msg.sender); } function transfer(address _recipient, uint256 _amount) public whenNotPaused onlyNotProhibited(msg.sender) isNaturalNumber(_amount) returns (bool) { _transfer(msg.sender, _recipient, _amount); return true; } function transferFrom(address _sender, address _recipient, uint256 _amount) public whenNotPaused onlyNotProhibited(_sender) isNaturalNumber(_amount) returns (bool) { return super.transferFrom(_sender, _recipient, _amount); } function burn(uint256 _amount) public isNaturalNumber(_amount) { _burn(msg.sender, _amount); emit Burn(msg.sender, _amount, msg.sender); } }
pragma solidity 0.5.8; import "./Token_v1.sol"; import "./Roles/Wiper.sol"; contract Token_v2 is Token_v1, Wiper { event Wipe(address indexed addr, uint256 amount); event WiperChanged(address indexed oldWiper, address indexed newWiper, address indexed sender); // only admin can change wiper function changeWiper(address _account) public onlyAdmin whenNotPaused isNotZeroAddress(_account) { address old = wiper; wiper = _account; emit WiperChanged(old, wiper, msg.sender); } // wipe balance of prohibited address function wipe(address _account) public whenNotPaused onlyWiper onlyProhibited(_account) { uint256 _balance = balanceOf(_account); _burn(_account, _balance); emit Wipe(_account, _balance); } }
pragma solidity >=0.4.24 <0.6.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. uint256 cs; assembly { cs := extcodesize(address) } return cs == 0; } // Reserved storage space to allow for layout changes in the future. uint256[50] private ______gap; }
pragma solidity ^0.5.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) { require(b <= a, "SafeMath: subtraction overflow"); 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-solidity/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) { // Solidity only automatically asserts when dividing by 0 require(b > 0, "SafeMath: division by zero"); 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) { require(b != 0, "SafeMath: modulo by zero"); return a % b; } }
pragma solidity ^0.5.0; import "./IERC20.sol"; import "../../math/SafeMath.sol"; /** * @dev Implementation of the `IERC20` interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using `_mint`. * For a generic mechanism see `ERC20Mintable`. * * *For a detailed writeup see our guide [How to implement supply * mechanisms](https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226).* * * 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 ERC20 is IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; /** * @dev See `IERC20.totalSupply`. */ function totalSupply() public view returns (uint256) { return _totalSupply; } /** * @dev See `IERC20.balanceOf`. */ function balanceOf(address account) public view 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 returns (bool) { _transfer(msg.sender, recipient, amount); return true; } /** * @dev See `IERC20.allowance`. */ function allowance(address owner, address spender) public view returns (uint256) { return _allowances[owner][spender]; } /** * @dev See `IERC20.approve`. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 value) public returns (bool) { _approve(msg.sender, spender, value); 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 `value`. * - the caller must have allowance for `sender`'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) { _transfer(sender, recipient, amount); _approve(sender, msg.sender, _allowances[sender][msg.sender].sub(amount)); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to `approve` that can be used as a mitigation for * problems described in `IERC20.approve`. * * Emits an `Approval` event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _approve(msg.sender, spender, _allowances[msg.sender][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 returns (bool) { _approve(msg.sender, spender, _allowances[msg.sender][spender].sub(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].sub(amount); _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 { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destoys `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 value) internal { require(account != address(0), "ERC20: burn from the zero address"); _totalSupply = _totalSupply.sub(value); _balances[account] = _balances[account].sub(value); emit Transfer(account, address(0), value); } /** * @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 value) internal { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = value; emit Approval(owner, spender, value); } /** * @dev Destoys `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].sub(amount)); } }
pragma solidity ^0.5.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see `ERC20Detailed`. */ 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. * * > 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); }
pragma solidity ^0.5.0; import "./IERC20.sol"; import "../../math/SafeMath.sol"; import "../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for 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); 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"); } } }
pragma solidity ^0.5.0; /** * @dev Collection of functions related to the address type, */ library Address { /** * @dev Returns true if `account` is a contract. * * This test is non-exhaustive, and there may be false-negatives: during the * execution of a contract's constructor, its address will be reported as * not containing a contract. * * > It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. */ function isContract(address account) internal view returns (bool) { // This method relies in extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "petersburg", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"_account","type":"address"}],"name":"changeMinterAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"minter","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_account","type":"address"},{"name":"_index","type":"uint256"}],"name":"changeOperator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenContract","type":"address"},{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"rescue","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_sender","type":"address"},{"name":"_recipient","type":"address"},{"name":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"prohibiteds","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_account","type":"address"}],"name":"changeMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_account","type":"address"}],"name":"changePauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_account","type":"address"}],"name":"changeWiper","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"address"}],"name":"confirmations","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rescuer","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_account","type":"address"},{"name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"capper","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_account","type":"address"}],"name":"changeRescuer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"capacity","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_account","type":"address"}],"name":"unprohibit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"transactionId","type":"uint256"}],"name":"isConfirmed","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"mintTransactions","outputs":[{"name":"destination","type":"address"},{"name":"amount","type":"uint256"},{"name":"executed","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_account","type":"address"}],"name":"changeAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_account","type":"address"}],"name":"initializeWiper","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_account","type":"address"}],"name":"wipe","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"pauser","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"mintTransactionCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"operator1","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_account","type":"address"}],"name":"changeOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"minterAdmin","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_recipient","type":"address"},{"name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_account","type":"address"}],"name":"changeCapper","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_decimals","type":"uint8"},{"name":"_owner","type":"address"},{"name":"_admin","type":"address"},{"name":"_capper","type":"address"},{"name":"_prohibiter","type":"address"},{"name":"_pauser","type":"address"},{"name":"_minterAdmin","type":"address"},{"name":"_minter","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"operator2","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_account","type":"address"}],"name":"prohibit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_account","type":"address"}],"name":"changeProhibiter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"wiper","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"prohibiter","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"transactionId","type":"uint256"}],"name":"confirmMintTransaction","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_rescuer","type":"address"},{"name":"_operator1","type":"address"},{"name":"_operator2","type":"address"}],"name":"initializeV3","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"admin","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amount","type":"uint256"}],"name":"cap","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"tokenAddr","type":"address"},{"indexed":true,"name":"toAddr","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Rescue","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"oldRescuer","type":"address"},{"indexed":true,"name":"newRescuer","type":"address"},{"indexed":true,"name":"sender","type":"address"}],"name":"RescuerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"oldOperator","type":"address"},{"indexed":true,"name":"newOperator","type":"address"},{"indexed":false,"name":"index","type":"uint256"},{"indexed":true,"name":"sender","type":"address"}],"name":"OperatorChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"sender","type":"address"},{"indexed":true,"name":"transactionId","type":"uint256"}],"name":"Confirmation","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"transactionId","type":"uint256"},{"indexed":true,"name":"acount","type":"address"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":true,"name":"sender","type":"address"}],"name":"PendingMintTransaction","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"addr","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Wipe","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"oldWiper","type":"address"},{"indexed":true,"name":"newWiper","type":"address"},{"indexed":true,"name":"sender","type":"address"}],"name":"WiperChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"mintee","type":"address"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":true,"name":"sender","type":"address"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"burnee","type":"address"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":true,"name":"sender","type":"address"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"oldOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"},{"indexed":true,"name":"sender","type":"address"}],"name":"OwnerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"oldAdmin","type":"address"},{"indexed":true,"name":"newAdmin","type":"address"},{"indexed":true,"name":"sender","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"oldMinterAdmin","type":"address"},{"indexed":true,"name":"newMinterAdmin","type":"address"},{"indexed":true,"name":"sender","type":"address"}],"name":"MinterAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"oldMinter","type":"address"},{"indexed":true,"name":"newMinter","type":"address"},{"indexed":true,"name":"sender","type":"address"}],"name":"MinterChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"oldCapper","type":"address"},{"indexed":true,"name":"newCapper","type":"address"},{"indexed":true,"name":"sender","type":"address"}],"name":"CapperChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"oldPauser","type":"address"},{"indexed":true,"name":"newPauser","type":"address"},{"indexed":true,"name":"sender","type":"address"}],"name":"PauserChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"oldProhibiter","type":"address"},{"indexed":true,"name":"newProhibiter","type":"address"},{"indexed":true,"name":"sender","type":"address"}],"name":"ProhibiterChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"prohibited","type":"address"},{"indexed":false,"name":"status","type":"bool"},{"indexed":true,"name":"sender","type":"address"}],"name":"Prohibition","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"status","type":"bool"},{"indexed":true,"name":"sender","type":"address"}],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"newCapacity","type":"uint256"},{"indexed":true,"name":"sender","type":"address"}],"name":"Cap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]
Contract Creation Code
60806040526000603655603780546001600160a01b0319908116909155603880546001600160a81b03191690556039805482169055603b805482169055603c805482169055603d805482169055603e80548216905560418054610100600160a81b03191690556042805482169055604380548216905560448054909116905534801561008a57600080fd5b5061403e8061009a6000396000f3fe608060405234801561001057600080fd5b506004361061030c5760003560e01c80638456cb591161019d578063a9059cbb116100e9578063dcb413c8116100a2578063de2095651161007c578063de20956514610a70578063e7ec7b3914610a8d578063f851a44014610ac5578063ff2ad8e414610acd5761030c565b8063dcb413c814610a32578063dd62ed3e14610a3a578063dd75049b14610a685761030c565b8063a9059cbb1461081d578063b0e7176614610849578063b89da6421461086f578063bcb406be146109de578063c4e1ccf2146109e6578063cffdd46c14610a0c5761030c565b8063988749d111610156578063a457c2d711610130578063a457c2d7146107bb578063a458cbe7146107e7578063a6f9dae1146107ef578063a754d48f146108155761030c565b8063988749d1146107855780639fd0506d146107ab578063a3aff2a8146107b35761030c565b80638456cb59146106da5780638d877da7146106e25780638da5cb5b146107295780638f28397014610731578063949a36521461075757806395d89b411461077d5761030c565b80633411c81c1161025c57806350a6aaf4116102155780635cfc1a51116101ef5780635cfc1a5114610669578063664dc7241461067157806370a0823114610697578063784547a7146106bd5761030c565b806350a6aaf414610633578063597636281461063b5780635c975abb146106615761030c565b80633411c81c1461058257806338a63183146105ae57806339509351146105b65780633f4ba83a146105e257806340c10f19146105ea57806342966c68146106165761030c565b806320ff430b116102c95780632c4d4d18116102a35780632c4d4d18146104f25780632cd271e7146105185780632fee80d01461053e578063313ce567146105645761030c565b806320ff430b1461046057806323b872dd146104965780632ad3ed6d146104cc5761030c565b80630628922d1461031157806306fdde031461033957806307546172146103b6578063095ea7b3146103da5780630f5a17801461041a57806318160ddd14610446575b600080fd5b6103376004803603602081101561032757600080fd5b50356001600160a01b0316610aea565b005b610341610c41565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561037b578181015183820152602001610363565b50505050905090810190601f1680156103a85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103be610ccf565b604080516001600160a01b039092168252519081900360200190f35b610406600480360360408110156103f057600080fd5b506001600160a01b038135169060200135610cde565b604080519115158252519081900360200190f35b6103376004803603604081101561043057600080fd5b506001600160a01b038135169060200135610cf4565b61044e610ef5565b60408051918252519081900360200190f35b6103376004803603606081101561047657600080fd5b506001600160a01b03813581169160208101359091169060400135610efc565b610406600480360360608110156104ac57600080fd5b506001600160a01b03813581169160208101359091169060400135611018565b610406600480360360208110156104e257600080fd5b50356001600160a01b0316611186565b6103376004803603602081101561050857600080fd5b50356001600160a01b031661119b565b6103376004803603602081101561052e57600080fd5b50356001600160a01b03166112dc565b6103376004803603602081101561055457600080fd5b50356001600160a01b03166113d1565b61056c611524565b6040805160ff9092168252519081900360200190f35b6104066004803603604081101561059857600080fd5b50803590602001356001600160a01b031661152d565b6103be61154d565b610406600480360360408110156105cc57600080fd5b506001600160a01b03813516906020013561155c565b61033761159d565b6103376004803603604081101561060057600080fd5b506001600160a01b0381351690602001356116b5565b6103376004803603602081101561062c57600080fd5b50356118c1565b6103be6119a0565b6103376004803603602081101561065157600080fd5b50356001600160a01b03166119af565b610406611af4565b61044e611b04565b6103376004803603602081101561068757600080fd5b50356001600160a01b0316611b0a565b61044e600480360360208110156106ad57600080fd5b50356001600160a01b0316611cd5565b610406600480360360208110156106d357600080fd5b5035611cf4565b610337611d61565b6106ff600480360360208110156106f857600080fd5b5035611e6d565b604080516001600160a01b0390941684526020840192909252151582820152519081900360600190f35b6103be611e9b565b6103376004803603602081101561074757600080fd5b50356001600160a01b0316611eaa565b6103376004803603602081101561076d57600080fd5b50356001600160a01b0316611fb1565b610341612077565b6103376004803603602081101561079b57600080fd5b50356001600160a01b03166120d0565b6103be612254565b61044e612263565b610406600480360360408110156107d157600080fd5b506001600160a01b038135169060200135612269565b6103be6122a5565b6103376004803603602081101561080557600080fd5b50356001600160a01b03166122b4565b6103be61240b565b6104066004803603604081101561083357600080fd5b506001600160a01b03813516906020013561241a565b6103376004803603602081101561085f57600080fd5b50356001600160a01b031661257e565b610337600480360361014081101561088657600080fd5b8101906020810181356401000000008111156108a157600080fd5b8201836020820111156108b357600080fd5b803590602001918460018302840111640100000000831117156108d557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561092857600080fd5b82018360208201111561093a57600080fd5b8035906020019184600183028401116401000000008311171561095c57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505060ff8335169350506001600160a01b0360208301358116926040810135821692506060810135821691608082013581169160a081013582169160c082013581169160e00135166126c3565b6103be612aa9565b610337600480360360208110156109fc57600080fd5b50356001600160a01b0316612ab8565b61033760048036036020811015610a2257600080fd5b50356001600160a01b0316612c80565b6103be612dc5565b61044e60048036036040811015610a5057600080fd5b506001600160a01b0381358116916020013516612dd9565b6103be612e04565b61033760048036036020811015610a8657600080fd5b5035612e13565b61033760048036036060811015610aa357600080fd5b506001600160a01b038135811691602081013582169160409091013516613002565b6103be6130fc565b61033760048036036020811015610ae357600080fd5b503561310b565b603e546001600160a01b03163314610b4c5760408051600160e51b62461bcd02815260206004820152601b60248201527f7468652073656e646572206973206e6f7420746865206f776e65720000000000604482015290519081900360640190fd5b603854600160a01b900460ff1615610b9c5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b806001600160a01b038116610be95760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b603d80546001600160a01b038481166001600160a01b03198316179283905560405191811692339291169083907f4a85a5117c27071f301f0a758ea45cef77712d3d8358f0883b21c46ee1693d6790600090a4505050565b603f805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610cc75780601f10610c9c57610100808354040283529160200191610cc7565b820191906000526020600020905b815481529060010190602001808311610caa57829003601f168201915b505050505081565b603c546001600160a01b031681565b6000610ceb338484613256565b50600192915050565b603b546001600160a01b03163314610d445760408051600160e51b62461bcd02815260206004820152601b6024820152600080516020613d8f833981519152604482015290519081900360640190fd5b603854600160a01b900460ff1615610d945760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b816001600160a01b038116610de15760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b8160011480610df05750816002145b610e445760408051600160e51b62461bcd02815260206004820152601c60248201527f7468657265206973206f6e6c792074776f206f70657261746f72732e00000000604482015290519081900360640190fd5b6043546001600160a01b03166001831415610e7957604380546001600160a01b0319166001600160a01b038616179055610e9a565b50604480546001600160a01b038581166001600160a01b0319831617909255165b336001600160a01b0316846001600160a01b0316826001600160a01b03167f76a85caa4f2fde1c9229806ce70becd43814326e298b3e24520b4e48a301ec4b866040518082815260200191505060405180910390a450505050565b6035545b90565b603854600160a01b900460ff1615610f4c5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b6042546001600160a01b03163314610fae5760408051600160e51b62461bcd02815260206004820152601d60248201527f7468652073656e646572206973206e6f74207468652072657363756572000000604482015290519081900360640190fd5b610fc86001600160a01b038416838363ffffffff61334816565b816001600160a01b0316836001600160a01b03167fe01920728668d89f092ef9cb92036bad90964bb622eec508d2c3ffe1d582efb2836040518082815260200191505060405180910390a3505050565b603854600090600160a01b900460ff161561106b5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b6001600160a01b0384166000908152603a6020526040902054849060ff16156110cc5760408051600160e51b62461bcd02815260206004820152601a6024820152600080516020613df1833981519152604482015290519081900360640190fd5b6001600160a01b0384166000908152603a6020526040902054849060ff161561112d5760408051600160e51b62461bcd02815260206004820152601a6024820152600080516020613df1833981519152604482015290519081900360640190fd5b838060001061117057604051600160e51b62461bcd028152600401808060200182810382526023815260200180613eee6023913960400191505060405180910390fd5b61117b8787876133a2565b979650505050505050565b603a6020526000908152604090205460ff1681565b603d546001600160a01b031633146111e757604051600160e51b62461bcd028152600401808060200182810382526021815260200180613e9f6021913960400191505060405180910390fd5b603854600160a01b900460ff16156112375760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b806001600160a01b0381166112845760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b603c80546001600160a01b038481166001600160a01b03198316179283905560405191811692339291169083907f6970e71b2bda096f4eb3290c554af7a888cca0ef8b95da09c55b23c6bb30e38190600090a4505050565b603b546001600160a01b0316331461132c5760408051600160e51b62461bcd02815260206004820152601b6024820152600080516020613d8f833981519152604482015290519081900360640190fd5b806001600160a01b0381166113795760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b603880546001600160a01b038481166001600160a01b03198316179283905560405191811692339291169083907f8b1ee37fa817a066fe12c7c9bf109c0c9f8f03ef0a5cfe0c03d5196e8c2e465790600090a4505050565b603b546001600160a01b031633146114215760408051600160e51b62461bcd02815260206004820152601b6024820152600080516020613d8f833981519152604482015290519081900360640190fd5b603854600160a01b900460ff16156114715760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b806001600160a01b0381166114be5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b604180546001600160a01b03848116610100908102610100600160a81b0319841617938490556040519281900482169333939190049091169083907fd8d09cf07cabd1c0519931ab387ce1b6e580584a26fb2787b8ed7f446c34603f90600090a4505050565b60415460ff1681565b604660209081526000928352604080842090915290825290205460ff1681565b6042546001600160a01b031681565b3360008181526034602090815260408083206001600160a01b03871684529091528120549091610ceb918590611598908663ffffffff6134ae16565b613256565b6038546001600160a01b031633146115ff5760408051600160e51b62461bcd02815260206004820152601c60248201527f7468652073656e646572206973206e6f74207468652070617573657200000000604482015290519081900360640190fd5b603854600160a01b900460ff166116605760408051600160e51b62461bcd02815260206004820152601d60248201527f74686973206973206e6f7420612070617573656420636f6e7472616374000000604482015290519081900360640190fd5b60388054600160a01b60ff0219169081905560408051600160a01b90920460ff16151582525133917f5a9dfee0981174e5203ccf9368a8cabb254f9dea6ca43f96b4bbd10c69415d8a919081900360200190a2565b603c546001600160a01b031633146117175760408051600160e51b62461bcd02815260206004820152601c60248201527f7468652073656e646572206973206e6f7420746865206d696e74657200000000604482015290519081900360640190fd5b603854600160a01b900460ff16156117675760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b61177f81611773610ef5565b9063ffffffff6134ae16565b6036548111156117c357604051600160e51b62461bcd028152600401808060200182810382526021815260200180613ff26021913960400191505060405180910390fd5b6001600160a01b0383166000908152603a6020526040902054839060ff16156118245760408051600160e51b62461bcd02815260206004820152601a6024820152600080516020613df1833981519152604482015290519081900360640190fd5b828060001061186757604051600160e51b62461bcd028152600401808060200182810382526023815260200180613eee6023913960400191505060405180910390fd5b6001600160a01b0385166118af57604051600160e51b62461bcd028152600401808060200182810382526024815260200180613f576024913960400191505060405180910390fd5b6118b98585613512565b505050505050565b336000818152603a602052604090205460ff16156119175760408051600160e51b62461bcd02815260206004820152601a6024820152600080516020613df1833981519152604482015290519081900360640190fd5b818060001061195a57604051600160e51b62461bcd028152600401808060200182810382526023815260200180613eee6023913960400191505060405180910390fd5b61196433846135c6565b604080518481529051339182917fdbdf9b8e4b75e75b162d151ec8fc7f0561cabab5fcccfa2600be62223e4300c49181900360200190a3505050565b6037546001600160a01b031681565b603b546001600160a01b031633146119ff5760408051600160e51b62461bcd02815260206004820152601b6024820152600080516020613d8f833981519152604482015290519081900360640190fd5b603854600160a01b900460ff1615611a4f5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b806001600160a01b038116611a9c5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b604280546001600160a01b038481166001600160a01b03198316179283905560405191811692339291169083907f4e26e78832abd61f25bef51e06a1c7575a525edb4d215e56d6c4fbbe363cc03390600090a4505050565b603854600160a01b900460ff1681565b60365481565b6039546001600160a01b03163314611b6c5760408051600160e51b62461bcd02815260206004820181905260248201527f7468652073656e646572206973206e6f74207468652070726f68696269746572604482015290519081900360640190fd5b603854600160a01b900460ff1615611bbc5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b806001600160a01b038116611c095760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b6001600160a01b0382166000908152603a6020526040902054829060ff16611c7b5760408051600160e51b62461bcd02815260206004820152601e60248201527f74686973206163636f756e74206973206e6f742070726f686962697465640000604482015290519081900360640190fd5b6001600160a01b0383166000818152603a60209081526040808320805460ff191690558051928352513393927fab0ab2fa6ff81b10c5afab4726a665d4379f2d0acaaafbe4c4d737ade05a8e4692908290030190a3505050565b6001600160a01b0381166000908152603360205260409020545b919050565b60008181526046602090815260408083206043546001600160a01b0316845290915281205460ff168015611d4c575060008281526046602090815260408083206044546001600160a01b0316845290915290205460ff165b15611d5957506001611cef565b506000919050565b6038546001600160a01b03163314611dc35760408051600160e51b62461bcd02815260206004820152601c60248201527f7468652073656e646572206973206e6f74207468652070617573657200000000604482015290519081900360640190fd5b603854600160a01b900460ff1615611e135760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b60388054600160a01b60ff021916600160a01b90811791829055604080519190920460ff1615158152905133917f5a9dfee0981174e5203ccf9368a8cabb254f9dea6ca43f96b4bbd10c69415d8a919081900360200190a2565b6047602052600090815260409020805460018201546002909201546001600160a01b03909116919060ff1683565b603e546001600160a01b031681565b603e546001600160a01b03163314611f0c5760408051600160e51b62461bcd02815260206004820152601b60248201527f7468652073656e646572206973206e6f7420746865206f776e65720000000000604482015290519081900360640190fd5b806001600160a01b038116611f595760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b603b80546001600160a01b038481166001600160a01b03198316179283905560405191811692339291169083907f4eb572e99196bed0270fbd5b17a948e19c3f50a97838cb0d2a75a823ff8e6c5090600090a4505050565b806001600160a01b038116611ffe5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b60415461010090046001600160a01b03161561204e57604051600160e51b62461bcd028152600401808060200182810382526024815260200180613e116024913960400191505060405180910390fd5b50604180546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b604080548151602060026001841615610100026000190190931692909204601f81018390048302820183018452808252909291830182828015610cc75780601f10610c9c57610100808354040283529160200191610cc7565b603854600160a01b900460ff16156121205760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b60415461010090046001600160a01b031633146121875760408051600160e51b62461bcd02815260206004820152601b60248201527f7468652073656e646572206973206e6f74207468652077697065720000000000604482015290519081900360640190fd5b6001600160a01b0381166000908152603a6020526040902054819060ff166121f95760408051600160e51b62461bcd02815260206004820152601e60248201527f74686973206163636f756e74206973206e6f742070726f686962697465640000604482015290519081900360640190fd5b600061220483611cd5565b905061221083826135c6565b6040805182815290516001600160a01b038516917f2d2c7da251295f4d722a8ddaf337627952c957ce21b2757c852e47fe81b3a2af919081900360200190a2505050565b6038546001600160a01b031681565b60455481565b3360008181526034602090815260408083206001600160a01b03871684529091528120549091610ceb918590611598908663ffffffff6136a416565b6043546001600160a01b031681565b603e546001600160a01b031633146123165760408051600160e51b62461bcd02815260206004820152601b60248201527f7468652073656e646572206973206e6f7420746865206f776e65720000000000604482015290519081900360640190fd5b603854600160a01b900460ff16156123665760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b806001600160a01b0381166123b35760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b603e80546001600160a01b038481166001600160a01b03198316179283905560405191811692339291169083907f381c0d11398486654573703c51ee8210ce9461764d133f9f0e53b6a53970533190600090a4505050565b603d546001600160a01b031681565b603854600090600160a01b900460ff161561246d5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b336000818152603a602052604090205460ff16156124c35760408051600160e51b62461bcd02815260206004820152601a6024820152600080516020613df1833981519152604482015290519081900360640190fd5b6001600160a01b0384166000908152603a6020526040902054849060ff16156125245760408051600160e51b62461bcd02815260206004820152601a6024820152600080516020613df1833981519152604482015290519081900360640190fd5b838060001061256757604051600160e51b62461bcd028152600401808060200182810382526023815260200180613eee6023913960400191505060405180910390fd5b612572338787613704565b50600195945050505050565b603b546001600160a01b031633146125ce5760408051600160e51b62461bcd02815260206004820152601b6024820152600080516020613d8f833981519152604482015290519081900360640190fd5b603854600160a01b900460ff161561261e5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b806001600160a01b03811661266b5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b603780546001600160a01b038481166001600160a01b03198316179283905560405191811692339291169083907fc4d5c17597bd0c5594a7545f36de213c6a58e2f235b165887331fe368618197090600090a4505050565b600054610100900460ff16806126dc57506126dc61384e565b806126ea575060005460ff16155b61272857604051600160e51b62461bcd02815260040180806020018281038252602e815260200180613ec0602e913960400191505060405180910390fd5b600054610100900460ff16158015612753576000805460ff1961ff0019909116610100171660011790555b6001600160a01b0388166127b15760408051600160e51b62461bcd02815260206004820152601a60248201527f5f6f776e657220697320746865207a65726f2061646472657373000000000000604482015290519081900360640190fd5b6001600160a01b03871661280f5760408051600160e51b62461bcd02815260206004820152601a60248201527f5f61646d696e20697320746865207a65726f2061646472657373000000000000604482015290519081900360640190fd5b6001600160a01b03861661286d5760408051600160e51b62461bcd02815260206004820152601b60248201527f5f63617070657220697320746865207a65726f20616464726573730000000000604482015290519081900360640190fd5b6001600160a01b0385166128cb5760408051600160e51b62461bcd02815260206004820152601f60248201527f5f70726f6869626974657220697320746865207a65726f206164647265737300604482015290519081900360640190fd5b6001600160a01b0384166129295760408051600160e51b62461bcd02815260206004820152601b60248201527f5f70617573657220697320746865207a65726f20616464726573730000000000604482015290519081900360640190fd5b6001600160a01b0383166129875760408051600160e51b62461bcd02815260206004820181905260248201527f5f6d696e74657241646d696e20697320746865207a65726f2061646472657373604482015290519081900360640190fd5b6001600160a01b0382166129e55760408051600160e51b62461bcd02815260206004820152601b60248201527f5f6d696e74657220697320746865207a65726f20616464726573730000000000604482015290519081900360640190fd5b8a516129f890603f9060208e0190613cd3565b508951612a0c9060409060208d0190613cd3565b506041805460ff191660ff8b16179055603e80546001600160a01b03199081166001600160a01b038b811691909117909255603b805482168a8416179055603780548216898416179055603980548216888416179055603880548216878416179055603d80548216868416179055603c80549091169184169190911790558015612a9c576000805461ff00191690555b5050505050505050505050565b6044546001600160a01b031681565b6039546001600160a01b03163314612b1a5760408051600160e51b62461bcd02815260206004820181905260248201527f7468652073656e646572206973206e6f74207468652070726f68696269746572604482015290519081900360640190fd5b603854600160a01b900460ff1615612b6a5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b806001600160a01b038116612bb75760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b6001600160a01b0382166000908152603a6020526040902054829060ff1615612c185760408051600160e51b62461bcd02815260206004820152601a6024820152600080516020613df1833981519152604482015290519081900360640190fd5b6001600160a01b0383166000818152603a6020908152604091829020805460ff191660011790819055825160ff919091161515815291513393927fab0ab2fa6ff81b10c5afab4726a665d4379f2d0acaaafbe4c4d737ade05a8e4692908290030190a3505050565b603b546001600160a01b03163314612cd05760408051600160e51b62461bcd02815260206004820152601b6024820152600080516020613d8f833981519152604482015290519081900360640190fd5b603854600160a01b900460ff1615612d205760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b806001600160a01b038116612d6d5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b603980546001600160a01b038481166001600160a01b03198316179283905560405191811692339291169083907f85ae865187b1d7c0069f5fab638cbfcb8f3f9d23bc090e1084abc0dc42def0d290600090a4505050565b60415461010090046001600160a01b031681565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b6039546001600160a01b031681565b6043546001600160a01b0316331480612e3657506044546001600160a01b031633145b612e8a5760408051600160e51b62461bcd02815260206004820152601e60248201527f7468652073656e646572206973206e6f7420746865206f70657261746f720000604482015290519081900360640190fd5b603854600160a01b900460ff1615612eda5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b60008181526047602052604090205481906001600160a01b0316612f485760408051600160e51b62461bcd02815260206004820181905260248201527f6d696e74207472616e73616374696f6e20646f6573206e6f742065786973742e604482015290519081900360640190fd5b60008281526046602090815260408083203380855292529091205483919060ff1615612fa857604051600160e51b62461bcd028152600401808060200182810382526024815260200180613e5b6024913960400191505060405180910390fd5b6000848152604660209081526040808320338085529252808320805460ff191660011790555186927f4a504a94899432a9846e1aa406dceb1bcfd538bb839071d49d1e5e23f5be30ef91a3612ffc84613854565b50505050565b826001600160a01b03811661304f5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b826001600160a01b03811661309c5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b826001600160a01b0381166130e95760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b6130f2866138f5565b6118b98585613962565b603b546001600160a01b031681565b6037546001600160a01b0316331461316d5760408051600160e51b62461bcd02815260206004820152601c60248201527f7468652073656e646572206973206e6f74207468652063617070657200000000604482015290519081900360640190fd5b603854600160a01b900460ff16156131bd5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b808060001061320057604051600160e51b62461bcd028152600401808060200182810382526023815260200180613eee6023913960400191505060405180910390fd5b81613209610ef5565b111561324957604051600160e51b62461bcd028152600401808060200182810382526029815260200180613f9f6029913960400191505060405180910390fd5b61325282613990565b5050565b6001600160a01b03831661329e57604051600160e51b62461bcd028152600401808060200182810382526024815260200180613f7b6024913960400191505060405180910390fd5b6001600160a01b0382166132e657604051600160e51b62461bcd028152600401808060200182810382526022815260200180613daf6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260346020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0316600160e01b63a9059cbb0217905261339d9084906139c5565b505050565b603854600090600160a01b900460ff16156133f55760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b6001600160a01b0384166000908152603a6020526040902054849060ff16156134565760408051600160e51b62461bcd02815260206004820152601a6024820152600080516020613df1833981519152604482015290519081900360640190fd5b828060001061349957604051600160e51b62461bcd028152600401808060200182810382526023815260200180613eee6023913960400191505060405180910390fd5b6134a4868686613b86565b9695505050505050565b60008282018381101561350b5760408051600160e51b62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60458054604080516060810182526001600160a01b03868116808352602080840188815260008587018181528882526047845290879020955186546001600160a01b03191695169490941785555160018086019190915592516002909401805460ff19169415159490941790935585549091019094558151858152915192933393909285927fd80ca778e72251008a8cce5b0a42bebe9867d5d59ac5d5e7149f07c48e00c78392918290030190a492915050565b6001600160a01b03821661360e57604051600160e51b62461bcd028152600401808060200182810382526021815260200180613f116021913960400191505060405180910390fd5b603554613621908263ffffffff6136a416565b6035556001600160a01b03821660009081526033602052604090205461364d908263ffffffff6136a416565b6001600160a01b0383166000818152603360209081526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b6000828211156136fe5760408051600160e51b62461bcd02815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6001600160a01b03831661374c57604051600160e51b62461bcd028152600401808060200182810382526025815260200180613f326025913960400191505060405180910390fd5b6001600160a01b03821661379457604051600160e51b62461bcd028152600401808060200182810382526023815260200180613d6c6023913960400191505060405180910390fd5b6001600160a01b0383166000908152603360205260409020546137bd908263ffffffff6136a416565b6001600160a01b0380851660009081526033602052604080822093909355908416815220546137f2908263ffffffff6134ae16565b6001600160a01b0380841660008181526033602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b303b1590565b61385d81611cf4565b156138f257600081815260476020526040902060028101805460ff19166001908117909155815491015461389a916001600160a01b031690613bd8565b60008181526047602090815260409182902080546001909101548351908152925133936001600160a01b03909216927fbcad3d7d3dfccb90d49c6063bf70f828901fefc88937d90af74e58e6e55bc39d928290030190a35b50565b6042546001600160a01b03161561394057604051600160e51b62461bcd028152600401808060200182810382526026815260200180613e356026913960400191505060405180910390fd5b604280546001600160a01b0319166001600160a01b0392909216919091179055565b604380546001600160a01b039384166001600160a01b03199182161790915560448054929093169116179055565b6036819055604051339082907f3bb5a3ed42af6c70969e54bbe40e4bba09c07f42c120cbec4ac0ee7eb0057fc990600090a350565b6139d7826001600160a01b0316613ccd565b613a2b5760408051600160e51b62461bcd02815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310613a695780518252601f199092019160209182019101613a4a565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613acb576040519150601f19603f3d011682016040523d82523d6000602084013e613ad0565b606091505b509150915081613b2a5760408051600160e51b62461bcd02815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115612ffc57808060200190516020811015613b4657600080fd5b5051612ffc57604051600160e51b62461bcd02815260040180806020018281038252602a815260200180613fc8602a913960400191505060405180910390fd5b6000613b93848484613704565b6001600160a01b038416600090815260346020908152604080832033808552925290912054613bce918691611598908663ffffffff6136a416565b5060019392505050565b6001600160a01b038216613c365760408051600160e51b62461bcd02815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b603554613c49908263ffffffff6134ae16565b6035556001600160a01b038216600090815260336020526040902054613c75908263ffffffff6134ae16565b6001600160a01b03831660008181526033602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b3b151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10613d1457805160ff1916838001178555613d41565b82800160010185558215613d41579182015b82811115613d41578251825591602001919060010190613d26565b50613d4d929150613d51565b5090565b610ef991905b80821115613d4d5760008155600101613d5756fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573737468652073656e646572206973206e6f74207468652061646d696e000000000045524332303a20617070726f766520746f20746865207a65726f206164647265737374686973206163636f756e7420697320746865207a65726f206164647265737374686973206163636f756e742069732070726f686962697465640000000000007468652077697065722063616e206f6e6c7920626520696e69746961746564206f6e636574686520726573637565722063616e206f6e6c7920626520696e69746961746564206f6e63656d696e74207472616e73616374696f6e20686164206265656e20636f6e6669726d65642e7468697320697320612070617573656420636f6e7472616374000000000000007468652073656e646572206973206e6f7420746865206d696e74657241646d696e436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a65647468697320616d6f756e74206973206e6f742061206e61747572616c206e756d62657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f20616464726573736d696e742064657374696e6174696f6e20697320746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573737468697320616d6f756e74206973206c657373207468616e2074686520746f74616c79537570706c795361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565647468697320616d6f756e74206973206d6f7265207468616e206361706163697479a165627a7a7230582095a9df5af465acbdf7a47245cbd83f9b27d04b7d1a86003ab1c1a6193cfdd2650029
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061030c5760003560e01c80638456cb591161019d578063a9059cbb116100e9578063dcb413c8116100a2578063de2095651161007c578063de20956514610a70578063e7ec7b3914610a8d578063f851a44014610ac5578063ff2ad8e414610acd5761030c565b8063dcb413c814610a32578063dd62ed3e14610a3a578063dd75049b14610a685761030c565b8063a9059cbb1461081d578063b0e7176614610849578063b89da6421461086f578063bcb406be146109de578063c4e1ccf2146109e6578063cffdd46c14610a0c5761030c565b8063988749d111610156578063a457c2d711610130578063a457c2d7146107bb578063a458cbe7146107e7578063a6f9dae1146107ef578063a754d48f146108155761030c565b8063988749d1146107855780639fd0506d146107ab578063a3aff2a8146107b35761030c565b80638456cb59146106da5780638d877da7146106e25780638da5cb5b146107295780638f28397014610731578063949a36521461075757806395d89b411461077d5761030c565b80633411c81c1161025c57806350a6aaf4116102155780635cfc1a51116101ef5780635cfc1a5114610669578063664dc7241461067157806370a0823114610697578063784547a7146106bd5761030c565b806350a6aaf414610633578063597636281461063b5780635c975abb146106615761030c565b80633411c81c1461058257806338a63183146105ae57806339509351146105b65780633f4ba83a146105e257806340c10f19146105ea57806342966c68146106165761030c565b806320ff430b116102c95780632c4d4d18116102a35780632c4d4d18146104f25780632cd271e7146105185780632fee80d01461053e578063313ce567146105645761030c565b806320ff430b1461046057806323b872dd146104965780632ad3ed6d146104cc5761030c565b80630628922d1461031157806306fdde031461033957806307546172146103b6578063095ea7b3146103da5780630f5a17801461041a57806318160ddd14610446575b600080fd5b6103376004803603602081101561032757600080fd5b50356001600160a01b0316610aea565b005b610341610c41565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561037b578181015183820152602001610363565b50505050905090810190601f1680156103a85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103be610ccf565b604080516001600160a01b039092168252519081900360200190f35b610406600480360360408110156103f057600080fd5b506001600160a01b038135169060200135610cde565b604080519115158252519081900360200190f35b6103376004803603604081101561043057600080fd5b506001600160a01b038135169060200135610cf4565b61044e610ef5565b60408051918252519081900360200190f35b6103376004803603606081101561047657600080fd5b506001600160a01b03813581169160208101359091169060400135610efc565b610406600480360360608110156104ac57600080fd5b506001600160a01b03813581169160208101359091169060400135611018565b610406600480360360208110156104e257600080fd5b50356001600160a01b0316611186565b6103376004803603602081101561050857600080fd5b50356001600160a01b031661119b565b6103376004803603602081101561052e57600080fd5b50356001600160a01b03166112dc565b6103376004803603602081101561055457600080fd5b50356001600160a01b03166113d1565b61056c611524565b6040805160ff9092168252519081900360200190f35b6104066004803603604081101561059857600080fd5b50803590602001356001600160a01b031661152d565b6103be61154d565b610406600480360360408110156105cc57600080fd5b506001600160a01b03813516906020013561155c565b61033761159d565b6103376004803603604081101561060057600080fd5b506001600160a01b0381351690602001356116b5565b6103376004803603602081101561062c57600080fd5b50356118c1565b6103be6119a0565b6103376004803603602081101561065157600080fd5b50356001600160a01b03166119af565b610406611af4565b61044e611b04565b6103376004803603602081101561068757600080fd5b50356001600160a01b0316611b0a565b61044e600480360360208110156106ad57600080fd5b50356001600160a01b0316611cd5565b610406600480360360208110156106d357600080fd5b5035611cf4565b610337611d61565b6106ff600480360360208110156106f857600080fd5b5035611e6d565b604080516001600160a01b0390941684526020840192909252151582820152519081900360600190f35b6103be611e9b565b6103376004803603602081101561074757600080fd5b50356001600160a01b0316611eaa565b6103376004803603602081101561076d57600080fd5b50356001600160a01b0316611fb1565b610341612077565b6103376004803603602081101561079b57600080fd5b50356001600160a01b03166120d0565b6103be612254565b61044e612263565b610406600480360360408110156107d157600080fd5b506001600160a01b038135169060200135612269565b6103be6122a5565b6103376004803603602081101561080557600080fd5b50356001600160a01b03166122b4565b6103be61240b565b6104066004803603604081101561083357600080fd5b506001600160a01b03813516906020013561241a565b6103376004803603602081101561085f57600080fd5b50356001600160a01b031661257e565b610337600480360361014081101561088657600080fd5b8101906020810181356401000000008111156108a157600080fd5b8201836020820111156108b357600080fd5b803590602001918460018302840111640100000000831117156108d557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561092857600080fd5b82018360208201111561093a57600080fd5b8035906020019184600183028401116401000000008311171561095c57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505060ff8335169350506001600160a01b0360208301358116926040810135821692506060810135821691608082013581169160a081013582169160c082013581169160e00135166126c3565b6103be612aa9565b610337600480360360208110156109fc57600080fd5b50356001600160a01b0316612ab8565b61033760048036036020811015610a2257600080fd5b50356001600160a01b0316612c80565b6103be612dc5565b61044e60048036036040811015610a5057600080fd5b506001600160a01b0381358116916020013516612dd9565b6103be612e04565b61033760048036036020811015610a8657600080fd5b5035612e13565b61033760048036036060811015610aa357600080fd5b506001600160a01b038135811691602081013582169160409091013516613002565b6103be6130fc565b61033760048036036020811015610ae357600080fd5b503561310b565b603e546001600160a01b03163314610b4c5760408051600160e51b62461bcd02815260206004820152601b60248201527f7468652073656e646572206973206e6f7420746865206f776e65720000000000604482015290519081900360640190fd5b603854600160a01b900460ff1615610b9c5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b806001600160a01b038116610be95760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b603d80546001600160a01b038481166001600160a01b03198316179283905560405191811692339291169083907f4a85a5117c27071f301f0a758ea45cef77712d3d8358f0883b21c46ee1693d6790600090a4505050565b603f805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610cc75780601f10610c9c57610100808354040283529160200191610cc7565b820191906000526020600020905b815481529060010190602001808311610caa57829003601f168201915b505050505081565b603c546001600160a01b031681565b6000610ceb338484613256565b50600192915050565b603b546001600160a01b03163314610d445760408051600160e51b62461bcd02815260206004820152601b6024820152600080516020613d8f833981519152604482015290519081900360640190fd5b603854600160a01b900460ff1615610d945760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b816001600160a01b038116610de15760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b8160011480610df05750816002145b610e445760408051600160e51b62461bcd02815260206004820152601c60248201527f7468657265206973206f6e6c792074776f206f70657261746f72732e00000000604482015290519081900360640190fd5b6043546001600160a01b03166001831415610e7957604380546001600160a01b0319166001600160a01b038616179055610e9a565b50604480546001600160a01b038581166001600160a01b0319831617909255165b336001600160a01b0316846001600160a01b0316826001600160a01b03167f76a85caa4f2fde1c9229806ce70becd43814326e298b3e24520b4e48a301ec4b866040518082815260200191505060405180910390a450505050565b6035545b90565b603854600160a01b900460ff1615610f4c5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b6042546001600160a01b03163314610fae5760408051600160e51b62461bcd02815260206004820152601d60248201527f7468652073656e646572206973206e6f74207468652072657363756572000000604482015290519081900360640190fd5b610fc86001600160a01b038416838363ffffffff61334816565b816001600160a01b0316836001600160a01b03167fe01920728668d89f092ef9cb92036bad90964bb622eec508d2c3ffe1d582efb2836040518082815260200191505060405180910390a3505050565b603854600090600160a01b900460ff161561106b5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b6001600160a01b0384166000908152603a6020526040902054849060ff16156110cc5760408051600160e51b62461bcd02815260206004820152601a6024820152600080516020613df1833981519152604482015290519081900360640190fd5b6001600160a01b0384166000908152603a6020526040902054849060ff161561112d5760408051600160e51b62461bcd02815260206004820152601a6024820152600080516020613df1833981519152604482015290519081900360640190fd5b838060001061117057604051600160e51b62461bcd028152600401808060200182810382526023815260200180613eee6023913960400191505060405180910390fd5b61117b8787876133a2565b979650505050505050565b603a6020526000908152604090205460ff1681565b603d546001600160a01b031633146111e757604051600160e51b62461bcd028152600401808060200182810382526021815260200180613e9f6021913960400191505060405180910390fd5b603854600160a01b900460ff16156112375760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b806001600160a01b0381166112845760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b603c80546001600160a01b038481166001600160a01b03198316179283905560405191811692339291169083907f6970e71b2bda096f4eb3290c554af7a888cca0ef8b95da09c55b23c6bb30e38190600090a4505050565b603b546001600160a01b0316331461132c5760408051600160e51b62461bcd02815260206004820152601b6024820152600080516020613d8f833981519152604482015290519081900360640190fd5b806001600160a01b0381166113795760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b603880546001600160a01b038481166001600160a01b03198316179283905560405191811692339291169083907f8b1ee37fa817a066fe12c7c9bf109c0c9f8f03ef0a5cfe0c03d5196e8c2e465790600090a4505050565b603b546001600160a01b031633146114215760408051600160e51b62461bcd02815260206004820152601b6024820152600080516020613d8f833981519152604482015290519081900360640190fd5b603854600160a01b900460ff16156114715760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b806001600160a01b0381166114be5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b604180546001600160a01b03848116610100908102610100600160a81b0319841617938490556040519281900482169333939190049091169083907fd8d09cf07cabd1c0519931ab387ce1b6e580584a26fb2787b8ed7f446c34603f90600090a4505050565b60415460ff1681565b604660209081526000928352604080842090915290825290205460ff1681565b6042546001600160a01b031681565b3360008181526034602090815260408083206001600160a01b03871684529091528120549091610ceb918590611598908663ffffffff6134ae16565b613256565b6038546001600160a01b031633146115ff5760408051600160e51b62461bcd02815260206004820152601c60248201527f7468652073656e646572206973206e6f74207468652070617573657200000000604482015290519081900360640190fd5b603854600160a01b900460ff166116605760408051600160e51b62461bcd02815260206004820152601d60248201527f74686973206973206e6f7420612070617573656420636f6e7472616374000000604482015290519081900360640190fd5b60388054600160a01b60ff0219169081905560408051600160a01b90920460ff16151582525133917f5a9dfee0981174e5203ccf9368a8cabb254f9dea6ca43f96b4bbd10c69415d8a919081900360200190a2565b603c546001600160a01b031633146117175760408051600160e51b62461bcd02815260206004820152601c60248201527f7468652073656e646572206973206e6f7420746865206d696e74657200000000604482015290519081900360640190fd5b603854600160a01b900460ff16156117675760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b61177f81611773610ef5565b9063ffffffff6134ae16565b6036548111156117c357604051600160e51b62461bcd028152600401808060200182810382526021815260200180613ff26021913960400191505060405180910390fd5b6001600160a01b0383166000908152603a6020526040902054839060ff16156118245760408051600160e51b62461bcd02815260206004820152601a6024820152600080516020613df1833981519152604482015290519081900360640190fd5b828060001061186757604051600160e51b62461bcd028152600401808060200182810382526023815260200180613eee6023913960400191505060405180910390fd5b6001600160a01b0385166118af57604051600160e51b62461bcd028152600401808060200182810382526024815260200180613f576024913960400191505060405180910390fd5b6118b98585613512565b505050505050565b336000818152603a602052604090205460ff16156119175760408051600160e51b62461bcd02815260206004820152601a6024820152600080516020613df1833981519152604482015290519081900360640190fd5b818060001061195a57604051600160e51b62461bcd028152600401808060200182810382526023815260200180613eee6023913960400191505060405180910390fd5b61196433846135c6565b604080518481529051339182917fdbdf9b8e4b75e75b162d151ec8fc7f0561cabab5fcccfa2600be62223e4300c49181900360200190a3505050565b6037546001600160a01b031681565b603b546001600160a01b031633146119ff5760408051600160e51b62461bcd02815260206004820152601b6024820152600080516020613d8f833981519152604482015290519081900360640190fd5b603854600160a01b900460ff1615611a4f5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b806001600160a01b038116611a9c5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b604280546001600160a01b038481166001600160a01b03198316179283905560405191811692339291169083907f4e26e78832abd61f25bef51e06a1c7575a525edb4d215e56d6c4fbbe363cc03390600090a4505050565b603854600160a01b900460ff1681565b60365481565b6039546001600160a01b03163314611b6c5760408051600160e51b62461bcd02815260206004820181905260248201527f7468652073656e646572206973206e6f74207468652070726f68696269746572604482015290519081900360640190fd5b603854600160a01b900460ff1615611bbc5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b806001600160a01b038116611c095760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b6001600160a01b0382166000908152603a6020526040902054829060ff16611c7b5760408051600160e51b62461bcd02815260206004820152601e60248201527f74686973206163636f756e74206973206e6f742070726f686962697465640000604482015290519081900360640190fd5b6001600160a01b0383166000818152603a60209081526040808320805460ff191690558051928352513393927fab0ab2fa6ff81b10c5afab4726a665d4379f2d0acaaafbe4c4d737ade05a8e4692908290030190a3505050565b6001600160a01b0381166000908152603360205260409020545b919050565b60008181526046602090815260408083206043546001600160a01b0316845290915281205460ff168015611d4c575060008281526046602090815260408083206044546001600160a01b0316845290915290205460ff165b15611d5957506001611cef565b506000919050565b6038546001600160a01b03163314611dc35760408051600160e51b62461bcd02815260206004820152601c60248201527f7468652073656e646572206973206e6f74207468652070617573657200000000604482015290519081900360640190fd5b603854600160a01b900460ff1615611e135760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b60388054600160a01b60ff021916600160a01b90811791829055604080519190920460ff1615158152905133917f5a9dfee0981174e5203ccf9368a8cabb254f9dea6ca43f96b4bbd10c69415d8a919081900360200190a2565b6047602052600090815260409020805460018201546002909201546001600160a01b03909116919060ff1683565b603e546001600160a01b031681565b603e546001600160a01b03163314611f0c5760408051600160e51b62461bcd02815260206004820152601b60248201527f7468652073656e646572206973206e6f7420746865206f776e65720000000000604482015290519081900360640190fd5b806001600160a01b038116611f595760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b603b80546001600160a01b038481166001600160a01b03198316179283905560405191811692339291169083907f4eb572e99196bed0270fbd5b17a948e19c3f50a97838cb0d2a75a823ff8e6c5090600090a4505050565b806001600160a01b038116611ffe5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b60415461010090046001600160a01b03161561204e57604051600160e51b62461bcd028152600401808060200182810382526024815260200180613e116024913960400191505060405180910390fd5b50604180546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b604080548151602060026001841615610100026000190190931692909204601f81018390048302820183018452808252909291830182828015610cc75780601f10610c9c57610100808354040283529160200191610cc7565b603854600160a01b900460ff16156121205760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b60415461010090046001600160a01b031633146121875760408051600160e51b62461bcd02815260206004820152601b60248201527f7468652073656e646572206973206e6f74207468652077697065720000000000604482015290519081900360640190fd5b6001600160a01b0381166000908152603a6020526040902054819060ff166121f95760408051600160e51b62461bcd02815260206004820152601e60248201527f74686973206163636f756e74206973206e6f742070726f686962697465640000604482015290519081900360640190fd5b600061220483611cd5565b905061221083826135c6565b6040805182815290516001600160a01b038516917f2d2c7da251295f4d722a8ddaf337627952c957ce21b2757c852e47fe81b3a2af919081900360200190a2505050565b6038546001600160a01b031681565b60455481565b3360008181526034602090815260408083206001600160a01b03871684529091528120549091610ceb918590611598908663ffffffff6136a416565b6043546001600160a01b031681565b603e546001600160a01b031633146123165760408051600160e51b62461bcd02815260206004820152601b60248201527f7468652073656e646572206973206e6f7420746865206f776e65720000000000604482015290519081900360640190fd5b603854600160a01b900460ff16156123665760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b806001600160a01b0381166123b35760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b603e80546001600160a01b038481166001600160a01b03198316179283905560405191811692339291169083907f381c0d11398486654573703c51ee8210ce9461764d133f9f0e53b6a53970533190600090a4505050565b603d546001600160a01b031681565b603854600090600160a01b900460ff161561246d5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b336000818152603a602052604090205460ff16156124c35760408051600160e51b62461bcd02815260206004820152601a6024820152600080516020613df1833981519152604482015290519081900360640190fd5b6001600160a01b0384166000908152603a6020526040902054849060ff16156125245760408051600160e51b62461bcd02815260206004820152601a6024820152600080516020613df1833981519152604482015290519081900360640190fd5b838060001061256757604051600160e51b62461bcd028152600401808060200182810382526023815260200180613eee6023913960400191505060405180910390fd5b612572338787613704565b50600195945050505050565b603b546001600160a01b031633146125ce5760408051600160e51b62461bcd02815260206004820152601b6024820152600080516020613d8f833981519152604482015290519081900360640190fd5b603854600160a01b900460ff161561261e5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b806001600160a01b03811661266b5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b603780546001600160a01b038481166001600160a01b03198316179283905560405191811692339291169083907fc4d5c17597bd0c5594a7545f36de213c6a58e2f235b165887331fe368618197090600090a4505050565b600054610100900460ff16806126dc57506126dc61384e565b806126ea575060005460ff16155b61272857604051600160e51b62461bcd02815260040180806020018281038252602e815260200180613ec0602e913960400191505060405180910390fd5b600054610100900460ff16158015612753576000805460ff1961ff0019909116610100171660011790555b6001600160a01b0388166127b15760408051600160e51b62461bcd02815260206004820152601a60248201527f5f6f776e657220697320746865207a65726f2061646472657373000000000000604482015290519081900360640190fd5b6001600160a01b03871661280f5760408051600160e51b62461bcd02815260206004820152601a60248201527f5f61646d696e20697320746865207a65726f2061646472657373000000000000604482015290519081900360640190fd5b6001600160a01b03861661286d5760408051600160e51b62461bcd02815260206004820152601b60248201527f5f63617070657220697320746865207a65726f20616464726573730000000000604482015290519081900360640190fd5b6001600160a01b0385166128cb5760408051600160e51b62461bcd02815260206004820152601f60248201527f5f70726f6869626974657220697320746865207a65726f206164647265737300604482015290519081900360640190fd5b6001600160a01b0384166129295760408051600160e51b62461bcd02815260206004820152601b60248201527f5f70617573657220697320746865207a65726f20616464726573730000000000604482015290519081900360640190fd5b6001600160a01b0383166129875760408051600160e51b62461bcd02815260206004820181905260248201527f5f6d696e74657241646d696e20697320746865207a65726f2061646472657373604482015290519081900360640190fd5b6001600160a01b0382166129e55760408051600160e51b62461bcd02815260206004820152601b60248201527f5f6d696e74657220697320746865207a65726f20616464726573730000000000604482015290519081900360640190fd5b8a516129f890603f9060208e0190613cd3565b508951612a0c9060409060208d0190613cd3565b506041805460ff191660ff8b16179055603e80546001600160a01b03199081166001600160a01b038b811691909117909255603b805482168a8416179055603780548216898416179055603980548216888416179055603880548216878416179055603d80548216868416179055603c80549091169184169190911790558015612a9c576000805461ff00191690555b5050505050505050505050565b6044546001600160a01b031681565b6039546001600160a01b03163314612b1a5760408051600160e51b62461bcd02815260206004820181905260248201527f7468652073656e646572206973206e6f74207468652070726f68696269746572604482015290519081900360640190fd5b603854600160a01b900460ff1615612b6a5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b806001600160a01b038116612bb75760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b6001600160a01b0382166000908152603a6020526040902054829060ff1615612c185760408051600160e51b62461bcd02815260206004820152601a6024820152600080516020613df1833981519152604482015290519081900360640190fd5b6001600160a01b0383166000818152603a6020908152604091829020805460ff191660011790819055825160ff919091161515815291513393927fab0ab2fa6ff81b10c5afab4726a665d4379f2d0acaaafbe4c4d737ade05a8e4692908290030190a3505050565b603b546001600160a01b03163314612cd05760408051600160e51b62461bcd02815260206004820152601b6024820152600080516020613d8f833981519152604482015290519081900360640190fd5b603854600160a01b900460ff1615612d205760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b806001600160a01b038116612d6d5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b603980546001600160a01b038481166001600160a01b03198316179283905560405191811692339291169083907f85ae865187b1d7c0069f5fab638cbfcb8f3f9d23bc090e1084abc0dc42def0d290600090a4505050565b60415461010090046001600160a01b031681565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b6039546001600160a01b031681565b6043546001600160a01b0316331480612e3657506044546001600160a01b031633145b612e8a5760408051600160e51b62461bcd02815260206004820152601e60248201527f7468652073656e646572206973206e6f7420746865206f70657261746f720000604482015290519081900360640190fd5b603854600160a01b900460ff1615612eda5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b60008181526047602052604090205481906001600160a01b0316612f485760408051600160e51b62461bcd02815260206004820181905260248201527f6d696e74207472616e73616374696f6e20646f6573206e6f742065786973742e604482015290519081900360640190fd5b60008281526046602090815260408083203380855292529091205483919060ff1615612fa857604051600160e51b62461bcd028152600401808060200182810382526024815260200180613e5b6024913960400191505060405180910390fd5b6000848152604660209081526040808320338085529252808320805460ff191660011790555186927f4a504a94899432a9846e1aa406dceb1bcfd538bb839071d49d1e5e23f5be30ef91a3612ffc84613854565b50505050565b826001600160a01b03811661304f5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b826001600160a01b03811661309c5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b826001600160a01b0381166130e95760408051600160e51b62461bcd0281526020600482018190526024820152600080516020613dd1833981519152604482015290519081900360640190fd5b6130f2866138f5565b6118b98585613962565b603b546001600160a01b031681565b6037546001600160a01b0316331461316d5760408051600160e51b62461bcd02815260206004820152601c60248201527f7468652073656e646572206973206e6f74207468652063617070657200000000604482015290519081900360640190fd5b603854600160a01b900460ff16156131bd5760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b808060001061320057604051600160e51b62461bcd028152600401808060200182810382526023815260200180613eee6023913960400191505060405180910390fd5b81613209610ef5565b111561324957604051600160e51b62461bcd028152600401808060200182810382526029815260200180613f9f6029913960400191505060405180910390fd5b61325282613990565b5050565b6001600160a01b03831661329e57604051600160e51b62461bcd028152600401808060200182810382526024815260200180613f7b6024913960400191505060405180910390fd5b6001600160a01b0382166132e657604051600160e51b62461bcd028152600401808060200182810382526022815260200180613daf6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260346020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0316600160e01b63a9059cbb0217905261339d9084906139c5565b505050565b603854600090600160a01b900460ff16156133f55760408051600160e51b62461bcd0281526020600482015260196024820152600080516020613e7f833981519152604482015290519081900360640190fd5b6001600160a01b0384166000908152603a6020526040902054849060ff16156134565760408051600160e51b62461bcd02815260206004820152601a6024820152600080516020613df1833981519152604482015290519081900360640190fd5b828060001061349957604051600160e51b62461bcd028152600401808060200182810382526023815260200180613eee6023913960400191505060405180910390fd5b6134a4868686613b86565b9695505050505050565b60008282018381101561350b5760408051600160e51b62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60458054604080516060810182526001600160a01b03868116808352602080840188815260008587018181528882526047845290879020955186546001600160a01b03191695169490941785555160018086019190915592516002909401805460ff19169415159490941790935585549091019094558151858152915192933393909285927fd80ca778e72251008a8cce5b0a42bebe9867d5d59ac5d5e7149f07c48e00c78392918290030190a492915050565b6001600160a01b03821661360e57604051600160e51b62461bcd028152600401808060200182810382526021815260200180613f116021913960400191505060405180910390fd5b603554613621908263ffffffff6136a416565b6035556001600160a01b03821660009081526033602052604090205461364d908263ffffffff6136a416565b6001600160a01b0383166000818152603360209081526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b6000828211156136fe5760408051600160e51b62461bcd02815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6001600160a01b03831661374c57604051600160e51b62461bcd028152600401808060200182810382526025815260200180613f326025913960400191505060405180910390fd5b6001600160a01b03821661379457604051600160e51b62461bcd028152600401808060200182810382526023815260200180613d6c6023913960400191505060405180910390fd5b6001600160a01b0383166000908152603360205260409020546137bd908263ffffffff6136a416565b6001600160a01b0380851660009081526033602052604080822093909355908416815220546137f2908263ffffffff6134ae16565b6001600160a01b0380841660008181526033602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b303b1590565b61385d81611cf4565b156138f257600081815260476020526040902060028101805460ff19166001908117909155815491015461389a916001600160a01b031690613bd8565b60008181526047602090815260409182902080546001909101548351908152925133936001600160a01b03909216927fbcad3d7d3dfccb90d49c6063bf70f828901fefc88937d90af74e58e6e55bc39d928290030190a35b50565b6042546001600160a01b03161561394057604051600160e51b62461bcd028152600401808060200182810382526026815260200180613e356026913960400191505060405180910390fd5b604280546001600160a01b0319166001600160a01b0392909216919091179055565b604380546001600160a01b039384166001600160a01b03199182161790915560448054929093169116179055565b6036819055604051339082907f3bb5a3ed42af6c70969e54bbe40e4bba09c07f42c120cbec4ac0ee7eb0057fc990600090a350565b6139d7826001600160a01b0316613ccd565b613a2b5760408051600160e51b62461bcd02815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310613a695780518252601f199092019160209182019101613a4a565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114613acb576040519150601f19603f3d011682016040523d82523d6000602084013e613ad0565b606091505b509150915081613b2a5760408051600160e51b62461bcd02815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115612ffc57808060200190516020811015613b4657600080fd5b5051612ffc57604051600160e51b62461bcd02815260040180806020018281038252602a815260200180613fc8602a913960400191505060405180910390fd5b6000613b93848484613704565b6001600160a01b038416600090815260346020908152604080832033808552925290912054613bce918691611598908663ffffffff6136a416565b5060019392505050565b6001600160a01b038216613c365760408051600160e51b62461bcd02815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b603554613c49908263ffffffff6134ae16565b6035556001600160a01b038216600090815260336020526040902054613c75908263ffffffff6134ae16565b6001600160a01b03831660008181526033602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b3b151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10613d1457805160ff1916838001178555613d41565b82800160010185558215613d41579182015b82811115613d41578251825591602001919060010190613d26565b50613d4d929150613d51565b5090565b610ef991905b80821115613d4d5760008155600101613d5756fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573737468652073656e646572206973206e6f74207468652061646d696e000000000045524332303a20617070726f766520746f20746865207a65726f206164647265737374686973206163636f756e7420697320746865207a65726f206164647265737374686973206163636f756e742069732070726f686962697465640000000000007468652077697065722063616e206f6e6c7920626520696e69746961746564206f6e636574686520726573637565722063616e206f6e6c7920626520696e69746961746564206f6e63656d696e74207472616e73616374696f6e20686164206265656e20636f6e6669726d65642e7468697320697320612070617573656420636f6e7472616374000000000000007468652073656e646572206973206e6f7420746865206d696e74657241646d696e436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a65647468697320616d6f756e74206973206e6f742061206e61747572616c206e756d62657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f20616464726573736d696e742064657374696e6174696f6e20697320746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573737468697320616d6f756e74206973206c657373207468616e2074686520746f74616c79537570706c795361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565647468697320616d6f756e74206973206d6f7265207468616e206361706163697479a165627a7a7230582095a9df5af465acbdf7a47245cbd83f9b27d04b7d1a86003ab1c1a6193cfdd2650029
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 27 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.