ETH Price: $3,066.52 (-8.14%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer168186852023-03-13 11:10:35686 days ago1678705835IN
0x968DA11e...6480976c9
9.6 ETH0.0009154320.36976188

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
168186852023-03-13 11:10:35686 days ago1678705835
0x968DA11e...6480976c9
5.76 ETH
168186852023-03-13 11:10:35686 days ago1678705835
0x968DA11e...6480976c9
3.84 ETH
167869702023-03-09 0:04:23690 days ago1678320263
0x968DA11e...6480976c9
0.001257 ETH
167869702023-03-09 0:04:23690 days ago1678320263
0x968DA11e...6480976c9
0.000838 ETH
167869702023-03-09 0:04:23690 days ago1678320263
0x968DA11e...6480976c9
0.002095 ETH
167869692023-03-09 0:04:11690 days ago1678320251
0x968DA11e...6480976c9
0.0012 ETH
167869692023-03-09 0:04:11690 days ago1678320251
0x968DA11e...6480976c9
0.0008 ETH
167869692023-03-09 0:04:11690 days ago1678320251
0x968DA11e...6480976c9
0.002 ETH
167763692023-03-07 12:17:11692 days ago1678191431
0x968DA11e...6480976c9
0.00129 ETH
167763692023-03-07 12:17:11692 days ago1678191431
0x968DA11e...6480976c9
0.00086 ETH
167763692023-03-07 12:17:11692 days ago1678191431
0x968DA11e...6480976c9
0.00215 ETH
167564452023-03-04 17:05:23695 days ago1677949523
0x968DA11e...6480976c9
0.00156 ETH
167564452023-03-04 17:05:23695 days ago1677949523
0x968DA11e...6480976c9
0.00104 ETH
167564452023-03-04 17:05:23695 days ago1677949523
0x968DA11e...6480976c9
0.0026 ETH
167564402023-03-04 17:04:23695 days ago1677949463
0x968DA11e...6480976c9
0.001305 ETH
167564402023-03-04 17:04:23695 days ago1677949463
0x968DA11e...6480976c9
0.00087 ETH
167564402023-03-04 17:04:23695 days ago1677949463
0x968DA11e...6480976c9
0.002175 ETH
167505282023-03-03 21:04:59695 days ago1677877499
0x968DA11e...6480976c9
0.00177 ETH
167505282023-03-03 21:04:59695 days ago1677877499
0x968DA11e...6480976c9
0.00118 ETH
167505282023-03-03 21:04:59695 days ago1677877499
0x968DA11e...6480976c9
0.00295 ETH
167505242023-03-03 21:04:11695 days ago1677877451
0x968DA11e...6480976c9
0.001302 ETH
167505242023-03-03 21:04:11695 days ago1677877451
0x968DA11e...6480976c9
0.000868 ETH
167505242023-03-03 21:04:11695 days ago1677877451
0x968DA11e...6480976c9
0.00217 ETH
167492752023-03-03 16:49:59696 days ago1677862199
0x968DA11e...6480976c9
0.00130499 ETH
167492752023-03-03 16:49:59696 days ago1677862199
0x968DA11e...6480976c9
0.00086999 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SplitFee

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

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

error SplitFee__InvalidOwnerFeePercentage(uint8 ownerFeePercentage);
error SplitFee__ZeroAddressProhibited();

/**
 * @title Split Fee
 * @author DeployLabs.io
 *
 * @dev The purpose of this contract is to split the fee between the owner and the artist.
 */
contract SplitFee {
	address payable private i_owner;
	address payable private i_artist;

	uint8 private i_ownerFeePercentage;

	constructor(address payable owner, address payable artist, uint8 ownerFeePercentage) {
		if (owner == address(0) || artist == address(0)) revert SplitFee__ZeroAddressProhibited();
		i_owner = owner;
		i_artist = artist;

		if (ownerFeePercentage > 100) revert SplitFee__InvalidOwnerFeePercentage(ownerFeePercentage);
		i_ownerFeePercentage = ownerFeePercentage;
	}

	receive() external payable {
		uint256 ownerFee = (msg.value * i_ownerFeePercentage) / 100;
		uint256 artistFee = msg.value - ownerFee;

		i_owner.transfer(ownerFee);
		i_artist.transfer(artistFee);
	}
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address payable","name":"owner","type":"address"},{"internalType":"address payable","name":"artist","type":"address"},{"internalType":"uint8","name":"ownerFeePercentage","type":"uint8"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint8","name":"ownerFeePercentage","type":"uint8"}],"name":"SplitFee__InvalidOwnerFeePercentage","type":"error"},{"inputs":[],"name":"SplitFee__ZeroAddressProhibited","type":"error"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b5060405161054738038061054783398181016040528101906100329190610259565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806100995750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b156100d0576040517f3e72ddd800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060648160ff16111561019a57806040517f3d3fc78300000000000000000000000000000000000000000000000000000000815260040161019191906102bb565b60405180910390fd5b80600160146101000a81548160ff021916908360ff1602179055505050506102d6565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006101ed826101c2565b9050919050565b6101fd816101e2565b811461020857600080fd5b50565b60008151905061021a816101f4565b92915050565b600060ff82169050919050565b61023681610220565b811461024157600080fd5b50565b6000815190506102538161022d565b92915050565b600080600060608486031215610272576102716101bd565b5b60006102808682870161020b565b93505060206102918682870161020b565b92505060406102a286828701610244565b9150509250925092565b6102b581610220565b82525050565b60006020820190506102d060008301846102ac565b92915050565b610262806102e56000396000f3fe6080604052366101185760006064600160149054906101000a900460ff1660ff163461002b9190610156565b61003591906101c7565b90506000813461004591906101f8565b905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156100ad573d6000803e3d6000fd5b50600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610116573d6000803e3d6000fd5b005b600080fd5b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006101618261011d565b915061016c8361011d565b925082820261017a8161011d565b9150828204841483151761019157610190610127565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006101d28261011d565b91506101dd8361011d565b9250826101ed576101ec610198565b5b828204905092915050565b60006102038261011d565b915061020e8361011d565b925082820390508181111561022657610225610127565b5b9291505056fea264697066735822122071e8640340528975b44e9344ed1d83986f53908e8c861a451036e5892f5d319264736f6c63430008110033000000000000000000000000f4a952daccb6ed11497dc1a7ca325018f0ee19db00000000000000000000000015dda3cb9a0e9ce0faf1ed80b1d072b68c2a05760000000000000000000000000000000000000000000000000000000000000028

Deployed Bytecode

0x6080604052366101185760006064600160149054906101000a900460ff1660ff163461002b9190610156565b61003591906101c7565b90506000813461004591906101f8565b905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156100ad573d6000803e3d6000fd5b50600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610116573d6000803e3d6000fd5b005b600080fd5b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006101618261011d565b915061016c8361011d565b925082820261017a8161011d565b9150828204841483151761019157610190610127565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006101d28261011d565b91506101dd8361011d565b9250826101ed576101ec610198565b5b828204905092915050565b60006102038261011d565b915061020e8361011d565b925082820390508181111561022657610225610127565b5b9291505056fea264697066735822122071e8640340528975b44e9344ed1d83986f53908e8c861a451036e5892f5d319264736f6c63430008110033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000f4a952daccb6ed11497dc1a7ca325018f0ee19db00000000000000000000000015dda3cb9a0e9ce0faf1ed80b1d072b68c2a05760000000000000000000000000000000000000000000000000000000000000028

-----Decoded View---------------
Arg [0] : owner (address): 0xf4A952DacCb6Ed11497Dc1A7ca325018F0Ee19DB
Arg [1] : artist (address): 0x15DDa3CB9A0E9cE0faF1ed80b1d072B68C2a0576
Arg [2] : ownerFeePercentage (uint8): 40

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000f4a952daccb6ed11497dc1a7ca325018f0ee19db
Arg [1] : 00000000000000000000000015dda3cb9a0e9ce0faf1ed80b1d072b68c2a0576
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000028


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  ]
[ 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.