Warp - Bringing Solidity to Starknet at warp speed. Warp is a Solidity to Cairo Compiler, this allows teams to write/migrate Solidity to Cairo for easy onboarding into the StarkNet ecosystem.
There is an implementation for CairoBlockFunctionDefinition nodes in src/ast/cairoNodes/cairoBlockFunctionDefinition.ts that is not being used at the moment. Cairo blocks are currently being handled using the documentation of FunctionDefinition nodes. Using an instance of the class CairoBlockFunctionDefinition to represent the block will make it easier to handle
Some places that will need updating when doing the refactor:
There is an implementation for
CairoBlockFunctionDefinition
nodes insrc/ast/cairoNodes/cairoBlockFunctionDefinition.ts
that is not being used at the moment. Cairo blocks are currently being handled using the documentation ofFunctionDefinition
nodes. Using an instance of the classCairoBlockFunctionDefinition
to represent the block will make it easier to handle Some places that will need updating when doing the refactor:src/passes/cairoStubProcessor.ts
src/cairoWriter/writers/cairoFunctionDefinitionWriter.ts
src/passes/annotateImplicits.ts
Refer to the documentation for further details on Cairo Blocks