Properties 
_calldata _calldata:  Encoder 
 
Methods 
$compile 
$compile( ) :  Promise < ` cb_ ${ string } ` >  
Returns Promise < ` cb_ ${ string } ` >    Static initialize 
initialize< M > ( __namedParameters:  Omit < {       aci:  Aci ;       address?:  ` ct_ ${ string } ` ;       bytecode?:  ` cb_ ${ string } ` ;       fileSystem?:  Record < string ,  string > ;       onCompiler?:  CompilerBase ;       onNode:  Node ;       sourceCode?:  string ;       sourceCodePath?:  string ;  }  &  Partial < BuildTxOptions < ContractCallTx ,  "callData"  |  "callerId"  |  "contractId" > >  &  {       omitUnknown?:  boolean ;  }  &  GetContractNameByEventOptions  &  Omit < SendTransactionOptions ,  "onNode"  |  "onAccount" >  &  Omit < {       combine?:  boolean ;       onNode:  Node ;       top?:  number  |  ` kh_ ${ string } `  |  ` mh_ ${ string } ` ;       txEvents?:  boolean ;  } ,  "onNode" >  &  {       callStatic?:  boolean ;       onAccount?:  AccountBase ;       onNode?:  Node ;  }  &  Partial < BuildTxOptions < ContractCreateTx ,  "code"  |  "ownerId"  |  "callData" > > ,  "address"  |  "aci" >  &  {       aci?:  Aci ;       address?:  ` ${ string } .chain `  |  ` ct_ ${ string } ` ;       validateBytecode?:  boolean ;  } ) :  Promise < Contract < M > >  
Parameters 
__namedParameters: Omit < {       aci:  Aci ;       address?:  ` ct_ ${ string } ` ;       bytecode?:  ` cb_ ${ string } ` ;       fileSystem?:  Record < string ,  string > ;       onCompiler?:  CompilerBase ;       onNode:  Node ;       sourceCode?:  string ;       sourceCodePath?:  string ;  }  &  Partial < BuildTxOptions < ContractCallTx ,  "callData"  |  "callerId"  |  "contractId" > >  &  {       omitUnknown?:  boolean ;  }  &  GetContractNameByEventOptions  &  Omit < SendTransactionOptions ,  "onNode"  |  "onAccount" >  &  Omit < {       combine?:  boolean ;       onNode:  Node ;       top?:  number  |  ` kh_ ${ string } `  |  ` mh_ ${ string } ` ;       txEvents?:  boolean ;  } ,  "onNode" >  &  {       callStatic?:  boolean ;       onAccount?:  AccountBase ;       onNode?:  Node ;  }  &  Partial < BuildTxOptions < ContractCreateTx ,  "code"  |  "ownerId"  |  "callData" > > ,  "address"  |  "aci" >  &  {       aci?:  Aci ;       address?:  ` ${ string } .chain `  |  ` ct_ ${ string } ` ;       validateBytecode?:  boolean ;  }     
Returns Promise < Contract < M > >      
 
 
Generate contract ACI object with predefined js methods for contract usage - can be used for creating a reference to already deployed contracts
Param
Options object
Returns
JS Contract API
Example
Also you can call contract like:
await contractIns.setState(123, options)Then sdk decide to make on-chain or static call(dry-run API) transaction based on function is stateful or not