proposeRetrieval(amount):retrievaldId
Callable by minter approved by TTG
Allows minter to retrieve t-bills from the SPV
Calculates current activeOwedM
Checks that the retrieval proposal does not put minter into under collateralization
activeOwedMminter<=(CVminter−totalPendingRetrievalsminter−amount)∗MR
Checks that the retrieval proposal and current retrieval proposal will not exceed collateral
totalPendingRetrievalsminter+amount<CV
Adds amount to totalPendingRetrievalsminter
totalPendingRetrievalsmintertotalPendingRetrievalsminter+=amount
Saves pendingRetrievalsminter
pendingRetrievalsminter,retrievalId=amount
Returns unique retrievalId to be processed in updateCollateral().