diff --git a/models/pool.go b/models/pool.go new file mode 100644 index 0000000..9e784b3 --- /dev/null +++ b/models/pool.go @@ -0,0 +1,10 @@ +package models + + +type Pool struct { + PoolName string `json:"poolName"` + PoolSymbol string `json:"poolSymbol"` + PoolContractAddress string `json:"poolContractAddress"` + LimiterAddress string `json:"limiterAddress"` + VoucherRegistry string `json:"voucherRegistry"` +} diff --git a/models/voucher_data_result.go b/models/voucher_data_result.go index 9a10831..1311482 100644 --- a/models/voucher_data_result.go +++ b/models/voucher_data_result.go @@ -8,3 +8,10 @@ type VoucherDataResult struct { TokenCommodity string `json:"tokenCommodity"` TokenLocation string `json:"tokenLocation"` } + +type SwappableVoucher struct { + ContractAddress string `json:"contractAddress"` + TokenSymbol string `json:"tokenSymbol"` + TokenDecimals string `json:"tokenDecimals"` + Balance string `json:"balance"` +}