Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
2,392,605.36 BUNNI-LP

Profile Summary
Blockchain:
Ethereum (1)


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

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 1000000 runs

Created At:
Mon, 07 Oct 2024 17:49:35 GMT
BunniToken.sol
BunniToken.sol
BunniToken.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
6101606040523480156200001257600080fd5b506040516200181638038062001816833981016040819052620000359162000367565b80600001516001600160a01b0316630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000078573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200009e91906200040a565b6001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa158015620000dc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000106919081019062000464565b81600001516001600160a01b031663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000149573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200016f91906200040a565b6001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa158015620001ad573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620001d7919081019062000464565b604051602001620001ea9291906200051c565b60408051601f198184030181528282019091526008825267042554e4e492d4c560c41b602083015290601260006200022384826200060d565b5060016200023283826200060d565b5060ff81166080524660a0526200024862000284565b60c052505081516001600160a01b0390811660e0526020830151600290810b6101005260409093015190920b6101205250166101405262000757565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051620002b89190620006d9565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b6001600160a01b03811681146200033657600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b8051600281900b81146200036257600080fd5b919050565b60008082840360808112156200037c57600080fd5b8351620003898162000320565b92506060601f19820112156200039e57600080fd5b50604051606081016001600160401b0381118282101715620003c457620003c462000339565b6040526020840151620003d78162000320565b8152620003e7604085016200034f565b6020820152620003fa606085016200034f565b6040820152809150509250929050565b6000602082840312156200041d57600080fd5b81516200042a8162000320565b9392505050565b60005b838110156200044e57818101518382015260200162000434565b838111156200045e576000848401525b50505050565b6000602082840312156200047757600080fd5b81516001600160401b03808211156200048f57600080fd5b818401915084601f830112620004a457600080fd5b815181811115620004b957620004b962000339565b604051601f8201601f19908116603f01168101908382118183101715620004e457620004e462000339565b81604052828152876020848701011115620004fe57600080fd5b6200051183602083016020880162000431565b979650505050505050565b650213ab73734960d51b8152600083516200053f81600685016020880162000431565b602f60f81b60069184019182015283516200056281600784016020880162000431565b620204c560ec1b60079290910191820152600a01949350505050565b600181811c908216806200059357607f821691505b602082108103620005b457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200060857600081815260208120601f850160051c81016020861015620005e35750805b601f850160051c820191505b818110156200060457828155600101620005ef565b5050505b505050565b81516001600160401b0381111562000629576200062962000339565b62000641816200063a84546200057e565b84620005ba565b602080601f831160018114620006795760008415620006605750858301515b600019600386901b1c1916600185901b17855562000604565b600085815260208120601f198616915b82811015620006aa5788860151825594840194600190910190840162000689565b5085821015620006c95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808354620006e9816200057e565b600182811680156200070457600181146200071a576200074b565b60ff19841687528215158302870194506200074b565b8760005260208060002060005b85811015620007425781548a82015290840190820162000727565b50505082870194505b50929695505050505050565b60805160a05160c05160e051610100516101205161014051611056620007c0600039600081816102380152818161063a01526106f901526000610274015260006102ae0152600061018101526000610600015260006105cb015260006101f701526110566000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c806355b812a8116100b257806395d89b4111610081578063a9059cbb11610066578063a9059cbb1461032b578063d505accf1461033e578063dd62ed3e1461035157600080fd5b806395d89b41146103105780639dc29fac1461031857600080fd5b806355b812a81461026f57806359c4f905146102a957806370a08231146102d05780637ecebe00146102f057600080fd5b806323b872dd116101095780633644e515116100ee5780633644e5151461022b578063365a86fc1461023357806340c10f191461025a57600080fd5b806323b872dd146101df578063313ce567146101f257600080fd5b806306fdde031461013b578063095ea7b31461015957806316f0115b1461017c57806318160ddd146101c8575b600080fd5b61014361037c565b6040516101509190610ccf565b60405180910390f35b61016c610167366004610d6b565b61040a565b6040519015158152602001610150565b6101a37f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610150565b6101d160025481565b604051908152602001610150565b61016c6101ed366004610d95565b610483565b6102197f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610150565b6101d16105c7565b6101a37f000000000000000000000000000000000000000000000000000000000000000081565b61026d610268366004610d6b565b610622565b005b6102967f000000000000000000000000000000000000000000000000000000000000000081565b60405160029190910b8152602001610150565b6102967f000000000000000000000000000000000000000000000000000000000000000081565b6101d16102de366004610dd1565b60036020526000908152604090205481565b6101d16102fe366004610dd1565b60056020526000908152604090205481565b6101436106d4565b61026d610326366004610d6b565b6106e1565b61016c610339366004610d6b565b61078a565b61026d61034c366004610df3565b61080f565b6101d161035f366004610e66565b600460209081526000928352604080842090915290825290205481565b6000805461038990610e99565b80601f01602080910402602001604051908101604052809291908181526020018280546103b590610e99565b80156104025780601f106103d757610100808354040283529160200191610402565b820191906000526020600020905b8154815290600101906020018083116103e557829003601f168201915b505050505081565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906104729086815260200190565b60405180910390a350600192915050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526004602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610517576104e58382610f1b565b73ffffffffffffffffffffffffffffffffffffffff861660009081526004602090815260408083203384529091529020555b73ffffffffffffffffffffffffffffffffffffffff85166000908152600360205260408120805485929061054c908490610f1b565b909155505073ffffffffffffffffffffffffffffffffffffffff808516600081815260036020526040908190208054870190555190918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906105b49087815260200190565b60405180910390a3506001949350505050565b60007f000000000000000000000000000000000000000000000000000000000000000046146105fd576105f8610b2e565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016146106c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f57484f000000000000000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b6106d08282610bc8565b5050565b6001805461038990610e99565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600360248201527f57484f000000000000000000000000000000000000000000000000000000000060448201526064016106bd565b6106d08282610c41565b336000908152600360205260408120805483919083906107ab908490610f1b565b909155505073ffffffffffffffffffffffffffffffffffffffff8316600081815260036020526040908190208054850190555133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906104729086815260200190565b42841015610879576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f5045524d49545f444541444c494e455f4558504952454400000000000000000060448201526064016106bd565b600060016108856105c7565b73ffffffffffffffffffffffffffffffffffffffff8a811660008181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e0830190915280519201919091207f190100000000000000000000000000000000000000000000000000000000000061010083015261010282019290925261012281019190915261014201604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa1580156109d7573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811615801590610a5257508773ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b610ab8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f494e56414c49445f5349474e455200000000000000000000000000000000000060448201526064016106bd565b73ffffffffffffffffffffffffffffffffffffffff90811660009081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6000604051610b609190610f32565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b8060026000828254610bda9190611008565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff821660009081526003602052604081208054839290610c76908490610f1b565b909155505060028054829003905560405181815260009073ffffffffffffffffffffffffffffffffffffffff8416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610c35565b600060208083528351808285015260005b81811015610cfc57858101830151858201604001528201610ce0565b81811115610d0e576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610d6657600080fd5b919050565b60008060408385031215610d7e57600080fd5b610d8783610d42565b946020939093013593505050565b600080600060608486031215610daa57600080fd5b610db384610d42565b9250610dc160208501610d42565b9150604084013590509250925092565b600060208284031215610de357600080fd5b610dec82610d42565b9392505050565b600080600080600080600060e0888a031215610e0e57600080fd5b610e1788610d42565b9650610e2560208901610d42565b95506040880135945060608801359350608088013560ff81168114610e4957600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610e7957600080fd5b610e8283610d42565b9150610e9060208401610d42565b90509250929050565b600181811c90821680610ead57607f821691505b602082108103610ee6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015610f2d57610f2d610eec565b500390565b600080835481600182811c915080831680610f4e57607f831692505b60208084108203610f86577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b818015610f9a5760018114610fcd57610ffa565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0086168952841515850289019650610ffa565b60008a81526020902060005b86811015610ff25781548b820152908501908301610fd9565b505084890196505b509498975050505050505050565b6000821982111561101b5761101b610eec565b50019056fea2646970667358221220653758a4eeb192901f490d1f6d898cb45abc9b2d4e7ec43281e1ed9b6a58de0764736f6c634300080f0033000000000000000000000000b5087f95643a9a4069471a28d32c569d9bd57fe4000000000000000000000000ec246ffddebdf77b6faeffa0380db3fa20ee577800000000000000000000000000000000000000000000000000000000000014dc0000000000000000000000000000000000000000000000000000000000001c20