Overview
S Balance
0 S
S Value
-More Info
Private Name Tags
ContractCreator
Loading...
Loading
Contract Name:
feesCheckContract
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; interface ERC20 { function transfer(address to, uint256 value) external returns(bool); function approve(address spender, uint256 value) external returns(bool); function transferFrom(address from, address to, uint256 value) external returns(bool); function totalSupply() external view returns(uint256); function balanceOf(address who) external view returns(uint256); function allowance(address owner, address spender) external view returns(uint256); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } } // pragma solidity >=0.6.2; interface UniswapRouter02 { function factory() external pure returns(address); function WETH() external pure returns(address); function WBNB() external pure returns(address); function WAVAX() external pure returns(address); function getAmountsOut(uint amountIn, address[] calldata path) external view returns(uint[] memory amounts); } /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; address public voter; mapping(address => bool) public Deployer; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor() { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev Allows the current owner to relinquish control of the contract. */ function renounceOwnership() public onlyOwner { emit OwnershipRenounced(owner); owner = address(0); } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param _newOwner The address to transfer ownership to. */ function transferOwnership(address _newOwner) public onlyOwner { _transferOwnership(_newOwner); } /** * @dev Transfers control of the contract to a newOwner. * @param _newOwner The address to transfer ownership to. */ function _transferOwnership(address _newOwner) internal { require(_newOwner != address(0)); emit OwnershipTransferred(owner, _newOwner); owner = _newOwner; } } contract feesCheckContract is Ownable { uint256 public regPresaleFeesNative = 1 * (10**18); // 1 ETH uint256 public regWhitelistFeesNative = 9 * (10**17); // 0.9 ETH uint256 public fairPresaleFeesNative = 1 * (10**18); // 1 ETH uint256 public fairWhitelistFeesNative = 9 * (10**17); // 0.9 ETH uint256 public nftTokenPresaleFeesNative = 1 * (10**18); // 1 ETH uint256 public nftTokenWhitelistFeesNative = 9 * (10**17); // 0.9 ETH uint256 public nftPresaleFeesNative = 1 * (10**18); // 1 ETH uint256 public nftWhitelistFeesNative = 9 * (10**17); // 0.9 ETH uint256 public dxlockFeesTokenStdNative = 2 * (10**17); // 0.2 ETH uint256 public dxlockFeesTokenRwdNative = 5 * (10**17); // 0.5 ETH uint256 public dxlockFeesTokenLPNative = 2 * (10**17); // 0.2 ETH uint256 public dxDropFeesNative = 1 * (10**17); // 0.1 ETH uint256 public regPresaleFees = 1 * (10**3); // low for testing uint256 public regWhitelistFees = 0.5 * (10**3); // low for testing uint256 public fairPresaleFees = 0.8 * (10**3); // low for testing uint256 public fairWhitelistFees = 0.4 * (10**3); // low for testing uint256 public nftTokenPresaleFees = 1.4 * (10**3); // low for testing uint256 public nftTokenWhitelistFees = 0.7 * (10**3); // low for testing uint256 public nftPresaleFees = 1.2 * (10**3); // low for testing uint256 public nftWhitelistFees = 0.6 * (10**3); // low for testing uint256 public dxlockFeesTokenStd = 1 * (10**2); // low for testing uint256 public dxlockFeesTokenRwd = 4 * (10**2); // low for testing uint256 public dxlockFeesTokenLP = 2 * (10**2); // low for testing uint256 public dxMintStd = 1 * (10**2); // low for testing uint256 public dxMintBurn = 2 * (10**2); // low for testing uint256 public dxMintDiv = 3 * (10**2); // low for testing uint256 public dxMintLiq = 4 * (10**2); // low for testing uint256 public dxDropFees = 3 * (10**2); // low for testing bool public stableFee = true; uint256 public dappNumber; uint256 public dappWhitelistNumber; mapping(string => uint256) public feesMap; mapping(string => uint256) public feesMapNative; mapping(string => bool) public feesMapBool; mapping(string => bool) public whitelistMapBool; mapping(string => uint256) public whitelistFeeMap; mapping(string => uint256) public whitelistFeeMapNative; mapping(uint256 => string) public dappNames; mapping(uint256 => string) public dappWhitelistNames; address public swapRouter_Address; address public currency; constructor(address _dexRouter, address _currency) { swapRouter_Address = _dexRouter; currency = _currency; // native Fees feesMapNative["regPresaleFees"] = regPresaleFeesNative; feesMapNative["fairPresaleFees"] = fairPresaleFeesNative; feesMapNative["nftTokenPresaleFees"] = nftTokenPresaleFeesNative; feesMapNative["nftPresaleFees"] = nftPresaleFeesNative; feesMapNative["dxlockFeesTokenStd"] = dxlockFeesTokenStdNative; feesMapNative["dxlockFeesTokenRwd"] = dxlockFeesTokenRwdNative; feesMapNative["dxlockFeesTokenLP"] = dxlockFeesTokenLPNative; feesMapNative["dxDropFees"] = dxDropFeesNative; whitelistFeeMapNative["regWhitelistFees"] = regWhitelistFeesNative; whitelistFeeMapNative["fairWhitelistFees"] = fairWhitelistFeesNative; whitelistFeeMapNative["nftTokenWhitelistFees"] = nftTokenWhitelistFeesNative; whitelistFeeMapNative["nftWhitelistFees"] = nftWhitelistFeesNative; // USDC converted Fees feesMap["regPresaleFees"] = regPresaleFees; dappNames[dappNumber] = "regPresaleFees"; dappNumber++; feesMapBool["regPresaleFees"] = true; feesMap["fairPresaleFees"] = fairPresaleFees; dappNames[dappNumber] = "fairPresaleFees"; dappNumber++; feesMapBool["fairPresaleFees"] = true; feesMap["nftTokenPresaleFees"] = nftTokenPresaleFees; dappNames[dappNumber] = "nftTokenPresaleFees"; dappNumber++; feesMapBool["nftTokenPresaleFees"] = true; feesMap["nftPresaleFees"] = nftPresaleFees; dappNames[dappNumber] = "nftPresaleFees"; dappNumber++; feesMapBool["nftPresaleFees"] = true; feesMap["dxlockFeesTokenStd"] = dxlockFeesTokenStd; dappNames[dappNumber] = "dxlockFeesTokenStd"; dappNumber++; feesMapBool["dxlockFeesTokenStd"] = true; feesMap["dxlockFeesTokenRwd"] = dxlockFeesTokenRwd; dappNames[dappNumber] = "dxlockFeesTokenRwd"; dappNumber++; feesMapBool["dxlockFeesTokenRwd"] = true; feesMap["dxlockFeesTokenLP"] = dxlockFeesTokenLP; dappNames[dappNumber] = "dxlockFeesTokenLP"; dappNumber++; feesMapBool["dxlockFeesTokenLP"] = true; feesMap["dxDropFees"] = dxDropFees; dappNames[dappNumber] = "dxDropFees"; dappNumber++; feesMapBool["dxDropFees"] = true; feesMap["dxMintStd"] = dxMintStd; dappNames[dappNumber] = "dxMintStd"; dappNumber++; feesMapBool["dxMintStd"] = true; feesMap["dxMintBurn"] = dxMintBurn; dappNames[dappNumber] = "dxMintBurn"; dappNumber++; feesMapBool["dxMintBurn"] = true; feesMap["dxMintDiv"] = dxMintDiv; dappNames[dappNumber] = "dxMintDiv"; dappNumber++; feesMapBool["dxMintDiv"] = true; feesMap["dxMintLiq"] = dxMintLiq; dappNames[dappNumber] = "dxMintLiq"; dappNumber++; feesMapBool["dxMintLiq"] = true; whitelistFeeMap["regWhitelistFees"] = regWhitelistFees; dappWhitelistNames[dappWhitelistNumber] = "regWhitelistFees"; dappWhitelistNumber++; whitelistMapBool["regWhitelistFees"] = true; whitelistFeeMap["fairWhitelistFees"] = fairWhitelistFees; dappWhitelistNames[dappWhitelistNumber] = "fairWhitelistFees"; dappWhitelistNumber++; whitelistMapBool["fairWhitelistFees"] = true; whitelistFeeMap["nftTokenWhitelistFees"] = nftTokenWhitelistFees; dappWhitelistNames[dappWhitelistNumber] = "nftTokenWhitelistFees"; dappWhitelistNumber++; whitelistMapBool["nftTokenWhitelistFees"] = true; whitelistFeeMap["nftWhitelistFees"] = nftWhitelistFees; dappWhitelistNames[dappWhitelistNumber] = "nftWhitelistFees"; dappWhitelistNumber++; whitelistMapBool["nftWhitelistFees"] = true; } function getWrapAddrRouterSpecific(address _router) public pure returns (address){ try UniswapRouter02(_router).WETH() { return UniswapRouter02(_router).WETH(); } catch (bytes memory) { //return UniswapRouter02(_router).WBNB(); try UniswapRouter02(_router).WBNB() { return UniswapRouter02(_router).WBNB(); } catch (bytes memory) { return UniswapRouter02(_router).WAVAX(); } } } function getAmountsMinETH(uint256 _tokenIN) public view returns(uint256) { // UniswapRouter02 pancakeRouter = UniswapRouter02(_router); // generate the pair path of token -> weth uint256[] memory amountMinArr; uint256 AmountMin; address[] memory path = new address[](2); path[0] = address(currency); path[1] = getWrapAddrRouterSpecific(swapRouter_Address); amountMinArr = UniswapRouter02(swapRouter_Address).getAmountsOut(_tokenIN, path); AmountMin = uint256(amountMinArr[1]); return AmountMin; } function addNewDapp(string memory _dappName, uint256 _newDappFees) onlyOwner public { require(!feesMapBool[_dappName],"dapp already added"); feesMap[_dappName] = _newDappFees; feesMapNative[_dappName] = getAmountsMinETH(_newDappFees); feesMapBool[_dappName] = true; dappNames[dappNumber] = _dappName; dappNumber++; } function addNewDappNative(string memory _dappName, uint256 _newNativeDappFees) onlyOwner public { require(!feesMapBool[_dappName],"dapp already added"); //feesMap[_dappName] = _newDappFees; feesMapNative[_dappName] = _newNativeDappFees; feesMapBool[_dappName] = true; dappNames[dappNumber] = _dappName; dappNumber++; } function addNewDappWhitelist(string memory _dappWhitelistName, uint256 _newDappWhitelistFees) onlyOwner public { require(!whitelistMapBool[_dappWhitelistName],"dapp whitelist already added"); whitelistFeeMap[_dappWhitelistName] = _newDappWhitelistFees; whitelistFeeMapNative[_dappWhitelistName] = getAmountsMinETH(_newDappWhitelistFees); dappWhitelistNames[dappWhitelistNumber] = _dappWhitelistName; whitelistMapBool[_dappWhitelistName] = true; dappWhitelistNumber++; } function addNewDappWhitelistNative(string memory _dappWhitelistName, uint256 _newDappNativeWhitelistFees) onlyOwner public { require(!whitelistMapBool[_dappWhitelistName],"dapp whitelist already added"); //whitelistFeeMap[_dappWhitelistName] = _newDappWhitelistFees; whitelistFeeMapNative[_dappWhitelistName] = _newDappNativeWhitelistFees; dappWhitelistNames[dappWhitelistNumber] = _dappWhitelistName; whitelistMapBool[_dappWhitelistName] = true; dappWhitelistNumber++; } function changeDappFees(string memory _dappName, uint256 _updatedDappFees) onlyOwner public{ require(feesMapBool[_dappName],"dapp not found"); feesMap[_dappName] = _updatedDappFees; feesMapNative[_dappName] = getAmountsMinETH(_updatedDappFees); } function changeDappFeesNative(string memory _dappName, uint256 _updatedNativeDappFees) onlyOwner public{ require(feesMapBool[_dappName],"dapp not found"); //feesMap[_dappName] = _updatedDappFees; feesMapNative[_dappName] = _updatedNativeDappFees; } function changeDappWhitelistFees(string memory _dappWhitelistName, uint256 _updatedDappWhitelistFees) onlyOwner public{ require(whitelistMapBool[_dappWhitelistName],"dapp whitelist not found"); whitelistFeeMap[_dappWhitelistName] = _updatedDappWhitelistFees; whitelistFeeMapNative[_dappWhitelistName] = getAmountsMinETH(_updatedDappWhitelistFees); } function changeDappNativeWhitelistFees(string memory _dappWhitelistName, uint256 _updatedNativeDappWhitelistFees) onlyOwner public{ require(whitelistMapBool[_dappWhitelistName],"dapp whitelist not found"); //whitelistFeeMap[_dappWhitelistName] = _updatedDappWhitelistFees; whitelistFeeMapNative[_dappWhitelistName] = _updatedNativeDappWhitelistFees; } function changeDexRouter(address _newRouter) onlyOwner public { require(swapRouter_Address != _newRouter,"router already there"); swapRouter_Address = _newRouter; } function changeCurrency(address _newCurrency) onlyOwner public { require(currency != _newCurrency,"currency already in use"); currency = _newCurrency; } function getFees(string memory _dappName) public view returns(uint256){ require(feesMapBool[_dappName],"dapp not found"); if(stableFee){ return getAmountsMinETH(feesMap[_dappName]); } else { return feesMapNative[_dappName]; } } function getWhitelistFees(string memory _dappWhitelistName) public view returns(uint256){ require(whitelistMapBool[_dappWhitelistName],"dapp whitelist not found"); if(stableFee){ return getAmountsMinETH(whitelistFeeMap[_dappWhitelistName]); } else { return whitelistFeeMapNative[_dappWhitelistName]; } } function enableStableFee() onlyOwner public { stableFee = true; } function disableStableFee() onlyOwner public { stableFee = false; } function withdrawETH(uint256 ethAmount) public payable onlyOwner { //payable(platform_wallet).transfer(ethAmount); Address.sendValue(payable(msg.sender),ethAmount); } function withdrawToken(address _tokenAddress, uint256 _Amount) public payable onlyOwner { ERC20(_tokenAddress).transfer(msg.sender, _Amount); } } // DxMint fees -- mumbai testnet // dxMintStd = 10000wei usd //dxMintBurn = 11000wei usd //dxMintDiv = 12000wei usd //dxMintLiq = 14000wei usd
{ "evmVersion": "london", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 1 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_dexRouter","type":"address"},{"internalType":"address","name":"_currency","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"}],"name":"OwnershipRenounced","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"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"Deployer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_dappName","type":"string"},{"internalType":"uint256","name":"_newDappFees","type":"uint256"}],"name":"addNewDapp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_dappName","type":"string"},{"internalType":"uint256","name":"_newNativeDappFees","type":"uint256"}],"name":"addNewDappNative","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_dappWhitelistName","type":"string"},{"internalType":"uint256","name":"_newDappWhitelistFees","type":"uint256"}],"name":"addNewDappWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_dappWhitelistName","type":"string"},{"internalType":"uint256","name":"_newDappNativeWhitelistFees","type":"uint256"}],"name":"addNewDappWhitelistNative","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newCurrency","type":"address"}],"name":"changeCurrency","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_dappName","type":"string"},{"internalType":"uint256","name":"_updatedDappFees","type":"uint256"}],"name":"changeDappFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_dappName","type":"string"},{"internalType":"uint256","name":"_updatedNativeDappFees","type":"uint256"}],"name":"changeDappFeesNative","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_dappWhitelistName","type":"string"},{"internalType":"uint256","name":"_updatedNativeDappWhitelistFees","type":"uint256"}],"name":"changeDappNativeWhitelistFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_dappWhitelistName","type":"string"},{"internalType":"uint256","name":"_updatedDappWhitelistFees","type":"uint256"}],"name":"changeDappWhitelistFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newRouter","type":"address"}],"name":"changeDexRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currency","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"dappNames","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dappNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"dappWhitelistNames","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dappWhitelistNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableStableFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dxDropFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dxDropFeesNative","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dxMintBurn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dxMintDiv","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dxMintLiq","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dxMintStd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dxlockFeesTokenLP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dxlockFeesTokenLPNative","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dxlockFeesTokenRwd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dxlockFeesTokenRwdNative","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dxlockFeesTokenStd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dxlockFeesTokenStdNative","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableStableFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fairPresaleFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fairPresaleFeesNative","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fairWhitelistFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fairWhitelistFeesNative","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"feesMap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"feesMapBool","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"feesMapNative","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenIN","type":"uint256"}],"name":"getAmountsMinETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_dappName","type":"string"}],"name":"getFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_dappWhitelistName","type":"string"}],"name":"getWhitelistFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_router","type":"address"}],"name":"getWrapAddrRouterSpecific","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"nftPresaleFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPresaleFeesNative","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftTokenPresaleFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftTokenPresaleFeesNative","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftTokenWhitelistFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftTokenWhitelistFeesNative","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftWhitelistFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftWhitelistFeesNative","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"regPresaleFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"regPresaleFeesNative","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"regWhitelistFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"regWhitelistFeesNative","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stableFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapRouter_Address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"voter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"whitelistFeeMap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"whitelistFeeMapNative","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"whitelistMapBool","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"ethAmount","type":"uint256"}],"name":"withdrawETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_Amount","type":"uint256"}],"name":"withdrawToken","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6080604052670de0b6b3a7640000600355670c7d713b49da0000600455670de0b6b3a7640000600555670c7d713b49da0000600655670de0b6b3a7640000600755670c7d713b49da0000600855670de0b6b3a7640000600955670c7d713b49da0000600a556702c68af0bb140000600b556706f05b59d3b20000600c556702c68af0bb140000600d5567016345785d8a0000600e556103e8600f556101f46010556103206011556101906012556105786013556102bc6014556104b0601555610258601655606460175561019060185560c86019556064601a5560c8601b5561012c601c55610190601d5561012c601e556001601f60006101000a81548160ff0219169083151502179055503480156200011857600080fd5b506040516200301f3803806200301f8339810160408190526200013b9162000e2c565b60008054336001600160a01b031991821617909155602a805482166001600160a01b0385811691909117909155602b8054909216908316179055600354604051602390620001899062000e64565b9081526020016040518091039020819055506005546023604051620001ae9062000e7e565b9081526020016040518091039020819055506007546023604051620001d39062000e99565b9081526020016040518091039020819055506009546023604051620001f89062000eb8565b908152602001604051809103902081905550600b5460236040516200021d9062000ed2565b908152602001604051809103902081905550600c546023604051620002429062000ef0565b908152602001604051809103902081905550600d546023604051620002679062000f0e565b908152602001604051809103902081905550600e5460236040516200028c9062000f2b565b9081526020016040518091039020819055506004546027604051620002b19062000f41565b9081526020016040518091039020819055506006546027604051620002d69062000f5d565b9081526020016040518091039020819055506008546027604051620002fb9062000f7a565b908152602001604051809103902081905550600a546027604051620003209062000fa3565b908152602001604051809103902081905550600f546022604051620003459062000e64565b9081526040805160209281900383018120939093558281018152600e83526d72656750726573616c654665657360901b8284015281546000908152602890925290209062000394908262001064565b5060208054906000620003a78362001130565b919050555060016024604051620003be9062000e64565b908152604051908190036020018120805492151560ff199093169290921790915560115490602290620003f19062000e7e565b9081526040805160209281900383018120939093558281018152600f83526e6661697250726573616c654665657360881b8284015281546000908152602890925290209062000441908262001064565b5060208054906000620004548362001130565b9190505550600160246040516200046b9062000e7e565b908152604051908190036020018120805492151560ff1990931692909217909155601354906022906200049e9062000e99565b908152604080516020928190038301812093909355828101815260138352726e6674546f6b656e50726573616c654665657360681b82840152815460009081526028909252902090620004f2908262001064565b5060208054906000620005058362001130565b9190505550600160246040516200051c9062000e99565b908152604051908190036020018120805492151560ff1990931692909217909155601554906022906200054f9062000eb8565b9081526040805160209281900383018120939093558281018152600e83526d6e667450726573616c654665657360901b828401528154600090815260289092529020906200059e908262001064565b5060208054906000620005b18362001130565b919050555060016024604051620005c89062000eb8565b908152604051908190036020018120805492151560ff199093169290921790915560175490602290620005fb9062000ed2565b90815260408051602092819003830181209390935582810181526012835271191e1b1bd8dad199595cd51bdad95b94dd1960721b828401528154600090815260289092529020906200064e908262001064565b5060208054906000620006618362001130565b919050555060016024604051620006789062000ed2565b908152604051908190036020018120805492151560ff199093169290921790915560185490602290620006ab9062000ef0565b90815260408051602092819003830181209390935582810181526012835271191e1b1bd8dad199595cd51bdad95b949dd960721b82840152815460009081526028909252902090620006fe908262001064565b5060208054906000620007118362001130565b919050555060016024604051620007289062000ef0565b908152604051908190036020018120805492151560ff1990931692909217909155601954906022906200075b9062000f0e565b90815260408051602092819003830181209390935582810181526011835270064786c6f636b46656573546f6b656e4c5607c1b82840152815460009081526028909252902090620007ad908262001064565b5060208054906000620007c08362001130565b919050555060016024604051620007d79062000f0e565b908152604051908190036020018120805492151560ff1990931692909217909155601e54906022906200080a9062000f2b565b9081526040805160209281900383018120939093558281018152600a835269647844726f704665657360b01b8284015281546000908152602890925290209062000855908262001064565b5060208054906000620008688362001130565b9190505550600160246040516200087f9062000f2b565b908152604051908190036020018120805492151560ff1990931692909217909155601a5490602290620008b29062001158565b90815260408051602092819003830181209390935582810181526009835268191e135a5b9d14dd1960ba1b82840152815460009081526028909252902090620008fc908262001064565b50602080549060006200090f8362001130565b919050555060016024604051620009269062001158565b908152604051908190036020018120805492151560ff1990931692909217909155601b549060229062000959906200116d565b9081526040805160209281900383018120939093558281018152600a835269323c26b4b73a213ab93760b11b82840152815460009081526028909252902090620009a4908262001064565b5060208054906000620009b78362001130565b919050555060016024604051620009ce906200116d565b908152604051908190036020018120805492151560ff1990931692909217909155601c549060229062000a019062001183565b90815260408051602092819003830181209390935582810181526009835268323c26b4b73a2234bb60b91b8284015281546000908152602890925290209062000a4b908262001064565b506020805490600062000a5e8362001130565b91905055506001602460405162000a759062001183565b908152604051908190036020018120805492151560ff1990931692909217909155601d549060229062000aa89062001198565b9081526040805160209281900383018120939093558281018152600983526864784d696e744c697160b81b8284015281546000908152602890925290209062000af2908262001064565b506020805490600062000b058362001130565b91905055506001602460405162000b1c9062001198565b908152604051908190036020018120805492151560ff19909316929092179091556010549060269062000b4f9062000f41565b9081526040805160209281900383018120939093558281018152601083526f72656757686974656c6973744665657360801b828401526021546000908152602990925290209062000ba1908262001064565b506021805490600062000bb48362001130565b91905055506001602560405162000bcb9062000f41565b908152604051908190036020018120805492151560ff19909316929092179091556012549060269062000bfe9062000f5d565b908152604080516020928190038301812093909355828101815260118352706661697257686974656c6973744665657360781b828401526021546000908152602990925290209062000c51908262001064565b506021805490600062000c648362001130565b91905055506001602560405162000c7b9062000f5d565b908152604051908190036020018120805492151560ff19909316929092179091556014549060269062000cae9062000f7a565b9081526040805160209281900383018120939093558281018152601583527f6e6674546f6b656e57686974656c697374466565730000000000000000000000828401526021546000908152602990925290209062000d0d908262001064565b506021805490600062000d208362001130565b91905055506001602560405162000d379062000f7a565b908152604051908190036020018120805492151560ff19909316929092179091556016549060269062000d6a9062000fa3565b9081526040805160209281900383018120939093558281018152601083526f6e667457686974656c6973744665657360801b828401526021546000908152602990925290209062000dbc908262001064565b506021805490600062000dcf8362001130565b91905055506001602560405162000de69062000fa3565b908152604051908190036020019020805491151560ff1990921691909117905550620011ad9050565b80516001600160a01b038116811462000e2757600080fd5b919050565b6000806040838503121562000e4057600080fd5b62000e4b8362000e0f565b915062000e5b6020840162000e0f565b90509250929050565b6d72656750726573616c654665657360901b8152600e0190565b6e6661697250726573616c654665657360881b8152600f0190565b726e6674546f6b656e50726573616c654665657360681b815260130190565b6d6e667450726573616c654665657360901b8152600e0190565b71191e1b1bd8dad199595cd51bdad95b94dd1960721b815260120190565b71191e1b1bd8dad199595cd51bdad95b949dd960721b815260120190565b70064786c6f636b46656573546f6b656e4c5607c1b815260110190565b69647844726f704665657360b01b8152600a0190565b6f72656757686974656c6973744665657360801b815260100190565b706661697257686974656c6973744665657360781b815260110190565b7f6e6674546f6b656e57686974656c697374466565730000000000000000000000815260150190565b6f6e667457686974656c6973744665657360801b815260100190565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000fea57607f821691505b6020821081036200100b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200105f57600081815260208120601f850160051c810160208610156200103a5750805b601f850160051c820191505b818110156200105b5782815560010162001046565b5050505b505050565b81516001600160401b0381111562001080576200108062000fbf565b620010988162001091845462000fd5565b8462001011565b602080601f831160018114620010d05760008415620010b75750858301515b600019600386901b1c1916600185901b1785556200105b565b600085815260208120601f198616915b828110156200110157888601518255948401946001909101908401620010e0565b5085821015620011205787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016200115157634e487b7160e01b600052601160045260246000fd5b5060010190565b68191e135a5b9d14dd1960ba1b815260090190565b69323c26b4b73a213ab93760b11b8152600a0190565b68323c26b4b73a2234bb60b91b815260090190565b6864784d696e744c697160b81b815260090190565b611e6280620011bd6000396000f3fe6080604052600436106102d35760003560e01c806303f11c29146102d8578063122a7b3b14610315578063168ce4e01461036057806319511f8f1461039b57806319d314b2146103bf5780631a511349146103d557806324e3e8a8146103f55780632a44b3841461040b5780632fc40f241461042157806336262bff146104375780633cca0250146104595780633e5b3b4e1461049157806340bbd775146104a65780634242751a146104c0578063464cd4b3146104d657806346c96aac146104ec5780634bd900461461050c5780634e271165146105225780634f999faf1461053857806351c39adb14610565578063565c96411461057b57806356fc2aab1461059b5780635a7ef3f7146105b15780635dab31a5146105c75780635ec005c0146105dd57806360f3a8f8146105fd5780636178245c1461061d5780636be811e6146106335780636e55ff9a14610649578063715018a614610669578063813412dd1461067e578063873149bb146106945780638852bbd4146106a95780638b9220b1146106c95780638bab801f146106e95780638da5cb5b146107095780639089a09b1461072957806391a26895146107495780639473565a14610769578063957abaf31461077f5780639e281a981461079f578063a318df47146107b2578063ad962e39146107c8578063b6ff5ad414610800578063c1a8739714610816578063c6df337f1461082c578063c6e9ee1914610842578063ccff736b14610862578063ce1c4fa714610878578063d2afd70c1461088e578063e087c443146108a4578063e1c96799146108d4578063e2432195146108ea578063e5a6b10f14610900578063e5f0fd8314610920578063e669693814610936578063eab978841461094c578063eb90b2bc1461096c578063f14210a61461098c578063f1c11c4a1461099f578063f2fde38b146109b5578063f795fdbc146109d5578063f83c5faa14610a0d578063fb1cff1914610a23575b600080fd5b3480156102e457600080fd5b50602a546102f8906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561032157600080fd5b5061035061033036600461194f565b805160208183018101805160248252928201919093012091525460ff1681565b604051901515815260200161030c565b34801561036c57600080fd5b5061035061037b36600461194f565b805160208183018101805160258252928201919093012091525460ff1681565b3480156103a757600080fd5b506103b160185481565b60405190815260200161030c565b3480156103cb57600080fd5b506103b160215481565b3480156103e157600080fd5b506103b16103f036600461194f565b610a5b565b34801561040157600080fd5b506103b160135481565b34801561041757600080fd5b506103b1600b5481565b34801561042d57600080fd5b506103b160125481565b34801561044357600080fd5b50610457610452366004611983565b610b03565b005b34801561046557600080fd5b506103b161047436600461194f565b805160208183018101805160268252928201919093012091525481565b34801561049d57600080fd5b50610457610c0d565b3480156104b257600080fd5b50601f546103509060ff1681565b3480156104cc57600080fd5b506103b160105481565b3480156104e257600080fd5b506103b160165481565b3480156104f857600080fd5b506001546102f8906001600160a01b031681565b34801561051857600080fd5b506103b1601c5481565b34801561052e57600080fd5b506103b1601d5481565b34801561054457600080fd5b506105586105533660046119c7565b610c33565b60405161030c9190611a04565b34801561057157600080fd5b506103b1600f5481565b34801561058757600080fd5b506102f8610596366004611a4c565b610ccd565b3480156105a757600080fd5b506103b160065481565b3480156105bd57600080fd5b506103b1601b5481565b3480156105d357600080fd5b506103b1601a5481565b3480156105e957600080fd5b506104576105f8366004611983565b610f22565b34801561060957600080fd5b50610457610618366004611983565b610f9d565b34801561062957600080fd5b506103b160145481565b34801561063f57600080fd5b506103b160155481565b34801561065557600080fd5b50610457610664366004611a4c565b611004565b34801561067557600080fd5b50610457611094565b34801561068a57600080fd5b506103b160085481565b3480156106a057600080fd5b506104576110f3565b3480156106b557600080fd5b506104576106c4366004611983565b611116565b3480156106d557600080fd5b506105586106e43660046119c7565b6111a6565b3480156106f557600080fd5b50610457610704366004611983565b6111bf565b34801561071557600080fd5b506000546102f8906001600160a01b031681565b34801561073557600080fd5b506103b16107443660046119c7565b611294565b34801561075557600080fd5b50610457610764366004611983565b6113c0565b34801561077557600080fd5b506103b160095481565b34801561078b57600080fd5b5061045761079a366004611983565b611451565b6104576107ad366004611a69565b6114b9565b3480156107be57600080fd5b506103b160045481565b3480156107d457600080fd5b506103b16107e336600461194f565b805160208183018101805160228252928201919093012091525481565b34801561080c57600080fd5b506103b160175481565b34801561082257600080fd5b506103b160075481565b34801561083857600080fd5b506103b1600d5481565b34801561084e57600080fd5b5061045761085d366004611983565b611546565b34801561086e57600080fd5b506103b1601e5481565b34801561088457600080fd5b506103b160035481565b34801561089a57600080fd5b506103b160055481565b3480156108b057600080fd5b506103506108bf366004611a4c565b60026020526000908152604090205460ff1681565b3480156108e057600080fd5b506103b160205481565b3480156108f657600080fd5b506103b160115481565b34801561090c57600080fd5b50602b546102f8906001600160a01b031681565b34801561092c57600080fd5b506103b1600c5481565b34801561094257600080fd5b506103b160195481565b34801561095857600080fd5b50610457610967366004611a4c565b6115d6565b34801561097857600080fd5b506103b161098736600461194f565b611663565b61045761099a3660046119c7565b6116d2565b3480156109ab57600080fd5b506103b1600a5481565b3480156109c157600080fd5b506104576109d0366004611a4c565b6116f6565b3480156109e157600080fd5b506103b16109f036600461194f565b805160208183018101805160238252928201919093012091525481565b348015610a1957600080fd5b506103b1600e5481565b348015610a2f57600080fd5b506103b1610a3e36600461194f565b805160208183018101805160278252928201919093012091525481565b6000602582604051610a6d9190611a95565b9081526040519081900360200190205460ff16610aa55760405162461bcd60e51b8152600401610a9c90611ab1565b60405180910390fd5b601f5460ff1615610add57610ad7602683604051610ac39190611a95565b908152602001604051809103902054611294565b92915050565b602782604051610aed9190611a95565b9081526020016040518091039020549050919050565b6000546001600160a01b03163314610b1a57600080fd5b602582604051610b2a9190611a95565b9081526040519081900360200190205460ff1615610b5a5760405162461bcd60e51b8152600401610a9c90611ae3565b80602683604051610b6b9190611a95565b90815260405190819003602001902055610b8481611294565b602783604051610b949190611a95565b9081526040805160209281900383019020929092556021546000908152602990915220610bc18382611ba1565b506001602583604051610bd49190611a95565b908152604051908190036020019020805491151560ff1990921691909117905560218054906000610c0483611c60565b91905055505050565b6000546001600160a01b03163314610c2457600080fd5b601f805460ff19166001179055565b60296020526000908152604090208054610c4c90611b19565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7890611b19565b8015610cc55780601f10610c9a57610100808354040283529160200191610cc5565b820191906000526020600020905b815481529060010190602001808311610ca857829003601f168201915b505050505081565b6000816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610d29575060408051601f3d908101601f19168201909252610d2691810190611c87565b60015b610ebf573d808015610d57576040519150601f19603f3d011682016040523d82523d6000602084013e610d5c565b606091505b50826001600160a01b0316638dd950026040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610db7575060408051601f3d908101601f19168201909252610db491810190611c87565b60015b610e55573d808015610de5576040519150601f19603f3d011682016040523d82523d6000602084013e610dea565b606091505b50836001600160a01b03166373b295c26040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4d9190611c87565b949350505050565b50826001600160a01b0316638dd950026040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb89190611c87565b9392505050565b50816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610efe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad79190611c87565b6000546001600160a01b03163314610f3957600080fd5b602582604051610f499190611a95565b9081526040519081900360200190205460ff16610f785760405162461bcd60e51b8152600401610a9c90611ab1565b80602783604051610f899190611a95565b908152604051908190036020019020555050565b6000546001600160a01b03163314610fb457600080fd5b602482604051610fc49190611a95565b9081526040519081900360200190205460ff16610ff35760405162461bcd60e51b8152600401610a9c90611ca4565b80602383604051610f899190611a95565b6000546001600160a01b0316331461101b57600080fd5b602b546001600160a01b038083169116036110725760405162461bcd60e51b815260206004820152601760248201527663757272656e637920616c726561647920696e2075736560481b6044820152606401610a9c565b602b80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146110ab57600080fd5b600080546040516001600160a01b03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a2600080546001600160a01b0319169055565b6000546001600160a01b0316331461110a57600080fd5b601f805460ff19169055565b6000546001600160a01b0316331461112d57600080fd5b60248260405161113d9190611a95565b9081526040519081900360200190205460ff1661116c5760405162461bcd60e51b8152600401610a9c90611ca4565b8060228360405161117d9190611a95565b9081526040519081900360200190205561119681611294565b602383604051610f899190611a95565b60286020526000908152604090208054610c4c90611b19565b6000546001600160a01b031633146111d657600080fd5b6024826040516111e69190611a95565b9081526040519081900360200190205460ff16156112165760405162461bcd60e51b8152600401610a9c90611ccc565b806023836040516112279190611a95565b908152602001604051809103902081905550600160248360405161124b9190611a95565b9081526040805160209281900383019020805460ff191693151593909317909255805460009081526028909152206112838382611ba1565b5060208054906000610c0483611c60565b604080516002808252606080830184526000939092849283926020830190803683375050602b5482519293506001600160a01b0316918391506000906112dc576112dc611cf8565b6001600160a01b039283166020918202929092010152602a546112ff9116610ccd565b8160018151811061131257611312611cf8565b6001600160a01b039283166020918202929092010152602a5460405163d06ca61f60e01b815291169063d06ca61f906113519088908590600401611d0e565b600060405180830381865afa15801561136e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113969190810190611d65565b9250826001815181106113ab576113ab611cf8565b60200260200101519150819350505050919050565b6000546001600160a01b031633146113d757600080fd5b6024826040516113e79190611a95565b9081526040519081900360200190205460ff16156114175760405162461bcd60e51b8152600401610a9c90611ccc565b806022836040516114289190611a95565b9081526040519081900360200190205561144181611294565b6023836040516112279190611a95565b6000546001600160a01b0316331461146857600080fd5b6025826040516114789190611a95565b9081526040519081900360200190205460ff16156114a85760405162461bcd60e51b8152600401610a9c90611ae3565b80602783604051610b949190611a95565b6000546001600160a01b031633146114d057600080fd5b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af115801561151d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115419190611e0a565b505050565b6000546001600160a01b0316331461155d57600080fd5b60258260405161156d9190611a95565b9081526040519081900360200190205460ff1661159c5760405162461bcd60e51b8152600401610a9c90611ab1565b806026836040516115ad9190611a95565b908152604051908190036020019020556115c681611294565b602783604051610f899190611a95565b6000546001600160a01b031633146115ed57600080fd5b602a546001600160a01b038083169116036116415760405162461bcd60e51b8152602060048201526014602482015273726f7574657220616c726561647920746865726560601b6044820152606401610a9c565b602a80546001600160a01b0319166001600160a01b0392909216919091179055565b60006024826040516116759190611a95565b9081526040519081900360200190205460ff166116a45760405162461bcd60e51b8152600401610a9c90611ca4565b601f5460ff16156116c257610ad7602283604051610ac39190611a95565b602382604051610aed9190611a95565b6000546001600160a01b031633146116e957600080fd5b6116f33382611716565b50565b6000546001600160a01b0316331461170d57600080fd5b6116f38161182c565b804710156117665760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a9c565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146117b3576040519150601f19603f3d011682016040523d82523d6000602084013e6117b8565b606091505b50509050806115415760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c20726044820152791958da5c1a595b9d081b585e481a185d99481c995d995c9d195960321b6064820152608401610a9c565b6001600160a01b03811661183f57600080fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156118d8576118d861189a565b604052919050565b600082601f8301126118f157600080fd5b81356001600160401b0381111561190a5761190a61189a565b61191d601f8201601f19166020016118b0565b81815284602083860101111561193257600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561196157600080fd5b81356001600160401b0381111561197757600080fd5b610e4d848285016118e0565b6000806040838503121561199657600080fd5b82356001600160401b038111156119ac57600080fd5b6119b8858286016118e0565b95602094909401359450505050565b6000602082840312156119d957600080fd5b5035919050565b60005b838110156119fb5781810151838201526020016119e3565b50506000910152565b6020815260008251806020840152611a238160408501602087016119e0565b601f01601f19169190910160400192915050565b6001600160a01b03811681146116f357600080fd5b600060208284031215611a5e57600080fd5b8135610eb881611a37565b60008060408385031215611a7c57600080fd5b8235611a8781611a37565b946020939093013593505050565b60008251611aa78184602087016119e0565b9190910192915050565b60208082526018908201527719185c1c081dda1a5d195b1a5cdd081b9bdd08199bdd5b9960421b604082015260600190565b6020808252601c908201527b19185c1c081dda1a5d195b1a5cdd08185b1c9958591e48185919195960221b604082015260600190565b600181811c90821680611b2d57607f821691505b602082108103611b4d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561154157600081815260208120601f850160051c81016020861015611b7a5750805b601f850160051c820191505b81811015611b9957828155600101611b86565b505050505050565b81516001600160401b03811115611bba57611bba61189a565b611bce81611bc88454611b19565b84611b53565b602080601f831160018114611c035760008415611beb5750858301515b600019600386901b1c1916600185901b178555611b99565b600085815260208120601f198616915b82811015611c3257888601518255948401946001909101908401611c13565b5085821015611c505787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018201611c8057634e487b7160e01b600052601160045260246000fd5b5060010190565b600060208284031215611c9957600080fd5b8151610eb881611a37565b6020808252600e908201526d19185c1c081b9bdd08199bdd5b9960921b604082015260600190565b60208082526012908201527119185c1c08185b1c9958591e48185919195960721b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000604082018483526020604081850152818551808452606086019150828701935060005b81811015611d585784516001600160a01b031683529383019391830191600101611d33565b5090979650505050505050565b60006020808385031215611d7857600080fd5b82516001600160401b0380821115611d8f57600080fd5b818501915085601f830112611da357600080fd5b815181811115611db557611db561189a565b8060051b9150611dc68483016118b0565b8181529183018401918481019088841115611de057600080fd5b938501935b83851015611dfe57845182529385019390850190611de5565b98975050505050505050565b600060208284031215611e1c57600080fd5b81518015158114610eb857600080fdfea2646970667358221220d5bb8ce1d0e79fdec84bac6b26179263ddcb153d5b73011f27d5efdf784f385964736f6c63430008110033000000000000000000000000fcd3842f85ed87ba2889b4d35893403796e67ff10000000000000000000000008ac76a51cc950d9822d68b83fe1ad97b32cd580d
Deployed Bytecode
0x6080604052600436106102d35760003560e01c806303f11c29146102d8578063122a7b3b14610315578063168ce4e01461036057806319511f8f1461039b57806319d314b2146103bf5780631a511349146103d557806324e3e8a8146103f55780632a44b3841461040b5780632fc40f241461042157806336262bff146104375780633cca0250146104595780633e5b3b4e1461049157806340bbd775146104a65780634242751a146104c0578063464cd4b3146104d657806346c96aac146104ec5780634bd900461461050c5780634e271165146105225780634f999faf1461053857806351c39adb14610565578063565c96411461057b57806356fc2aab1461059b5780635a7ef3f7146105b15780635dab31a5146105c75780635ec005c0146105dd57806360f3a8f8146105fd5780636178245c1461061d5780636be811e6146106335780636e55ff9a14610649578063715018a614610669578063813412dd1461067e578063873149bb146106945780638852bbd4146106a95780638b9220b1146106c95780638bab801f146106e95780638da5cb5b146107095780639089a09b1461072957806391a26895146107495780639473565a14610769578063957abaf31461077f5780639e281a981461079f578063a318df47146107b2578063ad962e39146107c8578063b6ff5ad414610800578063c1a8739714610816578063c6df337f1461082c578063c6e9ee1914610842578063ccff736b14610862578063ce1c4fa714610878578063d2afd70c1461088e578063e087c443146108a4578063e1c96799146108d4578063e2432195146108ea578063e5a6b10f14610900578063e5f0fd8314610920578063e669693814610936578063eab978841461094c578063eb90b2bc1461096c578063f14210a61461098c578063f1c11c4a1461099f578063f2fde38b146109b5578063f795fdbc146109d5578063f83c5faa14610a0d578063fb1cff1914610a23575b600080fd5b3480156102e457600080fd5b50602a546102f8906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561032157600080fd5b5061035061033036600461194f565b805160208183018101805160248252928201919093012091525460ff1681565b604051901515815260200161030c565b34801561036c57600080fd5b5061035061037b36600461194f565b805160208183018101805160258252928201919093012091525460ff1681565b3480156103a757600080fd5b506103b160185481565b60405190815260200161030c565b3480156103cb57600080fd5b506103b160215481565b3480156103e157600080fd5b506103b16103f036600461194f565b610a5b565b34801561040157600080fd5b506103b160135481565b34801561041757600080fd5b506103b1600b5481565b34801561042d57600080fd5b506103b160125481565b34801561044357600080fd5b50610457610452366004611983565b610b03565b005b34801561046557600080fd5b506103b161047436600461194f565b805160208183018101805160268252928201919093012091525481565b34801561049d57600080fd5b50610457610c0d565b3480156104b257600080fd5b50601f546103509060ff1681565b3480156104cc57600080fd5b506103b160105481565b3480156104e257600080fd5b506103b160165481565b3480156104f857600080fd5b506001546102f8906001600160a01b031681565b34801561051857600080fd5b506103b1601c5481565b34801561052e57600080fd5b506103b1601d5481565b34801561054457600080fd5b506105586105533660046119c7565b610c33565b60405161030c9190611a04565b34801561057157600080fd5b506103b1600f5481565b34801561058757600080fd5b506102f8610596366004611a4c565b610ccd565b3480156105a757600080fd5b506103b160065481565b3480156105bd57600080fd5b506103b1601b5481565b3480156105d357600080fd5b506103b1601a5481565b3480156105e957600080fd5b506104576105f8366004611983565b610f22565b34801561060957600080fd5b50610457610618366004611983565b610f9d565b34801561062957600080fd5b506103b160145481565b34801561063f57600080fd5b506103b160155481565b34801561065557600080fd5b50610457610664366004611a4c565b611004565b34801561067557600080fd5b50610457611094565b34801561068a57600080fd5b506103b160085481565b3480156106a057600080fd5b506104576110f3565b3480156106b557600080fd5b506104576106c4366004611983565b611116565b3480156106d557600080fd5b506105586106e43660046119c7565b6111a6565b3480156106f557600080fd5b50610457610704366004611983565b6111bf565b34801561071557600080fd5b506000546102f8906001600160a01b031681565b34801561073557600080fd5b506103b16107443660046119c7565b611294565b34801561075557600080fd5b50610457610764366004611983565b6113c0565b34801561077557600080fd5b506103b160095481565b34801561078b57600080fd5b5061045761079a366004611983565b611451565b6104576107ad366004611a69565b6114b9565b3480156107be57600080fd5b506103b160045481565b3480156107d457600080fd5b506103b16107e336600461194f565b805160208183018101805160228252928201919093012091525481565b34801561080c57600080fd5b506103b160175481565b34801561082257600080fd5b506103b160075481565b34801561083857600080fd5b506103b1600d5481565b34801561084e57600080fd5b5061045761085d366004611983565b611546565b34801561086e57600080fd5b506103b1601e5481565b34801561088457600080fd5b506103b160035481565b34801561089a57600080fd5b506103b160055481565b3480156108b057600080fd5b506103506108bf366004611a4c565b60026020526000908152604090205460ff1681565b3480156108e057600080fd5b506103b160205481565b3480156108f657600080fd5b506103b160115481565b34801561090c57600080fd5b50602b546102f8906001600160a01b031681565b34801561092c57600080fd5b506103b1600c5481565b34801561094257600080fd5b506103b160195481565b34801561095857600080fd5b50610457610967366004611a4c565b6115d6565b34801561097857600080fd5b506103b161098736600461194f565b611663565b61045761099a3660046119c7565b6116d2565b3480156109ab57600080fd5b506103b1600a5481565b3480156109c157600080fd5b506104576109d0366004611a4c565b6116f6565b3480156109e157600080fd5b506103b16109f036600461194f565b805160208183018101805160238252928201919093012091525481565b348015610a1957600080fd5b506103b1600e5481565b348015610a2f57600080fd5b506103b1610a3e36600461194f565b805160208183018101805160278252928201919093012091525481565b6000602582604051610a6d9190611a95565b9081526040519081900360200190205460ff16610aa55760405162461bcd60e51b8152600401610a9c90611ab1565b60405180910390fd5b601f5460ff1615610add57610ad7602683604051610ac39190611a95565b908152602001604051809103902054611294565b92915050565b602782604051610aed9190611a95565b9081526020016040518091039020549050919050565b6000546001600160a01b03163314610b1a57600080fd5b602582604051610b2a9190611a95565b9081526040519081900360200190205460ff1615610b5a5760405162461bcd60e51b8152600401610a9c90611ae3565b80602683604051610b6b9190611a95565b90815260405190819003602001902055610b8481611294565b602783604051610b949190611a95565b9081526040805160209281900383019020929092556021546000908152602990915220610bc18382611ba1565b506001602583604051610bd49190611a95565b908152604051908190036020019020805491151560ff1990921691909117905560218054906000610c0483611c60565b91905055505050565b6000546001600160a01b03163314610c2457600080fd5b601f805460ff19166001179055565b60296020526000908152604090208054610c4c90611b19565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7890611b19565b8015610cc55780601f10610c9a57610100808354040283529160200191610cc5565b820191906000526020600020905b815481529060010190602001808311610ca857829003601f168201915b505050505081565b6000816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610d29575060408051601f3d908101601f19168201909252610d2691810190611c87565b60015b610ebf573d808015610d57576040519150601f19603f3d011682016040523d82523d6000602084013e610d5c565b606091505b50826001600160a01b0316638dd950026040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610db7575060408051601f3d908101601f19168201909252610db491810190611c87565b60015b610e55573d808015610de5576040519150601f19603f3d011682016040523d82523d6000602084013e610dea565b606091505b50836001600160a01b03166373b295c26040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4d9190611c87565b949350505050565b50826001600160a01b0316638dd950026040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb89190611c87565b9392505050565b50816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610efe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad79190611c87565b6000546001600160a01b03163314610f3957600080fd5b602582604051610f499190611a95565b9081526040519081900360200190205460ff16610f785760405162461bcd60e51b8152600401610a9c90611ab1565b80602783604051610f899190611a95565b908152604051908190036020019020555050565b6000546001600160a01b03163314610fb457600080fd5b602482604051610fc49190611a95565b9081526040519081900360200190205460ff16610ff35760405162461bcd60e51b8152600401610a9c90611ca4565b80602383604051610f899190611a95565b6000546001600160a01b0316331461101b57600080fd5b602b546001600160a01b038083169116036110725760405162461bcd60e51b815260206004820152601760248201527663757272656e637920616c726561647920696e2075736560481b6044820152606401610a9c565b602b80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146110ab57600080fd5b600080546040516001600160a01b03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a2600080546001600160a01b0319169055565b6000546001600160a01b0316331461110a57600080fd5b601f805460ff19169055565b6000546001600160a01b0316331461112d57600080fd5b60248260405161113d9190611a95565b9081526040519081900360200190205460ff1661116c5760405162461bcd60e51b8152600401610a9c90611ca4565b8060228360405161117d9190611a95565b9081526040519081900360200190205561119681611294565b602383604051610f899190611a95565b60286020526000908152604090208054610c4c90611b19565b6000546001600160a01b031633146111d657600080fd5b6024826040516111e69190611a95565b9081526040519081900360200190205460ff16156112165760405162461bcd60e51b8152600401610a9c90611ccc565b806023836040516112279190611a95565b908152602001604051809103902081905550600160248360405161124b9190611a95565b9081526040805160209281900383019020805460ff191693151593909317909255805460009081526028909152206112838382611ba1565b5060208054906000610c0483611c60565b604080516002808252606080830184526000939092849283926020830190803683375050602b5482519293506001600160a01b0316918391506000906112dc576112dc611cf8565b6001600160a01b039283166020918202929092010152602a546112ff9116610ccd565b8160018151811061131257611312611cf8565b6001600160a01b039283166020918202929092010152602a5460405163d06ca61f60e01b815291169063d06ca61f906113519088908590600401611d0e565b600060405180830381865afa15801561136e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113969190810190611d65565b9250826001815181106113ab576113ab611cf8565b60200260200101519150819350505050919050565b6000546001600160a01b031633146113d757600080fd5b6024826040516113e79190611a95565b9081526040519081900360200190205460ff16156114175760405162461bcd60e51b8152600401610a9c90611ccc565b806022836040516114289190611a95565b9081526040519081900360200190205561144181611294565b6023836040516112279190611a95565b6000546001600160a01b0316331461146857600080fd5b6025826040516114789190611a95565b9081526040519081900360200190205460ff16156114a85760405162461bcd60e51b8152600401610a9c90611ae3565b80602783604051610b949190611a95565b6000546001600160a01b031633146114d057600080fd5b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af115801561151d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115419190611e0a565b505050565b6000546001600160a01b0316331461155d57600080fd5b60258260405161156d9190611a95565b9081526040519081900360200190205460ff1661159c5760405162461bcd60e51b8152600401610a9c90611ab1565b806026836040516115ad9190611a95565b908152604051908190036020019020556115c681611294565b602783604051610f899190611a95565b6000546001600160a01b031633146115ed57600080fd5b602a546001600160a01b038083169116036116415760405162461bcd60e51b8152602060048201526014602482015273726f7574657220616c726561647920746865726560601b6044820152606401610a9c565b602a80546001600160a01b0319166001600160a01b0392909216919091179055565b60006024826040516116759190611a95565b9081526040519081900360200190205460ff166116a45760405162461bcd60e51b8152600401610a9c90611ca4565b601f5460ff16156116c257610ad7602283604051610ac39190611a95565b602382604051610aed9190611a95565b6000546001600160a01b031633146116e957600080fd5b6116f33382611716565b50565b6000546001600160a01b0316331461170d57600080fd5b6116f38161182c565b804710156117665760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a9c565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146117b3576040519150601f19603f3d011682016040523d82523d6000602084013e6117b8565b606091505b50509050806115415760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c20726044820152791958da5c1a595b9d081b585e481a185d99481c995d995c9d195960321b6064820152608401610a9c565b6001600160a01b03811661183f57600080fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156118d8576118d861189a565b604052919050565b600082601f8301126118f157600080fd5b81356001600160401b0381111561190a5761190a61189a565b61191d601f8201601f19166020016118b0565b81815284602083860101111561193257600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561196157600080fd5b81356001600160401b0381111561197757600080fd5b610e4d848285016118e0565b6000806040838503121561199657600080fd5b82356001600160401b038111156119ac57600080fd5b6119b8858286016118e0565b95602094909401359450505050565b6000602082840312156119d957600080fd5b5035919050565b60005b838110156119fb5781810151838201526020016119e3565b50506000910152565b6020815260008251806020840152611a238160408501602087016119e0565b601f01601f19169190910160400192915050565b6001600160a01b03811681146116f357600080fd5b600060208284031215611a5e57600080fd5b8135610eb881611a37565b60008060408385031215611a7c57600080fd5b8235611a8781611a37565b946020939093013593505050565b60008251611aa78184602087016119e0565b9190910192915050565b60208082526018908201527719185c1c081dda1a5d195b1a5cdd081b9bdd08199bdd5b9960421b604082015260600190565b6020808252601c908201527b19185c1c081dda1a5d195b1a5cdd08185b1c9958591e48185919195960221b604082015260600190565b600181811c90821680611b2d57607f821691505b602082108103611b4d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561154157600081815260208120601f850160051c81016020861015611b7a5750805b601f850160051c820191505b81811015611b9957828155600101611b86565b505050505050565b81516001600160401b03811115611bba57611bba61189a565b611bce81611bc88454611b19565b84611b53565b602080601f831160018114611c035760008415611beb5750858301515b600019600386901b1c1916600185901b178555611b99565b600085815260208120601f198616915b82811015611c3257888601518255948401946001909101908401611c13565b5085821015611c505787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018201611c8057634e487b7160e01b600052601160045260246000fd5b5060010190565b600060208284031215611c9957600080fd5b8151610eb881611a37565b6020808252600e908201526d19185c1c081b9bdd08199bdd5b9960921b604082015260600190565b60208082526012908201527119185c1c08185b1c9958591e48185919195960721b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000604082018483526020604081850152818551808452606086019150828701935060005b81811015611d585784516001600160a01b031683529383019391830191600101611d33565b5090979650505050505050565b60006020808385031215611d7857600080fd5b82516001600160401b0380821115611d8f57600080fd5b818501915085601f830112611da357600080fd5b815181811115611db557611db561189a565b8060051b9150611dc68483016118b0565b8181529183018401918481019088841115611de057600080fd5b938501935b83851015611dfe57845182529385019390850190611de5565b98975050505050505050565b600060208284031215611e1c57600080fd5b81518015158114610eb857600080fdfea2646970667358221220d5bb8ce1d0e79fdec84bac6b26179263ddcb153d5b73011f27d5efdf784f385964736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000fcd3842f85ed87ba2889b4d35893403796e67ff10000000000000000000000008ac76a51cc950d9822d68b83fe1ad97b32cd580d
-----Decoded View---------------
Arg [0] : _dexRouter (address): 0xfCD3842f85ed87ba2889b4D35893403796e67FF1
Arg [1] : _currency (address): 0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000fcd3842f85ed87ba2889b4d35893403796e67ff1
Arg [1] : 0000000000000000000000008ac76a51cc950d9822d68b83fe1ad97b32cd580d
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.