| 1455 | } |
| 1456 | |
| 1457 | Type const* ContractType::encodingType() const |
| 1458 | { |
| 1459 | if (isSuper()) |
| 1460 | return nullptr; |
| 1461 | |
| 1462 | if (isPayable()) |
| 1463 | return TypeProvider::payableAddress(); |
| 1464 | else |
| 1465 | return TypeProvider::address(); |
| 1466 | } |
| 1467 | |
| 1468 | BoolResult ContractType::isImplicitlyConvertibleTo(Type const& _convertTo) const |
| 1469 | { |
no test coverage detected