Documentation ¶
Index ¶
- func GenConStFactory(reses []*parsecode.Result, outDir string)
- func GenIBCStub(res *parsecode.Result, outDir string)
- func GenInterfaceStub(res *parsecode.Result, outDir string)
- func GenMethodStub(res *parsecode.Result, outDir string)
- func GenStFactory(res *parsecode.Result, outDir string)
- func GenStubCommon(rootDir string)
- type FatFunction
- type OrgContracts
- type StubExport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenConStFactory ¶
GenConStFactory - generate the contract stub factory go source
func GenIBCStub ¶
GenIBCStub - generate the ibc stub go source
func GenInterfaceStub ¶
GenInterfaceStub - generate the interface stub go source
func GenMethodStub ¶
GenMethodStub - generate the method stub go source
func GenStFactory ¶
GenStubFactory - generate the interface stub factory go source
func GenStubCommon ¶
func GenStubCommon(rootDir string)
GenStubCommon - generate the stub common go source
Types ¶
type FatFunction ¶
FatFunction - flat params
type OrgContracts ¶
type StubExport ¶
type StubExport struct { DirectionName string PackageName string ReceiverName string ContractName string ContractStruct string Version string Versions []string OrgID string Owner string Imports map[parsecode.Import]struct{} Functions []FatFunction MFunctions []FatFunction IFunctions []FatFunction TFunctions []FatFunction Port int IsExistUpdateChain bool IsExistInitChain bool IsExistMine bool PlainUserStruct []string }
RPCExport - the functions for rpc & autogen types
Click to show internal directories.
Click to hide internal directories.