util

package
v6.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SucceessRespCode = uint32(0)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Cosmwasm

type Cosmwasm struct {
	StoreCode    uint64
	ContractAddr string
	Sender       string
	T            *testing.T
	// contains filtered or unexported fields
}

func NewCosmwasmTestSuite

func NewCosmwasmTestSuite(t *testing.T, umee client.Client) *Cosmwasm

func (*Cosmwasm) CWExecute

func (cw *Cosmwasm) CWExecute(execMsg []byte)

func (*Cosmwasm) CWExecuteWithSeqAndAsync

func (cw *Cosmwasm) CWExecuteWithSeqAndAsync(execMsg []byte, accSeq uint64)

func (*Cosmwasm) CWExecuteWithSeqAndAsyncResp

func (cw *Cosmwasm) CWExecuteWithSeqAndAsyncResp(execMsg []byte, accSeq uint64) (*sdk.TxResponse, error)

func (*Cosmwasm) CWQuery

func (*Cosmwasm) DeployWasmContract

func (cw *Cosmwasm) DeployWasmContract(path string)

func (*Cosmwasm) GetAttributeValue

func (cw *Cosmwasm) GetAttributeValue(resp sdk.TxResponse, eventName, attrKey string) string

func (*Cosmwasm) InstantiateContract

func (cw *Cosmwasm) InstantiateContract(initMsg []byte)

func (*Cosmwasm) MarshalAny

func (cw *Cosmwasm) MarshalAny(any interface{}) []byte

Jump to

Keyboard shortcuts

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