Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 4 internal transactions
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
21647876 | 26 days ago | Contract Creation | 0 ETH | |||
21647876 | 26 days ago | 0.3 ETH | ||||
20536588 | 181 days ago | Contract Creation | 0 ETH | |||
20536588 | 181 days ago | 0.3 ETH |
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Source Code Verified (Exact Match)
Contract Name:
BurnTokenAntiBotFactory
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; /** * ____ _______ _______ _ * | _ \| ____\ \/ /_ _|__ ___ | |___ * | | | | _| \ / | |/ _ \ / _ \| / __| * | |_| | |___ / \ | | (_) | (_) | \__ \ * |____/|_____/_/\_\ |_|\___/ \___/|_|___/ * * This smart contract was created effortlessly using the DEXTools Token Creator. * * 🌐 Website: https://www.dextools.io/ * 🐦 Twitter: https://twitter.com/DEXToolsApp * 💬 Telegram: https://t.me/DEXToolsCommunity * * 🚀 Unleash the power of decentralized finances and tokenization with DEXTools Token Creator. Customize your token seamlessly. Manage your created tokens conveniently from your user panel - start creating your dream token today! */ import { Clones } from "@openzeppelin/contracts/proxy/Clones.sol"; import { Address } from "@openzeppelin/contracts/utils/Address.sol"; import { TokenFactoryBase } from "../../factories/TokenFactoryBase.sol"; import { IStandardBurnERC20AntiBot } from "../interfaces/IStandardBurnERC20AntiBot.sol"; contract BurnTokenAntiBotFactory is TokenFactoryBase { using Address for address payable; constructor( address factoryManager_, address implementation_, address feeTo_, uint256 flatFee_, uint256 maxFee_ ) TokenFactoryBase( factoryManager_, implementation_, feeTo_, flatFee_, maxFee_ ) {} function create( string memory name, string memory symbol, uint8 decimals, uint256 totalSupply, uint16 burnFeeBps, address antibot, bool enableAntiBot ) external payable enoughFee nonReentrant returns (address token) { refundExcessiveFee(); payable(feeTo).sendValue(flatFee); token = Clones.cloneDeterministic(implementation, keccak256(abi.encodePacked(msg.sender, name, symbol, decimals, totalSupply, burnFeeBps, enableAntiBot))); IStandardBurnERC20AntiBot(token).initialize( msg.sender, name, symbol, decimals, totalSupply, burnFeeBps, antibot, enableAntiBot ); assignTokenToOwner(msg.sender, token, 10); emit TokenCreated(msg.sender, token, 10, implementationVersion); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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.9.0) (proxy/Clones.sol) pragma solidity ^0.8.0; /** * @dev https://eips.ethereum.org/EIPS/eip-1167[EIP 1167] is a standard for * deploying minimal proxy contracts, also known as "clones". * * > To simply and cheaply clone contract functionality in an immutable way, this standard specifies * > a minimal bytecode implementation that delegates all calls to a known, fixed address. * * The library includes functions to deploy a proxy using either `create` (traditional deployment) or `create2` * (salted deterministic deployment). It also includes functions to predict the addresses of clones deployed using the * deterministic method. * * _Available since v3.4._ */ library Clones { /** * @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`. * * This function uses the create opcode, which should never revert. */ function clone(address implementation) internal returns (address instance) { /// @solidity memory-safe-assembly assembly { // Cleans the upper 96 bits of the `implementation` word, then packs the first 3 bytes // of the `implementation` address with the bytecode before the address. mstore(0x00, or(shr(0xe8, shl(0x60, implementation)), 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000)) // Packs the remaining 17 bytes of `implementation` with the bytecode after the address. mstore(0x20, or(shl(0x78, implementation), 0x5af43d82803e903d91602b57fd5bf3)) instance := create(0, 0x09, 0x37) } require(instance != address(0), "ERC1167: create failed"); } /** * @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`. * * This function uses the create2 opcode and a `salt` to deterministically deploy * the clone. Using the same `implementation` and `salt` multiple time will revert, since * the clones cannot be deployed twice at the same address. */ function cloneDeterministic(address implementation, bytes32 salt) internal returns (address instance) { /// @solidity memory-safe-assembly assembly { // Cleans the upper 96 bits of the `implementation` word, then packs the first 3 bytes // of the `implementation` address with the bytecode before the address. mstore(0x00, or(shr(0xe8, shl(0x60, implementation)), 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000)) // Packs the remaining 17 bytes of `implementation` with the bytecode after the address. mstore(0x20, or(shl(0x78, implementation), 0x5af43d82803e903d91602b57fd5bf3)) instance := create2(0, 0x09, 0x37, salt) } require(instance != address(0), "ERC1167: create2 failed"); } /** * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}. */ function predictDeterministicAddress( address implementation, bytes32 salt, address deployer ) internal pure returns (address predicted) { /// @solidity memory-safe-assembly assembly { let ptr := mload(0x40) mstore(add(ptr, 0x38), deployer) mstore(add(ptr, 0x24), 0x5af43d82803e903d91602b57fd5bf3ff) mstore(add(ptr, 0x14), implementation) mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73) mstore(add(ptr, 0x58), salt) mstore(add(ptr, 0x78), keccak256(add(ptr, 0x0c), 0x37)) predicted := keccak256(add(ptr, 0x43), 0x55) } } /** * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}. */ function predictDeterministicAddress( address implementation, bytes32 salt ) internal view returns (address predicted) { return predictDeterministicAddress(implementation, salt, address(this)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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 * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [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://consensys.net/diligence/blog/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.8.0/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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.4) (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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; /** * ____ _______ _______ _ * | _ \| ____\ \/ /_ _|__ ___ | |___ * | | | | _| \ / | |/ _ \ / _ \| / __| * | |_| | |___ / \ | | (_) | (_) | \__ \ * |____/|_____/_/\_\ |_|\___/ \___/|_|___/ * * This smart contract was created effortlessly using the DEXTools Token Creator. * * 🌐 Website: https://www.dextools.io/ * 🐦 Twitter: https://twitter.com/DEXToolsApp * 💬 Telegram: https://t.me/DEXToolsCommunity * * 🚀 Unleash the power of decentralized finances and tokenization with DEXTools Token Creator. Customize your token seamlessly. Manage your created tokens conveniently from your user panel - start creating your dream token today! */ interface IStandardBurnERC20AntiBot { function initialize( address owner_, string memory name_, string memory symbol_, uint8 decimals_, uint256 totalSupply_, uint16 burnFee_, address antibot_, bool enableAntiBot_ ) external; }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; /** * ____ _______ _______ _ * | _ \| ____\ \/ /_ _|__ ___ | |___ * | | | | _| \ / | |/ _ \ / _ \| / __| * | |_| | |___ / \ | | (_) | (_) | \__ \ * |____/|_____/_/\_\ |_|\___/ \___/|_|___/ * * This smart contract was created effortlessly using the DEXTools Token Creator. * * 🌐 Website: https://www.dextools.io/ * 🐦 Twitter: https://twitter.com/DEXToolsApp * 💬 Telegram: https://t.me/DEXToolsCommunity * * 🚀 Unleash the power of decentralized finances and tokenization with DEXTools Token Creator. Customize your token seamlessly. Manage your created tokens conveniently from your user panel - start creating your dream token today! */ import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import { Address } from "@openzeppelin/contracts/utils/Address.sol"; import { ReentrancyGuard } from "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import { IFactoryManager } from "../interfaces/IFactoryManager.sol"; contract TokenFactoryBase is Ownable, ReentrancyGuard { using Address for address payable; address public immutable FACTORY_MANAGER; address public implementation; uint96 public implementationVersion; // Max value: 79228162514264337593543950335 address public feeTo; uint256 public flatFee; uint256 public immutable MAX_FEE; event TokenCreated( address indexed owner, address indexed token, uint8 tokenType, uint96 tokenVersion ); error InvalidFactoryManager(address implementation); error InvalidImplementation(address factoryManager); error InvalidFeeReceiver(address receiver); error InvalidFee(uint256 fee); error InvalidMaxFee(uint256 maxFee); error InsufficientFee(uint256 fee); modifier enoughFee() { if (msg.value < flatFee) revert InsufficientFee(msg.value); _; } constructor( address factoryManager_, address implementation_, address feeTo_, uint256 flatFee_, uint256 maxFee_ ) { if (factoryManager_ == address(0)) revert InvalidFactoryManager(factoryManager_); if (implementation_ == address(0)) revert InvalidImplementation(implementation_); if (feeTo_ == address(0)) revert InvalidFeeReceiver(feeTo_); if (flatFee_ >= maxFee_) revert InvalidFee(flatFee_); if (flatFee_ == 0) revert InvalidMaxFee(maxFee_); FACTORY_MANAGER = factoryManager_; implementation = implementation_; implementationVersion = 1; feeTo = feeTo_; flatFee = flatFee_; MAX_FEE = maxFee_; } function setImplementation(address implementation_) external onlyOwner { if (implementation_ == address(0) || implementation_ == address(this)) revert InvalidImplementation(implementation_); implementation = implementation_; ++implementationVersion; } function setFeeTo(address feeReceivingAddress) external onlyOwner { if ( feeReceivingAddress == address(0) || feeReceivingAddress == address(this) ) revert InvalidFeeReceiver(feeReceivingAddress); feeTo = feeReceivingAddress; } function setFlatFee(uint256 fee) external onlyOwner { if (fee >= MAX_FEE) revert InvalidFee(fee); flatFee = fee; } function assignTokenToOwner( address owner, address token, uint8 tokenType ) internal { IFactoryManager(FACTORY_MANAGER).assignTokensToOwner( owner, token, tokenType ); } function refundExcessiveFee() internal { uint256 refund = msg.value - flatFee; if (refund > 0) { payable(msg.sender).sendValue(refund); } } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; /** * ____ _______ _______ _ * | _ \| ____\ \/ /_ _|__ ___ | |___ * | | | | _| \ / | |/ _ \ / _ \| / __| * | |_| | |___ / \ | | (_) | (_) | \__ \ * |____/|_____/_/\_\ |_|\___/ \___/|_|___/ * * This smart contract was created effortlessly using the DEXTools Token Creator. * * 🌐 Website: https://www.dextools.io/ * 🐦 Twitter: https://twitter.com/DEXToolsApp * 💬 Telegram: https://t.me/DEXToolsCommunity * * 🚀 Unleash the power of decentralized finances and tokenization with DEXTools Token Creator. Customize your token seamlessly. Manage your created tokens conveniently from your user panel - start creating your dream token today! */ interface IFactoryManager { function assignTokensToOwner( address owner, address token, uint8 tokenType ) external; }
{ "evmVersion": "paris", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"factoryManager_","type":"address"},{"internalType":"address","name":"implementation_","type":"address"},{"internalType":"address","name":"feeTo_","type":"address"},{"internalType":"uint256","name":"flatFee_","type":"uint256"},{"internalType":"uint256","name":"maxFee_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"InsufficientFee","type":"error"},{"inputs":[{"internalType":"address","name":"implementation","type":"address"}],"name":"InvalidFactoryManager","type":"error"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"InvalidFee","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"InvalidFeeReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"factoryManager","type":"address"}],"name":"InvalidImplementation","type":"error"},{"inputs":[{"internalType":"uint256","name":"maxFee","type":"uint256"}],"name":"InvalidMaxFee","type":"error"},{"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":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint8","name":"tokenType","type":"uint8"},{"indexed":false,"internalType":"uint96","name":"tokenVersion","type":"uint96"}],"name":"TokenCreated","type":"event"},{"inputs":[],"name":"FACTORY_MANAGER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"},{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"uint16","name":"burnFeeBps","type":"uint16"},{"internalType":"address","name":"antibot","type":"address"},{"internalType":"bool","name":"enableAntiBot","type":"bool"}],"name":"create","outputs":[{"internalType":"address","name":"token","type":"address"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"feeTo","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flatFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"implementationVersion","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"feeReceivingAddress","type":"address"}],"name":"setFeeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"setFlatFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"implementation_","type":"address"}],"name":"setImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c06040523480156200001157600080fd5b5060405162000fc138038062000fc18339810160408190526200003491620001e8565b848484848462000044336200017b565b600180556001600160a01b0385166200008057604051631571790160e01b81526001600160a01b03861660048201526024015b60405180910390fd5b6001600160a01b038416620000b457604051630c76093760e01b81526001600160a01b038516600482015260240162000077565b6001600160a01b038316620000e85760405163cb9339d560e01b81526001600160a01b038416600482015260240162000077565b8082106200010d5760405163179c637760e11b81526004810183905260240162000077565b8160000362000133576040516317aa8ae760e11b81526004810182905260240162000077565b6001600160a01b03948516608052928416600160a01b17600255600380546001600160a01b031916929094169190911790925560049190915560a05250620002459350505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b0381168114620001e357600080fd5b919050565b600080600080600060a086880312156200020157600080fd5b6200020c86620001cb565b94506200021c60208701620001cb565b93506200022c60408701620001cb565b6060870151608090970151959894975095949392505050565b60805160a051610d486200027960003960008181610211015261044901526000818161018a01526108a30152610d486000f3fe6080604052600436106100c25760003560e01c8063715018a61161007f578063d784d42611610059578063d784d42614610241578063d9eb594714610261578063f2fde38b14610277578063f46901ed1461029757600080fd5b8063715018a6146101cc5780638da5cb5b146101e1578063bc063e1a146101ff57600080fd5b8063017e7e58146100c757806306bfcec6146101045780631991db441461014357806323fa495a1461015657806342246a57146101785780635c60da1b146101ac575b600080fd5b3480156100d357600080fd5b506003546100e7906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561011057600080fd5b5060025461012b90600160a01b90046001600160601b031681565b6040516001600160601b0390911681526020016100fb565b6100e7610151366004610a7d565b6102b7565b34801561016257600080fd5b50610176610171366004610b3e565b61043f565b005b34801561018457600080fd5b506100e77f000000000000000000000000000000000000000000000000000000000000000081565b3480156101b857600080fd5b506002546100e7906001600160a01b031681565b3480156101d857600080fd5b5061017661048f565b3480156101ed57600080fd5b506000546001600160a01b03166100e7565b34801561020b57600080fd5b506102337f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016100fb565b34801561024d57600080fd5b5061017661025c366004610b57565b6104a3565b34801561026d57600080fd5b5061023360045481565b34801561028357600080fd5b50610176610292366004610b57565b610551565b3480156102a357600080fd5b506101766102b2366004610b57565b6105ca565b60006004543410156102e35760405163131398d760e21b81523460048201526024015b60405180910390fd5b6102eb61063b565b6102f3610694565b60045460035461030e916001600160a01b03909116906106b2565b600254604051610357916001600160a01b03169061033c9033908c908c908c908c908c908b90602001610b9d565b604051602081830303815290604052805190602001206107d0565b60405163105e4a3360e11b81529091506001600160a01b038216906320bc9466906103949033908c908c908c908c908c908c908c90600401610c51565b600060405180830381600087803b1580156103ae57600080fd5b505af11580156103c2573d6000803e3d6000fd5b505050506103d23382600a610873565b60025460408051600a8152600160a01b9092046001600160601b031660208301526001600160a01b0383169133917f2395b95c14d87a016c2bfcac5b35c32cd39f2127399d3ccc77e145d0a3099d41910160405180910390a361043460018055565b979650505050505050565b610447610904565b7f0000000000000000000000000000000000000000000000000000000000000000811061048a5760405163179c637760e11b8152600481018290526024016102da565b600455565b610497610904565b6104a1600061095e565b565b6104ab610904565b6001600160a01b03811615806104c957506001600160a01b03811630145b156104f257604051630c76093760e01b81526001600160a01b03821660048201526024016102da565b600280546001600160a01b0319166001600160a01b0383161780825560149061052a90600160a01b90046001600160601b0316610cd9565b91906101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610559610904565b6001600160a01b0381166105be5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102da565b6105c78161095e565b50565b6105d2610904565b6001600160a01b03811615806105f057506001600160a01b03811630145b156106195760405163cb9339d560e01b81526001600160a01b03821660048201526024016102da565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60026001540361068d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102da565b6002600155565b6000600454346106a49190610cff565b905080156105c7576105c733825b804710156107025760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016102da565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461074f576040519150601f19603f3d011682016040523d82523d6000602084013e610754565b606091505b50509050806107cb5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016102da565b505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008360601b60e81c176000526e5af43d82803e903d91602b57fd5bf38360781b1760205281603760096000f590506001600160a01b03811661086d5760405162461bcd60e51b815260206004820152601760248201527f455243313136373a2063726561746532206661696c656400000000000000000060448201526064016102da565b92915050565b60405163141106f560e11b81526001600160a01b038481166004830152838116602483015260ff831660448301527f000000000000000000000000000000000000000000000000000000000000000016906328220dea90606401600060405180830381600087803b1580156108e757600080fd5b505af11580156108fb573d6000803e3d6000fd5b50505050505050565b6000546001600160a01b031633146104a15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102da565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126109d557600080fd5b813567ffffffffffffffff808211156109f0576109f06109ae565b604051601f8301601f19908116603f01168101908282118183101715610a1857610a186109ae565b81604052838152866020858801011115610a3157600080fd5b836020870160208301376000602085830101528094505050505092915050565b80356001600160a01b0381168114610a6857600080fd5b919050565b80358015158114610a6857600080fd5b600080600080600080600060e0888a031215610a9857600080fd5b873567ffffffffffffffff80821115610ab057600080fd5b610abc8b838c016109c4565b985060208a0135915080821115610ad257600080fd5b50610adf8a828b016109c4565b965050604088013560ff81168114610af657600080fd5b945060608801359350608088013561ffff81168114610b1457600080fd5b9250610b2260a08901610a51565b9150610b3060c08901610a6d565b905092959891949750929550565b600060208284031215610b5057600080fd5b5035919050565b600060208284031215610b6957600080fd5b610b7282610a51565b9392505050565b60005b83811015610b94578181015183820152602001610b7c565b50506000910152565b6001600160601b03198860601b16815260008751610bc2816014850160208c01610b79565b875190830190610bd9816014840160208c01610b79565b60f897881b6001600160f81b031916601492909101918201526015810195909552505060f09190911b6001600160f01b0319166035830152151590911b60378201526038019392505050565b60008151808452610c3d816020860160208601610b79565b601f01601f19169290920160200192915050565b6001600160a01b03898116825261010060208301819052600091610c778483018c610c25565b91508382036040850152610c8b828b610c25565b60ff9990991660608501526080840197909752505061ffff9390931660a0840152921660c082015290151560e0909101529392505050565b634e487b7160e01b600052601160045260246000fd5b60006001600160601b03808316818103610cf557610cf5610cc3565b6001019392505050565b8181038181111561086d5761086d610cc356fea2646970667358221220c3d956f72335454364b1af3e53fc0fbb9e46a3532c10636f91cdd9743125cbf064736f6c63430008130033000000000000000000000000b2665bc2539b624f5905faede00802f77be73b2b000000000000000000000000f78a10b15fb7e3d95443802a8bf692b534c70f42000000000000000000000000deb2fd0a2870df5ebdc1462e1725b0a30fbb49a3000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000052b7d2dcc80cd2e4000000
Deployed Bytecode
0x6080604052600436106100c25760003560e01c8063715018a61161007f578063d784d42611610059578063d784d42614610241578063d9eb594714610261578063f2fde38b14610277578063f46901ed1461029757600080fd5b8063715018a6146101cc5780638da5cb5b146101e1578063bc063e1a146101ff57600080fd5b8063017e7e58146100c757806306bfcec6146101045780631991db441461014357806323fa495a1461015657806342246a57146101785780635c60da1b146101ac575b600080fd5b3480156100d357600080fd5b506003546100e7906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561011057600080fd5b5060025461012b90600160a01b90046001600160601b031681565b6040516001600160601b0390911681526020016100fb565b6100e7610151366004610a7d565b6102b7565b34801561016257600080fd5b50610176610171366004610b3e565b61043f565b005b34801561018457600080fd5b506100e77f000000000000000000000000b2665bc2539b624f5905faede00802f77be73b2b81565b3480156101b857600080fd5b506002546100e7906001600160a01b031681565b3480156101d857600080fd5b5061017661048f565b3480156101ed57600080fd5b506000546001600160a01b03166100e7565b34801561020b57600080fd5b506102337f00000000000000000000000000000000000000000052b7d2dcc80cd2e400000081565b6040519081526020016100fb565b34801561024d57600080fd5b5061017661025c366004610b57565b6104a3565b34801561026d57600080fd5b5061023360045481565b34801561028357600080fd5b50610176610292366004610b57565b610551565b3480156102a357600080fd5b506101766102b2366004610b57565b6105ca565b60006004543410156102e35760405163131398d760e21b81523460048201526024015b60405180910390fd5b6102eb61063b565b6102f3610694565b60045460035461030e916001600160a01b03909116906106b2565b600254604051610357916001600160a01b03169061033c9033908c908c908c908c908c908b90602001610b9d565b604051602081830303815290604052805190602001206107d0565b60405163105e4a3360e11b81529091506001600160a01b038216906320bc9466906103949033908c908c908c908c908c908c908c90600401610c51565b600060405180830381600087803b1580156103ae57600080fd5b505af11580156103c2573d6000803e3d6000fd5b505050506103d23382600a610873565b60025460408051600a8152600160a01b9092046001600160601b031660208301526001600160a01b0383169133917f2395b95c14d87a016c2bfcac5b35c32cd39f2127399d3ccc77e145d0a3099d41910160405180910390a361043460018055565b979650505050505050565b610447610904565b7f00000000000000000000000000000000000000000052b7d2dcc80cd2e4000000811061048a5760405163179c637760e11b8152600481018290526024016102da565b600455565b610497610904565b6104a1600061095e565b565b6104ab610904565b6001600160a01b03811615806104c957506001600160a01b03811630145b156104f257604051630c76093760e01b81526001600160a01b03821660048201526024016102da565b600280546001600160a01b0319166001600160a01b0383161780825560149061052a90600160a01b90046001600160601b0316610cd9565b91906101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610559610904565b6001600160a01b0381166105be5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102da565b6105c78161095e565b50565b6105d2610904565b6001600160a01b03811615806105f057506001600160a01b03811630145b156106195760405163cb9339d560e01b81526001600160a01b03821660048201526024016102da565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60026001540361068d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102da565b6002600155565b6000600454346106a49190610cff565b905080156105c7576105c733825b804710156107025760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016102da565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461074f576040519150601f19603f3d011682016040523d82523d6000602084013e610754565b606091505b50509050806107cb5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016102da565b505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008360601b60e81c176000526e5af43d82803e903d91602b57fd5bf38360781b1760205281603760096000f590506001600160a01b03811661086d5760405162461bcd60e51b815260206004820152601760248201527f455243313136373a2063726561746532206661696c656400000000000000000060448201526064016102da565b92915050565b60405163141106f560e11b81526001600160a01b038481166004830152838116602483015260ff831660448301527f000000000000000000000000b2665bc2539b624f5905faede00802f77be73b2b16906328220dea90606401600060405180830381600087803b1580156108e757600080fd5b505af11580156108fb573d6000803e3d6000fd5b50505050505050565b6000546001600160a01b031633146104a15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102da565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126109d557600080fd5b813567ffffffffffffffff808211156109f0576109f06109ae565b604051601f8301601f19908116603f01168101908282118183101715610a1857610a186109ae565b81604052838152866020858801011115610a3157600080fd5b836020870160208301376000602085830101528094505050505092915050565b80356001600160a01b0381168114610a6857600080fd5b919050565b80358015158114610a6857600080fd5b600080600080600080600060e0888a031215610a9857600080fd5b873567ffffffffffffffff80821115610ab057600080fd5b610abc8b838c016109c4565b985060208a0135915080821115610ad257600080fd5b50610adf8a828b016109c4565b965050604088013560ff81168114610af657600080fd5b945060608801359350608088013561ffff81168114610b1457600080fd5b9250610b2260a08901610a51565b9150610b3060c08901610a6d565b905092959891949750929550565b600060208284031215610b5057600080fd5b5035919050565b600060208284031215610b6957600080fd5b610b7282610a51565b9392505050565b60005b83811015610b94578181015183820152602001610b7c565b50506000910152565b6001600160601b03198860601b16815260008751610bc2816014850160208c01610b79565b875190830190610bd9816014840160208c01610b79565b60f897881b6001600160f81b031916601492909101918201526015810195909552505060f09190911b6001600160f01b0319166035830152151590911b60378201526038019392505050565b60008151808452610c3d816020860160208601610b79565b601f01601f19169290920160200192915050565b6001600160a01b03898116825261010060208301819052600091610c778483018c610c25565b91508382036040850152610c8b828b610c25565b60ff9990991660608501526080840197909752505061ffff9390931660a0840152921660c082015290151560e0909101529392505050565b634e487b7160e01b600052601160045260246000fd5b60006001600160601b03808316818103610cf557610cf5610cc3565b6001019392505050565b8181038181111561086d5761086d610cc356fea2646970667358221220c3d956f72335454364b1af3e53fc0fbb9e46a3532c10636f91cdd9743125cbf064736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b2665bc2539b624f5905faede00802f77be73b2b000000000000000000000000f78a10b15fb7e3d95443802a8bf692b534c70f42000000000000000000000000deb2fd0a2870df5ebdc1462e1725b0a30fbb49a3000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000052b7d2dcc80cd2e4000000
-----Decoded View---------------
Arg [0] : factoryManager_ (address): 0xb2665bC2539B624F5905fAEde00802F77bE73b2b
Arg [1] : implementation_ (address): 0xf78A10B15FB7e3d95443802a8bf692B534C70f42
Arg [2] : feeTo_ (address): 0xDeb2FD0a2870Df5eBDC1462E1725B0a30FbB49A3
Arg [3] : flatFee_ (uint256): 1
Arg [4] : maxFee_ (uint256): 100000000000000000000000000
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000b2665bc2539b624f5905faede00802f77be73b2b
Arg [1] : 000000000000000000000000f78a10b15fb7e3d95443802a8bf692b534c70f42
Arg [2] : 000000000000000000000000deb2fd0a2870df5ebdc1462e1725b0a30fbb49a3
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [4] : 00000000000000000000000000000000000000000052b7d2dcc80cd2e4000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ 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.