Overview
Max Total Supply
1,000,000,000 $DOSA
Holders
775 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
933,207,839.32830196863378419 $DOSAValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DOSA
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 275 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.13; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "./IDex.sol"; contract DOSA is ERC20, Ownable{ using Address for address payable; mapping(address => bool) public exemptFee; IRouter public router; address public pair; address public lpRecipient; address public marketingWallet; address public dosaBombWallet; bool private swapping; bool public swapEnabled; uint256 public swapThreshold; uint256 public maxWalletAmount; uint256 public transferFee; struct Fees { uint256 lp; uint256 marketing; uint256 dosaBomb; } Fees public buyFees = Fees(2,3,2); Fees public sellFees = Fees(2,3,2); uint256 public totalSellFee = 7; uint256 public totalBuyFee = 7; bool public enableTransfers; modifier inSwap() { if (!swapping) { swapping = true; _; swapping = false; } } event TaxRecipientsUpdated(address newLpRecipient, address newMarketingWallet, address newDosaBombWallet); event FeesUpdated(); event SwapEnabled(bool state); event SwapThresholdUpdated(uint256 amount); event MaxWalletAmountUpdated(uint256 amount); event RouterUpdated(address newRouter); event ExemptFromFeeUpdated(address user, bool state); event PairUpdated(address newPair); constructor(address _routerAddress, string memory _name_, string memory _symbol_) ERC20(_name_, _symbol_) { require(_routerAddress != address(0), "Router address cannot be zero address"); IRouter _router = IRouter(_routerAddress); address _pair = IFactory(_router.factory()).createPair(address(this), _router.WETH()); router = _router; pair = _pair; swapEnabled = true; swapThreshold = 500_000 * 10**18; maxWalletAmount = 10_000_000 * 10**18; exemptFee[msg.sender] = true; exemptFee[address(this)] = true; exemptFee[marketingWallet] = true; exemptFee[dosaBombWallet] = true; exemptFee[lpRecipient] = true; _mint(msg.sender, 1_000_000_000 * 10**18); } function setTaxRecipients(address _lpRecipient, address _marketingWallet, address _dosaBombWallet) external onlyOwner{ require(_lpRecipient != address(0), "lpRecipient cannot be the zero address"); require(_marketingWallet != address(0), "marketingWallet cannot be the zero address"); require(_dosaBombWallet != address(0), "dosaBombWallet cannot be the zero address"); lpRecipient = _lpRecipient; marketingWallet = _marketingWallet; dosaBombWallet = _dosaBombWallet; exemptFee[dosaBombWallet] = true; exemptFee[marketingWallet] = true; exemptFee[lpRecipient] = true; emit TaxRecipientsUpdated(_lpRecipient, _marketingWallet, _dosaBombWallet); } function setTransferFee(uint256 _transferFee) external onlyOwner{ require(_transferFee < 8, "Transfer fee must be less than 8"); transferFee = _transferFee; emit FeesUpdated(); } function setBuyFees(uint256 _lp, uint256 _marketing, uint256 _dosaBomb) external onlyOwner{ require(_lp + _marketing + _dosaBomb < 8, "Buy fee must be less than 8"); buyFees = Fees(_lp, _marketing, _dosaBomb); totalBuyFee = _lp + _marketing + _dosaBomb; emit FeesUpdated(); } function setSellFees(uint256 _lp, uint256 _marketing, uint256 _dosaBomb) external onlyOwner{ require(_lp + _marketing + _dosaBomb < 8, "Sell fee must be less than 8"); sellFees = Fees(_lp, _marketing, _dosaBomb); totalSellFee = _lp + _marketing + _dosaBomb; emit FeesUpdated(); } function setSwapEnabled(bool state) external onlyOwner{ swapEnabled = state; emit SwapEnabled(state); } function setSwapThreshold(uint256 amount) external onlyOwner{ swapThreshold = amount * 10**18; emit SwapThresholdUpdated(amount); } function setMaxWalletAmount(uint256 amount) external onlyOwner{ require(amount >= 1_000_000, "Max wallet amount must be >= 100,000"); maxWalletAmount = amount * 10**18; emit MaxWalletAmountUpdated(amount); } function setRouter(address newRouter) external onlyOwner{ router = IRouter(newRouter); emit RouterUpdated(newRouter); } function setPair(address newPair) external onlyOwner{ require(newPair != address(0), "Pair cannot be zero address"); pair = newPair; emit PairUpdated(newPair); } function exemptFromFee(address user, bool state) external onlyOwner{ require(exemptFee[user] != state, "State already set"); exemptFee[user] = state; emit ExemptFromFeeUpdated(user, state); } function rescueETH() external onlyOwner{ require(address(this).balance > 0, "Insufficient ETH balance"); payable(owner()).sendValue(address(this).balance); } function rescueERC20(address tokenAdd, uint256 amount) external onlyOwner{ require(tokenAdd != address(this), "Cannot rescue self"); require(IERC20(tokenAdd).balanceOf(address(this)) >= amount, "Insufficient ERC20 balance"); IERC20(tokenAdd).transfer(owner(), amount); } function _transfer(address from, address to, uint256 amount) internal override { require(amount > 0, "Transfer amount must be greater than zero"); if(!exemptFee[from] && !exemptFee[to]) { require(enableTransfers, "Transactions are not enable"); if(to != pair) require(balanceOf(to) + amount <= maxWalletAmount, "Receiver balance is exceeding maxWalletAmount"); } uint256 taxAmt; if(!swapping && !exemptFee[from] && !exemptFee[to]){ if(to == pair){ taxAmt = amount * totalSellFee / 100; } else if(from == pair){ taxAmt = amount * totalBuyFee / 100; } else { taxAmt = amount * transferFee / 100; } } if (!swapping && swapEnabled && to == pair && totalSellFee > 0) { handle_fees(); } super._transfer(from, to, amount - taxAmt); if(taxAmt > 0) { super._transfer(from, address(this), taxAmt); } } function handle_fees() private inSwap { uint256 contractBalance = balanceOf(address(this)); if (contractBalance >= swapThreshold) { if(swapThreshold > 1){ contractBalance = swapThreshold; } // Split the contract balance into halves uint256 denominator = totalSellFee * 2; uint256 tokensToAddLiquidityWith = contractBalance * sellFees.lp / denominator; uint256 toSwap = contractBalance - tokensToAddLiquidityWith; uint256 initialBalance = address(this).balance; swapTokensForETH(toSwap); uint256 deltaBalance = address(this).balance - initialBalance; uint256 unitBalance= deltaBalance / (denominator - sellFees.lp); uint256 ethToAddLiquidityWith = unitBalance * sellFees.lp; if(ethToAddLiquidityWith > 0){ // Add liquidity to pancake addLiquidity(tokensToAddLiquidityWith, ethToAddLiquidityWith); } uint256 marketingAmt = unitBalance * 2 * sellFees.marketing; if(marketingAmt > 0){ payable(marketingWallet).sendValue(marketingAmt); } uint256 dosaBombAmt = unitBalance * 2 * sellFees.dosaBomb; if(dosaBombAmt > 0){ payable(dosaBombWallet).sendValue(dosaBombAmt); } } } function swapTokensForETH(uint256 tokenAmount) private { // generate the uniswap pair path of token -> ETH address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); _approve(address(this), address(router), tokenAmount); // make the swap router.swapExactTokensForETHSupportingFeeOnTransferTokens(tokenAmount, 0, path, address(this), block.timestamp); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(router), tokenAmount); // add the liquidity router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable lpRecipient, block.timestamp ); } function setEnableTransfers() external onlyOwner { enableTransfers = true; } // fallbacks receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `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 `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `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; } _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; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev 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 (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 (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; interface IFactory{ function createPair(address tokenA, address tokenB) external returns (address pair); function getPair(address tokenA, address tokenB) external view returns (address pair); } interface IPair{ function token0() external view returns (address); function token1() external view returns (address); function sync() external; } interface IRouter { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function addLiquidity( address tokenA, address tokenB, uint amountATokenDesired, uint amountBTokenDesired, uint amountATokenMin, uint amountBTokenMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external; function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/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); }
{ "optimizer": { "enabled": true, "runs": 275 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_routerAddress","type":"address"},{"internalType":"string","name":"_name_","type":"string"},{"internalType":"string","name":"_symbol_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"state","type":"bool"}],"name":"ExemptFromFeeUpdated","type":"event"},{"anonymous":false,"inputs":[],"name":"FeesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"MaxWalletAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newPair","type":"address"}],"name":"PairUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newRouter","type":"address"}],"name":"RouterUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"state","type":"bool"}],"name":"SwapEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SwapThresholdUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newLpRecipient","type":"address"},{"indexed":false,"internalType":"address","name":"newMarketingWallet","type":"address"},{"indexed":false,"internalType":"address","name":"newDosaBombWallet","type":"address"}],"name":"TaxRecipientsUpdated","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":"buyFees","outputs":[{"internalType":"uint256","name":"lp","type":"uint256"},{"internalType":"uint256","name":"marketing","type":"uint256"},{"internalType":"uint256","name":"dosaBomb","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":"dosaBombWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTransfers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"exemptFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"state","type":"bool"}],"name":"exemptFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lpRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","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":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAdd","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellFees","outputs":[{"internalType":"uint256","name":"lp","type":"uint256"},{"internalType":"uint256","name":"marketing","type":"uint256"},{"internalType":"uint256","name":"dosaBomb","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_lp","type":"uint256"},{"internalType":"uint256","name":"_marketing","type":"uint256"},{"internalType":"uint256","name":"_dosaBomb","type":"uint256"}],"name":"setBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setEnableTransfers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newPair","type":"address"}],"name":"setPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRouter","type":"address"}],"name":"setRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_lp","type":"uint256"},{"internalType":"uint256","name":"_marketing","type":"uint256"},{"internalType":"uint256","name":"_dosaBomb","type":"uint256"}],"name":"setSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_lpRecipient","type":"address"},{"internalType":"address","name":"_marketingWallet","type":"address"},{"internalType":"address","name":"_dosaBombWallet","type":"address"}],"name":"setTaxRecipients","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_transferFee","type":"uint256"}],"name":"setTransferFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapThreshold","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":"totalBuyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60026080819052600360a081905260c0829052600f8290556010819055601182905561014060405260e08290526101008190526101208290526012829055601355601455600760158190556016553480156200005a57600080fd5b5060405162002cc338038062002cc38339810160408190526200007d916200063b565b81518290829062000096906003906020850190620004ab565b508051620000ac906004906020840190620004ab565b505050620000c9620000c36200037060201b60201c565b62000374565b6001600160a01b038316620001335760405162461bcd60e51b815260206004820152602560248201527f526f7574657220616464726573732063616e6e6f74206265207a65726f206164604482015264647265737360d81b60648201526084015b60405180910390fd5b60008390506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000179573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200019f9190620006b8565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002139190620006b8565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000261573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002879190620006b8565b600780546001600160a01b038086166001600160a01b031992831617909255600880548385169216919091179055600b805460ff60a81b1916600160a81b1781556969e10de76676d0800000600c556a084595161401484a000000600d5533600081815260066020526040808220805460ff1990811660019081179092553084528284208054821683179055600a548716845282842080548216831790559454861683528183208054861682179055600954909516825290208054909216909217905590915062000365906b033b2e3c9fd0803ce8000000620003c6565b505050505062000740565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200041e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200012a565b8060026000828254620004329190620006dd565b90915550506001600160a01b0382166000908152602081905260408120805483929062000461908490620006dd565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620004b99062000704565b90600052602060002090601f016020900481019282620004dd576000855562000528565b82601f10620004f857805160ff191683800117855562000528565b8280016001018555821562000528579182015b82811115620005285782518255916020019190600101906200050b565b50620005369291506200053a565b5090565b5b808211156200053657600081556001016200053b565b80516001600160a01b03811681146200056957600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200059657600080fd5b81516001600160401b0380821115620005b357620005b36200056e565b604051601f8301601f19908116603f01168101908282118183101715620005de57620005de6200056e565b81604052838152602092508683858801011115620005fb57600080fd5b600091505b838210156200061f578582018301518183018401529082019062000600565b83821115620006315760008385830101525b9695505050505050565b6000806000606084860312156200065157600080fd5b6200065c8462000551565b60208501519093506001600160401b03808211156200067a57600080fd5b620006888783880162000584565b935060408601519150808211156200069f57600080fd5b50620006ae8682870162000584565b9150509250925092565b600060208284031215620006cb57600080fd5b620006d68262000551565b9392505050565b60008219821115620006ff57634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200071957607f821691505b6020821081036200073a57634e487b7160e01b600052602260045260246000fd5b50919050565b61257380620007506000396000f3fe6080604052600436106102555760003560e01c80638da5cb5b11610139578063acb2ad6f116100b6578063dd62ed3e1161007a578063dd62ed3e146106d2578063e01af92c14610718578063e0f3ccf514610738578063e4748b9e14610772578063f2fde38b14610791578063f887ea40146107b157600080fd5b8063acb2ad6f1461063d578063af35c6c714610653578063c0d786551461066d578063c1bc09191461068d578063c5d32bb2146106a257600080fd5b80639d9241ec116100fd5780639d9241ec146105b1578063a457c2d7146105c7578063a8aa1b31146105e7578063a9059cbb14610607578063aa4bde281461062757600080fd5b80638da5cb5b1461051e5780638e0903331461053c5780638f02bb5b1461055c57806395d89b411461057c5780639d0014b11461059157600080fd5b806332958410116101d25780636ddd1713116101965780636ddd17131461045257806370a0823114610473578063715018a6146104a957806375f0a874146104be5780638187f516146104de5780638cd4426d146104fe57600080fd5b806332958410146103a457806339509351146103c45780633c0c9994146103e4578063452e68dd1461041c57806359b107b91461043c57600080fd5b806318160ddd1161021957806318160ddd1461031e57806320800a001461033357806323b872dd1461034857806327a14fc214610368578063313ce5671461038857600080fd5b80630445b6671461026157806306fdde031461028a578063095ea7b3146102ac5780630d075d9c146102dc5780630f683e90146102fe57600080fd5b3661025c57005b600080fd5b34801561026d57600080fd5b50610277600c5481565b6040519081526020015b60405180910390f35b34801561029657600080fd5b5061029f6107d1565b6040516102819190612123565b3480156102b857600080fd5b506102cc6102c736600461218d565b610863565b6040519015158152602001610281565b3480156102e857600080fd5b506102fc6102f73660046121b9565b61087b565b005b34801561030a57600080fd5b506102fc6103193660046121b9565b61097f565b34801561032a57600080fd5b50600254610277565b34801561033f57600080fd5b506102fc610a7a565b34801561035457600080fd5b506102cc6103633660046121e5565b610b1b565b34801561037457600080fd5b506102fc610383366004612226565b610b3f565b34801561039457600080fd5b5060405160128152602001610281565b3480156103b057600080fd5b506102fc6103bf36600461223f565b610c14565b3480156103d057600080fd5b506102cc6103df36600461218d565b610e37565b3480156103f057600080fd5b50600b54610404906001600160a01b031681565b6040516001600160a01b039091168152602001610281565b34801561042857600080fd5b50600954610404906001600160a01b031681565b34801561044857600080fd5b5061027760165481565b34801561045e57600080fd5b50600b546102cc90600160a81b900460ff1681565b34801561047f57600080fd5b5061027761048e36600461228a565b6001600160a01b031660009081526020819052604090205490565b3480156104b557600080fd5b506102fc610e76565b3480156104ca57600080fd5b50600a54610404906001600160a01b031681565b3480156104ea57600080fd5b506102fc6104f936600461228a565b610eaa565b34801561050a57600080fd5b506102fc61051936600461218d565b610f78565b34801561052a57600080fd5b506005546001600160a01b0316610404565b34801561054857600080fd5b506102fc6105573660046122bc565b61113e565b34801561056857600080fd5b506102fc610577366004612226565b61122f565b34801561058857600080fd5b5061029f6112da565b34801561059d57600080fd5b506102fc6105ac366004612226565b6112e9565b3480156105bd57600080fd5b5061027760155481565b3480156105d357600080fd5b506102cc6105e236600461218d565b611358565b3480156105f357600080fd5b50600854610404906001600160a01b031681565b34801561061357600080fd5b506102cc61062236600461218d565b6113ea565b34801561063357600080fd5b50610277600d5481565b34801561064957600080fd5b50610277600e5481565b34801561065f57600080fd5b506017546102cc9060ff1681565b34801561067957600080fd5b506102fc61068836600461228a565b6113f8565b34801561069957600080fd5b506102fc611470565b3480156106ae57600080fd5b506102cc6106bd36600461228a565b60066020526000908152604090205460ff1681565b3480156106de57600080fd5b506102776106ed3660046122f5565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561072457600080fd5b506102fc610733366004612323565b6114a9565b34801561074457600080fd5b5060125460135460145461075792919083565b60408051938452602084019290925290820152606001610281565b34801561077e57600080fd5b50600f5460105460115461075792919083565b34801561079d57600080fd5b506102fc6107ac36600461228a565b611520565b3480156107bd57600080fd5b50600754610404906001600160a01b031681565b6060600380546107e090612340565b80601f016020809104026020016040519081016040528092919081815260200182805461080c90612340565b80156108595780601f1061082e57610100808354040283529160200191610859565b820191906000526020600020905b81548152906001019060200180831161083c57829003601f168201915b5050505050905090565b6000336108718185856115bb565b5060019392505050565b6005546001600160a01b031633146108ae5760405162461bcd60e51b81526004016108a59061237a565b60405180910390fd5b6008816108bb84866123c5565b6108c591906123c5565b106109125760405162461bcd60e51b815260206004820152601b60248201527f42757920666565206d757374206265206c657373207468616e2038000000000060448201526064016108a5565b604080516060810182528481526020810184905201819052600f839055601082905560118190558061094483856123c5565b61094e91906123c5565b6016556040517f6d58c6dc772669fca481506571330f160785469830c3888c824e5ff2e81c47d790600090a1505050565b6005546001600160a01b031633146109a95760405162461bcd60e51b81526004016108a59061237a565b6008816109b684866123c5565b6109c091906123c5565b10610a0d5760405162461bcd60e51b815260206004820152601c60248201527f53656c6c20666565206d757374206265206c657373207468616e20380000000060448201526064016108a5565b60408051606081018252848152602081018490520181905260128390556013829055601481905580610a3f83856123c5565b610a4991906123c5565b6015556040517f6d58c6dc772669fca481506571330f160785469830c3888c824e5ff2e81c47d790600090a1505050565b6005546001600160a01b03163314610aa45760405162461bcd60e51b81526004016108a59061237a565b60004711610af45760405162461bcd60e51b815260206004820152601860248201527f496e73756666696369656e74204554482062616c616e6365000000000000000060448201526064016108a5565b610b1947610b0a6005546001600160a01b031690565b6001600160a01b0316906116df565b565b600033610b298582856117f8565b610b3485858561188a565b506001949350505050565b6005546001600160a01b03163314610b695760405162461bcd60e51b81526004016108a59061237a565b620f4240811015610bc85760405162461bcd60e51b8152602060048201526024808201527f4d61782077616c6c657420616d6f756e74206d757374206265203e3d2031303060448201526302c3030360e41b60648201526084016108a5565b610bda81670de0b6b3a76400006123dd565b600d556040518181527f4b39c36d20c57d220f61fd25c4349d4435cc03ef6c2a680942f15333c3c3e001906020015b60405180910390a150565b6005546001600160a01b03163314610c3e5760405162461bcd60e51b81526004016108a59061237a565b6001600160a01b038316610ca35760405162461bcd60e51b815260206004820152602660248201527f6c70526563697069656e742063616e6e6f7420626520746865207a65726f206160448201526564647265737360d01b60648201526084016108a5565b6001600160a01b038216610d0c5760405162461bcd60e51b815260206004820152602a60248201527f6d61726b6574696e6757616c6c65742063616e6e6f7420626520746865207a65604482015269726f206164647265737360b01b60648201526084016108a5565b6001600160a01b038116610d745760405162461bcd60e51b815260206004820152602960248201527f646f7361426f6d6257616c6c65742063616e6e6f7420626520746865207a65726044820152686f206164647265737360b81b60648201526084016108a5565b600980546001600160a01b038581166001600160a01b031992831681178455600a805487841690851681178255600b80548886169616861790556000858152600660209081526040808320805460ff1990811660019081179092559554881684528184208054871682179055985490961682529085902080549093169096179091558251918252938101939093528201527fbf13ed3f750e39a36873a4c7a0134665f2708e445334c5ffeeb38d03e37fb17e9060600160405180910390a1505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906108719082908690610e719087906123c5565b6115bb565b6005546001600160a01b03163314610ea05760405162461bcd60e51b81526004016108a59061237a565b610b196000611b81565b6005546001600160a01b03163314610ed45760405162461bcd60e51b81526004016108a59061237a565b6001600160a01b038116610f2a5760405162461bcd60e51b815260206004820152601b60248201527f506169722063616e6e6f74206265207a65726f2061646472657373000000000060448201526064016108a5565b600880546001600160a01b0319166001600160a01b0383169081179091556040519081527f1d288f7aba265e8b154b112bbb631ceca5df5fe93a750b2fe042fd1cc826647f90602001610c09565b6005546001600160a01b03163314610fa25760405162461bcd60e51b81526004016108a59061237a565b306001600160a01b03831603610fef5760405162461bcd60e51b815260206004820152601260248201527121b0b73737ba103932b9b1bab29039b2b63360711b60448201526064016108a5565b6040516370a0823160e01b815230600482015281906001600160a01b038416906370a0823190602401602060405180830381865afa158015611035573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105991906123fc565b10156110a75760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e742045524332302062616c616e636500000000000060448201526064016108a5565b816001600160a01b031663a9059cbb6110c86005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015611115573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111399190612415565b505050565b6005546001600160a01b031633146111685760405162461bcd60e51b81526004016108a59061237a565b6001600160a01b03821660009081526006602052604090205481151560ff9091161515036111cc5760405162461bcd60e51b815260206004820152601160248201527014dd185d1948185b1c9958591e481cd95d607a1b60448201526064016108a5565b6001600160a01b038216600081815260066020908152604091829020805460ff19168515159081179091558251938452908301527f9817c07fa4cca31c109acf04d9dd7c6055b09f96b2927da7a8f9f447a0cf18d8910160405180910390a15050565b6005546001600160a01b031633146112595760405162461bcd60e51b81526004016108a59061237a565b600881106112a95760405162461bcd60e51b815260206004820181905260248201527f5472616e7366657220666565206d757374206265206c657373207468616e203860448201526064016108a5565b600e8190556040517f6d58c6dc772669fca481506571330f160785469830c3888c824e5ff2e81c47d790600090a150565b6060600480546107e090612340565b6005546001600160a01b031633146113135760405162461bcd60e51b81526004016108a59061237a565b61132581670de0b6b3a76400006123dd565b600c556040518181527f18ff2fc8464635e4f668567019152095047e34d7a2ab4b97661ba4dc7fd0647690602001610c09565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156113dd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108a5565b610b3482868684036115bb565b60003361087181858561188a565b6005546001600160a01b031633146114225760405162461bcd60e51b81526004016108a59061237a565b600780546001600160a01b0319166001600160a01b0383169081179091556040519081527f7aed1d3e8155a07ccf395e44ea3109a0e2d6c9b29bbbe9f142d9790596f4dc8090602001610c09565b6005546001600160a01b0316331461149a5760405162461bcd60e51b81526004016108a59061237a565b6017805460ff19166001179055565b6005546001600160a01b031633146114d35760405162461bcd60e51b81526004016108a59061237a565b600b8054821515600160a81b0260ff60a81b199091161790556040517fb9bbb15e341600c8d067a0cadeba219905d5ba6d422b193c9c32265d26fc51c890610c0990831515815260200190565b6005546001600160a01b0316331461154a5760405162461bcd60e51b81526004016108a59061237a565b6001600160a01b0381166115af5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108a5565b6115b881611b81565b50565b6001600160a01b03831661161d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108a5565b6001600160a01b03821661167e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108a5565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b8047101561172f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016108a5565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461177c576040519150601f19603f3d011682016040523d82523d6000602084013e611781565b606091505b50509050806111395760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016108a5565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461188457818110156118775760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108a5565b61188484848484036115bb565b50505050565b600081116118ec5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016108a5565b6001600160a01b03831660009081526006602052604090205460ff1615801561192e57506001600160a01b03821660009081526006602052604090205460ff16155b15611a2b5760175460ff166119855760405162461bcd60e51b815260206004820152601b60248201527f5472616e73616374696f6e7320617265206e6f7420656e61626c65000000000060448201526064016108a5565b6008546001600160a01b03838116911614611a2b57600d54816119bd846001600160a01b031660009081526020819052604090205490565b6119c791906123c5565b1115611a2b5760405162461bcd60e51b815260206004820152602d60248201527f52656365697665722062616c616e636520697320657863656564696e67206d6160448201526c1e15d85b1b195d105b5bdd5b9d609a1b60648201526084016108a5565b600b54600090600160a01b900460ff16158015611a6157506001600160a01b03841660009081526006602052604090205460ff16155b8015611a8657506001600160a01b03831660009081526006602052604090205460ff16155b15611b05576008546001600160a01b0390811690841603611ac257606460155483611ab191906123dd565b611abb9190612432565b9050611b05565b6008546001600160a01b0390811690851603611ae857606460165483611ab191906123dd565b6064600e5483611af891906123dd565b611b029190612432565b90505b600b54600160a01b900460ff16158015611b285750600b54600160a81b900460ff165b8015611b4157506008546001600160a01b038481169116145b8015611b4f57506000601554115b15611b5c57611b5c611bd3565b611b708484611b6b8486612454565b611d47565b801561188457611884843083611d47565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600b54600160a01b900460ff16610b1957600b805460ff60a01b1916600160a01b179055306000908152602081905260408120549050600c548110611d37576001600c541115611c225750600c545b60006015546002611c3391906123dd565b905060008160126000015484611c4991906123dd565b611c539190612432565b90506000611c618285612454565b905047611c6d82611f15565b6000611c798247612454565b601254909150600090611c8c9087612454565b611c969083612432565b601254909150600090611ca990836123dd565b90508015611cbb57611cbb868261206f565b601354600090611ccc8460026123dd565b611cd691906123dd565b90508015611cf457600a54611cf4906001600160a01b0316826116df565b601454600090611d058560026123dd565b611d0f91906123dd565b90508015611d2d57600b54611d2d906001600160a01b0316826116df565b5050505050505050505b50600b805460ff60a01b19169055565b6001600160a01b038316611dab5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108a5565b6001600160a01b038216611e0d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108a5565b6001600160a01b03831660009081526020819052604090205481811015611e855760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108a5565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611ebc9084906123c5565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611f0891815260200190565b60405180910390a3611884565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611f4a57611f4a61246b565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611fa3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fc79190612481565b81600181518110611fda57611fda61246b565b6001600160a01b03928316602091820292909201015260075461200091309116846115bb565b60075460405163791ac94760e01b81526001600160a01b039091169063791ac9479061203990859060009086903090429060040161249e565b600060405180830381600087803b15801561205357600080fd5b505af1158015612067573d6000803e3d6000fd5b505050505050565b6007546120879030906001600160a01b0316846115bb565b60075460095460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af11580156120f7573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061211c919061250f565b5050505050565b600060208083528351808285015260005b8181101561215057858101830151858201604001528201612134565b81811115612162576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146115b857600080fd5b600080604083850312156121a057600080fd5b82356121ab81612178565b946020939093013593505050565b6000806000606084860312156121ce57600080fd5b505081359360208301359350604090920135919050565b6000806000606084860312156121fa57600080fd5b833561220581612178565b9250602084013561221581612178565b929592945050506040919091013590565b60006020828403121561223857600080fd5b5035919050565b60008060006060848603121561225457600080fd5b833561225f81612178565b9250602084013561226f81612178565b9150604084013561227f81612178565b809150509250925092565b60006020828403121561229c57600080fd5b81356122a781612178565b9392505050565b80151581146115b857600080fd5b600080604083850312156122cf57600080fd5b82356122da81612178565b915060208301356122ea816122ae565b809150509250929050565b6000806040838503121561230857600080fd5b823561231381612178565b915060208301356122ea81612178565b60006020828403121561233557600080fd5b81356122a7816122ae565b600181811c9082168061235457607f821691505b60208210810361237457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156123d8576123d86123af565b500190565b60008160001904831182151516156123f7576123f76123af565b500290565b60006020828403121561240e57600080fd5b5051919050565b60006020828403121561242757600080fd5b81516122a7816122ae565b60008261244f57634e487b7160e01b600052601260045260246000fd5b500490565b600082821015612466576124666123af565b500390565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561249357600080fd5b81516122a781612178565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156124ee5784516001600160a01b0316835293830193918301916001016124c9565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561252457600080fd5b835192506020840151915060408401519050925092509256fea264697066735822122091e106c67772cbcecc07a1f6480dc4daeb1d679edb981683ae647bf70888a9b164736f6c634300080d00330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000004446f736100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000524444f5341000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102555760003560e01c80638da5cb5b11610139578063acb2ad6f116100b6578063dd62ed3e1161007a578063dd62ed3e146106d2578063e01af92c14610718578063e0f3ccf514610738578063e4748b9e14610772578063f2fde38b14610791578063f887ea40146107b157600080fd5b8063acb2ad6f1461063d578063af35c6c714610653578063c0d786551461066d578063c1bc09191461068d578063c5d32bb2146106a257600080fd5b80639d9241ec116100fd5780639d9241ec146105b1578063a457c2d7146105c7578063a8aa1b31146105e7578063a9059cbb14610607578063aa4bde281461062757600080fd5b80638da5cb5b1461051e5780638e0903331461053c5780638f02bb5b1461055c57806395d89b411461057c5780639d0014b11461059157600080fd5b806332958410116101d25780636ddd1713116101965780636ddd17131461045257806370a0823114610473578063715018a6146104a957806375f0a874146104be5780638187f516146104de5780638cd4426d146104fe57600080fd5b806332958410146103a457806339509351146103c45780633c0c9994146103e4578063452e68dd1461041c57806359b107b91461043c57600080fd5b806318160ddd1161021957806318160ddd1461031e57806320800a001461033357806323b872dd1461034857806327a14fc214610368578063313ce5671461038857600080fd5b80630445b6671461026157806306fdde031461028a578063095ea7b3146102ac5780630d075d9c146102dc5780630f683e90146102fe57600080fd5b3661025c57005b600080fd5b34801561026d57600080fd5b50610277600c5481565b6040519081526020015b60405180910390f35b34801561029657600080fd5b5061029f6107d1565b6040516102819190612123565b3480156102b857600080fd5b506102cc6102c736600461218d565b610863565b6040519015158152602001610281565b3480156102e857600080fd5b506102fc6102f73660046121b9565b61087b565b005b34801561030a57600080fd5b506102fc6103193660046121b9565b61097f565b34801561032a57600080fd5b50600254610277565b34801561033f57600080fd5b506102fc610a7a565b34801561035457600080fd5b506102cc6103633660046121e5565b610b1b565b34801561037457600080fd5b506102fc610383366004612226565b610b3f565b34801561039457600080fd5b5060405160128152602001610281565b3480156103b057600080fd5b506102fc6103bf36600461223f565b610c14565b3480156103d057600080fd5b506102cc6103df36600461218d565b610e37565b3480156103f057600080fd5b50600b54610404906001600160a01b031681565b6040516001600160a01b039091168152602001610281565b34801561042857600080fd5b50600954610404906001600160a01b031681565b34801561044857600080fd5b5061027760165481565b34801561045e57600080fd5b50600b546102cc90600160a81b900460ff1681565b34801561047f57600080fd5b5061027761048e36600461228a565b6001600160a01b031660009081526020819052604090205490565b3480156104b557600080fd5b506102fc610e76565b3480156104ca57600080fd5b50600a54610404906001600160a01b031681565b3480156104ea57600080fd5b506102fc6104f936600461228a565b610eaa565b34801561050a57600080fd5b506102fc61051936600461218d565b610f78565b34801561052a57600080fd5b506005546001600160a01b0316610404565b34801561054857600080fd5b506102fc6105573660046122bc565b61113e565b34801561056857600080fd5b506102fc610577366004612226565b61122f565b34801561058857600080fd5b5061029f6112da565b34801561059d57600080fd5b506102fc6105ac366004612226565b6112e9565b3480156105bd57600080fd5b5061027760155481565b3480156105d357600080fd5b506102cc6105e236600461218d565b611358565b3480156105f357600080fd5b50600854610404906001600160a01b031681565b34801561061357600080fd5b506102cc61062236600461218d565b6113ea565b34801561063357600080fd5b50610277600d5481565b34801561064957600080fd5b50610277600e5481565b34801561065f57600080fd5b506017546102cc9060ff1681565b34801561067957600080fd5b506102fc61068836600461228a565b6113f8565b34801561069957600080fd5b506102fc611470565b3480156106ae57600080fd5b506102cc6106bd36600461228a565b60066020526000908152604090205460ff1681565b3480156106de57600080fd5b506102776106ed3660046122f5565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561072457600080fd5b506102fc610733366004612323565b6114a9565b34801561074457600080fd5b5060125460135460145461075792919083565b60408051938452602084019290925290820152606001610281565b34801561077e57600080fd5b50600f5460105460115461075792919083565b34801561079d57600080fd5b506102fc6107ac36600461228a565b611520565b3480156107bd57600080fd5b50600754610404906001600160a01b031681565b6060600380546107e090612340565b80601f016020809104026020016040519081016040528092919081815260200182805461080c90612340565b80156108595780601f1061082e57610100808354040283529160200191610859565b820191906000526020600020905b81548152906001019060200180831161083c57829003601f168201915b5050505050905090565b6000336108718185856115bb565b5060019392505050565b6005546001600160a01b031633146108ae5760405162461bcd60e51b81526004016108a59061237a565b60405180910390fd5b6008816108bb84866123c5565b6108c591906123c5565b106109125760405162461bcd60e51b815260206004820152601b60248201527f42757920666565206d757374206265206c657373207468616e2038000000000060448201526064016108a5565b604080516060810182528481526020810184905201819052600f839055601082905560118190558061094483856123c5565b61094e91906123c5565b6016556040517f6d58c6dc772669fca481506571330f160785469830c3888c824e5ff2e81c47d790600090a1505050565b6005546001600160a01b031633146109a95760405162461bcd60e51b81526004016108a59061237a565b6008816109b684866123c5565b6109c091906123c5565b10610a0d5760405162461bcd60e51b815260206004820152601c60248201527f53656c6c20666565206d757374206265206c657373207468616e20380000000060448201526064016108a5565b60408051606081018252848152602081018490520181905260128390556013829055601481905580610a3f83856123c5565b610a4991906123c5565b6015556040517f6d58c6dc772669fca481506571330f160785469830c3888c824e5ff2e81c47d790600090a1505050565b6005546001600160a01b03163314610aa45760405162461bcd60e51b81526004016108a59061237a565b60004711610af45760405162461bcd60e51b815260206004820152601860248201527f496e73756666696369656e74204554482062616c616e6365000000000000000060448201526064016108a5565b610b1947610b0a6005546001600160a01b031690565b6001600160a01b0316906116df565b565b600033610b298582856117f8565b610b3485858561188a565b506001949350505050565b6005546001600160a01b03163314610b695760405162461bcd60e51b81526004016108a59061237a565b620f4240811015610bc85760405162461bcd60e51b8152602060048201526024808201527f4d61782077616c6c657420616d6f756e74206d757374206265203e3d2031303060448201526302c3030360e41b60648201526084016108a5565b610bda81670de0b6b3a76400006123dd565b600d556040518181527f4b39c36d20c57d220f61fd25c4349d4435cc03ef6c2a680942f15333c3c3e001906020015b60405180910390a150565b6005546001600160a01b03163314610c3e5760405162461bcd60e51b81526004016108a59061237a565b6001600160a01b038316610ca35760405162461bcd60e51b815260206004820152602660248201527f6c70526563697069656e742063616e6e6f7420626520746865207a65726f206160448201526564647265737360d01b60648201526084016108a5565b6001600160a01b038216610d0c5760405162461bcd60e51b815260206004820152602a60248201527f6d61726b6574696e6757616c6c65742063616e6e6f7420626520746865207a65604482015269726f206164647265737360b01b60648201526084016108a5565b6001600160a01b038116610d745760405162461bcd60e51b815260206004820152602960248201527f646f7361426f6d6257616c6c65742063616e6e6f7420626520746865207a65726044820152686f206164647265737360b81b60648201526084016108a5565b600980546001600160a01b038581166001600160a01b031992831681178455600a805487841690851681178255600b80548886169616861790556000858152600660209081526040808320805460ff1990811660019081179092559554881684528184208054871682179055985490961682529085902080549093169096179091558251918252938101939093528201527fbf13ed3f750e39a36873a4c7a0134665f2708e445334c5ffeeb38d03e37fb17e9060600160405180910390a1505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906108719082908690610e719087906123c5565b6115bb565b6005546001600160a01b03163314610ea05760405162461bcd60e51b81526004016108a59061237a565b610b196000611b81565b6005546001600160a01b03163314610ed45760405162461bcd60e51b81526004016108a59061237a565b6001600160a01b038116610f2a5760405162461bcd60e51b815260206004820152601b60248201527f506169722063616e6e6f74206265207a65726f2061646472657373000000000060448201526064016108a5565b600880546001600160a01b0319166001600160a01b0383169081179091556040519081527f1d288f7aba265e8b154b112bbb631ceca5df5fe93a750b2fe042fd1cc826647f90602001610c09565b6005546001600160a01b03163314610fa25760405162461bcd60e51b81526004016108a59061237a565b306001600160a01b03831603610fef5760405162461bcd60e51b815260206004820152601260248201527121b0b73737ba103932b9b1bab29039b2b63360711b60448201526064016108a5565b6040516370a0823160e01b815230600482015281906001600160a01b038416906370a0823190602401602060405180830381865afa158015611035573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105991906123fc565b10156110a75760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e742045524332302062616c616e636500000000000060448201526064016108a5565b816001600160a01b031663a9059cbb6110c86005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015611115573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111399190612415565b505050565b6005546001600160a01b031633146111685760405162461bcd60e51b81526004016108a59061237a565b6001600160a01b03821660009081526006602052604090205481151560ff9091161515036111cc5760405162461bcd60e51b815260206004820152601160248201527014dd185d1948185b1c9958591e481cd95d607a1b60448201526064016108a5565b6001600160a01b038216600081815260066020908152604091829020805460ff19168515159081179091558251938452908301527f9817c07fa4cca31c109acf04d9dd7c6055b09f96b2927da7a8f9f447a0cf18d8910160405180910390a15050565b6005546001600160a01b031633146112595760405162461bcd60e51b81526004016108a59061237a565b600881106112a95760405162461bcd60e51b815260206004820181905260248201527f5472616e7366657220666565206d757374206265206c657373207468616e203860448201526064016108a5565b600e8190556040517f6d58c6dc772669fca481506571330f160785469830c3888c824e5ff2e81c47d790600090a150565b6060600480546107e090612340565b6005546001600160a01b031633146113135760405162461bcd60e51b81526004016108a59061237a565b61132581670de0b6b3a76400006123dd565b600c556040518181527f18ff2fc8464635e4f668567019152095047e34d7a2ab4b97661ba4dc7fd0647690602001610c09565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156113dd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108a5565b610b3482868684036115bb565b60003361087181858561188a565b6005546001600160a01b031633146114225760405162461bcd60e51b81526004016108a59061237a565b600780546001600160a01b0319166001600160a01b0383169081179091556040519081527f7aed1d3e8155a07ccf395e44ea3109a0e2d6c9b29bbbe9f142d9790596f4dc8090602001610c09565b6005546001600160a01b0316331461149a5760405162461bcd60e51b81526004016108a59061237a565b6017805460ff19166001179055565b6005546001600160a01b031633146114d35760405162461bcd60e51b81526004016108a59061237a565b600b8054821515600160a81b0260ff60a81b199091161790556040517fb9bbb15e341600c8d067a0cadeba219905d5ba6d422b193c9c32265d26fc51c890610c0990831515815260200190565b6005546001600160a01b0316331461154a5760405162461bcd60e51b81526004016108a59061237a565b6001600160a01b0381166115af5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108a5565b6115b881611b81565b50565b6001600160a01b03831661161d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108a5565b6001600160a01b03821661167e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108a5565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b8047101561172f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016108a5565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461177c576040519150601f19603f3d011682016040523d82523d6000602084013e611781565b606091505b50509050806111395760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016108a5565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461188457818110156118775760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108a5565b61188484848484036115bb565b50505050565b600081116118ec5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016108a5565b6001600160a01b03831660009081526006602052604090205460ff1615801561192e57506001600160a01b03821660009081526006602052604090205460ff16155b15611a2b5760175460ff166119855760405162461bcd60e51b815260206004820152601b60248201527f5472616e73616374696f6e7320617265206e6f7420656e61626c65000000000060448201526064016108a5565b6008546001600160a01b03838116911614611a2b57600d54816119bd846001600160a01b031660009081526020819052604090205490565b6119c791906123c5565b1115611a2b5760405162461bcd60e51b815260206004820152602d60248201527f52656365697665722062616c616e636520697320657863656564696e67206d6160448201526c1e15d85b1b195d105b5bdd5b9d609a1b60648201526084016108a5565b600b54600090600160a01b900460ff16158015611a6157506001600160a01b03841660009081526006602052604090205460ff16155b8015611a8657506001600160a01b03831660009081526006602052604090205460ff16155b15611b05576008546001600160a01b0390811690841603611ac257606460155483611ab191906123dd565b611abb9190612432565b9050611b05565b6008546001600160a01b0390811690851603611ae857606460165483611ab191906123dd565b6064600e5483611af891906123dd565b611b029190612432565b90505b600b54600160a01b900460ff16158015611b285750600b54600160a81b900460ff165b8015611b4157506008546001600160a01b038481169116145b8015611b4f57506000601554115b15611b5c57611b5c611bd3565b611b708484611b6b8486612454565b611d47565b801561188457611884843083611d47565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600b54600160a01b900460ff16610b1957600b805460ff60a01b1916600160a01b179055306000908152602081905260408120549050600c548110611d37576001600c541115611c225750600c545b60006015546002611c3391906123dd565b905060008160126000015484611c4991906123dd565b611c539190612432565b90506000611c618285612454565b905047611c6d82611f15565b6000611c798247612454565b601254909150600090611c8c9087612454565b611c969083612432565b601254909150600090611ca990836123dd565b90508015611cbb57611cbb868261206f565b601354600090611ccc8460026123dd565b611cd691906123dd565b90508015611cf457600a54611cf4906001600160a01b0316826116df565b601454600090611d058560026123dd565b611d0f91906123dd565b90508015611d2d57600b54611d2d906001600160a01b0316826116df565b5050505050505050505b50600b805460ff60a01b19169055565b6001600160a01b038316611dab5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108a5565b6001600160a01b038216611e0d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108a5565b6001600160a01b03831660009081526020819052604090205481811015611e855760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108a5565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611ebc9084906123c5565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611f0891815260200190565b60405180910390a3611884565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611f4a57611f4a61246b565b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611fa3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fc79190612481565b81600181518110611fda57611fda61246b565b6001600160a01b03928316602091820292909201015260075461200091309116846115bb565b60075460405163791ac94760e01b81526001600160a01b039091169063791ac9479061203990859060009086903090429060040161249e565b600060405180830381600087803b15801561205357600080fd5b505af1158015612067573d6000803e3d6000fd5b505050505050565b6007546120879030906001600160a01b0316846115bb565b60075460095460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af11580156120f7573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061211c919061250f565b5050505050565b600060208083528351808285015260005b8181101561215057858101830151858201604001528201612134565b81811115612162576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146115b857600080fd5b600080604083850312156121a057600080fd5b82356121ab81612178565b946020939093013593505050565b6000806000606084860312156121ce57600080fd5b505081359360208301359350604090920135919050565b6000806000606084860312156121fa57600080fd5b833561220581612178565b9250602084013561221581612178565b929592945050506040919091013590565b60006020828403121561223857600080fd5b5035919050565b60008060006060848603121561225457600080fd5b833561225f81612178565b9250602084013561226f81612178565b9150604084013561227f81612178565b809150509250925092565b60006020828403121561229c57600080fd5b81356122a781612178565b9392505050565b80151581146115b857600080fd5b600080604083850312156122cf57600080fd5b82356122da81612178565b915060208301356122ea816122ae565b809150509250929050565b6000806040838503121561230857600080fd5b823561231381612178565b915060208301356122ea81612178565b60006020828403121561233557600080fd5b81356122a7816122ae565b600181811c9082168061235457607f821691505b60208210810361237457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156123d8576123d86123af565b500190565b60008160001904831182151516156123f7576123f76123af565b500290565b60006020828403121561240e57600080fd5b5051919050565b60006020828403121561242757600080fd5b81516122a7816122ae565b60008261244f57634e487b7160e01b600052601260045260246000fd5b500490565b600082821015612466576124666123af565b500390565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561249357600080fd5b81516122a781612178565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156124ee5784516001600160a01b0316835293830193918301916001016124c9565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561252457600080fd5b835192506020840151915060408401519050925092509256fea264697066735822122091e106c67772cbcecc07a1f6480dc4daeb1d679edb981683ae647bf70888a9b164736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000004446f736100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000524444f5341000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _routerAddress (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : _name_ (string): Dosa
Arg [2] : _symbol_ (string): $DOSA
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [4] : 446f736100000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 24444f5341000000000000000000000000000000000000000000000000000000
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.