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

Function interface

libsolidity/formal/PredicateInstance.cpp:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36smtutil::Expression interface(Predicate const& _pred, ContractDefinition const& _contract, EncodingContext& _context)
37{
38 auto const& state = _context.state();
39 std::vector<smtutil::Expression> stateExprs = getStateExpressionsForInterface(state);
40 return _pred(stateExprs + currentStateVariables(_contract, _context));
41}
42
43smtutil::Expression nondetInterface(
44 Predicate const& _pred,

Callers 3

endVisitMethod · 0.85
interfaceMethod · 0.85
predicateMethod · 0.85

Calls 3

currentStateVariablesFunction · 0.85
stateMethod · 0.45

Tested by

no test coverage detected