- Preparing search index...
- The search index is not available
sotez
Constructors
constructor
- new Contract(client: any, address: string): Contract
-
Parameters
-
client: any
-
address: string
Properties
Readonly
address
address: string
entrypoints
entrypoints: any
loaded
loaded: Promise<boolean>
Methods
_init
- _init(address: string): Promise<boolean>
-
Returns Promise<boolean>
_initializeMethods
- _initializeMethods(address: string, parameterSchema: ParameterSchema, entrypoints: any): void
-
Parameters
-
address: string
-
-
entrypoints: any
Returns void
balance
- balance(): Promise<string>
-
Returns Promise<string>
storage
- storage(): Promise<any>
-
Returns Promise<any>
Description
Creates an initialized contract class abstraction
Param
Initialized Sotez client
Param
Contract address
Example