e2e

package module
v0.0.0-...-597e0db Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteContract

func ExecuteContract(chain *cosmos.CosmosChain, user ibc.Wallet, ctx context.Context, contractAddress string, execMsg string) error

func InstantiateContract

func InstantiateContract(chain *cosmos.CosmosChain, user ibc.Wallet, ctx context.Context, codeId string, initMsg string) (string, error)

Types

type QueryContractResponse

type QueryContractResponse struct {
	Data QueryContractResponseObj `json:"data"`
}

type QueryContractResponseObj

type QueryContractResponseObj struct {
	UpCount   int64 `json:"up_count"`
	DownCount int64 `json:"down_count"`
}

type QueryMsg

type QueryMsg struct {
	GetCount *struct{} `json:"get_count"`
}

Jump to

Keyboard shortcuts

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