Package io.keyko.common.helpers
Class AbiParser
- java.lang.Object
-
- io.keyko.common.helpers.AbiParser
-
public class AbiParser extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private EthereumAbi
ethereumAbi
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EthereumAbi
get()
List<EthereumAbi.AbiEntry>
getByType(String type)
List<EthereumAbi.AbiEntry>
getEvents()
List<EthereumAbi.AbiEntry>
getFunctions()
List<EthereumAbi.AbiEntry>
getViews()
static AbiParser
load(String abiContent)
static AbiParser
loadFromFile(String abiPath)
-
-
-
Field Detail
-
ethereumAbi
private EthereumAbi ethereumAbi
-
-
Constructor Detail
-
AbiParser
private AbiParser(String abiContent) throws IOException
- Throws:
IOException
-
-
Method Detail
-
loadFromFile
public static AbiParser loadFromFile(String abiPath) throws IOException
- Throws:
IOException
-
load
public static AbiParser load(String abiContent) throws IOException
- Throws:
IOException
-
get
public EthereumAbi get()
-
getEvents
public List<EthereumAbi.AbiEntry> getEvents()
-
getFunctions
public List<EthereumAbi.AbiEntry> getFunctions()
-
getViews
public List<EthereumAbi.AbiEntry> getViews()
-
getByType
public List<EthereumAbi.AbiEntry> getByType(String type)
-
-