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

Function newStateVariables

libsolidity/formal/PredicateInstance.cpp:140–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140std::vector<smtutil::Expression> newStateVariables(ContractDefinition const& _contract, EncodingContext& _context)
141{
142 return applyMap(
143 SMTEncoder::stateVariablesIncludingInheritedAndPrivate(_contract),
144 [&](auto _var) { return _context.variable(*_var)->increaseIndex(); }
145 );
146}
147
148std::vector<smtutil::Expression> currentFunctionVariablesForDefinition(
149 FunctionDefinition const& _function,

Callers 2

constructorCallFunction · 0.85

Calls 3

applyMapFunction · 0.85
variableMethod · 0.80
increaseIndexMethod · 0.45

Tested by

no test coverage detected