ERC-20
Overview
Max Total Supply
1,000,000,000 LANA
Holders
463
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,638.971984379478041848 LANAValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
RFIToken
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity Standard Json-Input format)
/* * Copyright © 2020 reflect.finance. ALL RIGHTS RESERVED. */ pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract RFIToken is Context, IERC20, Ownable { using SafeMath for uint; using Address for address; mapping(address => uint) private _rOwned; mapping(address => uint) private _tOwned; mapping(address => mapping(address => uint)) private _allowances; mapping(address => bool) private _isExcluded; address[] private _excluded; uint private constant MAX = ~uint(0); uint private constant _tTotal = 1000000000 * 10**18; uint private _rTotal = (MAX - (MAX % _tTotal)); uint private _tFeeTotal; uint public _reflectRate = 500; // 5% string private _name = "Lanas"; string private _symbol = "LANA"; uint8 private _decimals = 18; constructor() public { _rOwned[_msgSender()] = _rTotal; emit Transfer(address(0), _msgSender(), _tTotal); } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint) { return _tTotal; } function balanceOf(address account) public view override returns (uint) { if (_isExcluded[account]) return _tOwned[account]; return tokenFromReflection(_rOwned[account]); } function transfer(address recipient, uint amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view override returns (uint) { return _allowances[owner][spender]; } function approve(address spender, uint amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom(address sender, address recipient, uint amount) public override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } function increaseAllowance(address spender, uint addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } function decreaseAllowance(address spender, uint subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } function isExcluded(address account) public view returns (bool) { return _isExcluded[account]; } function totalFees() public view returns (uint) { return _tFeeTotal; } function reflect(uint tAmount) public { address sender = _msgSender(); require(!_isExcluded[sender], "Excluded addresses cannot call this function"); (uint rAmount, , , , ) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rTotal = _rTotal.sub(rAmount); _tFeeTotal = _tFeeTotal.add(tAmount); } function reflectionFromToken(uint tAmount, bool deductTransferFee) public view returns (uint) { require(tAmount <= _tTotal, "Amount must be less than supply"); if (!deductTransferFee) { (uint rAmount, , , , ) = _getValues(tAmount); return rAmount; } else { (, uint rTransferAmount, , , ) = _getValues(tAmount); return rTransferAmount; } } function tokenFromReflection(uint rAmount) public view returns (uint) { require(rAmount <= _rTotal, "Amount must be less than total reflections"); uint currentRate = _getRate(); return rAmount.div(currentRate); } function setReflectRate(uint _newRate) external onlyOwner { _reflectRate = _newRate; } function excludeAccount(address account) external onlyOwner { require(!_isExcluded[account], "Account is already excluded"); if (_rOwned[account] > 0) { _tOwned[account] = tokenFromReflection(_rOwned[account]); } _isExcluded[account] = true; _excluded.push(account); } function includeAccount(address account) external onlyOwner { require(_isExcluded[account], "Account is already excluded"); for (uint i = 0; i < _excluded.length; i++) { if (_excluded[i] == account) { _excluded[i] = _excluded[_excluded.length - 1]; _tOwned[account] = 0; _isExcluded[account] = false; _excluded.pop(); break; } } } function _approve(address owner, address spender, uint amount) private { 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); } function _transfer(address sender, address recipient, uint amount) private { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); if (_isExcluded[sender] && !_isExcluded[recipient]) { _transferFromExcluded(sender, recipient, amount); } else if (!_isExcluded[sender] && _isExcluded[recipient]) { _transferToExcluded(sender, recipient, amount); } else if (!_isExcluded[sender] && !_isExcluded[recipient]) { _transferStandard(sender, recipient, amount); } else if (_isExcluded[sender] && _isExcluded[recipient]) { _transferBothExcluded(sender, recipient, amount); } else { _transferStandard(sender, recipient, amount); } } function _transferStandard(address sender, address recipient, uint tAmount) private { (uint rAmount, uint rTransferAmount, uint rFee, uint tTransferAmount, uint tFee) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferToExcluded(address sender, address recipient, uint tAmount) private { (uint rAmount, uint rTransferAmount, uint rFee, uint tTransferAmount, uint tFee) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tTransferAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferFromExcluded(address sender, address recipient, uint tAmount) private { (uint rAmount, uint rTransferAmount, uint rFee, uint tTransferAmount, uint tFee) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rAmount); emit Transfer(sender, recipient, tAmount); } function _transferBothExcluded(address sender, address recipient, uint tAmount) private { (uint rAmount, uint rTransferAmount, uint rFee, uint tTransferAmount, uint tFee) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _tOwned[recipient] = _tOwned[recipient].add(tAmount); _rOwned[recipient] = _rOwned[recipient].add(rAmount); emit Transfer(sender, recipient, tAmount); } function _reflectFee(uint rFee, uint tFee) private { _rTotal = _rTotal.sub(rFee); _tFeeTotal = _tFeeTotal.add(tFee); } function _getValues(uint tAmount) private view returns (uint, uint, uint, uint, uint) { (uint tTransferAmount, uint tFee) = _getTValues(tAmount); uint currentRate = _getRate(); (uint rAmount, uint rTransferAmount, uint rFee) = _getRValues(tAmount, tFee, currentRate); return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee); } function _getTValues(uint tAmount) private view returns (uint, uint) { uint tFee = tAmount.mul(_reflectRate).div(10000); uint tTransferAmount = tAmount.sub(tFee); return (tTransferAmount, tFee); } function _getRValues(uint tAmount, uint tFee, uint currentRate) private pure returns (uint, uint, uint) { uint rAmount = tAmount.mul(currentRate); uint rFee = tFee.mul(currentRate); uint rTransferAmount = rAmount.sub(rFee); return (rAmount, rTransferAmount, rFee); } function _getRate() private view returns (uint) { (uint rSupply, uint tSupply) = _getCurrentSupply(); return rSupply.div(tSupply); } function _getCurrentSupply() private view returns (uint, uint) { uint rSupply = _rTotal; uint tSupply = _tTotal; for (uint i = 0; i < _excluded.length; i++) { if (_rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply) return (_rTotal, _tTotal); rSupply = rSupply.sub(_rOwned[_excluded[i]]); tSupply = tSupply.sub(_tOwned[_excluded[i]]); } if (rSupply < _rTotal.div(_tTotal)) return (_rTotal, _tTotal); return (rSupply, tSupply); } }
// 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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // 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 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
{ "evmVersion": "istanbul", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 30000 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_reflectRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcluded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"}],"name":"reflect","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newRate","type":"uint256"}],"name":"setReflectRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526200001e6b033b2e3c9fd0803ce80000006000196200026e565b6200002c906000196200020d565b6006556101f4600855604080518082019091526005808252644c616e617360d81b6020909201918252620000639160099162000167565b50604080518082019091526004808252634c414e4160e01b60209092019182526200009191600a9162000167565b50600b805460ff19166012179055348015620000ac57600080fd5b50620000b83362000117565b6006543360008181526001602090815260408083209490945592516b033b2e3c9fd0803ce80000008152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36200028f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620001759062000231565b90600052602060002090601f016020900481019282620001995760008555620001e4565b82601f10620001b457805160ff1916838001178555620001e4565b82800160010185558215620001e4579182015b82811115620001e4578251825591602001919060010190620001c7565b50620001f2929150620001f6565b5090565b5b80821115620001f25760008155600101620001f7565b6000828210156200022c57634e487b7160e01b81526011600452602481fd5b500390565b600181811c908216806200024657607f821691505b602082108114156200026857634e487b7160e01b600052602260045260246000fd5b50919050565b6000826200028a57634e487b7160e01b81526012600452602481fd5b500690565b6121ee806200029f6000396000f3fe608060405234801561001057600080fd5b506004361061018d5760003560e01c806370a08231116100e3578063b1284d341161008c578063f2cc0c1811610066578063f2cc0c181461037d578063f2fde38b14610390578063f84354f1146103a357600080fd5b8063b1284d34146102eb578063cba0e996146102fe578063dd62ed3e1461033757600080fd5b806395d89b41116100bd57806395d89b41146102bd578063a457c2d7146102c5578063a9059cbb146102d857600080fd5b806370a082311461027a578063715018a61461028d5780638da5cb5b1461029557600080fd5b806318160ddd11610145578063313ce5671161011f578063313ce5671461023f57806339509351146102545780634549b0391461026757600080fd5b806318160ddd1461020757806323b872dd146102195780632d8381191461022c57600080fd5b8063095ea7b311610176578063095ea7b3146101c55780630a9d7ad1146101e857806313114a9d146101ff57600080fd5b8063053ab1821461019257806306fdde03146101a7575b600080fd5b6101a56101a0366004611f4e565b6103b6565b005b6101af6104e8565b6040516101bc9190611f99565b60405180910390f35b6101d86101d3366004611f25565b61057a565b60405190151581526020016101bc565b6101f160085481565b6040519081526020016101bc565b6007546101f1565b6b033b2e3c9fd0803ce80000006101f1565b6101d8610227366004611eea565b610591565b6101f161023a366004611f4e565b610607565b600b5460405160ff90911681526020016101bc565b6101d8610262366004611f25565b6106b8565b6101f1610275366004611f66565b6106fb565b6101f1610288366004611e9e565b6107aa565b6101a5610830565b60005460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101bc565b6101af6108bd565b6101d86102d3366004611f25565b6108cc565b6101d86102e6366004611f25565b610928565b6101a56102f9366004611f4e565b610935565b6101d861030c366004611e9e565b73ffffffffffffffffffffffffffffffffffffffff1660009081526004602052604090205460ff1690565b6101f1610345366004611eb8565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260036020908152604080832093909416825291909152205490565b6101a561038b366004611e9e565b6109bb565b6101a561039e366004611e9e565b610bf6565b6101a56103b1366004611e9e565b610d26565b3360008181526004602052604090205460ff161561045b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201527f6869732066756e6374696f6e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b600061046683611097565b5050505073ffffffffffffffffffffffffffffffffffffffff831660009081526001602052604090205490915061049d90826110e3565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600160205260409020556006546104d090826110e3565b6006556007546104e090846110ef565b600755505050565b6060600980546104f7906120af565b80601f0160208091040260200160405190810160405280929190818152602001828054610523906120af565b80156105705780601f1061054557610100808354040283529160200191610570565b820191906000526020600020905b81548152906001019060200180831161055357829003601f168201915b5050505050905090565b60006105873384846110fb565b5060015b92915050565b600061059e8484846112ae565b6105fd84336105f88560405180606001604052806028815260200161216c6028913973ffffffffffffffffffffffffffffffffffffffff8a1660009081526003602090815260408083203384529091529020549190611640565b6110fb565b5060019392505050565b600060065482111561069b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201527f65666c656374696f6e73000000000000000000000000000000000000000000006064820152608401610452565b60006106a5611686565b90506106b183826116a9565b9392505050565b33600081815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490916105879185906105f890866110ef565b60006b033b2e3c9fd0803ce8000000831115610773576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610452565b8161079157600061078384611097565b5092945061058b9350505050565b600061079c84611097565b5091945061058b9350505050565b73ffffffffffffffffffffffffffffffffffffffff811660009081526004602052604081205460ff1615610801575073ffffffffffffffffffffffffffffffffffffffff1660009081526002602052604090205490565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604090205461058b90610607565b60005473ffffffffffffffffffffffffffffffffffffffff1633146108b1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610452565b6108bb60006116b5565b565b6060600a80546104f7906120af565b600061058733846105f8856040518060600160405280602581526020016121946025913933600090815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff8d1684529091529020549190611640565b60006105873384846112ae565b60005473ffffffffffffffffffffffffffffffffffffffff1633146109b6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610452565b600855565b60005473ffffffffffffffffffffffffffffffffffffffff163314610a3c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610452565b73ffffffffffffffffffffffffffffffffffffffff811660009081526004602052604090205460ff1615610acc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610452565b73ffffffffffffffffffffffffffffffffffffffff811660009081526001602052604090205415610b4d5773ffffffffffffffffffffffffffffffffffffffff8116600090815260016020526040902054610b2690610607565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600260205260409020555b73ffffffffffffffffffffffffffffffffffffffff16600081815260046020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660019081179091556005805491820181559091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169091179055565b60005473ffffffffffffffffffffffffffffffffffffffff163314610c77576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610452565b73ffffffffffffffffffffffffffffffffffffffff8116610d1a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610452565b610d23816116b5565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610da7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610452565b73ffffffffffffffffffffffffffffffffffffffff811660009081526004602052604090205460ff16610e36576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610452565b60005b600554811015611093578173ffffffffffffffffffffffffffffffffffffffff1660058281548110610e94577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1614156110815760058054610ecc90600190612098565b81548110610f03577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000918252602090912001546005805473ffffffffffffffffffffffffffffffffffffffff9092169183908110610f63577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600091825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff948516179055918416815260028252604080822082905560049092522080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690556005805480611025577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60008281526020902081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690550190555050565b8061108b81612103565b915050610e39565b5050565b60008060008060008060006110ab8861172a565b9150915060006110b9611686565b905060008060006110cb8c8686611769565b919e909d50909b509599509397509395505050505050565b60006106b18284612098565b60006106b1828461200a565b73ffffffffffffffffffffffffffffffffffffffff831661119d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610452565b73ffffffffffffffffffffffffffffffffffffffff8216611240576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610452565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316611351576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610452565b73ffffffffffffffffffffffffffffffffffffffff82166113f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610452565b60008111611484576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201527f7468616e207a65726f00000000000000000000000000000000000000000000006064820152608401610452565b73ffffffffffffffffffffffffffffffffffffffff831660009081526004602052604090205460ff1680156114df575073ffffffffffffffffffffffffffffffffffffffff821660009081526004602052604090205460ff16155b156114f4576114ef8383836117a5565b505050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526004602052604090205460ff1615801561154f575073ffffffffffffffffffffffffffffffffffffffff821660009081526004602052604090205460ff165b1561155f576114ef8383836118de565b73ffffffffffffffffffffffffffffffffffffffff831660009081526004602052604090205460ff161580156115bb575073ffffffffffffffffffffffffffffffffffffffff821660009081526004602052604090205460ff16155b156115cb576114ef838383611a3a565b73ffffffffffffffffffffffffffffffffffffffff831660009081526004602052604090205460ff168015611625575073ffffffffffffffffffffffffffffffffffffffff821660009081526004602052604090205460ff165b15611635576114ef838383611ac4565b6114ef838383611a3a565b6000818484111561167e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104529190611f99565b505050900390565b6000806000611693611bcd565b90925090506116a282826116a9565b9250505090565b60006106b18284612022565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080600061175061271061174a60085487611e4590919063ffffffff16565b906116a9565b9050600061175e85836110e3565b959194509092505050565b60008080806117788786611e45565b905060006117868787611e45565b9050600061179483836110e3565b929992985090965090945050505050565b60008060008060006117b686611097565b73ffffffffffffffffffffffffffffffffffffffff8d16600090815260026020526040902054949950929750909550935091506117f390876110e3565b73ffffffffffffffffffffffffffffffffffffffff891660009081526002602090815260408083209390935560019052205461182f90866110e3565b73ffffffffffffffffffffffffffffffffffffffff808a16600090815260016020526040808220939093559089168152205461186b90866110ef565b73ffffffffffffffffffffffffffffffffffffffff80891660008181526001602052604090819020939093559151908a16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906118cc908a815260200190565b60405180910390a35050505050505050565b60008060008060006118ef86611097565b73ffffffffffffffffffffffffffffffffffffffff8d166000908152600160205260409020549499509297509095509350915061192c90866110e3565b73ffffffffffffffffffffffffffffffffffffffff808a16600090815260016020908152604080832094909455918a1681526002909152205461196f90836110ef565b73ffffffffffffffffffffffffffffffffffffffff88166000908152600260209081526040808320939093556001905220546119ab90856110ef565b73ffffffffffffffffffffffffffffffffffffffff88166000908152600160205260409020556119db8382611e51565b8673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516118cc91815260200190565b6000806000806000611a4b86611097565b73ffffffffffffffffffffffffffffffffffffffff8d1660009081526001602052604090205494995092975090955093509150611a8890866110e3565b73ffffffffffffffffffffffffffffffffffffffff808a1660009081526001602052604080822093909355908916815220546119ab90856110ef565b6000806000806000611ad586611097565b73ffffffffffffffffffffffffffffffffffffffff8d1660009081526002602052604090205494995092975090955093509150611b1290876110e3565b73ffffffffffffffffffffffffffffffffffffffff8916600090815260026020908152604080832093909355600190522054611b4e90866110e3565b73ffffffffffffffffffffffffffffffffffffffff808a16600090815260016020908152604080832094909455918a16815260029091522054611b9190876110ef565b73ffffffffffffffffffffffffffffffffffffffff881660009081526002602090815260408083209390935560019052205461186b90866110ef565b60065460009081906b033b2e3c9fd0803ce8000000825b600554811015611e0257826001600060058481548110611c2d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff1683528201929092526040019020541180611cd95750816002600060058481548110611ca5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff168352820192909252604001902054115b15611cf8575050600654936b033b2e3c9fd0803ce80000009350915050565b611d726001600060058481548110611d39577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff16835282019290925260400190205484906110e3565b9250611dee6002600060058481548110611db5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff16835282019290925260400190205483906110e3565b915080611dfa81612103565b915050611be4565b50600654611e1c906b033b2e3c9fd0803ce80000006116a9565b821015611e3c575050600654926b033b2e3c9fd0803ce800000092509050565b90939092509050565b60006106b1828461205b565b600654611e5e90836110e3565b600655600754611e6e90826110ef565b6007555050565b803573ffffffffffffffffffffffffffffffffffffffff81168114611e9957600080fd5b919050565b600060208284031215611eaf578081fd5b6106b182611e75565b60008060408385031215611eca578081fd5b611ed383611e75565b9150611ee160208401611e75565b90509250929050565b600080600060608486031215611efe578081fd5b611f0784611e75565b9250611f1560208501611e75565b9150604084013590509250925092565b60008060408385031215611f37578182fd5b611f4083611e75565b946020939093013593505050565b600060208284031215611f5f578081fd5b5035919050565b60008060408385031215611f78578182fd5b8235915060208301358015158114611f8e578182fd5b809150509250929050565b6000602080835283518082850152825b81811015611fc557858101830151858201604001528201611fa9565b81811115611fd65783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b6000821982111561201d5761201d61213c565b500190565b600082612056577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156120935761209361213c565b500290565b6000828210156120aa576120aa61213c565b500390565b600181811c908216806120c357607f821691505b602082108114156120fd577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156121355761213561213c565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122025cda5273d1dff8b77d0d111527a6f4887784d7aaf3df959d69245538adef11564736f6c63430008040033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061018d5760003560e01c806370a08231116100e3578063b1284d341161008c578063f2cc0c1811610066578063f2cc0c181461037d578063f2fde38b14610390578063f84354f1146103a357600080fd5b8063b1284d34146102eb578063cba0e996146102fe578063dd62ed3e1461033757600080fd5b806395d89b41116100bd57806395d89b41146102bd578063a457c2d7146102c5578063a9059cbb146102d857600080fd5b806370a082311461027a578063715018a61461028d5780638da5cb5b1461029557600080fd5b806318160ddd11610145578063313ce5671161011f578063313ce5671461023f57806339509351146102545780634549b0391461026757600080fd5b806318160ddd1461020757806323b872dd146102195780632d8381191461022c57600080fd5b8063095ea7b311610176578063095ea7b3146101c55780630a9d7ad1146101e857806313114a9d146101ff57600080fd5b8063053ab1821461019257806306fdde03146101a7575b600080fd5b6101a56101a0366004611f4e565b6103b6565b005b6101af6104e8565b6040516101bc9190611f99565b60405180910390f35b6101d86101d3366004611f25565b61057a565b60405190151581526020016101bc565b6101f160085481565b6040519081526020016101bc565b6007546101f1565b6b033b2e3c9fd0803ce80000006101f1565b6101d8610227366004611eea565b610591565b6101f161023a366004611f4e565b610607565b600b5460405160ff90911681526020016101bc565b6101d8610262366004611f25565b6106b8565b6101f1610275366004611f66565b6106fb565b6101f1610288366004611e9e565b6107aa565b6101a5610830565b60005460405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101bc565b6101af6108bd565b6101d86102d3366004611f25565b6108cc565b6101d86102e6366004611f25565b610928565b6101a56102f9366004611f4e565b610935565b6101d861030c366004611e9e565b73ffffffffffffffffffffffffffffffffffffffff1660009081526004602052604090205460ff1690565b6101f1610345366004611eb8565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260036020908152604080832093909416825291909152205490565b6101a561038b366004611e9e565b6109bb565b6101a561039e366004611e9e565b610bf6565b6101a56103b1366004611e9e565b610d26565b3360008181526004602052604090205460ff161561045b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201527f6869732066756e6374696f6e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b600061046683611097565b5050505073ffffffffffffffffffffffffffffffffffffffff831660009081526001602052604090205490915061049d90826110e3565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600160205260409020556006546104d090826110e3565b6006556007546104e090846110ef565b600755505050565b6060600980546104f7906120af565b80601f0160208091040260200160405190810160405280929190818152602001828054610523906120af565b80156105705780601f1061054557610100808354040283529160200191610570565b820191906000526020600020905b81548152906001019060200180831161055357829003601f168201915b5050505050905090565b60006105873384846110fb565b5060015b92915050565b600061059e8484846112ae565b6105fd84336105f88560405180606001604052806028815260200161216c6028913973ffffffffffffffffffffffffffffffffffffffff8a1660009081526003602090815260408083203384529091529020549190611640565b6110fb565b5060019392505050565b600060065482111561069b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201527f65666c656374696f6e73000000000000000000000000000000000000000000006064820152608401610452565b60006106a5611686565b90506106b183826116a9565b9392505050565b33600081815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490916105879185906105f890866110ef565b60006b033b2e3c9fd0803ce8000000831115610773576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c79006044820152606401610452565b8161079157600061078384611097565b5092945061058b9350505050565b600061079c84611097565b5091945061058b9350505050565b73ffffffffffffffffffffffffffffffffffffffff811660009081526004602052604081205460ff1615610801575073ffffffffffffffffffffffffffffffffffffffff1660009081526002602052604090205490565b73ffffffffffffffffffffffffffffffffffffffff821660009081526001602052604090205461058b90610607565b60005473ffffffffffffffffffffffffffffffffffffffff1633146108b1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610452565b6108bb60006116b5565b565b6060600a80546104f7906120af565b600061058733846105f8856040518060600160405280602581526020016121946025913933600090815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff8d1684529091529020549190611640565b60006105873384846112ae565b60005473ffffffffffffffffffffffffffffffffffffffff1633146109b6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610452565b600855565b60005473ffffffffffffffffffffffffffffffffffffffff163314610a3c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610452565b73ffffffffffffffffffffffffffffffffffffffff811660009081526004602052604090205460ff1615610acc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610452565b73ffffffffffffffffffffffffffffffffffffffff811660009081526001602052604090205415610b4d5773ffffffffffffffffffffffffffffffffffffffff8116600090815260016020526040902054610b2690610607565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600260205260409020555b73ffffffffffffffffffffffffffffffffffffffff16600081815260046020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660019081179091556005805491820181559091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169091179055565b60005473ffffffffffffffffffffffffffffffffffffffff163314610c77576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610452565b73ffffffffffffffffffffffffffffffffffffffff8116610d1a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610452565b610d23816116b5565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610da7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610452565b73ffffffffffffffffffffffffffffffffffffffff811660009081526004602052604090205460ff16610e36576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610452565b60005b600554811015611093578173ffffffffffffffffffffffffffffffffffffffff1660058281548110610e94577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1614156110815760058054610ecc90600190612098565b81548110610f03577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000918252602090912001546005805473ffffffffffffffffffffffffffffffffffffffff9092169183908110610f63577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600091825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff948516179055918416815260028252604080822082905560049092522080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690556005805480611025577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60008281526020902081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690550190555050565b8061108b81612103565b915050610e39565b5050565b60008060008060008060006110ab8861172a565b9150915060006110b9611686565b905060008060006110cb8c8686611769565b919e909d50909b509599509397509395505050505050565b60006106b18284612098565b60006106b1828461200a565b73ffffffffffffffffffffffffffffffffffffffff831661119d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610452565b73ffffffffffffffffffffffffffffffffffffffff8216611240576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610452565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316611351576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610452565b73ffffffffffffffffffffffffffffffffffffffff82166113f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610452565b60008111611484576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201527f7468616e207a65726f00000000000000000000000000000000000000000000006064820152608401610452565b73ffffffffffffffffffffffffffffffffffffffff831660009081526004602052604090205460ff1680156114df575073ffffffffffffffffffffffffffffffffffffffff821660009081526004602052604090205460ff16155b156114f4576114ef8383836117a5565b505050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526004602052604090205460ff1615801561154f575073ffffffffffffffffffffffffffffffffffffffff821660009081526004602052604090205460ff165b1561155f576114ef8383836118de565b73ffffffffffffffffffffffffffffffffffffffff831660009081526004602052604090205460ff161580156115bb575073ffffffffffffffffffffffffffffffffffffffff821660009081526004602052604090205460ff16155b156115cb576114ef838383611a3a565b73ffffffffffffffffffffffffffffffffffffffff831660009081526004602052604090205460ff168015611625575073ffffffffffffffffffffffffffffffffffffffff821660009081526004602052604090205460ff165b15611635576114ef838383611ac4565b6114ef838383611a3a565b6000818484111561167e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104529190611f99565b505050900390565b6000806000611693611bcd565b90925090506116a282826116a9565b9250505090565b60006106b18284612022565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080600061175061271061174a60085487611e4590919063ffffffff16565b906116a9565b9050600061175e85836110e3565b959194509092505050565b60008080806117788786611e45565b905060006117868787611e45565b9050600061179483836110e3565b929992985090965090945050505050565b60008060008060006117b686611097565b73ffffffffffffffffffffffffffffffffffffffff8d16600090815260026020526040902054949950929750909550935091506117f390876110e3565b73ffffffffffffffffffffffffffffffffffffffff891660009081526002602090815260408083209390935560019052205461182f90866110e3565b73ffffffffffffffffffffffffffffffffffffffff808a16600090815260016020526040808220939093559089168152205461186b90866110ef565b73ffffffffffffffffffffffffffffffffffffffff80891660008181526001602052604090819020939093559151908a16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906118cc908a815260200190565b60405180910390a35050505050505050565b60008060008060006118ef86611097565b73ffffffffffffffffffffffffffffffffffffffff8d166000908152600160205260409020549499509297509095509350915061192c90866110e3565b73ffffffffffffffffffffffffffffffffffffffff808a16600090815260016020908152604080832094909455918a1681526002909152205461196f90836110ef565b73ffffffffffffffffffffffffffffffffffffffff88166000908152600260209081526040808320939093556001905220546119ab90856110ef565b73ffffffffffffffffffffffffffffffffffffffff88166000908152600160205260409020556119db8382611e51565b8673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516118cc91815260200190565b6000806000806000611a4b86611097565b73ffffffffffffffffffffffffffffffffffffffff8d1660009081526001602052604090205494995092975090955093509150611a8890866110e3565b73ffffffffffffffffffffffffffffffffffffffff808a1660009081526001602052604080822093909355908916815220546119ab90856110ef565b6000806000806000611ad586611097565b73ffffffffffffffffffffffffffffffffffffffff8d1660009081526002602052604090205494995092975090955093509150611b1290876110e3565b73ffffffffffffffffffffffffffffffffffffffff8916600090815260026020908152604080832093909355600190522054611b4e90866110e3565b73ffffffffffffffffffffffffffffffffffffffff808a16600090815260016020908152604080832094909455918a16815260029091522054611b9190876110ef565b73ffffffffffffffffffffffffffffffffffffffff881660009081526002602090815260408083209390935560019052205461186b90866110ef565b60065460009081906b033b2e3c9fd0803ce8000000825b600554811015611e0257826001600060058481548110611c2d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff1683528201929092526040019020541180611cd95750816002600060058481548110611ca5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff168352820192909252604001902054115b15611cf8575050600654936b033b2e3c9fd0803ce80000009350915050565b611d726001600060058481548110611d39577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff16835282019290925260400190205484906110e3565b9250611dee6002600060058481548110611db5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600091825260208083209091015473ffffffffffffffffffffffffffffffffffffffff16835282019290925260400190205483906110e3565b915080611dfa81612103565b915050611be4565b50600654611e1c906b033b2e3c9fd0803ce80000006116a9565b821015611e3c575050600654926b033b2e3c9fd0803ce800000092509050565b90939092509050565b60006106b1828461205b565b600654611e5e90836110e3565b600655600754611e6e90826110ef565b6007555050565b803573ffffffffffffffffffffffffffffffffffffffff81168114611e9957600080fd5b919050565b600060208284031215611eaf578081fd5b6106b182611e75565b60008060408385031215611eca578081fd5b611ed383611e75565b9150611ee160208401611e75565b90509250929050565b600080600060608486031215611efe578081fd5b611f0784611e75565b9250611f1560208501611e75565b9150604084013590509250925092565b60008060408385031215611f37578182fd5b611f4083611e75565b946020939093013593505050565b600060208284031215611f5f578081fd5b5035919050565b60008060408385031215611f78578182fd5b8235915060208301358015158114611f8e578182fd5b809150509250929050565b6000602080835283518082850152825b81811015611fc557858101830151858201604001528201611fa9565b81811115611fd65783604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b6000821982111561201d5761201d61213c565b500190565b600082612056577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156120935761209361213c565b500290565b6000828210156120aa576120aa61213c565b500390565b600181811c908216806120c357607f821691505b602082108114156120fd577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156121355761213561213c565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122025cda5273d1dff8b77d0d111527a6f4887784d7aaf3df959d69245538adef11564736f6c63430008040033
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.