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

Function interfacePre

libsolidity/formal/PredicateInstance.cpp:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27namespace solidity::frontend::smt
28{
29smtutil::Expression interfacePre(Predicate const& _pred, ContractDefinition const& _contract, EncodingContext& _context)
30{
31 auto& state = _context.state();
32 std::vector<smtutil::Expression> stateExprs = getStateExpressionsForInterfacePre(state);
33 return _pred(stateExprs + initialStateVariables(_contract, _context));
34}
35
36smtutil::Expression interface(Predicate const& _pred, ContractDefinition const& _contract, EncodingContext& _context)
37{

Callers 1

endVisitMethod · 0.85

Calls 3

initialStateVariablesFunction · 0.85
stateMethod · 0.45

Tested by

no test coverage detected