Zapper

The Zapper contract serves as a wrapper to facilitate the provision and withdrawal of liquidity for the Mars Protocols Farm feature. It also handles estimations based on the data provided.

Deployments

Neutron: neutron1dr0ckm3u2ztjuscmgqjr85lwyduphxkgl3tc02ac8zp54r05t5dqp5tgyq

Osmosis: osmo17qwvc70pzc9mudr8t02t3pl74hhqsgwnskl734p4hug3s8mkerdqzduf7c


Types

The types of the Zapper Contract can be found here.

For reference on the Queries and Methods:

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

Queries

estimate_provide_liquidity

Estimates the amount of liquidity pool (LP) tokens that are returned after providing liquidity to a certain LP.

estimate_withdraw_liquidity


Methods

callback

provide_liquidity

withdraw_liquidity

Last updated