You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let msg_bytes=x"f9019801b90194f9019103b90143f9014003b842307832333631303062353666373832663131373637646363646362336365393438666430333166636463663430373362663461383465653938306464366237636230837375698b3078613836392e66756a69b84037623162316233366438306636343634623034323763643464343932376531343637643533666234653330383330346432613036393638346430656165343966aa307862383963643066643930343365356538313434633530316235343330336237653861363562653032b84a303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030323a3a7375693a3a535549843b9aca00aa3078303030303030303030303030303030303030303030303030303030303030303030303030303030300a80b842307864663861326639346233333236376435633633643237363166396435383264663638663666353261373765613937316666346261363231346566626164653432843b9aca0001";
680
+
681
+
let msg = order_message::decode(&msg_bytes);
682
+
let fill = order_fill::decode(&msg.get_message());
683
+
let order2= swap_order::decode(&fill.get_order_bytes());
684
+
std::debug::print(&fill);
685
+
std::debug::print(&fill.get_order_bytes());
686
+
std::debug::print(&order.encode());
687
+
688
+
std::debug::print(&order2);
689
+
let coin = coin::mint_for_testing<RSUI>(order.get_amount() asu64, ctx);
0 commit comments