Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
0 BUNNI-LP

Holders:
7
Profile Summary
Blockchain:
Base (8453)


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

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 1000 runs

Created At:
Mon, 02 Sep 2024 12:03:53 GMT
Structs.sol
contracts
v3
bunni
base
Structs.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "contract IBunniHub",
        "name": "hub_",
        "type": "address"
      },
      {
        "components": [
          {
            "internalType": "contract IUniswapV3Pool",
            "name": "pool",
            "type": "address"
          },
          {
            "internalType": "int24",
            "name": "tickLower",
            "type": "int24"
          },
          {
            "internalType": "int24",
            "name": "tickUpper",
            "type": "int24"
          }
        ],
        "internalType": "struct BunniKey",
        "name": "key_",
        "type": "tuple"
      }
    ],
    "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": 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": [],
    "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": [],
    "name": "hub",
    "outputs": [
      {
        "internalType": "contract IBunniHub",
        "name": "",
        "type": "address"
      }
    ],
    "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": [
      {
        "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": "pool",
    "outputs": [
      {
        "internalType": "contract IUniswapV3Pool",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "symbol",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "tickLower",
    "outputs": [
      {
        "internalType": "int24",
        "name": "",
        "type": "int24"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "tickUpper",
    "outputs": [
      {
        "internalType": "int24",
        "name": "",
        "type": "int24"
      }
    ],
    "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"
  }
]


Contract Creation Code
6101606040523480156200001257600080fd5b50604051620015af380380620015af833981016040819052620000359162000367565b80600001516001600160a01b0316630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000078573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200009e91906200040a565b6001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa158015620000dc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000106919081019062000464565b81600001516001600160a01b031663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000149573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200016f91906200040a565b6001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa158015620001ad573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620001d7919081019062000464565b604051602001620001ea9291906200051c565b60408051601f198184030181528282019091526008825267042554e4e492d4c560c41b602083015290601260006200022384826200060d565b5060016200023283826200060d565b5060ff81166080524660a0526200024862000284565b60c052505081516001600160a01b0390811660e0526020830151600290810b6101005260409093015190920b6101205250166101405262000757565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051620002b89190620006d9565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b6001600160a01b03811681146200033657600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b8051600281900b81146200036257600080fd5b919050565b60008082840360808112156200037c57600080fd5b8351620003898162000320565b92506060601f19820112156200039e57600080fd5b50604051606081016001600160401b0381118282101715620003c457620003c462000339565b6040526020840151620003d78162000320565b8152620003e7604085016200034f565b6020820152620003fa606085016200034f565b6040820152809150509250929050565b6000602082840312156200041d57600080fd5b81516200042a8162000320565b9392505050565b60005b838110156200044e57818101518382015260200162000434565b838111156200045e576000848401525b50505050565b6000602082840312156200047757600080fd5b81516001600160401b03808211156200048f57600080fd5b818401915084601f830112620004a457600080fd5b815181811115620004b957620004b962000339565b604051601f8201601f19908116603f01168101908382118183101715620004e457620004e462000339565b81604052828152876020848701011115620004fe57600080fd5b6200051183602083016020880162000431565b979650505050505050565b650213ab73734960d51b8152600083516200053f81600685016020880162000431565b602f60f81b60069184019182015283516200056281600784016020880162000431565b620204c560ec1b60079290910191820152600a01949350505050565b600181811c908216806200059357607f821691505b602082108103620005b457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200060857600081815260208120601f850160051c81016020861015620005e35750805b601f850160051c820191505b818110156200060457828155600101620005ef565b5050505b505050565b81516001600160401b0381111562000629576200062962000339565b62000641816200063a84546200057e565b84620005ba565b602080601f831160018114620006795760008415620006605750858301515b600019600386901b1c1916600185901b17855562000604565b600085815260208120601f198616915b82811015620006aa5788860151825594840194600190910190840162000689565b5085821015620006c95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808354620006e9816200057e565b600182811680156200070457600181146200071a576200074b565b60ff19841687528215158302870194506200074b565b8760005260208060002060005b85811015620007425781548a82015290840190820162000727565b50505082870194505b50929695505050505050565b60805160a05160c05160e051610100516101205161014051610def620007c06000396000818161022b015281816105c1015261063f01526000610267015260006102a101526000610181015260006105940152600061055f015260006101ea0152610def6000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c806355b812a8116100b257806395d89b4111610081578063a9059cbb11610066578063a9059cbb1461031e578063d505accf14610331578063dd62ed3e1461034457600080fd5b806395d89b41146103035780639dc29fac1461030b57600080fd5b806355b812a81461026257806359c4f9051461029c57806370a08231146102c35780637ecebe00146102e357600080fd5b806323b872dd116101095780633644e515116100ee5780633644e5151461021e578063365a86fc1461022657806340c10f191461024d57600080fd5b806323b872dd146101d2578063313ce567146101e557600080fd5b806306fdde031461013b578063095ea7b31461015957806316f0115b1461017c57806318160ddd146101bb575b600080fd5b61014361036f565b6040516101509190610afc565b60405180910390f35b61016c610167366004610b6d565b6103fd565b6040519015158152602001610150565b6101a37f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610150565b6101c460025481565b604051908152602001610150565b61016c6101e0366004610b97565b610469565b61020c7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610150565b6101c461055b565b6101a37f000000000000000000000000000000000000000000000000000000000000000081565b61026061025b366004610b6d565b6105b6565b005b6102897f000000000000000000000000000000000000000000000000000000000000000081565b60405160029190910b8152602001610150565b6102897f000000000000000000000000000000000000000000000000000000000000000081565b6101c46102d1366004610bd3565b60036020526000908152604090205481565b6101c46102f1366004610bd3565b60056020526000908152604090205481565b610143610627565b610260610319366004610b6d565b610634565b61016c61032c366004610b6d565b61069c565b61026061033f366004610bf5565b610714565b6101c4610352366004610c68565b600460209081526000928352604080842090915290825290205481565b6000805461037c90610c9b565b80601f01602080910402602001604051908101604052809291908181526020018280546103a890610c9b565b80156103f55780601f106103ca576101008083540402835291602001916103f5565b820191906000526020600020905b8154815290600101906020018083116103d857829003601f168201915b505050505081565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906104589086815260200190565b60405180910390a350600192915050565b6001600160a01b038316600090815260046020908152604080832033845290915281205460001981146104c5576104a08382610ceb565b6001600160a01b03861660009081526004602090815260408083203384529091529020555b6001600160a01b038516600090815260036020526040812080548592906104ed908490610ceb565b90915550506001600160a01b03808516600081815260036020526040908190208054870190555190918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906105489087815260200190565b60405180910390a3506001949350505050565b60007f000000000000000000000000000000000000000000000000000000000000000046146105915761058c610982565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146106195760405162461bcd60e51b815260206004820152600360248201526257484f60e81b60448201526064015b60405180910390fd5b6106238282610a1c565b5050565b6001805461037c90610c9b565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146106925760405162461bcd60e51b815260206004820152600360248201526257484f60e81b6044820152606401610610565b6106238282610a88565b336000908152600360205260408120805483919083906106bd908490610ceb565b90915550506001600160a01b038316600081815260036020526040908190208054850190555133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906104589086815260200190565b428410156107645760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f455850495245440000000000000000006044820152606401610610565b6000600161077061055b565b6001600160a01b038a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e0830190915280519201919091207f19010000000000000000000000000000000000000000000000000000000000006101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa158015610897573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906108cd5750876001600160a01b0316816001600160a01b0316145b6109195760405162461bcd60e51b815260206004820152600e60248201527f494e56414c49445f5349474e45520000000000000000000000000000000000006044820152606401610610565b6001600160a01b0390811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60006040516109b49190610d02565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b8060026000828254610a2e9190610da1565b90915550506001600160a01b0382166000818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a35050565b6001600160a01b03821660009081526003602052604081208054839290610ab0908490610ceb565b90915550506002805482900390556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610a7c565b600060208083528351808285015260005b81811015610b2957858101830151858201604001528201610b0d565b81811115610b3b576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610b6857600080fd5b919050565b60008060408385031215610b8057600080fd5b610b8983610b51565b946020939093013593505050565b600080600060608486031215610bac57600080fd5b610bb584610b51565b9250610bc360208501610b51565b9150604084013590509250925092565b600060208284031215610be557600080fd5b610bee82610b51565b9392505050565b600080600080600080600060e0888a031215610c1057600080fd5b610c1988610b51565b9650610c2760208901610b51565b95506040880135945060608801359350608088013560ff81168114610c4b57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610c7b57600080fd5b610c8483610b51565b9150610c9260208401610b51565b90509250929050565b600181811c90821680610caf57607f821691505b602082108103610ccf57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015610cfd57610cfd610cd5565b500390565b600080835481600182811c915080831680610d1e57607f831692505b60208084108203610d3d57634e487b7160e01b86526022600452602486fd5b818015610d515760018114610d6657610d93565b60ff1986168952841515850289019650610d93565b60008a81526020902060005b86811015610d8b5781548b820152908501908301610d72565b505084890196505b509498975050505050505050565b60008219821115610db457610db4610cd5565b50019056fea264697066735822122051a72b6a2794319056e53848447e1979dd002a449d0168e6e40aca664267021e64736f6c634300080f0033000000000000000000000000d1fac4f51457e4a6d35bdc7311718e5d6de92bb90000000000000000000000001ff5e9947f7005302e844a6c0099349674b59576fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff2766000000000000000000000000000000000000000000000000000000000000d89a0