mirror of
https://github.com/cerc-io/watcher-ts
synced 2025-01-25 04:20:33 +00:00
19 lines
371 B
Solidity
19 lines
371 B
Solidity
|
// SPDX-License-Identifier: MIT
|
||
|
pragma solidity ^0.7.0;
|
||
|
|
||
|
contract TestAddress {
|
||
|
address address1;
|
||
|
|
||
|
address payable address2;
|
||
|
|
||
|
// Set variable address1.
|
||
|
function setAddress1(address value) external {
|
||
|
address1 = value;
|
||
|
}
|
||
|
|
||
|
// Set variable address2.
|
||
|
function setAddress2(address payable value) external {
|
||
|
address2 = value;
|
||
|
}
|
||
|
}
|