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: neutron1udr9fc3kd743dezrj38v2ac74pxxr6qsx4xt4nfpcfczgw52rvyqyjp5au
Osmosis: osmo1wee0z8c7tcawyl647eapqs4a88q8jpa7ddy6nn2nrs7t47p2zhxswetwla
Types
The types of the Rewards Collector Contract can be found here.
For reference on the Queries and Methods:
type Uint128 = stringinterface 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