ETH Price: $3,246.57 (+0.17%)

Contract

0xCC756617C97a05aC472fD8Ab92C88F2A9cb681EC
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Fund Streams180713792023-09-05 16:10:11493 days ago1693930211IN
0xCC756617...A9cb681EC
14.5 ETH0.0045846214.84311567
Fund Streams179721632023-08-22 18:52:59507 days ago1692730379IN
0xCC756617...A9cb681EC
6 ETH0.0050055629.83335734
Fund Streams179226762023-08-15 20:38:59514 days ago1692131939IN
0xCC756617...A9cb681EC
12.5 ETH0.0060226830.24393461

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
198348982024-05-09 20:33:35246 days ago1715286815
0xCC756617...A9cb681EC
1.5 ETH
198348982024-05-09 20:33:35246 days ago1715286815
0xCC756617...A9cb681EC
1 ETH
198348982024-05-09 20:33:35246 days ago1715286815
0xCC756617...A9cb681EC
2 ETH
198348982024-05-09 20:33:35246 days ago1715286815
0xCC756617...A9cb681EC
1.5 ETH
198348982024-05-09 20:33:35246 days ago1715286815
0xCC756617...A9cb681EC
6 ETH
197281602024-04-24 22:18:35261 days ago1713997115
0xCC756617...A9cb681EC
0.5 ETH
197281602024-04-24 22:18:35261 days ago1713997115
0xCC756617...A9cb681EC
1.5 ETH
197281602024-04-24 22:18:35261 days ago1713997115
0xCC756617...A9cb681EC
1.5 ETH
197281602024-04-24 22:18:35261 days ago1713997115
0xCC756617...A9cb681EC
0.5 ETH
197281602024-04-24 22:18:35261 days ago1713997115
0xCC756617...A9cb681EC
1.5 ETH
197281602024-04-24 22:18:35261 days ago1713997115
0xCC756617...A9cb681EC
1.5 ETH
197281602024-04-24 22:18:35261 days ago1713997115
0xCC756617...A9cb681EC
0.5 ETH
197281602024-04-24 22:18:35261 days ago1713997115
0xCC756617...A9cb681EC
0.5 ETH
197281602024-04-24 22:18:35261 days ago1713997115
0xCC756617...A9cb681EC
0.5 ETH
197281602024-04-24 22:18:35261 days ago1713997115
0xCC756617...A9cb681EC
0.5 ETH
197281602024-04-24 22:18:35261 days ago1713997115
0xCC756617...A9cb681EC
9 ETH
196424392024-04-12 22:16:47273 days ago1712960207
0xCC756617...A9cb681EC
1 ETH
196424392024-04-12 22:16:47273 days ago1712960207
0xCC756617...A9cb681EC
1.5 ETH
196424392024-04-12 22:16:47273 days ago1712960207
0xCC756617...A9cb681EC
1.5 ETH
196424392024-04-12 22:16:47273 days ago1712960207
0xCC756617...A9cb681EC
1.5 ETH
196424392024-04-12 22:16:47273 days ago1712960207
0xCC756617...A9cb681EC
0.5 ETH
196424392024-04-12 22:16:47273 days ago1712960207
0xCC756617...A9cb681EC
0.5 ETH
196424392024-04-12 22:16:47273 days ago1712960207
0xCC756617...A9cb681EC
0.5 ETH
196424392024-04-12 22:16:47273 days ago1712960207
0xCC756617...A9cb681EC
1.5 ETH
196424392024-04-12 22:16:47273 days ago1712960207
0xCC756617...A9cb681EC
0.5 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StreamMultiFunder

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : StreamMultiFunder.sol
pragma solidity >=0.8.4;
//SPDX-License-Identifier: MIT

interface ISimpleStream {
  function streamDeposit(string memory reason) external payable;
}

// custom errors to save gas
error NO_STREAMS();
error AMOUNT_TOO_LOW();
error NOT_AUSTIN();
error INVALID_ARRAY_INPUT();
error ETH_TRANSFER_FAILURE();

