Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ContractInterface

Hierarchy

Index

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
    • Optional account: AccountModel

    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
    • Optional account: AccountModel

    Returns Promise<any>

getContractAccounts

  • getContractAccounts(address?: undefined | string): Promise<any>
  • Parameters

    • Optional address: undefined | string

    Returns Promise<any>

getContracts

  • getContracts(target: string): Promise<any>