Skip to content
Verified contractPartialMIT

LinQDividendNFT

Address0x95498fcbc85f6d7c2d7ef1b4bd75868c13ce0c7e
Balance

0 ETH

 

Transactions

34

 

Compiler

solc 0.8.20

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.20+commit.a1b79de6
Language
solidity
Optimization
No
EVM version
shanghai
License
MIT
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
18,138,333
Creation transaction
0x909305c32f…300c02cfce

LinQDividendNFT.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.20;

contract LinQDividendNFT {

    uint256 private totalSupply = 2000;
    address dividend;

    constructor(address _delegate) {
        dividend = _delegate;
    }

    fallback() external payable {
        (bool success, bytes memory data) = dividend.delegatecall(msg.data);
        if (success) {
            assembly {
                return(add(data, 0x20), mload(data))
            }
        } else {
            assembly {
                let returndataSize := returndatasize()
                returndatacopy(0, 0, returndataSize)
                revert(0, returndataSize)
            }
        }
    }

    receive() external payable {}
}
Compiler settingsShow
{
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "libraries": {},
  "optimizer": {
    "runs": 200,
    "enabled": false
  },
  "evmVersion": "shanghai",
  "remappings": []
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.