Overview ERC20
PRICE
$0.047292 @ 0.000001756 AVAX (52.85%)

ON-CHAIN MARKET CAP $63,479.33

Total Supply:
1,000,000,000.00 LFG

Holders:
1,069
Profile Summary
Blockchain:
C-Chain (43114)


Decimals:
18
Contract Source Code Verified (Partial Match)
Contract Name:
LFG

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
Yes with 200 runs

Created At:
Mon, 12 Feb 2024 19:40:55 GMT
LFG.sol
src
LFG.sol


Contract ABI
[
  {
    "inputs": [],
    "stateMutability": "nonpayable",
    "type": "constructor"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "allowance",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "needed",
        "type": "uint256"
      }
    ],
    "name": "ERC20InsufficientAllowance",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "sender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "balance",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "needed",
        "type": "uint256"
      }
    ],
    "name": "ERC20InsufficientBalance",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "approver",
        "type": "address"
      }
    ],
    "name": "ERC20InvalidApprover",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "receiver",
        "type": "address"
      }
    ],
    "name": "ERC20InvalidReceiver",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "sender",
        "type": "address"
      }
    ],
    "name": "ERC20InvalidSender",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      }
    ],
    "name": "ERC20InvalidSpender",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "owner",
        "type": "address"
      }
    ],
    "name": "OwnableInvalidOwner",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      }
    ],
    "name": "OwnableUnauthorizedAccount",
    "type": "error"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "owner",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "value",
        "type": "uint256"
      }
    ],
    "name": "Approval",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "previousOwner",
        "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": "value",
        "type": "uint256"
      }
    ],
    "name": "Transfer",
    "type": "event"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "owner",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      }
    ],
    "name": "allowance",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "value",
        "type": "uint256"
      }
    ],
    "name": "approve",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      }
    ],
    "name": "balanceOf",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "decimals",
    "outputs": [
      {
        "internalType": "uint8",
        "name": "",
        "type": "uint8"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "initializing",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "liquidityPool",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "name",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "owner",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "renounceOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "renounceTokenOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bool",
        "name": "_state",
        "type": "bool"
      }
    ],
    "name": "setInitializingState",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_liquidityPool",
        "type": "address"
      }
    ],
    "name": "setLiquidityPool",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "symbol",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "totalSupply",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "to",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "value",
        "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": "value",
        "type": "uint256"
      }
    ],
    "name": "transferFrom",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "transferOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]


Contract Creation Code
60806040526005805460ff60a01b1916600160a01b1790553480156200002457600080fd5b50336040518060400160405280600c81526020016b4c4f544f464f4d4f47524f5760a01b815250604051806040016040528060038152602001624c464760e81b8152508160039081620000789190620004d8565b506004620000878282620004d8565b5050506001600160a01b038116620000ba57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620000c581620000e4565b50620000de336b033b2e3c9fd0803ce800000062000136565b620005ef565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001625760405163ec442f0560e01b815260006004820152602401620000b1565b620001706000838362000174565b5050565b62000181838383620002ff565b6006546001600160a01b03166200021b576005546001600160a01b0384811691161480620001bc57506005546001600160a01b038381169116145b620002165760405162461bcd60e51b815260206004820152602360248201527f50617469656e6365202d2054726164696e67204e6f742053746172746564205960448201526265742160e81b6064820152608401620000b1565b505050565b600554600160a01b900460ff1680156200024357506005546001600160a01b03848116911614155b80156200025e57506006546001600160a01b03838116911614155b15620002165760646200027060025490565b6200027c9190620005a4565b6001600160a01b0383166000908152602081905260409020541115620002165760405162461bcd60e51b815260206004820152603160248201527f4c696d6974206f66203125206f66204c464720756e74696c20696e697469616c604482015270697a6174696f6e20636f6d706c6574652160781b6064820152608401620000b1565b6001600160a01b0383166200032e578060026000828254620003229190620005c7565b90915550620003a29050565b6001600160a01b03831660009081526020819052604090205481811015620003835760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000b1565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620003c057600280548290039055620003df565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200042591815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200045d57607f821691505b6020821081036200047e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000216576000816000526020600020601f850160051c81016020861015620004af5750805b601f850160051c820191505b81811015620004d057828155600101620004bb565b505050505050565b81516001600160401b03811115620004f457620004f462000432565b6200050c8162000505845462000448565b8462000484565b602080601f8311600181146200054457600084156200052b5750858301515b600019600386901b1c1916600185901b178555620004d0565b600085815260208120601f198616915b82811015620005755788860151825594840194600190910190840162000554565b5085821015620005945787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082620005c257634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620005e957634e487b7160e01b600052601160045260246000fd5b92915050565b610bab80620005ff6000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c806370a08231116100a2578063a9059cbb11610071578063a9059cbb14610223578063af1d06d414610236578063dd62ed3e14610249578063e14f08d514610282578063f2fde38b1461028a57600080fd5b806370a08231146101d9578063715018a6146102025780638da5cb5b1461020a57806395d89b411461021b57600080fd5b806323b872dd116100de57806323b872dd146101785780632599f1591461018b578063313ce5671461019f578063665a11ca146101ae57600080fd5b8063018770201461011057806306fdde0314610125578063095ea7b31461014357806318160ddd14610166575b600080fd5b61012361011e3660046109cc565b61029d565b005b61012d6102c7565b60405161013a91906109ee565b60405180910390f35b610156610151366004610a3d565b610359565b604051901515815260200161013a565b6002545b60405190815260200161013a565b610156610186366004610a67565b610373565b60055461015690600160a01b900460ff1681565b6040516012815260200161013a565b6006546101c1906001600160a01b031681565b6040516001600160a01b03909116815260200161013a565b61016a6101e73660046109cc565b6001600160a01b031660009081526020819052604090205490565b610123610397565b6005546001600160a01b03166101c1565b61012d6103ab565b610156610231366004610a3d565b6103ba565b610123610244366004610aa3565b6103c8565b61016a610257366004610ac5565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101236103ee565b6101236102983660046109cc565b61048d565b6102a56104cb565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6060600380546102d690610af8565b80601f016020809104026020016040519081016040528092919081815260200182805461030290610af8565b801561034f5780601f106103245761010080835404028352916020019161034f565b820191906000526020600020905b81548152906001019060200180831161033257829003601f168201915b5050505050905090565b6000336103678185856104f8565b60019150505b92915050565b60003361038185828561050a565b61038c858585610588565b506001949350505050565b61039f6104cb565b6103a960006105e7565b565b6060600480546102d690610af8565b600033610367818585610588565b6103d06104cb565b60058054911515600160a01b0260ff60a01b19909216919091179055565b6103f66104cb565b600554600160a01b900460ff1615801561041a57506006546001600160a01b031615155b6104855760405162461bcd60e51b815260206004820152603160248201527f596f75206d7573742073657420696e697469616c697a696e6720746f2066616c604482015270073652c20616e6420646566696e65204c5607c1b60648201526084015b60405180910390fd5b6103a9610397565b6104956104cb565b6001600160a01b0381166104bf57604051631e4fbdf760e01b81526000600482015260240161047c565b6104c8816105e7565b50565b6005546001600160a01b031633146103a95760405163118cdaa760e01b815233600482015260240161047c565b6105058383836001610639565b505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610582578181101561057357604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161047c565b61058284848484036000610639565b50505050565b6001600160a01b0383166105b257604051634b637e8f60e11b81526000600482015260240161047c565b6001600160a01b0382166105dc5760405163ec442f0560e01b81526000600482015260240161047c565b61050583838361070e565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166106635760405163e602df0560e01b81526000600482015260240161047c565b6001600160a01b03831661068d57604051634a1406b160e11b81526000600482015260240161047c565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561058257826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161070091815260200190565b60405180910390a350505050565b610719838383610886565b6006546001600160a01b03166107aa576005546001600160a01b038481169116148061075257506005546001600160a01b038381169116145b6105055760405162461bcd60e51b815260206004820152602360248201527f50617469656e6365202d2054726164696e67204e6f742053746172746564205960448201526265742160e81b606482015260840161047c565b600554600160a01b900460ff1680156107d157506005546001600160a01b03848116911614155b80156107eb57506006546001600160a01b03838116911614155b156105055760646107fb60025490565b6108059190610b32565b6001600160a01b03831660009081526020819052604090205411156105055760405162461bcd60e51b815260206004820152603160248201527f4c696d6974206f66203125206f66204c464720756e74696c20696e697469616c604482015270697a6174696f6e20636f6d706c6574652160781b606482015260840161047c565b6001600160a01b0383166108b15780600260008282546108a69190610b54565b909155506109239050565b6001600160a01b038316600090815260208190526040902054818110156109045760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161047c565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661093f5760028054829003905561095e565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516109a391815260200190565b60405180910390a3505050565b80356001600160a01b03811681146109c757600080fd5b919050565b6000602082840312156109de57600080fd5b6109e7826109b0565b9392505050565b60006020808352835180602085015260005b81811015610a1c57858101830151858201604001528201610a00565b506000604082860101526040601f19601f8301168501019250505092915050565b60008060408385031215610a5057600080fd5b610a59836109b0565b946020939093013593505050565b600080600060608486031215610a7c57600080fd5b610a85846109b0565b9250610a93602085016109b0565b9150604084013590509250925092565b600060208284031215610ab557600080fd5b813580151581146109e757600080fd5b60008060408385031215610ad857600080fd5b610ae1836109b0565b9150610aef602084016109b0565b90509250929050565b600181811c90821680610b0c57607f821691505b602082108103610b2c57634e487b7160e01b600052602260045260246000fd5b50919050565b600082610b4f57634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561036d57634e487b7160e01b600052601160045260246000fdfea264697066735822122079f6d907beff901c091418b5ad170abd0a266caaf068abde01133de8598f7a5864736f6c63430008170033

Loading