@flarenetwork/flare-periphery-contract-artifacts 0.1.21 → 0.1.23
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 +98 -19
- package/package.json +1 -1
- package/dist/coston/StateConnector/libs/ts/AttestationDefinitionStore.d.ts +0 -68
- package/dist/coston/StateConnector/libs/ts/AttestationDefinitionStore.d.ts.map +0 -1
- package/dist/coston/StateConnector/libs/ts/AttestationResponse.d.ts +0 -33
- package/dist/coston/StateConnector/libs/ts/AttestationResponse.d.ts.map +0 -1
- package/dist/coston/StateConnector/libs/ts/MerkleTree.d.ts +0 -103
- package/dist/coston/StateConnector/libs/ts/MerkleTree.d.ts.map +0 -1
- package/dist/coston/StateConnector/libs/ts/config-types.d.ts +0 -143
- package/dist/coston/StateConnector/libs/ts/config-types.d.ts.map +0 -1
- package/dist/coston/StateConnector/libs/ts/interfaces.d.ts +0 -32
- package/dist/coston/StateConnector/libs/ts/interfaces.d.ts.map +0 -1
- package/dist/coston/StateConnector/libs/ts/random.d.ts +0 -9
- package/dist/coston/StateConnector/libs/ts/random.d.ts.map +0 -1
- package/dist/coston/StateConnector/libs/ts/utils.d.ts +0 -67
- package/dist/coston/StateConnector/libs/ts/utils.d.ts.map +0 -1
- package/dist/coston/StateConnector/typescript/AddressValidity.d.ts +0 -95
- package/dist/coston/StateConnector/typescript/AddressValidity.d.ts.map +0 -1
- package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.d.ts +0 -107
- package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.d.ts.map +0 -1
- package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.d.ts +0 -103
- package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.d.ts.map +0 -1
- package/dist/coston/StateConnector/typescript/EVMTransaction.d.ts +0 -160
- package/dist/coston/StateConnector/typescript/EVMTransaction.d.ts.map +0 -1
- package/dist/coston/StateConnector/typescript/Payment.d.ts +0 -139
- package/dist/coston/StateConnector/typescript/Payment.d.ts.map +0 -1
- package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.d.ts +0 -115
- package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.d.ts.map +0 -1
- package/dist/coston/StateConnector/typescript/TypeTemplate.d.ts +0 -146
- package/dist/coston/StateConnector/typescript/TypeTemplate.d.ts.map +0 -1
- package/dist/coston/StateConnector/typescript/data-sources/data-sources.d.ts +0 -29
- package/dist/coston/StateConnector/typescript/data-sources/data-sources.d.ts.map +0 -1
- package/dist/coston/StateConnector/typescript/index.d.ts +0 -9
- package/dist/coston/StateConnector/typescript/index.d.ts.map +0 -1
- package/dist/coston/abis.d.ts +0 -13
- package/dist/coston/abis.d.ts.map +0 -1
- package/dist/coston/artifacts/contracts/ContractRegistry.sol/ContractRegistry.json +0 -1
- package/dist/coston/artifacts/contracts/FtsoV2Interface.sol/FtsoV2Interface.json +0 -274
- package/dist/coston/artifacts/contracts/IAddressValidity.sol/IAddressValidity.json +0 -1
- package/dist/coston/artifacts/contracts/IAddressValidityVerification.sol/IAddressValidityVerification.json +0 -89
- package/dist/coston/artifacts/contracts/IAgentPing.sol/IAgentPing.json +0 -99
- package/dist/coston/artifacts/contracts/IAssetManager.sol/IAssetManager.json +0 -6169
- package/dist/coston/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +0 -1696
- package/dist/coston/artifacts/contracts/IBalanceDecreasingTransaction.sol/IBalanceDecreasingTransaction.json +0 -1
- package/dist/coston/artifacts/contracts/IBalanceDecreasingTransactionVerification.sol/IBalanceDecreasingTransactionVerification.json +0 -104
- package/dist/coston/artifacts/contracts/ICChainStake.sol/ICChainStake.json +0 -375
- package/dist/coston/artifacts/contracts/ICChainVotePower.sol/ICChainVotePower.json +0 -300
- package/dist/coston/artifacts/contracts/IClaimSetupManager.sol/IClaimSetupManager.json +0 -656
- package/dist/coston/artifacts/contracts/IConfirmedBlockHeightExists.sol/IConfirmedBlockHeightExists.json +0 -1
- package/dist/coston/artifacts/contracts/IConfirmedBlockHeightExistsVerification.sol/IConfirmedBlockHeightExistsVerification.json +0 -99
- package/dist/coston/artifacts/contracts/IDelegationAccount.sol/IDelegationAccount.json +0 -135
- package/dist/coston/artifacts/contracts/IEVMTransaction.sol/IEVMTransaction.json +0 -1
- package/dist/coston/artifacts/contracts/IEVMTransactionVerification.sol/IEVMTransactionVerification.json +0 -166
- package/dist/coston/artifacts/contracts/IEntityManager.sol/IEntityManager.json +0 -790
- package/dist/coston/artifacts/contracts/IFastUpdateIncentiveManager.sol/IFastUpdateIncentiveManager.json +0 -230
- package/dist/coston/artifacts/contracts/IFastUpdater.sol/IFastUpdater.json +0 -354
- package/dist/coston/artifacts/contracts/IFastUpdatesConfiguration.sol/IFastUpdatesConfiguration.json +0 -190
- package/dist/coston/artifacts/contracts/IFdcHub.sol/IFdcHub.json +0 -138
- package/dist/coston/artifacts/contracts/IFdcInflationConfigurations.sol/IFdcInflationConfigurations.json +0 -88
- package/dist/coston/artifacts/contracts/IFdcRequestFeeConfigurations.sol/IFdcRequestFeeConfigurations.json +0 -65
- package/dist/coston/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +0 -721
- package/dist/coston/artifacts/contracts/IFeeCalculator.sol/IFeeCalculator.json +0 -40
- package/dist/coston/artifacts/contracts/IFlareAssetRegistry.sol/IFlareAssetRegistry.json +0 -232
- package/dist/coston/artifacts/contracts/IFlareContractRegistry.sol/IFlareContractRegistry.json +0 -96
- package/dist/coston/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +0 -109
- package/dist/coston/artifacts/contracts/IFlareSystemsManager.sol/IFlareSystemsManager.json +0 -649
- package/dist/coston/artifacts/contracts/IFtso.sol/IFtso.json +0 -503
- package/dist/coston/artifacts/contracts/IFtsoFeedDecimals.sol/IFtsoFeedDecimals.json +0 -168
- package/dist/coston/artifacts/contracts/IFtsoFeedIdConverter.sol/IFtsoFeedIdConverter.json +0 -50
- package/dist/coston/artifacts/contracts/IFtsoFeedPublisher.sol/IFtsoFeedPublisher.json +0 -214
- package/dist/coston/artifacts/contracts/IFtsoInflationConfigurations.sol/IFtsoInflationConfigurations.json +0 -98
- package/dist/coston/artifacts/contracts/IFtsoManager.sol/IFtsoManager.json +0 -367
- package/dist/coston/artifacts/contracts/IFtsoRegistry.sol/IFtsoRegistry.json +0 -436
- package/dist/coston/artifacts/contracts/IFtsoRewardManager.sol/IFtsoRewardManager.json +0 -693
- package/dist/coston/artifacts/contracts/IFtsoRewardOffersManager.sol/IFtsoRewardOffersManager.json +0 -188
- package/dist/coston/artifacts/contracts/IGenericRewardManager.sol/IGenericRewardManager.json +0 -239
- package/dist/coston/artifacts/contracts/IGovernanceSettings.sol/IGovernanceSettings.json +0 -60
- package/dist/coston/artifacts/contracts/IGovernanceVotePower.sol/IGovernanceVotePower.json +0 -108
- package/dist/coston/artifacts/contracts/IGovernor.sol/IGovernor.json +0 -515
- package/dist/coston/artifacts/contracts/IIncreaseManager.sol/IIncreaseManager.json +0 -15
- package/dist/coston/artifacts/contracts/IPayment.sol/IPayment.json +0 -1
- package/dist/coston/artifacts/contracts/IPaymentVerification.sol/IPaymentVerification.json +0 -149
- package/dist/coston/artifacts/contracts/IPollingManagementGroup.sol/IPollingManagementGroup.json +0 -547
- package/dist/coston/artifacts/contracts/IPriceSubmitter.sol/IPriceSubmitter.json +0 -191
- package/dist/coston/artifacts/contracts/IRNat.sol/IRNat.json +0 -930
- package/dist/coston/artifacts/contracts/IRNatAccount.sol/IRNatAccount.json +0 -137
- package/dist/coston/artifacts/contracts/IRandomProvider.sol/IRandomProvider.json +0 -56
- package/dist/coston/artifacts/contracts/IRedemptionTimeExtension.sol/IRedemptionTimeExtension.json +0 -28
- package/dist/coston/artifacts/contracts/IReferencedPaymentNonexistence.sol/IReferencedPaymentNonexistence.json +0 -1
- package/dist/coston/artifacts/contracts/IReferencedPaymentNonexistenceVerification.sol/IReferencedPaymentNonexistenceVerification.json +0 -124
- package/dist/coston/artifacts/contracts/IRelay.sol/IRelay.json +0 -426
- package/dist/coston/artifacts/contracts/IRewardManager.sol/IRewardManager.json +0 -605
- package/dist/coston/artifacts/contracts/ISubmission.sol/ISubmission.json +0 -133
- package/dist/coston/artifacts/contracts/ITransferFees.sol/ITransferFees.json +0 -394
- package/dist/coston/artifacts/contracts/IVPContractEvents.sol/IVPContractEvents.json +0 -64
- package/dist/coston/artifacts/contracts/IVPToken.sol/IVPToken.json +0 -649
- package/dist/coston/artifacts/contracts/IValidatorRewardOffersManager.sol/IValidatorRewardOffersManager.json +0 -21
- package/dist/coston/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +0 -118
- package/dist/coston/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +0 -256
- package/dist/coston/artifacts/contracts/IVoterWhitelister.sol/IVoterWhitelister.json +0 -190
- package/dist/coston/artifacts/contracts/IWNat.sol/IWNat.json +0 -752
- package/dist/coston/artifacts/contracts/IWNatDelegationFee.sol/IWNatDelegationFee.json +0 -144
- package/dist/coston/artifacts/contracts/ProtocolsV2Interface.sol/ProtocolsV2Interface.json +0 -118
- package/dist/coston/artifacts/contracts/RandomNumberV2Interface.sol/RandomNumberV2Interface.json +0 -54
- package/dist/coston/artifacts/contracts/RewardsV2Interface.sol/RewardsV2Interface.json +0 -171
- package/dist/coston/artifacts/contracts/TestFtsoV2Interface.sol/TestFtsoV2Interface.json +0 -274
- package/dist/coston/artifacts/contracts/diamond/interfaces/IDiamondLoupe.sol/IDiamondLoupe.json +0 -78
- package/dist/coston/artifacts/contracts/userInterfaces/data/AgentInfo.sol/AgentInfo.json +0 -1
- package/dist/coston/artifacts/contracts/userInterfaces/data/AgentSettings.sol/AgentSettings.json +0 -1
- package/dist/coston/artifacts/contracts/userInterfaces/data/AssetManagerSettings.sol/AssetManagerSettings.json +0 -1
- package/dist/coston/artifacts/contracts/userInterfaces/data/AvailableAgentInfo.sol/AvailableAgentInfo.json +0 -1
- package/dist/coston/artifacts/contracts/userInterfaces/data/CollateralType.sol/CollateralType.json +0 -1
- package/dist/coston/artifacts/contracts/userInterfaces/data/RedemptionTicketInfo.sol/RedemptionTicketInfo.json +0 -1
- package/dist/coston/index.d.ts +0 -3
- package/dist/coston/index.d.ts.map +0 -1
- package/dist/coston/mapper.d.ts +0 -3
- package/dist/coston/mapper.d.ts.map +0 -1
- package/dist/coston2/abis.d.ts +0 -13
- package/dist/coston2/abis.d.ts.map +0 -1
- package/dist/coston2/artifacts/contracts/ContractRegistry.sol/ContractRegistry.json +0 -1
- package/dist/coston2/artifacts/contracts/FtsoV2Interface.sol/FtsoV2Interface.json +0 -274
- package/dist/coston2/artifacts/contracts/IAddressBinder.sol/IAddressBinder.json +0 -112
- package/dist/coston2/artifacts/contracts/IAddressValidity.sol/IAddressValidity.json +0 -1
- package/dist/coston2/artifacts/contracts/IAddressValidityVerification.sol/IAddressValidityVerification.json +0 -89
- package/dist/coston2/artifacts/contracts/IBalanceDecreasingTransaction.sol/IBalanceDecreasingTransaction.json +0 -1
- package/dist/coston2/artifacts/contracts/IBalanceDecreasingTransactionVerification.sol/IBalanceDecreasingTransactionVerification.json +0 -104
- package/dist/coston2/artifacts/contracts/ICChainStake.sol/ICChainStake.json +0 -375
- package/dist/coston2/artifacts/contracts/ICChainVotePower.sol/ICChainVotePower.json +0 -300
- package/dist/coston2/artifacts/contracts/IClaimSetupManager.sol/IClaimSetupManager.json +0 -656
- package/dist/coston2/artifacts/contracts/IConfirmedBlockHeightExists.sol/IConfirmedBlockHeightExists.json +0 -1
- package/dist/coston2/artifacts/contracts/IConfirmedBlockHeightExistsVerification.sol/IConfirmedBlockHeightExistsVerification.json +0 -99
- package/dist/coston2/artifacts/contracts/IDelegationAccount.sol/IDelegationAccount.json +0 -135
- package/dist/coston2/artifacts/contracts/IDistributionToDelegators.sol/IDistributionToDelegators.json +0 -249
- package/dist/coston2/artifacts/contracts/IEVMTransaction.sol/IEVMTransaction.json +0 -1
- package/dist/coston2/artifacts/contracts/IEVMTransactionVerification.sol/IEVMTransactionVerification.json +0 -166
- package/dist/coston2/artifacts/contracts/IEntityManager.sol/IEntityManager.json +0 -790
- package/dist/coston2/artifacts/contracts/IFastUpdateIncentiveManager.sol/IFastUpdateIncentiveManager.json +0 -230
- package/dist/coston2/artifacts/contracts/IFastUpdater.sol/IFastUpdater.json +0 -354
- package/dist/coston2/artifacts/contracts/IFastUpdatesConfiguration.sol/IFastUpdatesConfiguration.json +0 -190
- package/dist/coston2/artifacts/contracts/IFdcHub.sol/IFdcHub.json +0 -138
- package/dist/coston2/artifacts/contracts/IFdcInflationConfigurations.sol/IFdcInflationConfigurations.json +0 -88
- package/dist/coston2/artifacts/contracts/IFdcRequestFeeConfigurations.sol/IFdcRequestFeeConfigurations.json +0 -65
- package/dist/coston2/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +0 -721
- package/dist/coston2/artifacts/contracts/IFeeCalculator.sol/IFeeCalculator.json +0 -40
- package/dist/coston2/artifacts/contracts/IFlareAssetRegistry.sol/IFlareAssetRegistry.json +0 -232
- package/dist/coston2/artifacts/contracts/IFlareContractRegistry.sol/IFlareContractRegistry.json +0 -96
- package/dist/coston2/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +0 -109
- package/dist/coston2/artifacts/contracts/IFlareSystemsManager.sol/IFlareSystemsManager.json +0 -649
- package/dist/coston2/artifacts/contracts/IFtso.sol/IFtso.json +0 -466
- package/dist/coston2/artifacts/contracts/IFtsoFeedDecimals.sol/IFtsoFeedDecimals.json +0 -168
- package/dist/coston2/artifacts/contracts/IFtsoFeedIdConverter.sol/IFtsoFeedIdConverter.json +0 -50
- package/dist/coston2/artifacts/contracts/IFtsoFeedPublisher.sol/IFtsoFeedPublisher.json +0 -214
- package/dist/coston2/artifacts/contracts/IFtsoInflationConfigurations.sol/IFtsoInflationConfigurations.json +0 -98
- package/dist/coston2/artifacts/contracts/IFtsoManager.sol/IFtsoManager.json +0 -367
- package/dist/coston2/artifacts/contracts/IFtsoRegistry.sol/IFtsoRegistry.json +0 -436
- package/dist/coston2/artifacts/contracts/IFtsoRewardManager.sol/IFtsoRewardManager.json +0 -693
- package/dist/coston2/artifacts/contracts/IFtsoRewardOffersManager.sol/IFtsoRewardOffersManager.json +0 -188
- package/dist/coston2/artifacts/contracts/IGenericRewardManager.sol/IGenericRewardManager.json +0 -239
- package/dist/coston2/artifacts/contracts/IGovernanceSettings.sol/IGovernanceSettings.json +0 -60
- package/dist/coston2/artifacts/contracts/IGovernanceVotePower.sol/IGovernanceVotePower.json +0 -108
- package/dist/coston2/artifacts/contracts/IGovernor.sol/IGovernor.json +0 -515
- package/dist/coston2/artifacts/contracts/IIncreaseManager.sol/IIncreaseManager.json +0 -15
- package/dist/coston2/artifacts/contracts/IPChainStakeMirror.sol/IPChainStakeMirror.json +0 -566
- package/dist/coston2/artifacts/contracts/IPChainStakeMirrorMultiSigVoting.sol/IPChainStakeMirrorMultiSigVoting.json +0 -302
- package/dist/coston2/artifacts/contracts/IPChainStakeMirrorVerifier.sol/IPChainStakeMirrorVerifier.json +0 -1
- package/dist/coston2/artifacts/contracts/IPChainVotePower.sol/IPChainVotePower.json +0 -300
- package/dist/coston2/artifacts/contracts/IPayment.sol/IPayment.json +0 -1
- package/dist/coston2/artifacts/contracts/IPaymentVerification.sol/IPaymentVerification.json +0 -149
- package/dist/coston2/artifacts/contracts/IPollingManagementGroup.sol/IPollingManagementGroup.json +0 -547
- package/dist/coston2/artifacts/contracts/IPriceSubmitter.sol/IPriceSubmitter.json +0 -212
- package/dist/coston2/artifacts/contracts/IRNat.sol/IRNat.json +0 -930
- package/dist/coston2/artifacts/contracts/IRNatAccount.sol/IRNatAccount.json +0 -137
- package/dist/coston2/artifacts/contracts/IRandomProvider.sol/IRandomProvider.json +0 -56
- package/dist/coston2/artifacts/contracts/IReferencedPaymentNonexistence.sol/IReferencedPaymentNonexistence.json +0 -1
- package/dist/coston2/artifacts/contracts/IReferencedPaymentNonexistenceVerification.sol/IReferencedPaymentNonexistenceVerification.json +0 -124
- package/dist/coston2/artifacts/contracts/IRelay.sol/IRelay.json +0 -426
- package/dist/coston2/artifacts/contracts/IRewardManager.sol/IRewardManager.json +0 -605
- package/dist/coston2/artifacts/contracts/ISubmission.sol/ISubmission.json +0 -133
- package/dist/coston2/artifacts/contracts/IVPContractEvents.sol/IVPContractEvents.json +0 -64
- package/dist/coston2/artifacts/contracts/IVPToken.sol/IVPToken.json +0 -691
- package/dist/coston2/artifacts/contracts/IValidatorRegistry.sol/IValidatorRegistry.json +0 -127
- package/dist/coston2/artifacts/contracts/IValidatorRewardOffersManager.sol/IValidatorRewardOffersManager.json +0 -21
- package/dist/coston2/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +0 -118
- package/dist/coston2/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +0 -256
- package/dist/coston2/artifacts/contracts/IVoterWhitelister.sol/IVoterWhitelister.json +0 -190
- package/dist/coston2/artifacts/contracts/IWNat.sol/IWNat.json +0 -781
- package/dist/coston2/artifacts/contracts/IWNatDelegationFee.sol/IWNatDelegationFee.json +0 -144
- package/dist/coston2/artifacts/contracts/ProtocolsV2Interface.sol/ProtocolsV2Interface.json +0 -118
- package/dist/coston2/artifacts/contracts/RandomNumberV2Interface.sol/RandomNumberV2Interface.json +0 -54
- package/dist/coston2/artifacts/contracts/RewardsV2Interface.sol/RewardsV2Interface.json +0 -171
- package/dist/coston2/artifacts/contracts/TestFtsoV2Interface.sol/TestFtsoV2Interface.json +0 -274
- package/dist/coston2/artifacts/contracts/governance/interface/IIPollingFoundation.sol/IIPollingFoundation.json +0 -671
- package/dist/coston2/index.d.ts +0 -3
- package/dist/coston2/index.d.ts.map +0 -1
- package/dist/coston2/mapper.d.ts +0 -3
- package/dist/coston2/mapper.d.ts.map +0 -1
- package/dist/flare/abis.d.ts +0 -13
- package/dist/flare/abis.d.ts.map +0 -1
- package/dist/flare/artifacts/contracts/ContractRegistry.sol/ContractRegistry.json +0 -1
- package/dist/flare/artifacts/contracts/FtsoV2Interface.sol/FtsoV2Interface.json +0 -274
- package/dist/flare/artifacts/contracts/IAddressBinder.sol/IAddressBinder.json +0 -112
- package/dist/flare/artifacts/contracts/IAddressValidity.sol/IAddressValidity.json +0 -1
- package/dist/flare/artifacts/contracts/IAddressValidityVerification.sol/IAddressValidityVerification.json +0 -89
- package/dist/flare/artifacts/contracts/IBalanceDecreasingTransaction.sol/IBalanceDecreasingTransaction.json +0 -1
- package/dist/flare/artifacts/contracts/IBalanceDecreasingTransactionVerification.sol/IBalanceDecreasingTransactionVerification.json +0 -104
- package/dist/flare/artifacts/contracts/ICChainStake.sol/ICChainStake.json +0 -375
- package/dist/flare/artifacts/contracts/ICChainVotePower.sol/ICChainVotePower.json +0 -300
- package/dist/flare/artifacts/contracts/IClaimSetupManager.sol/IClaimSetupManager.json +0 -656
- package/dist/flare/artifacts/contracts/IConfirmedBlockHeightExists.sol/IConfirmedBlockHeightExists.json +0 -1
- package/dist/flare/artifacts/contracts/IConfirmedBlockHeightExistsVerification.sol/IConfirmedBlockHeightExistsVerification.json +0 -99
- package/dist/flare/artifacts/contracts/IDelegationAccount.sol/IDelegationAccount.json +0 -135
- package/dist/flare/artifacts/contracts/IDistributionToDelegators.sol/IDistributionToDelegators.json +0 -249
- package/dist/flare/artifacts/contracts/IEVMTransaction.sol/IEVMTransaction.json +0 -1
- package/dist/flare/artifacts/contracts/IEVMTransactionVerification.sol/IEVMTransactionVerification.json +0 -166
- package/dist/flare/artifacts/contracts/IEntityManager.sol/IEntityManager.json +0 -790
- package/dist/flare/artifacts/contracts/IFastUpdateIncentiveManager.sol/IFastUpdateIncentiveManager.json +0 -230
- package/dist/flare/artifacts/contracts/IFastUpdater.sol/IFastUpdater.json +0 -354
- package/dist/flare/artifacts/contracts/IFastUpdatesConfiguration.sol/IFastUpdatesConfiguration.json +0 -190
- package/dist/flare/artifacts/contracts/IFdcHub.sol/IFdcHub.json +0 -138
- package/dist/flare/artifacts/contracts/IFdcInflationConfigurations.sol/IFdcInflationConfigurations.json +0 -88
- package/dist/flare/artifacts/contracts/IFdcRequestFeeConfigurations.sol/IFdcRequestFeeConfigurations.json +0 -65
- package/dist/flare/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +0 -721
- package/dist/flare/artifacts/contracts/IFeeCalculator.sol/IFeeCalculator.json +0 -40
- package/dist/flare/artifacts/contracts/IFlareAssetRegistry.sol/IFlareAssetRegistry.json +0 -232
- package/dist/flare/artifacts/contracts/IFlareContractRegistry.sol/IFlareContractRegistry.json +0 -96
- package/dist/flare/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +0 -109
- package/dist/flare/artifacts/contracts/IFlareSystemsManager.sol/IFlareSystemsManager.json +0 -649
- package/dist/flare/artifacts/contracts/IFtso.sol/IFtso.json +0 -466
- package/dist/flare/artifacts/contracts/IFtsoFeedDecimals.sol/IFtsoFeedDecimals.json +0 -168
- package/dist/flare/artifacts/contracts/IFtsoFeedIdConverter.sol/IFtsoFeedIdConverter.json +0 -50
- package/dist/flare/artifacts/contracts/IFtsoFeedPublisher.sol/IFtsoFeedPublisher.json +0 -214
- package/dist/flare/artifacts/contracts/IFtsoInflationConfigurations.sol/IFtsoInflationConfigurations.json +0 -98
- package/dist/flare/artifacts/contracts/IFtsoManager.sol/IFtsoManager.json +0 -367
- package/dist/flare/artifacts/contracts/IFtsoRegistry.sol/IFtsoRegistry.json +0 -436
- package/dist/flare/artifacts/contracts/IFtsoRewardManager.sol/IFtsoRewardManager.json +0 -693
- package/dist/flare/artifacts/contracts/IFtsoRewardOffersManager.sol/IFtsoRewardOffersManager.json +0 -188
- package/dist/flare/artifacts/contracts/IGenericRewardManager.sol/IGenericRewardManager.json +0 -239
- package/dist/flare/artifacts/contracts/IGovernanceSettings.sol/IGovernanceSettings.json +0 -60
- package/dist/flare/artifacts/contracts/IGovernanceVotePower.sol/IGovernanceVotePower.json +0 -108
- package/dist/flare/artifacts/contracts/IGovernor.sol/IGovernor.json +0 -515
- package/dist/flare/artifacts/contracts/IIncreaseManager.sol/IIncreaseManager.json +0 -15
- package/dist/flare/artifacts/contracts/IPChainStakeMirror.sol/IPChainStakeMirror.json +0 -566
- package/dist/flare/artifacts/contracts/IPChainStakeMirrorMultiSigVoting.sol/IPChainStakeMirrorMultiSigVoting.json +0 -302
- package/dist/flare/artifacts/contracts/IPChainStakeMirrorVerifier.sol/IPChainStakeMirrorVerifier.json +0 -1
- package/dist/flare/artifacts/contracts/IPChainVotePower.sol/IPChainVotePower.json +0 -300
- package/dist/flare/artifacts/contracts/IPayment.sol/IPayment.json +0 -1
- package/dist/flare/artifacts/contracts/IPaymentVerification.sol/IPaymentVerification.json +0 -149
- package/dist/flare/artifacts/contracts/IPollingManagementGroup.sol/IPollingManagementGroup.json +0 -547
- package/dist/flare/artifacts/contracts/IPriceSubmitter.sol/IPriceSubmitter.json +0 -212
- package/dist/flare/artifacts/contracts/IRNat.sol/IRNat.json +0 -930
- package/dist/flare/artifacts/contracts/IRNatAccount.sol/IRNatAccount.json +0 -137
- package/dist/flare/artifacts/contracts/IRandomProvider.sol/IRandomProvider.json +0 -56
- package/dist/flare/artifacts/contracts/IReferencedPaymentNonexistence.sol/IReferencedPaymentNonexistence.json +0 -1
- package/dist/flare/artifacts/contracts/IReferencedPaymentNonexistenceVerification.sol/IReferencedPaymentNonexistenceVerification.json +0 -124
- package/dist/flare/artifacts/contracts/IRelay.sol/IRelay.json +0 -426
- package/dist/flare/artifacts/contracts/IRewardManager.sol/IRewardManager.json +0 -605
- package/dist/flare/artifacts/contracts/ISubmission.sol/ISubmission.json +0 -133
- package/dist/flare/artifacts/contracts/IVPContractEvents.sol/IVPContractEvents.json +0 -64
- package/dist/flare/artifacts/contracts/IVPToken.sol/IVPToken.json +0 -691
- package/dist/flare/artifacts/contracts/IValidatorRegistry.sol/IValidatorRegistry.json +0 -127
- package/dist/flare/artifacts/contracts/IValidatorRewardOffersManager.sol/IValidatorRewardOffersManager.json +0 -21
- package/dist/flare/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +0 -118
- package/dist/flare/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +0 -256
- package/dist/flare/artifacts/contracts/IVoterWhitelister.sol/IVoterWhitelister.json +0 -190
- package/dist/flare/artifacts/contracts/IWNat.sol/IWNat.json +0 -781
- package/dist/flare/artifacts/contracts/IWNatDelegationFee.sol/IWNatDelegationFee.json +0 -144
- package/dist/flare/artifacts/contracts/ProtocolsV2Interface.sol/ProtocolsV2Interface.json +0 -118
- package/dist/flare/artifacts/contracts/RandomNumberV2Interface.sol/RandomNumberV2Interface.json +0 -54
- package/dist/flare/artifacts/contracts/RewardsV2Interface.sol/RewardsV2Interface.json +0 -171
- package/dist/flare/artifacts/contracts/TestFtsoV2Interface.sol/TestFtsoV2Interface.json +0 -274
- package/dist/flare/artifacts/contracts/customFeeds/interface/IICustomFeed.sol/IICustomFeed.json +0 -51
- package/dist/flare/artifacts/contracts/fdc/interface/ITypeTemplate.sol/ITypeTemplate.json +0 -1
- package/dist/flare/artifacts/contracts/fdc/interface/ITypeTemplateVerification.sol/ITypeTemplateVerification.json +0 -140
- package/dist/flare/artifacts/contracts/fscV1/interface/IIFastUpdaterView.sol/IIFastUpdaterView.json +0 -31
- package/dist/flare/artifacts/contracts/fscV1/interface/IIFtsoManagerProxy.sol/IIFtsoManagerProxy.json +0 -54
- package/dist/flare/artifacts/contracts/ftso/interface/IIFtso.sol/IIFtso.json +0 -879
- package/dist/flare/artifacts/contracts/ftso/interface/IIFtsoFeedPublisher.sol/IIFtsoFeedPublisher.json +0 -254
- package/dist/flare/artifacts/contracts/genesis/interface/IFlareDaemonize.sol/IFlareDaemonize.json +0 -41
- package/dist/flare/artifacts/contracts/genesis/interface/IFtsoGenesis.sol/IFtsoGenesis.json +0 -54
- package/dist/flare/artifacts/contracts/genesis/interface/IFtsoManagerGenesis.sol/IFtsoManagerGenesis.json +0 -15
- package/dist/flare/artifacts/contracts/genesis/interface/IFtsoRegistryGenesis.sol/IFtsoRegistryGenesis.json +0 -21
- package/dist/flare/artifacts/contracts/governance/interface/IIGovernorProposer.sol/IIGovernorProposer.json +0 -21
- package/dist/flare/artifacts/contracts/governance/interface/IIPollingFoundation.sol/IIPollingFoundation.json +0 -671
- package/dist/flare/artifacts/contracts/governance/interface/IIPollingManagementGroup.sol/IIPollingManagementGroup.json +0 -679
- package/dist/flare/artifacts/contracts/protocol/interface/IIClaimSetupManager.sol/IIClaimSetupManager.json +0 -786
- package/dist/flare/artifacts/contracts/protocol/interface/IICleanupBlockNumberManager.sol/IICleanupBlockNumberManager.json +0 -15
- package/dist/flare/artifacts/contracts/protocol/interface/IIEntityManager.sol/IIEntityManager.json +0 -939
- package/dist/flare/artifacts/contracts/protocol/interface/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +0 -162
- package/dist/flare/artifacts/contracts/protocol/interface/IIFlareSystemsManager.sol/IIFlareSystemsManager.json +0 -1217
- package/dist/flare/artifacts/contracts/protocol/interface/IINodePossessionVerifier.sol/IINodePossessionVerifier.json +0 -30
- package/dist/flare/artifacts/contracts/protocol/interface/IIPublicKeyVerifier.sol/IIPublicKeyVerifier.json +0 -30
- package/dist/flare/artifacts/contracts/protocol/interface/IIRelay.sol/IIRelay.json +0 -477
- package/dist/flare/artifacts/contracts/protocol/interface/IIRewardEpochSwitchoverTrigger.sol/IIRewardEpochSwitchoverTrigger.json +0 -25
- package/dist/flare/artifacts/contracts/protocol/interface/IIRewardManager.sol/IIRewardManager.json +0 -714
- package/dist/flare/artifacts/contracts/protocol/interface/IISubmission.sol/IISubmission.json +0 -161
- package/dist/flare/artifacts/contracts/protocol/interface/IIVoterRegistrationTrigger.sol/IIVoterRegistrationTrigger.json +0 -15
- package/dist/flare/artifacts/contracts/protocol/interface/IIVoterRegistry.sol/IIVoterRegistry.json +0 -623
- package/dist/flare/artifacts/contracts/rNat/interface/IIRNat.sol/IIRNat.json +0 -1061
- package/dist/flare/artifacts/contracts/rNat/interface/IIRNatAccount.sol/IIRNatAccount.json +0 -333
- package/dist/flare/artifacts/contracts/token/interface/IICleanable.sol/IICleanable.json +0 -41
- package/dist/flare/artifacts/contracts/token/interface/IIGovernanceVotePower.sol/IIGovernanceVotePower.json +0 -256
- package/dist/flare/artifacts/contracts/token/interface/IIVPContract.sol/IIVPContract.json +0 -611
- package/dist/flare/artifacts/contracts/token/interface/IIVPToken.sol/IIVPToken.json +0 -823
- package/dist/flare/index.d.ts +0 -3
- package/dist/flare/index.d.ts.map +0 -1
- package/dist/flare/mapper.d.ts +0 -3
- package/dist/flare/mapper.d.ts.map +0 -1
- package/dist/index.d.ts +0 -11
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -9362
- package/dist/index.js.map +0 -1
- package/dist/songbird/abis.d.ts +0 -13
- package/dist/songbird/abis.d.ts.map +0 -1
- package/dist/songbird/artifacts/contracts/ContractRegistry.sol/ContractRegistry.json +0 -1
- package/dist/songbird/artifacts/contracts/FtsoV2Interface.sol/FtsoV2Interface.json +0 -274
- package/dist/songbird/artifacts/contracts/IAddressValidity.sol/IAddressValidity.json +0 -1
- package/dist/songbird/artifacts/contracts/IAddressValidityVerification.sol/IAddressValidityVerification.json +0 -89
- package/dist/songbird/artifacts/contracts/IAgentPing.sol/IAgentPing.json +0 -99
- package/dist/songbird/artifacts/contracts/IAssetManager.sol/IAssetManager.json +0 -6169
- package/dist/songbird/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +0 -1696
- package/dist/songbird/artifacts/contracts/IBalanceDecreasingTransaction.sol/IBalanceDecreasingTransaction.json +0 -1
- package/dist/songbird/artifacts/contracts/IBalanceDecreasingTransactionVerification.sol/IBalanceDecreasingTransactionVerification.json +0 -104
- package/dist/songbird/artifacts/contracts/ICChainStake.sol/ICChainStake.json +0 -375
- package/dist/songbird/artifacts/contracts/ICChainVotePower.sol/ICChainVotePower.json +0 -300
- package/dist/songbird/artifacts/contracts/IClaimSetupManager.sol/IClaimSetupManager.json +0 -656
- package/dist/songbird/artifacts/contracts/IConfirmedBlockHeightExists.sol/IConfirmedBlockHeightExists.json +0 -1
- package/dist/songbird/artifacts/contracts/IConfirmedBlockHeightExistsVerification.sol/IConfirmedBlockHeightExistsVerification.json +0 -99
- package/dist/songbird/artifacts/contracts/IDelegationAccount.sol/IDelegationAccount.json +0 -135
- package/dist/songbird/artifacts/contracts/IEVMTransaction.sol/IEVMTransaction.json +0 -1
- package/dist/songbird/artifacts/contracts/IEVMTransactionVerification.sol/IEVMTransactionVerification.json +0 -166
- package/dist/songbird/artifacts/contracts/IEntityManager.sol/IEntityManager.json +0 -790
- package/dist/songbird/artifacts/contracts/IFastUpdateIncentiveManager.sol/IFastUpdateIncentiveManager.json +0 -230
- package/dist/songbird/artifacts/contracts/IFastUpdater.sol/IFastUpdater.json +0 -354
- package/dist/songbird/artifacts/contracts/IFastUpdatesConfiguration.sol/IFastUpdatesConfiguration.json +0 -190
- package/dist/songbird/artifacts/contracts/IFdcHub.sol/IFdcHub.json +0 -138
- package/dist/songbird/artifacts/contracts/IFdcInflationConfigurations.sol/IFdcInflationConfigurations.json +0 -88
- package/dist/songbird/artifacts/contracts/IFdcRequestFeeConfigurations.sol/IFdcRequestFeeConfigurations.json +0 -65
- package/dist/songbird/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +0 -721
- package/dist/songbird/artifacts/contracts/IFeeCalculator.sol/IFeeCalculator.json +0 -40
- package/dist/songbird/artifacts/contracts/IFlareAssetRegistry.sol/IFlareAssetRegistry.json +0 -232
- package/dist/songbird/artifacts/contracts/IFlareContractRegistry.sol/IFlareContractRegistry.json +0 -96
- package/dist/songbird/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +0 -109
- package/dist/songbird/artifacts/contracts/IFlareSystemsManager.sol/IFlareSystemsManager.json +0 -649
- package/dist/songbird/artifacts/contracts/IFtso.sol/IFtso.json +0 -503
- package/dist/songbird/artifacts/contracts/IFtsoFeedDecimals.sol/IFtsoFeedDecimals.json +0 -168
- package/dist/songbird/artifacts/contracts/IFtsoFeedIdConverter.sol/IFtsoFeedIdConverter.json +0 -50
- package/dist/songbird/artifacts/contracts/IFtsoFeedPublisher.sol/IFtsoFeedPublisher.json +0 -214
- package/dist/songbird/artifacts/contracts/IFtsoInflationConfigurations.sol/IFtsoInflationConfigurations.json +0 -98
- package/dist/songbird/artifacts/contracts/IFtsoManager.sol/IFtsoManager.json +0 -367
- package/dist/songbird/artifacts/contracts/IFtsoRegistry.sol/IFtsoRegistry.json +0 -436
- package/dist/songbird/artifacts/contracts/IFtsoRewardManager.sol/IFtsoRewardManager.json +0 -693
- package/dist/songbird/artifacts/contracts/IFtsoRewardOffersManager.sol/IFtsoRewardOffersManager.json +0 -188
- package/dist/songbird/artifacts/contracts/IGenericRewardManager.sol/IGenericRewardManager.json +0 -239
- package/dist/songbird/artifacts/contracts/IGovernanceSettings.sol/IGovernanceSettings.json +0 -60
- package/dist/songbird/artifacts/contracts/IGovernanceVotePower.sol/IGovernanceVotePower.json +0 -108
- package/dist/songbird/artifacts/contracts/IGovernor.sol/IGovernor.json +0 -515
- package/dist/songbird/artifacts/contracts/IIncreaseManager.sol/IIncreaseManager.json +0 -15
- package/dist/songbird/artifacts/contracts/IPayment.sol/IPayment.json +0 -1
- package/dist/songbird/artifacts/contracts/IPaymentVerification.sol/IPaymentVerification.json +0 -149
- package/dist/songbird/artifacts/contracts/IPollingManagementGroup.sol/IPollingManagementGroup.json +0 -547
- package/dist/songbird/artifacts/contracts/IPriceSubmitter.sol/IPriceSubmitter.json +0 -191
- package/dist/songbird/artifacts/contracts/IRNat.sol/IRNat.json +0 -930
- package/dist/songbird/artifacts/contracts/IRNatAccount.sol/IRNatAccount.json +0 -137
- package/dist/songbird/artifacts/contracts/IRandomProvider.sol/IRandomProvider.json +0 -56
- package/dist/songbird/artifacts/contracts/IRedemptionTimeExtension.sol/IRedemptionTimeExtension.json +0 -28
- package/dist/songbird/artifacts/contracts/IReferencedPaymentNonexistence.sol/IReferencedPaymentNonexistence.json +0 -1
- package/dist/songbird/artifacts/contracts/IReferencedPaymentNonexistenceVerification.sol/IReferencedPaymentNonexistenceVerification.json +0 -124
- package/dist/songbird/artifacts/contracts/IRelay.sol/IRelay.json +0 -426
- package/dist/songbird/artifacts/contracts/IRewardManager.sol/IRewardManager.json +0 -605
- package/dist/songbird/artifacts/contracts/ISubmission.sol/ISubmission.json +0 -133
- package/dist/songbird/artifacts/contracts/ITransferFees.sol/ITransferFees.json +0 -394
- package/dist/songbird/artifacts/contracts/IVPContractEvents.sol/IVPContractEvents.json +0 -64
- package/dist/songbird/artifacts/contracts/IVPToken.sol/IVPToken.json +0 -649
- package/dist/songbird/artifacts/contracts/IValidatorRewardOffersManager.sol/IValidatorRewardOffersManager.json +0 -21
- package/dist/songbird/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +0 -118
- package/dist/songbird/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +0 -256
- package/dist/songbird/artifacts/contracts/IVoterWhitelister.sol/IVoterWhitelister.json +0 -190
- package/dist/songbird/artifacts/contracts/IWNat.sol/IWNat.json +0 -752
- package/dist/songbird/artifacts/contracts/IWNatDelegationFee.sol/IWNatDelegationFee.json +0 -144
- package/dist/songbird/artifacts/contracts/ProtocolsV2Interface.sol/ProtocolsV2Interface.json +0 -118
- package/dist/songbird/artifacts/contracts/RandomNumberV2Interface.sol/RandomNumberV2Interface.json +0 -54
- package/dist/songbird/artifacts/contracts/RewardsV2Interface.sol/RewardsV2Interface.json +0 -171
- package/dist/songbird/artifacts/contracts/TestFtsoV2Interface.sol/TestFtsoV2Interface.json +0 -274
- package/dist/songbird/artifacts/contracts/customFeeds/interface/IICustomFeed.sol/IICustomFeed.json +0 -51
- package/dist/songbird/artifacts/contracts/diamond/interfaces/IDiamondLoupe.sol/IDiamondLoupe.json +0 -78
- package/dist/songbird/artifacts/contracts/fdc/interface/ITypeTemplate.sol/ITypeTemplate.json +0 -1
- package/dist/songbird/artifacts/contracts/fdc/interface/ITypeTemplateVerification.sol/ITypeTemplateVerification.json +0 -140
- package/dist/songbird/artifacts/contracts/fscV1/interface/IIFastUpdaterView.sol/IIFastUpdaterView.json +0 -31
- package/dist/songbird/artifacts/contracts/fscV1/interface/IIFtsoManagerProxy.sol/IIFtsoManagerProxy.json +0 -54
- package/dist/songbird/artifacts/contracts/ftso/interface/IIFtso.sol/IIFtso.json +0 -944
- package/dist/songbird/artifacts/contracts/ftso/interface/IIFtsoFeedPublisher.sol/IIFtsoFeedPublisher.json +0 -254
- package/dist/songbird/artifacts/contracts/genesis/interface/IFlareDaemonize.sol/IFlareDaemonize.json +0 -28
- package/dist/songbird/artifacts/contracts/genesis/interface/IFtsoGenesis.sol/IFtsoGenesis.json +0 -82
- package/dist/songbird/artifacts/contracts/genesis/interface/IFtsoManagerGenesis.sol/IFtsoManagerGenesis.json +0 -15
- package/dist/songbird/artifacts/contracts/genesis/interface/IFtsoRegistryGenesis.sol/IFtsoRegistryGenesis.json +0 -21
- package/dist/songbird/artifacts/contracts/governance/interface/IIGovernorProposer.sol/IIGovernorProposer.json +0 -21
- package/dist/songbird/artifacts/contracts/governance/interface/IIPollingManagementGroup.sol/IIPollingManagementGroup.json +0 -679
- package/dist/songbird/artifacts/contracts/protocol/interface/IIClaimSetupManager.sol/IIClaimSetupManager.json +0 -786
- package/dist/songbird/artifacts/contracts/protocol/interface/IICleanupBlockNumberManager.sol/IICleanupBlockNumberManager.json +0 -15
- package/dist/songbird/artifacts/contracts/protocol/interface/IIEntityManager.sol/IIEntityManager.json +0 -939
- package/dist/songbird/artifacts/contracts/protocol/interface/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +0 -162
- package/dist/songbird/artifacts/contracts/protocol/interface/IIFlareSystemsManager.sol/IIFlareSystemsManager.json +0 -1217
- package/dist/songbird/artifacts/contracts/protocol/interface/IINodePossessionVerifier.sol/IINodePossessionVerifier.json +0 -30
- package/dist/songbird/artifacts/contracts/protocol/interface/IIPublicKeyVerifier.sol/IIPublicKeyVerifier.json +0 -30
- package/dist/songbird/artifacts/contracts/protocol/interface/IIRelay.sol/IIRelay.json +0 -477
- package/dist/songbird/artifacts/contracts/protocol/interface/IIRewardEpochSwitchoverTrigger.sol/IIRewardEpochSwitchoverTrigger.json +0 -25
- package/dist/songbird/artifacts/contracts/protocol/interface/IIRewardManager.sol/IIRewardManager.json +0 -714
- package/dist/songbird/artifacts/contracts/protocol/interface/IISubmission.sol/IISubmission.json +0 -161
- package/dist/songbird/artifacts/contracts/protocol/interface/IIVoterRegistrationTrigger.sol/IIVoterRegistrationTrigger.json +0 -15
- package/dist/songbird/artifacts/contracts/protocol/interface/IIVoterRegistry.sol/IIVoterRegistry.json +0 -623
- package/dist/songbird/artifacts/contracts/rNat/interface/IIRNat.sol/IIRNat.json +0 -1061
- package/dist/songbird/artifacts/contracts/rNat/interface/IIRNatAccount.sol/IIRNatAccount.json +0 -333
- package/dist/songbird/artifacts/contracts/token/interface/IICleanable.sol/IICleanable.json +0 -54
- package/dist/songbird/artifacts/contracts/token/interface/IIGovernanceVotePower.sol/IIGovernanceVotePower.json +0 -243
- package/dist/songbird/artifacts/contracts/token/interface/IIVPContract.sol/IIVPContract.json +0 -600
- package/dist/songbird/artifacts/contracts/token/interface/IIVPToken.sol/IIVPToken.json +0 -781
- package/dist/songbird/artifacts/contracts/userInterfaces/data/AgentInfo.sol/AgentInfo.json +0 -1
- package/dist/songbird/artifacts/contracts/userInterfaces/data/AgentSettings.sol/AgentSettings.json +0 -1
- package/dist/songbird/artifacts/contracts/userInterfaces/data/AssetManagerSettings.sol/AssetManagerSettings.json +0 -1
- package/dist/songbird/artifacts/contracts/userInterfaces/data/AvailableAgentInfo.sol/AvailableAgentInfo.json +0 -1
- package/dist/songbird/artifacts/contracts/userInterfaces/data/CollateralType.sol/CollateralType.json +0 -1
- package/dist/songbird/artifacts/contracts/userInterfaces/data/RedemptionTicketInfo.sol/RedemptionTicketInfo.json +0 -1
- package/dist/songbird/index.d.ts +0 -3
- package/dist/songbird/index.d.ts.map +0 -1
- package/dist/songbird/mapper.d.ts +0 -3
- package/dist/songbird/mapper.d.ts.map +0 -1
- package/flare/artifacts/contracts/customFeeds/interface/IICustomFeed.sol/IICustomFeed.json +0 -51
- package/flare/artifacts/contracts/fdc/interface/ITypeTemplate.sol/ITypeTemplate.json +0 -1
- package/flare/artifacts/contracts/fdc/interface/ITypeTemplateVerification.sol/ITypeTemplateVerification.json +0 -140
- package/flare/artifacts/contracts/fscV1/interface/IIFastUpdaterView.sol/IIFastUpdaterView.json +0 -31
- package/flare/artifacts/contracts/fscV1/interface/IIFtsoManagerProxy.sol/IIFtsoManagerProxy.json +0 -54
- package/flare/artifacts/contracts/ftso/interface/IIFtso.sol/IIFtso.json +0 -879
- package/flare/artifacts/contracts/ftso/interface/IIFtsoFeedPublisher.sol/IIFtsoFeedPublisher.json +0 -254
- package/flare/artifacts/contracts/genesis/interface/IFlareDaemonize.sol/IFlareDaemonize.json +0 -41
- package/flare/artifacts/contracts/genesis/interface/IFtsoGenesis.sol/IFtsoGenesis.json +0 -54
- package/flare/artifacts/contracts/genesis/interface/IFtsoManagerGenesis.sol/IFtsoManagerGenesis.json +0 -15
- package/flare/artifacts/contracts/genesis/interface/IFtsoRegistryGenesis.sol/IFtsoRegistryGenesis.json +0 -21
- package/flare/artifacts/contracts/governance/interface/IIGovernorProposer.sol/IIGovernorProposer.json +0 -21
- package/flare/artifacts/contracts/governance/interface/IIPollingFoundation.sol/IIPollingFoundation.json +0 -671
- package/flare/artifacts/contracts/governance/interface/IIPollingManagementGroup.sol/IIPollingManagementGroup.json +0 -679
- package/flare/artifacts/contracts/protocol/interface/IIClaimSetupManager.sol/IIClaimSetupManager.json +0 -786
- package/flare/artifacts/contracts/protocol/interface/IICleanupBlockNumberManager.sol/IICleanupBlockNumberManager.json +0 -15
- package/flare/artifacts/contracts/protocol/interface/IIEntityManager.sol/IIEntityManager.json +0 -939
- package/flare/artifacts/contracts/protocol/interface/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +0 -162
- package/flare/artifacts/contracts/protocol/interface/IIFlareSystemsManager.sol/IIFlareSystemsManager.json +0 -1217
- package/flare/artifacts/contracts/protocol/interface/IINodePossessionVerifier.sol/IINodePossessionVerifier.json +0 -30
- package/flare/artifacts/contracts/protocol/interface/IIPublicKeyVerifier.sol/IIPublicKeyVerifier.json +0 -30
- package/flare/artifacts/contracts/protocol/interface/IIRelay.sol/IIRelay.json +0 -477
- package/flare/artifacts/contracts/protocol/interface/IIRewardEpochSwitchoverTrigger.sol/IIRewardEpochSwitchoverTrigger.json +0 -25
- package/flare/artifacts/contracts/protocol/interface/IIRewardManager.sol/IIRewardManager.json +0 -714
- package/flare/artifacts/contracts/protocol/interface/IISubmission.sol/IISubmission.json +0 -161
- package/flare/artifacts/contracts/protocol/interface/IIVoterRegistrationTrigger.sol/IIVoterRegistrationTrigger.json +0 -15
- package/flare/artifacts/contracts/protocol/interface/IIVoterRegistry.sol/IIVoterRegistry.json +0 -623
- package/flare/artifacts/contracts/rNat/interface/IIRNat.sol/IIRNat.json +0 -1061
- package/flare/artifacts/contracts/rNat/interface/IIRNatAccount.sol/IIRNatAccount.json +0 -333
- package/flare/artifacts/contracts/token/interface/IICleanable.sol/IICleanable.json +0 -41
- package/flare/artifacts/contracts/token/interface/IIGovernanceVotePower.sol/IIGovernanceVotePower.json +0 -256
- package/flare/artifacts/contracts/token/interface/IIVPContract.sol/IIVPContract.json +0 -611
- package/flare/artifacts/contracts/token/interface/IIVPToken.sol/IIVPToken.json +0 -823
- package/songbird/artifacts/contracts/addressUpdater/interface/IIAddressUpdatable.sol/IIAddressUpdatable.json +0 -20
- package/songbird/artifacts/contracts/addressUpdater/interface/IIAddressUpdater.sol/IIAddressUpdater.json +0 -96
- package/songbird/artifacts/contracts/assetRegistry/interface/IIERC20WithMetadata.sol/IIERC20WithMetadata.json +0 -224
- package/songbird/artifacts/contracts/assetRegistry/interface/IIFlareAssetRegistry.sol/IIFlareAssetRegistry.json +0 -307
- package/songbird/artifacts/contracts/assetRegistry/interface/IIFlareAssetRegistryProvider.sol/IIFlareAssetRegistryProvider.json +0 -57
- package/songbird/artifacts/contracts/customFeeds/interface/IICustomFeed.sol/IICustomFeed.json +0 -51
- package/songbird/artifacts/contracts/fdc/interface/ITypeTemplate.sol/ITypeTemplate.json +0 -1
- package/songbird/artifacts/contracts/fdc/interface/ITypeTemplateVerification.sol/ITypeTemplateVerification.json +0 -140
- package/songbird/artifacts/contracts/fscV1/interface/IIFastUpdaterView.sol/IIFastUpdaterView.json +0 -31
- package/songbird/artifacts/contracts/fscV1/interface/IIFtsoManagerProxy.sol/IIFtsoManagerProxy.json +0 -54
- package/songbird/artifacts/contracts/ftso/interface/IIFtso.sol/IIFtso.json +0 -944
- package/songbird/artifacts/contracts/ftso/interface/IIFtsoFeedPublisher.sol/IIFtsoFeedPublisher.json +0 -254
- package/songbird/artifacts/contracts/ftso/interface/IIFtsoManager.sol/IIFtsoManager.json +0 -869
- package/songbird/artifacts/contracts/ftso/interface/IIFtsoManagerV1.sol/IIFtsoManagerV1.json +0 -93
- package/songbird/artifacts/contracts/genesis/interface/IFlareDaemonize.sol/IFlareDaemonize.json +0 -28
- package/songbird/artifacts/contracts/genesis/interface/IFtsoGenesis.sol/IFtsoGenesis.json +0 -82
- package/songbird/artifacts/contracts/genesis/interface/IFtsoManagerGenesis.sol/IFtsoManagerGenesis.json +0 -15
- package/songbird/artifacts/contracts/genesis/interface/IFtsoRegistryGenesis.sol/IFtsoRegistryGenesis.json +0 -21
- package/songbird/artifacts/contracts/genesis/interface/IIPriceSubmitter.sol/IIPriceSubmitter.json +0 -276
- package/songbird/artifacts/contracts/genesis/interface/IInflationGenesis.sol/IInflationGenesis.json +0 -9
- package/songbird/artifacts/contracts/governance/interface/IIGovernorProposer.sol/IIGovernorProposer.json +0 -21
- package/songbird/artifacts/contracts/governance/interface/IIPollingFoundation.sol/IIPollingFoundation.json +0 -671
- package/songbird/artifacts/contracts/governance/interface/IIPollingManagementGroup.sol/IIPollingManagementGroup.json +0 -679
- package/songbird/artifacts/contracts/inflation/interface/IIInflationAllocation.sol/IIInflationAllocation.json +0 -40
- package/songbird/artifacts/contracts/inflation/interface/IIInflationReceiver.sol/IIInflationReceiver.json +0 -61
- package/songbird/artifacts/contracts/inflation/interface/IIInflationReceiverV1.sol/IIInflationReceiverV1.json +0 -48
- package/songbird/artifacts/contracts/inflation/interface/IIInflationV1.sol/IIInflationV1.json +0 -133
- package/songbird/artifacts/contracts/inflation/interface/IIPreInflationCalculation.sol/IIPreInflationCalculation.json +0 -9
- package/songbird/artifacts/contracts/inflation/interface/IISupply.sol/IISupply.json +0 -73
- package/songbird/artifacts/contracts/mockXAsset/interface/ICollateralizable.sol/ICollateralizable.json +0 -225
- package/songbird/artifacts/contracts/protocol/interface/IIClaimSetupManager.sol/IIClaimSetupManager.json +0 -786
- package/songbird/artifacts/contracts/protocol/interface/IICleanupBlockNumberManager.sol/IICleanupBlockNumberManager.json +0 -15
- package/songbird/artifacts/contracts/protocol/interface/IIEntityManager.sol/IIEntityManager.json +0 -939
- package/songbird/artifacts/contracts/protocol/interface/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +0 -162
- package/songbird/artifacts/contracts/protocol/interface/IIFlareSystemsManager.sol/IIFlareSystemsManager.json +0 -1217
- package/songbird/artifacts/contracts/protocol/interface/IINodePossessionVerifier.sol/IINodePossessionVerifier.json +0 -30
- package/songbird/artifacts/contracts/protocol/interface/IIPublicKeyVerifier.sol/IIPublicKeyVerifier.json +0 -30
- package/songbird/artifacts/contracts/protocol/interface/IIRelay.sol/IIRelay.json +0 -477
- package/songbird/artifacts/contracts/protocol/interface/IIRewardEpochSwitchoverTrigger.sol/IIRewardEpochSwitchoverTrigger.json +0 -25
- package/songbird/artifacts/contracts/protocol/interface/IIRewardManager.sol/IIRewardManager.json +0 -714
- package/songbird/artifacts/contracts/protocol/interface/IISubmission.sol/IISubmission.json +0 -161
- package/songbird/artifacts/contracts/protocol/interface/IIVoterRegistrationTrigger.sol/IIVoterRegistrationTrigger.json +0 -15
- package/songbird/artifacts/contracts/protocol/interface/IIVoterRegistry.sol/IIVoterRegistry.json +0 -623
- package/songbird/artifacts/contracts/rNat/interface/IIRNat.sol/IIRNat.json +0 -1061
- package/songbird/artifacts/contracts/rNat/interface/IIRNatAccount.sol/IIRNatAccount.json +0 -333
- package/songbird/artifacts/contracts/token/interface/IICleanable.sol/IICleanable.json +0 -54
- package/songbird/artifacts/contracts/token/interface/IIGovernanceVotePower.sol/IIGovernanceVotePower.json +0 -243
- package/songbird/artifacts/contracts/token/interface/IIVPContract.sol/IIVPContract.json +0 -600
- package/songbird/artifacts/contracts/token/interface/IIVPToken.sol/IIVPToken.json +0 -781
- package/songbird/artifacts/contracts/tokenPools/interface/IIFtsoRewardManager.sol/IIFtsoRewardManager.json +0 -953
- package/songbird/artifacts/contracts/tokenPools/interface/IITokenPool.sol/IITokenPool.json +0 -25
- package/songbird/artifacts/contracts/utils/interface/IIFtsoRegistry.sol/IIFtsoRegistry.json +0 -468
- package/songbird/artifacts/contracts/utils/interface/IIFtsoRegistryV1.sol/IIFtsoRegistryV1.json +0 -111
- package/songbird/artifacts/contracts/utils/interface/IIRandomProvider.sol/IIRandomProvider.json +0 -51
- package/songbird/artifacts/contracts/utils/interface/IIVoterWhitelister.sol/IIVoterWhitelister.json +0 -299
- package/songbird/artifacts/contracts/utils/interface/IUpdateValidators.sol/IUpdateValidators.json +0 -9
- /package/coston/artifacts/contracts/customFeeds/{interface → interfaces}/IICustomFeed.sol/IICustomFeed.json +0 -0
- /package/coston/artifacts/contracts/fdc/{interface → interfaces}/ITypeTemplate.sol/ITypeTemplate.json +0 -0
- /package/coston/artifacts/contracts/fdc/{interface → interfaces}/ITypeTemplateVerification.sol/ITypeTemplateVerification.json +0 -0
- /package/coston/artifacts/contracts/fscV1/{interface → interfaces}/IIFastUpdaterView.sol/IIFastUpdaterView.json +0 -0
- /package/coston/artifacts/contracts/fscV1/{interface → interfaces}/IIFtsoManagerProxy.sol/IIFtsoManagerProxy.json +0 -0
- /package/coston/artifacts/contracts/ftso/{interface → interfaces}/IIFtso.sol/IIFtso.json +0 -0
- /package/coston/artifacts/contracts/ftso/{interface → interfaces}/IIFtsoFeedPublisher.sol/IIFtsoFeedPublisher.json +0 -0
- /package/coston/artifacts/contracts/genesis/{interface → interfaces}/IFlareDaemonize.sol/IFlareDaemonize.json +0 -0
- /package/coston/artifacts/contracts/genesis/{interface → interfaces}/IFtsoGenesis.sol/IFtsoGenesis.json +0 -0
- /package/coston/artifacts/contracts/genesis/{interface → interfaces}/IFtsoManagerGenesis.sol/IFtsoManagerGenesis.json +0 -0
- /package/coston/artifacts/contracts/genesis/{interface → interfaces}/IFtsoRegistryGenesis.sol/IFtsoRegistryGenesis.json +0 -0
- /package/coston/artifacts/contracts/governance/{interface → interfaces}/IIGovernorProposer.sol/IIGovernorProposer.json +0 -0
- /package/coston/artifacts/contracts/governance/{interface → interfaces}/IIPollingFoundation.sol/IIPollingFoundation.json +0 -0
- /package/coston/artifacts/contracts/governance/{interface → interfaces}/IIPollingManagementGroup.sol/IIPollingManagementGroup.json +0 -0
- /package/coston/artifacts/contracts/protocol/{interface → interfaces}/IIClaimSetupManager.sol/IIClaimSetupManager.json +0 -0
- /package/coston/artifacts/contracts/protocol/{interface → interfaces}/IICleanupBlockNumberManager.sol/IICleanupBlockNumberManager.json +0 -0
- /package/coston/artifacts/contracts/protocol/{interface → interfaces}/IIEntityManager.sol/IIEntityManager.json +0 -0
- /package/coston/artifacts/contracts/protocol/{interface → interfaces}/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +0 -0
- /package/coston/artifacts/contracts/protocol/{interface → interfaces}/IIFlareSystemsManager.sol/IIFlareSystemsManager.json +0 -0
- /package/coston/artifacts/contracts/protocol/{interface → interfaces}/IINodePossessionVerifier.sol/IINodePossessionVerifier.json +0 -0
- /package/coston/artifacts/contracts/protocol/{interface → interfaces}/IIPublicKeyVerifier.sol/IIPublicKeyVerifier.json +0 -0
- /package/coston/artifacts/contracts/protocol/{interface → interfaces}/IIRelay.sol/IIRelay.json +0 -0
- /package/coston/artifacts/contracts/protocol/{interface → interfaces}/IIRewardEpochSwitchoverTrigger.sol/IIRewardEpochSwitchoverTrigger.json +0 -0
- /package/coston/artifacts/contracts/protocol/{interface → interfaces}/IIRewardManager.sol/IIRewardManager.json +0 -0
- /package/coston/artifacts/contracts/protocol/{interface → interfaces}/IISubmission.sol/IISubmission.json +0 -0
- /package/coston/artifacts/contracts/protocol/{interface → interfaces}/IIVoterRegistrationTrigger.sol/IIVoterRegistrationTrigger.json +0 -0
- /package/coston/artifacts/contracts/protocol/{interface → interfaces}/IIVoterRegistry.sol/IIVoterRegistry.json +0 -0
- /package/coston/artifacts/contracts/rNat/{interface → interfaces}/IIRNat.sol/IIRNat.json +0 -0
- /package/coston/artifacts/contracts/rNat/{interface → interfaces}/IIRNatAccount.sol/IIRNatAccount.json +0 -0
- /package/coston/artifacts/contracts/token/{interface → interfaces}/IICleanable.sol/IICleanable.json +0 -0
- /package/coston/artifacts/contracts/token/{interface → interfaces}/IIGovernanceVotePower.sol/IIGovernanceVotePower.json +0 -0
- /package/coston/artifacts/contracts/token/{interface → interfaces}/IIVPContract.sol/IIVPContract.json +0 -0
- /package/coston/artifacts/contracts/token/{interface → interfaces}/IIVPToken.sol/IIVPToken.json +0 -0
- /package/coston2/artifacts/contracts/customFeeds/{interface → interfaces}/IICustomFeed.sol/IICustomFeed.json +0 -0
- /package/coston2/artifacts/contracts/fdc/{interface → interfaces}/ITypeTemplate.sol/ITypeTemplate.json +0 -0
- /package/coston2/artifacts/contracts/fdc/{interface → interfaces}/ITypeTemplateVerification.sol/ITypeTemplateVerification.json +0 -0
- /package/coston2/artifacts/contracts/fscV1/{interface → interfaces}/IIFastUpdaterView.sol/IIFastUpdaterView.json +0 -0
- /package/coston2/artifacts/contracts/fscV1/{interface → interfaces}/IIFtsoManagerProxy.sol/IIFtsoManagerProxy.json +0 -0
- /package/coston2/artifacts/contracts/ftso/{interface → interfaces}/IIFtso.sol/IIFtso.json +0 -0
- /package/coston2/artifacts/contracts/ftso/{interface → interfaces}/IIFtsoFeedPublisher.sol/IIFtsoFeedPublisher.json +0 -0
- /package/coston2/artifacts/contracts/genesis/{interface → interfaces}/IFlareDaemonize.sol/IFlareDaemonize.json +0 -0
- /package/coston2/artifacts/contracts/genesis/{interface → interfaces}/IFtsoGenesis.sol/IFtsoGenesis.json +0 -0
- /package/coston2/artifacts/contracts/genesis/{interface → interfaces}/IFtsoManagerGenesis.sol/IFtsoManagerGenesis.json +0 -0
- /package/coston2/artifacts/contracts/genesis/{interface → interfaces}/IFtsoRegistryGenesis.sol/IFtsoRegistryGenesis.json +0 -0
- /package/coston2/artifacts/contracts/governance/{interface → interfaces}/IIGovernorProposer.sol/IIGovernorProposer.json +0 -0
- /package/coston2/artifacts/contracts/governance/{interface → interfaces}/IIPollingFoundation.sol/IIPollingFoundation.json +0 -0
- /package/coston2/artifacts/contracts/governance/{interface → interfaces}/IIPollingManagementGroup.sol/IIPollingManagementGroup.json +0 -0
- /package/coston2/artifacts/contracts/protocol/{interface → interfaces}/IIClaimSetupManager.sol/IIClaimSetupManager.json +0 -0
- /package/coston2/artifacts/contracts/protocol/{interface → interfaces}/IICleanupBlockNumberManager.sol/IICleanupBlockNumberManager.json +0 -0
- /package/coston2/artifacts/contracts/protocol/{interface → interfaces}/IIEntityManager.sol/IIEntityManager.json +0 -0
- /package/coston2/artifacts/contracts/protocol/{interface → interfaces}/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +0 -0
- /package/coston2/artifacts/contracts/protocol/{interface → interfaces}/IIFlareSystemsManager.sol/IIFlareSystemsManager.json +0 -0
- /package/coston2/artifacts/contracts/protocol/{interface → interfaces}/IINodePossessionVerifier.sol/IINodePossessionVerifier.json +0 -0
- /package/coston2/artifacts/contracts/protocol/{interface → interfaces}/IIPublicKeyVerifier.sol/IIPublicKeyVerifier.json +0 -0
- /package/coston2/artifacts/contracts/protocol/{interface → interfaces}/IIRelay.sol/IIRelay.json +0 -0
- /package/coston2/artifacts/contracts/protocol/{interface → interfaces}/IIRewardEpochSwitchoverTrigger.sol/IIRewardEpochSwitchoverTrigger.json +0 -0
- /package/coston2/artifacts/contracts/protocol/{interface → interfaces}/IIRewardManager.sol/IIRewardManager.json +0 -0
- /package/coston2/artifacts/contracts/protocol/{interface → interfaces}/IISubmission.sol/IISubmission.json +0 -0
- /package/coston2/artifacts/contracts/protocol/{interface → interfaces}/IIVoterRegistrationTrigger.sol/IIVoterRegistrationTrigger.json +0 -0
- /package/coston2/artifacts/contracts/protocol/{interface → interfaces}/IIVoterRegistry.sol/IIVoterRegistry.json +0 -0
- /package/coston2/artifacts/contracts/rNat/{interface → interfaces}/IIRNat.sol/IIRNat.json +0 -0
- /package/coston2/artifacts/contracts/rNat/{interface → interfaces}/IIRNatAccount.sol/IIRNatAccount.json +0 -0
- /package/coston2/artifacts/contracts/token/{interface → interfaces}/IICleanable.sol/IICleanable.json +0 -0
- /package/coston2/artifacts/contracts/token/{interface → interfaces}/IIGovernanceVotePower.sol/IIGovernanceVotePower.json +0 -0
- /package/coston2/artifacts/contracts/token/{interface → interfaces}/IIVPContract.sol/IIVPContract.json +0 -0
- /package/coston2/artifacts/contracts/token/{interface → interfaces}/IIVPToken.sol/IIVPToken.json +0 -0
- /package/{dist/coston/artifacts/contracts/customFeeds/interface → flare/artifacts/contracts/customFeeds/interfaces}/IICustomFeed.sol/IICustomFeed.json +0 -0
- /package/{dist/coston/artifacts/contracts/fdc/interface → flare/artifacts/contracts/fdc/interfaces}/ITypeTemplate.sol/ITypeTemplate.json +0 -0
- /package/{dist/coston/artifacts/contracts/fdc/interface → flare/artifacts/contracts/fdc/interfaces}/ITypeTemplateVerification.sol/ITypeTemplateVerification.json +0 -0
- /package/{dist/coston/artifacts/contracts/fscV1/interface → flare/artifacts/contracts/fscV1/interfaces}/IIFastUpdaterView.sol/IIFastUpdaterView.json +0 -0
- /package/{dist/coston/artifacts/contracts/fscV1/interface → flare/artifacts/contracts/fscV1/interfaces}/IIFtsoManagerProxy.sol/IIFtsoManagerProxy.json +0 -0
- /package/{dist/coston2/artifacts/contracts/ftso/interface → flare/artifacts/contracts/ftso/interfaces}/IIFtso.sol/IIFtso.json +0 -0
- /package/{dist/coston/artifacts/contracts/ftso/interface → flare/artifacts/contracts/ftso/interfaces}/IIFtsoFeedPublisher.sol/IIFtsoFeedPublisher.json +0 -0
- /package/{dist/coston2/artifacts/contracts/genesis/interface → flare/artifacts/contracts/genesis/interfaces}/IFlareDaemonize.sol/IFlareDaemonize.json +0 -0
- /package/{dist/coston2/artifacts/contracts/genesis/interface → flare/artifacts/contracts/genesis/interfaces}/IFtsoGenesis.sol/IFtsoGenesis.json +0 -0
- /package/{dist/coston/artifacts/contracts/genesis/interface → flare/artifacts/contracts/genesis/interfaces}/IFtsoManagerGenesis.sol/IFtsoManagerGenesis.json +0 -0
- /package/{dist/coston/artifacts/contracts/genesis/interface → flare/artifacts/contracts/genesis/interfaces}/IFtsoRegistryGenesis.sol/IFtsoRegistryGenesis.json +0 -0
- /package/{dist/coston/artifacts/contracts/governance/interface → flare/artifacts/contracts/governance/interfaces}/IIGovernorProposer.sol/IIGovernorProposer.json +0 -0
- /package/{dist/coston/artifacts/contracts/governance/interface → flare/artifacts/contracts/governance/interfaces}/IIPollingFoundation.sol/IIPollingFoundation.json +0 -0
- /package/{dist/coston/artifacts/contracts/governance/interface → flare/artifacts/contracts/governance/interfaces}/IIPollingManagementGroup.sol/IIPollingManagementGroup.json +0 -0
- /package/{dist/coston/artifacts/contracts/protocol/interface → flare/artifacts/contracts/protocol/interfaces}/IIClaimSetupManager.sol/IIClaimSetupManager.json +0 -0
- /package/{dist/coston/artifacts/contracts/protocol/interface → flare/artifacts/contracts/protocol/interfaces}/IICleanupBlockNumberManager.sol/IICleanupBlockNumberManager.json +0 -0
- /package/{dist/coston/artifacts/contracts/protocol/interface → flare/artifacts/contracts/protocol/interfaces}/IIEntityManager.sol/IIEntityManager.json +0 -0
- /package/{dist/coston/artifacts/contracts/protocol/interface → flare/artifacts/contracts/protocol/interfaces}/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +0 -0
- /package/{dist/coston/artifacts/contracts/protocol/interface → flare/artifacts/contracts/protocol/interfaces}/IIFlareSystemsManager.sol/IIFlareSystemsManager.json +0 -0
- /package/{dist/coston/artifacts/contracts/protocol/interface → flare/artifacts/contracts/protocol/interfaces}/IINodePossessionVerifier.sol/IINodePossessionVerifier.json +0 -0
- /package/{dist/coston/artifacts/contracts/protocol/interface → flare/artifacts/contracts/protocol/interfaces}/IIPublicKeyVerifier.sol/IIPublicKeyVerifier.json +0 -0
- /package/{dist/coston/artifacts/contracts/protocol/interface → flare/artifacts/contracts/protocol/interfaces}/IIRelay.sol/IIRelay.json +0 -0
- /package/{dist/coston/artifacts/contracts/protocol/interface → flare/artifacts/contracts/protocol/interfaces}/IIRewardEpochSwitchoverTrigger.sol/IIRewardEpochSwitchoverTrigger.json +0 -0
- /package/{dist/coston/artifacts/contracts/protocol/interface → flare/artifacts/contracts/protocol/interfaces}/IIRewardManager.sol/IIRewardManager.json +0 -0
- /package/{dist/coston/artifacts/contracts/protocol/interface → flare/artifacts/contracts/protocol/interfaces}/IISubmission.sol/IISubmission.json +0 -0
- /package/{dist/coston/artifacts/contracts/protocol/interface → flare/artifacts/contracts/protocol/interfaces}/IIVoterRegistrationTrigger.sol/IIVoterRegistrationTrigger.json +0 -0
- /package/{dist/coston/artifacts/contracts/protocol/interface → flare/artifacts/contracts/protocol/interfaces}/IIVoterRegistry.sol/IIVoterRegistry.json +0 -0
- /package/{dist/coston/artifacts/contracts/rNat/interface → flare/artifacts/contracts/rNat/interfaces}/IIRNat.sol/IIRNat.json +0 -0
- /package/{dist/coston/artifacts/contracts/rNat/interface → flare/artifacts/contracts/rNat/interfaces}/IIRNatAccount.sol/IIRNatAccount.json +0 -0
- /package/{dist/coston2/artifacts/contracts/token/interface → flare/artifacts/contracts/token/interfaces}/IICleanable.sol/IICleanable.json +0 -0
- /package/{dist/coston2/artifacts/contracts/token/interface → flare/artifacts/contracts/token/interfaces}/IIGovernanceVotePower.sol/IIGovernanceVotePower.json +0 -0
- /package/{dist/coston2/artifacts/contracts/token/interface → flare/artifacts/contracts/token/interfaces}/IIVPContract.sol/IIVPContract.json +0 -0
- /package/{dist/coston2/artifacts/contracts/token/interface → flare/artifacts/contracts/token/interfaces}/IIVPToken.sol/IIVPToken.json +0 -0
- /package/{dist/songbird/artifacts/contracts/addressUpdater/interface → songbird/artifacts/contracts/addressUpdater/interfaces}/IIAddressUpdatable.sol/IIAddressUpdatable.json +0 -0
- /package/{dist/songbird/artifacts/contracts/addressUpdater/interface → songbird/artifacts/contracts/addressUpdater/interfaces}/IIAddressUpdater.sol/IIAddressUpdater.json +0 -0
- /package/{dist/songbird/artifacts/contracts/assetRegistry/interface → songbird/artifacts/contracts/assetRegistry/interfaces}/IIERC20WithMetadata.sol/IIERC20WithMetadata.json +0 -0
- /package/{dist/songbird/artifacts/contracts/assetRegistry/interface → songbird/artifacts/contracts/assetRegistry/interfaces}/IIFlareAssetRegistry.sol/IIFlareAssetRegistry.json +0 -0
- /package/{dist/songbird/artifacts/contracts/assetRegistry/interface → songbird/artifacts/contracts/assetRegistry/interfaces}/IIFlareAssetRegistryProvider.sol/IIFlareAssetRegistryProvider.json +0 -0
- /package/{dist/coston2/artifacts/contracts/customFeeds/interface → songbird/artifacts/contracts/customFeeds/interfaces}/IICustomFeed.sol/IICustomFeed.json +0 -0
- /package/{dist/coston2/artifacts/contracts/fdc/interface → songbird/artifacts/contracts/fdc/interfaces}/ITypeTemplate.sol/ITypeTemplate.json +0 -0
- /package/{dist/coston2/artifacts/contracts/fdc/interface → songbird/artifacts/contracts/fdc/interfaces}/ITypeTemplateVerification.sol/ITypeTemplateVerification.json +0 -0
- /package/{dist/coston2/artifacts/contracts/fscV1/interface → songbird/artifacts/contracts/fscV1/interfaces}/IIFastUpdaterView.sol/IIFastUpdaterView.json +0 -0
- /package/{dist/coston2/artifacts/contracts/fscV1/interface → songbird/artifacts/contracts/fscV1/interfaces}/IIFtsoManagerProxy.sol/IIFtsoManagerProxy.json +0 -0
- /package/{dist/coston/artifacts/contracts/ftso/interface → songbird/artifacts/contracts/ftso/interfaces}/IIFtso.sol/IIFtso.json +0 -0
- /package/{dist/coston2/artifacts/contracts/ftso/interface → songbird/artifacts/contracts/ftso/interfaces}/IIFtsoFeedPublisher.sol/IIFtsoFeedPublisher.json +0 -0
- /package/{dist/songbird/artifacts/contracts/ftso/interface → songbird/artifacts/contracts/ftso/interfaces}/IIFtsoManager.sol/IIFtsoManager.json +0 -0
- /package/{dist/songbird/artifacts/contracts/ftso/interface → songbird/artifacts/contracts/ftso/interfaces}/IIFtsoManagerV1.sol/IIFtsoManagerV1.json +0 -0
- /package/{dist/coston/artifacts/contracts/genesis/interface → songbird/artifacts/contracts/genesis/interfaces}/IFlareDaemonize.sol/IFlareDaemonize.json +0 -0
- /package/{dist/coston/artifacts/contracts/genesis/interface → songbird/artifacts/contracts/genesis/interfaces}/IFtsoGenesis.sol/IFtsoGenesis.json +0 -0
- /package/{dist/coston2/artifacts/contracts/genesis/interface → songbird/artifacts/contracts/genesis/interfaces}/IFtsoManagerGenesis.sol/IFtsoManagerGenesis.json +0 -0
- /package/{dist/coston2/artifacts/contracts/genesis/interface → songbird/artifacts/contracts/genesis/interfaces}/IFtsoRegistryGenesis.sol/IFtsoRegistryGenesis.json +0 -0
- /package/{dist/songbird/artifacts/contracts/genesis/interface → songbird/artifacts/contracts/genesis/interfaces}/IIPriceSubmitter.sol/IIPriceSubmitter.json +0 -0
- /package/{dist/songbird/artifacts/contracts/genesis/interface → songbird/artifacts/contracts/genesis/interfaces}/IInflationGenesis.sol/IInflationGenesis.json +0 -0
- /package/{dist/coston2/artifacts/contracts/governance/interface → songbird/artifacts/contracts/governance/interfaces}/IIGovernorProposer.sol/IIGovernorProposer.json +0 -0
- /package/{dist/songbird/artifacts/contracts/governance/interface → songbird/artifacts/contracts/governance/interfaces}/IIPollingFoundation.sol/IIPollingFoundation.json +0 -0
- /package/{dist/coston2/artifacts/contracts/governance/interface → songbird/artifacts/contracts/governance/interfaces}/IIPollingManagementGroup.sol/IIPollingManagementGroup.json +0 -0
- /package/{dist/songbird/artifacts/contracts/inflation/interface → songbird/artifacts/contracts/inflation/interfaces}/IIInflationAllocation.sol/IIInflationAllocation.json +0 -0
- /package/{dist/songbird/artifacts/contracts/inflation/interface → songbird/artifacts/contracts/inflation/interfaces}/IIInflationReceiver.sol/IIInflationReceiver.json +0 -0
- /package/{dist/songbird/artifacts/contracts/inflation/interface → songbird/artifacts/contracts/inflation/interfaces}/IIInflationReceiverV1.sol/IIInflationReceiverV1.json +0 -0
- /package/{dist/songbird/artifacts/contracts/inflation/interface → songbird/artifacts/contracts/inflation/interfaces}/IIInflationV1.sol/IIInflationV1.json +0 -0
- /package/{dist/songbird/artifacts/contracts/inflation/interface → songbird/artifacts/contracts/inflation/interfaces}/IIPreInflationCalculation.sol/IIPreInflationCalculation.json +0 -0
- /package/{dist/songbird/artifacts/contracts/inflation/interface → songbird/artifacts/contracts/inflation/interfaces}/IISupply.sol/IISupply.json +0 -0
- /package/{dist/songbird/artifacts/contracts/mockXAsset/interface → songbird/artifacts/contracts/mockXAsset/interfaces}/ICollateralizable.sol/ICollateralizable.json +0 -0
- /package/{dist/coston2/artifacts/contracts/protocol/interface → songbird/artifacts/contracts/protocol/interfaces}/IIClaimSetupManager.sol/IIClaimSetupManager.json +0 -0
- /package/{dist/coston2/artifacts/contracts/protocol/interface → songbird/artifacts/contracts/protocol/interfaces}/IICleanupBlockNumberManager.sol/IICleanupBlockNumberManager.json +0 -0
- /package/{dist/coston2/artifacts/contracts/protocol/interface → songbird/artifacts/contracts/protocol/interfaces}/IIEntityManager.sol/IIEntityManager.json +0 -0
- /package/{dist/coston2/artifacts/contracts/protocol/interface → songbird/artifacts/contracts/protocol/interfaces}/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +0 -0
- /package/{dist/coston2/artifacts/contracts/protocol/interface → songbird/artifacts/contracts/protocol/interfaces}/IIFlareSystemsManager.sol/IIFlareSystemsManager.json +0 -0
- /package/{dist/coston2/artifacts/contracts/protocol/interface → songbird/artifacts/contracts/protocol/interfaces}/IINodePossessionVerifier.sol/IINodePossessionVerifier.json +0 -0
- /package/{dist/coston2/artifacts/contracts/protocol/interface → songbird/artifacts/contracts/protocol/interfaces}/IIPublicKeyVerifier.sol/IIPublicKeyVerifier.json +0 -0
- /package/{dist/coston2/artifacts/contracts/protocol/interface → songbird/artifacts/contracts/protocol/interfaces}/IIRelay.sol/IIRelay.json +0 -0
- /package/{dist/coston2/artifacts/contracts/protocol/interface → songbird/artifacts/contracts/protocol/interfaces}/IIRewardEpochSwitchoverTrigger.sol/IIRewardEpochSwitchoverTrigger.json +0 -0
- /package/{dist/coston2/artifacts/contracts/protocol/interface → songbird/artifacts/contracts/protocol/interfaces}/IIRewardManager.sol/IIRewardManager.json +0 -0
- /package/{dist/coston2/artifacts/contracts/protocol/interface → songbird/artifacts/contracts/protocol/interfaces}/IISubmission.sol/IISubmission.json +0 -0
- /package/{dist/coston2/artifacts/contracts/protocol/interface → songbird/artifacts/contracts/protocol/interfaces}/IIVoterRegistrationTrigger.sol/IIVoterRegistrationTrigger.json +0 -0
- /package/{dist/coston2/artifacts/contracts/protocol/interface → songbird/artifacts/contracts/protocol/interfaces}/IIVoterRegistry.sol/IIVoterRegistry.json +0 -0
- /package/{dist/coston2/artifacts/contracts/rNat/interface → songbird/artifacts/contracts/rNat/interfaces}/IIRNat.sol/IIRNat.json +0 -0
- /package/{dist/coston2/artifacts/contracts/rNat/interface → songbird/artifacts/contracts/rNat/interfaces}/IIRNatAccount.sol/IIRNatAccount.json +0 -0
- /package/{dist/coston/artifacts/contracts/token/interface → songbird/artifacts/contracts/token/interfaces}/IICleanable.sol/IICleanable.json +0 -0
- /package/{dist/coston/artifacts/contracts/token/interface → songbird/artifacts/contracts/token/interfaces}/IIGovernanceVotePower.sol/IIGovernanceVotePower.json +0 -0
- /package/{dist/coston/artifacts/contracts/token/interface → songbird/artifacts/contracts/token/interfaces}/IIVPContract.sol/IIVPContract.json +0 -0
- /package/{dist/coston/artifacts/contracts/token/interface → songbird/artifacts/contracts/token/interfaces}/IIVPToken.sol/IIVPToken.json +0 -0
- /package/{dist/songbird/artifacts/contracts/tokenPools/interface → songbird/artifacts/contracts/tokenPools/interfaces}/IIFtsoRewardManager.sol/IIFtsoRewardManager.json +0 -0
- /package/{dist/songbird/artifacts/contracts/tokenPools/interface → songbird/artifacts/contracts/tokenPools/interfaces}/IITokenPool.sol/IITokenPool.json +0 -0
- /package/{dist/songbird/artifacts/contracts/utils/interface → songbird/artifacts/contracts/utils/interfaces}/IIFtsoRegistry.sol/IIFtsoRegistry.json +0 -0
- /package/{dist/songbird/artifacts/contracts/utils/interface → songbird/artifacts/contracts/utils/interfaces}/IIFtsoRegistryV1.sol/IIFtsoRegistryV1.json +0 -0
- /package/{dist/songbird/artifacts/contracts/utils/interface → songbird/artifacts/contracts/utils/interfaces}/IIRandomProvider.sol/IIRandomProvider.json +0 -0
- /package/{dist/songbird/artifacts/contracts/utils/interface → songbird/artifacts/contracts/utils/interfaces}/IIVoterWhitelister.sol/IIVoterWhitelister.json +0 -0
- /package/{dist/songbird/artifacts/contracts/utils/interface → songbird/artifacts/contracts/utils/interfaces}/IUpdateValidators.sol/IUpdateValidators.json +0 -0
package/README.md
CHANGED
|
@@ -1,24 +1,103 @@
|
|
|
1
|
-
# Flare
|
|
1
|
+
# Flare Smart Contracts Periphery
|
|
2
2
|
|
|
3
|
-
This package contains ABIs
|
|
4
|
-
Coston and Coston2.
|
|
3
|
+
This package contains ABIs and addresses for smart contracts deployed on [Flare networks](https://dev.flare.network/network/solidity-reference):
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
- Flare Mainnet
|
|
6
|
+
- Songbird Canary Network
|
|
7
|
+
- Songbird Testnet Coston
|
|
8
|
+
- Flare Testnet Coston2
|
|
7
9
|
|
|
10
|
+
## Installation
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npm install @flarenetwork/flare-periphery-contract-artifacts
|
|
14
|
+
# or
|
|
15
|
+
yarn add @flarenetwork/flare-periphery-contract-artifacts
|
|
16
|
+
```
|
|
8
17
|
|
|
9
18
|
## Features
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
|
|
20
|
+
### Top Level Exports
|
|
21
|
+
|
|
22
|
+
#### ABI Access Functions
|
|
23
|
+
|
|
24
|
+
- `nameToAbi(name: string, network: string): any` - get full smart contract functionality;
|
|
25
|
+
- `interfaceToAbi(name: string, network: string): any` - interact with the contract's public API.
|
|
26
|
+
|
|
27
|
+
Both functions return an ABI array. The `network` parameter must be one of:
|
|
28
|
+
|
|
29
|
+
- `"coston"`
|
|
30
|
+
- `"coston2"`
|
|
31
|
+
- `"songbird"`
|
|
32
|
+
- `"flare"`
|
|
33
|
+
|
|
34
|
+
```typescript
|
|
35
|
+
import { nameToAbi, interfaceToAbi } from "@flarenetwork/flare-periphery-contract";
|
|
36
|
+
|
|
37
|
+
const fullAbi = nameToAbi("FtsoManager", "flare");
|
|
38
|
+
const interfaceAbi = interfaceToAbi("IFtsoManager", "flare");
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
#### Address Resolution
|
|
42
|
+
|
|
43
|
+
- `nameToAddress(name: string, provider: ethers.JsonRpcApiProvider): Promise<string>`
|
|
44
|
+
- `namesToAddresses(names: string[], provider: ethers.JsonRpcApiProvider): Promise<string[]>`
|
|
45
|
+
|
|
46
|
+
These functions fetch contract addresses from the on-chain FlareContractRegistryLibrary.
|
|
47
|
+
|
|
48
|
+
```typescript
|
|
49
|
+
import { nameToAddress } from "@flarenetwork/flare-periphery-contract-artifacts";
|
|
50
|
+
import { ethers } from "ethers";
|
|
51
|
+
|
|
52
|
+
const provider = new ethers.JsonRpcProvider("https://flare-api.flare.network/ext/C/rpc");
|
|
53
|
+
const address = await nameToAddress("FtsoManager", provider);
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
#### Constants
|
|
57
|
+
|
|
58
|
+
- `FlareContractRegistryAddress`: Hardcoded registry address (same for all chains)
|
|
59
|
+
|
|
60
|
+
### Network-Specific Namespaces
|
|
61
|
+
|
|
62
|
+
Each network (`coston`, `coston2`, `flare`, `songbird`) exports:
|
|
63
|
+
|
|
64
|
+
#### 1. Products
|
|
65
|
+
|
|
66
|
+
Access contract information through `.ContractName` syntax:
|
|
67
|
+
|
|
68
|
+
```typescript
|
|
69
|
+
import { flare } from "@flarenetwork/flare-periphery-contract-artifacts";
|
|
70
|
+
|
|
71
|
+
const ftsoManager = flare.products.FtsoManager;
|
|
72
|
+
console.log(ftsoManager.name); // Contract name
|
|
73
|
+
console.log(ftsoManager.interface); // Interface name
|
|
74
|
+
console.log(ftsoManager.abi); // Contract ABI
|
|
75
|
+
|
|
76
|
+
// Get deployed address
|
|
77
|
+
const address = await ftsoManager.getAddress(provider);
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
#### 2. Interface ABIs
|
|
81
|
+
|
|
82
|
+
Access interface ABIs using `.InterfaceName` syntax:
|
|
83
|
+
|
|
84
|
+
```typescript
|
|
85
|
+
import { flare } from "@flarenetwork/flare-periphery-contract-artifacts";
|
|
86
|
+
|
|
87
|
+
const abi = flare.interfaceAbis.IFtsoManager;
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
#### 3. Network-Specific ABI Functions
|
|
91
|
+
|
|
92
|
+
It is same as top-level functions but with the pre-set network:
|
|
93
|
+
|
|
94
|
+
```typescript
|
|
95
|
+
import { flare } from "@flarenetwork/flare-periphery-contract-artifacts";
|
|
96
|
+
|
|
97
|
+
const abi = flare.nameToAbi("FtsoManager"); // Network already known
|
|
98
|
+
const iAbi = flare.interfaceToAbi("IFtsoManager");
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
## Support
|
|
102
|
+
|
|
103
|
+
For issues and feature requests, please visit our [GitHub repository](https://github.com/flare-foundation/flare-smart-contracts-periphery).
|
package/package.json
CHANGED
|
@@ -1,68 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,33 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,103 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,143 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,32 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { TypeRecord } from "./config-types";
|
|
2
|
-
/**
|
|
3
|
-
* ABIFragment is a subset of ethers ABIFragment. It is used to define the ABI fragments
|
|
4
|
-
*/
|
|
5
|
-
export interface ABIFragment {
|
|
6
|
-
components?: ABIFragment[];
|
|
7
|
-
internalType: string;
|
|
8
|
-
name: string;
|
|
9
|
-
type: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const DEFAULT_ATTESTATION_TYPE_CONFIGS_PATH = "./node_modules/@flarenetwork/flare-periphery-contract-artifacts/coston/StateConnector/configs/";
|
|
12
|
-
export declare const MIC_SALT = "Flare";
|
|
13
|
-
export declare const ZERO_BYTES_32: string;
|
|
14
|
-
export declare const ZERO_BYTES_20: string;
|
|
15
|
-
/**
|
|
16
|
-
* Checks if the type is one of the supported Solidity type names.
|
|
17
|
-
* Note: the checks for supported numbers N in 'intN', 'uintN' and 'bytesN' is not implemented. The function is safe only under assumption
|
|
18
|
-
* that the correct types supported by the Solidity compiler are used.
|
|
19
|
-
* @param type
|
|
20
|
-
* @returns
|
|
21
|
-
*/
|
|
22
|
-
export declare function isSupportedBasicSolidityType(type: string): boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Encodes attestation type name or source id as a 32-byte hex string.
|
|
25
|
-
* It takes the UTF-8 bytes of the name and pads them with zeros to 32 bytes.
|
|
26
|
-
* @param attestationTypeName
|
|
27
|
-
* @returns '0x'-prefixed hex string representing 32-bytes
|
|
28
|
-
*/
|
|
29
|
-
export declare function encodeAttestationName(attestationTypeName: string): string;
|
|
30
|
-
/**
|
|
31
|
-
* Decodes attestation type name or source id from a 32-byte hex string.
|
|
32
|
-
* @param encoded Should be a '0x'-prefixed hex string representing exactly 32-bytes.
|
|
33
|
-
* @returns
|
|
34
|
-
*/
|
|
35
|
-
export declare function decodeAttestationName(encoded: string): string;
|
|
36
|
-
/**
|
|
37
|
-
* Given a ABI decoded object (with tuples) based on the provided JSON ABI definition,
|
|
38
|
-
* it creates a possibly nested Javascript object compatible with the ABI definitions.
|
|
39
|
-
* The function assumes that the decoded objects matches the ABI. If this is not the case,
|
|
40
|
-
* function may behave in strange ways.
|
|
41
|
-
* This is auxiliary function not intended to be used directly.
|
|
42
|
-
* @param decoded
|
|
43
|
-
* @param abi
|
|
44
|
-
* @param ignoreArray parameter for recursion call when handling of arrays are needed.
|
|
45
|
-
* @returns
|
|
46
|
-
*/
|
|
47
|
-
export declare function remapABIParsedToObjects(decoded: any, abi: ABIFragment, ignoreArray?: boolean): any;
|
|
48
|
-
/**
|
|
49
|
-
* Checks whether the struct objects are deep equal. Objects should match the ABI definition.
|
|
50
|
-
* @param struct1
|
|
51
|
-
* @param struct2
|
|
52
|
-
* @param abi
|
|
53
|
-
* @returns
|
|
54
|
-
*/
|
|
55
|
-
export declare function structsDeepEqual(struct1: any, struct2: any, abi: ABIFragment): boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Loader of the attestation type definition configs
|
|
58
|
-
* @returns a map from attestation types to definition configs
|
|
59
|
-
*/
|
|
60
|
-
export declare function readAttestationTypeConfigs(configsPath?: string): Map<string, TypeRecord>;
|
|
61
|
-
/**
|
|
62
|
-
* Helper function serializing bigints to strings recursively.
|
|
63
|
-
* @param obj
|
|
64
|
-
* @returns
|
|
65
|
-
*/
|
|
66
|
-
export declare function serializeBigInts(obj: any): any;
|
|
67
|
-
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../coston/StateConnector/libs/ts/utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB,UAAU,CAAC,EAAE,WAAW,EAAE,CAAC;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,qCAAqC,mGAAmG,CAAA;AACrJ,eAAO,MAAM,QAAQ,UAAU,CAAC;AAChC,eAAO,MAAM,aAAa,QAAgC,CAAC;AAC3D,eAAO,MAAM,aAAa,QAAgC,CAAC;AA+C3D;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAUlE;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,mBAAmB,EAAE,MAAM,UAYhE;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,UAUpD;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,WAAW,EAAE,WAAW,UAAQ,GAAG,GAAG,CA8BhG;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,WAAW,GAAG,OAAO,CA2DtF;AACD;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,WAAW,SAAwC,GAAG,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CA4jFvH;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,GAAG,OAOxC"}
|