Home
last modified time | relevance | path

Searched refs:payable (Results 51 – 75 of 1070) sorted by relevance

12345678910>>...43

/dports/lang/solidity/solidity_0.8.11/test/libsolidity/smtCheckerTests/blockchain_state/
H A Dlibrary_public_2.sol2 function l(address payable a) public {
8 using L for address payable;
10 function f(address payable a) public payable {
H A Dlibrary_public_1.sol2 function l(address payable a) public {}
6 using L for address payable;
8 function f(address payable a) public payable {
H A Dlibrary_public_3.sol2 function l(address payable a) public returns (uint) {
8 using L for address payable;
10 function f(address payable a) public payable {
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/syntaxTests/viewPureChecker/
H A Dfunction_types_fail.sol16 …expression (potentially) modifies the state and thus requires non-payable (the default) or payable.
18 …expression (potentially) modifies the state and thus requires non-payable (the default) or payable.
H A Daccess_to_base_member_struct.sol18 …expression (potentially) modifies the state and thus requires non-payable (the default) or payable.
19 …expression (potentially) modifies the state and thus requires non-payable (the default) or payable.
/dports/www/moodle310/moodle/payment/classes/
H A Dhelper.php71 $payable = static::get_payable($component, $paymentarea, $itemid);
72 $account = new account($payable->get_account_id());
78 $currency = $payable->get_currency();
153 $payable = static::get_payable($component, $paymentarea, $itemid);
162 … 'data-cost' => static::get_cost_as_string($payable->get_amount(), $payable->get_currency()),
193 …function get_payable(string $component, string $paymentarea, int $itemid): local\entities\payable {
211 $payable = self::get_payable($component, $paymentarea, $itemid);
213 $account = new account($payable->get_account_id());
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/syntaxTests/parsing/
H A Dconstructor_payable_payable.sol2 constructor() payable payable {}
5 // ParserError 9680: (37-44): State mutability already specified as "payable".
H A Daddress_payable_conversion.sol3 address payable a = address payable(this);
7 // ParserError 2314: (80-87): Expected ';' but got 'payable'
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/syntaxTests/types/address/
H A Dcontract_receive_to_payable_address.sol3 address payable a = payable(this);
6 receive() external payable {
H A Daddress_tuple_fine.sol2 function f() public view returns (address payable a, address b) {
3 (address c, address payable d) = (address(this), payable(0));
H A Dcontract_receive_to_payable_address_implicitly.sol3 address payable a = this;
6 receive() external payable {
10 …rror 9574: (46-70): Type contract C is not implicitly convertible to expected type address payable.
H A Daddress_payable_internal_overload_payable.sol2 function f(address payable) internal pure {}
5 address payable a = payable(0);
H A Daddress_constant_assignment.sol3 address payable constant b = payable(0);
6 b = payable(0);
H A Daddress_in_struct_fine.sol12 address payable a;
16 s.a = payable(this);
18 receive() external payable {
H A Daddress_to_contract_payable_fallback.sol3 c = C(payable(address(2)));
5 fallback() external payable {
9 // Warning 3628: (0-129): This contract has a payable fallback function, but no receive ether funct…
H A Dnonpayable_address_to_contract_receive.sol6 receive() external payable {
10 …): Explicit type conversion not allowed from non-payable "address" to "contract C", which has a pa…
H A Daddress_payable_storage_array_conversion_fail.sol2 address payable[] a;
5 address payable[] storage c = a;
11 …] storage pointer is not implicitly convertible to expected type address payable[] storage pointer.
H A Daddress_to_payable_address.sol4 address payable c = a;
9 …eError 9574: (80-101): Type address is not implicitly convertible to expected type address payable.
10 …Error 7407: (115-116): Type address is not implicitly convertible to expected type address payable.
/dports/www/moodle311/moodle/payment/classes/
H A Dhelper.php71 $payable = static::get_payable($component, $paymentarea, $itemid);
72 $account = new account($payable->get_account_id());
78 $currency = $payable->get_currency();
153 $payable = static::get_payable($component, $paymentarea, $itemid);
163 … 'data-cost' => static::get_cost_as_string($payable->get_amount(), $payable->get_currency()),
197 …function get_payable(string $component, string $paymentarea, int $itemid): local\entities\payable {
228 $payable = self::get_payable($component, $paymentarea, $itemid);
230 $account = new account($payable->get_account_id());
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/syntaxTests/duplicateFunctions/
H A Dreceive_function_thrice.sol2 receive() external payable { }
3 receive() external payable { }
4 receive() external payable { }
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/gasTests/
H A Ddispatch_medium.sol7 function g7(uint x) public payable returns (uint) { b[uint8(msg.data[6])] = x; }
8 function g8(uint x) public payable returns (uint) { b[uint8(msg.data[7])] = x; }
9 function g9(uint x) public payable returns (uint) { b[uint8(msg.data[8])] = x; }
10 function g0(uint x) public payable returns (uint) { require(x > 10); }
H A Ddispatch_medium_optimised.sol7 function g7(uint x) public payable returns (uint) { b[uint8(msg.data[6])] = x; }
8 function g8(uint x) public payable returns (uint) { b[uint8(msg.data[7])] = x; }
9 function g9(uint x) public payable returns (uint) { b[uint8(msg.data[8])] = x; }
10 function g0(uint x) public payable returns (uint) { require(x > 10); }
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/syntaxTests/inheritance/fallback_receive/
H A Dreceive_unimplemented.sol2 receive(bytes2) external payable;
6 receive() external payable override;
10 receive() external payable override {}
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/syntaxTests/nameAndTypeResolution/
H A D466_does_not_error_transfer_payable_fallback.sol2 // because A does not have a payable fallback function.
5 receive() payable external {}
12 payable(a).transfer(100);
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/semanticTests/functionTypes/
H A Dinline_array_with_value_call_option.sol2 function f() external payable returns (uint) { assert(msg.value > 0); return 1; }
3 function g() external payable returns (uint) { assert(msg.value > 0); return 2; }
5 function h() public payable returns (uint) {

12345678910>>...43