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 646 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Approve | 24019284 | 69 days ago | IN | 0 ETH | 0.00005852 | ||||
| Approve | 23419241 | 153 days ago | IN | 0 ETH | 0.0000296 | ||||
| Approve | 23419241 | 153 days ago | IN | 0 ETH | 0.00002741 | ||||
| Approve | 23352005 | 162 days ago | IN | 0 ETH | 0.00001719 | ||||
| Approve | 22011788 | 349 days ago | IN | 0 ETH | 0.00002676 | ||||
| Approve | 21655292 | 399 days ago | IN | 0 ETH | 0.00023363 | ||||
| Transfer | 19910309 | 643 days ago | IN | 0 ETH | 0.00020854 | ||||
| Approve | 19522062 | 697 days ago | IN | 0 ETH | 0.00066662 | ||||
| Approve | 18676894 | 816 days ago | IN | 0 ETH | 0.00073865 | ||||
| Approve | 18423913 | 851 days ago | IN | 0 ETH | 0.00041558 | ||||
| Approve | 18087686 | 898 days ago | IN | 0 ETH | 0.0003744 | ||||
| Approve | 17899930 | 925 days ago | IN | 0 ETH | 0.00073541 | ||||
| Approve | 17899927 | 925 days ago | IN | 0 ETH | 0.00125504 | ||||
| Approve | 17876679 | 928 days ago | IN | 0 ETH | 0.00042353 | ||||
| Approve | 17869222 | 929 days ago | IN | 0 ETH | 0.00046777 | ||||
| Approve | 17850433 | 931 days ago | IN | 0 ETH | 0.00082608 | ||||
| Approve | 17843042 | 933 days ago | IN | 0 ETH | 0.00129765 | ||||
| Approve | 17838481 | 933 days ago | IN | 0 ETH | 0.00062025 | ||||
| Approve | 17826658 | 935 days ago | IN | 0 ETH | 0.00084735 | ||||
| Approve | 17826249 | 935 days ago | IN | 0 ETH | 0.00066913 | ||||
| Approve | 17809115 | 937 days ago | IN | 0 ETH | 0.00074775 | ||||
| Approve | 17798216 | 939 days ago | IN | 0 ETH | 0.00082206 | ||||
| Approve | 17797545 | 939 days ago | IN | 0 ETH | 0.00036957 | ||||
| Approve | 17790401 | 940 days ago | IN | 0 ETH | 0.00134464 | ||||
| Approve | 17790385 | 940 days ago | IN | 0 ETH | 0.00150257 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 17850444 | 931 days ago | 0.00524828 ETH | ||||
| Transfer | 17850444 | 931 days ago | 0.00524828 ETH | ||||
| Transfer | 17848456 | 932 days ago | 0.0051179 ETH | ||||
| Transfer | 17848456 | 932 days ago | 0.0051179 ETH | ||||
| Transfer | 17843049 | 933 days ago | 0.00528044 ETH | ||||
| Transfer | 17843049 | 933 days ago | 0.00528044 ETH | ||||
| Transfer | 17831870 | 934 days ago | 0.00549179 ETH | ||||
| Transfer | 17831870 | 934 days ago | 0.00549179 ETH | ||||
| Transfer | 17798254 | 939 days ago | 0.00842651 ETH | ||||
| Transfer | 17798254 | 939 days ago | 0.00842651 ETH | ||||
| Transfer | 17777057 | 942 days ago | 0.01047084 ETH | ||||
| Transfer | 17777057 | 942 days ago | 0.01047084 ETH | ||||
| Transfer | 17775980 | 942 days ago | 0.01107973 ETH | ||||
| Transfer | 17775980 | 942 days ago | 0.01107973 ETH | ||||
| Transfer | 17769340 | 943 days ago | 0.01290913 ETH | ||||
| Transfer | 17769340 | 943 days ago | 0.01290913 ETH | ||||
| Transfer | 17766229 | 943 days ago | 0.01402302 ETH | ||||
| Transfer | 17766229 | 943 days ago | 0.01402302 ETH | ||||
| Transfer | 17765777 | 943 days ago | 0.01251356 ETH | ||||
| Transfer | 17765777 | 943 days ago | 0.01251356 ETH | ||||
| Transfer | 17765132 | 943 days ago | 0.01740476 ETH | ||||
| Transfer | 17765132 | 943 days ago | 0.01740476 ETH | ||||
| Transfer | 17763127 | 944 days ago | 0.0211285 ETH | ||||
| Transfer | 17763127 | 944 days ago | 0.0211285 ETH | ||||
| Transfer | 17763098 | 944 days ago | 0.02422487 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
TheSimpsonChain
Compiler Version
v0.8.16+commit.07a7930e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/**
Welcome to the The Simpson Chain.
Website: https://thesimpsons-chain.com/
Telegram: https://t.me/TheSimpsonschainTSC
Twitter: https://twitter.com/simpsonschain
Our chain is already live, bridge, dex and explorer:
Chain ID: 29525
RPC: https://rpc.thesimpsons-chain.com/
Explorer: https://explorer.thesimpsons-chain.com/
Symbol: TSC
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;
interface IUniswapV2Factory {
event PairCreated(
address indexed token0,
address indexed token1,
address pair,
uint256
);
function feeTo() external view returns (address);
function feeToSetter() external view returns (address);
function allPairsLength() external view returns (uint256);
function getPair(
address tokenA,
address tokenB
) external view returns (address pair);
function allPairs(uint256) external view returns (address pair);
function createPair(
address tokenA,
address tokenB
) external returns (address pair);
function setFeeTo(address) external;
function setFeeToSetter(address) external;
}
interface IUniswapV2Pair {
event Approval(
address indexed owner,
address indexed spender,
uint256 value
);
event Transfer(address indexed from, address indexed to, uint256 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 (uint256);
function balanceOf(address owner) external view returns (uint256);
function allowance(
address owner,
address spender
) external view returns (uint256);
function approve(address spender, uint256 value) external returns (bool);
function transfer(address to, uint256 value) external returns (bool);
function transferFrom(
address from,
address to,
uint256 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 (uint256);
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
event Mint(address indexed sender, uint256 amount0, uint256 amount1);
event Burn(
address indexed sender,
uint256 amount0,
uint256 amount1,
address indexed to
);
event Swap(
address indexed sender,
uint256 amount0In,
uint256 amount1In,
uint256 amount0Out,
uint256 amount1Out,
address indexed to
);
event Sync(uint112 reserve0, uint112 reserve1);
function MINIMUM_LIQUIDITY() external pure returns (uint256);
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 (uint256);
function price1CumulativeLast() external view returns (uint256);
function kLast() external view returns (uint256);
function mint(address to) external returns (uint256 liquidity);
function burn(
address to
) external returns (uint256 amount0, uint256 amount1);
function swap(
uint256 amount0Out,
uint256 amount1Out,
address to,
bytes calldata data
) external;
function skim(address to) external;
function sync() external;
function initialize(address, address) external;
}
interface IUniswapV2Router01 {
function factory() external pure returns (address);
function WETH() external pure returns (address);
function addLiquidity(
address tokenA,
address tokenB,
uint256 amountADesired,
uint256 amountBDesired,
uint256 amountAMin,
uint256 amountBMin,
address to,
uint256 deadline
) external returns (uint256 amountA, uint256 amountB, uint256 liquidity);
function addLiquidityETH(
address token,
uint256 amountTokenDesired,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline
)
external
payable
returns (uint256 amountToken, uint256 amountETH, uint256 liquidity);
function removeLiquidity(
address tokenA,
address tokenB,
uint256 liquidity,
uint256 amountAMin,
uint256 amountBMin,
address to,
uint256 deadline
) external returns (uint256 amountA, uint256 amountB);
function removeLiquidityETH(
address token,
uint256 liquidity,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline
) external returns (uint256 amountToken, uint256 amountETH);
function removeLiquidityWithPermit(
address tokenA,
address tokenB,
uint256 liquidity,
uint256 amountAMin,
uint256 amountBMin,
address to,
uint256 deadline,
bool approveMax,
uint8 v,
bytes32 r,
bytes32 s
) external returns (uint256 amountA, uint256 amountB);
function removeLiquidityETHWithPermit(
address token,
uint256 liquidity,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline,
bool approveMax,
uint8 v,
bytes32 r,
bytes32 s
) external returns (uint256 amountToken, uint256 amountETH);
function swapExactTokensForTokens(
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external returns (uint256[] memory amounts);
function swapTokensForExactTokens(
uint256 amountOut,
uint256 amountInMax,
address[] calldata path,
address to,
uint256 deadline
) external returns (uint256[] memory amounts);
function swapExactETHForTokens(
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external payable returns (uint256[] memory amounts);
function swapTokensForExactETH(
uint256 amountOut,
uint256 amountInMax,
address[] calldata path,
address to,
uint256 deadline
) external returns (uint256[] memory amounts);
function swapExactTokensForETH(
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external returns (uint256[] memory amounts);
function swapETHForExactTokens(
uint256 amountOut,
address[] calldata path,
address to,
uint256 deadline
) external payable returns (uint256[] memory amounts);
function quote(
uint256 amountA,
uint256 reserveA,
uint256 reserveB
) external pure returns (uint256 amountB);
function getAmountOut(
uint256 amountIn,
uint256 reserveIn,
uint256 reserveOut
) external pure returns (uint256 amountOut);
function getAmountIn(
uint256 amountOut,
uint256 reserveIn,
uint256 reserveOut
) external pure returns (uint256 amountIn);
function getAmountsOut(
uint256 amountIn,
address[] calldata path
) external view returns (uint256[] memory amounts);
function getAmountsIn(
uint256 amountOut,
address[] calldata path
) external view returns (uint256[] memory amounts);
}
interface IUniswapV2Router02 is IUniswapV2Router01 {
function removeLiquidityETHSupportingFeeOnTransferTokens(
address token,
uint256 liquidity,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline
) external returns (uint256 amountETH);
function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
address token,
uint256 liquidity,
uint256 amountTokenMin,
uint256 amountETHMin,
address to,
uint256 deadline,
bool approveMax,
uint8 v,
bytes32 r,
bytes32 s
) external returns (uint256 amountETH);
function swapExactETHForTokensSupportingFeeOnTransferTokens(
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external payable;
function swapExactTokensForTokensSupportingFeeOnTransferTokens(
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external;
function swapExactTokensForETHSupportingFeeOnTransferTokens(
uint256 amountIn,
uint256 amountOutMin,
address[] calldata path,
address to,
uint256 deadline
) external;
}
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(
address indexed owner,
address indexed spender,
uint256 value
);
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(
address owner,
address spender
) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 amount
) external returns (bool);
}
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
}
/**
* @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;
}
}
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(
newOwner != address(0),
"Ownable: new owner is the zero address"
);
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20 is Context, IERC20, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() external view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the name of the token.
*/
function name() external view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(
address account
) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @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() external view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(
address owner,
address spender
) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(
address to,
uint256 amount
) external virtual override returns (bool) {
address owner = _msgSender();
_transfer(owner, to, amount);
return true;
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
* `transferFrom`. This is semantically equivalent to an infinite approval.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(
address spender,
uint256 amount
) external virtual override returns (bool) {
address owner = _msgSender();
_approve(owner, spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* NOTE: Does not update the allowance if the current allowance
* is the maximum `uint256`.
*
* Requirements:
*
* - `from` and `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
* - the caller must have allowance for ``from``'s tokens of at least
* `amount`.
*/
function transferFrom(
address from,
address to,
uint256 amount
) external virtual override returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, amount);
_transfer(from, to, amount);
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
) external virtual returns (bool) {
address owner = _msgSender();
uint256 currentAllowance = allowance(owner, spender);
require(
currentAllowance >= subtractedValue,
"ERC20: decreased allowance below zero"
);
unchecked {
_approve(owner, spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev 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
) external virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, allowance(owner, spender) + addedValue);
return true;
}
/** @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 += amount;
unchecked {
// Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
_balances[account] += amount;
}
emit Transfer(address(0), account, amount);
}
/**
* @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");
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
// Overflow not possible: amount <= accountBalance <= totalSupply.
_totalSupply -= amount;
}
emit Transfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(
address owner,
address spender,
uint256 amount
) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `amount`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Might emit an {Approval} event.
*/
function _spendAllowance(
address owner,
address spender,
uint256 amount
) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
require(
currentAllowance >= amount,
"ERC20: insufficient allowance"
);
unchecked {
_approve(owner, spender, currentAllowance - amount);
}
}
}
function _transfer(
address from,
address to,
uint256 amount
) internal virtual {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
uint256 fromBalance = _balances[from];
require(
fromBalance >= amount,
"ERC20: transfer amount exceeds balance"
);
unchecked {
_balances[from] = fromBalance - amount;
// Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
// decrementing then incrementing.
_balances[to] += amount;
}
emit Transfer(from, to, amount);
}
}
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* TIP: For a detailed writeup see our guide
* https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
* to implement supply mechanisms].
*
* We have followed general OpenZeppelin Contracts guidelines: functions revert
* instead returning `false` on failure. This behavior is nonetheless
* conventional and does not conflict with the expectations of ERC20
* applications.
*
* Additionally, an {Approval} event is emitted on calls to {transferFrom}.
* This allows applications to reconstruct the allowance for all accounts just
* by listening to said events. Other implementations of the EIP may not emit
* these events, as it isn't required by the specification.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract TheSimpsonChain is ERC20, Ownable {
// TOKENOMICS START ==========================================================>
string private _name = "The Simpson Chain";
string private _symbol = "TSC";
uint8 private _decimals = 9;
uint256 private _supply = 420690000000000;
uint256 public taxForLiquidity = 0;
uint256 public taxForMarketing = 5;
uint256 public maxTxAmount = 6306900000000 * 10 ** _decimals;
uint256 public maxWalletAmount = 6306900000000 * 10 ** _decimals;
address public marketingWallet = 0x0028000e3577823f660118BCa6bf7E955C908249;
// TOKENOMICS END ============================================================>
IUniswapV2Router02 public immutable uniswapV2Router;
address public immutable uniswapV2Pair;
uint256 private _marketingReserves = 0;
mapping(address => bool) private _isExcludedFromFee;
uint256 private _numTokensSellToAddToLiquidity =
1020690000000 * 10 ** _decimals;
uint256 private _numTokensSellToAddToETH = 1020690000000 * 10 ** _decimals;
bool inSwapAndLiquify;
event SwapAndLiquify(
uint256 tokensSwapped,
uint256 ethReceived,
uint256 tokensIntoLiqudity
);
modifier lockTheSwap() {
inSwapAndLiquify = true;
_;
inSwapAndLiquify = false;
}
/**
* @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() ERC20(_name, _symbol) {
_mint(msg.sender, (_supply * 10 ** _decimals));
IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
);
uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
.createPair(address(this), _uniswapV2Router.WETH());
uniswapV2Router = _uniswapV2Router;
_isExcludedFromFee[address(uniswapV2Router)] = true;
_isExcludedFromFee[msg.sender] = true;
_isExcludedFromFee[marketingWallet] = true;
}
/**
* @dev Moves `amount` of tokens from `from` to `to`.
*
* This internal function is equivalent to {transfer}, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a {Transfer} event.
*
* Requirements:
*
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
*/
function _transfer(
address from,
address to,
uint256 amount
) internal override {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
require(
balanceOf(from) >= amount,
"ERC20: transfer amount exceeds balance"
);
if (
(from == uniswapV2Pair || to == uniswapV2Pair) && !inSwapAndLiquify
) {
if (from != uniswapV2Pair) {
uint256 contractLiquidityBalance = balanceOf(address(this)) -
_marketingReserves;
if (
contractLiquidityBalance >= _numTokensSellToAddToLiquidity
) {
_swapAndLiquify(_numTokensSellToAddToLiquidity);
}
if ((_marketingReserves) >= _numTokensSellToAddToETH) {
_swapTokensForEth(_numTokensSellToAddToETH);
_marketingReserves -= _numTokensSellToAddToETH;
bool sent = payable(marketingWallet).send(
address(this).balance
);
require(sent, "Failed to send ETH");
}
}
uint256 transferAmount;
if (_isExcludedFromFee[from] || _isExcludedFromFee[to]) {
transferAmount = amount;
} else {
require(
amount <= maxTxAmount,
"ERC20: transfer amount exceeds the max transaction amount"
);
if (from == uniswapV2Pair) {
require(
(amount + balanceOf(to)) <= maxWalletAmount,
"ERC20: balance amount exceeded max wallet amount limit"
);
}
uint256 marketingShare = ((amount * taxForMarketing) / 100);
uint256 liquidityShare = ((amount * taxForLiquidity) / 100);
transferAmount = amount - (marketingShare + liquidityShare);
_marketingReserves += marketingShare;
super._transfer(
from,
address(this),
(marketingShare + liquidityShare)
);
}
super._transfer(from, to, transferAmount);
} else {
super._transfer(from, to, amount);
}
}
function _swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap {
uint256 half = (contractTokenBalance / 2);
uint256 otherHalf = (contractTokenBalance - half);
uint256 initialBalance = address(this).balance;
_swapTokensForEth(half);
uint256 newBalance = (address(this).balance - initialBalance);
_addLiquidity(otherHalf, newBalance);
emit SwapAndLiquify(half, newBalance, otherHalf);
}
function _swapTokensForEth(uint256 tokenAmount) private lockTheSwap {
address[] memory path = new address[](2);
path[0] = address(this);
path[1] = uniswapV2Router.WETH();
_approve(address(this), address(uniswapV2Router), tokenAmount);
uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
tokenAmount,
0,
path,
address(this),
(block.timestamp + 300)
);
}
function _addLiquidity(
uint256 tokenAmount,
uint256 ethAmount
) private lockTheSwap {
_approve(address(this), address(uniswapV2Router), tokenAmount);
uniswapV2Router.addLiquidityETH{value: ethAmount}(
address(this),
tokenAmount,
0,
0,
owner(),
block.timestamp
);
}
function changeMarketingWallet(
address newWallet
) public onlyOwner returns (bool) {
marketingWallet = newWallet;
return true;
}
function changeTaxForLiquidityAndMarketing(
uint256 _taxForLiquidity,
uint256 _taxForMarketing
) public onlyOwner returns (bool) {
require(
(_taxForLiquidity + _taxForMarketing) <= 100,
"ERC20: total tax must not be greater than 100"
);
taxForLiquidity = _taxForLiquidity;
taxForMarketing = _taxForMarketing;
return true;
}
function changeMaxTxAmount(
uint256 _maxTxAmount
) public onlyOwner returns (bool) {
maxTxAmount = _maxTxAmount;
return true;
}
function changeMaxWalletAmount(
uint256 _maxWalletAmount
) public onlyOwner returns (bool) {
maxWalletAmount = _maxWalletAmount;
return true;
}
receive() external payable {}
}{
"optimizer": {
"enabled": false,
"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":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","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"},{"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":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"changeMarketingWallet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTxAmount","type":"uint256"}],"name":"changeMaxTxAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWalletAmount","type":"uint256"}],"name":"changeMaxWalletAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_taxForLiquidity","type":"uint256"},{"internalType":"uint256","name":"_taxForMarketing","type":"uint256"}],"name":"changeTaxForLiquidityAndMarketing","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxForMarketing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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
60c06040526040518060400160405280601181526020017f5468652053696d70736f6e20436861696e000000000000000000000000000000815250600690816200004a919062000b47565b506040518060400160405280600381526020017f54534300000000000000000000000000000000000000000000000000000000008152506007908162000091919062000b47565b506009600860006101000a81548160ff021916908360ff16021790555066017e9d8602b4006009556000600a556005600b55600860009054906101000a900460ff16600a620000e1919062000dbe565b6505bc7088bd00620000f4919062000e0f565b600c55600860009054906101000a900460ff16600a62000115919062000dbe565b6505bc7088bd0062000128919062000e0f565b600d557228000e3577823f660118bca6bf7e955c908249600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600f55600860009054906101000a900460ff16600a620001a2919062000dbe565b64eda5dd6880620001b4919062000e0f565b601155600860009054906101000a900460ff16600a620001d5919062000dbe565b64eda5dd6880620001e7919062000e0f565b601255348015620001f757600080fd5b5060068054620002079062000936565b80601f0160208091040260200160405190810160405280929190818152602001828054620002359062000936565b8015620002865780601f106200025a5761010080835404028352916020019162000286565b820191906000526020600020905b8154815290600101906020018083116200026857829003601f168201915b5050505050600780546200029a9062000936565b80601f0160208091040260200160405190810160405280929190818152602001828054620002c89062000936565b8015620003195780601f10620002ed5761010080835404028352916020019162000319565b820191906000526020600020905b815481529060010190602001808311620002fb57829003601f168201915b505050505081600390816200032f919062000b47565b50806004908162000341919062000b47565b5050506200036462000358620006ba60201b60201c565b620006c260201b60201c565b620003a233600860009054906101000a900460ff16600a62000387919062000dbe565b60095462000396919062000e0f565b6200078860201b60201c565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d90508073ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000407573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200042d919062000eda565b73ffffffffffffffffffffffffffffffffffffffff1663c9c65396308373ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000495573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004bb919062000eda565b6040518363ffffffff1660e01b8152600401620004da92919062000f1d565b6020604051808303816000875af1158015620004fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000520919062000eda565b73ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505060016010600060805173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160106000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505062001036565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620007fa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007f19062000fab565b60405180910390fd5b80600260008282546200080e919062000fcd565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620008c1919062001019565b60405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200094f57607f821691505b60208210810362000965576200096462000907565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620009cf7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000990565b620009db868362000990565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000a2862000a2262000a1c84620009f3565b620009fd565b620009f3565b9050919050565b6000819050919050565b62000a448362000a07565b62000a5c62000a538262000a2f565b8484546200099d565b825550505050565b600090565b62000a7362000a64565b62000a8081848462000a39565b505050565b5b8181101562000aa85762000a9c60008262000a69565b60018101905062000a86565b5050565b601f82111562000af75762000ac1816200096b565b62000acc8462000980565b8101602085101562000adc578190505b62000af462000aeb8562000980565b83018262000a85565b50505b505050565b600082821c905092915050565b600062000b1c6000198460080262000afc565b1980831691505092915050565b600062000b37838362000b09565b9150826002028217905092915050565b62000b5282620008cd565b67ffffffffffffffff81111562000b6e5762000b6d620008d8565b5b62000b7a825462000936565b62000b8782828562000aac565b600060209050601f83116001811462000bbf576000841562000baa578287015190505b62000bb6858262000b29565b86555062000c26565b601f19841662000bcf866200096b565b60005b8281101562000bf95784890151825560018201915060208501945060208101905062000bd2565b8683101562000c19578489015162000c15601f89168262000b09565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b600185111562000cbc5780860481111562000c945762000c9362000c2e565b5b600185161562000ca45780820291505b808102905062000cb48562000c5d565b945062000c74565b94509492505050565b60008262000cd7576001905062000daa565b8162000ce7576000905062000daa565b816001811462000d00576002811462000d0b5762000d41565b600191505062000daa565b60ff84111562000d205762000d1f62000c2e565b5b8360020a91508482111562000d3a5762000d3962000c2e565b5b5062000daa565b5060208310610133831016604e8410600b841016171562000d7b5782820a90508381111562000d755762000d7462000c2e565b5b62000daa565b62000d8a848484600162000c6a565b9250905081840481111562000da45762000da362000c2e565b5b81810290505b9392505050565b600060ff82169050919050565b600062000dcb82620009f3565b915062000dd88362000db1565b925062000e077fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000cc5565b905092915050565b600062000e1c82620009f3565b915062000e2983620009f3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161562000e655762000e6462000c2e565b5b828202905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000ea28262000e75565b9050919050565b62000eb48162000e95565b811462000ec057600080fd5b50565b60008151905062000ed48162000ea9565b92915050565b60006020828403121562000ef35762000ef262000e70565b5b600062000f038482850162000ec3565b91505092915050565b62000f178162000e95565b82525050565b600060408201905062000f34600083018562000f0c565b62000f43602083018462000f0c565b9392505050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000f93601f8362000f4a565b915062000fa08262000f5b565b602082019050919050565b6000602082019050818103600083015262000fc68162000f84565b9050919050565b600062000fda82620009f3565b915062000fe783620009f3565b925082820190508082111562001002576200100162000c2e565b5b92915050565b6200101381620009f3565b82525050565b600060208201905062001030600083018462001008565b92915050565b60805160a051612b686200109b600039600081816107ad01528181610f4a01528181610f9f0152818161100d015261125401526000818161071001528181611666015281816117470152818161176e01528181611aad0152611ad40152612b686000f3fe60806040526004361061016a5760003560e01c806375f0a874116100d1578063a9059cbb1161008a578063bb85c6d111610064578063bb85c6d11461058b578063dd62ed3e146105c8578063f2fde38b14610605578063f345bd851461062e57610171565b8063a9059cbb146104e6578063aa4bde2814610523578063af8af6901461054e57610171565b806375f0a874146103c057806381bfdcca146103eb5780638c0b5e22146104285780638da5cb5b1461045357806395d89b411461047e578063a457c2d7146104a957610171565b80633950935111610123578063395093511461029c57806349bd5a5e146102d9578063527ffabd14610304578063677daa571461032f57806370a082311461036c578063715018a6146103a957610171565b806306fdde0314610176578063095ea7b3146101a15780631694505e146101de57806318160ddd1461020957806323b872dd14610234578063313ce5671461027157610171565b3661017157005b600080fd5b34801561018257600080fd5b5061018b610659565b6040516101989190611c33565b60405180910390f35b3480156101ad57600080fd5b506101c860048036038101906101c39190611cee565b6106eb565b6040516101d59190611d49565b60405180910390f35b3480156101ea57600080fd5b506101f361070e565b6040516102009190611dc3565b60405180910390f35b34801561021557600080fd5b5061021e610732565b60405161022b9190611ded565b60405180910390f35b34801561024057600080fd5b5061025b60048036038101906102569190611e08565b61073c565b6040516102689190611d49565b60405180910390f35b34801561027d57600080fd5b5061028661076b565b6040516102939190611e77565b60405180910390f35b3480156102a857600080fd5b506102c360048036038101906102be9190611cee565b610774565b6040516102d09190611d49565b60405180910390f35b3480156102e557600080fd5b506102ee6107ab565b6040516102fb9190611ea1565b60405180910390f35b34801561031057600080fd5b506103196107cf565b6040516103269190611ded565b60405180910390f35b34801561033b57600080fd5b5061035660048036038101906103519190611ebc565b6107d5565b6040516103639190611d49565b60405180910390f35b34801561037857600080fd5b50610393600480360381019061038e9190611ee9565b6107ef565b6040516103a09190611ded565b60405180910390f35b3480156103b557600080fd5b506103be610837565b005b3480156103cc57600080fd5b506103d561084b565b6040516103e29190611ea1565b60405180910390f35b3480156103f757600080fd5b50610412600480360381019061040d9190611ebc565b610871565b60405161041f9190611d49565b60405180910390f35b34801561043457600080fd5b5061043d61088b565b60405161044a9190611ded565b60405180910390f35b34801561045f57600080fd5b50610468610891565b6040516104759190611ea1565b60405180910390f35b34801561048a57600080fd5b506104936108bb565b6040516104a09190611c33565b60405180910390f35b3480156104b557600080fd5b506104d060048036038101906104cb9190611cee565b61094d565b6040516104dd9190611d49565b60405180910390f35b3480156104f257600080fd5b5061050d60048036038101906105089190611cee565b6109c4565b60405161051a9190611d49565b60405180910390f35b34801561052f57600080fd5b506105386109e7565b6040516105459190611ded565b60405180910390f35b34801561055a57600080fd5b5061057560048036038101906105709190611f16565b6109ed565b6040516105829190611d49565b60405180910390f35b34801561059757600080fd5b506105b260048036038101906105ad9190611ee9565b610a5e565b6040516105bf9190611d49565b60405180910390f35b3480156105d457600080fd5b506105ef60048036038101906105ea9190611f56565b610ab2565b6040516105fc9190611ded565b60405180910390f35b34801561061157600080fd5b5061062c60048036038101906106279190611ee9565b610b39565b005b34801561063a57600080fd5b50610643610bbc565b6040516106509190611ded565b60405180910390f35b60606003805461066890611fc5565b80601f016020809104026020016040519081016040528092919081815260200182805461069490611fc5565b80156106e15780601f106106b6576101008083540402835291602001916106e1565b820191906000526020600020905b8154815290600101906020018083116106c457829003601f168201915b5050505050905090565b6000806106f6610bc2565b9050610703818585610bca565b600191505092915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600254905090565b600080610747610bc2565b9050610754858285610d93565b61075f858585610e1f565b60019150509392505050565b60006009905090565b60008061077f610bc2565b90506107a08185856107918589610ab2565b61079b9190612025565b610bca565b600191505092915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600b5481565b60006107df6113a7565b81600c8190555060019050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61083f6113a7565b6108496000611425565b565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061087b6113a7565b81600d8190555060019050919050565b600c5481565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546108ca90611fc5565b80601f01602080910402602001604051908101604052809291908181526020018280546108f690611fc5565b80156109435780601f1061091857610100808354040283529160200191610943565b820191906000526020600020905b81548152906001019060200180831161092657829003601f168201915b5050505050905090565b600080610958610bc2565b905060006109668286610ab2565b9050838110156109ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a2906120cb565b60405180910390fd5b6109b88286868403610bca565b60019250505092915050565b6000806109cf610bc2565b90506109dc818585610e1f565b600191505092915050565b600d5481565b60006109f76113a7565b60648284610a059190612025565b1115610a46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3d9061215d565b60405180910390fd5b82600a8190555081600b819055506001905092915050565b6000610a686113a7565b81600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060019050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610b416113a7565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610bb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba7906121ef565b60405180910390fd5b610bb981611425565b50565b600a5481565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3090612281565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ca8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9f90612313565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610d869190611ded565b60405180910390a3505050565b6000610d9f8484610ab2565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610e195781811015610e0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e029061237f565b60405180910390fd5b610e188484848403610bca565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8590612411565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610efd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef4906124a3565b60405180910390fd5b80610f07846107ef565b1015610f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3f90612535565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610fed57507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b80156110065750601360009054906101000a900460ff16155b15611396577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461115d576000600f5461106c306107ef565b6110769190612555565b9050601154811061108d5761108c6011546114eb565b5b601254600f541061115b576110a36012546115ac565b601254600f60008282546110b79190612555565b925050819055506000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050905080611159576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611150906125d5565b60405180910390fd5b505b505b6000601060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806112005750601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b1561120d57819050611385565b600c54821115611252576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124990612667565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036112fe57600d546112b1846107ef565b836112bc9190612025565b11156112fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f4906126f9565b60405180910390fd5b5b60006064600b54846113109190612719565b61131a91906127a2565b905060006064600a548561132e9190612719565b61133891906127a2565b905080826113469190612025565b846113519190612555565b925081600f60008282546113659190612025565b925050819055506113828630838561137d9190612025565b61182c565b50505b61139084848361182c565b506113a2565b6113a183838361182c565b5b505050565b6113af610bc2565b73ffffffffffffffffffffffffffffffffffffffff166113cd610891565b73ffffffffffffffffffffffffffffffffffffffff1614611423576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141a9061281f565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001601360006101000a81548160ff021916908315150217905550600060028261151591906127a2565b9050600081836115259190612555565b90506000479050611535836115ac565b600081476115439190612555565b905061154f8382611a8c565b7f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5618482856040516115829392919061283f565b60405180910390a1505050506000601360006101000a81548160ff02191690831515021790555050565b6001601360006101000a81548160ff0219169083151502179055506000600267ffffffffffffffff8111156115e4576115e3612876565b5b6040519080825280602002602001820160405280156116125781602001602082028036833780820191505090505b509050308160008151811061162a576116296128a5565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f391906128e9565b81600181518110611707576117066128a5565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061176c307f000000000000000000000000000000000000000000000000000000000000000084610bca565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663791ac947836000843061012c426117bb9190612025565b6040518663ffffffff1660e01b81526004016117db959493929190612a0f565b600060405180830381600087803b1580156117f557600080fd5b505af1158015611809573d6000803e3d6000fd5b50505050506000601360006101000a81548160ff02191690831515021790555050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361189b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189290612411565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361190a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611901906124a3565b60405180910390fd5b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611990576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198790612535565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611a7e9190611ded565b60405180910390a350505050565b6001601360006101000a81548160ff021916908315150217905550611ad2307f000000000000000000000000000000000000000000000000000000000000000084610bca565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f305d719823085600080611b1c610891565b426040518863ffffffff1660e01b8152600401611b3e96959493929190612a69565b60606040518083038185885af1158015611b5c573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611b819190612adf565b5050506000601360006101000a81548160ff0219169083151502179055505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611bdd578082015181840152602081019050611bc2565b60008484015250505050565b6000601f19601f8301169050919050565b6000611c0582611ba3565b611c0f8185611bae565b9350611c1f818560208601611bbf565b611c2881611be9565b840191505092915050565b60006020820190508181036000830152611c4d8184611bfa565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611c8582611c5a565b9050919050565b611c9581611c7a565b8114611ca057600080fd5b50565b600081359050611cb281611c8c565b92915050565b6000819050919050565b611ccb81611cb8565b8114611cd657600080fd5b50565b600081359050611ce881611cc2565b92915050565b60008060408385031215611d0557611d04611c55565b5b6000611d1385828601611ca3565b9250506020611d2485828601611cd9565b9150509250929050565b60008115159050919050565b611d4381611d2e565b82525050565b6000602082019050611d5e6000830184611d3a565b92915050565b6000819050919050565b6000611d89611d84611d7f84611c5a565b611d64565b611c5a565b9050919050565b6000611d9b82611d6e565b9050919050565b6000611dad82611d90565b9050919050565b611dbd81611da2565b82525050565b6000602082019050611dd86000830184611db4565b92915050565b611de781611cb8565b82525050565b6000602082019050611e026000830184611dde565b92915050565b600080600060608486031215611e2157611e20611c55565b5b6000611e2f86828701611ca3565b9350506020611e4086828701611ca3565b9250506040611e5186828701611cd9565b9150509250925092565b600060ff82169050919050565b611e7181611e5b565b82525050565b6000602082019050611e8c6000830184611e68565b92915050565b611e9b81611c7a565b82525050565b6000602082019050611eb66000830184611e92565b92915050565b600060208284031215611ed257611ed1611c55565b5b6000611ee084828501611cd9565b91505092915050565b600060208284031215611eff57611efe611c55565b5b6000611f0d84828501611ca3565b91505092915050565b60008060408385031215611f2d57611f2c611c55565b5b6000611f3b85828601611cd9565b9250506020611f4c85828601611cd9565b9150509250929050565b60008060408385031215611f6d57611f6c611c55565b5b6000611f7b85828601611ca3565b9250506020611f8c85828601611ca3565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611fdd57607f821691505b602082108103611ff057611fef611f96565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061203082611cb8565b915061203b83611cb8565b925082820190508082111561205357612052611ff6565b5b92915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006120b5602583611bae565b91506120c082612059565b604082019050919050565b600060208201905081810360008301526120e4816120a8565b9050919050565b7f45524332303a20746f74616c20746178206d757374206e6f742062652067726560008201527f61746572207468616e2031303000000000000000000000000000000000000000602082015250565b6000612147602d83611bae565b9150612152826120eb565b604082019050919050565b600060208201905081810360008301526121768161213a565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006121d9602683611bae565b91506121e48261217d565b604082019050919050565b60006020820190508181036000830152612208816121cc565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061226b602483611bae565b91506122768261220f565b604082019050919050565b6000602082019050818103600083015261229a8161225e565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006122fd602283611bae565b9150612308826122a1565b604082019050919050565b6000602082019050818103600083015261232c816122f0565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612369601d83611bae565b915061237482612333565b602082019050919050565b600060208201905081810360008301526123988161235c565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006123fb602583611bae565b91506124068261239f565b604082019050919050565b6000602082019050818103600083015261242a816123ee565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061248d602383611bae565b915061249882612431565b604082019050919050565b600060208201905081810360008301526124bc81612480565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b600061251f602683611bae565b915061252a826124c3565b604082019050919050565b6000602082019050818103600083015261254e81612512565b9050919050565b600061256082611cb8565b915061256b83611cb8565b925082820390508181111561258357612582611ff6565b5b92915050565b7f4661696c656420746f2073656e64204554480000000000000000000000000000600082015250565b60006125bf601283611bae565b91506125ca82612589565b602082019050919050565b600060208201905081810360008301526125ee816125b2565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473207460008201527f6865206d6178207472616e73616374696f6e20616d6f756e7400000000000000602082015250565b6000612651603983611bae565b915061265c826125f5565b604082019050919050565b6000602082019050818103600083015261268081612644565b9050919050565b7f45524332303a2062616c616e636520616d6f756e74206578636565646564206d60008201527f61782077616c6c657420616d6f756e74206c696d697400000000000000000000602082015250565b60006126e3603683611bae565b91506126ee82612687565b604082019050919050565b60006020820190508181036000830152612712816126d6565b9050919050565b600061272482611cb8565b915061272f83611cb8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561276857612767611ff6565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006127ad82611cb8565b91506127b883611cb8565b9250826127c8576127c7612773565b5b828204905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612809602083611bae565b9150612814826127d3565b602082019050919050565b60006020820190508181036000830152612838816127fc565b9050919050565b60006060820190506128546000830186611dde565b6128616020830185611dde565b61286e6040830184611dde565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000815190506128e381611c8c565b92915050565b6000602082840312156128ff576128fe611c55565b5b600061290d848285016128d4565b91505092915050565b6000819050919050565b600061293b61293661293184612916565b611d64565b611cb8565b9050919050565b61294b81612920565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61298681611c7a565b82525050565b6000612998838361297d565b60208301905092915050565b6000602082019050919050565b60006129bc82612951565b6129c6818561295c565b93506129d18361296d565b8060005b83811015612a025781516129e9888261298c565b97506129f4836129a4565b9250506001810190506129d5565b5085935050505092915050565b600060a082019050612a246000830188611dde565b612a316020830187612942565b8181036040830152612a4381866129b1565b9050612a526060830185611e92565b612a5f6080830184611dde565b9695505050505050565b600060c082019050612a7e6000830189611e92565b612a8b6020830188611dde565b612a986040830187612942565b612aa56060830186612942565b612ab26080830185611e92565b612abf60a0830184611dde565b979650505050505050565b600081519050612ad981611cc2565b92915050565b600080600060608486031215612af857612af7611c55565b5b6000612b0686828701612aca565b9350506020612b1786828701612aca565b9250506040612b2886828701612aca565b915050925092509256fea2646970667358221220c42940fe2549bbf0116224109ad25bdaf2fab6762bb00f6e720705f0d8e6f57d64736f6c63430008100033
Deployed Bytecode
0x60806040526004361061016a5760003560e01c806375f0a874116100d1578063a9059cbb1161008a578063bb85c6d111610064578063bb85c6d11461058b578063dd62ed3e146105c8578063f2fde38b14610605578063f345bd851461062e57610171565b8063a9059cbb146104e6578063aa4bde2814610523578063af8af6901461054e57610171565b806375f0a874146103c057806381bfdcca146103eb5780638c0b5e22146104285780638da5cb5b1461045357806395d89b411461047e578063a457c2d7146104a957610171565b80633950935111610123578063395093511461029c57806349bd5a5e146102d9578063527ffabd14610304578063677daa571461032f57806370a082311461036c578063715018a6146103a957610171565b806306fdde0314610176578063095ea7b3146101a15780631694505e146101de57806318160ddd1461020957806323b872dd14610234578063313ce5671461027157610171565b3661017157005b600080fd5b34801561018257600080fd5b5061018b610659565b6040516101989190611c33565b60405180910390f35b3480156101ad57600080fd5b506101c860048036038101906101c39190611cee565b6106eb565b6040516101d59190611d49565b60405180910390f35b3480156101ea57600080fd5b506101f361070e565b6040516102009190611dc3565b60405180910390f35b34801561021557600080fd5b5061021e610732565b60405161022b9190611ded565b60405180910390f35b34801561024057600080fd5b5061025b60048036038101906102569190611e08565b61073c565b6040516102689190611d49565b60405180910390f35b34801561027d57600080fd5b5061028661076b565b6040516102939190611e77565b60405180910390f35b3480156102a857600080fd5b506102c360048036038101906102be9190611cee565b610774565b6040516102d09190611d49565b60405180910390f35b3480156102e557600080fd5b506102ee6107ab565b6040516102fb9190611ea1565b60405180910390f35b34801561031057600080fd5b506103196107cf565b6040516103269190611ded565b60405180910390f35b34801561033b57600080fd5b5061035660048036038101906103519190611ebc565b6107d5565b6040516103639190611d49565b60405180910390f35b34801561037857600080fd5b50610393600480360381019061038e9190611ee9565b6107ef565b6040516103a09190611ded565b60405180910390f35b3480156103b557600080fd5b506103be610837565b005b3480156103cc57600080fd5b506103d561084b565b6040516103e29190611ea1565b60405180910390f35b3480156103f757600080fd5b50610412600480360381019061040d9190611ebc565b610871565b60405161041f9190611d49565b60405180910390f35b34801561043457600080fd5b5061043d61088b565b60405161044a9190611ded565b60405180910390f35b34801561045f57600080fd5b50610468610891565b6040516104759190611ea1565b60405180910390f35b34801561048a57600080fd5b506104936108bb565b6040516104a09190611c33565b60405180910390f35b3480156104b557600080fd5b506104d060048036038101906104cb9190611cee565b61094d565b6040516104dd9190611d49565b60405180910390f35b3480156104f257600080fd5b5061050d60048036038101906105089190611cee565b6109c4565b60405161051a9190611d49565b60405180910390f35b34801561052f57600080fd5b506105386109e7565b6040516105459190611ded565b60405180910390f35b34801561055a57600080fd5b5061057560048036038101906105709190611f16565b6109ed565b6040516105829190611d49565b60405180910390f35b34801561059757600080fd5b506105b260048036038101906105ad9190611ee9565b610a5e565b6040516105bf9190611d49565b60405180910390f35b3480156105d457600080fd5b506105ef60048036038101906105ea9190611f56565b610ab2565b6040516105fc9190611ded565b60405180910390f35b34801561061157600080fd5b5061062c60048036038101906106279190611ee9565b610b39565b005b34801561063a57600080fd5b50610643610bbc565b6040516106509190611ded565b60405180910390f35b60606003805461066890611fc5565b80601f016020809104026020016040519081016040528092919081815260200182805461069490611fc5565b80156106e15780601f106106b6576101008083540402835291602001916106e1565b820191906000526020600020905b8154815290600101906020018083116106c457829003601f168201915b5050505050905090565b6000806106f6610bc2565b9050610703818585610bca565b600191505092915050565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6000600254905090565b600080610747610bc2565b9050610754858285610d93565b61075f858585610e1f565b60019150509392505050565b60006009905090565b60008061077f610bc2565b90506107a08185856107918589610ab2565b61079b9190612025565b610bca565b600191505092915050565b7f0000000000000000000000008d0039018d658fdb791e5d26e687e9219f51df5b81565b600b5481565b60006107df6113a7565b81600c8190555060019050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61083f6113a7565b6108496000611425565b565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061087b6113a7565b81600d8190555060019050919050565b600c5481565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546108ca90611fc5565b80601f01602080910402602001604051908101604052809291908181526020018280546108f690611fc5565b80156109435780601f1061091857610100808354040283529160200191610943565b820191906000526020600020905b81548152906001019060200180831161092657829003601f168201915b5050505050905090565b600080610958610bc2565b905060006109668286610ab2565b9050838110156109ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a2906120cb565b60405180910390fd5b6109b88286868403610bca565b60019250505092915050565b6000806109cf610bc2565b90506109dc818585610e1f565b600191505092915050565b600d5481565b60006109f76113a7565b60648284610a059190612025565b1115610a46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3d9061215d565b60405180910390fd5b82600a8190555081600b819055506001905092915050565b6000610a686113a7565b81600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060019050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610b416113a7565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610bb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba7906121ef565b60405180910390fd5b610bb981611425565b50565b600a5481565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3090612281565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ca8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9f90612313565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610d869190611ded565b60405180910390a3505050565b6000610d9f8484610ab2565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610e195781811015610e0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e029061237f565b60405180910390fd5b610e188484848403610bca565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8590612411565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610efd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef4906124a3565b60405180910390fd5b80610f07846107ef565b1015610f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3f90612535565b60405180910390fd5b7f0000000000000000000000008d0039018d658fdb791e5d26e687e9219f51df5b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610fed57507f0000000000000000000000008d0039018d658fdb791e5d26e687e9219f51df5b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b80156110065750601360009054906101000a900460ff16155b15611396577f0000000000000000000000008d0039018d658fdb791e5d26e687e9219f51df5b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461115d576000600f5461106c306107ef565b6110769190612555565b9050601154811061108d5761108c6011546114eb565b5b601254600f541061115b576110a36012546115ac565b601254600f60008282546110b79190612555565b925050819055506000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050905080611159576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611150906125d5565b60405180910390fd5b505b505b6000601060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806112005750601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b1561120d57819050611385565b600c54821115611252576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124990612667565b60405180910390fd5b7f0000000000000000000000008d0039018d658fdb791e5d26e687e9219f51df5b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036112fe57600d546112b1846107ef565b836112bc9190612025565b11156112fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f4906126f9565b60405180910390fd5b5b60006064600b54846113109190612719565b61131a91906127a2565b905060006064600a548561132e9190612719565b61133891906127a2565b905080826113469190612025565b846113519190612555565b925081600f60008282546113659190612025565b925050819055506113828630838561137d9190612025565b61182c565b50505b61139084848361182c565b506113a2565b6113a183838361182c565b5b505050565b6113af610bc2565b73ffffffffffffffffffffffffffffffffffffffff166113cd610891565b73ffffffffffffffffffffffffffffffffffffffff1614611423576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141a9061281f565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001601360006101000a81548160ff021916908315150217905550600060028261151591906127a2565b9050600081836115259190612555565b90506000479050611535836115ac565b600081476115439190612555565b905061154f8382611a8c565b7f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5618482856040516115829392919061283f565b60405180910390a1505050506000601360006101000a81548160ff02191690831515021790555050565b6001601360006101000a81548160ff0219169083151502179055506000600267ffffffffffffffff8111156115e4576115e3612876565b5b6040519080825280602002602001820160405280156116125781602001602082028036833780820191505090505b509050308160008151811061162a576116296128a5565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f391906128e9565b81600181518110611707576117066128a5565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061176c307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610bca565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663791ac947836000843061012c426117bb9190612025565b6040518663ffffffff1660e01b81526004016117db959493929190612a0f565b600060405180830381600087803b1580156117f557600080fd5b505af1158015611809573d6000803e3d6000fd5b50505050506000601360006101000a81548160ff02191690831515021790555050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361189b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189290612411565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361190a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611901906124a3565b60405180910390fd5b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611990576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198790612535565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611a7e9190611ded565b60405180910390a350505050565b6001601360006101000a81548160ff021916908315150217905550611ad2307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610bca565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663f305d719823085600080611b1c610891565b426040518863ffffffff1660e01b8152600401611b3e96959493929190612a69565b60606040518083038185885af1158015611b5c573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611b819190612adf565b5050506000601360006101000a81548160ff0219169083151502179055505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611bdd578082015181840152602081019050611bc2565b60008484015250505050565b6000601f19601f8301169050919050565b6000611c0582611ba3565b611c0f8185611bae565b9350611c1f818560208601611bbf565b611c2881611be9565b840191505092915050565b60006020820190508181036000830152611c4d8184611bfa565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611c8582611c5a565b9050919050565b611c9581611c7a565b8114611ca057600080fd5b50565b600081359050611cb281611c8c565b92915050565b6000819050919050565b611ccb81611cb8565b8114611cd657600080fd5b50565b600081359050611ce881611cc2565b92915050565b60008060408385031215611d0557611d04611c55565b5b6000611d1385828601611ca3565b9250506020611d2485828601611cd9565b9150509250929050565b60008115159050919050565b611d4381611d2e565b82525050565b6000602082019050611d5e6000830184611d3a565b92915050565b6000819050919050565b6000611d89611d84611d7f84611c5a565b611d64565b611c5a565b9050919050565b6000611d9b82611d6e565b9050919050565b6000611dad82611d90565b9050919050565b611dbd81611da2565b82525050565b6000602082019050611dd86000830184611db4565b92915050565b611de781611cb8565b82525050565b6000602082019050611e026000830184611dde565b92915050565b600080600060608486031215611e2157611e20611c55565b5b6000611e2f86828701611ca3565b9350506020611e4086828701611ca3565b9250506040611e5186828701611cd9565b9150509250925092565b600060ff82169050919050565b611e7181611e5b565b82525050565b6000602082019050611e8c6000830184611e68565b92915050565b611e9b81611c7a565b82525050565b6000602082019050611eb66000830184611e92565b92915050565b600060208284031215611ed257611ed1611c55565b5b6000611ee084828501611cd9565b91505092915050565b600060208284031215611eff57611efe611c55565b5b6000611f0d84828501611ca3565b91505092915050565b60008060408385031215611f2d57611f2c611c55565b5b6000611f3b85828601611cd9565b9250506020611f4c85828601611cd9565b9150509250929050565b60008060408385031215611f6d57611f6c611c55565b5b6000611f7b85828601611ca3565b9250506020611f8c85828601611ca3565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611fdd57607f821691505b602082108103611ff057611fef611f96565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061203082611cb8565b915061203b83611cb8565b925082820190508082111561205357612052611ff6565b5b92915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006120b5602583611bae565b91506120c082612059565b604082019050919050565b600060208201905081810360008301526120e4816120a8565b9050919050565b7f45524332303a20746f74616c20746178206d757374206e6f742062652067726560008201527f61746572207468616e2031303000000000000000000000000000000000000000602082015250565b6000612147602d83611bae565b9150612152826120eb565b604082019050919050565b600060208201905081810360008301526121768161213a565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006121d9602683611bae565b91506121e48261217d565b604082019050919050565b60006020820190508181036000830152612208816121cc565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061226b602483611bae565b91506122768261220f565b604082019050919050565b6000602082019050818103600083015261229a8161225e565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006122fd602283611bae565b9150612308826122a1565b604082019050919050565b6000602082019050818103600083015261232c816122f0565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612369601d83611bae565b915061237482612333565b602082019050919050565b600060208201905081810360008301526123988161235c565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006123fb602583611bae565b91506124068261239f565b604082019050919050565b6000602082019050818103600083015261242a816123ee565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061248d602383611bae565b915061249882612431565b604082019050919050565b600060208201905081810360008301526124bc81612480565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b600061251f602683611bae565b915061252a826124c3565b604082019050919050565b6000602082019050818103600083015261254e81612512565b9050919050565b600061256082611cb8565b915061256b83611cb8565b925082820390508181111561258357612582611ff6565b5b92915050565b7f4661696c656420746f2073656e64204554480000000000000000000000000000600082015250565b60006125bf601283611bae565b91506125ca82612589565b602082019050919050565b600060208201905081810360008301526125ee816125b2565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473207460008201527f6865206d6178207472616e73616374696f6e20616d6f756e7400000000000000602082015250565b6000612651603983611bae565b915061265c826125f5565b604082019050919050565b6000602082019050818103600083015261268081612644565b9050919050565b7f45524332303a2062616c616e636520616d6f756e74206578636565646564206d60008201527f61782077616c6c657420616d6f756e74206c696d697400000000000000000000602082015250565b60006126e3603683611bae565b91506126ee82612687565b604082019050919050565b60006020820190508181036000830152612712816126d6565b9050919050565b600061272482611cb8565b915061272f83611cb8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561276857612767611ff6565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006127ad82611cb8565b91506127b883611cb8565b9250826127c8576127c7612773565b5b828204905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612809602083611bae565b9150612814826127d3565b602082019050919050565b60006020820190508181036000830152612838816127fc565b9050919050565b60006060820190506128546000830186611dde565b6128616020830185611dde565b61286e6040830184611dde565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000815190506128e381611c8c565b92915050565b6000602082840312156128ff576128fe611c55565b5b600061290d848285016128d4565b91505092915050565b6000819050919050565b600061293b61293661293184612916565b611d64565b611cb8565b9050919050565b61294b81612920565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61298681611c7a565b82525050565b6000612998838361297d565b60208301905092915050565b6000602082019050919050565b60006129bc82612951565b6129c6818561295c565b93506129d18361296d565b8060005b83811015612a025781516129e9888261298c565b97506129f4836129a4565b9250506001810190506129d5565b5085935050505092915050565b600060a082019050612a246000830188611dde565b612a316020830187612942565b8181036040830152612a4381866129b1565b9050612a526060830185611e92565b612a5f6080830184611dde565b9695505050505050565b600060c082019050612a7e6000830189611e92565b612a8b6020830188611dde565b612a986040830187612942565b612aa56060830186612942565b612ab26080830185611e92565b612abf60a0830184611dde565b979650505050505050565b600081519050612ad981611cc2565b92915050565b600080600060608486031215612af857612af7611c55565b5b6000612b0686828701612aca565b9350506020612b1786828701612aca565b9250506040612b2886828701612aca565b915050925092509256fea2646970667358221220c42940fe2549bbf0116224109ad25bdaf2fab6762bb00f6e720705f0d8e6f57d64736f6c63430008100033
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
[ 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.