Variable: cairoTypeStrategy
constcairoTypeStrategy:CairoTypeStrategy
Defined in: src/utils/calldata/parser/cairoTypeStrategy.ts:159
The strategy the composite classes drive.
It carries the leaf types only for now : a composite adds itself to dynamicSelectors as it is
written, because its abi type is a family rather than one string. Nothing in the library reads
this map yet — the parsers still run on hdParsingStrategy, and moving them over is the
next step, not this one.
Example
const felts = cairoTypeStrategy.constructors['core::integer::u8'](44, cairoTypeStrategy)
.toApiRequest();
// felts = ["44"]