@flarenetwork/flare-periphery-contract-artifacts 0.1.23 → 0.1.26
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/coston/artifacts/contracts/IAgentAlwaysAllowedMinters.sol/IAgentAlwaysAllowedMinters.json +57 -0
- package/coston/artifacts/contracts/IAssetManager.sol/IAssetManager.json +976 -6
- package/coston/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +25 -0
- package/coston/artifacts/contracts/ICoreVault.sol/ICoreVault.json +469 -0
- package/coston/artifacts/contracts/ICoreVaultSettings.sol/ICoreVaultSettings.json +184 -0
- package/coston/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +107 -0
- package/coston/artifacts/contracts/IJsonApi.sol/IJsonApi.json +1 -0
- package/coston/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +89 -0
- package/coston/artifacts/contracts/IWeb2Json.sol/IWeb2Json.json +1 -0
- package/coston/artifacts/contracts/IWeb2JsonVerification.sol/IWeb2JsonVerification.json +109 -0
- package/coston/artifacts/contracts/userInterfaces/data/CollateralReservationInfo.sol/CollateralReservationInfo.json +1 -0
- package/coston/artifacts/contracts/userInterfaces/data/RedemptionRequestInfo.sol/RedemptionRequestInfo.json +1 -0
- package/coston2/artifacts/contracts/IAgentAlwaysAllowedMinters.sol/IAgentAlwaysAllowedMinters.json +57 -0
- package/coston2/artifacts/contracts/IAgentPing.sol/IAgentPing.json +99 -0
- package/coston2/artifacts/contracts/IAssetManager.sol/IAssetManager.json +7139 -0
- package/coston2/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +1721 -0
- package/coston2/artifacts/contracts/ICoreVault.sol/ICoreVault.json +469 -0
- package/coston2/artifacts/contracts/ICoreVaultSettings.sol/ICoreVaultSettings.json +184 -0
- package/coston2/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +107 -0
- package/coston2/artifacts/contracts/IJsonApi.sol/IJsonApi.json +1 -0
- package/coston2/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +89 -0
- package/coston2/artifacts/contracts/IRedemptionTimeExtension.sol/IRedemptionTimeExtension.json +28 -0
- package/coston2/artifacts/contracts/ITransferFees.sol/ITransferFees.json +394 -0
- package/coston2/artifacts/contracts/IWeb2Json.sol/IWeb2Json.json +1 -0
- package/coston2/artifacts/contracts/IWeb2JsonVerification.sol/IWeb2JsonVerification.json +109 -0
- package/coston2/artifacts/contracts/diamond/interfaces/IDiamondLoupe.sol/IDiamondLoupe.json +78 -0
- package/coston2/artifacts/contracts/userInterfaces/data/AgentInfo.sol/AgentInfo.json +1 -0
- package/coston2/artifacts/contracts/userInterfaces/data/AgentSettings.sol/AgentSettings.json +1 -0
- package/coston2/artifacts/contracts/userInterfaces/data/AssetManagerSettings.sol/AssetManagerSettings.json +1 -0
- package/coston2/artifacts/contracts/userInterfaces/data/AvailableAgentInfo.sol/AvailableAgentInfo.json +1 -0
- package/coston2/artifacts/contracts/userInterfaces/data/CollateralReservationInfo.sol/CollateralReservationInfo.json +1 -0
- package/coston2/artifacts/contracts/userInterfaces/data/CollateralType.sol/CollateralType.json +1 -0
- package/coston2/artifacts/contracts/userInterfaces/data/RedemptionRequestInfo.sol/RedemptionRequestInfo.json +1 -0
- package/coston2/artifacts/contracts/userInterfaces/data/RedemptionTicketInfo.sol/RedemptionTicketInfo.json +1 -0
- package/dist/coston/StateConnector/libs/ts/AttestationDefinitionStore.d.ts +68 -0
- package/dist/coston/StateConnector/libs/ts/AttestationDefinitionStore.d.ts.map +1 -0
- package/dist/coston/StateConnector/libs/ts/AttestationResponse.d.ts +33 -0
- package/dist/coston/StateConnector/libs/ts/AttestationResponse.d.ts.map +1 -0
- package/dist/coston/StateConnector/libs/ts/MerkleTree.d.ts +103 -0
- package/dist/coston/StateConnector/libs/ts/MerkleTree.d.ts.map +1 -0
- package/dist/coston/StateConnector/libs/ts/config-types.d.ts +143 -0
- package/dist/coston/StateConnector/libs/ts/config-types.d.ts.map +1 -0
- package/dist/coston/StateConnector/libs/ts/interfaces.d.ts +32 -0
- package/dist/coston/StateConnector/libs/ts/interfaces.d.ts.map +1 -0
- package/dist/coston/StateConnector/libs/ts/random.d.ts +9 -0
- package/dist/coston/StateConnector/libs/ts/random.d.ts.map +1 -0
- package/dist/coston/StateConnector/libs/ts/utils.d.ts +67 -0
- package/dist/coston/StateConnector/libs/ts/utils.d.ts.map +1 -0
- package/dist/coston/StateConnector/typescript/AddressValidity.d.ts +95 -0
- package/dist/coston/StateConnector/typescript/AddressValidity.d.ts.map +1 -0
- package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.d.ts +107 -0
- package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.d.ts.map +1 -0
- package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.d.ts +103 -0
- package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.d.ts.map +1 -0
- package/dist/coston/StateConnector/typescript/EVMTransaction.d.ts +160 -0
- package/dist/coston/StateConnector/typescript/EVMTransaction.d.ts.map +1 -0
- package/dist/coston/StateConnector/typescript/Payment.d.ts +139 -0
- package/dist/coston/StateConnector/typescript/Payment.d.ts.map +1 -0
- package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.d.ts +115 -0
- package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.d.ts.map +1 -0
- package/dist/coston/StateConnector/typescript/TypeTemplate.d.ts +146 -0
- package/dist/coston/StateConnector/typescript/TypeTemplate.d.ts.map +1 -0
- package/dist/coston/StateConnector/typescript/data-sources/data-sources.d.ts +29 -0
- package/dist/coston/StateConnector/typescript/data-sources/data-sources.d.ts.map +1 -0
- package/dist/coston/StateConnector/typescript/index.d.ts +9 -0
- package/dist/coston/StateConnector/typescript/index.d.ts.map +1 -0
- package/dist/coston/abis.d.ts +13 -0
- package/dist/coston/abis.d.ts.map +1 -0
- package/dist/coston/artifacts/contracts/ContractRegistry.sol/ContractRegistry.json +1 -0
- package/dist/coston/artifacts/contracts/FtsoV2Interface.sol/FtsoV2Interface.json +274 -0
- package/dist/coston/artifacts/contracts/IAddressValidity.sol/IAddressValidity.json +1 -0
- package/dist/coston/artifacts/contracts/IAddressValidityVerification.sol/IAddressValidityVerification.json +89 -0
- package/dist/coston/artifacts/contracts/IAgentAlwaysAllowedMinters.sol/IAgentAlwaysAllowedMinters.json +57 -0
- package/dist/coston/artifacts/contracts/IAgentPing.sol/IAgentPing.json +99 -0
- package/dist/coston/artifacts/contracts/IAssetManager.sol/IAssetManager.json +7139 -0
- package/dist/coston/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +1721 -0
- package/dist/coston/artifacts/contracts/IBalanceDecreasingTransaction.sol/IBalanceDecreasingTransaction.json +1 -0
- package/dist/coston/artifacts/contracts/IBalanceDecreasingTransactionVerification.sol/IBalanceDecreasingTransactionVerification.json +104 -0
- package/dist/coston/artifacts/contracts/ICChainStake.sol/ICChainStake.json +375 -0
- package/dist/coston/artifacts/contracts/ICChainVotePower.sol/ICChainVotePower.json +300 -0
- package/dist/coston/artifacts/contracts/IClaimSetupManager.sol/IClaimSetupManager.json +656 -0
- package/dist/coston/artifacts/contracts/IConfirmedBlockHeightExists.sol/IConfirmedBlockHeightExists.json +1 -0
- package/dist/coston/artifacts/contracts/IConfirmedBlockHeightExistsVerification.sol/IConfirmedBlockHeightExistsVerification.json +99 -0
- package/dist/coston/artifacts/contracts/ICoreVault.sol/ICoreVault.json +469 -0
- package/dist/coston/artifacts/contracts/ICoreVaultSettings.sol/ICoreVaultSettings.json +184 -0
- package/dist/coston/artifacts/contracts/IDelegationAccount.sol/IDelegationAccount.json +135 -0
- package/dist/coston/artifacts/contracts/IEVMTransaction.sol/IEVMTransaction.json +1 -0
- package/dist/coston/artifacts/contracts/IEVMTransactionVerification.sol/IEVMTransactionVerification.json +166 -0
- package/dist/coston/artifacts/contracts/IEntityManager.sol/IEntityManager.json +790 -0
- package/dist/coston/artifacts/contracts/IFastUpdateIncentiveManager.sol/IFastUpdateIncentiveManager.json +230 -0
- package/dist/coston/artifacts/contracts/IFastUpdater.sol/IFastUpdater.json +354 -0
- package/dist/coston/artifacts/contracts/IFastUpdatesConfiguration.sol/IFastUpdatesConfiguration.json +190 -0
- package/dist/coston/artifacts/contracts/IFdcHub.sol/IFdcHub.json +138 -0
- package/dist/coston/artifacts/contracts/IFdcInflationConfigurations.sol/IFdcInflationConfigurations.json +88 -0
- package/dist/coston/artifacts/contracts/IFdcRequestFeeConfigurations.sol/IFdcRequestFeeConfigurations.json +65 -0
- package/dist/coston/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +828 -0
- package/dist/coston/artifacts/contracts/IFeeCalculator.sol/IFeeCalculator.json +40 -0
- package/dist/coston/artifacts/contracts/IFlareAssetRegistry.sol/IFlareAssetRegistry.json +232 -0
- package/dist/coston/artifacts/contracts/IFlareContractRegistry.sol/IFlareContractRegistry.json +96 -0
- package/dist/coston/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +109 -0
- package/dist/coston/artifacts/contracts/IFlareSystemsManager.sol/IFlareSystemsManager.json +649 -0
- package/dist/coston/artifacts/contracts/IFtso.sol/IFtso.json +503 -0
- package/dist/coston/artifacts/contracts/IFtsoFeedDecimals.sol/IFtsoFeedDecimals.json +168 -0
- package/dist/coston/artifacts/contracts/IFtsoFeedIdConverter.sol/IFtsoFeedIdConverter.json +50 -0
- package/dist/coston/artifacts/contracts/IFtsoFeedPublisher.sol/IFtsoFeedPublisher.json +214 -0
- package/dist/coston/artifacts/contracts/IFtsoInflationConfigurations.sol/IFtsoInflationConfigurations.json +98 -0
- package/dist/coston/artifacts/contracts/IFtsoManager.sol/IFtsoManager.json +367 -0
- package/dist/coston/artifacts/contracts/IFtsoRegistry.sol/IFtsoRegistry.json +436 -0
- package/dist/coston/artifacts/contracts/IFtsoRewardManager.sol/IFtsoRewardManager.json +693 -0
- package/dist/coston/artifacts/contracts/IFtsoRewardOffersManager.sol/IFtsoRewardOffersManager.json +188 -0
- package/dist/coston/artifacts/contracts/IGenericRewardManager.sol/IGenericRewardManager.json +239 -0
- package/dist/coston/artifacts/contracts/IGovernanceSettings.sol/IGovernanceSettings.json +60 -0
- package/dist/coston/artifacts/contracts/IGovernanceVotePower.sol/IGovernanceVotePower.json +108 -0
- package/dist/coston/artifacts/contracts/IGovernor.sol/IGovernor.json +515 -0
- package/dist/coston/artifacts/contracts/IIncreaseManager.sol/IIncreaseManager.json +15 -0
- package/dist/coston/artifacts/contracts/IJsonApi.sol/IJsonApi.json +1 -0
- package/dist/coston/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +89 -0
- package/dist/coston/artifacts/contracts/IPayment.sol/IPayment.json +1 -0
- package/dist/coston/artifacts/contracts/IPaymentVerification.sol/IPaymentVerification.json +149 -0
- package/dist/coston/artifacts/contracts/IPollingManagementGroup.sol/IPollingManagementGroup.json +547 -0
- package/dist/coston/artifacts/contracts/IPriceSubmitter.sol/IPriceSubmitter.json +191 -0
- package/dist/coston/artifacts/contracts/IRNat.sol/IRNat.json +930 -0
- package/dist/coston/artifacts/contracts/IRNatAccount.sol/IRNatAccount.json +137 -0
- package/dist/coston/artifacts/contracts/IRandomProvider.sol/IRandomProvider.json +56 -0
- package/dist/coston/artifacts/contracts/IRedemptionTimeExtension.sol/IRedemptionTimeExtension.json +28 -0
- package/dist/coston/artifacts/contracts/IReferencedPaymentNonexistence.sol/IReferencedPaymentNonexistence.json +1 -0
- package/dist/coston/artifacts/contracts/IReferencedPaymentNonexistenceVerification.sol/IReferencedPaymentNonexistenceVerification.json +124 -0
- package/dist/coston/artifacts/contracts/IRelay.sol/IRelay.json +426 -0
- package/dist/coston/artifacts/contracts/IRewardManager.sol/IRewardManager.json +605 -0
- package/dist/coston/artifacts/contracts/ISubmission.sol/ISubmission.json +133 -0
- package/dist/coston/artifacts/contracts/ITransferFees.sol/ITransferFees.json +394 -0
- package/dist/coston/artifacts/contracts/IVPContractEvents.sol/IVPContractEvents.json +64 -0
- package/dist/coston/artifacts/contracts/IVPToken.sol/IVPToken.json +649 -0
- package/dist/coston/artifacts/contracts/IValidatorRewardOffersManager.sol/IValidatorRewardOffersManager.json +21 -0
- package/dist/coston/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +118 -0
- package/dist/coston/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +256 -0
- package/dist/coston/artifacts/contracts/IVoterWhitelister.sol/IVoterWhitelister.json +190 -0
- package/dist/coston/artifacts/contracts/IWNat.sol/IWNat.json +752 -0
- package/dist/coston/artifacts/contracts/IWNatDelegationFee.sol/IWNatDelegationFee.json +144 -0
- package/dist/coston/artifacts/contracts/IWeb2Json.sol/IWeb2Json.json +1 -0
- package/dist/coston/artifacts/contracts/IWeb2JsonVerification.sol/IWeb2JsonVerification.json +109 -0
- package/dist/coston/artifacts/contracts/ProtocolsV2Interface.sol/ProtocolsV2Interface.json +118 -0
- package/dist/coston/artifacts/contracts/RandomNumberV2Interface.sol/RandomNumberV2Interface.json +54 -0
- package/dist/coston/artifacts/contracts/RewardsV2Interface.sol/RewardsV2Interface.json +171 -0
- package/dist/coston/artifacts/contracts/TestFtsoV2Interface.sol/TestFtsoV2Interface.json +274 -0
- package/dist/coston/artifacts/contracts/customFeeds/interfaces/IICustomFeed.sol/IICustomFeed.json +51 -0
- package/dist/coston/artifacts/contracts/diamond/interfaces/IDiamondLoupe.sol/IDiamondLoupe.json +78 -0
- package/dist/coston/artifacts/contracts/fdc/interfaces/ITypeTemplate.sol/ITypeTemplate.json +1 -0
- package/dist/coston/artifacts/contracts/fdc/interfaces/ITypeTemplateVerification.sol/ITypeTemplateVerification.json +140 -0
- package/dist/coston/artifacts/contracts/fscV1/interfaces/IIFastUpdaterView.sol/IIFastUpdaterView.json +31 -0
- package/dist/coston/artifacts/contracts/fscV1/interfaces/IIFtsoManagerProxy.sol/IIFtsoManagerProxy.json +54 -0
- package/dist/coston/artifacts/contracts/ftso/interfaces/IIFtso.sol/IIFtso.json +944 -0
- package/dist/coston/artifacts/contracts/ftso/interfaces/IIFtsoFeedPublisher.sol/IIFtsoFeedPublisher.json +254 -0
- package/dist/coston/artifacts/contracts/genesis/interfaces/IFlareDaemonize.sol/IFlareDaemonize.json +28 -0
- package/dist/coston/artifacts/contracts/genesis/interfaces/IFtsoGenesis.sol/IFtsoGenesis.json +82 -0
- package/dist/coston/artifacts/contracts/genesis/interfaces/IFtsoManagerGenesis.sol/IFtsoManagerGenesis.json +15 -0
- package/dist/coston/artifacts/contracts/genesis/interfaces/IFtsoRegistryGenesis.sol/IFtsoRegistryGenesis.json +21 -0
- package/dist/coston/artifacts/contracts/governance/interfaces/IIGovernorProposer.sol/IIGovernorProposer.json +21 -0
- package/dist/coston/artifacts/contracts/governance/interfaces/IIPollingFoundation.sol/IIPollingFoundation.json +671 -0
- package/dist/coston/artifacts/contracts/governance/interfaces/IIPollingManagementGroup.sol/IIPollingManagementGroup.json +679 -0
- package/dist/coston/artifacts/contracts/protocol/interfaces/IIClaimSetupManager.sol/IIClaimSetupManager.json +786 -0
- package/dist/coston/artifacts/contracts/protocol/interfaces/IICleanupBlockNumberManager.sol/IICleanupBlockNumberManager.json +15 -0
- package/dist/coston/artifacts/contracts/protocol/interfaces/IIEntityManager.sol/IIEntityManager.json +939 -0
- package/dist/coston/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +162 -0
- package/dist/coston/artifacts/contracts/protocol/interfaces/IIFlareSystemsManager.sol/IIFlareSystemsManager.json +1217 -0
- package/dist/coston/artifacts/contracts/protocol/interfaces/IINodePossessionVerifier.sol/IINodePossessionVerifier.json +30 -0
- package/dist/coston/artifacts/contracts/protocol/interfaces/IIPublicKeyVerifier.sol/IIPublicKeyVerifier.json +30 -0
- package/dist/coston/artifacts/contracts/protocol/interfaces/IIRelay.sol/IIRelay.json +477 -0
- package/dist/coston/artifacts/contracts/protocol/interfaces/IIRewardEpochSwitchoverTrigger.sol/IIRewardEpochSwitchoverTrigger.json +25 -0
- package/dist/coston/artifacts/contracts/protocol/interfaces/IIRewardManager.sol/IIRewardManager.json +714 -0
- package/dist/coston/artifacts/contracts/protocol/interfaces/IISubmission.sol/IISubmission.json +161 -0
- package/dist/coston/artifacts/contracts/protocol/interfaces/IIVoterRegistrationTrigger.sol/IIVoterRegistrationTrigger.json +15 -0
- package/dist/coston/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +623 -0
- package/dist/coston/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +1061 -0
- package/dist/coston/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +333 -0
- package/dist/coston/artifacts/contracts/token/interfaces/IICleanable.sol/IICleanable.json +54 -0
- package/dist/coston/artifacts/contracts/token/interfaces/IIGovernanceVotePower.sol/IIGovernanceVotePower.json +243 -0
- package/dist/coston/artifacts/contracts/token/interfaces/IIVPContract.sol/IIVPContract.json +600 -0
- package/dist/coston/artifacts/contracts/token/interfaces/IIVPToken.sol/IIVPToken.json +781 -0
- package/dist/coston/artifacts/contracts/userInterfaces/data/AgentInfo.sol/AgentInfo.json +1 -0
- package/dist/coston/artifacts/contracts/userInterfaces/data/AgentSettings.sol/AgentSettings.json +1 -0
- package/dist/coston/artifacts/contracts/userInterfaces/data/AssetManagerSettings.sol/AssetManagerSettings.json +1 -0
- package/dist/coston/artifacts/contracts/userInterfaces/data/AvailableAgentInfo.sol/AvailableAgentInfo.json +1 -0
- package/dist/coston/artifacts/contracts/userInterfaces/data/CollateralReservationInfo.sol/CollateralReservationInfo.json +1 -0
- package/dist/coston/artifacts/contracts/userInterfaces/data/CollateralType.sol/CollateralType.json +1 -0
- package/dist/coston/artifacts/contracts/userInterfaces/data/RedemptionRequestInfo.sol/RedemptionRequestInfo.json +1 -0
- package/dist/coston/artifacts/contracts/userInterfaces/data/RedemptionTicketInfo.sol/RedemptionTicketInfo.json +1 -0
- package/dist/coston/index.d.ts +3 -0
- package/dist/coston/index.d.ts.map +1 -0
- package/dist/coston/mapper.d.ts +3 -0
- package/dist/coston/mapper.d.ts.map +1 -0
- package/dist/coston2/abis.d.ts +13 -0
- package/dist/coston2/abis.d.ts.map +1 -0
- package/dist/coston2/artifacts/contracts/ContractRegistry.sol/ContractRegistry.json +1 -0
- package/dist/coston2/artifacts/contracts/FtsoV2Interface.sol/FtsoV2Interface.json +274 -0
- package/dist/coston2/artifacts/contracts/IAddressBinder.sol/IAddressBinder.json +112 -0
- package/dist/coston2/artifacts/contracts/IAddressValidity.sol/IAddressValidity.json +1 -0
- package/dist/coston2/artifacts/contracts/IAddressValidityVerification.sol/IAddressValidityVerification.json +89 -0
- package/dist/coston2/artifacts/contracts/IAgentAlwaysAllowedMinters.sol/IAgentAlwaysAllowedMinters.json +57 -0
- package/dist/coston2/artifacts/contracts/IAgentPing.sol/IAgentPing.json +99 -0
- package/dist/coston2/artifacts/contracts/IAssetManager.sol/IAssetManager.json +7139 -0
- package/dist/coston2/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +1721 -0
- package/dist/coston2/artifacts/contracts/IBalanceDecreasingTransaction.sol/IBalanceDecreasingTransaction.json +1 -0
- package/dist/coston2/artifacts/contracts/IBalanceDecreasingTransactionVerification.sol/IBalanceDecreasingTransactionVerification.json +104 -0
- package/dist/coston2/artifacts/contracts/ICChainStake.sol/ICChainStake.json +375 -0
- package/dist/coston2/artifacts/contracts/ICChainVotePower.sol/ICChainVotePower.json +300 -0
- package/dist/coston2/artifacts/contracts/IClaimSetupManager.sol/IClaimSetupManager.json +656 -0
- package/dist/coston2/artifacts/contracts/IConfirmedBlockHeightExists.sol/IConfirmedBlockHeightExists.json +1 -0
- package/dist/coston2/artifacts/contracts/IConfirmedBlockHeightExistsVerification.sol/IConfirmedBlockHeightExistsVerification.json +99 -0
- package/dist/coston2/artifacts/contracts/ICoreVault.sol/ICoreVault.json +469 -0
- package/dist/coston2/artifacts/contracts/ICoreVaultSettings.sol/ICoreVaultSettings.json +184 -0
- package/dist/coston2/artifacts/contracts/IDelegationAccount.sol/IDelegationAccount.json +135 -0
- package/dist/coston2/artifacts/contracts/IDistributionToDelegators.sol/IDistributionToDelegators.json +249 -0
- package/dist/coston2/artifacts/contracts/IEVMTransaction.sol/IEVMTransaction.json +1 -0
- package/dist/coston2/artifacts/contracts/IEVMTransactionVerification.sol/IEVMTransactionVerification.json +166 -0
- package/dist/coston2/artifacts/contracts/IEntityManager.sol/IEntityManager.json +790 -0
- package/dist/coston2/artifacts/contracts/IFastUpdateIncentiveManager.sol/IFastUpdateIncentiveManager.json +230 -0
- package/dist/coston2/artifacts/contracts/IFastUpdater.sol/IFastUpdater.json +354 -0
- package/dist/coston2/artifacts/contracts/IFastUpdatesConfiguration.sol/IFastUpdatesConfiguration.json +190 -0
- package/dist/coston2/artifacts/contracts/IFdcHub.sol/IFdcHub.json +138 -0
- package/dist/coston2/artifacts/contracts/IFdcInflationConfigurations.sol/IFdcInflationConfigurations.json +88 -0
- package/dist/coston2/artifacts/contracts/IFdcRequestFeeConfigurations.sol/IFdcRequestFeeConfigurations.json +65 -0
- package/dist/coston2/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +828 -0
- package/dist/coston2/artifacts/contracts/IFeeCalculator.sol/IFeeCalculator.json +40 -0
- package/dist/coston2/artifacts/contracts/IFlareAssetRegistry.sol/IFlareAssetRegistry.json +232 -0
- package/dist/coston2/artifacts/contracts/IFlareContractRegistry.sol/IFlareContractRegistry.json +96 -0
- package/dist/coston2/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +109 -0
- package/dist/coston2/artifacts/contracts/IFlareSystemsManager.sol/IFlareSystemsManager.json +649 -0
- package/dist/coston2/artifacts/contracts/IFtso.sol/IFtso.json +466 -0
- package/dist/coston2/artifacts/contracts/IFtsoFeedDecimals.sol/IFtsoFeedDecimals.json +168 -0
- package/dist/coston2/artifacts/contracts/IFtsoFeedIdConverter.sol/IFtsoFeedIdConverter.json +50 -0
- package/dist/coston2/artifacts/contracts/IFtsoFeedPublisher.sol/IFtsoFeedPublisher.json +214 -0
- package/dist/coston2/artifacts/contracts/IFtsoInflationConfigurations.sol/IFtsoInflationConfigurations.json +98 -0
- package/dist/coston2/artifacts/contracts/IFtsoManager.sol/IFtsoManager.json +367 -0
- package/dist/coston2/artifacts/contracts/IFtsoRegistry.sol/IFtsoRegistry.json +436 -0
- package/dist/coston2/artifacts/contracts/IFtsoRewardManager.sol/IFtsoRewardManager.json +693 -0
- package/dist/coston2/artifacts/contracts/IFtsoRewardOffersManager.sol/IFtsoRewardOffersManager.json +188 -0
- package/dist/coston2/artifacts/contracts/IGenericRewardManager.sol/IGenericRewardManager.json +239 -0
- package/dist/coston2/artifacts/contracts/IGovernanceSettings.sol/IGovernanceSettings.json +60 -0
- package/dist/coston2/artifacts/contracts/IGovernanceVotePower.sol/IGovernanceVotePower.json +108 -0
- package/dist/coston2/artifacts/contracts/IGovernor.sol/IGovernor.json +515 -0
- package/dist/coston2/artifacts/contracts/IIncreaseManager.sol/IIncreaseManager.json +15 -0
- package/dist/coston2/artifacts/contracts/IJsonApi.sol/IJsonApi.json +1 -0
- package/dist/coston2/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +89 -0
- package/dist/coston2/artifacts/contracts/IPChainStakeMirror.sol/IPChainStakeMirror.json +566 -0
- package/dist/coston2/artifacts/contracts/IPChainStakeMirrorMultiSigVoting.sol/IPChainStakeMirrorMultiSigVoting.json +302 -0
- package/dist/coston2/artifacts/contracts/IPChainStakeMirrorVerifier.sol/IPChainStakeMirrorVerifier.json +1 -0
- package/dist/coston2/artifacts/contracts/IPChainVotePower.sol/IPChainVotePower.json +300 -0
- package/dist/coston2/artifacts/contracts/IPayment.sol/IPayment.json +1 -0
- package/dist/coston2/artifacts/contracts/IPaymentVerification.sol/IPaymentVerification.json +149 -0
- package/dist/coston2/artifacts/contracts/IPollingManagementGroup.sol/IPollingManagementGroup.json +547 -0
- package/dist/coston2/artifacts/contracts/IPriceSubmitter.sol/IPriceSubmitter.json +212 -0
- package/dist/coston2/artifacts/contracts/IRNat.sol/IRNat.json +930 -0
- package/dist/coston2/artifacts/contracts/IRNatAccount.sol/IRNatAccount.json +137 -0
- package/dist/coston2/artifacts/contracts/IRandomProvider.sol/IRandomProvider.json +56 -0
- package/dist/coston2/artifacts/contracts/IRedemptionTimeExtension.sol/IRedemptionTimeExtension.json +28 -0
- package/dist/coston2/artifacts/contracts/IReferencedPaymentNonexistence.sol/IReferencedPaymentNonexistence.json +1 -0
- package/dist/coston2/artifacts/contracts/IReferencedPaymentNonexistenceVerification.sol/IReferencedPaymentNonexistenceVerification.json +124 -0
- package/dist/coston2/artifacts/contracts/IRelay.sol/IRelay.json +426 -0
- package/dist/coston2/artifacts/contracts/IRewardManager.sol/IRewardManager.json +605 -0
- package/dist/coston2/artifacts/contracts/ISubmission.sol/ISubmission.json +133 -0
- package/dist/coston2/artifacts/contracts/ITransferFees.sol/ITransferFees.json +394 -0
- package/dist/coston2/artifacts/contracts/IVPContractEvents.sol/IVPContractEvents.json +64 -0
- package/dist/coston2/artifacts/contracts/IVPToken.sol/IVPToken.json +691 -0
- package/dist/coston2/artifacts/contracts/IValidatorRegistry.sol/IValidatorRegistry.json +127 -0
- package/dist/coston2/artifacts/contracts/IValidatorRewardOffersManager.sol/IValidatorRewardOffersManager.json +21 -0
- package/dist/coston2/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +118 -0
- package/dist/coston2/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +256 -0
- package/dist/coston2/artifacts/contracts/IVoterWhitelister.sol/IVoterWhitelister.json +190 -0
- package/dist/coston2/artifacts/contracts/IWNat.sol/IWNat.json +781 -0
- package/dist/coston2/artifacts/contracts/IWNatDelegationFee.sol/IWNatDelegationFee.json +144 -0
- package/dist/coston2/artifacts/contracts/IWeb2Json.sol/IWeb2Json.json +1 -0
- package/dist/coston2/artifacts/contracts/IWeb2JsonVerification.sol/IWeb2JsonVerification.json +109 -0
- package/dist/coston2/artifacts/contracts/ProtocolsV2Interface.sol/ProtocolsV2Interface.json +118 -0
- package/dist/coston2/artifacts/contracts/RandomNumberV2Interface.sol/RandomNumberV2Interface.json +54 -0
- package/dist/coston2/artifacts/contracts/RewardsV2Interface.sol/RewardsV2Interface.json +171 -0
- package/dist/coston2/artifacts/contracts/TestFtsoV2Interface.sol/TestFtsoV2Interface.json +274 -0
- package/dist/coston2/artifacts/contracts/customFeeds/interfaces/IICustomFeed.sol/IICustomFeed.json +51 -0
- package/dist/coston2/artifacts/contracts/diamond/interfaces/IDiamondLoupe.sol/IDiamondLoupe.json +78 -0
- package/dist/coston2/artifacts/contracts/fdc/interfaces/ITypeTemplate.sol/ITypeTemplate.json +1 -0
- package/dist/coston2/artifacts/contracts/fdc/interfaces/ITypeTemplateVerification.sol/ITypeTemplateVerification.json +140 -0
- package/dist/coston2/artifacts/contracts/fscV1/interfaces/IIFastUpdaterView.sol/IIFastUpdaterView.json +31 -0
- package/dist/coston2/artifacts/contracts/fscV1/interfaces/IIFtsoManagerProxy.sol/IIFtsoManagerProxy.json +54 -0
- package/dist/coston2/artifacts/contracts/ftso/interfaces/IIFtso.sol/IIFtso.json +879 -0
- package/dist/coston2/artifacts/contracts/ftso/interfaces/IIFtsoFeedPublisher.sol/IIFtsoFeedPublisher.json +254 -0
- package/dist/coston2/artifacts/contracts/genesis/interfaces/IFlareDaemonize.sol/IFlareDaemonize.json +41 -0
- package/dist/coston2/artifacts/contracts/genesis/interfaces/IFtsoGenesis.sol/IFtsoGenesis.json +54 -0
- package/dist/coston2/artifacts/contracts/genesis/interfaces/IFtsoManagerGenesis.sol/IFtsoManagerGenesis.json +15 -0
- package/dist/coston2/artifacts/contracts/genesis/interfaces/IFtsoRegistryGenesis.sol/IFtsoRegistryGenesis.json +21 -0
- package/dist/coston2/artifacts/contracts/governance/interfaces/IIGovernorProposer.sol/IIGovernorProposer.json +21 -0
- package/dist/coston2/artifacts/contracts/governance/interfaces/IIPollingFoundation.sol/IIPollingFoundation.json +671 -0
- package/dist/coston2/artifacts/contracts/governance/interfaces/IIPollingManagementGroup.sol/IIPollingManagementGroup.json +679 -0
- package/dist/coston2/artifacts/contracts/protocol/interfaces/IIClaimSetupManager.sol/IIClaimSetupManager.json +786 -0
- package/dist/coston2/artifacts/contracts/protocol/interfaces/IICleanupBlockNumberManager.sol/IICleanupBlockNumberManager.json +15 -0
- package/dist/coston2/artifacts/contracts/protocol/interfaces/IIEntityManager.sol/IIEntityManager.json +939 -0
- package/dist/coston2/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +162 -0
- package/dist/coston2/artifacts/contracts/protocol/interfaces/IIFlareSystemsManager.sol/IIFlareSystemsManager.json +1217 -0
- package/dist/coston2/artifacts/contracts/protocol/interfaces/IINodePossessionVerifier.sol/IINodePossessionVerifier.json +30 -0
- package/dist/coston2/artifacts/contracts/protocol/interfaces/IIPublicKeyVerifier.sol/IIPublicKeyVerifier.json +30 -0
- package/dist/coston2/artifacts/contracts/protocol/interfaces/IIRelay.sol/IIRelay.json +477 -0
- package/dist/coston2/artifacts/contracts/protocol/interfaces/IIRewardEpochSwitchoverTrigger.sol/IIRewardEpochSwitchoverTrigger.json +25 -0
- package/dist/coston2/artifacts/contracts/protocol/interfaces/IIRewardManager.sol/IIRewardManager.json +714 -0
- package/dist/coston2/artifacts/contracts/protocol/interfaces/IISubmission.sol/IISubmission.json +161 -0
- package/dist/coston2/artifacts/contracts/protocol/interfaces/IIVoterRegistrationTrigger.sol/IIVoterRegistrationTrigger.json +15 -0
- package/dist/coston2/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +623 -0
- package/dist/coston2/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +1061 -0
- package/dist/coston2/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +333 -0
- package/dist/coston2/artifacts/contracts/token/interfaces/IICleanable.sol/IICleanable.json +41 -0
- package/dist/coston2/artifacts/contracts/token/interfaces/IIGovernanceVotePower.sol/IIGovernanceVotePower.json +256 -0
- package/dist/coston2/artifacts/contracts/token/interfaces/IIVPContract.sol/IIVPContract.json +611 -0
- package/dist/coston2/artifacts/contracts/token/interfaces/IIVPToken.sol/IIVPToken.json +823 -0
- package/dist/coston2/artifacts/contracts/userInterfaces/data/AgentInfo.sol/AgentInfo.json +1 -0
- package/dist/coston2/artifacts/contracts/userInterfaces/data/AgentSettings.sol/AgentSettings.json +1 -0
- package/dist/coston2/artifacts/contracts/userInterfaces/data/AssetManagerSettings.sol/AssetManagerSettings.json +1 -0
- package/dist/coston2/artifacts/contracts/userInterfaces/data/AvailableAgentInfo.sol/AvailableAgentInfo.json +1 -0
- package/dist/coston2/artifacts/contracts/userInterfaces/data/CollateralReservationInfo.sol/CollateralReservationInfo.json +1 -0
- package/dist/coston2/artifacts/contracts/userInterfaces/data/CollateralType.sol/CollateralType.json +1 -0
- package/dist/coston2/artifacts/contracts/userInterfaces/data/RedemptionRequestInfo.sol/RedemptionRequestInfo.json +1 -0
- package/dist/coston2/artifacts/contracts/userInterfaces/data/RedemptionTicketInfo.sol/RedemptionTicketInfo.json +1 -0
- package/dist/coston2/index.d.ts +3 -0
- package/dist/coston2/index.d.ts.map +1 -0
- package/dist/coston2/mapper.d.ts +3 -0
- package/dist/coston2/mapper.d.ts.map +1 -0
- package/dist/flare/abis.d.ts +13 -0
- package/dist/flare/abis.d.ts.map +1 -0
- package/dist/flare/artifacts/contracts/ContractRegistry.sol/ContractRegistry.json +1 -0
- package/dist/flare/artifacts/contracts/FtsoV2Interface.sol/FtsoV2Interface.json +274 -0
- package/dist/flare/artifacts/contracts/IAddressBinder.sol/IAddressBinder.json +112 -0
- package/dist/flare/artifacts/contracts/IAddressValidity.sol/IAddressValidity.json +1 -0
- package/dist/flare/artifacts/contracts/IAddressValidityVerification.sol/IAddressValidityVerification.json +89 -0
- package/dist/flare/artifacts/contracts/IBalanceDecreasingTransaction.sol/IBalanceDecreasingTransaction.json +1 -0
- package/dist/flare/artifacts/contracts/IBalanceDecreasingTransactionVerification.sol/IBalanceDecreasingTransactionVerification.json +104 -0
- package/dist/flare/artifacts/contracts/ICChainStake.sol/ICChainStake.json +375 -0
- package/dist/flare/artifacts/contracts/ICChainVotePower.sol/ICChainVotePower.json +300 -0
- package/dist/flare/artifacts/contracts/IClaimSetupManager.sol/IClaimSetupManager.json +656 -0
- package/dist/flare/artifacts/contracts/IConfirmedBlockHeightExists.sol/IConfirmedBlockHeightExists.json +1 -0
- package/dist/flare/artifacts/contracts/IConfirmedBlockHeightExistsVerification.sol/IConfirmedBlockHeightExistsVerification.json +99 -0
- package/dist/flare/artifacts/contracts/IDelegationAccount.sol/IDelegationAccount.json +135 -0
- package/dist/flare/artifacts/contracts/IDistributionToDelegators.sol/IDistributionToDelegators.json +249 -0
- package/dist/flare/artifacts/contracts/IEVMTransaction.sol/IEVMTransaction.json +1 -0
- package/dist/flare/artifacts/contracts/IEVMTransactionVerification.sol/IEVMTransactionVerification.json +166 -0
- package/dist/flare/artifacts/contracts/IEntityManager.sol/IEntityManager.json +790 -0
- package/dist/flare/artifacts/contracts/IFastUpdateIncentiveManager.sol/IFastUpdateIncentiveManager.json +230 -0
- package/dist/flare/artifacts/contracts/IFastUpdater.sol/IFastUpdater.json +354 -0
- package/dist/flare/artifacts/contracts/IFastUpdatesConfiguration.sol/IFastUpdatesConfiguration.json +190 -0
- package/dist/flare/artifacts/contracts/IFdcHub.sol/IFdcHub.json +138 -0
- package/dist/flare/artifacts/contracts/IFdcInflationConfigurations.sol/IFdcInflationConfigurations.json +88 -0
- package/dist/flare/artifacts/contracts/IFdcRequestFeeConfigurations.sol/IFdcRequestFeeConfigurations.json +65 -0
- package/dist/flare/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +828 -0
- package/dist/flare/artifacts/contracts/IFeeCalculator.sol/IFeeCalculator.json +40 -0
- package/dist/flare/artifacts/contracts/IFlareAssetRegistry.sol/IFlareAssetRegistry.json +232 -0
- package/dist/flare/artifacts/contracts/IFlareContractRegistry.sol/IFlareContractRegistry.json +96 -0
- package/dist/flare/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +109 -0
- package/dist/flare/artifacts/contracts/IFlareSystemsManager.sol/IFlareSystemsManager.json +649 -0
- package/dist/flare/artifacts/contracts/IFtso.sol/IFtso.json +466 -0
- package/dist/flare/artifacts/contracts/IFtsoFeedDecimals.sol/IFtsoFeedDecimals.json +168 -0
- package/dist/flare/artifacts/contracts/IFtsoFeedIdConverter.sol/IFtsoFeedIdConverter.json +50 -0
- package/dist/flare/artifacts/contracts/IFtsoFeedPublisher.sol/IFtsoFeedPublisher.json +214 -0
- package/dist/flare/artifacts/contracts/IFtsoInflationConfigurations.sol/IFtsoInflationConfigurations.json +98 -0
- package/dist/flare/artifacts/contracts/IFtsoManager.sol/IFtsoManager.json +367 -0
- package/dist/flare/artifacts/contracts/IFtsoRegistry.sol/IFtsoRegistry.json +436 -0
- package/dist/flare/artifacts/contracts/IFtsoRewardManager.sol/IFtsoRewardManager.json +693 -0
- package/dist/flare/artifacts/contracts/IFtsoRewardOffersManager.sol/IFtsoRewardOffersManager.json +188 -0
- package/dist/flare/artifacts/contracts/IGenericRewardManager.sol/IGenericRewardManager.json +239 -0
- package/dist/flare/artifacts/contracts/IGovernanceSettings.sol/IGovernanceSettings.json +60 -0
- package/dist/flare/artifacts/contracts/IGovernanceVotePower.sol/IGovernanceVotePower.json +108 -0
- package/dist/flare/artifacts/contracts/IGovernor.sol/IGovernor.json +515 -0
- package/dist/flare/artifacts/contracts/IIncreaseManager.sol/IIncreaseManager.json +15 -0
- package/dist/flare/artifacts/contracts/IJsonApi.sol/IJsonApi.json +1 -0
- package/dist/flare/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +89 -0
- package/dist/flare/artifacts/contracts/IPChainStakeMirror.sol/IPChainStakeMirror.json +566 -0
- package/dist/flare/artifacts/contracts/IPChainStakeMirrorMultiSigVoting.sol/IPChainStakeMirrorMultiSigVoting.json +302 -0
- package/dist/flare/artifacts/contracts/IPChainStakeMirrorVerifier.sol/IPChainStakeMirrorVerifier.json +1 -0
- package/dist/flare/artifacts/contracts/IPChainVotePower.sol/IPChainVotePower.json +300 -0
- package/dist/flare/artifacts/contracts/IPayment.sol/IPayment.json +1 -0
- package/dist/flare/artifacts/contracts/IPaymentVerification.sol/IPaymentVerification.json +149 -0
- package/dist/flare/artifacts/contracts/IPollingManagementGroup.sol/IPollingManagementGroup.json +547 -0
- package/dist/flare/artifacts/contracts/IPriceSubmitter.sol/IPriceSubmitter.json +212 -0
- package/dist/flare/artifacts/contracts/IRNat.sol/IRNat.json +930 -0
- package/dist/flare/artifacts/contracts/IRNatAccount.sol/IRNatAccount.json +137 -0
- package/dist/flare/artifacts/contracts/IRandomProvider.sol/IRandomProvider.json +56 -0
- package/dist/flare/artifacts/contracts/IReferencedPaymentNonexistence.sol/IReferencedPaymentNonexistence.json +1 -0
- package/dist/flare/artifacts/contracts/IReferencedPaymentNonexistenceVerification.sol/IReferencedPaymentNonexistenceVerification.json +124 -0
- package/dist/flare/artifacts/contracts/IRelay.sol/IRelay.json +426 -0
- package/dist/flare/artifacts/contracts/IRewardManager.sol/IRewardManager.json +605 -0
- package/dist/flare/artifacts/contracts/ISubmission.sol/ISubmission.json +133 -0
- package/dist/flare/artifacts/contracts/IVPContractEvents.sol/IVPContractEvents.json +64 -0
- package/dist/flare/artifacts/contracts/IVPToken.sol/IVPToken.json +691 -0
- package/dist/flare/artifacts/contracts/IValidatorRegistry.sol/IValidatorRegistry.json +127 -0
- package/dist/flare/artifacts/contracts/IValidatorRewardOffersManager.sol/IValidatorRewardOffersManager.json +21 -0
- package/dist/flare/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +118 -0
- package/dist/flare/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +256 -0
- package/dist/flare/artifacts/contracts/IVoterWhitelister.sol/IVoterWhitelister.json +190 -0
- package/dist/flare/artifacts/contracts/IWNat.sol/IWNat.json +781 -0
- package/dist/flare/artifacts/contracts/IWNatDelegationFee.sol/IWNatDelegationFee.json +144 -0
- package/dist/flare/artifacts/contracts/IWeb2Json.sol/IWeb2Json.json +1 -0
- package/dist/flare/artifacts/contracts/IWeb2JsonVerification.sol/IWeb2JsonVerification.json +109 -0
- package/dist/flare/artifacts/contracts/ProtocolsV2Interface.sol/ProtocolsV2Interface.json +118 -0
- package/dist/flare/artifacts/contracts/RandomNumberV2Interface.sol/RandomNumberV2Interface.json +54 -0
- package/dist/flare/artifacts/contracts/RewardsV2Interface.sol/RewardsV2Interface.json +171 -0
- package/dist/flare/artifacts/contracts/TestFtsoV2Interface.sol/TestFtsoV2Interface.json +274 -0
- package/dist/flare/artifacts/contracts/customFeeds/interfaces/IICustomFeed.sol/IICustomFeed.json +51 -0
- package/dist/flare/artifacts/contracts/fdc/interfaces/ITypeTemplate.sol/ITypeTemplate.json +1 -0
- package/dist/flare/artifacts/contracts/fdc/interfaces/ITypeTemplateVerification.sol/ITypeTemplateVerification.json +140 -0
- package/dist/flare/artifacts/contracts/fscV1/interfaces/IIFastUpdaterView.sol/IIFastUpdaterView.json +31 -0
- package/dist/flare/artifacts/contracts/fscV1/interfaces/IIFtsoManagerProxy.sol/IIFtsoManagerProxy.json +54 -0
- package/dist/flare/artifacts/contracts/ftso/interfaces/IIFtso.sol/IIFtso.json +879 -0
- package/dist/flare/artifacts/contracts/ftso/interfaces/IIFtsoFeedPublisher.sol/IIFtsoFeedPublisher.json +254 -0
- package/dist/flare/artifacts/contracts/genesis/interfaces/IFlareDaemonize.sol/IFlareDaemonize.json +41 -0
- package/dist/flare/artifacts/contracts/genesis/interfaces/IFtsoGenesis.sol/IFtsoGenesis.json +54 -0
- package/dist/flare/artifacts/contracts/genesis/interfaces/IFtsoManagerGenesis.sol/IFtsoManagerGenesis.json +15 -0
- package/dist/flare/artifacts/contracts/genesis/interfaces/IFtsoRegistryGenesis.sol/IFtsoRegistryGenesis.json +21 -0
- package/dist/flare/artifacts/contracts/governance/interfaces/IIGovernorProposer.sol/IIGovernorProposer.json +21 -0
- package/dist/flare/artifacts/contracts/governance/interfaces/IIPollingFoundation.sol/IIPollingFoundation.json +671 -0
- package/dist/flare/artifacts/contracts/governance/interfaces/IIPollingManagementGroup.sol/IIPollingManagementGroup.json +679 -0
- package/dist/flare/artifacts/contracts/protocol/interfaces/IIClaimSetupManager.sol/IIClaimSetupManager.json +786 -0
- package/dist/flare/artifacts/contracts/protocol/interfaces/IICleanupBlockNumberManager.sol/IICleanupBlockNumberManager.json +15 -0
- package/dist/flare/artifacts/contracts/protocol/interfaces/IIEntityManager.sol/IIEntityManager.json +939 -0
- package/dist/flare/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +162 -0
- package/dist/flare/artifacts/contracts/protocol/interfaces/IIFlareSystemsManager.sol/IIFlareSystemsManager.json +1217 -0
- package/dist/flare/artifacts/contracts/protocol/interfaces/IINodePossessionVerifier.sol/IINodePossessionVerifier.json +30 -0
- package/dist/flare/artifacts/contracts/protocol/interfaces/IIPublicKeyVerifier.sol/IIPublicKeyVerifier.json +30 -0
- package/dist/flare/artifacts/contracts/protocol/interfaces/IIRelay.sol/IIRelay.json +477 -0
- package/dist/flare/artifacts/contracts/protocol/interfaces/IIRewardEpochSwitchoverTrigger.sol/IIRewardEpochSwitchoverTrigger.json +25 -0
- package/dist/flare/artifacts/contracts/protocol/interfaces/IIRewardManager.sol/IIRewardManager.json +714 -0
- package/dist/flare/artifacts/contracts/protocol/interfaces/IISubmission.sol/IISubmission.json +161 -0
- package/dist/flare/artifacts/contracts/protocol/interfaces/IIVoterRegistrationTrigger.sol/IIVoterRegistrationTrigger.json +15 -0
- package/dist/flare/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +623 -0
- package/dist/flare/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +1061 -0
- package/dist/flare/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +333 -0
- package/dist/flare/artifacts/contracts/token/interfaces/IICleanable.sol/IICleanable.json +41 -0
- package/dist/flare/artifacts/contracts/token/interfaces/IIGovernanceVotePower.sol/IIGovernanceVotePower.json +256 -0
- package/dist/flare/artifacts/contracts/token/interfaces/IIVPContract.sol/IIVPContract.json +611 -0
- package/dist/flare/artifacts/contracts/token/interfaces/IIVPToken.sol/IIVPToken.json +823 -0
- package/dist/flare/index.d.ts +3 -0
- package/dist/flare/index.d.ts.map +1 -0
- package/dist/flare/mapper.d.ts +3 -0
- package/dist/flare/mapper.d.ts.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9448 -0
- package/dist/index.js.map +1 -0
- package/dist/songbird/abis.d.ts +13 -0
- package/dist/songbird/abis.d.ts.map +1 -0
- package/dist/songbird/artifacts/contracts/ContractRegistry.sol/ContractRegistry.json +1 -0
- package/dist/songbird/artifacts/contracts/FtsoV2Interface.sol/FtsoV2Interface.json +274 -0
- package/dist/songbird/artifacts/contracts/IAddressValidity.sol/IAddressValidity.json +1 -0
- package/dist/songbird/artifacts/contracts/IAddressValidityVerification.sol/IAddressValidityVerification.json +89 -0
- package/dist/songbird/artifacts/contracts/IAgentAlwaysAllowedMinters.sol/IAgentAlwaysAllowedMinters.json +57 -0
- package/dist/songbird/artifacts/contracts/IAgentPing.sol/IAgentPing.json +99 -0
- package/dist/songbird/artifacts/contracts/IAssetManager.sol/IAssetManager.json +7139 -0
- package/dist/songbird/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +1721 -0
- package/dist/songbird/artifacts/contracts/IBalanceDecreasingTransaction.sol/IBalanceDecreasingTransaction.json +1 -0
- package/dist/songbird/artifacts/contracts/IBalanceDecreasingTransactionVerification.sol/IBalanceDecreasingTransactionVerification.json +104 -0
- package/dist/songbird/artifacts/contracts/ICChainStake.sol/ICChainStake.json +375 -0
- package/dist/songbird/artifacts/contracts/ICChainVotePower.sol/ICChainVotePower.json +300 -0
- package/dist/songbird/artifacts/contracts/IClaimSetupManager.sol/IClaimSetupManager.json +656 -0
- package/dist/songbird/artifacts/contracts/IConfirmedBlockHeightExists.sol/IConfirmedBlockHeightExists.json +1 -0
- package/dist/songbird/artifacts/contracts/IConfirmedBlockHeightExistsVerification.sol/IConfirmedBlockHeightExistsVerification.json +99 -0
- package/dist/songbird/artifacts/contracts/ICoreVault.sol/ICoreVault.json +469 -0
- package/dist/songbird/artifacts/contracts/ICoreVaultSettings.sol/ICoreVaultSettings.json +184 -0
- package/dist/songbird/artifacts/contracts/IDelegationAccount.sol/IDelegationAccount.json +135 -0
- package/dist/songbird/artifacts/contracts/IEVMTransaction.sol/IEVMTransaction.json +1 -0
- package/dist/songbird/artifacts/contracts/IEVMTransactionVerification.sol/IEVMTransactionVerification.json +166 -0
- package/dist/songbird/artifacts/contracts/IEntityManager.sol/IEntityManager.json +790 -0
- package/dist/songbird/artifacts/contracts/IFastUpdateIncentiveManager.sol/IFastUpdateIncentiveManager.json +230 -0
- package/dist/songbird/artifacts/contracts/IFastUpdater.sol/IFastUpdater.json +354 -0
- package/dist/songbird/artifacts/contracts/IFastUpdatesConfiguration.sol/IFastUpdatesConfiguration.json +190 -0
- package/dist/songbird/artifacts/contracts/IFdcHub.sol/IFdcHub.json +138 -0
- package/dist/songbird/artifacts/contracts/IFdcInflationConfigurations.sol/IFdcInflationConfigurations.json +88 -0
- package/dist/songbird/artifacts/contracts/IFdcRequestFeeConfigurations.sol/IFdcRequestFeeConfigurations.json +65 -0
- package/dist/songbird/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +828 -0
- package/dist/songbird/artifacts/contracts/IFeeCalculator.sol/IFeeCalculator.json +40 -0
- package/dist/songbird/artifacts/contracts/IFlareAssetRegistry.sol/IFlareAssetRegistry.json +232 -0
- package/dist/songbird/artifacts/contracts/IFlareContractRegistry.sol/IFlareContractRegistry.json +96 -0
- package/dist/songbird/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +109 -0
- package/dist/songbird/artifacts/contracts/IFlareSystemsManager.sol/IFlareSystemsManager.json +649 -0
- package/dist/songbird/artifacts/contracts/IFtso.sol/IFtso.json +503 -0
- package/dist/songbird/artifacts/contracts/IFtsoFeedDecimals.sol/IFtsoFeedDecimals.json +168 -0
- package/dist/songbird/artifacts/contracts/IFtsoFeedIdConverter.sol/IFtsoFeedIdConverter.json +50 -0
- package/dist/songbird/artifacts/contracts/IFtsoFeedPublisher.sol/IFtsoFeedPublisher.json +214 -0
- package/dist/songbird/artifacts/contracts/IFtsoInflationConfigurations.sol/IFtsoInflationConfigurations.json +98 -0
- package/dist/songbird/artifacts/contracts/IFtsoManager.sol/IFtsoManager.json +367 -0
- package/dist/songbird/artifacts/contracts/IFtsoRegistry.sol/IFtsoRegistry.json +436 -0
- package/dist/songbird/artifacts/contracts/IFtsoRewardManager.sol/IFtsoRewardManager.json +693 -0
- package/dist/songbird/artifacts/contracts/IFtsoRewardOffersManager.sol/IFtsoRewardOffersManager.json +188 -0
- package/dist/songbird/artifacts/contracts/IGenericRewardManager.sol/IGenericRewardManager.json +239 -0
- package/dist/songbird/artifacts/contracts/IGovernanceSettings.sol/IGovernanceSettings.json +60 -0
- package/dist/songbird/artifacts/contracts/IGovernanceVotePower.sol/IGovernanceVotePower.json +108 -0
- package/dist/songbird/artifacts/contracts/IGovernor.sol/IGovernor.json +515 -0
- package/dist/songbird/artifacts/contracts/IIncreaseManager.sol/IIncreaseManager.json +15 -0
- package/dist/songbird/artifacts/contracts/IJsonApi.sol/IJsonApi.json +1 -0
- package/dist/songbird/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +89 -0
- package/dist/songbird/artifacts/contracts/IPayment.sol/IPayment.json +1 -0
- package/dist/songbird/artifacts/contracts/IPaymentVerification.sol/IPaymentVerification.json +149 -0
- package/dist/songbird/artifacts/contracts/IPollingManagementGroup.sol/IPollingManagementGroup.json +547 -0
- package/dist/songbird/artifacts/contracts/IPriceSubmitter.sol/IPriceSubmitter.json +191 -0
- package/dist/songbird/artifacts/contracts/IRNat.sol/IRNat.json +930 -0
- package/dist/songbird/artifacts/contracts/IRNatAccount.sol/IRNatAccount.json +137 -0
- package/dist/songbird/artifacts/contracts/IRandomProvider.sol/IRandomProvider.json +56 -0
- package/dist/songbird/artifacts/contracts/IRedemptionTimeExtension.sol/IRedemptionTimeExtension.json +28 -0
- package/dist/songbird/artifacts/contracts/IReferencedPaymentNonexistence.sol/IReferencedPaymentNonexistence.json +1 -0
- package/dist/songbird/artifacts/contracts/IReferencedPaymentNonexistenceVerification.sol/IReferencedPaymentNonexistenceVerification.json +124 -0
- package/dist/songbird/artifacts/contracts/IRelay.sol/IRelay.json +426 -0
- package/dist/songbird/artifacts/contracts/IRewardManager.sol/IRewardManager.json +605 -0
- package/dist/songbird/artifacts/contracts/ISubmission.sol/ISubmission.json +133 -0
- package/dist/songbird/artifacts/contracts/ITransferFees.sol/ITransferFees.json +394 -0
- package/dist/songbird/artifacts/contracts/IVPContractEvents.sol/IVPContractEvents.json +64 -0
- package/dist/songbird/artifacts/contracts/IVPToken.sol/IVPToken.json +649 -0
- package/dist/songbird/artifacts/contracts/IValidatorRewardOffersManager.sol/IValidatorRewardOffersManager.json +21 -0
- package/dist/songbird/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +118 -0
- package/dist/songbird/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +256 -0
- package/dist/songbird/artifacts/contracts/IVoterWhitelister.sol/IVoterWhitelister.json +190 -0
- package/dist/songbird/artifacts/contracts/IWNat.sol/IWNat.json +752 -0
- package/dist/songbird/artifacts/contracts/IWNatDelegationFee.sol/IWNatDelegationFee.json +144 -0
- package/dist/songbird/artifacts/contracts/IWeb2Json.sol/IWeb2Json.json +1 -0
- package/dist/songbird/artifacts/contracts/IWeb2JsonVerification.sol/IWeb2JsonVerification.json +109 -0
- package/dist/songbird/artifacts/contracts/ProtocolsV2Interface.sol/ProtocolsV2Interface.json +118 -0
- package/dist/songbird/artifacts/contracts/RandomNumberV2Interface.sol/RandomNumberV2Interface.json +54 -0
- package/dist/songbird/artifacts/contracts/RewardsV2Interface.sol/RewardsV2Interface.json +171 -0
- package/dist/songbird/artifacts/contracts/TestFtsoV2Interface.sol/TestFtsoV2Interface.json +274 -0
- package/dist/songbird/artifacts/contracts/addressUpdater/interfaces/IIAddressUpdatable.sol/IIAddressUpdatable.json +20 -0
- package/dist/songbird/artifacts/contracts/addressUpdater/interfaces/IIAddressUpdater.sol/IIAddressUpdater.json +96 -0
- package/dist/songbird/artifacts/contracts/assetRegistry/interfaces/IIERC20WithMetadata.sol/IIERC20WithMetadata.json +224 -0
- package/dist/songbird/artifacts/contracts/assetRegistry/interfaces/IIFlareAssetRegistry.sol/IIFlareAssetRegistry.json +307 -0
- package/dist/songbird/artifacts/contracts/assetRegistry/interfaces/IIFlareAssetRegistryProvider.sol/IIFlareAssetRegistryProvider.json +57 -0
- package/dist/songbird/artifacts/contracts/customFeeds/interfaces/IICustomFeed.sol/IICustomFeed.json +51 -0
- package/dist/songbird/artifacts/contracts/diamond/interfaces/IDiamondLoupe.sol/IDiamondLoupe.json +78 -0
- package/dist/songbird/artifacts/contracts/fdc/interfaces/ITypeTemplate.sol/ITypeTemplate.json +1 -0
- package/dist/songbird/artifacts/contracts/fdc/interfaces/ITypeTemplateVerification.sol/ITypeTemplateVerification.json +140 -0
- package/dist/songbird/artifacts/contracts/fscV1/interfaces/IIFastUpdaterView.sol/IIFastUpdaterView.json +31 -0
- package/dist/songbird/artifacts/contracts/fscV1/interfaces/IIFtsoManagerProxy.sol/IIFtsoManagerProxy.json +54 -0
- package/dist/songbird/artifacts/contracts/ftso/interfaces/IIFtso.sol/IIFtso.json +944 -0
- package/dist/songbird/artifacts/contracts/ftso/interfaces/IIFtsoFeedPublisher.sol/IIFtsoFeedPublisher.json +254 -0
- package/dist/songbird/artifacts/contracts/ftso/interfaces/IIFtsoManager.sol/IIFtsoManager.json +869 -0
- package/dist/songbird/artifacts/contracts/ftso/interfaces/IIFtsoManagerV1.sol/IIFtsoManagerV1.json +93 -0
- package/dist/songbird/artifacts/contracts/genesis/interfaces/IFlareDaemonize.sol/IFlareDaemonize.json +28 -0
- package/dist/songbird/artifacts/contracts/genesis/interfaces/IFtsoGenesis.sol/IFtsoGenesis.json +82 -0
- package/dist/songbird/artifacts/contracts/genesis/interfaces/IFtsoManagerGenesis.sol/IFtsoManagerGenesis.json +15 -0
- package/dist/songbird/artifacts/contracts/genesis/interfaces/IFtsoRegistryGenesis.sol/IFtsoRegistryGenesis.json +21 -0
- package/dist/songbird/artifacts/contracts/genesis/interfaces/IIPriceSubmitter.sol/IIPriceSubmitter.json +276 -0
- package/dist/songbird/artifacts/contracts/genesis/interfaces/IInflationGenesis.sol/IInflationGenesis.json +9 -0
- package/dist/songbird/artifacts/contracts/governance/interfaces/IIGovernorProposer.sol/IIGovernorProposer.json +21 -0
- package/dist/songbird/artifacts/contracts/governance/interfaces/IIPollingFoundation.sol/IIPollingFoundation.json +671 -0
- package/dist/songbird/artifacts/contracts/governance/interfaces/IIPollingManagementGroup.sol/IIPollingManagementGroup.json +679 -0
- package/dist/songbird/artifacts/contracts/inflation/interfaces/IIInflationAllocation.sol/IIInflationAllocation.json +40 -0
- package/dist/songbird/artifacts/contracts/inflation/interfaces/IIInflationReceiver.sol/IIInflationReceiver.json +61 -0
- package/dist/songbird/artifacts/contracts/inflation/interfaces/IIInflationReceiverV1.sol/IIInflationReceiverV1.json +48 -0
- package/dist/songbird/artifacts/contracts/inflation/interfaces/IIInflationV1.sol/IIInflationV1.json +133 -0
- package/dist/songbird/artifacts/contracts/inflation/interfaces/IIPreInflationCalculation.sol/IIPreInflationCalculation.json +9 -0
- package/dist/songbird/artifacts/contracts/inflation/interfaces/IISupply.sol/IISupply.json +73 -0
- package/dist/songbird/artifacts/contracts/mockXAsset/interfaces/ICollateralizable.sol/ICollateralizable.json +225 -0
- package/dist/songbird/artifacts/contracts/protocol/interfaces/IIClaimSetupManager.sol/IIClaimSetupManager.json +786 -0
- package/dist/songbird/artifacts/contracts/protocol/interfaces/IICleanupBlockNumberManager.sol/IICleanupBlockNumberManager.json +15 -0
- package/dist/songbird/artifacts/contracts/protocol/interfaces/IIEntityManager.sol/IIEntityManager.json +939 -0
- package/dist/songbird/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +162 -0
- package/dist/songbird/artifacts/contracts/protocol/interfaces/IIFlareSystemsManager.sol/IIFlareSystemsManager.json +1217 -0
- package/dist/songbird/artifacts/contracts/protocol/interfaces/IINodePossessionVerifier.sol/IINodePossessionVerifier.json +30 -0
- package/dist/songbird/artifacts/contracts/protocol/interfaces/IIPublicKeyVerifier.sol/IIPublicKeyVerifier.json +30 -0
- package/dist/songbird/artifacts/contracts/protocol/interfaces/IIRelay.sol/IIRelay.json +477 -0
- package/dist/songbird/artifacts/contracts/protocol/interfaces/IIRewardEpochSwitchoverTrigger.sol/IIRewardEpochSwitchoverTrigger.json +25 -0
- package/dist/songbird/artifacts/contracts/protocol/interfaces/IIRewardManager.sol/IIRewardManager.json +714 -0
- package/dist/songbird/artifacts/contracts/protocol/interfaces/IISubmission.sol/IISubmission.json +161 -0
- package/dist/songbird/artifacts/contracts/protocol/interfaces/IIVoterRegistrationTrigger.sol/IIVoterRegistrationTrigger.json +15 -0
- package/dist/songbird/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +623 -0
- package/dist/songbird/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +1061 -0
- package/dist/songbird/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +333 -0
- package/dist/songbird/artifacts/contracts/token/interfaces/IICleanable.sol/IICleanable.json +54 -0
- package/dist/songbird/artifacts/contracts/token/interfaces/IIGovernanceVotePower.sol/IIGovernanceVotePower.json +243 -0
- package/dist/songbird/artifacts/contracts/token/interfaces/IIVPContract.sol/IIVPContract.json +600 -0
- package/dist/songbird/artifacts/contracts/token/interfaces/IIVPToken.sol/IIVPToken.json +781 -0
- package/dist/songbird/artifacts/contracts/tokenPools/interfaces/IIFtsoRewardManager.sol/IIFtsoRewardManager.json +953 -0
- package/dist/songbird/artifacts/contracts/tokenPools/interfaces/IITokenPool.sol/IITokenPool.json +25 -0
- package/dist/songbird/artifacts/contracts/userInterfaces/data/AgentInfo.sol/AgentInfo.json +1 -0
- package/dist/songbird/artifacts/contracts/userInterfaces/data/AgentSettings.sol/AgentSettings.json +1 -0
- package/dist/songbird/artifacts/contracts/userInterfaces/data/AssetManagerSettings.sol/AssetManagerSettings.json +1 -0
- package/dist/songbird/artifacts/contracts/userInterfaces/data/AvailableAgentInfo.sol/AvailableAgentInfo.json +1 -0
- package/dist/songbird/artifacts/contracts/userInterfaces/data/CollateralReservationInfo.sol/CollateralReservationInfo.json +1 -0
- package/dist/songbird/artifacts/contracts/userInterfaces/data/CollateralType.sol/CollateralType.json +1 -0
- package/dist/songbird/artifacts/contracts/userInterfaces/data/RedemptionRequestInfo.sol/RedemptionRequestInfo.json +1 -0
- package/dist/songbird/artifacts/contracts/userInterfaces/data/RedemptionTicketInfo.sol/RedemptionTicketInfo.json +1 -0
- package/dist/songbird/artifacts/contracts/utils/interfaces/IIFtsoRegistry.sol/IIFtsoRegistry.json +468 -0
- package/dist/songbird/artifacts/contracts/utils/interfaces/IIFtsoRegistryV1.sol/IIFtsoRegistryV1.json +111 -0
- package/dist/songbird/artifacts/contracts/utils/interfaces/IIRandomProvider.sol/IIRandomProvider.json +51 -0
- package/dist/songbird/artifacts/contracts/utils/interfaces/IIVoterWhitelister.sol/IIVoterWhitelister.json +299 -0
- package/dist/songbird/artifacts/contracts/utils/interfaces/IUpdateValidators.sol/IUpdateValidators.json +9 -0
- package/dist/songbird/index.d.ts +3 -0
- package/dist/songbird/index.d.ts.map +1 -0
- package/dist/songbird/mapper.d.ts +3 -0
- package/dist/songbird/mapper.d.ts.map +1 -0
- package/flare/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +107 -0
- package/flare/artifacts/contracts/IJsonApi.sol/IJsonApi.json +1 -0
- package/flare/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +89 -0
- package/flare/artifacts/contracts/IWeb2Json.sol/IWeb2Json.json +1 -0
- package/flare/artifacts/contracts/IWeb2JsonVerification.sol/IWeb2JsonVerification.json +109 -0
- package/package.json +1 -1
- package/songbird/artifacts/contracts/IAgentAlwaysAllowedMinters.sol/IAgentAlwaysAllowedMinters.json +57 -0
- package/songbird/artifacts/contracts/IAssetManager.sol/IAssetManager.json +976 -6
- package/songbird/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +25 -0
- package/songbird/artifacts/contracts/ICoreVault.sol/ICoreVault.json +469 -0
- package/songbird/artifacts/contracts/ICoreVaultSettings.sol/ICoreVaultSettings.json +184 -0
- package/songbird/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +107 -0
- package/songbird/artifacts/contracts/IJsonApi.sol/IJsonApi.json +1 -0
- package/songbird/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +89 -0
- package/songbird/artifacts/contracts/IWeb2Json.sol/IWeb2Json.json +1 -0
- package/songbird/artifacts/contracts/IWeb2JsonVerification.sol/IWeb2JsonVerification.json +109 -0
- package/songbird/artifacts/contracts/userInterfaces/data/CollateralReservationInfo.sol/CollateralReservationInfo.json +1 -0
- package/songbird/artifacts/contracts/userInterfaces/data/RedemptionRequestInfo.sol/RedemptionRequestInfo.json +1 -0
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"inputs": [
|
|
4
|
+
{
|
|
5
|
+
"components": [
|
|
6
|
+
{
|
|
7
|
+
"internalType": "bytes32[]",
|
|
8
|
+
"name": "merkleProof",
|
|
9
|
+
"type": "bytes32[]"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"components": [
|
|
13
|
+
{
|
|
14
|
+
"internalType": "bytes32",
|
|
15
|
+
"name": "attestationType",
|
|
16
|
+
"type": "bytes32"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"internalType": "bytes32",
|
|
20
|
+
"name": "sourceId",
|
|
21
|
+
"type": "bytes32"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"internalType": "uint64",
|
|
25
|
+
"name": "votingRound",
|
|
26
|
+
"type": "uint64"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"internalType": "uint64",
|
|
30
|
+
"name": "lowestUsedTimestamp",
|
|
31
|
+
"type": "uint64"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"components": [
|
|
35
|
+
{
|
|
36
|
+
"internalType": "string",
|
|
37
|
+
"name": "url",
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"internalType": "string",
|
|
42
|
+
"name": "httpMethod",
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"internalType": "string",
|
|
47
|
+
"name": "headers",
|
|
48
|
+
"type": "string"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"internalType": "string",
|
|
52
|
+
"name": "queryParams",
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"internalType": "string",
|
|
57
|
+
"name": "body",
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"internalType": "string",
|
|
62
|
+
"name": "postProcessJq",
|
|
63
|
+
"type": "string"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"internalType": "string",
|
|
67
|
+
"name": "abiSignature",
|
|
68
|
+
"type": "string"
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"internalType": "struct IWeb2Json.RequestBody",
|
|
72
|
+
"name": "requestBody",
|
|
73
|
+
"type": "tuple"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"components": [
|
|
77
|
+
{
|
|
78
|
+
"internalType": "bytes",
|
|
79
|
+
"name": "abiEncodedData",
|
|
80
|
+
"type": "bytes"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"internalType": "struct IWeb2Json.ResponseBody",
|
|
84
|
+
"name": "responseBody",
|
|
85
|
+
"type": "tuple"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"internalType": "struct IWeb2Json.Response",
|
|
89
|
+
"name": "data",
|
|
90
|
+
"type": "tuple"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"internalType": "struct IWeb2Json.Proof",
|
|
94
|
+
"name": "_proof",
|
|
95
|
+
"type": "tuple"
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"name": "verifyJsonApi",
|
|
99
|
+
"outputs": [
|
|
100
|
+
{
|
|
101
|
+
"internalType": "bool",
|
|
102
|
+
"name": "_proved",
|
|
103
|
+
"type": "bool"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"stateMutability": "view",
|
|
107
|
+
"type": "function"
|
|
108
|
+
}
|
|
109
|
+
]
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"inputs": [
|
|
4
|
+
{
|
|
5
|
+
"internalType": "bytes4",
|
|
6
|
+
"name": "_functionSelector",
|
|
7
|
+
"type": "bytes4"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"name": "facetAddress",
|
|
11
|
+
"outputs": [
|
|
12
|
+
{
|
|
13
|
+
"internalType": "address",
|
|
14
|
+
"name": "facetAddress_",
|
|
15
|
+
"type": "address"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"stateMutability": "view",
|
|
19
|
+
"type": "function"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"inputs": [],
|
|
23
|
+
"name": "facetAddresses",
|
|
24
|
+
"outputs": [
|
|
25
|
+
{
|
|
26
|
+
"internalType": "address[]",
|
|
27
|
+
"name": "facetAddresses_",
|
|
28
|
+
"type": "address[]"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"stateMutability": "view",
|
|
32
|
+
"type": "function"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"inputs": [
|
|
36
|
+
{
|
|
37
|
+
"internalType": "address",
|
|
38
|
+
"name": "_facet",
|
|
39
|
+
"type": "address"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"name": "facetFunctionSelectors",
|
|
43
|
+
"outputs": [
|
|
44
|
+
{
|
|
45
|
+
"internalType": "bytes4[]",
|
|
46
|
+
"name": "facetFunctionSelectors_",
|
|
47
|
+
"type": "bytes4[]"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"stateMutability": "view",
|
|
51
|
+
"type": "function"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"inputs": [],
|
|
55
|
+
"name": "facets",
|
|
56
|
+
"outputs": [
|
|
57
|
+
{
|
|
58
|
+
"components": [
|
|
59
|
+
{
|
|
60
|
+
"internalType": "address",
|
|
61
|
+
"name": "facetAddress",
|
|
62
|
+
"type": "address"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"internalType": "bytes4[]",
|
|
66
|
+
"name": "functionSelectors",
|
|
67
|
+
"type": "bytes4[]"
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"internalType": "struct IDiamondLoupe.Facet[]",
|
|
71
|
+
"name": "facets_",
|
|
72
|
+
"type": "tuple[]"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"stateMutability": "view",
|
|
76
|
+
"type": "function"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|
package/coston2/artifacts/contracts/userInterfaces/data/CollateralType.sol/CollateralType.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { TypeRecord } from "./config-types";
|
|
2
|
+
import { ethers } from "ethers";
|
|
3
|
+
import { ARBase, ARESBase } from "./interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* Attestation definition store. Contains all the attestation type definitions
|
|
6
|
+
* that are contained in the folder, from which the store was initialized.
|
|
7
|
+
*/
|
|
8
|
+
export declare class AttestationDefinitionStore {
|
|
9
|
+
definitions: Map<string, TypeRecord>;
|
|
10
|
+
coder: ethers.AbiCoder;
|
|
11
|
+
constructor(configsPath?: string);
|
|
12
|
+
/**
|
|
13
|
+
* Initializes the store by reading the attestation type definition configs from the
|
|
14
|
+
* provided path.
|
|
15
|
+
* @param configsPath
|
|
16
|
+
*/
|
|
17
|
+
private initialize;
|
|
18
|
+
/**
|
|
19
|
+
* Returns the attestation type definition for the provided attestation type id.
|
|
20
|
+
* @param attestationType
|
|
21
|
+
* @returns
|
|
22
|
+
*/
|
|
23
|
+
getDefinitionForDecodedAttestationType(attestationType: string): TypeRecord | undefined;
|
|
24
|
+
getABIsForDecodedAttestationType(attestationTypeId: string): {
|
|
25
|
+
requestAbi: any;
|
|
26
|
+
responseAbi: any;
|
|
27
|
+
proofAbi: any;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Calculated usual or salted hash of the attestation response.
|
|
31
|
+
* The function throws an error if an attestation type is not supported or
|
|
32
|
+
* the response does not match the provided ABI definition.
|
|
33
|
+
* @param response
|
|
34
|
+
* @param salt
|
|
35
|
+
* @returns
|
|
36
|
+
*/
|
|
37
|
+
attestationResponseHash<T extends ARESBase>(response: T, salt?: string): string;
|
|
38
|
+
/**
|
|
39
|
+
* Extracts the attestation type prefix from the provided attestation request.
|
|
40
|
+
* The prefix consists of 3 x 32 bytes: attestation type, source id and message integrity code.
|
|
41
|
+
* The rest of the bytes define ABI encoded request body.
|
|
42
|
+
* @param bytes
|
|
43
|
+
* @param decodeAttestationTypeName
|
|
44
|
+
* @returns
|
|
45
|
+
*/
|
|
46
|
+
static extractPrefixFromRequest(bytes: string, decodeAttestationTypeName?: boolean): ARBase;
|
|
47
|
+
/**
|
|
48
|
+
* Encodes attestation request.
|
|
49
|
+
* The request must have the attestation type encoded into 32-byte 0x-prefixed string.
|
|
50
|
+
* @param request
|
|
51
|
+
* @returns
|
|
52
|
+
*/
|
|
53
|
+
encodeRequest(request: ARBase): string;
|
|
54
|
+
/**
|
|
55
|
+
* Parses attestation request.
|
|
56
|
+
* @param bytes
|
|
57
|
+
* @returns
|
|
58
|
+
*/
|
|
59
|
+
parseRequest<AR extends ARBase>(bytes: string, decodeAttestationTypeName?: boolean): AR;
|
|
60
|
+
/**
|
|
61
|
+
* Compares two attestation requests.
|
|
62
|
+
* @param request1
|
|
63
|
+
* @param request2
|
|
64
|
+
* @returns
|
|
65
|
+
*/
|
|
66
|
+
equalsRequest(request1: ARBase, request2: ARBase): boolean;
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=AttestationDefinitionStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttestationDefinitionStore.d.ts","sourceRoot":"","sources":["../../../../../coston/StateConnector/libs/ts/AttestationDefinitionStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAYhD;;;GAGG;AACH,qBAAa,0BAA0B;IACnC,WAAW,EAAG,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACtC,KAAK,EAAG,MAAM,CAAC,QAAQ,CAAC;gBAEZ,WAAW,SAAwC;IAG/D;;;;OAIG;IACH,OAAO,CAAC,UAAU;IAKlB;;;;OAIG;IACH,sCAAsC,CAAC,eAAe,EAAE,MAAM;IAI9D,gCAAgC,CAAC,iBAAiB,EAAE,MAAM;;;;;IAY1D;;;;;;;OAOG;IACH,uBAAuB,CAAC,CAAC,SAAS,QAAQ,EAAE,QAAQ,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM;IAe/E;;;;;;;OAOG;IACH,MAAM,CAAC,wBAAwB,CAAC,KAAK,EAAE,MAAM,EAAE,yBAAyB,UAAQ,GAAG,MAAM;IAsBzF;;;;;OAKG;IACH,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM;IAoBtC;;;;OAIG;IACH,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,yBAAyB,UAAQ,GAAG,EAAE;IAqBrF;;;;;OAKG;IACH,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO;CAc7D"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Attestation status
|
|
3
|
+
*/
|
|
4
|
+
export declare enum AttestationResponseStatus {
|
|
5
|
+
/**
|
|
6
|
+
* Attestation request is valid.
|
|
7
|
+
*/
|
|
8
|
+
VALID = "VALID",
|
|
9
|
+
/**
|
|
10
|
+
* Attestation request is invalid.
|
|
11
|
+
*/
|
|
12
|
+
INVALID = "INVALID",
|
|
13
|
+
/**
|
|
14
|
+
* Attestation request cannot be confirmed neither rejected by the verifier at the moment.
|
|
15
|
+
*/
|
|
16
|
+
INDETERMINATE = "INDETERMINATE"
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Object returned as a result of attestation.
|
|
20
|
+
* If status is 'VALID' then parameters @param response contains attestation response.
|
|
21
|
+
* Otherwise, @param response is undefined.
|
|
22
|
+
*/
|
|
23
|
+
export declare class AttestationResponse<RES> {
|
|
24
|
+
/**
|
|
25
|
+
* Verification status.
|
|
26
|
+
*/
|
|
27
|
+
status: AttestationResponseStatus;
|
|
28
|
+
/**
|
|
29
|
+
* Attestation response.
|
|
30
|
+
*/
|
|
31
|
+
response?: RES;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=AttestationResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttestationResponse.d.ts","sourceRoot":"","sources":["../../../../../coston/StateConnector/libs/ts/AttestationResponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,yBAAyB;IACjC;;OAEG;IACH,KAAK,UAAU;IACf;;OAEG;IACH,OAAO,YAAY;IACnB;;OAEG;IACH,aAAa,kBAAkB;CAClC;AACD;;;;GAIG;AAEH,qBAAa,mBAAmB,CAAC,GAAG;IAChC;;OAEG;IACH,MAAM,EAAG,yBAAyB,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,EAAE,GAAG,CAAC;CAClB"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* There are several variants for hashing sequences in Merkle trees in cases when there is odd number of hashes on some level.
|
|
3
|
+
* - Bitcoin hashes remaining hash with itself
|
|
4
|
+
* - Ethereum community was considering this:
|
|
5
|
+
* https://github.com/proofchains/python-proofmarshal/blob/efe9b58921b9a306f2b3552c30b84e1043ab866f/proofmarshal/mmr.py#L96
|
|
6
|
+
* - This review shows various options and in particular it describes the "Monero way", which gives balanced trees but they
|
|
7
|
+
* had some issues with bugs
|
|
8
|
+
* https://medium.com/coinmonks/merkle-trees-concepts-and-use-cases-5da873702318
|
|
9
|
+
*
|
|
10
|
+
* The current implementation is a derivation and simplification of "Monero" way. It uses ideas
|
|
11
|
+
* from binary heaps represented in array. This significantly simplifies the construction both of a Merkle tree and a proof.
|
|
12
|
+
*
|
|
13
|
+
* Important formulas for a left-aligned full tree represented in an array for n hashes as leafs
|
|
14
|
+
* - array has exactly 2*n - 1 nodes (n leafs other internal)
|
|
15
|
+
* - array[0] is merkle root, array[n-1, ..., 2*n - 2] contains leaf hashes in order
|
|
16
|
+
* - given tree array of length l = 2*n - 1, then n = floor((l + 1)/2) --- be careful with 1 element
|
|
17
|
+
* - parent(i) = Math.floor((i - 1) / 2);
|
|
18
|
+
* - left(i) = 2*i + 1
|
|
19
|
+
* - right(i) = 2*i + 2
|
|
20
|
+
*
|
|
21
|
+
* Importants: all input strings should represent bytes32, hence should be 32-byte padded hex strings.
|
|
22
|
+
*/
|
|
23
|
+
/**
|
|
24
|
+
* Single value hash function. Uses keccak function compatible with the one used in Solidity
|
|
25
|
+
* It is supposed to be used with `0x`-prefixed 32-byte strings as hex values
|
|
26
|
+
* @param val input hash in form of the string `0x` prefixed.
|
|
27
|
+
* @returns hash of the input value
|
|
28
|
+
*/
|
|
29
|
+
export declare function singleHash(val: string): string;
|
|
30
|
+
/**
|
|
31
|
+
* Helper function for constructing the commit hash used with StateConnector.sol contract
|
|
32
|
+
* @param merkleRoot merkle root (`0x`-prefixed 32-byte hex string)
|
|
33
|
+
* @param randomNumber secure random number (`0x`-prefixed 32-byte hex string)
|
|
34
|
+
* @param address addres (`0x`-prefixed 20-byte hex string)
|
|
35
|
+
* @returns `0x`-prefixed 32-byte hex string (hash)
|
|
36
|
+
*/
|
|
37
|
+
export declare function commitHash(merkleRoot: string, randomNumber: string, address: string): string;
|
|
38
|
+
/**
|
|
39
|
+
* A sorted hash of two 32-byte strings
|
|
40
|
+
* @param x first `0x`-prefixed 32-byte hex string
|
|
41
|
+
* @param y second `0x`-prefixed 32-byte hex string
|
|
42
|
+
* @returns the sorted hash
|
|
43
|
+
*/
|
|
44
|
+
export declare function sortedHashPair(x: string, y: string): string;
|
|
45
|
+
/**
|
|
46
|
+
* Merkle tree implementation with all the helper function for constructing the tree and extracting the root and proofs for every leaf.
|
|
47
|
+
*/
|
|
48
|
+
export declare class MerkleTree {
|
|
49
|
+
_tree: string[];
|
|
50
|
+
constructor(values: string[]);
|
|
51
|
+
/**
|
|
52
|
+
* Merkle root
|
|
53
|
+
*/
|
|
54
|
+
get root(): string | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* The array representing full tree (length is `2*hashCount - 1`)
|
|
57
|
+
*/
|
|
58
|
+
get tree(): string[];
|
|
59
|
+
/**
|
|
60
|
+
* Number of leaves in the Merkle tree
|
|
61
|
+
*/
|
|
62
|
+
get hashCount(): number;
|
|
63
|
+
/**
|
|
64
|
+
* Returns leaves in array of the length `hashCount` sorted as `0x`-prefixed 32-byte hex strings.
|
|
65
|
+
*/
|
|
66
|
+
get sortedHashes(): string[];
|
|
67
|
+
/**
|
|
68
|
+
* Parent index of the node at index `i` in array
|
|
69
|
+
* @param i index of a node in the Merkle tree
|
|
70
|
+
* @returns parent index
|
|
71
|
+
*/
|
|
72
|
+
parent(i: number): number;
|
|
73
|
+
/**
|
|
74
|
+
* Given an array of leave hashes (`0x`-prefixed 32-byte hex strings) it builds the Merkle tree.
|
|
75
|
+
* @param values
|
|
76
|
+
*/
|
|
77
|
+
private build;
|
|
78
|
+
/**
|
|
79
|
+
* Returns the hash of the `i`-th leaf (index determined by sorting and positioning in the build)
|
|
80
|
+
* @param i
|
|
81
|
+
* @returns
|
|
82
|
+
*/
|
|
83
|
+
getHash(i: number): string | undefined;
|
|
84
|
+
/** Binary search
|
|
85
|
+
* Famously prone to subtle bugs, so over-documented with proof
|
|
86
|
+
*/
|
|
87
|
+
private binarySearch;
|
|
88
|
+
/**
|
|
89
|
+
* Extracts the Merkle proof for the given hash, if it is in the tree
|
|
90
|
+
* @param hashOrIndex the hash whose proof to return
|
|
91
|
+
* @returns the Merkle proof - a list of `0x`-prefixed 32-byte hex strings
|
|
92
|
+
*/
|
|
93
|
+
getProof(hashOrIndex: string | number): string[] | undefined;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Verifies a Merkle proof for a given leaf
|
|
97
|
+
* @param leaf leaf as (`0x`-prefixed 32-byte hex string)
|
|
98
|
+
* @param proof Merkle proof (a list of `0x`-prefixed 32-byte hex strings)
|
|
99
|
+
* @param root Merkle root (`0x`-prefixed 32-byte hex string)
|
|
100
|
+
* @returns `true` if the proof is valid, `false` otherwise
|
|
101
|
+
*/
|
|
102
|
+
export declare function verifyWithMerkleProof(leaf: string, proof: string[], root: string): boolean;
|
|
103
|
+
//# sourceMappingURL=MerkleTree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MerkleTree.d.ts","sourceRoot":"","sources":["../../../../../coston/StateConnector/libs/ts/MerkleTree.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAMH;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,UAErC;AAED;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAE5F;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAKlD;AAED;;GAEG;AACH,qBAAa,UAAU;IACnB,KAAK,EAAE,MAAM,EAAE,CAAM;gBAET,MAAM,EAAE,MAAM,EAAE;IAI5B;;OAEG;IACH,IAAW,IAAI,uBAEd;IAED;;OAEG;IACH,IAAW,IAAI,IAAI,MAAM,EAAE,CAE1B;IAED;;OAEG;IACH,IAAW,SAAS,WAEnB;IAED;;OAEG;IACH,IAAW,YAAY,aAEtB;IAED;;;;OAIG;IACI,MAAM,CAAC,CAAC,EAAE,MAAM;IAIvB;;;OAGG;IACH,OAAO,CAAC,KAAK;IAsBb;;;;OAIG;IACI,OAAO,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAQ7C;;OAEG;IACH,OAAO,CAAC,YAAY;IAepB;;;;OAIG;IACI,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS;CA8BtE;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,WAOhF"}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ABI definition fields for request, response and proof of an attestation type.
|
|
3
|
+
*/
|
|
4
|
+
export interface ABIDefinitions {
|
|
5
|
+
/**
|
|
6
|
+
* JSON ABI definition for attestation type request
|
|
7
|
+
*/
|
|
8
|
+
requestAbi: any;
|
|
9
|
+
/**
|
|
10
|
+
* JSON ABI definition for attestation type response
|
|
11
|
+
*/
|
|
12
|
+
responseAbi: any;
|
|
13
|
+
/**
|
|
14
|
+
* JSON ABI definition for attestation type proof
|
|
15
|
+
*/
|
|
16
|
+
proofAbi: any;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Metadata for basic and ABI configs for an attestation type.
|
|
20
|
+
*/
|
|
21
|
+
export interface TypeRecord extends ABIDefinitions {
|
|
22
|
+
/**
|
|
23
|
+
* Attestation type name. Must be unique and in PascalCase (also known as UpperCamelCase, hence CamelCase with the first letter capitalized).
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
/**
|
|
27
|
+
* Full comment for the attestation type as provided in the Solidity definition.
|
|
28
|
+
*/
|
|
29
|
+
fullComment: string;
|
|
30
|
+
/**
|
|
31
|
+
* Description of the attestation type. Used also in the generated documentation.
|
|
32
|
+
*/
|
|
33
|
+
description: string;
|
|
34
|
+
/**
|
|
35
|
+
* Comma separated list of supported sources for the attestation type. The strings defining types are community defined.
|
|
36
|
+
* Currently, the following are supported: BTC, DOGE, XRP, ETH
|
|
37
|
+
*/
|
|
38
|
+
supported: string[];
|
|
39
|
+
/**
|
|
40
|
+
* Text describing the attestation type verification rules. In Markdown format.
|
|
41
|
+
*/
|
|
42
|
+
verification: string;
|
|
43
|
+
/**
|
|
44
|
+
* The description of how lowest used timestamp is obtained from the attestation response.
|
|
45
|
+
* Usually a field name.
|
|
46
|
+
*/
|
|
47
|
+
lut: string;
|
|
48
|
+
/**
|
|
49
|
+
* Metadata about the struct describing attestation request.
|
|
50
|
+
*/
|
|
51
|
+
request: StructRecord;
|
|
52
|
+
/**
|
|
53
|
+
* Metadata about the struct describing attestation response.
|
|
54
|
+
*/
|
|
55
|
+
response: StructRecord;
|
|
56
|
+
/**
|
|
57
|
+
* Metadata about the struct describing attestation proof.
|
|
58
|
+
*/
|
|
59
|
+
proof: StructRecord;
|
|
60
|
+
/**
|
|
61
|
+
* Metadata about the struct describing attestation request body.
|
|
62
|
+
*/
|
|
63
|
+
requestBody: StructRecord;
|
|
64
|
+
/**
|
|
65
|
+
* Metadata about the struct describing attestation response body.
|
|
66
|
+
*/
|
|
67
|
+
responseBody: StructRecord;
|
|
68
|
+
/**
|
|
69
|
+
* List of metadata objects describing structs used in attestation request.
|
|
70
|
+
*/
|
|
71
|
+
requestStructs: StructRecord[];
|
|
72
|
+
/**
|
|
73
|
+
* List of metadata objects describing structs used in attestation response.
|
|
74
|
+
*/
|
|
75
|
+
responseStructs: StructRecord[];
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Metadata for a struct parameter from a Solidity definition of attestation types.
|
|
79
|
+
*/
|
|
80
|
+
export interface ParamRecord {
|
|
81
|
+
/**
|
|
82
|
+
* Field name.
|
|
83
|
+
*/
|
|
84
|
+
name: string;
|
|
85
|
+
/**
|
|
86
|
+
* Field type as defined in Solidity.
|
|
87
|
+
*/
|
|
88
|
+
type: string;
|
|
89
|
+
/**
|
|
90
|
+
* Short field type (omitting position prefixes for structs)
|
|
91
|
+
*/
|
|
92
|
+
typeSimple?: string;
|
|
93
|
+
/**
|
|
94
|
+
* Field description. Possibly multiline.
|
|
95
|
+
*/
|
|
96
|
+
comment: string;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Metadata for a struct from a Solidity definition of attestation types.
|
|
100
|
+
*/
|
|
101
|
+
export interface StructRecord {
|
|
102
|
+
/**
|
|
103
|
+
* Struct name.
|
|
104
|
+
*/
|
|
105
|
+
name: string;
|
|
106
|
+
/**
|
|
107
|
+
* Full comment for the struct as provided in the Solidity definition.
|
|
108
|
+
*/
|
|
109
|
+
fullComment: string;
|
|
110
|
+
/**
|
|
111
|
+
* Struct description. Possibly multiline, can use Markdown.
|
|
112
|
+
*/
|
|
113
|
+
description: string;
|
|
114
|
+
/**
|
|
115
|
+
* Additional markdown text to be used above the struct fields description in documentation.
|
|
116
|
+
*/
|
|
117
|
+
above?: string;
|
|
118
|
+
/**
|
|
119
|
+
* Additional markdown text to be used below the struct fields description in documentation.
|
|
120
|
+
*/
|
|
121
|
+
below?: string;
|
|
122
|
+
/**
|
|
123
|
+
* List of metadata objects describing struct fields.
|
|
124
|
+
*/
|
|
125
|
+
params: ParamRecord[];
|
|
126
|
+
}
|
|
127
|
+
export interface DataSource {
|
|
128
|
+
name: string;
|
|
129
|
+
description: string;
|
|
130
|
+
}
|
|
131
|
+
export interface Protocol {
|
|
132
|
+
name: string;
|
|
133
|
+
description: string;
|
|
134
|
+
}
|
|
135
|
+
export interface AttestationTypeProtocolSupport {
|
|
136
|
+
attestationType: string;
|
|
137
|
+
supportedDataSources: string[];
|
|
138
|
+
}
|
|
139
|
+
export interface ProtocolSupport {
|
|
140
|
+
protocol: string;
|
|
141
|
+
supported: AttestationTypeProtocolSupport[];
|
|
142
|
+
}
|
|
143
|
+
//# sourceMappingURL=config-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-types.d.ts","sourceRoot":"","sources":["../../../../../coston/StateConnector/libs/ts/config-types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,UAAU,EAAE,GAAG,CAAC;IAChB;;OAEG;IACH,WAAW,EAAE,GAAG,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,GAAG,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,UAAW,SAAQ,cAAc;IAC9C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,OAAO,EAAE,YAAY,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,YAAY,CAAC;IACvB;;OAEG;IACH,KAAK,EAAE,YAAY,CAAC;IACpB;;OAEG;IACH,WAAW,EAAE,YAAY,CAAC;IAC1B;;OAEG;IACH,YAAY,EAAE,YAAY,CAAC;IAC3B;;OAEG;IACH,cAAc,EAAE,YAAY,EAAE,CAAC;IAC/B;;OAEG;IACH,eAAe,EAAE,YAAY,EAAE,CAAC;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,EAAE,WAAW,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,UAAU;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,QAAQ;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,8BAA8B;IAC3C,eAAe,EAAE,MAAM,CAAC;IACxB,oBAAoB,EAAE,MAAM,EAAE,CAAC;CAClC;AACD,MAAM,WAAW,eAAe;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,8BAA8B,EAAE,CAAC;CAC/C"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generic interface for the request of an attestation request.
|
|
3
|
+
*/
|
|
4
|
+
export interface ARBase {
|
|
5
|
+
attestationType: string;
|
|
6
|
+
sourceId: string;
|
|
7
|
+
messageIntegrityCode?: string;
|
|
8
|
+
requestBody: any;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Generic interface for the response of an attestation request.
|
|
12
|
+
*/
|
|
13
|
+
export interface ARESBase {
|
|
14
|
+
attestationType: string;
|
|
15
|
+
sourceId: string;
|
|
16
|
+
votingRound: string;
|
|
17
|
+
lowestUsedTimestamp: string;
|
|
18
|
+
requestBody: any;
|
|
19
|
+
responseBody: any;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Generic interface for example data usually randomly generated for testing purposes and examples.
|
|
23
|
+
*/
|
|
24
|
+
export interface ExampleData<RNM, REQ, RES> {
|
|
25
|
+
requestNoMic: RNM;
|
|
26
|
+
request: REQ;
|
|
27
|
+
response: RES;
|
|
28
|
+
messageIntegrityCode: string;
|
|
29
|
+
encodedRequestZeroMic: string;
|
|
30
|
+
encodedRequest: string;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=interfaces.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../../coston/StateConnector/libs/ts/interfaces.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,MAAM;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,WAAW,EAAE,GAAG,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,WAAW,EAAE,GAAG,CAAC;IACjB,YAAY,EAAE,GAAG,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG;IACtC,YAAY,EAAE,GAAG,CAAC;IAClB,OAAO,EAAE,GAAG,CAAC;IACb,QAAQ,EAAE,GAAG,CAAC;IACd,oBAAoB,EAAE,MAAM,CAAC;IAC7B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,cAAc,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare function seededRandHex(n: number, seed?: string): string;
|
|
2
|
+
/**
|
|
3
|
+
* Helper random value generator for Solidity type values used in in randomized attestation requests or responses.
|
|
4
|
+
* Primarily used for testing
|
|
5
|
+
* @param typeName solidity type (e.g. uint256)
|
|
6
|
+
* @returns
|
|
7
|
+
*/
|
|
8
|
+
export declare function randSol(typeName: string, seed?: string): string | boolean;
|
|
9
|
+
//# sourceMappingURL=random.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"random.d.ts","sourceRoot":"","sources":["../../../../../coston/StateConnector/libs/ts/random.ts"],"names":[],"mappings":"AAEA,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,SAAM,UAElD;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,SAAM,GAAG,MAAM,GAAG,OAAO,CAyDtE"}
|