This file shows the API changes between different versions of Phoenix-Contracts.
-
initialize
function requires a new argumentstable_wasm_hash: BytesN<32>
-
create_liquidity_pool
requires a new argumentpool_type
parameter (and optionalamp
for stable pool)
provide_liquidity
,swap
,withdraw_liquidity
functions now have a new argument calleddeadline: Option<u64>
. We check against that if the transaction hasn't been executed after a certain timelimit.
provide_liquidity
,swap
,withdraw_liquidity
functions now have a new argument calleddeadline: Option<u64>
. We check against that if the transaction hasn't been executed after a certain timelimit.