ERC-20
Overview
Max Total Supply
5,000,000 CAMEL
Holders
299
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CamelCoin
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 100 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "./CamelLiquidityProcessor.sol"; import "./CamelSandstormCollector.sol"; import "./CamelConverterProcessor.sol"; /// @title Camel Coin ERC20 Token /// @author metacrypt.org contract CamelCoin is ERC20Burnable, Pausable, AccessControl { mapping(address => bool) public _isExcludedFee; mapping(address => bool) public _isExcludedWallet; CamelLiquidityProcessor public liquidityProcessor; CamelSandstormCollector public sandstormProcessor; CamelConverterProcessor public converterProcessor; uint256 private constant FEE_DENOMINATOR = 100_000; uint256 public feeLiquidity; // % div FEE_DENOMINATOR uint256 public feeSandstorm; // % div FEE_DENOMINATOR uint256 public feeConverter; // % div FEE_DENOMINATOR uint256 private walletLimit; // % div FEE_DENOMINATOR bool public isTradingEnabled = true; bool private inSwapAndLiquify = false; constructor() ERC20("Camel Coin", "CAMEL") { _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); setFeeExclusion(msg.sender, true); setWalletExclusion(msg.sender, true); _mint(_msgSender(), 5_000_000 * (10**decimals())); setFees(4_000, 1_000, 4_000); // Initial fees } function setFeeProcessors( address payable _liquidityProcessor, address payable _sandstormProcessor, address payable _converterProcessor ) external onlyRole(DEFAULT_ADMIN_ROLE) { require(_liquidityProcessor != address(0), "Invalid liquidityProcessor"); require(_sandstormProcessor != address(0), "Invalid sandstormProcessor"); require(_converterProcessor != address(0), "Invalid converterProcessor"); liquidityProcessor = CamelLiquidityProcessor(_liquidityProcessor); sandstormProcessor = CamelSandstormCollector(_sandstormProcessor); converterProcessor = CamelConverterProcessor(_converterProcessor); setFeeExclusion(_liquidityProcessor, true); setFeeExclusion(_sandstormProcessor, true); setFeeExclusion(_converterProcessor, true); setWalletExclusion(_liquidityProcessor, true); setWalletExclusion(_sandstormProcessor, true); setWalletExclusion(_converterProcessor, true); setWalletExclusion(liquidityProcessor.uniswapPair(), true); } function setWalletLimit(uint256 _walletLimit) public onlyRole(DEFAULT_ADMIN_ROLE) { require(_walletLimit <= 25_000 && _walletLimit >= 0, "Wallet limit must be less than 25%"); walletLimit = _walletLimit; } function setFeeExclusion(address _wallet, bool _exclude) public onlyRole(DEFAULT_ADMIN_ROLE) { require(_wallet != address(0), "Invalid Wallet"); _isExcludedFee[_wallet] = _exclude; } function setFeeExclusion(address[] calldata _wallet, bool _exclude) public onlyRole(DEFAULT_ADMIN_ROLE) { for (uint256 i = 0; i < _wallet.length; i++) { setFeeExclusion(_wallet[i], _exclude); } } function setWalletExclusion(address _wallet, bool _exclude) public onlyRole(DEFAULT_ADMIN_ROLE) { require(_wallet != address(0), "Invalid Wallet"); _isExcludedWallet[_wallet] = _exclude; } function setWalletExclusion(address[] calldata _wallet, bool _exclude) public onlyRole(DEFAULT_ADMIN_ROLE) { for (uint256 i = 0; i < _wallet.length; i++) { setWalletExclusion(_wallet[i], _exclude); } } function setTradingEnabled(bool _enabled) external onlyRole(DEFAULT_ADMIN_ROLE) { isTradingEnabled = _enabled; } function setTransactionsPaused(bool _p) external onlyRole(DEFAULT_ADMIN_ROLE) { if (_p) { _pause(); } else { _unpause(); } } function setFees( uint256 _feeConverter, uint256 _feeLiquidity, uint256 _feeSandstorm ) public onlyRole(DEFAULT_ADMIN_ROLE) { require(_feeLiquidity <= 10_000 && _feeLiquidity >= 0, "feeLiquidity must be less than 10%"); require(_feeSandstorm <= 10_000 && _feeSandstorm >= 0, "feeSandstorm must be less than 10%"); require(_feeConverter <= 10_000 && _feeConverter >= 0, "feeConverter must be less than 10%"); feeLiquidity = _feeLiquidity; feeSandstorm = _feeSandstorm; feeConverter = _feeConverter; } function _transfer( address sender, address recipient, uint256 amount ) internal override { // Call processors if it's a sell tx if (recipient == liquidityProcessor.uniswapPair() && !inSwapAndLiquify) { inSwapAndLiquify = true; liquidityProcessor.processFunds(); sandstormProcessor.processFunds(); converterProcessor.processFunds(); inSwapAndLiquify = false; } if (_isExcludedFee[sender] || _isExcludedFee[recipient]) { ERC20._transfer(sender, recipient, amount); } else { uint256 splitLiquidity = (amount * feeLiquidity) / FEE_DENOMINATOR; uint256 splitSandstorm = (amount * feeSandstorm) / FEE_DENOMINATOR; uint256 splitConverter = (amount * feeConverter) / FEE_DENOMINATOR; ERC20._transfer(sender, address(liquidityProcessor), splitLiquidity); ERC20._transfer(sender, address(sandstormProcessor), splitSandstorm); ERC20._transfer(sender, address(converterProcessor), splitConverter); ERC20._transfer(sender, recipient, amount - splitLiquidity - splitSandstorm - splitConverter); } } function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual override whenNotPaused { super._beforeTokenTransfer(from, to, amount); if (!isTradingEnabled) { require(to != liquidityProcessor.uniswapPair() && from != liquidityProcessor.uniswapPair(), "Trading is disabled"); } } function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual override { super._afterTokenTransfer(from, to, amount); if (walletLimit != 0) { if (!_isExcludedWallet[from]) { require(balanceOf(from) <= (totalSupply() * walletLimit) / FEE_DENOMINATOR, "Sender wallet limit reached"); } if (!_isExcludedWallet[to]) { require(balanceOf(to) <= (totalSupply() * walletLimit) / FEE_DENOMINATOR, "Receiver wallet limit reached"); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 currentAllowance = allowance(account, _msgSender()); require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance"); unchecked { _approve(account, _msgSender(), currentAllowance - amount); } _burn(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.2; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "./CamelCoin.sol"; /// @title Camel Coin Liquidity Manager /// @author metacrypt.org contract CamelLiquidityProcessor is Ownable { CamelCoin public immutable camelCoin; IUniswapV2Router02 public immutable uniswapRouter; address public immutable uniswapPair; uint256 public minTokensToSwap; constructor(address _uniswapRouterAddress, address _camelCoinAddress) { require(_uniswapRouterAddress != address(0), "Uniswap Router can not be address(0)"); require(_camelCoinAddress != address(0), "Camel Coin can not be address(0)"); uniswapRouter = IUniswapV2Router02(_uniswapRouterAddress); camelCoin = CamelCoin(_camelCoinAddress); uniswapPair = IUniswapV2Factory(uniswapRouter.factory()).createPair(_camelCoinAddress, uniswapRouter.WETH()); setMinTokensToAdd(100 * (10**camelCoin.decimals())); } function setMinTokensToAdd(uint256 _minTokensToSwap) public onlyOwner { minTokensToSwap = _minTokensToSwap; } function addLiquidity() public { uint256 balanceToAdd = camelCoin.balanceOf(address(this)); camelCoin.approve(address(uniswapRouter), balanceToAdd); uniswapRouter.addLiquidityETH{value: address(this).balance}( address(camelCoin), balanceToAdd, 0, // slippage is unavoidable 0, // slippage is unavoidable address(this), block.timestamp + 1 ); } function autoSwap() internal returns (bool) { uint256 balanceToSwap = (camelCoin.balanceOf(address(this)) * 2) / 5; if (balanceToSwap < minTokensToSwap) { return false; } // Let's approve the exact swap amount. camelCoin.approve(address(uniswapRouter), balanceToSwap); // Router Path Token -> WETH address[] memory path = new address[](2); path[0] = address(camelCoin); path[1] = uniswapRouter.WETH(); uniswapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens( balanceToSwap, 0, // slippage is unavoidable path, address(this), block.timestamp + 1 ); return true; } function processFunds() external { if (autoSwap()) { addLiquidity(); } } function recoverToken(address tokenAddress, uint256 tokenAmount) external onlyOwner { require(tokenAddress != address(camelCoin), "Can not recover Camel Coin"); IERC20(tokenAddress).transfer(owner(), tokenAmount == 0 ? IERC20(tokenAddress).balanceOf(address(this)) : tokenAmount); } receive() external payable {} }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.2; import "@openzeppelin/contracts/access/Ownable.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "./CamelCoin.sol"; /// @title Camel Coin Sandstorm Collector /// @notice Collects and converts Camel Coins to ETH, holds until Camel Distributor is available. /// @author metacrypt.org contract CamelSandstormCollector is Ownable { CamelCoin public immutable camelCoin; IUniswapV2Router02 public immutable uniswapRouter; uint256 private minTokensToSwap; address payable camelDistributor; constructor(address _uniswapRouterAddress, address _camelCoinAddress) { uniswapRouter = IUniswapV2Router02(_uniswapRouterAddress); camelCoin = CamelCoin(_camelCoinAddress); setMinTokensToSwap(100 * (10**camelCoin.decimals())); } function setMinTokensToSwap(uint256 _minTokensToSwap) public onlyOwner { minTokensToSwap = _minTokensToSwap; } // The distributor can be set to address(0) to disable forwards. function setCamelDistributor(address payable _distributor) external onlyOwner { camelDistributor = _distributor; } function autoSwap() internal returns (bool) { uint256 balanceToSwap = camelCoin.balanceOf(address(this)); if (balanceToSwap < minTokensToSwap) { return false; } // Let's approve the exact swap amount. camelCoin.approve(address(uniswapRouter), balanceToSwap); // Router Path Token -> WETH address[] memory path = new address[](2); path[0] = address(camelCoin); path[1] = uniswapRouter.WETH(); uniswapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens( balanceToSwap, 0, // slippage is unavoidable path, address(this), block.timestamp + 1 ); return true; } function processFunds() external { autoSwap(); if (camelDistributor != address(0)) { (bool sent, ) = camelDistributor.call{value: address(this).balance}(""); require(sent, "CamelSandstormCollector: Transfer Failed"); } } receive() external payable {} }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.2; import "@openzeppelin/contracts/access/Ownable.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "./CamelCoin.sol"; /// @title Camel Coin Converter /// @notice Collects and converts Camel Coins to ETH, sends them to team & marketing wallets. /// @author metacrypt.org contract CamelConverterProcessor is Ownable { CamelCoin public immutable camelCoin; IUniswapV2Router02 public immutable uniswapRouter; uint256 private minTokensToSwap; address payable public teamWallet; address payable public marketingWallet; uint256 public splitTeam = 1; uint256 public splitMarketing = 1; constructor( address _uniswapRouterAddress, address _camelCoinAddress, address payable _teamWallet, address payable _marketingWallet ) { uniswapRouter = IUniswapV2Router02(_uniswapRouterAddress); camelCoin = CamelCoin(_camelCoinAddress); setMinTokensToSwap(100 * (10**camelCoin.decimals())); setDistributors(_teamWallet, _marketingWallet); } function setMinTokensToSwap(uint256 _minTokensToSwap) public onlyOwner { minTokensToSwap = _minTokensToSwap; } function setDistributors(address payable _teamWallet, address payable _marketingWallet) public onlyOwner { teamWallet = _teamWallet; marketingWallet = _marketingWallet; } function setSplits(uint256 _splitTeam, uint256 _splitMarketing) public onlyOwner { splitTeam = _splitTeam; splitMarketing = _splitMarketing; } function autoSwap() internal returns (bool) { uint256 balanceToSwap = camelCoin.balanceOf(address(this)); if (balanceToSwap < minTokensToSwap) { return false; } // Let's approve the exact swap amount. camelCoin.approve(address(uniswapRouter), balanceToSwap); // Router Path Token -> WETH address[] memory path = new address[](2); path[0] = address(camelCoin); path[1] = uniswapRouter.WETH(); uniswapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens( balanceToSwap, 0, // slippage is unavoidable path, address(this), block.timestamp + 1 ); return true; } function processFunds() external { autoSwap(); if (teamWallet != address(0) && marketingWallet != address(0) && address(this).balance > 0) { (bool sent1, ) = teamWallet.call{value: (address(this).balance * splitTeam) / (splitTeam + splitMarketing)}(""); (bool sent2, ) = marketingWallet.call{value: address(this).balance}(""); require(sent1 && sent2, "CamelConverterProcessor: Transfer Failed"); } } receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.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 ERC20 is Context, IERC20, IERC20Metadata { 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. */ constructor(string memory name_, string memory symbol_) { _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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `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 // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @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 // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.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 Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
{ "optimizer": { "enabled": true, "runs": 100 }, "metadata": { "bytecodeHash": "none" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedWallet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"converterProcessor","outputs":[{"internalType":"contract CamelConverterProcessor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeConverter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeSandstorm","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[],"name":"isTradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityProcessor","outputs":[{"internalType":"contract CamelLiquidityProcessor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sandstormProcessor","outputs":[{"internalType":"contract CamelSandstormCollector","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"bool","name":"_exclude","type":"bool"}],"name":"setFeeExclusion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_wallet","type":"address[]"},{"internalType":"bool","name":"_exclude","type":"bool"}],"name":"setFeeExclusion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_liquidityProcessor","type":"address"},{"internalType":"address payable","name":"_sandstormProcessor","type":"address"},{"internalType":"address payable","name":"_converterProcessor","type":"address"}],"name":"setFeeProcessors","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_feeConverter","type":"uint256"},{"internalType":"uint256","name":"_feeLiquidity","type":"uint256"},{"internalType":"uint256","name":"_feeSandstorm","type":"uint256"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setTradingEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_p","type":"bool"}],"name":"setTransactionsPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"bool","name":"_exclude","type":"bool"}],"name":"setWalletExclusion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_wallet","type":"address[]"},{"internalType":"bool","name":"_exclude","type":"bool"}],"name":"setWalletExclusion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_walletLimit","type":"uint256"}],"name":"setWalletLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[{"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"}]
Contract Creation Code
60806040526010805461ffff191660011790553480156200001f57600080fd5b50604080518082018252600a81526921b0b6b2b61021b7b4b760b11b60208083019182528351808501909452600584526410d053515360da1b9084015281519192916200006f9160039162000ac3565b5080516200008590600490602084019062000ac3565b50506005805460ff19169055506200009f600033620000f8565b620000ac33600162000183565b620000b93360016200020a565b620000e133620000cc6012600a62000c7c565b620000db90624c4b4062000c8d565b6200028d565b620000f2610fa06103e8816200038a565b62000e7b565b620001048282620004e5565b6200017f5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff191660011790556200013e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600062000191813362000512565b6001600160a01b038316620001de5760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a590815d85b1b195d60921b60448201526064015b60405180910390fd5b506001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b600062000218813362000512565b6001600160a01b038316620002615760405162461bcd60e51b815260206004820152600e60248201526d125b9d985b1a590815d85b1b195d60921b6044820152606401620001d5565b506001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b6001600160a01b038216620002e55760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620001d5565b620002f36000838362000595565b806002600082825462000307919062000caf565b90915550506001600160a01b038216600090815260208190526040812080548392906200033690849062000caf565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36200017f600083836200077a565b600062000398813362000512565b6127108311158015620003a9575060015b620004025760405162461bcd60e51b815260206004820152602260248201527f6665654c6971756964697479206d757374206265206c657373207468616e2031604482015261302560f01b6064820152608401620001d5565b612710821115801562000413575060015b6200046c5760405162461bcd60e51b815260206004820152602260248201527f66656553616e6473746f726d206d757374206265206c657373207468616e2031604482015261302560f01b6064820152608401620001d5565b61271084111580156200047d575060015b620004d65760405162461bcd60e51b815260206004820152602260248201527f666565436f6e766572746572206d757374206265206c657373207468616e2031604482015261302560f01b6064820152608401620001d5565b50600c91909155600d55600e55565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff165b92915050565b6200051e8282620004e5565b6200017f5762000544816001600160a01b031660146200090360201b62000f061760201c565b6200055a83602062000f0662000903821b17811c565b6040516020016200056d92919062000cfd565b60408051601f198184030181529082905262461bcd60e51b8252620001d59160040162000d76565b60055460ff1615620005dd5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401620001d5565b620005f58383836200077560201b620007cd1760201c565b60105460ff166200077557600960009054906101000a90046001600160a01b03166001600160a01b031663c816841b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000654573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200067a919062000dab565b6001600160a01b0316826001600160a01b031614158015620007275750600960009054906101000a90046001600160a01b03166001600160a01b031663c816841b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620006eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000711919062000dab565b6001600160a01b0316836001600160a01b031614155b620007755760405162461bcd60e51b815260206004820152601360248201527f54726164696e672069732064697361626c6564000000000000000000000000006044820152606401620001d5565b505050565b620007928383836200077560201b620007cd1760201c565b600f541562000775576001600160a01b03831660009081526008602052604090205460ff166200084f57600f54620186a090620007ce60025490565b620007da919062000c8d565b620007e6919062000dd6565b6001600160a01b03841660009081526020819052604090205411156200084f5760405162461bcd60e51b815260206004820152601b60248201527f53656e6465722077616c6c6574206c696d6974207265616368656400000000006044820152606401620001d5565b6001600160a01b03821660009081526008602052604090205460ff166200077557600f54620186a0906200088260025490565b6200088e919062000c8d565b6200089a919062000dd6565b6001600160a01b0383166000908152602081905260409020541115620007755760405162461bcd60e51b815260206004820152601d60248201527f52656365697665722077616c6c6574206c696d697420726561636865640000006044820152606401620001d5565b606060006200091483600262000c8d565b6200092190600262000caf565b6001600160401b038111156200093b576200093b62000df9565b6040519080825280601f01601f19166020018201604052801562000966576020820181803683370190505b509050600360fc1b8160008151811062000984576200098462000e0f565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110620009b657620009b662000e0f565b60200101906001600160f81b031916908160001a9053506000620009dc84600262000c8d565b620009e990600162000caf565b90505b600181111562000a6b576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811062000a215762000a2162000e0f565b1a60f81b82828151811062000a3a5762000a3a62000e0f565b60200101906001600160f81b031916908160001a90535060049490941c9362000a638162000e25565b9050620009ec565b50831562000abc5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401620001d5565b9392505050565b82805462000ad19062000e3f565b90600052602060002090601f01602090048101928262000af5576000855562000b40565b82601f1062000b1057805160ff191683800117855562000b40565b8280016001018555821562000b40579182015b8281111562000b4057825182559160200191906001019062000b23565b5062000b4e92915062000b52565b5090565b5b8082111562000b4e576000815560010162000b53565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000bc057816000190482111562000ba45762000ba462000b69565b8085161562000bb257918102915b93841c939080029062000b84565b509250929050565b60008262000bd9575060016200050c565b8162000be8575060006200050c565b816001811462000c01576002811462000c0c5762000c2c565b60019150506200050c565b60ff84111562000c205762000c2062000b69565b50506001821b6200050c565b5060208310610133831016604e8410600b841016171562000c51575081810a6200050c565b62000c5d838362000b7f565b806000190482111562000c745762000c7462000b69565b029392505050565b600062000abc60ff84168362000bc8565b600081600019048311821515161562000caa5762000caa62000b69565b500290565b6000821982111562000cc55762000cc562000b69565b500190565b60005b8381101562000ce757818101518382015260200162000ccd565b8381111562000cf7576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835162000d3781601785016020880162000cca565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835162000d6a81602884016020880162000cca565b01602801949350505050565b602081526000825180602084015262000d9781604085016020870162000cca565b601f01601f19169190910160400192915050565b60006020828403121562000dbe57600080fd5b81516001600160a01b038116811462000abc57600080fd5b60008262000df457634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008162000e375762000e3762000b69565b506000190190565b600181811c9082168062000e5457607f821691505b60208210810362000e7557634e487b7160e01b600052602260045260246000fd5b50919050565b6122378062000e8b6000396000f3fe608060405234801561001057600080fd5b506004361061022d5760003560e01c80635081e90a1161013b578063a9059cbb116100b8578063cec10c111161007c578063cec10c11146104c2578063d547741f146104d5578063dd62ed3e146104e8578063f1d5f51714610521578063f79dcf321461053457600080fd5b8063a9059cbb1461046d578063b2bcf6b314610480578063b99878a814610489578063c2e5ec041461049c578063c46cb649146104af57600080fd5b806395d89b41116100ff57806395d89b411461042e5780639a48ec4514610436578063a14124c214610449578063a217fddf14610452578063a457c2d71461045a57600080fd5b80635081e90a146103d75780635c975abb146103ea57806370a08231146103f557806379cc67901461040857806391d148541461041b57600080fd5b806323b872dd116101c957806336568abe1161018d57806336568abe146103825780633950935114610395578063425b47a2146103a857806342966c68146103b157806345e653ec146103c457600080fd5b806323b872dd14610317578063248a9ca31461032a5780632f2ff15d1461034d57806330b94cd514610360578063313ce5671461037357600080fd5b806301ffc9a71461023257806302f4606a1461025a578063064a59d01461026f57806306fdde031461027c57806308739d3b14610291578063095ea7b3146102b45780631022a070146102c7578063162088af146102f257806318160ddd14610305575b600080fd5b610245610240366004611d31565b610557565b60405190151581526020015b60405180910390f35b61026d610268366004611d85565b61058e565b005b6010546102459060ff1681565b6102846105f5565b6040516102519190611de6565b61024561029f366004611e19565b60076020526000908152604090205460ff1681565b6102456102c2366004611e36565b610687565b600b546102da906001600160a01b031681565b6040516001600160a01b039091168152602001610251565b61026d610300366004611e62565b61069d565b6002545b604051908152602001610251565b610245610325366004611ee6565b6106fd565b610309610338366004611f27565b60009081526006602052604090206001015490565b61026d61035b366004611f40565b6107a7565b61026d61036e366004611d85565b6107d2565b60405160128152602001610251565b61026d610390366004611f40565b610830565b6102456103a3366004611e36565b6108ae565b610309600d5481565b61026d6103bf366004611f27565b6108ea565b6009546102da906001600160a01b031681565b61026d6103e5366004611f70565b6108f7565b60055460ff16610245565b610309610403366004611e19565b610b00565b61026d610416366004611e36565b610b1b565b610245610429366004611f40565b610b9c565b610284610bc7565b61026d610444366004611e62565b610bd6565b610309600e5481565b610309600081565b610245610468366004611e36565b610c2f565b61024561047b366004611e36565b610cc8565b610309600c5481565b61026d610497366004611fbb565b610cd5565b61026d6104aa366004611fbb565b610cf7565b600a546102da906001600160a01b031681565b61026d6104d0366004611fd6565b610d17565b61026d6104e3366004611f40565b610e67565b6103096104f6366004612002565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61026d61052f366004611f27565b610e8d565b610245610542366004611e19565b60086020526000908152604090205460ff1681565b60006001600160e01b03198216637965db0b60e01b148061058857506301ffc9a760e01b6001600160e01b03198316145b92915050565b600061059a81336110a9565b6001600160a01b0383166105c95760405162461bcd60e51b81526004016105c090612030565b60405180910390fd5b506001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b60606003805461060490612058565b80601f016020809104026020016040519081016040528092919081815260200182805461063090612058565b801561067d5780601f106106525761010080835404028352916020019161067d565b820191906000526020600020905b81548152906001019060200180831161066057829003601f168201915b5050505050905090565b600061069433848461110d565b50600192915050565b60006106a981336110a9565b60005b838110156106f6576106e48585838181106106c9576106c9612092565b90506020020160208101906106de9190611e19565b8461058e565b806106ee816120be565b9150506106ac565b5050505050565b600061070a848484611231565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561078f5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016105c0565b61079c853385840361110d565b506001949350505050565b6000828152600660205260409020600101546107c381336110a9565b6107cd8383611548565b505050565b60006107de81336110a9565b6001600160a01b0383166108045760405162461bcd60e51b81526004016105c090612030565b506001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6001600160a01b03811633146108a05760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016105c0565b6108aa82826115ce565b5050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916106949185906108e59086906120d7565b61110d565b6108f43382611635565b50565b600061090381336110a9565b6001600160a01b0384166109595760405162461bcd60e51b815260206004820152601a60248201527f496e76616c6964206c697175696469747950726f636573736f7200000000000060448201526064016105c0565b6001600160a01b0383166109af5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c69642073616e6473746f726d50726f636573736f7200000000000060448201526064016105c0565b6001600160a01b038216610a055760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420636f6e76657274657250726f636573736f7200000000000060448201526064016105c0565b600980546001600160a01b038087166001600160a01b031992831617909255600a8054868416908316179055600b805492851692909116919091179055610a4d8460016107d2565b610a588360016107d2565b610a638260016107d2565b610a6e84600161058e565b610a7983600161058e565b610a8482600161058e565b6009546040805163c816841b60e01b81529051610afa926001600160a01b03169163c816841b9160048083019260209291908290030181865afa158015610acf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af391906120ef565b600161058e565b50505050565b6001600160a01b031660009081526020819052604090205490565b6000610b2783336104f6565b905081811015610b855760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016105c0565b610b92833384840361110d565b6107cd8383611635565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461060490612058565b6000610be281336110a9565b60005b838110156106f657610c1d858583818110610c0257610c02612092565b9050602002016020810190610c179190611e19565b846107d2565b80610c27816120be565b915050610be5565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610cb15760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105c0565b610cbe338585840361110d565b5060019392505050565b6000610694338484611231565b6000610ce181336110a9565b8115610cef576108aa611796565b6108aa61180b565b6000610d0381336110a9565b506010805460ff1916911515919091179055565b6000610d2381336110a9565b6127108311158015610d33575060015b610d8a5760405162461bcd60e51b815260206004820152602260248201527f6665654c6971756964697479206d757374206265206c657373207468616e2031604482015261302560f01b60648201526084016105c0565b6127108211158015610d9a575060015b610df15760405162461bcd60e51b815260206004820152602260248201527f66656553616e6473746f726d206d757374206265206c657373207468616e2031604482015261302560f01b60648201526084016105c0565b6127108411158015610e01575060015b610e585760405162461bcd60e51b815260206004820152602260248201527f666565436f6e766572746572206d757374206265206c657373207468616e2031604482015261302560f01b60648201526084016105c0565b50600c91909155600d55600e55565b600082815260066020526040902060010154610e8381336110a9565b6107cd83836115ce565b6000610e9981336110a9565b6161a88211158015610ea9575060015b610f005760405162461bcd60e51b815260206004820152602260248201527f57616c6c6574206c696d6974206d757374206265206c657373207468616e2032604482015261352560f01b60648201526084016105c0565b50600f55565b60606000610f1583600261210c565b610f209060026120d7565b67ffffffffffffffff811115610f3857610f3861212b565b6040519080825280601f01601f191660200182016040528015610f62576020820181803683370190505b509050600360fc1b81600081518110610f7d57610f7d612092565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610fac57610fac612092565b60200101906001600160f81b031916908160001a9053506000610fd084600261210c565b610fdb9060016120d7565b90505b6001811115611053576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061100f5761100f612092565b1a60f81b82828151811061102557611025612092565b60200101906001600160f81b031916908160001a90535060049490941c9361104c81612141565b9050610fde565b5083156110a25760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105c0565b9392505050565b6110b38282610b9c565b6108aa576110cb816001600160a01b03166014610f06565b6110d6836020610f06565b6040516020016110e7929190612158565b60408051601f198184030181529082905262461bcd60e51b82526105c091600401611de6565b6001600160a01b03831661116f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105c0565b6001600160a01b0382166111d05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105c0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600960009054906101000a90046001600160a01b03166001600160a01b031663c816841b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611284573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a891906120ef565b6001600160a01b0316826001600160a01b03161480156112d05750601054610100900460ff16155b1561141e576010805461ff00191661010017905560095460408051630ab9046560e11b815290516001600160a01b039092169163157208ca9160048082019260009290919082900301818387803b15801561132a57600080fd5b505af115801561133e573d6000803e3d6000fd5b50505050600a60009054906101000a90046001600160a01b03166001600160a01b031663157208ca6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561139257600080fd5b505af11580156113a6573d6000803e3d6000fd5b50505050600b60009054906101000a90046001600160a01b03166001600160a01b031663157208ca6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156113fa57600080fd5b505af115801561140e573d6000803e3d6000fd5b50506010805461ff001916905550505b6001600160a01b03831660009081526007602052604090205460ff168061145d57506001600160a01b03821660009081526007602052604090205460ff165b1561146d576107cd838383611885565b6000620186a0600c5483611481919061210c565b61148b91906121c7565b90506000620186a0600d54846114a1919061210c565b6114ab91906121c7565b90506000620186a0600e54856114c1919061210c565b6114cb91906121c7565b6009549091506114e69087906001600160a01b031685611885565b600a546114fe9087906001600160a01b031684611885565b600b546115169087906001600160a01b031683611885565b61154086868385611527888a6121e9565b61153191906121e9565b61153b91906121e9565b611885565b505050505050565b6115528282610b9c565b6108aa5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561158a3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6115d88282610b9c565b156108aa5760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b0382166116955760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105c0565b6116a182600083611a64565b6001600160a01b038216600090815260208190526040902054818110156117155760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105c0565b6001600160a01b03831660009081526020819052604081208383039055600280548492906117449084906121e9565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36107cd83600084611bf3565b60055460ff16156117b95760405162461bcd60e51b81526004016105c090612200565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586117ee3390565b6040516001600160a01b03909116815260200160405180910390a1565b60055460ff166118545760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016105c0565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa336117ee565b6001600160a01b0383166118e95760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105c0565b6001600160a01b03821661194b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105c0565b611956838383611a64565b6001600160a01b038316600090815260208190526040902054818110156119ce5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105c0565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611a059084906120d7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611a5191815260200190565b60405180910390a3610afa848484611bf3565b60055460ff1615611a875760405162461bcd60e51b81526004016105c090612200565b60105460ff166107cd57600960009054906101000a90046001600160a01b03166001600160a01b031663c816841b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ae4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0891906120ef565b6001600160a01b0316826001600160a01b031614158015611bb15750600960009054906101000a90046001600160a01b03166001600160a01b031663c816841b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9b91906120ef565b6001600160a01b0316836001600160a01b031614155b6107cd5760405162461bcd60e51b8152602060048201526013602482015272151c98591a5b99c81a5cc8191a5cd8589b1959606a1b60448201526064016105c0565b600f54156107cd576001600160a01b03831660009081526008602052604090205460ff16611c9657620186a0600f54611c2b60025490565b611c35919061210c565b611c3f91906121c7565b611c4884610b00565b1115611c965760405162461bcd60e51b815260206004820152601b60248201527f53656e6465722077616c6c6574206c696d69742072656163686564000000000060448201526064016105c0565b6001600160a01b03821660009081526008602052604090205460ff166107cd57620186a0600f54611cc660025490565b611cd0919061210c565b611cda91906121c7565b611ce383610b00565b11156107cd5760405162461bcd60e51b815260206004820152601d60248201527f52656365697665722077616c6c6574206c696d6974207265616368656400000060448201526064016105c0565b600060208284031215611d4357600080fd5b81356001600160e01b0319811681146110a257600080fd5b6001600160a01b03811681146108f457600080fd5b80358015158114611d8057600080fd5b919050565b60008060408385031215611d9857600080fd5b8235611da381611d5b565b9150611db160208401611d70565b90509250929050565b60005b83811015611dd5578181015183820152602001611dbd565b83811115610afa5750506000910152565b6020815260008251806020840152611e05816040850160208701611dba565b601f01601f19169190910160400192915050565b600060208284031215611e2b57600080fd5b81356110a281611d5b565b60008060408385031215611e4957600080fd5b8235611e5481611d5b565b946020939093013593505050565b600080600060408486031215611e7757600080fd5b833567ffffffffffffffff80821115611e8f57600080fd5b818601915086601f830112611ea357600080fd5b813581811115611eb257600080fd5b8760208260051b8501011115611ec757600080fd5b602092830195509350611edd9186019050611d70565b90509250925092565b600080600060608486031215611efb57600080fd5b8335611f0681611d5b565b92506020840135611f1681611d5b565b929592945050506040919091013590565b600060208284031215611f3957600080fd5b5035919050565b60008060408385031215611f5357600080fd5b823591506020830135611f6581611d5b565b809150509250929050565b600080600060608486031215611f8557600080fd5b8335611f9081611d5b565b92506020840135611fa081611d5b565b91506040840135611fb081611d5b565b809150509250925092565b600060208284031215611fcd57600080fd5b6110a282611d70565b600080600060608486031215611feb57600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561201557600080fd5b823561202081611d5b565b91506020830135611f6581611d5b565b6020808252600e908201526d125b9d985b1a590815d85b1b195d60921b604082015260600190565b600181811c9082168061206c57607f821691505b60208210810361208c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016120d0576120d06120a8565b5060010190565b600082198211156120ea576120ea6120a8565b500190565b60006020828403121561210157600080fd5b81516110a281611d5b565b6000816000190483118215151615612126576121266120a8565b500290565b634e487b7160e01b600052604160045260246000fd5b600081612150576121506120a8565b506000190190565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b81526000835161218a816017850160208801611dba565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516121bb816028840160208801611dba565b01602801949350505050565b6000826121e457634e487b7160e01b600052601260045260246000fd5b500490565b6000828210156121fb576121fb6120a8565b500390565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b60408201526060019056fea164736f6c634300080d000a
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061022d5760003560e01c80635081e90a1161013b578063a9059cbb116100b8578063cec10c111161007c578063cec10c11146104c2578063d547741f146104d5578063dd62ed3e146104e8578063f1d5f51714610521578063f79dcf321461053457600080fd5b8063a9059cbb1461046d578063b2bcf6b314610480578063b99878a814610489578063c2e5ec041461049c578063c46cb649146104af57600080fd5b806395d89b41116100ff57806395d89b411461042e5780639a48ec4514610436578063a14124c214610449578063a217fddf14610452578063a457c2d71461045a57600080fd5b80635081e90a146103d75780635c975abb146103ea57806370a08231146103f557806379cc67901461040857806391d148541461041b57600080fd5b806323b872dd116101c957806336568abe1161018d57806336568abe146103825780633950935114610395578063425b47a2146103a857806342966c68146103b157806345e653ec146103c457600080fd5b806323b872dd14610317578063248a9ca31461032a5780632f2ff15d1461034d57806330b94cd514610360578063313ce5671461037357600080fd5b806301ffc9a71461023257806302f4606a1461025a578063064a59d01461026f57806306fdde031461027c57806308739d3b14610291578063095ea7b3146102b45780631022a070146102c7578063162088af146102f257806318160ddd14610305575b600080fd5b610245610240366004611d31565b610557565b60405190151581526020015b60405180910390f35b61026d610268366004611d85565b61058e565b005b6010546102459060ff1681565b6102846105f5565b6040516102519190611de6565b61024561029f366004611e19565b60076020526000908152604090205460ff1681565b6102456102c2366004611e36565b610687565b600b546102da906001600160a01b031681565b6040516001600160a01b039091168152602001610251565b61026d610300366004611e62565b61069d565b6002545b604051908152602001610251565b610245610325366004611ee6565b6106fd565b610309610338366004611f27565b60009081526006602052604090206001015490565b61026d61035b366004611f40565b6107a7565b61026d61036e366004611d85565b6107d2565b60405160128152602001610251565b61026d610390366004611f40565b610830565b6102456103a3366004611e36565b6108ae565b610309600d5481565b61026d6103bf366004611f27565b6108ea565b6009546102da906001600160a01b031681565b61026d6103e5366004611f70565b6108f7565b60055460ff16610245565b610309610403366004611e19565b610b00565b61026d610416366004611e36565b610b1b565b610245610429366004611f40565b610b9c565b610284610bc7565b61026d610444366004611e62565b610bd6565b610309600e5481565b610309600081565b610245610468366004611e36565b610c2f565b61024561047b366004611e36565b610cc8565b610309600c5481565b61026d610497366004611fbb565b610cd5565b61026d6104aa366004611fbb565b610cf7565b600a546102da906001600160a01b031681565b61026d6104d0366004611fd6565b610d17565b61026d6104e3366004611f40565b610e67565b6103096104f6366004612002565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61026d61052f366004611f27565b610e8d565b610245610542366004611e19565b60086020526000908152604090205460ff1681565b60006001600160e01b03198216637965db0b60e01b148061058857506301ffc9a760e01b6001600160e01b03198316145b92915050565b600061059a81336110a9565b6001600160a01b0383166105c95760405162461bcd60e51b81526004016105c090612030565b60405180910390fd5b506001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b60606003805461060490612058565b80601f016020809104026020016040519081016040528092919081815260200182805461063090612058565b801561067d5780601f106106525761010080835404028352916020019161067d565b820191906000526020600020905b81548152906001019060200180831161066057829003601f168201915b5050505050905090565b600061069433848461110d565b50600192915050565b60006106a981336110a9565b60005b838110156106f6576106e48585838181106106c9576106c9612092565b90506020020160208101906106de9190611e19565b8461058e565b806106ee816120be565b9150506106ac565b5050505050565b600061070a848484611231565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561078f5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016105c0565b61079c853385840361110d565b506001949350505050565b6000828152600660205260409020600101546107c381336110a9565b6107cd8383611548565b505050565b60006107de81336110a9565b6001600160a01b0383166108045760405162461bcd60e51b81526004016105c090612030565b506001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6001600160a01b03811633146108a05760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016105c0565b6108aa82826115ce565b5050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916106949185906108e59086906120d7565b61110d565b6108f43382611635565b50565b600061090381336110a9565b6001600160a01b0384166109595760405162461bcd60e51b815260206004820152601a60248201527f496e76616c6964206c697175696469747950726f636573736f7200000000000060448201526064016105c0565b6001600160a01b0383166109af5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c69642073616e6473746f726d50726f636573736f7200000000000060448201526064016105c0565b6001600160a01b038216610a055760405162461bcd60e51b815260206004820152601a60248201527f496e76616c696420636f6e76657274657250726f636573736f7200000000000060448201526064016105c0565b600980546001600160a01b038087166001600160a01b031992831617909255600a8054868416908316179055600b805492851692909116919091179055610a4d8460016107d2565b610a588360016107d2565b610a638260016107d2565b610a6e84600161058e565b610a7983600161058e565b610a8482600161058e565b6009546040805163c816841b60e01b81529051610afa926001600160a01b03169163c816841b9160048083019260209291908290030181865afa158015610acf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af391906120ef565b600161058e565b50505050565b6001600160a01b031660009081526020819052604090205490565b6000610b2783336104f6565b905081811015610b855760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016105c0565b610b92833384840361110d565b6107cd8383611635565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461060490612058565b6000610be281336110a9565b60005b838110156106f657610c1d858583818110610c0257610c02612092565b9050602002016020810190610c179190611e19565b846107d2565b80610c27816120be565b915050610be5565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610cb15760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105c0565b610cbe338585840361110d565b5060019392505050565b6000610694338484611231565b6000610ce181336110a9565b8115610cef576108aa611796565b6108aa61180b565b6000610d0381336110a9565b506010805460ff1916911515919091179055565b6000610d2381336110a9565b6127108311158015610d33575060015b610d8a5760405162461bcd60e51b815260206004820152602260248201527f6665654c6971756964697479206d757374206265206c657373207468616e2031604482015261302560f01b60648201526084016105c0565b6127108211158015610d9a575060015b610df15760405162461bcd60e51b815260206004820152602260248201527f66656553616e6473746f726d206d757374206265206c657373207468616e2031604482015261302560f01b60648201526084016105c0565b6127108411158015610e01575060015b610e585760405162461bcd60e51b815260206004820152602260248201527f666565436f6e766572746572206d757374206265206c657373207468616e2031604482015261302560f01b60648201526084016105c0565b50600c91909155600d55600e55565b600082815260066020526040902060010154610e8381336110a9565b6107cd83836115ce565b6000610e9981336110a9565b6161a88211158015610ea9575060015b610f005760405162461bcd60e51b815260206004820152602260248201527f57616c6c6574206c696d6974206d757374206265206c657373207468616e2032604482015261352560f01b60648201526084016105c0565b50600f55565b60606000610f1583600261210c565b610f209060026120d7565b67ffffffffffffffff811115610f3857610f3861212b565b6040519080825280601f01601f191660200182016040528015610f62576020820181803683370190505b509050600360fc1b81600081518110610f7d57610f7d612092565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610fac57610fac612092565b60200101906001600160f81b031916908160001a9053506000610fd084600261210c565b610fdb9060016120d7565b90505b6001811115611053576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061100f5761100f612092565b1a60f81b82828151811061102557611025612092565b60200101906001600160f81b031916908160001a90535060049490941c9361104c81612141565b9050610fde565b5083156110a25760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105c0565b9392505050565b6110b38282610b9c565b6108aa576110cb816001600160a01b03166014610f06565b6110d6836020610f06565b6040516020016110e7929190612158565b60408051601f198184030181529082905262461bcd60e51b82526105c091600401611de6565b6001600160a01b03831661116f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105c0565b6001600160a01b0382166111d05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105c0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600960009054906101000a90046001600160a01b03166001600160a01b031663c816841b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611284573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a891906120ef565b6001600160a01b0316826001600160a01b03161480156112d05750601054610100900460ff16155b1561141e576010805461ff00191661010017905560095460408051630ab9046560e11b815290516001600160a01b039092169163157208ca9160048082019260009290919082900301818387803b15801561132a57600080fd5b505af115801561133e573d6000803e3d6000fd5b50505050600a60009054906101000a90046001600160a01b03166001600160a01b031663157208ca6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561139257600080fd5b505af11580156113a6573d6000803e3d6000fd5b50505050600b60009054906101000a90046001600160a01b03166001600160a01b031663157208ca6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156113fa57600080fd5b505af115801561140e573d6000803e3d6000fd5b50506010805461ff001916905550505b6001600160a01b03831660009081526007602052604090205460ff168061145d57506001600160a01b03821660009081526007602052604090205460ff165b1561146d576107cd838383611885565b6000620186a0600c5483611481919061210c565b61148b91906121c7565b90506000620186a0600d54846114a1919061210c565b6114ab91906121c7565b90506000620186a0600e54856114c1919061210c565b6114cb91906121c7565b6009549091506114e69087906001600160a01b031685611885565b600a546114fe9087906001600160a01b031684611885565b600b546115169087906001600160a01b031683611885565b61154086868385611527888a6121e9565b61153191906121e9565b61153b91906121e9565b611885565b505050505050565b6115528282610b9c565b6108aa5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561158a3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6115d88282610b9c565b156108aa5760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b0382166116955760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105c0565b6116a182600083611a64565b6001600160a01b038216600090815260208190526040902054818110156117155760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105c0565b6001600160a01b03831660009081526020819052604081208383039055600280548492906117449084906121e9565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36107cd83600084611bf3565b60055460ff16156117b95760405162461bcd60e51b81526004016105c090612200565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586117ee3390565b6040516001600160a01b03909116815260200160405180910390a1565b60055460ff166118545760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016105c0565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa336117ee565b6001600160a01b0383166118e95760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105c0565b6001600160a01b03821661194b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105c0565b611956838383611a64565b6001600160a01b038316600090815260208190526040902054818110156119ce5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105c0565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611a059084906120d7565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611a5191815260200190565b60405180910390a3610afa848484611bf3565b60055460ff1615611a875760405162461bcd60e51b81526004016105c090612200565b60105460ff166107cd57600960009054906101000a90046001600160a01b03166001600160a01b031663c816841b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ae4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0891906120ef565b6001600160a01b0316826001600160a01b031614158015611bb15750600960009054906101000a90046001600160a01b03166001600160a01b031663c816841b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9b91906120ef565b6001600160a01b0316836001600160a01b031614155b6107cd5760405162461bcd60e51b8152602060048201526013602482015272151c98591a5b99c81a5cc8191a5cd8589b1959606a1b60448201526064016105c0565b600f54156107cd576001600160a01b03831660009081526008602052604090205460ff16611c9657620186a0600f54611c2b60025490565b611c35919061210c565b611c3f91906121c7565b611c4884610b00565b1115611c965760405162461bcd60e51b815260206004820152601b60248201527f53656e6465722077616c6c6574206c696d69742072656163686564000000000060448201526064016105c0565b6001600160a01b03821660009081526008602052604090205460ff166107cd57620186a0600f54611cc660025490565b611cd0919061210c565b611cda91906121c7565b611ce383610b00565b11156107cd5760405162461bcd60e51b815260206004820152601d60248201527f52656365697665722077616c6c6574206c696d6974207265616368656400000060448201526064016105c0565b600060208284031215611d4357600080fd5b81356001600160e01b0319811681146110a257600080fd5b6001600160a01b03811681146108f457600080fd5b80358015158114611d8057600080fd5b919050565b60008060408385031215611d9857600080fd5b8235611da381611d5b565b9150611db160208401611d70565b90509250929050565b60005b83811015611dd5578181015183820152602001611dbd565b83811115610afa5750506000910152565b6020815260008251806020840152611e05816040850160208701611dba565b601f01601f19169190910160400192915050565b600060208284031215611e2b57600080fd5b81356110a281611d5b565b60008060408385031215611e4957600080fd5b8235611e5481611d5b565b946020939093013593505050565b600080600060408486031215611e7757600080fd5b833567ffffffffffffffff80821115611e8f57600080fd5b818601915086601f830112611ea357600080fd5b813581811115611eb257600080fd5b8760208260051b8501011115611ec757600080fd5b602092830195509350611edd9186019050611d70565b90509250925092565b600080600060608486031215611efb57600080fd5b8335611f0681611d5b565b92506020840135611f1681611d5b565b929592945050506040919091013590565b600060208284031215611f3957600080fd5b5035919050565b60008060408385031215611f5357600080fd5b823591506020830135611f6581611d5b565b809150509250929050565b600080600060608486031215611f8557600080fd5b8335611f9081611d5b565b92506020840135611fa081611d5b565b91506040840135611fb081611d5b565b809150509250925092565b600060208284031215611fcd57600080fd5b6110a282611d70565b600080600060608486031215611feb57600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561201557600080fd5b823561202081611d5b565b91506020830135611f6581611d5b565b6020808252600e908201526d125b9d985b1a590815d85b1b195d60921b604082015260600190565b600181811c9082168061206c57607f821691505b60208210810361208c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600182016120d0576120d06120a8565b5060010190565b600082198211156120ea576120ea6120a8565b500190565b60006020828403121561210157600080fd5b81516110a281611d5b565b6000816000190483118215151615612126576121266120a8565b500290565b634e487b7160e01b600052604160045260246000fd5b600081612150576121506120a8565b506000190190565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b81526000835161218a816017850160208801611dba565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516121bb816028840160208801611dba565b01602801949350505050565b6000826121e457634e487b7160e01b600052601260045260246000fd5b500490565b6000828210156121fb576121fb6120a8565b500390565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b60408201526060019056fea164736f6c634300080d000a
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.