Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
decanus committed Sep 21, 2024
1 parent 5a3f78e commit bb471a0
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions v2/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,6 @@ const (
FLEXIBLE
)

type SlippageConfig struct {
Slippage float64 `json:"slippage"`
AutoMode SlippageMode `json:"autoMode"`
}

type RouteRequestParameters struct {
// FromChain is the from chain id
FromChain string `json:"fromChain"`
Expand All @@ -102,9 +97,9 @@ type RouteRequestParameters struct {
// Prefer array of supported DEXs for this trade
Prefer []DexName `json:"prefer,omitempty"`
// ReceiveGasOnDestination receive gas on destination chain
ReceiveGasOnDestination bool `json:"receiveGasOnDestination"`
SlippageConfig SlippageConfig `json:"slippageConfig"`
BypassGuardrails bool `json:"bypassGuardrails"`
ReceiveGasOnDestination bool `json:"receiveGasOnDestination"`
Slippage float64 `json:"slippage"`
BypassGuardrails bool `json:"bypassGuardrails"`
}

type SquidRouteType string
Expand Down

0 comments on commit bb471a0

Please sign in to comment.