Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

deploy_with_world_address

Deploy classhash and passes in world address to constructor

Arguments

  • class_hash - Class to deploy
  • world - World dispatcher to pass as world address

Returns

  • address of contract deployed

Fully qualified path: dojo_snf_test::world::deploy_with_world_address

pub fn deploy_with_world_address(class_hash: felt252, world: IWorldDispatcher) -> ContractAddress