-
-
Save joelburget/5f80b932c96fbd23b3d4c9f54dc64796 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
examples/accounts/accounts.pact:177:2:Warning: Unexpected node in translation: App {_aNode = enforce-one33::bool, _aAppFun = FNative {_fInfo = , _fName = "enforce-one", _fTypes = (msg:string tests:[bool] -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string34::string, _aPrimValue = PrimLit "Cancel can only be effected by creditor, or debitor after timeout"},List {_aNode = list35::[bool], _aList = [App {_aNode = enforce-keyset36::bool, _aAppFun = FNative {_fInfo = , _fName = "enforce-keyset", _fTypes = (keyset-or-name:<k[string,keyset]> -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = let4_ck15::keyset}]},App {_aNode = and37::bool, _aAppFun = FNative {_fInfo = , _fName = "and", _fTypes = (x:bool y:bool -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [App {_aNode = enforce38::bool, _aAppFun = FNative {_fInfo = , _fName = "enforce", _fTypes = (test:bool msg:string -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [App {_aNode = >=39::bool, _aAppFun = FNative {_fInfo = , _fName = ">=", _fTypes = (x:<a[integer,decimal,string,time]> y:<a[integer,decimal,string,time]> -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = let4_systime25::time},Var {_aNode = accounts.cancel-escrow_timeout0::time}]},Prim {_aNode = string40::string, _aPrimValue = PrimLit "Timeout expired"}]},App {_aNode = enforce-keyset41::bool, _aAppFun = FNative {_fInfo = , _fName = "enforce-keyset", _fTypes = (keyset-or-name:<k[string,keyset]> -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = let4_dk5::keyset}]}]}]}]} | |
Property proven valid | |
examples/accounts/accounts.pact:90:2:Warning: Unexpected node in translation: Step {_aNode = step6::string, _aEntity = Just (Var {_aNode = accounts.payment_payer-entity1::string}), _aExec = App {_aNode = accounts.debit53::string, _aAppFun = FDefun {_fInfo = (defun debit (acct amount date..., _fName = "accounts.debit", _fType = (acct:<an> amount:<ao> date:<ap> data:<aq> -> <ar>), _fArgs = ["acct"(accounts.debit_acct7::string),"amount"(accounts.debit_amount8::decimal),"date"(accounts.debit_date9::time),"data"(accounts.debit_data10::object)], _fBody = [App {_aNode = with-read11::string, _aAppFun = FNative {_fInfo = , _fName = "with-read", _fTypes = (table:table:<{row}> key:string bindings:binding:<{row}> -> <a>) :| [], _fSpecial = Just ("with-read",SBinding (Binding {_aNode = bind*13::string, _aBindings = [("balance"(bind*13_balance14::decimal),Prim {_aNode = string15::string, _aPrimValue = PrimLit "balance"}),("ks"(bind*13_ks16::keyset),Prim {_aNode = string17::string, _aPrimValue = PrimLit "keyset"}),("auth"(bind*13_auth18::string),Prim {_aNode = string19::string, _aPrimValue = PrimLit "auth"})], _aBody = [App {_aNode = accounts.check-balance26::bool, _aAppFun = FDefun {_fInfo = (defun check-balance (balance ..., _fName = "accounts.check-balance", _fType = (balance:<w> amount:<x> -> <y>), _fArgs = ["balance"(accounts.check-balance_balance20::decimal),"amount"(accounts.check-balance_amount21::decimal)], _fBody = [App {_aNode = enforce22::bool, _aAppFun = FNative {_fInfo = , _fName = "enforce", _fTypes = (test:bool msg:string -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [App {_aNode = <=23::bool, _aAppFun = FNative {_fInfo = , _fName = "<=", _fTypes = (x:<a[integer,decimal,string,time]> y:<a[integer,decimal,string,time]> -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = accounts.payment_amount4::decimal},Var {_aNode = bind*13_balance14::decimal}]},Prim {_aNode = string24::string, _aPrimValue = PrimLit "Insufficient funds"}]}]}, _aAppArgs = [Var {_aNode = bind*13_balance14::decimal},Var {_aNode = accounts.payment_amount4::decimal}]},App {_aNode = accounts.enforce-auth41::bool, _aAppFun = FDefun {_fInfo = (defun enforce-auth (keyset:ke..., _fName = "accounts.enforce-auth", _fType = (keyset:keyset auth:<al> -> <am>), _fArgs = ["keyset"(accounts.enforce-auth_keyset27::keyset),"auth"(accounts.enforce-auth_auth28::string)], _fBody = [App {_aNode = if29::bool, _aAppFun = FNative {_fInfo = , _fName = "if", _fTypes = (cond:bool then:<a> else:<a> -> <a>) :| [], _fSpecial = Nothing}, _aAppArgs = [App {_aNode = =30::bool, _aAppFun = FNative {_fInfo = , _fName = "=", _fTypes = (x:<a[integer,string,time,decimal,bool,[<l>],object:<{o}>,keyset]> y:<a[integer,string,time,decimal,bool,[<l>],object:<{o}>,keyset]> -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = bind*13_auth18::string},Prim {_aNode = string31::string, _aPrimValue = PrimLit "K"}]},App {_aNode = enforce-keyset32::bool, _aAppFun = FNative {_fInfo = , _fName = "enforce-keyset", _fTypes = (keyset-or-name:<k[string,keyset]> -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = bind*13_ks16::keyset}]},App {_aNode = enforce33::bool, _aAppFun = FNative {_fInfo = , _fName = "enforce", _fTypes = (test:bool msg:string -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [App {_aNode = =34::bool, _aAppFun = FNative {_fInfo = , _fName = "=", _fTypes = (x:<a[integer,string,time,decimal,bool,[<l>],object:<{o}>,keyset]> y:<a[integer,string,time,decimal,bool,[<l>],object:<{o}>,keyset]> -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = bind*13_auth18::string},App {_aNode = format35::string, _aAppFun = FNative {_fInfo = , _fName = "format", _fTypes = (template:string vars:list -> string) :| [], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string36::string, _aPrimValue = PrimLit "%s"},List {_aNode = list37::list, _aList = [App {_aNode = pact-id38::integer, _aAppFun = FNative {_fInfo = , _fName = "pact-id", _fTypes = ( -> integer) :| [], _fSpecial = Nothing}, _aAppArgs = []}]}]}]},Prim {_aNode = string39::string, _aPrimValue = PrimLit "Invalid access of pact account"}]}]}]}, _aAppArgs = [Var {_aNode = bind*13_ks16::keyset},Var {_aNode = bind*13_auth18::string}]},App {_aNode = update42::string, _aAppFun = FNative {_fInfo = , _fName = "update", _fTypes = (table:table:<{row}> key:string object:object:<{row}> -> string) :| [], _fSpecial = Nothing}, _aAppArgs = [Table {_aNode = accounts.accounts43::table:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aTableName = "accounts"},Var {_aNode = accounts.payment_payer0::string},Object {_aNode = object44::object:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aObject = [(Prim {_aNode = string45::string, _aPrimValue = PrimLit "balance"},App {_aNode = -46::decimal, _aAppFun = FNative {_fInfo = , _fName = "-", _fTypes = (x:<a[integer,decimal]> y:<a[integer,decimal]> -> <a[integer,decimal]>) :| [(x:<a[integer,decimal]> y:<b[integer,decimal]> -> decimal),(x:<a[integer,decimal]> -> <a[integer,decimal]>)], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = bind*13_balance14::decimal},Var {_aNode = accounts.payment_amount4::decimal}]}),(Prim {_aNode = string47::string, _aPrimValue = PrimLit "amount"},App {_aNode = -48::decimal, _aAppFun = FNative {_fInfo = , _fName = "-", _fTypes = (x:<a[integer,decimal]> y:<a[integer,decimal]> -> <a[integer,decimal]>) :| [(x:<a[integer,decimal]> y:<b[integer,decimal]> -> decimal),(x:<a[integer,decimal]> -> <a[integer,decimal]>)], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = accounts.payment_amount4::decimal}]}),(Prim {_aNode = string49::string, _aPrimValue = PrimLit "date"},Var {_aNode = accounts.payment_date5::time}),(Prim {_aNode = string50::string, _aPrimValue = PrimLit "data"},Object {_aNode = object54::object, _aObject = [(Prim {_aNode = string55::string, _aPrimValue = PrimLit "payee"},Var {_aNode = accounts.payment_payee2::string}),(Prim {_aNode = string56::string, _aPrimValue = PrimLit "payee-entity"},Var {_aNode = accounts.payment_payee-entity3::string}),(Prim {_aNode = string57::string, _aPrimValue = PrimLit "ref"},App {_aNode = pact-id58::integer, _aAppFun = FNative {_fInfo = , _fName = "pact-id", _fTypes = ( -> integer) :| [], _fSpecial = Nothing}, _aAppArgs = []})]})]}]}], _aBindType = bindbind*13schema51::binding:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}}))}, _aAppArgs = [Table {_aNode = accounts.accounts12::table:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aTableName = "accounts"},Var {_aNode = accounts.payment_payer0::string}]}]}, _aAppArgs = [Var {_aNode = accounts.payment_payer0::string},Var {_aNode = accounts.payment_amount4::decimal},Var {_aNode = accounts.payment_date5::time},Object {_aNode = object54::object, _aObject = [(Prim {_aNode = string55::string, _aPrimValue = PrimLit "payee"},Var {_aNode = accounts.payment_payee2::string}),(Prim {_aNode = string56::string, _aPrimValue = PrimLit "payee-entity"},Var {_aNode = accounts.payment_payee-entity3::string}),(Prim {_aNode = string57::string, _aPrimValue = PrimLit "ref"},App {_aNode = pact-id58::integer, _aAppFun = FNative {_fInfo = , _fName = "pact-id", _fTypes = ( -> integer) :| [], _fSpecial = Nothing}, _aAppArgs = []})]}]}, _aRollback = Just (App {_aNode = accounts.credit78::string, _aAppFun = FDefun {_fInfo = (defun credit (acct amount dat..., _fName = "accounts.credit", _fType = (acct:<av> amount:<aw> date:<ax> data:<ay> -> <az>), _fArgs = ["acct"(accounts.credit_acct59::string),"amount"(accounts.credit_amount60::decimal),"date"(accounts.credit_date61::time),"data"(accounts.credit_data62::object)], _fBody = [App {_aNode = with-read63::string, _aAppFun = FNative {_fInfo = , _fName = "with-read", _fTypes = (table:table:<{row}> key:string bindings:binding:<{row}> -> <a>) :| [], _fSpecial = Just ("with-read",SBinding (Binding {_aNode = bind*65::string, _aBindings = [("balance"(bind*65_balance66::decimal),Prim {_aNode = string67::string, _aPrimValue = PrimLit "balance"})], _aBody = [App {_aNode = update68::string, _aAppFun = FNative {_fInfo = , _fName = "update", _fTypes = (table:table:<{row}> key:string object:object:<{row}> -> string) :| [], _fSpecial = Nothing}, _aAppArgs = [Table {_aNode = accounts.accounts69::table:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aTableName = "accounts"},Var {_aNode = accounts.payment_payer0::string},Object {_aNode = object70::object:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aObject = [(Prim {_aNode = string71::string, _aPrimValue = PrimLit "balance"},App {_aNode = +72::decimal, _aAppFun = FNative {_fInfo = , _fName = "+", _fTypes = (x:<a[integer,decimal]> y:<a[integer,decimal]> -> <a[integer,decimal]>) :| [(x:<a[integer,decimal]> y:<b[integer,decimal]> -> decimal),(x:<a[string,[<l>],object:<{o}>]> y:<a[string,[<l>],object:<{o}>]> -> <a[string,[<l>],object:<{o}>]>)], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = bind*65_balance66::decimal},Var {_aNode = accounts.payment_amount4::decimal}]}),(Prim {_aNode = string73::string, _aPrimValue = PrimLit "amount"},Var {_aNode = accounts.payment_amount4::decimal}),(Prim {_aNode = string74::string, _aPrimValue = PrimLit "date"},Var {_aNode = accounts.payment_date5::time}),(Prim {_aNode = string75::string, _aPrimValue = PrimLit "data"},Object {_aNode = object79::object, _aObject = [(Prim {_aNode = string80::string, _aPrimValue = PrimLit "ref"},App {_aNode = pact-id81::integer, _aAppFun = FNative {_fInfo = , _fName = "pact-id", _fTypes = ( -> integer) :| [], _fSpecial = Nothing}, _aAppArgs = []}),(Prim {_aNode = string82::string, _aPrimValue = PrimLit "note"},Prim {_aNode = string83::string, _aPrimValue = PrimLit "rollback"})]})]}]}], _aBindType = bindbind*65schema76::binding:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}}))}, _aAppArgs = [Table {_aNode = accounts.accounts64::table:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aTableName = "accounts"},Var {_aNode = accounts.payment_payer0::string}]}]}, _aAppArgs = [Var {_aNode = accounts.payment_payer0::string},Var {_aNode = accounts.payment_amount4::decimal},Var {_aNode = accounts.payment_date5::time},Object {_aNode = object79::object, _aObject = [(Prim {_aNode = string80::string, _aPrimValue = PrimLit "ref"},App {_aNode = pact-id81::integer, _aAppFun = FNative {_fInfo = , _fName = "pact-id", _fTypes = ( -> integer) :| [], _fSpecial = Nothing}, _aAppArgs = []}),(Prim {_aNode = string82::string, _aPrimValue = PrimLit "note"},Prim {_aNode = string83::string, _aPrimValue = PrimLit "rollback"})]}]})} | |
Property proven valid | |
examples/accounts/accounts.pact:70:2:Warning: Unexpected node in translation: App {_aNode = keys2::[string], _aAppFun = FNative {_fInfo = , _fName = "keys", _fTypes = (table:table:<{row}> -> [string]) :| [], _fSpecial = Nothing}, _aAppArgs = [Table {_aNode = accounts.accounts3::table:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aTableName = "accounts"}]} | |
examples/accounts/accounts.pact:171:2:Warning: Unexpected node in translation: App {_aNode = pact-id19::integer, _aAppFun = FNative {_fInfo = , _fName = "pact-id", _fTypes = ( -> integer) :| [], _fSpecial = Nothing}, _aAppArgs = []} | |
Property proven valid | |
examples/accounts/accounts.pact:110:2:Warning: Multiple failures: Translation failure: Pattern match failure in do expression at src/Pact/Analyze/Translate.hs:355:13-26 | |
Unexpected node in translation: App {_aNode = pact-id11::integer, _aAppFun = FNative {_fInfo = , _fName = "pact-id", _fTypes = ( -> integer) :| [], _fSpecial = Nothing}, _aAppArgs = []} | |
Unexpected node in translation: App {_aNode = pact-id11::integer, _aAppFun = FNative {_fInfo = , _fName = "pact-id", _fTypes = ( -> integer) :| [], _fSpecial = Nothing}, _aAppArgs = []} | |
Property proven valid | |
examples/accounts/accounts.pact:87:2:Warning: Unexpected node in translation: App {_aNode = map0::[object:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}], _aAppFun = FNative {_fInfo = , _fName = "map", _fTypes = (app:(x:<b> -> <a>) list:[<b>] -> [<a>]) :| [], _fSpecial = Nothing}, _aAppArgs = [App {_aNode = accounts.read-account-admin14::object:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aAppFun = FDefun {_fInfo = (defun read-account-admin (id)..., _fName = "accounts.read-account-admin", _fType = (id:<t> -> <u>), _fArgs = ["id"(accounts.read-account-admin_id1::string)], _fBody = [App {_aNode = enforce-keyset2::bool, _aAppFun = FNative {_fInfo = , _fName = "enforce-keyset", _fTypes = (keyset-or-name:<k[string,keyset]> -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string3::string, _aPrimValue = PrimLit "accounts-admin-keyset"}]},App {_aNode = read4::object:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aAppFun = FNative {_fInfo = , _fName = "read", _fTypes = (table:table:<{row}> key:string -> object:<{row}>) :| [(table:table:<{row}> key:string columns:[string] -> object:<{row}>)], _fSpecial = Nothing}, _aAppArgs = [Table {_aNode = accounts.accounts5::table:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aTableName = "accounts"},Var {_aNode = accounts.read-account-admin_x_p17::string},List {_aNode = list6::[string], _aList = [Prim {_aNode = string7::string, _aPrimValue = PrimLit "balance"},Prim {_aNode = string8::string, _aPrimValue = PrimLit "ccy"},Prim {_aNode = string9::string, _aPrimValue = PrimLit "keyset"},Prim {_aNode = string10::string, _aPrimValue = PrimLit "data"},Prim {_aNode = string11::string, _aPrimValue = PrimLit "date"},Prim {_aNode = string12::string, _aPrimValue = PrimLit "amount"}]}]}]}, _aAppArgs = [Var {_aNode = accounts.read-account-admin_x_p17::string}]},App {_aNode = keys15::[string], _aAppFun = FNative {_fInfo = , _fName = "keys", _fTypes = (table:table:<{row}> -> [string]) :| [], _fSpecial = Nothing}, _aAppArgs = [Table {_aNode = accounts.accounts16::table:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aTableName = "accounts"}]}]} | |
examples/accounts/accounts.pact:117:33:Warning: Unable to resolve type | |
examples/accounts/accounts.pact:53:2:Warning: Multiple failures: Translation failure: Pattern match failure in do expression at src/Pact/Analyze/Translate.hs:355:13-26 | |
Unexpected node in translation: App {_aNode = pact-id23::integer, _aAppFun = FNative {_fInfo = , _fName = "pact-id", _fTypes = ( -> integer) :| [], _fSpecial = Nothing}, _aAppArgs = []} | |
Unexpected node in translation: App {_aNode = pact-id23::integer, _aAppFun = FNative {_fInfo = , _fName = "pact-id", _fTypes = ( -> integer) :| [], _fSpecial = Nothing}, _aAppArgs = []} | |
examples/accounts/accounts.pact:134:33:Warning: Unable to resolve type | |
examples/accounts/accounts.pact:75:24:Warning: Unable to resolve type [integer,decimal,string,time] | |
examples/accounts/accounts.pact:75:32:Warning: Unable to resolve type [integer,decimal,string,time] | |
examples/accounts/accounts.pact:154:2:Warning: Unexpected node in translation: Step {_aNode = step4::string, _aEntity = Nothing, _aExec = App {_aNode = accounts.init-escrow142::string, _aAppFun = FDefun {_fInfo = (defun init-escrow (deb-acct a..., _fName = "accounts.init-escrow", _fType = (deb-acct:<bn> amount:<bo> -> <bp>), _fArgs = ["deb-acct"(accounts.init-escrow_deb-acct5::string),"amount"(accounts.init-escrow_amount6::decimal)], _fBody = [App {_aNode = with-read7::string, _aAppFun = FNative {_fInfo = , _fName = "with-read", _fTypes = (table:table:<{row}> key:string bindings:binding:<{row}> -> <a>) :| [], _fSpecial = Just ("with-read",SBinding (Binding {_aNode = bind*9::string, _aBindings = [("ccy"(bind*9_ccy10::string),Prim {_aNode = string11::string, _aPrimValue = PrimLit "ccy"}),("k"(bind*9_k12::keyset),Prim {_aNode = string13::string, _aPrimValue = PrimLit "keyset"})], _aBody = [Binding {_aNode = let14::string, _aBindings = [("pact-acct"(let14_pact-acct15::string),App {_aNode = accounts.new-pact-account54::string, _aAppFun = FDefun {_fInfo = (defun new-pact-account (pfx c..., _fName = "accounts.new-pact-account", _fType = (pfx:<ci> ccy:<cj> -> <ck>), _fArgs = ["pfx"(accounts.new-pact-account_pfx16::string),"ccy"(accounts.new-pact-account_ccy17::string)], _fBody = [Binding {_aNode = let18::string, _aBindings = [("a"(let18_a19::string),App {_aNode = accounts.get-pact-account26::string, _aAppFun = FDefun {_fInfo = (defun get-pact-account (pfx:s..., _fName = "accounts.get-pact-account", _fType = (pfx:string -> <ch>), _fArgs = ["pfx"(accounts.get-pact-account_pfx20::string)], _fBody = [App {_aNode = format21::string, _aAppFun = FNative {_fInfo = , _fName = "format", _fTypes = (template:string vars:list -> string) :| [], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string22::string, _aPrimValue = PrimLit "{}-{}"},List {_aNode = list23::list, _aList = [Prim {_aNode = string55::string, _aPrimValue = PrimLit "escrow-account"},App {_aNode = pact-id24::integer, _aAppFun = FNative {_fInfo = , _fName = "pact-id", _fTypes = ( -> integer) :| [], _fSpecial = Nothing}, _aAppArgs = []}]}]}]}, _aAppArgs = [Prim {_aNode = string55::string, _aPrimValue = PrimLit "escrow-account"}]})], _aBody = [App {_aNode = insert27::string, _aAppFun = FNative {_fInfo = , _fName = "insert", _fTypes = (table:table:<{row}> key:string object:object:<{row}> -> string) :| [], _fSpecial = Nothing}, _aAppArgs = [Table {_aNode = accounts.accounts28::table:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aTableName = "accounts"},Var {_aNode = let18_a19::string},Object {_aNode = object29::object:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aObject = [(Prim {_aNode = string30::string, _aPrimValue = PrimLit "balance"},Prim {_aNode = decimal31::decimal, _aPrimValue = PrimLit 0.0}),(Prim {_aNode = string32::string, _aPrimValue = PrimLit "amount"},Prim {_aNode = decimal33::decimal, _aPrimValue = PrimLit 0.0}),(Prim {_aNode = string34::string, _aPrimValue = PrimLit "ccy"},Var {_aNode = bind*9_ccy10::string}),(Prim {_aNode = string35::string, _aPrimValue = PrimLit "keyset"},App {_aNode = read-keyset36::keyset, _aAppFun = FNative {_fInfo = , _fName = "read-keyset", _fTypes = (key:string -> keyset) :| [], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string37::string, _aPrimValue = PrimLit "accounts-admin-keyset"}]}),(Prim {_aNode = string38::string, _aPrimValue = PrimLit "auth"},App {_aNode = format39::string, _aAppFun = FNative {_fInfo = , _fName = "format", _fTypes = (template:string vars:list -> string) :| [], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string40::string, _aPrimValue = PrimLit "%s"},List {_aNode = list41::list, _aList = [App {_aNode = pact-id42::integer, _aAppFun = FNative {_fInfo = , _fName = "pact-id", _fTypes = ( -> integer) :| [], _fSpecial = Nothing}, _aAppArgs = []}]}]}),(Prim {_aNode = string43::string, _aPrimValue = PrimLit "date"},App {_aNode = system.get-system-time50::time, _aAppFun = FDefun {_fInfo = (defun get-system-time () (at ..., _fName = "system.get-system-time", _fType = ( -> <d>), _fArgs = [], _fBody = [App {_aNode = at44::time, _aAppFun = FNative {_fInfo = , _fName = "at", _fTypes = (idx:integer list:[<l>] -> <a>) :| [(idx:string object:object:<{o}> -> <a>)], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string45::string, _aPrimValue = PrimLit "curtime"},App {_aNode = read46::object:{system.sysdata [curtime:time]}, _aAppFun = FNative {_fInfo = , _fName = "read", _fTypes = (table:table:<{row}> key:string -> object:<{row}>) :| [(table:table:<{row}> key:string columns:[string] -> object:<{row}>)], _fSpecial = Nothing}, _aAppArgs = [Table {_aNode = system.systbl47::table:{system.sysdata [curtime:time]}, _aTableName = "systbl"},Prim {_aNode = string48::string, _aPrimValue = PrimLit "sys"}]}]}]}, _aAppArgs = []}),(Prim {_aNode = string51::string, _aPrimValue = PrimLit "data"},Prim {_aNode = string52::string, _aPrimValue = PrimLit "Created pact account"})]}]},Var {_aNode = let18_a19::string}], _aBindType = let}]}, _aAppArgs = [Prim {_aNode = string55::string, _aPrimValue = PrimLit "escrow-account"},Var {_aNode = bind*9_ccy10::string},Var {_aNode = bind*9_k12::keyset}]})], _aBody = [App {_aNode = accounts.transfer132::string, _aAppFun = FDefun {_fInfo = (defun transfer (src dest amou..., _fName = "accounts.transfer", _fType = (src:<i> dest:<j> amount:<k> date:<l> -> <m>), _fArgs = ["src"(accounts.transfer_src56::string),"dest"(accounts.transfer_dest57::string),"amount"(accounts.transfer_amount58::decimal),"date"(accounts.transfer_date59::time)], _fBody = [App {_aNode = accounts.debit106::string, _aAppFun = FDefun {_fInfo = (defun debit (acct amount date..., _fName = "accounts.debit", _fType = (acct:<an> amount:<ao> date:<ap> data:<aq> -> <ar>), _fArgs = ["acct"(accounts.debit_acct60::string),"amount"(accounts.debit_amount61::decimal),"date"(accounts.debit_date62::time),"data"(accounts.debit_data63::object)], _fBody = [App {_aNode = with-read64::string, _aAppFun = FNative {_fInfo = , _fName = "with-read", _fTypes = (table:table:<{row}> key:string bindings:binding:<{row}> -> <a>) :| [], _fSpecial = Just ("with-read",SBinding (Binding {_aNode = bind*66::string, _aBindings = [("balance"(bind*66_balance67::decimal),Prim {_aNode = string68::string, _aPrimValue = PrimLit "balance"}),("ks"(bind*66_ks69::keyset),Prim {_aNode = string70::string, _aPrimValue = PrimLit "keyset"}),("auth"(bind*66_auth71::string),Prim {_aNode = string72::string, _aPrimValue = PrimLit "auth"})], _aBody = [App {_aNode = accounts.check-balance79::bool, _aAppFun = FDefun {_fInfo = (defun check-balance (balance ..., _fName = "accounts.check-balance", _fType = (balance:<w> amount:<x> -> <y>), _fArgs = ["balance"(accounts.check-balance_balance73::decimal),"amount"(accounts.check-balance_amount74::decimal)], _fBody = [App {_aNode = enforce75::bool, _aAppFun = FNative {_fInfo = , _fName = "enforce", _fTypes = (test:bool msg:string -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [App {_aNode = <=76::bool, _aAppFun = FNative {_fInfo = , _fName = "<=", _fTypes = (x:<a[integer,decimal,string,time]> y:<a[integer,decimal,string,time]> -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = accounts.two-party-escrow_escrow-amount2::decimal},Var {_aNode = bind*66_balance67::decimal}]},Prim {_aNode = string77::string, _aPrimValue = PrimLit "Insufficient funds"}]}]}, _aAppArgs = [Var {_aNode = bind*66_balance67::decimal},Var {_aNode = accounts.two-party-escrow_escrow-amount2::decimal}]},App {_aNode = accounts.enforce-auth94::bool, _aAppFun = FDefun {_fInfo = (defun enforce-auth (keyset:ke..., _fName = "accounts.enforce-auth", _fType = (keyset:keyset auth:<al> -> <am>), _fArgs = ["keyset"(accounts.enforce-auth_keyset80::keyset),"auth"(accounts.enforce-auth_auth81::string)], _fBody = [App {_aNode = if82::bool, _aAppFun = FNative {_fInfo = , _fName = "if", _fTypes = (cond:bool then:<a> else:<a> -> <a>) :| [], _fSpecial = Nothing}, _aAppArgs = [App {_aNode = =83::bool, _aAppFun = FNative {_fInfo = , _fName = "=", _fTypes = (x:<a[integer,string,time,decimal,bool,[<l>],object:<{o}>,keyset]> y:<a[integer,string,time,decimal,bool,[<l>],object:<{o}>,keyset]> -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = bind*66_auth71::string},Prim {_aNode = string84::string, _aPrimValue = PrimLit "K"}]},App {_aNode = enforce-keyset85::bool, _aAppFun = FNative {_fInfo = , _fName = "enforce-keyset", _fTypes = (keyset-or-name:<k[string,keyset]> -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = bind*66_ks69::keyset}]},App {_aNode = enforce86::bool, _aAppFun = FNative {_fInfo = , _fName = "enforce", _fTypes = (test:bool msg:string -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [App {_aNode = =87::bool, _aAppFun = FNative {_fInfo = , _fName = "=", _fTypes = (x:<a[integer,string,time,decimal,bool,[<l>],object:<{o}>,keyset]> y:<a[integer,string,time,decimal,bool,[<l>],object:<{o}>,keyset]> -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = bind*66_auth71::string},App {_aNode = format88::string, _aAppFun = FNative {_fInfo = , _fName = "format", _fTypes = (template:string vars:list -> string) :| [], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string89::string, _aPrimValue = PrimLit "%s"},List {_aNode = list90::list, _aList = [App {_aNode = pact-id91::integer, _aAppFun = FNative {_fInfo = , _fName = "pact-id", _fTypes = ( -> integer) :| [], _fSpecial = Nothing}, _aAppArgs = []}]}]}]},Prim {_aNode = string92::string, _aPrimValue = PrimLit "Invalid access of pact account"}]}]}]}, _aAppArgs = [Var {_aNode = bind*66_ks69::keyset},Var {_aNode = bind*66_auth71::string}]},App {_aNode = update95::string, _aAppFun = FNative {_fInfo = , _fName = "update", _fTypes = (table:table:<{row}> key:string object:object:<{row}> -> string) :| [], _fSpecial = Nothing}, _aAppArgs = [Table {_aNode = accounts.accounts96::table:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aTableName = "accounts"},Var {_aNode = accounts.two-party-escrow_deb-acct0::string},Object {_aNode = object97::object:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aObject = [(Prim {_aNode = string98::string, _aPrimValue = PrimLit "balance"},App {_aNode = -99::decimal, _aAppFun = FNative {_fInfo = , _fName = "-", _fTypes = (x:<a[integer,decimal]> y:<a[integer,decimal]> -> <a[integer,decimal]>) :| [(x:<a[integer,decimal]> y:<b[integer,decimal]> -> decimal),(x:<a[integer,decimal]> -> <a[integer,decimal]>)], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = bind*66_balance67::decimal},Var {_aNode = accounts.two-party-escrow_escrow-amount2::decimal}]}),(Prim {_aNode = string100::string, _aPrimValue = PrimLit "amount"},App {_aNode = -101::decimal, _aAppFun = FNative {_fInfo = , _fName = "-", _fTypes = (x:<a[integer,decimal]> y:<a[integer,decimal]> -> <a[integer,decimal]>) :| [(x:<a[integer,decimal]> y:<b[integer,decimal]> -> decimal),(x:<a[integer,decimal]> -> <a[integer,decimal]>)], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = accounts.two-party-escrow_escrow-amount2::decimal}]}),(Prim {_aNode = string102::string, _aPrimValue = PrimLit "date"},App {_aNode = system.get-system-time139::time, _aAppFun = FDefun {_fInfo = (defun get-system-time () (at ..., _fName = "system.get-system-time", _fType = ( -> <d>), _fArgs = [], _fBody = [App {_aNode = at133::time, _aAppFun = FNative {_fInfo = , _fName = "at", _fTypes = (idx:integer list:[<l>] -> <a>) :| [(idx:string object:object:<{o}> -> <a>)], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string134::string, _aPrimValue = PrimLit "curtime"},App {_aNode = read135::object:{system.sysdata [curtime:time]}, _aAppFun = FNative {_fInfo = , _fName = "read", _fTypes = (table:table:<{row}> key:string -> object:<{row}>) :| [(table:table:<{row}> key:string columns:[string] -> object:<{row}>)], _fSpecial = Nothing}, _aAppArgs = [Table {_aNode = system.systbl136::table:{system.sysdata [curtime:time]}, _aTableName = "systbl"},Prim {_aNode = string137::string, _aPrimValue = PrimLit "sys"}]}]}]}, _aAppArgs = []}),(Prim {_aNode = string103::string, _aPrimValue = PrimLit "data"},Object {_aNode = object107::object, _aObject = [(Prim {_aNode = string108::string, _aPrimValue = PrimLit "transfer-to"},Var {_aNode = let14_pact-acct15::string})]})]}]}], _aBindType = bindbind*66schema104::binding:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}}))}, _aAppArgs = [Table {_aNode = accounts.accounts65::table:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aTableName = "accounts"},Var {_aNode = accounts.two-party-escrow_deb-acct0::string}]}]}, _aAppArgs = [Var {_aNode = accounts.two-party-escrow_deb-acct0::string},Var {_aNode = accounts.two-party-escrow_escrow-amount2::decimal},App {_aNode = system.get-system-time139::time, _aAppFun = FDefun {_fInfo = (defun get-system-time () (at ..., _fName = "system.get-system-time", _fType = ( -> <d>), _fArgs = [], _fBody = [App {_aNode = at133::time, _aAppFun = FNative {_fInfo = , _fName = "at", _fTypes = (idx:integer list:[<l>] -> <a>) :| [(idx:string object:object:<{o}> -> <a>)], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string134::string, _aPrimValue = PrimLit "curtime"},App {_aNode = read135::object:{system.sysdata [curtime:time]}, _aAppFun = FNative {_fInfo = , _fName = "read", _fTypes = (table:table:<{row}> key:string -> object:<{row}>) :| [(table:table:<{row}> key:string columns:[string] -> object:<{row}>)], _fSpecial = Nothing}, _aAppArgs = [Table {_aNode = system.systbl136::table:{system.sysdata [curtime:time]}, _aTableName = "systbl"},Prim {_aNode = string137::string, _aPrimValue = PrimLit "sys"}]}]}]}, _aAppArgs = []},Object {_aNode = object107::object, _aObject = [(Prim {_aNode = string108::string, _aPrimValue = PrimLit "transfer-to"},Var {_aNode = let14_pact-acct15::string})]}]},App {_aNode = accounts.credit128::string, _aAppFun = FDefun {_fInfo = (defun credit (acct amount dat..., _fName = "accounts.credit", _fType = (acct:<av> amount:<aw> date:<ax> data:<ay> -> <az>), _fArgs = ["acct"(accounts.credit_acct109::string),"amount"(accounts.credit_amount110::decimal),"date"(accounts.credit_date111::time),"data"(accounts.credit_data112::object)], _fBody = [App {_aNode = with-read113::string, _aAppFun = FNative {_fInfo = , _fName = "with-read", _fTypes = (table:table:<{row}> key:string bindings:binding:<{row}> -> <a>) :| [], _fSpecial = Just ("with-read",SBinding (Binding {_aNode = bind*115::string, _aBindings = [("balance"(bind*115_balance116::decimal),Prim {_aNode = string117::string, _aPrimValue = PrimLit "balance"})], _aBody = [App {_aNode = update118::string, _aAppFun = FNative {_fInfo = , _fName = "update", _fTypes = (table:table:<{row}> key:string object:object:<{row}> -> string) :| [], _fSpecial = Nothing}, _aAppArgs = [Table {_aNode = accounts.accounts119::table:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aTableName = "accounts"},Var {_aNode = let14_pact-acct15::string},Object {_aNode = object120::object:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aObject = [(Prim {_aNode = string121::string, _aPrimValue = PrimLit "balance"},App {_aNode = +122::decimal, _aAppFun = FNative {_fInfo = , _fName = "+", _fTypes = (x:<a[integer,decimal]> y:<a[integer,decimal]> -> <a[integer,decimal]>) :| [(x:<a[integer,decimal]> y:<b[integer,decimal]> -> decimal),(x:<a[string,[<l>],object:<{o}>]> y:<a[string,[<l>],object:<{o}>]> -> <a[string,[<l>],object:<{o}>]>)], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = bind*115_balance116::decimal},Var {_aNode = accounts.two-party-escrow_escrow-amount2::decimal}]}),(Prim {_aNode = string123::string, _aPrimValue = PrimLit "amount"},Var {_aNode = accounts.two-party-escrow_escrow-amount2::decimal}),(Prim {_aNode = string124::string, _aPrimValue = PrimLit "date"},App {_aNode = system.get-system-time139::time, _aAppFun = FDefun {_fInfo = (defun get-system-time () (at ..., _fName = "system.get-system-time", _fType = ( -> <d>), _fArgs = [], _fBody = [App {_aNode = at133::time, _aAppFun = FNative {_fInfo = , _fName = "at", _fTypes = (idx:integer list:[<l>] -> <a>) :| [(idx:string object:object:<{o}> -> <a>)], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string134::string, _aPrimValue = PrimLit "curtime"},App {_aNode = read135::object:{system.sysdata [curtime:time]}, _aAppFun = FNative {_fInfo = , _fName = "read", _fTypes = (table:table:<{row}> key:string -> object:<{row}>) :| [(table:table:<{row}> key:string columns:[string] -> object:<{row}>)], _fSpecial = Nothing}, _aAppArgs = [Table {_aNode = system.systbl136::table:{system.sysdata [curtime:time]}, _aTableName = "systbl"},Prim {_aNode = string137::string, _aPrimValue = PrimLit "sys"}]}]}]}, _aAppArgs = []}),(Prim {_aNode = string125::string, _aPrimValue = PrimLit "data"},Object {_aNode = object129::object, _aObject = [(Prim {_aNode = string130::string, _aPrimValue = PrimLit "transfer-from"},Var {_aNode = accounts.two-party-escrow_deb-acct0::string})]})]}]}], _aBindType = bindbind*115schema126::binding:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}}))}, _aAppArgs = [Table {_aNode = accounts.accounts114::table:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aTableName = "accounts"},Var {_aNode = let14_pact-acct15::string}]}]}, _aAppArgs = [Var {_aNode = let14_pact-acct15::string},Var {_aNode = accounts.two-party-escrow_escrow-amount2::decimal},App {_aNode = system.get-system-time139::time, _aAppFun = FDefun {_fInfo = (defun get-system-time () (at ..., _fName = "system.get-system-time", _fType = ( -> <d>), _fArgs = [], _fBody = [App {_aNode = at133::time, _aAppFun = FNative {_fInfo = , _fName = "at", _fTypes = (idx:integer list:[<l>] -> <a>) :| [(idx:string object:object:<{o}> -> <a>)], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string134::string, _aPrimValue = PrimLit "curtime"},App {_aNode = read135::object:{system.sysdata [curtime:time]}, _aAppFun = FNative {_fInfo = , _fName = "read", _fTypes = (table:table:<{row}> key:string -> object:<{row}>) :| [(table:table:<{row}> key:string columns:[string] -> object:<{row}>)], _fSpecial = Nothing}, _aAppArgs = [Table {_aNode = system.systbl136::table:{system.sysdata [curtime:time]}, _aTableName = "systbl"},Prim {_aNode = string137::string, _aPrimValue = PrimLit "sys"}]}]}]}, _aAppArgs = []},Object {_aNode = object129::object, _aObject = [(Prim {_aNode = string130::string, _aPrimValue = PrimLit "transfer-from"},Var {_aNode = accounts.two-party-escrow_deb-acct0::string})]}]}]}, _aAppArgs = [Var {_aNode = accounts.two-party-escrow_deb-acct0::string},Var {_aNode = let14_pact-acct15::string},Var {_aNode = accounts.two-party-escrow_escrow-amount2::decimal},App {_aNode = system.get-system-time139::time, _aAppFun = FDefun {_fInfo = (defun get-system-time () (at ..., _fName = "system.get-system-time", _fType = ( -> <d>), _fArgs = [], _fBody = [App {_aNode = at133::time, _aAppFun = FNative {_fInfo = , _fName = "at", _fTypes = (idx:integer list:[<l>] -> <a>) :| [(idx:string object:object:<{o}> -> <a>)], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string134::string, _aPrimValue = PrimLit "curtime"},App {_aNode = read135::object:{system.sysdata [curtime:time]}, _aAppFun = FNative {_fInfo = , _fName = "read", _fTypes = (table:table:<{row}> key:string -> object:<{row}>) :| [(table:table:<{row}> key:string columns:[string] -> object:<{row}>)], _fSpecial = Nothing}, _aAppArgs = [Table {_aNode = system.systbl136::table:{system.sysdata [curtime:time]}, _aTableName = "systbl"},Prim {_aNode = string137::string, _aPrimValue = PrimLit "sys"}]}]}]}, _aAppArgs = []}]}], _aBindType = let}], _aBindType = bindbind*9schema140::binding:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}}))}, _aAppArgs = [Table {_aNode = accounts.accounts8::table:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aTableName = "accounts"},Var {_aNode = accounts.two-party-escrow_deb-acct0::string}]}]}, _aAppArgs = [Var {_aNode = accounts.two-party-escrow_deb-acct0::string},Var {_aNode = accounts.two-party-escrow_escrow-amount2::decimal}]}, _aRollback = Just (App {_aNode = accounts.cancel-escrow278::string, _aAppFun = FDefun {_fInfo = (defun cancel-escrow (timeout ..., _fName = "accounts.cancel-escrow", _fType = (timeout:<bt> deb-acct:<bu> cred-acct:<bv> amount:<bw> -> <bx>), _fArgs = ["timeout"(accounts.cancel-escrow_timeout143::time),"deb-acct"(accounts.cancel-escrow_deb-acct144::string),"cred-acct"(accounts.cancel-escrow_cred-acct145::string),"amount"(accounts.cancel-escrow_amount146::decimal)], _fBody = [Binding {_aNode = let147::string, _aBindings = [("dk"(let147_dk148::keyset),App {_aNode = accounts.get-acct-keyset157::keyset, _aAppFun = FDefun {_fInfo = (defun get-acct-keyset (acct) | |
..., _fName = "accounts.get-acct-keyset", _fType = (acct:<bh> -> <bi>), _fArgs = ["acct"(accounts.get-acct-keyset_acct149::string)], _fBody = [App {_aNode = with-read150::keyset, _aAppFun = FNative {_fInfo = , _fName = "with-read", _fTypes = (table:table:<{row}> key:string bindings:binding:<{row}> -> <a>) :| [], _fSpecial = Just ("with-read",SBinding (Binding {_aNode = bind*152::keyset, _aBindings = [("k"(bind*152_k153::keyset),Prim {_aNode = string154::string, _aPrimValue = PrimLit "keyset"})], _aBody = [Var {_aNode = bind*152_k153::keyset}], _aBindType = bindbind*152schema155::binding:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}}))}, _aAppArgs = [Table {_aNode = accounts.accounts151::table:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aTableName = "accounts"},Var {_aNode = accounts.two-party-escrow_deb-acct0::string}]}]}, _aAppArgs = [Var {_aNode = accounts.two-party-escrow_deb-acct0::string}]}),("ck"(let147_ck158::keyset),App {_aNode = accounts.get-acct-keyset167::keyset, _aAppFun = FDefun {_fInfo = (defun get-acct-keyset (acct) | |
..., _fName = "accounts.get-acct-keyset", _fType = (acct:<bh> -> <bi>), _fArgs = ["acct"(accounts.get-acct-keyset_acct159::string)], _fBody = [App {_aNode = with-read160::keyset, _aAppFun = FNative {_fInfo = , _fName = "with-read", _fTypes = (table:table:<{row}> key:string bindings:binding:<{row}> -> <a>) :| [], _fSpecial = Just ("with-read",SBinding (Binding {_aNode = bind*162::keyset, _aBindings = [("k"(bind*162_k163::keyset),Prim {_aNode = string164::string, _aPrimValue = PrimLit "keyset"})], _aBody = [Var {_aNode = bind*162_k163::keyset}], _aBindType = bindbind*162schema165::binding:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}}))}, _aAppArgs = [Table {_aNode = accounts.accounts161::table:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aTableName = "accounts"},Var {_aNode = accounts.two-party-escrow_cred-acct1::string}]}]}, _aAppArgs = [Var {_aNode = accounts.two-party-escrow_cred-acct1::string}]}),("systime"(let147_systime168::time),App {_aNode = system.get-system-time175::time, _aAppFun = FDefun {_fInfo = (defun get-system-time () (at ..., _fName = "system.get-system-time", _fType = ( -> <d>), _fArgs = [], _fBody = [App {_aNode = at169::time, _aAppFun = FNative {_fInfo = , _fName = "at", _fTypes = (idx:integer list:[<l>] -> <a>) :| [(idx:string object:object:<{o}> -> <a>)], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string170::string, _aPrimValue = PrimLit "curtime"},App {_aNode = read171::object:{system.sysdata [curtime:time]}, _aAppFun = FNative {_fInfo = , _fName = "read", _fTypes = (table:table:<{row}> key:string -> object:<{row}>) :| [(table:table:<{row}> key:string columns:[string] -> object:<{row}>)], _fSpecial = Nothing}, _aAppArgs = [Table {_aNode = system.systbl172::table:{system.sysdata [curtime:time]}, _aTableName = "systbl"},Prim {_aNode = string173::string, _aPrimValue = PrimLit "sys"}]}]}]}, _aAppArgs = []})], _aBody = [App {_aNode = enforce-one176::bool, _aAppFun = FNative {_fInfo = , _fName = "enforce-one", _fTypes = (msg:string tests:[bool] -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string177::string, _aPrimValue = PrimLit "Cancel can only be effected by creditor, or debitor after timeout"},List {_aNode = list178::[bool], _aList = [App {_aNode = enforce-keyset179::bool, _aAppFun = FNative {_fInfo = , _fName = "enforce-keyset", _fTypes = (keyset-or-name:<k[string,keyset]> -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = let147_ck158::keyset}]},App {_aNode = and180::bool, _aAppFun = FNative {_fInfo = , _fName = "and", _fTypes = (x:bool y:bool -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [App {_aNode = enforce181::bool, _aAppFun = FNative {_fInfo = , _fName = "enforce", _fTypes = (test:bool msg:string -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [App {_aNode = >=182::bool, _aAppFun = FNative {_fInfo = , _fName = ">=", _fTypes = (x:<a[integer,decimal,string,time]> y:<a[integer,decimal,string,time]> -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = let147_systime168::time},Var {_aNode = accounts.two-party-escrow_timeout3::time}]},Prim {_aNode = string183::string, _aPrimValue = PrimLit "Timeout expired"}]},App {_aNode = enforce-keyset184::bool, _aAppFun = FNative {_fInfo = , _fName = "enforce-keyset", _fTypes = (keyset-or-name:<k[string,keyset]> -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = let147_dk148::keyset}]}]}]}]},App {_aNode = accounts.transfer261::string, _aAppFun = FDefun {_fInfo = (defun transfer (src dest amou..., _fName = "accounts.transfer", _fType = (src:<i> dest:<j> amount:<k> date:<l> -> <m>), _fArgs = ["src"(accounts.transfer_src185::string),"dest"(accounts.transfer_dest186::string),"amount"(accounts.transfer_amount187::decimal),"date"(accounts.transfer_date188::time)], _fBody = [App {_aNode = accounts.debit235::string, _aAppFun = FDefun {_fInfo = (defun debit (acct amount date..., _fName = "accounts.debit", _fType = (acct:<an> amount:<ao> date:<ap> data:<aq> -> <ar>), _fArgs = ["acct"(accounts.debit_acct189::string),"amount"(accounts.debit_amount190::decimal),"date"(accounts.debit_date191::time),"data"(accounts.debit_data192::object)], _fBody = [App {_aNode = with-read193::string, _aAppFun = FNative {_fInfo = , _fName = "with-read", _fTypes = (table:table:<{row}> key:string bindings:binding:<{row}> -> <a>) :| [], _fSpecial = Just ("with-read",SBinding (Binding {_aNode = bind*195::string, _aBindings = [("balance"(bind*195_balance196::decimal),Prim {_aNode = string197::string, _aPrimValue = PrimLit "balance"}),("ks"(bind*195_ks198::keyset),Prim {_aNode = string199::string, _aPrimValue = PrimLit "keyset"}),("auth"(bind*195_auth200::string),Prim {_aNode = string201::string, _aPrimValue = PrimLit "auth"})], _aBody = [App {_aNode = accounts.check-balance208::bool, _aAppFun = FDefun {_fInfo = (defun check-balance (balance ..., _fName = "accounts.check-balance", _fType = (balance:<w> amount:<x> -> <y>), _fArgs = ["balance"(accounts.check-balance_balance202::decimal),"amount"(accounts.check-balance_amount203::decimal)], _fBody = [App {_aNode = enforce204::bool, _aAppFun = FNative {_fInfo = , _fName = "enforce", _fTypes = (test:bool msg:string -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [App {_aNode = <=205::bool, _aAppFun = FNative {_fInfo = , _fName = "<=", _fTypes = (x:<a[integer,decimal,string,time]> y:<a[integer,decimal,string,time]> -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = accounts.two-party-escrow_escrow-amount2::decimal},Var {_aNode = bind*195_balance196::decimal}]},Prim {_aNode = string206::string, _aPrimValue = PrimLit "Insufficient funds"}]}]}, _aAppArgs = [Var {_aNode = bind*195_balance196::decimal},Var {_aNode = accounts.two-party-escrow_escrow-amount2::decimal}]},App {_aNode = accounts.enforce-auth223::bool, _aAppFun = FDefun {_fInfo = (defun enforce-auth (keyset:ke..., _fName = "accounts.enforce-auth", _fType = (keyset:keyset auth:<al> -> <am>), _fArgs = ["keyset"(accounts.enforce-auth_keyset209::keyset),"auth"(accounts.enforce-auth_auth210::string)], _fBody = [App {_aNode = if211::bool, _aAppFun = FNative {_fInfo = , _fName = "if", _fTypes = (cond:bool then:<a> else:<a> -> <a>) :| [], _fSpecial = Nothing}, _aAppArgs = [App {_aNode = =212::bool, _aAppFun = FNative {_fInfo = , _fName = "=", _fTypes = (x:<a[integer,string,time,decimal,bool,[<l>],object:<{o}>,keyset]> y:<a[integer,string,time,decimal,bool,[<l>],object:<{o}>,keyset]> -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = bind*195_auth200::string},Prim {_aNode = string213::string, _aPrimValue = PrimLit "K"}]},App {_aNode = enforce-keyset214::bool, _aAppFun = FNative {_fInfo = , _fName = "enforce-keyset", _fTypes = (keyset-or-name:<k[string,keyset]> -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = bind*195_ks198::keyset}]},App {_aNode = enforce215::bool, _aAppFun = FNative {_fInfo = , _fName = "enforce", _fTypes = (test:bool msg:string -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [App {_aNode = =216::bool, _aAppFun = FNative {_fInfo = , _fName = "=", _fTypes = (x:<a[integer,string,time,decimal,bool,[<l>],object:<{o}>,keyset]> y:<a[integer,string,time,decimal,bool,[<l>],object:<{o}>,keyset]> -> bool) :| [], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = bind*195_auth200::string},App {_aNode = format217::string, _aAppFun = FNative {_fInfo = , _fName = "format", _fTypes = (template:string vars:list -> string) :| [], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string218::string, _aPrimValue = PrimLit "%s"},List {_aNode = list219::list, _aList = [App {_aNode = pact-id220::integer, _aAppFun = FNative {_fInfo = , _fName = "pact-id", _fTypes = ( -> integer) :| [], _fSpecial = Nothing}, _aAppArgs = []}]}]}]},Prim {_aNode = string221::string, _aPrimValue = PrimLit "Invalid access of pact account"}]}]}]}, _aAppArgs = [Var {_aNode = bind*195_ks198::keyset},Var {_aNode = bind*195_auth200::string}]},App {_aNode = update224::string, _aAppFun = FNative {_fInfo = , _fName = "update", _fTypes = (table:table:<{row}> key:string object:object:<{row}> -> string) :| [], _fSpecial = Nothing}, _aAppArgs = [Table {_aNode = accounts.accounts225::table:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aTableName = "accounts"},App {_aNode = accounts.get-pact-account268::string, _aAppFun = FDefun {_fInfo = (defun get-pact-account (pfx:s..., _fName = "accounts.get-pact-account", _fType = (pfx:string -> <ch>), _fArgs = ["pfx"(accounts.get-pact-account_pfx262::string)], _fBody = [App {_aNode = format263::string, _aAppFun = FNative {_fInfo = , _fName = "format", _fTypes = (template:string vars:list -> string) :| [], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string264::string, _aPrimValue = PrimLit "{}-{}"},List {_aNode = list265::list, _aList = [Prim {_aNode = string269::string, _aPrimValue = PrimLit "escrow-account"},App {_aNode = pact-id266::integer, _aAppFun = FNative {_fInfo = , _fName = "pact-id", _fTypes = ( -> integer) :| [], _fSpecial = Nothing}, _aAppArgs = []}]}]}]}, _aAppArgs = [Prim {_aNode = string269::string, _aPrimValue = PrimLit "escrow-account"}]},Object {_aNode = object226::object:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aObject = [(Prim {_aNode = string227::string, _aPrimValue = PrimLit "balance"},App {_aNode = -228::decimal, _aAppFun = FNative {_fInfo = , _fName = "-", _fTypes = (x:<a[integer,decimal]> y:<a[integer,decimal]> -> <a[integer,decimal]>) :| [(x:<a[integer,decimal]> y:<b[integer,decimal]> -> decimal),(x:<a[integer,decimal]> -> <a[integer,decimal]>)], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = bind*195_balance196::decimal},Var {_aNode = accounts.two-party-escrow_escrow-amount2::decimal}]}),(Prim {_aNode = string229::string, _aPrimValue = PrimLit "amount"},App {_aNode = -230::decimal, _aAppFun = FNative {_fInfo = , _fName = "-", _fTypes = (x:<a[integer,decimal]> y:<a[integer,decimal]> -> <a[integer,decimal]>) :| [(x:<a[integer,decimal]> y:<b[integer,decimal]> -> decimal),(x:<a[integer,decimal]> -> <a[integer,decimal]>)], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = accounts.two-party-escrow_escrow-amount2::decimal}]}),(Prim {_aNode = string231::string, _aPrimValue = PrimLit "date"},App {_aNode = system.get-system-time276::time, _aAppFun = FDefun {_fInfo = (defun get-system-time () (at ..., _fName = "system.get-system-time", _fType = ( -> <d>), _fArgs = [], _fBody = [App {_aNode = at270::time, _aAppFun = FNative {_fInfo = , _fName = "at", _fTypes = (idx:integer list:[<l>] -> <a>) :| [(idx:string object:object:<{o}> -> <a>)], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string271::string, _aPrimValue = PrimLit "curtime"},App {_aNode = read272::object:{system.sysdata [curtime:time]}, _aAppFun = FNative {_fInfo = , _fName = "read", _fTypes = (table:table:<{row}> key:string -> object:<{row}>) :| [(table:table:<{row}> key:string columns:[string] -> object:<{row}>)], _fSpecial = Nothing}, _aAppArgs = [Table {_aNode = system.systbl273::table:{system.sysdata [curtime:time]}, _aTableName = "systbl"},Prim {_aNode = string274::string, _aPrimValue = PrimLit "sys"}]}]}]}, _aAppArgs = []}),(Prim {_aNode = string232::string, _aPrimValue = PrimLit "data"},Object {_aNode = object236::object, _aObject = [(Prim {_aNode = string237::string, _aPrimValue = PrimLit "transfer-to"},Var {_aNode = accounts.two-party-escrow_deb-acct0::string})]})]}]}], _aBindType = bindbind*195schema233::binding:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}}))}, _aAppArgs = [Table {_aNode = accounts.accounts194::table:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aTableName = "accounts"},App {_aNode = accounts.get-pact-account268::string, _aAppFun = FDefun {_fInfo = (defun get-pact-account (pfx:s..., _fName = "accounts.get-pact-account", _fType = (pfx:string -> <ch>), _fArgs = ["pfx"(accounts.get-pact-account_pfx262::string)], _fBody = [App {_aNode = format263::string, _aAppFun = FNative {_fInfo = , _fName = "format", _fTypes = (template:string vars:list -> string) :| [], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string264::string, _aPrimValue = PrimLit "{}-{}"},List {_aNode = list265::list, _aList = [Prim {_aNode = string269::string, _aPrimValue = PrimLit "escrow-account"},App {_aNode = pact-id266::integer, _aAppFun = FNative {_fInfo = , _fName = "pact-id", _fTypes = ( -> integer) :| [], _fSpecial = Nothing}, _aAppArgs = []}]}]}]}, _aAppArgs = [Prim {_aNode = string269::string, _aPrimValue = PrimLit "escrow-account"}]}]}]}, _aAppArgs = [App {_aNode = accounts.get-pact-account268::string, _aAppFun = FDefun {_fInfo = (defun get-pact-account (pfx:s..., _fName = "accounts.get-pact-account", _fType = (pfx:string -> <ch>), _fArgs = ["pfx"(accounts.get-pact-account_pfx262::string)], _fBody = [App {_aNode = format263::string, _aAppFun = FNative {_fInfo = , _fName = "format", _fTypes = (template:string vars:list -> string) :| [], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string264::string, _aPrimValue = PrimLit "{}-{}"},List {_aNode = list265::list, _aList = [Prim {_aNode = string269::string, _aPrimValue = PrimLit "escrow-account"},App {_aNode = pact-id266::integer, _aAppFun = FNative {_fInfo = , _fName = "pact-id", _fTypes = ( -> integer) :| [], _fSpecial = Nothing}, _aAppArgs = []}]}]}]}, _aAppArgs = [Prim {_aNode = string269::string, _aPrimValue = PrimLit "escrow-account"}]},Var {_aNode = accounts.two-party-escrow_escrow-amount2::decimal},App {_aNode = system.get-system-time276::time, _aAppFun = FDefun {_fInfo = (defun get-system-time () (at ..., _fName = "system.get-system-time", _fType = ( -> <d>), _fArgs = [], _fBody = [App {_aNode = at270::time, _aAppFun = FNative {_fInfo = , _fName = "at", _fTypes = (idx:integer list:[<l>] -> <a>) :| [(idx:string object:object:<{o}> -> <a>)], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string271::string, _aPrimValue = PrimLit "curtime"},App {_aNode = read272::object:{system.sysdata [curtime:time]}, _aAppFun = FNative {_fInfo = , _fName = "read", _fTypes = (table:table:<{row}> key:string -> object:<{row}>) :| [(table:table:<{row}> key:string columns:[string] -> object:<{row}>)], _fSpecial = Nothing}, _aAppArgs = [Table {_aNode = system.systbl273::table:{system.sysdata [curtime:time]}, _aTableName = "systbl"},Prim {_aNode = string274::string, _aPrimValue = PrimLit "sys"}]}]}]}, _aAppArgs = []},Object {_aNode = object236::object, _aObject = [(Prim {_aNode = string237::string, _aPrimValue = PrimLit "transfer-to"},Var {_aNode = accounts.two-party-escrow_deb-acct0::string})]}]},App {_aNode = accounts.credit257::string, _aAppFun = FDefun {_fInfo = (defun credit (acct amount dat..., _fName = "accounts.credit", _fType = (acct:<av> amount:<aw> date:<ax> data:<ay> -> <az>), _fArgs = ["acct"(accounts.credit_acct238::string),"amount"(accounts.credit_amount239::decimal),"date"(accounts.credit_date240::time),"data"(accounts.credit_data241::object)], _fBody = [App {_aNode = with-read242::string, _aAppFun = FNative {_fInfo = , _fName = "with-read", _fTypes = (table:table:<{row}> key:string bindings:binding:<{row}> -> <a>) :| [], _fSpecial = Just ("with-read",SBinding (Binding {_aNode = bind*244::string, _aBindings = [("balance"(bind*244_balance245::decimal),Prim {_aNode = string246::string, _aPrimValue = PrimLit "balance"})], _aBody = [App {_aNode = update247::string, _aAppFun = FNative {_fInfo = , _fName = "update", _fTypes = (table:table:<{row}> key:string object:object:<{row}> -> string) :| [], _fSpecial = Nothing}, _aAppArgs = [Table {_aNode = accounts.accounts248::table:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aTableName = "accounts"},Var {_aNode = accounts.two-party-escrow_deb-acct0::string},Object {_aNode = object249::object:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aObject = [(Prim {_aNode = string250::string, _aPrimValue = PrimLit "balance"},App {_aNode = +251::decimal, _aAppFun = FNative {_fInfo = , _fName = "+", _fTypes = (x:<a[integer,decimal]> y:<a[integer,decimal]> -> <a[integer,decimal]>) :| [(x:<a[integer,decimal]> y:<b[integer,decimal]> -> decimal),(x:<a[string,[<l>],object:<{o}>]> y:<a[string,[<l>],object:<{o}>]> -> <a[string,[<l>],object:<{o}>]>)], _fSpecial = Nothing}, _aAppArgs = [Var {_aNode = bind*244_balance245::decimal},Var {_aNode = accounts.two-party-escrow_escrow-amount2::decimal}]}),(Prim {_aNode = string252::string, _aPrimValue = PrimLit "amount"},Var {_aNode = accounts.two-party-escrow_escrow-amount2::decimal}),(Prim {_aNode = string253::string, _aPrimValue = PrimLit "date"},App {_aNode = system.get-system-time276::time, _aAppFun = FDefun {_fInfo = (defun get-system-time () (at ..., _fName = "system.get-system-time", _fType = ( -> <d>), _fArgs = [], _fBody = [App {_aNode = at270::time, _aAppFun = FNative {_fInfo = , _fName = "at", _fTypes = (idx:integer list:[<l>] -> <a>) :| [(idx:string object:object:<{o}> -> <a>)], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string271::string, _aPrimValue = PrimLit "curtime"},App {_aNode = read272::object:{system.sysdata [curtime:time]}, _aAppFun = FNative {_fInfo = , _fName = "read", _fTypes = (table:table:<{row}> key:string -> object:<{row}>) :| [(table:table:<{row}> key:string columns:[string] -> object:<{row}>)], _fSpecial = Nothing}, _aAppArgs = [Table {_aNode = system.systbl273::table:{system.sysdata [curtime:time]}, _aTableName = "systbl"},Prim {_aNode = string274::string, _aPrimValue = PrimLit "sys"}]}]}]}, _aAppArgs = []}),(Prim {_aNode = string254::string, _aPrimValue = PrimLit "data"},Object {_aNode = object258::object, _aObject = [(Prim {_aNode = string259::string, _aPrimValue = PrimLit "transfer-from"},App {_aNode = accounts.get-pact-account268::string, _aAppFun = FDefun {_fInfo = (defun get-pact-account (pfx:s..., _fName = "accounts.get-pact-account", _fType = (pfx:string -> <ch>), _fArgs = ["pfx"(accounts.get-pact-account_pfx262::string)], _fBody = [App {_aNode = format263::string, _aAppFun = FNative {_fInfo = , _fName = "format", _fTypes = (template:string vars:list -> string) :| [], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string264::string, _aPrimValue = PrimLit "{}-{}"},List {_aNode = list265::list, _aList = [Prim {_aNode = string269::string, _aPrimValue = PrimLit "escrow-account"},App {_aNode = pact-id266::integer, _aAppFun = FNative {_fInfo = , _fName = "pact-id", _fTypes = ( -> integer) :| [], _fSpecial = Nothing}, _aAppArgs = []}]}]}]}, _aAppArgs = [Prim {_aNode = string269::string, _aPrimValue = PrimLit "escrow-account"}]})]})]}]}], _aBindType = bindbind*244schema255::binding:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}}))}, _aAppArgs = [Table {_aNode = accounts.accounts243::table:{accounts.account [balance:decimal,amount:decimal,ccy:string,keyset:keyset,auth:string,date:time,data:<a>]}, _aTableName = "accounts"},Var {_aNode = accounts.two-party-escrow_deb-acct0::string}]}]}, _aAppArgs = [Var {_aNode = accounts.two-party-escrow_deb-acct0::string},Var {_aNode = accounts.two-party-escrow_escrow-amount2::decimal},App {_aNode = system.get-system-time276::time, _aAppFun = FDefun {_fInfo = (defun get-system-time () (at ..., _fName = "system.get-system-time", _fType = ( -> <d>), _fArgs = [], _fBody = [App {_aNode = at270::time, _aAppFun = FNative {_fInfo = , _fName = "at", _fTypes = (idx:integer list:[<l>] -> <a>) :| [(idx:string object:object:<{o}> -> <a>)], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string271::string, _aPrimValue = PrimLit "curtime"},App {_aNode = read272::object:{system.sysdata [curtime:time]}, _aAppFun = FNative {_fInfo = , _fName = "read", _fTypes = (table:table:<{row}> key:string -> object:<{row}>) :| [(table:table:<{row}> key:string columns:[string] -> object:<{row}>)], _fSpecial = Nothing}, _aAppArgs = [Table {_aNode = system.systbl273::table:{system.sysdata [curtime:time]}, _aTableName = "systbl"},Prim {_aNode = string274::string, _aPrimValue = PrimLit "sys"}]}]}]}, _aAppArgs = []},Object {_aNode = object258::object, _aObject = [(Prim {_aNode = string259::string, _aPrimValue = PrimLit "transfer-from"},App {_aNode = accounts.get-pact-account268::string, _aAppFun = FDefun {_fInfo = (defun get-pact-account (pfx:s..., _fName = "accounts.get-pact-account", _fType = (pfx:string -> <ch>), _fArgs = ["pfx"(accounts.get-pact-account_pfx262::string)], _fBody = [App {_aNode = format263::string, _aAppFun = FNative {_fInfo = , _fName = "format", _fTypes = (template:string vars:list -> string) :| [], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string264::string, _aPrimValue = PrimLit "{}-{}"},List {_aNode = list265::list, _aList = [Prim {_aNode = string269::string, _aPrimValue = PrimLit "escrow-account"},App {_aNode = pact-id266::integer, _aAppFun = FNative {_fInfo = , _fName = "pact-id", _fTypes = ( -> integer) :| [], _fSpecial = Nothing}, _aAppArgs = []}]}]}]}, _aAppArgs = [Prim {_aNode = string269::string, _aPrimValue = PrimLit "escrow-account"}]})]}]}]}, _aAppArgs = [App {_aNode = accounts.get-pact-account268::string, _aAppFun = FDefun {_fInfo = (defun get-pact-account (pfx:s..., _fName = "accounts.get-pact-account", _fType = (pfx:string -> <ch>), _fArgs = ["pfx"(accounts.get-pact-account_pfx262::string)], _fBody = [App {_aNode = format263::string, _aAppFun = FNative {_fInfo = , _fName = "format", _fTypes = (template:string vars:list -> string) :| [], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string264::string, _aPrimValue = PrimLit "{}-{}"},List {_aNode = list265::list, _aList = [Prim {_aNode = string269::string, _aPrimValue = PrimLit "escrow-account"},App {_aNode = pact-id266::integer, _aAppFun = FNative {_fInfo = , _fName = "pact-id", _fTypes = ( -> integer) :| [], _fSpecial = Nothing}, _aAppArgs = []}]}]}]}, _aAppArgs = [Prim {_aNode = string269::string, _aPrimValue = PrimLit "escrow-account"}]},Var {_aNode = accounts.two-party-escrow_deb-acct0::string},Var {_aNode = accounts.two-party-escrow_escrow-amount2::decimal},App {_aNode = system.get-system-time276::time, _aAppFun = FDefun {_fInfo = (defun get-system-time () (at ..., _fName = "system.get-system-time", _fType = ( -> <d>), _fArgs = [], _fBody = [App {_aNode = at270::time, _aAppFun = FNative {_fInfo = , _fName = "at", _fTypes = (idx:integer list:[<l>] -> <a>) :| [(idx:string object:object:<{o}> -> <a>)], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string271::string, _aPrimValue = PrimLit "curtime"},App {_aNode = read272::object:{system.sysdata [curtime:time]}, _aAppFun = FNative {_fInfo = , _fName = "read", _fTypes = (table:table:<{row}> key:string -> object:<{row}>) :| [(table:table:<{row}> key:string columns:[string] -> object:<{row}>)], _fSpecial = Nothing}, _aAppArgs = [Table {_aNode = system.systbl273::table:{system.sysdata [curtime:time]}, _aTableName = "systbl"},Prim {_aNode = string274::string, _aPrimValue = PrimLit "sys"}]}]}]}, _aAppArgs = []}]}], _aBindType = let}]}, _aAppArgs = [Var {_aNode = accounts.two-party-escrow_timeout3::time},Var {_aNode = accounts.two-party-escrow_deb-acct0::string},Var {_aNode = accounts.two-party-escrow_cred-acct1::string},Var {_aNode = accounts.two-party-escrow_escrow-amount2::decimal}]})} | |
examples/accounts/accounts.pact:48:2:Warning: Multiple failures: Translation failure: Pattern match failure in do expression at src/Pact/Analyze/Translate.hs:355:13-26 | |
Unexpected node in translation: App {_aNode = pact-id35::integer, _aAppFun = FNative {_fInfo = , _fName = "pact-id", _fTypes = ( -> integer) :| [], _fSpecial = Nothing}, _aAppArgs = []} | |
Unexpected node in translation: App {_aNode = pact-id35::integer, _aAppFun = FNative {_fInfo = , _fName = "pact-id", _fTypes = ( -> integer) :| [], _fSpecial = Nothing}, _aAppArgs = []} | |
examples/accounts/accounts.pact:206:2:Warning: Unexpected node in translation: App {_aNode = pact-id8::integer, _aAppFun = FNative {_fInfo = , _fName = "pact-id", _fTypes = ( -> integer) :| [], _fSpecial = Nothing}, _aAppArgs = []} | |
Property proven valid | |
examples/accounts/accounts.pact:204:2:Warning: Unexpected node in translation: App {_aNode = pact-id4::integer, _aAppFun = FNative {_fInfo = , _fName = "pact-id", _fTypes = ( -> integer) :| [], _fSpecial = Nothing}, _aAppArgs = []} | |
examples/accounts/accounts.pact:189:2:Warning: Unexpected node in translation: App {_aNode = read-decimal35::decimal, _aAppFun = FNative {_fInfo = , _fName = "read-decimal", _fTypes = (key:string -> decimal) :| [], _fSpecial = Nothing}, _aAppArgs = [Prim {_aNode = string36::string, _aPrimValue = PrimLit "final-price"}]} | |
Load successful |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment