Skip to content
Verified contractPartialMIT

IrrecoverablePositionCustody

Address0xff98933db97f963c9f59678f05881f5e994422d1
Balance

0 ETH

 

Transactions

0

 

Compiler

solc 0.8.35

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.35+commit.47b9dedd
Language
solidity
Optimization
Yes, 200 runs
EVM version
cancun
License
MIT
Match
Partialcreation code: no, runtime code: yes
Verified on Sourcify
Created in block
25,463,569
Creation transaction
0x2a25767e3b…57972fef69

src/IrrecoverablePositionCustody.sol

// SPDX-License-Identifier: MIT
pragma solidity 0.8.35;

/// @notice Accepts ERC-721 positions and deliberately exposes no exit path.
contract IrrecoverablePositionCustody {
    function onERC721Received(address, address, uint256, bytes calldata)
        external
        pure
        returns (bytes4)
    {
        return this.onERC721Received.selector;
    }
}
Compiler settingsShow
{
  "viaIR": false,
  "metadata": {
    "appendCBOR": true,
    "bytecodeHash": "ipfs",
    "useLiteralContent": false
  },
  "libraries": {},
  "optimizer": {
    "runs": 200,
    "enabled": true
  },
  "evmVersion": "cancun",
  "remappings": [
    "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "forge-std/=lib/forge-std/src/"
  ]
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.