46 - Address Members
Members of Address Type:
-
<address>.balance (uint256)
: balance of the Address in Wei -
<address>.code (bytes memory)
: code at the Address (can be empty) -
<address>.codehash (bytes32)
: the codehash of the Address -
<address payable>.transfer(uint256 amount)
: send given amount of Wei to Address, reverts on failure, forwards 2300 gas stipend, not adjustable -
<address payable>.send(uint256 amount)
returns (bool)
: send given amount of Wei to Address, returns false on failure, forwards 2300 gas stipend, not adjustable -
<address>.call(bytes memory)
returns (bool, bytes memory)
: issue low-level CALL with the given payload, returns success condition and return data, forwards all available gas, adjustable -
<address>.delegatecall(bytes memory)
returns (bool, bytes memory)
: issue low-level DELEGATECALL with the given payload, returns success condition and return data, forwards all available gas, adjustable -
<address>.staticcall(bytes memory)
returns (bool, bytes memory)
: issue low-level STATICCALL with the given payload, returns success condition and return data, forwards all available gas, adjustable