@zkp2p/contracts-v2 0.0.11 → 0.1.11-rc.2
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/{baseSepolia/Escrow.js → baseStaging/EscrowV2.js} +796 -309
- package/{abis/baseSepolia/Escrow.json → _cjs/abis/baseStaging/EscrowV2.json} +796 -309
- 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} +149 -198
- package/{_esm/abis/baseSepolia/ProtocolViewer.json → _cjs/abis/baseStaging/ProtocolViewerV2.json} +149 -198
- package/_cjs/abis/baseStaging/RateManagerV1.js +1131 -0
- package/_cjs/abis/baseStaging/RateManagerV1.json +1129 -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 +315 -0
- package/_cjs/abis/baseStaging/WhitelistPreIntentHook.json +313 -0
- package/_cjs/abis/baseStaging/index.js +9 -0
- package/_cjs/abis/baseStaging.cjs +10 -1
- package/_cjs/abis/baseStaging.mjs +9 -0
- package/_cjs/abis/index.js +0 -1
- package/_cjs/addresses/base.js +12 -3
- package/_cjs/addresses/base.json +12 -3
- package/_cjs/addresses/baseStaging.js +12 -3
- package/_cjs/addresses/baseStaging.json +12 -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 +3326 -0
- package/_cjs/types/contracts/OrchestratorV2.js +1551 -0
- package/_cjs/types/contracts/ProtocolViewer.js +227 -3
- package/_cjs/types/contracts/RateManagerV1.js +1393 -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 +5 -0
- package/_cjs/types/contracts/interfaces/IChainlinkAggregatorV3.js +132 -0
- package/_cjs/types/contracts/interfaces/IEscrowV2.js +2028 -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/IProtocolViewer.js +75 -1
- package/_cjs/types/contracts/interfaces/IRateManager.js +254 -0
- package/_cjs/types/contracts/interfaces/index.js +8 -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/{baseSepolia/Escrow.js → baseStaging/EscrowV2.js} +796 -309
- package/{_cjs/abis/baseSepolia/Escrow.json → _esm/abis/baseStaging/EscrowV2.json} +796 -309
- 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} +149 -198
- package/{abis/baseSepolia/ProtocolViewer.json → _esm/abis/baseStaging/ProtocolViewerV2.json} +149 -198
- package/_esm/abis/baseStaging/RateManagerV1.js +1130 -0
- package/_esm/abis/baseStaging/RateManagerV1.json +1129 -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 +314 -0
- package/_esm/abis/baseStaging/WhitelistPreIntentHook.json +313 -0
- package/_esm/abis/baseStaging/index.js +9 -0
- package/_esm/abis/baseStaging.cjs +10 -1
- package/_esm/abis/baseStaging.mjs +9 -0
- package/_esm/abis/index.js +0 -1
- package/_esm/addresses/base.js +12 -3
- package/_esm/addresses/base.json +12 -3
- package/_esm/addresses/baseStaging.js +12 -3
- package/_esm/addresses/baseStaging.json +12 -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 +3326 -0
- package/_esm/types/contracts/OrchestratorV2.js +1551 -0
- package/_esm/types/contracts/ProtocolViewer.js +227 -3
- package/_esm/types/contracts/RateManagerV1.js +1393 -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 +5 -0
- package/_esm/types/contracts/interfaces/IChainlinkAggregatorV3.js +132 -0
- package/_esm/types/contracts/interfaces/IEscrowV2.js +2028 -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/IProtocolViewer.js +75 -1
- package/_esm/types/contracts/interfaces/IRateManager.js +254 -0
- package/_esm/types/contracts/interfaces/index.js +8 -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 +9 -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/{_esm/abis/baseSepolia/Escrow.json → abis/baseStaging/EscrowV2.json} +796 -309
- 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} +149 -198
- package/abis/baseStaging/RateManagerV1.json +1129 -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 +313 -0
- package/abis/baseStaging/index.ts +9 -0
- package/abis/baseStaging.cjs +10 -1
- package/abis/baseStaging.d.ts +9 -0
- package/abis/baseStaging.mjs +9 -0
- package/abis/index.ts +0 -1
- package/addresses/base.json +12 -3
- package/addresses/baseStaging.json +12 -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 +3326 -0
- package/types/contracts/OrchestratorV2.ts +1551 -0
- package/types/contracts/ProtocolViewer.ts +227 -3
- package/types/contracts/RateManagerV1.ts +1393 -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 +5 -0
- package/types/contracts/interfaces/IChainlinkAggregatorV3.ts +132 -0
- package/types/contracts/interfaces/IEscrowV2.ts +2028 -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/IProtocolViewer.ts +75 -1
- package/types/contracts/interfaces/IRateManager.ts +254 -0
- package/types/contracts/interfaces/index.ts +8 -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
|
@@ -27,8 +27,8 @@ import type {
|
|
|
27
27
|
PromiseOrValue,
|
|
28
28
|
} from "../../common";
|
|
29
29
|
|
|
30
|
-
export declare namespace
|
|
31
|
-
export type
|
|
30
|
+
export declare namespace IPostIntentHookV2 {
|
|
31
|
+
export type HookIntentContextStruct = {
|
|
32
32
|
owner: PromiseOrValue<string>;
|
|
33
33
|
to: PromiseOrValue<string>;
|
|
34
34
|
escrow: PromiseOrValue<string>;
|
|
@@ -39,13 +39,10 @@ export declare namespace IOrchestrator {
|
|
|
39
39
|
fiatCurrency: PromiseOrValue<BytesLike>;
|
|
40
40
|
conversionRate: PromiseOrValue<BigNumberish>;
|
|
41
41
|
payeeId: PromiseOrValue<BytesLike>;
|
|
42
|
-
|
|
43
|
-
referrerFee: PromiseOrValue<BigNumberish>;
|
|
44
|
-
postIntentHook: PromiseOrValue<string>;
|
|
45
|
-
data: PromiseOrValue<BytesLike>;
|
|
42
|
+
signalHookData: PromiseOrValue<BytesLike>;
|
|
46
43
|
};
|
|
47
44
|
|
|
48
|
-
export type
|
|
45
|
+
export type HookIntentContextStructOutput = [
|
|
49
46
|
string,
|
|
50
47
|
string,
|
|
51
48
|
string,
|
|
@@ -56,9 +53,6 @@ export declare namespace IOrchestrator {
|
|
|
56
53
|
string,
|
|
57
54
|
BigNumber,
|
|
58
55
|
string,
|
|
59
|
-
string,
|
|
60
|
-
BigNumber,
|
|
61
|
-
string,
|
|
62
56
|
string
|
|
63
57
|
] & {
|
|
64
58
|
owner: string;
|
|
@@ -71,16 +65,32 @@ export declare namespace IOrchestrator {
|
|
|
71
65
|
fiatCurrency: string;
|
|
72
66
|
conversionRate: BigNumber;
|
|
73
67
|
payeeId: string;
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
68
|
+
signalHookData: string;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
export type HookExecutionContextStruct = {
|
|
72
|
+
intentHash: PromiseOrValue<BytesLike>;
|
|
73
|
+
token: PromiseOrValue<string>;
|
|
74
|
+
executableAmount: PromiseOrValue<BigNumberish>;
|
|
75
|
+
intent: IPostIntentHookV2.HookIntentContextStruct;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
export type HookExecutionContextStructOutput = [
|
|
79
|
+
string,
|
|
80
|
+
string,
|
|
81
|
+
BigNumber,
|
|
82
|
+
IPostIntentHookV2.HookIntentContextStructOutput
|
|
83
|
+
] & {
|
|
84
|
+
intentHash: string;
|
|
85
|
+
token: string;
|
|
86
|
+
executableAmount: BigNumber;
|
|
87
|
+
intent: IPostIntentHookV2.HookIntentContextStructOutput;
|
|
78
88
|
};
|
|
79
89
|
}
|
|
80
90
|
|
|
81
|
-
export interface
|
|
91
|
+
export interface AcrossBridgeHookV2Interface extends utils.Interface {
|
|
82
92
|
functions: {
|
|
83
|
-
"execute((address,address,address,uint256,uint256,uint256,bytes32,bytes32,uint256,bytes32,
|
|
93
|
+
"execute((bytes32,address,uint256,(address,address,address,uint256,uint256,uint256,bytes32,bytes32,uint256,bytes32,bytes)),bytes)": FunctionFragment;
|
|
84
94
|
"inputToken()": FunctionFragment;
|
|
85
95
|
"orchestrator()": FunctionFragment;
|
|
86
96
|
"owner()": FunctionFragment;
|
|
@@ -88,7 +98,6 @@ export interface AcrossSwapBridgeHookInterface extends utils.Interface {
|
|
|
88
98
|
"rescueERC20(address,address,uint256)": FunctionFragment;
|
|
89
99
|
"rescueNative(address,uint256)": FunctionFragment;
|
|
90
100
|
"spokePool()": FunctionFragment;
|
|
91
|
-
"spokePoolPeriphery()": FunctionFragment;
|
|
92
101
|
"transferOwnership(address)": FunctionFragment;
|
|
93
102
|
};
|
|
94
103
|
|
|
@@ -102,15 +111,13 @@ export interface AcrossSwapBridgeHookInterface extends utils.Interface {
|
|
|
102
111
|
| "rescueERC20"
|
|
103
112
|
| "rescueNative"
|
|
104
113
|
| "spokePool"
|
|
105
|
-
| "spokePoolPeriphery"
|
|
106
114
|
| "transferOwnership"
|
|
107
115
|
): FunctionFragment;
|
|
108
116
|
|
|
109
117
|
encodeFunctionData(
|
|
110
118
|
functionFragment: "execute",
|
|
111
119
|
values: [
|
|
112
|
-
|
|
113
|
-
PromiseOrValue<BigNumberish>,
|
|
120
|
+
IPostIntentHookV2.HookExecutionContextStruct,
|
|
114
121
|
PromiseOrValue<BytesLike>
|
|
115
122
|
]
|
|
116
123
|
): string;
|
|
@@ -140,10 +147,6 @@ export interface AcrossSwapBridgeHookInterface extends utils.Interface {
|
|
|
140
147
|
values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]
|
|
141
148
|
): string;
|
|
142
149
|
encodeFunctionData(functionFragment: "spokePool", values?: undefined): string;
|
|
143
|
-
encodeFunctionData(
|
|
144
|
-
functionFragment: "spokePoolPeriphery",
|
|
145
|
-
values?: undefined
|
|
146
|
-
): string;
|
|
147
150
|
encodeFunctionData(
|
|
148
151
|
functionFragment: "transferOwnership",
|
|
149
152
|
values: [PromiseOrValue<string>]
|
|
@@ -169,45 +172,38 @@ export interface AcrossSwapBridgeHookInterface extends utils.Interface {
|
|
|
169
172
|
data: BytesLike
|
|
170
173
|
): Result;
|
|
171
174
|
decodeFunctionResult(functionFragment: "spokePool", data: BytesLike): Result;
|
|
172
|
-
decodeFunctionResult(
|
|
173
|
-
functionFragment: "spokePoolPeriphery",
|
|
174
|
-
data: BytesLike
|
|
175
|
-
): Result;
|
|
176
175
|
decodeFunctionResult(
|
|
177
176
|
functionFragment: "transferOwnership",
|
|
178
177
|
data: BytesLike
|
|
179
178
|
): Result;
|
|
180
179
|
|
|
181
180
|
events: {
|
|
182
|
-
"
|
|
181
|
+
"AcrossBridgeInitiated(bytes32,uint256,bytes32,bytes32,uint256,uint256,uint32,bytes32,uint32)": EventFragment;
|
|
183
182
|
"FallbackTransfer(bytes32,address,uint256,uint8)": EventFragment;
|
|
184
183
|
"OwnershipTransferred(address,address)": EventFragment;
|
|
185
184
|
"RescueERC20(address,address,uint256)": EventFragment;
|
|
186
185
|
"RescueNative(address,uint256)": EventFragment;
|
|
187
186
|
};
|
|
188
187
|
|
|
189
|
-
getEvent(nameOrSignatureOrTopic: "
|
|
188
|
+
getEvent(nameOrSignatureOrTopic: "AcrossBridgeInitiated"): EventFragment;
|
|
190
189
|
getEvent(nameOrSignatureOrTopic: "FallbackTransfer"): EventFragment;
|
|
191
190
|
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
|
|
192
191
|
getEvent(nameOrSignatureOrTopic: "RescueERC20"): EventFragment;
|
|
193
192
|
getEvent(nameOrSignatureOrTopic: "RescueNative"): EventFragment;
|
|
194
193
|
}
|
|
195
194
|
|
|
196
|
-
export interface
|
|
195
|
+
export interface AcrossBridgeInitiatedEventObject {
|
|
197
196
|
intentHash: string;
|
|
198
197
|
destinationChainId: BigNumber;
|
|
199
198
|
outputToken: string;
|
|
200
199
|
recipient: string;
|
|
201
200
|
inputAmount: BigNumber;
|
|
202
201
|
outputAmount: BigNumber;
|
|
203
|
-
|
|
204
|
-
quoteTimestamp: number;
|
|
205
|
-
fillDeadline: number;
|
|
202
|
+
fillDeadlineOffset: number;
|
|
206
203
|
exclusiveRelayer: string;
|
|
207
204
|
exclusivityParameter: number;
|
|
208
|
-
exchange: string;
|
|
209
205
|
}
|
|
210
|
-
export type
|
|
206
|
+
export type AcrossBridgeInitiatedEvent = TypedEvent<
|
|
211
207
|
[
|
|
212
208
|
string,
|
|
213
209
|
BigNumber,
|
|
@@ -215,18 +211,15 @@ export type AcrossSwapBridgeInitiatedEvent = TypedEvent<
|
|
|
215
211
|
string,
|
|
216
212
|
BigNumber,
|
|
217
213
|
BigNumber,
|
|
218
|
-
BigNumber,
|
|
219
|
-
number,
|
|
220
214
|
number,
|
|
221
215
|
string,
|
|
222
|
-
number
|
|
223
|
-
string
|
|
216
|
+
number
|
|
224
217
|
],
|
|
225
|
-
|
|
218
|
+
AcrossBridgeInitiatedEventObject
|
|
226
219
|
>;
|
|
227
220
|
|
|
228
|
-
export type
|
|
229
|
-
TypedEventFilter<
|
|
221
|
+
export type AcrossBridgeInitiatedEventFilter =
|
|
222
|
+
TypedEventFilter<AcrossBridgeInitiatedEvent>;
|
|
230
223
|
|
|
231
224
|
export interface FallbackTransferEventObject {
|
|
232
225
|
intentHash: string;
|
|
@@ -277,12 +270,12 @@ export type RescueNativeEvent = TypedEvent<
|
|
|
277
270
|
|
|
278
271
|
export type RescueNativeEventFilter = TypedEventFilter<RescueNativeEvent>;
|
|
279
272
|
|
|
280
|
-
export interface
|
|
273
|
+
export interface AcrossBridgeHookV2 extends BaseContract {
|
|
281
274
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
282
275
|
attach(addressOrName: string): this;
|
|
283
276
|
deployed(): Promise<this>;
|
|
284
277
|
|
|
285
|
-
interface:
|
|
278
|
+
interface: AcrossBridgeHookV2Interface;
|
|
286
279
|
|
|
287
280
|
queryFilter<TEvent extends TypedEvent>(
|
|
288
281
|
event: TypedEventFilter<TEvent>,
|
|
@@ -305,9 +298,8 @@ export interface AcrossSwapBridgeHook extends BaseContract {
|
|
|
305
298
|
|
|
306
299
|
functions: {
|
|
307
300
|
execute(
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
_fulfillIntentData: PromiseOrValue<BytesLike>,
|
|
301
|
+
_ctx: IPostIntentHookV2.HookExecutionContextStruct,
|
|
302
|
+
_fulfillHookData: PromiseOrValue<BytesLike>,
|
|
311
303
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
312
304
|
): Promise<ContractTransaction>;
|
|
313
305
|
|
|
@@ -336,8 +328,6 @@ export interface AcrossSwapBridgeHook extends BaseContract {
|
|
|
336
328
|
|
|
337
329
|
spokePool(overrides?: CallOverrides): Promise<[string]>;
|
|
338
330
|
|
|
339
|
-
spokePoolPeriphery(overrides?: CallOverrides): Promise<[string]>;
|
|
340
|
-
|
|
341
331
|
transferOwnership(
|
|
342
332
|
newOwner: PromiseOrValue<string>,
|
|
343
333
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
@@ -345,9 +335,8 @@ export interface AcrossSwapBridgeHook extends BaseContract {
|
|
|
345
335
|
};
|
|
346
336
|
|
|
347
337
|
execute(
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
_fulfillIntentData: PromiseOrValue<BytesLike>,
|
|
338
|
+
_ctx: IPostIntentHookV2.HookExecutionContextStruct,
|
|
339
|
+
_fulfillHookData: PromiseOrValue<BytesLike>,
|
|
351
340
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
352
341
|
): Promise<ContractTransaction>;
|
|
353
342
|
|
|
@@ -376,8 +365,6 @@ export interface AcrossSwapBridgeHook extends BaseContract {
|
|
|
376
365
|
|
|
377
366
|
spokePool(overrides?: CallOverrides): Promise<string>;
|
|
378
367
|
|
|
379
|
-
spokePoolPeriphery(overrides?: CallOverrides): Promise<string>;
|
|
380
|
-
|
|
381
368
|
transferOwnership(
|
|
382
369
|
newOwner: PromiseOrValue<string>,
|
|
383
370
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
@@ -385,9 +372,8 @@ export interface AcrossSwapBridgeHook extends BaseContract {
|
|
|
385
372
|
|
|
386
373
|
callStatic: {
|
|
387
374
|
execute(
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
_fulfillIntentData: PromiseOrValue<BytesLike>,
|
|
375
|
+
_ctx: IPostIntentHookV2.HookExecutionContextStruct,
|
|
376
|
+
_fulfillHookData: PromiseOrValue<BytesLike>,
|
|
391
377
|
overrides?: CallOverrides
|
|
392
378
|
): Promise<void>;
|
|
393
379
|
|
|
@@ -414,8 +400,6 @@ export interface AcrossSwapBridgeHook extends BaseContract {
|
|
|
414
400
|
|
|
415
401
|
spokePool(overrides?: CallOverrides): Promise<string>;
|
|
416
402
|
|
|
417
|
-
spokePoolPeriphery(overrides?: CallOverrides): Promise<string>;
|
|
418
|
-
|
|
419
403
|
transferOwnership(
|
|
420
404
|
newOwner: PromiseOrValue<string>,
|
|
421
405
|
overrides?: CallOverrides
|
|
@@ -423,34 +407,28 @@ export interface AcrossSwapBridgeHook extends BaseContract {
|
|
|
423
407
|
};
|
|
424
408
|
|
|
425
409
|
filters: {
|
|
426
|
-
"
|
|
410
|
+
"AcrossBridgeInitiated(bytes32,uint256,bytes32,bytes32,uint256,uint256,uint32,bytes32,uint32)"(
|
|
427
411
|
intentHash?: PromiseOrValue<BytesLike> | null,
|
|
428
412
|
destinationChainId?: null,
|
|
429
413
|
outputToken?: null,
|
|
430
414
|
recipient?: null,
|
|
431
415
|
inputAmount?: null,
|
|
432
416
|
outputAmount?: null,
|
|
433
|
-
|
|
434
|
-
quoteTimestamp?: null,
|
|
435
|
-
fillDeadline?: null,
|
|
417
|
+
fillDeadlineOffset?: null,
|
|
436
418
|
exclusiveRelayer?: null,
|
|
437
|
-
exclusivityParameter?: null
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
AcrossSwapBridgeInitiated(
|
|
419
|
+
exclusivityParameter?: null
|
|
420
|
+
): AcrossBridgeInitiatedEventFilter;
|
|
421
|
+
AcrossBridgeInitiated(
|
|
441
422
|
intentHash?: PromiseOrValue<BytesLike> | null,
|
|
442
423
|
destinationChainId?: null,
|
|
443
424
|
outputToken?: null,
|
|
444
425
|
recipient?: null,
|
|
445
426
|
inputAmount?: null,
|
|
446
427
|
outputAmount?: null,
|
|
447
|
-
|
|
448
|
-
quoteTimestamp?: null,
|
|
449
|
-
fillDeadline?: null,
|
|
428
|
+
fillDeadlineOffset?: null,
|
|
450
429
|
exclusiveRelayer?: null,
|
|
451
|
-
exclusivityParameter?: null
|
|
452
|
-
|
|
453
|
-
): AcrossSwapBridgeInitiatedEventFilter;
|
|
430
|
+
exclusivityParameter?: null
|
|
431
|
+
): AcrossBridgeInitiatedEventFilter;
|
|
454
432
|
|
|
455
433
|
"FallbackTransfer(bytes32,address,uint256,uint8)"(
|
|
456
434
|
intentHash?: PromiseOrValue<BytesLike> | null,
|
|
@@ -497,9 +475,8 @@ export interface AcrossSwapBridgeHook extends BaseContract {
|
|
|
497
475
|
|
|
498
476
|
estimateGas: {
|
|
499
477
|
execute(
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
_fulfillIntentData: PromiseOrValue<BytesLike>,
|
|
478
|
+
_ctx: IPostIntentHookV2.HookExecutionContextStruct,
|
|
479
|
+
_fulfillHookData: PromiseOrValue<BytesLike>,
|
|
503
480
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
504
481
|
): Promise<BigNumber>;
|
|
505
482
|
|
|
@@ -528,8 +505,6 @@ export interface AcrossSwapBridgeHook extends BaseContract {
|
|
|
528
505
|
|
|
529
506
|
spokePool(overrides?: CallOverrides): Promise<BigNumber>;
|
|
530
507
|
|
|
531
|
-
spokePoolPeriphery(overrides?: CallOverrides): Promise<BigNumber>;
|
|
532
|
-
|
|
533
508
|
transferOwnership(
|
|
534
509
|
newOwner: PromiseOrValue<string>,
|
|
535
510
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
@@ -538,9 +513,8 @@ export interface AcrossSwapBridgeHook extends BaseContract {
|
|
|
538
513
|
|
|
539
514
|
populateTransaction: {
|
|
540
515
|
execute(
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
_fulfillIntentData: PromiseOrValue<BytesLike>,
|
|
516
|
+
_ctx: IPostIntentHookV2.HookExecutionContextStruct,
|
|
517
|
+
_fulfillHookData: PromiseOrValue<BytesLike>,
|
|
544
518
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
545
519
|
): Promise<PopulatedTransaction>;
|
|
546
520
|
|
|
@@ -569,10 +543,6 @@ export interface AcrossSwapBridgeHook extends BaseContract {
|
|
|
569
543
|
|
|
570
544
|
spokePool(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
571
545
|
|
|
572
|
-
spokePoolPeriphery(
|
|
573
|
-
overrides?: CallOverrides
|
|
574
|
-
): Promise<PopulatedTransaction>;
|
|
575
|
-
|
|
576
546
|
transferOwnership(
|
|
577
547
|
newOwner: PromiseOrValue<string>,
|
|
578
548
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
@@ -0,0 +1,351 @@
|
|
|
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
|
+
ContractTransaction,
|
|
11
|
+
Overrides,
|
|
12
|
+
PopulatedTransaction,
|
|
13
|
+
Signer,
|
|
14
|
+
utils,
|
|
15
|
+
} from "ethers";
|
|
16
|
+
import type {
|
|
17
|
+
FunctionFragment,
|
|
18
|
+
Result,
|
|
19
|
+
EventFragment,
|
|
20
|
+
} from "@ethersproject/abi";
|
|
21
|
+
import type { Listener, Provider } from "@ethersproject/providers";
|
|
22
|
+
import type {
|
|
23
|
+
TypedEventFilter,
|
|
24
|
+
TypedEvent,
|
|
25
|
+
TypedListener,
|
|
26
|
+
OnEvent,
|
|
27
|
+
PromiseOrValue,
|
|
28
|
+
} from "../../common";
|
|
29
|
+
|
|
30
|
+
export declare namespace IPreIntentHook {
|
|
31
|
+
export type PreIntentContextStruct = {
|
|
32
|
+
taker: PromiseOrValue<string>;
|
|
33
|
+
escrow: PromiseOrValue<string>;
|
|
34
|
+
depositId: PromiseOrValue<BigNumberish>;
|
|
35
|
+
amount: PromiseOrValue<BigNumberish>;
|
|
36
|
+
to: PromiseOrValue<string>;
|
|
37
|
+
paymentMethod: PromiseOrValue<BytesLike>;
|
|
38
|
+
fiatCurrency: PromiseOrValue<BytesLike>;
|
|
39
|
+
conversionRate: PromiseOrValue<BigNumberish>;
|
|
40
|
+
referrer: PromiseOrValue<string>;
|
|
41
|
+
referrerFee: PromiseOrValue<BigNumberish>;
|
|
42
|
+
preIntentHookData: PromiseOrValue<BytesLike>;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export type PreIntentContextStructOutput = [
|
|
46
|
+
string,
|
|
47
|
+
string,
|
|
48
|
+
BigNumber,
|
|
49
|
+
BigNumber,
|
|
50
|
+
string,
|
|
51
|
+
string,
|
|
52
|
+
string,
|
|
53
|
+
BigNumber,
|
|
54
|
+
string,
|
|
55
|
+
BigNumber,
|
|
56
|
+
string
|
|
57
|
+
] & {
|
|
58
|
+
taker: string;
|
|
59
|
+
escrow: string;
|
|
60
|
+
depositId: BigNumber;
|
|
61
|
+
amount: BigNumber;
|
|
62
|
+
to: string;
|
|
63
|
+
paymentMethod: string;
|
|
64
|
+
fiatCurrency: string;
|
|
65
|
+
conversionRate: BigNumber;
|
|
66
|
+
referrer: string;
|
|
67
|
+
referrerFee: BigNumber;
|
|
68
|
+
preIntentHookData: string;
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface SignatureGatingPreIntentHookInterface extends utils.Interface {
|
|
73
|
+
functions: {
|
|
74
|
+
"chainId()": FunctionFragment;
|
|
75
|
+
"depositSigner(address,uint256)": FunctionFragment;
|
|
76
|
+
"getDepositSigner(address,uint256)": FunctionFragment;
|
|
77
|
+
"orchestratorRegistry()": FunctionFragment;
|
|
78
|
+
"setDepositSigner(address,uint256,address)": FunctionFragment;
|
|
79
|
+
"validateSignalIntent((address,address,uint256,uint256,address,bytes32,bytes32,uint256,address,uint256,bytes))": FunctionFragment;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
getFunction(
|
|
83
|
+
nameOrSignatureOrTopic:
|
|
84
|
+
| "chainId"
|
|
85
|
+
| "depositSigner"
|
|
86
|
+
| "getDepositSigner"
|
|
87
|
+
| "orchestratorRegistry"
|
|
88
|
+
| "setDepositSigner"
|
|
89
|
+
| "validateSignalIntent"
|
|
90
|
+
): FunctionFragment;
|
|
91
|
+
|
|
92
|
+
encodeFunctionData(functionFragment: "chainId", values?: undefined): string;
|
|
93
|
+
encodeFunctionData(
|
|
94
|
+
functionFragment: "depositSigner",
|
|
95
|
+
values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]
|
|
96
|
+
): string;
|
|
97
|
+
encodeFunctionData(
|
|
98
|
+
functionFragment: "getDepositSigner",
|
|
99
|
+
values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]
|
|
100
|
+
): string;
|
|
101
|
+
encodeFunctionData(
|
|
102
|
+
functionFragment: "orchestratorRegistry",
|
|
103
|
+
values?: undefined
|
|
104
|
+
): string;
|
|
105
|
+
encodeFunctionData(
|
|
106
|
+
functionFragment: "setDepositSigner",
|
|
107
|
+
values: [
|
|
108
|
+
PromiseOrValue<string>,
|
|
109
|
+
PromiseOrValue<BigNumberish>,
|
|
110
|
+
PromiseOrValue<string>
|
|
111
|
+
]
|
|
112
|
+
): string;
|
|
113
|
+
encodeFunctionData(
|
|
114
|
+
functionFragment: "validateSignalIntent",
|
|
115
|
+
values: [IPreIntentHook.PreIntentContextStruct]
|
|
116
|
+
): string;
|
|
117
|
+
|
|
118
|
+
decodeFunctionResult(functionFragment: "chainId", data: BytesLike): Result;
|
|
119
|
+
decodeFunctionResult(
|
|
120
|
+
functionFragment: "depositSigner",
|
|
121
|
+
data: BytesLike
|
|
122
|
+
): Result;
|
|
123
|
+
decodeFunctionResult(
|
|
124
|
+
functionFragment: "getDepositSigner",
|
|
125
|
+
data: BytesLike
|
|
126
|
+
): Result;
|
|
127
|
+
decodeFunctionResult(
|
|
128
|
+
functionFragment: "orchestratorRegistry",
|
|
129
|
+
data: BytesLike
|
|
130
|
+
): Result;
|
|
131
|
+
decodeFunctionResult(
|
|
132
|
+
functionFragment: "setDepositSigner",
|
|
133
|
+
data: BytesLike
|
|
134
|
+
): Result;
|
|
135
|
+
decodeFunctionResult(
|
|
136
|
+
functionFragment: "validateSignalIntent",
|
|
137
|
+
data: BytesLike
|
|
138
|
+
): Result;
|
|
139
|
+
|
|
140
|
+
events: {
|
|
141
|
+
"DepositSignerSet(address,uint256,address,address)": EventFragment;
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
getEvent(nameOrSignatureOrTopic: "DepositSignerSet"): EventFragment;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export interface DepositSignerSetEventObject {
|
|
148
|
+
escrow: string;
|
|
149
|
+
depositId: BigNumber;
|
|
150
|
+
signer: string;
|
|
151
|
+
setter: string;
|
|
152
|
+
}
|
|
153
|
+
export type DepositSignerSetEvent = TypedEvent<
|
|
154
|
+
[string, BigNumber, string, string],
|
|
155
|
+
DepositSignerSetEventObject
|
|
156
|
+
>;
|
|
157
|
+
|
|
158
|
+
export type DepositSignerSetEventFilter =
|
|
159
|
+
TypedEventFilter<DepositSignerSetEvent>;
|
|
160
|
+
|
|
161
|
+
export interface SignatureGatingPreIntentHook extends BaseContract {
|
|
162
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
163
|
+
attach(addressOrName: string): this;
|
|
164
|
+
deployed(): Promise<this>;
|
|
165
|
+
|
|
166
|
+
interface: SignatureGatingPreIntentHookInterface;
|
|
167
|
+
|
|
168
|
+
queryFilter<TEvent extends TypedEvent>(
|
|
169
|
+
event: TypedEventFilter<TEvent>,
|
|
170
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
171
|
+
toBlock?: string | number | undefined
|
|
172
|
+
): Promise<Array<TEvent>>;
|
|
173
|
+
|
|
174
|
+
listeners<TEvent extends TypedEvent>(
|
|
175
|
+
eventFilter?: TypedEventFilter<TEvent>
|
|
176
|
+
): Array<TypedListener<TEvent>>;
|
|
177
|
+
listeners(eventName?: string): Array<Listener>;
|
|
178
|
+
removeAllListeners<TEvent extends TypedEvent>(
|
|
179
|
+
eventFilter: TypedEventFilter<TEvent>
|
|
180
|
+
): this;
|
|
181
|
+
removeAllListeners(eventName?: string): this;
|
|
182
|
+
off: OnEvent<this>;
|
|
183
|
+
on: OnEvent<this>;
|
|
184
|
+
once: OnEvent<this>;
|
|
185
|
+
removeListener: OnEvent<this>;
|
|
186
|
+
|
|
187
|
+
functions: {
|
|
188
|
+
chainId(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
189
|
+
|
|
190
|
+
depositSigner(
|
|
191
|
+
arg0: PromiseOrValue<string>,
|
|
192
|
+
arg1: PromiseOrValue<BigNumberish>,
|
|
193
|
+
overrides?: CallOverrides
|
|
194
|
+
): Promise<[string]>;
|
|
195
|
+
|
|
196
|
+
getDepositSigner(
|
|
197
|
+
_escrow: PromiseOrValue<string>,
|
|
198
|
+
_depositId: PromiseOrValue<BigNumberish>,
|
|
199
|
+
overrides?: CallOverrides
|
|
200
|
+
): Promise<[string]>;
|
|
201
|
+
|
|
202
|
+
orchestratorRegistry(overrides?: CallOverrides): Promise<[string]>;
|
|
203
|
+
|
|
204
|
+
setDepositSigner(
|
|
205
|
+
_escrow: PromiseOrValue<string>,
|
|
206
|
+
_depositId: PromiseOrValue<BigNumberish>,
|
|
207
|
+
_signer: PromiseOrValue<string>,
|
|
208
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
209
|
+
): Promise<ContractTransaction>;
|
|
210
|
+
|
|
211
|
+
validateSignalIntent(
|
|
212
|
+
_ctx: IPreIntentHook.PreIntentContextStruct,
|
|
213
|
+
overrides?: CallOverrides
|
|
214
|
+
): Promise<[void]>;
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
chainId(overrides?: CallOverrides): Promise<BigNumber>;
|
|
218
|
+
|
|
219
|
+
depositSigner(
|
|
220
|
+
arg0: PromiseOrValue<string>,
|
|
221
|
+
arg1: PromiseOrValue<BigNumberish>,
|
|
222
|
+
overrides?: CallOverrides
|
|
223
|
+
): Promise<string>;
|
|
224
|
+
|
|
225
|
+
getDepositSigner(
|
|
226
|
+
_escrow: PromiseOrValue<string>,
|
|
227
|
+
_depositId: PromiseOrValue<BigNumberish>,
|
|
228
|
+
overrides?: CallOverrides
|
|
229
|
+
): Promise<string>;
|
|
230
|
+
|
|
231
|
+
orchestratorRegistry(overrides?: CallOverrides): Promise<string>;
|
|
232
|
+
|
|
233
|
+
setDepositSigner(
|
|
234
|
+
_escrow: PromiseOrValue<string>,
|
|
235
|
+
_depositId: PromiseOrValue<BigNumberish>,
|
|
236
|
+
_signer: PromiseOrValue<string>,
|
|
237
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
238
|
+
): Promise<ContractTransaction>;
|
|
239
|
+
|
|
240
|
+
validateSignalIntent(
|
|
241
|
+
_ctx: IPreIntentHook.PreIntentContextStruct,
|
|
242
|
+
overrides?: CallOverrides
|
|
243
|
+
): Promise<void>;
|
|
244
|
+
|
|
245
|
+
callStatic: {
|
|
246
|
+
chainId(overrides?: CallOverrides): Promise<BigNumber>;
|
|
247
|
+
|
|
248
|
+
depositSigner(
|
|
249
|
+
arg0: PromiseOrValue<string>,
|
|
250
|
+
arg1: PromiseOrValue<BigNumberish>,
|
|
251
|
+
overrides?: CallOverrides
|
|
252
|
+
): Promise<string>;
|
|
253
|
+
|
|
254
|
+
getDepositSigner(
|
|
255
|
+
_escrow: PromiseOrValue<string>,
|
|
256
|
+
_depositId: PromiseOrValue<BigNumberish>,
|
|
257
|
+
overrides?: CallOverrides
|
|
258
|
+
): Promise<string>;
|
|
259
|
+
|
|
260
|
+
orchestratorRegistry(overrides?: CallOverrides): Promise<string>;
|
|
261
|
+
|
|
262
|
+
setDepositSigner(
|
|
263
|
+
_escrow: PromiseOrValue<string>,
|
|
264
|
+
_depositId: PromiseOrValue<BigNumberish>,
|
|
265
|
+
_signer: PromiseOrValue<string>,
|
|
266
|
+
overrides?: CallOverrides
|
|
267
|
+
): Promise<void>;
|
|
268
|
+
|
|
269
|
+
validateSignalIntent(
|
|
270
|
+
_ctx: IPreIntentHook.PreIntentContextStruct,
|
|
271
|
+
overrides?: CallOverrides
|
|
272
|
+
): Promise<void>;
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
filters: {
|
|
276
|
+
"DepositSignerSet(address,uint256,address,address)"(
|
|
277
|
+
escrow?: PromiseOrValue<string> | null,
|
|
278
|
+
depositId?: PromiseOrValue<BigNumberish> | null,
|
|
279
|
+
signer?: PromiseOrValue<string> | null,
|
|
280
|
+
setter?: null
|
|
281
|
+
): DepositSignerSetEventFilter;
|
|
282
|
+
DepositSignerSet(
|
|
283
|
+
escrow?: PromiseOrValue<string> | null,
|
|
284
|
+
depositId?: PromiseOrValue<BigNumberish> | null,
|
|
285
|
+
signer?: PromiseOrValue<string> | null,
|
|
286
|
+
setter?: null
|
|
287
|
+
): DepositSignerSetEventFilter;
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
estimateGas: {
|
|
291
|
+
chainId(overrides?: CallOverrides): Promise<BigNumber>;
|
|
292
|
+
|
|
293
|
+
depositSigner(
|
|
294
|
+
arg0: PromiseOrValue<string>,
|
|
295
|
+
arg1: PromiseOrValue<BigNumberish>,
|
|
296
|
+
overrides?: CallOverrides
|
|
297
|
+
): Promise<BigNumber>;
|
|
298
|
+
|
|
299
|
+
getDepositSigner(
|
|
300
|
+
_escrow: PromiseOrValue<string>,
|
|
301
|
+
_depositId: PromiseOrValue<BigNumberish>,
|
|
302
|
+
overrides?: CallOverrides
|
|
303
|
+
): Promise<BigNumber>;
|
|
304
|
+
|
|
305
|
+
orchestratorRegistry(overrides?: CallOverrides): Promise<BigNumber>;
|
|
306
|
+
|
|
307
|
+
setDepositSigner(
|
|
308
|
+
_escrow: PromiseOrValue<string>,
|
|
309
|
+
_depositId: PromiseOrValue<BigNumberish>,
|
|
310
|
+
_signer: PromiseOrValue<string>,
|
|
311
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
312
|
+
): Promise<BigNumber>;
|
|
313
|
+
|
|
314
|
+
validateSignalIntent(
|
|
315
|
+
_ctx: IPreIntentHook.PreIntentContextStruct,
|
|
316
|
+
overrides?: CallOverrides
|
|
317
|
+
): Promise<BigNumber>;
|
|
318
|
+
};
|
|
319
|
+
|
|
320
|
+
populateTransaction: {
|
|
321
|
+
chainId(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
322
|
+
|
|
323
|
+
depositSigner(
|
|
324
|
+
arg0: PromiseOrValue<string>,
|
|
325
|
+
arg1: PromiseOrValue<BigNumberish>,
|
|
326
|
+
overrides?: CallOverrides
|
|
327
|
+
): Promise<PopulatedTransaction>;
|
|
328
|
+
|
|
329
|
+
getDepositSigner(
|
|
330
|
+
_escrow: PromiseOrValue<string>,
|
|
331
|
+
_depositId: PromiseOrValue<BigNumberish>,
|
|
332
|
+
overrides?: CallOverrides
|
|
333
|
+
): Promise<PopulatedTransaction>;
|
|
334
|
+
|
|
335
|
+
orchestratorRegistry(
|
|
336
|
+
overrides?: CallOverrides
|
|
337
|
+
): Promise<PopulatedTransaction>;
|
|
338
|
+
|
|
339
|
+
setDepositSigner(
|
|
340
|
+
_escrow: PromiseOrValue<string>,
|
|
341
|
+
_depositId: PromiseOrValue<BigNumberish>,
|
|
342
|
+
_signer: PromiseOrValue<string>,
|
|
343
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
344
|
+
): Promise<PopulatedTransaction>;
|
|
345
|
+
|
|
346
|
+
validateSignalIntent(
|
|
347
|
+
_ctx: IPreIntentHook.PreIntentContextStruct,
|
|
348
|
+
overrides?: CallOverrides
|
|
349
|
+
): Promise<PopulatedTransaction>;
|
|
350
|
+
};
|
|
351
|
+
}
|