chore: update request types for shamir coordinator client

Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
Lorenz Herzberger 2024-07-16 11:15:57 +02:00
parent 197ebe1279
commit 709feb6bfc
No known key found for this signature in database
GPG Key ID: FA5EE906EB55316A

View File

@ -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 {