mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-03-30 15:08:28 +00:00
chore: update request types for shamir coordinator client
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
parent
197ebe1279
commit
709feb6bfc
@ -70,7 +70,8 @@ type IShamirCoordinatorClient interface {
|
|||||||
type SendTokensRequest struct {
|
type SendTokensRequest struct {
|
||||||
Recipient string `binding:"required" json:"recipient"`
|
Recipient string `binding:"required" json:"recipient"`
|
||||||
Amount string `binding:"required" json:"amount"`
|
Amount string `binding:"required" json:"amount"`
|
||||||
Asset string `binding:"required" json:"asset"`
|
Asset string ` json:"asset"`
|
||||||
|
ID int ` json:"id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type SendTokensResponse struct {
|
type SendTokensResponse struct {
|
||||||
@ -80,6 +81,7 @@ type SendTokensResponse struct {
|
|||||||
type ReIssueRequest struct {
|
type ReIssueRequest struct {
|
||||||
Asset string `binding:"required" json:"asset"`
|
Asset string `binding:"required" json:"asset"`
|
||||||
Amount string `binding:"required" json:"amount"`
|
Amount string `binding:"required" json:"amount"`
|
||||||
|
ID int ` json:"id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ReIssueResponse struct {
|
type ReIssueResponse struct {
|
||||||
@ -95,6 +97,7 @@ type IssueMachineNFTRequest struct {
|
|||||||
Name string `binding:"required" json:"name"`
|
Name string `binding:"required" json:"name"`
|
||||||
MachineAddress string `binding:"required" json:"machine-address"`
|
MachineAddress string `binding:"required" json:"machine-address"`
|
||||||
Domain string `binding:"required" json:"domain"`
|
Domain string `binding:"required" json:"domain"`
|
||||||
|
ID int ` json:"id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type IssueMachineNFTResponse struct {
|
type IssueMachineNFTResponse struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user