protected static class ContractInterface.InvocationBuilder extends java.lang.Object implements ContractInterface.ContractInvocationWithNothing, ContractInterface.ContractInvocationWithReady
Modifier and Type | Field and Description |
---|---|
protected Aer |
amount |
protected java.lang.Object[] |
args |
protected @NonNull ContractInterface |
contractInterface |
protected boolean |
delegateFee |
protected ContractFunction |
function |
Modifier | Constructor and Description |
---|---|
protected |
InvocationBuilder() |
Modifier and Type | Method and Description |
---|---|
ContractInterface.ContractInvocationWithReady |
amount(Aer amount) |
ContractInterface.ContractInvocationWithReady |
args(java.lang.Object... args) |
ContractInvocation |
build() |
ContractInterface.ContractInvocationWithReady |
delegateFee(boolean delegateFee) |
ContractInterface.ContractInvocationWithReady |
function(java.lang.String functionName) |
@NonNull protected final @NonNull ContractInterface contractInterface
protected ContractFunction function
protected java.lang.Object[] args
protected Aer amount
protected boolean delegateFee
public ContractInterface.ContractInvocationWithReady function(java.lang.String functionName)
function
in interface ContractInterface.ContractInvocationWithNothing
public ContractInterface.ContractInvocationWithReady args(java.lang.Object... args)
args
in interface ContractInterface.ContractInvocationWithReady
public ContractInterface.ContractInvocationWithReady amount(Aer amount)
amount
in interface ContractInterface.ContractInvocationWithReady
public ContractInterface.ContractInvocationWithReady delegateFee(boolean delegateFee)
delegateFee
in interface ContractInterface.ContractInvocationWithReady
public ContractInvocation build()
build
in interface Builder<ContractInvocation>