Documentation ¶
Index ¶
- func AddModel(suite *utils.TestSuite, msg *modeltypes.MsgCreateModel, signerName string, ...) (*sdk.TxResponse, error)
- func AddModelByDifferentVendor(suite *utils.TestSuite)
- func AddModelByNonVendor(suite *utils.TestSuite)
- func AddModelTwice(suite *utils.TestSuite)
- func AddModelVersion(suite *utils.TestSuite, msg *modeltypes.MsgCreateModelVersion, ...) (*sdk.TxResponse, error)
- func GetModel(suite *utils.TestSuite, vid int32, pid int32) (*modeltypes.Model, error)
- func GetModelForInvalidVidPid(suite *utils.TestSuite)
- func GetModelForUnknown(suite *utils.TestSuite)
- func GetModelVersion(suite *utils.TestSuite, vid int32, pid int32, softwareVersion uint32) (*modeltypes.ModelVersion, error)
- func GetModels(suite *utils.TestSuite) (res []modeltypes.Model, err error)
- func GetVendorModels(suite *utils.TestSuite, vid int32) (*modeltypes.VendorProducts, error)
- func ModelDemo(suite *utils.TestSuite)
- func NewMsgCreateModel(vid int32, pid int32, signer string) *modeltypes.MsgCreateModel
- func NewMsgCreateModelVersion(vid int32, pid int32, softwareVersion uint32, softwareVersionString string, ...) *modeltypes.MsgCreateModelVersion
- func NewMsgUpdateModel(vid int32, pid int32, signer string) *modeltypes.MsgUpdateModel
- func NewMsgUpdateModelVersion(vid int32, pid int32, softwareVersion uint32, signer string) *modeltypes.MsgUpdateModelVersion
- func UpdateModel(suite *utils.TestSuite, msg *modeltypes.MsgUpdateModel, signerName string, ...) (*sdk.TxResponse, error)
- func UpdateModelVersion(suite *utils.TestSuite, msg *modeltypes.MsgUpdateModelVersion, ...) (*sdk.TxResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddModel ¶
func AddModel( suite *utils.TestSuite, msg *modeltypes.MsgCreateModel, signerName string, signerAccount *dclauthtypes.Account, ) (*sdk.TxResponse, error)
func AddModelByNonVendor ¶
func AddModelTwice ¶
func AddModelVersion ¶
func AddModelVersion( suite *utils.TestSuite, msg *modeltypes.MsgCreateModelVersion, signerName string, signerAccount *dclauthtypes.Account, ) (*sdk.TxResponse, error)
func GetModelForUnknown ¶
func GetModelVersion ¶
func GetModelVersion( suite *utils.TestSuite, vid int32, pid int32, softwareVersion uint32, ) (*modeltypes.ModelVersion, error)
func GetVendorModels ¶
func GetVendorModels( suite *utils.TestSuite, vid int32, ) (*modeltypes.VendorProducts, error)
func NewMsgCreateModel ¶
func NewMsgCreateModel(vid int32, pid int32, signer string) *modeltypes.MsgCreateModel
func NewMsgCreateModelVersion ¶
func NewMsgCreateModelVersion( vid int32, pid int32, softwareVersion uint32, softwareVersionString string, signer string, ) *modeltypes.MsgCreateModelVersion
func NewMsgUpdateModel ¶
func NewMsgUpdateModel(vid int32, pid int32, signer string) *modeltypes.MsgUpdateModel
func NewMsgUpdateModelVersion ¶
func NewMsgUpdateModelVersion( vid int32, pid int32, softwareVersion uint32, signer string, ) *modeltypes.MsgUpdateModelVersion
func UpdateModel ¶
func UpdateModel( suite *utils.TestSuite, msg *modeltypes.MsgUpdateModel, signerName string, signerAccount *dclauthtypes.Account, ) (*sdk.TxResponse, error)
func UpdateModelVersion ¶
func UpdateModelVersion( suite *utils.TestSuite, msg *modeltypes.MsgUpdateModelVersion, signerName string, signerAccount *dclauthtypes.Account, ) (*sdk.TxResponse, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.