mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-22 18:28:01 +00:00
14 lines
277 B
Solidity
14 lines
277 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.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;
|
|
}
|
|
}
|