Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IHelloStarknet

Interface representing HelloContract. This interface allows modification and retrieval of the contract balance.

Fully qualified path: playground::IHelloStarknet

pub trait IHelloStarknet<TContractState>

Trait functions

increase_balance

Increase contract balance.

Fully qualified path: playground::IHelloStarknet::increase_balance

fn increase_balance(ref self: TContractState, amount: felt252)

get_balance

Retrieve contract balance.

Fully qualified path: playground::IHelloStarknet::get_balance

fn get_balance(self: @TContractState) -> felt252

open_docs

Fully qualified path: playground::IHelloStarknet::open_docs

fn open_docs(self: @TContractState) -> felt252