githubEdit

Swapper

The Swapper Contract wraps the underlying decentralized exchange (DEX) to work with the Credit Manager. It checks the minimum received amounts and reverts swaps with too much slippage.

Deployments

Neutron: neutron1udr9fc3kd743dezrj38v2ac74pxxr6qsx4xt4nfpcfczgw52rvyqyjp5auarrow-up-right

Osmosis: osmo1wee0z8c7tcawyl647eapqs4a88q8jpa7ddy6nn2nrs7t47p2zhxswetwlaarrow-up-right


Types

The types of the Rewards Collector Contract can be found herearrow-up-right.

For reference on the Queries and Methods:

Base Types
type Uint128 = string
Coin Types
interface Coin {
  amount: Uint128
  denom: string
  [k: string]: unknown
}

Queries

config

Returns the Contracts configuration.

estimate_exact_in_swap

owner

route

routes


Methods

swap_exact_in

Last updated