squid_py.agreement_events.escrowAccessSecretStoreTemplate module

squid_py.agreement_events.escrowAccessSecretStoreTemplate.fulfillLockRewardCondition(event, agreement_id, price, consumer_account, lock_condition_id)

Fulfill the lock reward condition.

Parameters
  • event – AttributeDict with the event data.

  • agreement_id – id of the agreement, hex str

  • price – Asset price, int

  • consumer_account – Account instance of the consumer

  • lock_condition_id – hex str the id of the lock reward condition for this agreement_id

squid_py.agreement_events.escrowAccessSecretStoreTemplate.fulfill_lock_reward_condition(event, agreement_id, price, consumer_account, lock_condition_id)

Fulfill the lock reward condition.

Parameters
  • event – AttributeDict with the event data.

  • agreement_id – id of the agreement, hex str

  • price – Asset price, int

  • consumer_account – Account instance of the consumer

  • lock_condition_id – hex str the id of the lock reward condition for this agreement_id