Class ContractApiImpl
java.lang.Object
com.kryptokrauts.aeternity.generated.api.ContractApiImpl
- All Implemented Interfaces:
ContractApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-01-10T23:40:09.108255703Z[Etc/UTC]") public class ContractApiImpl extends java.lang.Object implements ContractApi
-
Constructor Summary
Constructors Constructor Description ContractApiImpl()
ContractApiImpl(ApiClient apiClient)
-
Method Summary
Modifier and Type Method Description ApiClient
getApiClient()
void
getContract(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<ContractObject>> resultHandler)
Get a contract by pubkeyvoid
getContractCode(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<ByteCode>> resultHandler)
Get contract code by pubkeyvoid
getContractPoI(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<PoI>> resultHandler)
Get a proof of inclusion for a contractvoid
postContractCall(ContractCallTx contractCallTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)
Get a contract_call transaction objectvoid
postContractCreate(ContractCreateTx contractCreateTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<CreateContractUnsignedTx>> resultHandler)
Get a contract_create transaction objectvoid
setApiClient(ApiClient apiClient)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ContractApiImpl
public ContractApiImpl() -
ContractApiImpl
-
-
Method Details
-
getApiClient
-
setApiClient
-
getContract
public void getContract(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<ContractObject>> resultHandler)Get a contract by pubkey- Specified by:
getContract
in interfaceContractApi
- Parameters:
pubkey
- Contract pubkey to get proof for (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
getContractCode
public void getContractCode(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<ByteCode>> resultHandler)Get contract code by pubkey- Specified by:
getContractCode
in interfaceContractApi
- Parameters:
pubkey
- Contract pubkey to get proof for (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
getContractPoI
public void getContractPoI(java.lang.String pubkey, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<PoI>> resultHandler)Get a proof of inclusion for a contract- Specified by:
getContractPoI
in interfaceContractApi
- Parameters:
pubkey
- Contract pubkey to get proof for (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
postContractCall
public void postContractCall(ContractCallTx contractCallTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<UnsignedTx>> resultHandler)Get a contract_call transaction object- Specified by:
postContractCall
in interfaceContractApi
- Parameters:
contractCallTx
- (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-
postContractCreate
public void postContractCreate(ContractCreateTx contractCreateTx, java.lang.Boolean intAsString, io.vertx.core.Handler<io.vertx.core.AsyncResult<CreateContractUnsignedTx>> resultHandler)Get a contract_create transaction object- Specified by:
postContractCreate
in interfaceContractApi
- Parameters:
contractCreateTx
- (required)intAsString
- If this flag is set to true, the response will have all integers set as strings (optional, default to false)resultHandler
- Asynchronous result handler
-