Wildcards without the ? prefix (#422)
This commit is contained in:
parent
7e04eb51ff
commit
5de08da32c
15 changed files with 287 additions and 262 deletions
|
|
@ -82,12 +82,12 @@ pub fn zu_kyc_pod_request(gov_signer: &Value, pay_signer: &Value) -> Result<PodR
|
|||
let input = format!(
|
||||
r#"
|
||||
REQUEST(
|
||||
SetNotContains({sanction_set}, ?gov.idNumber)
|
||||
Lt(?gov.dateOfBirth, {ZU_KYC_NOW_MINUS_18Y})
|
||||
Equal(?pay.startDate, {ZU_KYC_NOW_MINUS_1Y})
|
||||
Equal(?gov.socialSecurityNumber, ?pay.socialSecurityNumber)
|
||||
SignedBy(?gov, {gov_signer})
|
||||
SignedBy(?pay, {pay_signer})
|
||||
SetNotContains({sanction_set}, gov.idNumber)
|
||||
Lt(gov.dateOfBirth, {ZU_KYC_NOW_MINUS_18Y})
|
||||
Equal(pay.startDate, {ZU_KYC_NOW_MINUS_1Y})
|
||||
Equal(gov.socialSecurityNumber, pay.socialSecurityNumber)
|
||||
SignedBy(gov, {gov_signer})
|
||||
SignedBy(pay, {pay_signer})
|
||||
// TODO: Ownership check and watermarking
|
||||
// Depends partly on https://github.com/0xPARC/pod2/issues/351
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue