Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

declare_and_deploy

Declare and deploy and contract.

Arguments

  • name - the contract name.

Returns

The deployed contract address.

Fully qualified path: dojo_snf_test::declare_deploy::declare_and_deploy

pub fn declare_and_deploy(name: ByteArray) -> ContractAddress