Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

ContractDefTrait

Fully qualified path: dojo_cairo_test::world::ContractDefTrait

pub trait ContractDefTrait

Trait functions

new

Fully qualified path: dojo_cairo_test::world::ContractDefTrait::new

fn new(namespace: @ByteArray, name: @ByteArray) -> ContractDef

new_address

Fully qualified path: dojo_cairo_test::world::ContractDefTrait::new_address

fn new_address(address: ContractAddress) -> ContractDef

with_init_calldata

Fully qualified path: dojo_cairo_test::world::ContractDefTrait::with_init_calldata

fn with_init_calldata(self: ContractDef, init_calldata: Span<felt252>) -> ContractDef

with_writer_of

Fully qualified path: dojo_cairo_test::world::ContractDefTrait::with_writer_of

fn with_writer_of(self: ContractDef, writer_of: Span<felt252>) -> ContractDef

with_owner_of

Fully qualified path: dojo_cairo_test::world::ContractDefTrait::with_owner_of

fn with_owner_of(self: ContractDef, owner_of: Span<felt252>) -> ContractDef