Namespace: provider
Functions​
wait​
â–¸ wait(delay
): Promise
<unknown
>
Helper - Async Sleep for 'delay' time
Parameters​
Name | Type |
---|---|
delay | number |
Returns​
Promise
<unknown
>
Defined in​
createSierraContractClass​
â–¸ createSierraContractClass(contract
): SierraContractClass
Create Sierra Contract Class from a given Compiled Sierra
CompiledSierra -> SierraContractClass
Parameters​
Name | Type |
---|---|
contract | CompiledSierra |
Returns​
Defined in​
parseContract​
â–¸ parseContract(contract
): ContractClass
Create Contract Class from a given CompiledContract or string
(CompiledContract or string) -> ContractClass
Parameters​
Name | Type |
---|---|
contract | string | CompiledContract |