Class FulfillLockReward


  • public class FulfillLockReward
    extends Object
    • Field Detail

      • log

        private static final org.apache.logging.log4j.Logger log
    • Constructor Detail

      • FulfillLockReward

        public FulfillLockReward()
    • Method Detail

      • executeFulfill

        public static Boolean executeFulfill​(io.keyko.nevermined.contracts.LockRewardCondition lockRewardCondition,
                                             String serviceAgreementId,
                                             String escrowRewardAddress,
                                             String price)
                                      throws LockRewardFulfillException
        Executes a fulfill function of a LockReward Condition
        Parameters:
        lockRewardCondition - LockRewardCondition contract
        serviceAgreementId - the service agreement id
        escrowRewardAddress - the address of the EscrowReward Contract
        price - price of the asset
        Returns:
        a flag that indicates if the function was executed correctly
        Throws:
        LockRewardFulfillException - LockRewardFulfillException