Home
last modified time | relevance | path

Searched refs:payable (Results 151 – 175 of 1070) sorted by relevance

12345678910>>...43

/dports/lang/solidity/solidity_0.8.11/test/libsolidity/syntaxTests/viewPureChecker/
H A Dwrite_storage_fail.sol6 …expression (potentially) modifies the state and thus requires non-payable (the default) or payable.
H A Dcreation_view_fail.sol6 …expression (potentially) modifies the state and thus requires non-payable (the default) or payable.
H A Daccess_to_base_member_function.sol11 …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 Doverride_stricter_mutability1.sol2 function foo() public payable virtual returns (uint256) {}
8 // TypeError 6959: (94-153): Overriding function changes state mutability from "payable" to "nonpay…
H A Doverride_stricter_mutability4.sol2 function foo() public payable virtual returns (uint256) {}
8 // TypeError 6959: (94-158): Overriding function changes state mutability from "payable" to "view".
H A Doverride_stricter_mutability5.sol2 function foo() public payable virtual returns (uint256) {}
8 // TypeError 6959: (94-158): Overriding function changes state mutability from "payable" to "pure".
H A Doverride_stricter_mutability7.sol5 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 D358_illegal_override_payable.sol1 contract B { function f() payable virtual public {} }
5 // TypeError 6959: (72-94): Overriding function changes state mutability from "payable" to "nonpaya…
H A D359_illegal_override_payable_nonpayable.sol2 contract C is B { function f() payable public {} }
5 …peError 6959: (64-94): Overriding function changes state mutability from "nonpayable" to "payable".
H A D397_warns_msg_value_in_non_payable_public_function.sol7 …"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 Dexternal_function_type_to_address_payable.sol2 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 Dpayable_fallback_without_receive_nonempty_by_inheritance.sol5 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 Done_source.sol7 …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 Dlibrary_to_address_payable.sol4 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 Dfallback_or_receive.sol4 fallback () payable external { ++x; }
5 receive () payable external { ++y; }
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/syntaxTests/conversion/
H A Dfunction_type_nonpayable_payable.sol5 function () payable external g = this.h;
10 …e function () external is not implicitly convertible to expected type function () payable external.
H A Dfunction_type_payable_pure.sol2 function h() payable external {
10 // TypeError 9574: (113-149): Type function () payable external is not implicitly convertible to ex…
H A Dfunction_type_payable_view.sol2 function h() payable external {
10 // TypeError 9574: (113-149): Type function () payable external is not implicitly convertible to ex…
H A Dfunction_type_pure_payable.sol5 function () payable external g = this.h;
10 …ction () pure external is not implicitly convertible to expected type function () payable external.
H A Dfunction_type_view_payable.sol5 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 Daccess_to_array_push_view.sol8 …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 Daddress_to_payable_address_double.sol2 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 Dpayable_constructor_abi.sol2 constructor(uint param1, test param2, bool param3) payable {}
26 // "stateMutability": "payable",
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/syntaxTests/functionCalls/
H A Dmsg_value_non_payable.sol7 …"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 Dfunctions.rst294 ``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 …]

12345678910>>...43