comment transferOwnershipToGiver
This commit is contained in:
parent
3a8e906ee9
commit
8eb3a6930d
|
@ -422,6 +422,13 @@ contract LiquidPledging is LiquidPledgingBase {
|
||||||
doTransfer(idPledge, toPledge, amount);
|
doTransfer(idPledge, toPledge, amount);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// @notice `transferOwnershipToGiver` allows for the transfer of
|
||||||
|
/// value back to the Giver, value is placed in a pledged state
|
||||||
|
/// without being attached to a project, delegation chain, or timeline.
|
||||||
|
/// @param idPledge Id of the pledge to be transfered.
|
||||||
|
/// @param amount Quantity of value that's being transfered
|
||||||
|
/// @param idReceiver The new owner of the pledge
|
||||||
function transferOwnershipToGiver(
|
function transferOwnershipToGiver(
|
||||||
uint64 idPledge,
|
uint64 idPledge,
|
||||||
uint amount,
|
uint amount,
|
||||||
|
@ -433,7 +440,8 @@ contract LiquidPledging is LiquidPledgingBase {
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
PaymentState.Pledged);
|
PaymentState.Pledged
|
||||||
|
);
|
||||||
doTransfer(idPledge, toPledge, amount);
|
doTransfer(idPledge, toPledge, amount);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue