Versions in this module Expand all Collapse all v1 v1.0.0 Sep 14, 2024 Changes in this version + var DefaultModuleBasics = []module.AppModuleBasic + func GetHeightFromMetadata(md metadata.MD) (int64, error) + func GetProveFromMetadata(md metadata.MD) (bool, error) + func NewRPCClient(addr string, timeout time.Duration) (*rpchttp.HTTP, error) + func RegisterOsmosisInterfaces(registry types.InterfaceRegistry) + func RegisterTendermintLiquidityInterfaces(aminoCodec *codec.LegacyAmino, registry types.InterfaceRegistry) + func SetHeightOnContext(ctx context.Context, height int64) context.Context + func SetProveOnContext(ctx context.Context, prove bool) context.Context + type ChainClient struct + Codec Codec + Config *ChainClientConfig + Input io.Reader + Keybase keyring.Keyring + KeyringOptions []keyring.Option + Logger log.Logger + Output io.Writer + RPCClient rpcclient.Client + func NewChainClient(ccc *ChainClientConfig, homepath string, input io.Reader, output io.Writer, ...) (*ChainClient, error) + func (cc *ChainClient) Init() error + func (cc *ChainClient) Invoke(ctx context.Context, method string, req, reply interface{}, ...) (err error) + func (cc *ChainClient) NewStream(context.Context, *grpc.StreamDesc, string, ...grpc.CallOption) (grpc.ClientStream, error) + func (cc *ChainClient) QueryABCI(req abci.RequestQuery) (abci.ResponseQuery, error) + func (cc *ChainClient) RunGRPCQuery(ctx context.Context, method string, req interface{}, md metadata.MD) (abci.ResponseQuery, metadata.MD, error) + type ChainClientConfig struct + AccountPrefix string + ChainID string + CustomMsgTypeRegistry map[string]sdkTypes.Msg + Debug bool + Key string + KeyDirectory string + KeyringBackend string + Modules []module.AppModuleBasic + OutputFormat string + RPCAddr string + Timeout string + type Codec struct + Amino *codec.LegacyAmino + InterfaceRegistry types.InterfaceRegistry + Marshaler codec.Codec + ProbeInterfaceRegistry *probeCodecTypes.ProbeInterfaceRegistry + TxConfig client.TxConfig + func MakeCodec(moduleBasics []module.AppModuleBasic, ...) (Codec, error) + func MakeCodecConfig() Codec