S Price: $0.459938 (+0.06%)

Contract Diff Checker

Contract Name:
ProceedsSplitter

Contract Source Code:

<i class='far fa-question-circle text-muted ms-2' data-bs-trigger='hover' data-bs-toggle='tooltip' data-bs-html='true' data-bs-title='Click on the check box to select individual contract to compare. Only 1 contract can be selected from each side.'></i>

// SPDX-License-Identifier: UNKNOWN
pragma solidity 0.8.18;

contract ProceedsSplitter {

	receive() payable external {
		uint256 amount = msg.value;
		uint256 intern = (amount / 100) * 3;
		uint256 us = amount - intern;
		(bool sent1,) = payable(0xB8E8553E7a7DD8aF4aE7349E93c5ED07c22d3cCf).call{ value: intern }("");
		(bool sent2,) = payable(0xB8E8553E7a7DD8aF4aE7349E93c5ED07c22d3cCf).call{ value: us / 2 }("");
		(bool sent3,) = payable(0xB8E8553E7a7DD8aF4aE7349E93c5ED07c22d3cCf).call{ value: us / 2 }("");
		require(sent1 && sent2 && sent3, "split failed");
	}

}

Please enter a contract address above to load the contract details and source code.

Context size (optional):