2024-09-28 13:07:37 +02:00
|
|
|
package models
|
|
|
|
|
2024-10-30 16:30:55 +01:00
|
|
|
import dataserviceapi "github.com/grassrootseconomics/ussd-data-service/pkg/api"
|
|
|
|
|
2024-10-05 15:56:49 +02:00
|
|
|
type VoucherHoldingResponse struct {
|
2024-10-30 16:30:55 +01:00
|
|
|
Ok bool `json:"ok"`
|
|
|
|
Description string `json:"description"`
|
|
|
|
Result VoucherResult `json:"result"`
|
|
|
|
}
|
|
|
|
|
|
|
|
// VoucherResult holds the list of token holdings
|
|
|
|
type VoucherResult struct {
|
|
|
|
Holdings []dataserviceapi.TokenHoldings `json:"holdings"`
|
2024-10-05 15:56:49 +02:00
|
|
|
}
|