Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
100,000,000.00 BOOB

Holders:
36
Profile Summary
Blockchain:
Ethereum (1)


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

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Created At:
Thu, 02 May 2024 17:10:47 GMT
BookOfBrett.sol
BookOfBrett.sol
BookOfBrett.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_bookAddr",
        "type": "address"
      }
    ],
    "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": "value",
        "type": "uint256"
      }
    ],
    "name": "Approval",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "_maxTxAmount",
        "type": "uint256"
      }
    ],
    "name": "MaxTxAmountUpdated",
    "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"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "_tax",
        "type": "uint256"
      }
    ],
    "name": "TransferTaxUpdated",
    "type": "event"
  },
  {
    "inputs": [],
    "name": "_maxTaxSwap",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "_maxTxAmount",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "_maxWalletSize",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "_taxSwapThreshold",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "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": "pure",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "disableTransferTax",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "manualSwap",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "name",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "pure",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "openTrading",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "owner",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "removeLimits",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "renounceOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "_newFee",
        "type": "uint256"
      }
    ],
    "name": "setBrettFinalTaxFee",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "symbol",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "pure",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "totalSupply",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "pure",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "recipient",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "transfer",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "sender",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "recipient",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "transferFrom",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "stateMutability": "payable",
    "type": "receive"
  }
]


