saddress

shielded address

An saddress variable has all address operations supported. As for members, it supports call, delegatecall, staticcall, code, and codehash only. It also does not support saddress payable.

The universal casting rules and restrictions described in Basics apply.

saddress a = saddress(0x123);
saddress b = saddress(0x456);

// == VALID EXAMPLES
a == b  // false
b.call()

// == INVALID EXAMPLES
a.balance
payable(a)

Last updated