@flarenetwork/flare-periphery-contract-artifacts 0.1.23 → 0.1.24

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.
Files changed (550) hide show
  1. package/coston/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +107 -0
  2. package/coston/artifacts/contracts/IJsonApi.sol/IJsonApi.json +1 -0
  3. package/coston/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +89 -0
  4. package/coston/artifacts/contracts/IWeb2Json.sol/IWeb2Json.json +1 -0
  5. package/coston/artifacts/contracts/IWeb2JsonVerification.sol/IWeb2JsonVerification.json +109 -0
  6. package/coston2/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +107 -0
  7. package/coston2/artifacts/contracts/IJsonApi.sol/IJsonApi.json +1 -0
  8. package/coston2/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +89 -0
  9. package/coston2/artifacts/contracts/IWeb2Json.sol/IWeb2Json.json +1 -0
  10. package/coston2/artifacts/contracts/IWeb2JsonVerification.sol/IWeb2JsonVerification.json +109 -0
  11. package/dist/coston/StateConnector/libs/ts/AttestationDefinitionStore.d.ts +68 -0
  12. package/dist/coston/StateConnector/libs/ts/AttestationDefinitionStore.d.ts.map +1 -0
  13. package/dist/coston/StateConnector/libs/ts/AttestationResponse.d.ts +33 -0
  14. package/dist/coston/StateConnector/libs/ts/AttestationResponse.d.ts.map +1 -0
  15. package/dist/coston/StateConnector/libs/ts/MerkleTree.d.ts +103 -0
  16. package/dist/coston/StateConnector/libs/ts/MerkleTree.d.ts.map +1 -0
  17. package/dist/coston/StateConnector/libs/ts/config-types.d.ts +143 -0
  18. package/dist/coston/StateConnector/libs/ts/config-types.d.ts.map +1 -0
  19. package/dist/coston/StateConnector/libs/ts/interfaces.d.ts +32 -0
  20. package/dist/coston/StateConnector/libs/ts/interfaces.d.ts.map +1 -0
  21. package/dist/coston/StateConnector/libs/ts/random.d.ts +9 -0
  22. package/dist/coston/StateConnector/libs/ts/random.d.ts.map +1 -0
  23. package/dist/coston/StateConnector/libs/ts/utils.d.ts +67 -0
  24. package/dist/coston/StateConnector/libs/ts/utils.d.ts.map +1 -0
  25. package/dist/coston/StateConnector/typescript/AddressValidity.d.ts +95 -0
  26. package/dist/coston/StateConnector/typescript/AddressValidity.d.ts.map +1 -0
  27. package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.d.ts +107 -0
  28. package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.d.ts.map +1 -0
  29. package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.d.ts +103 -0
  30. package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.d.ts.map +1 -0
  31. package/dist/coston/StateConnector/typescript/EVMTransaction.d.ts +160 -0
  32. package/dist/coston/StateConnector/typescript/EVMTransaction.d.ts.map +1 -0
  33. package/dist/coston/StateConnector/typescript/Payment.d.ts +139 -0
  34. package/dist/coston/StateConnector/typescript/Payment.d.ts.map +1 -0
  35. package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.d.ts +115 -0
  36. package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.d.ts.map +1 -0
  37. package/dist/coston/StateConnector/typescript/TypeTemplate.d.ts +146 -0
  38. package/dist/coston/StateConnector/typescript/TypeTemplate.d.ts.map +1 -0
  39. package/dist/coston/StateConnector/typescript/data-sources/data-sources.d.ts +29 -0
  40. package/dist/coston/StateConnector/typescript/data-sources/data-sources.d.ts.map +1 -0
  41. package/dist/coston/StateConnector/typescript/index.d.ts +9 -0
  42. package/dist/coston/StateConnector/typescript/index.d.ts.map +1 -0
  43. package/dist/coston/abis.d.ts +13 -0
  44. package/dist/coston/abis.d.ts.map +1 -0
  45. package/dist/coston/artifacts/contracts/ContractRegistry.sol/ContractRegistry.json +1 -0
  46. package/dist/coston/artifacts/contracts/FtsoV2Interface.sol/FtsoV2Interface.json +274 -0
  47. package/dist/coston/artifacts/contracts/IAddressValidity.sol/IAddressValidity.json +1 -0
  48. package/dist/coston/artifacts/contracts/IAddressValidityVerification.sol/IAddressValidityVerification.json +89 -0
  49. package/dist/coston/artifacts/contracts/IAgentPing.sol/IAgentPing.json +99 -0
  50. package/dist/coston/artifacts/contracts/IAssetManager.sol/IAssetManager.json +6169 -0
  51. package/dist/coston/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +1696 -0
  52. package/dist/coston/artifacts/contracts/IBalanceDecreasingTransaction.sol/IBalanceDecreasingTransaction.json +1 -0
  53. package/dist/coston/artifacts/contracts/IBalanceDecreasingTransactionVerification.sol/IBalanceDecreasingTransactionVerification.json +104 -0
  54. package/dist/coston/artifacts/contracts/ICChainStake.sol/ICChainStake.json +375 -0
  55. package/dist/coston/artifacts/contracts/ICChainVotePower.sol/ICChainVotePower.json +300 -0
  56. package/dist/coston/artifacts/contracts/IClaimSetupManager.sol/IClaimSetupManager.json +656 -0
  57. package/dist/coston/artifacts/contracts/IConfirmedBlockHeightExists.sol/IConfirmedBlockHeightExists.json +1 -0
  58. package/dist/coston/artifacts/contracts/IConfirmedBlockHeightExistsVerification.sol/IConfirmedBlockHeightExistsVerification.json +99 -0
  59. package/dist/coston/artifacts/contracts/IDelegationAccount.sol/IDelegationAccount.json +135 -0
  60. package/dist/coston/artifacts/contracts/IEVMTransaction.sol/IEVMTransaction.json +1 -0
  61. package/dist/coston/artifacts/contracts/IEVMTransactionVerification.sol/IEVMTransactionVerification.json +166 -0
  62. package/dist/coston/artifacts/contracts/IEntityManager.sol/IEntityManager.json +790 -0
  63. package/dist/coston/artifacts/contracts/IFastUpdateIncentiveManager.sol/IFastUpdateIncentiveManager.json +230 -0
  64. package/dist/coston/artifacts/contracts/IFastUpdater.sol/IFastUpdater.json +354 -0
  65. package/dist/coston/artifacts/contracts/IFastUpdatesConfiguration.sol/IFastUpdatesConfiguration.json +190 -0
  66. package/dist/coston/artifacts/contracts/IFdcHub.sol/IFdcHub.json +138 -0
  67. package/dist/coston/artifacts/contracts/IFdcInflationConfigurations.sol/IFdcInflationConfigurations.json +88 -0
  68. package/dist/coston/artifacts/contracts/IFdcRequestFeeConfigurations.sol/IFdcRequestFeeConfigurations.json +65 -0
  69. package/dist/coston/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +828 -0
  70. package/dist/coston/artifacts/contracts/IFeeCalculator.sol/IFeeCalculator.json +40 -0
  71. package/dist/coston/artifacts/contracts/IFlareAssetRegistry.sol/IFlareAssetRegistry.json +232 -0
  72. package/dist/coston/artifacts/contracts/IFlareContractRegistry.sol/IFlareContractRegistry.json +96 -0
  73. package/dist/coston/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +109 -0
  74. package/dist/coston/artifacts/contracts/IFlareSystemsManager.sol/IFlareSystemsManager.json +649 -0
  75. package/dist/coston/artifacts/contracts/IFtso.sol/IFtso.json +503 -0
  76. package/dist/coston/artifacts/contracts/IFtsoFeedDecimals.sol/IFtsoFeedDecimals.json +168 -0
  77. package/dist/coston/artifacts/contracts/IFtsoFeedIdConverter.sol/IFtsoFeedIdConverter.json +50 -0
  78. package/dist/coston/artifacts/contracts/IFtsoFeedPublisher.sol/IFtsoFeedPublisher.json +214 -0
  79. package/dist/coston/artifacts/contracts/IFtsoInflationConfigurations.sol/IFtsoInflationConfigurations.json +98 -0
  80. package/dist/coston/artifacts/contracts/IFtsoManager.sol/IFtsoManager.json +367 -0
  81. package/dist/coston/artifacts/contracts/IFtsoRegistry.sol/IFtsoRegistry.json +436 -0
  82. package/dist/coston/artifacts/contracts/IFtsoRewardManager.sol/IFtsoRewardManager.json +693 -0
  83. package/dist/coston/artifacts/contracts/IFtsoRewardOffersManager.sol/IFtsoRewardOffersManager.json +188 -0
  84. package/dist/coston/artifacts/contracts/IGenericRewardManager.sol/IGenericRewardManager.json +239 -0
  85. package/dist/coston/artifacts/contracts/IGovernanceSettings.sol/IGovernanceSettings.json +60 -0
  86. package/dist/coston/artifacts/contracts/IGovernanceVotePower.sol/IGovernanceVotePower.json +108 -0
  87. package/dist/coston/artifacts/contracts/IGovernor.sol/IGovernor.json +515 -0
  88. package/dist/coston/artifacts/contracts/IIncreaseManager.sol/IIncreaseManager.json +15 -0
  89. package/dist/coston/artifacts/contracts/IJsonApi.sol/IJsonApi.json +1 -0
  90. package/dist/coston/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +89 -0
  91. package/dist/coston/artifacts/contracts/IPayment.sol/IPayment.json +1 -0
  92. package/dist/coston/artifacts/contracts/IPaymentVerification.sol/IPaymentVerification.json +149 -0
  93. package/dist/coston/artifacts/contracts/IPollingManagementGroup.sol/IPollingManagementGroup.json +547 -0
  94. package/dist/coston/artifacts/contracts/IPriceSubmitter.sol/IPriceSubmitter.json +191 -0
  95. package/dist/coston/artifacts/contracts/IRNat.sol/IRNat.json +930 -0
  96. package/dist/coston/artifacts/contracts/IRNatAccount.sol/IRNatAccount.json +137 -0
  97. package/dist/coston/artifacts/contracts/IRandomProvider.sol/IRandomProvider.json +56 -0
  98. package/dist/coston/artifacts/contracts/IRedemptionTimeExtension.sol/IRedemptionTimeExtension.json +28 -0
  99. package/dist/coston/artifacts/contracts/IReferencedPaymentNonexistence.sol/IReferencedPaymentNonexistence.json +1 -0
  100. package/dist/coston/artifacts/contracts/IReferencedPaymentNonexistenceVerification.sol/IReferencedPaymentNonexistenceVerification.json +124 -0
  101. package/dist/coston/artifacts/contracts/IRelay.sol/IRelay.json +426 -0
  102. package/dist/coston/artifacts/contracts/IRewardManager.sol/IRewardManager.json +605 -0
  103. package/dist/coston/artifacts/contracts/ISubmission.sol/ISubmission.json +133 -0
  104. package/dist/coston/artifacts/contracts/ITransferFees.sol/ITransferFees.json +394 -0
  105. package/dist/coston/artifacts/contracts/IVPContractEvents.sol/IVPContractEvents.json +64 -0
  106. package/dist/coston/artifacts/contracts/IVPToken.sol/IVPToken.json +649 -0
  107. package/dist/coston/artifacts/contracts/IValidatorRewardOffersManager.sol/IValidatorRewardOffersManager.json +21 -0
  108. package/dist/coston/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +118 -0
  109. package/dist/coston/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +256 -0
  110. package/dist/coston/artifacts/contracts/IVoterWhitelister.sol/IVoterWhitelister.json +190 -0
  111. package/dist/coston/artifacts/contracts/IWNat.sol/IWNat.json +752 -0
  112. package/dist/coston/artifacts/contracts/IWNatDelegationFee.sol/IWNatDelegationFee.json +144 -0
  113. package/dist/coston/artifacts/contracts/IWeb2Json.sol/IWeb2Json.json +1 -0
  114. package/dist/coston/artifacts/contracts/IWeb2JsonVerification.sol/IWeb2JsonVerification.json +109 -0
  115. package/dist/coston/artifacts/contracts/ProtocolsV2Interface.sol/ProtocolsV2Interface.json +118 -0
  116. package/dist/coston/artifacts/contracts/RandomNumberV2Interface.sol/RandomNumberV2Interface.json +54 -0
  117. package/dist/coston/artifacts/contracts/RewardsV2Interface.sol/RewardsV2Interface.json +171 -0
  118. package/dist/coston/artifacts/contracts/TestFtsoV2Interface.sol/TestFtsoV2Interface.json +274 -0
  119. package/dist/coston/artifacts/contracts/customFeeds/interfaces/IICustomFeed.sol/IICustomFeed.json +51 -0
  120. package/dist/coston/artifacts/contracts/diamond/interfaces/IDiamondLoupe.sol/IDiamondLoupe.json +78 -0
  121. package/dist/coston/artifacts/contracts/fdc/interfaces/ITypeTemplate.sol/ITypeTemplate.json +1 -0
  122. package/dist/coston/artifacts/contracts/fdc/interfaces/ITypeTemplateVerification.sol/ITypeTemplateVerification.json +140 -0
  123. package/dist/coston/artifacts/contracts/fscV1/interfaces/IIFastUpdaterView.sol/IIFastUpdaterView.json +31 -0
  124. package/dist/coston/artifacts/contracts/fscV1/interfaces/IIFtsoManagerProxy.sol/IIFtsoManagerProxy.json +54 -0
  125. package/dist/coston/artifacts/contracts/ftso/interfaces/IIFtso.sol/IIFtso.json +944 -0
  126. package/dist/coston/artifacts/contracts/ftso/interfaces/IIFtsoFeedPublisher.sol/IIFtsoFeedPublisher.json +254 -0
  127. package/dist/coston/artifacts/contracts/genesis/interfaces/IFlareDaemonize.sol/IFlareDaemonize.json +28 -0
  128. package/dist/coston/artifacts/contracts/genesis/interfaces/IFtsoGenesis.sol/IFtsoGenesis.json +82 -0
  129. package/dist/coston/artifacts/contracts/genesis/interfaces/IFtsoManagerGenesis.sol/IFtsoManagerGenesis.json +15 -0
  130. package/dist/coston/artifacts/contracts/genesis/interfaces/IFtsoRegistryGenesis.sol/IFtsoRegistryGenesis.json +21 -0
  131. package/dist/coston/artifacts/contracts/governance/interfaces/IIGovernorProposer.sol/IIGovernorProposer.json +21 -0
  132. package/dist/coston/artifacts/contracts/governance/interfaces/IIPollingFoundation.sol/IIPollingFoundation.json +671 -0
  133. package/dist/coston/artifacts/contracts/governance/interfaces/IIPollingManagementGroup.sol/IIPollingManagementGroup.json +679 -0
  134. package/dist/coston/artifacts/contracts/protocol/interfaces/IIClaimSetupManager.sol/IIClaimSetupManager.json +786 -0
  135. package/dist/coston/artifacts/contracts/protocol/interfaces/IICleanupBlockNumberManager.sol/IICleanupBlockNumberManager.json +15 -0
  136. package/dist/coston/artifacts/contracts/protocol/interfaces/IIEntityManager.sol/IIEntityManager.json +939 -0
  137. package/dist/coston/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +162 -0
  138. package/dist/coston/artifacts/contracts/protocol/interfaces/IIFlareSystemsManager.sol/IIFlareSystemsManager.json +1217 -0
  139. package/dist/coston/artifacts/contracts/protocol/interfaces/IINodePossessionVerifier.sol/IINodePossessionVerifier.json +30 -0
  140. package/dist/coston/artifacts/contracts/protocol/interfaces/IIPublicKeyVerifier.sol/IIPublicKeyVerifier.json +30 -0
  141. package/dist/coston/artifacts/contracts/protocol/interfaces/IIRelay.sol/IIRelay.json +477 -0
  142. package/dist/coston/artifacts/contracts/protocol/interfaces/IIRewardEpochSwitchoverTrigger.sol/IIRewardEpochSwitchoverTrigger.json +25 -0
  143. package/dist/coston/artifacts/contracts/protocol/interfaces/IIRewardManager.sol/IIRewardManager.json +714 -0
  144. package/dist/coston/artifacts/contracts/protocol/interfaces/IISubmission.sol/IISubmission.json +161 -0
  145. package/dist/coston/artifacts/contracts/protocol/interfaces/IIVoterRegistrationTrigger.sol/IIVoterRegistrationTrigger.json +15 -0
  146. package/dist/coston/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +623 -0
  147. package/dist/coston/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +1061 -0
  148. package/dist/coston/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +333 -0
  149. package/dist/coston/artifacts/contracts/token/interfaces/IICleanable.sol/IICleanable.json +54 -0
  150. package/dist/coston/artifacts/contracts/token/interfaces/IIGovernanceVotePower.sol/IIGovernanceVotePower.json +243 -0
  151. package/dist/coston/artifacts/contracts/token/interfaces/IIVPContract.sol/IIVPContract.json +600 -0
  152. package/dist/coston/artifacts/contracts/token/interfaces/IIVPToken.sol/IIVPToken.json +781 -0
  153. package/dist/coston/artifacts/contracts/userInterfaces/data/AgentInfo.sol/AgentInfo.json +1 -0
  154. package/dist/coston/artifacts/contracts/userInterfaces/data/AgentSettings.sol/AgentSettings.json +1 -0
  155. package/dist/coston/artifacts/contracts/userInterfaces/data/AssetManagerSettings.sol/AssetManagerSettings.json +1 -0
  156. package/dist/coston/artifacts/contracts/userInterfaces/data/AvailableAgentInfo.sol/AvailableAgentInfo.json +1 -0
  157. package/dist/coston/artifacts/contracts/userInterfaces/data/CollateralType.sol/CollateralType.json +1 -0
  158. package/dist/coston/artifacts/contracts/userInterfaces/data/RedemptionTicketInfo.sol/RedemptionTicketInfo.json +1 -0
  159. package/dist/coston/index.d.ts +3 -0
  160. package/dist/coston/index.d.ts.map +1 -0
  161. package/dist/coston/mapper.d.ts +3 -0
  162. package/dist/coston/mapper.d.ts.map +1 -0
  163. package/dist/coston2/abis.d.ts +13 -0
  164. package/dist/coston2/abis.d.ts.map +1 -0
  165. package/dist/coston2/artifacts/contracts/ContractRegistry.sol/ContractRegistry.json +1 -0
  166. package/dist/coston2/artifacts/contracts/FtsoV2Interface.sol/FtsoV2Interface.json +274 -0
  167. package/dist/coston2/artifacts/contracts/IAddressBinder.sol/IAddressBinder.json +112 -0
  168. package/dist/coston2/artifacts/contracts/IAddressValidity.sol/IAddressValidity.json +1 -0
  169. package/dist/coston2/artifacts/contracts/IAddressValidityVerification.sol/IAddressValidityVerification.json +89 -0
  170. package/dist/coston2/artifacts/contracts/IBalanceDecreasingTransaction.sol/IBalanceDecreasingTransaction.json +1 -0
  171. package/dist/coston2/artifacts/contracts/IBalanceDecreasingTransactionVerification.sol/IBalanceDecreasingTransactionVerification.json +104 -0
  172. package/dist/coston2/artifacts/contracts/ICChainStake.sol/ICChainStake.json +375 -0
  173. package/dist/coston2/artifacts/contracts/ICChainVotePower.sol/ICChainVotePower.json +300 -0
  174. package/dist/coston2/artifacts/contracts/IClaimSetupManager.sol/IClaimSetupManager.json +656 -0
  175. package/dist/coston2/artifacts/contracts/IConfirmedBlockHeightExists.sol/IConfirmedBlockHeightExists.json +1 -0
  176. package/dist/coston2/artifacts/contracts/IConfirmedBlockHeightExistsVerification.sol/IConfirmedBlockHeightExistsVerification.json +99 -0
  177. package/dist/coston2/artifacts/contracts/IDelegationAccount.sol/IDelegationAccount.json +135 -0
  178. package/dist/coston2/artifacts/contracts/IDistributionToDelegators.sol/IDistributionToDelegators.json +249 -0
  179. package/dist/coston2/artifacts/contracts/IEVMTransaction.sol/IEVMTransaction.json +1 -0
  180. package/dist/coston2/artifacts/contracts/IEVMTransactionVerification.sol/IEVMTransactionVerification.json +166 -0
  181. package/dist/coston2/artifacts/contracts/IEntityManager.sol/IEntityManager.json +790 -0
  182. package/dist/coston2/artifacts/contracts/IFastUpdateIncentiveManager.sol/IFastUpdateIncentiveManager.json +230 -0
  183. package/dist/coston2/artifacts/contracts/IFastUpdater.sol/IFastUpdater.json +354 -0
  184. package/dist/coston2/artifacts/contracts/IFastUpdatesConfiguration.sol/IFastUpdatesConfiguration.json +190 -0
  185. package/dist/coston2/artifacts/contracts/IFdcHub.sol/IFdcHub.json +138 -0
  186. package/dist/coston2/artifacts/contracts/IFdcInflationConfigurations.sol/IFdcInflationConfigurations.json +88 -0
  187. package/dist/coston2/artifacts/contracts/IFdcRequestFeeConfigurations.sol/IFdcRequestFeeConfigurations.json +65 -0
  188. package/dist/coston2/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +828 -0
  189. package/dist/coston2/artifacts/contracts/IFeeCalculator.sol/IFeeCalculator.json +40 -0
  190. package/dist/coston2/artifacts/contracts/IFlareAssetRegistry.sol/IFlareAssetRegistry.json +232 -0
  191. package/dist/coston2/artifacts/contracts/IFlareContractRegistry.sol/IFlareContractRegistry.json +96 -0
  192. package/dist/coston2/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +109 -0
  193. package/dist/coston2/artifacts/contracts/IFlareSystemsManager.sol/IFlareSystemsManager.json +649 -0
  194. package/dist/coston2/artifacts/contracts/IFtso.sol/IFtso.json +466 -0
  195. package/dist/coston2/artifacts/contracts/IFtsoFeedDecimals.sol/IFtsoFeedDecimals.json +168 -0
  196. package/dist/coston2/artifacts/contracts/IFtsoFeedIdConverter.sol/IFtsoFeedIdConverter.json +50 -0
  197. package/dist/coston2/artifacts/contracts/IFtsoFeedPublisher.sol/IFtsoFeedPublisher.json +214 -0
  198. package/dist/coston2/artifacts/contracts/IFtsoInflationConfigurations.sol/IFtsoInflationConfigurations.json +98 -0
  199. package/dist/coston2/artifacts/contracts/IFtsoManager.sol/IFtsoManager.json +367 -0
  200. package/dist/coston2/artifacts/contracts/IFtsoRegistry.sol/IFtsoRegistry.json +436 -0
  201. package/dist/coston2/artifacts/contracts/IFtsoRewardManager.sol/IFtsoRewardManager.json +693 -0
  202. package/dist/coston2/artifacts/contracts/IFtsoRewardOffersManager.sol/IFtsoRewardOffersManager.json +188 -0
  203. package/dist/coston2/artifacts/contracts/IGenericRewardManager.sol/IGenericRewardManager.json +239 -0
  204. package/dist/coston2/artifacts/contracts/IGovernanceSettings.sol/IGovernanceSettings.json +60 -0
  205. package/dist/coston2/artifacts/contracts/IGovernanceVotePower.sol/IGovernanceVotePower.json +108 -0
  206. package/dist/coston2/artifacts/contracts/IGovernor.sol/IGovernor.json +515 -0
  207. package/dist/coston2/artifacts/contracts/IIncreaseManager.sol/IIncreaseManager.json +15 -0
  208. package/dist/coston2/artifacts/contracts/IJsonApi.sol/IJsonApi.json +1 -0
  209. package/dist/coston2/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +89 -0
  210. package/dist/coston2/artifacts/contracts/IPChainStakeMirror.sol/IPChainStakeMirror.json +566 -0
  211. package/dist/coston2/artifacts/contracts/IPChainStakeMirrorMultiSigVoting.sol/IPChainStakeMirrorMultiSigVoting.json +302 -0
  212. package/dist/coston2/artifacts/contracts/IPChainStakeMirrorVerifier.sol/IPChainStakeMirrorVerifier.json +1 -0
  213. package/dist/coston2/artifacts/contracts/IPChainVotePower.sol/IPChainVotePower.json +300 -0
  214. package/dist/coston2/artifacts/contracts/IPayment.sol/IPayment.json +1 -0
  215. package/dist/coston2/artifacts/contracts/IPaymentVerification.sol/IPaymentVerification.json +149 -0
  216. package/dist/coston2/artifacts/contracts/IPollingManagementGroup.sol/IPollingManagementGroup.json +547 -0
  217. package/dist/coston2/artifacts/contracts/IPriceSubmitter.sol/IPriceSubmitter.json +212 -0
  218. package/dist/coston2/artifacts/contracts/IRNat.sol/IRNat.json +930 -0
  219. package/dist/coston2/artifacts/contracts/IRNatAccount.sol/IRNatAccount.json +137 -0
  220. package/dist/coston2/artifacts/contracts/IRandomProvider.sol/IRandomProvider.json +56 -0
  221. package/dist/coston2/artifacts/contracts/IReferencedPaymentNonexistence.sol/IReferencedPaymentNonexistence.json +1 -0
  222. package/dist/coston2/artifacts/contracts/IReferencedPaymentNonexistenceVerification.sol/IReferencedPaymentNonexistenceVerification.json +124 -0
  223. package/dist/coston2/artifacts/contracts/IRelay.sol/IRelay.json +426 -0
  224. package/dist/coston2/artifacts/contracts/IRewardManager.sol/IRewardManager.json +605 -0
  225. package/dist/coston2/artifacts/contracts/ISubmission.sol/ISubmission.json +133 -0
  226. package/dist/coston2/artifacts/contracts/IVPContractEvents.sol/IVPContractEvents.json +64 -0
  227. package/dist/coston2/artifacts/contracts/IVPToken.sol/IVPToken.json +691 -0
  228. package/dist/coston2/artifacts/contracts/IValidatorRegistry.sol/IValidatorRegistry.json +127 -0
  229. package/dist/coston2/artifacts/contracts/IValidatorRewardOffersManager.sol/IValidatorRewardOffersManager.json +21 -0
  230. package/dist/coston2/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +118 -0
  231. package/dist/coston2/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +256 -0
  232. package/dist/coston2/artifacts/contracts/IVoterWhitelister.sol/IVoterWhitelister.json +190 -0
  233. package/dist/coston2/artifacts/contracts/IWNat.sol/IWNat.json +781 -0
  234. package/dist/coston2/artifacts/contracts/IWNatDelegationFee.sol/IWNatDelegationFee.json +144 -0
  235. package/dist/coston2/artifacts/contracts/IWeb2Json.sol/IWeb2Json.json +1 -0
  236. package/dist/coston2/artifacts/contracts/IWeb2JsonVerification.sol/IWeb2JsonVerification.json +109 -0
  237. package/dist/coston2/artifacts/contracts/ProtocolsV2Interface.sol/ProtocolsV2Interface.json +118 -0
  238. package/dist/coston2/artifacts/contracts/RandomNumberV2Interface.sol/RandomNumberV2Interface.json +54 -0
  239. package/dist/coston2/artifacts/contracts/RewardsV2Interface.sol/RewardsV2Interface.json +171 -0
  240. package/dist/coston2/artifacts/contracts/TestFtsoV2Interface.sol/TestFtsoV2Interface.json +274 -0
  241. package/dist/coston2/artifacts/contracts/customFeeds/interfaces/IICustomFeed.sol/IICustomFeed.json +51 -0
  242. package/dist/coston2/artifacts/contracts/fdc/interfaces/ITypeTemplate.sol/ITypeTemplate.json +1 -0
  243. package/dist/coston2/artifacts/contracts/fdc/interfaces/ITypeTemplateVerification.sol/ITypeTemplateVerification.json +140 -0
  244. package/dist/coston2/artifacts/contracts/fscV1/interfaces/IIFastUpdaterView.sol/IIFastUpdaterView.json +31 -0
  245. package/dist/coston2/artifacts/contracts/fscV1/interfaces/IIFtsoManagerProxy.sol/IIFtsoManagerProxy.json +54 -0
  246. package/dist/coston2/artifacts/contracts/ftso/interfaces/IIFtso.sol/IIFtso.json +879 -0
  247. package/dist/coston2/artifacts/contracts/ftso/interfaces/IIFtsoFeedPublisher.sol/IIFtsoFeedPublisher.json +254 -0
  248. package/dist/coston2/artifacts/contracts/genesis/interfaces/IFlareDaemonize.sol/IFlareDaemonize.json +41 -0
  249. package/dist/coston2/artifacts/contracts/genesis/interfaces/IFtsoGenesis.sol/IFtsoGenesis.json +54 -0
  250. package/dist/coston2/artifacts/contracts/genesis/interfaces/IFtsoManagerGenesis.sol/IFtsoManagerGenesis.json +15 -0
  251. package/dist/coston2/artifacts/contracts/genesis/interfaces/IFtsoRegistryGenesis.sol/IFtsoRegistryGenesis.json +21 -0
  252. package/dist/coston2/artifacts/contracts/governance/interfaces/IIGovernorProposer.sol/IIGovernorProposer.json +21 -0
  253. package/dist/coston2/artifacts/contracts/governance/interfaces/IIPollingFoundation.sol/IIPollingFoundation.json +671 -0
  254. package/dist/coston2/artifacts/contracts/governance/interfaces/IIPollingManagementGroup.sol/IIPollingManagementGroup.json +679 -0
  255. package/dist/coston2/artifacts/contracts/protocol/interfaces/IIClaimSetupManager.sol/IIClaimSetupManager.json +786 -0
  256. package/dist/coston2/artifacts/contracts/protocol/interfaces/IICleanupBlockNumberManager.sol/IICleanupBlockNumberManager.json +15 -0
  257. package/dist/coston2/artifacts/contracts/protocol/interfaces/IIEntityManager.sol/IIEntityManager.json +939 -0
  258. package/dist/coston2/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +162 -0
  259. package/dist/coston2/artifacts/contracts/protocol/interfaces/IIFlareSystemsManager.sol/IIFlareSystemsManager.json +1217 -0
  260. package/dist/coston2/artifacts/contracts/protocol/interfaces/IINodePossessionVerifier.sol/IINodePossessionVerifier.json +30 -0
  261. package/dist/coston2/artifacts/contracts/protocol/interfaces/IIPublicKeyVerifier.sol/IIPublicKeyVerifier.json +30 -0
  262. package/dist/coston2/artifacts/contracts/protocol/interfaces/IIRelay.sol/IIRelay.json +477 -0
  263. package/dist/coston2/artifacts/contracts/protocol/interfaces/IIRewardEpochSwitchoverTrigger.sol/IIRewardEpochSwitchoverTrigger.json +25 -0
  264. package/dist/coston2/artifacts/contracts/protocol/interfaces/IIRewardManager.sol/IIRewardManager.json +714 -0
  265. package/dist/coston2/artifacts/contracts/protocol/interfaces/IISubmission.sol/IISubmission.json +161 -0
  266. package/dist/coston2/artifacts/contracts/protocol/interfaces/IIVoterRegistrationTrigger.sol/IIVoterRegistrationTrigger.json +15 -0
  267. package/dist/coston2/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +623 -0
  268. package/dist/coston2/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +1061 -0
  269. package/dist/coston2/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +333 -0
  270. package/dist/coston2/artifacts/contracts/token/interfaces/IICleanable.sol/IICleanable.json +41 -0
  271. package/dist/coston2/artifacts/contracts/token/interfaces/IIGovernanceVotePower.sol/IIGovernanceVotePower.json +256 -0
  272. package/dist/coston2/artifacts/contracts/token/interfaces/IIVPContract.sol/IIVPContract.json +611 -0
  273. package/dist/coston2/artifacts/contracts/token/interfaces/IIVPToken.sol/IIVPToken.json +823 -0
  274. package/dist/coston2/index.d.ts +3 -0
  275. package/dist/coston2/index.d.ts.map +1 -0
  276. package/dist/coston2/mapper.d.ts +3 -0
  277. package/dist/coston2/mapper.d.ts.map +1 -0
  278. package/dist/flare/abis.d.ts +13 -0
  279. package/dist/flare/abis.d.ts.map +1 -0
  280. package/dist/flare/artifacts/contracts/ContractRegistry.sol/ContractRegistry.json +1 -0
  281. package/dist/flare/artifacts/contracts/FtsoV2Interface.sol/FtsoV2Interface.json +274 -0
  282. package/dist/flare/artifacts/contracts/IAddressBinder.sol/IAddressBinder.json +112 -0
  283. package/dist/flare/artifacts/contracts/IAddressValidity.sol/IAddressValidity.json +1 -0
  284. package/dist/flare/artifacts/contracts/IAddressValidityVerification.sol/IAddressValidityVerification.json +89 -0
  285. package/dist/flare/artifacts/contracts/IBalanceDecreasingTransaction.sol/IBalanceDecreasingTransaction.json +1 -0
  286. package/dist/flare/artifacts/contracts/IBalanceDecreasingTransactionVerification.sol/IBalanceDecreasingTransactionVerification.json +104 -0
  287. package/dist/flare/artifacts/contracts/ICChainStake.sol/ICChainStake.json +375 -0
  288. package/dist/flare/artifacts/contracts/ICChainVotePower.sol/ICChainVotePower.json +300 -0
  289. package/dist/flare/artifacts/contracts/IClaimSetupManager.sol/IClaimSetupManager.json +656 -0
  290. package/dist/flare/artifacts/contracts/IConfirmedBlockHeightExists.sol/IConfirmedBlockHeightExists.json +1 -0
  291. package/dist/flare/artifacts/contracts/IConfirmedBlockHeightExistsVerification.sol/IConfirmedBlockHeightExistsVerification.json +99 -0
  292. package/dist/flare/artifacts/contracts/IDelegationAccount.sol/IDelegationAccount.json +135 -0
  293. package/dist/flare/artifacts/contracts/IDistributionToDelegators.sol/IDistributionToDelegators.json +249 -0
  294. package/dist/flare/artifacts/contracts/IEVMTransaction.sol/IEVMTransaction.json +1 -0
  295. package/dist/flare/artifacts/contracts/IEVMTransactionVerification.sol/IEVMTransactionVerification.json +166 -0
  296. package/dist/flare/artifacts/contracts/IEntityManager.sol/IEntityManager.json +790 -0
  297. package/dist/flare/artifacts/contracts/IFastUpdateIncentiveManager.sol/IFastUpdateIncentiveManager.json +230 -0
  298. package/dist/flare/artifacts/contracts/IFastUpdater.sol/IFastUpdater.json +354 -0
  299. package/dist/flare/artifacts/contracts/IFastUpdatesConfiguration.sol/IFastUpdatesConfiguration.json +190 -0
  300. package/dist/flare/artifacts/contracts/IFdcHub.sol/IFdcHub.json +138 -0
  301. package/dist/flare/artifacts/contracts/IFdcInflationConfigurations.sol/IFdcInflationConfigurations.json +88 -0
  302. package/dist/flare/artifacts/contracts/IFdcRequestFeeConfigurations.sol/IFdcRequestFeeConfigurations.json +65 -0
  303. package/dist/flare/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +828 -0
  304. package/dist/flare/artifacts/contracts/IFeeCalculator.sol/IFeeCalculator.json +40 -0
  305. package/dist/flare/artifacts/contracts/IFlareAssetRegistry.sol/IFlareAssetRegistry.json +232 -0
  306. package/dist/flare/artifacts/contracts/IFlareContractRegistry.sol/IFlareContractRegistry.json +96 -0
  307. package/dist/flare/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +109 -0
  308. package/dist/flare/artifacts/contracts/IFlareSystemsManager.sol/IFlareSystemsManager.json +649 -0
  309. package/dist/flare/artifacts/contracts/IFtso.sol/IFtso.json +466 -0
  310. package/dist/flare/artifacts/contracts/IFtsoFeedDecimals.sol/IFtsoFeedDecimals.json +168 -0
  311. package/dist/flare/artifacts/contracts/IFtsoFeedIdConverter.sol/IFtsoFeedIdConverter.json +50 -0
  312. package/dist/flare/artifacts/contracts/IFtsoFeedPublisher.sol/IFtsoFeedPublisher.json +214 -0
  313. package/dist/flare/artifacts/contracts/IFtsoInflationConfigurations.sol/IFtsoInflationConfigurations.json +98 -0
  314. package/dist/flare/artifacts/contracts/IFtsoManager.sol/IFtsoManager.json +367 -0
  315. package/dist/flare/artifacts/contracts/IFtsoRegistry.sol/IFtsoRegistry.json +436 -0
  316. package/dist/flare/artifacts/contracts/IFtsoRewardManager.sol/IFtsoRewardManager.json +693 -0
  317. package/dist/flare/artifacts/contracts/IFtsoRewardOffersManager.sol/IFtsoRewardOffersManager.json +188 -0
  318. package/dist/flare/artifacts/contracts/IGenericRewardManager.sol/IGenericRewardManager.json +239 -0
  319. package/dist/flare/artifacts/contracts/IGovernanceSettings.sol/IGovernanceSettings.json +60 -0
  320. package/dist/flare/artifacts/contracts/IGovernanceVotePower.sol/IGovernanceVotePower.json +108 -0
  321. package/dist/flare/artifacts/contracts/IGovernor.sol/IGovernor.json +515 -0
  322. package/dist/flare/artifacts/contracts/IIncreaseManager.sol/IIncreaseManager.json +15 -0
  323. package/dist/flare/artifacts/contracts/IJsonApi.sol/IJsonApi.json +1 -0
  324. package/dist/flare/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +89 -0
  325. package/dist/flare/artifacts/contracts/IPChainStakeMirror.sol/IPChainStakeMirror.json +566 -0
  326. package/dist/flare/artifacts/contracts/IPChainStakeMirrorMultiSigVoting.sol/IPChainStakeMirrorMultiSigVoting.json +302 -0
  327. package/dist/flare/artifacts/contracts/IPChainStakeMirrorVerifier.sol/IPChainStakeMirrorVerifier.json +1 -0
  328. package/dist/flare/artifacts/contracts/IPChainVotePower.sol/IPChainVotePower.json +300 -0
  329. package/dist/flare/artifacts/contracts/IPayment.sol/IPayment.json +1 -0
  330. package/dist/flare/artifacts/contracts/IPaymentVerification.sol/IPaymentVerification.json +149 -0
  331. package/dist/flare/artifacts/contracts/IPollingManagementGroup.sol/IPollingManagementGroup.json +547 -0
  332. package/dist/flare/artifacts/contracts/IPriceSubmitter.sol/IPriceSubmitter.json +212 -0
  333. package/dist/flare/artifacts/contracts/IRNat.sol/IRNat.json +930 -0
  334. package/dist/flare/artifacts/contracts/IRNatAccount.sol/IRNatAccount.json +137 -0
  335. package/dist/flare/artifacts/contracts/IRandomProvider.sol/IRandomProvider.json +56 -0
  336. package/dist/flare/artifacts/contracts/IReferencedPaymentNonexistence.sol/IReferencedPaymentNonexistence.json +1 -0
  337. package/dist/flare/artifacts/contracts/IReferencedPaymentNonexistenceVerification.sol/IReferencedPaymentNonexistenceVerification.json +124 -0
  338. package/dist/flare/artifacts/contracts/IRelay.sol/IRelay.json +426 -0
  339. package/dist/flare/artifacts/contracts/IRewardManager.sol/IRewardManager.json +605 -0
  340. package/dist/flare/artifacts/contracts/ISubmission.sol/ISubmission.json +133 -0
  341. package/dist/flare/artifacts/contracts/IVPContractEvents.sol/IVPContractEvents.json +64 -0
  342. package/dist/flare/artifacts/contracts/IVPToken.sol/IVPToken.json +691 -0
  343. package/dist/flare/artifacts/contracts/IValidatorRegistry.sol/IValidatorRegistry.json +127 -0
  344. package/dist/flare/artifacts/contracts/IValidatorRewardOffersManager.sol/IValidatorRewardOffersManager.json +21 -0
  345. package/dist/flare/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +118 -0
  346. package/dist/flare/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +256 -0
  347. package/dist/flare/artifacts/contracts/IVoterWhitelister.sol/IVoterWhitelister.json +190 -0
  348. package/dist/flare/artifacts/contracts/IWNat.sol/IWNat.json +781 -0
  349. package/dist/flare/artifacts/contracts/IWNatDelegationFee.sol/IWNatDelegationFee.json +144 -0
  350. package/dist/flare/artifacts/contracts/IWeb2Json.sol/IWeb2Json.json +1 -0
  351. package/dist/flare/artifacts/contracts/IWeb2JsonVerification.sol/IWeb2JsonVerification.json +109 -0
  352. package/dist/flare/artifacts/contracts/ProtocolsV2Interface.sol/ProtocolsV2Interface.json +118 -0
  353. package/dist/flare/artifacts/contracts/RandomNumberV2Interface.sol/RandomNumberV2Interface.json +54 -0
  354. package/dist/flare/artifacts/contracts/RewardsV2Interface.sol/RewardsV2Interface.json +171 -0
  355. package/dist/flare/artifacts/contracts/TestFtsoV2Interface.sol/TestFtsoV2Interface.json +274 -0
  356. package/dist/flare/artifacts/contracts/customFeeds/interfaces/IICustomFeed.sol/IICustomFeed.json +51 -0
  357. package/dist/flare/artifacts/contracts/fdc/interfaces/ITypeTemplate.sol/ITypeTemplate.json +1 -0
  358. package/dist/flare/artifacts/contracts/fdc/interfaces/ITypeTemplateVerification.sol/ITypeTemplateVerification.json +140 -0
  359. package/dist/flare/artifacts/contracts/fscV1/interfaces/IIFastUpdaterView.sol/IIFastUpdaterView.json +31 -0
  360. package/dist/flare/artifacts/contracts/fscV1/interfaces/IIFtsoManagerProxy.sol/IIFtsoManagerProxy.json +54 -0
  361. package/dist/flare/artifacts/contracts/ftso/interfaces/IIFtso.sol/IIFtso.json +879 -0
  362. package/dist/flare/artifacts/contracts/ftso/interfaces/IIFtsoFeedPublisher.sol/IIFtsoFeedPublisher.json +254 -0
  363. package/dist/flare/artifacts/contracts/genesis/interfaces/IFlareDaemonize.sol/IFlareDaemonize.json +41 -0
  364. package/dist/flare/artifacts/contracts/genesis/interfaces/IFtsoGenesis.sol/IFtsoGenesis.json +54 -0
  365. package/dist/flare/artifacts/contracts/genesis/interfaces/IFtsoManagerGenesis.sol/IFtsoManagerGenesis.json +15 -0
  366. package/dist/flare/artifacts/contracts/genesis/interfaces/IFtsoRegistryGenesis.sol/IFtsoRegistryGenesis.json +21 -0
  367. package/dist/flare/artifacts/contracts/governance/interfaces/IIGovernorProposer.sol/IIGovernorProposer.json +21 -0
  368. package/dist/flare/artifacts/contracts/governance/interfaces/IIPollingFoundation.sol/IIPollingFoundation.json +671 -0
  369. package/dist/flare/artifacts/contracts/governance/interfaces/IIPollingManagementGroup.sol/IIPollingManagementGroup.json +679 -0
  370. package/dist/flare/artifacts/contracts/protocol/interfaces/IIClaimSetupManager.sol/IIClaimSetupManager.json +786 -0
  371. package/dist/flare/artifacts/contracts/protocol/interfaces/IICleanupBlockNumberManager.sol/IICleanupBlockNumberManager.json +15 -0
  372. package/dist/flare/artifacts/contracts/protocol/interfaces/IIEntityManager.sol/IIEntityManager.json +939 -0
  373. package/dist/flare/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +162 -0
  374. package/dist/flare/artifacts/contracts/protocol/interfaces/IIFlareSystemsManager.sol/IIFlareSystemsManager.json +1217 -0
  375. package/dist/flare/artifacts/contracts/protocol/interfaces/IINodePossessionVerifier.sol/IINodePossessionVerifier.json +30 -0
  376. package/dist/flare/artifacts/contracts/protocol/interfaces/IIPublicKeyVerifier.sol/IIPublicKeyVerifier.json +30 -0
  377. package/dist/flare/artifacts/contracts/protocol/interfaces/IIRelay.sol/IIRelay.json +477 -0
  378. package/dist/flare/artifacts/contracts/protocol/interfaces/IIRewardEpochSwitchoverTrigger.sol/IIRewardEpochSwitchoverTrigger.json +25 -0
  379. package/dist/flare/artifacts/contracts/protocol/interfaces/IIRewardManager.sol/IIRewardManager.json +714 -0
  380. package/dist/flare/artifacts/contracts/protocol/interfaces/IISubmission.sol/IISubmission.json +161 -0
  381. package/dist/flare/artifacts/contracts/protocol/interfaces/IIVoterRegistrationTrigger.sol/IIVoterRegistrationTrigger.json +15 -0
  382. package/dist/flare/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +623 -0
  383. package/dist/flare/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +1061 -0
  384. package/dist/flare/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +333 -0
  385. package/dist/flare/artifacts/contracts/token/interfaces/IICleanable.sol/IICleanable.json +41 -0
  386. package/dist/flare/artifacts/contracts/token/interfaces/IIGovernanceVotePower.sol/IIGovernanceVotePower.json +256 -0
  387. package/dist/flare/artifacts/contracts/token/interfaces/IIVPContract.sol/IIVPContract.json +611 -0
  388. package/dist/flare/artifacts/contracts/token/interfaces/IIVPToken.sol/IIVPToken.json +823 -0
  389. package/dist/flare/index.d.ts +3 -0
  390. package/dist/flare/index.d.ts.map +1 -0
  391. package/dist/flare/mapper.d.ts +3 -0
  392. package/dist/flare/mapper.d.ts.map +1 -0
  393. package/dist/index.d.ts +11 -0
  394. package/dist/index.d.ts.map +1 -0
  395. package/dist/index.js +9394 -0
  396. package/dist/index.js.map +1 -0
  397. package/dist/songbird/abis.d.ts +13 -0
  398. package/dist/songbird/abis.d.ts.map +1 -0
  399. package/dist/songbird/artifacts/contracts/ContractRegistry.sol/ContractRegistry.json +1 -0
  400. package/dist/songbird/artifacts/contracts/FtsoV2Interface.sol/FtsoV2Interface.json +274 -0
  401. package/dist/songbird/artifacts/contracts/IAddressValidity.sol/IAddressValidity.json +1 -0
  402. package/dist/songbird/artifacts/contracts/IAddressValidityVerification.sol/IAddressValidityVerification.json +89 -0
  403. package/dist/songbird/artifacts/contracts/IAgentPing.sol/IAgentPing.json +99 -0
  404. package/dist/songbird/artifacts/contracts/IAssetManager.sol/IAssetManager.json +6169 -0
  405. package/dist/songbird/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +1696 -0
  406. package/dist/songbird/artifacts/contracts/IBalanceDecreasingTransaction.sol/IBalanceDecreasingTransaction.json +1 -0
  407. package/dist/songbird/artifacts/contracts/IBalanceDecreasingTransactionVerification.sol/IBalanceDecreasingTransactionVerification.json +104 -0
  408. package/dist/songbird/artifacts/contracts/ICChainStake.sol/ICChainStake.json +375 -0
  409. package/dist/songbird/artifacts/contracts/ICChainVotePower.sol/ICChainVotePower.json +300 -0
  410. package/dist/songbird/artifacts/contracts/IClaimSetupManager.sol/IClaimSetupManager.json +656 -0
  411. package/dist/songbird/artifacts/contracts/IConfirmedBlockHeightExists.sol/IConfirmedBlockHeightExists.json +1 -0
  412. package/dist/songbird/artifacts/contracts/IConfirmedBlockHeightExistsVerification.sol/IConfirmedBlockHeightExistsVerification.json +99 -0
  413. package/dist/songbird/artifacts/contracts/IDelegationAccount.sol/IDelegationAccount.json +135 -0
  414. package/dist/songbird/artifacts/contracts/IEVMTransaction.sol/IEVMTransaction.json +1 -0
  415. package/dist/songbird/artifacts/contracts/IEVMTransactionVerification.sol/IEVMTransactionVerification.json +166 -0
  416. package/dist/songbird/artifacts/contracts/IEntityManager.sol/IEntityManager.json +790 -0
  417. package/dist/songbird/artifacts/contracts/IFastUpdateIncentiveManager.sol/IFastUpdateIncentiveManager.json +230 -0
  418. package/dist/songbird/artifacts/contracts/IFastUpdater.sol/IFastUpdater.json +354 -0
  419. package/dist/songbird/artifacts/contracts/IFastUpdatesConfiguration.sol/IFastUpdatesConfiguration.json +190 -0
  420. package/dist/songbird/artifacts/contracts/IFdcHub.sol/IFdcHub.json +138 -0
  421. package/dist/songbird/artifacts/contracts/IFdcInflationConfigurations.sol/IFdcInflationConfigurations.json +88 -0
  422. package/dist/songbird/artifacts/contracts/IFdcRequestFeeConfigurations.sol/IFdcRequestFeeConfigurations.json +65 -0
  423. package/dist/songbird/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +828 -0
  424. package/dist/songbird/artifacts/contracts/IFeeCalculator.sol/IFeeCalculator.json +40 -0
  425. package/dist/songbird/artifacts/contracts/IFlareAssetRegistry.sol/IFlareAssetRegistry.json +232 -0
  426. package/dist/songbird/artifacts/contracts/IFlareContractRegistry.sol/IFlareContractRegistry.json +96 -0
  427. package/dist/songbird/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +109 -0
  428. package/dist/songbird/artifacts/contracts/IFlareSystemsManager.sol/IFlareSystemsManager.json +649 -0
  429. package/dist/songbird/artifacts/contracts/IFtso.sol/IFtso.json +503 -0
  430. package/dist/songbird/artifacts/contracts/IFtsoFeedDecimals.sol/IFtsoFeedDecimals.json +168 -0
  431. package/dist/songbird/artifacts/contracts/IFtsoFeedIdConverter.sol/IFtsoFeedIdConverter.json +50 -0
  432. package/dist/songbird/artifacts/contracts/IFtsoFeedPublisher.sol/IFtsoFeedPublisher.json +214 -0
  433. package/dist/songbird/artifacts/contracts/IFtsoInflationConfigurations.sol/IFtsoInflationConfigurations.json +98 -0
  434. package/dist/songbird/artifacts/contracts/IFtsoManager.sol/IFtsoManager.json +367 -0
  435. package/dist/songbird/artifacts/contracts/IFtsoRegistry.sol/IFtsoRegistry.json +436 -0
  436. package/dist/songbird/artifacts/contracts/IFtsoRewardManager.sol/IFtsoRewardManager.json +693 -0
  437. package/dist/songbird/artifacts/contracts/IFtsoRewardOffersManager.sol/IFtsoRewardOffersManager.json +188 -0
  438. package/dist/songbird/artifacts/contracts/IGenericRewardManager.sol/IGenericRewardManager.json +239 -0
  439. package/dist/songbird/artifacts/contracts/IGovernanceSettings.sol/IGovernanceSettings.json +60 -0
  440. package/dist/songbird/artifacts/contracts/IGovernanceVotePower.sol/IGovernanceVotePower.json +108 -0
  441. package/dist/songbird/artifacts/contracts/IGovernor.sol/IGovernor.json +515 -0
  442. package/dist/songbird/artifacts/contracts/IIncreaseManager.sol/IIncreaseManager.json +15 -0
  443. package/dist/songbird/artifacts/contracts/IJsonApi.sol/IJsonApi.json +1 -0
  444. package/dist/songbird/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +89 -0
  445. package/dist/songbird/artifacts/contracts/IPayment.sol/IPayment.json +1 -0
  446. package/dist/songbird/artifacts/contracts/IPaymentVerification.sol/IPaymentVerification.json +149 -0
  447. package/dist/songbird/artifacts/contracts/IPollingManagementGroup.sol/IPollingManagementGroup.json +547 -0
  448. package/dist/songbird/artifacts/contracts/IPriceSubmitter.sol/IPriceSubmitter.json +191 -0
  449. package/dist/songbird/artifacts/contracts/IRNat.sol/IRNat.json +930 -0
  450. package/dist/songbird/artifacts/contracts/IRNatAccount.sol/IRNatAccount.json +137 -0
  451. package/dist/songbird/artifacts/contracts/IRandomProvider.sol/IRandomProvider.json +56 -0
  452. package/dist/songbird/artifacts/contracts/IRedemptionTimeExtension.sol/IRedemptionTimeExtension.json +28 -0
  453. package/dist/songbird/artifacts/contracts/IReferencedPaymentNonexistence.sol/IReferencedPaymentNonexistence.json +1 -0
  454. package/dist/songbird/artifacts/contracts/IReferencedPaymentNonexistenceVerification.sol/IReferencedPaymentNonexistenceVerification.json +124 -0
  455. package/dist/songbird/artifacts/contracts/IRelay.sol/IRelay.json +426 -0
  456. package/dist/songbird/artifacts/contracts/IRewardManager.sol/IRewardManager.json +605 -0
  457. package/dist/songbird/artifacts/contracts/ISubmission.sol/ISubmission.json +133 -0
  458. package/dist/songbird/artifacts/contracts/ITransferFees.sol/ITransferFees.json +394 -0
  459. package/dist/songbird/artifacts/contracts/IVPContractEvents.sol/IVPContractEvents.json +64 -0
  460. package/dist/songbird/artifacts/contracts/IVPToken.sol/IVPToken.json +649 -0
  461. package/dist/songbird/artifacts/contracts/IValidatorRewardOffersManager.sol/IValidatorRewardOffersManager.json +21 -0
  462. package/dist/songbird/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +118 -0
  463. package/dist/songbird/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +256 -0
  464. package/dist/songbird/artifacts/contracts/IVoterWhitelister.sol/IVoterWhitelister.json +190 -0
  465. package/dist/songbird/artifacts/contracts/IWNat.sol/IWNat.json +752 -0
  466. package/dist/songbird/artifacts/contracts/IWNatDelegationFee.sol/IWNatDelegationFee.json +144 -0
  467. package/dist/songbird/artifacts/contracts/IWeb2Json.sol/IWeb2Json.json +1 -0
  468. package/dist/songbird/artifacts/contracts/IWeb2JsonVerification.sol/IWeb2JsonVerification.json +109 -0
  469. package/dist/songbird/artifacts/contracts/ProtocolsV2Interface.sol/ProtocolsV2Interface.json +118 -0
  470. package/dist/songbird/artifacts/contracts/RandomNumberV2Interface.sol/RandomNumberV2Interface.json +54 -0
  471. package/dist/songbird/artifacts/contracts/RewardsV2Interface.sol/RewardsV2Interface.json +171 -0
  472. package/dist/songbird/artifacts/contracts/TestFtsoV2Interface.sol/TestFtsoV2Interface.json +274 -0
  473. package/dist/songbird/artifacts/contracts/addressUpdater/interfaces/IIAddressUpdatable.sol/IIAddressUpdatable.json +20 -0
  474. package/dist/songbird/artifacts/contracts/addressUpdater/interfaces/IIAddressUpdater.sol/IIAddressUpdater.json +96 -0
  475. package/dist/songbird/artifacts/contracts/assetRegistry/interfaces/IIERC20WithMetadata.sol/IIERC20WithMetadata.json +224 -0
  476. package/dist/songbird/artifacts/contracts/assetRegistry/interfaces/IIFlareAssetRegistry.sol/IIFlareAssetRegistry.json +307 -0
  477. package/dist/songbird/artifacts/contracts/assetRegistry/interfaces/IIFlareAssetRegistryProvider.sol/IIFlareAssetRegistryProvider.json +57 -0
  478. package/dist/songbird/artifacts/contracts/customFeeds/interfaces/IICustomFeed.sol/IICustomFeed.json +51 -0
  479. package/dist/songbird/artifacts/contracts/diamond/interfaces/IDiamondLoupe.sol/IDiamondLoupe.json +78 -0
  480. package/dist/songbird/artifacts/contracts/fdc/interfaces/ITypeTemplate.sol/ITypeTemplate.json +1 -0
  481. package/dist/songbird/artifacts/contracts/fdc/interfaces/ITypeTemplateVerification.sol/ITypeTemplateVerification.json +140 -0
  482. package/dist/songbird/artifacts/contracts/fscV1/interfaces/IIFastUpdaterView.sol/IIFastUpdaterView.json +31 -0
  483. package/dist/songbird/artifacts/contracts/fscV1/interfaces/IIFtsoManagerProxy.sol/IIFtsoManagerProxy.json +54 -0
  484. package/dist/songbird/artifacts/contracts/ftso/interfaces/IIFtso.sol/IIFtso.json +944 -0
  485. package/dist/songbird/artifacts/contracts/ftso/interfaces/IIFtsoFeedPublisher.sol/IIFtsoFeedPublisher.json +254 -0
  486. package/dist/songbird/artifacts/contracts/ftso/interfaces/IIFtsoManager.sol/IIFtsoManager.json +869 -0
  487. package/dist/songbird/artifacts/contracts/ftso/interfaces/IIFtsoManagerV1.sol/IIFtsoManagerV1.json +93 -0
  488. package/dist/songbird/artifacts/contracts/genesis/interfaces/IFlareDaemonize.sol/IFlareDaemonize.json +28 -0
  489. package/dist/songbird/artifacts/contracts/genesis/interfaces/IFtsoGenesis.sol/IFtsoGenesis.json +82 -0
  490. package/dist/songbird/artifacts/contracts/genesis/interfaces/IFtsoManagerGenesis.sol/IFtsoManagerGenesis.json +15 -0
  491. package/dist/songbird/artifacts/contracts/genesis/interfaces/IFtsoRegistryGenesis.sol/IFtsoRegistryGenesis.json +21 -0
  492. package/dist/songbird/artifacts/contracts/genesis/interfaces/IIPriceSubmitter.sol/IIPriceSubmitter.json +276 -0
  493. package/dist/songbird/artifacts/contracts/genesis/interfaces/IInflationGenesis.sol/IInflationGenesis.json +9 -0
  494. package/dist/songbird/artifacts/contracts/governance/interfaces/IIGovernorProposer.sol/IIGovernorProposer.json +21 -0
  495. package/dist/songbird/artifacts/contracts/governance/interfaces/IIPollingFoundation.sol/IIPollingFoundation.json +671 -0
  496. package/dist/songbird/artifacts/contracts/governance/interfaces/IIPollingManagementGroup.sol/IIPollingManagementGroup.json +679 -0
  497. package/dist/songbird/artifacts/contracts/inflation/interfaces/IIInflationAllocation.sol/IIInflationAllocation.json +40 -0
  498. package/dist/songbird/artifacts/contracts/inflation/interfaces/IIInflationReceiver.sol/IIInflationReceiver.json +61 -0
  499. package/dist/songbird/artifacts/contracts/inflation/interfaces/IIInflationReceiverV1.sol/IIInflationReceiverV1.json +48 -0
  500. package/dist/songbird/artifacts/contracts/inflation/interfaces/IIInflationV1.sol/IIInflationV1.json +133 -0
  501. package/dist/songbird/artifacts/contracts/inflation/interfaces/IIPreInflationCalculation.sol/IIPreInflationCalculation.json +9 -0
  502. package/dist/songbird/artifacts/contracts/inflation/interfaces/IISupply.sol/IISupply.json +73 -0
  503. package/dist/songbird/artifacts/contracts/mockXAsset/interfaces/ICollateralizable.sol/ICollateralizable.json +225 -0
  504. package/dist/songbird/artifacts/contracts/protocol/interfaces/IIClaimSetupManager.sol/IIClaimSetupManager.json +786 -0
  505. package/dist/songbird/artifacts/contracts/protocol/interfaces/IICleanupBlockNumberManager.sol/IICleanupBlockNumberManager.json +15 -0
  506. package/dist/songbird/artifacts/contracts/protocol/interfaces/IIEntityManager.sol/IIEntityManager.json +939 -0
  507. package/dist/songbird/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +162 -0
  508. package/dist/songbird/artifacts/contracts/protocol/interfaces/IIFlareSystemsManager.sol/IIFlareSystemsManager.json +1217 -0
  509. package/dist/songbird/artifacts/contracts/protocol/interfaces/IINodePossessionVerifier.sol/IINodePossessionVerifier.json +30 -0
  510. package/dist/songbird/artifacts/contracts/protocol/interfaces/IIPublicKeyVerifier.sol/IIPublicKeyVerifier.json +30 -0
  511. package/dist/songbird/artifacts/contracts/protocol/interfaces/IIRelay.sol/IIRelay.json +477 -0
  512. package/dist/songbird/artifacts/contracts/protocol/interfaces/IIRewardEpochSwitchoverTrigger.sol/IIRewardEpochSwitchoverTrigger.json +25 -0
  513. package/dist/songbird/artifacts/contracts/protocol/interfaces/IIRewardManager.sol/IIRewardManager.json +714 -0
  514. package/dist/songbird/artifacts/contracts/protocol/interfaces/IISubmission.sol/IISubmission.json +161 -0
  515. package/dist/songbird/artifacts/contracts/protocol/interfaces/IIVoterRegistrationTrigger.sol/IIVoterRegistrationTrigger.json +15 -0
  516. package/dist/songbird/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +623 -0
  517. package/dist/songbird/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +1061 -0
  518. package/dist/songbird/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +333 -0
  519. package/dist/songbird/artifacts/contracts/token/interfaces/IICleanable.sol/IICleanable.json +54 -0
  520. package/dist/songbird/artifacts/contracts/token/interfaces/IIGovernanceVotePower.sol/IIGovernanceVotePower.json +243 -0
  521. package/dist/songbird/artifacts/contracts/token/interfaces/IIVPContract.sol/IIVPContract.json +600 -0
  522. package/dist/songbird/artifacts/contracts/token/interfaces/IIVPToken.sol/IIVPToken.json +781 -0
  523. package/dist/songbird/artifacts/contracts/tokenPools/interfaces/IIFtsoRewardManager.sol/IIFtsoRewardManager.json +953 -0
  524. package/dist/songbird/artifacts/contracts/tokenPools/interfaces/IITokenPool.sol/IITokenPool.json +25 -0
  525. package/dist/songbird/artifacts/contracts/userInterfaces/data/AgentInfo.sol/AgentInfo.json +1 -0
  526. package/dist/songbird/artifacts/contracts/userInterfaces/data/AgentSettings.sol/AgentSettings.json +1 -0
  527. package/dist/songbird/artifacts/contracts/userInterfaces/data/AssetManagerSettings.sol/AssetManagerSettings.json +1 -0
  528. package/dist/songbird/artifacts/contracts/userInterfaces/data/AvailableAgentInfo.sol/AvailableAgentInfo.json +1 -0
  529. package/dist/songbird/artifacts/contracts/userInterfaces/data/CollateralType.sol/CollateralType.json +1 -0
  530. package/dist/songbird/artifacts/contracts/userInterfaces/data/RedemptionTicketInfo.sol/RedemptionTicketInfo.json +1 -0
  531. package/dist/songbird/artifacts/contracts/utils/interfaces/IIFtsoRegistry.sol/IIFtsoRegistry.json +468 -0
  532. package/dist/songbird/artifacts/contracts/utils/interfaces/IIFtsoRegistryV1.sol/IIFtsoRegistryV1.json +111 -0
  533. package/dist/songbird/artifacts/contracts/utils/interfaces/IIRandomProvider.sol/IIRandomProvider.json +51 -0
  534. package/dist/songbird/artifacts/contracts/utils/interfaces/IIVoterWhitelister.sol/IIVoterWhitelister.json +299 -0
  535. package/dist/songbird/artifacts/contracts/utils/interfaces/IUpdateValidators.sol/IUpdateValidators.json +9 -0
  536. package/dist/songbird/index.d.ts +3 -0
  537. package/dist/songbird/index.d.ts.map +1 -0
  538. package/dist/songbird/mapper.d.ts +3 -0
  539. package/dist/songbird/mapper.d.ts.map +1 -0
  540. package/flare/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +107 -0
  541. package/flare/artifacts/contracts/IJsonApi.sol/IJsonApi.json +1 -0
  542. package/flare/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +89 -0
  543. package/flare/artifacts/contracts/IWeb2Json.sol/IWeb2Json.json +1 -0
  544. package/flare/artifacts/contracts/IWeb2JsonVerification.sol/IWeb2JsonVerification.json +109 -0
  545. package/package.json +1 -1
  546. package/songbird/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +107 -0
  547. package/songbird/artifacts/contracts/IJsonApi.sol/IJsonApi.json +1 -0
  548. package/songbird/artifacts/contracts/IJsonApiVerification.sol/IJsonApiVerification.json +89 -0
  549. package/songbird/artifacts/contracts/IWeb2Json.sol/IWeb2Json.json +1 -0
  550. package/songbird/artifacts/contracts/IWeb2JsonVerification.sol/IWeb2JsonVerification.json +109 -0
@@ -0,0 +1,68 @@
1
+ import { TypeRecord } from "./config-types";
2
+ import { ethers } from "ethers";
3
+ import { ARBase, ARESBase } from "./interfaces";
4
+ /**
5
+ * Attestation definition store. Contains all the attestation type definitions
6
+ * that are contained in the folder, from which the store was initialized.
7
+ */
8
+ export declare class AttestationDefinitionStore {
9
+ definitions: Map<string, TypeRecord>;
10
+ coder: ethers.AbiCoder;
11
+ constructor(configsPath?: string);
12
+ /**
13
+ * Initializes the store by reading the attestation type definition configs from the
14
+ * provided path.
15
+ * @param configsPath
16
+ */
17
+ private initialize;
18
+ /**
19
+ * Returns the attestation type definition for the provided attestation type id.
20
+ * @param attestationType
21
+ * @returns
22
+ */
23
+ getDefinitionForDecodedAttestationType(attestationType: string): TypeRecord | undefined;
24
+ getABIsForDecodedAttestationType(attestationTypeId: string): {
25
+ requestAbi: any;
26
+ responseAbi: any;
27
+ proofAbi: any;
28
+ };
29
+ /**
30
+ * Calculated usual or salted hash of the attestation response.
31
+ * The function throws an error if an attestation type is not supported or
32
+ * the response does not match the provided ABI definition.
33
+ * @param response
34
+ * @param salt
35
+ * @returns
36
+ */
37
+ attestationResponseHash<T extends ARESBase>(response: T, salt?: string): string;
38
+ /**
39
+ * Extracts the attestation type prefix from the provided attestation request.
40
+ * The prefix consists of 3 x 32 bytes: attestation type, source id and message integrity code.
41
+ * The rest of the bytes define ABI encoded request body.
42
+ * @param bytes
43
+ * @param decodeAttestationTypeName
44
+ * @returns
45
+ */
46
+ static extractPrefixFromRequest(bytes: string, decodeAttestationTypeName?: boolean): ARBase;
47
+ /**
48
+ * Encodes attestation request.
49
+ * The request must have the attestation type encoded into 32-byte 0x-prefixed string.
50
+ * @param request
51
+ * @returns
52
+ */
53
+ encodeRequest(request: ARBase): string;
54
+ /**
55
+ * Parses attestation request.
56
+ * @param bytes
57
+ * @returns
58
+ */
59
+ parseRequest<AR extends ARBase>(bytes: string, decodeAttestationTypeName?: boolean): AR;
60
+ /**
61
+ * Compares two attestation requests.
62
+ * @param request1
63
+ * @param request2
64
+ * @returns
65
+ */
66
+ equalsRequest(request1: ARBase, request2: ARBase): boolean;
67
+ }
68
+ //# sourceMappingURL=AttestationDefinitionStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttestationDefinitionStore.d.ts","sourceRoot":"","sources":["../../../../../coston/StateConnector/libs/ts/AttestationDefinitionStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAYhD;;;GAGG;AACH,qBAAa,0BAA0B;IACnC,WAAW,EAAG,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACtC,KAAK,EAAG,MAAM,CAAC,QAAQ,CAAC;gBAEZ,WAAW,SAAwC;IAG/D;;;;OAIG;IACH,OAAO,CAAC,UAAU;IAKlB;;;;OAIG;IACH,sCAAsC,CAAC,eAAe,EAAE,MAAM;IAI9D,gCAAgC,CAAC,iBAAiB,EAAE,MAAM;;;;;IAY1D;;;;;;;OAOG;IACH,uBAAuB,CAAC,CAAC,SAAS,QAAQ,EAAE,QAAQ,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM;IAe/E;;;;;;;OAOG;IACH,MAAM,CAAC,wBAAwB,CAAC,KAAK,EAAE,MAAM,EAAE,yBAAyB,UAAQ,GAAG,MAAM;IAsBzF;;;;;OAKG;IACH,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM;IAoBtC;;;;OAIG;IACH,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,yBAAyB,UAAQ,GAAG,EAAE;IAqBrF;;;;;OAKG;IACH,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO;CAc7D"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Attestation status
3
+ */
4
+ export declare enum AttestationResponseStatus {
5
+ /**
6
+ * Attestation request is valid.
7
+ */
8
+ VALID = "VALID",
9
+ /**
10
+ * Attestation request is invalid.
11
+ */
12
+ INVALID = "INVALID",
13
+ /**
14
+ * Attestation request cannot be confirmed neither rejected by the verifier at the moment.
15
+ */
16
+ INDETERMINATE = "INDETERMINATE"
17
+ }
18
+ /**
19
+ * Object returned as a result of attestation.
20
+ * If status is 'VALID' then parameters @param response contains attestation response.
21
+ * Otherwise, @param response is undefined.
22
+ */
23
+ export declare class AttestationResponse<RES> {
24
+ /**
25
+ * Verification status.
26
+ */
27
+ status: AttestationResponseStatus;
28
+ /**
29
+ * Attestation response.
30
+ */
31
+ response?: RES;
32
+ }
33
+ //# sourceMappingURL=AttestationResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttestationResponse.d.ts","sourceRoot":"","sources":["../../../../../coston/StateConnector/libs/ts/AttestationResponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,yBAAyB;IACjC;;OAEG;IACH,KAAK,UAAU;IACf;;OAEG;IACH,OAAO,YAAY;IACnB;;OAEG;IACH,aAAa,kBAAkB;CAClC;AACD;;;;GAIG;AAEH,qBAAa,mBAAmB,CAAC,GAAG;IAChC;;OAEG;IACH,MAAM,EAAG,yBAAyB,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,EAAE,GAAG,CAAC;CAClB"}
@@ -0,0 +1,103 @@
1
+ /**
2
+ * There are several variants for hashing sequences in Merkle trees in cases when there is odd number of hashes on some level.
3
+ * - Bitcoin hashes remaining hash with itself
4
+ * - Ethereum community was considering this:
5
+ * https://github.com/proofchains/python-proofmarshal/blob/efe9b58921b9a306f2b3552c30b84e1043ab866f/proofmarshal/mmr.py#L96
6
+ * - This review shows various options and in particular it describes the "Monero way", which gives balanced trees but they
7
+ * had some issues with bugs
8
+ * https://medium.com/coinmonks/merkle-trees-concepts-and-use-cases-5da873702318
9
+ *
10
+ * The current implementation is a derivation and simplification of "Monero" way. It uses ideas
11
+ * from binary heaps represented in array. This significantly simplifies the construction both of a Merkle tree and a proof.
12
+ *
13
+ * Important formulas for a left-aligned full tree represented in an array for n hashes as leafs
14
+ * - array has exactly 2*n - 1 nodes (n leafs other internal)
15
+ * - array[0] is merkle root, array[n-1, ..., 2*n - 2] contains leaf hashes in order
16
+ * - given tree array of length l = 2*n - 1, then n = floor((l + 1)/2) --- be careful with 1 element
17
+ * - parent(i) = Math.floor((i - 1) / 2);
18
+ * - left(i) = 2*i + 1
19
+ * - right(i) = 2*i + 2
20
+ *
21
+ * Importants: all input strings should represent bytes32, hence should be 32-byte padded hex strings.
22
+ */
23
+ /**
24
+ * Single value hash function. Uses keccak function compatible with the one used in Solidity
25
+ * It is supposed to be used with `0x`-prefixed 32-byte strings as hex values
26
+ * @param val input hash in form of the string `0x` prefixed.
27
+ * @returns hash of the input value
28
+ */
29
+ export declare function singleHash(val: string): string;
30
+ /**
31
+ * Helper function for constructing the commit hash used with StateConnector.sol contract
32
+ * @param merkleRoot merkle root (`0x`-prefixed 32-byte hex string)
33
+ * @param randomNumber secure random number (`0x`-prefixed 32-byte hex string)
34
+ * @param address addres (`0x`-prefixed 20-byte hex string)
35
+ * @returns `0x`-prefixed 32-byte hex string (hash)
36
+ */
37
+ export declare function commitHash(merkleRoot: string, randomNumber: string, address: string): string;
38
+ /**
39
+ * A sorted hash of two 32-byte strings
40
+ * @param x first `0x`-prefixed 32-byte hex string
41
+ * @param y second `0x`-prefixed 32-byte hex string
42
+ * @returns the sorted hash
43
+ */
44
+ export declare function sortedHashPair(x: string, y: string): string;
45
+ /**
46
+ * Merkle tree implementation with all the helper function for constructing the tree and extracting the root and proofs for every leaf.
47
+ */
48
+ export declare class MerkleTree {
49
+ _tree: string[];
50
+ constructor(values: string[]);
51
+ /**
52
+ * Merkle root
53
+ */
54
+ get root(): string | undefined;
55
+ /**
56
+ * The array representing full tree (length is `2*hashCount - 1`)
57
+ */
58
+ get tree(): string[];
59
+ /**
60
+ * Number of leaves in the Merkle tree
61
+ */
62
+ get hashCount(): number;
63
+ /**
64
+ * Returns leaves in array of the length `hashCount` sorted as `0x`-prefixed 32-byte hex strings.
65
+ */
66
+ get sortedHashes(): string[];
67
+ /**
68
+ * Parent index of the node at index `i` in array
69
+ * @param i index of a node in the Merkle tree
70
+ * @returns parent index
71
+ */
72
+ parent(i: number): number;
73
+ /**
74
+ * Given an array of leave hashes (`0x`-prefixed 32-byte hex strings) it builds the Merkle tree.
75
+ * @param values
76
+ */
77
+ private build;
78
+ /**
79
+ * Returns the hash of the `i`-th leaf (index determined by sorting and positioning in the build)
80
+ * @param i
81
+ * @returns
82
+ */
83
+ getHash(i: number): string | undefined;
84
+ /** Binary search
85
+ * Famously prone to subtle bugs, so over-documented with proof
86
+ */
87
+ private binarySearch;
88
+ /**
89
+ * Extracts the Merkle proof for the given hash, if it is in the tree
90
+ * @param hashOrIndex the hash whose proof to return
91
+ * @returns the Merkle proof - a list of `0x`-prefixed 32-byte hex strings
92
+ */
93
+ getProof(hashOrIndex: string | number): string[] | undefined;
94
+ }
95
+ /**
96
+ * Verifies a Merkle proof for a given leaf
97
+ * @param leaf leaf as (`0x`-prefixed 32-byte hex string)
98
+ * @param proof Merkle proof (a list of `0x`-prefixed 32-byte hex strings)
99
+ * @param root Merkle root (`0x`-prefixed 32-byte hex string)
100
+ * @returns `true` if the proof is valid, `false` otherwise
101
+ */
102
+ export declare function verifyWithMerkleProof(leaf: string, proof: string[], root: string): boolean;
103
+ //# sourceMappingURL=MerkleTree.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MerkleTree.d.ts","sourceRoot":"","sources":["../../../../../coston/StateConnector/libs/ts/MerkleTree.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAMH;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,UAErC;AAED;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAE5F;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,UAKlD;AAED;;GAEG;AACH,qBAAa,UAAU;IACnB,KAAK,EAAE,MAAM,EAAE,CAAM;gBAET,MAAM,EAAE,MAAM,EAAE;IAI5B;;OAEG;IACH,IAAW,IAAI,uBAEd;IAED;;OAEG;IACH,IAAW,IAAI,IAAI,MAAM,EAAE,CAE1B;IAED;;OAEG;IACH,IAAW,SAAS,WAEnB;IAED;;OAEG;IACH,IAAW,YAAY,aAEtB;IAED;;;;OAIG;IACI,MAAM,CAAC,CAAC,EAAE,MAAM;IAIvB;;;OAGG;IACH,OAAO,CAAC,KAAK;IAsBb;;;;OAIG;IACI,OAAO,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAQ7C;;OAEG;IACH,OAAO,CAAC,YAAY;IAepB;;;;OAIG;IACI,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS;CA8BtE;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,WAOhF"}
@@ -0,0 +1,143 @@
1
+ /**
2
+ * ABI definition fields for request, response and proof of an attestation type.
3
+ */
4
+ export interface ABIDefinitions {
5
+ /**
6
+ * JSON ABI definition for attestation type request
7
+ */
8
+ requestAbi: any;
9
+ /**
10
+ * JSON ABI definition for attestation type response
11
+ */
12
+ responseAbi: any;
13
+ /**
14
+ * JSON ABI definition for attestation type proof
15
+ */
16
+ proofAbi: any;
17
+ }
18
+ /**
19
+ * Metadata for basic and ABI configs for an attestation type.
20
+ */
21
+ export interface TypeRecord extends ABIDefinitions {
22
+ /**
23
+ * Attestation type name. Must be unique and in PascalCase (also known as UpperCamelCase, hence CamelCase with the first letter capitalized).
24
+ */
25
+ name: string;
26
+ /**
27
+ * Full comment for the attestation type as provided in the Solidity definition.
28
+ */
29
+ fullComment: string;
30
+ /**
31
+ * Description of the attestation type. Used also in the generated documentation.
32
+ */
33
+ description: string;
34
+ /**
35
+ * Comma separated list of supported sources for the attestation type. The strings defining types are community defined.
36
+ * Currently, the following are supported: BTC, DOGE, XRP, ETH
37
+ */
38
+ supported: string[];
39
+ /**
40
+ * Text describing the attestation type verification rules. In Markdown format.
41
+ */
42
+ verification: string;
43
+ /**
44
+ * The description of how lowest used timestamp is obtained from the attestation response.
45
+ * Usually a field name.
46
+ */
47
+ lut: string;
48
+ /**
49
+ * Metadata about the struct describing attestation request.
50
+ */
51
+ request: StructRecord;
52
+ /**
53
+ * Metadata about the struct describing attestation response.
54
+ */
55
+ response: StructRecord;
56
+ /**
57
+ * Metadata about the struct describing attestation proof.
58
+ */
59
+ proof: StructRecord;
60
+ /**
61
+ * Metadata about the struct describing attestation request body.
62
+ */
63
+ requestBody: StructRecord;
64
+ /**
65
+ * Metadata about the struct describing attestation response body.
66
+ */
67
+ responseBody: StructRecord;
68
+ /**
69
+ * List of metadata objects describing structs used in attestation request.
70
+ */
71
+ requestStructs: StructRecord[];
72
+ /**
73
+ * List of metadata objects describing structs used in attestation response.
74
+ */
75
+ responseStructs: StructRecord[];
76
+ }
77
+ /**
78
+ * Metadata for a struct parameter from a Solidity definition of attestation types.
79
+ */
80
+ export interface ParamRecord {
81
+ /**
82
+ * Field name.
83
+ */
84
+ name: string;
85
+ /**
86
+ * Field type as defined in Solidity.
87
+ */
88
+ type: string;
89
+ /**
90
+ * Short field type (omitting position prefixes for structs)
91
+ */
92
+ typeSimple?: string;
93
+ /**
94
+ * Field description. Possibly multiline.
95
+ */
96
+ comment: string;
97
+ }
98
+ /**
99
+ * Metadata for a struct from a Solidity definition of attestation types.
100
+ */
101
+ export interface StructRecord {
102
+ /**
103
+ * Struct name.
104
+ */
105
+ name: string;
106
+ /**
107
+ * Full comment for the struct as provided in the Solidity definition.
108
+ */
109
+ fullComment: string;
110
+ /**
111
+ * Struct description. Possibly multiline, can use Markdown.
112
+ */
113
+ description: string;
114
+ /**
115
+ * Additional markdown text to be used above the struct fields description in documentation.
116
+ */
117
+ above?: string;
118
+ /**
119
+ * Additional markdown text to be used below the struct fields description in documentation.
120
+ */
121
+ below?: string;
122
+ /**
123
+ * List of metadata objects describing struct fields.
124
+ */
125
+ params: ParamRecord[];
126
+ }
127
+ export interface DataSource {
128
+ name: string;
129
+ description: string;
130
+ }
131
+ export interface Protocol {
132
+ name: string;
133
+ description: string;
134
+ }
135
+ export interface AttestationTypeProtocolSupport {
136
+ attestationType: string;
137
+ supportedDataSources: string[];
138
+ }
139
+ export interface ProtocolSupport {
140
+ protocol: string;
141
+ supported: AttestationTypeProtocolSupport[];
142
+ }
143
+ //# sourceMappingURL=config-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-types.d.ts","sourceRoot":"","sources":["../../../../../coston/StateConnector/libs/ts/config-types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,UAAU,EAAE,GAAG,CAAC;IAChB;;OAEG;IACH,WAAW,EAAE,GAAG,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,GAAG,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,UAAW,SAAQ,cAAc;IAC9C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,OAAO,EAAE,YAAY,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,YAAY,CAAC;IACvB;;OAEG;IACH,KAAK,EAAE,YAAY,CAAC;IACpB;;OAEG;IACH,WAAW,EAAE,YAAY,CAAC;IAC1B;;OAEG;IACH,YAAY,EAAE,YAAY,CAAC;IAC3B;;OAEG;IACH,cAAc,EAAE,YAAY,EAAE,CAAC;IAC/B;;OAEG;IACH,eAAe,EAAE,YAAY,EAAE,CAAC;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,EAAE,WAAW,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,UAAU;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,QAAQ;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,8BAA8B;IAC3C,eAAe,EAAE,MAAM,CAAC;IACxB,oBAAoB,EAAE,MAAM,EAAE,CAAC;CAClC;AACD,MAAM,WAAW,eAAe;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,8BAA8B,EAAE,CAAC;CAC/C"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Generic interface for the request of an attestation request.
3
+ */
4
+ export interface ARBase {
5
+ attestationType: string;
6
+ sourceId: string;
7
+ messageIntegrityCode?: string;
8
+ requestBody: any;
9
+ }
10
+ /**
11
+ * Generic interface for the response of an attestation request.
12
+ */
13
+ export interface ARESBase {
14
+ attestationType: string;
15
+ sourceId: string;
16
+ votingRound: string;
17
+ lowestUsedTimestamp: string;
18
+ requestBody: any;
19
+ responseBody: any;
20
+ }
21
+ /**
22
+ * Generic interface for example data usually randomly generated for testing purposes and examples.
23
+ */
24
+ export interface ExampleData<RNM, REQ, RES> {
25
+ requestNoMic: RNM;
26
+ request: REQ;
27
+ response: RES;
28
+ messageIntegrityCode: string;
29
+ encodedRequestZeroMic: string;
30
+ encodedRequest: string;
31
+ }
32
+ //# sourceMappingURL=interfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../../coston/StateConnector/libs/ts/interfaces.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,MAAM;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,WAAW,EAAE,GAAG,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,WAAW,EAAE,GAAG,CAAC;IACjB,YAAY,EAAE,GAAG,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG;IACtC,YAAY,EAAE,GAAG,CAAC;IAClB,OAAO,EAAE,GAAG,CAAC;IACb,QAAQ,EAAE,GAAG,CAAC;IACd,oBAAoB,EAAE,MAAM,CAAC;IAC7B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,cAAc,EAAE,MAAM,CAAC;CAC1B"}
@@ -0,0 +1,9 @@
1
+ export declare function seededRandHex(n: number, seed?: string): string;
2
+ /**
3
+ * Helper random value generator for Solidity type values used in in randomized attestation requests or responses.
4
+ * Primarily used for testing
5
+ * @param typeName solidity type (e.g. uint256)
6
+ * @returns
7
+ */
8
+ export declare function randSol(typeName: string, seed?: string): string | boolean;
9
+ //# sourceMappingURL=random.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"random.d.ts","sourceRoot":"","sources":["../../../../../coston/StateConnector/libs/ts/random.ts"],"names":[],"mappings":"AAEA,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,SAAM,UAElD;AAED;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,SAAM,GAAG,MAAM,GAAG,OAAO,CAyDtE"}
@@ -0,0 +1,67 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,95 @@
1
+ export declare namespace AddressValidity {
2
+ const NAME = "AddressValidity";
3
+ const TYPE = "0x4164647265737356616c69646974790000000000000000000000000000000000";
4
+ /**
5
+ * Toplevel request
6
+ */
7
+ interface Request {
8
+ /**
9
+ * ID of the attestation type.
10
+ */
11
+ attestationType: string;
12
+ /**
13
+ * Id of the data source.
14
+ */
15
+ sourceId: string;
16
+ /**
17
+ * `MessageIntegrityCode` that is derived from the expected response.
18
+ */
19
+ messageIntegrityCode: string;
20
+ /**
21
+ * Data defining the request. Type (struct) and interpretation is determined by the `attestationType`.
22
+ */
23
+ requestBody: RequestBody;
24
+ }
25
+ /**
26
+ * Toplevel response
27
+ */
28
+ interface Response {
29
+ /**
30
+ * Extracted from the request.
31
+ */
32
+ attestationType: string;
33
+ /**
34
+ * Extracted from the request.
35
+ */
36
+ sourceId: string;
37
+ /**
38
+ * The ID of the State Connector round in which the request was considered.
39
+ */
40
+ votingRound: string;
41
+ /**
42
+ * The lowest timestamp used to generate the response.
43
+ */
44
+ lowestUsedTimestamp: string;
45
+ /**
46
+ * Extracted from the request.
47
+ */
48
+ requestBody: RequestBody;
49
+ /**
50
+ * Data defining the response. The verification rules for the construction of the response body and the type are defined per specific `attestationType`.
51
+ */
52
+ responseBody: ResponseBody;
53
+ }
54
+ /**
55
+ * Toplevel proof
56
+ */
57
+ interface Proof {
58
+ /**
59
+ * Merkle proof corresponding to the attestation response.
60
+ */
61
+ merkleProof: string[];
62
+ /**
63
+ * Attestation response.
64
+ */
65
+ data: Response;
66
+ }
67
+ /**
68
+ * Request body for AddressValidity attestation type
69
+ */
70
+ interface RequestBody {
71
+ /**
72
+ * Address to be verified.
73
+ */
74
+ addressStr: string;
75
+ }
76
+ /**
77
+ * Response body for AddressValidity attestation type
78
+ */
79
+ interface ResponseBody {
80
+ /**
81
+ * Boolean indicator of the address validity.
82
+ */
83
+ isValid: boolean;
84
+ /**
85
+ * If `isValid`, standard form of the validated address. Otherwise an empty string.
86
+ */
87
+ standardAddress: string;
88
+ /**
89
+ * If `isValid`, standard address hash of the validated address. Otherwise a zero bytes32 string.
90
+ */
91
+ standardAddressHash: string;
92
+ }
93
+ type RequestNoMic = Omit<Request, "messageIntegrityCode">;
94
+ }
95
+ //# sourceMappingURL=AddressValidity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddressValidity.d.ts","sourceRoot":"","sources":["../../../../coston/StateConnector/typescript/AddressValidity.ts"],"names":[],"mappings":"AAAA,yBAAiB,eAAe,CAAC;IACtB,MAAM,IAAI,oBAAoB,CAAC;IAC/B,MAAM,IAAI,uEAAuE,CAAC;IAEzF;;OAEG;IACH,UAAiB,OAAO;QACpB;;WAEG;QACH,eAAe,EAAE,MAAM,CAAC;QAExB;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,oBAAoB,EAAE,MAAM,CAAC;QAE7B;;WAEG;QACH,WAAW,EAAE,WAAW,CAAC;KAC5B;IAED;;OAEG;IACH,UAAiB,QAAQ;QACrB;;WAEG;QACH,eAAe,EAAE,MAAM,CAAC;QAExB;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,mBAAmB,EAAE,MAAM,CAAC;QAE5B;;WAEG;QACH,WAAW,EAAE,WAAW,CAAC;QAEzB;;WAEG;QACH,YAAY,EAAE,YAAY,CAAC;KAC9B;IAED;;OAEG;IACH,UAAiB,KAAK;QAClB;;WAEG;QACH,WAAW,EAAE,MAAM,EAAE,CAAC;QAEtB;;WAEG;QACH,IAAI,EAAE,QAAQ,CAAC;KAClB;IAED;;OAEG;IACH,UAAiB,WAAW;QACxB;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;KACtB;IAED;;OAEG;IACH,UAAiB,YAAY;QACzB;;WAEG;QACH,OAAO,EAAE,OAAO,CAAC;QAEjB;;WAEG;QACH,eAAe,EAAE,MAAM,CAAC;QAExB;;WAEG;QACH,mBAAmB,EAAE,MAAM,CAAC;KAC/B;IAED,KAAY,YAAY,GAAG,IAAI,CAAC,OAAO,EAAE,sBAAsB,CAAC,CAAC;CACpE"}