Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 133 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 22646239 | 46 hrs ago | IN | 0 ETH | 0.00030936 | ||||
Approve | 22644300 | 2 days ago | IN | 0 ETH | 0.00009614 | ||||
Approve | 22644221 | 2 days ago | IN | 0 ETH | 0.00015771 | ||||
Approve | 22643422 | 2 days ago | IN | 0 ETH | 0.0000428 | ||||
Approve | 22640617 | 2 days ago | IN | 0 ETH | 0.00050251 | ||||
Approve | 22640576 | 2 days ago | IN | 0 ETH | 0.00062919 | ||||
Approve | 22640384 | 2 days ago | IN | 0 ETH | 0.00040151 | ||||
Approve | 22640363 | 2 days ago | IN | 0 ETH | 0.00047171 | ||||
Approve | 22640149 | 2 days ago | IN | 0 ETH | 0.00096323 | ||||
Approve | 22639502 | 2 days ago | IN | 0 ETH | 0.00030647 | ||||
Approve | 22639375 | 2 days ago | IN | 0 ETH | 0.00022769 | ||||
Approve | 22639351 | 2 days ago | IN | 0 ETH | 0.00023981 | ||||
Approve | 22639182 | 2 days ago | IN | 0 ETH | 0.00017268 | ||||
Approve | 22639059 | 2 days ago | IN | 0 ETH | 0.00028357 | ||||
Approve | 22638999 | 2 days ago | IN | 0 ETH | 0.00021759 | ||||
Approve | 22638999 | 2 days ago | IN | 0 ETH | 0.00021759 | ||||
Approve | 22638995 | 2 days ago | IN | 0 ETH | 0.00040417 | ||||
Approve | 22638915 | 2 days ago | IN | 0 ETH | 0.00023033 | ||||
Approve | 22638010 | 3 days ago | IN | 0 ETH | 0.00013863 | ||||
Transfer | 22634380 | 3 days ago | IN | 0 ETH | 0.00009384 | ||||
Approve | 22634128 | 3 days ago | IN | 0 ETH | 0.00023301 | ||||
Approve | 22634107 | 3 days ago | IN | 0 ETH | 0.00020046 | ||||
Approve | 22634079 | 3 days ago | IN | 0 ETH | 0.00034799 | ||||
Approve | 22634071 | 3 days ago | IN | 0 ETH | 0.00018363 | ||||
Approve | 22634048 | 3 days ago | IN | 0 ETH | 0.00018812 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Method | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|---|
Transfer | 22659042 | 3 hrs ago | 0.00161933 ETH | ||||
Transfer | 22659042 | 3 hrs ago | 0.00647735 ETH | ||||
Transfer | 22659042 | 3 hrs ago | 0.00809668 ETH | ||||
Transfer | 22658249 | 6 hrs ago | 0.00163076 ETH | ||||
Transfer | 22658249 | 6 hrs ago | 0.00652307 ETH | ||||
Transfer | 22658249 | 6 hrs ago | 0.00815384 ETH | ||||
Transfer | 22648502 | 39 hrs ago | 0.00164518 ETH | ||||
Transfer | 22648502 | 39 hrs ago | 0.00658075 ETH | ||||
Transfer | 22648502 | 39 hrs ago | 0.00822594 ETH | ||||
Transfer | 22646272 | 46 hrs ago | 0.00166937 ETH | ||||
Transfer | 22646272 | 46 hrs ago | 0.00667751 ETH | ||||
Transfer | 22646272 | 46 hrs ago | 0.00834689 ETH | ||||
Transfer | 22644303 | 2 days ago | 0.0016228 ETH | ||||
Transfer | 22644303 | 2 days ago | 0.00649123 ETH | ||||
Transfer | 22644303 | 2 days ago | 0.00811404 ETH | ||||
Transfer | 22644231 | 2 days ago | 0.00164871 ETH | ||||
Transfer | 22644231 | 2 days ago | 0.00659486 ETH | ||||
Transfer | 22644231 | 2 days ago | 0.00824357 ETH | ||||
Transfer | 22643422 | 2 days ago | 0.00165815 ETH | ||||
Transfer | 22643422 | 2 days ago | 0.00663262 ETH | ||||
Transfer | 22643422 | 2 days ago | 0.00829077 ETH | ||||
Transfer | 22642225 | 2 days ago | 0.00167689 ETH | ||||
Transfer | 22642225 | 2 days ago | 0.00670758 ETH | ||||
Transfer | 22642225 | 2 days ago | 0.00838448 ETH | ||||
Transfer | 22640759 | 2 days ago | 0.00174376 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
MCP3
Compiler Version
v0.8.28+commit.7893614a
Optimization Enabled:
Yes with 200 runs
Other Settings:
cancun EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* * * MCP3 - The Context Engine for Web3 Powered AI Agents * * Website: https://mcp3.app * MCP3 App: https://dapp.mcp3.app * X(Twitter): https://x.com/mcp3protocol * Telegram: https://t.me/mcp3protocol * Documentation: https://docs.mcp3.app * */ //SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.15; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/interfaces/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IWETH.sol"; contract MCP3 is Context, IERC20, Ownable { event Bought(address indexed buyer, uint256 amount); event Sold(address indexed seller, uint256 amount); // Constants string private constant _name = "MCP3"; string private constant _symbol = "MCP3"; // Standard decimals uint8 private constant _decimals = 18; uint256 private constant totalTokens = 1e27; // Mappings mapping(address => uint256) private balances; mapping(address => mapping(address => uint256)) private _allowances; struct mappingStructs { bool _isExcludedFromFee; uint32 _lastTxBlock; uint32 botBlock; bool isLPPair; } struct InitialData { uint32 buyTax; uint32 sellTax; uint32 maxWalletDiv; uint32 maxTxDiv; uint32 maxSwapDivisor; uint32 minSwapDivisor; } struct TaxWallet { address wallet; uint32 ratio; } mapping(address => mappingStructs) mappedAddresses; // Arrays TaxWallet[] private taxWallets; // Global variables // Block of 256 bits uint32 private sellTax; uint32 private buyTax; // Storage block closed // Block of 256 bits uint32 private maxTxRatio; uint32 private maxWalletRatio; bool private inSwap = false; // Block of 256 bits uint32 ethSendThresholdDivisor = 1000; uint32 private totalRatio; uint32 private taxSwapDivisor; uint32 private minSwapDivisor; // Block of 256 bits uint64 lastTxBlockNumber; IUniswapV2Router02 private uniswapV2Router; constructor( InitialData memory id, TaxWallet[] memory wallets ) Ownable(_msgSender()) { buyTax = id.buyTax; sellTax = id.sellTax; taxSwapDivisor = id.maxSwapDivisor; minSwapDivisor = id.minSwapDivisor; maxTxRatio = id.maxTxDiv; maxWalletRatio = id.maxWalletDiv; mappedAddresses[_msgSender()] = mappingStructs({ _isExcludedFromFee: true, _lastTxBlock: 0, botBlock: 0, isLPPair: false }); mappedAddresses[address(this)] = mappingStructs({ _isExcludedFromFee: true, _lastTxBlock: 0, botBlock: 0, isLPPair: false }); IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); uniswapV2Router = _uniswapV2Router; _approve(address(this), address(uniswapV2Router), totalTokens); address uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); mappedAddresses[uniswapV2Pair] = mappingStructs({ _isExcludedFromFee: false, _lastTxBlock: 0, botBlock: 0, isLPPair: true }); uint32 initialRatio = 0; for (uint256 i = 0; i < wallets.length; i++) { mappedAddresses[wallets[i].wallet] = mappingStructs({ _isExcludedFromFee: true, _lastTxBlock: 0, botBlock: 0, isLPPair: false }); initialRatio += wallets[i].ratio; // Copy across now as the "classic" non-IR compiler can't do this copy taxWallets.push(TaxWallet(wallets[i].wallet, wallets[i].ratio)); } totalRatio = initialRatio; addTokens(_msgSender(), totalTokens); emit Transfer(address(0), _msgSender(), totalTokens); } function name() public pure returns (string memory) { return _name; } function symbol() public pure returns (string memory) { return _symbol; } function decimals() public pure returns (uint8) { return _decimals; } function totalSupply() public pure override returns (uint256) { return totalTokens; } function balanceOf(address account) public view override returns (uint256) { return balances[account]; } function transfer( address recipient, uint256 amount ) public override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance( address owner, address spender ) public view override returns (uint256) { return _allowances[owner][spender]; } function approve( address spender, uint256 amount ) public override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public override returns (bool) { _transfer(sender, recipient, amount); require( _allowances[sender][_msgSender()] >= amount, "ERC20: transfer amount exceeds allowance" ); _approve( sender, _msgSender(), _allowances[sender][_msgSender()] - amount ); return true; } function _approve(address owner, address spender, uint256 amount) private { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _transfer(address from, address to, uint256 amount) private { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); uint32 _taxAmt; bool isSell = false; if ( from != owner() && to != owner() && from != address(this) && !mappedAddresses[to]._isExcludedFromFee && !mappedAddresses[from]._isExcludedFromFee ) { // Max tx check require(amount <= totalTokens / maxTxRatio, "Max tx exceeded."); // Buys if ( (mappedAddresses[from].isLPPair) && to != address(uniswapV2Router) ) { _taxAmt = buyTax; // Max wallet check require( balanceOf(to) + amount <= totalTokens / maxWalletRatio, "Max wallet will be exceeded." ); } else if ( (mappedAddresses[to].isLPPair) && from != address(uniswapV2Router) ) { isSell = true; // Sells // Don't need to check max wallet here for LP pair. // Check if last tx occurred this block - prevents sandwich attacks // Sells _taxAmt = sellTax; } else { // No code to change transfer tax _taxAmt = 0; // Still check max wallet require( balanceOf(to) + amount <= totalTokens / maxWalletRatio, "Max wallet will be exceeded." ); } } else { // Only make it here if it's from or to owner or from contract address. _taxAmt = 0; } _tokenTransfer(from, to, amount, _taxAmt, isSell); } function doTaxes(uint256 tokenAmount) private { if (lastTxBlockNumber != block.number) { // Tax not sold this block yet lastTxBlockNumber = uint64(block.number); } else { // Tax has been sold this block already, don't bother doing it again return; } // Reentrancy guard/stop infinite tax sells mainly inSwap = true; if ( _allowances[address(this)][address(uniswapV2Router)] < tokenAmount ) { // Our approvals run low, redo it _approve(address(this), address(uniswapV2Router), totalTokens); } address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); // Swap direct to WETH and let router unwrap uniswapV2Router.swapExactTokensForETH( tokenAmount, 0, path, address(this), block.timestamp ); sendETHToFee(address(this).balance); inSwap = false; } function sendETHToFee(uint256 amount) private { // This fixes gas reprice issues - reentrancy is not an issue as the fee wallets are trusted. for (uint256 i = 0; i < taxWallets.length; i++) { Address.sendValue( payable(taxWallets[i].wallet), (amount * taxWallets[i].ratio) / totalRatio ); } } receive() external payable {} // Underlying transfer functions go here function _tokenTransfer( address sender, address recipient, uint256 amount, uint32 _taxAmt, bool isSell ) private { // Do taxes uint256 receiverAmount = amount; if (_taxAmt > 0) { uint256 taxAmount = calculateTaxesFee(amount, _taxAmt); receiverAmount = amount - taxAmount; addTokens(address(this), taxAmount); emit Transfer(sender, address(this), taxAmount); } // Only sell tokens on a sell, as we can't interfere on a buy if (isSell) { emit Sold(sender, amount); uint256 bal = balanceOf(address(this)); // Swap only if we have enough tokens to swap // We use a divisor to determine the minimum and maximum swap amounts uint256 minSwap = totalTokens / minSwapDivisor; uint256 maxSwap = totalTokens / taxSwapDivisor; if (bal > 0) { uint256 swapAmount = bal; if (swapAmount > maxSwap) { swapAmount = maxSwap; } if (swapAmount < minSwap) { swapAmount = minSwap; } if (bal >= minSwap && !inSwap) { doTaxes(swapAmount); } } } else { emit Bought(recipient, amount); } // Actually do token balances subtractTokens(sender, amount); addTokens(recipient, receiverAmount); // Emit transfer, because the specs say to emit Transfer(sender, recipient, receiverAmount); } /// @dev Does holder count maths function subtractTokens(address account, uint256 amount) private { balances[account] = balances[account] - amount; } function addTokens(address account, uint256 amount) private { balances[account] = balances[account] + amount; } function calculateTaxesFee( uint256 _amount, uint32 _taxAmt ) private pure returns (uint256 tax) { tax = (_amount * _taxAmt) / 100000; } /// @notice Sets an ETH send divisor. Only callable by owner. /// @param newDivisor the new divisor to set. function setEthSendDivisor(uint32 newDivisor) public onlyOwner { ethSendThresholdDivisor = newDivisor; } function addTaxWallet(TaxWallet calldata wall) external onlyOwner { taxWallets.push(wall); mappedAddresses[wall.wallet]._isExcludedFromFee = true; // Recalculate the ratio, as we're adding, just add that ratio on totalRatio += wall.ratio; } function removeTaxWallet(address wallet) external onlyOwner { mappedAddresses[wallet]._isExcludedFromFee = false; bool found = false; for (uint256 i = 0; i < taxWallets.length; i++) { if (taxWallets[i].wallet == wallet) { // Fill this with the end taxWallets[i] = taxWallets[taxWallets.length - 1]; taxWallets.pop(); found = true; } } require(found, "Not in tax list."); // Have to recalculate the entire ratio as we dunno what was removed uint32 initialRatio = 0; for (uint256 i = 0; i < taxWallets.length; i++) { initialRatio += taxWallets[i].ratio; } totalRatio = initialRatio; } /// @notice Sets an account exclusion or inclusion from fees. /// @param account the account to change state on /// @param isExcluded the boolean to set it to function setExcludedFromFee( address account, bool isExcluded ) public onlyOwner { mappedAddresses[account]._isExcludedFromFee = isExcluded; } /// @notice Sets the sell tax, out of 100000. Only callable by owner. Max of 20000. /// @param amount the tax out of 100000. function setSellTax(uint32 amount) external onlyOwner { require(amount <= 20000, "Maximum sell tax of 20%"); sellTax = amount; } function setBuyTax(uint32 amount) external onlyOwner { require(amount <= 20000, "Maximum buy tax of 20%"); buyTax = amount; } function setSwapDivisor(uint32 amount) external onlyOwner { require( amount > 0 && amount <= 10000, "No lower than .01% and no higher than 100%" ); require( amount >= minSwapDivisor, "Swap divisor must be greater than or equal to min swap divisor" ); taxSwapDivisor = amount; } function setMinSwapDivisor(uint32 amount) external onlyOwner { require( amount > 0 && amount <= 10000, "No lower than .01% and no higher than 100%" ); require( amount <= taxSwapDivisor, "Min swap divisor must be less than or equal to swap divisor" ); minSwapDivisor = amount; } function setMaxTxRatio(uint32 ratio) external onlyOwner { require( ratio > 0 && ratio <= 10000, "No lower than .01% and no higher than 100%" ); maxTxRatio = ratio; } function setMaxWalletRatio(uint32 ratio) external onlyOwner { require( ratio > 0 && ratio <= 1000, "No lower than .1% and no higher than 100%" ); maxWalletRatio = ratio; } /// @notice Returns if an account is excluded from fees. /// @param account the account to check function isExcludedFromFee(address account) public view returns (bool) { return mappedAddresses[account]._isExcludedFromFee; } /// @dev debug code to confirm we can't add this addr to bot list function getLPPair() public view returns (address wethAddr) { wethAddr = IUniswapV2Factory(uniswapV2Router.factory()).getPair( address(this), uniswapV2Router.WETH() ); } function getTaxWallets() public view returns (TaxWallet[] memory) { return taxWallets; } /// @dev Debug code for checking sell tax set/get function getSellTax() public view returns (uint32) { return sellTax; } function getBuyTax() public view returns (uint32) { return buyTax; } function MCP3_info() public pure returns (string memory) { return "MCP3"; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _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 v5.0.0) (interfaces/IERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "../token/ERC20/IERC20.sol";
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC-20 standard as defined in the ERC. */ 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 value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` 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 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.2.0) (utils/Address.sol) pragma solidity ^0.8.20; import {Errors} from "./Errors.sol"; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev There's no code at `target` (it is not a contract). */ error AddressEmptyCode(address target); /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { if (address(this).balance < amount) { revert Errors.InsufficientBalance(address(this).balance, amount); } (bool success, bytes memory returndata) = recipient.call{value: amount}(""); if (!success) { _revert(returndata); } } /** * @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 or custom error, it is bubbled * up by this function (like regular Solidity function calls). However, if * the call reverted with no returned reason, this function reverts with a * {Errors.FailedCall} error. * * 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. */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0); } /** * @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`. */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { if (address(this).balance < value) { revert Errors.InsufficientBalance(address(this).balance, value); } (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target * was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case * of an unsuccessful call. */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata ) internal view returns (bytes memory) { if (!success) { _revert(returndata); } else { // only check if target is a contract if the call was successful and the return data is empty // otherwise we already know that it was a contract if (returndata.length == 0 && target.code.length == 0) { revert AddressEmptyCode(target); } return returndata; } } /** * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the * revert reason or with a default {Errors.FailedCall} error. */ function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) { if (!success) { _revert(returndata); } else { return returndata; } } /** * @dev Reverts with returndata if present. Otherwise reverts with {Errors.FailedCall}. */ function _revert(bytes memory returndata) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly ("memory-safe") { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert Errors.FailedCall(); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol) pragma solidity ^0.8.20; /** * @dev Collection of common custom errors used in multiple contracts * * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library. * It is recommended to avoid relying on the error API for critical functionality. * * _Available since v5.1._ */ library Errors { /** * @dev The ETH balance of the account is not enough to perform the operation. */ error InsufficientBalance(uint256 balance, uint256 needed); /** * @dev A call to an address target failed. The target may have reverted. */ error FailedCall(); /** * @dev The deployment failed. */ error FailedDeployment(); /** * @dev A necessary precompile is missing. */ error MissingPrecompile(address); }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
pragma solidity >=0.5.0; interface IWETH { function deposit() external payable; function transfer(address to, uint value) external returns (bool); function withdraw(uint) external; }
{ "evmVersion": "cancun", "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"components":[{"internalType":"uint32","name":"buyTax","type":"uint32"},{"internalType":"uint32","name":"sellTax","type":"uint32"},{"internalType":"uint32","name":"maxWalletDiv","type":"uint32"},{"internalType":"uint32","name":"maxTxDiv","type":"uint32"},{"internalType":"uint32","name":"maxSwapDivisor","type":"uint32"},{"internalType":"uint32","name":"minSwapDivisor","type":"uint32"}],"internalType":"struct MCP3.InitialData","name":"id","type":"tuple"},{"components":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint32","name":"ratio","type":"uint32"}],"internalType":"struct MCP3.TaxWallet[]","name":"wallets","type":"tuple[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"FailedCall","type":"error"},{"inputs":[{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Bought","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":true,"internalType":"address","name":"seller","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Sold","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":[],"name":"MCP3_info","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint32","name":"ratio","type":"uint32"}],"internalType":"struct MCP3.TaxWallet","name":"wall","type":"tuple"}],"name":"addTaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getBuyTax","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLPPair","outputs":[{"internalType":"address","name":"wethAddr","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSellTax","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTaxWallets","outputs":[{"components":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint32","name":"ratio","type":"uint32"}],"internalType":"struct MCP3.TaxWallet[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"removeTaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"amount","type":"uint32"}],"name":"setBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"newDivisor","type":"uint32"}],"name":"setEthSendDivisor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"setExcludedFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"ratio","type":"uint32"}],"name":"setMaxTxRatio","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"ratio","type":"uint32"}],"name":"setMaxWalletRatio","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"amount","type":"uint32"}],"name":"setMinSwapDivisor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"amount","type":"uint32"}],"name":"setSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"amount","type":"uint32"}],"name":"setSwapDivisor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526005805464ffffffffff60801b1916607d608b1b179055348015610026575f5ffd5b50604051612b5a380380612b5a83398101604081905261004591610a1f565b338061006b57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b610074816106f8565b5081516005805460208086015160808088015160a08901516006805463ffffffff92831663ffffffff19919091161790556060808b01516040808d015184166c010000000000000000000000000263ffffffff60601b19928516680100000000000000000292909216600160401b600160801b0319958516600160c81b0263ffffffff63ffffffff60c81b01199c8616640100000000029c909c166001600160401b0363ffffffff60c81b0119909a169990991796909316959095179890981791909116949094179190911790935581519283018252600183525f9083018190529082018190529181018290529060039061016c3390565b6001600160a01b03908116825260208083019390935260409182015f9081208551815487870151888701516060998a01511515690100000000000000000090810260ff60481b1963ffffffff93841665010000000000908102821664ffffffffff60281b1996861661010090810264ffffffff00199a15158b1664ffffffffff199a8b161717881691909117939093179098558a51608081018c5260018152808d018a8152818d018b81529e82018b815230808d526003909f529c909a20905181549a519e519c5115159094029b8516909802169b9092169091029015159093169490911693909317179091169490941791909117909255600680547f7a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000006001600160601b039091161790819055737a250d5630b4cf539739df2c5dacb4c659f2488d926102d792916c010000000000000000000000009004166b033b2e3c9fd0803ce8000000610747565b5f816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610314573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103389190610ad8565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610383573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103a79190610ad8565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156103f1573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104159190610ad8565b604080516080810182525f80825260208083018281528385018381526001606086019081526001600160a01b038816855260039093529483209351845491519551925164ffffffffff1990921690151564ffffffff0019161761010063ffffffff968716021764ffffffffff60281b191665010000000000959092169490940260ff60481b191617690100000000000000000093151593909302929092179055909150805b84518110156106705760408051608081018252600181525f6020820181905291810182905260608101829052865190916003918890859081106104ff576104ff610af8565b602090810291909101810151516001600160a01b031682528181019290925260409081015f20835181549385015192850151606090950151151569010000000000000000000260ff60481b1963ffffffff96871665010000000000021664ffffffffff60281b19969094166101000264ffffffff00199215159290921664ffffffffff199095169490941717939093161717905584518590829081106105a7576105a7610af8565b602002602001015160200151826105be9190610b20565b9150600460405180604001604052808784815181106105df576105df610af8565b60200260200101515f01516001600160a01b0316815260200187848151811061060a5761060a610af8565b60209081029190910181015181015163ffffffff9081169092528354600181810186555f958652948290208451910180549490920151909216600160a01b026001600160c01b03199093166001600160a01b0390921691909117919091179055016104ba565b506005805463ffffffff60a81b1916600160a81b63ffffffff8416021790556106ab6106993390565b6b033b2e3c9fd0803ce800000061086a565b6040516b033b2e3c9fd0803ce8000000815233905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050505050610b55565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0383166107a95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610062565b6001600160a01b03821661080a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610062565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0382165f9081526001602052604090205461088d908290610b42565b6001600160a01b039092165f9081526001602052604090209190915550565b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b03811182821017156108e2576108e26108ac565b60405290565b60405160c081016001600160401b03811182821017156108e2576108e26108ac565b604051601f8201601f191681016001600160401b0381118282101715610932576109326108ac565b604052919050565b805163ffffffff8116811461094d575f5ffd5b919050565b80516001600160a01b038116811461094d575f5ffd5b5f82601f830112610977575f5ffd5b81516001600160401b03811115610990576109906108ac565b61099f60208260051b0161090a565b8082825260208201915060208360061b8601019250858311156109c0575f5ffd5b602085015b83811015610a1557604081880312156109dc575f5ffd5b6109e46108c0565b6109ed82610952565b81526109fb6020830161093a565b6020820152808452506020830192506040810190506109c5565b5095945050505050565b5f5f82840360e0811215610a31575f5ffd5b60c0811215610a3e575f5ffd5b50610a476108e8565b610a508461093a565b8152610a5e6020850161093a565b6020820152610a6f6040850161093a565b6040820152610a806060850161093a565b6060820152610a916080850161093a565b6080820152610aa260a0850161093a565b60a082015260c08401519092506001600160401b03811115610ac2575f5ffd5b610ace85828601610968565b9150509250929050565b5f60208284031215610ae8575f5ffd5b610af182610952565b9392505050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b63ffffffff8181168382160190811115610b3c57610b3c610b0c565b92915050565b80820180821115610b3c57610b3c610b0c565b611ff880610b625f395ff3fe6080604052600436106101b2575f3560e01c80636612e66f116100e7578063b0bc85de11610087578063db932ae211610062578063db932ae2146104d4578063dd62ed3e146104f3578063f2fde38b14610537578063fb61e99814610556575f5ffd5b8063b0bc85de1461047c578063bb1789d614610496578063c8ce7be1146104b5575f5ffd5b806386f3f3cb116100c257806386f3f3cb146104155780638da5cb5b1461044157806395d89b41146101bd578063a9059cbb1461045d575f5ffd5b80636612e66f146103ae57806370a08231146103cd578063715018a614610401575f5ffd5b806323b872dd11610152578063313ce5671161012d578063313ce5671461031e57806333342947146103395780634ff99fcf146103585780635342acb414610377575f5ffd5b806323b872dd146102ad578063252d723a146102cc57806325ba85f0146102ff575f5ffd5b806317f5a80b1161018d57806317f5a80b1461024857806318160ddd146102675780631a14a518146101bd578063232b10441461028e575f5ffd5b806306fdde03146101bd578063095ea7b3146101f85780630ecf68e014610227575f5ffd5b366101b957005b5f5ffd5b3480156101c8575f5ffd5b5060408051808201825260048152634d43503360e01b602082015290516101ef9190611b2c565b60405180910390f35b348015610203575f5ffd5b50610217610212366004611b75565b610577565b60405190151581526020016101ef565b348015610232575f5ffd5b50610246610241366004611bb0565b61058d565b005b348015610253575f5ffd5b50610246610262366004611bb0565b61063b565b348015610272575f5ffd5b50676765c793fa10079d601b1b5b6040519081526020016101ef565b348015610299575f5ffd5b506102466102a8366004611bb0565b6106a7565b3480156102b8575f5ffd5b506102176102c7366004611bcb565b610790565b3480156102d7575f5ffd5b50600554640100000000900463ffffffff165b60405163ffffffff90911681526020016101ef565b34801561030a575f5ffd5b50610246610319366004611bb0565b610863565b348015610329575f5ffd5b50604051601281526020016101ef565b348015610344575f5ffd5b50610246610353366004611bb0565b610949565b348015610363575f5ffd5b50610246610372366004611c09565b610977565b348015610382575f5ffd5b50610217610391366004611c22565b6001600160a01b03165f9081526003602052604090205460ff1690565b3480156103b9575f5ffd5b506102466103c8366004611c3d565b610a4a565b3480156103d8575f5ffd5b506102806103e7366004611c22565b6001600160a01b03165f9081526001602052604090205490565b34801561040c575f5ffd5b50610246610a7c565b348015610420575f5ffd5b50610429610a8f565b6040516001600160a01b0390911681526020016101ef565b34801561044c575f5ffd5b505f546001600160a01b0316610429565b348015610468575f5ffd5b50610217610477366004611b75565b610bfb565b348015610487575f5ffd5b5060055463ffffffff166102ea565b3480156104a1575f5ffd5b506102466104b0366004611bb0565b610c07565b3480156104c0575f5ffd5b506102466104cf366004611c22565b610c83565b3480156104df575f5ffd5b506102466104ee366004611bb0565b610e6a565b3480156104fe575f5ffd5b5061028061050d366004611c78565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b348015610542575f5ffd5b50610246610551366004611c22565b610eeb565b348015610561575f5ffd5b5061056a610f28565b6040516101ef9190611ca4565b5f610583338484610f9f565b5060015b92915050565b6105956110c2565b5f8163ffffffff161180156105b257506103e88163ffffffff1611155b6106155760405162461bcd60e51b815260206004820152602960248201527f4e6f206c6f776572207468616e202e312520616e64206e6f20686967686572206044820152687468616e203130302560b81b60648201526084015b60405180910390fd5b6005805463ffffffff909216600160601b0263ffffffff60601b19909216919091179055565b6106436110c2565b5f8163ffffffff1611801561066057506127108163ffffffff1611155b61067c5760405162461bcd60e51b815260040161060c90611d01565b6005805463ffffffff909216600160401b026bffffffff000000000000000019909216919091179055565b6106af6110c2565b5f8163ffffffff161180156106cc57506127108163ffffffff1611155b6106e85760405162461bcd60e51b815260040161060c90611d01565b60065463ffffffff908116908216101561076a5760405162461bcd60e51b815260206004820152603e60248201527f537761702064697669736f72206d75737420626520677265617465722074686160448201527f6e206f7220657175616c20746f206d696e20737761702064697669736f720000606482015260840161060c565b6005805463ffffffff909216600160c81b0263ffffffff60c81b19909216919091179055565b5f61079c8484846110ee565b6001600160a01b0384165f90815260026020908152604080832033845290915290205482111561081f5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161060c565b6001600160a01b0384165f90815260026020908152604080832033808552925290912054610859918691610854908690611d5f565b610f9f565b5060019392505050565b61086b6110c2565b5f8163ffffffff1611801561088857506127108163ffffffff1611155b6108a45760405162461bcd60e51b815260040161060c90611d01565b60055463ffffffff600160c81b9091048116908216111561092d5760405162461bcd60e51b815260206004820152603b60248201527f4d696e20737761702064697669736f72206d757374206265206c65737320746860448201527f616e206f7220657175616c20746f20737761702064697669736f720000000000606482015260840161060c565b6006805463ffffffff191663ffffffff92909216919091179055565b6109516110c2565b6005805463ffffffff909216600160881b0263ffffffff60881b19909216919091179055565b61097f6110c2565b600480546001810182555f9190915281907f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b016109bc8282611d72565b506001905060035f6109d16020850185611c22565b6001600160a01b0316815260208082019290925260409081015f20805460ff191693151593909317909255610a0a918301908301611bb0565b60058054601590610a29908490600160a81b900463ffffffff16611dce565b92506101000a81548163ffffffff021916908363ffffffff16021790555050565b610a526110c2565b6001600160a01b03919091165f908152600360205260409020805460ff1916911515919091179055565b610a846110c2565b610a8d5f6114ae565b565b5f6006600c9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ae1573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b059190611dea565b6001600160a01b031663e6a43905306006600c9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b65573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b899190611dea565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610bd2573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf69190611dea565b905090565b5f6105833384846110ee565b610c0f6110c2565b614e208163ffffffff161115610c675760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d2073656c6c20746178206f6620323025000000000000000000604482015260640161060c565b6005805463ffffffff191663ffffffff92909216919091179055565b610c8b6110c2565b6001600160a01b0381165f908152600360205260408120805460ff19169055805b600454811015610db457826001600160a01b031660048281548110610cd357610cd3611e05565b5f918252602090912001546001600160a01b031603610dac5760048054610cfc90600190611d5f565b81548110610d0c57610d0c611e05565b905f5260205f200160048281548110610d2757610d27611e05565b5f91825260209091208254910180546001600160a01b039092166001600160a01b031983168117825592546001600160c01b0319909216909217600160a01b9182900463ffffffff169091021790556004805480610d8757610d87611e19565b5f8281526020902081015f1990810180546001600160c01b0319169055019055600191505b600101610cac565b5080610df55760405162461bcd60e51b815260206004820152601060248201526f2737ba1034b7103a30bc103634b9ba1760811b604482015260640161060c565b5f805b600454811015610e415760048181548110610e1557610e15611e05565b5f91825260209091200154610e3790600160a01b900463ffffffff1683611dce565b9150600101610df8565b506005805463ffffffff909216600160a81b0263ffffffff60a81b199092169190911790555050565b610e726110c2565b614e208163ffffffff161115610ec35760405162461bcd60e51b81526020600482015260166024820152754d6178696d756d2062757920746178206f662032302560501b604482015260640161060c565b6005805463ffffffff9092166401000000000267ffffffff0000000019909216919091179055565b610ef36110c2565b6001600160a01b038116610f1c57604051631e4fbdf760e01b81525f600482015260240161060c565b610f25816114ae565b50565b60606004805480602002602001604051908101604052809291908181526020015f905b82821015610f96575f84815260209081902060408051808201909152908401546001600160a01b0381168252600160a01b900463ffffffff1681830152825260019092019101610f4b565b50505050905090565b6001600160a01b0383166110015760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161060c565b6001600160a01b0382166110625760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161060c565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f546001600160a01b03163314610a8d5760405163118cdaa760e01b815233600482015260240161060c565b6001600160a01b0383166111525760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161060c565b6001600160a01b0382166111b45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161060c565b5f81116112155760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161060c565b5f806112285f546001600160a01b031690565b6001600160a01b0316856001600160a01b03161415801561125657505f546001600160a01b03858116911614155b801561126b57506001600160a01b0385163014155b801561128f57506001600160a01b0384165f9081526003602052604090205460ff16155b80156112b357506001600160a01b0385165f9081526003602052604090205460ff16155b15611496576005546112dd90600160401b900463ffffffff16676765c793fa10079d601b1b611e2d565b83111561131f5760405162461bcd60e51b815260206004820152601060248201526f26b0bc103a3c1032bc31b2b2b232b21760811b604482015260640161060c565b6001600160a01b0385165f90815260036020526040902054600160481b900460ff16801561136257506006546001600160a01b03858116600160601b9092041614155b156114145760055463ffffffff64010000000082048116935061139891600160601b900416676765c793fa10079d601b1b611e2d565b836113b7866001600160a01b03165f9081526001602052604090205490565b6113c19190611e4c565b111561140f5760405162461bcd60e51b815260206004820152601c60248201527f4d61782077616c6c65742077696c6c2062652065786365656465642e00000000604482015260640161060c565b61149a565b6001600160a01b0384165f90815260036020526040902054600160481b900460ff16801561145757506006546001600160a01b03868116600160601b9092041614155b1561146e57505060055463ffffffff16600161149a565b6005545f925061139890600160601b900463ffffffff16676765c793fa10079d601b1b611e2d565b5f91505b6114a785858585856114fd565b5050505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8263ffffffff83161561156f575f6115158585611710565b90506115218186611d5f565b915061152d3082611736565b60405181815230906001600160a01b038916907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505b811561166357856001600160a01b03167fae92ab4b6f8f401ead768d3273e6bb937a13e39827d19c6376e8fd4512a05d9a856040516115b091815260200190565b60405180910390a2305f908152600160205260408120546006549091906115e89063ffffffff16676765c793fa10079d601b1b611e2d565b6005549091505f9061161290600160c81b900463ffffffff16676765c793fa10079d601b1b611e2d565b9050821561165b5782818111156116265750805b828110156116315750815b82841015801561164b5750600554600160801b900460ff16155b156116595761165981611778565b505b5050506116a7565b846001600160a01b03167fc55650ccda1011e1cdc769b1fbf546ebb8c97800b6072b49e06cd560305b1d678560405161169e91815260200190565b60405180910390a25b6116b186856119b2565b6116bb8582611736565b846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161170091815260200190565b60405180910390a3505050505050565b5f620186a061172563ffffffff841685611e5f565b61172f9190611e2d565b9392505050565b6001600160a01b0382165f90815260016020526040902054611759908290611e4c565b6001600160a01b039092165f9081526001602052604090209190915550565b60065467ffffffffffffffff640100000000909104164314610f2557600680546bffffffffffffffff0000000019166401000000004367ffffffffffffffff16021790556005805460ff60801b1916600160801b179055305f908152600260209081526040808320600654600160601b90046001600160a01b0316845290915290205481111561182c5760065461182c903090600160601b90046001600160a01b0316676765c793fa10079d601b1b610f9f565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061185f5761185f611e05565b60200260200101906001600160a01b031690816001600160a01b0316815250506006600c9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118d0573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118f49190611dea565b8160018151811061190757611907611e05565b6001600160a01b0392831660209182029290920101526006546040516318cbafe560e01b8152600160601b909104909116906318cbafe5906119559085905f90869030904290600401611e8a565b5f604051808303815f875af1158015611970573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119979190810190611efa565b506119a1476119d5565b50506005805460ff60801b19169055565b6001600160a01b0382165f90815260016020526040902054611759908290611d5f565b5f5b600454811015611a6d57611a65600482815481106119f7576119f7611e05565b5f91825260209091200154600554600480546001600160a01b0390931692600160a81b90920463ffffffff169185908110611a3457611a34611e05565b5f91825260209091200154611a5690600160a01b900463ffffffff1686611e5f565b611a609190611e2d565b611a71565b6001016119d7565b5050565b80471015611a9b5760405163cf47918160e01b81524760048201526024810182905260440161060c565b5f5f836001600160a01b0316836040515f6040518083038185875af1925050503d805f8114611ae5576040519150601f19603f3d011682016040523d82523d5f602084013e611aea565b606091505b509150915081611afd57611afd81611b03565b50505050565b805115611b135780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610f25575f5ffd5b5f5f60408385031215611b86575f5ffd5b8235611b9181611b61565b946020939093013593505050565b63ffffffff81168114610f25575f5ffd5b5f60208284031215611bc0575f5ffd5b813561172f81611b9f565b5f5f5f60608486031215611bdd575f5ffd5b8335611be881611b61565b92506020840135611bf881611b61565b929592945050506040919091013590565b5f6040828403128015611c1a575f5ffd5b509092915050565b5f60208284031215611c32575f5ffd5b813561172f81611b61565b5f5f60408385031215611c4e575f5ffd5b8235611c5981611b61565b915060208301358015158114611c6d575f5ffd5b809150509250929050565b5f5f60408385031215611c89575f5ffd5b8235611c9481611b61565b91506020830135611c6d81611b61565b602080825282518282018190525f918401906040840190835b81811015611cf657835180516001600160a01b0316845260209081015163ffffffff168185015290930192604090920191600101611cbd565b509095945050505050565b6020808252602a908201527f4e6f206c6f776572207468616e202e30312520616e64206e6f20686967686572604082015269207468616e203130302560b01b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561058757610587611d4b565b8135611d7d81611b61565b81546001600160a01b031981166001600160a01b039290921691821783556020840135611da981611b9f565b6001600160c01b03199190911690911760a09190911b63ffffffff60a01b1617905550565b63ffffffff818116838216019081111561058757610587611d4b565b5f60208284031215611dfa575f5ffd5b815161172f81611b61565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffd5b5f82611e4757634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561058757610587611d4b565b808202811582820484141761058757610587611d4b565b634e487b7160e01b5f52604160045260245ffd5b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b81811015611eda5783516001600160a01b0316835260209384019390920191600101611eb3565b50506001600160a01b039590951660608401525050608001529392505050565b5f60208284031215611f0a575f5ffd5b815167ffffffffffffffff811115611f20575f5ffd5b8201601f81018413611f30575f5ffd5b805167ffffffffffffffff811115611f4a57611f4a611e76565b8060051b604051601f19603f830116810181811067ffffffffffffffff82111715611f7757611f77611e76565b604052918252602081840181019290810187841115611f94575f5ffd5b6020850194505b83851015611fb757845180825260209586019590935001611f9b565b50969550505050505056fea2646970667358221220abd67ae2b06b2e2685becb9ddc004195b79652af1d867599e236961051befbda64736f6c634300081c00330000000000000000000000000000000000000000000000000000000000004e200000000000000000000000000000000000000000000000000000000000004e200000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000020000000000000000000000009a0a7cf27f64a7770a0d07bad5f562516aa857e900000000000000000000000000000000000000000000000000000000000138800000000000000000000000009063ab44da296208eb6ab5c0063a352f41dd15a60000000000000000000000000000000000000000000000000000000000004e20
Deployed Bytecode
0x6080604052600436106101b2575f3560e01c80636612e66f116100e7578063b0bc85de11610087578063db932ae211610062578063db932ae2146104d4578063dd62ed3e146104f3578063f2fde38b14610537578063fb61e99814610556575f5ffd5b8063b0bc85de1461047c578063bb1789d614610496578063c8ce7be1146104b5575f5ffd5b806386f3f3cb116100c257806386f3f3cb146104155780638da5cb5b1461044157806395d89b41146101bd578063a9059cbb1461045d575f5ffd5b80636612e66f146103ae57806370a08231146103cd578063715018a614610401575f5ffd5b806323b872dd11610152578063313ce5671161012d578063313ce5671461031e57806333342947146103395780634ff99fcf146103585780635342acb414610377575f5ffd5b806323b872dd146102ad578063252d723a146102cc57806325ba85f0146102ff575f5ffd5b806317f5a80b1161018d57806317f5a80b1461024857806318160ddd146102675780631a14a518146101bd578063232b10441461028e575f5ffd5b806306fdde03146101bd578063095ea7b3146101f85780630ecf68e014610227575f5ffd5b366101b957005b5f5ffd5b3480156101c8575f5ffd5b5060408051808201825260048152634d43503360e01b602082015290516101ef9190611b2c565b60405180910390f35b348015610203575f5ffd5b50610217610212366004611b75565b610577565b60405190151581526020016101ef565b348015610232575f5ffd5b50610246610241366004611bb0565b61058d565b005b348015610253575f5ffd5b50610246610262366004611bb0565b61063b565b348015610272575f5ffd5b50676765c793fa10079d601b1b5b6040519081526020016101ef565b348015610299575f5ffd5b506102466102a8366004611bb0565b6106a7565b3480156102b8575f5ffd5b506102176102c7366004611bcb565b610790565b3480156102d7575f5ffd5b50600554640100000000900463ffffffff165b60405163ffffffff90911681526020016101ef565b34801561030a575f5ffd5b50610246610319366004611bb0565b610863565b348015610329575f5ffd5b50604051601281526020016101ef565b348015610344575f5ffd5b50610246610353366004611bb0565b610949565b348015610363575f5ffd5b50610246610372366004611c09565b610977565b348015610382575f5ffd5b50610217610391366004611c22565b6001600160a01b03165f9081526003602052604090205460ff1690565b3480156103b9575f5ffd5b506102466103c8366004611c3d565b610a4a565b3480156103d8575f5ffd5b506102806103e7366004611c22565b6001600160a01b03165f9081526001602052604090205490565b34801561040c575f5ffd5b50610246610a7c565b348015610420575f5ffd5b50610429610a8f565b6040516001600160a01b0390911681526020016101ef565b34801561044c575f5ffd5b505f546001600160a01b0316610429565b348015610468575f5ffd5b50610217610477366004611b75565b610bfb565b348015610487575f5ffd5b5060055463ffffffff166102ea565b3480156104a1575f5ffd5b506102466104b0366004611bb0565b610c07565b3480156104c0575f5ffd5b506102466104cf366004611c22565b610c83565b3480156104df575f5ffd5b506102466104ee366004611bb0565b610e6a565b3480156104fe575f5ffd5b5061028061050d366004611c78565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b348015610542575f5ffd5b50610246610551366004611c22565b610eeb565b348015610561575f5ffd5b5061056a610f28565b6040516101ef9190611ca4565b5f610583338484610f9f565b5060015b92915050565b6105956110c2565b5f8163ffffffff161180156105b257506103e88163ffffffff1611155b6106155760405162461bcd60e51b815260206004820152602960248201527f4e6f206c6f776572207468616e202e312520616e64206e6f20686967686572206044820152687468616e203130302560b81b60648201526084015b60405180910390fd5b6005805463ffffffff909216600160601b0263ffffffff60601b19909216919091179055565b6106436110c2565b5f8163ffffffff1611801561066057506127108163ffffffff1611155b61067c5760405162461bcd60e51b815260040161060c90611d01565b6005805463ffffffff909216600160401b026bffffffff000000000000000019909216919091179055565b6106af6110c2565b5f8163ffffffff161180156106cc57506127108163ffffffff1611155b6106e85760405162461bcd60e51b815260040161060c90611d01565b60065463ffffffff908116908216101561076a5760405162461bcd60e51b815260206004820152603e60248201527f537761702064697669736f72206d75737420626520677265617465722074686160448201527f6e206f7220657175616c20746f206d696e20737761702064697669736f720000606482015260840161060c565b6005805463ffffffff909216600160c81b0263ffffffff60c81b19909216919091179055565b5f61079c8484846110ee565b6001600160a01b0384165f90815260026020908152604080832033845290915290205482111561081f5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161060c565b6001600160a01b0384165f90815260026020908152604080832033808552925290912054610859918691610854908690611d5f565b610f9f565b5060019392505050565b61086b6110c2565b5f8163ffffffff1611801561088857506127108163ffffffff1611155b6108a45760405162461bcd60e51b815260040161060c90611d01565b60055463ffffffff600160c81b9091048116908216111561092d5760405162461bcd60e51b815260206004820152603b60248201527f4d696e20737761702064697669736f72206d757374206265206c65737320746860448201527f616e206f7220657175616c20746f20737761702064697669736f720000000000606482015260840161060c565b6006805463ffffffff191663ffffffff92909216919091179055565b6109516110c2565b6005805463ffffffff909216600160881b0263ffffffff60881b19909216919091179055565b61097f6110c2565b600480546001810182555f9190915281907f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b016109bc8282611d72565b506001905060035f6109d16020850185611c22565b6001600160a01b0316815260208082019290925260409081015f20805460ff191693151593909317909255610a0a918301908301611bb0565b60058054601590610a29908490600160a81b900463ffffffff16611dce565b92506101000a81548163ffffffff021916908363ffffffff16021790555050565b610a526110c2565b6001600160a01b03919091165f908152600360205260409020805460ff1916911515919091179055565b610a846110c2565b610a8d5f6114ae565b565b5f6006600c9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ae1573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b059190611dea565b6001600160a01b031663e6a43905306006600c9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b65573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b899190611dea565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610bd2573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf69190611dea565b905090565b5f6105833384846110ee565b610c0f6110c2565b614e208163ffffffff161115610c675760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d2073656c6c20746178206f6620323025000000000000000000604482015260640161060c565b6005805463ffffffff191663ffffffff92909216919091179055565b610c8b6110c2565b6001600160a01b0381165f908152600360205260408120805460ff19169055805b600454811015610db457826001600160a01b031660048281548110610cd357610cd3611e05565b5f918252602090912001546001600160a01b031603610dac5760048054610cfc90600190611d5f565b81548110610d0c57610d0c611e05565b905f5260205f200160048281548110610d2757610d27611e05565b5f91825260209091208254910180546001600160a01b039092166001600160a01b031983168117825592546001600160c01b0319909216909217600160a01b9182900463ffffffff169091021790556004805480610d8757610d87611e19565b5f8281526020902081015f1990810180546001600160c01b0319169055019055600191505b600101610cac565b5080610df55760405162461bcd60e51b815260206004820152601060248201526f2737ba1034b7103a30bc103634b9ba1760811b604482015260640161060c565b5f805b600454811015610e415760048181548110610e1557610e15611e05565b5f91825260209091200154610e3790600160a01b900463ffffffff1683611dce565b9150600101610df8565b506005805463ffffffff909216600160a81b0263ffffffff60a81b199092169190911790555050565b610e726110c2565b614e208163ffffffff161115610ec35760405162461bcd60e51b81526020600482015260166024820152754d6178696d756d2062757920746178206f662032302560501b604482015260640161060c565b6005805463ffffffff9092166401000000000267ffffffff0000000019909216919091179055565b610ef36110c2565b6001600160a01b038116610f1c57604051631e4fbdf760e01b81525f600482015260240161060c565b610f25816114ae565b50565b60606004805480602002602001604051908101604052809291908181526020015f905b82821015610f96575f84815260209081902060408051808201909152908401546001600160a01b0381168252600160a01b900463ffffffff1681830152825260019092019101610f4b565b50505050905090565b6001600160a01b0383166110015760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161060c565b6001600160a01b0382166110625760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161060c565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f546001600160a01b03163314610a8d5760405163118cdaa760e01b815233600482015260240161060c565b6001600160a01b0383166111525760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161060c565b6001600160a01b0382166111b45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161060c565b5f81116112155760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161060c565b5f806112285f546001600160a01b031690565b6001600160a01b0316856001600160a01b03161415801561125657505f546001600160a01b03858116911614155b801561126b57506001600160a01b0385163014155b801561128f57506001600160a01b0384165f9081526003602052604090205460ff16155b80156112b357506001600160a01b0385165f9081526003602052604090205460ff16155b15611496576005546112dd90600160401b900463ffffffff16676765c793fa10079d601b1b611e2d565b83111561131f5760405162461bcd60e51b815260206004820152601060248201526f26b0bc103a3c1032bc31b2b2b232b21760811b604482015260640161060c565b6001600160a01b0385165f90815260036020526040902054600160481b900460ff16801561136257506006546001600160a01b03858116600160601b9092041614155b156114145760055463ffffffff64010000000082048116935061139891600160601b900416676765c793fa10079d601b1b611e2d565b836113b7866001600160a01b03165f9081526001602052604090205490565b6113c19190611e4c565b111561140f5760405162461bcd60e51b815260206004820152601c60248201527f4d61782077616c6c65742077696c6c2062652065786365656465642e00000000604482015260640161060c565b61149a565b6001600160a01b0384165f90815260036020526040902054600160481b900460ff16801561145757506006546001600160a01b03868116600160601b9092041614155b1561146e57505060055463ffffffff16600161149a565b6005545f925061139890600160601b900463ffffffff16676765c793fa10079d601b1b611e2d565b5f91505b6114a785858585856114fd565b5050505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8263ffffffff83161561156f575f6115158585611710565b90506115218186611d5f565b915061152d3082611736565b60405181815230906001600160a01b038916907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505b811561166357856001600160a01b03167fae92ab4b6f8f401ead768d3273e6bb937a13e39827d19c6376e8fd4512a05d9a856040516115b091815260200190565b60405180910390a2305f908152600160205260408120546006549091906115e89063ffffffff16676765c793fa10079d601b1b611e2d565b6005549091505f9061161290600160c81b900463ffffffff16676765c793fa10079d601b1b611e2d565b9050821561165b5782818111156116265750805b828110156116315750815b82841015801561164b5750600554600160801b900460ff16155b156116595761165981611778565b505b5050506116a7565b846001600160a01b03167fc55650ccda1011e1cdc769b1fbf546ebb8c97800b6072b49e06cd560305b1d678560405161169e91815260200190565b60405180910390a25b6116b186856119b2565b6116bb8582611736565b846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161170091815260200190565b60405180910390a3505050505050565b5f620186a061172563ffffffff841685611e5f565b61172f9190611e2d565b9392505050565b6001600160a01b0382165f90815260016020526040902054611759908290611e4c565b6001600160a01b039092165f9081526001602052604090209190915550565b60065467ffffffffffffffff640100000000909104164314610f2557600680546bffffffffffffffff0000000019166401000000004367ffffffffffffffff16021790556005805460ff60801b1916600160801b179055305f908152600260209081526040808320600654600160601b90046001600160a01b0316845290915290205481111561182c5760065461182c903090600160601b90046001600160a01b0316676765c793fa10079d601b1b610f9f565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061185f5761185f611e05565b60200260200101906001600160a01b031690816001600160a01b0316815250506006600c9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118d0573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118f49190611dea565b8160018151811061190757611907611e05565b6001600160a01b0392831660209182029290920101526006546040516318cbafe560e01b8152600160601b909104909116906318cbafe5906119559085905f90869030904290600401611e8a565b5f604051808303815f875af1158015611970573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119979190810190611efa565b506119a1476119d5565b50506005805460ff60801b19169055565b6001600160a01b0382165f90815260016020526040902054611759908290611d5f565b5f5b600454811015611a6d57611a65600482815481106119f7576119f7611e05565b5f91825260209091200154600554600480546001600160a01b0390931692600160a81b90920463ffffffff169185908110611a3457611a34611e05565b5f91825260209091200154611a5690600160a01b900463ffffffff1686611e5f565b611a609190611e2d565b611a71565b6001016119d7565b5050565b80471015611a9b5760405163cf47918160e01b81524760048201526024810182905260440161060c565b5f5f836001600160a01b0316836040515f6040518083038185875af1925050503d805f8114611ae5576040519150601f19603f3d011682016040523d82523d5f602084013e611aea565b606091505b509150915081611afd57611afd81611b03565b50505050565b805115611b135780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610f25575f5ffd5b5f5f60408385031215611b86575f5ffd5b8235611b9181611b61565b946020939093013593505050565b63ffffffff81168114610f25575f5ffd5b5f60208284031215611bc0575f5ffd5b813561172f81611b9f565b5f5f5f60608486031215611bdd575f5ffd5b8335611be881611b61565b92506020840135611bf881611b61565b929592945050506040919091013590565b5f6040828403128015611c1a575f5ffd5b509092915050565b5f60208284031215611c32575f5ffd5b813561172f81611b61565b5f5f60408385031215611c4e575f5ffd5b8235611c5981611b61565b915060208301358015158114611c6d575f5ffd5b809150509250929050565b5f5f60408385031215611c89575f5ffd5b8235611c9481611b61565b91506020830135611c6d81611b61565b602080825282518282018190525f918401906040840190835b81811015611cf657835180516001600160a01b0316845260209081015163ffffffff168185015290930192604090920191600101611cbd565b509095945050505050565b6020808252602a908201527f4e6f206c6f776572207468616e202e30312520616e64206e6f20686967686572604082015269207468616e203130302560b01b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561058757610587611d4b565b8135611d7d81611b61565b81546001600160a01b031981166001600160a01b039290921691821783556020840135611da981611b9f565b6001600160c01b03199190911690911760a09190911b63ffffffff60a01b1617905550565b63ffffffff818116838216019081111561058757610587611d4b565b5f60208284031215611dfa575f5ffd5b815161172f81611b61565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffd5b5f82611e4757634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561058757610587611d4b565b808202811582820484141761058757610587611d4b565b634e487b7160e01b5f52604160045260245ffd5b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b81811015611eda5783516001600160a01b0316835260209384019390920191600101611eb3565b50506001600160a01b039590951660608401525050608001529392505050565b5f60208284031215611f0a575f5ffd5b815167ffffffffffffffff811115611f20575f5ffd5b8201601f81018413611f30575f5ffd5b805167ffffffffffffffff811115611f4a57611f4a611e76565b8060051b604051601f19603f830116810181811067ffffffffffffffff82111715611f7757611f77611e76565b604052918252602081840181019290810187841115611f94575f5ffd5b6020850194505b83851015611fb757845180825260209586019590935001611f9b565b50969550505050505056fea2646970667358221220abd67ae2b06b2e2685becb9ddc004195b79652af1d867599e236961051befbda64736f6c634300081c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000004e200000000000000000000000000000000000000000000000000000000000004e200000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000020000000000000000000000009a0a7cf27f64a7770a0d07bad5f562516aa857e900000000000000000000000000000000000000000000000000000000000138800000000000000000000000009063ab44da296208eb6ab5c0063a352f41dd15a60000000000000000000000000000000000000000000000000000000000004e20
-----Decoded View---------------
Arg [0] : id (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [1] : wallets (tuple[]): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000004e20
Arg [1] : 0000000000000000000000000000000000000000000000000000000000004e20
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [4] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [5] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [6] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [8] : 0000000000000000000000009a0a7cf27f64a7770a0d07bad5f562516aa857e9
Arg [9] : 0000000000000000000000000000000000000000000000000000000000013880
Arg [10] : 0000000000000000000000009063ab44da296208eb6ab5c0063a352f41dd15a6
Arg [11] : 0000000000000000000000000000000000000000000000000000000000004e20
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $2,509.59 | 0.000000000000000001 | <$0.000001 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.