Skip to main content
logo

zapper

Base zapper contract.

InstantiateMsg

types.ts
Copy

_1
interface InstantiateMsg {}

ExecuteMsg

provide_liquidity

types.ts
Copy

_8
type ExecuteMsg =
_8
{
_8
provide_liquidity: {
_8
lp_token_out: string
_8
minimum_receive: Uint128
_8
recipient?: string | null
_8
}
_8
}

withdraw_liquidity

types.ts
Copy

_13
type ExecuteMsg =
_13
{
_13
provide_liquidity: {
_13
lp_token_out: string
_13
minimum_receive: Uint128
_13
recipient?: string | null
_13
}
_13
}
_13
{
_13
withdraw_liquidity: {
_13
recipient?: string | null
_13
}
_13
}

callback

types.ts
Copy

_4
type ExecuteMsg =
_4
{
_4
callback: CallbackMsg
_4
}

CallbackMsg

types.ts
Copy

_8
type Addr = string
_8
_8
type CallbackMsg = {
_8
return_coin: {
_8
balance_before: Coin
_8
recipient: Addr
_8
}
_8
}

Coin

types.ts
Copy

_5
interface Coin {
_5
amount: Uint128
_5
denom: string
_5
[k: string]: unknown
_5
}

QueryMsg

estimate_provide_liquidity

types.ts
Copy

_7
type QueryMsg =
_7
{
_7
estimate_provide_liquidity: {
_7
coins_in: Coin[]
_7
lp_token_out: string
_7
}
_7
}

estimate_withdraw_liquidity

types.ts
Copy

_6
type QueryMsg =
_6
{
_6
estimate_withdraw_liquidity: {
_6
coin_in: Coin
_6
}
_6
}