Skip to content
Discussion options

You must be logged in to vote

这么久无人回答,我只好自问自答了

因为 https://github.com/MystenLabs/sui/blob/d0f9a3047879f600bc61c94e519ad91bd6a8f0cd/sui_programmability/examples/objects_tutorial/sources/trusted_swap.move#L57-L69 这段代码就是 unwrap 过程,object1object2 经过 unwrap 就可以被作为参数传递,或被 transfer::transfer 函数转移了

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fyang1024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant