Skip to main content
logo

base

Base zapper contract.

InstantiateMsg


_1
interface InstantiateMsg {}

ExecuteMsg

provide_liquidity


_7
{
_7
"provide_liquidity": {
_7
"lp_token_out": "string",
_7
"minimum_receive": "Uint128",
_7
"recipient"?: "string" | null
_7
}
_7
}

withdraw_liquidity


_6
{
_6
"withdraw_liquidity": {
_6
"minimum_receive": Coin[],
_6
"recipient"?: "string" | null
_6
}
_6
}

Coin


_4
{
_4
"amount": "Uint128",
_4
"denom": "string"
_4
}

callback


_3
{
_3
"callback": CallbackMsg
_3
}

CallbackMsg


_6
{
_6
"return_coin": {
_6
"balance_before": Coin,
_6
"recipient": "Addr"
_6
}
_6
}

Coin

See above.

QueryMsg

estimate_provide_liquidity


_6
{
_6
"estimate_provide_liquidity": {
_6
'coins_in': Coin[],
_6
"lp_token_out": "string"
_6
}
_6
}

Coin

See above.

estimate_withdraw_liquidity


_5
{
_5
"estimate_withdraw_liquidity": {
_5
"coin_in": Coin
_5
}
_5
}

Coin

See above.