Skip to main content
Version: Next

Namespace: provider

Functions

wait

wait(delay): Promise<unknown>

Helper - Async Sleep for 'delay' time

Parameters

NameType
delaynumber

Returns

Promise<unknown>

Defined in

src/utils/provider.ts:16


createSierraContractClass

createSierraContractClass(contract): SierraContractClass

Create Sierra Contract Class from a given Compiled Sierra

CompiledSierra -> SierraContractClass

Parameters

NameType
contractCompiledSierra

Returns

SierraContractClass

Defined in

src/utils/provider.ts:27


parseContract

parseContract(contract): ContractClass

Create Contract Class from a given CompiledContract or string

(CompiledContract or string) -> ContractClass

Parameters

NameType
contractstring | CompiledContract

Returns

ContractClass

Defined in

src/utils/provider.ts:41