Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
100,000,000,000 SCAMR
Holders
28
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
25,858,429,440.369831196848891842 SCAMRValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SimpleCoolAutomaticMoney
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {ERC20} from "solady/tokens/ERC20.sol"; import {Ownable} from "solady/auth/Ownable.sol"; import {WETH} from "solady/tokens/WETH.sol"; import {IUniswapV2Router} from "./IUniswap.sol"; import {FederalReserve} from "./FederalReserve.sol"; // // The SimpleCoolAutomaticMoney token has been fully minted! // // 10% of SimpleCoolAutomaticMoney is available for initial participants to add liquidity. // Up to 1 ETH in increments of 0.02 ETH are accepted. // // To enter the SimpleCoolAutomaticMoney visit: // https://etherscan.io/address/0xAb17B8753E051A438614D1F8b4A32a7EEF151c29#writeContract // // - Approve SimpleCoolAutomaticMoney for 0.02 WETH and write joinTheScam // OR // - Write joinTheScam with 0.02 ETH payable value // // Once 1 ETH has been accumulated, SimpleCoolAutomaticMoney (SCAM) will be added to Uniswap V2 with 90% of the // original tokens and the accumulated 1 ETH. // // What is SimpleCoolAutomaticMoney? // SimpleCoolAutomaticMoney is a token with a simple mechanic. // The Federal Reserve owns all the the SimpleCoolAutomaticMoney liquiqidty. // Every 3 minutes, the Federal Reserve can implement deflationary policy - removing SimpleCoolAutomaticMoney tokens from circulation. // // This token also has a max market capitalization at any given time. This maximum starts at 100k and increases by 100k every 24 hours. // // Not every transaction will cause a policy change! Policy Change can still be called by anyone on the // Federal Reserve every 3 minutes. // // TG: https://t.me/simplecoolautomaticmoney // // NOTE: This is a highly experimental token, there may be bugs - it might not work! // If the token gains adoption and mechanics work correctly a Twitter, and / or website may be created. // contract SimpleCoolAutomaticMoney is ERC20, Ownable { address internal constant V2_ROUTER = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; FederalReserve public immutable feredalReserve; uint256 private initialSupply = 100_000_000_000e18; bool private enactingPolicy; bool public isClosed; uint256 public openTimestamp; uint256 public maxBalance; uint256 public collectedBalance; uint256 public protectionDuration; address public weth; address public liquidity; mapping(address => bool) public hasPaidJerome; constructor() { _initializeOwner(msg.sender); _mint(address(this), initialSupply); feredalReserve = new FederalReserve(); openTimestamp = block.timestamp + 15 minutes; maxBalance = 1 ether; protectionDuration = 30 minutes; weth = IUniswapV2Router(V2_ROUTER).WETH(); renounceOwnership(); } function joinTheScam() external payable { require(!isClosed, "NOT_OPEN"); require(block.timestamp > openTimestamp, "NOT_OPEN"); require(!hasPaidJerome[msg.sender], "DUPLICATE"); uint256 baseEntryFee = 1 ether / 50; try ERC20(weth).transferFrom(msg.sender, address(this), baseEntryFee) {} catch { require(msg.value == baseEntryFee, "BAD_FEE"); } collectedBalance += baseEntryFee; hasPaidJerome[msg.sender] = true; uint256 allocatedSupply = (initialSupply * 10 / 100) / (maxBalance / baseEntryFee); this.transfer(msg.sender, allocatedSupply); if (collectedBalance >= maxBalance) { WETH(payable(weth)).deposit{value: address(this).balance}(); ERC20(weth).approve(V2_ROUTER, type(uint256).max); this.approve(V2_ROUTER, type(uint256).max); IUniswapV2Router(V2_ROUTER).addLiquidity( address(this), weth, this.balanceOf(address(this)), ERC20(weth).balanceOf(address(this)), 0, 0, address(feredalReserve), block.timestamp ); liquidity = feredalReserve.initialize(); isClosed = true; } } function name() public pure override returns (string memory) { return "Simple Cool Automatic Money Remix"; } function symbol() public pure override returns (string memory) { return "SCAMR"; } function transfer(address to, uint256 amount) public override returns (bool) { require(isClosed || msg.sender == address(this)); uint256 transferAmount = handleFunds(msg.sender, to, amount); uint256 penaltyAmount = amount - transferAmount; if (penaltyAmount > 0) { super.transfer(address(0), penaltyAmount); } return super.transfer(to, transferAmount); } function transferFrom(address from, address to, uint256 amount) public override returns (bool) { require(isClosed || (from == address(this) || msg.sender == address(this))); uint256 transferAmount = handleFunds(from, to, amount); uint256 penaltyAmount = amount - transferAmount; if (penaltyAmount > 0) { super.transferFrom(from, address(0), penaltyAmount); } return super.transferFrom(from, to, transferAmount); } event Debut(address indexed addr); event Debug(uint256 value); function handleFunds(address from, address to, uint256 amount) internal returns (uint256) { uint256 evaluatedAmount; uint256 initializedAt = feredalReserve.initializedAt(); if (initializedAt == 0 || block.timestamp > initializedAt + protectionDuration) { evaluatedAmount = amount; } else { uint256 progression = (block.timestamp - initializedAt) * 100; evaluatedAmount = amount * (progression / protectionDuration) / 100; } if (!enactingPolicy && to == liquidity) { enactingPolicy = true; try feredalReserve.enactDeflationaryPolicy() {} catch {} enactingPolicy = false; } if (liquidity != address(0) && from == liquidity) { uint256 currentMarketCapitalization = feredalReserve.marketCapitalization(); uint256 maxMarketCapitalization = feredalReserve.maxMarketCapitalization(); require(currentMarketCapitalization < maxMarketCapitalization, "EXCESS MARKET CAPITALIZATION"); } return evaluatedAmount; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /// @notice Simple ERC20 + EIP-2612 implementation. /// @author Solady (https://github.com/vectorized/solady/blob/main/src/tokens/ERC20.sol) /// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol) /// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol) /// /// @dev Note: /// - The ERC20 standard allows minting and transferring to and from the zero address, /// minting and transferring zero tokens, as well as self-approvals. /// For performance, this implementation WILL NOT revert for such actions. /// Please add any checks with overrides if desired. /// - The `permit` function uses the ecrecover precompile (0x1). /// /// If you are overriding: /// - NEVER violate the ERC20 invariant: /// the total sum of all balances must be equal to `totalSupply()`. /// - Check that the overridden function is actually used in the function you want to /// change the behavior of. Much of the code has been manually inlined for performance. abstract contract ERC20 { /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* CUSTOM ERRORS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev The total supply has overflowed. error TotalSupplyOverflow(); /// @dev The allowance has overflowed. error AllowanceOverflow(); /// @dev The allowance has underflowed. error AllowanceUnderflow(); /// @dev Insufficient balance. error InsufficientBalance(); /// @dev Insufficient allowance. error InsufficientAllowance(); /// @dev The permit is invalid. error InvalidPermit(); /// @dev The permit has expired. error PermitExpired(); /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* EVENTS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Emitted when `amount` tokens is transferred from `from` to `to`. event Transfer(address indexed from, address indexed to, uint256 amount); /// @dev Emitted when `amount` tokens is approved by `owner` to be used by `spender`. event Approval(address indexed owner, address indexed spender, uint256 amount); /// @dev `keccak256(bytes("Transfer(address,address,uint256)"))`. uint256 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; /// @dev `keccak256(bytes("Approval(address,address,uint256)"))`. uint256 private constant _APPROVAL_EVENT_SIGNATURE = 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925; /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* STORAGE */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev The storage slot for the total supply. uint256 private constant _TOTAL_SUPPLY_SLOT = 0x05345cdf77eb68f44c; /// @dev The balance slot of `owner` is given by: /// ``` /// mstore(0x0c, _BALANCE_SLOT_SEED) /// mstore(0x00, owner) /// let balanceSlot := keccak256(0x0c, 0x20) /// ``` uint256 private constant _BALANCE_SLOT_SEED = 0x87a211a2; /// @dev The allowance slot of (`owner`, `spender`) is given by: /// ``` /// mstore(0x20, spender) /// mstore(0x0c, _ALLOWANCE_SLOT_SEED) /// mstore(0x00, owner) /// let allowanceSlot := keccak256(0x0c, 0x34) /// ``` uint256 private constant _ALLOWANCE_SLOT_SEED = 0x7f5e9f20; /// @dev The nonce slot of `owner` is given by: /// ``` /// mstore(0x0c, _NONCES_SLOT_SEED) /// mstore(0x00, owner) /// let nonceSlot := keccak256(0x0c, 0x20) /// ``` uint256 private constant _NONCES_SLOT_SEED = 0x38377508; /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* CONSTANTS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev `(_NONCES_SLOT_SEED << 16) | 0x1901`. uint256 private constant _NONCES_SLOT_SEED_WITH_SIGNATURE_PREFIX = 0x383775081901; /// @dev `keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)")`. bytes32 private constant _DOMAIN_TYPEHASH = 0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f; /// @dev `keccak256("1")`. bytes32 private constant _VERSION_HASH = 0xc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6; /// @dev `keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)")`. bytes32 private constant _PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9; /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* ERC20 METADATA */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Returns the name of the token. function name() public view virtual returns (string memory); /// @dev Returns the symbol of the token. function symbol() public view virtual returns (string memory); /// @dev Returns the decimals places of the token. function decimals() public view virtual returns (uint8) { return 18; } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* ERC20 */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Returns the amount of tokens in existence. function totalSupply() public view virtual returns (uint256 result) { /// @solidity memory-safe-assembly assembly { result := sload(_TOTAL_SUPPLY_SLOT) } } /// @dev Returns the amount of tokens owned by `owner`. function balanceOf(address owner) public view virtual returns (uint256 result) { /// @solidity memory-safe-assembly assembly { mstore(0x0c, _BALANCE_SLOT_SEED) mstore(0x00, owner) result := sload(keccak256(0x0c, 0x20)) } } /// @dev Returns the amount of tokens that `spender` can spend on behalf of `owner`. function allowance(address owner, address spender) public view virtual returns (uint256 result) { /// @solidity memory-safe-assembly assembly { mstore(0x20, spender) mstore(0x0c, _ALLOWANCE_SLOT_SEED) mstore(0x00, owner) result := sload(keccak256(0x0c, 0x34)) } } /// @dev Sets `amount` as the allowance of `spender` over the caller's tokens. /// /// Emits a {Approval} event. function approve(address spender, uint256 amount) public virtual returns (bool) { /// @solidity memory-safe-assembly assembly { // Compute the allowance slot and store the amount. mstore(0x20, spender) mstore(0x0c, _ALLOWANCE_SLOT_SEED) mstore(0x00, caller()) sstore(keccak256(0x0c, 0x34), amount) // Emit the {Approval} event. mstore(0x00, amount) log3(0x00, 0x20, _APPROVAL_EVENT_SIGNATURE, caller(), shr(96, mload(0x2c))) } return true; } /// @dev Transfer `amount` tokens from the caller to `to`. /// /// Requirements: /// - `from` must at least have `amount`. /// /// Emits a {Transfer} event. function transfer(address to, uint256 amount) public virtual returns (bool) { _beforeTokenTransfer(msg.sender, to, amount); /// @solidity memory-safe-assembly assembly { // Compute the balance slot and load its value. mstore(0x0c, _BALANCE_SLOT_SEED) mstore(0x00, caller()) let fromBalanceSlot := keccak256(0x0c, 0x20) let fromBalance := sload(fromBalanceSlot) // Revert if insufficient balance. if gt(amount, fromBalance) { mstore(0x00, 0xf4d678b8) // `InsufficientBalance()`. revert(0x1c, 0x04) } // Subtract and store the updated balance. sstore(fromBalanceSlot, sub(fromBalance, amount)) // Compute the balance slot of `to`. mstore(0x00, to) let toBalanceSlot := keccak256(0x0c, 0x20) // Add and store the updated balance of `to`. // Will not overflow because the sum of all user balances // cannot exceed the maximum uint256 value. sstore(toBalanceSlot, add(sload(toBalanceSlot), amount)) // Emit the {Transfer} event. mstore(0x20, amount) log3(0x20, 0x20, _TRANSFER_EVENT_SIGNATURE, caller(), shr(96, mload(0x0c))) } _afterTokenTransfer(msg.sender, to, amount); return true; } /// @dev Transfers `amount` tokens from `from` to `to`. /// /// Note: Does not update the allowance if it is the maximum uint256 value. /// /// Requirements: /// - `from` must at least have `amount`. /// - The caller must have at least `amount` of allowance to transfer the tokens of `from`. /// /// Emits a {Transfer} event. function transferFrom(address from, address to, uint256 amount) public virtual returns (bool) { _beforeTokenTransfer(from, to, amount); /// @solidity memory-safe-assembly assembly { let from_ := shl(96, from) // Compute the allowance slot and load its value. mstore(0x20, caller()) mstore(0x0c, or(from_, _ALLOWANCE_SLOT_SEED)) let allowanceSlot := keccak256(0x0c, 0x34) let allowance_ := sload(allowanceSlot) // If the allowance is not the maximum uint256 value. if add(allowance_, 1) { // Revert if the amount to be transferred exceeds the allowance. if gt(amount, allowance_) { mstore(0x00, 0x13be252b) // `InsufficientAllowance()`. revert(0x1c, 0x04) } // Subtract and store the updated allowance. sstore(allowanceSlot, sub(allowance_, amount)) } // Compute the balance slot and load its value. mstore(0x0c, or(from_, _BALANCE_SLOT_SEED)) let fromBalanceSlot := keccak256(0x0c, 0x20) let fromBalance := sload(fromBalanceSlot) // Revert if insufficient balance. if gt(amount, fromBalance) { mstore(0x00, 0xf4d678b8) // `InsufficientBalance()`. revert(0x1c, 0x04) } // Subtract and store the updated balance. sstore(fromBalanceSlot, sub(fromBalance, amount)) // Compute the balance slot of `to`. mstore(0x00, to) let toBalanceSlot := keccak256(0x0c, 0x20) // Add and store the updated balance of `to`. // Will not overflow because the sum of all user balances // cannot exceed the maximum uint256 value. sstore(toBalanceSlot, add(sload(toBalanceSlot), amount)) // Emit the {Transfer} event. mstore(0x20, amount) log3(0x20, 0x20, _TRANSFER_EVENT_SIGNATURE, shr(96, from_), shr(96, mload(0x0c))) } _afterTokenTransfer(from, to, amount); return true; } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* EIP-2612 */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev For more performance, override to return the constant value /// of `keccak256(bytes(name()))` if `name()` will never change. function _constantNameHash() internal view virtual returns (bytes32 result) {} /// @dev Returns the current nonce for `owner`. /// This value is used to compute the signature for EIP-2612 permit. function nonces(address owner) public view virtual returns (uint256 result) { /// @solidity memory-safe-assembly assembly { // Compute the nonce slot and load its value. mstore(0x0c, _NONCES_SLOT_SEED) mstore(0x00, owner) result := sload(keccak256(0x0c, 0x20)) } } /// @dev Sets `value` as the allowance of `spender` over the tokens of `owner`, /// authorized by a signed approval by `owner`. /// /// Emits a {Approval} event. function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual { bytes32 nameHash = _constantNameHash(); // We simply calculate it on-the-fly to allow for cases where the `name` may change. if (nameHash == bytes32(0)) nameHash = keccak256(bytes(name())); /// @solidity memory-safe-assembly assembly { // Revert if the block timestamp is greater than `deadline`. if gt(timestamp(), deadline) { mstore(0x00, 0x1a15a3cc) // `PermitExpired()`. revert(0x1c, 0x04) } let m := mload(0x40) // Grab the free memory pointer. // Clean the upper 96 bits. owner := shr(96, shl(96, owner)) spender := shr(96, shl(96, spender)) // Compute the nonce slot and load its value. mstore(0x0e, _NONCES_SLOT_SEED_WITH_SIGNATURE_PREFIX) mstore(0x00, owner) let nonceSlot := keccak256(0x0c, 0x20) let nonceValue := sload(nonceSlot) // Prepare the domain separator. mstore(m, _DOMAIN_TYPEHASH) mstore(add(m, 0x20), nameHash) mstore(add(m, 0x40), _VERSION_HASH) mstore(add(m, 0x60), chainid()) mstore(add(m, 0x80), address()) mstore(0x2e, keccak256(m, 0xa0)) // Prepare the struct hash. mstore(m, _PERMIT_TYPEHASH) mstore(add(m, 0x20), owner) mstore(add(m, 0x40), spender) mstore(add(m, 0x60), value) mstore(add(m, 0x80), nonceValue) mstore(add(m, 0xa0), deadline) mstore(0x4e, keccak256(m, 0xc0)) // Prepare the ecrecover calldata. mstore(0x00, keccak256(0x2c, 0x42)) mstore(0x20, and(0xff, v)) mstore(0x40, r) mstore(0x60, s) let t := staticcall(gas(), 1, 0, 0x80, 0x20, 0x20) // If the ecrecover fails, the returndatasize will be 0x00, // `owner` will be checked if it equals the hash at 0x00, // which evaluates to false (i.e. 0), and we will revert. // If the ecrecover succeeds, the returndatasize will be 0x20, // `owner` will be compared against the returned address at 0x20. if iszero(eq(mload(returndatasize()), owner)) { mstore(0x00, 0xddafbaef) // `InvalidPermit()`. revert(0x1c, 0x04) } // Increment and store the updated nonce. sstore(nonceSlot, add(nonceValue, t)) // `t` is 1 if ecrecover succeeds. // Compute the allowance slot and store the value. // The `owner` is already at slot 0x20. mstore(0x40, or(shl(160, _ALLOWANCE_SLOT_SEED), spender)) sstore(keccak256(0x2c, 0x34), value) // Emit the {Approval} event. log3(add(m, 0x60), 0x20, _APPROVAL_EVENT_SIGNATURE, owner, spender) mstore(0x40, m) // Restore the free memory pointer. mstore(0x60, 0) // Restore the zero pointer. } } /// @dev Returns the EIP-712 domain separator for the EIP-2612 permit. function DOMAIN_SEPARATOR() public view virtual returns (bytes32 result) { bytes32 nameHash = _constantNameHash(); // We simply calculate it on-the-fly to allow for cases where the `name` may change. if (nameHash == bytes32(0)) nameHash = keccak256(bytes(name())); /// @solidity memory-safe-assembly assembly { let m := mload(0x40) // Grab the free memory pointer. mstore(m, _DOMAIN_TYPEHASH) mstore(add(m, 0x20), nameHash) mstore(add(m, 0x40), _VERSION_HASH) mstore(add(m, 0x60), chainid()) mstore(add(m, 0x80), address()) result := keccak256(m, 0xa0) } } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* INTERNAL MINT FUNCTIONS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Mints `amount` tokens to `to`, increasing the total supply. /// /// Emits a {Transfer} event. function _mint(address to, uint256 amount) internal virtual { _beforeTokenTransfer(address(0), to, amount); /// @solidity memory-safe-assembly assembly { let totalSupplyBefore := sload(_TOTAL_SUPPLY_SLOT) let totalSupplyAfter := add(totalSupplyBefore, amount) // Revert if the total supply overflows. if lt(totalSupplyAfter, totalSupplyBefore) { mstore(0x00, 0xe5cfe957) // `TotalSupplyOverflow()`. revert(0x1c, 0x04) } // Store the updated total supply. sstore(_TOTAL_SUPPLY_SLOT, totalSupplyAfter) // Compute the balance slot and load its value. mstore(0x0c, _BALANCE_SLOT_SEED) mstore(0x00, to) let toBalanceSlot := keccak256(0x0c, 0x20) // Add and store the updated balance. sstore(toBalanceSlot, add(sload(toBalanceSlot), amount)) // Emit the {Transfer} event. mstore(0x20, amount) log3(0x20, 0x20, _TRANSFER_EVENT_SIGNATURE, 0, shr(96, mload(0x0c))) } _afterTokenTransfer(address(0), to, amount); } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* INTERNAL BURN FUNCTIONS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Burns `amount` tokens from `from`, reducing the total supply. /// /// Emits a {Transfer} event. function _burn(address from, uint256 amount) internal virtual { _beforeTokenTransfer(from, address(0), amount); /// @solidity memory-safe-assembly assembly { // Compute the balance slot and load its value. mstore(0x0c, _BALANCE_SLOT_SEED) mstore(0x00, from) let fromBalanceSlot := keccak256(0x0c, 0x20) let fromBalance := sload(fromBalanceSlot) // Revert if insufficient balance. if gt(amount, fromBalance) { mstore(0x00, 0xf4d678b8) // `InsufficientBalance()`. revert(0x1c, 0x04) } // Subtract and store the updated balance. sstore(fromBalanceSlot, sub(fromBalance, amount)) // Subtract and store the updated total supply. sstore(_TOTAL_SUPPLY_SLOT, sub(sload(_TOTAL_SUPPLY_SLOT), amount)) // Emit the {Transfer} event. mstore(0x00, amount) log3(0x00, 0x20, _TRANSFER_EVENT_SIGNATURE, shr(96, shl(96, from)), 0) } _afterTokenTransfer(from, address(0), amount); } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* INTERNAL TRANSFER FUNCTIONS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Moves `amount` of tokens from `from` to `to`. function _transfer(address from, address to, uint256 amount) internal virtual { _beforeTokenTransfer(from, to, amount); /// @solidity memory-safe-assembly assembly { let from_ := shl(96, from) // Compute the balance slot and load its value. mstore(0x0c, or(from_, _BALANCE_SLOT_SEED)) let fromBalanceSlot := keccak256(0x0c, 0x20) let fromBalance := sload(fromBalanceSlot) // Revert if insufficient balance. if gt(amount, fromBalance) { mstore(0x00, 0xf4d678b8) // `InsufficientBalance()`. revert(0x1c, 0x04) } // Subtract and store the updated balance. sstore(fromBalanceSlot, sub(fromBalance, amount)) // Compute the balance slot of `to`. mstore(0x00, to) let toBalanceSlot := keccak256(0x0c, 0x20) // Add and store the updated balance of `to`. // Will not overflow because the sum of all user balances // cannot exceed the maximum uint256 value. sstore(toBalanceSlot, add(sload(toBalanceSlot), amount)) // Emit the {Transfer} event. mstore(0x20, amount) log3(0x20, 0x20, _TRANSFER_EVENT_SIGNATURE, shr(96, from_), shr(96, mload(0x0c))) } _afterTokenTransfer(from, to, amount); } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* INTERNAL ALLOWANCE FUNCTIONS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Updates the allowance of `owner` for `spender` based on spent `amount`. function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { /// @solidity memory-safe-assembly assembly { // Compute the allowance slot and load its value. mstore(0x20, spender) mstore(0x0c, _ALLOWANCE_SLOT_SEED) mstore(0x00, owner) let allowanceSlot := keccak256(0x0c, 0x34) let allowance_ := sload(allowanceSlot) // If the allowance is not the maximum uint256 value. if add(allowance_, 1) { // Revert if the amount to be transferred exceeds the allowance. if gt(amount, allowance_) { mstore(0x00, 0x13be252b) // `InsufficientAllowance()`. revert(0x1c, 0x04) } // Subtract and store the updated allowance. sstore(allowanceSlot, sub(allowance_, amount)) } } } /// @dev Sets `amount` as the allowance of `spender` over the tokens of `owner`. /// /// Emits a {Approval} event. function _approve(address owner, address spender, uint256 amount) internal virtual { /// @solidity memory-safe-assembly assembly { let owner_ := shl(96, owner) // Compute the allowance slot and store the amount. mstore(0x20, spender) mstore(0x0c, or(owner_, _ALLOWANCE_SLOT_SEED)) sstore(keccak256(0x0c, 0x34), amount) // Emit the {Approval} event. mstore(0x00, amount) log3(0x00, 0x20, _APPROVAL_EVENT_SIGNATURE, shr(96, owner_), shr(96, mload(0x2c))) } } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* HOOKS TO OVERRIDE */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Hook that is called before any transfer of tokens. /// This includes minting and burning. function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /// @dev Hook that is called after any transfer of tokens. /// This includes minting and burning. function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /// @notice Simple single owner authorization mixin. /// @author Solady (https://github.com/vectorized/solady/blob/main/src/auth/Ownable.sol) /// /// @dev Note: /// This implementation does NOT auto-initialize the owner to `msg.sender`. /// You MUST call the `_initializeOwner` in the constructor / initializer. /// /// While the ownable portion follows /// [EIP-173](https://eips.ethereum.org/EIPS/eip-173) for compatibility, /// the nomenclature for the 2-step ownership handover may be unique to this codebase. abstract contract Ownable { /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* CUSTOM ERRORS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev The caller is not authorized to call the function. error Unauthorized(); /// @dev The `newOwner` cannot be the zero address. error NewOwnerIsZeroAddress(); /// @dev The `pendingOwner` does not have a valid handover request. error NoHandoverRequest(); /// @dev Cannot double-initialize. error AlreadyInitialized(); /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* EVENTS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev The ownership is transferred from `oldOwner` to `newOwner`. /// This event is intentionally kept the same as OpenZeppelin's Ownable to be /// compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173), /// despite it not being as lightweight as a single argument event. event OwnershipTransferred(address indexed oldOwner, address indexed newOwner); /// @dev An ownership handover to `pendingOwner` has been requested. event OwnershipHandoverRequested(address indexed pendingOwner); /// @dev The ownership handover to `pendingOwner` has been canceled. event OwnershipHandoverCanceled(address indexed pendingOwner); /// @dev `keccak256(bytes("OwnershipTransferred(address,address)"))`. uint256 private constant _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE = 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0; /// @dev `keccak256(bytes("OwnershipHandoverRequested(address)"))`. uint256 private constant _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE = 0xdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d; /// @dev `keccak256(bytes("OwnershipHandoverCanceled(address)"))`. uint256 private constant _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE = 0xfa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92; /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* STORAGE */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev The owner slot is given by: /// `bytes32(~uint256(uint32(bytes4(keccak256("_OWNER_SLOT_NOT")))))`. /// It is intentionally chosen to be a high value /// to avoid collision with lower slots. /// The choice of manual storage layout is to enable compatibility /// with both regular and upgradeable contracts. bytes32 internal constant _OWNER_SLOT = 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927; /// The ownership handover slot of `newOwner` is given by: /// ``` /// mstore(0x00, or(shl(96, user), _HANDOVER_SLOT_SEED)) /// let handoverSlot := keccak256(0x00, 0x20) /// ``` /// It stores the expiry timestamp of the two-step ownership handover. uint256 private constant _HANDOVER_SLOT_SEED = 0x389a75e1; /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* INTERNAL FUNCTIONS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Override to return true to make `_initializeOwner` prevent double-initialization. function _guardInitializeOwner() internal pure virtual returns (bool guard) {} /// @dev Initializes the owner directly without authorization guard. /// This function must be called upon initialization, /// regardless of whether the contract is upgradeable or not. /// This is to enable generalization to both regular and upgradeable contracts, /// and to save gas in case the initial owner is not the caller. /// For performance reasons, this function will not check if there /// is an existing owner. function _initializeOwner(address newOwner) internal virtual { if (_guardInitializeOwner()) { /// @solidity memory-safe-assembly assembly { let ownerSlot := _OWNER_SLOT if sload(ownerSlot) { mstore(0x00, 0x0dc149f0) // `AlreadyInitialized()`. revert(0x1c, 0x04) } // Clean the upper 96 bits. newOwner := shr(96, shl(96, newOwner)) // Store the new value. sstore(ownerSlot, or(newOwner, shl(255, iszero(newOwner)))) // Emit the {OwnershipTransferred} event. log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner) } } else { /// @solidity memory-safe-assembly assembly { // Clean the upper 96 bits. newOwner := shr(96, shl(96, newOwner)) // Store the new value. sstore(_OWNER_SLOT, newOwner) // Emit the {OwnershipTransferred} event. log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner) } } } /// @dev Sets the owner directly without authorization guard. function _setOwner(address newOwner) internal virtual { if (_guardInitializeOwner()) { /// @solidity memory-safe-assembly assembly { let ownerSlot := _OWNER_SLOT // Clean the upper 96 bits. newOwner := shr(96, shl(96, newOwner)) // Emit the {OwnershipTransferred} event. log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner) // Store the new value. sstore(ownerSlot, or(newOwner, shl(255, iszero(newOwner)))) } } else { /// @solidity memory-safe-assembly assembly { let ownerSlot := _OWNER_SLOT // Clean the upper 96 bits. newOwner := shr(96, shl(96, newOwner)) // Emit the {OwnershipTransferred} event. log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner) // Store the new value. sstore(ownerSlot, newOwner) } } } /// @dev Throws if the sender is not the owner. function _checkOwner() internal view virtual { /// @solidity memory-safe-assembly assembly { // If the caller is not the stored owner, revert. if iszero(eq(caller(), sload(_OWNER_SLOT))) { mstore(0x00, 0x82b42900) // `Unauthorized()`. revert(0x1c, 0x04) } } } /// @dev Returns how long a two-step ownership handover is valid for in seconds. /// Override to return a different value if needed. /// Made internal to conserve bytecode. Wrap it in a public function if needed. function _ownershipHandoverValidFor() internal view virtual returns (uint64) { return 48 * 3600; } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* PUBLIC UPDATE FUNCTIONS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Allows the owner to transfer the ownership to `newOwner`. function transferOwnership(address newOwner) public payable virtual onlyOwner { /// @solidity memory-safe-assembly assembly { if iszero(shl(96, newOwner)) { mstore(0x00, 0x7448fbae) // `NewOwnerIsZeroAddress()`. revert(0x1c, 0x04) } } _setOwner(newOwner); } /// @dev Allows the owner to renounce their ownership. function renounceOwnership() public payable virtual onlyOwner { _setOwner(address(0)); } /// @dev Request a two-step ownership handover to the caller. /// The request will automatically expire in 48 hours (172800 seconds) by default. function requestOwnershipHandover() public payable virtual { unchecked { uint256 expires = block.timestamp + _ownershipHandoverValidFor(); /// @solidity memory-safe-assembly assembly { // Compute and set the handover slot to `expires`. mstore(0x0c, _HANDOVER_SLOT_SEED) mstore(0x00, caller()) sstore(keccak256(0x0c, 0x20), expires) // Emit the {OwnershipHandoverRequested} event. log2(0, 0, _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE, caller()) } } } /// @dev Cancels the two-step ownership handover to the caller, if any. function cancelOwnershipHandover() public payable virtual { /// @solidity memory-safe-assembly assembly { // Compute and set the handover slot to 0. mstore(0x0c, _HANDOVER_SLOT_SEED) mstore(0x00, caller()) sstore(keccak256(0x0c, 0x20), 0) // Emit the {OwnershipHandoverCanceled} event. log2(0, 0, _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE, caller()) } } /// @dev Allows the owner to complete the two-step ownership handover to `pendingOwner`. /// Reverts if there is no existing ownership handover requested by `pendingOwner`. function completeOwnershipHandover(address pendingOwner) public payable virtual onlyOwner { /// @solidity memory-safe-assembly assembly { // Compute and set the handover slot to 0. mstore(0x0c, _HANDOVER_SLOT_SEED) mstore(0x00, pendingOwner) let handoverSlot := keccak256(0x0c, 0x20) // If the handover does not exist, or has expired. if gt(timestamp(), sload(handoverSlot)) { mstore(0x00, 0x6f5e8818) // `NoHandoverRequest()`. revert(0x1c, 0x04) } // Set the handover slot to 0. sstore(handoverSlot, 0) } _setOwner(pendingOwner); } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* PUBLIC READ FUNCTIONS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Returns the owner of the contract. function owner() public view virtual returns (address result) { /// @solidity memory-safe-assembly assembly { result := sload(_OWNER_SLOT) } } /// @dev Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`. function ownershipHandoverExpiresAt(address pendingOwner) public view virtual returns (uint256 result) { /// @solidity memory-safe-assembly assembly { // Compute the handover slot. mstore(0x0c, _HANDOVER_SLOT_SEED) mstore(0x00, pendingOwner) // Load the handover slot. result := sload(keccak256(0x0c, 0x20)) } } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* MODIFIERS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Marks a function as only callable by the owner. modifier onlyOwner() virtual { _checkOwner(); _; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import {ERC20} from "./ERC20.sol"; /// @notice Simple Wrapped Ether implementation. /// @author Solady (https://github.com/vectorized/solady/blob/main/src/tokens/WETH.sol) /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/WETH.sol) /// @author Inspired by WETH9 (https://github.com/dapphub/ds-weth/blob/master/src/weth9.sol) contract WETH is ERC20 { /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* CUSTOM ERRORS */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev The ETH transfer has failed. error ETHTransferFailed(); /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* ERC20 METADATA */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Returns the name of the token. function name() public view virtual override returns (string memory) { return "Wrapped Ether"; } /// @dev Returns the symbol of the token. function symbol() public view virtual override returns (string memory) { return "WETH"; } /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/ /* WETH */ /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/ /// @dev Deposits `amount` ETH of the caller and mints `amount` WETH to the caller. function deposit() public payable virtual { _mint(msg.sender, msg.value); } /// @dev Burns `amount` WETH of the caller and sends `amount` ETH to the caller. function withdraw(uint256 amount) public virtual { _burn(msg.sender, amount); /// @solidity memory-safe-assembly assembly { // Transfer the ETH and check if it succeeded or not. if iszero(call(gas(), caller(), amount, codesize(), 0x00, codesize(), 0x00)) { mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`. revert(0x1c, 0x04) } } } /// @dev Equivalent to `deposit()`. receive() external payable virtual { deposit(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IUniswapV2Factory { function getPair(address tokenA, address tokenB) external view returns (address pair); } interface IUniswapV2Router { 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 removeLiquidity( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB); function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); } interface IUniswapV2Pool { function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function token0() external view returns (address); function token1() external view returns (address); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {ERC20} from "solady/tokens/ERC20.sol"; import {Ownable} from "solady/auth/Ownable.sol"; import {WETH} from "solady/tokens/WETH.sol"; import {IUniswapV2Factory, IUniswapV2Router, IUniswapV2Pool} from "./IUniswap.sol"; contract FederalReserve is Ownable { address internal constant V2_ROUTER = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; address internal constant V2_FACTORY = 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f; address internal constant PRICING_POOL = 0x0d4a11d5EEaaC28EC3F61d100daF4d40471f1852; uint256 public initializedAt; address public weth; address public scam; address public liquidity; uint256 public nextPolicyEffect; uint256 public policyCooldown; constructor() { _initializeOwner(msg.sender); weth = IUniswapV2Router(V2_ROUTER).WETH(); scam = msg.sender; policyCooldown = 3 minutes; } receive() external payable { WETH(payable(weth)).deposit{value: msg.value}(); } function initialize() external onlyOwner returns (address) { liquidity = IUniswapV2Factory(V2_FACTORY).getPair(scam, weth); ERC20(liquidity).approve(V2_ROUTER, type(uint256).max); ERC20(weth).approve(V2_ROUTER, type(uint256).max); ERC20(scam).approve(V2_ROUTER, type(uint256).max); nextPolicyEffect = block.timestamp + policyCooldown; initializedAt = block.timestamp; renounceOwnership(); return liquidity; } function enactDeflationaryPolicy() external { if (initializedAt == 0 || liquidity == address(0) || block.timestamp < nextPolicyEffect) { return; } nextPolicyEffect = block.timestamp + policyCooldown; uint256 liquidityBalance = ERC20(liquidity).balanceOf(address(this)); if (liquidityBalance > 0) { removeLiquidity(weth, scam, liquidityBalance / 1_000); } uint256 burnAmount = ERC20(scam).balanceOf(address(this)); ERC20(scam).transfer(address(0), burnAmount); uint256 wethBalance = ERC20(weth).balanceOf(address(this)); address[] memory path = new address[](2); path[0] = weth; path[1] = scam; uint256 scamPurchased = swap(wethBalance / 2, path); addLiquidity(weth, scam, wethBalance / 2, scamPurchased); } function etherPrice() public view returns (uint256) { (uint256 pricingReserve0, uint256 pricingReserve1,) = IUniswapV2Pool(PRICING_POOL).getReserves(); return (pricingReserve1 * 1e12) / pricingReserve0; } function marketCapitalization() external view returns (uint256) { if (liquidity == address(0)) { return 0; } uint256 basePrice = etherPrice(); (uint256 reserve0, uint256 reserve1,) = IUniswapV2Pool(liquidity).getReserves(); uint256 ratio; if (IUniswapV2Pool(liquidity).token0() == weth) { ratio = reserve0 * 1e36 / reserve1; } else { ratio = reserve1 * 1e36 / reserve0; } uint256 burnedSupply = ERC20(scam).balanceOf(address(0)); return ratio * basePrice * (ERC20(scam).totalSupply() - burnedSupply) / 1e54; } function maxMarketCapitalization() external view returns (uint256) { uint256 baseMaximumMarketCapitalization = 100_000; if (initializedAt == 0) { return baseMaximumMarketCapitalization; } return (((block.timestamp - initializedAt) / 1 days) + 1) * baseMaximumMarketCapitalization; } function addLiquidity(address token0, address token1, uint256 token0Amount, uint256 token1Amount) internal { (,, uint256 liquidityAmount) = IUniswapV2Router(V2_ROUTER).addLiquidity( token0, token1, token0Amount, token1Amount, 0, 0, address(this), block.timestamp ); require(liquidityAmount > 0); } function removeLiquidity(address token0, address token1, uint256 liquidityAmount) internal { require(liquidityAmount > 0); IUniswapV2Router(V2_ROUTER).removeLiquidity( token0, token1, liquidityAmount, 0, 0, address(this), block.timestamp ); } function swap(uint256 amount, address[] memory path) internal returns (uint256) { require(amount > 0); uint256[] memory amounts = IUniswapV2Router(V2_ROUTER).swapExactTokensForTokens(amount, 0, path, address(this), block.timestamp); return amounts[amounts.length - 1]; } }
{ "remappings": [ "forge-std/=lib/forge-std/src/", "solady/=lib/solady/src/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "paris", "viaIR": false, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AllowanceOverflow","type":"error"},{"inputs":[],"name":"AllowanceUnderflow","type":"error"},{"inputs":[],"name":"AlreadyInitialized","type":"error"},{"inputs":[],"name":"InsufficientAllowance","type":"error"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"InvalidPermit","type":"error"},{"inputs":[],"name":"NewOwnerIsZeroAddress","type":"error"},{"inputs":[],"name":"NoHandoverRequest","type":"error"},{"inputs":[],"name":"PermitExpired","type":"error"},{"inputs":[],"name":"TotalSupplyOverflow","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Debug","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addr","type":"address"}],"name":"Debut","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pendingOwner","type":"address"}],"name":"OwnershipHandoverCanceled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pendingOwner","type":"address"}],"name":"OwnershipHandoverRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"result","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"result","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":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cancelOwnershipHandover","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"collectedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"name":"completeOwnershipHandover","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feredalReserve","outputs":[{"internalType":"contract FederalReserve","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasPaidJerome","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isClosed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"joinTheScam","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"liquidity","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"protectionDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"requestOwnershipHandover","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"result","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":"payable","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60a06040526c01431e0fae6d7217caa00000006000553480156200002257600080fd5b506200002e3362000144565b62000042306000546200016f60201b60201c565b604051620000509062000250565b604051809103906000f0801580156200006d573d6000803e3d6000fd5b506001600160a01b031660805262000088426103846200025e565b600255670de0b6b3a7640000600355610708600555604080516315ab88c960e31b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d9163ad5c46489160048083019260209291908290030181865afa158015620000ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000114919062000286565b600680546001600160a01b0319166001600160a01b03929092169190911790556200013e620001ef565b620002b8565b6001600160a01b0316638b78c6d81981905580600060008051602062002f6d8339815191528180a350565b6805345cdf77eb68f44c5481810181811015620001945763e5cfe9576000526004601cfd5b806805345cdf77eb68f44c5550506387a211a2600c52816000526020600c208181540181555080602052600c5160601c60007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602080a35050565b620001f962000207565b62000205600062000223565b565b638b78c6d81954331462000205576382b429006000526004601cfd5b638b78c6d81980546001600160a01b0390921691829060008051602062002f6d833981519152600080a355565b61149f8062001ace83390190565b808201808211156200028057634e487b7160e01b600052601160045260246000fd5b92915050565b6000602082840312156200029957600080fd5b81516001600160a01b0381168114620002b157600080fd5b9392505050565b6080516117d0620002fe6000396000818161047b01528181610afc01528181610b750152818161101e01528181611151015281816111e5015261126b01526117d06000f3fe6080604052600436106101c25760003560e01c806373ad468a116100f7578063b010a48a11610095578063dd62ed3e11610064578063dd62ed3e146104dc578063f04e283e14610512578063f2fde38b14610525578063fee81cf41461053857600080fd5b8063b010a48a14610439578063c2a744b414610469578063c2b6b58c1461049d578063d505accf146104bc57600080fd5b80638ddc3b19116100d15780638ddc3b19146103bf57806395d89b41146103d5578063a9059cbb14610403578063a97eaba71461042357600080fd5b806373ad468a1461035d5780637ecebe00146103735780638da5cb5b146103a657600080fd5b8063313ce567116101645780633fc8cef31161013e5780633fc8cef3146102fa57806354d1f13d1461031a57806370a0823114610322578063715018a61461035557600080fd5b8063313ce567146102b357806333eb06c4146102cf5780633644e515146102e557600080fd5b80631a686502116101a05780631a6865021461024957806322f76a491461028157806323b872dd1461028b57806325692962146102ab57600080fd5b806306fdde03146101c7578063095ea7b3146101f257806318160ddd14610222575b600080fd5b3480156101d357600080fd5b506101dc61056b565b6040516101e991906114da565b60405180910390f35b3480156101fe57600080fd5b5061021261020d36600461153d565b61058b565b60405190151581526020016101e9565b34801561022e57600080fd5b506805345cdf77eb68f44c545b6040519081526020016101e9565b34801561025557600080fd5b50600754610269906001600160a01b031681565b6040516001600160a01b0390911681526020016101e9565b6102896105df565b005b34801561029757600080fd5b506102126102a6366004611569565b610c2d565b610289610ca6565b3480156102bf57600080fd5b50604051601281526020016101e9565b3480156102db57600080fd5b5061023b60055481565b3480156102f157600080fd5b5061023b610cf6565b34801561030657600080fd5b50600654610269906001600160a01b031681565b610289610d73565b34801561032e57600080fd5b5061023b61033d3660046115aa565b6387a211a2600c908152600091909152602090205490565b610289610daf565b34801561036957600080fd5b5061023b60035481565b34801561037f57600080fd5b5061023b61038e3660046115aa565b6338377508600c908152600091909152602090205490565b3480156103b257600080fd5b50638b78c6d81954610269565b3480156103cb57600080fd5b5061023b60045481565b3480156103e157600080fd5b5060408051808201909152600581526429a1a0a6a960d91b60208201526101dc565b34801561040f57600080fd5b5061021261041e36600461153d565b610dc3565b34801561042f57600080fd5b5061023b60025481565b34801561044557600080fd5b506102126104543660046115aa565b60086020526000908152604090205460ff1681565b34801561047557600080fd5b506102697f000000000000000000000000000000000000000000000000000000000000000081565b3480156104a957600080fd5b5060015461021290610100900460ff1681565b3480156104c857600080fd5b506102896104d73660046115ce565b610e27565b3480156104e857600080fd5b5061023b6104f7366004611645565b602052637f5e9f20600c908152600091909152603490205490565b6102896105203660046115aa565b610fb0565b6102896105333660046115aa565b610ff0565b34801561054457600080fd5b5061023b6105533660046115aa565b63389a75e1600c908152600091909152602090205490565b606060405180606001604052806021815260200161177a60219139905090565b600082602052637f5e9f20600c5233600052816034600c205581600052602c5160601c337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560206000a35060015b92915050565b600154610100900460ff16156106275760405162461bcd60e51b81526020600482015260086024820152672727aa2fa7a822a760c11b60448201526064015b60405180910390fd5b60025442116106635760405162461bcd60e51b81526020600482015260086024820152672727aa2fa7a822a760c11b604482015260640161061e565b3360009081526008602052604090205460ff16156106af5760405162461bcd60e51b81526020600482015260096024820152684455504c494341544560b81b604482015260640161061e565b6006546040516323b872dd60e01b815233600482015230602482015266470de4df82000060448201819052916001600160a01b0316906323b872dd906064016020604051808303816000875af1925050508015610729575060408051601f3d908101601f191682019092526107269181019061167e565b60015b61076b578034146107665760405162461bcd60e51b81526020600482015260076024820152664241445f46454560c81b604482015260640161061e565b61076d565b505b806004600082825461077f91906116b6565b9091555050336000908152600860205260408120805460ff191660011790556003546107ac9083906116c9565b6064600054600a6107bd91906116eb565b6107c791906116c9565b6107d191906116c9565b60405163a9059cbb60e01b815233600482015260248101829052909150309063a9059cbb906044016020604051808303816000875af1158015610818573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083c919061167e565b5060035460045410610c2957600660009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0476040518263ffffffff1660e01b81526004016000604051808303818588803b15801561089857600080fd5b505af11580156108ac573d6000803e3d6000fd5b505060065460405163095ea7b360e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d600482015260001960248201526001600160a01b03909116935063095ea7b3925060440190506020604051808303816000875af1158015610918573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093c919061167e565b5060405163095ea7b360e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d60048201526000196024820152309063095ea7b3906044016020604051808303816000875af1158015610996573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ba919061167e565b506006546040516370a0823160e01b81523060048201819052737a250d5630b4cf539739df2c5dacb4c659f2488d9263e8e33700926001600160a01b039091169082906370a0823190602401602060405180830381865afa158015610a23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a479190611702565b6006546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015610a8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab39190611702565b60405160e086901b6001600160e01b03191681526001600160a01b03948516600482015292841660248401526044830191909152606482015260006084820181905260a48201527f000000000000000000000000000000000000000000000000000000000000000090911660c48201524260e4820152610104016060604051808303816000875af1158015610b4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b70919061171b565b5050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004016020604051808303816000875af1158015610bd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf79190611749565b600780546001600160a01b03929092166001600160a01b03199092169190911790556001805461ff0019166101001790555b5050565b600154600090610100900460ff1680610c5757506001600160a01b038416301480610c5757503330145b610c6057600080fd5b6000610c6d858585611017565b90506000610c7b8285611766565b90508015610c9157610c8f86600083611348565b505b610c9c868684611348565b9695505050505050565b60006202a30067ffffffffffffffff164201905063389a75e1600c5233600052806020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d600080a250565b600080610d0161056b565b8051906020012090506040517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81528160208201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6604082015246606082015230608082015260a081209250505090565b63389a75e1600c523360005260006020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92600080a2565b610db7611406565b610dc16000611421565b565b600154600090610100900460ff1680610ddb57503330145b610de457600080fd5b6000610df1338585611017565b90506000610dff8285611766565b90508015610e1457610e1260008261145f565b505b610e1e858361145f565b95945050505050565b6000610e3161056b565b80519060200120905084421115610e5057631a15a3cc6000526004601cfd5b6040518860601b60601c98508760601b60601c975065383775081901600e52886000526020600c2080547f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f83528360208401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6604084015246606084015230608084015260a08320602e527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c983528a60208401528960408401528860608401528060808401528760a084015260c08320604e526042602c206000528660ff1660205285604052846060526020806080600060015afa8b3d5114610f5c5763ddafbaef6000526004601cfd5b0190556303faf4f960a51b88176040526034602c2087905587897f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925602060608501a360405250506000606052505050505050565b610fb8611406565b63389a75e1600c52806000526020600c208054421115610fe057636f5e88186000526004601cfd5b60009055610fed81611421565b50565b610ff8611406565b8060601b61100e57637448fbae6000526004601cfd5b610fed81611421565b60008060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166391cf6d3e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561107a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109e9190611702565b90508015806110b857506005546110b590826116b6565b42115b156110c557839150611106565b60006110d18242611766565b6110dc9060646116eb565b90506064600554826110ee91906116c9565b6110f890876116eb565b61110291906116c9565b9250505b60015460ff1615801561112657506007546001600160a01b038681169116145b156111b5576001805460ff1916811790556040805163341212db60e21b815290516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163d0484b6c91600480830192600092919082900301818387803b15801561119857600080fd5b505af19250505080156111a9575060015b506001805460ff191690555b6007546001600160a01b0316158015906111dc57506007546001600160a01b038781169116145b1561133f5760007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c880a1a06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611241573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112659190611702565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316635e7458976040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112eb9190611702565b905080821061133c5760405162461bcd60e51b815260206004820152601c60248201527f455843455353204d41524b4554204341504954414c495a4154494f4e00000000604482015260640161061e565b50505b50949350505050565b60008360601b33602052637f5e9f208117600c526034600c20805460018101156113885780851115611382576313be252b6000526004601cfd5b84810382555b50506387a211a28117600c526020600c208054808511156113b15763f4d678b86000526004601cfd5b84810382555050836000526020600c208381540181555082602052600c5160601c8160601c7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602080a3505060019392505050565b638b78c6d819543314610dc1576382b429006000526004601cfd5b638b78c6d81980546001600160a01b039092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a355565b60006387a211a2600c52336000526020600c2080548084111561148a5763f4d678b86000526004601cfd5b83810382555050826000526020600c208281540181555081602052600c5160601c337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602080a350600192915050565b600060208083528351808285015260005b81811015611507578581018301518582016040015282016114eb565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610fed57600080fd5b6000806040838503121561155057600080fd5b823561155b81611528565b946020939093013593505050565b60008060006060848603121561157e57600080fd5b833561158981611528565b9250602084013561159981611528565b929592945050506040919091013590565b6000602082840312156115bc57600080fd5b81356115c781611528565b9392505050565b600080600080600080600060e0888a0312156115e957600080fd5b87356115f481611528565b9650602088013561160481611528565b95506040880135945060608801359350608088013560ff8116811461162857600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561165857600080fd5b823561166381611528565b9150602083013561167381611528565b809150509250929050565b60006020828403121561169057600080fd5b815180151581146115c757600080fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156105d9576105d96116a0565b6000826116e657634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176105d9576105d96116a0565b60006020828403121561171457600080fd5b5051919050565b60008060006060848603121561173057600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561175b57600080fd5b81516115c781611528565b818103818111156105d9576105d96116a056fe53696d706c6520436f6f6c204175746f6d61746963204d6f6e65792052656d6978a2646970667358221220fb557460e48cdadc96e2ed3f6e118af2fa165d03277c0653f582dea887e26fd164736f6c63430008150033608060405234801561001057600080fd5b5061001a336100c4565b737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561006c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100909190610100565b600180546001600160a01b03929092166001600160a01b0319928316179055600280549091163317905560b4600555610130565b6001600160a01b0316638b78c6d8198190558060007f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a350565b60006020828403121561011257600080fd5b81516001600160a01b038116811461012957600080fd5b9392505050565b6113608061013f6000396000f3fe60806040526004361061010d5760003560e01c80638129fc1c11610095578063c880a1a011610064578063c880a1a0146102ba578063d0484b6c146102cf578063f04e283e146102e4578063f2fde38b146102f7578063fee81cf41461030a57600080fd5b80638129fc1c146102615780638da5cb5b1461027657806391cf6d3e1461028f5780639e307955146102a557600080fd5b806354044d4b116100dc57806354044d4b1461020257806354d1f13d146102265780635e7458971461022e57806370d0318f14610243578063715018a61461025957600080fd5b80631a6865021461017d57806325692962146101ba5780633d8a63e4146101c25780633fc8cef3146101e257600080fd5b3661017857600160009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b15801561016257600080fd5b505af1158015610176573d6000803e3d6000fd5b005b600080fd5b34801561018957600080fd5b5060035461019d906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61017661033d565b3480156101ce57600080fd5b5060025461019d906001600160a01b031681565b3480156101ee57600080fd5b5060015461019d906001600160a01b031681565b34801561020e57600080fd5b5061021860045481565b6040519081526020016101b1565b61017661038d565b34801561023a57600080fd5b506102186103c9565b34801561024f57600080fd5b5061021860055481565b610176610415565b34801561026d57600080fd5b5061019d610429565b34801561028257600080fd5b50638b78c6d8195461019d565b34801561029b57600080fd5b5061021860005481565b3480156102b157600080fd5b5061021861069a565b3480156102c657600080fd5b50610218610747565b3480156102db57600080fd5b50610176610a04565b6101766102f2366004611020565b610d0c565b610176610305366004611020565b610d4c565b34801561031657600080fd5b50610218610325366004611020565b63389a75e1600c908152600091909152602090205490565b60006202a30067ffffffffffffffff164201905063389a75e1600c5233600052806020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d600080a250565b63389a75e1600c523360005260006020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92600080a2565b60008054620186a09082036103dd57919050565b8062015180600054426103f0919061105a565b6103fa919061106d565b61040590600161108f565b61040f91906110a2565b91505090565b61041d610d73565b6104276000610d8e565b565b6000610433610d73565b60025460015460405163e6a4390560e01b81526001600160a01b03928316600482015291166024820152735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f9063e6a4390590604401602060405180830381865afa158015610499573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104bd91906110b9565b600380546001600160a01b0319166001600160a01b0392909216918217905560405163095ea7b360e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d6004820152600019602482015263095ea7b3906044016020604051808303816000875af1158015610533573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055791906110d6565b5060015460405163095ea7b360e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d600482015260001960248201526001600160a01b039091169063095ea7b3906044016020604051808303816000875af11580156105be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e291906110d6565b5060025460405163095ea7b360e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d600482015260001960248201526001600160a01b039091169063095ea7b3906044016020604051808303816000875af1158015610649573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066d91906110d6565b5060055461067b904261108f565b6004554260005561068a610415565b506003546001600160a01b031690565b6000806000730d4a11d5eeaac28ec3f61d100daf4d40471f18526001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156106f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107159190611114565b506001600160701b039182169350169050816107368264e8d4a510006110a2565b610740919061106d565b9250505090565b6003546000906001600160a01b03166107605750600090565b600061076a61069a565b9050600080600360009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156107c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e69190611114565b5060015460035460408051630dfe168160e01b815290516001600160701b0395861697509390941694506000936001600160a01b03928316939190921691630dfe16819160048083019260209291908290030181865afa15801561084e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087291906110b9565b6001600160a01b0316036108ab578161089a846ec097ce7bc90715b34b9f10000000006110a2565b6108a4919061106d565b90506108d2565b826108c5836ec097ce7bc90715b34b9f10000000006110a2565b6108cf919061106d565b90505b6002546040516370a0823160e01b8152600060048201819052916001600160a01b0316906370a0823190602401602060405180830381865afa15801561091c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109409190611164565b9050760a70c3c40a64e6c51999090b65f67d924000000000000081600260009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d29190611164565b6109dc919061105a565b6109e687856110a2565b6109f091906110a2565b6109fa919061106d565b9550505050505090565b6000541580610a1c57506003546001600160a01b0316155b80610a28575060045442105b15610a2f57565b600554610a3c904261108f565b60049081556003546040516370a0823160e01b815230928101929092526000916001600160a01b03909116906370a0823190602401602060405180830381865afa158015610a8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab29190611164565b90508015610ae257600154600254610ae2916001600160a01b039081169116610add6103e88561106d565b610dcc565b6002546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610b2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4f9190611164565b60025460405163a9059cbb60e01b815260006004820152602481018390529192506001600160a01b03169063a9059cbb906044016020604051808303816000875af1158015610ba2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc691906110d6565b506001546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610c10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c349190611164565b6040805160028082526060820183529293506000929091602083019080368337505060015482519293506001600160a01b031691839150600090610c7a57610c7a611193565b6001600160a01b039283166020918202929092010152600254825191169082906001908110610cab57610cab611193565b6001600160a01b03909216602092830291909101909101526000610cd9610cd360028561106d565b83610e7f565b60015460028054929350610d05926001600160a01b03928316921690610cff908761106d565b84610f49565b5050505050565b610d14610d73565b63389a75e1600c52806000526020600c208054421115610d3c57636f5e88186000526004601cfd5b60009055610d4981610d8e565b50565b610d54610d73565b8060601b610d6a57637448fbae6000526004601cfd5b610d4981610d8e565b638b78c6d819543314610427576382b429006000526004601cfd5b638b78c6d81980546001600160a01b039092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a355565b60008111610dd957600080fd5b604051635d5155ef60e11b81526001600160a01b038085166004830152831660248201526044810182905260006064820181905260848201523060a48201524260c4820152737a250d5630b4cf539739df2c5dacb4c659f2488d9063baa2abde9060e40160408051808303816000875af1158015610e5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0591906111a9565b6000808311610e8d57600080fd5b6040516338ed173960e01b8152600090737a250d5630b4cf539739df2c5dacb4c659f2488d906338ed173990610ecf90879085908890309042906004016111cd565b6000604051808303816000875af1158015610eee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f16919081019061123e565b90508060018251610f27919061105a565b81518110610f3757610f37611193565b60200260200101519150505b92915050565b60405162e8e33760e81b81526001600160a01b03808616600483015284166024820152604481018390526064810182905260006084820181905260a482018190523060c48301524260e483015290737a250d5630b4cf539739df2c5dacb4c659f2488d9063e8e3370090610104016060604051808303816000875af1158015610fd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ffa91906112fc565b9250505060008111610d0557600080fd5b6001600160a01b0381168114610d4957600080fd5b60006020828403121561103257600080fd5b813561103d8161100b565b9392505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610f4357610f43611044565b60008261108a57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610f4357610f43611044565b8082028115828204841417610f4357610f43611044565b6000602082840312156110cb57600080fd5b815161103d8161100b565b6000602082840312156110e857600080fd5b8151801515811461103d57600080fd5b80516001600160701b038116811461110f57600080fd5b919050565b60008060006060848603121561112957600080fd5b611132846110f8565b9250611140602085016110f8565b9150604084015163ffffffff8116811461115957600080fd5b809150509250925092565b60006020828403121561117657600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600080604083850312156111bc57600080fd5b505080516020909101519092909150565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561121d5784516001600160a01b0316835293830193918301916001016111f8565b50506001600160a01b03969096166060850152505050608001529392505050565b6000602080838503121561125157600080fd5b825167ffffffffffffffff8082111561126957600080fd5b818501915085601f83011261127d57600080fd5b81518181111561128f5761128f61117d565b8060051b604051601f19603f830116810181811085821117156112b4576112b461117d565b6040529182528482019250838101850191888311156112d257600080fd5b938501935b828510156112f0578451845293850193928501926112d7565b98975050505050505050565b60008060006060848603121561131157600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220e1d4175b062a676348447f39aa6e9b02f188fddd8a9467945a348ce95398d0c464736f6c634300081500338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0
Deployed Bytecode
0x6080604052600436106101c25760003560e01c806373ad468a116100f7578063b010a48a11610095578063dd62ed3e11610064578063dd62ed3e146104dc578063f04e283e14610512578063f2fde38b14610525578063fee81cf41461053857600080fd5b8063b010a48a14610439578063c2a744b414610469578063c2b6b58c1461049d578063d505accf146104bc57600080fd5b80638ddc3b19116100d15780638ddc3b19146103bf57806395d89b41146103d5578063a9059cbb14610403578063a97eaba71461042357600080fd5b806373ad468a1461035d5780637ecebe00146103735780638da5cb5b146103a657600080fd5b8063313ce567116101645780633fc8cef31161013e5780633fc8cef3146102fa57806354d1f13d1461031a57806370a0823114610322578063715018a61461035557600080fd5b8063313ce567146102b357806333eb06c4146102cf5780633644e515146102e557600080fd5b80631a686502116101a05780631a6865021461024957806322f76a491461028157806323b872dd1461028b57806325692962146102ab57600080fd5b806306fdde03146101c7578063095ea7b3146101f257806318160ddd14610222575b600080fd5b3480156101d357600080fd5b506101dc61056b565b6040516101e991906114da565b60405180910390f35b3480156101fe57600080fd5b5061021261020d36600461153d565b61058b565b60405190151581526020016101e9565b34801561022e57600080fd5b506805345cdf77eb68f44c545b6040519081526020016101e9565b34801561025557600080fd5b50600754610269906001600160a01b031681565b6040516001600160a01b0390911681526020016101e9565b6102896105df565b005b34801561029757600080fd5b506102126102a6366004611569565b610c2d565b610289610ca6565b3480156102bf57600080fd5b50604051601281526020016101e9565b3480156102db57600080fd5b5061023b60055481565b3480156102f157600080fd5b5061023b610cf6565b34801561030657600080fd5b50600654610269906001600160a01b031681565b610289610d73565b34801561032e57600080fd5b5061023b61033d3660046115aa565b6387a211a2600c908152600091909152602090205490565b610289610daf565b34801561036957600080fd5b5061023b60035481565b34801561037f57600080fd5b5061023b61038e3660046115aa565b6338377508600c908152600091909152602090205490565b3480156103b257600080fd5b50638b78c6d81954610269565b3480156103cb57600080fd5b5061023b60045481565b3480156103e157600080fd5b5060408051808201909152600581526429a1a0a6a960d91b60208201526101dc565b34801561040f57600080fd5b5061021261041e36600461153d565b610dc3565b34801561042f57600080fd5b5061023b60025481565b34801561044557600080fd5b506102126104543660046115aa565b60086020526000908152604090205460ff1681565b34801561047557600080fd5b506102697f0000000000000000000000002945c1a10f27c7dcfb1e6be83f151d6c24553cc081565b3480156104a957600080fd5b5060015461021290610100900460ff1681565b3480156104c857600080fd5b506102896104d73660046115ce565b610e27565b3480156104e857600080fd5b5061023b6104f7366004611645565b602052637f5e9f20600c908152600091909152603490205490565b6102896105203660046115aa565b610fb0565b6102896105333660046115aa565b610ff0565b34801561054457600080fd5b5061023b6105533660046115aa565b63389a75e1600c908152600091909152602090205490565b606060405180606001604052806021815260200161177a60219139905090565b600082602052637f5e9f20600c5233600052816034600c205581600052602c5160601c337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560206000a35060015b92915050565b600154610100900460ff16156106275760405162461bcd60e51b81526020600482015260086024820152672727aa2fa7a822a760c11b60448201526064015b60405180910390fd5b60025442116106635760405162461bcd60e51b81526020600482015260086024820152672727aa2fa7a822a760c11b604482015260640161061e565b3360009081526008602052604090205460ff16156106af5760405162461bcd60e51b81526020600482015260096024820152684455504c494341544560b81b604482015260640161061e565b6006546040516323b872dd60e01b815233600482015230602482015266470de4df82000060448201819052916001600160a01b0316906323b872dd906064016020604051808303816000875af1925050508015610729575060408051601f3d908101601f191682019092526107269181019061167e565b60015b61076b578034146107665760405162461bcd60e51b81526020600482015260076024820152664241445f46454560c81b604482015260640161061e565b61076d565b505b806004600082825461077f91906116b6565b9091555050336000908152600860205260408120805460ff191660011790556003546107ac9083906116c9565b6064600054600a6107bd91906116eb565b6107c791906116c9565b6107d191906116c9565b60405163a9059cbb60e01b815233600482015260248101829052909150309063a9059cbb906044016020604051808303816000875af1158015610818573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083c919061167e565b5060035460045410610c2957600660009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0476040518263ffffffff1660e01b81526004016000604051808303818588803b15801561089857600080fd5b505af11580156108ac573d6000803e3d6000fd5b505060065460405163095ea7b360e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d600482015260001960248201526001600160a01b03909116935063095ea7b3925060440190506020604051808303816000875af1158015610918573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093c919061167e565b5060405163095ea7b360e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d60048201526000196024820152309063095ea7b3906044016020604051808303816000875af1158015610996573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ba919061167e565b506006546040516370a0823160e01b81523060048201819052737a250d5630b4cf539739df2c5dacb4c659f2488d9263e8e33700926001600160a01b039091169082906370a0823190602401602060405180830381865afa158015610a23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a479190611702565b6006546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015610a8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab39190611702565b60405160e086901b6001600160e01b03191681526001600160a01b03948516600482015292841660248401526044830191909152606482015260006084820181905260a48201527f0000000000000000000000002945c1a10f27c7dcfb1e6be83f151d6c24553cc090911660c48201524260e4820152610104016060604051808303816000875af1158015610b4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b70919061171b565b5050507f0000000000000000000000002945c1a10f27c7dcfb1e6be83f151d6c24553cc06001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004016020604051808303816000875af1158015610bd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf79190611749565b600780546001600160a01b03929092166001600160a01b03199092169190911790556001805461ff0019166101001790555b5050565b600154600090610100900460ff1680610c5757506001600160a01b038416301480610c5757503330145b610c6057600080fd5b6000610c6d858585611017565b90506000610c7b8285611766565b90508015610c9157610c8f86600083611348565b505b610c9c868684611348565b9695505050505050565b60006202a30067ffffffffffffffff164201905063389a75e1600c5233600052806020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d600080a250565b600080610d0161056b565b8051906020012090506040517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81528160208201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6604082015246606082015230608082015260a081209250505090565b63389a75e1600c523360005260006020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92600080a2565b610db7611406565b610dc16000611421565b565b600154600090610100900460ff1680610ddb57503330145b610de457600080fd5b6000610df1338585611017565b90506000610dff8285611766565b90508015610e1457610e1260008261145f565b505b610e1e858361145f565b95945050505050565b6000610e3161056b565b80519060200120905084421115610e5057631a15a3cc6000526004601cfd5b6040518860601b60601c98508760601b60601c975065383775081901600e52886000526020600c2080547f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f83528360208401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6604084015246606084015230608084015260a08320602e527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c983528a60208401528960408401528860608401528060808401528760a084015260c08320604e526042602c206000528660ff1660205285604052846060526020806080600060015afa8b3d5114610f5c5763ddafbaef6000526004601cfd5b0190556303faf4f960a51b88176040526034602c2087905587897f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925602060608501a360405250506000606052505050505050565b610fb8611406565b63389a75e1600c52806000526020600c208054421115610fe057636f5e88186000526004601cfd5b60009055610fed81611421565b50565b610ff8611406565b8060601b61100e57637448fbae6000526004601cfd5b610fed81611421565b60008060007f0000000000000000000000002945c1a10f27c7dcfb1e6be83f151d6c24553cc06001600160a01b03166391cf6d3e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561107a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109e9190611702565b90508015806110b857506005546110b590826116b6565b42115b156110c557839150611106565b60006110d18242611766565b6110dc9060646116eb565b90506064600554826110ee91906116c9565b6110f890876116eb565b61110291906116c9565b9250505b60015460ff1615801561112657506007546001600160a01b038681169116145b156111b5576001805460ff1916811790556040805163341212db60e21b815290516001600160a01b037f0000000000000000000000002945c1a10f27c7dcfb1e6be83f151d6c24553cc0169163d0484b6c91600480830192600092919082900301818387803b15801561119857600080fd5b505af19250505080156111a9575060015b506001805460ff191690555b6007546001600160a01b0316158015906111dc57506007546001600160a01b038781169116145b1561133f5760007f0000000000000000000000002945c1a10f27c7dcfb1e6be83f151d6c24553cc06001600160a01b031663c880a1a06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611241573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112659190611702565b905060007f0000000000000000000000002945c1a10f27c7dcfb1e6be83f151d6c24553cc06001600160a01b0316635e7458976040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112eb9190611702565b905080821061133c5760405162461bcd60e51b815260206004820152601c60248201527f455843455353204d41524b4554204341504954414c495a4154494f4e00000000604482015260640161061e565b50505b50949350505050565b60008360601b33602052637f5e9f208117600c526034600c20805460018101156113885780851115611382576313be252b6000526004601cfd5b84810382555b50506387a211a28117600c526020600c208054808511156113b15763f4d678b86000526004601cfd5b84810382555050836000526020600c208381540181555082602052600c5160601c8160601c7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602080a3505060019392505050565b638b78c6d819543314610dc1576382b429006000526004601cfd5b638b78c6d81980546001600160a01b039092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a355565b60006387a211a2600c52336000526020600c2080548084111561148a5763f4d678b86000526004601cfd5b83810382555050826000526020600c208281540181555081602052600c5160601c337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602080a350600192915050565b600060208083528351808285015260005b81811015611507578581018301518582016040015282016114eb565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610fed57600080fd5b6000806040838503121561155057600080fd5b823561155b81611528565b946020939093013593505050565b60008060006060848603121561157e57600080fd5b833561158981611528565b9250602084013561159981611528565b929592945050506040919091013590565b6000602082840312156115bc57600080fd5b81356115c781611528565b9392505050565b600080600080600080600060e0888a0312156115e957600080fd5b87356115f481611528565b9650602088013561160481611528565b95506040880135945060608801359350608088013560ff8116811461162857600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561165857600080fd5b823561166381611528565b9150602083013561167381611528565b809150509250929050565b60006020828403121561169057600080fd5b815180151581146115c757600080fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156105d9576105d96116a0565b6000826116e657634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176105d9576105d96116a0565b60006020828403121561171457600080fd5b5051919050565b60008060006060848603121561173057600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561175b57600080fd5b81516115c781611528565b818103818111156105d9576105d96116a056fe53696d706c6520436f6f6c204175746f6d61746963204d6f6e65792052656d6978a2646970667358221220fb557460e48cdadc96e2ed3f6e118af2fa165d03277c0653f582dea887e26fd164736f6c63430008150033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.