Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- contract InfoFeed {
- function info() payable returns (uint ret) { return 42; }
- }
- contract Consumer {
- InfoFeed feed;
- function setFeed(address addr) { feed = InfoFeed(addr); }
- function callFeed() { feed.info.value(10).gas(800)(); }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement