Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 13 internal transactions
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| - | 12473998 | 1745 days ago | 0.01 ETH | ||||
| - | 12473950 | 1745 days ago | 0.1 ETH | ||||
| - | 12473945 | 1745 days ago | 0.1 ETH | ||||
| - | 12473908 | 1745 days ago | 0.01 ETH | ||||
| - | 12473908 | 1745 days ago | 0.01 ETH | ||||
| - | 12473908 | 1745 days ago | 0.01 ETH | ||||
| - | 12473908 | 1745 days ago | 0.01 ETH | ||||
| - | 12473908 | 1745 days ago | 0.01 ETH | ||||
| - | 12473908 | 1745 days ago | 0.01 ETH | ||||
| - | 12473908 | 1745 days ago | 0.01 ETH | ||||
| - | 12473908 | 1745 days ago | 0.01 ETH | ||||
| - | 12473908 | 1745 days ago | 0.01 ETH | ||||
| - | 12473908 | 1745 days ago | 0.01 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
StreamFunder
Compiler Version
v0.7.6+commit.7338295f
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2021-05-20
*/
// Sources flattened with hardhat v2.1.1 https://hardhat.org
// File contracts/StreamFunder.sol
//
// https://github.com/austintgriffith/scaffold-eth/tree/buidl-guidl-round-two
//
//
// 🏰 BuidlGuidl.com
//
pragma solidity >=0.6.0 <0.9.0;
pragma abicoder v2;
//SPDX-License-Identifier: MIT
//https://github.com/austintgriffith/scaffold-eth/tree/simple-stream
contract SimpleStream {
address payable public toAddress;
uint256 public cap;
uint256 public frequency;
uint256 public last;
function streamBalance() public view returns (uint256){}
function streamDeposit(string memory reason) public payable {}
}
contract StreamFunder {
address payable public buidlGuidl = 0x97843608a00e2bbc75ab0C1911387E002565DEDE;
event FundStreams(address indexed sender, uint256 amount, address[] streams,string[] reasons);
function fundStreams(address[] memory streams,string[] memory reasons) public payable {
require(streams.length>0,"no streams");
require(streams.length==reasons.length,"different length");
for(uint8 a = 0;a<streams.length;a++){
if(streams[a]==buidlGuidl){
buidlGuidl.transfer(msg.value/streams.length);
}else{
SimpleStream thisStream = SimpleStream(streams[a]);
thisStream.streamDeposit{value: msg.value/streams.length}(reasons[a]);
}
}
emit FundStreams(msg.sender, msg.value, streams, reasons);
}
address public austinGriffith = 0x34aA3F359A9D614239015126635CE7732c18fDF3;
function austinCanCleanUpDust() public {
require(msg.sender==austinGriffith,"Not Austin");
buidlGuidl.transfer(address(this).balance);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"streams","type":"address[]"},{"indexed":false,"internalType":"string[]","name":"reasons","type":"string[]"}],"name":"FundStreams","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 payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"streams","type":"address[]"},{"internalType":"string[]","name":"reasons","type":"string[]"}],"name":"fundStreams","outputs":[],"stateMutability":"payable","type":"function"}]Contract Creation Code
6080604052600080546001600160a01b03199081167397843608a00e2bbc75ab0c1911387e002565dede17909155600180549091167334aa3f359a9d614239015126635ce7732c18fdf317905534801561005857600080fd5b50610690806100686000396000f3fe60806040526004361061003f5760003560e01c80634b5d7be614610044578063bcc96fd31461006f578063e94dc32b14610084578063fbb20e1214610099575b600080fd5b34801561005057600080fd5b506100596100ae565b60405161006691906104d1565b60405180910390f35b61008261007d3660046103bb565b6100bd565b005b34801561009057600080fd5b5061005961028b565b3480156100a557600080fd5b5061008261029a565b6001546001600160a01b031681565b60008251116100e75760405162461bcd60e51b81526004016100de906104ff565b60405180910390fd5b80518251146101085760405162461bcd60e51b81526004016100de90610523565b60005b82518160ff1610156102415760005483516001600160a01b0390911690849060ff841690811061013757fe5b60200260200101516001600160a01b0316141561019d5760005483516001600160a01b03909116906108fc90348161016b57fe5b049081150290604051600060405180830381858888f19350505050158015610197573d6000803e3d6000fd5b50610239565b6000838260ff16815181106101ae57fe5b60200260200101519050806001600160a01b031663c5a15ec8855134816101d157fe5b04858560ff16815181106101e157fe5b60200260200101516040518363ffffffff1660e01b815260040161020591906104e5565b6000604051808303818588803b15801561021e57600080fd5b505af1158015610232573d6000803e3d6000fd5b5050505050505b60010161010b565b50336001600160a01b03167f1e41332d70fed591316e9911d366f569ba910183be022e0fae0de93bc18f792234848460405161027f93929190610571565b60405180910390a25050565b6000546001600160a01b031681565b6001546001600160a01b031633146102c45760405162461bcd60e51b81526004016100de9061054d565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f193505050501580156102fe573d6000803e3d6000fd5b50565b6000601f8381840112610312578182fd5b823560206103276103228361063c565b610618565b82815281810190868301865b858110156103ad57813589018a603f82011261034d578889fd5b85810135604067ffffffffffffffff82111561036557fe5b610376828b01601f19168901610618565b8281528d82848601011115610389578b8cfd5b828285018a83013791820188018b9052508552509284019290840190600101610333565b509098975050505050505050565b600080604083850312156103cd578182fd5b823567ffffffffffffffff808211156103e4578384fd5b818501915085601f8301126103f7578384fd5b813560206104076103228361063c565b82815281810190858301838502870184018b1015610423578889fd5b8896505b848710156104595780356001600160a01b038116811461044557898afd5b835260019690960195918301918301610427565b509650508601359250508082111561046f578283fd5b5061047c85828601610301565b9150509250929050565b60008151808452815b818110156104ab5760208185018101518683018201520161048f565b818111156104bc5782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0391909116815260200190565b6000602082526104f86020830184610486565b9392505050565b6020808252600a90820152696e6f2073747265616d7360b01b604082015260600190565b60208082526010908201526f0c8d2cccccae4cadce840d8cadccee8d60831b604082015260600190565b6020808252600a90820152692737ba1020bab9ba34b760b11b604082015260600190565b60006060820185835260206060818501528186518084526080860191508288019350845b818110156105ba5784516001600160a01b031683529383019391830191600101610595565b505084810360408601528551808252828201935082810282018301838801865b8381101561060857601f198584030187526105f6838351610486565b968601969250908501906001016105da565b50909a9950505050505050505050565b60405181810167ffffffffffffffff8111828210171561063457fe5b604052919050565b600067ffffffffffffffff82111561065057fe5b506020908102019056fea26469706673582212201781a79a193b2f4799612ff068a144ecacd9e1fa081e8d42d2e4dc2cbf70e1d264736f6c63430007060033
Deployed Bytecode
0x60806040526004361061003f5760003560e01c80634b5d7be614610044578063bcc96fd31461006f578063e94dc32b14610084578063fbb20e1214610099575b600080fd5b34801561005057600080fd5b506100596100ae565b60405161006691906104d1565b60405180910390f35b61008261007d3660046103bb565b6100bd565b005b34801561009057600080fd5b5061005961028b565b3480156100a557600080fd5b5061008261029a565b6001546001600160a01b031681565b60008251116100e75760405162461bcd60e51b81526004016100de906104ff565b60405180910390fd5b80518251146101085760405162461bcd60e51b81526004016100de90610523565b60005b82518160ff1610156102415760005483516001600160a01b0390911690849060ff841690811061013757fe5b60200260200101516001600160a01b0316141561019d5760005483516001600160a01b03909116906108fc90348161016b57fe5b049081150290604051600060405180830381858888f19350505050158015610197573d6000803e3d6000fd5b50610239565b6000838260ff16815181106101ae57fe5b60200260200101519050806001600160a01b031663c5a15ec8855134816101d157fe5b04858560ff16815181106101e157fe5b60200260200101516040518363ffffffff1660e01b815260040161020591906104e5565b6000604051808303818588803b15801561021e57600080fd5b505af1158015610232573d6000803e3d6000fd5b5050505050505b60010161010b565b50336001600160a01b03167f1e41332d70fed591316e9911d366f569ba910183be022e0fae0de93bc18f792234848460405161027f93929190610571565b60405180910390a25050565b6000546001600160a01b031681565b6001546001600160a01b031633146102c45760405162461bcd60e51b81526004016100de9061054d565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f193505050501580156102fe573d6000803e3d6000fd5b50565b6000601f8381840112610312578182fd5b823560206103276103228361063c565b610618565b82815281810190868301865b858110156103ad57813589018a603f82011261034d578889fd5b85810135604067ffffffffffffffff82111561036557fe5b610376828b01601f19168901610618565b8281528d82848601011115610389578b8cfd5b828285018a83013791820188018b9052508552509284019290840190600101610333565b509098975050505050505050565b600080604083850312156103cd578182fd5b823567ffffffffffffffff808211156103e4578384fd5b818501915085601f8301126103f7578384fd5b813560206104076103228361063c565b82815281810190858301838502870184018b1015610423578889fd5b8896505b848710156104595780356001600160a01b038116811461044557898afd5b835260019690960195918301918301610427565b509650508601359250508082111561046f578283fd5b5061047c85828601610301565b9150509250929050565b60008151808452815b818110156104ab5760208185018101518683018201520161048f565b818111156104bc5782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0391909116815260200190565b6000602082526104f86020830184610486565b9392505050565b6020808252600a90820152696e6f2073747265616d7360b01b604082015260600190565b60208082526010908201526f0c8d2cccccae4cadce840d8cadccee8d60831b604082015260600190565b6020808252600a90820152692737ba1020bab9ba34b760b11b604082015260600190565b60006060820185835260206060818501528186518084526080860191508288019350845b818110156105ba5784516001600160a01b031683529383019391830191600101610595565b505084810360408601528551808252828201935082810282018301838801865b8381101561060857601f198584030187526105f6838351610486565b968601969250908501906001016105da565b50909a9950505050505050505050565b60405181810167ffffffffffffffff8111828210171561063457fe5b604052919050565b600067ffffffffffffffff82111561065057fe5b506020908102019056fea26469706673582212201781a79a193b2f4799612ff068a144ecacd9e1fa081e8d42d2e4dc2cbf70e1d264736f6c63430007060033
Deployed Bytecode Sourcemap
652:1023:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1444:74;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;866:572;;;;;;:::i;:::-;;:::i;:::-;;681:78;;;;;;;;;;;;;:::i;1523:149::-;;;;;;;;;;;;;:::i;1444:74::-;;;-1:-1:-1;;;;;1444:74:0;;:::o;866:572::-;982:1;967:7;:14;:16;959:38;;;;-1:-1:-1;;;959:38:0;;;;;;;:::i;:::-;;;;;;;;;1028:7;:14;1012:7;:14;:30;1004:58;;;;-1:-1:-1;;;1004:58:0;;;;;;;:::i;:::-;1073:7;1069:300;1087:7;:14;1085:1;:16;;;1069:300;;;1130:10;;1118;;-1:-1:-1;;;;;1130:10:0;;;;1118:7;;:10;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1118:22:0;;1115:247;;;1152:10;;1182:14;;-1:-1:-1;;;;;1152:10:0;;;;:45;;1172:9;1182:14;1172:24;;;;;1152:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1115:247;;;1222:23;1261:7;1269:1;1261:10;;;;;;;;;;;;;;;;1222:50;;1283:10;-1:-1:-1;;;;;1283:24:0;;1325:7;:14;1315:9;:24;;;;;;1341:7;1349:1;1341:10;;;;;;;;;;;;;;;;1283:69;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1115:247;;1102:3;;1069:300;;;;1392:10;-1:-1:-1;;;;;1380:52:0;;1404:9;1415:7;1424;1380:52;;;;;;;;:::i;:::-;;;;;;;;866:572;;:::o;681:78::-;;;-1:-1:-1;;;;;681:78:0;;:::o;1523:149::-;1589:14;;-1:-1:-1;;;;;1589:14:0;1577:10;:26;1569:48;;;;-1:-1:-1;;;1569:48:0;;;;;;;:::i;:::-;1624:10;;;:42;;-1:-1:-1;;;;;1624:10:0;;;;1644:21;1624:42;;;;;1644:21;;1624:42;:10;:42;1644:21;1624:10;:42;;;;;;;;;;;;;;;;;;;;;1523:149::o;14:1181:1:-;;103:4;147:3;142:2;134:6;130:15;126:25;116:2;;169:5;162;155:20;116:2;209:6;196:20;235:4;259:65;274:49;320:2;274:49;:::i;:::-;259:65;:::i;:::-;358:15;;;389:12;;;;421:15;;;454:5;468:698;482:2;479:1;476:9;468:698;;;562:3;549:17;541:6;537:30;607:3;602:2;598;594:11;590:21;580:2;;629:5;622;615:20;580:2;681;677;673:11;660:25;708:2;733:18;729:2;726:26;723:2;;;755:9;723:2;794:50;817:11;;;-1:-1:-1;;813:25:1;809:34;;794:50;:::i;:::-;873:2;864:7;857:19;917:3;912:2;907;903;899:11;895:20;892:29;889:2;;;938:5;931;924:20;889:2;1003;998;994;990:11;985:2;976:7;972:16;959:47;1030:16;;;1026:25;;1019:40;;;-1:-1:-1;1072:20:1;;-1:-1:-1;1112:12:1;;;;1144;;;;500:1;493:9;468:698;;;-1:-1:-1;1184:5:1;;83:1112;-1:-1:-1;;;;;;;;83:1112:1:o;1200:1351::-;;;1389:2;1377:9;1368:7;1364:23;1360:32;1357:2;;;1410:6;1402;1395:22;1357:2;1455:9;1442:23;1484:18;1525:2;1517:6;1514:14;1511:2;;;1546:6;1538;1531:22;1511:2;1589:6;1578:9;1574:22;1564:32;;1634:7;1627:4;1623:2;1619:13;1615:27;1605:2;;1661:6;1653;1646:22;1605:2;1702;1689:16;1724:4;1748:65;1763:49;1809:2;1763:49;:::i;1748:65::-;1847:15;;;1878:12;;;;1910:11;;;1948;;;1940:20;;1936:29;;1933:42;-1:-1:-1;1930:2:1;;;1993:6;1985;1978:22;1930:2;2020:6;2011:15;;2035:287;2049:2;2046:1;2043:9;2035:287;;;2107:17;;-1:-1:-1;;;;;2157:31:1;;2147:42;;2137:2;;2208:6;2200;2193:22;2137:2;2230:18;;2067:1;2060:9;;;;;2268:12;;;;2300;;2035:287;;;-1:-1:-1;2341:5:1;-1:-1:-1;;2384:18:1;;2371:32;;-1:-1:-1;;2415:16:1;;;2412:2;;;2449:6;2441;2434:22;2412:2;;2477:68;2537:7;2526:8;2515:9;2511:24;2477:68;:::i;:::-;2467:78;;;1347:1204;;;;;:::o;2556:478::-;;2638:5;2632:12;2665:6;2660:3;2653:19;2690:3;2702:162;2716:6;2713:1;2710:13;2702:162;;;2778:4;2834:13;;;2830:22;;2824:29;2806:11;;;2802:20;;2795:59;2731:12;2702:162;;;2882:6;2879:1;2876:13;2873:2;;;2948:3;2941:4;2932:6;2927:3;2923:16;2919:27;2912:40;2873:2;-1:-1:-1;3016:2:1;2995:15;-1:-1:-1;;2991:29:1;2982:39;;;;3023:4;2978:50;;2608:426;-1:-1:-1;;2608:426:1:o;3039:203::-;-1:-1:-1;;;;;3203:32:1;;;;3185:51;;3173:2;3158:18;;3140:102::o;3471:222::-;;3620:2;3609:9;3602:21;3640:47;3683:2;3672:9;3668:18;3660:6;3640:47;:::i;:::-;3632:55;3592:101;-1:-1:-1;;;3592:101:1:o;3698:334::-;3900:2;3882:21;;;3939:2;3919:18;;;3912:30;-1:-1:-1;;;3973:2:1;3958:18;;3951:40;4023:2;4008:18;;3872:160::o;4037:340::-;4239:2;4221:21;;;4278:2;4258:18;;;4251:30;-1:-1:-1;;;4312:2:1;4297:18;;4290:46;4368:2;4353:18;;4211:166::o;4382:334::-;4584:2;4566:21;;;4623:2;4603:18;;;4596:30;-1:-1:-1;;;4657:2:1;4642:18;;4635:40;4707:2;4692:18;;4556:160::o;4721:1416::-;;5037:2;5026:9;5022:18;5067:6;5056:9;5049:25;5093:2;5131;5126;5115:9;5111:18;5104:30;5154:6;5189;5183:13;5220:6;5212;5205:22;5258:3;5247:9;5243:19;5236:26;;5297:2;5289:6;5285:15;5271:29;;5318:4;5331:195;5345:6;5342:1;5339:13;5331:195;;;5410:13;;-1:-1:-1;;;;;5406:39:1;5394:52;;5501:15;;;;5466:12;;;;5442:1;5360:9;5331:195;;;-1:-1:-1;;5562:19:1;;;5557:2;5542:18;;5535:47;5632:13;;5654:21;;;5693:12;;;;-1:-1:-1;5741:17:1;;;5732:27;;5728:36;;5789:15;;;5824:4;5837:271;5853:8;5848:3;5845:17;5837:271;;;5948:2;5944:7;5938:3;5930:6;5926:16;5922:30;5915:5;5908:45;5976:44;6013:6;6002:8;5996:15;5976:44;:::i;:::-;6084:14;;;;5966:54;-1:-1:-1;6045:17:1;;;;5881:1;5872:11;5837:271;;;-1:-1:-1;6125:6:1;;4998:1139;-1:-1:-1;;;;;;;;;;4998:1139:1:o;6142:242::-;6212:2;6206:9;6242:17;;;6289:18;6274:34;;6310:22;;;6271:62;6268:2;;;6336:9;6268:2;6363;6356:22;6186:198;;-1:-1:-1;6186:198:1:o;6389:183::-;;6488:18;6480:6;6477:30;6474:2;;;6510:9;6474:2;-1:-1:-1;6561:4:1;6542:17;;;6538:28;;6464:108::o
Swarm Source
ipfs://1781a79a193b2f4799612ff068a144ecacd9e1fa081e8d42d2e4dc2cbf70e1d2
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
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.