ERC-20
Overview
Max Total Supply
160,001 EVIL
Holders
48
Total Transfers
-
Market
Price
$0.00 @ 0.000000 FTM
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
EVIL
Compiler Version
v0.8.12+commit.f00d7308
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.12; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require( address(this).balance >= amount, "Address: insufficient balance" ); (bool success, ) = recipient.call{value: amount}(""); require( success, "Address: unable to send value, recipient may have reverted" ); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue( target, data, value, "Address: low-level call with value failed" ); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require( address(this).balance >= value, "Address: insufficient balance for call" ); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}( data ); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall( target, data, "Address: low-level static call failed" ); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the * initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() initializer {} * ``` * ==== */ abstract 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 protect an initializer function from being invoked twice. */ modifier initializer() { // If the contract is initializing we ignore whether _initialized is set in order to support multiple // inheritance patterns, but we only do this in the context of a constructor, because in other contexts the // contract may have been reentered. require( _initializing ? _isConstructor() : !_initialized, "Initializable: contract is already initialized" ); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} modifier, directly or indirectly. */ modifier onlyInitializing() { require(_initializing, "Initializable: contract is not initializing"); _; } function _isConstructor() private view returns (bool) { return !Address.isContract(address(this)); } } /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context is Initializable { function __Context_init() internal onlyInitializing {} function __Context_init_unchained() internal onlyInitializing {} function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; } /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` 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 from, address to, 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 ); } // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @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) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @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) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a / b + (a % b == 0 ? 0 : 1); } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Initializable, Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal onlyInitializing { __Ownable_init_unchained(); } function __Ownable_init_unchained() internal onlyInitializing { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; } contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ function __ERC20_init( string memory name_, string memory symbol_, uint8 _decimal ) internal onlyInitializing { __ERC20_init_unchained(name_, symbol_); _decimals = _decimal; } function __ERC20_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve( sender, _msgSender(), _allowances[sender][_msgSender()].sub( amount, "ERC20: transfer amount exceeds allowance" ) ); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue) ); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve( _msgSender(), spender, _allowances[_msgSender()][spender].sub( subtractedValue, "ERC20: decreased allowance below zero" ) ); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub( amount, "ERC20: transfer amount exceeds balance" ); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub( amount, "ERC20: burn amount exceeds balance" ); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal virtual { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { using SafeMath for uint256; /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 decreasedAllowance = allowance(account, _msgSender()).sub( amount, "ERC20: burn amount exceeds allowance" ); _approve(account, _msgSender(), decreasedAllowance); _burn(account, amount); } } /** * @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 SafeMath8 { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint8 a, uint8 b) internal pure returns (uint8) { uint8 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(uint8 a, uint8 b) internal pure returns (uint8) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint8 a, uint8 b, string memory errorMessage ) internal pure returns (uint8) { require(b <= a, errorMessage); uint8 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(uint8 a, uint8 b) internal pure returns (uint8) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint8 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(uint8 a, uint8 b) internal pure returns (uint8) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint8 a, uint8 b, string memory errorMessage ) internal pure returns (uint8) { require(b > 0, errorMessage); uint8 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(uint8 a, uint8 b) internal pure returns (uint8) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint8 a, uint8 b, string memory errorMessage ) internal pure returns (uint8) { require(b != 0, errorMessage); return a % b; } } contract Operator is Initializable, Context, Ownable { address private _operator; event OperatorTransferred( address indexed previousOperator, address indexed newOperator ); function InitOperator() internal onlyInitializing { _operator = _msgSender(); __Ownable_init(); emit OperatorTransferred(address(0), _operator); } function operator() public view returns (address) { return _operator; } modifier onlyOperator() { require( _operator == msg.sender, "operator: caller is not the operator" ); _; } function isOperator() public view returns (bool) { return _msgSender() == _operator; } function transferOperator(address newOperator_) public onlyOwner { _transferOperator(newOperator_); } function _transferOperator(address newOperator_) internal { require( newOperator_ != address(0), "operator: zero address given for new operator" ); emit OperatorTransferred(address(0), newOperator_); _operator = newOperator_; } } interface IOracle { function update() external; function consult(address _token, uint256 _amountIn) external view returns (uint144 amountOut); function twap(address _token, uint256 _amountIn) external view returns (uint144 _amountOut); } contract EVIL is ERC20Burnable, Operator { using SafeMath8 for uint8; using SafeMath for uint256; // Initial distribution for the first 24h genesis pools uint256 public constant INITIAL_GENESIS_POOL_DISTRIBUTION = 20000 ether; // Initial distribution for the day 2-5 Dao-WETH LP -> Daopool uint256 public constant INITIAL_DAO_POOL_DISTRIBUTION = 140000 ether; // Distribution for airdrops wallet // Have the rewards been distributed to the pools bool public rewardPoolDistributed = false; /* ================= Taxation =============== */ // Address of the Oracle address public Dao_Oracle; // Address of the Tax Office address public taxOffice; // Current tax rate uint256 public taxRate; // Price threshold below which taxes will get burned uint256 public burnThreshold = 1.10e18; // Address of the tax collector wallet address public taxCollectorAddress; // Should the taxes be calculated using the tax tiers bool public autoCalculateTax; // Tax Tiers uint256[] public taxTiersTwaps = [ 0, 5e17, 6e17, 7e17, 8e17, 9e17, 9.5e17, 1e18, 1.05e18, 1.10e18, 1.20e18, 1.30e18, 1.40e18, 1.50e18 ]; uint256[] public taxTiersRates = [ 2000, 1900, 1800, 1700, 1600, 1500, 1500, 1500, 1500, 1400, 900, 400, 200, 100 ]; // Sender addresses excluded from Tax mapping(address => bool) public excludedAddresses; event TaxOfficeTransferred(address oldAddress, address newAddress); modifier onlyTaxOffice() { require(taxOffice == msg.sender, "Caller is not the tax office"); _; } modifier onlyOperatorOrTaxOffice() { require( isOperator() || taxOffice == msg.sender, "Caller is not the operator or the tax office" ); _; } /** * @notice Constructs the DAO ERC-20 contract. */ function InitDaoToken(uint256 _taxRate, address _taxCollectorAddress) public initializer { require(_taxRate < 10000, "tax equal or bigger to 100%"); require( _taxCollectorAddress != address(0), "tax collector address must be non-zero address" ); InitOperator(); __ERC20_init("Evil Token", "EVIL", 18); _mint(msg.sender, 1 ether); excludeAddress(address(this)); taxRate = _taxRate; taxCollectorAddress = _taxCollectorAddress; } /* ============= Taxation ============= */ function getTaxTiersTwapsCount() public view returns (uint256 count) { return taxTiersTwaps.length; } function getTaxTiersRatesCount() public view returns (uint256 count) { return taxTiersRates.length; } function isAddressExcluded(address _address) public view returns (bool) { return excludedAddresses[_address]; } function setTaxTiersTwap(uint8 _index, uint256 _value) public onlyTaxOffice returns (bool) { require(_index >= 0, "Index has to be higher than 0"); require( _index < getTaxTiersTwapsCount(), "Index has to lower than count of tax tiers" ); if (_index > 0) { require(_value > taxTiersTwaps[_index - 1]); } if (_index < getTaxTiersTwapsCount().sub(1)) { require(_value < taxTiersTwaps[_index + 1]); } taxTiersTwaps[_index] = _value; return true; } function kill() public onlyOperator { selfdestruct(payable(msg.sender)); } function setTaxTiersRate(uint8 _index, uint256 _value) public onlyTaxOffice returns (bool) { require(_index >= 0, "Index has to be higher than 0"); require( _index < getTaxTiersRatesCount(), "Index has to lower than count of tax tiers" ); taxTiersRates[_index] = _value; return true; } function setBurnThreshold(uint256 _burnThreshold) public onlyTaxOffice returns (bool) { burnThreshold = _burnThreshold; } function _getDaoPrice() internal view returns (uint256 _DaoPrice) { try IOracle(Dao_Oracle).consult(address(this), 1e18) returns ( uint144 _price ) { return uint256(_price); } catch { revert("DAO: failed to fetch DAO price from Oracle"); } } function _updateTaxRate(uint256 _DaoPrice) internal returns (uint256) { if (autoCalculateTax) { for ( uint8 tierId = uint8(getTaxTiersTwapsCount()).sub(1); tierId >= 0; --tierId ) { if (_DaoPrice >= taxTiersTwaps[tierId]) { require( taxTiersRates[tierId] < 10000, "tax equal or bigger to 100%" ); taxRate = taxTiersRates[tierId]; return taxTiersRates[tierId]; } } } } function enableAutoCalculateTax() public onlyTaxOffice { autoCalculateTax = true; } function disableAutoCalculateTax() public onlyTaxOffice { autoCalculateTax = false; } function InitDaoOracle(address _DaoOracle) public onlyOperatorOrTaxOffice { require(_DaoOracle != address(0), "oracle address cannot be 0 address"); Dao_Oracle = _DaoOracle; } function setTaxOffice(address _taxOffice) public onlyOperatorOrTaxOffice { require( _taxOffice != address(0), "tax office address cannot be 0 address" ); emit TaxOfficeTransferred(taxOffice, _taxOffice); taxOffice = _taxOffice; } function setTaxCollectorAddress(address _taxCollectorAddress) public onlyTaxOffice { require( _taxCollectorAddress != address(0), "tax collector address must be non-zero address" ); taxCollectorAddress = _taxCollectorAddress; } function setTaxRate(uint256 _taxRate) public onlyTaxOffice { require(!autoCalculateTax, "auto calculate tax cannot be enabled"); require(_taxRate < 10000, "tax equal or bigger to 100%"); taxRate = _taxRate; } function excludeAddress(address _address) public onlyOperatorOrTaxOffice returns (bool) { require(!excludedAddresses[_address], "address can't be excluded"); excludedAddresses[_address] = true; return true; } function includeAddress(address _address) public onlyOperatorOrTaxOffice returns (bool) { require(excludedAddresses[_address], "address can't be included"); excludedAddresses[_address] = false; return true; } /** * @notice Operator mints DAO to a recipient * @param recipient_ The address of recipient * @param amount_ The amount of DAO to mint to * @return whether the process has been done */ function mint(address recipient_, uint256 amount_) public onlyOperator returns (bool) { uint256 balanceBefore = balanceOf(recipient_); _mint(recipient_, amount_); uint256 balanceAfter = balanceOf(recipient_); return balanceAfter > balanceBefore; } function burn(uint256 amount) public override { super.burn(amount); } function burnFrom(address account, uint256 amount) public override onlyOperator { super.burnFrom(account, amount); } function transferFrom( address sender, address recipient, uint256 amount ) public override returns (bool) { uint256 currentTaxRate = 0; bool burnTax = false; if (autoCalculateTax) { uint256 currentDaoPrice = _getDaoPrice(); currentTaxRate = _updateTaxRate(currentDaoPrice); if (currentDaoPrice < burnThreshold) { burnTax = true; } } if (currentTaxRate == 0 || excludedAddresses[sender]) { _transfer(sender, recipient, amount); } else { _transferWithTax(sender, recipient, amount, burnTax); } _approve( sender, _msgSender(), allowance(sender, _msgSender()).sub( amount, "ERC20: transfer amount exceeds allowance" ) ); return true; } function _transferWithTax( address sender, address recipient, uint256 amount, bool burnTax ) internal returns (bool) { uint256 taxAmount = amount.mul(taxRate).div(10000); uint256 amountAfterTax = amount.sub(taxAmount); if (burnTax) { // Burn tax super.burnFrom(sender, taxAmount); } else { // Transfer tax to tax collector _transfer(sender, taxCollectorAddress, taxAmount); } // Transfer amount after tax to recipient _transfer(sender, recipient, amountAfterTax); return true; } /** * @notice distribute to reward pool (only once) */ function DistributeAirdropRewards(address _airdropRewardsAddress) external onlyOperator { require(!rewardPoolDistributed, "only can distribute once"); require( _airdropRewardsAddress != address(0), "!_airdropRewardsAddress" ); rewardPoolDistributed = true; } function DistributeRewardsPoolGenesis(address _rewardsPoolAddress) external onlyOperator { require(_rewardsPoolAddress != address(0), "!_rewardsPoolAddress"); rewardPoolDistributed = true; _mint(_rewardsPoolAddress, INITIAL_GENESIS_POOL_DISTRIBUTION); } function distributeRewardsLPPool(address _rewardsPoolLPAddress) external onlyOperator { require(_rewardsPoolLPAddress != address(0), "!_rewardsPoolLPAddress"); rewardPoolDistributed = true; _mint(_rewardsPoolLPAddress, INITIAL_DAO_POOL_DISTRIBUTION); } function governanceRecoverUnsupported( IERC20 _token, uint256 _amount, address _to ) external onlyOperator { _token.transfer(_to, _amount); } }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"OperatorTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldAddress","type":"address"},{"indexed":false,"internalType":"address","name":"newAddress","type":"address"}],"name":"TaxOfficeTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"Dao_Oracle","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_airdropRewardsAddress","type":"address"}],"name":"DistributeAirdropRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardsPoolAddress","type":"address"}],"name":"DistributeRewardsPoolGenesis","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"INITIAL_DAO_POOL_DISTRIBUTION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INITIAL_GENESIS_POOL_DISTRIBUTION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_DaoOracle","type":"address"}],"name":"InitDaoOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_taxRate","type":"uint256"},{"internalType":"address","name":"_taxCollectorAddress","type":"address"}],"name":"InitDaoToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"autoCalculateTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableAutoCalculateTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardsPoolLPAddress","type":"address"}],"name":"distributeRewardsLPPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableAutoCalculateTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"excludeAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTaxTiersRatesCount","outputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTaxTiersTwapsCount","outputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"governanceRecoverUnsupported","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"includeAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isAddressExcluded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"kill","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPoolDistributed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_burnThreshold","type":"uint256"}],"name":"setBurnThreshold","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_taxCollectorAddress","type":"address"}],"name":"setTaxCollectorAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_taxOffice","type":"address"}],"name":"setTaxOffice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_taxRate","type":"uint256"}],"name":"setTaxRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_index","type":"uint8"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setTaxTiersRate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_index","type":"uint8"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setTaxTiersTwap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxCollectorAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxOffice","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"taxTiersRates","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"taxTiersTwaps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOperator_","type":"address"}],"name":"transferOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
606a805460ff60a01b19169055670f43fc2c04ee0000606e819055610240604052600060809081526706f05b59d3b2000060a052670853a0d2313c000060c0526709b6e64a8ec6000060e052670b1a2bc2ec50000061010052670c7d713b49da000061012052670d2f13f7789f000061014052670de0b6b3a764000061016052670e92596fd6290000610180526101a0919091526710a741a4627800006101c05267120a871cc00200006101e05267136dcc951d8c0000610200526714d1120d7b16000061022052620000d790607090600e62000178565b50604080516101c0810182526107d0815261076c6020820152610708918101919091526106a4606082015261064060808201526105dc60a0820181905260c0820181905260e0820181905261010082015261057861012082015261038461014082015261019061016082015260c861018082015260646101a08201526200016390607190600e620001d3565b503480156200017157600080fd5b506200022e565b828054828255906000526020600020908101928215620001c1579160200282015b82811115620001c157825182906001600160401b031690559160200191906001019062000199565b50620001cf92915062000217565b5090565b828054828255906000526020600020908101928215620001c1579160200282015b82811115620001c1578251829061ffff16905591602001919060010190620001f4565b5b80821115620001cf576000815560010162000218565b612f53806200023e6000396000f3fe608060405234801561001057600080fd5b506004361061034c5760003560e01c8063771a3a1d116101bd578063bbf8456f116100f9578063dd62ed3e116100a2578063f055f36f1161007c578063f055f36f14610725578063f15b63a014610738578063f2fde38b1461074b578063ff87fc7c1461075e57600080fd5b8063dd62ed3e146106b8578063ebca1bd9146106f1578063ee2a95351461071d57600080fd5b8063cf011b26116100d3578063cf011b2614610671578063d344500a14610694578063d400f4b7146106a757600080fd5b8063bbf8456f14610638578063c3bdf6131461064b578063c6d69a301461065e57600080fd5b806395d89b4111610166578063a457c2d711610140578063a457c2d7146105f7578063a6431bba1461060a578063a9059cbb14610612578063b87c5a4a1461062557600080fd5b806395d89b41146105c85780639662676c146105d05780639d6b5f21146105e457600080fd5b80638da5cb5b116101975780638da5cb5b1461058c57806393995d4b146105a257806394ae4647146105b557600080fd5b8063771a3a1d1461055c57806379cc6790146105655780638d3cc8181461057857600080fd5b806342966c681161028c578063570ca7351161023557806366206ce91161020f57806366206ce91461050557806369356d471461051857806370a082311461052b578063715018a61461055457600080fd5b8063570ca735146104d95780635c29908d146104ea57806365bbacd9146104fd57600080fd5b80634e20a02c116102665780634e20a02c146104ac5780634f6d38d0146104bd57806354575af4146104c657600080fd5b806342966c681461047357806342c6b4f1146104865780634456eda21461049957600080fd5b8063357989c7116102f95780633e5f13d4116102d35780633e5f13d41461041a5780633f07d76a1461044557806340c10f191461045857806341c0e1b51461046b57600080fd5b8063357989c7146103e15780633758e6ce146103f4578063395093511461040757600080fd5b806323b872dd1161032a57806323b872dd146103a457806329605e77146103b7578063313ce567146103cc57600080fd5b806306fdde0314610351578063095ea7b31461036f57806318160ddd14610392575b600080fd5b610359610766565b6040516103669190612b07565b60405180910390f35b61038261037d366004612b71565b6107f8565b6040519015158152602001610366565b6035545b604051908152602001610366565b6103826103b2366004612b9d565b61080e565b6103ca6103c5366004612bde565b6108db565b005b60385460405160ff9091168152602001610366565b6103ca6103ef366004612bfb565b61094c565b610382610402366004612bde565b610b9d565b610382610415366004612b71565b610cba565b606c5461042d906001600160a01b031681565b6040516001600160a01b039091168152602001610366565b6103ca610453366004612bde565b610cf0565b610382610466366004612b71565b610e42565b6103ca610ef3565b6103ca610481366004612c2b565b610f5c565b610396610494366004612c2b565b610f65565b606a546001600160a01b03163314610382565b61039669043c33c193756480000081565b610396606e5481565b6103ca6104d4366004612c44565b610f86565b606a546001600160a01b031661042d565b6103966104f8366004612c2b565b61107e565b6103ca61108e565b610382610513366004612c86565b6110f7565b6103ca610526366004612bde565b61127a565b610396610539366004612bde565b6001600160a01b031660009081526033602052604090205490565b6103ca611372565b610396606d5481565b6103ca610573366004612b71565b6113de565b606f5461038290600160a01b900460ff1681565b60385461010090046001600160a01b031661042d565b6103826105b0366004612bde565b611452565b606b5461042d906001600160a01b031681565b610359611566565b606a5461038290600160a01b900460ff1681565b6103826105f2366004612c2b565b611575565b610382610605366004612b71565b6115db565b607054610396565b610382610620366004612b71565b61162a565b610382610633366004612c86565b611637565b6103ca610646366004612bde565b611712565b606f5461042d906001600160a01b031681565b6103ca61066c366004612c2b565b6117f5565b61038261067f366004612bde565b60726020526000908152604090205460ff1681565b6103ca6106a2366004612bde565b611924565b610396691da56a4b0835bf80000081565b6103966106c6366004612caa565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b6103826106ff366004612bde565b6001600160a01b031660009081526072602052604090205460ff1690565b607154610396565b6103ca610733366004612bde565b611a50565b6103ca610746366004612bde565b611b33565b6103ca610759366004612bde565b611c3a565b6103ca611d08565b60606036805461077590612cd8565b80601f01602080910402602001604051908101604052809291908181526020018280546107a190612cd8565b80156107ee5780601f106107c3576101008083540402835291602001916107ee565b820191906000526020600020905b8154815290600101906020018083116107d157829003601f168201915b5050505050905090565b6000610805338484611d77565b50600192915050565b606f5460009081908190600160a01b900460ff161561084f576000610831611eb5565b905061083c81611fcc565b9250606e5481101561084d57600191505b505b81158061087457506001600160a01b03861660009081526072602052604090205460ff165b15610889576108848686866120fb565b610897565b610895868686846122b3565b505b6108cf86336108ca87604051806060016040528060288152602001612ead602891396108c38c336106c6565b919061232c565b611d77565b50600195945050505050565b6038546001600160a01b036101009091041633146109405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b61094981612358565b50565b600054610100900460ff166109675760005460ff161561096b565b303b155b6109dd5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610937565b600054610100900460ff161580156109ff576000805461ffff19166101011790555b6127108310610a505760405162461bcd60e51b815260206004820152601b60248201527f74617820657175616c206f722062696767657220746f203130302500000000006044820152606401610937565b6001600160a01b038216610acc5760405162461bcd60e51b815260206004820152602e60248201527f74617820636f6c6c6563746f722061646472657373206d757374206265206e6f60448201527f6e2d7a65726f20616464726573730000000000000000000000000000000000006064820152608401610937565b610ad461242c565b610b4a6040518060400160405280600a81526020017f4576696c20546f6b656e000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4556494c0000000000000000000000000000000000000000000000000000000081525060126124ed565b610b5c33670de0b6b3a764000061257a565b610b6530610b9d565b50606d839055606f80546001600160a01b0319166001600160a01b0384161790558015610b98576000805461ff00191690555b505050565b606a546000906001600160a01b0316331480610bc35750606c546001600160a01b031633145b610c245760405162461bcd60e51b815260206004820152602c60248201527f43616c6c6572206973206e6f7420746865206f70657261746f72206f7220746860448201526b6520746178206f666669636560a01b6064820152608401610937565b6001600160a01b03821660009081526072602052604090205460ff1615610c8d5760405162461bcd60e51b815260206004820152601960248201527f616464726573732063616e2774206265206578636c75646564000000000000006044820152606401610937565b506001600160a01b0381166000908152607260205260409020805460ff191660019081179091555b919050565b3360008181526034602090815260408083206001600160a01b038716845290915281205490916108059185906108ca9086612660565b606a546001600160a01b0316331480610d135750606c546001600160a01b031633145b610d745760405162461bcd60e51b815260206004820152602c60248201527f43616c6c6572206973206e6f7420746865206f70657261746f72206f7220746860448201526b6520746178206f666669636560a01b6064820152608401610937565b6001600160a01b038116610dd95760405162461bcd60e51b815260206004820152602660248201527f746178206f666669636520616464726573732063616e6e6f742062652030206160448201526564647265737360d01b6064820152608401610937565b606c54604080516001600160a01b03928316815291831660208301527f75237613d1cfb394eb7979839ecbeacaca4592ef0cf96791979625803948a601910160405180910390a1606c80546001600160a01b0319166001600160a01b0392909216919091179055565b606a546000906001600160a01b03163314610eab5760405162461bcd60e51b8152602060048201526024808201527f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260448201526330ba37b960e11b6064820152608401610937565b6001600160a01b038316600090815260336020526040902054610ece848461257a565b6001600160a01b03841660009081526033602052604081205491909111949350505050565b606a546001600160a01b03163314610f595760405162461bcd60e51b8152602060048201526024808201527f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260448201526330ba37b960e11b6064820152608401610937565b33ff5b61094981612673565b60708181548110610f7557600080fd5b600091825260209091200154905081565b606a546001600160a01b03163314610fec5760405162461bcd60e51b8152602060048201526024808201527f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260448201526330ba37b960e11b6064820152608401610937565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b0382811660048301526024820184905284169063a9059cbb906044016020604051808303816000875af1158015611054573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110789190612d0d565b50505050565b60718181548110610f7557600080fd5b606c546001600160a01b031633146110e85760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520746178206f6666696365000000006044820152606401610937565b606f805460ff60a01b19169055565b606c546000906001600160a01b031633146111545760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520746178206f6666696365000000006044820152606401610937565b6070548360ff16106111bb5760405162461bcd60e51b815260206004820152602a60248201527f496e6465782068617320746f206c6f776572207468616e20636f756e74206f666044820152692074617820746965727360b01b6064820152608401610937565b60ff8316156111fa5760706111d1600185612d45565b60ff16815481106111e4576111e4612d68565b906000526020600020015482116111fa57600080fd5b61120e600161120860705490565b9061267d565b8360ff16101561124e576070611225846001612d7e565b60ff168154811061123857611238612d68565b9060005260206000200154821061124e57600080fd5b8160708460ff168154811061126557611265612d68565b60009182526020909120015550600192915050565b606c546001600160a01b031633146112d45760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520746178206f6666696365000000006044820152606401610937565b6001600160a01b0381166113505760405162461bcd60e51b815260206004820152602e60248201527f74617820636f6c6c6563746f722061646472657373206d757374206265206e6f60448201527f6e2d7a65726f20616464726573730000000000000000000000000000000000006064820152608401610937565b606f80546001600160a01b0319166001600160a01b0392909216919091179055565b6038546001600160a01b036101009091041633146113d25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610937565b6113dc6000612689565b565b606a546001600160a01b031633146114445760405162461bcd60e51b8152602060048201526024808201527f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260448201526330ba37b960e11b6064820152608401610937565b61144e82826126fa565b5050565b606a546000906001600160a01b03163314806114785750606c546001600160a01b031633145b6114d95760405162461bcd60e51b815260206004820152602c60248201527f43616c6c6572206973206e6f7420746865206f70657261746f72206f7220746860448201526b6520746178206f666669636560a01b6064820152608401610937565b6001600160a01b03821660009081526072602052604090205460ff166115415760405162461bcd60e51b815260206004820152601960248201527f616464726573732063616e277420626520696e636c75646564000000000000006044820152606401610937565b506001600160a01b03166000908152607260205260409020805460ff19169055600190565b60606037805461077590612cd8565b606c546000906001600160a01b031633146115d25760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520746178206f6666696365000000006044820152606401610937565b606e9190915590565b600061080533846108ca85604051806060016040528060258152602001612ef9602591393360009081526034602090815260408083206001600160a01b038d168452909152902054919061232c565b60006108053384846120fb565b606c546000906001600160a01b031633146116945760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520746178206f6666696365000000006044820152606401610937565b6071548360ff16106116fb5760405162461bcd60e51b815260206004820152602a60248201527f496e6465782068617320746f206c6f776572207468616e20636f756e74206f666044820152692074617820746965727360b01b6064820152608401610937565b8160718460ff168154811061126557611265612d68565b606a546001600160a01b031633146117785760405162461bcd60e51b8152602060048201526024808201527f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260448201526330ba37b960e11b6064820152608401610937565b6001600160a01b0381166117ce5760405162461bcd60e51b815260206004820152601460248201527f215f72657761726473506f6f6c416464726573730000000000000000000000006044820152606401610937565b606a805460ff60a01b1916600160a01b1790556109498169043c33c193756480000061257a565b606c546001600160a01b0316331461184f5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520746178206f6666696365000000006044820152606401610937565b606f54600160a01b900460ff16156118ce5760405162461bcd60e51b8152602060048201526024808201527f6175746f2063616c63756c617465207461782063616e6e6f7420626520656e6160448201527f626c6564000000000000000000000000000000000000000000000000000000006064820152608401610937565b612710811061191f5760405162461bcd60e51b815260206004820152601b60248201527f74617820657175616c206f722062696767657220746f203130302500000000006044820152606401610937565b606d55565b606a546001600160a01b0316331461198a5760405162461bcd60e51b8152602060048201526024808201527f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260448201526330ba37b960e11b6064820152608401610937565b606a54600160a01b900460ff16156119e45760405162461bcd60e51b815260206004820152601860248201527f6f6e6c792063616e2064697374726962757465206f6e636500000000000000006044820152606401610937565b6001600160a01b038116611a3a5760405162461bcd60e51b815260206004820152601760248201527f215f61697264726f7052657761726473416464726573730000000000000000006044820152606401610937565b50606a805460ff60a01b1916600160a01b179055565b606a546001600160a01b03163314611ab65760405162461bcd60e51b8152602060048201526024808201527f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260448201526330ba37b960e11b6064820152608401610937565b6001600160a01b038116611b0c5760405162461bcd60e51b815260206004820152601660248201527f215f72657761726473506f6f6c4c5041646472657373000000000000000000006044820152606401610937565b606a805460ff60a01b1916600160a01b17905561094981691da56a4b0835bf80000061257a565b606a546001600160a01b0316331480611b565750606c546001600160a01b031633145b611bb75760405162461bcd60e51b815260206004820152602c60248201527f43616c6c6572206973206e6f7420746865206f70657261746f72206f7220746860448201526b6520746178206f666669636560a01b6064820152608401610937565b6001600160a01b038116611c185760405162461bcd60e51b815260206004820152602260248201527f6f7261636c6520616464726573732063616e6e6f742062652030206164647265604482015261737360f01b6064820152608401610937565b606b80546001600160a01b0319166001600160a01b0392909216919091179055565b6038546001600160a01b03610100909104163314611c9a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610937565b6001600160a01b038116611cff5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610937565b61094981612689565b606c546001600160a01b03163314611d625760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520746178206f6666696365000000006044820152606401610937565b606f805460ff60a01b1916600160a01b179055565b6001600160a01b038316611df25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610937565b6001600160a01b038216611e535760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610937565b6001600160a01b0383811660008181526034602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b606b546040517f3ddac953000000000000000000000000000000000000000000000000000000008152306004820152670de0b6b3a764000060248201526000916001600160a01b031690633ddac95390604401602060405180830381865afa925050508015611f41575060408051601f3d908101601f19168201909252611f3e91810190612da3565b60015b611fb35760405162461bcd60e51b815260206004820152602a60248201527f44414f3a206661696c656420746f2066657463682044414f207072696365206660448201527f726f6d204f7261636c65000000000000000000000000000000000000000000006064820152608401610937565b71ffffffffffffffffffffffffffffffffffff16919050565b606f54600090600160a01b900460ff1615610cb5576000611ffa6001611ff160705490565b60ff169061273a565b90505b60708160ff168154811061201357612013612d68565b906000526020600020015483106120e55761271060718260ff168154811061203d5761203d612d68565b9060005260206000200154106120955760405162461bcd60e51b815260206004820152601b60248201527f74617820657175616c206f722062696767657220746f203130302500000000006044820152606401610937565b60718160ff16815481106120ab576120ab612d68565b9060005260206000200154606d8190555060718160ff16815481106120d2576120d2612d68565b9060005260206000200154915050919050565b6120ee81612dd7565b9050611ffd565b50919050565b6001600160a01b0383166121775760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610937565b6001600160a01b0382166121f35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610937565b61223081604051806060016040528060268152602001612e87602691396001600160a01b038616600090815260336020526040902054919061232c565b6001600160a01b03808516600090815260336020526040808220939093559084168152205461225f9082612660565b6001600160a01b0380841660008181526033602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611ea89085815260200190565b6000806122d76127106122d1606d548761277c90919063ffffffff16565b90612788565b905060006122e5858361267d565b905083156122fc576122f787836126fa565b612314565b606f546123149088906001600160a01b0316846120fb565b61231f8787836120fb565b5060019695505050505050565b600081848411156123505760405162461bcd60e51b81526004016109379190612b07565b505050900390565b6001600160a01b0381166123d45760405162461bcd60e51b815260206004820152602d60248201527f6f70657261746f723a207a65726f206164647265737320676976656e20666f7260448201527f206e6577206f70657261746f72000000000000000000000000000000000000006064820152608401610937565b6040516001600160a01b038216906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3606a80546001600160a01b0319166001600160a01b0392909216919091179055565b600054610100900460ff166124975760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610937565b606a80546001600160a01b031916331790556124b1612794565b606a546040516001600160a01b03909116906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3565b600054610100900460ff166125585760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610937565b6125628383612807565b6038805460ff191660ff929092169190911790555050565b6001600160a01b0382166125d05760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610937565b6035546125dd9082612660565b6035556001600160a01b0382166000908152603360205260409020546126039082612660565b6001600160a01b0383166000818152603360205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906126549085815260200190565b60405180910390a35050565b600061266c8284612df4565b9392505050565b6109493382612899565b600061266c8284612e0c565b603880546001600160a01b038381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061272382604051806060016040528060248152602001612ed5602491396108c386336106c6565b9050612730833383611d77565b610b988383612899565b600061266c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506129b9565b600061266c8284612e23565b600061266c8284612e42565b600054610100900460ff166127ff5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610937565b6113dc6129fa565b600054610100900460ff166128725760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610937565b8151612885906036906020850190612a6e565b508051610b98906037906020840190612a6e565b6001600160a01b0382166129155760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610937565b61295281604051806060016040528060228152602001612e65602291396001600160a01b038516600090815260336020526040902054919061232c565b6001600160a01b038316600090815260336020526040902055603554612978908261267d565b6035556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001612654565b60008360ff168360ff16111582906129e45760405162461bcd60e51b81526004016109379190612b07565b5060006129f18486612d45565b95945050505050565b600054610100900460ff16612a655760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610937565b6113dc33612689565b828054612a7a90612cd8565b90600052602060002090601f016020900481019282612a9c5760008555612ae2565b82601f10612ab557805160ff1916838001178555612ae2565b82800160010185558215612ae2579182015b82811115612ae2578251825591602001919060010190612ac7565b50612aee929150612af2565b5090565b5b80821115612aee5760008155600101612af3565b600060208083528351808285015260005b81811015612b3457858101830151858201604001528201612b18565b81811115612b46576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461094957600080fd5b60008060408385031215612b8457600080fd5b8235612b8f81612b5c565b946020939093013593505050565b600080600060608486031215612bb257600080fd5b8335612bbd81612b5c565b92506020840135612bcd81612b5c565b929592945050506040919091013590565b600060208284031215612bf057600080fd5b813561266c81612b5c565b60008060408385031215612c0e57600080fd5b823591506020830135612c2081612b5c565b809150509250929050565b600060208284031215612c3d57600080fd5b5035919050565b600080600060608486031215612c5957600080fd5b8335612c6481612b5c565b9250602084013591506040840135612c7b81612b5c565b809150509250925092565b60008060408385031215612c9957600080fd5b823560ff81168114612b8f57600080fd5b60008060408385031215612cbd57600080fd5b8235612cc881612b5c565b91506020830135612c2081612b5c565b600181811c90821680612cec57607f821691505b602082108114156120f557634e487b7160e01b600052602260045260246000fd5b600060208284031215612d1f57600080fd5b8151801515811461266c57600080fd5b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff841680821015612d5f57612d5f612d2f565b90039392505050565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff84168060ff03821115612d9b57612d9b612d2f565b019392505050565b600060208284031215612db557600080fd5b815171ffffffffffffffffffffffffffffffffffff8116811461266c57600080fd5b600060ff821680612dea57612dea612d2f565b6000190192915050565b60008219821115612e0757612e07612d2f565b500190565b600082821015612e1e57612e1e612d2f565b500390565b6000816000190483118215151615612e3d57612e3d612d2f565b500290565b600082612e5f57634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220809fba448b8e65e34f88cf680a5efaef9c27601637cd329d3e6555b86385894064736f6c634300080c0033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061034c5760003560e01c8063771a3a1d116101bd578063bbf8456f116100f9578063dd62ed3e116100a2578063f055f36f1161007c578063f055f36f14610725578063f15b63a014610738578063f2fde38b1461074b578063ff87fc7c1461075e57600080fd5b8063dd62ed3e146106b8578063ebca1bd9146106f1578063ee2a95351461071d57600080fd5b8063cf011b26116100d3578063cf011b2614610671578063d344500a14610694578063d400f4b7146106a757600080fd5b8063bbf8456f14610638578063c3bdf6131461064b578063c6d69a301461065e57600080fd5b806395d89b4111610166578063a457c2d711610140578063a457c2d7146105f7578063a6431bba1461060a578063a9059cbb14610612578063b87c5a4a1461062557600080fd5b806395d89b41146105c85780639662676c146105d05780639d6b5f21146105e457600080fd5b80638da5cb5b116101975780638da5cb5b1461058c57806393995d4b146105a257806394ae4647146105b557600080fd5b8063771a3a1d1461055c57806379cc6790146105655780638d3cc8181461057857600080fd5b806342966c681161028c578063570ca7351161023557806366206ce91161020f57806366206ce91461050557806369356d471461051857806370a082311461052b578063715018a61461055457600080fd5b8063570ca735146104d95780635c29908d146104ea57806365bbacd9146104fd57600080fd5b80634e20a02c116102665780634e20a02c146104ac5780634f6d38d0146104bd57806354575af4146104c657600080fd5b806342966c681461047357806342c6b4f1146104865780634456eda21461049957600080fd5b8063357989c7116102f95780633e5f13d4116102d35780633e5f13d41461041a5780633f07d76a1461044557806340c10f191461045857806341c0e1b51461046b57600080fd5b8063357989c7146103e15780633758e6ce146103f4578063395093511461040757600080fd5b806323b872dd1161032a57806323b872dd146103a457806329605e77146103b7578063313ce567146103cc57600080fd5b806306fdde0314610351578063095ea7b31461036f57806318160ddd14610392575b600080fd5b610359610766565b6040516103669190612b07565b60405180910390f35b61038261037d366004612b71565b6107f8565b6040519015158152602001610366565b6035545b604051908152602001610366565b6103826103b2366004612b9d565b61080e565b6103ca6103c5366004612bde565b6108db565b005b60385460405160ff9091168152602001610366565b6103ca6103ef366004612bfb565b61094c565b610382610402366004612bde565b610b9d565b610382610415366004612b71565b610cba565b606c5461042d906001600160a01b031681565b6040516001600160a01b039091168152602001610366565b6103ca610453366004612bde565b610cf0565b610382610466366004612b71565b610e42565b6103ca610ef3565b6103ca610481366004612c2b565b610f5c565b610396610494366004612c2b565b610f65565b606a546001600160a01b03163314610382565b61039669043c33c193756480000081565b610396606e5481565b6103ca6104d4366004612c44565b610f86565b606a546001600160a01b031661042d565b6103966104f8366004612c2b565b61107e565b6103ca61108e565b610382610513366004612c86565b6110f7565b6103ca610526366004612bde565b61127a565b610396610539366004612bde565b6001600160a01b031660009081526033602052604090205490565b6103ca611372565b610396606d5481565b6103ca610573366004612b71565b6113de565b606f5461038290600160a01b900460ff1681565b60385461010090046001600160a01b031661042d565b6103826105b0366004612bde565b611452565b606b5461042d906001600160a01b031681565b610359611566565b606a5461038290600160a01b900460ff1681565b6103826105f2366004612c2b565b611575565b610382610605366004612b71565b6115db565b607054610396565b610382610620366004612b71565b61162a565b610382610633366004612c86565b611637565b6103ca610646366004612bde565b611712565b606f5461042d906001600160a01b031681565b6103ca61066c366004612c2b565b6117f5565b61038261067f366004612bde565b60726020526000908152604090205460ff1681565b6103ca6106a2366004612bde565b611924565b610396691da56a4b0835bf80000081565b6103966106c6366004612caa565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b6103826106ff366004612bde565b6001600160a01b031660009081526072602052604090205460ff1690565b607154610396565b6103ca610733366004612bde565b611a50565b6103ca610746366004612bde565b611b33565b6103ca610759366004612bde565b611c3a565b6103ca611d08565b60606036805461077590612cd8565b80601f01602080910402602001604051908101604052809291908181526020018280546107a190612cd8565b80156107ee5780601f106107c3576101008083540402835291602001916107ee565b820191906000526020600020905b8154815290600101906020018083116107d157829003601f168201915b5050505050905090565b6000610805338484611d77565b50600192915050565b606f5460009081908190600160a01b900460ff161561084f576000610831611eb5565b905061083c81611fcc565b9250606e5481101561084d57600191505b505b81158061087457506001600160a01b03861660009081526072602052604090205460ff165b15610889576108848686866120fb565b610897565b610895868686846122b3565b505b6108cf86336108ca87604051806060016040528060288152602001612ead602891396108c38c336106c6565b919061232c565b611d77565b50600195945050505050565b6038546001600160a01b036101009091041633146109405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b61094981612358565b50565b600054610100900460ff166109675760005460ff161561096b565b303b155b6109dd5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610937565b600054610100900460ff161580156109ff576000805461ffff19166101011790555b6127108310610a505760405162461bcd60e51b815260206004820152601b60248201527f74617820657175616c206f722062696767657220746f203130302500000000006044820152606401610937565b6001600160a01b038216610acc5760405162461bcd60e51b815260206004820152602e60248201527f74617820636f6c6c6563746f722061646472657373206d757374206265206e6f60448201527f6e2d7a65726f20616464726573730000000000000000000000000000000000006064820152608401610937565b610ad461242c565b610b4a6040518060400160405280600a81526020017f4576696c20546f6b656e000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4556494c0000000000000000000000000000000000000000000000000000000081525060126124ed565b610b5c33670de0b6b3a764000061257a565b610b6530610b9d565b50606d839055606f80546001600160a01b0319166001600160a01b0384161790558015610b98576000805461ff00191690555b505050565b606a546000906001600160a01b0316331480610bc35750606c546001600160a01b031633145b610c245760405162461bcd60e51b815260206004820152602c60248201527f43616c6c6572206973206e6f7420746865206f70657261746f72206f7220746860448201526b6520746178206f666669636560a01b6064820152608401610937565b6001600160a01b03821660009081526072602052604090205460ff1615610c8d5760405162461bcd60e51b815260206004820152601960248201527f616464726573732063616e2774206265206578636c75646564000000000000006044820152606401610937565b506001600160a01b0381166000908152607260205260409020805460ff191660019081179091555b919050565b3360008181526034602090815260408083206001600160a01b038716845290915281205490916108059185906108ca9086612660565b606a546001600160a01b0316331480610d135750606c546001600160a01b031633145b610d745760405162461bcd60e51b815260206004820152602c60248201527f43616c6c6572206973206e6f7420746865206f70657261746f72206f7220746860448201526b6520746178206f666669636560a01b6064820152608401610937565b6001600160a01b038116610dd95760405162461bcd60e51b815260206004820152602660248201527f746178206f666669636520616464726573732063616e6e6f742062652030206160448201526564647265737360d01b6064820152608401610937565b606c54604080516001600160a01b03928316815291831660208301527f75237613d1cfb394eb7979839ecbeacaca4592ef0cf96791979625803948a601910160405180910390a1606c80546001600160a01b0319166001600160a01b0392909216919091179055565b606a546000906001600160a01b03163314610eab5760405162461bcd60e51b8152602060048201526024808201527f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260448201526330ba37b960e11b6064820152608401610937565b6001600160a01b038316600090815260336020526040902054610ece848461257a565b6001600160a01b03841660009081526033602052604081205491909111949350505050565b606a546001600160a01b03163314610f595760405162461bcd60e51b8152602060048201526024808201527f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260448201526330ba37b960e11b6064820152608401610937565b33ff5b61094981612673565b60708181548110610f7557600080fd5b600091825260209091200154905081565b606a546001600160a01b03163314610fec5760405162461bcd60e51b8152602060048201526024808201527f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260448201526330ba37b960e11b6064820152608401610937565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b0382811660048301526024820184905284169063a9059cbb906044016020604051808303816000875af1158015611054573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110789190612d0d565b50505050565b60718181548110610f7557600080fd5b606c546001600160a01b031633146110e85760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520746178206f6666696365000000006044820152606401610937565b606f805460ff60a01b19169055565b606c546000906001600160a01b031633146111545760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520746178206f6666696365000000006044820152606401610937565b6070548360ff16106111bb5760405162461bcd60e51b815260206004820152602a60248201527f496e6465782068617320746f206c6f776572207468616e20636f756e74206f666044820152692074617820746965727360b01b6064820152608401610937565b60ff8316156111fa5760706111d1600185612d45565b60ff16815481106111e4576111e4612d68565b906000526020600020015482116111fa57600080fd5b61120e600161120860705490565b9061267d565b8360ff16101561124e576070611225846001612d7e565b60ff168154811061123857611238612d68565b9060005260206000200154821061124e57600080fd5b8160708460ff168154811061126557611265612d68565b60009182526020909120015550600192915050565b606c546001600160a01b031633146112d45760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520746178206f6666696365000000006044820152606401610937565b6001600160a01b0381166113505760405162461bcd60e51b815260206004820152602e60248201527f74617820636f6c6c6563746f722061646472657373206d757374206265206e6f60448201527f6e2d7a65726f20616464726573730000000000000000000000000000000000006064820152608401610937565b606f80546001600160a01b0319166001600160a01b0392909216919091179055565b6038546001600160a01b036101009091041633146113d25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610937565b6113dc6000612689565b565b606a546001600160a01b031633146114445760405162461bcd60e51b8152602060048201526024808201527f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260448201526330ba37b960e11b6064820152608401610937565b61144e82826126fa565b5050565b606a546000906001600160a01b03163314806114785750606c546001600160a01b031633145b6114d95760405162461bcd60e51b815260206004820152602c60248201527f43616c6c6572206973206e6f7420746865206f70657261746f72206f7220746860448201526b6520746178206f666669636560a01b6064820152608401610937565b6001600160a01b03821660009081526072602052604090205460ff166115415760405162461bcd60e51b815260206004820152601960248201527f616464726573732063616e277420626520696e636c75646564000000000000006044820152606401610937565b506001600160a01b03166000908152607260205260409020805460ff19169055600190565b60606037805461077590612cd8565b606c546000906001600160a01b031633146115d25760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520746178206f6666696365000000006044820152606401610937565b606e9190915590565b600061080533846108ca85604051806060016040528060258152602001612ef9602591393360009081526034602090815260408083206001600160a01b038d168452909152902054919061232c565b60006108053384846120fb565b606c546000906001600160a01b031633146116945760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520746178206f6666696365000000006044820152606401610937565b6071548360ff16106116fb5760405162461bcd60e51b815260206004820152602a60248201527f496e6465782068617320746f206c6f776572207468616e20636f756e74206f666044820152692074617820746965727360b01b6064820152608401610937565b8160718460ff168154811061126557611265612d68565b606a546001600160a01b031633146117785760405162461bcd60e51b8152602060048201526024808201527f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260448201526330ba37b960e11b6064820152608401610937565b6001600160a01b0381166117ce5760405162461bcd60e51b815260206004820152601460248201527f215f72657761726473506f6f6c416464726573730000000000000000000000006044820152606401610937565b606a805460ff60a01b1916600160a01b1790556109498169043c33c193756480000061257a565b606c546001600160a01b0316331461184f5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520746178206f6666696365000000006044820152606401610937565b606f54600160a01b900460ff16156118ce5760405162461bcd60e51b8152602060048201526024808201527f6175746f2063616c63756c617465207461782063616e6e6f7420626520656e6160448201527f626c6564000000000000000000000000000000000000000000000000000000006064820152608401610937565b612710811061191f5760405162461bcd60e51b815260206004820152601b60248201527f74617820657175616c206f722062696767657220746f203130302500000000006044820152606401610937565b606d55565b606a546001600160a01b0316331461198a5760405162461bcd60e51b8152602060048201526024808201527f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260448201526330ba37b960e11b6064820152608401610937565b606a54600160a01b900460ff16156119e45760405162461bcd60e51b815260206004820152601860248201527f6f6e6c792063616e2064697374726962757465206f6e636500000000000000006044820152606401610937565b6001600160a01b038116611a3a5760405162461bcd60e51b815260206004820152601760248201527f215f61697264726f7052657761726473416464726573730000000000000000006044820152606401610937565b50606a805460ff60a01b1916600160a01b179055565b606a546001600160a01b03163314611ab65760405162461bcd60e51b8152602060048201526024808201527f6f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260448201526330ba37b960e11b6064820152608401610937565b6001600160a01b038116611b0c5760405162461bcd60e51b815260206004820152601660248201527f215f72657761726473506f6f6c4c5041646472657373000000000000000000006044820152606401610937565b606a805460ff60a01b1916600160a01b17905561094981691da56a4b0835bf80000061257a565b606a546001600160a01b0316331480611b565750606c546001600160a01b031633145b611bb75760405162461bcd60e51b815260206004820152602c60248201527f43616c6c6572206973206e6f7420746865206f70657261746f72206f7220746860448201526b6520746178206f666669636560a01b6064820152608401610937565b6001600160a01b038116611c185760405162461bcd60e51b815260206004820152602260248201527f6f7261636c6520616464726573732063616e6e6f742062652030206164647265604482015261737360f01b6064820152608401610937565b606b80546001600160a01b0319166001600160a01b0392909216919091179055565b6038546001600160a01b03610100909104163314611c9a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610937565b6001600160a01b038116611cff5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610937565b61094981612689565b606c546001600160a01b03163314611d625760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f742074686520746178206f6666696365000000006044820152606401610937565b606f805460ff60a01b1916600160a01b179055565b6001600160a01b038316611df25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610937565b6001600160a01b038216611e535760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610937565b6001600160a01b0383811660008181526034602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b606b546040517f3ddac953000000000000000000000000000000000000000000000000000000008152306004820152670de0b6b3a764000060248201526000916001600160a01b031690633ddac95390604401602060405180830381865afa925050508015611f41575060408051601f3d908101601f19168201909252611f3e91810190612da3565b60015b611fb35760405162461bcd60e51b815260206004820152602a60248201527f44414f3a206661696c656420746f2066657463682044414f207072696365206660448201527f726f6d204f7261636c65000000000000000000000000000000000000000000006064820152608401610937565b71ffffffffffffffffffffffffffffffffffff16919050565b606f54600090600160a01b900460ff1615610cb5576000611ffa6001611ff160705490565b60ff169061273a565b90505b60708160ff168154811061201357612013612d68565b906000526020600020015483106120e55761271060718260ff168154811061203d5761203d612d68565b9060005260206000200154106120955760405162461bcd60e51b815260206004820152601b60248201527f74617820657175616c206f722062696767657220746f203130302500000000006044820152606401610937565b60718160ff16815481106120ab576120ab612d68565b9060005260206000200154606d8190555060718160ff16815481106120d2576120d2612d68565b9060005260206000200154915050919050565b6120ee81612dd7565b9050611ffd565b50919050565b6001600160a01b0383166121775760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610937565b6001600160a01b0382166121f35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610937565b61223081604051806060016040528060268152602001612e87602691396001600160a01b038616600090815260336020526040902054919061232c565b6001600160a01b03808516600090815260336020526040808220939093559084168152205461225f9082612660565b6001600160a01b0380841660008181526033602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611ea89085815260200190565b6000806122d76127106122d1606d548761277c90919063ffffffff16565b90612788565b905060006122e5858361267d565b905083156122fc576122f787836126fa565b612314565b606f546123149088906001600160a01b0316846120fb565b61231f8787836120fb565b5060019695505050505050565b600081848411156123505760405162461bcd60e51b81526004016109379190612b07565b505050900390565b6001600160a01b0381166123d45760405162461bcd60e51b815260206004820152602d60248201527f6f70657261746f723a207a65726f206164647265737320676976656e20666f7260448201527f206e6577206f70657261746f72000000000000000000000000000000000000006064820152608401610937565b6040516001600160a01b038216906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3606a80546001600160a01b0319166001600160a01b0392909216919091179055565b600054610100900460ff166124975760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610937565b606a80546001600160a01b031916331790556124b1612794565b606a546040516001600160a01b03909116906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3565b600054610100900460ff166125585760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610937565b6125628383612807565b6038805460ff191660ff929092169190911790555050565b6001600160a01b0382166125d05760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610937565b6035546125dd9082612660565b6035556001600160a01b0382166000908152603360205260409020546126039082612660565b6001600160a01b0383166000818152603360205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906126549085815260200190565b60405180910390a35050565b600061266c8284612df4565b9392505050565b6109493382612899565b600061266c8284612e0c565b603880546001600160a01b038381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061272382604051806060016040528060248152602001612ed5602491396108c386336106c6565b9050612730833383611d77565b610b988383612899565b600061266c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506129b9565b600061266c8284612e23565b600061266c8284612e42565b600054610100900460ff166127ff5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610937565b6113dc6129fa565b600054610100900460ff166128725760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610937565b8151612885906036906020850190612a6e565b508051610b98906037906020840190612a6e565b6001600160a01b0382166129155760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610937565b61295281604051806060016040528060228152602001612e65602291396001600160a01b038516600090815260336020526040902054919061232c565b6001600160a01b038316600090815260336020526040902055603554612978908261267d565b6035556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001612654565b60008360ff168360ff16111582906129e45760405162461bcd60e51b81526004016109379190612b07565b5060006129f18486612d45565b95945050505050565b600054610100900460ff16612a655760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610937565b6113dc33612689565b828054612a7a90612cd8565b90600052602060002090601f016020900481019282612a9c5760008555612ae2565b82601f10612ab557805160ff1916838001178555612ae2565b82800160010185558215612ae2579182015b82811115612ae2578251825591602001919060010190612ac7565b50612aee929150612af2565b5090565b5b80821115612aee5760008155600101612af3565b600060208083528351808285015260005b81811015612b3457858101830151858201604001528201612b18565b81811115612b46576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461094957600080fd5b60008060408385031215612b8457600080fd5b8235612b8f81612b5c565b946020939093013593505050565b600080600060608486031215612bb257600080fd5b8335612bbd81612b5c565b92506020840135612bcd81612b5c565b929592945050506040919091013590565b600060208284031215612bf057600080fd5b813561266c81612b5c565b60008060408385031215612c0e57600080fd5b823591506020830135612c2081612b5c565b809150509250929050565b600060208284031215612c3d57600080fd5b5035919050565b600080600060608486031215612c5957600080fd5b8335612c6481612b5c565b9250602084013591506040840135612c7b81612b5c565b809150509250925092565b60008060408385031215612c9957600080fd5b823560ff81168114612b8f57600080fd5b60008060408385031215612cbd57600080fd5b8235612cc881612b5c565b91506020830135612c2081612b5c565b600181811c90821680612cec57607f821691505b602082108114156120f557634e487b7160e01b600052602260045260246000fd5b600060208284031215612d1f57600080fd5b8151801515811461266c57600080fd5b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff841680821015612d5f57612d5f612d2f565b90039392505050565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff84168060ff03821115612d9b57612d9b612d2f565b019392505050565b600060208284031215612db557600080fd5b815171ffffffffffffffffffffffffffffffffffff8116811461266c57600080fd5b600060ff821680612dea57612dea612d2f565b6000190192915050565b60008219821115612e0757612e07612d2f565b500190565b600082821015612e1e57612e1e612d2f565b500390565b6000816000190483118215151615612e3d57612e3d612d2f565b500290565b600082612e5f57634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220809fba448b8e65e34f88cf680a5efaef9c27601637cd329d3e6555b86385894064736f6c634300080c0033
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.