Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

contract_class

Fully qualified path: snforge_std::cheatcodes::contract_class

Free functions

declareDeclares a contract contract - name of a contract as Cairo string. It is a name of the contract (part after mod keyword) e.g. "HelloStarknet" Returns the DeclareResult...
get_class_hashRetrieves a class hash of a contract deployed under the given address contract_address - target contract address Returns the ClassHash under given address

Structs

Enums

Traits