Documentation ¶
Index ¶
- func BuildCreateMetaNodeMsg(moniker string, pubKey []byte, depositAmount utiltypes.Coin, ...) (sdktypes.Msg, error)
- func BuildCreateResourceNodeMsg(nodeType registertypes.NodeType, pubKey []byte, depositAmount utiltypes.Coin, ...) (sdktypes.Msg, error)
- func BuildFileUploadMsg(fileHash string, from, reporterAddress, uploaderAddress []byte) sdktypes.Msg
- func BuildMetaNodeRegistrationVoteMsg(...) sdktypes.Msg
- func BuildPrepayMsg(senderAddress []byte, beneficiaryAddress []byte, amount utiltypes.Coin) sdktypes.Msg
- func BuildRemoveMetaNodeMsg(nodeAddress, ownerAddress utiltypes.Address) sdktypes.Msg
- func BuildRemoveResourceNodeMsg(nodeAddress, ownerAddress utiltypes.Address) sdktypes.Msg
- func BuildSendMsg(senderAddress []byte, toAddress []byte, amount utiltypes.Coin) sdktypes.Msg
- func BuildSlashingResourceNodeMsg(spP2pAddress, spWalletAddress []utiltypes.Address, ...) sdktypes.Msg
- func BuildTxBytes(protoConfig client.TxConfig, txBuilder client.TxBuilder, chainId string, ...) ([]byte, error)
- func BuildUpdateEffectiveDepositMsg(spP2pAddress, spWalletAddress []utiltypes.Address, ...) sdktypes.Msg
- func BuildUpdateMetaNodeDepositMsg(networkAddr, ownerAddr utiltypes.Address, depositDelta utiltypes.Coin) sdktypes.Msg
- func BuildUpdateResourceNodeDepositMsg(networkAddr, ownerAddr utiltypes.Address, depositDelta utiltypes.Coin) sdktypes.Msg
- func BuildVolumeReportMsg(traffic []*Traffic, reporterAddress, reporterOwnerAddress []byte, epoch uint64, ...) (sdktypes.Msg, []byte, error)
- func BuildWithdrawMetaNodeRegistrationDepositMsg(networkAddress, ownerAddress utiltypes.Address) sdktypes.Msg
- func BuildWithdrawMsg(amount utiltypes.Coin, senderAddress []byte, targetAddress []byte) sdktypes.Msg
- func DialWebsocket(addr string) (*tmhttp.HTTP, error)
- type Traffic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCreateMetaNodeMsg ¶ added in v0.8.0
func BuildCreateResourceNodeMsg ¶
func BuildCreateResourceNodeMsg(nodeType registertypes.NodeType, pubKey []byte, depositAmount utiltypes.Coin, ownerAddress, p2pAddress utiltypes.Address) (sdktypes.Msg, error)
Stratos-chain 'register' module
func BuildFileUploadMsg ¶
func BuildFileUploadMsg(fileHash string, from, reporterAddress, uploaderAddress []byte) sdktypes.Msg
Stratos-chain 'sds' module
func BuildMetaNodeRegistrationVoteMsg ¶ added in v0.8.0
func BuildPrepayMsg ¶
func BuildRemoveMetaNodeMsg ¶ added in v0.8.0
func BuildSendMsg ¶ added in v0.10.0
func BuildSlashingResourceNodeMsg ¶ added in v0.6.0
func BuildTxBytes ¶
func BuildTxBytes(protoConfig client.TxConfig, txBuilder client.TxBuilder, chainId string, unsignedMsgs []*relaytypes.UnsignedMsg) ([]byte, error)
func BuildUpdateEffectiveDepositMsg ¶ added in v0.10.0
func BuildUpdateMetaNodeDepositMsg ¶ added in v0.10.0
func BuildUpdateResourceNodeDepositMsg ¶ added in v0.10.0
func BuildUpdateResourceNodeDepositMsg(networkAddr, ownerAddr utiltypes.Address, depositDelta utiltypes.Coin) sdktypes.Msg
Stratos-chain 'register' module
func BuildVolumeReportMsg ¶
func BuildVolumeReportMsg(traffic []*Traffic, reporterAddress, reporterOwnerAddress []byte, epoch uint64, reportReference string, blsTxDataHash, blsSignature []byte, blsPubKeys [][]byte) (sdktypes.Msg, []byte, error)
Stratos-chain 'pot' module
func BuildWithdrawMetaNodeRegistrationDepositMsg ¶ added in v0.10.0
func BuildWithdrawMsg ¶ added in v0.10.0
Types ¶
Click to show internal directories.
Click to hide internal directories.