ETH Price: $2,641.58 (+0.03%)

Contract

0x740480cfF511c5E4407cea6dCf8163E678513001
 

Overview

ETH Balance

0.000055 ETH

Eth Value

$0.15 (@ $2,641.58/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Distribute163566182023-01-07 18:12:23631 days ago1673115143IN
0x740480cf...678513001
0 ETH0.0010174913.80491194
Distribute160868692022-12-01 2:08:11669 days ago1669860491IN
0x740480cf...678513001
0 ETH0.0008120711.01792466
Distribute160787932022-11-29 23:01:47670 days ago1669762907IN
0x740480cf...678513001
0 ETH0.000711659.65548546
Distribute159569652022-11-12 22:36:59687 days ago1668292619IN
0x740480cf...678513001
0 ETH0.000848611.51351496
Distribute159044772022-11-05 14:41:35694 days ago1667659295IN
0x740480cf...678513001
0 ETH0.001939513.04266281
Transfer159044722022-11-05 14:40:35694 days ago1667659235IN
0x740480cf...678513001
0.0001 ETH0.0003112214.78137172
0x60806040159044642022-11-05 14:38:59694 days ago1667659139IN
 Create: SimplePaymentSplitter
0 ETH0.0052057512.46921158

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
165659172023-02-05 23:38:35602 days ago1675640315
0x740480cf...678513001
0.000055 ETH
163566182023-01-07 18:12:23631 days ago1673115143
0x740480cf...678513001
0.1358875 ETH
163566182023-01-07 18:12:23631 days ago1673115143
0x740480cf...678513001
0.1358875 ETH
163566182023-01-07 18:12:23631 days ago1673115143
0x740480cf...678513001
0.1358875 ETH
163566182023-01-07 18:12:23631 days ago1673115143
0x740480cf...678513001
0.1358875 ETH
161497762022-12-09 21:17:47660 days ago1670620667
0x740480cf...678513001
0.00045 ETH
161422692022-12-08 20:06:23661 days ago1670529983
0x740480cf...678513001
0.001285 ETH
161422332022-12-08 19:59:11661 days ago1670529551
0x740480cf...678513001
0.045 ETH
161414532022-12-08 17:22:23661 days ago1670520143
0x740480cf...678513001
0.0005 ETH
161145112022-12-04 22:45:47665 days ago1670193947
0x740480cf...678513001
0.001 ETH
161037382022-12-03 10:37:35666 days ago1670063855
0x740480cf...678513001
0.02 ETH
160951182022-12-02 5:45:59668 days ago1669959959
0x740480cf...678513001
0.005 ETH
160949452022-12-02 5:11:11668 days ago1669957871
0x740480cf...678513001
0.0004 ETH
160949062022-12-02 5:03:23668 days ago1669957403
0x740480cf...678513001
0.02 ETH
160948512022-12-02 4:52:11668 days ago1669956731
0x740480cf...678513001
0.005 ETH
160948472022-12-02 4:51:23668 days ago1669956683
0x740480cf...678513001
0.0265 ETH
160948382022-12-02 4:49:35668 days ago1669956575
0x740480cf...678513001
0.01 ETH
160948372022-12-02 4:49:23668 days ago1669956563
0x740480cf...678513001
0.01 ETH
160948352022-12-02 4:48:59668 days ago1669956539
0x740480cf...678513001
0.02 ETH
160948312022-12-02 4:48:11668 days ago1669956491
0x740480cf...678513001
0.02 ETH
160948252022-12-02 4:46:59668 days ago1669956419
0x740480cf...678513001
0.05 ETH
160948222022-12-02 4:46:23668 days ago1669956383
0x740480cf...678513001
0.02 ETH
160948202022-12-02 4:45:59668 days ago1669956359
0x740480cf...678513001
0.04 ETH
160948152022-12-02 4:44:59668 days ago1669956299
0x740480cf...678513001
0.04 ETH
160941462022-12-02 2:30:23668 days ago1669948223
0x740480cf...678513001
0.0265 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SimplePaymentSplitter

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2022-11-05
*/

//SPDX-License-Identifier: MIT License
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);
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/extensions/IERC20Metadata.sol

// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)


