Documentation
¶
Index ¶
- Constants
- func InitConfigCmd(ctx *Context) *cobra.Command
- type Chain
- func (c *Chain) OutputTxIDFromEvent(res []byte) error
- func (c *Chain) Query(req app.RequestQuery) (*app.ResponseQuery, error)
- func (c *Chain) QueryAllowance(owner sdk.AccAddress, spender sdk.AccAddress) (*erc20mgrtypes.QueryAllowanceResponse, error)
- func (c *Chain) QueryBalanceOf(id sdk.AccAddress) (*erc20mgrtypes.QueryBalanceOfResponse, error)
- func (c *Chain) QueryCoordinatorState(txId []byte) (*atomictypes.QueryCoordinatorStateResponse, error)
- func (c *Chain) QueryIBCChannels() (*channeltypes.QueryChannelsResponse, error)
- func (c *Chain) QueryIBCClientStates() (*clienttypes.QueryClientStatesResponse, error)
- func (c *Chain) QuerySelfXCC() (*initiatortypes.QuerySelfXCCResponse, error)
- func (c *Chain) QueryTotalSupply() (*erc20mgrtypes.QueryTotalSupplyResponse, error)
- func (c *Chain) QueryTxAuthState(txId []byte) (*authtypes.QueryTxAuthStateResponse, error)
- type Context
Constants ¶
View Source
const ( ConfigPath = "config" ConfigFile = "config.json" WalletPath = "wallet" WalletSuffix = ".id" )
Variables ¶
This section is empty.
Functions ¶
func InitConfigCmd ¶
Types ¶
type Chain ¶
func (*Chain) OutputTxIDFromEvent ¶
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 }
Click to show internal directories.
Click to hide internal directories.