Skip to content
Verified contractPartialMIT

GweiFunEthFactory

Address0x55b2bc1e7970b6fdf7a9479ed683a4e0856aec65
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.8.26

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.26+commit.8a97fa7a
Language
solidity
Optimization
Yes, 200 runs
EVM version
cancun
License
MIT
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
26,443,869
Creation transaction
0xc8574e2db3…05f23eb913

89 files

The source code is large: one file is shown at a time. Choose a file in the list.

src/creators/GweiFunEthFactory.sol

// SPDX-License-Identifier: MIT
/*
 ╔═══════════════════════════════════════════════════════════════════════════════════════╗
 ║ ▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚ ║
 ║ ▞                                                                                   ▚ ║
 ║ ▞   ┌─[ SYS ]──────────────────────────────────────────────────────────[ v4 ]─┐     ▚ ║
 ║ ▞   │ ◉ ONLINE   ◎ UNISWAP v4   ◎ ETHEREUM MAINNET   ◎ PERMISSIONLESS LAUNCH  │     ▚ ║
 ║ ▞   └─────────────────────────────────────────────────────────────────────────┘     ▚ ║
 ║ ▞                                                                                   ▚ ║
 ║ ▞       ▄████████▄ ██      ██ ████████ ██    ████████ ██    ██ ███    ██            ▚ ║
 ║ ▞      ██▀▀▀▀▀▀▀▀  ██  ▄▄  ██ ██▀▀▀▀▀▀ ██    ██▀▀▀▀▀▀ ██    ██ ████▄  ██            ▚ ║
 ║ ▞      ██   ▄████▄ ██ ████ ██ ██████   ██    ██████   ██    ██ ██ ▀██▄██            ▚ ║
 ║ ▞      ██   ▀▀▀▀██ ██▀█▀▀█▀██ ██▄▄▄▄▄▄ ██ ▄▄ ██       ▀██▄▄██▀ ██   ▀███            ▚ ║
 ║ ▞       ▀████████▀ ▀██▀  ▀██▀ ████████ ██ ▀▀ ██        ▀████▀  ██    ▀██            ▚ ║
 ║ ▞                                                                                   ▚ ║
 ║ ▞   ╭─────────────────────────────────────────────────────────────────────────╮     ▚ ║
 ║ ▞   │  ░▒▓█▓▒░   T O K E N   L A U N C H P A D   ·   H O O K   P O W E R E D  │     ▚ ║
 ║ ▞   ╰─────────────────────────────────────────────────────────────────────────╯     ▚ ║
 ║ ▞                                                                                   ▚ ║
 ║ ▞   ┌──────────────────────────────────┐   ┌──────────────────────────────────┐     ▚ ║
 ║ ▞   │  ◈  https://gwei.fun/            │   │  ✕  https://x.com/gweidotfun     │     ▚ ║
 ║ ▞   └──────────────────────────────────┘   └──────────────────────────────────┘     ▚ ║
 ║ ▞                                                                                   ▚ ║
 ║ ▞   ·──·──·──·──·──·──·──·──·──·──·──·──·──·──·──·──·──·──·──·──·──·──·──·──·──·    ▚ ║
 ║ ▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚▚ ║
 ╚═══════════════════════════════════════════════════════════════════════════════════════╝
*/
pragma solidity 0.8.26;

import {IGweiFunLaunchpad, AssetClass} from "../shared/IGweiFunLaunchpad.sol";
import {GweiFunPoolSeeder} from "../platform/GweiFunPoolSeeder.sol";
import {SingleClassFactoryBase} from "./base/SingleClassFactoryBase.sol";

