Documentation
¶
Index ¶
- func MarshalAcrossMessage(depositId, nonce *big.Int, pool, caller string, source, destination uint64) ([]byte, error)
- func MarshalSignatureMessage(id string, signature []byte) ([]byte, error)
- func MarshalStartMessage(params []byte) ([]byte, error)
- func MarshalTssMessage(msgBytes []byte, isBroadcast bool) ([]byte, error)
- type AcrossMessage
- type SignatureMessage
- type StartMessage
- type TssMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalAcrossMessage ¶
func MarshalSignatureMessage ¶
func MarshalStartMessage ¶
Types ¶
type AcrossMessage ¶
type AcrossMessage struct {
DepositId *big.Int `json:"depositId"`
Nonce *big.Int `json:"nonce"`
LiqudityPool string `json:"liqudityPool"`
Caller string `json:"caller"`
Source uint64 `json:"source"`
Destination uint64 `json:"destination"`
}
func UnmarshalAcrossMessage ¶
func UnmarshalAcrossMessage(msgBytes []byte) (*AcrossMessage, error)
type SignatureMessage ¶
func UnmarshalSignatureMessage ¶
func UnmarshalSignatureMessage(msgBytes []byte) (*SignatureMessage, error)
type StartMessage ¶
type StartMessage struct {
Params []byte `json:"params"`
}
func UnmarshalStartMessage ¶
func UnmarshalStartMessage(msgBytes []byte) (*StartMessage, error)
type TssMessage ¶
func UnmarshalTssMessage ¶
func UnmarshalTssMessage(msgBytes []byte) (*TssMessage, error)
Click to show internal directories.
Click to hide internal directories.