ETH Price: $2,321.28 (-1.38%)

Contract

0x2372c3081a910dd3DD7a3A3D6Ec2427e2B30BD2f
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Loading...
Loading
Transaction Hash
Method
Block
From
To

There are no matching entries

1 Internal Transaction found.

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Method
Block
From
To
0x60808060262242422026-10-19 4:29:597 days ago1792384199  Contract Creation0 ETH
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

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 Exact Match

Contract Name

KeyProof

Compiler Version
v0.8.26+commit.8a97fa7a
Optimization Enabled
Yes with 200 runs
Other Settings
cancun EvmVersion
License
-NA-
Contract Source Code (Solidity Standard Json-Input format)
Contract Security Audit
No Contract Security Audit SubmittedSubmit Audit Here
Contract ABI
API
[{"inputs":[],"name":"BadProof","type":"error"},{"inputs":[],"name":"BadViewingKey","type":"error"},{"inputs":[{"internalType":"bytes","name":"wrapped","type":"bytes"},{"internalType":"uint256","name":"pieceId","type":"uint256"},{"internalType":"bytes32","name":"viewingKey","type":"bytes32"},{"internalType":"bytes32","name":"commitment","type":"bytes32"},{"internalType":"address","name":"buyer","type":"address"},{"components":[{"internalType":"uint256","name":"sx","type":"uint256"},{"internalType":"uint256","name":"sy","type":"uint256"},{"internalType":"uint256","name":"a1x","type":"uint256"},{"internalType":"uint256","name":"a1y","type":"uint256"},{"internalType":"uint256","name":"a2x","type":"uint256"},{"internalType":"uint256","name":"a2y","type":"uint256"},{"internalType":"uint256","name":"xx","type":"uint256"},{"internalType":"uint256","name":"xy","type":"uint256"},{"internalType":"uint256","name":"z","type":"uint256"}],"internalType":"struct KeyProof.Proof","name":"p","type":"tuple"}],"name":"isFake","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"viewingKey","type":"bytes32"}],"name":"isViewingKey","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"wrapped","type":"bytes"},{"internalType":"bytes32","name":"viewingKey","type":"bytes32"},{"internalType":"address","name":"buyer","type":"address"},{"internalType":"address","name":"r","type":"address"},{"internalType":"uint256","name":"z","type":"uint256"}],"name":"knowsWrap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
60808060405234601557610c4f908161001a8239f35b5f80fdfe60806040526004361015610011575f80fd5b5f3560e01c80638afbec311461011f578063ac623071146100b55763de75eca11461003a575f80fd5b346100b15760a03660031901126100b15760043567ffffffffffffffff81116100b15761006b90369060040161013d565b60443591906001600160a01b03831683036100b1576064356001600160a01b03811681036100b1576020936100a79360843593602435916106e0565b6040519015158152f35b5f80fd5b346100b1576101c03660031901126100b15760043567ffffffffffffffff81116100b1576100e790369060040161013d565b6084356001600160a01b03811681036100b1576101203660a31901126100b1576020926100a7926064359160443591602435916101dc565b346100b15760203660031901126100b15760206100a760043561016b565b9181601f840112156100b15782359167ffffffffffffffff83116100b157602083818601950101116100b157565b8015801561018a575b61018557610181906108fa565b5090565b505f90565b5070014551231950b75fc4402da1732fc9bebe19811015610174565b90601f8019910116810190811067ffffffffffffffff8211176101c857604052565b634e487b7160e01b5f52604160045260245ffd5b9490939492919260418514801590610691575b61068657846021116100b1576001810135948515801561066a575b61065e57610217866108fa565b939015610651576102278561016b565b1561064257610235856108fa565b91905060a4359460c43561024981886109ed565b15801561062c575b8015610615575b80156105fe575b61058957861580156105e2575b80156105d7575b80156105b8575b6105895760e435610104359161012435928c61014435966040519160208301917f50726f6f6620486f7573652066616b65206b657920763200000000000000000083524660378501523360601b60578501526001600160601b03199060601b16606b8401528d607f840152609f8301528b60bf8301528360df8301528460ff8301528261011f8301528561013f8301528761015f83015261015f825261032261017f836101a6565b70014551231950b75fc4402da1732fc9bebe199151902006928315610589576101a4359770014551231950b75fc4402da1732fc9bebe1985810390811161059857610381918e610372928c610b73565b926001600160a01b0392610c20565b166001600160a01b0390911603610589578861039c92610a6c565b61016435936101843592916001600160a01b036103b98588610c20565b166001600160a01b039091160361058957848214610589576401000003d01903916401000003d0198311610598576401000003d019828103908111610598575f809160405160208101916020835260206040830152602060608301526401000003d019908a0860808201526401000003d21960a08201526401000003d01960c082015260c0815261044b60e0826101a6565b519060055afa610459610a3d565b901580156105ac575b610589576020818051810103126100b157602001516401000003d01991829085900809936401000003d0199082086401000003d019036401000003d0198111610598576401000003d01990818680090891826401000003d01903956401000003d0198711610598576104f8948d6104d892610a6c565b956001600160a01b03956401000003d01993849283910890090890610c20565b166001600160a01b0390911603610589576041116100b15760210135936040519260208401947f50726f6f6620486f757365206b65792077726170207632000000000000000000865260378501526057840152607783015260978201526097815261056460b7826101a6565b5190201860405160208101918252602081526105816040826101a6565b519020141590565b637ca55c7760e01b5f5260045ffd5b634e487b7160e01b5f52601160045260245ffd5b50602081511415610462565b5070014551231950b75fc4402da1732fc9bebe196101a435101561027a565b506101a43515610273565b5070014551231950b75fc4402da1732fc9bebe1987101561026c565b5061060f61018435610164356109ed565b1561025f565b5061062661014435610124356109ed565b15610258565b5061063c6101043560e4356109ed565b15610251565b63716a3d2f60e01b5f5260045ffd5b5050505050505050600190565b50505050505050600190565b5070014551231950b75fc4402da1732fc9bebe1986101561020a565b505050505050600190565b5084156106b05780356001600160f81b031916600160f91b14156101ef565b634e487b7160e01b5f52603260045260245ffd5b67ffffffffffffffff81116101c857601f01601f191660200190565b9391909492604186148015906108db575b80156108ca575b80156108c2575b80156108a6575b61089c57856021116100b15760018501359485158015610880575b6108755761072e866108fa565b9790156108695761073e816106c4565b9061074c60405192836101a6565b808252602082019236828201116100b157815f926020928637830101525190206040519260208401927f50726f6f6620486f757365206b657920777261702076322070726f6f66000000845246603d8601523360601b605d8601526001600160601b03199060601b166071850152608584015260a58301526001600160601b03198360601b1660c583015260b982526107e660d9836101a6565b70014551231950b75fc4402da1732fc9bebe199151902006938415159485610811575b505050505090565b90919293945070014551231950b75fc4402da1732fc9bebe19039370014551231950b75fc4402da1732fc9bebe198511610598576001600160a01b0392831694929361085d9390610b73565b16145f80808080610809565b50505050505050505f90565b505050505050505f90565b5070014551231950b75fc4402da1732fc9bebe19861015610721565b5050505050505f90565b5070014551231950b75fc4402da1732fc9bebe19841015610706565b5083156106ff565b506001600160a01b038316156106f8565b5085156106b05784356001600160f81b031916600160f91b14156106f1565b801580156109dd575b6109d6576401000003d0199060079082908181800909085f80604051602081019060208252602060408201526020606082015284608082015263400000f4600160fe1b0360a08201526401000003d01960c082015260c0815261096760e0826101a6565b519060055afa610975610a3d565b901580156109ca575b610589576020818051810103126100b157602001519182916401000003d01983800914926001808216146109af5750565b9091506401000003d019036401000003d01981116105985790565b5060208151141561097e565b505f905f90565b506401000003d019811015610903565b6401000003d0198110919082610a2d575b82610a0857505090565b9091506401000003d019906007908290818180090908906401000003d0199080091490565b6401000003d019821092506109fe565b3d15610a67573d90610a4e826106c4565b91610a5c60405193846101a6565b82523d5f602084013e565b606090565b919070014551231950b75fc4402da1732fc9bebe19815f0970014551231950b75fc4402da1732fc9bebe19039070014551231950b75fc4402da1732fc9bebe198211610598575f938493600116610b6b57601b915b60ff60405193602085019570014551231950b75fc4402da1732fc9bebe199006865216604084015280606084015270014551231950b75fc4402da1732fc9bebe199109608082015260808152610b1860a0826101a6565b519060015afa610b26610a3d565b90158015610b5f575b610185576020818051810103126100b157602001516001600160a01b038116908190036100b15780156105895790565b50602081511415610b2f565b601c91610ac1565b929190928170014551231950b75fc4402da1732fc9bebe19910970014551231950b75fc4402da1732fc9bebe19039070014551231950b75fc4402da1732fc9bebe198211610598575f938493600116610b6b57601b9160ff60405193602085019570014551231950b75fc4402da1732fc9bebe199006865216604084015280606084015270014551231950b75fc4402da1732fc9bebe199109608082015260808152610b1860a0826101a6565b6040519160208301918252604083015260408252610c3f6060836101a6565b905190206001600160a01b03169056
Deployed Bytecode
0x60806040526004361015610011575f80fd5b5f3560e01c80638afbec311461011f578063ac623071146100b55763de75eca11461003a575f80fd5b346100b15760a03660031901126100b15760043567ffffffffffffffff81116100b15761006b90369060040161013d565b60443591906001600160a01b03831683036100b1576064356001600160a01b03811681036100b1576020936100a79360843593602435916106e0565b6040519015158152f35b5f80fd5b346100b1576101c03660031901126100b15760043567ffffffffffffffff81116100b1576100e790369060040161013d565b6084356001600160a01b03811681036100b1576101203660a31901126100b1576020926100a7926064359160443591602435916101dc565b346100b15760203660031901126100b15760206100a760043561016b565b9181601f840112156100b15782359167ffffffffffffffff83116100b157602083818601950101116100b157565b8015801561018a575b61018557610181906108fa565b5090565b505f90565b5070014551231950b75fc4402da1732fc9bebe19811015610174565b90601f8019910116810190811067ffffffffffffffff8211176101c857604052565b634e487b7160e01b5f52604160045260245ffd5b9490939492919260418514801590610691575b61068657846021116100b1576001810135948515801561066a575b61065e57610217866108fa565b939015610651576102278561016b565b1561064257610235856108fa565b91905060a4359460c43561024981886109ed565b15801561062c575b8015610615575b80156105fe575b61058957861580156105e2575b80156105d7575b80156105b8575b6105895760e435610104359161012435928c61014435966040519160208301917f50726f6f6620486f7573652066616b65206b657920763200000000000000000083524660378501523360601b60578501526001600160601b03199060601b16606b8401528d607f840152609f8301528b60bf8301528360df8301528460ff8301528261011f8301528561013f8301528761015f83015261015f825261032261017f836101a6565b70014551231950b75fc4402da1732fc9bebe199151902006928315610589576101a4359770014551231950b75fc4402da1732fc9bebe1985810390811161059857610381918e610372928c610b73565b926001600160a01b0392610c20565b166001600160a01b0390911603610589578861039c92610a6c565b61016435936101843592916001600160a01b036103b98588610c20565b166001600160a01b039091160361058957848214610589576401000003d01903916401000003d0198311610598576401000003d019828103908111610598575f809160405160208101916020835260206040830152602060608301526401000003d019908a0860808201526401000003d21960a08201526401000003d01960c082015260c0815261044b60e0826101a6565b519060055afa610459610a3d565b901580156105ac575b610589576020818051810103126100b157602001516401000003d01991829085900809936401000003d0199082086401000003d019036401000003d0198111610598576401000003d01990818680090891826401000003d01903956401000003d0198711610598576104f8948d6104d892610a6c565b956001600160a01b03956401000003d01993849283910890090890610c20565b166001600160a01b0390911603610589576041116100b15760210135936040519260208401947f50726f6f6620486f757365206b65792077726170207632000000000000000000865260378501526057840152607783015260978201526097815261056460b7826101a6565b5190201860405160208101918252602081526105816040826101a6565b519020141590565b637ca55c7760e01b5f5260045ffd5b634e487b7160e01b5f52601160045260245ffd5b50602081511415610462565b5070014551231950b75fc4402da1732fc9bebe196101a435101561027a565b506101a43515610273565b5070014551231950b75fc4402da1732fc9bebe1987101561026c565b5061060f61018435610164356109ed565b1561025f565b5061062661014435610124356109ed565b15610258565b5061063c6101043560e4356109ed565b15610251565b63716a3d2f60e01b5f5260045ffd5b5050505050505050600190565b50505050505050600190565b5070014551231950b75fc4402da1732fc9bebe1986101561020a565b505050505050600190565b5084156106b05780356001600160f81b031916600160f91b14156101ef565b634e487b7160e01b5f52603260045260245ffd5b67ffffffffffffffff81116101c857601f01601f191660200190565b9391909492604186148015906108db575b80156108ca575b80156108c2575b80156108a6575b61089c57856021116100b15760018501359485158015610880575b6108755761072e866108fa565b9790156108695761073e816106c4565b9061074c60405192836101a6565b808252602082019236828201116100b157815f926020928637830101525190206040519260208401927f50726f6f6620486f757365206b657920777261702076322070726f6f66000000845246603d8601523360601b605d8601526001600160601b03199060601b166071850152608584015260a58301526001600160601b03198360601b1660c583015260b982526107e660d9836101a6565b70014551231950b75fc4402da1732fc9bebe199151902006938415159485610811575b505050505090565b90919293945070014551231950b75fc4402da1732fc9bebe19039370014551231950b75fc4402da1732fc9bebe198511610598576001600160a01b0392831694929361085d9390610b73565b16145f80808080610809565b50505050505050505f90565b505050505050505f90565b5070014551231950b75fc4402da1732fc9bebe19861015610721565b5050505050505f90565b5070014551231950b75fc4402da1732fc9bebe19841015610706565b5083156106ff565b506001600160a01b038316156106f8565b5085156106b05784356001600160f81b031916600160f91b14156106f1565b801580156109dd575b6109d6576401000003d0199060079082908181800909085f80604051602081019060208252602060408201526020606082015284608082015263400000f4600160fe1b0360a08201526401000003d01960c082015260c0815261096760e0826101a6565b519060055afa610975610a3d565b901580156109ca575b610589576020818051810103126100b157602001519182916401000003d01983800914926001808216146109af5750565b9091506401000003d019036401000003d01981116105985790565b5060208151141561097e565b505f905f90565b506401000003d019811015610903565b6401000003d0198110919082610a2d575b82610a0857505090565b9091506401000003d019906007908290818180090908906401000003d0199080091490565b6401000003d019821092506109fe565b3d15610a67573d90610a4e826106c4565b91610a5c60405193846101a6565b82523d5f602084013e565b606090565b919070014551231950b75fc4402da1732fc9bebe19815f0970014551231950b75fc4402da1732fc9bebe19039070014551231950b75fc4402da1732fc9bebe198211610598575f938493600116610b6b57601b915b60ff60405193602085019570014551231950b75fc4402da1732fc9bebe199006865216604084015280606084015270014551231950b75fc4402da1732fc9bebe199109608082015260808152610b1860a0826101a6565b519060015afa610b26610a3d565b90158015610b5f575b610185576020818051810103126100b157602001516001600160a01b038116908190036100b15780156105895790565b50602081511415610b2f565b601c91610ac1565b929190928170014551231950b75fc4402da1732fc9bebe19910970014551231950b75fc4402da1732fc9bebe19039070014551231950b75fc4402da1732fc9bebe198211610598575f938493600116610b6b57601b9160ff60405193602085019570014551231950b75fc4402da1732fc9bebe199006865216604084015280606084015270014551231950b75fc4402da1732fc9bebe199109608082015260808152610b1860a0826101a6565b6040519160208301918252604083015260408252610c3f6060836101a6565b905190206001600160a01b03169056
🤖 Code Reader

Generate instant answers for your smart contract questions using AI Models. Read more.

Custom Contract ABI

                            

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
0x2372c3081a910dd3DD7a3A3D6Ec2427e2B30BD2f

DeFi

0 Protocols
Loading...
Loading
Protocol Positions Portfolio % Value

There are no matching entries

Loading...
Loading
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.