Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

declare

Declare a contract.

Arguments

  • name - the contract name.

Returns

The declared contract class and classHash.

Fully qualified path: dojo_snf_test::declare_deploy::declare

pub fn declare(name: ByteArray) -> (ContractClass, ClassHash)