@ApiAudience.Public @ApiStability.Unstable public class ContractFunction extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.lang.String> |
argumentNames |
protected boolean |
feeDelegation |
protected java.lang.String |
name |
protected boolean |
payable |
protected boolean |
view |
Constructor and Description |
---|
ContractFunction(java.lang.String name)
ContractFunction constructor.
|
ContractFunction(java.lang.String name,
boolean payable,
boolean view,
boolean feeDelegation)
ContractFunction constructor.
|
ContractFunction(java.lang.String name,
java.util.List<java.lang.String> argumentNames)
ContractFunction constructor.
|
ContractFunction(java.lang.String name,
java.util.List<java.lang.String> argumentNames,
boolean payable,
boolean view,
boolean feeDelegation)
ContractFunction constructor.
|
protected final java.lang.String name
protected final java.util.List<java.lang.String> argumentNames
protected final boolean payable
protected final boolean view
protected final boolean feeDelegation
@ApiAudience.Private public ContractFunction(java.lang.String name)
name
- a function name@ApiAudience.Private public ContractFunction(java.lang.String name, java.util.List<java.lang.String> argumentNames)
name
- a function nameargumentNames
- an argument names@ApiAudience.Private public ContractFunction(java.lang.String name, boolean payable, boolean view, boolean feeDelegation)
name
- a function namepayable
- whether a function is payable or notview
- whether a function is view or notfeeDelegation
- whether a function can delegate fee or not@ApiAudience.Private public ContractFunction(java.lang.String name, java.util.List<java.lang.String> argumentNames, boolean payable, boolean view, boolean feeDelegation)
name
- a function nameargumentNames
- an argument namespayable
- whether a function is payable or notview
- whether a function is view or notfeeDelegation
- whether a function can delegate fee or not