-
Notifications
You must be signed in to change notification settings - Fork 336
cancel_bond_offer_operation
Vikram Rajkumar edited this page Jun 9, 2015
·
1 revision
cancel_bond_offer_operation
Retract a published open offer for a specified bond contract.
Allow a user to change their mind after publishing an offer for a bond contract.
The operation shall specify at least the following:
- Source account
- Bond contract offer that is to be retracted
- Refund asset amount
- Refund asset amount SHALL be positive
- Source account SHALL be an existing account
- Bond contract offer that is to be retracted SHALL be an existing bond contract offer
- Refund asset amount type SHALL be an existing asset type
- Source account SHALL be the creator of the bond contract offer that is to be retracted
- IF the source account was offering to borrow, THEN the refund asset amount SHALL be equal to the collateral asset amount in the bond contract offer
- IF the source account was offering to lend, THEN the refund asset amount SHALL be equal to the principle asset amount in the bond contract offer
- The specified bond contract offer SHALL be unpublished
- The source account SHALL be credited the refund asset amount
- Author: Vikram (has not approved)
- Reviewer: Ben (has not approved)