Documentation ¶
Index ¶
- func DecodeWasm(oMsg interface{}, data []byte) []byte
- func GetContractAddressFromInstantiate(result *types.BlockState, _ error) string
- func GetWasmBytes(p string) (wasmBytes []byte)
- func IsJSONKeyPresent(data interface{}, key string) bool
- func IsZero(data interface{}) bool
- func MsgRouteAndTypeToString(route, t string) string
- func MustPass(blockState *types.BlockState, e error) *types.BlockState
- func MustUnmarshal(data []byte, target interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeWasm ¶
func GetContractAddressFromInstantiate ¶
func GetContractAddressFromInstantiate(result *types.BlockState, _ error) string
func GetWasmBytes ¶
func IsJSONKeyPresent ¶
HasKey is 1 level deep key finder. returns false if key is not found.
func MsgRouteAndTypeToString ¶
func MustPass ¶
func MustPass(blockState *types.BlockState, e error) *types.BlockState
func MustUnmarshal ¶
func MustUnmarshal(data []byte, target interface{})
MustUnmarshal panics if json unmarshal fails. Use with care.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.