mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-11-01 16:31:11 +00:00
Implement balance (#20)
This commit is contained in:
1 parent
1ba806be1f
commit
5ff17da695
6 files changed
+103
-4
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user