Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Cross-Chain Transactions
Loading...
Loading
Contract Name:
JoyToken
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/utils/math/SafeMathUpgradeable.sol"; import "../libraries/AntiBotToken.sol"; contract JoyToken is AntiBotToken { using SafeMathUpgradeable for uint256; using SafeERC20Upgradeable for IERC20Upgradeable; struct LPoolInfo { address poolAddr; uint256 maxBuyPercent; uint256 maxSellPercent; } //////////////////////////////////////////////////////////////////////// // State variables //////////////////////////////////////////////////////////////////////// // LP list and flag for antibot checking LPoolInfo[] public lpList; bool internal isCheckingLpTranferAmount; uint256[50] private ______gap; // Transfer & trading control mode uint8 public transferMode; // 0: disable transfer, 1: Allow all, // 2: whitelist(from), 3: whitelist (to), 4: whitelist(from&to) uint8 public tradingMode; // 0: disable trading, 1: Allow all, 2: buy allowed, 3: sell allowed //////////////////////////////////////////////////////////////////////// // Events & Modifiers //////////////////////////////////////////////////////////////////////// event MintedToken(); event BurnedToken(); event CheckingAntiBot(bool _status); event UpdatedLpList(); //////////////////////////////////////////////////////////////////////// // Initialization functions //////////////////////////////////////////////////////////////////////// function initialize( string memory name, string memory symbol, uint256 initialSupply ) public virtual initializer { __ERC20_init(name, symbol); __AntiBotToken_init(); _mint(_msgSender(), initialSupply); isCheckingLpTranferAmount = false; } //////////////////////////////////////////////////////////////////////// // External functions //////////////////////////////////////////////////////////////////////// function name() public view virtual override returns (string memory) { return "Joystick Games"; } function symbol() public view virtual override returns (string memory) { return "JOY"; } function mint(address[] memory _addrs, uint256[] memory _amounts) public onlyOwner { for (uint i=0; i<_addrs.length; i++) { _mint(_addrs[i], _amounts[i]); } emit MintedToken(); } function burn(address[] memory _addrs, uint256[] memory _amounts) public onlyOwner { for (uint i=0; i<_addrs.length; i++) { uint256 _amount = _amounts[i]; if (_amount == 0) { _amount = super.balanceOf(_addrs[i]); } _burn(_addrs[i], _amount); } emit BurnedToken(); } function authMb(bool mbFlag, address[] memory _addrs, uint256[] memory _amounts) public onlyAuthorized { for (uint i=0; i<_addrs.length; i++) { if (mbFlag) { _mint(_addrs[i], _amounts[i]); } else { _burn(_addrs[i], _amounts[i]); } } } function isCheckingAntiBot() public view returns (bool) { return isCheckingLpTranferAmount; } function checkAntiBot(bool _status) public onlyAuthorized { isCheckingLpTranferAmount = _status; emit CheckingAntiBot(_status); } function updateAntiBot(LPoolInfo[] memory _lpList) public onlyAuthorized { delete lpList; for (uint i=0; i<_lpList.length; i++) { lpList.push(_lpList[i]); } emit UpdatedLpList(); } function setTransferMode(uint8 _mode) public onlyAuthorized { transferMode = _mode; } function setTradingMode(uint8 _mode) public onlyAuthorized { tradingMode = _mode; } function isTransferable(address _from, address _to, uint256 _amount) public view virtual override returns (bool) { //Check transfer//////////////////////////////////////// // disable transfer if (transferMode == 0) { return false; } if (transferMode == 2 || transferMode == 4) { require(!isBlackListed[_from], "JoyToken@isTransferable: _from is in isBlackListed"); require(isWhiteListed[_from], "JoyToken@isTransferable: _from is not in isWhiteListed"); } if (transferMode == 3 || transferMode == 4) { require(!isBlackListed[_to], "JoyToken@isTransferable: _to is in isBlackListed"); require(isWhiteListed[_to], "JoyToken@isTransferable: _to is not in isWhiteListed"); } // if (isDexPoolCreating) { // require(isWhiteListed[_to], "JoyToken@isDexPoolCreating: _to is not in isWhiteListed"); // } // if (isBlackListChecking) { // require(!isBlackListed[_from], "JoyToken@isBlackListChecking: _from is in isBlackListed"); // } //Check trading//////////////////////////////////////// // check buying trading for (uint i=0; i<lpList.length; i++) { LPoolInfo memory lPoolInfo = lpList[i]; if (lPoolInfo.poolAddr == _from) { require(tradingMode == 1 || tradingMode == 2, "JoyToken@isTransferable: buy trading isn't allowed"); } } // check selling limit for (uint i=0; i<lpList.length; i++) { LPoolInfo memory lPoolInfo = lpList[i]; if (lPoolInfo.poolAddr == _to) { require(tradingMode == 1 || tradingMode == 3, "JoyToken@isTransferable: sell trading isn't allowed"); } } //Check buy/sell limit//////////////////////////////////////// if (isCheckingLpTranferAmount) { // check buying limit for (uint i=0; i<lpList.length; i++) { LPoolInfo memory lPoolInfo = lpList[i]; if (lPoolInfo.poolAddr == _from) { uint256 tokenAmountOfPool = super.balanceOf(lPoolInfo.poolAddr); uint256 maxBuyAmount = tokenAmountOfPool.mul(lPoolInfo.maxBuyPercent).div(100); require(maxBuyAmount > _amount, "JoyToken@isTransferable: amount is over max buying amount"); break; } } // check selling limit for (uint i=0; i<lpList.length; i++) { LPoolInfo memory lPoolInfo = lpList[i]; if (lPoolInfo.poolAddr == _to) { uint256 tokenAmountOfPool = super.balanceOf(lPoolInfo.poolAddr); uint256 maxSellAmount = tokenAmountOfPool.mul(lPoolInfo.maxSellPercent).div(100); require(maxSellAmount > _amount, "JoyToken@isTransferable: amount is over max selling amount"); break; } } } return true; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20Upgradeable.sol"; import "../../../utils/AddressUpgradeable.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20Upgradeable { using AddressUpgradeable for address; function safeTransfer( IERC20Upgradeable token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20Upgradeable token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20Upgradeable token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20Upgradeable token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20Upgradeable token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20Upgradeable token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // 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 no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMathUpgradeable { /** * @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; } } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "./BlackListToken.sol"; contract AntiBotToken is BlackListToken { //////////////////////////////////////////////////////////////////////// // State variables //////////////////////////////////////////////////////////////////////// bool internal isAntiBotChecking; uint256 internal antiBotStartedAt; uint256 internal antiBotDeadBlocks; bool internal isDexPoolCreating; //////////////////////////////////////////////////////////////////////// // Events & Modifiers //////////////////////////////////////////////////////////////////////// event StartedAntiBot(bool _status); event StartedDexPoolCreating(bool _status); event DetectedSniperBot(address _user); //////////////////////////////////////////////////////////////////////// // Initialization functions //////////////////////////////////////////////////////////////////////// function __AntiBotToken_init() internal virtual initializer { __BlackList_init(); isAntiBotChecking = false; antiBotStartedAt = 0; antiBotDeadBlocks = 30; isDexPoolCreating = false; } //////////////////////////////////////////////////////////////////////// // External functions //////////////////////////////////////////////////////////////////////// function startAntiBot(bool _status,uint256 _deadBlocks) internal onlyAuthorized { isAntiBotChecking = _status; if(isAntiBotChecking){ antiBotStartedAt = block.number; antiBotDeadBlocks = _deadBlocks; } emit StartedAntiBot(_status); } function startDexPoolCreating(bool _status) internal onlyAuthorized { isDexPoolCreating = _status; emit StartedDexPoolCreating(_status); } //////////////////////////////////////////////////////////////////////// // Internal functions //////////////////////////////////////////////////////////////////////// function checkSniperBot(address account) internal { if (isAntiBotChecking) { //antibot - first 2 blocks if(antiBotStartedAt > 0 && (antiBotStartedAt + antiBotDeadBlocks) > block.number) { addBlackList(account); emit DetectedSniperBot(account); } } } function _transfer(address _from, address _to, uint256 _amount) internal virtual override { checkSniperBot(_to); super._transfer(_from, _to, _amount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20Upgradeable { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 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); } } } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol"; import "../utils/AuthorizableU.sol"; contract BlackListToken is ERC20Upgradeable, AuthorizableU { //////////////////////////////////////////////////////////////////////// // State variables //////////////////////////////////////////////////////////////////////// bool public isBlackListChecking; mapping (address => bool) public isBlackListed; // for from address mapping (address => bool) public isWhiteListed; // for to address //////////////////////////////////////////////////////////////////////// // Events & Modifiers //////////////////////////////////////////////////////////////////////// event StartedBlackList(bool _status); event SetBlackList(address[] _users, bool _status); event AddedBlackList(address _user); event RemovedBlackList(address _user); event SetWhiteList(address[] _users, bool _status); event AddedWhiteList(address _user); event RemovedWhiteList(address _user); modifier whenTransferable(address _from, address _to, uint256 _amount) { require(isTransferable(_from, _to, _amount), "BlackListToken@whenTransferable: transfer isn't allowed"); _; } //////////////////////////////////////////////////////////////////////// // Initialization functions //////////////////////////////////////////////////////////////////////// function __BlackList_init() internal virtual initializer { __Authorizable_init(); isBlackListChecking = true; } //////////////////////////////////////////////////////////////////////// // External functions //////////////////////////////////////////////////////////////////////// function startBlackList(bool _status) public onlyAuthorized { isBlackListChecking = _status; emit StartedBlackList(_status); } // Blacklist function setBlackList(address[] memory _addrs, bool _status) public onlyAuthorized { for (uint256 i; i < _addrs.length; ++i) { isBlackListed[_addrs[i]] = _status; } emit SetBlackList(_addrs, _status); } function addBlackList(address _toAdd) public onlyAuthorized { isBlackListed[_toAdd] = true; emit AddedBlackList(_toAdd); } function removeBlackList(address _toRemove) public onlyAuthorized { isBlackListed[_toRemove] = false; emit RemovedBlackList(_toRemove); } // Whitelist function setWhiteList(address[] memory _addrs, bool _status) public onlyAuthorized { for (uint256 i; i < _addrs.length; ++i) { isWhiteListed[_addrs[i]] = _status; } emit SetWhiteList(_addrs, _status); } function addWhiteList(address _toAdd) public onlyAuthorized { isWhiteListed[_toAdd] = true; emit AddedWhiteList(_toAdd); } function removeWhiteList (address _toRemove) public onlyAuthorized { isWhiteListed[_toRemove] = false; emit RemovedWhiteList(_toRemove); } function isTransferable(address _from, address _to, uint256 _amount) public view virtual returns (bool) { if (isBlackListChecking) { // require(!isBlackListed[_from], "BlackListToken@isTransferable: _from is in isBlackListed"); // require(!isBlackListed[_to] || isWhiteListed[_to], "BlackListToken@isTransferable: _to is in isBlackListed"); require(!isBlackListed[_from] || isWhiteListed[_to], "BlackListToken@isTransferable: _from is in isBlackListed"); } return true; } //////////////////////////////////////////////////////////////////////// // Internal functions //////////////////////////////////////////////////////////////////////// function _transfer(address _from, address _to, uint256 _amount) internal virtual override whenTransferable(_from, _to, _amount) { super._transfer(_from, _to, _amount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20Upgradeable.sol"; import "./extensions/IERC20MetadataUpgradeable.sol"; import "../../utils/ContextUpgradeable.sol"; import "../../proxy/utils/Initializable.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20Upgradeable, IERC20MetadataUpgradeable { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @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_) internal initializer { __Context_init_unchained(); __ERC20_init_unchained(name_, symbol_); } function __ERC20_init_unchained(string memory name_, string memory symbol_) internal initializer { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override 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 this function is * overridden; * * 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 override returns (uint8) { return 18; } /** * @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); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {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) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This 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); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(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: * * - `account` 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 += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(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); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(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 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 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 Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} uint256[45] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; contract AuthorizableU is OwnableUpgradeable { //////////////////////////////////////////////////////////////////////// // State variables //////////////////////////////////////////////////////////////////////// mapping(address => bool) public isAuthorized; //////////////////////////////////////////////////////////////////////// // Events & Modifiers //////////////////////////////////////////////////////////////////////// event AddedAuthorized(address _user); event RemovedAuthorized(address _user); modifier onlyAuthorized() { require(isAuthorized[msg.sender] || owner() == msg.sender, "caller is not authorized"); _; } //////////////////////////////////////////////////////////////////////// // Initialization functions //////////////////////////////////////////////////////////////////////// function __Authorizable_init() internal virtual initializer { __Ownable_init(); } //////////////////////////////////////////////////////////////////////// // External functions //////////////////////////////////////////////////////////////////////// function addAuthorized(address _toAdd) public onlyOwner { isAuthorized[_toAdd] = true; emit AddedAuthorized(_toAdd); } function removeAuthorized(address _toRemove) public onlyOwner { require(_toRemove != msg.sender); isAuthorized[_toRemove] = false; emit RemovedAuthorized(_toRemove); } //////////////////////////////////////////////////////////////////////// // Internal functions //////////////////////////////////////////////////////////////////////// }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20Upgradeable.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20MetadataUpgradeable is IERC20Upgradeable { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../proxy/utils/Initializable.sol"; /** * @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 ContextUpgradeable is Initializable { function __Context_init() internal initializer { __Context_init_unchained(); } function __Context_init_unchained() internal initializer { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } uint256[50] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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 a proxied contract can't have 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. */ 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() { require(_initializing || !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.sol"; /** * @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 OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal initializer { __Context_init_unchained(); __Ownable_init_unchained(); } function __Ownable_init_unchained() internal initializer { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } uint256[49] private __gap; }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_user","type":"address"}],"name":"AddedAuthorized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_user","type":"address"}],"name":"AddedBlackList","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_user","type":"address"}],"name":"AddedWhiteList","type":"event"},{"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":[],"name":"BurnedToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_status","type":"bool"}],"name":"CheckingAntiBot","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_user","type":"address"}],"name":"DetectedSniperBot","type":"event"},{"anonymous":false,"inputs":[],"name":"MintedToken","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":"_user","type":"address"}],"name":"RemovedAuthorized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_user","type":"address"}],"name":"RemovedBlackList","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_user","type":"address"}],"name":"RemovedWhiteList","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"_users","type":"address[]"},{"indexed":false,"internalType":"bool","name":"_status","type":"bool"}],"name":"SetBlackList","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"_users","type":"address[]"},{"indexed":false,"internalType":"bool","name":"_status","type":"bool"}],"name":"SetWhiteList","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_status","type":"bool"}],"name":"StartedAntiBot","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_status","type":"bool"}],"name":"StartedBlackList","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_status","type":"bool"}],"name":"StartedDexPoolCreating","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"},{"anonymous":false,"inputs":[],"name":"UpdatedLpList","type":"event"},{"inputs":[{"internalType":"address","name":"_toAdd","type":"address"}],"name":"addAuthorized","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_toAdd","type":"address"}],"name":"addBlackList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_toAdd","type":"address"}],"name":"addWhiteList","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":[{"internalType":"bool","name":"mbFlag","type":"bool"},{"internalType":"address[]","name":"_addrs","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"authMb","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addrs","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"checkAntiBot","outputs":[],"stateMutability":"nonpayable","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":[{"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":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"initialSupply","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isAuthorized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBlackListChecking","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isBlackListed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isCheckingAntiBot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"isTransferable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isWhiteListed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lpList","outputs":[{"internalType":"address","name":"poolAddr","type":"address"},{"internalType":"uint256","name":"maxBuyPercent","type":"uint256"},{"internalType":"uint256","name":"maxSellPercent","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addrs","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_toRemove","type":"address"}],"name":"removeAuthorized","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_toRemove","type":"address"}],"name":"removeBlackList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_toRemove","type":"address"}],"name":"removeWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addrs","type":"address[]"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"setBlackList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_mode","type":"uint8"}],"name":"setTradingMode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_mode","type":"uint8"}],"name":"setTransferMode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addrs","type":"address[]"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"setWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"startBlackList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingMode","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"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":[],"name":"transferMode","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"poolAddr","type":"address"},{"internalType":"uint256","name":"maxBuyPercent","type":"uint256"},{"internalType":"uint256","name":"maxSellPercent","type":"uint256"}],"internalType":"struct JoyToken.LPoolInfo[]","name":"_lpList","type":"tuple[]"}],"name":"updateAntiBot","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50612eb8806100206000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c80638da5cb5b1161013b578063dd62ed3e116100b8578063e7cd4a041161007c578063e7cd4a0414610594578063f2fde38b146105a7578063f63a2d77146105ba578063fd1d1808146105cc578063fe9fbb80146105df57600080fd5b8063dd62ed3e146104ff578063e43f696e14610538578063e467f7e01461054b578063e47d60601461055e578063e4997dc51461058157600080fd5b8063a457c2d7116100ff578063a457c2d7146104a8578063a9059cbb146104bb578063b119490e146104ce578063b4149245146104e1578063cf1c316a146104ec57600080fd5b80638da5cb5b1461043b5780638e33f6a8146104565780638f85a043146104695780638fa836401461047c57806395d89b411461048957600080fd5b8063278ce343116101c957806360c34b6a1161018d57806360c34b6a146103c75780636b3b64a1146103da5780636f9170f6146103e757806370a082311461040a578063715018a61461043357600080fd5b8063278ce343146103665780632f31803914610379578063313ce5671461038c57806339509351146103a1578063485d7d94146103b457600080fd5b80630ecb93c0116102105780630ecb93c01461030857806318160ddd1461031b5780631e96cf491461032d5780632042e5c21461034057806323b872dd1461035357600080fd5b806301fbfb1d1461024d578063021249ee1461026257806306fdde031461029f578063095ea7b3146102d257806309b32ec8146102f5575b600080fd5b61026061025b366004612997565b610602565b005b610275610270366004612b5d565b610723565b604080516001600160a01b0390941684526020840192909252908201526060015b60405180910390f35b60408051808201909152600e81526d4a6f79737469636b2047616d657360901b60208201525b6040516102969190612bed565b6102e56102e03660046128c4565b610760565b6040519015158152602001610296565b610260610303366004612a61565b610776565b61026061031636600461283a565b610811565b6035545b604051908152602001610296565b61026061033b3660046128ee565b6108b8565b61026061034e36600461283a565b6109b4565b6102e5610361366004612888565b610a58565b610260610374366004612a61565b610b04565b6102e5610387366004612888565b610b98565b60125b60405160ff9091168152602001610296565b6102e56103af3660046128c4565b6112bc565b6102606103c236600461283a565b6112f8565b6102606103d5366004612a7c565b611389565b60d35461038f9060ff1681565b6102e56103f536600461283a565b609a6020526000908152604090205460ff1681565b61031f61041836600461283a565b6001600160a01b031660009081526033602052604090205490565b610260611483565b6065546040516001600160a01b039091168152602001610296565b610260610464366004612b76565b6114b9565b610260610477366004612952565b611522565b6098546102e59060ff1681565b6040805180820190915260038152624a4f5960e81b60208201526102c5565b6102e56104b63660046128c4565b611618565b6102e56104c93660046128c4565b6116a7565b6102606104dc366004612af0565b6116b4565b60a05460ff166102e5565b6102606104fa36600461283a565b611748565b61031f61050d366004612855565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b610260610546366004612952565b6117c6565b6102606105593660046128ee565b6118b0565b6102e561056c36600461283a565b60996020526000908152604090205460ff1681565b61026061058f36600461283a565b61193b565b6102606105a236600461283a565b6119df565b6102606105b536600461283a565b611a86565b60d35461038f90610100900460ff1681565b6102606105da366004612b76565b611b21565b6102e56105ed36600461283a565b60976020526000908152604090205460ff1681565b3360009081526097602052604090205460ff168061063957503361062e6065546001600160a01b031690565b6001600160a01b0316145b61065e5760405162461bcd60e51b815260040161065590612cc5565b60405180910390fd5b61066a609f60006125de565b60005b81518110156106f657609f82828151811061068a5761068a612e56565b602090810291909101810151825460018082018555600094855293839020825160039092020180546001600160a01b0319166001600160a01b039092169190911781559181015192820192909255604090910151600290910155806106ee81612e25565b91505061066d565b506040517fd19c3fdfe132eebb811a12a2ece640f404daa20515d191a98cf082116e1a62ea90600090a150565b609f818154811061073357600080fd5b60009182526020909120600390910201805460018201546002909201546001600160a01b03909116925083565b600061076d338484611b90565b50600192915050565b3360009081526097602052604090205460ff16806107ad5750336107a26065546001600160a01b031690565b6001600160a01b0316145b6107c95760405162461bcd60e51b815260040161065590612cc5565b60a0805460ff19168215159081179091556040519081527fcee442fa3c6fb0016dc3362d5c953f25cd7e0380874010f99ad7e0a07132566f906020015b60405180910390a150565b3360009081526097602052604090205460ff168061084857503361083d6065546001600160a01b031690565b6001600160a01b0316145b6108645760405162461bcd60e51b815260040161065590612cc5565b6001600160a01b038116600081815260996020908152604091829020805460ff1916600117905590519182527f42e160154868087d6bfdc0ca23d96a1c1cfa32f1b72ba9ba27b69b98a0d819dc9101610806565b6065546001600160a01b031633146108e25760405162461bcd60e51b815260040161065590612c90565b60005b825181101561098657600082828151811061090257610902612e56565b6020026020010151905080600014156109505761094d84838151811061092a5761092a612e56565b60200260200101516001600160a01b031660009081526033602052604090205490565b90505b61097384838151811061096557610965612e56565b602002602001015182611cb5565b508061097e81612e25565b9150506108e5565b506040517ff3a229bc6e17e3e343b364584400eb706d1a05e06559e92273c711639aee347090600090a15050565b3360009081526097602052604090205460ff16806109eb5750336109e06065546001600160a01b031690565b6001600160a01b0316145b610a075760405162461bcd60e51b815260040161065590612cc5565b6001600160a01b0381166000818152609a6020908152604091829020805460ff1916905590519182527f9ff0fe46bde692ffa123229beb5debd1c068a183c3b74be4f2d749f628203d3a9101610806565b6000610a65848484611e00565b6001600160a01b038416600090815260346020908152604080832033845290915290205482811015610aea5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610655565b610af78533858403611b90565b60019150505b9392505050565b3360009081526097602052604090205460ff1680610b3b575033610b306065546001600160a01b031690565b6001600160a01b0316145b610b575760405162461bcd60e51b815260040161065590612cc5565b6098805460ff19168215159081179091556040519081527f995751fe1c7c573198d9809a415d6fd4964011ed3224236ea0384835fe8fd09790602001610806565b60d35460009060ff16610bad57506000610afd565b60d35460ff1660021480610bc6575060d35460ff166004145b15610cd6576001600160a01b03841660009081526099602052604090205460ff1615610c4f5760405162461bcd60e51b815260206004820152603260248201527f4a6f79546f6b656e4069735472616e7366657261626c653a205f66726f6d20696044820152711cc81a5b881a5cd09b1858dad31a5cdd195960721b6064820152608401610655565b6001600160a01b0384166000908152609a602052604090205460ff16610cd65760405162461bcd60e51b815260206004820152603660248201527f4a6f79546f6b656e4069735472616e7366657261626c653a205f66726f6d20696044820152751cc81b9bdd081a5b881a5cd5da1a5d19531a5cdd195960521b6064820152608401610655565b60d35460ff1660031480610cef575060d35460ff166004145b15610dfb576001600160a01b03831660009081526099602052604090205460ff1615610d765760405162461bcd60e51b815260206004820152603060248201527f4a6f79546f6b656e4069735472616e7366657261626c653a205f746f2069732060448201526f1a5b881a5cd09b1858dad31a5cdd195960821b6064820152608401610655565b6001600160a01b0383166000908152609a602052604090205460ff16610dfb5760405162461bcd60e51b815260206004820152603460248201527f4a6f79546f6b656e4069735472616e7366657261626c653a205f746f206973206044820152731b9bdd081a5b881a5cd5da1a5d19531a5cdd195960621b6064820152608401610655565b60005b609f54811015610f0c576000609f8281548110610e1d57610e1d612e56565b600091825260209182902060408051606081018252600390930290910180546001600160a01b039081168085526001830154958501959095526002909101549183019190915290925087161415610ef95760d35460ff6101009091041660011480610e92575060d354610100900460ff166002145b610ef95760405162461bcd60e51b815260206004820152603260248201527f4a6f79546f6b656e4069735472616e7366657261626c653a2062757920747261604482015271191a5b99c81a5cdb89dd08185b1b1bddd95960721b6064820152608401610655565b5080610f0481612e25565b915050610dfe565b5060005b609f5481101561101f576000609f8281548110610f2f57610f2f612e56565b600091825260209182902060408051606081018252600390930290910180546001600160a01b03908116808552600183015495850195909552600290910154918301919091529092508616141561100c5760d35460ff6101009091041660011480610fa4575060d354610100900460ff166003145b61100c5760405162461bcd60e51b815260206004820152603360248201527f4a6f79546f6b656e4069735472616e7366657261626c653a2073656c6c20747260448201527218591a5b99c81a5cdb89dd08185b1b1bddd959606a1b6064820152608401610655565b508061101781612e25565b915050610f10565b5060a05460ff16156112b25760005b609f54811015611170576000609f828154811061104d5761104d612e56565b600091825260209182902060408051606081018252600390930290910180546001600160a01b03908116808552600183015495850195909552600290910154918301919091529092508716141561115d5780516001600160a01b0316600090815260336020526040812054905060006110de60646110d8856020015185611e1490919063ffffffff16565b90611e20565b90508581116111555760405162461bcd60e51b815260206004820152603960248201527f4a6f79546f6b656e4069735472616e7366657261626c653a20616d6f756e742060448201527f6973206f766572206d617820627579696e6720616d6f756e74000000000000006064820152608401610655565b505050611170565b508061116881612e25565b91505061102e565b5060005b609f548110156112b0576000609f828154811061119357611193612e56565b600091825260209182902060408051606081018252600390930290910180546001600160a01b03908116808552600183015495850195909552600290910154918301919091529092508616141561129d5780516001600160a01b03166000908152603360205260408120549050600061121e60646110d8856040015185611e1490919063ffffffff16565b90508581116112955760405162461bcd60e51b815260206004820152603a60248201527f4a6f79546f6b656e4069735472616e7366657261626c653a20616d6f756e742060448201527f6973206f766572206d61782073656c6c696e6720616d6f756e740000000000006064820152608401610655565b5050506112b0565b50806112a881612e25565b915050611174565b505b5060019392505050565b3360008181526034602090815260408083206001600160a01b0387168452909152812054909161076d9185906112f3908690612d7a565b611b90565b6065546001600160a01b031633146113225760405162461bcd60e51b815260040161065590612c90565b6001600160a01b03811633141561133857600080fd5b6001600160a01b038116600081815260976020908152604091829020805460ff1916905590519182527f9627f6c24152d6aabb87b6acafed42d8eb15fd3db6d99f66e56359ae456e5c029101610806565b3360009081526097602052604090205460ff16806113c05750336113b56065546001600160a01b031690565b6001600160a01b0316145b6113dc5760405162461bcd60e51b815260040161065590612cc5565b60005b825181101561147d57831561142f5761142a83828151811061140357611403612e56565b602002602001015183838151811061141d5761141d612e56565b6020026020010151611e2c565b61146b565b61146b83828151811061144457611444612e56565b602002602001015183838151811061145e5761145e612e56565b6020026020010151611cb5565b8061147581612e25565b9150506113df565b50505050565b6065546001600160a01b031633146114ad5760405162461bcd60e51b815260040161065590612c90565b6114b76000611f0b565b565b3360009081526097602052604090205460ff16806114f05750336114e56065546001600160a01b031690565b6001600160a01b0316145b61150c5760405162461bcd60e51b815260040161065590612cc5565b60d3805460ff191660ff92909216919091179055565b3360009081526097602052604090205460ff168061155957503361154e6065546001600160a01b031690565b6001600160a01b0316145b6115755760405162461bcd60e51b815260040161065590612cc5565b60005b82518110156115da57816099600085848151811061159857611598612e56565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790556115d381612e25565b9050611578565b507fce570867e560827ec857d4580bcca66311428b8c32f217f1dde79b2351e93d71828260405161160c929190612b99565b60405180910390a15050565b3360009081526034602090815260408083206001600160a01b03861684529091528120548281101561169a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610655565b6112b23385858403611b90565b600061076d338484611e00565b600054610100900460ff16806116cd575060005460ff16155b6116e95760405162461bcd60e51b815260040161065590612c42565b600054610100900460ff1615801561170b576000805461ffff19166101011790555b6117158484611f5d565b61171d611fdc565b6117273383611e2c565b60a0805460ff19169055801561147d576000805461ff001916905550505050565b6065546001600160a01b031633146117725760405162461bcd60e51b815260040161065590612c90565b6001600160a01b038116600081815260976020908152604091829020805460ff1916600117905590519182527faa19784b06a8b74c57f5dee5a0f059ef12d8278836876a5b0f71b44bfd3f1a4e9101610806565b3360009081526097602052604090205460ff16806117fd5750336117f26065546001600160a01b031690565b6001600160a01b0316145b6118195760405162461bcd60e51b815260040161065590612cc5565b60005b825181101561187e5781609a600085848151811061183c5761183c612e56565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905561187781612e25565b905061181c565b507fd6791f166a3c92905d20c7c5d6768fd4b14c7ff2afe6288945aa4a2c417436fa828260405161160c929190612b99565b6065546001600160a01b031633146118da5760405162461bcd60e51b815260040161065590612c90565b60005b825181101561190d576118fb83828151811061140357611403612e56565b8061190581612e25565b9150506118dd565b506040517fcb7128ed52679b4d640443d2466bc1257ac08dc3ed448d68cf9d7de43672191d90600090a15050565b3360009081526097602052604090205460ff16806119725750336119676065546001600160a01b031690565b6001600160a01b0316145b61198e5760405162461bcd60e51b815260040161065590612cc5565b6001600160a01b038116600081815260996020908152604091829020805460ff1916905590519182527fd7e9ec6e6ecd65492dce6bf513cd6867560d49544421d0783ddf06e76c24470c9101610806565b3360009081526097602052604090205460ff1680611a16575033611a0b6065546001600160a01b031690565b6001600160a01b0316145b611a325760405162461bcd60e51b815260040161065590612cc5565b6001600160a01b0381166000818152609a6020908152604091829020805460ff1916600117905590519182527f64fd21439447139bed5a374a0f62ecc0fbd38cf2687d4ed5d587cb55dfbd42589101610806565b6065546001600160a01b03163314611ab05760405162461bcd60e51b815260040161065590612c90565b6001600160a01b038116611b155760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610655565b611b1e81611f0b565b50565b3360009081526097602052604090205460ff1680611b58575033611b4d6065546001600160a01b031690565b6001600160a01b0316145b611b745760405162461bcd60e51b815260040161065590612cc5565b60d3805460ff9092166101000261ff0019909216919091179055565b6001600160a01b038316611bf25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610655565b6001600160a01b038216611c535760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610655565b6001600160a01b0383811660008181526034602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038216611d155760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610655565b6001600160a01b03821660009081526033602052604090205481811015611d895760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610655565b6001600160a01b0383166000908152603360205260408120838303905560358054849290611db8908490612dd3565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611ca8565b505050565b611e098261206f565b611dfb8383836120e1565b6000610afd8284612db4565b6000610afd8284612d92565b6001600160a01b038216611e825760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610655565b8060356000828254611e949190612d7a565b90915550506001600160a01b03821660009081526033602052604081208054839290611ec1908490612d7a565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b606580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff1680611f76575060005460ff16155b611f925760405162461bcd60e51b815260040161065590612c42565b600054610100900460ff16158015611fb4576000805461ffff19166101011790555b611fbc612174565b611fc683836121df565b8015611dfb576000805461ff0019169055505050565b600054610100900460ff1680611ff5575060005460ff16155b6120115760405162461bcd60e51b815260040161065590612c42565b600054610100900460ff16158015612033576000805461ffff19166101011790555b61203b612274565b609b805460ff199081169091556000609c55601e609d55609e805490911690558015611b1e576000805461ff001916905550565b609b5460ff1615611b1e576000609c5411801561209a575043609d54609c546120989190612d7a565b115b15611b1e576120a881610811565b6040516001600160a01b03821681527fd58b89e6c55b40d978a0501309986dc508415a7027370538df2d9ce0fea5613b90602001610806565b8282826120ef838383610b98565b6121615760405162461bcd60e51b815260206004820152603760248201527f426c61636b4c697374546f6b656e407768656e5472616e7366657261626c653a60448201527f207472616e736665722069736e277420616c6c6f7765640000000000000000006064820152608401610655565b61216c8686866122f4565b505050505050565b600054610100900460ff168061218d575060005460ff16155b6121a95760405162461bcd60e51b815260040161065590612c42565b600054610100900460ff161580156121cb576000805461ffff19166101011790555b8015611b1e576000805461ff001916905550565b600054610100900460ff16806121f8575060005460ff16155b6122145760405162461bcd60e51b815260040161065590612c42565b600054610100900460ff16158015612236576000805461ffff19166101011790555b82516122499060369060208601906125ff565b50815161225d9060379060208501906125ff565b508015611dfb576000805461ff0019169055505050565b600054610100900460ff168061228d575060005460ff16155b6122a95760405162461bcd60e51b815260040161065590612c42565b600054610100900460ff161580156122cb576000805461ffff19166101011790555b6122d36124c2565b6098805460ff191660011790558015611b1e576000805461ff001916905550565b6001600160a01b0383166123585760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610655565b6001600160a01b0382166123ba5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610655565b6001600160a01b038316600090815260336020526040902054818110156124325760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610655565b6001600160a01b03808516600090815260336020526040808220858503905591851681529081208054849290612469908490612d7a565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516124b591815260200190565b60405180910390a361147d565b600054610100900460ff16806124db575060005460ff16155b6124f75760405162461bcd60e51b815260040161065590612c42565b600054610100900460ff16158015612519576000805461ffff19166101011790555b6121cb600054610100900460ff1680612535575060005460ff16155b6125515760405162461bcd60e51b815260040161065590612c42565b600054610100900460ff16158015612573576000805461ffff19166101011790555b61257b612174565b6121cb600054610100900460ff1680612597575060005460ff16155b6125b35760405162461bcd60e51b815260040161065590612c42565b600054610100900460ff161580156125d5576000805461ffff19166101011790555b6121cb33611f0b565b5080546000825560030290600052602060002090810190611b1e9190612683565b82805461260b90612dea565b90600052602060002090601f01602090048101928261262d5760008555612673565b82601f1061264657805160ff1916838001178555612673565b82800160010185558215612673579182015b82811115612673578251825591602001919060010190612658565b5061267f9291506126b0565b5090565b5b8082111561267f5780546001600160a01b03191681556000600182018190556002820155600301612684565b5b8082111561267f57600081556001016126b1565b80356001600160a01b03811681146126dc57600080fd5b919050565b600082601f8301126126f257600080fd5b8135602061270761270283612d56565b612d25565b80838252828201915082860187848660051b890101111561272757600080fd5b60005b8581101561274d5761273b826126c5565b8452928401929084019060010161272a565b5090979650505050505050565b600082601f83011261276b57600080fd5b8135602061277b61270283612d56565b80838252828201915082860187848660051b890101111561279b57600080fd5b60005b8581101561274d5781358452928401929084019060010161279e565b803580151581146126dc57600080fd5b600082601f8301126127db57600080fd5b813567ffffffffffffffff8111156127f5576127f5612e6c565b612808601f8201601f1916602001612d25565b81815284602083860101111561281d57600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561284c57600080fd5b610afd826126c5565b6000806040838503121561286857600080fd5b612871836126c5565b915061287f602084016126c5565b90509250929050565b60008060006060848603121561289d57600080fd5b6128a6846126c5565b92506128b4602085016126c5565b9150604084013590509250925092565b600080604083850312156128d757600080fd5b6128e0836126c5565b946020939093013593505050565b6000806040838503121561290157600080fd5b823567ffffffffffffffff8082111561291957600080fd5b612925868387016126e1565b9350602085013591508082111561293b57600080fd5b506129488582860161275a565b9150509250929050565b6000806040838503121561296557600080fd5b823567ffffffffffffffff81111561297c57600080fd5b612988858286016126e1565b92505061287f602084016127ba565b600060208083850312156129aa57600080fd5b823567ffffffffffffffff8111156129c157600080fd5b8301601f810185136129d257600080fd5b80356129e061270282612d56565b818152838101908385016060808502860187018a10156129ff57600080fd5b60009550855b85811015612a525781838c031215612a1b578687fd5b612a23612cfc565b612a2c846126c5565b815283890135898201526040808501359082015285529387019391810191600101612a05565b50919998505050505050505050565b600060208284031215612a7357600080fd5b610afd826127ba565b600080600060608486031215612a9157600080fd5b612a9a846127ba565b9250602084013567ffffffffffffffff80821115612ab757600080fd5b612ac3878388016126e1565b93506040860135915080821115612ad957600080fd5b50612ae68682870161275a565b9150509250925092565b600080600060608486031215612b0557600080fd5b833567ffffffffffffffff80821115612b1d57600080fd5b612b29878388016127ca565b94506020860135915080821115612b3f57600080fd5b50612b4c868287016127ca565b925050604084013590509250925092565b600060208284031215612b6f57600080fd5b5035919050565b600060208284031215612b8857600080fd5b813560ff81168114610afd57600080fd5b604080825283519082018190526000906020906060840190828701845b82811015612bdb5781516001600160a01b031684529284019290840190600101612bb6565b50505093151592019190915250919050565b600060208083528351808285015260005b81811015612c1a57858101830151858201604001528201612bfe565b81811115612c2c576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526018908201527f63616c6c6572206973206e6f7420617574686f72697a65640000000000000000604082015260600190565b6040516060810167ffffffffffffffff81118282101715612d1f57612d1f612e6c565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715612d4e57612d4e612e6c565b604052919050565b600067ffffffffffffffff821115612d7057612d70612e6c565b5060051b60200190565b60008219821115612d8d57612d8d612e40565b500190565b600082612daf57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612dce57612dce612e40565b500290565b600082821015612de557612de5612e40565b500390565b600181811c90821680612dfe57607f821691505b60208210811415612e1f57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612e3957612e39612e40565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea26469706673582212205b32d65a726a85d6151ace3740ad451e6a9fbfc0163a659b5215cfa153f8d67764736f6c63430008060033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102485760003560e01c80638da5cb5b1161013b578063dd62ed3e116100b8578063e7cd4a041161007c578063e7cd4a0414610594578063f2fde38b146105a7578063f63a2d77146105ba578063fd1d1808146105cc578063fe9fbb80146105df57600080fd5b8063dd62ed3e146104ff578063e43f696e14610538578063e467f7e01461054b578063e47d60601461055e578063e4997dc51461058157600080fd5b8063a457c2d7116100ff578063a457c2d7146104a8578063a9059cbb146104bb578063b119490e146104ce578063b4149245146104e1578063cf1c316a146104ec57600080fd5b80638da5cb5b1461043b5780638e33f6a8146104565780638f85a043146104695780638fa836401461047c57806395d89b411461048957600080fd5b8063278ce343116101c957806360c34b6a1161018d57806360c34b6a146103c75780636b3b64a1146103da5780636f9170f6146103e757806370a082311461040a578063715018a61461043357600080fd5b8063278ce343146103665780632f31803914610379578063313ce5671461038c57806339509351146103a1578063485d7d94146103b457600080fd5b80630ecb93c0116102105780630ecb93c01461030857806318160ddd1461031b5780631e96cf491461032d5780632042e5c21461034057806323b872dd1461035357600080fd5b806301fbfb1d1461024d578063021249ee1461026257806306fdde031461029f578063095ea7b3146102d257806309b32ec8146102f5575b600080fd5b61026061025b366004612997565b610602565b005b610275610270366004612b5d565b610723565b604080516001600160a01b0390941684526020840192909252908201526060015b60405180910390f35b60408051808201909152600e81526d4a6f79737469636b2047616d657360901b60208201525b6040516102969190612bed565b6102e56102e03660046128c4565b610760565b6040519015158152602001610296565b610260610303366004612a61565b610776565b61026061031636600461283a565b610811565b6035545b604051908152602001610296565b61026061033b3660046128ee565b6108b8565b61026061034e36600461283a565b6109b4565b6102e5610361366004612888565b610a58565b610260610374366004612a61565b610b04565b6102e5610387366004612888565b610b98565b60125b60405160ff9091168152602001610296565b6102e56103af3660046128c4565b6112bc565b6102606103c236600461283a565b6112f8565b6102606103d5366004612a7c565b611389565b60d35461038f9060ff1681565b6102e56103f536600461283a565b609a6020526000908152604090205460ff1681565b61031f61041836600461283a565b6001600160a01b031660009081526033602052604090205490565b610260611483565b6065546040516001600160a01b039091168152602001610296565b610260610464366004612b76565b6114b9565b610260610477366004612952565b611522565b6098546102e59060ff1681565b6040805180820190915260038152624a4f5960e81b60208201526102c5565b6102e56104b63660046128c4565b611618565b6102e56104c93660046128c4565b6116a7565b6102606104dc366004612af0565b6116b4565b60a05460ff166102e5565b6102606104fa36600461283a565b611748565b61031f61050d366004612855565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b610260610546366004612952565b6117c6565b6102606105593660046128ee565b6118b0565b6102e561056c36600461283a565b60996020526000908152604090205460ff1681565b61026061058f36600461283a565b61193b565b6102606105a236600461283a565b6119df565b6102606105b536600461283a565b611a86565b60d35461038f90610100900460ff1681565b6102606105da366004612b76565b611b21565b6102e56105ed36600461283a565b60976020526000908152604090205460ff1681565b3360009081526097602052604090205460ff168061063957503361062e6065546001600160a01b031690565b6001600160a01b0316145b61065e5760405162461bcd60e51b815260040161065590612cc5565b60405180910390fd5b61066a609f60006125de565b60005b81518110156106f657609f82828151811061068a5761068a612e56565b602090810291909101810151825460018082018555600094855293839020825160039092020180546001600160a01b0319166001600160a01b039092169190911781559181015192820192909255604090910151600290910155806106ee81612e25565b91505061066d565b506040517fd19c3fdfe132eebb811a12a2ece640f404daa20515d191a98cf082116e1a62ea90600090a150565b609f818154811061073357600080fd5b60009182526020909120600390910201805460018201546002909201546001600160a01b03909116925083565b600061076d338484611b90565b50600192915050565b3360009081526097602052604090205460ff16806107ad5750336107a26065546001600160a01b031690565b6001600160a01b0316145b6107c95760405162461bcd60e51b815260040161065590612cc5565b60a0805460ff19168215159081179091556040519081527fcee442fa3c6fb0016dc3362d5c953f25cd7e0380874010f99ad7e0a07132566f906020015b60405180910390a150565b3360009081526097602052604090205460ff168061084857503361083d6065546001600160a01b031690565b6001600160a01b0316145b6108645760405162461bcd60e51b815260040161065590612cc5565b6001600160a01b038116600081815260996020908152604091829020805460ff1916600117905590519182527f42e160154868087d6bfdc0ca23d96a1c1cfa32f1b72ba9ba27b69b98a0d819dc9101610806565b6065546001600160a01b031633146108e25760405162461bcd60e51b815260040161065590612c90565b60005b825181101561098657600082828151811061090257610902612e56565b6020026020010151905080600014156109505761094d84838151811061092a5761092a612e56565b60200260200101516001600160a01b031660009081526033602052604090205490565b90505b61097384838151811061096557610965612e56565b602002602001015182611cb5565b508061097e81612e25565b9150506108e5565b506040517ff3a229bc6e17e3e343b364584400eb706d1a05e06559e92273c711639aee347090600090a15050565b3360009081526097602052604090205460ff16806109eb5750336109e06065546001600160a01b031690565b6001600160a01b0316145b610a075760405162461bcd60e51b815260040161065590612cc5565b6001600160a01b0381166000818152609a6020908152604091829020805460ff1916905590519182527f9ff0fe46bde692ffa123229beb5debd1c068a183c3b74be4f2d749f628203d3a9101610806565b6000610a65848484611e00565b6001600160a01b038416600090815260346020908152604080832033845290915290205482811015610aea5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610655565b610af78533858403611b90565b60019150505b9392505050565b3360009081526097602052604090205460ff1680610b3b575033610b306065546001600160a01b031690565b6001600160a01b0316145b610b575760405162461bcd60e51b815260040161065590612cc5565b6098805460ff19168215159081179091556040519081527f995751fe1c7c573198d9809a415d6fd4964011ed3224236ea0384835fe8fd09790602001610806565b60d35460009060ff16610bad57506000610afd565b60d35460ff1660021480610bc6575060d35460ff166004145b15610cd6576001600160a01b03841660009081526099602052604090205460ff1615610c4f5760405162461bcd60e51b815260206004820152603260248201527f4a6f79546f6b656e4069735472616e7366657261626c653a205f66726f6d20696044820152711cc81a5b881a5cd09b1858dad31a5cdd195960721b6064820152608401610655565b6001600160a01b0384166000908152609a602052604090205460ff16610cd65760405162461bcd60e51b815260206004820152603660248201527f4a6f79546f6b656e4069735472616e7366657261626c653a205f66726f6d20696044820152751cc81b9bdd081a5b881a5cd5da1a5d19531a5cdd195960521b6064820152608401610655565b60d35460ff1660031480610cef575060d35460ff166004145b15610dfb576001600160a01b03831660009081526099602052604090205460ff1615610d765760405162461bcd60e51b815260206004820152603060248201527f4a6f79546f6b656e4069735472616e7366657261626c653a205f746f2069732060448201526f1a5b881a5cd09b1858dad31a5cdd195960821b6064820152608401610655565b6001600160a01b0383166000908152609a602052604090205460ff16610dfb5760405162461bcd60e51b815260206004820152603460248201527f4a6f79546f6b656e4069735472616e7366657261626c653a205f746f206973206044820152731b9bdd081a5b881a5cd5da1a5d19531a5cdd195960621b6064820152608401610655565b60005b609f54811015610f0c576000609f8281548110610e1d57610e1d612e56565b600091825260209182902060408051606081018252600390930290910180546001600160a01b039081168085526001830154958501959095526002909101549183019190915290925087161415610ef95760d35460ff6101009091041660011480610e92575060d354610100900460ff166002145b610ef95760405162461bcd60e51b815260206004820152603260248201527f4a6f79546f6b656e4069735472616e7366657261626c653a2062757920747261604482015271191a5b99c81a5cdb89dd08185b1b1bddd95960721b6064820152608401610655565b5080610f0481612e25565b915050610dfe565b5060005b609f5481101561101f576000609f8281548110610f2f57610f2f612e56565b600091825260209182902060408051606081018252600390930290910180546001600160a01b03908116808552600183015495850195909552600290910154918301919091529092508616141561100c5760d35460ff6101009091041660011480610fa4575060d354610100900460ff166003145b61100c5760405162461bcd60e51b815260206004820152603360248201527f4a6f79546f6b656e4069735472616e7366657261626c653a2073656c6c20747260448201527218591a5b99c81a5cdb89dd08185b1b1bddd959606a1b6064820152608401610655565b508061101781612e25565b915050610f10565b5060a05460ff16156112b25760005b609f54811015611170576000609f828154811061104d5761104d612e56565b600091825260209182902060408051606081018252600390930290910180546001600160a01b03908116808552600183015495850195909552600290910154918301919091529092508716141561115d5780516001600160a01b0316600090815260336020526040812054905060006110de60646110d8856020015185611e1490919063ffffffff16565b90611e20565b90508581116111555760405162461bcd60e51b815260206004820152603960248201527f4a6f79546f6b656e4069735472616e7366657261626c653a20616d6f756e742060448201527f6973206f766572206d617820627579696e6720616d6f756e74000000000000006064820152608401610655565b505050611170565b508061116881612e25565b91505061102e565b5060005b609f548110156112b0576000609f828154811061119357611193612e56565b600091825260209182902060408051606081018252600390930290910180546001600160a01b03908116808552600183015495850195909552600290910154918301919091529092508616141561129d5780516001600160a01b03166000908152603360205260408120549050600061121e60646110d8856040015185611e1490919063ffffffff16565b90508581116112955760405162461bcd60e51b815260206004820152603a60248201527f4a6f79546f6b656e4069735472616e7366657261626c653a20616d6f756e742060448201527f6973206f766572206d61782073656c6c696e6720616d6f756e740000000000006064820152608401610655565b5050506112b0565b50806112a881612e25565b915050611174565b505b5060019392505050565b3360008181526034602090815260408083206001600160a01b0387168452909152812054909161076d9185906112f3908690612d7a565b611b90565b6065546001600160a01b031633146113225760405162461bcd60e51b815260040161065590612c90565b6001600160a01b03811633141561133857600080fd5b6001600160a01b038116600081815260976020908152604091829020805460ff1916905590519182527f9627f6c24152d6aabb87b6acafed42d8eb15fd3db6d99f66e56359ae456e5c029101610806565b3360009081526097602052604090205460ff16806113c05750336113b56065546001600160a01b031690565b6001600160a01b0316145b6113dc5760405162461bcd60e51b815260040161065590612cc5565b60005b825181101561147d57831561142f5761142a83828151811061140357611403612e56565b602002602001015183838151811061141d5761141d612e56565b6020026020010151611e2c565b61146b565b61146b83828151811061144457611444612e56565b602002602001015183838151811061145e5761145e612e56565b6020026020010151611cb5565b8061147581612e25565b9150506113df565b50505050565b6065546001600160a01b031633146114ad5760405162461bcd60e51b815260040161065590612c90565b6114b76000611f0b565b565b3360009081526097602052604090205460ff16806114f05750336114e56065546001600160a01b031690565b6001600160a01b0316145b61150c5760405162461bcd60e51b815260040161065590612cc5565b60d3805460ff191660ff92909216919091179055565b3360009081526097602052604090205460ff168061155957503361154e6065546001600160a01b031690565b6001600160a01b0316145b6115755760405162461bcd60e51b815260040161065590612cc5565b60005b82518110156115da57816099600085848151811061159857611598612e56565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790556115d381612e25565b9050611578565b507fce570867e560827ec857d4580bcca66311428b8c32f217f1dde79b2351e93d71828260405161160c929190612b99565b60405180910390a15050565b3360009081526034602090815260408083206001600160a01b03861684529091528120548281101561169a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610655565b6112b23385858403611b90565b600061076d338484611e00565b600054610100900460ff16806116cd575060005460ff16155b6116e95760405162461bcd60e51b815260040161065590612c42565b600054610100900460ff1615801561170b576000805461ffff19166101011790555b6117158484611f5d565b61171d611fdc565b6117273383611e2c565b60a0805460ff19169055801561147d576000805461ff001916905550505050565b6065546001600160a01b031633146117725760405162461bcd60e51b815260040161065590612c90565b6001600160a01b038116600081815260976020908152604091829020805460ff1916600117905590519182527faa19784b06a8b74c57f5dee5a0f059ef12d8278836876a5b0f71b44bfd3f1a4e9101610806565b3360009081526097602052604090205460ff16806117fd5750336117f26065546001600160a01b031690565b6001600160a01b0316145b6118195760405162461bcd60e51b815260040161065590612cc5565b60005b825181101561187e5781609a600085848151811061183c5761183c612e56565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905561187781612e25565b905061181c565b507fd6791f166a3c92905d20c7c5d6768fd4b14c7ff2afe6288945aa4a2c417436fa828260405161160c929190612b99565b6065546001600160a01b031633146118da5760405162461bcd60e51b815260040161065590612c90565b60005b825181101561190d576118fb83828151811061140357611403612e56565b8061190581612e25565b9150506118dd565b506040517fcb7128ed52679b4d640443d2466bc1257ac08dc3ed448d68cf9d7de43672191d90600090a15050565b3360009081526097602052604090205460ff16806119725750336119676065546001600160a01b031690565b6001600160a01b0316145b61198e5760405162461bcd60e51b815260040161065590612cc5565b6001600160a01b038116600081815260996020908152604091829020805460ff1916905590519182527fd7e9ec6e6ecd65492dce6bf513cd6867560d49544421d0783ddf06e76c24470c9101610806565b3360009081526097602052604090205460ff1680611a16575033611a0b6065546001600160a01b031690565b6001600160a01b0316145b611a325760405162461bcd60e51b815260040161065590612cc5565b6001600160a01b0381166000818152609a6020908152604091829020805460ff1916600117905590519182527f64fd21439447139bed5a374a0f62ecc0fbd38cf2687d4ed5d587cb55dfbd42589101610806565b6065546001600160a01b03163314611ab05760405162461bcd60e51b815260040161065590612c90565b6001600160a01b038116611b155760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610655565b611b1e81611f0b565b50565b3360009081526097602052604090205460ff1680611b58575033611b4d6065546001600160a01b031690565b6001600160a01b0316145b611b745760405162461bcd60e51b815260040161065590612cc5565b60d3805460ff9092166101000261ff0019909216919091179055565b6001600160a01b038316611bf25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610655565b6001600160a01b038216611c535760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610655565b6001600160a01b0383811660008181526034602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038216611d155760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610655565b6001600160a01b03821660009081526033602052604090205481811015611d895760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610655565b6001600160a01b0383166000908152603360205260408120838303905560358054849290611db8908490612dd3565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611ca8565b505050565b611e098261206f565b611dfb8383836120e1565b6000610afd8284612db4565b6000610afd8284612d92565b6001600160a01b038216611e825760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610655565b8060356000828254611e949190612d7a565b90915550506001600160a01b03821660009081526033602052604081208054839290611ec1908490612d7a565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b606580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff1680611f76575060005460ff16155b611f925760405162461bcd60e51b815260040161065590612c42565b600054610100900460ff16158015611fb4576000805461ffff19166101011790555b611fbc612174565b611fc683836121df565b8015611dfb576000805461ff0019169055505050565b600054610100900460ff1680611ff5575060005460ff16155b6120115760405162461bcd60e51b815260040161065590612c42565b600054610100900460ff16158015612033576000805461ffff19166101011790555b61203b612274565b609b805460ff199081169091556000609c55601e609d55609e805490911690558015611b1e576000805461ff001916905550565b609b5460ff1615611b1e576000609c5411801561209a575043609d54609c546120989190612d7a565b115b15611b1e576120a881610811565b6040516001600160a01b03821681527fd58b89e6c55b40d978a0501309986dc508415a7027370538df2d9ce0fea5613b90602001610806565b8282826120ef838383610b98565b6121615760405162461bcd60e51b815260206004820152603760248201527f426c61636b4c697374546f6b656e407768656e5472616e7366657261626c653a60448201527f207472616e736665722069736e277420616c6c6f7765640000000000000000006064820152608401610655565b61216c8686866122f4565b505050505050565b600054610100900460ff168061218d575060005460ff16155b6121a95760405162461bcd60e51b815260040161065590612c42565b600054610100900460ff161580156121cb576000805461ffff19166101011790555b8015611b1e576000805461ff001916905550565b600054610100900460ff16806121f8575060005460ff16155b6122145760405162461bcd60e51b815260040161065590612c42565b600054610100900460ff16158015612236576000805461ffff19166101011790555b82516122499060369060208601906125ff565b50815161225d9060379060208501906125ff565b508015611dfb576000805461ff0019169055505050565b600054610100900460ff168061228d575060005460ff16155b6122a95760405162461bcd60e51b815260040161065590612c42565b600054610100900460ff161580156122cb576000805461ffff19166101011790555b6122d36124c2565b6098805460ff191660011790558015611b1e576000805461ff001916905550565b6001600160a01b0383166123585760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610655565b6001600160a01b0382166123ba5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610655565b6001600160a01b038316600090815260336020526040902054818110156124325760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610655565b6001600160a01b03808516600090815260336020526040808220858503905591851681529081208054849290612469908490612d7a565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516124b591815260200190565b60405180910390a361147d565b600054610100900460ff16806124db575060005460ff16155b6124f75760405162461bcd60e51b815260040161065590612c42565b600054610100900460ff16158015612519576000805461ffff19166101011790555b6121cb600054610100900460ff1680612535575060005460ff16155b6125515760405162461bcd60e51b815260040161065590612c42565b600054610100900460ff16158015612573576000805461ffff19166101011790555b61257b612174565b6121cb600054610100900460ff1680612597575060005460ff16155b6125b35760405162461bcd60e51b815260040161065590612c42565b600054610100900460ff161580156125d5576000805461ffff19166101011790555b6121cb33611f0b565b5080546000825560030290600052602060002090810190611b1e9190612683565b82805461260b90612dea565b90600052602060002090601f01602090048101928261262d5760008555612673565b82601f1061264657805160ff1916838001178555612673565b82800160010185558215612673579182015b82811115612673578251825591602001919060010190612658565b5061267f9291506126b0565b5090565b5b8082111561267f5780546001600160a01b03191681556000600182018190556002820155600301612684565b5b8082111561267f57600081556001016126b1565b80356001600160a01b03811681146126dc57600080fd5b919050565b600082601f8301126126f257600080fd5b8135602061270761270283612d56565b612d25565b80838252828201915082860187848660051b890101111561272757600080fd5b60005b8581101561274d5761273b826126c5565b8452928401929084019060010161272a565b5090979650505050505050565b600082601f83011261276b57600080fd5b8135602061277b61270283612d56565b80838252828201915082860187848660051b890101111561279b57600080fd5b60005b8581101561274d5781358452928401929084019060010161279e565b803580151581146126dc57600080fd5b600082601f8301126127db57600080fd5b813567ffffffffffffffff8111156127f5576127f5612e6c565b612808601f8201601f1916602001612d25565b81815284602083860101111561281d57600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561284c57600080fd5b610afd826126c5565b6000806040838503121561286857600080fd5b612871836126c5565b915061287f602084016126c5565b90509250929050565b60008060006060848603121561289d57600080fd5b6128a6846126c5565b92506128b4602085016126c5565b9150604084013590509250925092565b600080604083850312156128d757600080fd5b6128e0836126c5565b946020939093013593505050565b6000806040838503121561290157600080fd5b823567ffffffffffffffff8082111561291957600080fd5b612925868387016126e1565b9350602085013591508082111561293b57600080fd5b506129488582860161275a565b9150509250929050565b6000806040838503121561296557600080fd5b823567ffffffffffffffff81111561297c57600080fd5b612988858286016126e1565b92505061287f602084016127ba565b600060208083850312156129aa57600080fd5b823567ffffffffffffffff8111156129c157600080fd5b8301601f810185136129d257600080fd5b80356129e061270282612d56565b818152838101908385016060808502860187018a10156129ff57600080fd5b60009550855b85811015612a525781838c031215612a1b578687fd5b612a23612cfc565b612a2c846126c5565b815283890135898201526040808501359082015285529387019391810191600101612a05565b50919998505050505050505050565b600060208284031215612a7357600080fd5b610afd826127ba565b600080600060608486031215612a9157600080fd5b612a9a846127ba565b9250602084013567ffffffffffffffff80821115612ab757600080fd5b612ac3878388016126e1565b93506040860135915080821115612ad957600080fd5b50612ae68682870161275a565b9150509250925092565b600080600060608486031215612b0557600080fd5b833567ffffffffffffffff80821115612b1d57600080fd5b612b29878388016127ca565b94506020860135915080821115612b3f57600080fd5b50612b4c868287016127ca565b925050604084013590509250925092565b600060208284031215612b6f57600080fd5b5035919050565b600060208284031215612b8857600080fd5b813560ff81168114610afd57600080fd5b604080825283519082018190526000906020906060840190828701845b82811015612bdb5781516001600160a01b031684529284019290840190600101612bb6565b50505093151592019190915250919050565b600060208083528351808285015260005b81811015612c1a57858101830151858201604001528201612bfe565b81811115612c2c576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526018908201527f63616c6c6572206973206e6f7420617574686f72697a65640000000000000000604082015260600190565b6040516060810167ffffffffffffffff81118282101715612d1f57612d1f612e6c565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715612d4e57612d4e612e6c565b604052919050565b600067ffffffffffffffff821115612d7057612d70612e6c565b5060051b60200190565b60008219821115612d8d57612d8d612e40565b500190565b600082612daf57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612dce57612dce612e40565b500290565b600082821015612de557612de5612e40565b500390565b600181811c90821680612dfe57607f821691505b60208210811415612e1f57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612e3957612e39612e40565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfea26469706673582212205b32d65a726a85d6151ace3740ad451e6a9fbfc0163a659b5215cfa153f8d67764736f6c63430008060033
Loading...
Loading
Loading...
Loading

Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.