move can be used for transfers where the transferor wishes to remit a given dai amount to the recipient.
move(src, dst, wad) has the property that chai.dai(dst) increases by at leastwad. Note that this is difficult to achieve without a contract wrapper/proxy because chi at tx execution time is not known in advance.
It seems reasonable to include another exit function which takes dai as an argument as well. That would otherwise require a contract wrapping otherwise by the same argument
move
can be used for transfers where the transferor wishes to remit a given dai amount to the recipient.move(src, dst, wad)
has the property thatchai.dai(dst)
increases by at leastwad
. Note that this is difficult to achieve without a contract wrapper/proxy becausechi
at tx execution time is not known in advance.