contract SimplePaymentSplitter {
    address payable gitcoinAddress =
        payable(0xde21F729137C5Af1b01d73aF1dC21eFfa2B8a0d6);
    address payable owner2 =
        payable(0x69c9F10c96B25fbB6Ad036CF8e5b578000b5565f);
    address payable owner3 =
        payable(0xB9C9a5f66DF622Fa2242e33Bb23d8c7Da964b2Cb);
    address payable owner4 = payable(0x0a17A826E7488daf0bfAF4D43de9E1DEC6a014f9);


    function distribute() public {
        uint256 amount = address(this).balance / 4;

        (bool success, ) = gitcoinAddress.call{value: amount}("");
        require(success, "Gitcoin issue");
        owner2.transfer(amount);
        owner3.transfer(amount);
        owner4.transfer(amount);
    }

    // Allows distribution of weth or any erc20 owned by this contract

    function distributeERC20(address erc20ContractAddress) public {

        IERC20 TokenContract = IERC20(erc20ContractAddress);
        uint256 amount = TokenContract.balanceOf(address(this)) / 4;

        TokenContract.transfer(gitcoinAddress, amount);
        TokenContract.transfer(owner2, amount);
        TokenContract.transfer(owner3, amount);
        TokenContract.transfer(owner4, amount);
    }

    // Receive any ether sent to the contract.
    receive() external payable {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"name":"distribute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"erc20ContractAddress","type":"address"}],"name":"distributeERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600080546001600160a01b031990811673de21f729137c5af1b01d73af1dc21effa2b8a0d6179091556001805482167369c9f10c96b25fbb6ad036cf8e5b578000b5565f17905560028054821673b9c9a5f66df622fa2242e33bb23d8c7da964b2cb17905560038054909116730a17a826e7488daf0bfaf4d43de9e1dec6a014f917905534801561009457600080fd5b506104f4806100a46000396000f3fe60806040526004361061002d5760003560e01c8063bce5826914610039578063e4fc6b6d1461005b57600080fd5b3661003457005b600080fd5b34801561004557600080fd5b50610059610054366004610431565b610070565b005b34801561006757600080fd5b506100596102d3565b6040516370a0823160e01b8152306004808301919091528291600091906001600160a01b038416906370a0823190602401602060405180830381865afa1580156100be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100e29190610461565b6100ec919061047a565b60005460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810183905291925083169063a9059cbb906044016020604051808303816000875af1158015610141573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610165919061049c565b5060015460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303816000875af11580156101b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101dd919061049c565b5060025460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303816000875af1158015610231573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610255919061049c565b5060035460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303816000875af11580156102a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102cd919061049c565b50505050565b60006102e060044761047a565b6000805460405192935090916001600160a01b039091169083908381818185875af1925050503d8060008114610332576040519150601f19603f3d011682016040523d82523d6000602084013e610337565b606091505b505090508061037c5760405162461bcd60e51b815260206004820152600d60248201526c476974636f696e20697373756560981b604482015260640160405180910390fd5b6001546040516001600160a01b039091169083156108fc029084906000818181858888f193505050501580156103b6573d6000803e3d6000fd5b506002546040516001600160a01b039091169083156108fc029084906000818181858888f193505050501580156103f1573d6000803e3d6000fd5b506003546040516001600160a01b039091169083156108fc029084906000818181858888f1935050505015801561042c573d6000803e3d6000fd5b505050565b60006020828403121561044357600080fd5b81356001600160a01b038116811461045a57600080fd5b9392505050565b60006020828403121561047357600080fd5b5051919050565b60008261049757634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156104ae57600080fd5b8151801515811461045a57600080fdfea2646970667358221220020232a76a922d014424ec5c0fa86c1931c36097952b6c81761fb189668c0f6164736f6c63430008110033

Deployed Bytecode

0x60806040526004361061002d5760003560e01c8063bce5826914610039578063e4fc6b6d1461005b57600080fd5b3661003457005b600080fd5b34801561004557600080fd5b50610059610054366004610431565b610070565b005b34801561006757600080fd5b506100596102d3565b6040516370a0823160e01b8152306004808301919091528291600091906001600160a01b038416906370a0823190602401602060405180830381865afa1580156100be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100e29190610461565b6100ec919061047a565b60005460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810183905291925083169063a9059cbb906044016020604051808303816000875af1158015610141573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610165919061049c565b5060015460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303816000875af11580156101b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101dd919061049c565b5060025460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303816000875af1158015610231573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610255919061049c565b5060035460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529083169063a9059cbb906044016020604051808303816000875af11580156102a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102cd919061049c565b50505050565b60006102e060044761047a565b6000805460405192935090916001600160a01b039091169083908381818185875af1925050503d8060008114610332576040519150601f19603f3d011682016040523d82523d6000602084013e610337565b606091505b505090508061037c5760405162461bcd60e51b815260206004820152600d60248201526c476974636f696e20697373756560981b604482015260640160405180910390fd5b6001546040516001600160a01b039091169083156108fc029084906000818181858888f193505050501580156103b6573d6000803e3d6000fd5b506002546040516001600160a01b039091169083156108fc029084906000818181858888f193505050501580156103f1573d6000803e3d6000fd5b506003546040516001600160a01b039091169083156108fc029084906000818181858888f1935050505015801561042c573d6000803e3d6000fd5b505050565b60006020828403121561044357600080fd5b81356001600160a01b038116811461045a57600080fd5b9392505050565b60006020828403121561047357600080fd5b5051919050565b60008261049757634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156104ae57600080fd5b8151801515811461045a57600080fdfea2646970667358221220020232a76a922d014424ec5c0fa86c1931c36097952b6c81761fb189668c0f6164736f6c63430008110033

Deployed Bytecode Sourcemap

3056:1295:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3853:410;;;;;;;;;;-1:-1:-1;3853:410:0;;;;;:::i;:::-;;:::i;:::-;;3465:306;;;;;;;;;;;;;:::i;3853:410::-;4007:38;;-1:-1:-1;;;4007:38:0;;4039:4;4048:1;4007:38;;;451:51:1;;;;3958:20:0;;3928;;4048:1;-1:-1:-1;;;;;4007:23:0;;;;;424:18:1;;4007:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:42;;;;:::i;:::-;4085:14;;4062:46;;-1:-1:-1;;;4062:46:0;;-1:-1:-1;;;;;4085:14:0;;;4062:46;;;1106:51:1;1173:18;;;1166:34;;;3990:59:0;;-1:-1:-1;4062:22:0;;;;;1079:18:1;;4062:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;4142:6:0;;4119:38;;-1:-1:-1;;;4119:38:0;;-1:-1:-1;;;;;4142:6:0;;;4119:38;;;1106:51:1;1173:18;;;1166:34;;;4119:22:0;;;;;;1079:18:1;;4119:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;4191:6:0;;4168:38;;-1:-1:-1;;;4168:38:0;;-1:-1:-1;;;;;4191:6:0;;;4168:38;;;1106:51:1;1173:18;;;1166:34;;;4168:22:0;;;;;;1079:18:1;;4168:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;4240:6:0;;4217:38;;-1:-1:-1;;;4217:38:0;;-1:-1:-1;;;;;4240:6:0;;;4217:38;;;1106:51:1;1173:18;;;1166:34;;;4217:22:0;;;;;;1079:18:1;;4217:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;3915:348;;3853:410;:::o;3465:306::-;3505:14;3522:25;3546:1;3522:21;:25;:::i;:::-;3561:12;3579:14;;:38;;3505:42;;-1:-1:-1;3561:12:0;;-1:-1:-1;;;;;3579:14:0;;;;3505:42;;3561:12;3579:38;3561:12;3579:38;3505:42;3579:14;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3560:57;;;3636:7;3628:33;;;;-1:-1:-1;;;3628:33:0;;1905:2:1;3628:33:0;;;1887:21:1;1944:2;1924:18;;;1917:30;-1:-1:-1;;;1963:18:1;;;1956:43;2016:18;;3628:33:0;;;;;;;;3672:6;;:23;;-1:-1:-1;;;;;3672:6:0;;;;:23;;;;;3688:6;;3672;:23;:6;:23;3688:6;3672;:23;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3706:6:0;;:23;;-1:-1:-1;;;;;3706:6:0;;;;:23;;;;;3722:6;;3706;:23;:6;:23;3722:6;3706;:23;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3740:6:0;;:23;;-1:-1:-1;;;;;3740:6:0;;;;:23;;;;;3756:6;;3740;:23;:6;:23;3756:6;3740;:23;;;;;;;;;;;;;;;;;;;;;3494:277;;3465:306::o;14:286:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;168:23;;-1:-1:-1;;;;;220:31:1;;210:42;;200:70;;266:1;263;256:12;200:70;289:5;14:286;-1:-1:-1;;;14:286:1:o;513:184::-;583:6;636:2;624:9;615:7;611:23;607:32;604:52;;;652:1;649;642:12;604:52;-1:-1:-1;675:16:1;;513:184;-1:-1:-1;513:184:1:o;702:217::-;742:1;768;758:132;;812:10;807:3;803:20;800:1;793:31;847:4;844:1;837:15;875:4;872:1;865:15;758:132;-1:-1:-1;904:9:1;;702:217::o;1211:277::-;1278:6;1331:2;1319:9;1310:7;1306:23;1302:32;1299:52;;;1347:1;1344;1337:12;1299:52;1379:9;1373:16;1432:5;1425:13;1418:21;1411:5;1408:32;1398:60;;1454:1;1451;1444:12

Swarm Source

ipfs://020232a76a922d014424ec5c0fa86c1931c36097952b6c81761fb189668c0f61

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.