Documentation ¶
Index ¶
- Constants
- Variables
- func CompleteUnbondingMetaNodeMsgHandler() func(event coretypes.ResultEvent)
- func CompleteUnbondingResourceNodeMsgHandler() func(event coretypes.ResultEvent)
- func CreateMetaNodeMsgHandler() func(event coretypes.ResultEvent)
- func CreateResourceNodeMsgHandler() func(event coretypes.ResultEvent)
- func FileUploadMsgHandler() func(event coretypes.ResultEvent)
- func GetEventAttribute(event, attribute string) string
- func GetEventAttributes(event string, attributes ...string) []string
- func MetaNodeVoteMsgHandler() func(event coretypes.ResultEvent)
- func PrepayMsgHandler() func(event coretypes.ResultEvent)
- func ProcessEvents(response sdktypes.TxResponse) map[string]coretypes.ResultEvent
- func SlashingResourceNodeHandler() func(event coretypes.ResultEvent)
- func UnbondingMetaNodeMsgHandler() func(event coretypes.ResultEvent)
- func UnbondingResourceNodeMsgHandler() func(event coretypes.ResultEvent)
- func UpdateEffectiveDepositHandler() func(event coretypes.ResultEvent)
- func UpdateMetaNodeDepositMsgHandler() func(event coretypes.ResultEvent)
- func UpdateResourceNodeDepositMsgHandler() func(event coretypes.ResultEvent)
- func VolumeReportHandler() func(event coretypes.ResultEvent)
- func WithdrawnDepositHandler() func(event coretypes.ResultEvent)
Constants ¶
View Source
const ( MSG_TYPE_CREATE_RESOURCE_NODE = "/stratos.register.v1.MsgCreateResourceNode" MSG_TYPE_UPDATE_RESOURCE_NODE_DEPOSIT = "/stratos.register.v1.MsgUpdateResourceNodeDeposit" MSG_TYPE_REMOVE_RESOURCE_NODE = "/stratos.register.v1.MsgRemoveResourceNode" MSG_TYPE_CREATE_META_NODE = "/stratos.register.v1.MsgCreateMetaNode" MSG_TYPE_UPDATE_META_NODE_DEPOSIT = "/stratos.register.v1.MsgUpdateMetaNodeDeposit" MSG_TYPE_REMOVE_META_NODE = "/stratos.register.v1.MsgRemoveMetaNode" MSG_TYPE_WITHDRAWN_META_NODE_REG_DEPOSIT = "/stratos.register.v1.MsgWithdrawMetaNodeRegistrationDeposit" MSG_TYPE_META_NODE_REG_VOTE = "/stratos.register.v1.MsgMetaNodeRegistrationVote" MSG_TYPE_PREPAY = "/stratos.sds.v1.MsgPrepay" MSG_TYPE_FILE_UPLOAD = "/stratos.sds.v1.MsgFileUpload" MSG_TYPE_VOLUME_REPORT = "/stratos.pot.v1.MsgVolumeReport" MSG_TYPE_SLASHING_RESOURCE_NODE = "/stratos.pot.v1.MsgSlashingResourceNode" MSG_TYPE_UPDATE_EFFECTIVE_DEPOSIT = "/stratos.register.v1.MsgUpdateEffectiveDeposit" )
Variables ¶
View Source
var Handlers map[string]func(coretypes.ResultEvent)
Functions ¶
func CompleteUnbondingMetaNodeMsgHandler ¶ added in v0.8.0
func CompleteUnbondingMetaNodeMsgHandler() func(event coretypes.ResultEvent)
func CompleteUnbondingResourceNodeMsgHandler ¶
func CompleteUnbondingResourceNodeMsgHandler() func(event coretypes.ResultEvent)
func CreateMetaNodeMsgHandler ¶ added in v0.8.0
func CreateMetaNodeMsgHandler() func(event coretypes.ResultEvent)
func CreateResourceNodeMsgHandler ¶
func CreateResourceNodeMsgHandler() func(event coretypes.ResultEvent)
func FileUploadMsgHandler ¶
func FileUploadMsgHandler() func(event coretypes.ResultEvent)
func GetEventAttribute ¶ added in v0.10.0
func GetEventAttributes ¶ added in v0.10.0
func MetaNodeVoteMsgHandler ¶ added in v0.8.0
func MetaNodeVoteMsgHandler() func(event coretypes.ResultEvent)
func PrepayMsgHandler ¶
func PrepayMsgHandler() func(event coretypes.ResultEvent)
func ProcessEvents ¶ added in v0.10.0
func ProcessEvents(response sdktypes.TxResponse) map[string]coretypes.ResultEvent
func SlashingResourceNodeHandler ¶
func SlashingResourceNodeHandler() func(event coretypes.ResultEvent)
func UnbondingMetaNodeMsgHandler ¶ added in v0.8.0
func UnbondingMetaNodeMsgHandler() func(event coretypes.ResultEvent)
func UnbondingResourceNodeMsgHandler ¶
func UnbondingResourceNodeMsgHandler() func(event coretypes.ResultEvent)
func UpdateEffectiveDepositHandler ¶ added in v0.10.0
func UpdateEffectiveDepositHandler() func(event coretypes.ResultEvent)
func UpdateMetaNodeDepositMsgHandler ¶ added in v0.10.0
func UpdateMetaNodeDepositMsgHandler() func(event coretypes.ResultEvent)
func UpdateResourceNodeDepositMsgHandler ¶ added in v0.10.0
func UpdateResourceNodeDepositMsgHandler() func(event coretypes.ResultEvent)
func VolumeReportHandler ¶
func VolumeReportHandler() func(event coretypes.ResultEvent)
func WithdrawnDepositHandler ¶ added in v0.10.0
func WithdrawnDepositHandler() func(event coretypes.ResultEvent)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.