Contract Creation Code
6080604052601e600655601e600755600060085560006009556019600a55601e600b556010600c556000600d556000600e556012600a6200004191906200038a565b6200005090621e8480620003a2565b600f55620000616012600a6200038a565b6200007090621e8480620003a2565b601055620000816012600a6200038a565b6200008f906101f4620003a2565b601155620000a06012600a6200038a565b620000af906207a120620003a2565b6012556014805461ffff60a81b1916905560006015819055601655348015620000d757600080fd5b5060405162001d6438038062001d64833981016040819052620000fa91620003bc565b600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600580546001600160a01b0319166001600160a01b038316179055620001646012600a6200038a565b62000174906305f5e100620003a2565b3360009081526001602081905260408220929092556003906200019f6000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790553081526003845282812080548616600190811790915560058054841683528483208054881683179055549092168152600490935291208054909216179055620002133390565b6001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6200024d6012600a6200038a565b6200025d906305f5e100620003a2565b60405190815260200160405180910390a350620003e7565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620002cc578160001904821115620002b057620002b062000275565b80851615620002be57918102915b93841c939080029062000290565b509250929050565b600082620002e55750600162000384565b81620002f45750600062000384565b81600181146200030d5760028114620003185762000338565b600191505062000384565b60ff8411156200032c576200032c62000275565b50506001821b62000384565b5060208310610133831016604e8410600b84101617156200035d575081810a62000384565b6200036983836200028b565b806000190482111562000380576200038062000275565b0290505b92915050565b60006200039b60ff841683620002d4565b9392505050565b808202811582820484141762000384576200038462000275565b600060208284031215620003cf57600080fd5b81516001600160a01b03811681146200039b57600080fd5b61196d80620003f76000396000f3fe6080604052600436106101235760003560e01c8063715018a6116100a057806395d89b411161006457806395d89b411461031c578063a9059cbb14610349578063bf474bed14610369578063c9567bf91461037f578063dd62ed3e1461039457600080fd5b8063715018a61461029e578063751039fc146102b35780637d1db4a5146102c85780638da5cb5b146102de5780638f9a55c01461030657600080fd5b806318160ddd116100e757806318160ddd1461020257806323b872dd14610217578063313ce5671461023757806351bc3c851461025357806370a082311461026857600080fd5b806306c94cf31461012f57806306fdde0314610151578063095ea7b3146101995780630faee56f146101c957806312818f93146101ed57600080fd5b3661012a57005b600080fd5b34801561013b57600080fd5b5061014f61014a366004611523565b6103da565b005b34801561015d57600080fd5b5060408051808201909152600d81526c109bdbdac813d988109c995d1d609a1b60208201525b604051610190919061153c565b60405180910390f35b3480156101a557600080fd5b506101b96101b43660046115a2565b610421565b6040519015158152602001610190565b3480156101d557600080fd5b506101df60125481565b604051908152602001610190565b3480156101f957600080fd5b5061014f610438565b34801561020e57600080fd5b506101df6104a8565b34801561022357600080fd5b506101b96102323660046115ce565b6104c9565b34801561024357600080fd5b5060405160128152602001610190565b34801561025f57600080fd5b5061014f610532565b34801561027457600080fd5b506101df61028336600461160f565b6001600160a01b031660009081526001602052604090205490565b3480156102aa57600080fd5b5061014f610585565b3480156102bf57600080fd5b5061014f6105f9565b3480156102d457600080fd5b506101df600f5481565b3480156102ea57600080fd5b506000546040516001600160a01b039091168152602001610190565b34801561031257600080fd5b506101df60105481565b34801561032857600080fd5b506040805180820190915260048152632127a7a160e11b6020820152610183565b34801561035557600080fd5b506101b96103643660046115a2565b6106a6565b34801561037557600080fd5b506101df60115481565b34801561038b57600080fd5b5061014f6106b3565b3480156103a057600080fd5b506101df6103af36600461162c565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6005546001600160a01b0316336001600160a01b0316146103fa57600080fd5b600854811115801561040e57506009548111155b61041757600080fd5b6008819055600955565b600061042e338484610a6f565b5060015b92915050565b6000546001600160a01b0316331461046b5760405162461bcd60e51b815260040161046290611665565b60405180910390fd5b6000600d8190556040519081527fe9b79e1a6c2dc43b4c0c6ff01ce9e3332d810e482270f464c0a21ad6c5fc6de3906020015b60405180910390a1565b60006104b66012600a611794565b6104c4906305f5e1006117a3565b905090565b60006104d6848484610b93565b610528843361052385604051806060016040528060288152602001611910602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190611186565b610a6f565b5060019392505050565b6005546001600160a01b0316336001600160a01b03161461055257600080fd5b30600090815260016020526040902054801561057157610571816111c0565b478015610581576105818161133a565b5050565b6000546001600160a01b031633146105af5760405162461bcd60e51b815260040161046290611665565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146106235760405162461bcd60e51b815260040161046290611665565b61062f6012600a611794565b61063d906305f5e1006117a3565b600f5561064c6012600a611794565b61065a906305f5e1006117a3565b6010557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf61068a6012600a611794565b610698906305f5e1006117a3565b60405190815260200161049e565b600061042e338484610b93565b6000546001600160a01b031633146106dd5760405162461bcd60e51b815260040161046290611665565b601454600160a01b900460ff16156107375760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610462565b601380546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556107809030906107726012600a611794565b610523906305f5e1006117a3565b601360009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f791906117ba565b6001600160a01b031663c9c6539630601360009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610859573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087d91906117ba565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156108ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ee91906117ba565b601480546001600160a01b039283166001600160a01b03199091161790556013541663f305d7194730610936816001600160a01b031660009081526001602052604090205490565b60008061094b6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156109b3573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906109d891906117d7565b505060145460135460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015610a31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a559190611805565b506014805462ff00ff60a01b19166201000160a01b179055565b6001600160a01b038316610ad15760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610462565b6001600160a01b038216610b325760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610462565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610bf75760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610462565b6001600160a01b038216610c595760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610462565b60008111610cbb5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610462565b600080546001600160a01b03858116911614801590610ce857506000546001600160a01b03848116911614155b1561104357610d0d6064610d07600d548561137490919063ffffffff16565b906113fd565b6014549091506001600160a01b038581169116148015610d3b57506013546001600160a01b03848116911614155b8015610d6057506001600160a01b03831660009081526003602052604090205460ff16155b15610e7057600f54821115610db75760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610462565b60105482610dda856001600160a01b031660009081526001602052604090205490565b610de49190611827565b1115610e325760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610462565b610e586064610d07600a54600e5411610e4d57600654610e51565b6008545b8590611374565b600e80549192506000610e6a8361183a565b91905055505b6014546001600160a01b038481169116148015610e9657506001600160a01b0384163014155b15610ec357610ec06064610d07600b54600e5411610eb657600754610e51565b6009548590611374565b90505b30600090815260016020526040902054601454600160a81b900460ff16158015610efa57506014546001600160a01b038581169116145b8015610f0f5750601454600160b01b900460ff165b8015610f1e5750600c54600e54115b15611041576001600160a01b03851660009081526004602052604090205460ff1615610f9357610f70610f51848461143f565b6001600160a01b03861660009081526001602052604090205490611481565b6001600160a01b0390941660009081526001602052604090209390935550505050565b601654431115610fa35760006015555b600360155410610ff55760405162461bcd60e51b815260206004820152601760248201527f4f6e6c7920332073656c6c732070657220626c6f636b210000000000000000006044820152606401610462565b60115481111561101c5761101c61101784611012846012546114e0565b6114e0565b6111c0565b476110264761133a565b601580549060006110368361183a565b909155505043601655505b505b80156110bd57306000908152600160205260409020546110639082611481565b30600081815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906110b49085815260200190565b60405180910390a35b6001600160a01b0384166000908152600160205260409020546110e0908361143f565b6001600160a01b038516600090815260016020526040902055611125611106838361143f565b6001600160a01b03851660009081526001602052604090205490611481565b6001600160a01b0380851660008181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61116f858561143f565b60405190815260200160405180910390a350505050565b600081848411156111aa5760405162461bcd60e51b8152600401610462919061153c565b5060006111b78486611853565b95945050505050565b6014805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061120857611208611866565b6001600160a01b03928316602091820292909201810191909152601354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611261573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128591906117ba565b8160018151811061129857611298611866565b6001600160a01b0392831660209182029290920101526013546112be9130911684610a6f565b60135460405163791ac94760e01b81526001600160a01b039091169063791ac947906112f790859060009086903090429060040161187c565b600060405180830381600087803b15801561131157600080fd5b505af1158015611325573d6000803e3d6000fd5b50506014805460ff60a81b1916905550505050565b6005546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015610581573d6000803e3d6000fd5b60008260000361138657506000610432565b600061139283856117a3565b90508261139f85836118ed565b146113f65760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610462565b9392505050565b60006113f683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506114f5565b60006113f683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611186565b60008061148e8385611827565b9050838110156113f65760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610462565b60008183116114ef57826113f6565b50919050565b600081836115165760405162461bcd60e51b8152600401610462919061153c565b5060006111b784866118ed565b60006020828403121561153557600080fd5b5035919050565b600060208083528351808285015260005b818110156115695785810183015185820160400152820161154d565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461159f57600080fd5b50565b600080604083850312156115b557600080fd5b82356115c08161158a565b946020939093013593505050565b6000806000606084860312156115e357600080fd5b83356115ee8161158a565b925060208401356115fe8161158a565b929592945050506040919091013590565b60006020828403121561162157600080fd5b81356113f68161158a565b6000806040838503121561163f57600080fd5b823561164a8161158a565b9150602083013561165a8161158a565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156116eb5781600019048211156116d1576116d161169a565b808516156116de57918102915b93841c93908002906116b5565b509250929050565b60008261170257506001610432565b8161170f57506000610432565b8160018114611725576002811461172f5761174b565b6001915050610432565b60ff8411156117405761174061169a565b50506001821b610432565b5060208310610133831016604e8410600b841016171561176e575081810a610432565b61177883836116b0565b806000190482111561178c5761178c61169a565b029392505050565b60006113f660ff8416836116f3565b80820281158282048414176104325761043261169a565b6000602082840312156117cc57600080fd5b81516113f68161158a565b6000806000606084860312156117ec57600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561181757600080fd5b815180151581146113f657600080fd5b808201808211156104325761043261169a565b60006001820161184c5761184c61169a565b5060010190565b818103818111156104325761043261169a565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156118cc5784516001600160a01b0316835293830193918301916001016118a7565b50506001600160a01b03969096166060850152505050608001529392505050565b60008261190a57634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220f4d00f16cc2caa5856320ae9df31ad4fb96f5d6849cd80d968873e5e860bfc7164736f6c6343000813003300000000000000000000000089c320f74148ff579e9831595f7dfe2a638e83a6
Constructor Arguments
(ABI-Encoded and is the last bytes of the Contract Creation Code above)
0xa2646970667358221220f4d00f16cc2caa5856320ae9df31ad4fb96f5d6849cd80d968873e5e860bfc7164736f6c6343000813003300000000000000000000000089c320f74148ff579e9831595f7dfe2a638e83a6

----Decoded View------------Arg [0] : _bookAddr (address): 0x0F16CC2cAa5856320AE9DF31aD4FB96F5d6849CD

----Encoded View------------Arg [0] : 0x0000000000000000000000000f16cc2caa5856320ae9df31ad4fb96f5d6849cd