@zkp2p/contracts-v2 0.0.11 → 0.1.11-rc.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/_cjs/abis/base/index.js +0 -1
- package/_cjs/abis/base.cjs +0 -1
- package/_cjs/abis/base.mjs +0 -1
- package/_cjs/abis/{base/AcrossBridgeHook.js → baseStaging/AcrossBridgeHookV2.js} +78 -65
- package/{abis/base/AcrossBridgeHook.json → _cjs/abis/baseStaging/AcrossBridgeHookV2.json} +78 -65
- package/_cjs/abis/baseStaging/ChainlinkOracleAdapter.js +52 -0
- package/_cjs/abis/baseStaging/ChainlinkOracleAdapter.json +50 -0
- package/_cjs/abis/{baseSepolia/Escrow.js → baseStaging/EscrowV2.js} +969 -384
- package/{abis/baseSepolia/Escrow.json → _cjs/abis/baseStaging/EscrowV2.json} +969 -384
- package/_cjs/abis/{baseSepolia/RelayerRegistry.js → baseStaging/OrchestratorRegistry.js} +40 -50
- package/{abis/baseSepolia/RelayerRegistry.json → _cjs/abis/baseStaging/OrchestratorRegistry.json} +40 -50
- package/_cjs/abis/{baseSepolia/Orchestrator.js → baseStaging/OrchestratorV2.js} +262 -67
- package/{abis/baseSepolia/Orchestrator.json → _cjs/abis/baseStaging/OrchestratorV2.json} +262 -67
- package/_cjs/abis/{baseSepolia/ProtocolViewer.js → baseStaging/ProtocolViewerV2.js} +79 -390
- package/{_esm/abis/baseSepolia/ProtocolViewer.json → _cjs/abis/baseStaging/ProtocolViewerV2.json} +79 -390
- package/_cjs/abis/baseStaging/RateManagerV1.js +1234 -0
- package/_cjs/abis/baseStaging/RateManagerV1.json +1232 -0
- package/_cjs/abis/{baseSepolia/USDCMock.js → baseStaging/SignatureGatingPreIntentHook.js} +146 -149
- package/{abis/baseSepolia/USDCMock.json → _cjs/abis/baseStaging/SignatureGatingPreIntentHook.json} +146 -149
- package/_cjs/abis/{baseSepolia/UnifiedPaymentVerifier.js → baseStaging/UnifiedPaymentVerifierV2.js} +4 -4
- package/{abis/baseSepolia/UnifiedPaymentVerifier.json → _cjs/abis/baseStaging/UnifiedPaymentVerifierV2.json} +4 -4
- package/_cjs/abis/baseStaging/WhitelistPreIntentHook.js +336 -0
- package/_cjs/abis/baseStaging/WhitelistPreIntentHook.json +334 -0
- package/_cjs/abis/baseStaging/index.js +10 -0
- package/_cjs/abis/baseStaging.cjs +11 -1
- package/_cjs/abis/baseStaging.mjs +10 -0
- package/_cjs/abis/index.js +0 -1
- package/_cjs/addresses/base.js +13 -3
- package/_cjs/addresses/base.json +13 -3
- package/_cjs/addresses/baseStaging.js +13 -3
- package/_cjs/addresses/baseStaging.json +13 -3
- package/_cjs/addresses/index.js +0 -1
- package/_cjs/addresses/index.json +1 -2
- package/_cjs/constants/index.json +1 -1
- package/_cjs/paymentMethods/base.js +1 -11
- package/_cjs/paymentMethods/base.json +1 -11
- package/_cjs/paymentMethods/baseSepolia.js +1 -1
- package/_cjs/paymentMethods/baseSepolia.json +1 -1
- package/_cjs/paymentMethods/baseStaging.js +1 -11
- package/_cjs/paymentMethods/baseStaging.json +1 -11
- package/_cjs/paymentMethods/index.json +1 -1
- package/_cjs/types/contracts/EscrowV2.js +3328 -0
- package/_cjs/types/contracts/OrchestratorV2.js +1551 -0
- package/_cjs/types/contracts/ProtocolViewer.js +51 -90
- package/_cjs/types/contracts/ProtocolViewerV2.js +458 -0
- package/_cjs/types/contracts/RateManagerV1.js +1553 -0
- package/_cjs/types/contracts/external/Interfaces/index.js +0 -1
- package/{_esm/types/contracts/hooks/AcrossSwapBridgeHook.js → _cjs/types/contracts/hooks/AcrossBridgeHookV2.js} +56 -86
- package/_cjs/types/contracts/hooks/SignatureGatingPreIntentHook.js +351 -0
- package/_cjs/types/contracts/hooks/WhitelistPreIntentHook.js +424 -0
- package/_cjs/types/contracts/hooks/index.js +3 -1
- package/_cjs/types/contracts/index.js +6 -0
- package/_cjs/types/contracts/interfaces/IChainlinkAggregatorV3.js +132 -0
- package/_cjs/types/contracts/interfaces/IEscrow.js +0 -35
- package/_cjs/types/contracts/interfaces/IEscrowV2.js +2074 -0
- package/_cjs/types/contracts/interfaces/IOracleAdapter.js +154 -0
- package/_cjs/types/contracts/interfaces/IOrchestratorRegistry.js +178 -0
- package/_cjs/types/contracts/interfaces/IOrchestratorV2.js +987 -0
- package/_cjs/types/contracts/interfaces/IPostIntentHookV2.js +172 -0
- package/_cjs/types/contracts/interfaces/IPreIntentHook.js +148 -0
- package/_cjs/types/contracts/interfaces/IProtocolViewerV2.js +458 -0
- package/_cjs/types/contracts/interfaces/IRateManager.js +239 -0
- package/_cjs/types/contracts/interfaces/index.js +9 -0
- package/_cjs/types/contracts/oracles/ChainlinkOracleAdapter.js +154 -0
- package/_cjs/types/contracts/oracles/index.js +4 -0
- package/_cjs/types/contracts/registries/OrchestratorRegistry.js +324 -0
- package/_cjs/types/contracts/registries/index.js +1 -0
- package/_cjs/types/contracts/unifiedVerifier/BaseUnifiedPaymentVerifier.js +11 -9
- package/_cjs/types/contracts/unifiedVerifier/UnifiedPaymentVerifier.js +11 -9
- package/_esm/abis/base/index.js +0 -1
- package/_esm/abis/base.cjs +0 -1
- package/_esm/abis/base.mjs +0 -1
- package/_esm/abis/{base/AcrossBridgeHook.js → baseStaging/AcrossBridgeHookV2.js} +78 -65
- package/{_cjs/abis/base/AcrossBridgeHook.json → _esm/abis/baseStaging/AcrossBridgeHookV2.json} +78 -65
- package/_esm/abis/baseStaging/ChainlinkOracleAdapter.js +51 -0
- package/_esm/abis/baseStaging/ChainlinkOracleAdapter.json +50 -0
- package/_esm/abis/{baseSepolia/Escrow.js → baseStaging/EscrowV2.js} +969 -384
- package/{_cjs/abis/baseSepolia/Escrow.json → _esm/abis/baseStaging/EscrowV2.json} +969 -384
- package/_esm/abis/{baseSepolia/RelayerRegistry.js → baseStaging/OrchestratorRegistry.js} +40 -50
- package/_esm/abis/{baseSepolia/RelayerRegistry.json → baseStaging/OrchestratorRegistry.json} +40 -50
- package/_esm/abis/{baseSepolia/Orchestrator.js → baseStaging/OrchestratorV2.js} +262 -67
- package/_esm/abis/{baseSepolia/Orchestrator.json → baseStaging/OrchestratorV2.json} +262 -67
- package/_esm/abis/{baseSepolia/ProtocolViewer.js → baseStaging/ProtocolViewerV2.js} +79 -390
- package/{abis/baseSepolia/ProtocolViewer.json → _esm/abis/baseStaging/ProtocolViewerV2.json} +79 -390
- package/_esm/abis/baseStaging/RateManagerV1.js +1233 -0
- package/_esm/abis/baseStaging/RateManagerV1.json +1232 -0
- package/_esm/abis/{baseSepolia/USDCMock.js → baseStaging/SignatureGatingPreIntentHook.js} +146 -149
- package/_esm/abis/{baseSepolia/USDCMock.json → baseStaging/SignatureGatingPreIntentHook.json} +146 -149
- package/_esm/abis/{baseSepolia/UnifiedPaymentVerifier.js → baseStaging/UnifiedPaymentVerifierV2.js} +4 -4
- package/{_cjs/abis/baseSepolia/UnifiedPaymentVerifier.json → _esm/abis/baseStaging/UnifiedPaymentVerifierV2.json} +4 -4
- package/_esm/abis/baseStaging/WhitelistPreIntentHook.js +335 -0
- package/_esm/abis/baseStaging/WhitelistPreIntentHook.json +334 -0
- package/_esm/abis/baseStaging/index.js +10 -0
- package/_esm/abis/baseStaging.cjs +11 -1
- package/_esm/abis/baseStaging.mjs +10 -0
- package/_esm/abis/index.js +0 -1
- package/_esm/addresses/base.js +13 -3
- package/_esm/addresses/base.json +13 -3
- package/_esm/addresses/baseStaging.js +13 -3
- package/_esm/addresses/baseStaging.json +13 -3
- package/_esm/addresses/index.js +0 -1
- package/_esm/addresses/index.json +1 -2
- package/_esm/constants/index.json +1 -1
- package/_esm/paymentMethods/base.js +1 -11
- package/_esm/paymentMethods/base.json +1 -11
- package/_esm/paymentMethods/baseSepolia.js +1 -1
- package/_esm/paymentMethods/baseSepolia.json +1 -1
- package/_esm/paymentMethods/baseStaging.js +1 -11
- package/_esm/paymentMethods/baseStaging.json +1 -11
- package/_esm/paymentMethods/index.json +1 -1
- package/_esm/types/contracts/EscrowV2.js +3328 -0
- package/_esm/types/contracts/OrchestratorV2.js +1551 -0
- package/_esm/types/contracts/ProtocolViewer.js +51 -90
- package/_esm/types/contracts/ProtocolViewerV2.js +458 -0
- package/_esm/types/contracts/RateManagerV1.js +1553 -0
- package/_esm/types/contracts/external/Interfaces/index.js +0 -1
- package/{types/contracts/hooks/AcrossSwapBridgeHook.ts → _esm/types/contracts/hooks/AcrossBridgeHookV2.js} +56 -86
- package/_esm/types/contracts/hooks/SignatureGatingPreIntentHook.js +351 -0
- package/_esm/types/contracts/hooks/WhitelistPreIntentHook.js +424 -0
- package/_esm/types/contracts/hooks/index.js +3 -1
- package/_esm/types/contracts/index.js +6 -0
- package/_esm/types/contracts/interfaces/IChainlinkAggregatorV3.js +132 -0
- package/_esm/types/contracts/interfaces/IEscrow.js +0 -35
- package/_esm/types/contracts/interfaces/IEscrowV2.js +2074 -0
- package/_esm/types/contracts/interfaces/IOracleAdapter.js +154 -0
- package/_esm/types/contracts/interfaces/IOrchestratorRegistry.js +178 -0
- package/_esm/types/contracts/interfaces/IOrchestratorV2.js +987 -0
- package/_esm/types/contracts/interfaces/IPostIntentHookV2.js +172 -0
- package/_esm/types/contracts/interfaces/IPreIntentHook.js +148 -0
- package/_esm/types/contracts/interfaces/IProtocolViewerV2.js +458 -0
- package/_esm/types/contracts/interfaces/IRateManager.js +239 -0
- package/_esm/types/contracts/interfaces/index.js +9 -0
- package/_esm/types/contracts/oracles/ChainlinkOracleAdapter.js +154 -0
- package/_esm/types/contracts/oracles/index.js +4 -0
- package/_esm/types/contracts/registries/OrchestratorRegistry.js +324 -0
- package/_esm/types/contracts/registries/index.js +1 -0
- package/_esm/types/contracts/unifiedVerifier/BaseUnifiedPaymentVerifier.js +11 -9
- package/_esm/types/contracts/unifiedVerifier/UnifiedPaymentVerifier.js +11 -9
- package/_types/abis/base.d.ts +0 -1
- package/_types/abis/baseStaging.d.ts +10 -0
- package/_types/addresses/index.d.ts +0 -1
- package/abis/base/index.ts +0 -1
- package/abis/base.cjs +0 -1
- package/abis/base.d.ts +0 -1
- package/abis/base.mjs +0 -1
- package/{_esm/abis/base/AcrossBridgeHook.json → abis/baseStaging/AcrossBridgeHookV2.json} +78 -65
- package/abis/baseStaging/ChainlinkOracleAdapter.json +50 -0
- package/{_esm/abis/baseSepolia/Escrow.json → abis/baseStaging/EscrowV2.json} +969 -384
- package/{_cjs/abis/baseSepolia/RelayerRegistry.json → abis/baseStaging/OrchestratorRegistry.json} +40 -50
- package/{_cjs/abis/baseSepolia/Orchestrator.json → abis/baseStaging/OrchestratorV2.json} +262 -67
- package/{_cjs/abis/baseSepolia/ProtocolViewer.json → abis/baseStaging/ProtocolViewerV2.json} +79 -390
- package/abis/baseStaging/RateManagerV1.json +1232 -0
- package/{_cjs/abis/baseSepolia/USDCMock.json → abis/baseStaging/SignatureGatingPreIntentHook.json} +146 -149
- package/{_esm/abis/baseSepolia/UnifiedPaymentVerifier.json → abis/baseStaging/UnifiedPaymentVerifierV2.json} +4 -4
- package/abis/baseStaging/WhitelistPreIntentHook.json +334 -0
- package/abis/baseStaging/index.ts +10 -0
- package/abis/baseStaging.cjs +11 -1
- package/abis/baseStaging.d.ts +10 -0
- package/abis/baseStaging.mjs +10 -0
- package/abis/index.ts +0 -1
- package/addresses/base.json +13 -3
- package/addresses/baseStaging.json +13 -3
- package/addresses/index.d.ts +0 -1
- package/addresses/index.json +1 -2
- package/addresses/index.ts +0 -1
- package/constants/index.json +1 -1
- package/package.json +1 -16
- package/paymentMethods/base.json +1 -11
- package/paymentMethods/baseSepolia.json +1 -1
- package/paymentMethods/baseStaging.json +1 -11
- package/paymentMethods/index.json +1 -1
- package/types/contracts/EscrowV2.ts +3328 -0
- package/types/contracts/OrchestratorV2.ts +1551 -0
- package/types/contracts/ProtocolViewer.ts +51 -90
- package/types/contracts/ProtocolViewerV2.ts +458 -0
- package/types/contracts/RateManagerV1.ts +1553 -0
- package/types/contracts/external/Interfaces/index.ts +0 -1
- package/{_cjs/types/contracts/hooks/AcrossSwapBridgeHook.js → types/contracts/hooks/AcrossBridgeHookV2.ts} +56 -86
- package/types/contracts/hooks/SignatureGatingPreIntentHook.ts +351 -0
- package/types/contracts/hooks/WhitelistPreIntentHook.ts +424 -0
- package/types/contracts/hooks/index.ts +3 -1
- package/types/contracts/index.ts +6 -0
- package/types/contracts/interfaces/IChainlinkAggregatorV3.ts +132 -0
- package/types/contracts/interfaces/IEscrow.ts +0 -35
- package/types/contracts/interfaces/IEscrowV2.ts +2074 -0
- package/types/contracts/interfaces/IOracleAdapter.ts +154 -0
- package/types/contracts/interfaces/IOrchestratorRegistry.ts +178 -0
- package/types/contracts/interfaces/IOrchestratorV2.ts +987 -0
- package/types/contracts/interfaces/IPostIntentHookV2.ts +172 -0
- package/types/contracts/interfaces/IPreIntentHook.ts +148 -0
- package/types/contracts/interfaces/IProtocolViewerV2.ts +458 -0
- package/types/contracts/interfaces/IRateManager.ts +239 -0
- package/types/contracts/interfaces/index.ts +9 -0
- package/types/contracts/oracles/ChainlinkOracleAdapter.ts +154 -0
- package/types/contracts/oracles/index.ts +4 -0
- package/types/contracts/registries/OrchestratorRegistry.ts +324 -0
- package/types/contracts/registries/index.ts +1 -0
- package/types/contracts/unifiedVerifier/BaseUnifiedPaymentVerifier.ts +11 -9
- package/types/contracts/unifiedVerifier/UnifiedPaymentVerifier.ts +11 -9
- package/_cjs/abis/baseSepolia/EscrowRegistry.js +0 -216
- package/_cjs/abis/baseSepolia/EscrowRegistry.json +0 -214
- package/_cjs/abis/baseSepolia/NullifierRegistry.js +0 -215
- package/_cjs/abis/baseSepolia/NullifierRegistry.json +0 -213
- package/_cjs/abis/baseSepolia/PaymentVerifierRegistry.js +0 -334
- package/_cjs/abis/baseSepolia/PaymentVerifierRegistry.json +0 -332
- package/_cjs/abis/baseSepolia/PostIntentHookRegistry.js +0 -183
- package/_cjs/abis/baseSepolia/PostIntentHookRegistry.json +0 -181
- package/_cjs/abis/baseSepolia/SimpleAttestationVerifier.js +0 -154
- package/_cjs/abis/baseSepolia/SimpleAttestationVerifier.json +0 -152
- package/_cjs/abis/baseSepolia/index.js +0 -11
- package/_cjs/abis/baseSepolia.cjs +0 -14
- package/_cjs/abis/baseSepolia.mjs +0 -12
- package/_cjs/addresses/baseSepolia.js +0 -22
- package/_cjs/addresses/baseSepolia.json +0 -20
- package/_cjs/networks/baseSepolia.cjs +0 -5
- package/_cjs/networks/baseSepolia.mjs +0 -5
- package/_cjs/types/contracts/external/Interfaces/IAcrossSpokePoolPeriphery.js +0 -198
- package/_esm/abis/baseSepolia/EscrowRegistry.js +0 -215
- package/_esm/abis/baseSepolia/EscrowRegistry.json +0 -214
- package/_esm/abis/baseSepolia/NullifierRegistry.js +0 -214
- package/_esm/abis/baseSepolia/NullifierRegistry.json +0 -213
- package/_esm/abis/baseSepolia/PaymentVerifierRegistry.js +0 -333
- package/_esm/abis/baseSepolia/PaymentVerifierRegistry.json +0 -332
- package/_esm/abis/baseSepolia/PostIntentHookRegistry.js +0 -182
- package/_esm/abis/baseSepolia/PostIntentHookRegistry.json +0 -181
- package/_esm/abis/baseSepolia/SimpleAttestationVerifier.js +0 -153
- package/_esm/abis/baseSepolia/SimpleAttestationVerifier.json +0 -152
- package/_esm/abis/baseSepolia/index.js +0 -11
- package/_esm/abis/baseSepolia.cjs +0 -14
- package/_esm/abis/baseSepolia.mjs +0 -12
- package/_esm/addresses/baseSepolia.js +0 -21
- package/_esm/addresses/baseSepolia.json +0 -20
- package/_esm/networks/baseSepolia.cjs +0 -5
- package/_esm/networks/baseSepolia.mjs +0 -5
- package/_esm/types/contracts/external/Interfaces/IAcrossSpokePoolPeriphery.js +0 -198
- package/_types/abis/baseSepolia.d.ts +0 -13
- package/_types/addresses/baseSepolia.d.ts +0 -4
- package/_types/networks/baseSepolia.d.ts +0 -5
- package/abis/baseSepolia/EscrowRegistry.json +0 -214
- package/abis/baseSepolia/NullifierRegistry.json +0 -213
- package/abis/baseSepolia/PaymentVerifierRegistry.json +0 -332
- package/abis/baseSepolia/PostIntentHookRegistry.json +0 -181
- package/abis/baseSepolia/SimpleAttestationVerifier.json +0 -152
- package/abis/baseSepolia/index.ts +0 -11
- package/abis/baseSepolia.cjs +0 -14
- package/abis/baseSepolia.d.ts +0 -13
- package/abis/baseSepolia.mjs +0 -12
- package/addresses/baseSepolia.d.ts +0 -4
- package/addresses/baseSepolia.json +0 -20
- package/networks/baseSepolia.cjs +0 -5
- package/networks/baseSepolia.d.ts +0 -5
- package/networks/baseSepolia.mjs +0 -5
- package/types/contracts/external/Interfaces/IAcrossSpokePoolPeriphery.ts +0 -198
|
@@ -21,6 +21,57 @@ import type {
|
|
|
21
21
|
PromiseOrValue,
|
|
22
22
|
} from "../common";
|
|
23
23
|
|
|
24
|
+
export declare namespace IOrchestrator {
|
|
25
|
+
export type IntentStruct = {
|
|
26
|
+
owner: PromiseOrValue<string>;
|
|
27
|
+
to: PromiseOrValue<string>;
|
|
28
|
+
escrow: PromiseOrValue<string>;
|
|
29
|
+
depositId: PromiseOrValue<BigNumberish>;
|
|
30
|
+
amount: PromiseOrValue<BigNumberish>;
|
|
31
|
+
timestamp: PromiseOrValue<BigNumberish>;
|
|
32
|
+
paymentMethod: PromiseOrValue<BytesLike>;
|
|
33
|
+
fiatCurrency: PromiseOrValue<BytesLike>;
|
|
34
|
+
conversionRate: PromiseOrValue<BigNumberish>;
|
|
35
|
+
payeeId: PromiseOrValue<BytesLike>;
|
|
36
|
+
referrer: PromiseOrValue<string>;
|
|
37
|
+
referrerFee: PromiseOrValue<BigNumberish>;
|
|
38
|
+
postIntentHook: PromiseOrValue<string>;
|
|
39
|
+
data: PromiseOrValue<BytesLike>;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export type IntentStructOutput = [
|
|
43
|
+
string,
|
|
44
|
+
string,
|
|
45
|
+
string,
|
|
46
|
+
BigNumber,
|
|
47
|
+
BigNumber,
|
|
48
|
+
BigNumber,
|
|
49
|
+
string,
|
|
50
|
+
string,
|
|
51
|
+
BigNumber,
|
|
52
|
+
string,
|
|
53
|
+
string,
|
|
54
|
+
BigNumber,
|
|
55
|
+
string,
|
|
56
|
+
string
|
|
57
|
+
] & {
|
|
58
|
+
owner: string;
|
|
59
|
+
to: string;
|
|
60
|
+
escrow: string;
|
|
61
|
+
depositId: BigNumber;
|
|
62
|
+
amount: BigNumber;
|
|
63
|
+
timestamp: BigNumber;
|
|
64
|
+
paymentMethod: string;
|
|
65
|
+
fiatCurrency: string;
|
|
66
|
+
conversionRate: BigNumber;
|
|
67
|
+
payeeId: string;
|
|
68
|
+
referrer: string;
|
|
69
|
+
referrerFee: BigNumber;
|
|
70
|
+
postIntentHook: string;
|
|
71
|
+
data: string;
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
24
75
|
export declare namespace IEscrow {
|
|
25
76
|
export type RangeStruct = {
|
|
26
77
|
min: PromiseOrValue<BigNumberish>;
|
|
@@ -145,61 +196,9 @@ export declare namespace IProtocolViewer {
|
|
|
145
196
|
};
|
|
146
197
|
}
|
|
147
198
|
|
|
148
|
-
export declare namespace IOrchestrator {
|
|
149
|
-
export type IntentStruct = {
|
|
150
|
-
owner: PromiseOrValue<string>;
|
|
151
|
-
to: PromiseOrValue<string>;
|
|
152
|
-
escrow: PromiseOrValue<string>;
|
|
153
|
-
depositId: PromiseOrValue<BigNumberish>;
|
|
154
|
-
amount: PromiseOrValue<BigNumberish>;
|
|
155
|
-
timestamp: PromiseOrValue<BigNumberish>;
|
|
156
|
-
paymentMethod: PromiseOrValue<BytesLike>;
|
|
157
|
-
fiatCurrency: PromiseOrValue<BytesLike>;
|
|
158
|
-
conversionRate: PromiseOrValue<BigNumberish>;
|
|
159
|
-
payeeId: PromiseOrValue<BytesLike>;
|
|
160
|
-
referrer: PromiseOrValue<string>;
|
|
161
|
-
referrerFee: PromiseOrValue<BigNumberish>;
|
|
162
|
-
postIntentHook: PromiseOrValue<string>;
|
|
163
|
-
data: PromiseOrValue<BytesLike>;
|
|
164
|
-
};
|
|
165
|
-
|
|
166
|
-
export type IntentStructOutput = [
|
|
167
|
-
string,
|
|
168
|
-
string,
|
|
169
|
-
string,
|
|
170
|
-
BigNumber,
|
|
171
|
-
BigNumber,
|
|
172
|
-
BigNumber,
|
|
173
|
-
string,
|
|
174
|
-
string,
|
|
175
|
-
BigNumber,
|
|
176
|
-
string,
|
|
177
|
-
string,
|
|
178
|
-
BigNumber,
|
|
179
|
-
string,
|
|
180
|
-
string
|
|
181
|
-
] & {
|
|
182
|
-
owner: string;
|
|
183
|
-
to: string;
|
|
184
|
-
escrow: string;
|
|
185
|
-
depositId: BigNumber;
|
|
186
|
-
amount: BigNumber;
|
|
187
|
-
timestamp: BigNumber;
|
|
188
|
-
paymentMethod: string;
|
|
189
|
-
fiatCurrency: string;
|
|
190
|
-
conversionRate: BigNumber;
|
|
191
|
-
payeeId: string;
|
|
192
|
-
referrer: string;
|
|
193
|
-
referrerFee: BigNumber;
|
|
194
|
-
postIntentHook: string;
|
|
195
|
-
data: string;
|
|
196
|
-
};
|
|
197
|
-
}
|
|
198
|
-
|
|
199
199
|
export interface ProtocolViewerInterface extends utils.Interface {
|
|
200
200
|
functions: {
|
|
201
201
|
"escrowContract()": FunctionFragment;
|
|
202
|
-
"getAccountDeposits(address)": FunctionFragment;
|
|
203
202
|
"getAccountIntents(address)": FunctionFragment;
|
|
204
203
|
"getDeposit(uint256)": FunctionFragment;
|
|
205
204
|
"getDepositFromIds(uint256[])": FunctionFragment;
|
|
@@ -211,7 +210,6 @@ export interface ProtocolViewerInterface extends utils.Interface {
|
|
|
211
210
|
getFunction(
|
|
212
211
|
nameOrSignatureOrTopic:
|
|
213
212
|
| "escrowContract"
|
|
214
|
-
| "getAccountDeposits"
|
|
215
213
|
| "getAccountIntents"
|
|
216
214
|
| "getDeposit"
|
|
217
215
|
| "getDepositFromIds"
|
|
@@ -224,10 +222,6 @@ export interface ProtocolViewerInterface extends utils.Interface {
|
|
|
224
222
|
functionFragment: "escrowContract",
|
|
225
223
|
values?: undefined
|
|
226
224
|
): string;
|
|
227
|
-
encodeFunctionData(
|
|
228
|
-
functionFragment: "getAccountDeposits",
|
|
229
|
-
values: [PromiseOrValue<string>]
|
|
230
|
-
): string;
|
|
231
225
|
encodeFunctionData(
|
|
232
226
|
functionFragment: "getAccountIntents",
|
|
233
227
|
values: [PromiseOrValue<string>]
|
|
@@ -257,10 +251,6 @@ export interface ProtocolViewerInterface extends utils.Interface {
|
|
|
257
251
|
functionFragment: "escrowContract",
|
|
258
252
|
data: BytesLike
|
|
259
253
|
): Result;
|
|
260
|
-
decodeFunctionResult(
|
|
261
|
-
functionFragment: "getAccountDeposits",
|
|
262
|
-
data: BytesLike
|
|
263
|
-
): Result;
|
|
264
254
|
decodeFunctionResult(
|
|
265
255
|
functionFragment: "getAccountIntents",
|
|
266
256
|
data: BytesLike
|
|
@@ -309,15 +299,6 @@ export interface ProtocolViewer extends BaseContract {
|
|
|
309
299
|
functions: {
|
|
310
300
|
escrowContract(overrides?: CallOverrides): Promise<[string]>;
|
|
311
301
|
|
|
312
|
-
getAccountDeposits(
|
|
313
|
-
_account: PromiseOrValue<string>,
|
|
314
|
-
overrides?: CallOverrides
|
|
315
|
-
): Promise<
|
|
316
|
-
[IProtocolViewer.DepositViewStructOutput[]] & {
|
|
317
|
-
depositArray: IProtocolViewer.DepositViewStructOutput[];
|
|
318
|
-
}
|
|
319
|
-
>;
|
|
320
|
-
|
|
321
302
|
getAccountIntents(
|
|
322
303
|
_account: PromiseOrValue<string>,
|
|
323
304
|
overrides?: CallOverrides
|
|
@@ -368,11 +349,6 @@ export interface ProtocolViewer extends BaseContract {
|
|
|
368
349
|
|
|
369
350
|
escrowContract(overrides?: CallOverrides): Promise<string>;
|
|
370
351
|
|
|
371
|
-
getAccountDeposits(
|
|
372
|
-
_account: PromiseOrValue<string>,
|
|
373
|
-
overrides?: CallOverrides
|
|
374
|
-
): Promise<IProtocolViewer.DepositViewStructOutput[]>;
|
|
375
|
-
|
|
376
352
|
getAccountIntents(
|
|
377
353
|
_account: PromiseOrValue<string>,
|
|
378
354
|
overrides?: CallOverrides
|
|
@@ -403,11 +379,6 @@ export interface ProtocolViewer extends BaseContract {
|
|
|
403
379
|
callStatic: {
|
|
404
380
|
escrowContract(overrides?: CallOverrides): Promise<string>;
|
|
405
381
|
|
|
406
|
-
getAccountDeposits(
|
|
407
|
-
_account: PromiseOrValue<string>,
|
|
408
|
-
overrides?: CallOverrides
|
|
409
|
-
): Promise<IProtocolViewer.DepositViewStructOutput[]>;
|
|
410
|
-
|
|
411
382
|
getAccountIntents(
|
|
412
383
|
_account: PromiseOrValue<string>,
|
|
413
384
|
overrides?: CallOverrides
|
|
@@ -441,11 +412,6 @@ export interface ProtocolViewer extends BaseContract {
|
|
|
441
412
|
estimateGas: {
|
|
442
413
|
escrowContract(overrides?: CallOverrides): Promise<BigNumber>;
|
|
443
414
|
|
|
444
|
-
getAccountDeposits(
|
|
445
|
-
_account: PromiseOrValue<string>,
|
|
446
|
-
overrides?: CallOverrides
|
|
447
|
-
): Promise<BigNumber>;
|
|
448
|
-
|
|
449
415
|
getAccountIntents(
|
|
450
416
|
_account: PromiseOrValue<string>,
|
|
451
417
|
overrides?: CallOverrides
|
|
@@ -477,11 +443,6 @@ export interface ProtocolViewer extends BaseContract {
|
|
|
477
443
|
populateTransaction: {
|
|
478
444
|
escrowContract(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
479
445
|
|
|
480
|
-
getAccountDeposits(
|
|
481
|
-
_account: PromiseOrValue<string>,
|
|
482
|
-
overrides?: CallOverrides
|
|
483
|
-
): Promise<PopulatedTransaction>;
|
|
484
|
-
|
|
485
446
|
getAccountIntents(
|
|
486
447
|
_account: PromiseOrValue<string>,
|
|
487
448
|
overrides?: CallOverrides
|
|
@@ -0,0 +1,458 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type {
|
|
5
|
+
BaseContract,
|
|
6
|
+
BigNumber,
|
|
7
|
+
BigNumberish,
|
|
8
|
+
BytesLike,
|
|
9
|
+
CallOverrides,
|
|
10
|
+
PopulatedTransaction,
|
|
11
|
+
Signer,
|
|
12
|
+
utils,
|
|
13
|
+
} from "ethers";
|
|
14
|
+
import type { FunctionFragment, Result } from "@ethersproject/abi";
|
|
15
|
+
import type { Listener, Provider } from "@ethersproject/providers";
|
|
16
|
+
import type {
|
|
17
|
+
TypedEventFilter,
|
|
18
|
+
TypedEvent,
|
|
19
|
+
TypedListener,
|
|
20
|
+
OnEvent,
|
|
21
|
+
PromiseOrValue,
|
|
22
|
+
} from "../common";
|
|
23
|
+
|
|
24
|
+
export declare namespace IOrchestratorV2 {
|
|
25
|
+
export type IntentStruct = {
|
|
26
|
+
owner: PromiseOrValue<string>;
|
|
27
|
+
to: PromiseOrValue<string>;
|
|
28
|
+
escrow: PromiseOrValue<string>;
|
|
29
|
+
depositId: PromiseOrValue<BigNumberish>;
|
|
30
|
+
amount: PromiseOrValue<BigNumberish>;
|
|
31
|
+
timestamp: PromiseOrValue<BigNumberish>;
|
|
32
|
+
paymentMethod: PromiseOrValue<BytesLike>;
|
|
33
|
+
fiatCurrency: PromiseOrValue<BytesLike>;
|
|
34
|
+
conversionRate: PromiseOrValue<BigNumberish>;
|
|
35
|
+
payeeId: PromiseOrValue<BytesLike>;
|
|
36
|
+
referrer: PromiseOrValue<string>;
|
|
37
|
+
referrerFee: PromiseOrValue<BigNumberish>;
|
|
38
|
+
postIntentHook: PromiseOrValue<string>;
|
|
39
|
+
data: PromiseOrValue<BytesLike>;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export type IntentStructOutput = [
|
|
43
|
+
string,
|
|
44
|
+
string,
|
|
45
|
+
string,
|
|
46
|
+
BigNumber,
|
|
47
|
+
BigNumber,
|
|
48
|
+
BigNumber,
|
|
49
|
+
string,
|
|
50
|
+
string,
|
|
51
|
+
BigNumber,
|
|
52
|
+
string,
|
|
53
|
+
string,
|
|
54
|
+
BigNumber,
|
|
55
|
+
string,
|
|
56
|
+
string
|
|
57
|
+
] & {
|
|
58
|
+
owner: string;
|
|
59
|
+
to: string;
|
|
60
|
+
escrow: string;
|
|
61
|
+
depositId: BigNumber;
|
|
62
|
+
amount: BigNumber;
|
|
63
|
+
timestamp: BigNumber;
|
|
64
|
+
paymentMethod: string;
|
|
65
|
+
fiatCurrency: string;
|
|
66
|
+
conversionRate: BigNumber;
|
|
67
|
+
payeeId: string;
|
|
68
|
+
referrer: string;
|
|
69
|
+
referrerFee: BigNumber;
|
|
70
|
+
postIntentHook: string;
|
|
71
|
+
data: string;
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export declare namespace IEscrow {
|
|
76
|
+
export type RangeStruct = {
|
|
77
|
+
min: PromiseOrValue<BigNumberish>;
|
|
78
|
+
max: PromiseOrValue<BigNumberish>;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
export type RangeStructOutput = [BigNumber, BigNumber] & {
|
|
82
|
+
min: BigNumber;
|
|
83
|
+
max: BigNumber;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
export type DepositStruct = {
|
|
87
|
+
depositor: PromiseOrValue<string>;
|
|
88
|
+
delegate: PromiseOrValue<string>;
|
|
89
|
+
token: PromiseOrValue<string>;
|
|
90
|
+
intentAmountRange: IEscrow.RangeStruct;
|
|
91
|
+
acceptingIntents: PromiseOrValue<boolean>;
|
|
92
|
+
remainingDeposits: PromiseOrValue<BigNumberish>;
|
|
93
|
+
outstandingIntentAmount: PromiseOrValue<BigNumberish>;
|
|
94
|
+
intentGuardian: PromiseOrValue<string>;
|
|
95
|
+
retainOnEmpty: PromiseOrValue<boolean>;
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
export type DepositStructOutput = [
|
|
99
|
+
string,
|
|
100
|
+
string,
|
|
101
|
+
string,
|
|
102
|
+
IEscrow.RangeStructOutput,
|
|
103
|
+
boolean,
|
|
104
|
+
BigNumber,
|
|
105
|
+
BigNumber,
|
|
106
|
+
string,
|
|
107
|
+
boolean
|
|
108
|
+
] & {
|
|
109
|
+
depositor: string;
|
|
110
|
+
delegate: string;
|
|
111
|
+
token: string;
|
|
112
|
+
intentAmountRange: IEscrow.RangeStructOutput;
|
|
113
|
+
acceptingIntents: boolean;
|
|
114
|
+
remainingDeposits: BigNumber;
|
|
115
|
+
outstandingIntentAmount: BigNumber;
|
|
116
|
+
intentGuardian: string;
|
|
117
|
+
retainOnEmpty: boolean;
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
export type DepositPaymentMethodDataStruct = {
|
|
121
|
+
intentGatingService: PromiseOrValue<string>;
|
|
122
|
+
payeeDetails: PromiseOrValue<BytesLike>;
|
|
123
|
+
data: PromiseOrValue<BytesLike>;
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
export type DepositPaymentMethodDataStructOutput = [
|
|
127
|
+
string,
|
|
128
|
+
string,
|
|
129
|
+
string
|
|
130
|
+
] & { intentGatingService: string; payeeDetails: string; data: string };
|
|
131
|
+
|
|
132
|
+
export type CurrencyStruct = {
|
|
133
|
+
code: PromiseOrValue<BytesLike>;
|
|
134
|
+
minConversionRate: PromiseOrValue<BigNumberish>;
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
export type CurrencyStructOutput = [string, BigNumber] & {
|
|
138
|
+
code: string;
|
|
139
|
+
minConversionRate: BigNumber;
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export declare namespace IProtocolViewerV2 {
|
|
144
|
+
export type PaymentMethodDataViewStruct = {
|
|
145
|
+
paymentMethod: PromiseOrValue<BytesLike>;
|
|
146
|
+
verificationData: IEscrow.DepositPaymentMethodDataStruct;
|
|
147
|
+
currencies: IEscrow.CurrencyStruct[];
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
export type PaymentMethodDataViewStructOutput = [
|
|
151
|
+
string,
|
|
152
|
+
IEscrow.DepositPaymentMethodDataStructOutput,
|
|
153
|
+
IEscrow.CurrencyStructOutput[]
|
|
154
|
+
] & {
|
|
155
|
+
paymentMethod: string;
|
|
156
|
+
verificationData: IEscrow.DepositPaymentMethodDataStructOutput;
|
|
157
|
+
currencies: IEscrow.CurrencyStructOutput[];
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
export type DepositViewStruct = {
|
|
161
|
+
depositId: PromiseOrValue<BigNumberish>;
|
|
162
|
+
deposit: IEscrow.DepositStruct;
|
|
163
|
+
availableLiquidity: PromiseOrValue<BigNumberish>;
|
|
164
|
+
paymentMethods: IProtocolViewerV2.PaymentMethodDataViewStruct[];
|
|
165
|
+
intentHashes: PromiseOrValue<BytesLike>[];
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
export type DepositViewStructOutput = [
|
|
169
|
+
BigNumber,
|
|
170
|
+
IEscrow.DepositStructOutput,
|
|
171
|
+
BigNumber,
|
|
172
|
+
IProtocolViewerV2.PaymentMethodDataViewStructOutput[],
|
|
173
|
+
string[]
|
|
174
|
+
] & {
|
|
175
|
+
depositId: BigNumber;
|
|
176
|
+
deposit: IEscrow.DepositStructOutput;
|
|
177
|
+
availableLiquidity: BigNumber;
|
|
178
|
+
paymentMethods: IProtocolViewerV2.PaymentMethodDataViewStructOutput[];
|
|
179
|
+
intentHashes: string[];
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
export type IntentViewStruct = {
|
|
183
|
+
intentHash: PromiseOrValue<BytesLike>;
|
|
184
|
+
intent: IOrchestratorV2.IntentStruct;
|
|
185
|
+
deposit: IProtocolViewerV2.DepositViewStruct;
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
export type IntentViewStructOutput = [
|
|
189
|
+
string,
|
|
190
|
+
IOrchestratorV2.IntentStructOutput,
|
|
191
|
+
IProtocolViewerV2.DepositViewStructOutput
|
|
192
|
+
] & {
|
|
193
|
+
intentHash: string;
|
|
194
|
+
intent: IOrchestratorV2.IntentStructOutput;
|
|
195
|
+
deposit: IProtocolViewerV2.DepositViewStructOutput;
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export interface ProtocolViewerV2Interface extends utils.Interface {
|
|
200
|
+
functions: {
|
|
201
|
+
"getAccountIntents(address,address)": FunctionFragment;
|
|
202
|
+
"getDeposit(address,uint256)": FunctionFragment;
|
|
203
|
+
"getDepositFromIds(address,uint256[])": FunctionFragment;
|
|
204
|
+
"getIntent(address,bytes32)": FunctionFragment;
|
|
205
|
+
"getIntents(address,bytes32[])": FunctionFragment;
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
getFunction(
|
|
209
|
+
nameOrSignatureOrTopic:
|
|
210
|
+
| "getAccountIntents"
|
|
211
|
+
| "getDeposit"
|
|
212
|
+
| "getDepositFromIds"
|
|
213
|
+
| "getIntent"
|
|
214
|
+
| "getIntents"
|
|
215
|
+
): FunctionFragment;
|
|
216
|
+
|
|
217
|
+
encodeFunctionData(
|
|
218
|
+
functionFragment: "getAccountIntents",
|
|
219
|
+
values: [PromiseOrValue<string>, PromiseOrValue<string>]
|
|
220
|
+
): string;
|
|
221
|
+
encodeFunctionData(
|
|
222
|
+
functionFragment: "getDeposit",
|
|
223
|
+
values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]
|
|
224
|
+
): string;
|
|
225
|
+
encodeFunctionData(
|
|
226
|
+
functionFragment: "getDepositFromIds",
|
|
227
|
+
values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>[]]
|
|
228
|
+
): string;
|
|
229
|
+
encodeFunctionData(
|
|
230
|
+
functionFragment: "getIntent",
|
|
231
|
+
values: [PromiseOrValue<string>, PromiseOrValue<BytesLike>]
|
|
232
|
+
): string;
|
|
233
|
+
encodeFunctionData(
|
|
234
|
+
functionFragment: "getIntents",
|
|
235
|
+
values: [PromiseOrValue<string>, PromiseOrValue<BytesLike>[]]
|
|
236
|
+
): string;
|
|
237
|
+
|
|
238
|
+
decodeFunctionResult(
|
|
239
|
+
functionFragment: "getAccountIntents",
|
|
240
|
+
data: BytesLike
|
|
241
|
+
): Result;
|
|
242
|
+
decodeFunctionResult(functionFragment: "getDeposit", data: BytesLike): Result;
|
|
243
|
+
decodeFunctionResult(
|
|
244
|
+
functionFragment: "getDepositFromIds",
|
|
245
|
+
data: BytesLike
|
|
246
|
+
): Result;
|
|
247
|
+
decodeFunctionResult(functionFragment: "getIntent", data: BytesLike): Result;
|
|
248
|
+
decodeFunctionResult(functionFragment: "getIntents", data: BytesLike): Result;
|
|
249
|
+
|
|
250
|
+
events: {};
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export interface ProtocolViewerV2 extends BaseContract {
|
|
254
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
255
|
+
attach(addressOrName: string): this;
|
|
256
|
+
deployed(): Promise<this>;
|
|
257
|
+
|
|
258
|
+
interface: ProtocolViewerV2Interface;
|
|
259
|
+
|
|
260
|
+
queryFilter<TEvent extends TypedEvent>(
|
|
261
|
+
event: TypedEventFilter<TEvent>,
|
|
262
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
263
|
+
toBlock?: string | number | undefined
|
|
264
|
+
): Promise<Array<TEvent>>;
|
|
265
|
+
|
|
266
|
+
listeners<TEvent extends TypedEvent>(
|
|
267
|
+
eventFilter?: TypedEventFilter<TEvent>
|
|
268
|
+
): Array<TypedListener<TEvent>>;
|
|
269
|
+
listeners(eventName?: string): Array<Listener>;
|
|
270
|
+
removeAllListeners<TEvent extends TypedEvent>(
|
|
271
|
+
eventFilter: TypedEventFilter<TEvent>
|
|
272
|
+
): this;
|
|
273
|
+
removeAllListeners(eventName?: string): this;
|
|
274
|
+
off: OnEvent<this>;
|
|
275
|
+
on: OnEvent<this>;
|
|
276
|
+
once: OnEvent<this>;
|
|
277
|
+
removeListener: OnEvent<this>;
|
|
278
|
+
|
|
279
|
+
functions: {
|
|
280
|
+
getAccountIntents(
|
|
281
|
+
_orchestrator: PromiseOrValue<string>,
|
|
282
|
+
_account: PromiseOrValue<string>,
|
|
283
|
+
overrides?: CallOverrides
|
|
284
|
+
): Promise<
|
|
285
|
+
[IProtocolViewerV2.IntentViewStructOutput[]] & {
|
|
286
|
+
intentViews: IProtocolViewerV2.IntentViewStructOutput[];
|
|
287
|
+
}
|
|
288
|
+
>;
|
|
289
|
+
|
|
290
|
+
getDeposit(
|
|
291
|
+
_escrow: PromiseOrValue<string>,
|
|
292
|
+
_depositId: PromiseOrValue<BigNumberish>,
|
|
293
|
+
overrides?: CallOverrides
|
|
294
|
+
): Promise<
|
|
295
|
+
[IProtocolViewerV2.DepositViewStructOutput] & {
|
|
296
|
+
depositView: IProtocolViewerV2.DepositViewStructOutput;
|
|
297
|
+
}
|
|
298
|
+
>;
|
|
299
|
+
|
|
300
|
+
getDepositFromIds(
|
|
301
|
+
_escrow: PromiseOrValue<string>,
|
|
302
|
+
_depositIds: PromiseOrValue<BigNumberish>[],
|
|
303
|
+
overrides?: CallOverrides
|
|
304
|
+
): Promise<
|
|
305
|
+
[IProtocolViewerV2.DepositViewStructOutput[]] & {
|
|
306
|
+
depositArray: IProtocolViewerV2.DepositViewStructOutput[];
|
|
307
|
+
}
|
|
308
|
+
>;
|
|
309
|
+
|
|
310
|
+
getIntent(
|
|
311
|
+
_orchestrator: PromiseOrValue<string>,
|
|
312
|
+
_intentHash: PromiseOrValue<BytesLike>,
|
|
313
|
+
overrides?: CallOverrides
|
|
314
|
+
): Promise<
|
|
315
|
+
[IProtocolViewerV2.IntentViewStructOutput] & {
|
|
316
|
+
intentView: IProtocolViewerV2.IntentViewStructOutput;
|
|
317
|
+
}
|
|
318
|
+
>;
|
|
319
|
+
|
|
320
|
+
getIntents(
|
|
321
|
+
_orchestrator: PromiseOrValue<string>,
|
|
322
|
+
_intentHashes: PromiseOrValue<BytesLike>[],
|
|
323
|
+
overrides?: CallOverrides
|
|
324
|
+
): Promise<
|
|
325
|
+
[IProtocolViewerV2.IntentViewStructOutput[]] & {
|
|
326
|
+
intentArray: IProtocolViewerV2.IntentViewStructOutput[];
|
|
327
|
+
}
|
|
328
|
+
>;
|
|
329
|
+
};
|
|
330
|
+
|
|
331
|
+
getAccountIntents(
|
|
332
|
+
_orchestrator: PromiseOrValue<string>,
|
|
333
|
+
_account: PromiseOrValue<string>,
|
|
334
|
+
overrides?: CallOverrides
|
|
335
|
+
): Promise<IProtocolViewerV2.IntentViewStructOutput[]>;
|
|
336
|
+
|
|
337
|
+
getDeposit(
|
|
338
|
+
_escrow: PromiseOrValue<string>,
|
|
339
|
+
_depositId: PromiseOrValue<BigNumberish>,
|
|
340
|
+
overrides?: CallOverrides
|
|
341
|
+
): Promise<IProtocolViewerV2.DepositViewStructOutput>;
|
|
342
|
+
|
|
343
|
+
getDepositFromIds(
|
|
344
|
+
_escrow: PromiseOrValue<string>,
|
|
345
|
+
_depositIds: PromiseOrValue<BigNumberish>[],
|
|
346
|
+
overrides?: CallOverrides
|
|
347
|
+
): Promise<IProtocolViewerV2.DepositViewStructOutput[]>;
|
|
348
|
+
|
|
349
|
+
getIntent(
|
|
350
|
+
_orchestrator: PromiseOrValue<string>,
|
|
351
|
+
_intentHash: PromiseOrValue<BytesLike>,
|
|
352
|
+
overrides?: CallOverrides
|
|
353
|
+
): Promise<IProtocolViewerV2.IntentViewStructOutput>;
|
|
354
|
+
|
|
355
|
+
getIntents(
|
|
356
|
+
_orchestrator: PromiseOrValue<string>,
|
|
357
|
+
_intentHashes: PromiseOrValue<BytesLike>[],
|
|
358
|
+
overrides?: CallOverrides
|
|
359
|
+
): Promise<IProtocolViewerV2.IntentViewStructOutput[]>;
|
|
360
|
+
|
|
361
|
+
callStatic: {
|
|
362
|
+
getAccountIntents(
|
|
363
|
+
_orchestrator: PromiseOrValue<string>,
|
|
364
|
+
_account: PromiseOrValue<string>,
|
|
365
|
+
overrides?: CallOverrides
|
|
366
|
+
): Promise<IProtocolViewerV2.IntentViewStructOutput[]>;
|
|
367
|
+
|
|
368
|
+
getDeposit(
|
|
369
|
+
_escrow: PromiseOrValue<string>,
|
|
370
|
+
_depositId: PromiseOrValue<BigNumberish>,
|
|
371
|
+
overrides?: CallOverrides
|
|
372
|
+
): Promise<IProtocolViewerV2.DepositViewStructOutput>;
|
|
373
|
+
|
|
374
|
+
getDepositFromIds(
|
|
375
|
+
_escrow: PromiseOrValue<string>,
|
|
376
|
+
_depositIds: PromiseOrValue<BigNumberish>[],
|
|
377
|
+
overrides?: CallOverrides
|
|
378
|
+
): Promise<IProtocolViewerV2.DepositViewStructOutput[]>;
|
|
379
|
+
|
|
380
|
+
getIntent(
|
|
381
|
+
_orchestrator: PromiseOrValue<string>,
|
|
382
|
+
_intentHash: PromiseOrValue<BytesLike>,
|
|
383
|
+
overrides?: CallOverrides
|
|
384
|
+
): Promise<IProtocolViewerV2.IntentViewStructOutput>;
|
|
385
|
+
|
|
386
|
+
getIntents(
|
|
387
|
+
_orchestrator: PromiseOrValue<string>,
|
|
388
|
+
_intentHashes: PromiseOrValue<BytesLike>[],
|
|
389
|
+
overrides?: CallOverrides
|
|
390
|
+
): Promise<IProtocolViewerV2.IntentViewStructOutput[]>;
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
filters: {};
|
|
394
|
+
|
|
395
|
+
estimateGas: {
|
|
396
|
+
getAccountIntents(
|
|
397
|
+
_orchestrator: PromiseOrValue<string>,
|
|
398
|
+
_account: PromiseOrValue<string>,
|
|
399
|
+
overrides?: CallOverrides
|
|
400
|
+
): Promise<BigNumber>;
|
|
401
|
+
|
|
402
|
+
getDeposit(
|
|
403
|
+
_escrow: PromiseOrValue<string>,
|
|
404
|
+
_depositId: PromiseOrValue<BigNumberish>,
|
|
405
|
+
overrides?: CallOverrides
|
|
406
|
+
): Promise<BigNumber>;
|
|
407
|
+
|
|
408
|
+
getDepositFromIds(
|
|
409
|
+
_escrow: PromiseOrValue<string>,
|
|
410
|
+
_depositIds: PromiseOrValue<BigNumberish>[],
|
|
411
|
+
overrides?: CallOverrides
|
|
412
|
+
): Promise<BigNumber>;
|
|
413
|
+
|
|
414
|
+
getIntent(
|
|
415
|
+
_orchestrator: PromiseOrValue<string>,
|
|
416
|
+
_intentHash: PromiseOrValue<BytesLike>,
|
|
417
|
+
overrides?: CallOverrides
|
|
418
|
+
): Promise<BigNumber>;
|
|
419
|
+
|
|
420
|
+
getIntents(
|
|
421
|
+
_orchestrator: PromiseOrValue<string>,
|
|
422
|
+
_intentHashes: PromiseOrValue<BytesLike>[],
|
|
423
|
+
overrides?: CallOverrides
|
|
424
|
+
): Promise<BigNumber>;
|
|
425
|
+
};
|
|
426
|
+
|
|
427
|
+
populateTransaction: {
|
|
428
|
+
getAccountIntents(
|
|
429
|
+
_orchestrator: PromiseOrValue<string>,
|
|
430
|
+
_account: PromiseOrValue<string>,
|
|
431
|
+
overrides?: CallOverrides
|
|
432
|
+
): Promise<PopulatedTransaction>;
|
|
433
|
+
|
|
434
|
+
getDeposit(
|
|
435
|
+
_escrow: PromiseOrValue<string>,
|
|
436
|
+
_depositId: PromiseOrValue<BigNumberish>,
|
|
437
|
+
overrides?: CallOverrides
|
|
438
|
+
): Promise<PopulatedTransaction>;
|
|
439
|
+
|
|
440
|
+
getDepositFromIds(
|
|
441
|
+
_escrow: PromiseOrValue<string>,
|
|
442
|
+
_depositIds: PromiseOrValue<BigNumberish>[],
|
|
443
|
+
overrides?: CallOverrides
|
|
444
|
+
): Promise<PopulatedTransaction>;
|
|
445
|
+
|
|
446
|
+
getIntent(
|
|
447
|
+
_orchestrator: PromiseOrValue<string>,
|
|
448
|
+
_intentHash: PromiseOrValue<BytesLike>,
|
|
449
|
+
overrides?: CallOverrides
|
|
450
|
+
): Promise<PopulatedTransaction>;
|
|
451
|
+
|
|
452
|
+
getIntents(
|
|
453
|
+
_orchestrator: PromiseOrValue<string>,
|
|
454
|
+
_intentHashes: PromiseOrValue<BytesLike>[],
|
|
455
|
+
overrides?: CallOverrides
|
|
456
|
+
): Promise<PopulatedTransaction>;
|
|
457
|
+
};
|
|
458
|
+
}
|