Interface ContractInterface
Methods
createContractAccount
- createContractAccount(contractAccountName: number, address: string): Promise<any>
-
Parameters
-
contractAccountName: number
-
address: string
Returns Promise<any>
deploySolidityContract
- deploySolidityContract(contractAccount: string, contractName: string, bin: string, abi: string, lang: string, initArgs: any, upgrade: boolean, account?: AccountModel): Promise<any>
-
Parameters
-
contractAccount: string
-
contractName: string
-
bin: string
-
abi: string
-
lang: string
-
initArgs: any
-
upgrade: boolean
-
Returns Promise<any>
deployWasmContract
- deployWasmContract(contractAccount: string, contractName: string, code: string, lang: string, initArgs: any, upgrade: boolean, account?: AccountModel): Promise<any>
-
Parameters
-
contractAccount: string
-
contractName: string
-
code: string
-
lang: string
-
initArgs: any
-
upgrade: boolean
-
Returns Promise<any>
getContractAccounts
- getContractAccounts(address?: undefined | string): Promise<any>
-
Parameters
-
Optional address: undefined | string
Returns Promise<any>
getContracts
- getContracts(target: string): Promise<any>
-
Parameters
Returns Promise<any>