Package com.algorand.algosdk.abi
Class Method
- java.lang.Object
-
- com.algorand.algosdk.abi.Method
-
public class Method extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMethod.Argstatic classMethod.Returns
-
Field Summary
Fields Modifier and Type Field Description List<Method.Arg>argsStringdescStringnamestatic Set<String>RefArgTypesstatic StringRefTypeAccountstatic StringRefTypeApplicationstatic StringRefTypeAssetMethod.Returnsreturnsstatic StringTxAnyTypestatic Set<String>TxArgTypes
-
Constructor Summary
Constructors Constructor Description Method(Method other)Method(String method)Method(String name, String desc, List<Method.Arg> args, Method.Returns returns)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static MethodgetMethodByName(List<Method> methods, String name)byte[]getSelector()StringgetSignature()intgetTxnCallCount()
-
-
-
Field Detail
-
TxAnyType
public static final String TxAnyType
- See Also:
- Constant Field Values
-
RefTypeAccount
public static final String RefTypeAccount
- See Also:
- Constant Field Values
-
RefTypeAsset
public static final String RefTypeAsset
- See Also:
- Constant Field Values
-
RefTypeApplication
public static final String RefTypeApplication
- See Also:
- Constant Field Values
-
name
public String name
-
desc
public String desc
-
args
public List<Method.Arg> args
-
returns
public Method.Returns returns
-
-
Constructor Detail
-
Method
public Method(String name, String desc, List<Method.Arg> args, Method.Returns returns)
-
Method
public Method(Method other)
-
Method
public Method(String method)
-
-
Method Detail
-
getSignature
public String getSignature()
-
getSelector
public byte[] getSelector()
-
getTxnCallCount
public int getTxnCallCount()
-
-