Implement balance (#20)

This commit is contained in:
Cyrill Leutwiler authored and GitHub committed 2024-06-03 12:21:49 +02:00
1 parent 1ba806be1f
commit 5ff17da695
6 files changed
+103 -4

No files matched your search

+4
View File
@@ -6,4 +6,8 @@ contract Value {
function value() public payable returns (uint ret) {
ret = msg.value;
}
function balance_of(address _address) public view returns (uint ret) {
ret = _address.balance;
}
}