Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Multichain Info
No addresses found
Latest 25 from a total of 48 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Remediate Royalt... | 22315111 | 3 hrs ago | IN | 0.0222 ETH | 0.00003598 | ||||
Remediate Royalt... | 22282787 | 4 days ago | IN | 0.00599 ETH | 0.00004029 | ||||
Remediate Royalt... | 22282690 | 4 days ago | IN | 0.022 ETH | 0.00004408 | ||||
Remediate Royalt... | 22254674 | 8 days ago | IN | 0.024 ETH | 0.00004875 | ||||
Remediate Royalt... | 22234806 | 11 days ago | IN | 0.025245 ETH | 0.0000381 | ||||
Remediate Royalt... | 22232373 | 11 days ago | IN | 0.0338 ETH | 0.00006851 | ||||
Remediate Royalt... | 22203452 | 15 days ago | IN | 0.014535 ETH | 0.00003953 | ||||
Remediate Royalt... | 22195932 | 16 days ago | IN | 0.0212 ETH | 0.00005756 | ||||
Remediate Royalt... | 22177812 | 19 days ago | IN | 0.029 ETH | 0.00004531 | ||||
Remediate Royalt... | 22171361 | 20 days ago | IN | 0.01995 ETH | 0.00004518 | ||||
Remediate Royalt... | 22168771 | 20 days ago | IN | 0.071 ETH | 0.00003767 | ||||
Remediate Royalt... | 22144502 | 23 days ago | IN | 0.024 ETH | 0.00003824 | ||||
Remediate Royalt... | 22144500 | 23 days ago | IN | 0.023 ETH | 0.00003828 | ||||
Remediate Royalt... | 22144498 | 23 days ago | IN | 0.018996 ETH | 0.0000383 | ||||
Remediate Royalt... | 21974427 | 47 days ago | IN | 0.033 ETH | 0.00019867 | ||||
Remediate Royalt... | 21973751 | 47 days ago | IN | 0.0083 ETH | 0.00005211 | ||||
Remediate Royalt... | 21973750 | 47 days ago | IN | 0.0073 ETH | 0.00005248 | ||||
Remediate Royalt... | 21973647 | 47 days ago | IN | 0.0249 ETH | 0.00005421 | ||||
Remediate Royalt... | 21973646 | 47 days ago | IN | 0.0215 ETH | 0.00005297 | ||||
Remediate Royalt... | 21973645 | 47 days ago | IN | 0.091 ETH | 0.00005311 | ||||
Remediate Royalt... | 21973644 | 47 days ago | IN | 0.03 ETH | 0.00004881 | ||||
Remediate Royalt... | 21973642 | 47 days ago | IN | 0.0221 ETH | 0.00005247 | ||||
Remediate Royalt... | 21962115 | 49 days ago | IN | 0.03 ETH | 0.00008618 | ||||
Remediate Royalt... | 21961981 | 49 days ago | IN | 0.034 ETH | 0.00008102 | ||||
Remediate Royalt... | 21961866 | 49 days ago | IN | 0.019855 ETH | 0.00011834 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Method | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|---|
Transfer | 22315111 | 3 hrs ago | 0.0222 ETH | ||||
Transfer | 22282787 | 4 days ago | 0.00599 ETH | ||||
Transfer | 22282690 | 4 days ago | 0.022 ETH | ||||
Transfer | 22254674 | 8 days ago | 0.024 ETH | ||||
Transfer | 22234806 | 11 days ago | 0.025245 ETH | ||||
Transfer | 22232373 | 11 days ago | 0.0338 ETH | ||||
Transfer | 22203452 | 15 days ago | 0.014535 ETH | ||||
Transfer | 22195932 | 16 days ago | 0.0212 ETH | ||||
Transfer | 22177812 | 19 days ago | 0.029 ETH | ||||
Transfer | 22171361 | 20 days ago | 0.01995 ETH | ||||
Transfer | 22168771 | 20 days ago | 0.071 ETH | ||||
Transfer | 22144502 | 23 days ago | 0.024 ETH | ||||
Transfer | 22144500 | 23 days ago | 0.023 ETH | ||||
Transfer | 22144498 | 23 days ago | 0.018996 ETH | ||||
Transfer | 21974427 | 47 days ago | 0.033 ETH | ||||
Transfer | 21973751 | 47 days ago | 0.0083 ETH | ||||
Transfer | 21973750 | 47 days ago | 0.0073 ETH | ||||
Transfer | 21973647 | 47 days ago | 0.0249 ETH | ||||
Transfer | 21973646 | 47 days ago | 0.0215 ETH | ||||
Transfer | 21973645 | 47 days ago | 0.091 ETH | ||||
Transfer | 21973644 | 47 days ago | 0.03 ETH | ||||
Transfer | 21973642 | 47 days ago | 0.0221 ETH | ||||
Transfer | 21962115 | 49 days ago | 0.03 ETH | ||||
Transfer | 21961981 | 49 days ago | 0.034 ETH | ||||
Transfer | 21961866 | 49 days ago | 0.019855 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
RoyaltyRemittanceV2
Compiler Version
v0.8.28+commit.7893614a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2025-02-10 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.20 ^0.8.7; // lib/openzeppelin-contracts/contracts/utils/Context.sol // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } } // lib/openzeppelin-contracts/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // src/RoyaltyRemittanceV2.sol /** * @title Royalty Remittance V2 * @notice A contract that allows users to remit royalties to a receiver * @author wizrd0x */ contract RoyaltyRemittanceV2 is Ownable { address public royaltyReceiver; event RoyaltyRemitted( address indexed sender, address indexed tokenAddress, uint256 indexed tokenId, uint256 amount ); error MustBeGreaterThanZero(); error TransferFailed(); error InvalidAddress(); constructor(address _royaltyReceiver) Ownable(msg.sender) { if (_royaltyReceiver == address(0)) revert InvalidAddress(); royaltyReceiver = _royaltyReceiver; } /** * @notice Updates the royalty receiver address * @param newReceiver The new address to receive royalties */ function updateRoyaltyReceiver(address newReceiver) external onlyOwner { if (newReceiver == address(0)) revert InvalidAddress(); royaltyReceiver = newReceiver; } /** * @notice Allows a user to remediate missing royalty payments * @param tokenAddress The address of the token contract * @param tokenId The ID of the token */ function remediateRoyalty( address tokenAddress, uint256 tokenId ) external payable { if (msg.value == 0) revert MustBeGreaterThanZero(); (bool success, ) = payable(royaltyReceiver).call{value: msg.value}(""); if (!success) revert TransferFailed(); emit RoyaltyRemitted(msg.sender, tokenAddress, tokenId, msg.value); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_royaltyReceiver","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InvalidAddress","type":"error"},{"inputs":[],"name":"MustBeGreaterThanZero","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"TransferFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RoyaltyRemitted","type":"event"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"remediateRoyalty","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newReceiver","type":"address"}],"name":"updateRoyaltyReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561000f575f5ffd5b5060405161063a38038061063a83398101604081905261002e916100f8565b338061005357604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b61005c816100a9565b506001600160a01b0381166100845760405163e6c4247b60e01b815260040160405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055610125565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f60208284031215610108575f5ffd5b81516001600160a01b038116811461011e575f5ffd5b9392505050565b610508806101325f395ff3fe608060405260043610610063575f3560e01c80638da5cb5b116100415780638da5cb5b146100af5780639fbc8713146100fd578063f2fde38b14610129575f5ffd5b806329dc4d9b146100675780633b55fad914610088578063715018a61461009b575b5f5ffd5b348015610072575f5ffd5b5061008661008136600461048a565b610148565b005b6100866100963660046104aa565b6101e4565b3480156100a6575f5ffd5b50610086610321565b3480156100ba575f5ffd5b505f5473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b348015610108575f5ffd5b506001546100d49073ffffffffffffffffffffffffffffffffffffffff1681565b348015610134575f5ffd5b5061008661014336600461048a565b610334565b61015061039c565b73ffffffffffffffffffffffffffffffffffffffff811661019d576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b345f0361021d576040517fc065426400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001546040515f9173ffffffffffffffffffffffffffffffffffffffff169034908381818185875af1925050503d805f8114610274576040519150601f19603f3d011682016040523d82523d5f602084013e610279565b606091505b50509050806102b4576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f6f8b8ba815971a08c087bc53e4ecf4b05c476d05cdd7172285762378e08b86443460405161031491815260200190565b60405180910390a4505050565b61032961039c565b6103325f6103ee565b565b61033c61039c565b73ffffffffffffffffffffffffffffffffffffffff8116610390576040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081525f60048201526024015b60405180910390fd5b610399816103ee565b50565b5f5473ffffffffffffffffffffffffffffffffffffffff163314610332576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610387565b5f805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610485575f5ffd5b919050565b5f6020828403121561049a575f5ffd5b6104a382610462565b9392505050565b5f5f604083850312156104bb575f5ffd5b6104c483610462565b94602093909301359350505056fea2646970667358221220993130d0c41130b864531bdea2509075e2c89b9886282966e647ba1124549e0864736f6c634300081c003300000000000000000000000038474cf247b0b31d602d49ba8c227198ea2a7c7f
Deployed Bytecode
0x608060405260043610610063575f3560e01c80638da5cb5b116100415780638da5cb5b146100af5780639fbc8713146100fd578063f2fde38b14610129575f5ffd5b806329dc4d9b146100675780633b55fad914610088578063715018a61461009b575b5f5ffd5b348015610072575f5ffd5b5061008661008136600461048a565b610148565b005b6100866100963660046104aa565b6101e4565b3480156100a6575f5ffd5b50610086610321565b3480156100ba575f5ffd5b505f5473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b348015610108575f5ffd5b506001546100d49073ffffffffffffffffffffffffffffffffffffffff1681565b348015610134575f5ffd5b5061008661014336600461048a565b610334565b61015061039c565b73ffffffffffffffffffffffffffffffffffffffff811661019d576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b345f0361021d576040517fc065426400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001546040515f9173ffffffffffffffffffffffffffffffffffffffff169034908381818185875af1925050503d805f8114610274576040519150601f19603f3d011682016040523d82523d5f602084013e610279565b606091505b50509050806102b4576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f6f8b8ba815971a08c087bc53e4ecf4b05c476d05cdd7172285762378e08b86443460405161031491815260200190565b60405180910390a4505050565b61032961039c565b6103325f6103ee565b565b61033c61039c565b73ffffffffffffffffffffffffffffffffffffffff8116610390576040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081525f60048201526024015b60405180910390fd5b610399816103ee565b50565b5f5473ffffffffffffffffffffffffffffffffffffffff163314610332576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610387565b5f805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610485575f5ffd5b919050565b5f6020828403121561049a575f5ffd5b6104a382610462565b9392505050565b5f5f604083850312156104bb575f5ffd5b6104c483610462565b94602093909301359350505056fea2646970667358221220993130d0c41130b864531bdea2509075e2c89b9886282966e647ba1124549e0864736f6c634300081c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000038474cf247b0b31d602d49ba8c227198ea2a7c7f
-----Decoded View---------------
Arg [0] : _royaltyReceiver (address): 0x38474Cf247b0B31d602d49ba8c227198EA2A7C7f
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000038474cf247b0b31d602d49ba8c227198ea2a7c7f
Deployed Bytecode Sourcemap
4388:1446:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5062:184;;;;;;;;;;-1:-1:-1;5062:184:0;;;;;:::i;:::-;;:::i;:::-;;5445:386;;;;;;:::i;:::-;;:::i;3381:103::-;;;;;;;;;;;;;:::i;2706:87::-;;;;;;;;;;-1:-1:-1;2752:7:0;2779:6;;;2706:87;;;841:42:1;829:55;;;811:74;;799:2;784:18;2706:87:0;;;;;;;4435:30;;;;;;;;;;-1:-1:-1;4435:30:0;;;;;;;;3639:220;;;;;;;;;;-1:-1:-1;3639:220:0;;;;;:::i;:::-;;:::i;5062:184::-;2592:13;:11;:13::i;:::-;5148:25:::1;::::0;::::1;5144:54;;5182:16;;;;;;;;;;;;;;5144:54;5209:15;:29:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;5062:184::o;5445:386::-;5567:9;5580:1;5567:14;5563:50;;5590:23;;;;;;;;;;;;;;5563:50;5653:15;;5645:51;;5627:12;;5653:15;;;5682:9;;5627:12;5645:51;5627:12;5645:51;5682:9;5653:15;5645:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5626:70;;;5712:7;5707:37;;5728:16;;;;;;;;;;;;;;5707:37;5804:7;5790:12;5762:61;;5778:10;5762:61;;;5813:9;5762:61;;;;1252:25:1;;1240:2;1225:18;;1106:177;5762:61:0;;;;;;;;5552:279;5445:386;;:::o;3381:103::-;2592:13;:11;:13::i;:::-;3446:30:::1;3473:1;3446:18;:30::i;:::-;3381:103::o:0;3639:220::-;2592:13;:11;:13::i;:::-;3724:22:::1;::::0;::::1;3720:93;;3770:31;::::0;::::1;::::0;;3798:1:::1;3770:31;::::0;::::1;811:74:1::0;784:18;;3770:31:0::1;;;;;;;;3720:93;3823:28;3842:8;3823:18;:28::i;:::-;3639:220:::0;:::o;2871:166::-;2752:7;2779:6;2931:23;2779:6;820:10;2931:23;2927:103;;2978:40;;;;;820:10;2978:40;;;811:74:1;784:18;;2978:40:0;665:226:1;4019:191:0;4093:16;4112:6;;;4129:17;;;;;;;;;;4162:40;;4112:6;;;;;;;4162:40;;4093:16;4162:40;4082:128;4019:191;:::o;14:196:1:-;82:20;;142:42;131:54;;121:65;;111:93;;200:1;197;190:12;111:93;14:196;;;:::o;215:186::-;274:6;327:2;315:9;306:7;302:23;298:32;295:52;;;343:1;340;333:12;295:52;366:29;385:9;366:29;:::i;:::-;356:39;215:186;-1:-1:-1;;;215:186:1:o;406:254::-;474:6;482;535:2;523:9;514:7;510:23;506:32;503:52;;;551:1;548;541:12;503:52;574:29;593:9;574:29;:::i;:::-;564:39;650:2;635:18;;;;622:32;;-1:-1:-1;;;406:254:1:o
Swarm Source
ipfs://993130d0c41130b864531bdea2509075e2c89b9886282966e647ba1124549e08
Loading...
Loading
Loading...
Loading
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.