
ElfomoFi · Acts onchain
Swaps an exact amount of one token for another at ElfomoFi's market-maker quote. The socket approves the venue and calls swap with the min_out floor: the venue prices the input at the quote its market maker keeps on chain, reverts if that pays less than the floor, and the action returns the amount received. Reach for it to take a tokenized stock, a major or a stablecoin at a quoted price in one step, coiling the received amount into whatever comes next.
On other protocols · 1