ERC-20
Overview
Max Total Supply
1,000,000,000,000 MODS
Holders
225
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
113,340,131.074661797854915815 MODSValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ModulusDomainService
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity =0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "./Liquidity.sol"; contract ModulusDomainService is ERC20, Ownable { uint private _feesOnContract; uint private _slippage; address public cult; uint public cultAllocation; address public development; uint public developmentAllocation; address public marketing; uint public marketingAllocation; uint public buyTax = 400; uint public sellTax = 800; uint public perWalletHoldingPercent; error InvalidAddress(); error InvalidAllocation(); error InvalidPercent(); error InvalidTax(); error TransferLimitExceeded(); event AllocationsUpdated( uint cultAllocation, uint developmentAllocation, uint marketingAllocation ); event BuyTax(uint buyTax); event SellTax(uint sellTax); event Cult(address cult); event Development(address development); event Marketing(address marketing); event PerWalletHoldingPercent(uint perWalletHoldingPercent); constructor( string memory _name, string memory _symbol, uint _supply, address _cult, uint _cultAllocation, address _development, uint _developmentAllocation, address _marketing, uint _marketingAllocation, uint _perWalletHoldingPercent ) ERC20(_name, _symbol) { if ( _cult == address(0) || _development == address(0) || _marketing == address(0) ) revert InvalidAddress(); if ( _cultAllocation == 0 || _developmentAllocation == 0 || _marketingAllocation == 0 || _cultAllocation + _developmentAllocation + _marketingAllocation != Liquidity.MAX_PRECENT ) revert InvalidAllocation(); if ( _perWalletHoldingPercent == 0 || _perWalletHoldingPercent > Liquidity.MAX_PRECENT ) { revert InvalidPercent(); } _mint(msg.sender, _supply); cult = _cult; cultAllocation = _cultAllocation; marketing = _marketing; marketingAllocation = _marketingAllocation; development = _development; developmentAllocation = _developmentAllocation; _slippage = sellTax + Liquidity.MIN_PERCENT; perWalletHoldingPercent = _perWalletHoldingPercent; } function isValidTransfer(uint _amount, address _to) private view returns (bool) { uint validTokenTransfer = ((totalSupply() * perWalletHoldingPercent) / Liquidity.MAX_PRECENT) - balanceOf(_to); return _amount <= validTokenTransfer; } function _transfer( address from, address to, uint amount ) internal virtual override { address pair = Liquidity.getPair(address(this), Liquidity.DAI); if ( to != pair && to != address(this) && to != owner() && to != development && to != marketing && to != Liquidity.DEAD_ADDRESS ) if (!isValidTransfer(amount, to)) revert TransferLimitExceeded(); if ( (pair == to && from != address(this) && from != owner()) || (pair == from && to != address(this) && to != owner()) ) { uint tax = from == pair ? buyTax : sellTax; uint feeAmount = (amount * tax) / Liquidity.MAX_PRECENT; super._transfer(from, address(this), feeAmount); _feesOnContract += feeAmount; if (from != pair) { uint _totalAllocation = cultAllocation + developmentAllocation + marketingAllocation; uint _cultAllocation = (_feesOnContract * cultAllocation) / _totalAllocation; uint _developmentAllocation = (_feesOnContract * developmentAllocation) / _totalAllocation; uint _marketingAllocation = _feesOnContract - (_cultAllocation + _developmentAllocation); _buyBack(cult, Liquidity.DEAD_ADDRESS, _cultAllocation); _buyBack(Liquidity.DAI, development, _developmentAllocation); _buyBack(Liquidity.DAI, marketing, _marketingAllocation); _feesOnContract = 0; } else { if (!isValidTransfer(amount, to)) revert TransferLimitExceeded(); } return super._transfer(from, to, amount - feeAmount); } else return super._transfer(from, to, amount); } function _buyBack( address _tokenOut, address _to, uint _amountIn ) private { if (_amountIn > 0) { Liquidity.swap(address(this), _tokenOut, _amountIn, _slippage, _to); } } function updateBuyTax(uint _tax) external onlyOwner { if (_tax == 0 || _tax > Liquidity.MAX_PRECENT) revert InvalidTax(); buyTax = _tax; emit BuyTax(_tax); } function updateSellTax(uint _tax) external onlyOwner { if (_tax == 0 || _tax > Liquidity.MAX_PRECENT) revert InvalidTax(); sellTax = _tax; _slippage = _tax + Liquidity.MIN_PERCENT; emit SellTax(_tax); } function updateCult(address _token) external onlyOwner { if (_token == address(0)) revert InvalidAddress(); cult = _token; emit Cult(_token); } function updateDevelopment(address _account) external onlyOwner { if (_account == address(0)) revert InvalidAddress(); development = _account; emit Development(_account); } function updateMarketing(address _account) external onlyOwner { if (_account == address(0)) revert InvalidAddress(); marketing = _account; emit Marketing(_account); } function updateAllocations( uint _cultAllocation, uint _developmentAllocation, uint _marketingAllocation ) external onlyOwner { if ( _cultAllocation == 0 || _developmentAllocation == 0 || _marketingAllocation == 0 || _cultAllocation + _developmentAllocation + _marketingAllocation != Liquidity.MAX_PRECENT ) revert InvalidAllocation(); cultAllocation = _cultAllocation; developmentAllocation = _developmentAllocation; marketingAllocation = _marketingAllocation; emit AllocationsUpdated( cultAllocation, developmentAllocation, marketingAllocation ); } function updatePerWalletHoldingPercent(uint _perWalletHoldingPercent) external onlyOwner { if ( _perWalletHoldingPercent == 0 || _perWalletHoldingPercent > Liquidity.MAX_PRECENT ) revert InvalidPercent(); perWalletHoldingPercent = _perWalletHoldingPercent; emit PerWalletHoldingPercent(perWalletHoldingPercent); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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 anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
// SPDX-License-Identifier: MIT pragma solidity =0.8.9; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; library Liquidity { address public constant FACTORY = 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f; address public constant ROUTER = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; address public constant WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; address public constant DAI = 0x6B175474E89094C44Da98b954EedeAC495271d0F; address public constant DEAD_ADDRESS = 0x000000000000000000000000000000000000dEaD; uint public constant MIN_PERCENT = 100; uint public constant MAX_PRECENT = 10000; function swap( address _tokenIn, address _tokenOut, uint _amountIn, uint _slippage, address _to ) internal returns (uint) { approveIERC20(_tokenIn, ROUTER, _amountIn); address[] memory path; if (_tokenIn == DAI || _tokenOut == DAI) { path = new address[](2); path[0] = _tokenIn; path[1] = _tokenOut; } else { path = new address[](4); path[0] = _tokenIn; path[1] = DAI; path[2] = WETH; path[3] = _tokenOut; } uint _amountOutMin = (IUniswapV2Router02(ROUTER).getAmountsOut( _amountIn, path )[path.length - 1] * (MAX_PRECENT - _slippage)) / MAX_PRECENT; uint balanceBefore = balanceOfIERC20(_tokenOut, _to); IUniswapV2Router02(ROUTER) .swapExactTokensForTokensSupportingFeeOnTransferTokens( _amountIn, _amountOutMin, path, _to, block.timestamp ); uint balanceAfter = balanceOfIERC20(_tokenOut, _to); return balanceAfter - balanceBefore; } function getPair(address _tokenA, address _tokenB) internal view returns (address) { return IUniswapV2Factory(FACTORY).getPair(_tokenA, _tokenB); } function approveIERC20( address _token, address _to, uint _amount ) internal returns (bool) { return IERC20(_token).approve(_to, _amount); } function balanceOfIERC20(address _token, address _user) internal view returns (uint) { return IERC20(_token).balanceOf(_user); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "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":"uint256","name":"_supply","type":"uint256"},{"internalType":"address","name":"_cult","type":"address"},{"internalType":"uint256","name":"_cultAllocation","type":"uint256"},{"internalType":"address","name":"_development","type":"address"},{"internalType":"uint256","name":"_developmentAllocation","type":"uint256"},{"internalType":"address","name":"_marketing","type":"address"},{"internalType":"uint256","name":"_marketingAllocation","type":"uint256"},{"internalType":"uint256","name":"_perWalletHoldingPercent","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InvalidAddress","type":"error"},{"inputs":[],"name":"InvalidAllocation","type":"error"},{"inputs":[],"name":"InvalidPercent","type":"error"},{"inputs":[],"name":"InvalidTax","type":"error"},{"inputs":[],"name":"TransferLimitExceeded","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"cultAllocation","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"developmentAllocation","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"marketingAllocation","type":"uint256"}],"name":"AllocationsUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"buyTax","type":"uint256"}],"name":"BuyTax","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"cult","type":"address"}],"name":"Cult","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"development","type":"address"}],"name":"Development","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"marketing","type":"address"}],"name":"Marketing","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":"uint256","name":"perWalletHoldingPercent","type":"uint256"}],"name":"PerWalletHoldingPercent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"sellTax","type":"uint256"}],"name":"SellTax","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":"buyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cult","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cultAllocation","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":[],"name":"development","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"developmentAllocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketing","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingAllocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"perWalletHoldingPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","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"},{"inputs":[{"internalType":"uint256","name":"_cultAllocation","type":"uint256"},{"internalType":"uint256","name":"_developmentAllocation","type":"uint256"},{"internalType":"uint256","name":"_marketingAllocation","type":"uint256"}],"name":"updateAllocations","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tax","type":"uint256"}],"name":"updateBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"updateCult","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"updateDevelopment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"updateMarketing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_perWalletHoldingPercent","type":"uint256"}],"name":"updatePerWalletHoldingPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tax","type":"uint256"}],"name":"updateSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052610190600e55610320600f553480156200001d57600080fd5b50604051620020b2380380620020b2833981016040819052620000409162000490565b89518a908a906200005990600390602085019062000300565b5080516200006f90600490602084019062000300565b5050506200008c62000086620001e460201b60201c565b620001e8565b6001600160a01b0387161580620000aa57506001600160a01b038516155b80620000bd57506001600160a01b038316155b15620000dc5760405163e6c4247b60e01b815260040160405180910390fd5b851580620000e8575083155b80620000f2575081155b806200011857506127108262000109868962000564565b62000115919062000564565b14155b1562000137576040516305d7ba1960e11b815260040160405180910390fd5b80158062000146575061271081115b156200016557604051635c974e3d60e11b815260040160405180910390fd5b6200017133896200023a565b600880546001600160a01b03808a166001600160a01b0319928316179092556009889055600c8054868416908316179055600d849055600a805492881692909116919091179055600b849055600f54620001ce9060649062000564565b60075560105550620005c8975050505050505050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620002955760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620002a9919062000564565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b8280546200030e906200058b565b90600052602060002090601f0160209004810192826200033257600085556200037d565b82601f106200034d57805160ff19168380011785556200037d565b828001600101855582156200037d579182015b828111156200037d57825182559160200191906001019062000360565b506200038b9291506200038f565b5090565b5b808211156200038b576000815560010162000390565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620003ce57600080fd5b81516001600160401b0380821115620003eb57620003eb620003a6565b604051601f8301601f19908116603f01168101908282118183101715620004165762000416620003a6565b816040528381526020925086838588010111156200043357600080fd5b600091505b8382101562000457578582018301518183018401529082019062000438565b83821115620004695760008385830101525b9695505050505050565b80516001600160a01b03811681146200048b57600080fd5b919050565b6000806000806000806000806000806101408b8d031215620004b157600080fd5b8a516001600160401b0380821115620004c957600080fd5b620004d78e838f01620003bc565b9b5060208d0151915080821115620004ee57600080fd5b50620004fd8d828e01620003bc565b99505060408b015197506200051560608c0162000473565b965060808b015195506200052c60a08c0162000473565b945060c08b015193506200054360e08c0162000473565b92506101008b015191506101208b015190509295989b9194979a5092959850565b600082198211156200058657634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620005a057607f821691505b60208210811415620005c257634e487b7160e01b600052602260045260246000fd5b50919050565b611ada80620005d86000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80637a57dda711610104578063a457c2d7116100a2578063cc1776d311610071578063cc1776d3146103d7578063dd62ed3e146103e0578063f16e3aab146103f3578063f2fde38b146103fc57600080fd5b8063a457c2d71461038b578063a9059cbb1461039e578063b91ebc88146103b1578063bee3551c146103c457600080fd5b80638da5cb5b116100de5780638da5cb5b1461034c57806395d89b411461035d5780639a7fa2b414610365578063a1bd81051461037857600080fd5b80637a57dda7146103135780637b929c27146103265780638855652a1461033957600080fd5b80632c80a89c1161017c578063436d33401161014b578063436d3340146102c65780634f7041a5146102d957806370a08231146102e2578063715018a61461030b57600080fd5b80632c80a89c146102705780632d3e474a14610279578063313ce567146102a457806339509351146102b357600080fd5b806312185a39116101b857806312185a391461023757806315f0c2201461024c57806318160ddd1461025557806323b872dd1461025d57600080fd5b806306fdde03146101df578063095ea7b3146101fd5780630996007e14610220575b600080fd5b6101e761040f565b6040516101f49190611696565b60405180910390f35b61021061020b366004611700565b6104a1565b60405190151581526020016101f4565b61022960095481565b6040519081526020016101f4565b61024a61024536600461172c565b6104b9565b005b610229600d5481565b600254610229565b61021061026b366004611745565b610537565b610229600b5481565b600c5461028c906001600160a01b031681565b6040516001600160a01b0390911681526020016101f4565b604051601281526020016101f4565b6102106102c1366004611700565b61055b565b61024a6102d436600461172c565b61057d565b610229600e5481565b6102296102f0366004611786565b6001600160a01b031660009081526020819052604090205490565b61024a6105e6565b61024a6103213660046117a3565b6105fa565b600a5461028c906001600160a01b031681565b61024a61034736600461172c565b6106aa565b6005546001600160a01b031661028c565b6101e7610713565b61024a610373366004611786565b610722565b60085461028c906001600160a01b031681565b610210610399366004611700565b61079f565b6102106103ac366004611700565b61081f565b61024a6103bf366004611786565b61082d565b61024a6103d2366004611786565b6108aa565b610229600f5481565b6102296103ee3660046117cf565b610927565b61022960105481565b61024a61040a366004611786565b610952565b60606003805461041e90611808565b80601f016020809104026020016040519081016040528092919081815260200182805461044a90611808565b80156104975780601f1061046c57610100808354040283529160200191610497565b820191906000526020600020905b81548152906001019060200180831161047a57829003601f168201915b5050505050905090565b6000336104af8185856109cb565b5060019392505050565b6104c1610aef565b8015806104cf575061271081115b156104ed576040516337d4ed5b60e01b815260040160405180910390fd5b600f8190556104fd606482611859565b6007556040518181527fd93c3e7c6d4532f91eaf1249b7cfc5c5a241a22f8a001a14e3f57ecbfcfe2c36906020015b60405180910390a150565b600033610545858285610b49565b610550858585610bc3565b506001949350505050565b6000336104af81858561056e8383610927565b6105789190611859565b6109cb565b610585610aef565b801580610593575061271081115b156105b1576040516337d4ed5b60e01b815260040160405180910390fd5b600e8190556040518181527f61ba7bbfb38ea8441858ab0fb215bc3deb9242b578740f4899a246ec6d161c889060200161052c565b6105ee610aef565b6105f86000610ef6565b565b610602610aef565b82158061060d575081155b80610616575080155b8061063757506127108161062a8486611859565b6106349190611859565b14155b15610655576040516305d7ba1960e11b815260040160405180910390fd5b6009839055600b829055600d81905560408051848152602081018490529081018290527f7ac4f85230181c33e38028a62708509dcfe21b74e6305253b01d63ca3c28602d9060600160405180910390a1505050565b6106b2610aef565b8015806106c0575061271081115b156106de57604051635c974e3d60e11b815260040160405180910390fd5b60108190556040518181527f8b15ac7abd44ca6c242a141afaffc9333fdb9d578f737b6abeaebb12b5b8059e9060200161052c565b60606004805461041e90611808565b61072a610aef565b6001600160a01b0381166107515760405163e6c4247b60e01b815260040160405180910390fd5b600a80546001600160a01b0319166001600160a01b0383169081179091556040519081527f1ca756a26feb37a6fe0642f67e535eb80c5f74bafcc47b90cba1891adeb2554a9060200161052c565b600033816107ad8286610927565b9050838110156108125760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61055082868684036109cb565b6000336104af818585610bc3565b610835610aef565b6001600160a01b03811661085c5760405163e6c4247b60e01b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b0383169081179091556040519081527f18e820fed86f10a7fe33ec4e0b9e48e98849433c21fb865f62e91b9671eb47339060200161052c565b6108b2610aef565b6001600160a01b0381166108d95760405163e6c4247b60e01b815260040160405180910390fd5b600880546001600160a01b0319166001600160a01b0383169081179091556040519081527fa51a82fdfb85461c31919a8ea052fa660adcbcdcc910001990957cccdecce80f9060200161052c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61095a610aef565b6001600160a01b0381166109bf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610809565b6109c881610ef6565b50565b6001600160a01b038316610a2d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610809565b6001600160a01b038216610a8e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610809565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146105f85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610809565b6000610b558484610927565b90506000198114610bbd5781811015610bb05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610809565b610bbd84848484036109cb565b50505050565b6000610be330736b175474e89094c44da98b954eedeac495271d0f610f48565b9050806001600160a01b0316836001600160a01b031614158015610c1057506001600160a01b0383163014155b8015610c2a57506005546001600160a01b03848116911614155b8015610c445750600a546001600160a01b03848116911614155b8015610c5e5750600c546001600160a01b03848116911614155b8015610c7557506001600160a01b03831661dead14155b15610ca157610c848284610fe5565b610ca157604051633525bb0b60e01b815260040160405180910390fd5b826001600160a01b0316816001600160a01b0316148015610ccb57506001600160a01b0384163014155b8015610ce557506005546001600160a01b03858116911614155b80610d2f5750836001600160a01b0316816001600160a01b0316148015610d1557506001600160a01b0383163014155b8015610d2f57506005546001600160a01b03848116911614155b15610eeb576000816001600160a01b0316856001600160a01b031614610d5757600f54610d5b565b600e545b90506000612710610d6c8386611871565b610d769190611890565b9050610d83863083611038565b8060066000828254610d959190611859565b90915550506001600160a01b0386811690841614610ea8576000600d54600b54600954610dc29190611859565b610dcc9190611859565b9050600081600954600654610de19190611871565b610deb9190611890565b9050600082600b54600654610e009190611871565b610e0a9190611890565b90506000610e188284611859565b600654610e2591906118b2565b600854909150610e41906001600160a01b031661dead856111dc565b600a54610e6d90736b175474e89094c44da98b954eedeac495271d0f906001600160a01b0316846111dc565b600c54610e9990736b175474e89094c44da98b954eedeac495271d0f906001600160a01b0316836111dc565b5050600060065550610ecf9050565b610eb28486610fe5565b610ecf57604051633525bb0b60e01b815260040160405180910390fd5b610ee38686610ede84886118b2565b611038565b505050505050565b610bbd848484611038565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60405163e6a4390560e01b81526001600160a01b03808416600483015282166024820152600090735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f9063e6a439059060440160206040518083038186803b158015610fa657600080fd5b505afa158015610fba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fde91906118c9565b9392505050565b6001600160a01b038116600090815260208190526040812054819061271060105461100f60025490565b6110199190611871565b6110239190611890565b61102d91906118b2565b909311159392505050565b6001600160a01b03831661109c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610809565b6001600160a01b0382166110fe5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610809565b6001600160a01b038316600090815260208190526040902054818110156111765760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610809565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610bbd565b80156111f157610bbd308483600754866111f6565b505050565b600061121786737a250d5630b4cf539739df2c5dacb4c659f2488d8661158b565b5060606001600160a01b038716736b175474e89094c44da98b954eedeac495271d0f148061126157506001600160a01b038616736b175474e89094c44da98b954eedeac495271d0f145b156112f3576040805160028082526060820183529091602083019080368337019050509050868160008151811061129a5761129a6118fc565b60200260200101906001600160a01b031690816001600160a01b03168152505085816001815181106112ce576112ce6118fc565b60200260200101906001600160a01b031690816001600160a01b03168152505061140d565b60408051600480825260a0820190925290602082016080803683370190505090508681600081518110611328576113286118fc565b60200260200101906001600160a01b031690816001600160a01b031681525050736b175474e89094c44da98b954eedeac495271d0f81600181518110611370576113706118fc565b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2816002815181106113b8576113b86118fc565b60200260200101906001600160a01b031690816001600160a01b03168152505085816003815181106113ec576113ec6118fc565b60200260200101906001600160a01b031690816001600160a01b0316815250505b600061271061141c86826118b2565b60405163d06ca61f60e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063d06ca61f90611455908b908890600401611956565b60006040518083038186803b15801561146d57600080fd5b505afa158015611481573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114a9919081019061196f565b600185516114b791906118b2565b815181106114c7576114c76118fc565b60200260200101516114d99190611871565b6114e39190611890565b905060006114f18886611619565b604051635c11d79560e01b8152909150737a250d5630b4cf539739df2c5dacb4c659f2488d90635c11d79590611533908a90869088908b904290600401611a2d565b600060405180830381600087803b15801561154d57600080fd5b505af1158015611561573d6000803e3d6000fd5b5050505060006115718987611619565b905061157d82826118b2565b9a9950505050505050505050565b60405163095ea7b360e01b81526001600160a01b038381166004830152602482018390526000919085169063095ea7b390604401602060405180830381600087803b1580156115d957600080fd5b505af11580156115ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116119190611a69565b949350505050565b6040516370a0823160e01b81526001600160a01b038281166004830152600091908416906370a082319060240160206040518083038186803b15801561165e57600080fd5b505afa158015611672573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fde9190611a8b565b600060208083528351808285015260005b818110156116c3578581018301518582016040015282016116a7565b818111156116d5576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146109c857600080fd5b6000806040838503121561171357600080fd5b823561171e816116eb565b946020939093013593505050565b60006020828403121561173e57600080fd5b5035919050565b60008060006060848603121561175a57600080fd5b8335611765816116eb565b92506020840135611775816116eb565b929592945050506040919091013590565b60006020828403121561179857600080fd5b8135610fde816116eb565b6000806000606084860312156117b857600080fd5b505081359360208301359350604090920135919050565b600080604083850312156117e257600080fd5b82356117ed816116eb565b915060208301356117fd816116eb565b809150509250929050565b600181811c9082168061181c57607f821691505b6020821081141561183d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561186c5761186c611843565b500190565b600081600019048311821515161561188b5761188b611843565b500290565b6000826118ad57634e487b7160e01b600052601260045260246000fd5b500490565b6000828210156118c4576118c4611843565b500390565b6000602082840312156118db57600080fd5b8151610fde816116eb565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b8381101561194b5781516001600160a01b031687529582019590820190600101611926565b509495945050505050565b8281526040602082015260006116116040830184611912565b6000602080838503121561198257600080fd5b825167ffffffffffffffff8082111561199a57600080fd5b818501915085601f8301126119ae57600080fd5b8151818111156119c0576119c06118e6565b8060051b604051601f19603f830116810181811085821117156119e5576119e56118e6565b604052918252848201925083810185019188831115611a0357600080fd5b938501935b82851015611a2157845184529385019392850192611a08565b98975050505050505050565b85815284602082015260a060408201526000611a4c60a0830186611912565b6001600160a01b0394909416606083015250608001529392505050565b600060208284031215611a7b57600080fd5b81518015158114610fde57600080fd5b600060208284031215611a9d57600080fd5b505191905056fea26469706673582212202f9bc639d055157e22d663c328131bbd923420ce4355ccd61f9bd7a19c2b729e64736f6c6343000809003300000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000c9f2c9cd04674edea40000000000000000000000000000000f0f9d895aca5c8678f706fb8216fa22957685a1300000000000000000000000000000000000000000000000000000000000009c4000000000000000000000000da48014e8d770985d0d378db8c872f08fbc5e3290000000000000000000000000000000000000000000000000000000000001388000000000000000000000000a599106f7c77b3e580501cfe5df928b4f38b27b000000000000000000000000000000000000000000000000000000000000009c400000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000164d6f64756c757320446f6d61696e20536572766963650000000000000000000000000000000000000000000000000000000000000000000000000000000000044d4f445300000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101da5760003560e01c80637a57dda711610104578063a457c2d7116100a2578063cc1776d311610071578063cc1776d3146103d7578063dd62ed3e146103e0578063f16e3aab146103f3578063f2fde38b146103fc57600080fd5b8063a457c2d71461038b578063a9059cbb1461039e578063b91ebc88146103b1578063bee3551c146103c457600080fd5b80638da5cb5b116100de5780638da5cb5b1461034c57806395d89b411461035d5780639a7fa2b414610365578063a1bd81051461037857600080fd5b80637a57dda7146103135780637b929c27146103265780638855652a1461033957600080fd5b80632c80a89c1161017c578063436d33401161014b578063436d3340146102c65780634f7041a5146102d957806370a08231146102e2578063715018a61461030b57600080fd5b80632c80a89c146102705780632d3e474a14610279578063313ce567146102a457806339509351146102b357600080fd5b806312185a39116101b857806312185a391461023757806315f0c2201461024c57806318160ddd1461025557806323b872dd1461025d57600080fd5b806306fdde03146101df578063095ea7b3146101fd5780630996007e14610220575b600080fd5b6101e761040f565b6040516101f49190611696565b60405180910390f35b61021061020b366004611700565b6104a1565b60405190151581526020016101f4565b61022960095481565b6040519081526020016101f4565b61024a61024536600461172c565b6104b9565b005b610229600d5481565b600254610229565b61021061026b366004611745565b610537565b610229600b5481565b600c5461028c906001600160a01b031681565b6040516001600160a01b0390911681526020016101f4565b604051601281526020016101f4565b6102106102c1366004611700565b61055b565b61024a6102d436600461172c565b61057d565b610229600e5481565b6102296102f0366004611786565b6001600160a01b031660009081526020819052604090205490565b61024a6105e6565b61024a6103213660046117a3565b6105fa565b600a5461028c906001600160a01b031681565b61024a61034736600461172c565b6106aa565b6005546001600160a01b031661028c565b6101e7610713565b61024a610373366004611786565b610722565b60085461028c906001600160a01b031681565b610210610399366004611700565b61079f565b6102106103ac366004611700565b61081f565b61024a6103bf366004611786565b61082d565b61024a6103d2366004611786565b6108aa565b610229600f5481565b6102296103ee3660046117cf565b610927565b61022960105481565b61024a61040a366004611786565b610952565b60606003805461041e90611808565b80601f016020809104026020016040519081016040528092919081815260200182805461044a90611808565b80156104975780601f1061046c57610100808354040283529160200191610497565b820191906000526020600020905b81548152906001019060200180831161047a57829003601f168201915b5050505050905090565b6000336104af8185856109cb565b5060019392505050565b6104c1610aef565b8015806104cf575061271081115b156104ed576040516337d4ed5b60e01b815260040160405180910390fd5b600f8190556104fd606482611859565b6007556040518181527fd93c3e7c6d4532f91eaf1249b7cfc5c5a241a22f8a001a14e3f57ecbfcfe2c36906020015b60405180910390a150565b600033610545858285610b49565b610550858585610bc3565b506001949350505050565b6000336104af81858561056e8383610927565b6105789190611859565b6109cb565b610585610aef565b801580610593575061271081115b156105b1576040516337d4ed5b60e01b815260040160405180910390fd5b600e8190556040518181527f61ba7bbfb38ea8441858ab0fb215bc3deb9242b578740f4899a246ec6d161c889060200161052c565b6105ee610aef565b6105f86000610ef6565b565b610602610aef565b82158061060d575081155b80610616575080155b8061063757506127108161062a8486611859565b6106349190611859565b14155b15610655576040516305d7ba1960e11b815260040160405180910390fd5b6009839055600b829055600d81905560408051848152602081018490529081018290527f7ac4f85230181c33e38028a62708509dcfe21b74e6305253b01d63ca3c28602d9060600160405180910390a1505050565b6106b2610aef565b8015806106c0575061271081115b156106de57604051635c974e3d60e11b815260040160405180910390fd5b60108190556040518181527f8b15ac7abd44ca6c242a141afaffc9333fdb9d578f737b6abeaebb12b5b8059e9060200161052c565b60606004805461041e90611808565b61072a610aef565b6001600160a01b0381166107515760405163e6c4247b60e01b815260040160405180910390fd5b600a80546001600160a01b0319166001600160a01b0383169081179091556040519081527f1ca756a26feb37a6fe0642f67e535eb80c5f74bafcc47b90cba1891adeb2554a9060200161052c565b600033816107ad8286610927565b9050838110156108125760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61055082868684036109cb565b6000336104af818585610bc3565b610835610aef565b6001600160a01b03811661085c5760405163e6c4247b60e01b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b0383169081179091556040519081527f18e820fed86f10a7fe33ec4e0b9e48e98849433c21fb865f62e91b9671eb47339060200161052c565b6108b2610aef565b6001600160a01b0381166108d95760405163e6c4247b60e01b815260040160405180910390fd5b600880546001600160a01b0319166001600160a01b0383169081179091556040519081527fa51a82fdfb85461c31919a8ea052fa660adcbcdcc910001990957cccdecce80f9060200161052c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61095a610aef565b6001600160a01b0381166109bf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610809565b6109c881610ef6565b50565b6001600160a01b038316610a2d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610809565b6001600160a01b038216610a8e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610809565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b031633146105f85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610809565b6000610b558484610927565b90506000198114610bbd5781811015610bb05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610809565b610bbd84848484036109cb565b50505050565b6000610be330736b175474e89094c44da98b954eedeac495271d0f610f48565b9050806001600160a01b0316836001600160a01b031614158015610c1057506001600160a01b0383163014155b8015610c2a57506005546001600160a01b03848116911614155b8015610c445750600a546001600160a01b03848116911614155b8015610c5e5750600c546001600160a01b03848116911614155b8015610c7557506001600160a01b03831661dead14155b15610ca157610c848284610fe5565b610ca157604051633525bb0b60e01b815260040160405180910390fd5b826001600160a01b0316816001600160a01b0316148015610ccb57506001600160a01b0384163014155b8015610ce557506005546001600160a01b03858116911614155b80610d2f5750836001600160a01b0316816001600160a01b0316148015610d1557506001600160a01b0383163014155b8015610d2f57506005546001600160a01b03848116911614155b15610eeb576000816001600160a01b0316856001600160a01b031614610d5757600f54610d5b565b600e545b90506000612710610d6c8386611871565b610d769190611890565b9050610d83863083611038565b8060066000828254610d959190611859565b90915550506001600160a01b0386811690841614610ea8576000600d54600b54600954610dc29190611859565b610dcc9190611859565b9050600081600954600654610de19190611871565b610deb9190611890565b9050600082600b54600654610e009190611871565b610e0a9190611890565b90506000610e188284611859565b600654610e2591906118b2565b600854909150610e41906001600160a01b031661dead856111dc565b600a54610e6d90736b175474e89094c44da98b954eedeac495271d0f906001600160a01b0316846111dc565b600c54610e9990736b175474e89094c44da98b954eedeac495271d0f906001600160a01b0316836111dc565b5050600060065550610ecf9050565b610eb28486610fe5565b610ecf57604051633525bb0b60e01b815260040160405180910390fd5b610ee38686610ede84886118b2565b611038565b505050505050565b610bbd848484611038565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60405163e6a4390560e01b81526001600160a01b03808416600483015282166024820152600090735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f9063e6a439059060440160206040518083038186803b158015610fa657600080fd5b505afa158015610fba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fde91906118c9565b9392505050565b6001600160a01b038116600090815260208190526040812054819061271060105461100f60025490565b6110199190611871565b6110239190611890565b61102d91906118b2565b909311159392505050565b6001600160a01b03831661109c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610809565b6001600160a01b0382166110fe5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610809565b6001600160a01b038316600090815260208190526040902054818110156111765760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610809565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610bbd565b80156111f157610bbd308483600754866111f6565b505050565b600061121786737a250d5630b4cf539739df2c5dacb4c659f2488d8661158b565b5060606001600160a01b038716736b175474e89094c44da98b954eedeac495271d0f148061126157506001600160a01b038616736b175474e89094c44da98b954eedeac495271d0f145b156112f3576040805160028082526060820183529091602083019080368337019050509050868160008151811061129a5761129a6118fc565b60200260200101906001600160a01b031690816001600160a01b03168152505085816001815181106112ce576112ce6118fc565b60200260200101906001600160a01b031690816001600160a01b03168152505061140d565b60408051600480825260a0820190925290602082016080803683370190505090508681600081518110611328576113286118fc565b60200260200101906001600160a01b031690816001600160a01b031681525050736b175474e89094c44da98b954eedeac495271d0f81600181518110611370576113706118fc565b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2816002815181106113b8576113b86118fc565b60200260200101906001600160a01b031690816001600160a01b03168152505085816003815181106113ec576113ec6118fc565b60200260200101906001600160a01b031690816001600160a01b0316815250505b600061271061141c86826118b2565b60405163d06ca61f60e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063d06ca61f90611455908b908890600401611956565b60006040518083038186803b15801561146d57600080fd5b505afa158015611481573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114a9919081019061196f565b600185516114b791906118b2565b815181106114c7576114c76118fc565b60200260200101516114d99190611871565b6114e39190611890565b905060006114f18886611619565b604051635c11d79560e01b8152909150737a250d5630b4cf539739df2c5dacb4c659f2488d90635c11d79590611533908a90869088908b904290600401611a2d565b600060405180830381600087803b15801561154d57600080fd5b505af1158015611561573d6000803e3d6000fd5b5050505060006115718987611619565b905061157d82826118b2565b9a9950505050505050505050565b60405163095ea7b360e01b81526001600160a01b038381166004830152602482018390526000919085169063095ea7b390604401602060405180830381600087803b1580156115d957600080fd5b505af11580156115ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116119190611a69565b949350505050565b6040516370a0823160e01b81526001600160a01b038281166004830152600091908416906370a082319060240160206040518083038186803b15801561165e57600080fd5b505afa158015611672573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fde9190611a8b565b600060208083528351808285015260005b818110156116c3578581018301518582016040015282016116a7565b818111156116d5576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146109c857600080fd5b6000806040838503121561171357600080fd5b823561171e816116eb565b946020939093013593505050565b60006020828403121561173e57600080fd5b5035919050565b60008060006060848603121561175a57600080fd5b8335611765816116eb565b92506020840135611775816116eb565b929592945050506040919091013590565b60006020828403121561179857600080fd5b8135610fde816116eb565b6000806000606084860312156117b857600080fd5b505081359360208301359350604090920135919050565b600080604083850312156117e257600080fd5b82356117ed816116eb565b915060208301356117fd816116eb565b809150509250929050565b600181811c9082168061181c57607f821691505b6020821081141561183d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561186c5761186c611843565b500190565b600081600019048311821515161561188b5761188b611843565b500290565b6000826118ad57634e487b7160e01b600052601260045260246000fd5b500490565b6000828210156118c4576118c4611843565b500390565b6000602082840312156118db57600080fd5b8151610fde816116eb565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b8381101561194b5781516001600160a01b031687529582019590820190600101611926565b509495945050505050565b8281526040602082015260006116116040830184611912565b6000602080838503121561198257600080fd5b825167ffffffffffffffff8082111561199a57600080fd5b818501915085601f8301126119ae57600080fd5b8151818111156119c0576119c06118e6565b8060051b604051601f19603f830116810181811085821117156119e5576119e56118e6565b604052918252848201925083810185019188831115611a0357600080fd5b938501935b82851015611a2157845184529385019392850192611a08565b98975050505050505050565b85815284602082015260a060408201526000611a4c60a0830186611912565b6001600160a01b0394909416606083015250608001529392505050565b600060208284031215611a7b57600080fd5b81518015158114610fde57600080fd5b600060208284031215611a9d57600080fd5b505191905056fea26469706673582212202f9bc639d055157e22d663c328131bbd923420ce4355ccd61f9bd7a19c2b729e64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000c9f2c9cd04674edea40000000000000000000000000000000f0f9d895aca5c8678f706fb8216fa22957685a1300000000000000000000000000000000000000000000000000000000000009c4000000000000000000000000da48014e8d770985d0d378db8c872f08fbc5e3290000000000000000000000000000000000000000000000000000000000001388000000000000000000000000a599106f7c77b3e580501cfe5df928b4f38b27b000000000000000000000000000000000000000000000000000000000000009c400000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000164d6f64756c757320446f6d61696e20536572766963650000000000000000000000000000000000000000000000000000000000000000000000000000000000044d4f445300000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Modulus Domain Service
Arg [1] : _symbol (string): MODS
Arg [2] : _supply (uint256): 1000000000000000000000000000000
Arg [3] : _cult (address): 0xf0f9D895aCa5c8678f706FB8216fa22957685A13
Arg [4] : _cultAllocation (uint256): 2500
Arg [5] : _development (address): 0xdA48014e8d770985d0d378Db8c872f08Fbc5e329
Arg [6] : _developmentAllocation (uint256): 5000
Arg [7] : _marketing (address): 0xa599106f7C77B3E580501Cfe5dF928B4F38B27B0
Arg [8] : _marketingAllocation (uint256): 2500
Arg [9] : _perWalletHoldingPercent (uint256): 200
-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 000000000000000000000000000000000000000c9f2c9cd04674edea40000000
Arg [3] : 000000000000000000000000f0f9d895aca5c8678f706fb8216fa22957685a13
Arg [4] : 00000000000000000000000000000000000000000000000000000000000009c4
Arg [5] : 000000000000000000000000da48014e8d770985d0d378db8c872f08fbc5e329
Arg [6] : 0000000000000000000000000000000000000000000000000000000000001388
Arg [7] : 000000000000000000000000a599106f7c77b3e580501cfe5df928b4f38b27b0
Arg [8] : 00000000000000000000000000000000000000000000000000000000000009c4
Arg [9] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [11] : 4d6f64756c757320446f6d61696e205365727669636500000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [13] : 4d4f445300000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.