add pool structs
This commit is contained in:
		
							parent
							
								
									b05734f976
								
							
						
					
					
						commit
						67d7ec1567
					
				
							
								
								
									
										10
									
								
								models/pool.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								models/pool.go
									
									
									
									
									
										Normal file
									
								
							| @ -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"` | ||||
| } | ||||
| @ -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"` | ||||
| } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user