IS'Policies that were provided with deposits via policy extensions.';
COMMENTONCOLUMNpolicy_details.policy_hash_code
IS'ID (GNUNET_HashCode) that identifies a policy. Will be calculated by the policy extension based on the content';
COMMENTONCOLUMNpolicy_details.policy_json
IS'JSON object with options set that the exchange needs to consider when executing a deposit. Supported details depend on the policy extensions supported by the exchange.';
COMMENTONCOLUMNpolicy_details.deadline
IS'Deadline until the policy must be marked as fulfilled (maybe "forever")';
COMMENTONCOLUMNpolicy_details.commitment_val
IS'The amount that this policy commits to. Invariant: commitment >= fee';
IS'The sum of all contributions of all deposit that reference this policy. Invariant: The fulfilment_state must be Insufficient as long as accumulated_total < commitment';
COMMENTONCOLUMNpolicy_details.fee_val
IS'The fee for this policy, due when the policy is fulfilled or timed out';
COMMENTONCOLUMNpolicy_details.transferable_val
IS'The amount that on fulfillment or timeout will be transferred to the payto-URI''s of the corresponding deposit''s. The policy fees must have been already deducted from it. Invariant: fee+transferable <= accumulated_total. The remaining amount (accumulated_total - fee - transferable) can be refreshed by the owner of the coins when the state is Timeout or Success.';
COMMENTONCOLUMNpolicy_details.fulfillment_state
IS'State of the fulfillment:
-0(Failure)
-1(Insufficient)
-2(Ready)
-4(Success)
-5(Timeout)';
COMMENTONCOLUMNpolicy_details.fulfillment_id
IS'Reference to the proof of the fulfillment of this policy, if it exists. Invariant: If not NULL, this entry''s .hash_code MUST be part of the corresponding policy_fulfillments.policy_hash_codes array.';