@zkp2p/contracts-v2 0.3.0 → 0.3.1-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/_cjs/abis/base/index.js +52 -23
- package/_cjs/abis/baseStaging/AddressGroupRegistry.js +480 -0
- package/_cjs/abis/baseStaging/AddressGroupRegistry.json +478 -0
- package/_cjs/abis/baseStaging/BoundedCall.js +93 -0
- package/_cjs/abis/baseStaging/BoundedCall.json +91 -0
- package/_cjs/abis/baseStaging/DeferredPayoutHook.js +247 -0
- package/_cjs/abis/baseStaging/DeferredPayoutHook.json +245 -0
- package/_cjs/abis/baseStaging/FeeSettlementLib.js +35 -0
- package/_cjs/abis/baseStaging/FeeSettlementLib.json +33 -0
- package/_cjs/abis/baseStaging/NullifierRegistryV2.js +339 -0
- package/_cjs/abis/baseStaging/NullifierRegistryV2.json +337 -0
- package/_cjs/abis/baseStaging/OrchestratorV3.js +1857 -0
- package/_cjs/abis/baseStaging/OrchestratorV3.json +1855 -0
- package/_cjs/abis/baseStaging/PostIntentHookExecutor.js +3 -0
- package/_cjs/abis/baseStaging/PostIntentHookExecutor.json +1 -0
- package/_cjs/abis/baseStaging/RiskAttestationVerifier.js +243 -0
- package/_cjs/abis/baseStaging/RiskAttestationVerifier.json +241 -0
- package/_cjs/abis/baseStaging/RiskManager.js +1942 -0
- package/_cjs/abis/baseStaging/RiskManager.json +1940 -0
- package/_cjs/abis/baseStaging/RiskSettlementExecutor.js +106 -0
- package/_cjs/abis/baseStaging/RiskSettlementExecutor.json +104 -0
- package/_cjs/abis/baseStaging/StakeVault.js +1453 -0
- package/_cjs/abis/baseStaging/StakeVault.json +1451 -0
- package/_cjs/abis/baseStaging/StakeVaultRiskSettlement.js +1453 -0
- package/_cjs/abis/baseStaging/StakeVaultRiskSettlement.json +1451 -0
- package/_cjs/abis/baseStaging/UnifiedPaymentVerifierV3.js +366 -0
- package/_cjs/abis/baseStaging/UnifiedPaymentVerifierV3.json +364 -0
- package/_cjs/abis/baseStaging/WhitelistPreIntentHookV2.js +558 -0
- package/_cjs/abis/baseStaging/WhitelistPreIntentHookV2.json +556 -0
- package/_cjs/abis/baseStaging/index.js +80 -23
- package/_cjs/abis/baseStaging.cjs +15 -1
- package/_cjs/abis/baseStaging.mjs +14 -0
- package/_cjs/abis/contracts/AddressGroupRegistry.js +480 -0
- package/_cjs/abis/contracts/AddressGroupRegistry.json +478 -0
- package/_cjs/abis/contracts/IIntentRiskHook.js +97 -0
- package/_cjs/abis/contracts/IIntentRiskHook.json +95 -0
- package/_cjs/abis/contracts/NullifierRegistryV2.js +339 -0
- package/_cjs/abis/contracts/NullifierRegistryV2.json +337 -0
- package/_cjs/abis/contracts/OrchestratorV3.js +1857 -0
- package/_cjs/abis/contracts/OrchestratorV3.json +1855 -0
- package/_cjs/abis/contracts/RiskManager.js +1942 -0
- package/_cjs/abis/contracts/RiskManager.json +1940 -0
- package/_cjs/abis/contracts/StakeVault.js +1453 -0
- package/_cjs/abis/contracts/StakeVault.json +1451 -0
- package/_cjs/abis/contracts/UnifiedPaymentVerifierV3.js +366 -0
- package/_cjs/abis/contracts/UnifiedPaymentVerifierV3.json +364 -0
- package/_cjs/abis/contracts/WhitelistPreIntentHookV2.js +558 -0
- package/_cjs/abis/contracts/WhitelistPreIntentHookV2.json +556 -0
- package/_cjs/abis/contracts/index.js +22 -0
- package/_cjs/abis/contracts.cjs +11 -0
- package/_cjs/abis/contracts.mjs +9 -0
- package/_cjs/abis/index.js +39 -2
- package/_cjs/addresses/base.js +16 -2
- package/_cjs/addresses/base.json +16 -2
- package/_cjs/addresses/baseStaging.js +16 -2
- package/_cjs/addresses/baseStaging.json +16 -2
- package/_cjs/addresses/index.js +10 -2
- package/_cjs/addresses/index.json +1 -1
- package/_cjs/constants/index.js +10 -2
- package/_cjs/constants/index.json +1 -1
- package/_cjs/currencies/currencies.js +1 -1
- package/_cjs/currencies/currencies.json +1 -1
- package/_cjs/currencies/index.js +8 -5
- package/_cjs/oracleFeeds/chainlink.js +1 -1
- package/_cjs/oracleFeeds/chainlink.json +1 -1
- package/_cjs/oracleFeeds/index.js +8 -5
- package/_cjs/paymentMethods/base.js +1 -1
- package/_cjs/paymentMethods/base.json +1 -1
- package/_cjs/paymentMethods/baseStaging.js +1 -1
- package/_cjs/paymentMethods/baseStaging.json +1 -1
- package/_cjs/paymentMethods/index.js +24 -20
- package/_cjs/paymentMethods/index.json +1 -1
- package/_cjs/paymentMethods/lookups.js +1 -1
- package/_cjs/paymentMethods/lookups.json +1 -1
- package/_cjs/types/common.js +2 -46
- package/_cjs/types/contracts/Escrow.js +2 -2748
- package/_cjs/types/contracts/EscrowV2.js +2 -3449
- package/_cjs/types/contracts/Orchestrator.js +2 -1328
- package/_cjs/types/contracts/OrchestratorV2.js +2 -1585
- package/_cjs/types/contracts/OrchestratorV3.js +2 -2136
- package/_cjs/types/contracts/ProtocolViewer.js +2 -473
- package/_cjs/types/contracts/ProtocolViewerV2.js +2 -467
- package/_cjs/types/contracts/RateManagerV1.js +2 -1010
- package/_cjs/types/contracts/RiskManager.js +2 -0
- package/_cjs/types/contracts/StakeVault.js +2 -2901
- package/_cjs/types/contracts/external/Interfaces/IAcrossSpokePool.js +2 -165
- package/_cjs/types/contracts/external/Interfaces/index.js +2 -4
- package/_cjs/types/contracts/external/index.js +2 -5
- package/_cjs/types/contracts/hooks/AcrossBridgeHook.js +2 -547
- package/_cjs/types/contracts/hooks/AcrossBridgeHookV2.js +2 -553
- package/_cjs/types/contracts/hooks/SignatureGatingPreIntentHook.js +2 -360
- package/_cjs/types/contracts/hooks/WhitelistPreIntentHook.js +2 -433
- package/_cjs/types/contracts/hooks/WhitelistPreIntentHookV2.js +2 -0
- package/_cjs/types/contracts/hooks/index.js +2 -8
- package/_cjs/types/contracts/index.js +2 -27
- package/_cjs/types/contracts/interfaces/IAddressGroupRegistry.js +2 -0
- package/_cjs/types/contracts/interfaces/IAttestationVerifier.js +2 -114
- package/_cjs/types/contracts/interfaces/IChainlinkAggregatorV3.js +2 -132
- package/_cjs/types/contracts/interfaces/IEscrow.js +2 -1382
- package/_cjs/types/contracts/interfaces/IEscrowRegistry.js +2 -150
- package/_cjs/types/contracts/interfaces/IEscrowV2.js +2 -2195
- package/_cjs/types/contracts/interfaces/IIntentRiskHook.js +2 -224
- package/_cjs/types/contracts/interfaces/INullifierRegistry.js +2 -141
- package/_cjs/types/contracts/interfaces/INullifierRegistryV2.js +2 -0
- package/_cjs/types/contracts/interfaces/IOracleAdapter.js +2 -154
- package/_cjs/types/contracts/interfaces/IOrchestrator.js +2 -707
- package/_cjs/types/contracts/interfaces/IOrchestratorRegistry.js +2 -178
- package/_cjs/types/contracts/interfaces/IOrchestratorV2.js +2 -1021
- package/_cjs/types/contracts/interfaces/IOrchestratorV3.js +2 -1494
- package/_cjs/types/contracts/interfaces/IPaymentVerifier.js +2 -132
- package/_cjs/types/contracts/interfaces/IPaymentVerifierRegistry.js +2 -233
- package/_cjs/types/contracts/interfaces/IPostIntentHook.js +2 -168
- package/_cjs/types/contracts/interfaces/IPostIntentHookRegistry.js +2 -126
- package/_cjs/types/contracts/interfaces/IPostIntentHookV2.js +2 -172
- package/_cjs/types/contracts/interfaces/IPreIntentHook.js +2 -157
- package/_cjs/types/contracts/interfaces/IProtocolViewer.js +2 -319
- package/_cjs/types/contracts/interfaces/IProtocolViewerV2.js +2 -467
- package/_cjs/types/contracts/interfaces/IPyth.js +2 -195
- package/_cjs/types/contracts/interfaces/IRateManager.js +2 -239
- package/_cjs/types/contracts/interfaces/IReferralFee.js +2 -55
- package/_cjs/types/contracts/interfaces/IRelayerRegistry.js +2 -126
- package/_cjs/types/contracts/interfaces/IRiskManager.js +2 -0
- package/_cjs/types/contracts/interfaces/IStakeVault.js +2 -2587
- package/_cjs/types/contracts/interfaces/IWhitelistResolver.js +2 -0
- package/_cjs/types/contracts/interfaces/index.js +2 -30
- package/_cjs/types/contracts/lib/BoundedCall.js +2 -87
- package/_cjs/types/contracts/lib/FeeSettlementLib.js +2 -0
- package/_cjs/types/contracts/lib/RiskSettlementExecutor.js +2 -0
- package/_cjs/types/contracts/lib/index.js +2 -4
- package/_cjs/types/contracts/oracles/ChainlinkOracleAdapter.js +2 -154
- package/_cjs/types/contracts/oracles/PythOracleAdapter.js +2 -167
- package/_cjs/types/contracts/oracles/index.js +2 -5
- package/_cjs/types/contracts/registries/AddressGroupRegistry.js +2 -0
- package/_cjs/types/contracts/registries/EscrowRegistry.js +2 -463
- package/_cjs/types/contracts/registries/NullifierRegistry.js +2 -447
- package/_cjs/types/contracts/registries/NullifierRegistryV2.js +2 -0
- package/_cjs/types/contracts/registries/OrchestratorRegistry.js +2 -324
- package/_cjs/types/contracts/registries/PaymentVerifierRegistry.js +2 -657
- package/_cjs/types/contracts/registries/PostIntentHookRegistry.js +2 -414
- package/_cjs/types/contracts/registries/RelayerRegistry.js +2 -371
- package/_cjs/types/contracts/registries/index.js +2 -9
- package/_cjs/types/contracts/risk/ChargebackManager.js +2 -0
- package/_cjs/types/contracts/risk/IntentExtensionManager.js +2 -0
- package/_cjs/types/contracts/risk/index.js +2 -0
- package/_cjs/types/contracts/unifiedVerifier/BaseUnifiedPaymentVerifier.js +2 -502
- package/_cjs/types/contracts/unifiedVerifier/BaseUnifiedPaymentVerifierV3.js +2 -0
- package/_cjs/types/contracts/unifiedVerifier/MultiAttestationVerifier.js +2 -474
- package/_cjs/types/contracts/unifiedVerifier/SimpleAttestationVerifier.js +2 -315
- package/_cjs/types/contracts/unifiedVerifier/UnifiedPaymentVerifier.js +2 -620
- package/_cjs/types/contracts/unifiedVerifier/UnifiedPaymentVerifierV3.js +2 -0
- package/_cjs/types/contracts/unifiedVerifier/index.js +2 -7
- package/_cjs/types/index.js +37 -1
- package/_cjs/utils/index.js +24 -4
- package/_cjs/utils/protocolUtils.js +60 -70
- package/_cjs/utils/riskMath.js +68 -0
- package/_esm/abis/base/index.js +23 -23
- package/_esm/abis/baseStaging/AddressGroupRegistry.js +479 -0
- package/_esm/abis/baseStaging/AddressGroupRegistry.json +478 -0
- package/_esm/abis/baseStaging/BoundedCall.js +92 -0
- package/_esm/abis/baseStaging/BoundedCall.json +91 -0
- package/_esm/abis/baseStaging/DeferredPayoutHook.js +246 -0
- package/_esm/abis/baseStaging/DeferredPayoutHook.json +245 -0
- package/_esm/abis/baseStaging/FeeSettlementLib.js +34 -0
- package/_esm/abis/baseStaging/FeeSettlementLib.json +33 -0
- package/_esm/abis/baseStaging/NullifierRegistryV2.js +338 -0
- package/_esm/abis/baseStaging/NullifierRegistryV2.json +337 -0
- package/_esm/abis/baseStaging/OrchestratorV3.js +1856 -0
- package/_esm/abis/baseStaging/OrchestratorV3.json +1855 -0
- package/_esm/abis/baseStaging/PostIntentHookExecutor.js +2 -0
- package/_esm/abis/baseStaging/PostIntentHookExecutor.json +1 -0
- package/_esm/abis/baseStaging/RiskAttestationVerifier.js +242 -0
- package/_esm/abis/baseStaging/RiskAttestationVerifier.json +241 -0
- package/_esm/abis/baseStaging/RiskManager.js +1941 -0
- package/_esm/abis/baseStaging/RiskManager.json +1940 -0
- package/_esm/abis/baseStaging/RiskSettlementExecutor.js +105 -0
- package/_esm/abis/baseStaging/RiskSettlementExecutor.json +104 -0
- package/_esm/abis/baseStaging/StakeVault.js +1452 -0
- package/_esm/abis/baseStaging/StakeVault.json +1451 -0
- package/_esm/abis/baseStaging/StakeVaultRiskSettlement.js +1452 -0
- package/_esm/abis/baseStaging/StakeVaultRiskSettlement.json +1451 -0
- package/_esm/abis/baseStaging/UnifiedPaymentVerifierV3.js +365 -0
- package/_esm/abis/baseStaging/UnifiedPaymentVerifierV3.json +364 -0
- package/_esm/abis/baseStaging/WhitelistPreIntentHookV2.js +557 -0
- package/_esm/abis/baseStaging/WhitelistPreIntentHookV2.json +556 -0
- package/_esm/abis/baseStaging/index.js +37 -23
- package/_esm/abis/baseStaging.cjs +15 -1
- package/_esm/abis/baseStaging.mjs +14 -0
- package/_esm/abis/contracts/AddressGroupRegistry.js +479 -0
- package/_esm/abis/contracts/AddressGroupRegistry.json +478 -0
- package/_esm/abis/contracts/IIntentRiskHook.js +96 -0
- package/_esm/abis/contracts/IIntentRiskHook.json +95 -0
- package/_esm/abis/contracts/NullifierRegistryV2.js +338 -0
- package/_esm/abis/contracts/NullifierRegistryV2.json +337 -0
- package/_esm/abis/contracts/OrchestratorV3.js +1856 -0
- package/_esm/abis/contracts/OrchestratorV3.json +1855 -0
- package/_esm/abis/contracts/RiskManager.js +1941 -0
- package/_esm/abis/contracts/RiskManager.json +1940 -0
- package/_esm/abis/contracts/StakeVault.js +1452 -0
- package/_esm/abis/contracts/StakeVault.json +1451 -0
- package/_esm/abis/contracts/UnifiedPaymentVerifierV3.js +365 -0
- package/_esm/abis/contracts/UnifiedPaymentVerifierV3.json +364 -0
- package/_esm/abis/contracts/WhitelistPreIntentHookV2.js +557 -0
- package/_esm/abis/contracts/WhitelistPreIntentHookV2.json +556 -0
- package/_esm/abis/contracts/index.js +8 -0
- package/_esm/abis/contracts.cjs +11 -0
- package/_esm/abis/contracts.mjs +9 -0
- package/_esm/abis/index.js +1 -0
- package/_esm/addresses/base.js +16 -2
- package/_esm/addresses/base.json +16 -2
- package/_esm/addresses/baseStaging.js +16 -2
- package/_esm/addresses/baseStaging.json +16 -2
- package/_esm/addresses/index.js +2 -2
- package/_esm/addresses/index.json +1 -1
- package/_esm/constants/index.js +2 -2
- package/_esm/constants/index.json +1 -1
- package/_esm/currencies/currencies.js +1 -1
- package/_esm/currencies/currencies.json +1 -1
- package/_esm/currencies/index.js +1 -5
- package/_esm/oracleFeeds/chainlink.js +1 -1
- package/_esm/oracleFeeds/chainlink.json +1 -1
- package/_esm/oracleFeeds/index.js +1 -5
- package/_esm/paymentMethods/base.js +1 -1
- package/_esm/paymentMethods/base.json +1 -1
- package/_esm/paymentMethods/baseStaging.js +1 -1
- package/_esm/paymentMethods/baseStaging.json +1 -1
- package/_esm/paymentMethods/index.js +13 -19
- package/_esm/paymentMethods/index.json +1 -1
- package/_esm/paymentMethods/lookups.js +1 -1
- package/_esm/paymentMethods/lookups.json +1 -1
- package/_esm/types/common.js +1 -46
- package/_esm/types/contracts/Escrow.js +1 -2748
- package/_esm/types/contracts/EscrowV2.js +1 -3449
- package/_esm/types/contracts/Orchestrator.js +1 -1328
- package/_esm/types/contracts/OrchestratorV2.js +1 -1585
- package/_esm/types/contracts/OrchestratorV3.js +1 -2136
- package/_esm/types/contracts/ProtocolViewer.js +1 -473
- package/_esm/types/contracts/ProtocolViewerV2.js +1 -467
- package/_esm/types/contracts/RateManagerV1.js +1 -1010
- package/_esm/types/contracts/RiskManager.js +1 -0
- package/_esm/types/contracts/StakeVault.js +1 -2901
- package/_esm/types/contracts/external/Interfaces/IAcrossSpokePool.js +1 -165
- package/_esm/types/contracts/external/Interfaces/index.js +1 -4
- package/_esm/types/contracts/external/index.js +1 -5
- package/_esm/types/contracts/hooks/AcrossBridgeHook.js +1 -547
- package/_esm/types/contracts/hooks/AcrossBridgeHookV2.js +1 -553
- package/_esm/types/contracts/hooks/SignatureGatingPreIntentHook.js +1 -360
- package/_esm/types/contracts/hooks/WhitelistPreIntentHook.js +1 -433
- package/_esm/types/contracts/hooks/WhitelistPreIntentHookV2.js +1 -0
- package/_esm/types/contracts/hooks/index.js +1 -8
- package/_esm/types/contracts/index.js +1 -27
- package/_esm/types/contracts/interfaces/IAddressGroupRegistry.js +1 -0
- package/_esm/types/contracts/interfaces/IAttestationVerifier.js +1 -114
- package/_esm/types/contracts/interfaces/IChainlinkAggregatorV3.js +1 -132
- package/_esm/types/contracts/interfaces/IEscrow.js +1 -1382
- package/_esm/types/contracts/interfaces/IEscrowRegistry.js +1 -150
- package/_esm/types/contracts/interfaces/IEscrowV2.js +1 -2195
- package/_esm/types/contracts/interfaces/IIntentRiskHook.js +1 -224
- package/_esm/types/contracts/interfaces/INullifierRegistry.js +1 -141
- package/_esm/types/contracts/interfaces/INullifierRegistryV2.js +1 -0
- package/_esm/types/contracts/interfaces/IOracleAdapter.js +1 -154
- package/_esm/types/contracts/interfaces/IOrchestrator.js +1 -707
- package/_esm/types/contracts/interfaces/IOrchestratorRegistry.js +1 -178
- package/_esm/types/contracts/interfaces/IOrchestratorV2.js +1 -1021
- package/_esm/types/contracts/interfaces/IOrchestratorV3.js +1 -1494
- package/_esm/types/contracts/interfaces/IPaymentVerifier.js +1 -132
- package/_esm/types/contracts/interfaces/IPaymentVerifierRegistry.js +1 -233
- package/_esm/types/contracts/interfaces/IPostIntentHook.js +1 -168
- package/_esm/types/contracts/interfaces/IPostIntentHookRegistry.js +1 -126
- package/_esm/types/contracts/interfaces/IPostIntentHookV2.js +1 -172
- package/_esm/types/contracts/interfaces/IPreIntentHook.js +1 -157
- package/_esm/types/contracts/interfaces/IProtocolViewer.js +1 -319
- package/_esm/types/contracts/interfaces/IProtocolViewerV2.js +1 -467
- package/_esm/types/contracts/interfaces/IPyth.js +1 -195
- package/_esm/types/contracts/interfaces/IRateManager.js +1 -239
- package/_esm/types/contracts/interfaces/IReferralFee.js +1 -55
- package/_esm/types/contracts/interfaces/IRelayerRegistry.js +1 -126
- package/_esm/types/contracts/interfaces/IRiskManager.js +1 -0
- package/_esm/types/contracts/interfaces/IStakeVault.js +1 -2587
- package/_esm/types/contracts/interfaces/IWhitelistResolver.js +1 -0
- package/_esm/types/contracts/interfaces/index.js +1 -30
- package/_esm/types/contracts/lib/BoundedCall.js +1 -87
- package/_esm/types/contracts/lib/FeeSettlementLib.js +1 -0
- package/_esm/types/contracts/lib/RiskSettlementExecutor.js +1 -0
- package/_esm/types/contracts/lib/index.js +1 -4
- package/_esm/types/contracts/oracles/ChainlinkOracleAdapter.js +1 -154
- package/_esm/types/contracts/oracles/PythOracleAdapter.js +1 -167
- package/_esm/types/contracts/oracles/index.js +1 -5
- package/_esm/types/contracts/registries/AddressGroupRegistry.js +1 -0
- package/_esm/types/contracts/registries/EscrowRegistry.js +1 -463
- package/_esm/types/contracts/registries/NullifierRegistry.js +1 -447
- package/_esm/types/contracts/registries/NullifierRegistryV2.js +1 -0
- package/_esm/types/contracts/registries/OrchestratorRegistry.js +1 -324
- package/_esm/types/contracts/registries/PaymentVerifierRegistry.js +1 -657
- package/_esm/types/contracts/registries/PostIntentHookRegistry.js +1 -414
- package/_esm/types/contracts/registries/RelayerRegistry.js +1 -371
- package/_esm/types/contracts/registries/index.js +1 -9
- package/_esm/types/contracts/risk/ChargebackManager.js +1 -0
- package/_esm/types/contracts/risk/IntentExtensionManager.js +1 -0
- package/_esm/types/contracts/risk/index.js +1 -0
- package/_esm/types/contracts/unifiedVerifier/BaseUnifiedPaymentVerifier.js +1 -502
- package/_esm/types/contracts/unifiedVerifier/BaseUnifiedPaymentVerifierV3.js +1 -0
- package/_esm/types/contracts/unifiedVerifier/MultiAttestationVerifier.js +1 -474
- package/_esm/types/contracts/unifiedVerifier/SimpleAttestationVerifier.js +1 -315
- package/_esm/types/contracts/unifiedVerifier/UnifiedPaymentVerifier.js +1 -620
- package/_esm/types/contracts/unifiedVerifier/UnifiedPaymentVerifierV3.js +1 -0
- package/_esm/types/contracts/unifiedVerifier/index.js +1 -7
- package/_esm/utils/index.js +2 -8
- package/_esm/utils/protocolUtils.js +49 -66
- package/_esm/utils/riskMath.js +60 -0
- package/_types/abis/base/index.d.ts +23 -0
- package/_types/abis/baseStaging/index.d.ts +37 -0
- package/_types/abis/baseStaging.d.ts +14 -0
- package/_types/abis/contracts/index.d.ts +8 -0
- package/_types/abis/contracts.d.ts +10 -0
- package/_types/abis/index.d.ts +3 -0
- package/_types/addresses/index.d.ts +2 -3
- package/_types/constants/index.d.ts +2 -3
- package/_types/currencies/index.d.ts +3 -3
- package/_types/oracleFeeds/index.d.ts +3 -3
- package/_types/paymentMethods/index.d.ts +10 -4
- package/_types/types/common.d.ts +22 -0
- package/_types/types/contracts/Escrow.d.ts +1241 -0
- package/_types/types/contracts/EscrowV2.d.ts +1570 -0
- package/_types/types/contracts/Orchestrator.d.ts +672 -0
- package/_types/types/contracts/OrchestratorV2.d.ts +780 -0
- package/_types/types/contracts/OrchestratorV3.d.ts +951 -0
- package/_types/types/contracts/ProtocolViewer.d.ts +273 -0
- package/_types/types/contracts/ProtocolViewerV2.d.ts +264 -0
- package/_types/types/contracts/RateManagerV1.d.ts +447 -0
- package/_types/types/contracts/RiskManager.d.ts +1018 -0
- package/_types/types/contracts/StakeVault.d.ts +838 -0
- package/_types/types/contracts/external/Interfaces/IAcrossSpokePool.d.ts +62 -0
- package/_types/types/contracts/external/Interfaces/index.d.ts +1 -0
- package/_types/types/contracts/external/index.d.ts +2 -0
- package/_types/types/contracts/hooks/AcrossBridgeHook.d.ts +290 -0
- package/_types/types/contracts/hooks/AcrossBridgeHookV2.d.ts +297 -0
- package/_types/types/contracts/hooks/SignatureGatingPreIntentHook.d.ts +160 -0
- package/_types/types/contracts/hooks/WhitelistPreIntentHook.d.ts +193 -0
- package/_types/types/contracts/hooks/WhitelistPreIntentHookV2.d.ts +311 -0
- package/_types/types/contracts/hooks/index.d.ts +5 -0
- package/_types/types/contracts/index.d.ts +26 -0
- package/_types/types/contracts/interfaces/IAddressGroupRegistry.d.ts +208 -0
- package/_types/types/contracts/interfaces/IAttestationVerifier.d.ts +48 -0
- package/_types/types/contracts/interfaces/IChainlinkAggregatorV3.d.ts +86 -0
- package/_types/types/contracts/interfaces/IEscrow.d.ts +640 -0
- package/_types/types/contracts/interfaces/IEscrowRegistry.d.ts +58 -0
- package/_types/types/contracts/interfaces/IEscrowV2.d.ts +1041 -0
- package/_types/types/contracts/interfaces/IIntentRiskHook.d.ts +120 -0
- package/_types/types/contracts/interfaces/INullifierRegistry.d.ts +58 -0
- package/_types/types/contracts/interfaces/INullifierRegistryV2.d.ts +165 -0
- package/_types/types/contracts/interfaces/IOracleAdapter.d.ts +76 -0
- package/_types/types/contracts/interfaces/IOrchestrator.d.ts +385 -0
- package/_types/types/contracts/interfaces/IOrchestratorRegistry.d.ts +76 -0
- package/_types/types/contracts/interfaces/IOrchestratorV2.d.ts +517 -0
- package/_types/types/contracts/interfaces/IOrchestratorV3.d.ts +716 -0
- package/_types/types/contracts/interfaces/IPaymentVerifier.d.ts +76 -0
- package/_types/types/contracts/interfaces/IPaymentVerifierRegistry.d.ts +74 -0
- package/_types/types/contracts/interfaces/IPostIntentHook.d.ts +103 -0
- package/_types/types/contracts/interfaces/IPostIntentHookRegistry.d.ts +50 -0
- package/_types/types/contracts/interfaces/IPostIntentHookV2.d.ts +110 -0
- package/_types/types/contracts/interfaces/IPreIntentHook.d.ts +97 -0
- package/_types/types/contracts/interfaces/IProtocolViewer.d.ts +217 -0
- package/_types/types/contracts/interfaces/IProtocolViewerV2.d.ts +264 -0
- package/_types/types/contracts/interfaces/IPyth.d.ts +84 -0
- package/_types/types/contracts/interfaces/IRateManager.d.ts +93 -0
- package/_types/types/contracts/interfaces/IReferralFee.d.ts +27 -0
- package/_types/types/contracts/interfaces/IRelayerRegistry.d.ts +50 -0
- package/_types/types/contracts/interfaces/IRiskManager.d.ts +791 -0
- package/_types/types/contracts/interfaces/IStakeVault.d.ts +740 -0
- package/_types/types/contracts/interfaces/IWhitelistResolver.d.ts +42 -0
- package/_types/types/contracts/interfaces/index.d.ts +29 -0
- package/_types/types/contracts/lib/BoundedCall.d.ts +47 -0
- package/_types/types/contracts/lib/FeeSettlementLib.d.ts +47 -0
- package/_types/types/contracts/lib/RiskSettlementExecutor.d.ts +53 -0
- package/_types/types/contracts/lib/index.d.ts +3 -0
- package/_types/types/contracts/oracles/ChainlinkOracleAdapter.d.ts +76 -0
- package/_types/types/contracts/oracles/PythOracleAdapter.d.ts +84 -0
- package/_types/types/contracts/oracles/index.d.ts +2 -0
- package/_types/types/contracts/registries/AddressGroupRegistry.d.ts +325 -0
- package/_types/types/contracts/registries/EscrowRegistry.d.ts +206 -0
- package/_types/types/contracts/registries/NullifierRegistry.d.ts +200 -0
- package/_types/types/contracts/registries/NullifierRegistryV2.d.ts +218 -0
- package/_types/types/contracts/registries/OrchestratorRegistry.d.ts +151 -0
- package/_types/types/contracts/registries/PaymentVerifierRegistry.d.ts +270 -0
- package/_types/types/contracts/registries/PostIntentHookRegistry.d.ts +175 -0
- package/_types/types/contracts/registries/RelayerRegistry.d.ts +165 -0
- package/_types/types/contracts/registries/index.d.ts +8 -0
- package/_types/types/contracts/risk/ChargebackManager.d.ts +880 -0
- package/_types/types/contracts/risk/IntentExtensionManager.d.ts +831 -0
- package/_types/types/contracts/risk/index.d.ts +2 -0
- package/_types/types/contracts/unifiedVerifier/BaseUnifiedPaymentVerifier.d.ts +220 -0
- package/_types/types/contracts/unifiedVerifier/BaseUnifiedPaymentVerifierV3.d.ts +220 -0
- package/_types/types/contracts/unifiedVerifier/MultiAttestationVerifier.d.ts +216 -0
- package/_types/types/contracts/unifiedVerifier/SimpleAttestationVerifier.d.ts +148 -0
- package/_types/types/contracts/unifiedVerifier/UnifiedPaymentVerifier.d.ts +293 -0
- package/_types/types/contracts/unifiedVerifier/UnifiedPaymentVerifierV3.d.ts +293 -0
- package/_types/types/contracts/unifiedVerifier/index.d.ts +6 -0
- package/_types/types/index.d.ts +1 -0
- package/_types/utils/index.d.ts +3 -0
- package/_types/utils/protocolUtils.d.ts +40 -0
- package/_types/utils/riskMath.d.ts +22 -0
- package/abis/base/index.d.ts +23 -0
- package/abis/baseStaging/AddressGroupRegistry.json +478 -0
- package/abis/baseStaging/BoundedCall.json +91 -0
- package/abis/baseStaging/DeferredPayoutHook.json +245 -0
- package/abis/baseStaging/FeeSettlementLib.json +33 -0
- package/abis/baseStaging/NullifierRegistryV2.json +337 -0
- package/abis/baseStaging/OrchestratorV3.json +1855 -0
- package/abis/baseStaging/PostIntentHookExecutor.json +1 -0
- package/abis/baseStaging/RiskAttestationVerifier.json +241 -0
- package/abis/baseStaging/RiskManager.json +1940 -0
- package/abis/baseStaging/RiskSettlementExecutor.json +104 -0
- package/abis/baseStaging/StakeVault.json +1451 -0
- package/abis/baseStaging/StakeVaultRiskSettlement.json +1451 -0
- package/abis/baseStaging/UnifiedPaymentVerifierV3.json +364 -0
- package/abis/baseStaging/WhitelistPreIntentHookV2.json +556 -0
- package/abis/baseStaging/index.d.ts +37 -0
- package/abis/baseStaging/index.ts +14 -0
- package/abis/baseStaging.cjs +15 -1
- package/abis/baseStaging.d.ts +14 -0
- package/abis/baseStaging.mjs +14 -0
- package/abis/contracts/AddressGroupRegistry.json +478 -0
- package/abis/contracts/IIntentRiskHook.json +95 -0
- package/abis/contracts/NullifierRegistryV2.json +337 -0
- package/abis/contracts/OrchestratorV3.json +1855 -0
- package/abis/contracts/RiskManager.json +1940 -0
- package/abis/contracts/StakeVault.json +1451 -0
- package/abis/contracts/UnifiedPaymentVerifierV3.json +364 -0
- package/abis/contracts/WhitelistPreIntentHookV2.json +556 -0
- package/abis/contracts/index.d.ts +8 -0
- package/abis/contracts/index.ts +8 -0
- package/abis/contracts.cjs +11 -0
- package/abis/contracts.d.ts +10 -0
- package/abis/contracts.mjs +9 -0
- package/abis/index.d.ts +3 -0
- package/abis/index.ts +1 -0
- package/addresses/base.json +16 -2
- package/addresses/baseStaging.json +16 -2
- package/addresses/index.d.ts +2 -3
- package/addresses/index.json +1 -1
- package/constants/index.d.ts +2 -3
- package/constants/index.json +1 -1
- package/currencies/currencies.json +1 -1
- package/currencies/index.d.ts +3 -3
- package/oracleFeeds/chainlink.json +1 -1
- package/oracleFeeds/index.d.ts +3 -3
- package/package.json +16 -1
- package/paymentMethods/base.json +1 -1
- package/paymentMethods/baseStaging.json +1 -1
- package/paymentMethods/index.json +1 -1
- package/paymentMethods/lookups.json +1 -1
- package/types/common.d.ts +22 -0
- package/types/contracts/Escrow.d.ts +1241 -0
- package/types/contracts/EscrowV2.d.ts +1570 -0
- package/types/contracts/Orchestrator.d.ts +672 -0
- package/types/contracts/OrchestratorV2.d.ts +780 -0
- package/types/contracts/OrchestratorV3.d.ts +951 -0
- package/types/contracts/OrchestratorV3.ts +243 -403
- package/types/contracts/ProtocolViewer.d.ts +273 -0
- package/types/contracts/ProtocolViewerV2.d.ts +264 -0
- package/types/contracts/RateManagerV1.d.ts +447 -0
- package/types/contracts/RiskManager.d.ts +1018 -0
- package/{_cjs/types/contracts/RiskTierManager.js → types/contracts/RiskManager.ts} +889 -999
- package/types/contracts/StakeVault.d.ts +838 -0
- package/types/contracts/StakeVault.ts +684 -1756
- package/types/contracts/external/Interfaces/IAcrossSpokePool.d.ts +62 -0
- package/types/contracts/external/Interfaces/index.d.ts +1 -0
- package/types/contracts/external/index.d.ts +2 -0
- package/types/contracts/hooks/AcrossBridgeHook.d.ts +290 -0
- package/types/contracts/hooks/AcrossBridgeHookV2.d.ts +297 -0
- package/types/contracts/hooks/SignatureGatingPreIntentHook.d.ts +160 -0
- package/types/contracts/hooks/WhitelistPreIntentHook.d.ts +193 -0
- package/types/contracts/hooks/WhitelistPreIntentHookV2.d.ts +311 -0
- package/types/contracts/hooks/WhitelistPreIntentHookV2.ts +761 -0
- package/types/contracts/hooks/index.d.ts +5 -0
- package/types/contracts/hooks/index.ts +1 -1
- package/types/contracts/index.d.ts +26 -0
- package/types/contracts/index.ts +3 -1
- package/types/contracts/interfaces/IAddressGroupRegistry.d.ts +208 -0
- package/types/contracts/interfaces/IAddressGroupRegistry.ts +478 -0
- package/types/contracts/interfaces/IAttestationVerifier.d.ts +48 -0
- package/types/contracts/interfaces/IChainlinkAggregatorV3.d.ts +86 -0
- package/types/contracts/interfaces/IEscrow.d.ts +640 -0
- package/types/contracts/interfaces/IEscrowRegistry.d.ts +58 -0
- package/types/contracts/interfaces/IEscrowV2.d.ts +1041 -0
- package/types/contracts/interfaces/IEscrowV2.ts +22 -0
- package/types/contracts/interfaces/IIntentRiskHook.d.ts +120 -0
- package/types/contracts/interfaces/IIntentRiskHook.ts +57 -60
- package/types/contracts/interfaces/INullifierRegistry.d.ts +58 -0
- package/types/contracts/interfaces/INullifierRegistryV2.d.ts +165 -0
- package/types/contracts/interfaces/INullifierRegistryV2.ts +420 -0
- package/types/contracts/interfaces/IOracleAdapter.d.ts +76 -0
- package/types/contracts/interfaces/IOrchestrator.d.ts +385 -0
- package/types/contracts/interfaces/IOrchestratorRegistry.d.ts +76 -0
- package/types/contracts/interfaces/IOrchestratorV2.d.ts +517 -0
- package/types/contracts/interfaces/IOrchestratorV3.d.ts +716 -0
- package/types/contracts/interfaces/IOrchestratorV3.ts +214 -245
- package/types/contracts/interfaces/IPaymentVerifier.d.ts +76 -0
- package/types/contracts/interfaces/IPaymentVerifierRegistry.d.ts +74 -0
- package/types/contracts/interfaces/IPostIntentHook.d.ts +103 -0
- package/types/contracts/interfaces/IPostIntentHookRegistry.d.ts +50 -0
- package/types/contracts/interfaces/IPostIntentHookV2.d.ts +110 -0
- package/types/contracts/interfaces/IPreIntentHook.d.ts +97 -0
- package/types/contracts/interfaces/IProtocolViewer.d.ts +217 -0
- package/types/contracts/interfaces/IProtocolViewerV2.d.ts +264 -0
- package/types/contracts/interfaces/IPyth.d.ts +84 -0
- package/types/contracts/interfaces/IRateManager.d.ts +93 -0
- package/types/contracts/interfaces/IReferralFee.d.ts +27 -0
- package/types/contracts/interfaces/IRelayerRegistry.d.ts +50 -0
- package/types/contracts/interfaces/IRiskManager.d.ts +791 -0
- package/types/contracts/interfaces/{IRiskTierManager.ts → IRiskManager.ts} +722 -845
- package/types/contracts/interfaces/IStakeVault.d.ts +740 -0
- package/types/contracts/interfaces/IStakeVault.ts +661 -1626
- package/types/contracts/interfaces/IWhitelistResolver.d.ts +42 -0
- package/types/contracts/interfaces/IWhitelistResolver.ts +106 -0
- package/types/contracts/interfaces/index.d.ts +29 -0
- package/types/contracts/interfaces/index.ts +4 -2
- package/types/contracts/lib/BoundedCall.d.ts +47 -0
- package/types/contracts/lib/FeeSettlementLib.d.ts +47 -0
- package/types/contracts/lib/FeeSettlementLib.ts +87 -0
- package/types/contracts/lib/RiskSettlementExecutor.d.ts +53 -0
- package/types/contracts/lib/RiskSettlementExecutor.ts +98 -0
- package/types/contracts/lib/index.d.ts +3 -0
- package/types/contracts/lib/index.ts +2 -0
- package/types/contracts/oracles/ChainlinkOracleAdapter.d.ts +76 -0
- package/types/contracts/oracles/PythOracleAdapter.d.ts +84 -0
- package/types/contracts/oracles/index.d.ts +2 -0
- package/types/contracts/registries/AddressGroupRegistry.d.ts +325 -0
- package/types/contracts/registries/AddressGroupRegistry.ts +716 -0
- package/types/contracts/registries/EscrowRegistry.d.ts +206 -0
- package/types/contracts/registries/NullifierRegistry.d.ts +200 -0
- package/types/contracts/registries/NullifierRegistryV2.d.ts +218 -0
- package/types/contracts/registries/NullifierRegistryV2.ts +520 -0
- package/types/contracts/registries/OrchestratorRegistry.d.ts +151 -0
- package/types/contracts/registries/PaymentVerifierRegistry.d.ts +270 -0
- package/types/contracts/registries/PostIntentHookRegistry.d.ts +175 -0
- package/types/contracts/registries/RelayerRegistry.d.ts +165 -0
- package/types/contracts/registries/index.d.ts +8 -0
- package/types/contracts/registries/index.ts +2 -0
- package/types/contracts/risk/ChargebackManager.d.ts +880 -0
- package/{_cjs/types/contracts/interfaces/IRiskTierManager.js → types/contracts/risk/ChargebackManager.ts} +860 -845
- package/types/contracts/risk/IntentExtensionManager.d.ts +831 -0
- package/{_esm/types/contracts/interfaces/IRiskTierManager.js → types/contracts/risk/IntentExtensionManager.ts} +830 -847
- package/types/contracts/risk/index.d.ts +2 -0
- package/types/contracts/risk/index.ts +5 -0
- package/types/contracts/unifiedVerifier/BaseUnifiedPaymentVerifier.d.ts +220 -0
- package/types/contracts/unifiedVerifier/BaseUnifiedPaymentVerifierV3.d.ts +220 -0
- package/types/contracts/unifiedVerifier/BaseUnifiedPaymentVerifierV3.ts +502 -0
- package/types/contracts/unifiedVerifier/MultiAttestationVerifier.d.ts +216 -0
- package/types/contracts/unifiedVerifier/SimpleAttestationVerifier.d.ts +148 -0
- package/types/contracts/unifiedVerifier/UnifiedPaymentVerifier.d.ts +293 -0
- package/types/contracts/unifiedVerifier/UnifiedPaymentVerifierV3.d.ts +293 -0
- package/types/contracts/unifiedVerifier/UnifiedPaymentVerifierV3.ts +620 -0
- package/types/contracts/unifiedVerifier/index.d.ts +6 -0
- package/types/contracts/unifiedVerifier/index.ts +2 -0
- package/types/index.d.ts +1 -0
- package/utils/index.d.ts +3 -0
- package/utils/index.ts +1 -0
- package/utils/protocolUtils.d.ts +40 -0
- package/utils/riskMath.d.ts +22 -0
- package/utils/riskMath.ts +93 -0
- package/_cjs/types/contracts/hooks/DeferredPayoutHook.js +0 -288
- package/_cjs/types/contracts/interfaces/IDeferredPayoutHook.js +0 -206
- package/_esm/types/contracts/RiskTierManager.js +0 -2126
- package/_esm/types/contracts/hooks/DeferredPayoutHook.js +0 -288
- package/_esm/types/contracts/interfaces/IDeferredPayoutHook.js +0 -206
- package/types/contracts/RiskTierManager.ts +0 -2126
- package/types/contracts/hooks/DeferredPayoutHook.ts +0 -288
- package/types/contracts/interfaces/IDeferredPayoutHook.ts +0 -206
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,30 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
export type { IAttestationVerifier } from "./IAttestationVerifier";
|
|
5
|
-
export type { IChainlinkAggregatorV3 } from "./IChainlinkAggregatorV3";
|
|
6
|
-
export type { IDeferredPayoutHook } from "./IDeferredPayoutHook";
|
|
7
|
-
export type { IEscrow } from "./IEscrow";
|
|
8
|
-
export type { IEscrowRegistry } from "./IEscrowRegistry";
|
|
9
|
-
export type { IEscrowV2 } from "./IEscrowV2";
|
|
10
|
-
export type { IIntentRiskHook } from "./IIntentRiskHook";
|
|
11
|
-
export type { INullifierRegistry } from "./INullifierRegistry";
|
|
12
|
-
export type { IOracleAdapter } from "./IOracleAdapter";
|
|
13
|
-
export type { IOrchestrator } from "./IOrchestrator";
|
|
14
|
-
export type { IOrchestratorRegistry } from "./IOrchestratorRegistry";
|
|
15
|
-
export type { IOrchestratorV2 } from "./IOrchestratorV2";
|
|
16
|
-
export type { IOrchestratorV3 } from "./IOrchestratorV3";
|
|
17
|
-
export type { IPaymentVerifier } from "./IPaymentVerifier";
|
|
18
|
-
export type { IPaymentVerifierRegistry } from "./IPaymentVerifierRegistry";
|
|
19
|
-
export type { IPostIntentHook } from "./IPostIntentHook";
|
|
20
|
-
export type { IPostIntentHookRegistry } from "./IPostIntentHookRegistry";
|
|
21
|
-
export type { IPostIntentHookV2 } from "./IPostIntentHookV2";
|
|
22
|
-
export type { IPreIntentHook } from "./IPreIntentHook";
|
|
23
|
-
export type { IProtocolViewer } from "./IProtocolViewer";
|
|
24
|
-
export type { IProtocolViewerV2 } from "./IProtocolViewerV2";
|
|
25
|
-
export type { IPyth } from "./IPyth";
|
|
26
|
-
export type { IRateManager } from "./IRateManager";
|
|
27
|
-
export type { IReferralFee } from "./IReferralFee";
|
|
28
|
-
export type { IRelayerRegistry } from "./IRelayerRegistry";
|
|
29
|
-
export type { IRiskTierManager } from "./IRiskTierManager";
|
|
30
|
-
export type { IStakeVault } from "./IStakeVault";
|
|
1
|
+
export {};
|
|
@@ -1,87 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import type { BaseContract, BytesLike, Signer, utils } from "ethers";
|
|
5
|
-
import type { EventFragment } from "@ethersproject/abi";
|
|
6
|
-
import type { Listener, Provider } from "@ethersproject/providers";
|
|
7
|
-
import type {
|
|
8
|
-
TypedEventFilter,
|
|
9
|
-
TypedEvent,
|
|
10
|
-
TypedListener,
|
|
11
|
-
OnEvent,
|
|
12
|
-
PromiseOrValue,
|
|
13
|
-
} from "../../common";
|
|
14
|
-
|
|
15
|
-
export interface BoundedCallInterface extends utils.Interface {
|
|
16
|
-
functions: {};
|
|
17
|
-
|
|
18
|
-
events: {
|
|
19
|
-
"RiskHookCallbackFailed(bytes32,address,bytes4,bytes)": EventFragment;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
getEvent(nameOrSignatureOrTopic: "RiskHookCallbackFailed"): EventFragment;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export interface RiskHookCallbackFailedEventObject {
|
|
26
|
-
intentHash: string;
|
|
27
|
-
riskHook: string;
|
|
28
|
-
callbackSelector: string;
|
|
29
|
-
revertData: string;
|
|
30
|
-
}
|
|
31
|
-
export type RiskHookCallbackFailedEvent = TypedEvent<
|
|
32
|
-
[string, string, string, string],
|
|
33
|
-
RiskHookCallbackFailedEventObject
|
|
34
|
-
>;
|
|
35
|
-
|
|
36
|
-
export type RiskHookCallbackFailedEventFilter =
|
|
37
|
-
TypedEventFilter<RiskHookCallbackFailedEvent>;
|
|
38
|
-
|
|
39
|
-
export interface BoundedCall extends BaseContract {
|
|
40
|
-
connect(signerOrProvider: Signer | Provider | string): this;
|
|
41
|
-
attach(addressOrName: string): this;
|
|
42
|
-
deployed(): Promise<this>;
|
|
43
|
-
|
|
44
|
-
interface: BoundedCallInterface;
|
|
45
|
-
|
|
46
|
-
queryFilter<TEvent extends TypedEvent>(
|
|
47
|
-
event: TypedEventFilter<TEvent>,
|
|
48
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
49
|
-
toBlock?: string | number | undefined
|
|
50
|
-
): Promise<Array<TEvent>>;
|
|
51
|
-
|
|
52
|
-
listeners<TEvent extends TypedEvent>(
|
|
53
|
-
eventFilter?: TypedEventFilter<TEvent>
|
|
54
|
-
): Array<TypedListener<TEvent>>;
|
|
55
|
-
listeners(eventName?: string): Array<Listener>;
|
|
56
|
-
removeAllListeners<TEvent extends TypedEvent>(
|
|
57
|
-
eventFilter: TypedEventFilter<TEvent>
|
|
58
|
-
): this;
|
|
59
|
-
removeAllListeners(eventName?: string): this;
|
|
60
|
-
off: OnEvent<this>;
|
|
61
|
-
on: OnEvent<this>;
|
|
62
|
-
once: OnEvent<this>;
|
|
63
|
-
removeListener: OnEvent<this>;
|
|
64
|
-
|
|
65
|
-
functions: {};
|
|
66
|
-
|
|
67
|
-
callStatic: {};
|
|
68
|
-
|
|
69
|
-
filters: {
|
|
70
|
-
"RiskHookCallbackFailed(bytes32,address,bytes4,bytes)"(
|
|
71
|
-
intentHash?: PromiseOrValue<BytesLike> | null,
|
|
72
|
-
riskHook?: PromiseOrValue<string> | null,
|
|
73
|
-
callbackSelector?: PromiseOrValue<BytesLike> | null,
|
|
74
|
-
revertData?: null
|
|
75
|
-
): RiskHookCallbackFailedEventFilter;
|
|
76
|
-
RiskHookCallbackFailed(
|
|
77
|
-
intentHash?: PromiseOrValue<BytesLike> | null,
|
|
78
|
-
riskHook?: PromiseOrValue<string> | null,
|
|
79
|
-
callbackSelector?: PromiseOrValue<BytesLike> | null,
|
|
80
|
-
revertData?: null
|
|
81
|
-
): RiskHookCallbackFailedEventFilter;
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
estimateGas: {};
|
|
85
|
-
|
|
86
|
-
populateTransaction: {};
|
|
87
|
-
}
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,154 +1 @@
|
|
|
1
|
-
|
|
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 ChainlinkOracleAdapterInterface 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 ChainlinkOracleAdapter extends BaseContract {
|
|
52
|
-
connect(signerOrProvider: Signer | Provider | string): this;
|
|
53
|
-
attach(addressOrName: string): this;
|
|
54
|
-
deployed(): Promise<this>;
|
|
55
|
-
|
|
56
|
-
interface: ChainlinkOracleAdapterInterface;
|
|
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
|
-
}
|
|
1
|
+
export {};
|
|
@@ -1,167 +1 @@
|
|
|
1
|
-
|
|
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 PythOracleAdapterInterface extends utils.Interface {
|
|
24
|
-
functions: {
|
|
25
|
-
"getRate(bytes)": FunctionFragment;
|
|
26
|
-
"pyth()": FunctionFragment;
|
|
27
|
-
"validateConfig(bytes)": FunctionFragment;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
getFunction(
|
|
31
|
-
nameOrSignatureOrTopic: "getRate" | "pyth" | "validateConfig"
|
|
32
|
-
): FunctionFragment;
|
|
33
|
-
|
|
34
|
-
encodeFunctionData(
|
|
35
|
-
functionFragment: "getRate",
|
|
36
|
-
values: [PromiseOrValue<BytesLike>]
|
|
37
|
-
): string;
|
|
38
|
-
encodeFunctionData(functionFragment: "pyth", values?: undefined): string;
|
|
39
|
-
encodeFunctionData(
|
|
40
|
-
functionFragment: "validateConfig",
|
|
41
|
-
values: [PromiseOrValue<BytesLike>]
|
|
42
|
-
): string;
|
|
43
|
-
|
|
44
|
-
decodeFunctionResult(functionFragment: "getRate", data: BytesLike): Result;
|
|
45
|
-
decodeFunctionResult(functionFragment: "pyth", data: BytesLike): Result;
|
|
46
|
-
decodeFunctionResult(
|
|
47
|
-
functionFragment: "validateConfig",
|
|
48
|
-
data: BytesLike
|
|
49
|
-
): Result;
|
|
50
|
-
|
|
51
|
-
events: {};
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export interface PythOracleAdapter extends BaseContract {
|
|
55
|
-
connect(signerOrProvider: Signer | Provider | string): this;
|
|
56
|
-
attach(addressOrName: string): this;
|
|
57
|
-
deployed(): Promise<this>;
|
|
58
|
-
|
|
59
|
-
interface: PythOracleAdapterInterface;
|
|
60
|
-
|
|
61
|
-
queryFilter<TEvent extends TypedEvent>(
|
|
62
|
-
event: TypedEventFilter<TEvent>,
|
|
63
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
64
|
-
toBlock?: string | number | undefined
|
|
65
|
-
): Promise<Array<TEvent>>;
|
|
66
|
-
|
|
67
|
-
listeners<TEvent extends TypedEvent>(
|
|
68
|
-
eventFilter?: TypedEventFilter<TEvent>
|
|
69
|
-
): Array<TypedListener<TEvent>>;
|
|
70
|
-
listeners(eventName?: string): Array<Listener>;
|
|
71
|
-
removeAllListeners<TEvent extends TypedEvent>(
|
|
72
|
-
eventFilter: TypedEventFilter<TEvent>
|
|
73
|
-
): this;
|
|
74
|
-
removeAllListeners(eventName?: string): this;
|
|
75
|
-
off: OnEvent<this>;
|
|
76
|
-
on: OnEvent<this>;
|
|
77
|
-
once: OnEvent<this>;
|
|
78
|
-
removeListener: OnEvent<this>;
|
|
79
|
-
|
|
80
|
-
functions: {
|
|
81
|
-
getRate(
|
|
82
|
-
normalizedConfig: PromiseOrValue<BytesLike>,
|
|
83
|
-
overrides?: CallOverrides
|
|
84
|
-
): Promise<
|
|
85
|
-
[boolean, BigNumber, BigNumber] & {
|
|
86
|
-
valid: boolean;
|
|
87
|
-
rate: BigNumber;
|
|
88
|
-
updatedAt: BigNumber;
|
|
89
|
-
}
|
|
90
|
-
>;
|
|
91
|
-
|
|
92
|
-
pyth(overrides?: CallOverrides): Promise<[string]>;
|
|
93
|
-
|
|
94
|
-
validateConfig(
|
|
95
|
-
rawConfig: PromiseOrValue<BytesLike>,
|
|
96
|
-
overrides?: CallOverrides
|
|
97
|
-
): Promise<[string] & { normalizedConfig: string }>;
|
|
98
|
-
};
|
|
99
|
-
|
|
100
|
-
getRate(
|
|
101
|
-
normalizedConfig: PromiseOrValue<BytesLike>,
|
|
102
|
-
overrides?: CallOverrides
|
|
103
|
-
): Promise<
|
|
104
|
-
[boolean, BigNumber, BigNumber] & {
|
|
105
|
-
valid: boolean;
|
|
106
|
-
rate: BigNumber;
|
|
107
|
-
updatedAt: BigNumber;
|
|
108
|
-
}
|
|
109
|
-
>;
|
|
110
|
-
|
|
111
|
-
pyth(overrides?: CallOverrides): Promise<string>;
|
|
112
|
-
|
|
113
|
-
validateConfig(
|
|
114
|
-
rawConfig: PromiseOrValue<BytesLike>,
|
|
115
|
-
overrides?: CallOverrides
|
|
116
|
-
): Promise<string>;
|
|
117
|
-
|
|
118
|
-
callStatic: {
|
|
119
|
-
getRate(
|
|
120
|
-
normalizedConfig: PromiseOrValue<BytesLike>,
|
|
121
|
-
overrides?: CallOverrides
|
|
122
|
-
): Promise<
|
|
123
|
-
[boolean, BigNumber, BigNumber] & {
|
|
124
|
-
valid: boolean;
|
|
125
|
-
rate: BigNumber;
|
|
126
|
-
updatedAt: BigNumber;
|
|
127
|
-
}
|
|
128
|
-
>;
|
|
129
|
-
|
|
130
|
-
pyth(overrides?: CallOverrides): Promise<string>;
|
|
131
|
-
|
|
132
|
-
validateConfig(
|
|
133
|
-
rawConfig: PromiseOrValue<BytesLike>,
|
|
134
|
-
overrides?: CallOverrides
|
|
135
|
-
): Promise<string>;
|
|
136
|
-
};
|
|
137
|
-
|
|
138
|
-
filters: {};
|
|
139
|
-
|
|
140
|
-
estimateGas: {
|
|
141
|
-
getRate(
|
|
142
|
-
normalizedConfig: PromiseOrValue<BytesLike>,
|
|
143
|
-
overrides?: CallOverrides
|
|
144
|
-
): Promise<BigNumber>;
|
|
145
|
-
|
|
146
|
-
pyth(overrides?: CallOverrides): Promise<BigNumber>;
|
|
147
|
-
|
|
148
|
-
validateConfig(
|
|
149
|
-
rawConfig: PromiseOrValue<BytesLike>,
|
|
150
|
-
overrides?: CallOverrides
|
|
151
|
-
): Promise<BigNumber>;
|
|
152
|
-
};
|
|
153
|
-
|
|
154
|
-
populateTransaction: {
|
|
155
|
-
getRate(
|
|
156
|
-
normalizedConfig: PromiseOrValue<BytesLike>,
|
|
157
|
-
overrides?: CallOverrides
|
|
158
|
-
): Promise<PopulatedTransaction>;
|
|
159
|
-
|
|
160
|
-
pyth(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
161
|
-
|
|
162
|
-
validateConfig(
|
|
163
|
-
rawConfig: PromiseOrValue<BytesLike>,
|
|
164
|
-
overrides?: CallOverrides
|
|
165
|
-
): Promise<PopulatedTransaction>;
|
|
166
|
-
};
|
|
167
|
-
}
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|