Search...
⌘K
Examples
Introduction
Basic concepts
Storage
Functions
Variables
Constructor
Simple counter
Error handling
Events
Storing custom types
Custom types in entrypoints
Mappings
Documentation
Calling other contracts
Components
Advanced Concepts
Writing to any storage slot
Structs as mapping keys
Verifying ZK proofs
ECDSA verification
Plugins
Sierra
Library calls
Hashing
Solidity hashing
Commit-Reveal
Storage optimisation
Account abstraction
Applications
Factory
Advanced factory
Constant product AMM
Crowdfunding
ERC20 token
ERC721 token
L1 ↔ L2 token bridge
Merkle tree contract
NFT Dutch auction
Random number generator
Simple storage
Simple DeFi vault
Staking
TimeLock
Upgradeable contract
Starknet Documentation home page
Welcome
Build
Secure
Learn
Ask AI
Search...
Navigation
Page Not Found
404
Page Not Found
We couldn't find the page you were looking for. Maybe you were looking for?
Introduction to Starknet By Example
Storing custom types
Custom types in entrypoints
Assistant
Responses are generated using AI and may contain mistakes.