Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 17245070 | 564 days ago | IN | 0 ETH | 0.13900692 |
Loading...
Loading
Contract Name:
TaxableTeamToken
Compiler Version
v0.6.12+commit.27d51765
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "./Context.sol"; import "./IERC20.sol"; import "./SafeMath.sol"; import "./Address.sol"; import "./Ownable.sol"; contract TaxableTeamToken is IERC20, Context, Ownable { event TeamFinanceTokenMint(address owner); using SafeMath for uint256; using Address for address; mapping (address => uint256) private _rOwned; mapping (address => uint256) private _tOwned; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => bool) private _isExcluded; address[] private _excluded; uint256 private constant MAX = ~uint256(0); uint256 private _tTotal; uint256 private _rTotal; uint256 private _tFeeTotal; string private _name; string private _symbol; uint8 private _decimals; uint256 private _feesPercentage; modifier checkIsAddressValid(address ethAddress) { require(ethAddress != address(0), "[Validation] invalid address"); require(ethAddress == address(ethAddress), "[Validation] invalid address"); _; } modifier checkIsFeesValid(uint256 fees) { require(fees > 0, "[Validation] fees should be greater than zero."); require(fees < 21, "[Validation] fees should be less than 21."); _; } constructor( string memory name, string memory symbol, uint8 decimals, uint256 supply, uint256 fees, address owner, address feeWallet ) public checkIsFeesValid(fees) checkIsAddressValid(owner) checkIsAddressValid(feeWallet) { require(decimals >=8 && decimals <= 18, "[Validation] Not valid decimals"); require(supply > 0, "[Validation] inital supply should be greater than 0"); require(owner != feeWallet, "[Validation] fee wallet and owner wallet cannot be same."); _name = name; _symbol = symbol; _decimals = decimals; _feesPercentage = fees; _tTotal = supply; _rTotal = (MAX - (MAX % _tTotal)); _rOwned[owner] = _rTotal; emit Transfer(address(0), owner, _tTotal); emit TeamFinanceTokenMint(owner); } 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 (uint256) { return _tTotal; } function fees() public view returns (uint256) { return _feesPercentage; } function balanceOf(address account) public view override returns (uint256) { if (_isExcluded[account]) return _tOwned[account]; return tokenFromReflection(_rOwned[account]); } function transfer(address recipient, uint256 amount) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom(address sender, address recipient, uint256 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, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } function isExcluded(address account) public view returns (bool) { return _isExcluded[account]; } function totalFees() public view returns (uint256) { return _tFeeTotal; } function reflect(uint256 tAmount) public { address sender = _msgSender(); require(!_isExcluded[sender], "Excluded addresses cannot call this function"); (uint256 rAmount,,,,) = _getValues(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rTotal = _rTotal.sub(rAmount); _tFeeTotal = _tFeeTotal.add(tAmount); } function reflectionFromToken(uint256 tAmount, bool deductTransferFee) public view returns(uint256) { require(tAmount <= _tTotal, "Amount must be less than supply"); if (!deductTransferFee) { (uint256 rAmount,,,,) = _getValues(tAmount); return rAmount; } else { (,uint256 rTransferAmount,,,) = _getValues(tAmount); return rTransferAmount; } } function tokenFromReflection(uint256 rAmount) public view returns(uint256) { require(rAmount <= _rTotal, "Amount must be less than total reflections"); uint256 currentRate = _getRate(); return rAmount.div(currentRate); } 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 setFeesPercentage(uint256 feesPercentage) external onlyOwner() checkIsFeesValid(feesPercentage) { _feesPercentage = feesPercentage; } function includeAccount(address account) external onlyOwner() { require(_isExcluded[account], "Account is already excluded"); for (uint256 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, uint256 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, uint256 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, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 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, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 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, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender].sub(tAmount); _rOwned[sender] = _rOwned[sender].sub(rAmount); _rOwned[recipient] = _rOwned[recipient].add(rTransferAmount); _reflectFee(rFee, tFee); emit Transfer(sender, recipient, tTransferAmount); } function _transferBothExcluded(address sender, address recipient, uint256 tAmount) private { (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee) = _getValues(tAmount); _tOwned[sender] = _tOwned[sender].sub(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 _reflectFee(uint256 rFee, uint256 tFee) private { _rTotal = _rTotal.sub(rFee); _tFeeTotal = _tFeeTotal.add(tFee); } function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256) { (uint256 tTransferAmount, uint256 tFee) = _getTValues(tAmount); uint256 currentRate = _getRate(); (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, currentRate); return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee); } function _getTValues(uint256 tAmount) private view returns (uint256, uint256) { uint256 tFee = tAmount.mul(_feesPercentage).div(100); uint256 tTransferAmount = tAmount.sub(tFee); return (tTransferAmount, tFee); } function _getRValues(uint256 tAmount, uint256 tFee, uint256 currentRate) private pure returns (uint256, uint256, uint256) { uint256 rAmount = tAmount.mul(currentRate); uint256 rFee = tFee.mul(currentRate); uint256 rTransferAmount = rAmount.sub(rFee); return (rAmount, rTransferAmount, rFee); } function _getRate() private view returns(uint256) { (uint256 rSupply, uint256 tSupply) = _getCurrentSupply(); return rSupply.div(tSupply); } function _getCurrentSupply() private view returns(uint256, uint256) { uint256 rSupply = _rTotal; uint256 tSupply = _tTotal; for (uint256 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 pragma solidity >=0.6.0 <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 GSN 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 payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <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 pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { 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) { 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) { // 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) { 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) { 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) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); 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) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); 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) { require(b > 0, "SafeMath: modulo by zero"); 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) { 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. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * 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) { 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) { require(b > 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.2 <0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "./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 () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), 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 { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
{ "remappings": [ "ds-test/=lib/forge-std/lib/ds-test/src/", "forge-std/=lib/forge-std/src/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "bytecodeHash": "ipfs" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "istanbul", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"fees","type":"uint256"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"feeWallet","type":"address"}],"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":false,"internalType":"address","name":"owner","type":"address"}],"name":"TeamFinanceTokenMint","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":[{"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":[],"name":"fees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"feesPercentage","type":"uint256"}],"name":"setFeesPercentage","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
60806040523480156200001157600080fd5b50604051620022b5380380620022b5833981810160405260e08110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b5060409081526020820151908201516060830151608084015160a09094015192955090935091906000620001cb6200054c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508260008111620002575760405162461bcd60e51b815260040180806020018281038252602e8152602001806200221c602e913960400191505060405180910390fd5b60158110620002985760405162461bcd60e51b8152600401808060200182810382526029815260200180620021f36029913960400191505060405180910390fd5b826001600160a01b038116620002f5576040805162461bcd60e51b815260206004820152601c60248201527f5b56616c69646174696f6e5d20696e76616c6964206164647265737300000000604482015290519081900360640190fd5b826001600160a01b03811662000352576040805162461bcd60e51b815260206004820152601c60248201527f5b56616c69646174696f6e5d20696e76616c6964206164647265737300000000604482015290519081900360640190fd5b60088860ff16101580156200036b575060128860ff1611155b620003bd576040805162461bcd60e51b815260206004820152601f60248201527f5b56616c69646174696f6e5d204e6f742076616c696420646563696d616c7300604482015290519081900360640190fd5b60008711620003fe5760405162461bcd60e51b81526004018080602001828103825260338152602001806200224a6033913960400191505060405180910390fd5b836001600160a01b0316856001600160a01b03161415620004515760405162461bcd60e51b81526004018080602001828103825260388152602001806200227d6038913960400191505060405180910390fd5b8951620004669060099060208d019062000550565b5088516200047c90600a9060208c019062000550565b50600b805460ff191660ff8a16179055600c86905560068790558660001981620004a257fe5b061960078190556001600160a01b03861660008181526001602090815260408083209490945560065484519081529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3604080516001600160a01b038716815290517fd01999e99b96bd2c90170b31b3348703fcd18b48be663e0fa3190aef80cedeea9181900360200190a150505050505050505050620005ec565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200059357805160ff1916838001178555620005c3565b82800160010185558215620005c3579182015b82811115620005c3578251825591602001919060010190620005a6565b50620005d1929150620005d5565b5090565b5b80821115620005d15760008155600101620005d6565b611bf780620005fc6000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063715018a6116100c3578063c9cb14051161007c578063c9cb1405146103cc578063cba0e996146103e9578063dd62ed3e1461040f578063f2cc0c181461043d578063f2fde38b14610463578063f84354f1146104895761014d565b8063715018a6146103385780638da5cb5b1461034057806395d89b41146103645780639af1d35a1461036c578063a457c2d714610374578063a9059cbb146103a05761014d565b806323b872dd1161011557806323b872dd146102505780632d83811914610286578063313ce567146102a357806339509351146102c15780634549b039146102ed57806370a08231146103125761014d565b8063053ab1821461015257806306fdde0314610171578063095ea7b3146101ee57806313114a9d1461022e57806318160ddd14610248575b600080fd5b61016f6004803603602081101561016857600080fd5b50356104af565b005b610179610587565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101b357818101518382015260200161019b565b50505050905090810190601f1680156101e05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61021a6004803603604081101561020457600080fd5b506001600160a01b03813516906020013561061d565b604080519115158252519081900360200190f35b61023661063b565b60408051918252519081900360200190f35b610236610641565b61021a6004803603606081101561026657600080fd5b506001600160a01b03813581169160208101359091169060400135610647565b6102366004803603602081101561029c57600080fd5b50356106ce565b6102ab610730565b6040805160ff9092168252519081900360200190f35b61021a600480360360408110156102d757600080fd5b506001600160a01b038135169060200135610739565b6102366004803603604081101561030357600080fd5b50803590602001351515610787565b6102366004803603602081101561032857600080fd5b50356001600160a01b0316610817565b61016f610879565b610348610925565b604080516001600160a01b039092168252519081900360200190f35b610179610934565b610236610995565b61021a6004803603604081101561038a57600080fd5b506001600160a01b03813516906020013561099b565b61021a600480360360408110156103b657600080fd5b506001600160a01b038135169060200135610a03565b61016f600480360360208110156103e257600080fd5b5035610a17565b61021a600480360360208110156103ff57600080fd5b50356001600160a01b0316610afe565b6102366004803603604081101561042557600080fd5b506001600160a01b0381358116916020013516610b1c565b61016f6004803603602081101561045357600080fd5b50356001600160a01b0316610b47565b61016f6004803603602081101561047957600080fd5b50356001600160a01b0316610cd7565b61016f6004803603602081101561049f57600080fd5b50356001600160a01b0316610dd9565b60006104b9610fa4565b6001600160a01b03811660009081526004602052604090205490915060ff16156105145760405162461bcd60e51b815260040180806020018281038252602c815260200180611b71602c913960400191505060405180910390fd5b600061051f83610fa8565b505050506001600160a01b0383166000908152600160205260409020549091506105499082610ff4565b6001600160a01b03831660009081526001602052604090205560075461056f9082610ff4565b60075560085461057f9084611051565b600855505050565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106135780601f106105e857610100808354040283529160200191610613565b820191906000526020600020905b8154815290600101906020018083116105f657829003601f168201915b5050505050905090565b600061063161062a610fa4565b84846110b2565b5060015b92915050565b60085490565b60065490565b600061065484848461119e565b6106c484610660610fa4565b6106bf85604051806060016040528060288152602001611ab7602891396001600160a01b038a1660009081526003602052604081209061069e610fa4565b6001600160a01b0316815260208101919091526040016000205491906113c0565b6110b2565b5060019392505050565b60006007548211156107115760405162461bcd60e51b815260040180806020018281038252602a8152602001806119cd602a913960400191505060405180910390fd5b600061071b611457565b9050610727838261147a565b9150505b919050565b600b5460ff1690565b6000610631610746610fa4565b846106bf8560036000610757610fa4565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611051565b60006006548311156107e0576040805162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015290519081900360640190fd5b816107fe5760006107f084610fa8565b509294506106359350505050565b600061080984610fa8565b509194506106359350505050565b6001600160a01b03811660009081526004602052604081205460ff161561085757506001600160a01b03811660009081526002602052604090205461072b565b6001600160a01b038216600090815260016020526040902054610635906106ce565b610881610fa4565b6001600160a01b0316610892610925565b6001600160a01b0316146108db576040805162461bcd60e51b81526020600482018190526024820152600080516020611adf833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b600a8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106135780601f106105e857610100808354040283529160200191610613565b600c5490565b60006106316109a8610fa4565b846106bf85604051806060016040528060258152602001611b9d60259139600360006109d2610fa4565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906113c0565b6000610631610a10610fa4565b848461119e565b610a1f610fa4565b6001600160a01b0316610a30610925565b6001600160a01b031614610a79576040805162461bcd60e51b81526020600482018190526024820152600080516020611adf833981519152604482015290519081900360640190fd5b8060008111610ab95760405162461bcd60e51b815260040180806020018281038252602e815260200180611a68602e913960400191505060405180910390fd5b60158110610af85760405162461bcd60e51b8152600401808060200182810382526029815260200180611a3f6029913960400191505060405180910390fd5b50600c55565b6001600160a01b031660009081526004602052604090205460ff1690565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b610b4f610fa4565b6001600160a01b0316610b60610925565b6001600160a01b031614610ba9576040805162461bcd60e51b81526020600482018190526024820152600080516020611adf833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205460ff1615610c17576040805162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015290519081900360640190fd5b6001600160a01b03811660009081526001602052604090205415610c71576001600160a01b038116600090815260016020526040902054610c57906106ce565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600460205260408120805460ff191660019081179091556005805491820181559091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319169091179055565b610cdf610fa4565b6001600160a01b0316610cf0610925565b6001600160a01b031614610d39576040805162461bcd60e51b81526020600482018190526024820152600080516020611adf833981519152604482015290519081900360640190fd5b6001600160a01b038116610d7e5760405162461bcd60e51b81526004018080602001828103825260268152602001806119f76026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b610de1610fa4565b6001600160a01b0316610df2610925565b6001600160a01b031614610e3b576040805162461bcd60e51b81526020600482018190526024820152600080516020611adf833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205460ff16610ea8576040805162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015290519081900360640190fd5b60005b600554811015610fa057816001600160a01b031660058281548110610ecc57fe5b6000918252602090912001546001600160a01b03161415610f9857600580546000198101908110610ef957fe5b600091825260209091200154600580546001600160a01b039092169183908110610f1f57fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600490925220805460ff191690556005805480610f7157fe5b600082815260209020810160001990810180546001600160a01b0319169055019055610fa0565b600101610eab565b5050565b3390565b6000806000806000806000610fbc886114e1565b915091506000610fca611457565b90506000806000610fdc8c868661151f565b919e909d50909b509599509397509395505050505050565b60008282111561104b576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000828201838110156110ab576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b0383166110f75760405162461bcd60e51b8152600401808060200182810382526024815260200180611b4d6024913960400191505060405180910390fd5b6001600160a01b03821661113c5760405162461bcd60e51b8152600401808060200182810382526022815260200180611a1d6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166111e35760405162461bcd60e51b8152600401808060200182810382526025815260200180611b286025913960400191505060405180910390fd5b6001600160a01b0382166112285760405162461bcd60e51b81526004018080602001828103825260238152602001806119aa6023913960400191505060405180910390fd5b600081116112675760405162461bcd60e51b8152600401808060200182810382526029815260200180611aff6029913960400191505060405180910390fd5b6001600160a01b03831660009081526004602052604090205460ff1680156112a857506001600160a01b03821660009081526004602052604090205460ff16155b156112bd576112b883838361155b565b6113bb565b6001600160a01b03831660009081526004602052604090205460ff161580156112fe57506001600160a01b03821660009081526004602052604090205460ff165b1561130e576112b8838383611672565b6001600160a01b03831660009081526004602052604090205460ff1615801561135057506001600160a01b03821660009081526004602052604090205460ff16155b15611360576112b8838383611718565b6001600160a01b03831660009081526004602052604090205460ff1680156113a057506001600160a01b03821660009081526004602052604090205460ff165b156113b0576112b8838383611759565b6113bb838383611718565b505050565b6000818484111561144f5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156114145781810151838201526020016113fc565b50505050905090810190601f1680156114415780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008060006114646117c9565b9092509050611473828261147a565b9250505090565b60008082116114d0576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816114d957fe5b049392505050565b60008060006115066064611500600c548761192c90919063ffffffff16565b9061147a565b905060006115148583610ff4565b935090915050915091565b600080808061152e878661192c565b9050600061153c878761192c565b9050600061154a8383610ff4565b929992985090965090945050505050565b600080600080600061156c86610fa8565b6001600160a01b038d166000908152600260205260409020549499509297509095509350915061159c9087610ff4565b6001600160a01b0389166000908152600260209081526040808320939093556001905220546115cb9086610ff4565b6001600160a01b03808a1660009081526001602052604080822093909355908916815220546115fa9085611051565b6001600160a01b03881660009081526001602052604090205561161d8382611985565b866001600160a01b0316886001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a35050505050505050565b600080600080600061168386610fa8565b6001600160a01b038d16600090815260016020526040902054949950929750909550935091506116b39086610ff4565b6001600160a01b03808a16600090815260016020908152604080832094909455918a168152600290915220546116e99083611051565b6001600160a01b0388166000908152600260209081526040808320939093556001905220546115fa9085611051565b600080600080600061172986610fa8565b6001600160a01b038d16600090815260016020526040902054949950929750909550935091506115cb9086610ff4565b600080600080600061176a86610fa8565b6001600160a01b038d166000908152600260205260409020549499509297509095509350915061179a9087610ff4565b6001600160a01b0389166000908152600260209081526040808320939093556001905220546116b39086610ff4565b6007546006546000918291825b6005548110156118fa578260016000600584815481106117f257fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020541180611857575081600260006005848154811061183057fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561186e5760075460065494509450505050611928565b6118ae600160006005848154811061188257fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020548490610ff4565b92506118f060026000600584815481106118c457fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020548390610ff4565b91506001016117d6565b5060065460075461190a9161147a565b82101561192257600754600654935093505050611928565b90925090505b9091565b60008261193b57506000610635565b8282028284828161194857fe5b04146110ab5760405162461bcd60e51b8152600401808060200182810382526021815260200180611a966021913960400191505060405180910390fd5b6007546119929083610ff4565b6007556008546119a29082611051565b600855505056fe45524332303a207472616e7366657220746f20746865207a65726f2061646472657373416d6f756e74206d757374206265206c657373207468616e20746f74616c207265666c656374696f6e734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573735b56616c69646174696f6e5d20666565732073686f756c64206265206c657373207468616e2032312e5b56616c69646174696f6e5d20666565732073686f756c642062652067726561746572207468616e207a65726f2e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725472616e7366657220616d6f756e74206d7573742062652067726561746572207468616e207a65726f45524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573734578636c75646564206164647265737365732063616e6e6f742063616c6c20746869732066756e6374696f6e45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122078347ae7e928967194fb59c419d463a9ba3520c3cc520af165b4b72a6d71ded364736f6c634300060c00335b56616c69646174696f6e5d20666565732073686f756c64206265206c657373207468616e2032312e5b56616c69646174696f6e5d20666565732073686f756c642062652067726561746572207468616e207a65726f2e5b56616c69646174696f6e5d20696e6974616c20737570706c792073686f756c642062652067726561746572207468616e20305b56616c69646174696f6e5d206665652077616c6c657420616e64206f776e65722077616c6c65742063616e6e6f742062652073616d652e00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000006046f37e5945c00000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000ec5f6b85a91657d5d29005a5c8e4388ba8ae2563000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000006766572696679000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000037672660000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061014d5760003560e01c8063715018a6116100c3578063c9cb14051161007c578063c9cb1405146103cc578063cba0e996146103e9578063dd62ed3e1461040f578063f2cc0c181461043d578063f2fde38b14610463578063f84354f1146104895761014d565b8063715018a6146103385780638da5cb5b1461034057806395d89b41146103645780639af1d35a1461036c578063a457c2d714610374578063a9059cbb146103a05761014d565b806323b872dd1161011557806323b872dd146102505780632d83811914610286578063313ce567146102a357806339509351146102c15780634549b039146102ed57806370a08231146103125761014d565b8063053ab1821461015257806306fdde0314610171578063095ea7b3146101ee57806313114a9d1461022e57806318160ddd14610248575b600080fd5b61016f6004803603602081101561016857600080fd5b50356104af565b005b610179610587565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101b357818101518382015260200161019b565b50505050905090810190601f1680156101e05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61021a6004803603604081101561020457600080fd5b506001600160a01b03813516906020013561061d565b604080519115158252519081900360200190f35b61023661063b565b60408051918252519081900360200190f35b610236610641565b61021a6004803603606081101561026657600080fd5b506001600160a01b03813581169160208101359091169060400135610647565b6102366004803603602081101561029c57600080fd5b50356106ce565b6102ab610730565b6040805160ff9092168252519081900360200190f35b61021a600480360360408110156102d757600080fd5b506001600160a01b038135169060200135610739565b6102366004803603604081101561030357600080fd5b50803590602001351515610787565b6102366004803603602081101561032857600080fd5b50356001600160a01b0316610817565b61016f610879565b610348610925565b604080516001600160a01b039092168252519081900360200190f35b610179610934565b610236610995565b61021a6004803603604081101561038a57600080fd5b506001600160a01b03813516906020013561099b565b61021a600480360360408110156103b657600080fd5b506001600160a01b038135169060200135610a03565b61016f600480360360208110156103e257600080fd5b5035610a17565b61021a600480360360208110156103ff57600080fd5b50356001600160a01b0316610afe565b6102366004803603604081101561042557600080fd5b506001600160a01b0381358116916020013516610b1c565b61016f6004803603602081101561045357600080fd5b50356001600160a01b0316610b47565b61016f6004803603602081101561047957600080fd5b50356001600160a01b0316610cd7565b61016f6004803603602081101561049f57600080fd5b50356001600160a01b0316610dd9565b60006104b9610fa4565b6001600160a01b03811660009081526004602052604090205490915060ff16156105145760405162461bcd60e51b815260040180806020018281038252602c815260200180611b71602c913960400191505060405180910390fd5b600061051f83610fa8565b505050506001600160a01b0383166000908152600160205260409020549091506105499082610ff4565b6001600160a01b03831660009081526001602052604090205560075461056f9082610ff4565b60075560085461057f9084611051565b600855505050565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106135780601f106105e857610100808354040283529160200191610613565b820191906000526020600020905b8154815290600101906020018083116105f657829003601f168201915b5050505050905090565b600061063161062a610fa4565b84846110b2565b5060015b92915050565b60085490565b60065490565b600061065484848461119e565b6106c484610660610fa4565b6106bf85604051806060016040528060288152602001611ab7602891396001600160a01b038a1660009081526003602052604081209061069e610fa4565b6001600160a01b0316815260208101919091526040016000205491906113c0565b6110b2565b5060019392505050565b60006007548211156107115760405162461bcd60e51b815260040180806020018281038252602a8152602001806119cd602a913960400191505060405180910390fd5b600061071b611457565b9050610727838261147a565b9150505b919050565b600b5460ff1690565b6000610631610746610fa4565b846106bf8560036000610757610fa4565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611051565b60006006548311156107e0576040805162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015290519081900360640190fd5b816107fe5760006107f084610fa8565b509294506106359350505050565b600061080984610fa8565b509194506106359350505050565b6001600160a01b03811660009081526004602052604081205460ff161561085757506001600160a01b03811660009081526002602052604090205461072b565b6001600160a01b038216600090815260016020526040902054610635906106ce565b610881610fa4565b6001600160a01b0316610892610925565b6001600160a01b0316146108db576040805162461bcd60e51b81526020600482018190526024820152600080516020611adf833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b600a8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106135780601f106105e857610100808354040283529160200191610613565b600c5490565b60006106316109a8610fa4565b846106bf85604051806060016040528060258152602001611b9d60259139600360006109d2610fa4565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906113c0565b6000610631610a10610fa4565b848461119e565b610a1f610fa4565b6001600160a01b0316610a30610925565b6001600160a01b031614610a79576040805162461bcd60e51b81526020600482018190526024820152600080516020611adf833981519152604482015290519081900360640190fd5b8060008111610ab95760405162461bcd60e51b815260040180806020018281038252602e815260200180611a68602e913960400191505060405180910390fd5b60158110610af85760405162461bcd60e51b8152600401808060200182810382526029815260200180611a3f6029913960400191505060405180910390fd5b50600c55565b6001600160a01b031660009081526004602052604090205460ff1690565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b610b4f610fa4565b6001600160a01b0316610b60610925565b6001600160a01b031614610ba9576040805162461bcd60e51b81526020600482018190526024820152600080516020611adf833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205460ff1615610c17576040805162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015290519081900360640190fd5b6001600160a01b03811660009081526001602052604090205415610c71576001600160a01b038116600090815260016020526040902054610c57906106ce565b6001600160a01b0382166000908152600260205260409020555b6001600160a01b03166000818152600460205260408120805460ff191660019081179091556005805491820181559091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319169091179055565b610cdf610fa4565b6001600160a01b0316610cf0610925565b6001600160a01b031614610d39576040805162461bcd60e51b81526020600482018190526024820152600080516020611adf833981519152604482015290519081900360640190fd5b6001600160a01b038116610d7e5760405162461bcd60e51b81526004018080602001828103825260268152602001806119f76026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b610de1610fa4565b6001600160a01b0316610df2610925565b6001600160a01b031614610e3b576040805162461bcd60e51b81526020600482018190526024820152600080516020611adf833981519152604482015290519081900360640190fd5b6001600160a01b03811660009081526004602052604090205460ff16610ea8576040805162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015290519081900360640190fd5b60005b600554811015610fa057816001600160a01b031660058281548110610ecc57fe5b6000918252602090912001546001600160a01b03161415610f9857600580546000198101908110610ef957fe5b600091825260209091200154600580546001600160a01b039092169183908110610f1f57fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600282526040808220829055600490925220805460ff191690556005805480610f7157fe5b600082815260209020810160001990810180546001600160a01b0319169055019055610fa0565b600101610eab565b5050565b3390565b6000806000806000806000610fbc886114e1565b915091506000610fca611457565b90506000806000610fdc8c868661151f565b919e909d50909b509599509397509395505050505050565b60008282111561104b576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000828201838110156110ab576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b0383166110f75760405162461bcd60e51b8152600401808060200182810382526024815260200180611b4d6024913960400191505060405180910390fd5b6001600160a01b03821661113c5760405162461bcd60e51b8152600401808060200182810382526022815260200180611a1d6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166111e35760405162461bcd60e51b8152600401808060200182810382526025815260200180611b286025913960400191505060405180910390fd5b6001600160a01b0382166112285760405162461bcd60e51b81526004018080602001828103825260238152602001806119aa6023913960400191505060405180910390fd5b600081116112675760405162461bcd60e51b8152600401808060200182810382526029815260200180611aff6029913960400191505060405180910390fd5b6001600160a01b03831660009081526004602052604090205460ff1680156112a857506001600160a01b03821660009081526004602052604090205460ff16155b156112bd576112b883838361155b565b6113bb565b6001600160a01b03831660009081526004602052604090205460ff161580156112fe57506001600160a01b03821660009081526004602052604090205460ff165b1561130e576112b8838383611672565b6001600160a01b03831660009081526004602052604090205460ff1615801561135057506001600160a01b03821660009081526004602052604090205460ff16155b15611360576112b8838383611718565b6001600160a01b03831660009081526004602052604090205460ff1680156113a057506001600160a01b03821660009081526004602052604090205460ff165b156113b0576112b8838383611759565b6113bb838383611718565b505050565b6000818484111561144f5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156114145781810151838201526020016113fc565b50505050905090810190601f1680156114415780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008060006114646117c9565b9092509050611473828261147a565b9250505090565b60008082116114d0576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816114d957fe5b049392505050565b60008060006115066064611500600c548761192c90919063ffffffff16565b9061147a565b905060006115148583610ff4565b935090915050915091565b600080808061152e878661192c565b9050600061153c878761192c565b9050600061154a8383610ff4565b929992985090965090945050505050565b600080600080600061156c86610fa8565b6001600160a01b038d166000908152600260205260409020549499509297509095509350915061159c9087610ff4565b6001600160a01b0389166000908152600260209081526040808320939093556001905220546115cb9086610ff4565b6001600160a01b03808a1660009081526001602052604080822093909355908916815220546115fa9085611051565b6001600160a01b03881660009081526001602052604090205561161d8382611985565b866001600160a01b0316886001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a35050505050505050565b600080600080600061168386610fa8565b6001600160a01b038d16600090815260016020526040902054949950929750909550935091506116b39086610ff4565b6001600160a01b03808a16600090815260016020908152604080832094909455918a168152600290915220546116e99083611051565b6001600160a01b0388166000908152600260209081526040808320939093556001905220546115fa9085611051565b600080600080600061172986610fa8565b6001600160a01b038d16600090815260016020526040902054949950929750909550935091506115cb9086610ff4565b600080600080600061176a86610fa8565b6001600160a01b038d166000908152600260205260409020549499509297509095509350915061179a9087610ff4565b6001600160a01b0389166000908152600260209081526040808320939093556001905220546116b39086610ff4565b6007546006546000918291825b6005548110156118fa578260016000600584815481106117f257fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020541180611857575081600260006005848154811061183057fe5b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561186e5760075460065494509450505050611928565b6118ae600160006005848154811061188257fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020548490610ff4565b92506118f060026000600584815481106118c457fe5b60009182526020808320909101546001600160a01b031683528201929092526040019020548390610ff4565b91506001016117d6565b5060065460075461190a9161147a565b82101561192257600754600654935093505050611928565b90925090505b9091565b60008261193b57506000610635565b8282028284828161194857fe5b04146110ab5760405162461bcd60e51b8152600401808060200182810382526021815260200180611a966021913960400191505060405180910390fd5b6007546119929083610ff4565b6007556008546119a29082611051565b600855505056fe45524332303a207472616e7366657220746f20746865207a65726f2061646472657373416d6f756e74206d757374206265206c657373207468616e20746f74616c207265666c656374696f6e734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573735b56616c69646174696f6e5d20666565732073686f756c64206265206c657373207468616e2032312e5b56616c69646174696f6e5d20666565732073686f756c642062652067726561746572207468616e207a65726f2e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725472616e7366657220616d6f756e74206d7573742062652067726561746572207468616e207a65726f45524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573734578636c75646564206164647265737365732063616e6e6f742063616c6c20746869732066756e6374696f6e45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122078347ae7e928967194fb59c419d463a9ba3520c3cc520af165b4b72a6d71ded364736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000006046f37e5945c00000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000ec5f6b85a91657d5d29005a5c8e4388ba8ae2563000000000000000000000000000000000000000000000000000000000000dead0000000000000000000000000000000000000000000000000000000000000006766572696679000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000037672660000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): verify
Arg [1] : symbol (string): vrf
Arg [2] : decimals (uint8): 18
Arg [3] : supply (uint256): 111000000000000000000
Arg [4] : fees (uint256): 1
Arg [5] : owner (address): 0xEc5F6B85A91657D5D29005A5C8E4388BA8AE2563
Arg [6] : feeWallet (address): 0x000000000000000000000000000000000000dEaD
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 000000000000000000000000000000000000000000000006046f37e5945c0000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [5] : 000000000000000000000000ec5f6b85a91657d5d29005a5c8e4388ba8ae2563
Arg [6] : 000000000000000000000000000000000000000000000000000000000000dead
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [8] : 7665726966790000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [10] : 7672660000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.