Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- contract A{
- uint bidValue;
- address bidder;
- function bid() public payable{
- bidValue = msg.value;
- bidder = tx.origin;
- }
- }
- import A.sol;
- contract B{
- function aBid() public payable{
- A a = A(address);
- a.bid.value(msg.sender);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement