quoter and swapΒΆ

some simple examples of quoter and swap

in this tutorial, we will do quoter and swap with exact input amount or exact output amount in iZiSwap.

here, quoter means pre-querying amount of token acquired or token needed to pay

swap means doing real swap with given exact paying amount or exact acquiring amount

in this example, quoter and swap are called throw 2 different contracts.