Overview ERC20
PRICE
$0.0117634

ON-CHAIN MARKET CAP n/a

Total Supply:
200,000,000.00 SMOG

Holders:
184
Profile Summary
Blockchain:
C-Chain (43114)


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

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Created At:
Sat, 10 Feb 2024 05:37:49 GMT
ERC20.sol
contracts
ERC20.sol


Contract ABI
[
  {
    "inputs": [],
    "stateMutability": "nonpayable",
    "type": "constructor"
  },
  {
    "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": "amount",
        "type": "uint256"
      }
    ],
    "name": "approve",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      }
    ],
    "name": "balanceOf",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "decimals",
    "outputs": [
      {
        "internalType": "uint8",
        "name": "",
        "type": "uint8"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "subtractedValue",
        "type": "uint256"
      }
    ],
    "name": "decreaseAllowance",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "addedValue",
        "type": "uint256"
      }
    ],
    "name": "increaseAllowance",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "name",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "owner",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "renounceOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "symbol",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "totalSupply",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "to",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "transfer",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "from",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "to",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "transferFrom",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "transferOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]


Contract Creation Code
60806040523480156200001157600080fd5b503360405180604001604052806004815260200163536d6f6760e01b81525060405180604001604052806004815260200163534d4f4760e01b81525081600390816200005e9190620002fa565b5060046200006d8282620002fa565b506200007d6001612710620000d8565b50506001600160a01b038116620000af57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620000ba816200013a565b50620000d2336aa56fa5b99019a5c80000006200018c565b62000412565b738e8006dfb0ca2fd0a59f0cd91a7b254c4cfd265f600a6000620000fe826001620003dc565b6200010b906001620003dc565b620001179084620003fc565b9050848015620001275750600084115b15620001335760008190555b5050505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001e45760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620000a6565b8060056000828254620001f89190620003fc565b90915550506001600160a01b0382166000818152600260209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200028157607f821691505b602082108103620002a257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200025157600081815260208120601f850160051c81016020861015620002d15750805b601f850160051c820191505b81811015620002f257828155600101620002dd565b505050505050565b81516001600160401b0381111562000316576200031662000256565b6200032e816200032784546200026c565b84620002a8565b602080601f8311600181146200036657600084156200034d5750858301515b600019600386901b1c1916600185901b178555620002f2565b600085815260208120601f198616915b82811015620003975788860151825594840194600190910190840162000376565b5085821015620003b65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620003f657620003f6620003c6565b92915050565b80820180821115620003f657620003f6620003c6565b610ae780620004226000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063715018a61161008c578063a457c2d711610066578063a457c2d7146101cd578063a9059cbb146101e0578063dd62ed3e146101f3578063f2fde38b1461020657600080fd5b8063715018a6146101a05780638da5cb5b146101aa57806395d89b41146101c557600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461016457806370a082311461017757600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f7610219565b60405161010491906108ef565b60405180910390f35b61012061011b366004610959565b6102ab565b6040519015158152602001610104565b6005545b604051908152602001610104565b610120610150366004610983565b6102c5565b60405160128152602001610104565b610120610172366004610959565b6102e9565b6101346101853660046109bf565b6001600160a01b031660009081526002602052604090205490565b6101a861030b565b005b6006546040516001600160a01b039091168152602001610104565b6100f761031f565b6101206101db366004610959565b61032e565b6101206101ee366004610959565b6103ae565b6101346102013660046109e1565b6103bc565b6101a86102143660046109bf565b6103e7565b60606003805461022890610a14565b80601f016020809104026020016040519081016040528092919081815260200182805461025490610a14565b80156102a15780601f10610276576101008083540402835291602001916102a1565b820191906000526020600020905b81548152906001019060200180831161028457829003601f168201915b5050505050905090565b6000336102b9818585610425565b60019150505b92915050565b6000336102d3858285610549565b6102de8585856105c3565b506001949350505050565b6000336102b98185856102fc83836103bc565b6103069190610a4e565b610425565b610313610766565b61031d6000610793565b565b60606004805461022890610a14565b6000338161033c82866103bc565b9050838110156103a15760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6102de8286868403610425565b6000336102b98185856105c3565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6103ef610766565b6001600160a01b03811661041957604051631e4fbdf760e01b815260006004820152602401610398565b61042281610793565b50565b6001600160a01b0383166104875760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610398565b6001600160a01b0382166104e85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610398565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061055584846103bc565b905060001981146105bd57818110156105b05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610398565b6105bd8484848403610425565b50505050565b6001600160a01b03831661060f5760405162461bcd60e51b815260206004820152601360248201527245524332303a207a65726f206164647265737360681b6044820152606401610398565b6001600160a01b03821661065b5760405162461bcd60e51b815260206004820152601360248201527245524332303a207a65726f206164647265737360681b6044820152606401610398565b6001600160a01b0383166000908152600260205260408120549061068281838760016107e5565b9050828110156106d45760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20616d6f756e7420657863656564732062616c616e63650000006044820152606401610398565b6001600160a01b0380861660009081526002602052604080822086850390559186168152908120805485929061070b908490610a4e565b92505081905550836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161075791815260200190565b60405180910390a35050505050565b6006546001600160a01b0316331461031d5760405163118cdaa760e01b8152336004820152602401610398565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600084806107f05750815b156108745760005460405163d1ed9ecd60e01b81526001600160a01b039091169063d1ed9ecd9061082c90600190309089908990600401610a6f565b602060405180830381865afa158015610849573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086d9190610a98565b90506108e7565b81156108b15760005460405163d1ed9ecd60e01b81526001600160a01b039091169063d1ed9ecd9061082c90600190309089908990600401610a6f565b6000805460405163d1ed9ecd60e01b81526001600160a01b039091169163d1ed9ecd9161082c9190309089908990600401610a6f565b949350505050565b600060208083528351808285015260005b8181101561091c57858101830151858201604001528201610900565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461095457600080fd5b919050565b6000806040838503121561096c57600080fd5b6109758361093d565b946020939093013593505050565b60008060006060848603121561099857600080fd5b6109a18461093d565b92506109af6020850161093d565b9150604084013590509250925092565b6000602082840312156109d157600080fd5b6109da8261093d565b9392505050565b600080604083850312156109f457600080fd5b6109fd8361093d565b9150610a0b6020840161093d565b90509250929050565b600181811c90821680610a2857607f821691505b602082108103610a4857634e487b7160e01b600052602260045260246000fd5b50919050565b808201808211156102bf57634e487b7160e01b600052601160045260246000fd5b93151584526001600160a01b039283166020850152604084019190915216606082015260800190565b600060208284031215610aaa57600080fd5b505191905056fea2646970667358221220a233030be39cfc60b3c291fae1bfb03af9ef493aa92238043566dc9222de3b1d64736f6c63430008140033