Fixes + stable gateway ids

This commit is contained in:
Stephan D
2026-02-18 20:38:08 +01:00
parent 4dc182bfa2
commit 770c7b9da9
119 changed files with 3000 additions and 734 deletions

View File

@@ -28,18 +28,22 @@ type QuoteRouteHop struct {
Role QuoteRouteHopRole `bson:"role,omitempty" json:"role,omitempty"`
}
type QuoteRouteSettlement struct {
Asset *Asset `bson:"asset,omitempty" json:"asset,omitempty"`
Model string `bson:"model,omitempty" json:"model,omitempty"`
}
// QuoteRouteSpecification is an abstract route selected during quotation.
// It intentionally omits execution steps/operations.
type QuoteRouteSpecification struct {
Rail string `bson:"rail,omitempty" json:"rail,omitempty"`
Provider string `bson:"provider,omitempty" json:"provider,omitempty"`
PayoutMethod string `bson:"payoutMethod,omitempty" json:"payoutMethod,omitempty"`
SettlementAsset string `bson:"settlementAsset,omitempty" json:"settlementAsset,omitempty"`
SettlementModel string `bson:"settlementModel,omitempty" json:"settlementModel,omitempty"`
Network string `bson:"network,omitempty" json:"network,omitempty"`
RouteRef string `bson:"routeRef,omitempty" json:"routeRef,omitempty"`
PricingProfileRef string `bson:"pricingProfileRef,omitempty" json:"pricingProfileRef,omitempty"`
Hops []*QuoteRouteHop `bson:"hops,omitempty" json:"hops,omitempty"`
Rail string `bson:"rail,omitempty" json:"rail,omitempty"`
Provider string `bson:"provider,omitempty" json:"provider,omitempty"`
PayoutMethod string `bson:"payoutMethod,omitempty" json:"payoutMethod,omitempty"`
Settlement *QuoteRouteSettlement `bson:"settlement,omitempty" json:"settlement,omitempty"`
Network string `bson:"network,omitempty" json:"network,omitempty"`
RouteRef string `bson:"routeRef,omitempty" json:"routeRef,omitempty"`
PricingProfileRef string `bson:"pricingProfileRef,omitempty" json:"pricingProfileRef,omitempty"`
Hops []*QuoteRouteHop `bson:"hops,omitempty" json:"hops,omitempty"`
}
// QuoteExecutionConditions stores quotation-time assumptions and constraints.