Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IUpgradeableWorld

Fully qualified path: dojo::world::iworld::IUpgradeableWorld

pub trait IUpgradeableWorld<T>

Trait functions

upgrade

Upgrades the world with new_class_hash.

Arguments

  • new_class_hash - The new world class hash.

Fully qualified path: dojo::world::iworld::IUpgradeableWorld::upgrade

fn upgrade(ref self: T, new_class_hash: ClassHash)