config

package
v0.0.0-...-c573acc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigPath   = "config"
	ConfigFile   = "config.json"
	WalletPath   = "wallet"
	WalletSuffix = ".id"
)

Variables

This section is empty.

Functions

func InitConfigCmd

func InitConfigCmd(ctx *Context) *cobra.Command

Types

type Chain

type Chain struct {
	*fabric.Chain
}

func (*Chain) OutputTxIDFromEvent

func (c *Chain) OutputTxIDFromEvent(res []byte) error

func (*Chain) Query

func (c *Chain) Query(req app.RequestQuery) (*app.ResponseQuery, error)

func (*Chain) QueryAllowance

func (c *Chain) QueryAllowance(owner sdk.AccAddress, spender sdk.AccAddress) (*erc20mgrtypes.QueryAllowanceResponse, error)

func (*Chain) QueryBalanceOf

func (c *Chain) QueryBalanceOf(id sdk.AccAddress) (*erc20mgrtypes.QueryBalanceOfResponse, error)

func (*Chain) QueryCoordinatorState

func (c *Chain) QueryCoordinatorState(txId []byte) (*atomictypes.QueryCoordinatorStateResponse, error)

func (*Chain) QueryIBCChannels

func (c *Chain) QueryIBCChannels() (*channeltypes.QueryChannelsResponse, error)

func (*Chain) QueryIBCClientStates

func (c *Chain) QueryIBCClientStates() (*clienttypes.QueryClientStatesResponse, error)

func (*Chain) QuerySelfXCC

func (c *Chain) QuerySelfXCC() (*initiatortypes.QuerySelfXCCResponse, error)

func (*Chain) QueryTotalSupply

func (c *Chain) QueryTotalSupply() (*erc20mgrtypes.QueryTotalSupplyResponse, error)

func (*Chain) QueryTxAuthState

func (c *Chain) QueryTxAuthState(txId []byte) (*authtypes.QueryTxAuthStateResponse, error)

type Context

type Context struct {
	Chain    *Chain
	Codec    codec.ProtoCodecMarshaler
	Config   *fabric.ChainConfig
	ClientID *cid.ClientID
	Address  sdk.AccAddress
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL