-
In this function, we initialize an Escrow Account and lock the entered amount within the Escrow. The Receiver's PubKey is stored within the Account.
-
- The Receiver, meant to withdraw funds from the Escrow, can call this Instruction. It will close the Escrow Account and transfer all funds (locked amount + rent) to the Receiver.
- ❗ NOTE: 🐛 We do not correctly perform a check to ensure that the Signer is the corresponding receiver in the Escrow Account, resulting in the 🚨unauthorized withdrawal🚨.
-
Notifications
You must be signed in to change notification settings - Fork 0
Ackee-Blockchain/sos-trident
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published