Can people deposit funds for transactions to be ex... @QuipTalk

Asked 1076 days ago
Viewed 89 times
0

Can people deposit funds for transactions to be executed at a block much later? Let’s say you want to swap 100k usdt to tzbtc and, no one add any tzbtc to swap to usdt, if you don’t withdraw the usdt, can they be used the next day for eaxample? (Until someone tries to swap tzbtc)

asked 1076 days ago

1 Answers

Answer2:Yes, it is possible for people to deposit funds for transactions to be executed at a later block. For example, if a user wants to swap 100k USDT to TZBTC but no one has added any TZBTC to swap to USDT, they can still deposit the funds and the transaction will be executed when someone does add TZBTC to swap to USDT. The funds will remain locked in the contract wallet until the transaction is executed. This ensures that the user's funds are secure and that they can be used when the transaction is executed at a later block.
answered 1076 days ago
0
I guess it could be like : UserA deposits 140k USDT and place buy order @14k tzBTC 140k > locked into contract wallet > add to Buy orderbook @14k UserB add 10BTC to sell @14k with same process A contract lookup if there’s already a buy order BTC@14k, if exist w/ quantity >= 10 then : send 10 BTC to UserA && unlock 140K > send back to UserB. If it’s only 5BTC added up then 70k will remain on orderbook and locked in contract wallet until another order add up to check 🤷‍♂️
answered 1076 days ago

Subscribe to our newsletter

* indicates required

Thank you for subscribing!