ETH Price: $2,435.28 (-0.85%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
171452312023-04-28 14:30:59556 days ago1682692259  Contract Creation0 ETH
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xb328d971...A7Fe722fe
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
RoyaltyForwarder

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 2 : RoyaltyForwarder.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.17;

import { IRoyaltySplitter } from "./interfaces/IRoyaltySplitter.sol";

contract RoyaltyForwarder {
    IRoyaltySplitter private immutable royaltySplitter;

    constructor(IRoyaltySplitter royaltySplitter_) {
        royaltySplitter = royaltySplitter_;
    }

    receive() external payable {
        royaltySplitter.releaseRoyalty{ value: msg.value }();
    }
}

File 2 of 2 : IRoyaltySplitter.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.17;

interface IRoyaltySplitter {
    struct Royalty {
        address payable payee;
        uint96 share;
    }

    function registerRoyalty(
        address collection,
        uint256 tokenId,
        Royalty[] calldata royalties
    ) external returns (address royaltyForwarder, uint96 totalShares);

    function releaseRoyalty() external payable;
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IRoyaltySplitter","name":"royaltySplitter_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"receive"}]

Deployed Bytecode

0x6080604052366077577f00000000000000000000000081377f4981ab9fc127b4480d5d4f239306ceee896001600160a01b0316636392cef0346040518263ffffffff1660e01b81526004016000604051808303818588803b158015606257600080fd5b505af11580156075573d6000803e3d6000fd5b005b600080fdfea2646970667358221220371a48520e3f157784ac132bd0239ddb67d39e73132afca52e5284ba877baeb264736f6c63430008110033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.