Sepolia Testnet

Contract

0x9c7c3E7B2D3648b843e33664D9aCb2aeeC805d8e
Source Code Source Code

Overview

ETH Balance

0 ETH

More Info

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Amount

There are no matching entries

1 Internal Transaction found.

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Method Block
From
To
Amount
0x6080604083324892025-05-15 14:21:36366 days ago1747318896  Contract Creation0 ETH
Loading...
Loading
Loading...
Loading

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
Source Code Verified Similar Match: 0xF3A7281E...Ce22530CB
Constructor

Contract Name

BurnFungibleForDiscountGenesisIdsExplicitFacet

Compiler Version
v0.8.27+commit.40a35a09
Optimization Enabled
Yes with 1000 runs
Other Settings
cancun EvmVersion
License
-NA-
Contract Source Code (Solidity Standard Json-Input format)
Contract ABI
API
[{"inputs":[],"name":"AlreadyInitialized","type":"error"},{"inputs":[{"internalType":"uint256","name":"discountPercentage","type":"uint256"}],"name":"InvalidDiscountPercentage","type":"error"},{"inputs":[{"internalType":"uint256","name":"handlingGenesisId","type":"uint256"},{"internalType":"uint256","name":"upperGenesisId","type":"uint256"}],"name":"InvalidHandlingGenesisIdApplied","type":"error"},{"inputs":[],"name":"InvalidZeroAmountPerFraction","type":"error"},{"inputs":[{"internalType":"uint256","name":"handlingGenesisId","type":"uint256"},{"internalType":"uint256","name":"genesisIdUsed","type":"uint256"}],"name":"NonHandlingGenesisId","type":"error"},{"inputs":[{"internalType":"bytes4","name":"functionSignature","type":"bytes4"}],"name":"OnlyExternalDelegateCall","type":"error"},{"inputs":[{"internalType":"address","name":"invalidCaller","type":"address"},{"internalType":"bytes4","name":"functionSignature","type":"bytes4"}],"name":"OnlyInternalDelegateCall","type":"error"},{"inputs":[],"name":"UnsupportedBurnableInterface","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenToBurnForDiscount","type":"address"}],"name":"BurnFungibleForDiscountInitialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"campaignId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountToBurnPerFraction","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"discountPercentage","type":"uint256"}],"name":"BurnFungibleForDiscountSchemaConfigured","type":"event"},{"inputs":[{"internalType":"uint256","name":"campaignId","type":"uint256"},{"internalType":"uint256","name":"amountOfFractions","type":"uint256"},{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"applyDiscountWithFungibleBurn","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"campaignId","type":"uint256"},{"internalType":"uint256","name":"genesisId","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"getPricePerFractionWithFungibleBurn","outputs":[{"internalType":"uint256","name":"pricePerFraction","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"initPurchaseDiscountData","type":"bytes"}],"name":"initBurnFungForDiscountFacet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"postFractioPurchaseDiscountData","type":"bytes"}],"name":"setAndCheckBurnFungForDiscount","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Deployed Bytecode
0x608060405234801561000f575f5ffd5b506004361061004a575f3560e01c80634e8776741461004e578063e2d38d6314610063578063e8ee613a14610076578063f235680c146100a3575b5f5ffd5b61006161005c366004610837565b6100c4565b005b610061610071366004610837565b610163565b61008961008436600461088d565b6101ef565b604080519283526020830191909152015b60405180910390f35b6100b66100b13660046108f2565b610248565b60405190815260200161009a565b3330146100fc576040516373db113d60e01b81523360048201526001600160e01b03195f351660248201526044015b60405180910390fd5b5f5f5f610113858561010c610299565b91906102fa565b925092509250827f88725a62e2e3cb546d1c4ff6b374d86f3ba340eeb9400b152f86cf55cff1cbbc8383604051610154929190918252602082015260400190565b60405180910390a25050505050565b333014610196576040516373db113d60e01b81523360048201526001600160e01b03195f351660248201526044016100f3565b5f6101ab83836101a4610299565b919061044e565b6040516001600160a01b03821681529091507f29c407e93a677f286100f312c24b9908f5b4a05d49a91af1701ffa402779f4b09060200160405180910390a1505050565b5f80333014610224576040516373db113d60e01b81523360048201526001600160e01b03195f351660248201526044016100f3565b61023a878787610232610299565b9291906105b1565b915091509550959350505050565b5f33301461027c576040516373db113d60e01b81523360048201526001600160e01b03195f351660248201526044016100f3565b6102908585610289610299565b9190610662565b95945050505050565b5f8060ff196102c960017fddcdb1a89ad755c21e94cd09450b9d04bfe75e8fb577e8de539a42b5861a7543610955565b6040516020016102db91815260200190565b60408051601f1981840301815291905280516020909101201692915050565b5f8080808061030b8688018861096e565b91509150815f03610348576040517f6667664500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015806103575750620f424081115b15610391576040517fde5d9478000000000000000000000000000000000000000000000000000000008152600481018290526024016100f3565b5f61039a6106de565b6001908101545f818152918b0160205260408220909250906103ba61070e565b5f848152602091909152604081208684556001808501879055810180549193509082906103e69061098e565b918290555082549091508111156104365781546040517f5d50e57a0000000000000000000000000000000000000000000000000000000081526100f3918391600401918252602082015260400190565b60029290920191909155509891975095509350505050565b82545f906001600160a01b031615610492576040517f0dc149f000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f61049f838501856109a6565b6040517f01ffc9a70000000000000000000000000000000000000000000000000000000081527f3b5a0bf80000000000000000000000000000000000000000000000000000000060048201529091506001600160a01b038216906301ffc9a790602401602060405180830381865afa15801561051d573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061054191906109c8565b610577576040517f777ca2f600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03821617909455509192915050565b5f83815260018501602052604081205485548291906001600160a01b03166379cc6790856105df88856109e7565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015f604051808303815f87803b158015610622575f5ffd5b505af1158015610634573d5f5f3e3d5ffd5b50505050610642878761073e565b5f9687526001979097016020525050604090932060020154939492505050565b5f82815260018401602052604081206002015482146106cc575f838152600185016020526040908190206002015490517f80e5da320000000000000000000000000000000000000000000000000000000081526004810191909152602481018390526044016100f3565b6106d6848461073e565b949350505050565b5f8060ff196102c960017f12d0c1de9024181affb334dcf16a967ea2f865722d211cefd3c4b2093cde3423610955565b5f8060ff196102c960017fc46bbdfd24b81ea4e990b56d560381a45dba5d2dcfdc28512edb6ee169309c59610955565b6040517fc55d0f56000000000000000000000000000000000000000000000000000000008152600481018290525f908190309063c55d0f5690602401602060405180830381865afa158015610795573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107b991906109fe565b5f848152600180870160205260409091200154909150620f4240906107de90836109e7565b6107e89190610a15565b6106d69082610955565b5f5f83601f840112610802575f5ffd5b50813567ffffffffffffffff811115610819575f5ffd5b602083019150836020828501011115610830575f5ffd5b9250929050565b5f5f60208385031215610848575f5ffd5b823567ffffffffffffffff81111561085e575f5ffd5b61086a858286016107f2565b90969095509350505050565b6001600160a01b038116811461088a575f5ffd5b50565b5f5f5f5f5f608086880312156108a1575f5ffd5b853594506020860135935060408601356108ba81610876565b9250606086013567ffffffffffffffff8111156108d5575f5ffd5b6108e1888289016107f2565b969995985093965092949392505050565b5f5f5f5f60608587031215610905575f5ffd5b8435935060208501359250604085013567ffffffffffffffff811115610929575f5ffd5b610935878288016107f2565b95989497509550505050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561096857610968610941565b92915050565b5f5f6040838503121561097f575f5ffd5b50508035926020909101359150565b5f6001820161099f5761099f610941565b5060010190565b5f602082840312156109b6575f5ffd5b81356109c181610876565b9392505050565b5f602082840312156109d8575f5ffd5b815180151581146109c1575f5ffd5b808202811582820484141761096857610968610941565b5f60208284031215610a0e575f5ffd5b5051919050565b5f82610a2f57634e487b7160e01b5f52601260045260245ffd5b50049056fea2646970667358221220b1ac46df2e0fcd3f666b4c279d19b2e5a4fcc6f58850f6736b02f52cebab0a6364736f6c634300081b0033

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
0x9c7c3E7B2D3648b843e33664D9aCb2aeeC805d8e
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.