Pages
Executive Summary
Bios
Crypto
ETHBTC experiment
Sumo Vault
ORCA arbitrage
Mensa
BUIDLn a Protocol
Tuesday, October 25, 2022
Rust pop-quiz: `split_asset`
Rust pop quiz.
Yes, I'm on fire tonight. 🔥🔥🔥
For the Asset struct we have the monoid* operation,
merge_asset
create the dual to that:
split_asset
, that removes some or all of an asset AND adjusts price.
*precisely, the semigroupoid operation
(
answer
)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment