Source Code
Multichain Info
N/A
Latest 16 from a total of 16 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Withdraw Native | 12593789 | 299 days ago | IN | 0 APE | 0.00125657 | ||||
| Withdraw Native | 11953401 | 313 days ago | IN | 0 APE | 0.00132012 | ||||
| Withdraw Native | 11098847 | 325 days ago | IN | 0 APE | 0.00125657 | ||||
| Withdraw ERC20 | 10844958 | 329 days ago | IN | 0 APE | 0.00375166 | ||||
| Withdraw Native | 10844932 | 329 days ago | IN | 0 APE | 0.00125657 | ||||
| Withdraw Native | 10779449 | 330 days ago | IN | 0 APE | 0.00132012 | ||||
| Withdraw Native | 10692097 | 331 days ago | IN | 0 APE | 0.00132012 | ||||
| Withdraw Native | 10646562 | 332 days ago | IN | 0 APE | 0.00132012 | ||||
| Withdraw Native | 10620691 | 333 days ago | IN | 0 APE | 0.00132012 | ||||
| Withdraw Native | 10604716 | 333 days ago | IN | 0 APE | 0.00125657 | ||||
| Withdraw Native | 10510532 | 335 days ago | IN | 0 APE | 0.00132012 | ||||
| Withdraw Native | 10419936 | 337 days ago | IN | 0 APE | 0.00132012 | ||||
| Withdraw Native | 10367426 | 338 days ago | IN | 0 APE | 0.00132012 | ||||
| Withdraw Native | 10354800 | 338 days ago | IN | 0 APE | 0.00195563 | ||||
| Update Addresses | 10354789 | 338 days ago | IN | 0 APE | 0.00086015 | ||||
| Withdraw Native | 10176585 | 342 days ago | IN | 0 APE | 0.00195563 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 18890228 | 207 days ago | 19.96 APE | ||||
| 18890228 | 207 days ago | 0.2796 APE | ||||
| 18890218 | 207 days ago | 0.3108 APE | ||||
| 18890210 | 207 days ago | 0.3988 APE | ||||
| 18890210 | 207 days ago | 0.3992 APE | ||||
| 18890210 | 207 days ago | 0.3988 APE | ||||
| 18890210 | 207 days ago | 0.319596 APE | ||||
| 18890210 | 207 days ago | 0.3988 APE | ||||
| 18890210 | 207 days ago | 2.2 APE | ||||
| 18890210 | 207 days ago | 7.7682 APE | ||||
| 12593789 | 299 days ago | 19.45662 APE | ||||
| 12593789 | 299 days ago | 19.45662 APE | ||||
| 12582826 | 299 days ago | 0.4376 APE | ||||
| 12582826 | 299 days ago | 0.47876 APE | ||||
| 12582826 | 299 days ago | 0.47876 APE | ||||
| 12582826 | 299 days ago | 0.478 APE | ||||
| 12582826 | 299 days ago | 0.478 APE | ||||
| 12582826 | 299 days ago | 0.4376 APE | ||||
| 12582826 | 299 days ago | 0.42 APE | ||||
| 12582826 | 299 days ago | 0.47876 APE | ||||
| 12582826 | 299 days ago | 10.76 APE | ||||
| 12582825 | 299 days ago | 10 APE | ||||
| 12582825 | 299 days ago | 0.47876 APE | ||||
| 12582825 | 299 days ago | 0.4376 APE | ||||
| 12582825 | 299 days ago | 0.342 APE |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
SplitPayments
Compiler Version
v0.8.28+commit.7893614a
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
/**
* @title SplitPayments
* @dev Contract for splitting payments 50/50 between two addresses.
*/
contract SplitPayments is ReentrancyGuard, Ownable {
// The two addresses that will receive the split payments
address public addressOne;
address public addressTwo;
event PaymentSplit(
address indexed token,
address indexed recipient,
uint256 amount
);
event AddressesUpdated(
address newAddressOne,
address newAddressTwo
);
constructor(address _addressOne, address _addressTwo) {
require(_addressOne != address(0), "Address one cannot be zero");
require(_addressTwo != address(0), "Address two cannot be zero");
require(_addressOne != _addressTwo, "Addresses must be different");
addressOne = _addressOne;
addressTwo = _addressTwo;
}
// Function to update payment addresses
function updateAddresses(address newAddressOne, address newAddressTwo) external onlyOwner {
require(newAddressOne != address(0), "New address one cannot be zero");
require(newAddressTwo != address(0), "New address two cannot be zero");
require(newAddressOne != newAddressTwo, "New addresses must be different");
addressOne = newAddressOne;
addressTwo = newAddressTwo;
emit AddressesUpdated(newAddressOne, newAddressTwo);
}
// Function to receive ETH
receive() external payable {}
// Fallback function
fallback() external payable {}
// Function to withdraw native currency (ETH)
function withdrawNative() external nonReentrant {
uint256 balance = address(this).balance;
require(balance > 0, "No balance to withdraw");
uint256 halfAmount = balance / 2;
// Transfer to first address
(bool successOne,) = payable(addressOne).call{value: halfAmount}("");
require(successOne, "Failed to send ETH to address one");
emit PaymentSplit(address(0), addressOne, halfAmount);
// Transfer to second address
(bool successTwo,) = payable(addressTwo).call{value: balance - halfAmount}("");
require(successTwo, "Failed to send ETH to address two");
emit PaymentSplit(address(0), addressTwo, balance - halfAmount);
}
// Function to withdraw ERC20 tokens
function withdrawERC20(address tokenAddress) external nonReentrant {
require(tokenAddress != address(0), "Token address cannot be zero");
IERC20 token = IERC20(tokenAddress);
uint256 balance = token.balanceOf(address(this));
require(balance > 0, "No tokens to withdraw");
uint256 halfAmount = balance / 2;
// Transfer to first address
require(token.transfer(addressOne, halfAmount),
"Failed to send tokens to address one");
emit PaymentSplit(tokenAddress, addressOne, halfAmount);
// Transfer to second address
require(token.transfer(addressTwo, balance - halfAmount),
"Failed to send tokens to address two");
emit PaymentSplit(tokenAddress, addressTwo, balance - halfAmount);
}
// View function to check contract's token balance
function getTokenBalance(address tokenAddress) external view returns (uint256) {
return IERC20(tokenAddress).balanceOf(address(this));
}
// View function to check contract's ETH balance
function getNativeBalance() external view returns (uint256) {
return address(this).balance;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.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.
*
* By default, the owner account will be the one that deploys the contract. 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;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @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 {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing 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 {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_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);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
_nonReentrantBefore();
_;
_nonReentrantAfter();
}
function _nonReentrantBefore() private {
// On the first call to nonReentrant, _status will be _NOT_ENTERED
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
}
function _nonReentrantAfter() private {
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 amount
) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @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;
}
}{
"evmVersion": "paris",
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_addressOne","type":"address"},{"internalType":"address","name":"_addressTwo","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newAddressOne","type":"address"},{"indexed":false,"internalType":"address","name":"newAddressTwo","type":"address"}],"name":"AddressesUpdated","type":"event"},{"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":"token","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentSplit","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"addressOne","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"addressTwo","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNativeBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"getTokenBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddressOne","type":"address"},{"internalType":"address","name":"newAddressTwo","type":"address"}],"name":"updateAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"withdrawERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawNative","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
608060405234801561001057600080fd5b50604051611db1380380611db18339818101604052810190610032919061035c565b600160008190555061005661004b61022b60201b60201c565b61023360201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036100c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100bc906103f9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161012b90610465565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036101a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610199906104d1565b60405180910390fd5b81600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050506104f1565b600033905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610329826102fe565b9050919050565b6103398161031e565b811461034457600080fd5b50565b60008151905061035681610330565b92915050565b60008060408385031215610373576103726102f9565b5b600061038185828601610347565b925050602061039285828601610347565b9150509250929050565b600082825260208201905092915050565b7f41646472657373206f6e652063616e6e6f74206265207a65726f000000000000600082015250565b60006103e3601a8361039c565b91506103ee826103ad565b602082019050919050565b60006020820190508181036000830152610412816103d6565b9050919050565b7f416464726573732074776f2063616e6e6f74206265207a65726f000000000000600082015250565b600061044f601a8361039c565b915061045a82610419565b602082019050919050565b6000602082019050818103600083015261047e81610442565b9050919050565b7f416464726573736573206d75737420626520646966666572656e740000000000600082015250565b60006104bb601b8361039c565b91506104c682610485565b602082019050919050565b600060208201905081810360008301526104ea816104ae565b9050919050565b6118b1806105006000396000f3fe6080604052600436106100955760003560e01c8063c1d1103711610059578063c1d1103714610159578063d8c98deb14610182578063eeb6658e146101ad578063f2fde38b146101d8578063f4f3b2001461020157610096565b80633aecd0e31461009857806350431ce4146100d5578063715018a6146100ec57806388a9d554146101035780638da5cb5b1461012e57610096565b5b005b3480156100a457600080fd5b506100bf60048036038101906100ba9190610f4c565b61022a565b6040516100cc9190610f92565b60405180910390f35b3480156100e157600080fd5b506100ea6102ad565b005b3480156100f857600080fd5b506101016105de565b005b34801561010f57600080fd5b506101186105f2565b6040516101259190610f92565b60405180910390f35b34801561013a57600080fd5b506101436105fa565b6040516101509190610fbc565b60405180910390f35b34801561016557600080fd5b50610180600480360381019061017b9190610fd7565b610624565b005b34801561018e57600080fd5b50610197610837565b6040516101a49190610fbc565b60405180910390f35b3480156101b957600080fd5b506101c261085d565b6040516101cf9190610fbc565b60405180910390f35b3480156101e457600080fd5b506101ff60048036038101906101fa9190610f4c565b610883565b005b34801561020d57600080fd5b5061022860048036038101906102239190610f4c565b610906565b005b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016102659190610fbc565b602060405180830381865afa158015610282573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102a69190611043565b9050919050565b6102b5610d44565b6000479050600081116102fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102f4906110cd565b60405180910390fd5b600060028261030c919061114b565b90506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610356906111ad565b60006040518083038185875af1925050503d8060008114610393576040519150601f19603f3d011682016040523d82523d6000602084013e610398565b606091505b50509050806103dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103d390611234565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fcbe7af2462de2e2623d925f1390b422d253bd136fcbc116a7053c0820cbe4a538460405161045c9190610f92565b60405180910390a36000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1683856104ab9190611254565b6040516104b7906111ad565b60006040518083038185875af1925050503d80600081146104f4576040519150601f19603f3d011682016040523d82523d6000602084013e6104f9565b606091505b505090508061053d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610534906112fa565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fcbe7af2462de2e2623d925f1390b422d253bd136fcbc116a7053c0820cbe4a5385876105bb9190611254565b6040516105c89190610f92565b60405180910390a3505050506105dc610d93565b565b6105e6610d9d565b6105f06000610e1b565b565b600047905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61062c610d9d565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361069b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069290611366565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361070a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610701906113d2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610778576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076f9061143e565b60405180910390fd5b81600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fc651c70f44278e4b6b346230d2fcc09308ad801d6dc8b9c055f45581b3609075828260405161082b92919061145e565b60405180910390a15050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61088b610d9d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036108fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f1906114f9565b60405180910390fd5b61090381610e1b565b50565b61090e610d44565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361097d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097490611565565b60405180910390fd5b600081905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016109bd9190610fbc565b602060405180830381865afa1580156109da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fe9190611043565b905060008111610a43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3a906115d1565b60405180910390fd5b6000600282610a52919061114b565b90508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401610ab19291906115f1565b6020604051808303816000875af1158015610ad0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af49190611652565b610b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2a906116f1565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fcbe7af2462de2e2623d925f1390b422d253bd136fcbc116a7053c0820cbe4a5383604051610bb29190610f92565b60405180910390a38273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168385610c059190611254565b6040518363ffffffff1660e01b8152600401610c229291906115f1565b6020604051808303816000875af1158015610c41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c659190611652565b610ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9b90611783565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fcbe7af2462de2e2623d925f1390b422d253bd136fcbc116a7053c0820cbe4a538385610d219190611254565b604051610d2e9190610f92565b60405180910390a3505050610d41610d93565b50565b600260005403610d89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d80906117ef565b60405180910390fd5b6002600081905550565b6001600081905550565b610da5610ee1565b73ffffffffffffffffffffffffffffffffffffffff16610dc36105fa565b73ffffffffffffffffffffffffffffffffffffffff1614610e19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e109061185b565b60405180910390fd5b565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610f1982610eee565b9050919050565b610f2981610f0e565b8114610f3457600080fd5b50565b600081359050610f4681610f20565b92915050565b600060208284031215610f6257610f61610ee9565b5b6000610f7084828501610f37565b91505092915050565b6000819050919050565b610f8c81610f79565b82525050565b6000602082019050610fa76000830184610f83565b92915050565b610fb681610f0e565b82525050565b6000602082019050610fd16000830184610fad565b92915050565b60008060408385031215610fee57610fed610ee9565b5b6000610ffc85828601610f37565b925050602061100d85828601610f37565b9150509250929050565b61102081610f79565b811461102b57600080fd5b50565b60008151905061103d81611017565b92915050565b60006020828403121561105957611058610ee9565b5b60006110678482850161102e565b91505092915050565b600082825260208201905092915050565b7f4e6f2062616c616e636520746f20776974686472617700000000000000000000600082015250565b60006110b7601683611070565b91506110c282611081565b602082019050919050565b600060208201905081810360008301526110e6816110aa565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061115682610f79565b915061116183610f79565b925082611171576111706110ed565b5b828204905092915050565b600081905092915050565b50565b600061119760008361117c565b91506111a282611187565b600082019050919050565b60006111b88261118a565b9150819050919050565b7f4661696c656420746f2073656e642045544820746f2061646472657373206f6e60008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b600061121e602183611070565b9150611229826111c2565b604082019050919050565b6000602082019050818103600083015261124d81611211565b9050919050565b600061125f82610f79565b915061126a83610f79565b92508282039050818111156112825761128161111c565b5b92915050565b7f4661696c656420746f2073656e642045544820746f206164647265737320747760008201527f6f00000000000000000000000000000000000000000000000000000000000000602082015250565b60006112e4602183611070565b91506112ef82611288565b604082019050919050565b60006020820190508181036000830152611313816112d7565b9050919050565b7f4e65772061646472657373206f6e652063616e6e6f74206265207a65726f0000600082015250565b6000611350601e83611070565b915061135b8261131a565b602082019050919050565b6000602082019050818103600083015261137f81611343565b9050919050565b7f4e657720616464726573732074776f2063616e6e6f74206265207a65726f0000600082015250565b60006113bc601e83611070565b91506113c782611386565b602082019050919050565b600060208201905081810360008301526113eb816113af565b9050919050565b7f4e657720616464726573736573206d75737420626520646966666572656e7400600082015250565b6000611428601f83611070565b9150611433826113f2565b602082019050919050565b600060208201905081810360008301526114578161141b565b9050919050565b60006040820190506114736000830185610fad565b6114806020830184610fad565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006114e3602683611070565b91506114ee82611487565b604082019050919050565b60006020820190508181036000830152611512816114d6565b9050919050565b7f546f6b656e20616464726573732063616e6e6f74206265207a65726f00000000600082015250565b600061154f601c83611070565b915061155a82611519565b602082019050919050565b6000602082019050818103600083015261157e81611542565b9050919050565b7f4e6f20746f6b656e7320746f2077697468647261770000000000000000000000600082015250565b60006115bb601583611070565b91506115c682611585565b602082019050919050565b600060208201905081810360008301526115ea816115ae565b9050919050565b60006040820190506116066000830185610fad565b6116136020830184610f83565b9392505050565b60008115159050919050565b61162f8161161a565b811461163a57600080fd5b50565b60008151905061164c81611626565b92915050565b60006020828403121561166857611667610ee9565b5b60006116768482850161163d565b91505092915050565b7f4661696c656420746f2073656e6420746f6b656e7320746f206164647265737360008201527f206f6e6500000000000000000000000000000000000000000000000000000000602082015250565b60006116db602483611070565b91506116e68261167f565b604082019050919050565b6000602082019050818103600083015261170a816116ce565b9050919050565b7f4661696c656420746f2073656e6420746f6b656e7320746f206164647265737360008201527f2074776f00000000000000000000000000000000000000000000000000000000602082015250565b600061176d602483611070565b915061177882611711565b604082019050919050565b6000602082019050818103600083015261179c81611760565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006117d9601f83611070565b91506117e4826117a3565b602082019050919050565b60006020820190508181036000830152611808816117cc565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611845602083611070565b91506118508261180f565b602082019050919050565b6000602082019050818103600083015261187481611838565b905091905056fea2646970667358221220559ae3b49a5a61ea0a07c920d231d7ed6f7eb35fefa258686c88ae949811ae6664736f6c634300081c0033000000000000000000000000f5b7e691bf54857a634f43100bc9dea1ac6547c000000000000000000000000056d6da90ad6bc05328537a280e88739db54cd711
Deployed Bytecode
0x6080604052600436106100955760003560e01c8063c1d1103711610059578063c1d1103714610159578063d8c98deb14610182578063eeb6658e146101ad578063f2fde38b146101d8578063f4f3b2001461020157610096565b80633aecd0e31461009857806350431ce4146100d5578063715018a6146100ec57806388a9d554146101035780638da5cb5b1461012e57610096565b5b005b3480156100a457600080fd5b506100bf60048036038101906100ba9190610f4c565b61022a565b6040516100cc9190610f92565b60405180910390f35b3480156100e157600080fd5b506100ea6102ad565b005b3480156100f857600080fd5b506101016105de565b005b34801561010f57600080fd5b506101186105f2565b6040516101259190610f92565b60405180910390f35b34801561013a57600080fd5b506101436105fa565b6040516101509190610fbc565b60405180910390f35b34801561016557600080fd5b50610180600480360381019061017b9190610fd7565b610624565b005b34801561018e57600080fd5b50610197610837565b6040516101a49190610fbc565b60405180910390f35b3480156101b957600080fd5b506101c261085d565b6040516101cf9190610fbc565b60405180910390f35b3480156101e457600080fd5b506101ff60048036038101906101fa9190610f4c565b610883565b005b34801561020d57600080fd5b5061022860048036038101906102239190610f4c565b610906565b005b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016102659190610fbc565b602060405180830381865afa158015610282573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102a69190611043565b9050919050565b6102b5610d44565b6000479050600081116102fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102f4906110cd565b60405180910390fd5b600060028261030c919061114b565b90506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610356906111ad565b60006040518083038185875af1925050503d8060008114610393576040519150601f19603f3d011682016040523d82523d6000602084013e610398565b606091505b50509050806103dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103d390611234565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fcbe7af2462de2e2623d925f1390b422d253bd136fcbc116a7053c0820cbe4a538460405161045c9190610f92565b60405180910390a36000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1683856104ab9190611254565b6040516104b7906111ad565b60006040518083038185875af1925050503d80600081146104f4576040519150601f19603f3d011682016040523d82523d6000602084013e6104f9565b606091505b505090508061053d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610534906112fa565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fcbe7af2462de2e2623d925f1390b422d253bd136fcbc116a7053c0820cbe4a5385876105bb9190611254565b6040516105c89190610f92565b60405180910390a3505050506105dc610d93565b565b6105e6610d9d565b6105f06000610e1b565b565b600047905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61062c610d9d565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361069b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069290611366565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361070a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610701906113d2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610778576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076f9061143e565b60405180910390fd5b81600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fc651c70f44278e4b6b346230d2fcc09308ad801d6dc8b9c055f45581b3609075828260405161082b92919061145e565b60405180910390a15050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61088b610d9d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036108fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f1906114f9565b60405180910390fd5b61090381610e1b565b50565b61090e610d44565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361097d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097490611565565b60405180910390fd5b600081905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016109bd9190610fbc565b602060405180830381865afa1580156109da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fe9190611043565b905060008111610a43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3a906115d1565b60405180910390fd5b6000600282610a52919061114b565b90508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401610ab19291906115f1565b6020604051808303816000875af1158015610ad0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af49190611652565b610b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2a906116f1565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fcbe7af2462de2e2623d925f1390b422d253bd136fcbc116a7053c0820cbe4a5383604051610bb29190610f92565b60405180910390a38273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168385610c059190611254565b6040518363ffffffff1660e01b8152600401610c229291906115f1565b6020604051808303816000875af1158015610c41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c659190611652565b610ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9b90611783565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fcbe7af2462de2e2623d925f1390b422d253bd136fcbc116a7053c0820cbe4a538385610d219190611254565b604051610d2e9190610f92565b60405180910390a3505050610d41610d93565b50565b600260005403610d89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d80906117ef565b60405180910390fd5b6002600081905550565b6001600081905550565b610da5610ee1565b73ffffffffffffffffffffffffffffffffffffffff16610dc36105fa565b73ffffffffffffffffffffffffffffffffffffffff1614610e19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e109061185b565b60405180910390fd5b565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610f1982610eee565b9050919050565b610f2981610f0e565b8114610f3457600080fd5b50565b600081359050610f4681610f20565b92915050565b600060208284031215610f6257610f61610ee9565b5b6000610f7084828501610f37565b91505092915050565b6000819050919050565b610f8c81610f79565b82525050565b6000602082019050610fa76000830184610f83565b92915050565b610fb681610f0e565b82525050565b6000602082019050610fd16000830184610fad565b92915050565b60008060408385031215610fee57610fed610ee9565b5b6000610ffc85828601610f37565b925050602061100d85828601610f37565b9150509250929050565b61102081610f79565b811461102b57600080fd5b50565b60008151905061103d81611017565b92915050565b60006020828403121561105957611058610ee9565b5b60006110678482850161102e565b91505092915050565b600082825260208201905092915050565b7f4e6f2062616c616e636520746f20776974686472617700000000000000000000600082015250565b60006110b7601683611070565b91506110c282611081565b602082019050919050565b600060208201905081810360008301526110e6816110aa565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061115682610f79565b915061116183610f79565b925082611171576111706110ed565b5b828204905092915050565b600081905092915050565b50565b600061119760008361117c565b91506111a282611187565b600082019050919050565b60006111b88261118a565b9150819050919050565b7f4661696c656420746f2073656e642045544820746f2061646472657373206f6e60008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b600061121e602183611070565b9150611229826111c2565b604082019050919050565b6000602082019050818103600083015261124d81611211565b9050919050565b600061125f82610f79565b915061126a83610f79565b92508282039050818111156112825761128161111c565b5b92915050565b7f4661696c656420746f2073656e642045544820746f206164647265737320747760008201527f6f00000000000000000000000000000000000000000000000000000000000000602082015250565b60006112e4602183611070565b91506112ef82611288565b604082019050919050565b60006020820190508181036000830152611313816112d7565b9050919050565b7f4e65772061646472657373206f6e652063616e6e6f74206265207a65726f0000600082015250565b6000611350601e83611070565b915061135b8261131a565b602082019050919050565b6000602082019050818103600083015261137f81611343565b9050919050565b7f4e657720616464726573732074776f2063616e6e6f74206265207a65726f0000600082015250565b60006113bc601e83611070565b91506113c782611386565b602082019050919050565b600060208201905081810360008301526113eb816113af565b9050919050565b7f4e657720616464726573736573206d75737420626520646966666572656e7400600082015250565b6000611428601f83611070565b9150611433826113f2565b602082019050919050565b600060208201905081810360008301526114578161141b565b9050919050565b60006040820190506114736000830185610fad565b6114806020830184610fad565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006114e3602683611070565b91506114ee82611487565b604082019050919050565b60006020820190508181036000830152611512816114d6565b9050919050565b7f546f6b656e20616464726573732063616e6e6f74206265207a65726f00000000600082015250565b600061154f601c83611070565b915061155a82611519565b602082019050919050565b6000602082019050818103600083015261157e81611542565b9050919050565b7f4e6f20746f6b656e7320746f2077697468647261770000000000000000000000600082015250565b60006115bb601583611070565b91506115c682611585565b602082019050919050565b600060208201905081810360008301526115ea816115ae565b9050919050565b60006040820190506116066000830185610fad565b6116136020830184610f83565b9392505050565b60008115159050919050565b61162f8161161a565b811461163a57600080fd5b50565b60008151905061164c81611626565b92915050565b60006020828403121561166857611667610ee9565b5b60006116768482850161163d565b91505092915050565b7f4661696c656420746f2073656e6420746f6b656e7320746f206164647265737360008201527f206f6e6500000000000000000000000000000000000000000000000000000000602082015250565b60006116db602483611070565b91506116e68261167f565b604082019050919050565b6000602082019050818103600083015261170a816116ce565b9050919050565b7f4661696c656420746f2073656e6420746f6b656e7320746f206164647265737360008201527f2074776f00000000000000000000000000000000000000000000000000000000602082015250565b600061176d602483611070565b915061177882611711565b604082019050919050565b6000602082019050818103600083015261179c81611760565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006117d9601f83611070565b91506117e4826117a3565b602082019050919050565b60006020820190508181036000830152611808816117cc565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611845602083611070565b91506118508261180f565b602082019050919050565b6000602082019050818103600083015261187481611838565b905091905056fea2646970667358221220559ae3b49a5a61ea0a07c920d231d7ed6f7eb35fefa258686c88ae949811ae6664736f6c634300081c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000f5b7e691bf54857a634f43100bc9dea1ac6547c000000000000000000000000056d6da90ad6bc05328537a280e88739db54cd711
-----Decoded View---------------
Arg [0] : _addressOne (address): 0xF5B7e691bF54857a634f43100bc9deA1Ac6547C0
Arg [1] : _addressTwo (address): 0x56D6DA90AD6BC05328537A280E88739DB54cd711
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000f5b7e691bf54857a634f43100bc9dea1ac6547c0
Arg [1] : 00000000000000000000000056d6da90ad6bc05328537a280e88739db54cd711
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.