@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
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type {
|
|
5
|
+
BaseContract,
|
|
6
|
+
BigNumber,
|
|
7
|
+
BytesLike,
|
|
8
|
+
CallOverrides,
|
|
9
|
+
PopulatedTransaction,
|
|
10
|
+
Signer,
|
|
11
|
+
utils,
|
|
12
|
+
} from "ethers";
|
|
13
|
+
import type { FunctionFragment, Result } from "@ethersproject/abi";
|
|
14
|
+
import type { Listener, Provider } from "@ethersproject/providers";
|
|
15
|
+
import type {
|
|
16
|
+
TypedEventFilter,
|
|
17
|
+
TypedEvent,
|
|
18
|
+
TypedListener,
|
|
19
|
+
OnEvent,
|
|
20
|
+
PromiseOrValue,
|
|
21
|
+
} from "../../common";
|
|
22
|
+
|
|
23
|
+
export interface IOracleAdapterInterface extends utils.Interface {
|
|
24
|
+
functions: {
|
|
25
|
+
"getRate(bytes)": FunctionFragment;
|
|
26
|
+
"validateConfig(bytes)": FunctionFragment;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
getFunction(
|
|
30
|
+
nameOrSignatureOrTopic: "getRate" | "validateConfig"
|
|
31
|
+
): FunctionFragment;
|
|
32
|
+
|
|
33
|
+
encodeFunctionData(
|
|
34
|
+
functionFragment: "getRate",
|
|
35
|
+
values: [PromiseOrValue<BytesLike>]
|
|
36
|
+
): string;
|
|
37
|
+
encodeFunctionData(
|
|
38
|
+
functionFragment: "validateConfig",
|
|
39
|
+
values: [PromiseOrValue<BytesLike>]
|
|
40
|
+
): string;
|
|
41
|
+
|
|
42
|
+
decodeFunctionResult(functionFragment: "getRate", data: BytesLike): Result;
|
|
43
|
+
decodeFunctionResult(
|
|
44
|
+
functionFragment: "validateConfig",
|
|
45
|
+
data: BytesLike
|
|
46
|
+
): Result;
|
|
47
|
+
|
|
48
|
+
events: {};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export interface IOracleAdapter extends BaseContract {
|
|
52
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
53
|
+
attach(addressOrName: string): this;
|
|
54
|
+
deployed(): Promise<this>;
|
|
55
|
+
|
|
56
|
+
interface: IOracleAdapterInterface;
|
|
57
|
+
|
|
58
|
+
queryFilter<TEvent extends TypedEvent>(
|
|
59
|
+
event: TypedEventFilter<TEvent>,
|
|
60
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
61
|
+
toBlock?: string | number | undefined
|
|
62
|
+
): Promise<Array<TEvent>>;
|
|
63
|
+
|
|
64
|
+
listeners<TEvent extends TypedEvent>(
|
|
65
|
+
eventFilter?: TypedEventFilter<TEvent>
|
|
66
|
+
): Array<TypedListener<TEvent>>;
|
|
67
|
+
listeners(eventName?: string): Array<Listener>;
|
|
68
|
+
removeAllListeners<TEvent extends TypedEvent>(
|
|
69
|
+
eventFilter: TypedEventFilter<TEvent>
|
|
70
|
+
): this;
|
|
71
|
+
removeAllListeners(eventName?: string): this;
|
|
72
|
+
off: OnEvent<this>;
|
|
73
|
+
on: OnEvent<this>;
|
|
74
|
+
once: OnEvent<this>;
|
|
75
|
+
removeListener: OnEvent<this>;
|
|
76
|
+
|
|
77
|
+
functions: {
|
|
78
|
+
getRate(
|
|
79
|
+
normalizedConfig: PromiseOrValue<BytesLike>,
|
|
80
|
+
overrides?: CallOverrides
|
|
81
|
+
): Promise<
|
|
82
|
+
[boolean, BigNumber, BigNumber] & {
|
|
83
|
+
valid: boolean;
|
|
84
|
+
rate: BigNumber;
|
|
85
|
+
updatedAt: BigNumber;
|
|
86
|
+
}
|
|
87
|
+
>;
|
|
88
|
+
|
|
89
|
+
validateConfig(
|
|
90
|
+
rawConfig: PromiseOrValue<BytesLike>,
|
|
91
|
+
overrides?: CallOverrides
|
|
92
|
+
): Promise<[string] & { normalizedConfig: string }>;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
getRate(
|
|
96
|
+
normalizedConfig: PromiseOrValue<BytesLike>,
|
|
97
|
+
overrides?: CallOverrides
|
|
98
|
+
): Promise<
|
|
99
|
+
[boolean, BigNumber, BigNumber] & {
|
|
100
|
+
valid: boolean;
|
|
101
|
+
rate: BigNumber;
|
|
102
|
+
updatedAt: BigNumber;
|
|
103
|
+
}
|
|
104
|
+
>;
|
|
105
|
+
|
|
106
|
+
validateConfig(
|
|
107
|
+
rawConfig: PromiseOrValue<BytesLike>,
|
|
108
|
+
overrides?: CallOverrides
|
|
109
|
+
): Promise<string>;
|
|
110
|
+
|
|
111
|
+
callStatic: {
|
|
112
|
+
getRate(
|
|
113
|
+
normalizedConfig: PromiseOrValue<BytesLike>,
|
|
114
|
+
overrides?: CallOverrides
|
|
115
|
+
): Promise<
|
|
116
|
+
[boolean, BigNumber, BigNumber] & {
|
|
117
|
+
valid: boolean;
|
|
118
|
+
rate: BigNumber;
|
|
119
|
+
updatedAt: BigNumber;
|
|
120
|
+
}
|
|
121
|
+
>;
|
|
122
|
+
|
|
123
|
+
validateConfig(
|
|
124
|
+
rawConfig: PromiseOrValue<BytesLike>,
|
|
125
|
+
overrides?: CallOverrides
|
|
126
|
+
): Promise<string>;
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
filters: {};
|
|
130
|
+
|
|
131
|
+
estimateGas: {
|
|
132
|
+
getRate(
|
|
133
|
+
normalizedConfig: PromiseOrValue<BytesLike>,
|
|
134
|
+
overrides?: CallOverrides
|
|
135
|
+
): Promise<BigNumber>;
|
|
136
|
+
|
|
137
|
+
validateConfig(
|
|
138
|
+
rawConfig: PromiseOrValue<BytesLike>,
|
|
139
|
+
overrides?: CallOverrides
|
|
140
|
+
): Promise<BigNumber>;
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
populateTransaction: {
|
|
144
|
+
getRate(
|
|
145
|
+
normalizedConfig: PromiseOrValue<BytesLike>,
|
|
146
|
+
overrides?: CallOverrides
|
|
147
|
+
): Promise<PopulatedTransaction>;
|
|
148
|
+
|
|
149
|
+
validateConfig(
|
|
150
|
+
rawConfig: PromiseOrValue<BytesLike>,
|
|
151
|
+
overrides?: CallOverrides
|
|
152
|
+
): Promise<PopulatedTransaction>;
|
|
153
|
+
};
|
|
154
|
+
}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type {
|
|
5
|
+
BaseContract,
|
|
6
|
+
BigNumber,
|
|
7
|
+
BytesLike,
|
|
8
|
+
CallOverrides,
|
|
9
|
+
ContractTransaction,
|
|
10
|
+
Overrides,
|
|
11
|
+
PopulatedTransaction,
|
|
12
|
+
Signer,
|
|
13
|
+
utils,
|
|
14
|
+
} from "ethers";
|
|
15
|
+
import type { FunctionFragment, Result } from "@ethersproject/abi";
|
|
16
|
+
import type { Listener, Provider } from "@ethersproject/providers";
|
|
17
|
+
import type {
|
|
18
|
+
TypedEventFilter,
|
|
19
|
+
TypedEvent,
|
|
20
|
+
TypedListener,
|
|
21
|
+
OnEvent,
|
|
22
|
+
PromiseOrValue,
|
|
23
|
+
} from "../../common";
|
|
24
|
+
|
|
25
|
+
export interface IOrchestratorRegistryInterface extends utils.Interface {
|
|
26
|
+
functions: {
|
|
27
|
+
"addOrchestrator(address)": FunctionFragment;
|
|
28
|
+
"isOrchestrator(address)": FunctionFragment;
|
|
29
|
+
"removeOrchestrator(address)": FunctionFragment;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
getFunction(
|
|
33
|
+
nameOrSignatureOrTopic:
|
|
34
|
+
| "addOrchestrator"
|
|
35
|
+
| "isOrchestrator"
|
|
36
|
+
| "removeOrchestrator"
|
|
37
|
+
): FunctionFragment;
|
|
38
|
+
|
|
39
|
+
encodeFunctionData(
|
|
40
|
+
functionFragment: "addOrchestrator",
|
|
41
|
+
values: [PromiseOrValue<string>]
|
|
42
|
+
): string;
|
|
43
|
+
encodeFunctionData(
|
|
44
|
+
functionFragment: "isOrchestrator",
|
|
45
|
+
values: [PromiseOrValue<string>]
|
|
46
|
+
): string;
|
|
47
|
+
encodeFunctionData(
|
|
48
|
+
functionFragment: "removeOrchestrator",
|
|
49
|
+
values: [PromiseOrValue<string>]
|
|
50
|
+
): string;
|
|
51
|
+
|
|
52
|
+
decodeFunctionResult(
|
|
53
|
+
functionFragment: "addOrchestrator",
|
|
54
|
+
data: BytesLike
|
|
55
|
+
): Result;
|
|
56
|
+
decodeFunctionResult(
|
|
57
|
+
functionFragment: "isOrchestrator",
|
|
58
|
+
data: BytesLike
|
|
59
|
+
): Result;
|
|
60
|
+
decodeFunctionResult(
|
|
61
|
+
functionFragment: "removeOrchestrator",
|
|
62
|
+
data: BytesLike
|
|
63
|
+
): Result;
|
|
64
|
+
|
|
65
|
+
events: {};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export interface IOrchestratorRegistry extends BaseContract {
|
|
69
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
70
|
+
attach(addressOrName: string): this;
|
|
71
|
+
deployed(): Promise<this>;
|
|
72
|
+
|
|
73
|
+
interface: IOrchestratorRegistryInterface;
|
|
74
|
+
|
|
75
|
+
queryFilter<TEvent extends TypedEvent>(
|
|
76
|
+
event: TypedEventFilter<TEvent>,
|
|
77
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
78
|
+
toBlock?: string | number | undefined
|
|
79
|
+
): Promise<Array<TEvent>>;
|
|
80
|
+
|
|
81
|
+
listeners<TEvent extends TypedEvent>(
|
|
82
|
+
eventFilter?: TypedEventFilter<TEvent>
|
|
83
|
+
): Array<TypedListener<TEvent>>;
|
|
84
|
+
listeners(eventName?: string): Array<Listener>;
|
|
85
|
+
removeAllListeners<TEvent extends TypedEvent>(
|
|
86
|
+
eventFilter: TypedEventFilter<TEvent>
|
|
87
|
+
): this;
|
|
88
|
+
removeAllListeners(eventName?: string): this;
|
|
89
|
+
off: OnEvent<this>;
|
|
90
|
+
on: OnEvent<this>;
|
|
91
|
+
once: OnEvent<this>;
|
|
92
|
+
removeListener: OnEvent<this>;
|
|
93
|
+
|
|
94
|
+
functions: {
|
|
95
|
+
addOrchestrator(
|
|
96
|
+
_orchestrator: PromiseOrValue<string>,
|
|
97
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
98
|
+
): Promise<ContractTransaction>;
|
|
99
|
+
|
|
100
|
+
isOrchestrator(
|
|
101
|
+
_orchestrator: PromiseOrValue<string>,
|
|
102
|
+
overrides?: CallOverrides
|
|
103
|
+
): Promise<[boolean] & { allowed: boolean }>;
|
|
104
|
+
|
|
105
|
+
removeOrchestrator(
|
|
106
|
+
_orchestrator: PromiseOrValue<string>,
|
|
107
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
108
|
+
): Promise<ContractTransaction>;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
addOrchestrator(
|
|
112
|
+
_orchestrator: PromiseOrValue<string>,
|
|
113
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
114
|
+
): Promise<ContractTransaction>;
|
|
115
|
+
|
|
116
|
+
isOrchestrator(
|
|
117
|
+
_orchestrator: PromiseOrValue<string>,
|
|
118
|
+
overrides?: CallOverrides
|
|
119
|
+
): Promise<boolean>;
|
|
120
|
+
|
|
121
|
+
removeOrchestrator(
|
|
122
|
+
_orchestrator: PromiseOrValue<string>,
|
|
123
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
124
|
+
): Promise<ContractTransaction>;
|
|
125
|
+
|
|
126
|
+
callStatic: {
|
|
127
|
+
addOrchestrator(
|
|
128
|
+
_orchestrator: PromiseOrValue<string>,
|
|
129
|
+
overrides?: CallOverrides
|
|
130
|
+
): Promise<void>;
|
|
131
|
+
|
|
132
|
+
isOrchestrator(
|
|
133
|
+
_orchestrator: PromiseOrValue<string>,
|
|
134
|
+
overrides?: CallOverrides
|
|
135
|
+
): Promise<boolean>;
|
|
136
|
+
|
|
137
|
+
removeOrchestrator(
|
|
138
|
+
_orchestrator: PromiseOrValue<string>,
|
|
139
|
+
overrides?: CallOverrides
|
|
140
|
+
): Promise<void>;
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
filters: {};
|
|
144
|
+
|
|
145
|
+
estimateGas: {
|
|
146
|
+
addOrchestrator(
|
|
147
|
+
_orchestrator: PromiseOrValue<string>,
|
|
148
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
149
|
+
): Promise<BigNumber>;
|
|
150
|
+
|
|
151
|
+
isOrchestrator(
|
|
152
|
+
_orchestrator: PromiseOrValue<string>,
|
|
153
|
+
overrides?: CallOverrides
|
|
154
|
+
): Promise<BigNumber>;
|
|
155
|
+
|
|
156
|
+
removeOrchestrator(
|
|
157
|
+
_orchestrator: PromiseOrValue<string>,
|
|
158
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
159
|
+
): Promise<BigNumber>;
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
populateTransaction: {
|
|
163
|
+
addOrchestrator(
|
|
164
|
+
_orchestrator: PromiseOrValue<string>,
|
|
165
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
166
|
+
): Promise<PopulatedTransaction>;
|
|
167
|
+
|
|
168
|
+
isOrchestrator(
|
|
169
|
+
_orchestrator: PromiseOrValue<string>,
|
|
170
|
+
overrides?: CallOverrides
|
|
171
|
+
): Promise<PopulatedTransaction>;
|
|
172
|
+
|
|
173
|
+
removeOrchestrator(
|
|
174
|
+
_orchestrator: PromiseOrValue<string>,
|
|
175
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
176
|
+
): Promise<PopulatedTransaction>;
|
|
177
|
+
};
|
|
178
|
+
}
|