MCPcopy Create free account
hub / github.com/argotorg/solidity / encodingType

Method encodingType

libsolidity/ast/Types.cpp:1457–1466  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1455}
1456
1457Type 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
1468BoolResult ContractType::isImplicitlyConvertibleTo(Type const& _convertTo) const
1469{

Callers 4

fullEncodingTypeMethod · 0.45
retrieveValueMethod · 0.45
storeValueMethod · 0.45

Calls 1

addressClass · 0.85

Tested by

no test coverage detected