/dports/lang/solidity/solidity_0.8.11/test/libsolidity/syntaxTests/viewPureChecker/ |
H A D | write_storage_fail.sol | 6 …expression (potentially) modifies the state and thus requires non-payable (the default) or payable.
|
H A D | creation_view_fail.sol | 6 …expression (potentially) modifies the state and thus requires non-payable (the default) or payable.
|
H A D | access_to_base_member_function.sol | 11 …expression (potentially) modifies the state and thus requires non-payable (the default) or payable.
|
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/syntaxTests/inheritance/override/ |
H A D | override_stricter_mutability1.sol | 2 function foo() public payable virtual returns (uint256) {} 8 // TypeError 6959: (94-153): Overriding function changes state mutability from "payable" to "nonpay…
|
H A D | override_stricter_mutability4.sol | 2 function foo() public payable virtual returns (uint256) {} 8 // TypeError 6959: (94-158): Overriding function changes state mutability from "payable" to "view".
|
H A D | override_stricter_mutability5.sol | 2 function foo() public payable virtual returns (uint256) {} 8 // TypeError 6959: (94-158): Overriding function changes state mutability from "payable" to "pure".
|
H A D | override_stricter_mutability7.sol | 5 function foo() public payable override virtual returns (uint256) {} 8 // TypeError 6959: (91-158): Overriding function changes state mutability from "view" to "payable".
|
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/syntaxTests/nameAndTypeResolution/ |
H A D | 358_illegal_override_payable.sol | 1 contract B { function f() payable virtual public {} } 5 // TypeError 6959: (72-94): Overriding function changes state mutability from "payable" to "nonpaya…
|
H A D | 359_illegal_override_payable_nonpayable.sol | 2 contract C is B { function f() payable public {} } 5 …peError 6959: (64-94): Overriding function changes state mutability from "nonpayable" to "payable".
|
H A D | 397_warns_msg_value_in_non_payable_public_function.sol | 7 …"msg.value" and "callvalue()" can only be used in payable public functions. Make the function "pay…
|
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/syntaxTests/functionTypes/ |
H A D | external_function_type_to_address_payable.sol | 2 function f() public view returns (address payable) { 7 …ess is not implicitly convertible to expected type (type of first return variable) address payable.
|
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/syntaxTests/fallback/ |
H A D | payable_fallback_without_receive_nonempty_by_inheritance.sol | 5 fallback() external payable { } 8 // Warning 3628: (49-104): This contract has a payable fallback function, but no receive ether func…
|
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/syntaxTests/multiSource/ |
H A D | one_source.sol | 7 …expression (potentially) modifies the state and thus requires non-payable (the default) or payable.
|
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/syntaxTests/types/ |
H A D | library_to_address_payable.sol | 4 function f() public pure returns (address payable) { 9 …ess is not implicitly convertible to expected type (type of first return variable) address payable.
|
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/semanticTests/fallback/ |
H A D | fallback_or_receive.sol | 4 fallback () payable external { ++x; } 5 receive () payable external { ++y; }
|
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/syntaxTests/conversion/ |
H A D | function_type_nonpayable_payable.sol | 5 function () payable external g = this.h; 10 …e function () external is not implicitly convertible to expected type function () payable external.
|
H A D | function_type_payable_pure.sol | 2 function h() payable external { 10 // TypeError 9574: (113-149): Type function () payable external is not implicitly convertible to ex…
|
H A D | function_type_payable_view.sol | 2 function h() payable external { 10 // TypeError 9574: (113-149): Type function () payable external is not implicitly convertible to ex…
|
H A D | function_type_pure_payable.sol | 5 function () payable external g = this.h; 10 …ction () pure external is not implicitly convertible to expected type function () payable external.
|
H A D | function_type_view_payable.sol | 5 function () payable external g = this.h; 10 …ction () view external is not implicitly convertible to expected type function () payable external.
|
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/syntaxTests/viewPureChecker/array/ |
H A D | access_to_array_push_view.sol | 8 …expression (potentially) modifies the state and thus requires non-payable (the default) or payable.
|
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/syntaxTests/types/address/ |
H A D | address_to_payable_address_double.sol | 2 function f(address a) public pure returns (address payable) { 7 …ess is not implicitly convertible to expected type (type of first return variable) address payable.
|
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/ABIJson/ |
H A D | payable_constructor_abi.sol | 2 constructor(uint param1, test param2, bool param3) payable {} 26 // "stateMutability": "payable",
|
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/syntaxTests/functionCalls/ |
H A D | msg_value_non_payable.sol | 7 …"msg.value" and "callvalue()" can only be used in payable public functions. Make the function "pay…
|
/dports/lang/solidity/solidity_0.8.11/docs/contracts/ |
H A D | functions.rst | 294 ``receive() external payable { ... }`` 297 ``external`` visibility and ``payable`` state mutability. 352 receive() external payable { 374 it must be marked ``payable``. 380 In the worst case, if a payable fallback function is also used in 389 A ``payable`` fallback function is also executed for 392 function as well, if you define a payable fallback function 415 // because the fallback function does not have the `payable` 428 fallback() external payable { x = 1; y = msg.value; } 432 receive() external payable { x = 2; y = msg.value; } [all …]
|