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

DeclareResultTrait

Fully qualified path: snforge_std::cheatcodes::contract_class::DeclareResultTrait

pub trait DeclareResultTrait

Trait functions

contract_class

Gets inner ContractClass self - an instance of the struct DeclareResult which is obtained by calling declare

Fully qualified path: snforge_std::cheatcodes::contract_class::DeclareResultTrait::contract_class

fn contract_class(self: DeclareResult) -> ContractClass