Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
0.01 LP-OTHR:ETH

Holders:
2
Profile Summary
Blockchain:
Ethereum (1)


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

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 100 runs

Created At:
Fri, 03 Feb 2023 16:19:35 GMT
Owned.sol
lib
solmate
src
auth
Owned.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "pairSymbol",
        "type": "string"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "constructor"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "owner",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "Approval",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "user",
        "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": "",
        "type": "bytes32"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "",
        "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": "",
        "type": "address"
      }
    ],
    "name": "balanceOf",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "from",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "burn",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "decimals",
    "outputs": [
      {
        "internalType": "uint8",
        "name": "",
        "type": "uint8"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "to",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "mint",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "name",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "name": "nonces",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "owner",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "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": "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
60e06040523480156200001157600080fd5b50604051620011d2380380620011d28339810160408190526200003491620001d5565b806040516020016200004791906200028d565b60405160208183030381529060405281604051602001620000699190620002bc565b60408051601f1981840301815290829052600080546001600160a01b03191633908117825591926012929182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001620000ca848262000378565b506002620000d9838262000378565b5060ff81166080524660a052620000ef620000fd565b60c05250620004c292505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f600160405162000131919062000444565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620001cc578181015183820152602001620001b2565b50506000910152565b600060208284031215620001e857600080fd5b81516001600160401b03808211156200020057600080fd5b818401915084601f8301126200021557600080fd5b8151818111156200022a576200022a62000199565b604051601f8201601f19908116603f0116810190838211818310171562000255576200025562000199565b816040528281528760208487010111156200026f57600080fd5b62000282836020830160208801620001af565b979650505050505050565b60008251620002a1818460208701620001af565b68102628103a37b5b2b760b91b920191825250600901919050565b624c502d60e81b815260008251620002dc816003850160208701620001af565b9190910160030192915050565b600181811c90821680620002fe57607f821691505b6020821081036200031f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200037357600081815260208120601f850160051c810160208610156200034e5750805b601f850160051c820191505b818110156200036f578281556001016200035a565b5050505b505050565b81516001600160401b0381111562000394576200039462000199565b620003ac81620003a58454620002e9565b8462000325565b602080601f831160018114620003e45760008415620003cb5750858301515b600019600386901b1c1916600185901b1785556200036f565b600085815260208120601f198616915b828110156200041557888601518255948401946001909101908401620003f4565b5085821015620004345787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008083546200045481620002e9565b600182811680156200046f57600181146200048557620004b6565b60ff1984168752821515830287019450620004b6565b8760005260208060002060005b85811015620004ad5781548a82015290840190820162000492565b50505082870194505b50929695505050505050565b60805160a05160c051610ce0620004f260003960006104a40152600061046f015260006101550152610ce06000f3fe608060405234801561001057600080fd5b50600436106100e05760003560e01c80637ecebe00116100875780637ecebe00146101c65780638da5cb5b146101e657806395d89b41146102115780639dc29fac14610219578063a9059cbb1461022c578063d505accf1461023f578063dd62ed3e14610252578063f2fde38b1461027d57600080fd5b806306fdde03146100e5578063095ea7b31461010357806318160ddd1461012657806323b872dd1461013d578063313ce567146101505780633644e5151461018957806340c10f191461019157806370a08231146101a6575b600080fd5b6100ed610290565b6040516100fa91906109b7565b60405180910390f35b610116610111366004610a21565b61031e565b60405190151581526020016100fa565b61012f60035481565b6040519081526020016100fa565b61011661014b366004610a4b565b61038b565b6101777f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016100fa565b61012f61046b565b6101a461019f366004610a21565b6104c6565b005b61012f6101b4366004610a87565b60046020526000908152604090205481565b61012f6101d4366004610a87565b60066020526000908152604090205481565b6000546101f9906001600160a01b031681565b6040516001600160a01b0390911681526020016100fa565b6100ed610507565b6101a4610227366004610a21565b610514565b61011661023a366004610a21565b610548565b6101a461024d366004610aa9565b6105ae565b61012f610260366004610b1c565b600560209081526000928352604080842090915290825290205481565b6101a461028b366004610a87565b6107ec565b6001805461029d90610b4f565b80601f01602080910402602001604051908101604052809291908181526020018280546102c990610b4f565b80156103165780601f106102eb57610100808354040283529160200191610316565b820191906000526020600020905b8154815290600101906020018083116102f957829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103799086815260200190565b60405180910390a35060015b92915050565b6001600160a01b038316600090815260056020908152604080832033845290915281205460001981146103e7576103c28382610b9f565b6001600160a01b03861660009081526005602090815260408083203384529091529020555b6001600160a01b0385166000908152600460205260408120805485929061040f908490610b9f565b90915550506001600160a01b0380851660008181526004602052604090819020805487019055519091871690600080516020610c8b833981519152906104589087815260200190565b60405180910390a3506001949350505050565b60007f000000000000000000000000000000000000000000000000000000000000000046146104a15761049c610861565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b6000546001600160a01b031633146104f95760405162461bcd60e51b81526004016104f090610bb2565b60405180910390fd5b61050382826108fb565b5050565b6002805461029d90610b4f565b6000546001600160a01b0316331461053e5760405162461bcd60e51b81526004016104f090610bb2565b6105038282610955565b33600090815260046020526040812080548391908390610569908490610b9f565b90915550506001600160a01b03831660008181526004602052604090819020805485019055513390600080516020610c8b833981519152906103799086815260200190565b428410156105f85760405162461bcd60e51b815260206004820152601760248201527614115493525517d11150511312539157d1561412549151604a1b60448201526064016104f0565b6000600161060461046b565b6001600160a01b038a811660008181526006602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa158015610710573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906107465750876001600160a01b0316816001600160a01b0316145b6107835760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b60448201526064016104f0565b6001600160a01b0390811660009081526005602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b6000546001600160a01b031633146108165760405162461bcd60e51b81526004016104f090610bb2565b600080546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60016040516108939190610bd8565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b806003600082825461090d9190610c77565b90915550506001600160a01b038216600081815260046020908152604080832080548601905551848152600080516020610c8b83398151915291015b60405180910390a35050565b6001600160a01b0382166000908152600460205260408120805483929061097d908490610b9f565b90915550506003805482900390556040518181526000906001600160a01b03841690600080516020610c8b83398151915290602001610949565b600060208083528351808285015260005b818110156109e4578581018301518582016040015282016109c8565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a1c57600080fd5b919050565b60008060408385031215610a3457600080fd5b610a3d83610a05565b946020939093013593505050565b600080600060608486031215610a6057600080fd5b610a6984610a05565b9250610a7760208501610a05565b9150604084013590509250925092565b600060208284031215610a9957600080fd5b610aa282610a05565b9392505050565b600080600080600080600060e0888a031215610ac457600080fd5b610acd88610a05565b9650610adb60208901610a05565b95506040880135945060608801359350608088013560ff81168114610aff57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610b2f57600080fd5b610b3883610a05565b9150610b4660208401610a05565b90509250929050565b600181811c90821680610b6357607f821691505b602082108103610b8357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561038557610385610b89565b6020808252600c908201526b15539055551213d49256915160a21b604082015260600190565b600080835481600182811c915080831680610bf457607f831692505b60208084108203610c1357634e487b7160e01b86526022600452602486fd5b818015610c275760018114610c3c57610c69565b60ff1986168952841515850289019650610c69565b60008a81526020902060005b86811015610c615781548b820152908501908301610c48565b505084890196505b509498975050505050505050565b8082018082111561038557610385610b8956feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220cd4f20422f89c6380eaae97fed469e459a2f6ef94909ebe70e49fd79b3188bd164736f6c63430008110033000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000084f5448523a455448000000000000000000000000000000000000000000000000