Background
Last updated
Last updated
At a very high level there is only one contract interfacing end point:
All the other end points are primarily to get data either from the chain or from our backend.
The swap end point in turn does not directly execute transactions but rather only returns serialized transactions for the client to sign and send.
The swap end point performs buys and sells. The buys in turn either look for whether the token was already minted, if it was not it will first mint and then buy, or just buy.
The swap token end point also includes the ability to pass memos which are then internally used for referral point and bonus calculations.