/// @title GweiFunEthFactory
/// @notice Default venue: plain fixed-supply token priced in native ETH, no creator levy — only
///         the protocol swap fee applies. Native pools need no wrapping and route easily.
/// @custom:version 1.1
contract GweiFunEthFactory is SingleClassFactoryBase {
    constructor(address owner_, IGweiFunLaunchpad launchpad_, GweiFunPoolSeeder poolSeeder_)
        SingleClassFactoryBase(owner_, launchpad_, poolSeeder_, AssetClass.NATIVE)
    {}

    function venueId() external pure override returns (string memory) {
        return "venue.native";
    }

    /// @dev ETH only.
    function _isPinnedAsset(address asset) internal pure override returns (bool) {
        return asset == address(0);
    }
}
Compiler settingsShow
{
  "viaIR": false,
  "metadata": {
    "appendCBOR": true,
    "bytecodeHash": "none",
    "useLiteralContent": false
  },
  "optimizer": {
    "runs": 200,
    "enabled": true
  },
  "evmVersion": "cancun",
  "remappings": [
    "@uniswap/v4-core/=node_modules/@uniswap/v4-periphery/lib/v4-core/",
    "@uniswap/v4-periphery/=node_modules/@uniswap/v4-periphery/",
    "v4-core/=node_modules/@uniswap/v4-periphery/lib/v4-core/",
    "v4-periphery/=node_modules/@uniswap/v4-periphery/",
    "permit2/=node_modules/@uniswap/v4-periphery/lib/permit2/",
    "solmate/=node_modules/@uniswap/v4-periphery/lib/v4-core/lib/solmate/",
    "forge-std/=node_modules/@uniswap/v4-periphery/lib/v4-core/lib/forge-std/src/",
    "ds-test/=node_modules/@uniswap/v4-periphery/lib/v4-core/lib/forge-std/lib/ds-test/src/",
    "openzeppelin-contracts/contracts/=node_modules/@openzeppelin/contracts/",
    "@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/",
    "node_modules/@uniswap/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/:erc4626-tests/=node_modules/@uniswap/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/lib/erc4626-tests/",
    "/Users/steve/Documents/gweifun/node_modules/@uniswap/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/:erc4626-tests/=node_modules/@uniswap/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/lib/erc4626-tests/",
    "node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/:erc4626-tests/=node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/lib/erc4626-tests/",
    "/Users/steve/Documents/gweifun/node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/:erc4626-tests/=node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/lib/erc4626-tests/",
    "node_modules/@uniswap/v4-periphery/lib/permit2/:openzeppelin-contracts/contracts/=node_modules/@openzeppelin/contracts/",
    "/Users/steve/Documents/gweifun/node_modules/@uniswap/v4-periphery/lib/permit2/:openzeppelin-contracts/contracts/=node_modules/@openzeppelin/contracts/",
    "node_modules/@uniswap/v4-periphery/lib/permit2/:openzeppelin-contracts/=node_modules/@uniswap/v4-periphery/lib/permit2/lib/openzeppelin-contracts/",
    "/Users/steve/Documents/gweifun/node_modules/@uniswap/v4-periphery/lib/permit2/:openzeppelin-contracts/=node_modules/@uniswap/v4-periphery/lib/permit2/lib/openzeppelin-contracts/",
    "node_modules/@uniswap/v4-periphery/lib/v4-core/:openzeppelin-contracts/contracts/=node_modules/@openzeppelin/contracts/",
    "/Users/steve/Documents/gweifun/node_modules/@uniswap/v4-periphery/lib/v4-core/:openzeppelin-contracts/contracts/=node_modules/@openzeppelin/contracts/",
    "node_modules/@uniswap/v4-periphery/lib/v4-core/:openzeppelin-contracts/=node_modules/@uniswap/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/",
    "/Users/steve/Documents/gweifun/node_modules/@uniswap/v4-periphery/lib/v4-core/:openzeppelin-contracts/=node_modules/@uniswap/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/",
    "node_modules/@uniswap/v4-core/:openzeppelin-contracts/contracts/=node_modules/@openzeppelin/contracts/",
    "/Users/steve/Documents/gweifun/node_modules/@uniswap/v4-core/:openzeppelin-contracts/contracts/=node_modules/@openzeppelin/contracts/",
    "node_modules/@uniswap/v4-core/:openzeppelin-contracts/=node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/",
    "/Users/steve/Documents/gweifun/node_modules/@uniswap/v4-core/:openzeppelin-contracts/=node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/",
    "@openzeppelin/=node_modules/@openzeppelin/",
    "@uniswap/=node_modules/@uniswap/",
    "erc4626-tests/=node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-gas-snapshot/=node_modules/@uniswap/v4-periphery/lib/permit2/lib/forge-gas-snapshot/",
    "openzeppelin-contracts/=node_modules/@uniswap/v4-core/lib/openzeppelin-contracts/"
  ]
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.