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 AddModelByVendorWithNonAssociatedProductIDs(suite *utils.TestSuite)
- func AddModelByVendorWithProductIDs(suite *utils.TestSuite)
- func AddModelTwice(suite *utils.TestSuite)
- func AddModelVersion(suite *utils.TestSuite, msg *modeltypes.MsgCreateModelVersion, ...) (*sdk.TxResponse, error)
- func DeleteModelByVendorWithNonAssociatedProductIDs(suite *utils.TestSuite)
- func DeleteModelVersion(suite *utils.TestSuite)
- func DeleteModelVersionCertified(suite *utils.TestSuite)
- func DeleteModelVersionDifferentVid(suite *utils.TestSuite)
- func DeleteModelVersionDoesNotExist(suite *utils.TestSuite)
- func DeleteModelVersionNotByCreator(suite *utils.TestSuite)
- func DeleteModelWithAssociatedModelVersions(suite *utils.TestSuite)
- func DeleteModelWithAssociatedModelVersionsCertified(suite *utils.TestSuite)
- func Demo(suite *utils.TestSuite)
- func DemoWithHexVidAndPid(suite *utils.TestSuite)
- func GetModel(suite *utils.TestSuite, vid int32, pid int32) (*modeltypes.Model, error)
- func GetModelByHexVidPid(suite *utils.TestSuite, vid string, pid string) (*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 GetVendorModelsByHexVid(suite *utils.TestSuite, vid string) (*modeltypes.VendorProducts, error)
- func NewMsgCertifyModelVersion(signer string, softwareVersion uint32, softwareVersionString string, vid int32, ...) *types.MsgCertifyModel
- func NewMsgCreateModel(vid int32, pid int32, signer string) *modeltypes.MsgCreateModel
- func NewMsgCreateModelVersion(vid int32, pid int32, softwareVersion uint32, softwareVersionString string, ...) *modeltypes.MsgCreateModelVersion
- func NewMsgDeleteModel(vid int32, pid int32, signer string) *modeltypes.MsgDeleteModel
- func NewMsgDeleteModelVersion(vid int32, pid int32, softwareVersion uint32, signer string) *modeltypes.MsgDeleteModelVersion
- func NewMsgUpdateModel(vid int32, pid int32, signer string) *modeltypes.MsgUpdateModel
- func NewMsgUpdateModelVersion(vid int32, pid int32, softwareVersion uint32, signer string) *modeltypes.MsgUpdateModelVersion
- func UpdateByVendorWithProductIDs(suite *utils.TestSuite)
- func UpdateModel(suite *utils.TestSuite, msg *modeltypes.MsgUpdateModel, signerName string, ...) (*sdk.TxResponse, error)
- func UpdateModelByVendorWithNonAssociatedProductIDs(suite *utils.TestSuite)
- 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 AddModelByVendorWithNonAssociatedProductIDs ¶ added in v1.4.0
func AddModelByVendorWithProductIDs ¶ added in v1.4.0
func AddModelTwice ¶
func AddModelVersion ¶
func AddModelVersion( suite *utils.TestSuite, msg *modeltypes.MsgCreateModelVersion, signerName string, signerAccount *dclauthtypes.Account, ) (*sdk.TxResponse, error)
func DeleteModelByVendorWithNonAssociatedProductIDs ¶ added in v1.4.0
func DeleteModelVersion ¶ added in v1.1.1
func DeleteModelVersionCertified ¶ added in v1.1.1
func DeleteModelVersionDifferentVid ¶ added in v1.1.1
func DeleteModelVersionDoesNotExist ¶ added in v1.1.1
func DeleteModelVersionNotByCreator ¶ added in v1.1.1
func DeleteModelWithAssociatedModelVersions ¶ added in v1.1.1
func DeleteModelWithAssociatedModelVersionsCertified ¶ added in v1.1.1
func DemoWithHexVidAndPid ¶ added in v0.10.0
func GetModelByHexVidPid ¶ added in v0.10.0
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 GetVendorModelsByHexVid ¶ added in v0.10.0
func GetVendorModelsByHexVid( suite *utils.TestSuite, vid string, ) (*modeltypes.VendorProducts, error)
func NewMsgCertifyModelVersion ¶ added in v1.1.1
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 NewMsgDeleteModel ¶ added in v1.1.1
func NewMsgDeleteModel(vid int32, pid int32, signer string) *modeltypes.MsgDeleteModel
func NewMsgDeleteModelVersion ¶ added in v1.1.1
func NewMsgDeleteModelVersion(vid int32, pid int32, softwareVersion uint32, signer string) *modeltypes.MsgDeleteModelVersion
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 UpdateByVendorWithProductIDs ¶ added in v1.4.0
func UpdateModel ¶
func UpdateModel( suite *utils.TestSuite, msg *modeltypes.MsgUpdateModel, signerName string, signerAccount *dclauthtypes.Account, ) (*sdk.TxResponse, error)
func UpdateModelByVendorWithNonAssociatedProductIDs ¶ added in v1.4.0
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.