Skip to content

Commit

Permalink
Revert me - This commit removes all Fusion and Spot Price code from t…
Browse files Browse the repository at this point in the history
…he project for the initial release
  • Loading branch information
Tanz0rz committed Jan 16, 2024
1 parent c27f255 commit 6af5f58
Show file tree
Hide file tree
Showing 19 changed files with 2 additions and 1,690 deletions.
8 changes: 2 additions & 6 deletions golang/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,8 @@ type Client struct {
// A struct that will contain a reference to this client. Used to separate each API into a unique namespace to aid in method discovery
common service
// Isolated namespaces for each API
Swap *SwapService
TokenPrices *TokenPricesService
Orderbook *OrderbookService
Fusion *FusionService
Swap *SwapService
Orderbook *OrderbookService
}

// NewClient creates and initializes a new Client instance based on the provided Config.
Expand Down Expand Up @@ -147,9 +145,7 @@ func NewClient(config Config) (*Client, error) {
c.common.client = c

c.Swap = (*SwapService)(&c.common)
c.TokenPrices = (*TokenPricesService)(&c.common)
c.Orderbook = (*OrderbookService)(&c.common)
c.Fusion = (*FusionService)(&c.common)

return c, nil
}
Expand Down
122 changes: 0 additions & 122 deletions golang/client/fusion.go

This file was deleted.

50 changes: 0 additions & 50 deletions golang/client/fusion/fusion_orders_types.gen.go

This file was deleted.

121 changes: 0 additions & 121 deletions golang/client/fusion/fusion_quoter_types.gen.go

This file was deleted.

58 changes: 0 additions & 58 deletions golang/client/fusion/fusion_relayer_types.gen.go

This file was deleted.

Loading

0 comments on commit 6af5f58

Please sign in to comment.