vendorinfo

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddVendorInfo

func AddVendorInfo(
	suite *utils.TestSuite,
	msg *vendorinfotypes.MsgCreateVendorInfo,
	signerName string,
	signerAccount *dclauthtypes.Account,
) (*sdk.TxResponse, error)

func AddVendorInfoByDifferentVendor

func AddVendorInfoByDifferentVendor(suite *utils.TestSuite)

func AddVendorInfoByNonVendor

func AddVendorInfoByNonVendor(suite *utils.TestSuite)

func AddVendorInfoByNonVendorAdmin added in v1.1.1

func AddVendorInfoByNonVendorAdmin(suite *utils.TestSuite)

func AddVendorInfoByVendorAdmin added in v1.1.1

func AddVendorInfoByVendorAdmin(suite *utils.TestSuite)

func AddVendorInfoTwice

func AddVendorInfoTwice(suite *utils.TestSuite)

func Demo added in v0.10.0

func Demo(suite *utils.TestSuite)

func DemoWithHexVid added in v0.10.0

func DemoWithHexVid(suite *utils.TestSuite)

func GetVendorInfo

func GetVendorInfo(
	suite *utils.TestSuite,
	vid int32,
) (*vendorinfotypes.VendorInfo, error)

func GetVendorInfoForInvalidVid

func GetVendorInfoForInvalidVid(suite *utils.TestSuite)

func GetVendorInfoForUnknown

func GetVendorInfoForUnknown(suite *utils.TestSuite)

func GetVendorInfos

func GetVendorInfos(suite *utils.TestSuite) (res []vendorinfotypes.VendorInfo, err error)

func GetVindorInfoByHexVID added in v0.10.0

func GetVindorInfoByHexVID(
	suite *utils.TestSuite,
	vid string,
) (*vendorinfotypes.VendorInfo, error)

func NewMsgCreateVendorInfo

func NewMsgCreateVendorInfo(vid int32, signer string) *vendorinfotypes.MsgCreateVendorInfo

func NewMsgUpdateVendorInfo

func NewMsgUpdateVendorInfo(vid int32, signer string) *vendorinfotypes.MsgUpdateVendorInfo

func UpdateVendorInfoByVendorAdmin added in v1.1.1

func UpdateVendorInfoByVendorAdmin(suite *utils.TestSuite)

Types

This section is empty.

Jump to

Keyboard shortcuts

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