contract StreamMultiFunder {
  address public constant buidlGuidl = 0x97843608a00e2bbc75ab0C1911387E002565DEDE;
  address public constant austinGriffith = 0x34aA3F359A9D614239015126635CE7732c18fDF3;

  event MultiFundStreams(address indexed sender, address[] streams, uint256[] amounts, string[] reasons);

  function fundStreams(address[] memory streams, uint256[] memory amounts, string[] memory reasons) public payable {
    if (streams.length == 0) {
      revert NO_STREAMS();
    }
    if (msg.value <= 0.001 ether) {
      revert AMOUNT_TOO_LOW();
    }
    if (streams.length != amounts.length) {
      revert INVALID_ARRAY_INPUT();
    }
    if (streams.length != reasons.length) {
      revert INVALID_ARRAY_INPUT();
    }

    for (uint8 i = 0; i < streams.length;) {
        ISimpleStream thisStream = ISimpleStream(streams[i]);
        thisStream.streamDeposit{value: amounts[i]}(reasons[i]);
        unchecked {
          ++ i;
        }
    }

    emit MultiFundStreams(msg.sender, streams, amounts, reasons);
  }

  function austinCanCleanUpDust() public {
    if (msg.sender != austinGriffith) {
      revert NOT_AUSTIN();
    }
    (bool sent,) = buidlGuidl.call{value: address(this).balance}("");
    if (!sent) {
      revert ETH_TRANSFER_FAILURE();
    }
  }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"name":"AMOUNT_TOO_LOW","type":"error"},{"inputs":[],"name":"ETH_TRANSFER_FAILURE","type":"error"},{"inputs":[],"name":"INVALID_ARRAY_INPUT","type":"error"},{"inputs":[],"name":"NOT_AUSTIN","type":"error"},{"inputs":[],"name":"NO_STREAMS","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"address[]","name":"streams","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"indexed":false,"internalType":"string[]","name":"reasons","type":"string[]"}],"name":"MultiFundStreams","type":"event"},{"inputs":[],"name":"austinCanCleanUpDust","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"austinGriffith","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buidlGuidl","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"streams","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"string[]","name":"reasons","type":"string[]"}],"name":"fundStreams","outputs":[],"stateMutability":"payable","type":"function"}]

608060405234801561001057600080fd5b50610791806100206000396000f3fe60806040526004361061003f5760003560e01c80634b5d7be61461004457806350c4f7fb14610088578063e94dc32b1461009d578063fbb20e12146100c5575b600080fd5b34801561005057600080fd5b5061006c7334aa3f359a9d614239015126635ce7732c18fdf381565b6040516001600160a01b03909116815260200160405180910390f35b61009b6100963660046104b0565b6100da565b005b3480156100a957600080fd5b5061006c7397843608a00e2bbc75ab0c1911387e002565dede81565b3480156100d157600080fd5b5061009b6102ac565b82516100f957604051630253787560e11b815260040160405180910390fd5b66038d7ea4c68000341161012057604051631f2d84f160e31b815260040160405180910390fd5b815183511461014257604051635656989360e11b815260040160405180910390fd5b805183511461016457604051635656989360e11b815260040160405180910390fd5b60005b83518160ff161015610261576000848260ff168151811061019857634e487b7160e01b600052603260045260246000fd5b60200260200101519050806001600160a01b031663c5a15ec8858460ff16815181106101d457634e487b7160e01b600052603260045260246000fd5b6020026020010151858560ff16815181106101ff57634e487b7160e01b600052603260045260246000fd5b60200260200101516040518363ffffffff1660e01b815260040161022391906106d6565b6000604051808303818588803b15801561023c57600080fd5b505af1158015610250573d6000803e3d6000fd5b505050505081600101915050610167565b50336001600160a01b03167f9bef9ed7240c270ca702342bb437ccf0959814d044a7a71a0139e8bd688d8d2184848460405161029f93929190610640565b60405180910390a2505050565b337334aa3f359a9d614239015126635ce7732c18fdf3146102e057604051636226740560e11b815260040160405180910390fd5b6040516000907397843608a00e2bbc75ab0c1911387e002565dede9047908381818185875af1925050503d8060008114610336576040519150601f19603f3d011682016040523d82523d6000602084013e61033b565b606091505b505090508061035d5760405163427e95a760e11b815260040160405180910390fd5b50565b6000601f8381840112610371578182fd5b8235602061038661038183610721565b6106f0565b80838252828201915082870188848660051b8a010111156103a5578687fd5b865b8581101561043857813567ffffffffffffffff808211156103c657898afd5b818b0191508b603f8301126103d957898afd5b868201356040828211156103ef576103ef610745565b610400828c01601f19168a016106f0565b92508183528d81838601011115610415578b8cfd5b818185018a85013750810187018a905285525092840192908401906001016103a7565b509098975050505050505050565b600082601f830112610456578081fd5b8135602061046661038183610721565b80838252828201915082860187848660051b8901011115610485578586fd5b855b858110156104a357813584529284019290840190600101610487565b5090979650505050505050565b6000806000606084860312156104c4578283fd5b833567ffffffffffffffff808211156104db578485fd5b818601915086601f8301126104ee578485fd5b813560206104fe61038183610721565b8083825282820191508286018b848660051b890101111561051d57898afd5b8996505b848710156105535780356001600160a01b038116811461053f578a8bfd5b835260019690960195918301918301610521565b5097505087013592505080821115610569578384fd5b61057587838801610446565b9350604086013591508082111561058a578283fd5b5061059786828701610360565b9150509250925092565b600081518084526020808501808196508360051b81019150828601855b858110156105e85782840389526105d68483516105f5565b988501989350908401906001016105be565b5091979650505050505050565b60008151808452815b8181101561061a576020818501810151868301820152016105fe565b8181111561062b5782602083870101525b50601f01601f19169290920160200192915050565b606080825284519082018190526000906020906080840190828801845b828110156106825781516001600160a01b03168452928401929084019060010161065d565b50505083810382850152855180825286830191830190845b818110156106b65783518352928401929184019160010161069a565b505084810360408601526106ca81876105a1565b98975050505050505050565b6020815260006106e960208301846105f5565b9392505050565b604051601f8201601f1916810167ffffffffffffffff8111828210171561071957610719610745565b604052919050565b600067ffffffffffffffff82111561073b5761073b610745565b5060051b60200190565b634e487b7160e01b600052604160045260246000fdfea2646970667358221220b1123c36504940a1a9f4e859d2f8e499de2e1ad6a17470ee25d9975f7670289f64736f6c63430008040033

Deployed Bytecode

0x60806040526004361061003f5760003560e01c80634b5d7be61461004457806350c4f7fb14610088578063e94dc32b1461009d578063fbb20e12146100c5575b600080fd5b34801561005057600080fd5b5061006c7334aa3f359a9d614239015126635ce7732c18fdf381565b6040516001600160a01b03909116815260200160405180910390f35b61009b6100963660046104b0565b6100da565b005b3480156100a957600080fd5b5061006c7397843608a00e2bbc75ab0c1911387e002565dede81565b3480156100d157600080fd5b5061009b6102ac565b82516100f957604051630253787560e11b815260040160405180910390fd5b66038d7ea4c68000341161012057604051631f2d84f160e31b815260040160405180910390fd5b815183511461014257604051635656989360e11b815260040160405180910390fd5b805183511461016457604051635656989360e11b815260040160405180910390fd5b60005b83518160ff161015610261576000848260ff168151811061019857634e487b7160e01b600052603260045260246000fd5b60200260200101519050806001600160a01b031663c5a15ec8858460ff16815181106101d457634e487b7160e01b600052603260045260246000fd5b6020026020010151858560ff16815181106101ff57634e487b7160e01b600052603260045260246000fd5b60200260200101516040518363ffffffff1660e01b815260040161022391906106d6565b6000604051808303818588803b15801561023c57600080fd5b505af1158015610250573d6000803e3d6000fd5b505050505081600101915050610167565b50336001600160a01b03167f9bef9ed7240c270ca702342bb437ccf0959814d044a7a71a0139e8bd688d8d2184848460405161029f93929190610640565b60405180910390a2505050565b337334aa3f359a9d614239015126635ce7732c18fdf3146102e057604051636226740560e11b815260040160405180910390fd5b6040516000907397843608a00e2bbc75ab0c1911387e002565dede9047908381818185875af1925050503d8060008114610336576040519150601f19603f3d011682016040523d82523d6000602084013e61033b565b606091505b505090508061035d5760405163427e95a760e11b815260040160405180910390fd5b50565b6000601f8381840112610371578182fd5b8235602061038661038183610721565b6106f0565b80838252828201915082870188848660051b8a010111156103a5578687fd5b865b8581101561043857813567ffffffffffffffff808211156103c657898afd5b818b0191508b603f8301126103d957898afd5b868201356040828211156103ef576103ef610745565b610400828c01601f19168a016106f0565b92508183528d81838601011115610415578b8cfd5b818185018a85013750810187018a905285525092840192908401906001016103a7565b509098975050505050505050565b600082601f830112610456578081fd5b8135602061046661038183610721565b80838252828201915082860187848660051b8901011115610485578586fd5b855b858110156104a357813584529284019290840190600101610487565b5090979650505050505050565b6000806000606084860312156104c4578283fd5b833567ffffffffffffffff808211156104db578485fd5b818601915086601f8301126104ee578485fd5b813560206104fe61038183610721565b8083825282820191508286018b848660051b890101111561051d57898afd5b8996505b848710156105535780356001600160a01b038116811461053f578a8bfd5b835260019690960195918301918301610521565b5097505087013592505080821115610569578384fd5b61057587838801610446565b9350604086013591508082111561058a578283fd5b5061059786828701610360565b9150509250925092565b600081518084526020808501808196508360051b81019150828601855b858110156105e85782840389526105d68483516105f5565b988501989350908401906001016105be565b5091979650505050505050565b60008151808452815b8181101561061a576020818501810151868301820152016105fe565b8181111561062b5782602083870101525b50601f01601f19169290920160200192915050565b606080825284519082018190526000906020906080840190828801845b828110156106825781516001600160a01b03168452928401929084019060010161065d565b50505083810382850152855180825286830191830190845b818110156106b65783518352928401929184019160010161069a565b505084810360408601526106ca81876105a1565b98975050505050505050565b6020815260006106e960208301846105f5565b9392505050565b604051601f8201601f1916810167ffffffffffffffff8111828210171561071957610719610745565b604052919050565b600067ffffffffffffffff82111561073b5761073b610745565b5060051b60200190565b634e487b7160e01b600052604160045260246000fdfea2646970667358221220b1123c36504940a1a9f4e859d2f8e499de2e1ad6a17470ee25d9975f7670289f64736f6c63430008040033

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.