@zkp2p/contracts-v2 0.0.2 → 0.0.5-rc-1
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/README.md +0 -2
- package/_cjs/abis/base/Escrow.js +2236 -0
- package/_cjs/abis/base/Escrow.json +1388 -1469
- package/_cjs/abis/base/EscrowRegistry.js +216 -0
- package/_cjs/abis/base/EscrowRegistry.json +214 -0
- package/_cjs/abis/base/NullifierRegistry.js +215 -0
- package/_cjs/abis/base/Orchestrator.js +1123 -0
- package/_cjs/abis/base/Orchestrator.json +1121 -0
- package/_cjs/abis/base/PaymentVerifierRegistry.js +334 -0
- package/_cjs/abis/base/PaymentVerifierRegistry.json +332 -0
- package/_cjs/abis/base/PostIntentHookRegistry.js +183 -0
- package/_cjs/abis/base/PostIntentHookRegistry.json +181 -0
- package/_cjs/abis/base/ProtocolViewer.js +1384 -0
- package/_cjs/abis/base/ProtocolViewer.json +1382 -0
- package/_cjs/abis/base/RelayerRegistry.js +164 -0
- package/_cjs/abis/base/RelayerRegistry.json +162 -0
- package/_cjs/abis/base/SimpleAttestationVerifier.js +154 -0
- package/_cjs/abis/base/SimpleAttestationVerifier.json +152 -0
- package/_cjs/abis/base/UnifiedPaymentVerifier.js +366 -0
- package/_cjs/abis/base/{ZelleBaseVerifier.json → UnifiedPaymentVerifier.json} +123 -136
- package/_cjs/abis/base/index.js +8 -9
- package/_cjs/abis/base.cjs +10 -11
- package/_cjs/abis/base.mjs +10 -15
- package/_cjs/abis/baseSepolia/Escrow.js +2236 -0
- package/_cjs/abis/baseSepolia/Escrow.json +13 -1
- package/_cjs/abis/baseSepolia/EscrowRegistry.js +216 -0
- package/_cjs/abis/baseSepolia/NullifierRegistry.js +215 -0
- package/_cjs/abis/baseSepolia/Orchestrator.js +1123 -0
- package/_cjs/abis/baseSepolia/PaymentVerifierRegistry.js +334 -0
- package/_cjs/abis/baseSepolia/PostIntentHookRegistry.js +183 -0
- package/_cjs/abis/baseSepolia/ProtocolViewer.js +1384 -0
- package/_cjs/abis/baseSepolia/RelayerRegistry.js +164 -0
- package/_cjs/abis/baseSepolia/SimpleAttestationVerifier.js +154 -0
- package/_cjs/abis/baseSepolia/SimpleAttestationVerifier.json +1 -64
- package/_cjs/abis/baseSepolia/USDCMock.js +295 -0
- package/_cjs/abis/baseSepolia/UnifiedPaymentVerifier.js +366 -0
- package/_cjs/abis/baseSepolia/UnifiedPaymentVerifier.json +24 -205
- package/_cjs/abis/baseSepolia.cjs +11 -11
- package/_cjs/abis/baseSepolia.mjs +11 -15
- package/_cjs/abis/baseStaging/Escrow.js +2236 -0
- package/_cjs/abis/baseStaging/Escrow.json +2234 -0
- package/_cjs/abis/baseStaging/EscrowRegistry.js +216 -0
- package/_cjs/abis/baseStaging/EscrowRegistry.json +214 -0
- package/_cjs/abis/baseStaging/NullifierRegistry.js +215 -0
- package/_cjs/abis/baseStaging/NullifierRegistry.json +213 -0
- package/_cjs/abis/baseStaging/Orchestrator.js +1123 -0
- package/_cjs/abis/baseStaging/Orchestrator.json +1121 -0
- package/_cjs/abis/baseStaging/PaymentVerifierRegistry.js +334 -0
- package/_cjs/abis/baseStaging/PaymentVerifierRegistry.json +332 -0
- package/_cjs/abis/baseStaging/PostIntentHookRegistry.js +183 -0
- package/_cjs/abis/baseStaging/PostIntentHookRegistry.json +181 -0
- package/_cjs/abis/baseStaging/ProtocolViewer.js +1384 -0
- package/_cjs/abis/baseStaging/ProtocolViewer.json +1382 -0
- package/_cjs/abis/baseStaging/RelayerRegistry.js +164 -0
- package/_cjs/abis/baseStaging/RelayerRegistry.json +162 -0
- package/_cjs/abis/baseStaging/SimpleAttestationVerifier.js +154 -0
- package/_cjs/abis/baseStaging/SimpleAttestationVerifier.json +152 -0
- package/_cjs/abis/baseStaging/UnifiedPaymentVerifier.js +366 -0
- package/{abis/base/ZelleBaseVerifier.json → _cjs/abis/baseStaging/UnifiedPaymentVerifier.json} +123 -136
- package/_cjs/abis/baseStaging/index.js +10 -0
- package/_cjs/abis/baseStaging.cjs +13 -0
- package/_cjs/abis/baseStaging.mjs +11 -0
- package/_cjs/abis/index.js +1 -0
- package/_cjs/addresses/base.js +21 -0
- package/_cjs/addresses/base.json +12 -13
- package/_cjs/addresses/baseSepolia.js +22 -0
- package/_cjs/addresses/baseSepolia.json +12 -12
- package/_cjs/addresses/baseStaging.js +21 -0
- package/_cjs/addresses/baseStaging.json +19 -0
- package/_cjs/addresses/index.js +1 -0
- package/_cjs/addresses/index.json +8 -0
- package/_cjs/constants/base.js +14 -0
- package/_cjs/constants/base.json +1 -2
- package/_cjs/constants/baseSepolia.js +13 -0
- package/_cjs/constants/baseSepolia.json +1 -2
- package/_cjs/constants/baseStaging.js +14 -0
- package/_cjs/constants/baseStaging.json +1 -2
- package/_cjs/constants/index.json +8 -0
- package/_cjs/networks/base.cjs +5 -0
- package/_cjs/networks/base.mjs +5 -0
- package/_cjs/networks/baseSepolia.cjs +5 -0
- package/_cjs/networks/baseSepolia.mjs +5 -0
- package/_cjs/networks/baseStaging.cjs +5 -0
- package/_cjs/networks/baseStaging.mjs +5 -0
- package/_cjs/paymentMethods/base.js +132 -0
- package/_cjs/paymentMethods/base.json +130 -0
- package/_cjs/paymentMethods/baseSepolia.js +131 -0
- package/_cjs/paymentMethods/baseSepolia.json +14 -119
- package/_cjs/paymentMethods/baseStaging.js +131 -0
- package/_cjs/paymentMethods/baseStaging.json +129 -0
- package/_cjs/paymentMethods/index.js +5 -1
- package/_cjs/paymentMethods/index.json +4 -2
- package/_cjs/types/contracts/Escrow.js +17 -10
- package/_cjs/types/contracts/Orchestrator.js +35 -0
- package/_cjs/types/contracts/interfaces/IEscrow.js +17 -10
- package/_cjs/types/contracts/interfaces/IPaymentVerifier.js +4 -26
- package/_cjs/types/contracts/unifiedVerifier/BaseUnifiedPaymentVerifier.js +21 -349
- package/_cjs/types/contracts/unifiedVerifier/SimpleAttestationVerifier.js +5 -105
- package/_cjs/types/contracts/unifiedVerifier/UnifiedPaymentVerifier.js +57 -370
- package/_cjs/utils/protocolUtils.js +5 -0
- package/_esm/abis/base/Escrow.js +2235 -0
- package/_esm/abis/base/Escrow.json +1388 -1469
- package/_esm/abis/base/EscrowRegistry.js +215 -0
- package/_esm/abis/base/EscrowRegistry.json +214 -0
- package/_esm/abis/base/NullifierRegistry.js +214 -0
- package/_esm/abis/base/Orchestrator.js +1122 -0
- package/_esm/abis/base/Orchestrator.json +1121 -0
- package/_esm/abis/base/PaymentVerifierRegistry.js +333 -0
- package/_esm/abis/base/PaymentVerifierRegistry.json +332 -0
- package/_esm/abis/base/PostIntentHookRegistry.js +182 -0
- package/_esm/abis/base/PostIntentHookRegistry.json +181 -0
- package/_esm/abis/base/ProtocolViewer.js +1383 -0
- package/_esm/abis/base/ProtocolViewer.json +1382 -0
- package/_esm/abis/base/RelayerRegistry.js +163 -0
- package/_esm/abis/base/RelayerRegistry.json +162 -0
- package/_esm/abis/base/SimpleAttestationVerifier.js +153 -0
- package/_esm/abis/base/SimpleAttestationVerifier.json +152 -0
- package/_esm/abis/base/UnifiedPaymentVerifier.js +365 -0
- package/_esm/abis/base/{ZelleBaseVerifier.json → UnifiedPaymentVerifier.json} +123 -136
- package/_esm/abis/base/index.js +10 -11
- package/_esm/abis/base.cjs +10 -11
- package/_esm/abis/base.mjs +10 -15
- package/_esm/abis/baseSepolia/Escrow.js +2235 -0
- package/_esm/abis/baseSepolia/Escrow.json +13 -1
- package/_esm/abis/baseSepolia/EscrowRegistry.js +215 -0
- package/_esm/abis/baseSepolia/NullifierRegistry.js +214 -0
- package/_esm/abis/baseSepolia/Orchestrator.js +1122 -0
- package/_esm/abis/baseSepolia/PaymentVerifierRegistry.js +333 -0
- package/_esm/abis/baseSepolia/PostIntentHookRegistry.js +182 -0
- package/_esm/abis/baseSepolia/ProtocolViewer.js +1383 -0
- package/_esm/abis/baseSepolia/RelayerRegistry.js +163 -0
- package/_esm/abis/baseSepolia/SimpleAttestationVerifier.js +153 -0
- package/_esm/abis/baseSepolia/SimpleAttestationVerifier.json +1 -64
- package/_esm/abis/baseSepolia/USDCMock.js +294 -0
- package/_esm/abis/baseSepolia/UnifiedPaymentVerifier.js +365 -0
- package/_esm/abis/baseSepolia/UnifiedPaymentVerifier.json +24 -205
- package/_esm/abis/baseSepolia/index.js +11 -11
- package/_esm/abis/baseSepolia.cjs +11 -11
- package/_esm/abis/baseSepolia.mjs +11 -15
- package/_esm/abis/baseStaging/Escrow.js +2235 -0
- package/_esm/abis/baseStaging/Escrow.json +2234 -0
- package/_esm/abis/baseStaging/EscrowRegistry.js +215 -0
- package/_esm/abis/baseStaging/EscrowRegistry.json +214 -0
- package/_esm/abis/baseStaging/NullifierRegistry.js +214 -0
- package/_esm/abis/baseStaging/NullifierRegistry.json +213 -0
- package/_esm/abis/baseStaging/Orchestrator.js +1122 -0
- package/_esm/abis/baseStaging/Orchestrator.json +1121 -0
- package/_esm/abis/baseStaging/PaymentVerifierRegistry.js +333 -0
- package/_esm/abis/baseStaging/PaymentVerifierRegistry.json +332 -0
- package/_esm/abis/baseStaging/PostIntentHookRegistry.js +182 -0
- package/_esm/abis/baseStaging/PostIntentHookRegistry.json +181 -0
- package/_esm/abis/baseStaging/ProtocolViewer.js +1383 -0
- package/_esm/abis/baseStaging/ProtocolViewer.json +1382 -0
- package/_esm/abis/baseStaging/RelayerRegistry.js +163 -0
- package/_esm/abis/baseStaging/RelayerRegistry.json +162 -0
- package/_esm/abis/baseStaging/SimpleAttestationVerifier.js +153 -0
- package/_esm/abis/baseStaging/SimpleAttestationVerifier.json +152 -0
- package/_esm/abis/baseStaging/UnifiedPaymentVerifier.js +365 -0
- package/{_cjs/abis/base/ZelleCitiReclaimVerifier.json → _esm/abis/baseStaging/UnifiedPaymentVerifier.json} +125 -185
- package/_esm/abis/baseStaging/index.js +10 -0
- package/_esm/abis/baseStaging.cjs +13 -0
- package/_esm/abis/baseStaging.mjs +11 -0
- package/_esm/abis/index.js +1 -0
- package/_esm/addresses/base.js +20 -0
- package/_esm/addresses/base.json +12 -13
- package/_esm/addresses/baseSepolia.js +21 -0
- package/_esm/addresses/baseSepolia.json +12 -12
- package/_esm/addresses/baseStaging.js +20 -0
- package/_esm/addresses/baseStaging.json +19 -0
- package/_esm/addresses/index.js +3 -2
- package/_esm/addresses/index.json +8 -0
- package/_esm/constants/base.js +13 -0
- package/_esm/constants/base.json +1 -2
- package/_esm/constants/baseSepolia.js +12 -0
- package/_esm/constants/baseSepolia.json +1 -2
- package/_esm/constants/baseStaging.js +13 -0
- package/_esm/constants/baseStaging.json +1 -2
- package/_esm/constants/index.js +3 -3
- package/_esm/constants/index.json +8 -0
- package/_esm/networks/base.cjs +5 -0
- package/_esm/networks/base.mjs +5 -0
- package/_esm/networks/baseSepolia.cjs +5 -0
- package/_esm/networks/baseSepolia.mjs +5 -0
- package/_esm/networks/baseStaging.cjs +5 -0
- package/_esm/networks/baseStaging.mjs +5 -0
- package/_esm/paymentMethods/base.js +131 -0
- package/_esm/paymentMethods/base.json +130 -0
- package/_esm/paymentMethods/baseSepolia.js +130 -0
- package/_esm/paymentMethods/baseSepolia.json +14 -119
- package/_esm/paymentMethods/baseStaging.js +130 -0
- package/_esm/paymentMethods/baseStaging.json +129 -0
- package/_esm/paymentMethods/index.js +6 -2
- package/_esm/paymentMethods/index.json +4 -2
- package/_esm/types/contracts/Escrow.js +17 -10
- package/_esm/types/contracts/Orchestrator.js +35 -0
- package/_esm/types/contracts/interfaces/IEscrow.js +17 -10
- package/_esm/types/contracts/interfaces/IPaymentVerifier.js +4 -26
- package/_esm/types/contracts/unifiedVerifier/BaseUnifiedPaymentVerifier.js +21 -349
- package/_esm/types/contracts/unifiedVerifier/SimpleAttestationVerifier.js +5 -105
- package/_esm/types/contracts/unifiedVerifier/UnifiedPaymentVerifier.js +57 -370
- package/_esm/utils/protocolUtils.js +5 -0
- package/_types/abis/base.d.ts +11 -11
- package/_types/abis/baseSepolia.d.ts +12 -11
- package/_types/abis/baseStaging.d.ts +12 -0
- package/_types/addresses/base.d.ts +4 -0
- package/_types/addresses/baseSepolia.d.ts +4 -0
- package/_types/addresses/baseStaging.d.ts +4 -0
- package/_types/addresses/index.d.ts +4 -0
- package/_types/constants/base.d.ts +4 -0
- package/_types/constants/baseSepolia.d.ts +4 -0
- package/_types/constants/baseStaging.d.ts +4 -0
- package/_types/constants/index.d.ts +4 -0
- package/_types/networks/base.d.ts +5 -0
- package/_types/networks/baseSepolia.d.ts +5 -0
- package/_types/networks/baseStaging.d.ts +5 -0
- package/_types/paymentMethods/base.d.ts +4 -0
- package/_types/paymentMethods/baseSepolia.d.ts +4 -0
- package/_types/paymentMethods/baseStaging.d.ts +4 -0
- package/_types/paymentMethods/index.d.ts +4 -0
- package/abis/base/Escrow.json +1388 -1469
- package/abis/base/EscrowRegistry.json +214 -0
- package/abis/base/Orchestrator.json +1121 -0
- package/abis/base/PaymentVerifierRegistry.json +332 -0
- package/abis/base/PostIntentHookRegistry.json +181 -0
- package/abis/base/ProtocolViewer.json +1382 -0
- package/abis/base/RelayerRegistry.json +162 -0
- package/abis/base/SimpleAttestationVerifier.json +152 -0
- package/abis/base/UnifiedPaymentVerifier.json +364 -0
- package/abis/base/index.ts +8 -9
- package/abis/base.cjs +10 -11
- package/abis/base.d.ts +11 -11
- package/abis/base.mjs +10 -15
- package/abis/baseSepolia/Escrow.json +13 -1
- package/abis/baseSepolia/SimpleAttestationVerifier.json +1 -64
- package/abis/baseSepolia/UnifiedPaymentVerifier.json +24 -205
- package/abis/baseSepolia.cjs +11 -11
- package/abis/baseSepolia.d.ts +12 -11
- package/abis/baseSepolia.mjs +11 -15
- package/abis/baseStaging/Escrow.json +2234 -0
- package/abis/baseStaging/EscrowRegistry.json +214 -0
- package/abis/baseStaging/NullifierRegistry.json +213 -0
- package/abis/baseStaging/Orchestrator.json +1121 -0
- package/abis/baseStaging/PaymentVerifierRegistry.json +332 -0
- package/abis/baseStaging/PostIntentHookRegistry.json +181 -0
- package/abis/baseStaging/ProtocolViewer.json +1382 -0
- package/abis/baseStaging/RelayerRegistry.json +162 -0
- package/abis/baseStaging/SimpleAttestationVerifier.json +152 -0
- package/abis/baseStaging/UnifiedPaymentVerifier.json +364 -0
- package/abis/baseStaging/index.ts +10 -0
- package/abis/baseStaging.cjs +13 -0
- package/abis/baseStaging.d.ts +12 -0
- package/abis/baseStaging.mjs +11 -0
- package/abis/index.ts +1 -0
- package/addresses/base.d.ts +4 -0
- package/addresses/base.json +12 -13
- package/addresses/baseSepolia.d.ts +4 -0
- package/addresses/baseSepolia.json +12 -12
- package/addresses/baseStaging.d.ts +4 -0
- package/addresses/baseStaging.json +19 -0
- package/addresses/index.d.ts +4 -0
- package/addresses/index.json +8 -0
- package/addresses/index.ts +1 -0
- package/constants/base.d.ts +4 -0
- package/constants/base.json +1 -2
- package/constants/baseSepolia.d.ts +4 -0
- package/constants/baseSepolia.json +1 -2
- package/constants/baseStaging.d.ts +4 -0
- package/constants/baseStaging.json +1 -2
- package/constants/index.d.ts +4 -0
- package/constants/index.json +8 -0
- package/networks/base.cjs +5 -0
- package/networks/base.d.ts +5 -0
- package/networks/base.mjs +5 -0
- package/networks/baseSepolia.cjs +5 -0
- package/networks/baseSepolia.d.ts +5 -0
- package/networks/baseSepolia.mjs +5 -0
- package/networks/baseStaging.cjs +5 -0
- package/networks/baseStaging.d.ts +5 -0
- package/networks/baseStaging.mjs +5 -0
- package/package.json +71 -11
- package/paymentMethods/base.d.ts +4 -0
- package/paymentMethods/base.json +130 -0
- package/paymentMethods/baseSepolia.d.ts +4 -0
- package/paymentMethods/baseSepolia.json +14 -119
- package/paymentMethods/baseStaging.d.ts +4 -0
- package/paymentMethods/baseStaging.json +129 -0
- package/paymentMethods/index.d.ts +4 -0
- package/paymentMethods/index.json +4 -2
- package/paymentMethods/index.ts +5 -1
- package/types/contracts/Escrow.ts +17 -10
- package/types/contracts/Orchestrator.ts +35 -0
- package/types/contracts/interfaces/IEscrow.ts +17 -10
- package/types/contracts/interfaces/IPaymentVerifier.ts +4 -26
- package/types/contracts/unifiedVerifier/BaseUnifiedPaymentVerifier.ts +21 -349
- package/types/contracts/unifiedVerifier/SimpleAttestationVerifier.ts +5 -105
- package/types/contracts/unifiedVerifier/UnifiedPaymentVerifier.ts +57 -370
- package/utils/protocolUtils.ts +5 -0
- package/_cjs/abis/base/CashappReclaimVerifier.json +0 -513
- package/_cjs/abis/base/MercadoPagoReclaimVerifier.json +0 -539
- package/_cjs/abis/base/RevolutReclaimVerifier.json +0 -513
- package/_cjs/abis/base/VenmoReclaimVerifier.json +0 -500
- package/_cjs/abis/base/WiseReclaimVerifier.json +0 -513
- package/_cjs/abis/base/ZelleBoAReclaimVerifier.json +0 -424
- package/_cjs/abis/base/ZelleChaseReclaimVerifier.json +0 -437
- package/_esm/abis/base/CashappReclaimVerifier.json +0 -513
- package/_esm/abis/base/MercadoPagoReclaimVerifier.json +0 -539
- package/_esm/abis/base/RevolutReclaimVerifier.json +0 -513
- package/_esm/abis/base/VenmoReclaimVerifier.json +0 -500
- package/_esm/abis/base/WiseReclaimVerifier.json +0 -513
- package/_esm/abis/base/ZelleBoAReclaimVerifier.json +0 -424
- package/_esm/abis/base/ZelleChaseReclaimVerifier.json +0 -437
- package/_esm/abis/base/ZelleCitiReclaimVerifier.json +0 -424
- package/abis/base/CashappReclaimVerifier.json +0 -513
- package/abis/base/MercadoPagoReclaimVerifier.json +0 -539
- package/abis/base/RevolutReclaimVerifier.json +0 -513
- package/abis/base/VenmoReclaimVerifier.json +0 -500
- package/abis/base/WiseReclaimVerifier.json +0 -513
- package/abis/base/ZelleBoAReclaimVerifier.json +0 -424
- package/abis/base/ZelleChaseReclaimVerifier.json +0 -437
- package/abis/base/ZelleCitiReclaimVerifier.json +0 -424
|
@@ -32,11 +32,9 @@ export interface SimpleAttestationVerifierInterface extends utils.Interface {
|
|
|
32
32
|
"owner()": FunctionFragment;
|
|
33
33
|
"renounceOwnership()": FunctionFragment;
|
|
34
34
|
"setWitness(address)": FunctionFragment;
|
|
35
|
-
"setZktlsAttestor(address)": FunctionFragment;
|
|
36
35
|
"transferOwnership(address)": FunctionFragment;
|
|
37
36
|
"verify(bytes32,bytes[],bytes)": FunctionFragment;
|
|
38
37
|
"witness()": FunctionFragment;
|
|
39
|
-
"zktlsAttestor()": FunctionFragment;
|
|
40
38
|
};
|
|
41
39
|
|
|
42
40
|
getFunction(
|
|
@@ -45,11 +43,9 @@ export interface SimpleAttestationVerifierInterface extends utils.Interface {
|
|
|
45
43
|
| "owner"
|
|
46
44
|
| "renounceOwnership"
|
|
47
45
|
| "setWitness"
|
|
48
|
-
| "setZktlsAttestor"
|
|
49
46
|
| "transferOwnership"
|
|
50
47
|
| "verify"
|
|
51
48
|
| "witness"
|
|
52
|
-
| "zktlsAttestor"
|
|
53
49
|
): FunctionFragment;
|
|
54
50
|
|
|
55
51
|
encodeFunctionData(
|
|
@@ -65,10 +61,6 @@ export interface SimpleAttestationVerifierInterface extends utils.Interface {
|
|
|
65
61
|
functionFragment: "setWitness",
|
|
66
62
|
values: [PromiseOrValue<string>]
|
|
67
63
|
): string;
|
|
68
|
-
encodeFunctionData(
|
|
69
|
-
functionFragment: "setZktlsAttestor",
|
|
70
|
-
values: [PromiseOrValue<string>]
|
|
71
|
-
): string;
|
|
72
64
|
encodeFunctionData(
|
|
73
65
|
functionFragment: "transferOwnership",
|
|
74
66
|
values: [PromiseOrValue<string>]
|
|
@@ -82,10 +74,6 @@ export interface SimpleAttestationVerifierInterface extends utils.Interface {
|
|
|
82
74
|
]
|
|
83
75
|
): string;
|
|
84
76
|
encodeFunctionData(functionFragment: "witness", values?: undefined): string;
|
|
85
|
-
encodeFunctionData(
|
|
86
|
-
functionFragment: "zktlsAttestor",
|
|
87
|
-
values?: undefined
|
|
88
|
-
): string;
|
|
89
77
|
|
|
90
78
|
decodeFunctionResult(
|
|
91
79
|
functionFragment: "MIN_WITNESS_SIGNATURES",
|
|
@@ -97,34 +85,20 @@ export interface SimpleAttestationVerifierInterface extends utils.Interface {
|
|
|
97
85
|
data: BytesLike
|
|
98
86
|
): Result;
|
|
99
87
|
decodeFunctionResult(functionFragment: "setWitness", data: BytesLike): Result;
|
|
100
|
-
decodeFunctionResult(
|
|
101
|
-
functionFragment: "setZktlsAttestor",
|
|
102
|
-
data: BytesLike
|
|
103
|
-
): Result;
|
|
104
88
|
decodeFunctionResult(
|
|
105
89
|
functionFragment: "transferOwnership",
|
|
106
90
|
data: BytesLike
|
|
107
91
|
): Result;
|
|
108
92
|
decodeFunctionResult(functionFragment: "verify", data: BytesLike): Result;
|
|
109
93
|
decodeFunctionResult(functionFragment: "witness", data: BytesLike): Result;
|
|
110
|
-
decodeFunctionResult(
|
|
111
|
-
functionFragment: "zktlsAttestor",
|
|
112
|
-
data: BytesLike
|
|
113
|
-
): Result;
|
|
114
94
|
|
|
115
95
|
events: {
|
|
116
96
|
"OwnershipTransferred(address,address)": EventFragment;
|
|
117
|
-
"RequireZktlsValidationUpdated(bool)": EventFragment;
|
|
118
97
|
"WitnessUpdated(address,address)": EventFragment;
|
|
119
|
-
"ZktlsAttestorUpdated(address,address)": EventFragment;
|
|
120
98
|
};
|
|
121
99
|
|
|
122
100
|
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
|
|
123
|
-
getEvent(
|
|
124
|
-
nameOrSignatureOrTopic: "RequireZktlsValidationUpdated"
|
|
125
|
-
): EventFragment;
|
|
126
101
|
getEvent(nameOrSignatureOrTopic: "WitnessUpdated"): EventFragment;
|
|
127
|
-
getEvent(nameOrSignatureOrTopic: "ZktlsAttestorUpdated"): EventFragment;
|
|
128
102
|
}
|
|
129
103
|
|
|
130
104
|
export interface OwnershipTransferredEventObject {
|
|
@@ -139,17 +113,6 @@ export type OwnershipTransferredEvent = TypedEvent<
|
|
|
139
113
|
export type OwnershipTransferredEventFilter =
|
|
140
114
|
TypedEventFilter<OwnershipTransferredEvent>;
|
|
141
115
|
|
|
142
|
-
export interface RequireZktlsValidationUpdatedEventObject {
|
|
143
|
-
required: boolean;
|
|
144
|
-
}
|
|
145
|
-
export type RequireZktlsValidationUpdatedEvent = TypedEvent<
|
|
146
|
-
[boolean],
|
|
147
|
-
RequireZktlsValidationUpdatedEventObject
|
|
148
|
-
>;
|
|
149
|
-
|
|
150
|
-
export type RequireZktlsValidationUpdatedEventFilter =
|
|
151
|
-
TypedEventFilter<RequireZktlsValidationUpdatedEvent>;
|
|
152
|
-
|
|
153
116
|
export interface WitnessUpdatedEventObject {
|
|
154
117
|
oldWitness: string;
|
|
155
118
|
newWitness: string;
|
|
@@ -161,18 +124,6 @@ export type WitnessUpdatedEvent = TypedEvent<
|
|
|
161
124
|
|
|
162
125
|
export type WitnessUpdatedEventFilter = TypedEventFilter<WitnessUpdatedEvent>;
|
|
163
126
|
|
|
164
|
-
export interface ZktlsAttestorUpdatedEventObject {
|
|
165
|
-
oldAttestor: string;
|
|
166
|
-
newAttestor: string;
|
|
167
|
-
}
|
|
168
|
-
export type ZktlsAttestorUpdatedEvent = TypedEvent<
|
|
169
|
-
[string, string],
|
|
170
|
-
ZktlsAttestorUpdatedEventObject
|
|
171
|
-
>;
|
|
172
|
-
|
|
173
|
-
export type ZktlsAttestorUpdatedEventFilter =
|
|
174
|
-
TypedEventFilter<ZktlsAttestorUpdatedEvent>;
|
|
175
|
-
|
|
176
127
|
export interface SimpleAttestationVerifier extends BaseContract {
|
|
177
128
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
178
129
|
attach(addressOrName: string): this;
|
|
@@ -213,11 +164,6 @@ export interface SimpleAttestationVerifier extends BaseContract {
|
|
|
213
164
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
214
165
|
): Promise<ContractTransaction>;
|
|
215
166
|
|
|
216
|
-
setZktlsAttestor(
|
|
217
|
-
_newAttestor: PromiseOrValue<string>,
|
|
218
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
219
|
-
): Promise<ContractTransaction>;
|
|
220
|
-
|
|
221
167
|
transferOwnership(
|
|
222
168
|
newOwner: PromiseOrValue<string>,
|
|
223
169
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
@@ -226,13 +172,11 @@ export interface SimpleAttestationVerifier extends BaseContract {
|
|
|
226
172
|
verify(
|
|
227
173
|
_digest: PromiseOrValue<BytesLike>,
|
|
228
174
|
_sigs: PromiseOrValue<BytesLike>[],
|
|
229
|
-
|
|
175
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
230
176
|
overrides?: CallOverrides
|
|
231
177
|
): Promise<[boolean] & { isValid: boolean }>;
|
|
232
178
|
|
|
233
179
|
witness(overrides?: CallOverrides): Promise<[string]>;
|
|
234
|
-
|
|
235
|
-
zktlsAttestor(overrides?: CallOverrides): Promise<[string]>;
|
|
236
180
|
};
|
|
237
181
|
|
|
238
182
|
MIN_WITNESS_SIGNATURES(overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -248,11 +192,6 @@ export interface SimpleAttestationVerifier extends BaseContract {
|
|
|
248
192
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
249
193
|
): Promise<ContractTransaction>;
|
|
250
194
|
|
|
251
|
-
setZktlsAttestor(
|
|
252
|
-
_newAttestor: PromiseOrValue<string>,
|
|
253
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
254
|
-
): Promise<ContractTransaction>;
|
|
255
|
-
|
|
256
195
|
transferOwnership(
|
|
257
196
|
newOwner: PromiseOrValue<string>,
|
|
258
197
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
@@ -261,14 +200,12 @@ export interface SimpleAttestationVerifier extends BaseContract {
|
|
|
261
200
|
verify(
|
|
262
201
|
_digest: PromiseOrValue<BytesLike>,
|
|
263
202
|
_sigs: PromiseOrValue<BytesLike>[],
|
|
264
|
-
|
|
203
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
265
204
|
overrides?: CallOverrides
|
|
266
205
|
): Promise<boolean>;
|
|
267
206
|
|
|
268
207
|
witness(overrides?: CallOverrides): Promise<string>;
|
|
269
208
|
|
|
270
|
-
zktlsAttestor(overrides?: CallOverrides): Promise<string>;
|
|
271
|
-
|
|
272
209
|
callStatic: {
|
|
273
210
|
MIN_WITNESS_SIGNATURES(overrides?: CallOverrides): Promise<BigNumber>;
|
|
274
211
|
|
|
@@ -281,11 +218,6 @@ export interface SimpleAttestationVerifier extends BaseContract {
|
|
|
281
218
|
overrides?: CallOverrides
|
|
282
219
|
): Promise<void>;
|
|
283
220
|
|
|
284
|
-
setZktlsAttestor(
|
|
285
|
-
_newAttestor: PromiseOrValue<string>,
|
|
286
|
-
overrides?: CallOverrides
|
|
287
|
-
): Promise<void>;
|
|
288
|
-
|
|
289
221
|
transferOwnership(
|
|
290
222
|
newOwner: PromiseOrValue<string>,
|
|
291
223
|
overrides?: CallOverrides
|
|
@@ -294,13 +226,11 @@ export interface SimpleAttestationVerifier extends BaseContract {
|
|
|
294
226
|
verify(
|
|
295
227
|
_digest: PromiseOrValue<BytesLike>,
|
|
296
228
|
_sigs: PromiseOrValue<BytesLike>[],
|
|
297
|
-
|
|
229
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
298
230
|
overrides?: CallOverrides
|
|
299
231
|
): Promise<boolean>;
|
|
300
232
|
|
|
301
233
|
witness(overrides?: CallOverrides): Promise<string>;
|
|
302
|
-
|
|
303
|
-
zktlsAttestor(overrides?: CallOverrides): Promise<string>;
|
|
304
234
|
};
|
|
305
235
|
|
|
306
236
|
filters: {
|
|
@@ -313,13 +243,6 @@ export interface SimpleAttestationVerifier extends BaseContract {
|
|
|
313
243
|
newOwner?: PromiseOrValue<string> | null
|
|
314
244
|
): OwnershipTransferredEventFilter;
|
|
315
245
|
|
|
316
|
-
"RequireZktlsValidationUpdated(bool)"(
|
|
317
|
-
required?: null
|
|
318
|
-
): RequireZktlsValidationUpdatedEventFilter;
|
|
319
|
-
RequireZktlsValidationUpdated(
|
|
320
|
-
required?: null
|
|
321
|
-
): RequireZktlsValidationUpdatedEventFilter;
|
|
322
|
-
|
|
323
246
|
"WitnessUpdated(address,address)"(
|
|
324
247
|
oldWitness?: PromiseOrValue<string> | null,
|
|
325
248
|
newWitness?: PromiseOrValue<string> | null
|
|
@@ -328,15 +251,6 @@ export interface SimpleAttestationVerifier extends BaseContract {
|
|
|
328
251
|
oldWitness?: PromiseOrValue<string> | null,
|
|
329
252
|
newWitness?: PromiseOrValue<string> | null
|
|
330
253
|
): WitnessUpdatedEventFilter;
|
|
331
|
-
|
|
332
|
-
"ZktlsAttestorUpdated(address,address)"(
|
|
333
|
-
oldAttestor?: PromiseOrValue<string> | null,
|
|
334
|
-
newAttestor?: PromiseOrValue<string> | null
|
|
335
|
-
): ZktlsAttestorUpdatedEventFilter;
|
|
336
|
-
ZktlsAttestorUpdated(
|
|
337
|
-
oldAttestor?: PromiseOrValue<string> | null,
|
|
338
|
-
newAttestor?: PromiseOrValue<string> | null
|
|
339
|
-
): ZktlsAttestorUpdatedEventFilter;
|
|
340
254
|
};
|
|
341
255
|
|
|
342
256
|
estimateGas: {
|
|
@@ -353,11 +267,6 @@ export interface SimpleAttestationVerifier extends BaseContract {
|
|
|
353
267
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
354
268
|
): Promise<BigNumber>;
|
|
355
269
|
|
|
356
|
-
setZktlsAttestor(
|
|
357
|
-
_newAttestor: PromiseOrValue<string>,
|
|
358
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
359
|
-
): Promise<BigNumber>;
|
|
360
|
-
|
|
361
270
|
transferOwnership(
|
|
362
271
|
newOwner: PromiseOrValue<string>,
|
|
363
272
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
@@ -366,13 +275,11 @@ export interface SimpleAttestationVerifier extends BaseContract {
|
|
|
366
275
|
verify(
|
|
367
276
|
_digest: PromiseOrValue<BytesLike>,
|
|
368
277
|
_sigs: PromiseOrValue<BytesLike>[],
|
|
369
|
-
|
|
278
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
370
279
|
overrides?: CallOverrides
|
|
371
280
|
): Promise<BigNumber>;
|
|
372
281
|
|
|
373
282
|
witness(overrides?: CallOverrides): Promise<BigNumber>;
|
|
374
|
-
|
|
375
|
-
zktlsAttestor(overrides?: CallOverrides): Promise<BigNumber>;
|
|
376
283
|
};
|
|
377
284
|
|
|
378
285
|
populateTransaction: {
|
|
@@ -391,11 +298,6 @@ export interface SimpleAttestationVerifier extends BaseContract {
|
|
|
391
298
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
392
299
|
): Promise<PopulatedTransaction>;
|
|
393
300
|
|
|
394
|
-
setZktlsAttestor(
|
|
395
|
-
_newAttestor: PromiseOrValue<string>,
|
|
396
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
397
|
-
): Promise<PopulatedTransaction>;
|
|
398
|
-
|
|
399
301
|
transferOwnership(
|
|
400
302
|
newOwner: PromiseOrValue<string>,
|
|
401
303
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
@@ -404,12 +306,10 @@ export interface SimpleAttestationVerifier extends BaseContract {
|
|
|
404
306
|
verify(
|
|
405
307
|
_digest: PromiseOrValue<BytesLike>,
|
|
406
308
|
_sigs: PromiseOrValue<BytesLike>[],
|
|
407
|
-
|
|
309
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
408
310
|
overrides?: CallOverrides
|
|
409
311
|
): Promise<PopulatedTransaction>;
|
|
410
312
|
|
|
411
313
|
witness(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
412
|
-
|
|
413
|
-
zktlsAttestor(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
414
314
|
};
|
|
415
315
|
}
|