Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct { ChainID int64 `json:"chainID"` HermesID string `json:"hermesID"` Stake *big.Int `json:"stake"` Fee *big.Int `json:"fee"` Beneficiary string `json:"beneficiary"` Signature string `json:"signature"` RegistryAddress string `json:"registryAddress"` }
Request represent a request to register
func (Request) GetMessage ¶
GetMessage forms the message payload given the registration request
func (Request) GetSignatureBytesRaw ¶
GetSignatureBytesRaw returns the unadulterated bytes of the signature
func (Request) GetStakeAmount ¶ added in v0.2.0
GetStakeAmount returns a big int representation for the stake amount
Click to show internal directories.
Click to hide internal directories.