@laceio/sdk 0.1.2-canary.1 → 0.1.2-canary.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{acc-module-4iIUv6My.cjs → acc-module-CvfYvJSP.cjs} +11 -18
- package/dist/{acc-module-Cmj8EsIb.js → acc-module-D6TTyFZ9.js} +12 -7
- package/dist/{account-BOQruszJ.js → account-D2fiiKAq.js} +1 -1
- package/dist/{account-BUOj4pYJ.cjs → account-Dq1q7QPI.cjs} +1 -1
- package/dist/account-call-Cli2Gkx8.cjs +5 -0
- package/dist/{account-call-Bd4Rpbvt.cjs → account-call-D6sp1kan.cjs} +120 -25
- package/dist/{account-call-C3CkDqEC.js → account-call-DG1x1NXX.js} +103 -26
- package/dist/account-call-sEGzG2nh.js +4 -0
- package/dist/{account-guards-BtjTGxDZ.cjs → account-guards-BUfoZesU.cjs} +1 -1
- package/dist/{account-guards-D9Lu5T3W.js → account-guards-CjMyEZy-.js} +1 -1
- package/dist/{account-tokens-DvkOFVON.js → account-tokens-CIpV03b7.js} +3 -3
- package/dist/{account-tokens-nwcvwLu4.cjs → account-tokens-Dx7iTYK8.cjs} +3 -3
- package/dist/{address-BXp-mY8H.cjs → address-Bvt8Xj3O.cjs} +3 -3
- package/dist/address-C2QJsWNd.cjs +45 -0
- package/dist/{address-B9ntKL8K.js → address-DSoxj9uv.js} +4 -4
- package/dist/address-Dmk1ZqZS.js +27 -0
- package/dist/{address-book-address-validator-0J9XAADH.js → address-book-address-validator-BjsvkeIt.js} +2 -2
- package/dist/{address-book-address-validator-Dte_YQ2L.cjs → address-book-address-validator-BzxMCnil.cjs} +2 -2
- package/dist/{address-book-address-validator-Di_ywo8M.js → address-book-address-validator-_ZnCzzdU.js} +4 -4
- package/dist/{address-book-address-validator-DK0dnsRS.cjs → address-book-address-validator-h8M48NO8.cjs} +3 -3
- package/dist/{auto-dismiss-failure-on-success-C-qoJuid.cjs → auto-dismiss-failure-on-success-BNxpCeJx.cjs} +1 -1
- package/dist/{auto-dismiss-failure-on-success-s8MGDEIu.js → auto-dismiss-failure-on-success-CrXW3UPY.js} +1 -1
- package/dist/bitcoin.cjs +13 -13
- package/dist/bitcoin.d.ts +646 -1
- package/dist/bitcoin.js +17 -17
- package/dist/{blockfrost-tx-submit-provider-CLNQ5ycR.cjs → blockfrost-tx-submit-provider-DCMSrL8X.cjs} +89 -10
- package/dist/{blockfrost-tx-submit-provider-CBWQ0wK9.js → blockfrost-tx-submit-provider-E4-0HPZZ.js} +85 -12
- package/dist/{browser-B1eMbDwh.js → browser-BsLeTZMu.js} +1 -1
- package/dist/bundle-BhLH3aPu.js +3 -0
- package/dist/bundle-BhlukYHy.cjs +5 -0
- package/dist/bundle-BpKBpUb4.cjs +79 -0
- package/dist/bundle-CnH8bQGD.js +68 -0
- package/dist/{cardano-network-id.vo-Cfpvbod9.js → cardano-network-id.vo-B1sbot07.js} +1 -1
- package/dist/{cardano-network-id.vo-BEDPn6Li.cjs → cardano-network-id.vo-D4M-ueLo.cjs} +1 -1
- package/dist/cardano.cjs +319 -11
- package/dist/cardano.d.ts +3452 -229
- package/dist/cardano.js +301 -15
- package/dist/cbor-limits-BCyCDLPC.js +49 -0
- package/dist/cbor-limits-pfsl74cD.cjs +56 -0
- package/dist/{const-BJfIK_G-.js → const-8YeRyqgi.js} +4 -4
- package/dist/{const-BsnjG2_Q.cjs → const-B9JS2jpf.cjs} +2 -2
- package/dist/{const-D0CbQlo4.js → const-BW2WMnfG.js} +2 -2
- package/dist/{const-BhYOdznB.cjs → const-BWglzJOv.cjs} +3 -3
- package/dist/{const-CjmfjBP3.js → const-BycuOfDR.js} +1 -1
- package/dist/{const-CUnCl5U0.js → const-C2VoIwmT.js} +3 -3
- package/dist/{const-iwzZEE_w.cjs → const-DqOkpmK0.cjs} +1 -1
- package/dist/{const-D-eZIS4n.cjs → const-DuOXipy9.cjs} +4 -4
- package/dist/{contract-MKLzYVkW.cjs → contract--IaosyMf.cjs} +9 -9
- package/dist/{contract-1R86jhSw.js → contract-Cn-m_EEZ.js} +9 -9
- package/dist/{create-add-accounts-Brqk84vF.js → create-add-accounts-CHqLiupa.js} +1 -1
- package/dist/{delegation-tx-builder-Dy3-2Auz.js → delegation-tx-builder-DTt8urq_.js} +5 -5
- package/dist/{delegation-tx-builder-Dof_0N_d.cjs → delegation-tx-builder-DcFjwZgb.cjs} +5 -5
- package/dist/{deregistration-tx-builder-CcLwyFpj.cjs → deregistration-tx-builder-CGqbB5CI.cjs} +5 -5
- package/dist/{deregistration-tx-builder-QkWW_gWl.js → deregistration-tx-builder-rh-1CFBn.js} +5 -5
- package/dist/{device-readers-DwSNCGPP.js → device-readers-CmvJiDor.js} +2 -2
- package/dist/{device-readers-CdxS2btd.cjs → device-readers-D8zC23X5.cjs} +5 -5
- package/dist/{device-readers-CUHYoYOH.js → device-readers-YhQd-DGz.js} +5 -5
- package/dist/{device-readers-D_JZeNL2.cjs → device-readers-f-LnGSzp.cjs} +1 -1
- package/dist/{dist-DqJfSlTd.cjs → dist-B9f-39ZU.cjs} +4 -4
- package/dist/{dist-Dcsxh3be.cjs → dist-Bc-E--IZ.cjs} +3 -3
- package/dist/{dist-CykEjYEX.cjs → dist-C0YTRPpG.cjs} +4 -4
- package/dist/{dist-nTZ70qj7.cjs → dist-DE86wzdX.cjs} +7 -7
- package/dist/{dist-BMi5ZjEq.cjs → dist-abRAcFrK.cjs} +2 -2
- package/dist/{earn-rewards-tx-builder-BP5JMIKS.cjs → earn-rewards-tx-builder-BF0--GeJ.cjs} +5 -5
- package/dist/{earn-rewards-tx-builder-Cku4BmNU.js → earn-rewards-tx-builder-BneAVgex.js} +5 -5
- package/dist/engine-client-1qwh3a6H.js +617 -0
- package/dist/engine-client-CfGo5zqX.cjs +653 -0
- package/dist/{envelopes-BGoO_v8m.js → envelopes-DoK7M9_M.js} +3 -3
- package/dist/{envelopes-CH25R-DN.cjs → envelopes-YgOha6rl.cjs} +4 -4
- package/dist/{errors-DSq5wUwt.js → errors-BIVcBx4F.js} +70 -10
- package/dist/{errors-BIftM8ZN.cjs → errors-UHrdCPbS.cjs} +99 -15
- package/dist/experimental.cjs +269 -201
- package/dist/experimental.d.ts +7178 -581
- package/dist/experimental.js +262 -199
- package/dist/filter-franken-utxos-4y1gsQuO.cjs +99 -0
- package/dist/filter-franken-utxos-SmPIU0f3.js +87 -0
- package/dist/{gated-call-CDCVZIK-.cjs → gated-call-BheyBgle.cjs} +1 -1
- package/dist/gated-call-Bz6HK7kc.js +4 -0
- package/dist/{gated-call-DgJm1Mi_.cjs → gated-call-CiEHJF3I.cjs} +113 -60
- package/dist/{gated-call-D-tT7P_t.js → gated-call-q0qGYNmF.js} +101 -60
- package/dist/{grant-rules-By07_eDi.js → grant-rules-CUa6ngRh.js} +3 -2
- package/dist/{grant-rules-BzVTWXS7.cjs → grant-rules-G1AgSwZY.cjs} +4 -3
- package/dist/{grant-spend-B3Md9L0n.js → grant-spend-CAdOUn3i.js} +8 -7
- package/dist/{grant-spend-oWmzRsjH.cjs → grant-spend-CZt2KhLb.cjs} +8 -7
- package/dist/{grant-status-B2y49iIu.js → grant-status-BqiRDg7K.js} +4 -4
- package/dist/{grant-status-DOr3t_u8.cjs → grant-status-CrpVfZPF.cjs} +4 -4
- package/dist/{grants-BoI5uwSF.cjs → grants-B4juTyTW.cjs} +5 -5
- package/dist/{grants-BPoLSiMt.cjs → grants-Dfn1GRO7.cjs} +2 -2
- package/dist/{grants-CtofFu-e.js → grants-hsbXEaIC.js} +5 -5
- package/dist/{grants-2BZ-qEVQ.js → grants-vQdmepLe.js} +3 -3
- package/dist/{group-cardano-addresses-by-account-SR8MMrZf.js → group-cardano-addresses-by-account-BVNExXGK.js} +7 -3
- package/dist/{group-cardano-addresses-by-account-Bp0g4wEY.cjs → group-cardano-addresses-by-account-CX_du3K-.cjs} +12 -2
- package/dist/{guarded-transaction-signer-MFpPg98D.cjs → guarded-transaction-signer-CAWY7FvP.cjs} +64 -53
- package/dist/{guarded-transaction-signer-P6Rp1faj.js → guarded-transaction-signer-D0WGeNd2.js} +66 -55
- package/dist/{http-client-TRlhDZGh.js → http-client-BfR9s9dh.js} +2 -2
- package/dist/{http-client-B3N-TMxu.cjs → http-client-DRpatgQX.cjs} +2 -2
- package/dist/{identity-DII6f-h7.js → identity-BlCOkeGW.js} +1 -1
- package/dist/{identity-BMLuufva.cjs → identity-BtvoTszK.cjs} +1 -1
- package/dist/{in-memory-wallet-integration-ChIOirMW.js → in-memory-wallet-integration-BBjpmurJ.js} +3 -3
- package/dist/{in-memory-wallet-integration-Cm6P8sk6.cjs → in-memory-wallet-integration-BH4dsHCr.cjs} +1 -1
- package/dist/{in-memory-wallet-integration-TM9bBphA.js → in-memory-wallet-integration-CeTNaWJt.js} +11 -11
- package/dist/{in-memory-wallet-integration-t9I00R_V.cjs → in-memory-wallet-integration-Cuqb_IJQ.cjs} +4 -4
- package/dist/{in-memory-wallet-integration-CljprQQV.js → in-memory-wallet-integration-DG2s1jae.js} +5 -5
- package/dist/{in-memory-wallet-integration-CULUB5Tf.cjs → in-memory-wallet-integration-DnaDR0l1.cjs} +4 -4
- package/dist/{in-memory-wallet-integration-B2xzxORj.cjs → in-memory-wallet-integration-crNtBYa7.cjs} +7 -7
- package/dist/{in-memory-wallet-integration-CBRiPjLO.js → in-memory-wallet-integration-izmRchxD.js} +10 -10
- package/dist/index.cjs +31 -31
- package/dist/index.d.ts +2835 -144
- package/dist/index.js +35 -35
- package/dist/{init-DFMiP2ZH.cjs → init-3x2YM_Hg.cjs} +1 -1
- package/dist/{init-Cigr_tKx.js → init-5xC18g4E.js} +339 -118
- package/dist/init-9oIiLh7Q.cjs +48 -0
- package/dist/{init-BopV9ed4.cjs → init-B9x8IwMo2.cjs} +2 -2
- package/dist/{init-D9g1HXYf.cjs → init-BMidsHwc.cjs} +4 -4
- package/dist/init-BXCnZoBk.js +30 -0
- package/dist/{init-rmt7-fQE.cjs → init-BZxrpe09.cjs} +2 -2
- package/dist/{init-SZ01tARX2.js → init-B_30j-li2.js} +2 -2
- package/dist/{init-GsT2AEa4.cjs → init-BoVJ-5MP.cjs} +6 -6
- package/dist/{init-DA7zmptx.js → init-BrRiqJBY.js} +1 -1
- package/dist/{init-CR7BfztQ.cjs → init-BtWh2XOd.cjs} +4 -4
- package/dist/{init-Dv3zKj0r.cjs → init-BubMcDj4.cjs} +4 -4
- package/dist/{init-C2RgrfZe.js → init-Bx0SPoQn.js} +1 -1
- package/dist/init-Bz1eYjRe.cjs +31 -0
- package/dist/{init-DFjT8YvT.js → init-C2OroeD5.js} +4 -4
- package/dist/{init-Dy-05ktr.cjs → init-C5wPeiQl.cjs} +1 -1
- package/dist/{init-B8U3ABhS.cjs → init-C7WdUQgs.cjs} +2 -2
- package/dist/{init-DHrCbpkW.cjs → init-CAdH-WEI.cjs} +4 -4
- package/dist/{init-NdhG_VrF.cjs → init-CCMfzFU1.cjs} +35 -16
- package/dist/{init-BRzH6xu-2.cjs → init-CCt_Jt2U.cjs} +935 -678
- package/dist/{init-C00gw1zi.js → init-CE3tIi3J.js} +6 -6
- package/dist/{init-BmzfDaKL.js → init-CJhJL96w.js} +57 -16
- package/dist/{init-CNM5m7M2.js → init-CK58wLG5.js} +4 -4
- package/dist/{init-EhzD7a8i.cjs → init-CTShrSNV.cjs} +1 -1
- package/dist/{init-BpHTq2R5.js → init-CWFgy0w0.js} +2 -2
- package/dist/{init-DGjXwWs2.cjs → init-CbER_cbH.cjs} +24 -5
- package/dist/{init-BPU3j8sT.cjs → init-Cdqc4trU.cjs} +1 -1
- package/dist/init-Cg8LhqVt.js +47 -0
- package/dist/{init-Clu8pxwQ.cjs → init-Ci1Fm2lo.cjs} +664 -18
- package/dist/{init-EP0CUWNK.cjs → init-CpGi6-vB.cjs} +2 -2
- package/dist/{init-Dnsv155v.js → init-CwaSa1a0.js} +3 -3
- package/dist/{init-NCjgwCZy.js → init-D4_XTdv-.js} +2 -2
- package/dist/{init-CfTbSEKy.js → init-D7PikRya.js} +42 -135
- package/dist/{init-D8OeObDF.cjs → init-DB-VrElp.cjs} +56 -14
- package/dist/{init-zU-_9Gsp.cjs → init-DD7-18oh.cjs} +341 -119
- package/dist/{init-C5mYyFTv.js → init-DM2gTWy8.js} +13 -13
- package/dist/{init-Fw89ZmrR.js → init-DP0g6kQB.js} +2 -2
- package/dist/{init-kEfUTuG2.js → init-DXPAs5_9.js} +1 -1
- package/dist/{init-lzHt4Cli.cjs → init-DXUrdbQE.cjs} +46 -138
- package/dist/{init-BJn-8_hf.js → init-D_Epa6fq.js} +24 -5
- package/dist/{init-c4l6r-o-.js → init-D_qiUafF.js} +1 -1
- package/dist/{init-DUF4ar8P.cjs → init-DbYeu-r5.cjs} +3 -3
- package/dist/{init-DlqJuHhl.js → init-DukiOwmB.js} +4 -4
- package/dist/{init-BwkU0ruo.cjs → init-DygZT0iR.cjs} +2 -2
- package/dist/{init-CDkRynJa.js → init-JWrUUWgq2.js} +926 -669
- package/dist/{init-C-G32J12.cjs → init-MMmJ58rZ.cjs} +2 -2
- package/dist/{init-qSEd_Spq.js → init-YSH4P_ox.js} +668 -22
- package/dist/{init-BrdVzxei.cjs → init-aEMYvuzN.cjs} +2 -2
- package/dist/{init-B3-1ghyx.js → init-b78K9_QF.js} +2 -2
- package/dist/{init-DuYENxci.js → init-f0B85GI1.js} +6 -6
- package/dist/{init-DRzJR02G.cjs → init-j8_8kLGY.cjs} +13 -13
- package/dist/{init-0zzs9aqU.js → init-p7vMm6Sj.js} +35 -16
- package/dist/{init-Y3mkB4XS.js → init-tK4QneTe.js} +2 -2
- package/dist/{init-BpSITBfF.js → init-ucfMh74o.js} +4 -4
- package/dist/{init-CyAY4Lzl.js → init-vHKr7k-o.js} +1 -1
- package/dist/{is-retriable-error-BUiVJDwH.js → is-retriable-error-1j-6PjF6.js} +1 -1
- package/dist/{is-retriable-error-Dpt860if.cjs → is-retriable-error-BmUBxMAa.cjs} +1 -1
- package/dist/jubjub-authoriser-SpkWvDL0.cjs +186 -0
- package/dist/jubjub-authoriser-eiS7jVZA.js +185 -0
- package/dist/{key-source-B08HukZg.js → key-source-BCHn8FHI.js} +2 -2
- package/dist/{key-source-5oUBFiC7.cjs → key-source-D-VMfTJ4.cjs} +1 -1
- package/dist/{keyDerivation-u0nBA93T.cjs → keyDerivation-C2pgZ4xT.cjs} +2 -2
- package/dist/{keyDerivation-D3k9XyHg.js → keyDerivation-ChBiUQf0.js} +3 -3
- package/dist/{lace-context-BZciB9c7.js → lace-context-BHNlqBP7.js} +4 -4
- package/dist/{lace-context-DgR6vLli.cjs → lace-context-C1mWWriq.cjs} +4 -4
- package/dist/midnight-engine-C8_si7Nb.cjs +22 -0
- package/dist/midnight-engine-DwVdOQfC.js +21 -0
- package/dist/{signer-factory-hzSRaIw2.js → midnight-in-memory-transaction-signer-DRfJuSZr.js} +9 -59
- package/dist/{signer-factory-DhZiE03y.cjs → midnight-in-memory-transaction-signer-Oqo7rsL5.cjs} +16 -62
- package/dist/midnight-wallet-C81weg5_.cjs +65 -0
- package/dist/midnight-wallet-DUcWKLCu.js +47 -0
- package/dist/midnight-worker-codecs-DNyv6zy1.js +3149 -0
- package/dist/midnight-worker-distinctUntilChanged-BpgXWYK1.js +78 -0
- package/dist/midnight-worker-engine-host-C8ZZY6Vo.js +143865 -0
- package/dist/midnight-worker-ignoreElements-C0ukOFb6.js +214 -0
- package/dist/midnight-worker-init-D32RBwS3.js +117 -0
- package/dist/midnight-worker-init-RwlYvibv.js +532 -0
- package/dist/midnight-worker-rolldown-runtime-BvspXaDl.js +35 -0
- package/dist/midnight-worker-switchMap-BzvLMZtG.js +94 -0
- package/dist/midnight-worker-take-CkQfew0I.js +17 -0
- package/dist/midnight-worker-tap-4gdSXoyt.js +1440 -0
- package/dist/midnight-worker-util-Dp_Tmm0l.js +5342 -0
- package/dist/midnight-worker.js +1055 -0
- package/dist/midnight.cjs +1830 -534
- package/dist/midnight.d.ts +1630 -754
- package/dist/midnight.js +1823 -536
- package/dist/minting-script-CeoozP3X.cjs +372 -0
- package/dist/minting-script-DX6jDWOU.js +360 -0
- package/dist/misrouted-preview-accounts-BHJbjdQH.cjs +53 -0
- package/dist/misrouted-preview-accounts-CeVkE_a5.js +42 -0
- package/dist/{modules-cardano-VIM8fKu-.js → modules-cardano-BlMSpFHo.js} +27 -27
- package/dist/{modules-cardano-D9Gs2j60.cjs → modules-cardano-C5QEPPG3.cjs} +26 -26
- package/dist/{node-relay-h4i5IlAQ.js → node-relay-BrEW9cpO.js} +1 -1
- package/dist/{node-relay-DWe1U0w2.cjs → node-relay-a2NlR95w.cjs} +1 -1
- package/dist/{outputs-Bd2yZVjx.js → outputs-C2YgLxsU.js} +2 -2
- package/dist/{outputs-CJoQBIA2.cjs → outputs-CwfdRoq2.cjs} +2 -2
- package/dist/pinned-bundle-BxH5LITj.cjs +559 -0
- package/dist/pinned-bundle-Dt5XGk3m.js +464 -0
- package/dist/{providers-FjhM47BH.cjs → providers-BCaGubi6.cjs} +204 -68
- package/dist/{providers-WtiSuxFu.js → providers-D6i8xcic.js} +196 -66
- package/dist/{retry-config-Dmgt28wM.js → retry-config-Dyra9EEZ.js} +1 -1
- package/dist/{retry-config-BaCfVC1H.cjs → retry-config-_ojx76K7.cjs} +1 -1
- package/dist/{sdk-DffwmX8b.cjs → sdk-ByNRaDxr.cjs} +40 -34
- package/dist/{sdk-Cb-gZnS9.js → sdk-D37Mowrj.js} +42 -36
- package/dist/sdk-init-CLyYApr-.js +642 -0
- package/dist/sdk-init-DJKpLbVy.cjs +645 -0
- package/dist/{libsodium-wrappers-BhbOA8dQ.js → seam-cardano-BUnXdxVw.js} +6 -1
- package/dist/{secret-box-DUR0ACYz.js → secret-box-BW3QiKV8.js} +2 -2
- package/dist/{dist-BtIq4XFn.cjs → send-proof-progress-kLw398gH.cjs} +47 -0
- package/dist/sha256-Bb7DIuZk.js +10 -0
- package/dist/sha256-CZLoNgYJ.cjs +15 -0
- package/dist/{side-effects-BnqYz7Nl.js → side-effects-DNC4fmAG.js} +11 -11
- package/dist/{side-effects-CngaeXi0.cjs → side-effects-qCUlYJFw.cjs} +11 -11
- package/dist/{sign-bitcoin-transaction-with-seed-DsLYXnCY.cjs → sign-bitcoin-transaction-with-seed-C85n2Nar.cjs} +3 -3
- package/dist/{sign-bitcoin-transaction-with-seed-D4z62-jV.js → sign-bitcoin-transaction-with-seed-DzR2lHgh.js} +3 -3
- package/dist/{signer-3fk8lZtE.cjs → signer-5FPnEguz.cjs} +1 -1
- package/dist/{signer-RqB5pu3K.js → signer-BZ6CmK2k.js} +1 -1
- package/dist/{signer-DGluibtn.js → signer-CTXFrVEx.js} +1 -1
- package/dist/{signer-CsL28DrK.cjs → signer-CiCKK48o.cjs} +1 -1
- package/dist/{signer-factory-Ds6G2AZk.cjs → signer-factory-26wMsy-K.cjs} +2 -2
- package/dist/{signer-factory-DObB55D4.js → signer-factory-Be2sGa_R.js} +4 -4
- package/dist/{signer-factory-Cwd6o-lG.cjs → signer-factory-CV7IZfXc.cjs} +8 -8
- package/dist/signer-factory-DDYt3D5L.js +55 -0
- package/dist/signer-factory-_hauC132.cjs +58 -0
- package/dist/{signer-factory-BA7WFJVZ.js → signer-factory-sULFQ8KE.js} +12 -12
- package/dist/{slice-BPNuHKfw.js → slice-BE6tOppU.js} +267 -9
- package/dist/{slice-Da426sf9.js → slice-BPYua6gm.js} +1 -1
- package/dist/{slice-DayJvMRD.cjs → slice-BqnRtPVh.cjs} +1 -1
- package/dist/slice-C3j5Uml1.js +1351 -0
- package/dist/{slice-oWnc7YVD.js → slice-C69lteHp.js} +6 -6
- package/dist/{slice-CU80pbiu.js → slice-C6XaE27c.js} +3 -3
- package/dist/{slice-DnG-yvpI.cjs → slice-C7CGfhax.cjs} +2 -2
- package/dist/{slice-CK07EBCo.js → slice-CJCciNgU.js} +4 -4
- package/dist/{slice-qt0uBExh.js → slice-CVkkoS_O2.js} +297 -42
- package/dist/{slice-D-9aPKG-.js → slice-C_Zinxhi.js} +6 -6
- package/dist/{slice-Czfp6t84.cjs → slice-CmlSF6gP.cjs} +6 -6
- package/dist/{slice-GwiiJRoq.js → slice-CnWeZAt9.js} +3 -3
- package/dist/{slice-DTZTiJle.cjs → slice-CoouX1Bz2.cjs} +326 -47
- package/dist/{slice-C34iOOUH.cjs → slice-D0FTSDJU.cjs} +6 -6
- package/dist/{slice-Bg6HEr3K.cjs → slice-D6XmjQK-.cjs} +4 -4
- package/dist/{slice-CwyYrh1H.js → slice-DBNg6ug0.js} +2 -2
- package/dist/{slice-t8Gzj55G2.cjs → slice-DFPkOCsl2.cjs} +6 -1
- package/dist/{slice-7G2xxYKJ.cjs → slice-DlqLTWVE.cjs} +3 -3
- package/dist/{slice-DyNs7oWp.js → slice-Pqa4ojfZ.js} +2 -2
- package/dist/slice-VCs1Ay8L.cjs +1597 -0
- package/dist/{slice-DnBWfA-k.cjs → slice-VW7wWddC.cjs} +267 -9
- package/dist/{slice-B4CdYoPu.cjs → slice-ZpqZNf55.cjs} +2 -2
- package/dist/{slice-DBpJ2QGf.js → slice-cbWhP44Y.js} +6 -6
- package/dist/{slice-Bs2aMERu.cjs → slice-dxrfjYte.cjs} +3 -3
- package/dist/{slice-C9TT5KhY.cjs → slice-h1fBsMu5.cjs} +6 -6
- package/dist/{slice-t8Q1cHm-.js → slice-zFor7Oxx2.js} +6 -1
- package/dist/{src-BFoefPv_.js → src-DabhIE8-.js} +2 -2
- package/dist/{store-DuBG8qh5.js → store-CmKapUlV.js} +2 -2
- package/dist/{store-B1Lq3cEf.cjs → store-DXu6pp9y.cjs} +2 -2
- package/dist/{submit-Bs77dPn_.cjs → submit-DH5VnHAn.cjs} +35 -70
- package/dist/{submit-DOv8Z0Vf.js → submit-IkiTfgiM.js} +36 -65
- package/dist/{submit-bitcoin-tx-D6oYgH5S.js → submit-bitcoin-tx-3AM-pwUu.js} +22 -22
- package/dist/{submit-bitcoin-tx-goFuRL7K.cjs → submit-bitcoin-tx-DygxlvUO.cjs} +21 -21
- package/dist/{sync-operation-utils-COIZ66-I.cjs → sync-operation-utils-C-gGUBkT.cjs} +10 -1
- package/dist/{sync-operation-utils-31iFLExW.js → sync-operation-utils-DYiPQ0Wz.js} +5 -2
- package/dist/{token-id-mapper-CnKHQ8DV.js → token-id-mapper-7HmunyL4.js} +1 -1
- package/dist/{token-id-mapper-Bnds3xKH.cjs → token-id-mapper-D-O4eA7B.cjs} +1 -1
- package/dist/{token-id-mapper-CVyQJUKY.cjs → token-id-mapper-JUECvSsX.cjs} +2 -2
- package/dist/{token-id-mapper-D29Ggv8h.js → token-id-mapper-aOUiHtp7.js} +2 -2
- package/dist/{tokens-Diw4MLRM.js → tokens-BwAlBQ-P.js} +1 -1
- package/dist/{tokens-Cevp7rdU.cjs → tokens-D2wQweoD.cjs} +1 -1
- package/dist/{unwrap-provider-result-BZSiwabU.js → unwrap-provider-result-9Y5SEuOL.js} +5 -5
- package/dist/{unwrap-provider-result-ZqfBsTkk.cjs → unwrap-provider-result-BL1p3duk.cjs} +5 -5
- package/dist/{util-Bu4W5lF4.cjs → util-BZXXzqJr.cjs} +1 -17
- package/dist/{util-Cp5cZkfK.js → util-COpEVwId.js} +2 -12
- package/dist/{utils-DsElZgCI.cjs → utils-B0PC_KY1.cjs} +1 -1
- package/dist/{utils-DFwzEvbv.js → utils-DIQkeE1l.js} +3 -3
- package/dist/{utils-IXxR-Djh.cjs → utils-DoLctL_3.cjs} +3 -3
- package/dist/{utils-BfBEUvWA.js → utils-qzZ6zgz5.js} +1 -1
- package/dist/{v8Signatures-CO_Uloy7.cjs → v8Signatures-uRSBEqI_.cjs} +1 -1
- package/dist/{vote-delegation-tx-builder-DSs8nybk.cjs → vote-delegation-tx-builder-DQuKk2vr.cjs} +5 -5
- package/dist/{vote-delegation-tx-builder-BsBSDmcX.js → vote-delegation-tx-builder-DyFLe9_j.js} +5 -5
- package/dist/{watch-DMF2s-II.cjs → watch-CA14M5XM.cjs} +4660 -1608
- package/dist/{watch-CUEvcP-V.js → watch-DFQcsQKV.js} +5306 -6128
- package/package.json +2 -2
- package/dist/account-call-7wnopBq0.cjs +0 -5
- package/dist/account-call-B9d_2Xwi.js +0 -4
- package/dist/artefact-loader-BWWYAD7E.cjs +0 -183
- package/dist/artefact-loader-Dik4HIfv.js +0 -160
- package/dist/enc-key-circuits-B7BjgUL9.js +0 -13
- package/dist/enc-key-circuits-BLrZrBVI.cjs +0 -24
- package/dist/gated-call-D_VT2quk.js +0 -4
- package/dist/init-C8URA2OX.js +0 -11
- package/dist/init-CSDpdu0Q.cjs +0 -27
- package/dist/init-CX0AMQUn.js +0 -27
- package/dist/init-D6BxBs7e.cjs +0 -12
- package/dist/jubjub-authoriser-D7zDXu3V.js +0 -86
- package/dist/jubjub-authoriser-Dgu6o3Sv.cjs +0 -87
- package/dist/midnight-engine-DpemplKO.js +0 -5
- package/dist/midnight-engine-xU1wotne.cjs +0 -6
- package/dist/midnight-wallet-DIsAlSn6.js +0 -18
- package/dist/midnight-wallet-XTZc2li7.cjs +0 -24
- package/dist/sdk-init-Bln9rFtn.js +0 -4138
- package/dist/sdk-init-CYViTJY_.cjs +0 -3841
- package/dist/seam-cardano-B_etH4F4.js +0 -8
- package/dist/send-proof-progress-vmsaSfbz.cjs +0 -47
- /package/dist/{TransactionBuilder-X1H9Gze6.cjs → TransactionBuilder-6CJtKMzf.cjs} +0 -0
- /package/dist/{TransactionBuilder-bp2aMDhg.js → TransactionBuilder-CnPPfu3j.js} +0 -0
- /package/dist/{account-id.vo-OPz2v-JZ.js → account-id.vo-CS0Oaw2v.js} +0 -0
- /package/dist/{account-id.vo-DwqFjK5u.cjs → account-id.vo-Xy85Ei4d.cjs} +0 -0
- /package/dist/{actions-B2BJ4RTy.cjs → actions-BOLbbFp8.cjs} +0 -0
- /package/dist/{actions-iLXdgL5Y.js → actions-CyWTuqy1.js} +0 -0
- /package/dist/{activity-type-GsJGWs-3.js → activity-type-D1Ejxryf.js} +0 -0
- /package/dist/{activity-type-Ch6ljxBy.cjs → activity-type-npYI8sTW.cjs} +0 -0
- /package/dist/{apply-vkey-witnesses-BKx3lcs0.js → apply-vkey-witnesses-DMtxhQNk.js} +0 -0
- /package/dist/{apply-vkey-witnesses-ZnFS0jnJ.cjs → apply-vkey-witnesses-vQ8uOjMJ.cjs} +0 -0
- /package/dist/{asyncoption-CruEYOBI.js → asyncoption-ZTOEn_EU.js} +0 -0
- /package/dist/{asyncoption-i0VbqVTq.cjs → asyncoption-sAPF4Ozn.cjs} +0 -0
- /package/dist/{bignum.vo-hx2kuqlA.cjs → bignum.vo-B7x_9WYM.cjs} +0 -0
- /package/dist/{bignum.vo-CEXOIew0.js → bignum.vo-CaQrV8i8.js} +0 -0
- /package/dist/{bip32ed25519-FQ8qvdcq.js → bip32ed25519-DTGRwYQU.js} +0 -0
- /package/dist/{bip32ed25519-B7Yat217.cjs → bip32ed25519-voL3gEzc.cjs} +0 -0
- /package/dist/{bitcoin-data-provider-BYPSmuZS.js → bitcoin-data-provider-BEJ_P-Et.js} +0 -0
- /package/dist/{bitcoin-data-provider-w1oEDSU3.cjs → bitcoin-data-provider-CnzRcd_O.cjs} +0 -0
- /package/dist/{blake2b-DEeVUdKR.cjs → blake2b-ChwkaAbQ.cjs} +0 -0
- /package/dist/{blake2b-BiQTw3GC.js → blake2b-DevXXJL6.js} +0 -0
- /package/dist/{blockchain-network-id.vo-CiVykuqG.js → blockchain-network-id.vo-CeF7mgfR.js} +0 -0
- /package/dist/{blockchain-network-id.vo-BAKEwGjG.cjs → blockchain-network-id.vo-DwALYdMk.cjs} +0 -0
- /package/dist/{blockingWithLatestFrom-Cd8c8EPG.js → blockingWithLatestFrom-CdyzR1Tr.js} +0 -0
- /package/dist/{blockingWithLatestFrom-D8kBPBMX.cjs → blockingWithLatestFrom-Dt8KbTH-.cjs} +0 -0
- /package/dist/{bn-d3nSOIf7.cjs → bn-Cuv_M6UX.cjs} +0 -0
- /package/dist/{bytes.vo-BNRquqaO.cjs → bytes.vo-C8ZSwyoG.cjs} +0 -0
- /package/dist/{bytes.vo-BB7_4JK6.js → bytes.vo-DIzGhuSY.js} +0 -0
- /package/dist/{cardano-DfPwhwm-.js → cardano-DImXyZRy.js} +0 -0
- /package/dist/{cardano-network-id-to-network-type-C0ufJOyE.cjs → cardano-network-id-to-network-type-BYxfjIny.cjs} +0 -0
- /package/dist/{cardano-network-id-to-network-type-BWwzeEtM.js → cardano-network-id-to-network-type-Cy_XCMNE.js} +0 -0
- /package/dist/{cardano-tx-id.vo-TLjJZHCI.cjs → cardano-tx-id.vo-0rMr8A1i.cjs} +0 -0
- /package/dist/{cardano-tx-id.vo-eVnKuzlm.js → cardano-tx-id.vo-CXu2cSxM.js} +0 -0
- /package/dist/{client-DXBLHk7K.cjs → client-p0iq-qL0.cjs} +0 -0
- /package/dist/{codecs-Dc1Krpbt.js → codecs-BreSYVh5.js} +0 -0
- /package/dist/{composite-signer-factory-CR8YHA1y.js → composite-signer-factory-BHqiAnml.js} +0 -0
- /package/dist/{composite-signer-factory-m5cVs9h_.cjs → composite-signer-factory-DqRDDvEW.cjs} +0 -0
- /package/dist/{create-add-accounts-DzXIh7Ot.cjs → create-add-accounts-DJqHm_CU.cjs} +0 -0
- /package/dist/{device-commitment-hex.vo-CT3RmAug.cjs → device-commitment-hex.vo-DTGpcioX.cjs} +0 -0
- /package/dist/{device-commitment-hex.vo-5wFtQvDS.js → device-commitment-hex.vo-DfK93-WH.js} +0 -0
- /package/dist/{dist-C3SHC_Ho.cjs → dist-C065hmjf.cjs} +0 -0
- /package/dist/{error-DIZOY2Lw.js → error-3L8wpH73.js} +0 -0
- /package/dist/{error-Cb3EnD0u.cjs → error-B8Cz4k8a.cjs} +0 -0
- /package/dist/{esm-HBSUQw3w.js → esm-C8QRWnFl.js} +0 -0
- /package/dist/{esm-LZuaZjMf.cjs → esm-Cl4Jy5L_.cjs} +0 -0
- /package/dist/{esm-browser-MG97cre9.js → esm-browser-DJCwdztZ.js} +0 -0
- /package/dist/{feature-flag-key.vo-DN_-4-sG.js → feature-flag-key.vo-CRbYqvFt.js} +0 -0
- /package/dist/{feature-flag-key.vo-RlfHL3hq.cjs → feature-flag-key.vo-Iu3uCCve.cjs} +0 -0
- /package/dist/{first-state-of-status-CbT7hPa4.cjs → first-state-of-status-B1vJVT3B.cjs} +0 -0
- /package/dist/{first-state-of-status-unPynOuM.js → first-state-of-status-S9abrkBD.js} +0 -0
- /package/dist/{grant-circuits-DswmW3nI.cjs → grant-circuits-BL_rXbTv.cjs} +0 -0
- /package/dist/{grant-circuits-Jxb5y1HW.js → grant-circuits-D1-IHecB.js} +0 -0
- /package/dist/{hex-D9ITYbwt.cjs → hex-DHAXbRuw.cjs} +0 -0
- /package/dist/{hex-mkXcV3pN.js → hex-U2EEDJXl.js} +0 -0
- /package/dist/{init-Atisw4x2.cjs → init-B1AxU1I3.cjs} +0 -0
- /package/dist/{init-BFcvPHL-.cjs → init-BkhtFjJT.cjs} +0 -0
- /package/dist/{init-atCFur0v.js → init-COyvJQh-.js} +0 -0
- /package/dist/{init-829HRYcz.js → init-CWfnUK87.js} +0 -0
- /package/dist/{init-A-VyGSNW2.js → init-CmwxRBTr2.js} +0 -0
- /package/dist/{init-BgNobbNq.cjs → init-CoL0dBXz.cjs} +0 -0
- /package/dist/{init-5KcGcBb5.cjs → init-DTGkPPdh.cjs} +0 -0
- /package/dist/{is-redux-persist-state-yBfq0h_E.js → is-redux-persist-state-DY9YkcDC.js} +0 -0
- /package/dist/{is-redux-persist-state-BCFnSm36.cjs → is-redux-persist-state-ezou-uIR.cjs} +0 -0
- /package/dist/{key-value-store-C2Xt5Emp.cjs → key-value-store-CVufytCt.cjs} +0 -0
- /package/dist/{key-value-store--W3SrMaw.js → key-value-store-DTaznbqr.js} +0 -0
- /package/dist/{lib--iqvW4O_.js → lib-CZdDIg0W.js} +0 -0
- /package/dist/{lib-Yk6Upl5D.cjs → lib-CxbMRqPC.cjs} +0 -0
- /package/dist/{midnight-account-id.vo-DjCAGcqc.js → midnight-account-id.vo-CPvw3T-b.js} +0 -0
- /package/dist/{midnight-account-id.vo-0x9X-r3l.cjs → midnight-account-id.vo-hCZYGAnp.cjs} +0 -0
- /package/dist/{pending-operation-B0_P78Jo.cjs → pending-operation-GaZ6gBGE.cjs} +0 -0
- /package/dist/{pending-operation-BIS6mpjB.js → pending-operation-rZYDr6rF.js} +0 -0
- /package/dist/{redacted-CRZJLS3w.cjs → redacted-CD6RiG8n.cjs} +0 -0
- /package/dist/{redacted-BmE2aXqr.js → redacted-Dx7Be3X8.js} +0 -0
- /package/dist/{repo-slice-7X4AYYVm.cjs → repo-slice-CSjjrz2y.cjs} +0 -0
- /package/dist/{repo-slice-RxFm0zDZ.js → repo-slice-D4_OKJnj.js} +0 -0
- /package/dist/{reselect-Bd94u0K-.cjs → reselect-DfiCwkyF.cjs} +0 -0
- /package/dist/{reselect-CGoLzEPv.js → reselect-DjU-NE62.js} +0 -0
- /package/dist/{safe-buffer-B_vMqJWU.js → safe-buffer-O0BqElEM.js} +0 -0
- /package/dist/{send-proof-progress-C-ljq1x5.js → send-proof-progress-sISKId9X.js} +0 -0
- /package/dist/{serializable-BHdKIgk3.js → serializable-Can7pFi1.js} +0 -0
- /package/dist/{serializable-BxHkoPdk.cjs → serializable-lkcCX86L.cjs} +0 -0
- /package/dist/{slice-Bk0Sv05J.js → slice-BlsYNep7.js} +0 -0
- /package/dist/{slice-BiRsDKOK.cjs → slice-DbKRGbRk.cjs} +0 -0
- /package/dist/{slice-obCSLm1x.js → slice-U8RNK_iQ.js} +0 -0
- /package/dist/{slice-Dqw1ecum.cjs → slice-tA-G-GQW.cjs} +0 -0
- /package/dist/{src-Cqp0B2M_.cjs → src-C5o0KLe9.cjs} +0 -0
- /package/dist/{src-BlxEp6Mm.js → src-Duin-KHI.js} +0 -0
- /package/dist/{time.vo-tNheinXm.js → time.vo-B14Uepso.js} +0 -0
- /package/dist/{time.vo-D3wWRw9L.cjs → time.vo-pnqHmcks.cjs} +0 -0
- /package/dist/{toEmpty-CYAbupM4.cjs → toEmpty-82YnqM-h.cjs} +0 -0
- /package/dist/{toEmpty-8Zax1MPd.js → toEmpty-DzLd-ZCi.js} +0 -0
- /package/dist/{token-id.vo-Bvwhr3ZE.js → token-id.vo-Dz-zntFD.js} +0 -0
- /package/dist/{token-id.vo-DXv5uS9n.cjs → token-id.vo-l8fuSpem.cjs} +0 -0
- /package/dist/{types-BHC12eSa.js → types-BUSk4rv4.js} +0 -0
- /package/dist/{types-B8uiJn-X.js → types-C1QEjlpA.js} +0 -0
- /package/dist/{types-DWbVZpnF.cjs → types-DP54kIgE.cjs} +0 -0
- /package/dist/{types-Cc3mC8u0.cjs → types-DyjrOMh-.cjs} +0 -0
- /package/dist/{types-CLRUYpfe.cjs → types-KCoBLcD1.cjs} +0 -0
- /package/dist/{types-CJT6XF2c.js → types-fYI_jSCp.js} +0 -0
- /package/dist/{util-CzeB3hfa.cjs → util-1TL2lfI4.cjs} +0 -0
- /package/dist/{util-C8a4fA9p.js → util-DKm483qu.js} +0 -0
- /package/dist/{util-selector-BWPH68_l.cjs → util-selector-CfhgAyuY.cjs} +0 -0
- /package/dist/{util-selector-BSTsxgne.js → util-selector-Dd56u-dP.js} +0 -0
- /package/dist/{while-active-B0lWy_6l.js → while-active-DKLp95JL.js} +0 -0
- /package/dist/{while-active-Dsowp0Fi.cjs → while-active-weQEMcdr.cjs} +0 -0
|
@@ -4,8 +4,8 @@ _midnight_ntwrk_compact_runtime = require_rolldown_runtime.__toESM(_midnight_ntw
|
|
|
4
4
|
//#region ../../packages/module/passport-account/src/acc/generated/index.js
|
|
5
5
|
var generated_exports = /* @__PURE__ */ require_rolldown_runtime.__exportAll({
|
|
6
6
|
Contract: () => Contract$1,
|
|
7
|
-
circuitSignatures: () => circuitSignatures,
|
|
8
|
-
declaredInterfaces: () => declaredInterfaces,
|
|
7
|
+
circuitSignatures: () => circuitSignatures$1,
|
|
8
|
+
declaredInterfaces: () => declaredInterfaces$1,
|
|
9
9
|
expectedVk: () => expectedVk$1,
|
|
10
10
|
ledger: () => ledger$1,
|
|
11
11
|
pureCircuits: () => pureCircuits$1
|
|
@@ -21375,7 +21375,7 @@ const expectedVk$1 = {
|
|
|
21375
21375
|
"withdraw_unshielded_with_k256": "a0d7624f9f25ad695511dc169d4daa9f25853f0af35bbea375f4fdb12fc943b6",
|
|
21376
21376
|
"withdraw_unshielded_with_p256": "a4b8fd3383755f6f110a2b94fe97ab48a0dadd652043b200c30eb93e81fdc209"
|
|
21377
21377
|
};
|
|
21378
|
-
const circuitSignatures = {
|
|
21378
|
+
const circuitSignatures$1 = {
|
|
21379
21379
|
"webauthn_challenge_base64": {
|
|
21380
21380
|
pure: true,
|
|
21381
21381
|
provable: false,
|
|
@@ -27604,11 +27604,13 @@ const circuitSignatures = {
|
|
|
27604
27604
|
}
|
|
27605
27605
|
}
|
|
27606
27606
|
};
|
|
27607
|
-
const declaredInterfaces = {};
|
|
27607
|
+
const declaredInterfaces$1 = {};
|
|
27608
27608
|
//#endregion
|
|
27609
27609
|
//#region ../../packages/module/passport-account/src/acc/acc-module.ts
|
|
27610
27610
|
var acc_module_exports = /* @__PURE__ */ require_rolldown_runtime.__exportAll({
|
|
27611
27611
|
Contract: () => Contract,
|
|
27612
|
+
circuitSignatures: () => circuitSignatures,
|
|
27613
|
+
declaredInterfaces: () => declaredInterfaces,
|
|
27612
27614
|
expectedVk: () => expectedVk,
|
|
27613
27615
|
ledger: () => ledger,
|
|
27614
27616
|
pureCircuits: () => pureCircuits
|
|
@@ -27618,16 +27620,13 @@ var acc_module_exports = /* @__PURE__ */ require_rolldown_runtime.__exportAll({
|
|
|
27618
27620
|
* module. All imports of the generated code go through this wrapper so
|
|
27619
27621
|
* the rest of the module depends on one stable, explicitly typed API:
|
|
27620
27622
|
* the `Contract` constructor (takes the witnesses), the `ledger` decoder
|
|
27621
|
-
* for on-chain state,
|
|
27623
|
+
* for on-chain state, the locally evaluated `pureCircuits`, and the data
|
|
27624
|
+
* exports the runtime checks a module against the chain by: the
|
|
27625
|
+
* `expectedVk` fingerprints, the `circuitSignatures` and the
|
|
27626
|
+
* `declaredInterfaces`.
|
|
27622
27627
|
*/
|
|
27623
|
-
const { Contract, ledger, pureCircuits, expectedVk } = generated_exports;
|
|
27628
|
+
const { Contract, ledger, pureCircuits, expectedVk, circuitSignatures, declaredInterfaces } = generated_exports;
|
|
27624
27629
|
//#endregion
|
|
27625
|
-
Object.defineProperty(exports, "Contract", {
|
|
27626
|
-
enumerable: true,
|
|
27627
|
-
get: function() {
|
|
27628
|
-
return Contract;
|
|
27629
|
-
}
|
|
27630
|
-
});
|
|
27631
27630
|
Object.defineProperty(exports, "acc_module_exports", {
|
|
27632
27631
|
enumerable: true,
|
|
27633
27632
|
get: function() {
|
|
@@ -27640,12 +27639,6 @@ Object.defineProperty(exports, "expectedVk", {
|
|
|
27640
27639
|
return expectedVk;
|
|
27641
27640
|
}
|
|
27642
27641
|
});
|
|
27643
|
-
Object.defineProperty(exports, "ledger", {
|
|
27644
|
-
enumerable: true,
|
|
27645
|
-
get: function() {
|
|
27646
|
-
return ledger;
|
|
27647
|
-
}
|
|
27648
|
-
});
|
|
27649
27642
|
Object.defineProperty(exports, "pureCircuits", {
|
|
27650
27643
|
enumerable: true,
|
|
27651
27644
|
get: function() {
|
|
@@ -3,8 +3,8 @@ import * as __compactRuntime from "@midnight-ntwrk/compact-runtime";
|
|
|
3
3
|
//#region ../../packages/module/passport-account/src/acc/generated/index.js
|
|
4
4
|
var generated_exports = /* @__PURE__ */ __exportAll({
|
|
5
5
|
Contract: () => Contract$1,
|
|
6
|
-
circuitSignatures: () => circuitSignatures,
|
|
7
|
-
declaredInterfaces: () => declaredInterfaces,
|
|
6
|
+
circuitSignatures: () => circuitSignatures$1,
|
|
7
|
+
declaredInterfaces: () => declaredInterfaces$1,
|
|
8
8
|
expectedVk: () => expectedVk$1,
|
|
9
9
|
ledger: () => ledger$1,
|
|
10
10
|
pureCircuits: () => pureCircuits$1
|
|
@@ -21374,7 +21374,7 @@ const expectedVk$1 = {
|
|
|
21374
21374
|
"withdraw_unshielded_with_k256": "a0d7624f9f25ad695511dc169d4daa9f25853f0af35bbea375f4fdb12fc943b6",
|
|
21375
21375
|
"withdraw_unshielded_with_p256": "a4b8fd3383755f6f110a2b94fe97ab48a0dadd652043b200c30eb93e81fdc209"
|
|
21376
21376
|
};
|
|
21377
|
-
const circuitSignatures = {
|
|
21377
|
+
const circuitSignatures$1 = {
|
|
21378
21378
|
"webauthn_challenge_base64": {
|
|
21379
21379
|
pure: true,
|
|
21380
21380
|
provable: false,
|
|
@@ -27603,11 +27603,13 @@ const circuitSignatures = {
|
|
|
27603
27603
|
}
|
|
27604
27604
|
}
|
|
27605
27605
|
};
|
|
27606
|
-
const declaredInterfaces = {};
|
|
27606
|
+
const declaredInterfaces$1 = {};
|
|
27607
27607
|
//#endregion
|
|
27608
27608
|
//#region ../../packages/module/passport-account/src/acc/acc-module.ts
|
|
27609
27609
|
var acc_module_exports = /* @__PURE__ */ __exportAll({
|
|
27610
27610
|
Contract: () => Contract,
|
|
27611
|
+
circuitSignatures: () => circuitSignatures,
|
|
27612
|
+
declaredInterfaces: () => declaredInterfaces,
|
|
27611
27613
|
expectedVk: () => expectedVk,
|
|
27612
27614
|
ledger: () => ledger,
|
|
27613
27615
|
pureCircuits: () => pureCircuits
|
|
@@ -27617,8 +27619,11 @@ var acc_module_exports = /* @__PURE__ */ __exportAll({
|
|
|
27617
27619
|
* module. All imports of the generated code go through this wrapper so
|
|
27618
27620
|
* the rest of the module depends on one stable, explicitly typed API:
|
|
27619
27621
|
* the `Contract` constructor (takes the witnesses), the `ledger` decoder
|
|
27620
|
-
* for on-chain state,
|
|
27622
|
+
* for on-chain state, the locally evaluated `pureCircuits`, and the data
|
|
27623
|
+
* exports the runtime checks a module against the chain by: the
|
|
27624
|
+
* `expectedVk` fingerprints, the `circuitSignatures` and the
|
|
27625
|
+
* `declaredInterfaces`.
|
|
27621
27626
|
*/
|
|
27622
|
-
const { Contract, ledger, pureCircuits, expectedVk } = generated_exports;
|
|
27627
|
+
const { Contract, ledger, pureCircuits, expectedVk, circuitSignatures, declaredInterfaces } = generated_exports;
|
|
27623
27628
|
//#endregion
|
|
27624
|
-
export {
|
|
27629
|
+
export { expectedVk as n, pureCircuits as r, acc_module_exports as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as isCardanoAccount } from "./util-COpEVwId.js";
|
|
2
2
|
//#region ../../packages/contract/cardano-context/src/custody/account.ts
|
|
3
3
|
/** Whether `account` is a Cardano custody account. */
|
|
4
4
|
const isCardanoCustodyAccount = (account) => isCardanoAccount(account) && account.accountType === "CardanoCustody";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_util = require("./util-
|
|
1
|
+
const require_util = require("./util-BZXXzqJr.cjs");
|
|
2
2
|
//#region ../../packages/contract/cardano-context/src/custody/account.ts
|
|
3
3
|
/** Whether `account` is a Cardano custody account. */
|
|
4
4
|
const isCardanoCustodyAccount = (account) => require_util.isCardanoAccount(account) && account.accountType === "CardanoCustody";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
require("./rolldown-runtime-Br2OG8yv.cjs");
|
|
2
|
+
require("./_polyfill-buffer-patch-CM8X7JiY.cjs");
|
|
3
|
+
require("./codecs-Cswkg7Tm.cjs");
|
|
4
|
+
const require_account_call = require("./account-call-D6sp1kan.cjs");
|
|
5
|
+
exports.readAccountByBuild = require_account_call.readAccountByBuild;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
const require_bytes_vo = require("./bytes.vo-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const require_acc_module = require("./acc-module-4iIUv6My.cjs");
|
|
1
|
+
const require_bytes_vo = require("./bytes.vo-C8ZSwyoG.cjs");
|
|
2
|
+
const require_providers = require("./providers-BCaGubi6.cjs");
|
|
3
|
+
const require_gated_call = require("./gated-call-CiEHJF3I.cjs");
|
|
4
|
+
const require_errors = require("./errors-UHrdCPbS.cjs");
|
|
6
5
|
//#region ../../packages/module/passport-account/src/infra/indexer.ts
|
|
7
6
|
const TX_FIELDS = `transaction {
|
|
8
7
|
hash
|
|
@@ -198,13 +197,18 @@ const queryAccountState = async (indexer, address) => {
|
|
|
198
197
|
return state;
|
|
199
198
|
};
|
|
200
199
|
/**
|
|
201
|
-
* The
|
|
202
|
-
*
|
|
200
|
+
* The ledger state of the account at `address`, decoded by the module of
|
|
201
|
+
* `bundle`, the build the account was deployed from. Each build lays its
|
|
202
|
+
* ledger out in its own order, so an account's state reads correctly
|
|
203
|
+
* only through the module compiled with it.
|
|
203
204
|
*
|
|
204
205
|
* @throws {@link AccountContractMissingError} when the indexer serves no
|
|
205
206
|
* contract at the address.
|
|
206
207
|
*/
|
|
207
|
-
const queryAccountLedger = async (indexer, address) =>
|
|
208
|
+
const queryAccountLedger = async (indexer, address, bundle) => {
|
|
209
|
+
const state = await queryAccountState(indexer, address);
|
|
210
|
+
return (await bundle.module()).ledger(state.data);
|
|
211
|
+
};
|
|
208
212
|
/**
|
|
209
213
|
* The operations the account at `address` holds verifier keys for, which
|
|
210
214
|
* are the circuits the chain will accept a call to.
|
|
@@ -214,50 +218,123 @@ const queryAccountLedger = async (indexer, address) => require_acc_module.ledger
|
|
|
214
218
|
*/
|
|
215
219
|
const queryAccountOperations = async (indexer, address) => (await queryAccountState(indexer, address)).operations().map(String);
|
|
216
220
|
/**
|
|
217
|
-
*
|
|
218
|
-
*
|
|
221
|
+
* The sha256 of the verifier key `state` holds for each of its
|
|
222
|
+
* operations, as lowercase hex keyed by operation name. The indexer hands
|
|
223
|
+
* back a compact-runtime state, which bridges to the ledger class by
|
|
224
|
+
* serialisation, as the ledger class alone exposes the keys.
|
|
225
|
+
*/
|
|
226
|
+
const verifierKeysOf = async (provided, address) => {
|
|
227
|
+
const { ContractState } = await import("@midnightntwrk/ledger-v9");
|
|
228
|
+
const onChain = ContractState.deserialize(provided.serialize());
|
|
229
|
+
return new Map(await Promise.all(onChain.operations().map(async (operation) => {
|
|
230
|
+
const name = String(operation);
|
|
231
|
+
const verifierKey = onChain.operation(operation)?.verifierKey;
|
|
232
|
+
if (!verifierKey) throw new Error(`The account at ${address} lists operation '${name}' without a verifier key.`);
|
|
233
|
+
return [name, await require_providers.sha256Hex(verifierKey)];
|
|
234
|
+
})));
|
|
235
|
+
};
|
|
236
|
+
/**
|
|
237
|
+
* The sha256 of the verifier key the account at `address` holds for each
|
|
238
|
+
* of its operations, as lowercase hex keyed by operation name, which is
|
|
239
|
+
* what names the build the account was deployed from.
|
|
240
|
+
*
|
|
241
|
+
* @throws {@link AccountContractMissingError} when the indexer serves no
|
|
242
|
+
* contract at the address.
|
|
243
|
+
*/
|
|
244
|
+
const queryAccountVerifierKeys = async (indexer, address) => verifierKeysOf(await queryAccountState(indexer, address), address);
|
|
245
|
+
/**
|
|
246
|
+
* The account at `address` as one read of its contract state describes
|
|
247
|
+
* it: the registered build its verifier keys resolve to and its ledger
|
|
248
|
+
* state decoded by that build's module. A build no registered bundle
|
|
249
|
+
* covers is refused with AccountBundleUnknownError.
|
|
250
|
+
*
|
|
251
|
+
* @throws {@link AccountContractMissingError} when the indexer serves no
|
|
252
|
+
* contract at the address.
|
|
253
|
+
*/
|
|
254
|
+
const queryAccountByBuild = async (indexer, address, bundles) => {
|
|
255
|
+
const state = await queryAccountState(indexer, address);
|
|
256
|
+
const bundle = bundles.resolve(await verifierKeysOf(state, address));
|
|
257
|
+
return {
|
|
258
|
+
bundle,
|
|
259
|
+
ledgerState: (await bundle.module()).ledger(state.data)
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
/**
|
|
263
|
+
* Reads the account's ledger state, decoded by `bundle`'s module, through
|
|
264
|
+
* a fresh indexer client, which is returned with it so a flow can read
|
|
265
|
+
* the state again after a call.
|
|
219
266
|
*/
|
|
220
|
-
const readAccountLedger = async (address, { indexerUrl, indexerWsUrl }) => {
|
|
267
|
+
const readAccountLedger = async (address, { indexerUrl, indexerWsUrl }, bundle) => {
|
|
221
268
|
const indexer = createIndexerClient({
|
|
222
269
|
indexerUrl,
|
|
223
270
|
indexerWsUrl
|
|
224
271
|
});
|
|
225
272
|
return {
|
|
226
273
|
indexer,
|
|
227
|
-
ledgerState: await queryAccountLedger(indexer, address)
|
|
274
|
+
ledgerState: await queryAccountLedger(indexer, address, bundle)
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
/**
|
|
278
|
+
* Reads the account at `address` as the chain describes it: the
|
|
279
|
+
* registered build its verifier keys resolve to and its ledger state
|
|
280
|
+
* decoded by that build's module, with the indexer client that read them.
|
|
281
|
+
* A build no registered bundle covers is refused with
|
|
282
|
+
* AccountBundleUnknownError.
|
|
283
|
+
*
|
|
284
|
+
* @throws {@link AccountContractMissingError} when the indexer serves no
|
|
285
|
+
* contract at the address.
|
|
286
|
+
*/
|
|
287
|
+
const readAccountByBuild = async (address, { indexerUrl, indexerWsUrl }, bundles) => {
|
|
288
|
+
const indexer = createIndexerClient({
|
|
289
|
+
indexerUrl,
|
|
290
|
+
indexerWsUrl
|
|
291
|
+
});
|
|
292
|
+
return {
|
|
293
|
+
indexer,
|
|
294
|
+
...await queryAccountByBuild(indexer, address, bundles)
|
|
228
295
|
};
|
|
229
296
|
};
|
|
230
297
|
/**
|
|
231
298
|
* Submits one gated call and reports the position it left the local
|
|
232
|
-
* device in. The handle is
|
|
233
|
-
* secret: the device and grant
|
|
234
|
-
*
|
|
235
|
-
*
|
|
236
|
-
*
|
|
237
|
-
*
|
|
238
|
-
*
|
|
239
|
-
*
|
|
299
|
+
* device in. The handle is compiled from the account bundle's module and
|
|
300
|
+
* connected without the account encryption secret: the device and grant
|
|
301
|
+
* lifecycle circuits read no private state, so deriving it here would
|
|
302
|
+
* only widen the window the secret spends in memory, and a call that
|
|
303
|
+
* spends a coin seeds that coin alone. The successor commitment is
|
|
304
|
+
* computed against the epoch read before the call, which is the epoch the
|
|
305
|
+
* accepted call ran under: a gated call never changes device_epoch (it is
|
|
306
|
+
* only written at construction), so the pre-call epoch names the very
|
|
307
|
+
* entry the contract inserted.
|
|
240
308
|
*/
|
|
241
|
-
const submitAccountCall = async ({ circuit, args, account, localUseCounter, ledgerState, onStage }, { passportAuthoriser, passportNetwork, passportProver, passportSponsor }) => {
|
|
309
|
+
const submitAccountCall = async ({ circuit, args, witnessValues, privateState, bundleId, account, bundles, localUseCounter, ledgerState, onStage }, { passportAuthoriser, passportNetwork, passportProver, passportSponsor }) => {
|
|
310
|
+
const bundle = bundles.get(account.bundleId);
|
|
242
311
|
const handle = await require_gated_call.connectAccountHandle(await require_providers.createMidnightProviders({
|
|
243
312
|
network: passportNetwork,
|
|
244
313
|
prover: passportProver,
|
|
245
314
|
sponsor: passportSponsor,
|
|
315
|
+
bundle,
|
|
316
|
+
bundles: bundles.bundles,
|
|
317
|
+
calledContracts: bundles.calledContracts,
|
|
246
318
|
...onStage ? { onStage } : {}
|
|
247
|
-
}), account.address
|
|
319
|
+
}), account.address, {
|
|
320
|
+
bundle,
|
|
321
|
+
...privateState ? { privateState } : {}
|
|
322
|
+
});
|
|
248
323
|
const address = require_providers.AccAddress(account.address);
|
|
249
|
-
const
|
|
324
|
+
const accepted = await require_gated_call.executeGatedCall({
|
|
250
325
|
handle,
|
|
251
326
|
authoriser: passportAuthoriser,
|
|
252
327
|
circuit,
|
|
253
328
|
args,
|
|
329
|
+
...witnessValues ? { witnessValues } : {},
|
|
330
|
+
...bundleId === void 0 ? {} : { bundleId },
|
|
254
331
|
address,
|
|
255
332
|
ledgerState,
|
|
256
333
|
knownUseCounter: localUseCounter === void 0 ? void 0 : require_gated_call.UseCounter(BigInt(localUseCounter))
|
|
257
334
|
});
|
|
258
335
|
return {
|
|
259
|
-
|
|
260
|
-
localCommitmentHex: await passportAuthoriser.deviceCommitment(address, require_gated_call.DeviceEpoch(ledgerState.device_epoch), advancedCounter)
|
|
336
|
+
...accepted,
|
|
337
|
+
localCommitmentHex: await passportAuthoriser.deviceCommitment(address, require_gated_call.DeviceEpoch(ledgerState.device_epoch), accepted.advancedCounter)
|
|
261
338
|
};
|
|
262
339
|
};
|
|
263
340
|
/**
|
|
@@ -291,6 +368,12 @@ Object.defineProperty(exports, "isNotAuthorisedAbort", {
|
|
|
291
368
|
return isNotAuthorisedAbort;
|
|
292
369
|
}
|
|
293
370
|
});
|
|
371
|
+
Object.defineProperty(exports, "queryAccountByBuild", {
|
|
372
|
+
enumerable: true,
|
|
373
|
+
get: function() {
|
|
374
|
+
return queryAccountByBuild;
|
|
375
|
+
}
|
|
376
|
+
});
|
|
294
377
|
Object.defineProperty(exports, "queryAccountLedger", {
|
|
295
378
|
enumerable: true,
|
|
296
379
|
get: function() {
|
|
@@ -303,6 +386,18 @@ Object.defineProperty(exports, "queryAccountOperations", {
|
|
|
303
386
|
return queryAccountOperations;
|
|
304
387
|
}
|
|
305
388
|
});
|
|
389
|
+
Object.defineProperty(exports, "queryAccountVerifierKeys", {
|
|
390
|
+
enumerable: true,
|
|
391
|
+
get: function() {
|
|
392
|
+
return queryAccountVerifierKeys;
|
|
393
|
+
}
|
|
394
|
+
});
|
|
395
|
+
Object.defineProperty(exports, "readAccountByBuild", {
|
|
396
|
+
enumerable: true,
|
|
397
|
+
get: function() {
|
|
398
|
+
return readAccountByBuild;
|
|
399
|
+
}
|
|
400
|
+
});
|
|
306
401
|
Object.defineProperty(exports, "readAccountLedger", {
|
|
307
402
|
enumerable: true,
|
|
308
403
|
get: function() {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { n as HexBytes, t as ByteArray } from "./bytes.vo-
|
|
2
|
-
import { t as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { i as ledger } from "./acc-module-Cmj8EsIb.js";
|
|
1
|
+
import { n as HexBytes, t as ByteArray } from "./bytes.vo-DIzGhuSY.js";
|
|
2
|
+
import { a as AccAddress, r as sha256Hex, t as createMidnightProviders } from "./providers-D6i8xcic.js";
|
|
3
|
+
import { f as DeviceEpoch, n as executeGatedCall, p as UseCounter, t as connectAccountHandle } from "./gated-call-q0qGYNmF.js";
|
|
4
|
+
import { r as AccountContractMissingError } from "./errors-BIVcBx4F.js";
|
|
6
5
|
//#region ../../packages/module/passport-account/src/infra/indexer.ts
|
|
7
6
|
const TX_FIELDS = `transaction {
|
|
8
7
|
hash
|
|
@@ -198,13 +197,18 @@ const queryAccountState = async (indexer, address) => {
|
|
|
198
197
|
return state;
|
|
199
198
|
};
|
|
200
199
|
/**
|
|
201
|
-
* The
|
|
202
|
-
*
|
|
200
|
+
* The ledger state of the account at `address`, decoded by the module of
|
|
201
|
+
* `bundle`, the build the account was deployed from. Each build lays its
|
|
202
|
+
* ledger out in its own order, so an account's state reads correctly
|
|
203
|
+
* only through the module compiled with it.
|
|
203
204
|
*
|
|
204
205
|
* @throws {@link AccountContractMissingError} when the indexer serves no
|
|
205
206
|
* contract at the address.
|
|
206
207
|
*/
|
|
207
|
-
const queryAccountLedger = async (indexer, address) =>
|
|
208
|
+
const queryAccountLedger = async (indexer, address, bundle) => {
|
|
209
|
+
const state = await queryAccountState(indexer, address);
|
|
210
|
+
return (await bundle.module()).ledger(state.data);
|
|
211
|
+
};
|
|
208
212
|
/**
|
|
209
213
|
* The operations the account at `address` holds verifier keys for, which
|
|
210
214
|
* are the circuits the chain will accept a call to.
|
|
@@ -214,50 +218,123 @@ const queryAccountLedger = async (indexer, address) => ledger((await queryAccoun
|
|
|
214
218
|
*/
|
|
215
219
|
const queryAccountOperations = async (indexer, address) => (await queryAccountState(indexer, address)).operations().map(String);
|
|
216
220
|
/**
|
|
217
|
-
*
|
|
218
|
-
*
|
|
221
|
+
* The sha256 of the verifier key `state` holds for each of its
|
|
222
|
+
* operations, as lowercase hex keyed by operation name. The indexer hands
|
|
223
|
+
* back a compact-runtime state, which bridges to the ledger class by
|
|
224
|
+
* serialisation, as the ledger class alone exposes the keys.
|
|
225
|
+
*/
|
|
226
|
+
const verifierKeysOf = async (provided, address) => {
|
|
227
|
+
const { ContractState } = await import("@midnightntwrk/ledger-v9");
|
|
228
|
+
const onChain = ContractState.deserialize(provided.serialize());
|
|
229
|
+
return new Map(await Promise.all(onChain.operations().map(async (operation) => {
|
|
230
|
+
const name = String(operation);
|
|
231
|
+
const verifierKey = onChain.operation(operation)?.verifierKey;
|
|
232
|
+
if (!verifierKey) throw new Error(`The account at ${address} lists operation '${name}' without a verifier key.`);
|
|
233
|
+
return [name, await sha256Hex(verifierKey)];
|
|
234
|
+
})));
|
|
235
|
+
};
|
|
236
|
+
/**
|
|
237
|
+
* The sha256 of the verifier key the account at `address` holds for each
|
|
238
|
+
* of its operations, as lowercase hex keyed by operation name, which is
|
|
239
|
+
* what names the build the account was deployed from.
|
|
240
|
+
*
|
|
241
|
+
* @throws {@link AccountContractMissingError} when the indexer serves no
|
|
242
|
+
* contract at the address.
|
|
243
|
+
*/
|
|
244
|
+
const queryAccountVerifierKeys = async (indexer, address) => verifierKeysOf(await queryAccountState(indexer, address), address);
|
|
245
|
+
/**
|
|
246
|
+
* The account at `address` as one read of its contract state describes
|
|
247
|
+
* it: the registered build its verifier keys resolve to and its ledger
|
|
248
|
+
* state decoded by that build's module. A build no registered bundle
|
|
249
|
+
* covers is refused with AccountBundleUnknownError.
|
|
250
|
+
*
|
|
251
|
+
* @throws {@link AccountContractMissingError} when the indexer serves no
|
|
252
|
+
* contract at the address.
|
|
219
253
|
*/
|
|
220
|
-
const
|
|
254
|
+
const queryAccountByBuild = async (indexer, address, bundles) => {
|
|
255
|
+
const state = await queryAccountState(indexer, address);
|
|
256
|
+
const bundle = bundles.resolve(await verifierKeysOf(state, address));
|
|
257
|
+
return {
|
|
258
|
+
bundle,
|
|
259
|
+
ledgerState: (await bundle.module()).ledger(state.data)
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
/**
|
|
263
|
+
* Reads the account's ledger state, decoded by `bundle`'s module, through
|
|
264
|
+
* a fresh indexer client, which is returned with it so a flow can read
|
|
265
|
+
* the state again after a call.
|
|
266
|
+
*/
|
|
267
|
+
const readAccountLedger = async (address, { indexerUrl, indexerWsUrl }, bundle) => {
|
|
221
268
|
const indexer = createIndexerClient({
|
|
222
269
|
indexerUrl,
|
|
223
270
|
indexerWsUrl
|
|
224
271
|
});
|
|
225
272
|
return {
|
|
226
273
|
indexer,
|
|
227
|
-
ledgerState: await queryAccountLedger(indexer, address)
|
|
274
|
+
ledgerState: await queryAccountLedger(indexer, address, bundle)
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
/**
|
|
278
|
+
* Reads the account at `address` as the chain describes it: the
|
|
279
|
+
* registered build its verifier keys resolve to and its ledger state
|
|
280
|
+
* decoded by that build's module, with the indexer client that read them.
|
|
281
|
+
* A build no registered bundle covers is refused with
|
|
282
|
+
* AccountBundleUnknownError.
|
|
283
|
+
*
|
|
284
|
+
* @throws {@link AccountContractMissingError} when the indexer serves no
|
|
285
|
+
* contract at the address.
|
|
286
|
+
*/
|
|
287
|
+
const readAccountByBuild = async (address, { indexerUrl, indexerWsUrl }, bundles) => {
|
|
288
|
+
const indexer = createIndexerClient({
|
|
289
|
+
indexerUrl,
|
|
290
|
+
indexerWsUrl
|
|
291
|
+
});
|
|
292
|
+
return {
|
|
293
|
+
indexer,
|
|
294
|
+
...await queryAccountByBuild(indexer, address, bundles)
|
|
228
295
|
};
|
|
229
296
|
};
|
|
230
297
|
/**
|
|
231
298
|
* Submits one gated call and reports the position it left the local
|
|
232
|
-
* device in. The handle is
|
|
233
|
-
* secret: the device and grant
|
|
234
|
-
*
|
|
235
|
-
*
|
|
236
|
-
*
|
|
237
|
-
*
|
|
238
|
-
*
|
|
239
|
-
*
|
|
299
|
+
* device in. The handle is compiled from the account bundle's module and
|
|
300
|
+
* connected without the account encryption secret: the device and grant
|
|
301
|
+
* lifecycle circuits read no private state, so deriving it here would
|
|
302
|
+
* only widen the window the secret spends in memory, and a call that
|
|
303
|
+
* spends a coin seeds that coin alone. The successor commitment is
|
|
304
|
+
* computed against the epoch read before the call, which is the epoch the
|
|
305
|
+
* accepted call ran under: a gated call never changes device_epoch (it is
|
|
306
|
+
* only written at construction), so the pre-call epoch names the very
|
|
307
|
+
* entry the contract inserted.
|
|
240
308
|
*/
|
|
241
|
-
const submitAccountCall = async ({ circuit, args, account, localUseCounter, ledgerState, onStage }, { passportAuthoriser, passportNetwork, passportProver, passportSponsor }) => {
|
|
309
|
+
const submitAccountCall = async ({ circuit, args, witnessValues, privateState, bundleId, account, bundles, localUseCounter, ledgerState, onStage }, { passportAuthoriser, passportNetwork, passportProver, passportSponsor }) => {
|
|
310
|
+
const bundle = bundles.get(account.bundleId);
|
|
242
311
|
const handle = await connectAccountHandle(await createMidnightProviders({
|
|
243
312
|
network: passportNetwork,
|
|
244
313
|
prover: passportProver,
|
|
245
314
|
sponsor: passportSponsor,
|
|
315
|
+
bundle,
|
|
316
|
+
bundles: bundles.bundles,
|
|
317
|
+
calledContracts: bundles.calledContracts,
|
|
246
318
|
...onStage ? { onStage } : {}
|
|
247
|
-
}), account.address
|
|
319
|
+
}), account.address, {
|
|
320
|
+
bundle,
|
|
321
|
+
...privateState ? { privateState } : {}
|
|
322
|
+
});
|
|
248
323
|
const address = AccAddress(account.address);
|
|
249
|
-
const
|
|
324
|
+
const accepted = await executeGatedCall({
|
|
250
325
|
handle,
|
|
251
326
|
authoriser: passportAuthoriser,
|
|
252
327
|
circuit,
|
|
253
328
|
args,
|
|
329
|
+
...witnessValues ? { witnessValues } : {},
|
|
330
|
+
...bundleId === void 0 ? {} : { bundleId },
|
|
254
331
|
address,
|
|
255
332
|
ledgerState,
|
|
256
333
|
knownUseCounter: localUseCounter === void 0 ? void 0 : UseCounter(BigInt(localUseCounter))
|
|
257
334
|
});
|
|
258
335
|
return {
|
|
259
|
-
|
|
260
|
-
localCommitmentHex: await passportAuthoriser.deviceCommitment(address, DeviceEpoch(ledgerState.device_epoch), advancedCounter)
|
|
336
|
+
...accepted,
|
|
337
|
+
localCommitmentHex: await passportAuthoriser.deviceCommitment(address, DeviceEpoch(ledgerState.device_epoch), accepted.advancedCounter)
|
|
261
338
|
};
|
|
262
339
|
};
|
|
263
340
|
/**
|
|
@@ -273,4 +350,4 @@ const withRefreshedLocalDevice = (devices, commitmentHex) => devices.map((device
|
|
|
273
350
|
commitmentHex
|
|
274
351
|
} : device);
|
|
275
352
|
//#endregion
|
|
276
|
-
export {
|
|
353
|
+
export { queryAccountOperations as a, readAccountLedger as c, createIndexerClient as d, queryAccountLedger as i, submitAccountCall as l, isNotAuthorisedAbort as n, queryAccountVerifierKeys as o, queryAccountByBuild as r, readAccountByBuild as s, UNKNOWN_ENTRY_ABORT as t, withRefreshedLocalDevice as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require("./rolldown-runtime-Br2OG8yv.cjs");
|
|
2
|
-
const require_outputs = require("./outputs-
|
|
2
|
+
const require_outputs = require("./outputs-CwfdRoq2.cjs");
|
|
3
3
|
let _laceio_cardano_core = require("@laceio/cardano/core");
|
|
4
4
|
//#region ../../packages/module/blockchain-cardano/src/store/custody/custody-account-guard.ts
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as classifyCustodyAddress } from "./outputs-
|
|
1
|
+
import { a as classifyCustodyAddress } from "./outputs-C2YgLxsU.js";
|
|
2
2
|
import { Cardano } from "@laceio/cardano/core";
|
|
3
3
|
//#region ../../packages/module/blockchain-cardano/src/store/custody/custody-account-guard.ts
|
|
4
4
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as BigNumber } from "./bignum.vo-
|
|
2
|
-
import { t as TokenId } from "./token-id.vo-
|
|
3
|
-
import { r as LOVELACE_TOKEN_ID } from "./const-
|
|
1
|
+
import { t as BigNumber } from "./bignum.vo-CaQrV8i8.js";
|
|
2
|
+
import { t as TokenId } from "./token-id.vo-Dz-zntFD.js";
|
|
3
|
+
import { r as LOVELACE_TOKEN_ID } from "./const-8YeRyqgi.js";
|
|
4
4
|
//#region ../../packages/contract/cardano-context/src/store/helpers/account-tokens.ts
|
|
5
5
|
/** Tokens of one address: its value, with `rewards` added to the lovelace. */
|
|
6
6
|
const toAccountTokens = (value, rewards) => [{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_bignum_vo = require("./bignum.vo-
|
|
2
|
-
const require_token_id_vo = require("./token-id.vo-
|
|
3
|
-
const require_const = require("./const-
|
|
1
|
+
const require_bignum_vo = require("./bignum.vo-B7x_9WYM.cjs");
|
|
2
|
+
const require_token_id_vo = require("./token-id.vo-l8fuSpem.cjs");
|
|
3
|
+
const require_const = require("./const-DuOXipy9.cjs");
|
|
4
4
|
//#region ../../packages/contract/cardano-context/src/store/helpers/account-tokens.ts
|
|
5
5
|
/** Tokens of one address: its value, with `rewards` added to the lovelace. */
|
|
6
6
|
const toAccountTokens = (value, rewards) => [{
|
|
@@ -3,9 +3,9 @@ const require__polyfill_node_process = require("./_polyfill-node.process-rf9LjCy
|
|
|
3
3
|
const require__polyfill_buffer_patch = require("./_polyfill-buffer-patch-CM8X7JiY.cjs");
|
|
4
4
|
const require_codecs = require("./codecs-Cswkg7Tm.cjs");
|
|
5
5
|
const require_safe_buffer$1 = require("./safe-buffer-DYOwEfHB.cjs");
|
|
6
|
-
const require_blockchain_network_id_vo = require("./blockchain-network-id.vo-
|
|
7
|
-
const require_types$1 = require("./types-
|
|
8
|
-
const require_bn$1 = require("./bn-
|
|
6
|
+
const require_blockchain_network_id_vo = require("./blockchain-network-id.vo-DwALYdMk.cjs");
|
|
7
|
+
const require_types$1 = require("./types-KCoBLcD1.cjs");
|
|
8
|
+
const require_bn$1 = require("./bn-Cuv_M6UX.cjs");
|
|
9
9
|
//#region ../../node_modules/bitcoinjs-lib/src/networks.js
|
|
10
10
|
var require_networks = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
require("./rolldown-runtime-Br2OG8yv.cjs");
|
|
2
|
+
let _laceio_cardano_core = require("@laceio/cardano/core");
|
|
3
|
+
//#region ../../packages/lib/core/src/address.ts
|
|
4
|
+
/**
|
|
5
|
+
* CIP-19 Cardano address encoding — credentials → bech32, via `@cardano-sdk/core`'s
|
|
6
|
+
* `*Address.fromCredentials(...).toAddress().toBech32()` through the `@lace-lib/vendor`
|
|
7
|
+
* seam (ADR 37) — and the reverse read of an address's payment credential. Callers pass `Cardano.Credential` / `Cardano.CredentialType` (reachable
|
|
8
|
+
* through the seam) directly — core does not mirror them.
|
|
9
|
+
*
|
|
10
|
+
* Returns intersect the SDK Tagged address types with the blockchain-agnostic `Address`
|
|
11
|
+
* (ADR 13): the result is assignable both to `Cardano.PaymentAddress`/`Cardano.RewardAccount`
|
|
12
|
+
* (for SDK APIs) and to `Address` (for Lace storage), so neither side needs a cast.
|
|
13
|
+
*/
|
|
14
|
+
/** Encode a base address (payment + stake credentials) to bech32. */
|
|
15
|
+
const encodeBaseAddress = (networkId, payment, stake) => _laceio_cardano_core.Cardano.BaseAddress.fromCredentials(networkId, payment, stake).toAddress().toBech32();
|
|
16
|
+
/**
|
|
17
|
+
* The payment credential of a base, enterprise or pointer address; `undefined`
|
|
18
|
+
* for anything else (reward, Byron, unparseable).
|
|
19
|
+
*/
|
|
20
|
+
const getPaymentCredential = (address) => {
|
|
21
|
+
const parsed = _laceio_cardano_core.Cardano.Address.fromString(address);
|
|
22
|
+
if (!parsed) return void 0;
|
|
23
|
+
return parsed.asBase()?.getPaymentCredential() ?? parsed.asEnterprise()?.getPaymentCredential() ?? parsed.asPointer()?.getPaymentCredential();
|
|
24
|
+
};
|
|
25
|
+
/** Encode a reward (stake) address to bech32. */
|
|
26
|
+
const encodeRewardAddress = (networkId, stake) => _laceio_cardano_core.Cardano.RewardAddress.fromCredentials(networkId, stake).toAddress().toBech32();
|
|
27
|
+
//#endregion
|
|
28
|
+
Object.defineProperty(exports, "encodeBaseAddress", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function() {
|
|
31
|
+
return encodeBaseAddress;
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
Object.defineProperty(exports, "encodeRewardAddress", {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: function() {
|
|
37
|
+
return encodeRewardAddress;
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, "getPaymentCredential", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function() {
|
|
43
|
+
return getPaymentCredential;
|
|
44
|
+
}
|
|
45
|
+
});
|