Documentation ¶
Index ¶
- func IsSupported(sig string) bool
- type Address
- type AddressDA
- type AddressFA
- type BaseDataType
- type Bool
- type Bytes
- type Bytes32DA
- type Bytes32FA
- type BytesFixed
- type ContractParam
- type DataType
- type DeployContractHandler
- type FunctionProcessor
- type RequestHandler
- type ResponseHandler
- type String
- type Uint
- type UintDA
- type UintFA
- type UintLarge
- type UintLargeDA
- type UintLargeFA
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSupported ¶
* supports below formats * functionName(datatype1, datatype2,...) * datatype1, datatype2,... * datatype1, datatype2,.., (with an extra comma and the end *
Types ¶
type AddressDA ¶
type AddressDA struct {
UintLargeDA
}
type AddressFA ¶
type AddressFA struct {
UintLargeFA
}
type BaseDataType ¶
type BaseDataType struct {
// contains filtered or unexported fields
}
type Bytes ¶
type Bytes struct {
BaseDataType
}
type Bytes32DA ¶
type Bytes32DA struct {
BaseDataType
}
type Bytes32FA ¶
type Bytes32FA struct {
BaseDataType
}
type BytesFixed ¶
type BytesFixed struct {
Uint
}
func (BytesFixed) Encode ¶
func (t BytesFixed) Encode() []string
func (BytesFixed) New ¶
func (t BytesFixed) New(i interface{}, sig string) DataType
type ContractParam ¶
type DeployContractHandler ¶
type DeployContractHandler struct {
Binary string
}
func (DeployContractHandler) Encode ¶
func (d DeployContractHandler) Encode() string
type FunctionProcessor ¶
type FunctionProcessor struct {
Signature string
}
func (FunctionProcessor) Decode ¶
func (fp FunctionProcessor) Decode(encodedString string) []interface{}
func (FunctionProcessor) Encode ¶
func (fp FunctionProcessor) Encode(paramValues []interface{}) string
type RequestHandler ¶
type RequestHandler interface {
Encode() string
}
type ResponseHandler ¶
type ResponseHandler interface {
Decode(r string)
}
type Uint ¶
type Uint struct {
BaseDataType
}
type UintDA ¶
type UintDA struct {
BaseDataType
}
type UintLarge ¶
type UintLarge struct {
BaseDataType
}
type UintLargeDA ¶
type UintLargeDA struct {
BaseDataType
}
func (UintLargeDA) Decode ¶
func (t UintLargeDA) Decode(data []string, index int) (int, interface{})
func (UintLargeDA) Encode ¶
func (t UintLargeDA) Encode() []string
func (UintLargeDA) IsDynamic ¶
func (t UintLargeDA) IsDynamic() bool
func (UintLargeDA) Length ¶
func (t UintLargeDA) Length() int
func (UintLargeDA) New ¶
func (t UintLargeDA) New(i interface{}, sig string) DataType
type UintLargeFA ¶
type UintLargeFA struct {
UintLargeDA
}
func (UintLargeFA) Decode ¶
func (t UintLargeFA) Decode(data []string, index int) (int, interface{})
func (UintLargeFA) Encode ¶
func (t UintLargeFA) Encode() []string
func (UintLargeFA) IsDynamic ¶
func (t UintLargeFA) IsDynamic() bool
func (UintLargeFA) Length ¶
func (t UintLargeFA) Length() int
func (UintLargeFA) New ¶
func (t UintLargeFA) New(i interface{}, sig string) DataType
Click to show internal directories.
Click to hide internal directories.