> ## Documentation Index
> Fetch the complete documentation index at: https://docs.primastem.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Function contract card

> Book 2, worksheet 8, chapter 5. Three cards on a sheet.

For printing: [PDF, A4](https://github.com/primastem/mintlify-docs/raw/main/en/book-2/files/card-contract.pdf)

Chapter 5. Before you put down the tokens, agree where the robot stands and faces before and after the function call. Mark the point and draw the arrow. Cut the three cards apart along the dotted line.

### Function contract

The function draws: \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

Bottom row: \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

![Empty grid with 1 cm cells](https://mintcdn.com/primastem/oAzqmLMPmuYxZWeP/images/book-2/sheets/contract-grid.svg?fit=max\&auto=format\&n=oAzqmLMPmuYxZWeP\&q=85\&s=8546476863be9efbfd9e6e20ebd6d4d1)

Before the call: spot and direction

![Empty grid with 1 cm cells](https://mintcdn.com/primastem/oAzqmLMPmuYxZWeP/images/book-2/sheets/contract-grid.svg?fit=max\&auto=format\&n=oAzqmLMPmuYxZWeP\&q=85\&s=8546476863be9efbfd9e6e20ebd6d4d1)

After the call: spot and direction


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.