This step mints Ride ticket tokens, deposits them to StarkEx, and submits an on-chain limit order to sell them for Investment tokens.
This step sets the price and slippage as determined at Step 3.
This step executes a specific on-chain strategy. It withdraws the users' funds (i.e., the agreed Investment token/s) from the StarkEx smart contract and trades them in an on-chain DeFi contract for Strategy tokens.These are deposited back to StarkEx, and the Pool Manager submits an on-chain limit order to sell the Strategy tokens in exchange for the users' Ride tickets. If the Strategy token price is too high and is out of the slippage range that the users accepted, the departure fails, and the Ride ticket tokens are deposited back to StarkEx and sold back to the passengers.
Withdraws the Ride ticket tokens from StarkEx and "burns" them.