@flarenetwork/flare-periphery-contract-artifacts 0.1.22 → 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.
Files changed (515) hide show
  1. package/README.md +11 -10
  2. package/package.json +1 -1
  3. package/dist/coston/StateConnector/libs/ts/AttestationDefinitionStore.d.ts +0 -68
  4. package/dist/coston/StateConnector/libs/ts/AttestationDefinitionStore.d.ts.map +0 -1
  5. package/dist/coston/StateConnector/libs/ts/AttestationResponse.d.ts +0 -33
  6. package/dist/coston/StateConnector/libs/ts/AttestationResponse.d.ts.map +0 -1
  7. package/dist/coston/StateConnector/libs/ts/MerkleTree.d.ts +0 -103
  8. package/dist/coston/StateConnector/libs/ts/MerkleTree.d.ts.map +0 -1
  9. package/dist/coston/StateConnector/libs/ts/config-types.d.ts +0 -143
  10. package/dist/coston/StateConnector/libs/ts/config-types.d.ts.map +0 -1
  11. package/dist/coston/StateConnector/libs/ts/interfaces.d.ts +0 -32
  12. package/dist/coston/StateConnector/libs/ts/interfaces.d.ts.map +0 -1
  13. package/dist/coston/StateConnector/libs/ts/random.d.ts +0 -9
  14. package/dist/coston/StateConnector/libs/ts/random.d.ts.map +0 -1
  15. package/dist/coston/StateConnector/libs/ts/utils.d.ts +0 -67
  16. package/dist/coston/StateConnector/libs/ts/utils.d.ts.map +0 -1
  17. package/dist/coston/StateConnector/typescript/AddressValidity.d.ts +0 -95
  18. package/dist/coston/StateConnector/typescript/AddressValidity.d.ts.map +0 -1
  19. package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.d.ts +0 -107
  20. package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.d.ts.map +0 -1
  21. package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.d.ts +0 -103
  22. package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.d.ts.map +0 -1
  23. package/dist/coston/StateConnector/typescript/EVMTransaction.d.ts +0 -160
  24. package/dist/coston/StateConnector/typescript/EVMTransaction.d.ts.map +0 -1
  25. package/dist/coston/StateConnector/typescript/Payment.d.ts +0 -139
  26. package/dist/coston/StateConnector/typescript/Payment.d.ts.map +0 -1
  27. package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.d.ts +0 -115
  28. package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.d.ts.map +0 -1
  29. package/dist/coston/StateConnector/typescript/TypeTemplate.d.ts +0 -146
  30. package/dist/coston/StateConnector/typescript/TypeTemplate.d.ts.map +0 -1
  31. package/dist/coston/StateConnector/typescript/data-sources/data-sources.d.ts +0 -29
  32. package/dist/coston/StateConnector/typescript/data-sources/data-sources.d.ts.map +0 -1
  33. package/dist/coston/StateConnector/typescript/index.d.ts +0 -9
  34. package/dist/coston/StateConnector/typescript/index.d.ts.map +0 -1
  35. package/dist/coston/abis.d.ts +0 -13
  36. package/dist/coston/abis.d.ts.map +0 -1
  37. package/dist/coston/artifacts/contracts/ContractRegistry.sol/ContractRegistry.json +0 -1
  38. package/dist/coston/artifacts/contracts/FtsoV2Interface.sol/FtsoV2Interface.json +0 -274
  39. package/dist/coston/artifacts/contracts/IAddressValidity.sol/IAddressValidity.json +0 -1
  40. package/dist/coston/artifacts/contracts/IAddressValidityVerification.sol/IAddressValidityVerification.json +0 -89
  41. package/dist/coston/artifacts/contracts/IAgentPing.sol/IAgentPing.json +0 -99
  42. package/dist/coston/artifacts/contracts/IAssetManager.sol/IAssetManager.json +0 -6169
  43. package/dist/coston/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +0 -1696
  44. package/dist/coston/artifacts/contracts/IBalanceDecreasingTransaction.sol/IBalanceDecreasingTransaction.json +0 -1
  45. package/dist/coston/artifacts/contracts/IBalanceDecreasingTransactionVerification.sol/IBalanceDecreasingTransactionVerification.json +0 -104
  46. package/dist/coston/artifacts/contracts/ICChainStake.sol/ICChainStake.json +0 -375
  47. package/dist/coston/artifacts/contracts/ICChainVotePower.sol/ICChainVotePower.json +0 -300
  48. package/dist/coston/artifacts/contracts/IClaimSetupManager.sol/IClaimSetupManager.json +0 -656
  49. package/dist/coston/artifacts/contracts/IConfirmedBlockHeightExists.sol/IConfirmedBlockHeightExists.json +0 -1
  50. package/dist/coston/artifacts/contracts/IConfirmedBlockHeightExistsVerification.sol/IConfirmedBlockHeightExistsVerification.json +0 -99
  51. package/dist/coston/artifacts/contracts/IDelegationAccount.sol/IDelegationAccount.json +0 -135
  52. package/dist/coston/artifacts/contracts/IEVMTransaction.sol/IEVMTransaction.json +0 -1
  53. package/dist/coston/artifacts/contracts/IEVMTransactionVerification.sol/IEVMTransactionVerification.json +0 -166
  54. package/dist/coston/artifacts/contracts/IEntityManager.sol/IEntityManager.json +0 -790
  55. package/dist/coston/artifacts/contracts/IFastUpdateIncentiveManager.sol/IFastUpdateIncentiveManager.json +0 -230
  56. package/dist/coston/artifacts/contracts/IFastUpdater.sol/IFastUpdater.json +0 -354
  57. package/dist/coston/artifacts/contracts/IFastUpdatesConfiguration.sol/IFastUpdatesConfiguration.json +0 -190
  58. package/dist/coston/artifacts/contracts/IFdcHub.sol/IFdcHub.json +0 -138
  59. package/dist/coston/artifacts/contracts/IFdcInflationConfigurations.sol/IFdcInflationConfigurations.json +0 -88
  60. package/dist/coston/artifacts/contracts/IFdcRequestFeeConfigurations.sol/IFdcRequestFeeConfigurations.json +0 -65
  61. package/dist/coston/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +0 -721
  62. package/dist/coston/artifacts/contracts/IFeeCalculator.sol/IFeeCalculator.json +0 -40
  63. package/dist/coston/artifacts/contracts/IFlareAssetRegistry.sol/IFlareAssetRegistry.json +0 -232
  64. package/dist/coston/artifacts/contracts/IFlareContractRegistry.sol/IFlareContractRegistry.json +0 -96
  65. package/dist/coston/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +0 -109
  66. package/dist/coston/artifacts/contracts/IFlareSystemsManager.sol/IFlareSystemsManager.json +0 -649
  67. package/dist/coston/artifacts/contracts/IFtso.sol/IFtso.json +0 -503
  68. package/dist/coston/artifacts/contracts/IFtsoFeedDecimals.sol/IFtsoFeedDecimals.json +0 -168
  69. package/dist/coston/artifacts/contracts/IFtsoFeedIdConverter.sol/IFtsoFeedIdConverter.json +0 -50
  70. package/dist/coston/artifacts/contracts/IFtsoFeedPublisher.sol/IFtsoFeedPublisher.json +0 -214
  71. package/dist/coston/artifacts/contracts/IFtsoInflationConfigurations.sol/IFtsoInflationConfigurations.json +0 -98
  72. package/dist/coston/artifacts/contracts/IFtsoManager.sol/IFtsoManager.json +0 -367
  73. package/dist/coston/artifacts/contracts/IFtsoRegistry.sol/IFtsoRegistry.json +0 -436
  74. package/dist/coston/artifacts/contracts/IFtsoRewardManager.sol/IFtsoRewardManager.json +0 -693
  75. package/dist/coston/artifacts/contracts/IFtsoRewardOffersManager.sol/IFtsoRewardOffersManager.json +0 -188
  76. package/dist/coston/artifacts/contracts/IGenericRewardManager.sol/IGenericRewardManager.json +0 -239
  77. package/dist/coston/artifacts/contracts/IGovernanceSettings.sol/IGovernanceSettings.json +0 -60
  78. package/dist/coston/artifacts/contracts/IGovernanceVotePower.sol/IGovernanceVotePower.json +0 -108
  79. package/dist/coston/artifacts/contracts/IGovernor.sol/IGovernor.json +0 -515
  80. package/dist/coston/artifacts/contracts/IIncreaseManager.sol/IIncreaseManager.json +0 -15
  81. package/dist/coston/artifacts/contracts/IPayment.sol/IPayment.json +0 -1
  82. package/dist/coston/artifacts/contracts/IPaymentVerification.sol/IPaymentVerification.json +0 -149
  83. package/dist/coston/artifacts/contracts/IPollingManagementGroup.sol/IPollingManagementGroup.json +0 -547
  84. package/dist/coston/artifacts/contracts/IPriceSubmitter.sol/IPriceSubmitter.json +0 -191
  85. package/dist/coston/artifacts/contracts/IRNat.sol/IRNat.json +0 -930
  86. package/dist/coston/artifacts/contracts/IRNatAccount.sol/IRNatAccount.json +0 -137
  87. package/dist/coston/artifacts/contracts/IRandomProvider.sol/IRandomProvider.json +0 -56
  88. package/dist/coston/artifacts/contracts/IRedemptionTimeExtension.sol/IRedemptionTimeExtension.json +0 -28
  89. package/dist/coston/artifacts/contracts/IReferencedPaymentNonexistence.sol/IReferencedPaymentNonexistence.json +0 -1
  90. package/dist/coston/artifacts/contracts/IReferencedPaymentNonexistenceVerification.sol/IReferencedPaymentNonexistenceVerification.json +0 -124
  91. package/dist/coston/artifacts/contracts/IRelay.sol/IRelay.json +0 -426
  92. package/dist/coston/artifacts/contracts/IRewardManager.sol/IRewardManager.json +0 -605
  93. package/dist/coston/artifacts/contracts/ISubmission.sol/ISubmission.json +0 -133
  94. package/dist/coston/artifacts/contracts/ITransferFees.sol/ITransferFees.json +0 -394
  95. package/dist/coston/artifacts/contracts/IVPContractEvents.sol/IVPContractEvents.json +0 -64
  96. package/dist/coston/artifacts/contracts/IVPToken.sol/IVPToken.json +0 -649
  97. package/dist/coston/artifacts/contracts/IValidatorRewardOffersManager.sol/IValidatorRewardOffersManager.json +0 -21
  98. package/dist/coston/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +0 -118
  99. package/dist/coston/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +0 -256
  100. package/dist/coston/artifacts/contracts/IVoterWhitelister.sol/IVoterWhitelister.json +0 -190
  101. package/dist/coston/artifacts/contracts/IWNat.sol/IWNat.json +0 -752
  102. package/dist/coston/artifacts/contracts/IWNatDelegationFee.sol/IWNatDelegationFee.json +0 -144
  103. package/dist/coston/artifacts/contracts/ProtocolsV2Interface.sol/ProtocolsV2Interface.json +0 -118
  104. package/dist/coston/artifacts/contracts/RandomNumberV2Interface.sol/RandomNumberV2Interface.json +0 -54
  105. package/dist/coston/artifacts/contracts/RewardsV2Interface.sol/RewardsV2Interface.json +0 -171
  106. package/dist/coston/artifacts/contracts/TestFtsoV2Interface.sol/TestFtsoV2Interface.json +0 -274
  107. package/dist/coston/artifacts/contracts/customFeeds/interfaces/IICustomFeed.sol/IICustomFeed.json +0 -51
  108. package/dist/coston/artifacts/contracts/diamond/interfaces/IDiamondLoupe.sol/IDiamondLoupe.json +0 -78
  109. package/dist/coston/artifacts/contracts/fdc/interfaces/ITypeTemplate.sol/ITypeTemplate.json +0 -1
  110. package/dist/coston/artifacts/contracts/fdc/interfaces/ITypeTemplateVerification.sol/ITypeTemplateVerification.json +0 -140
  111. package/dist/coston/artifacts/contracts/fscV1/interfaces/IIFastUpdaterView.sol/IIFastUpdaterView.json +0 -31
  112. package/dist/coston/artifacts/contracts/fscV1/interfaces/IIFtsoManagerProxy.sol/IIFtsoManagerProxy.json +0 -54
  113. package/dist/coston/artifacts/contracts/ftso/interfaces/IIFtso.sol/IIFtso.json +0 -944
  114. package/dist/coston/artifacts/contracts/ftso/interfaces/IIFtsoFeedPublisher.sol/IIFtsoFeedPublisher.json +0 -254
  115. package/dist/coston/artifacts/contracts/genesis/interfaces/IFlareDaemonize.sol/IFlareDaemonize.json +0 -28
  116. package/dist/coston/artifacts/contracts/genesis/interfaces/IFtsoGenesis.sol/IFtsoGenesis.json +0 -82
  117. package/dist/coston/artifacts/contracts/genesis/interfaces/IFtsoManagerGenesis.sol/IFtsoManagerGenesis.json +0 -15
  118. package/dist/coston/artifacts/contracts/genesis/interfaces/IFtsoRegistryGenesis.sol/IFtsoRegistryGenesis.json +0 -21
  119. package/dist/coston/artifacts/contracts/governance/interfaces/IIGovernorProposer.sol/IIGovernorProposer.json +0 -21
  120. package/dist/coston/artifacts/contracts/governance/interfaces/IIPollingFoundation.sol/IIPollingFoundation.json +0 -671
  121. package/dist/coston/artifacts/contracts/governance/interfaces/IIPollingManagementGroup.sol/IIPollingManagementGroup.json +0 -679
  122. package/dist/coston/artifacts/contracts/protocol/interfaces/IIClaimSetupManager.sol/IIClaimSetupManager.json +0 -786
  123. package/dist/coston/artifacts/contracts/protocol/interfaces/IICleanupBlockNumberManager.sol/IICleanupBlockNumberManager.json +0 -15
  124. package/dist/coston/artifacts/contracts/protocol/interfaces/IIEntityManager.sol/IIEntityManager.json +0 -939
  125. package/dist/coston/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +0 -162
  126. package/dist/coston/artifacts/contracts/protocol/interfaces/IIFlareSystemsManager.sol/IIFlareSystemsManager.json +0 -1217
  127. package/dist/coston/artifacts/contracts/protocol/interfaces/IINodePossessionVerifier.sol/IINodePossessionVerifier.json +0 -30
  128. package/dist/coston/artifacts/contracts/protocol/interfaces/IIPublicKeyVerifier.sol/IIPublicKeyVerifier.json +0 -30
  129. package/dist/coston/artifacts/contracts/protocol/interfaces/IIRelay.sol/IIRelay.json +0 -477
  130. package/dist/coston/artifacts/contracts/protocol/interfaces/IIRewardEpochSwitchoverTrigger.sol/IIRewardEpochSwitchoverTrigger.json +0 -25
  131. package/dist/coston/artifacts/contracts/protocol/interfaces/IIRewardManager.sol/IIRewardManager.json +0 -714
  132. package/dist/coston/artifacts/contracts/protocol/interfaces/IISubmission.sol/IISubmission.json +0 -161
  133. package/dist/coston/artifacts/contracts/protocol/interfaces/IIVoterRegistrationTrigger.sol/IIVoterRegistrationTrigger.json +0 -15
  134. package/dist/coston/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +0 -623
  135. package/dist/coston/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +0 -1061
  136. package/dist/coston/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +0 -333
  137. package/dist/coston/artifacts/contracts/token/interfaces/IICleanable.sol/IICleanable.json +0 -54
  138. package/dist/coston/artifacts/contracts/token/interfaces/IIGovernanceVotePower.sol/IIGovernanceVotePower.json +0 -243
  139. package/dist/coston/artifacts/contracts/token/interfaces/IIVPContract.sol/IIVPContract.json +0 -600
  140. package/dist/coston/artifacts/contracts/token/interfaces/IIVPToken.sol/IIVPToken.json +0 -781
  141. package/dist/coston/artifacts/contracts/userInterfaces/data/AgentInfo.sol/AgentInfo.json +0 -1
  142. package/dist/coston/artifacts/contracts/userInterfaces/data/AgentSettings.sol/AgentSettings.json +0 -1
  143. package/dist/coston/artifacts/contracts/userInterfaces/data/AssetManagerSettings.sol/AssetManagerSettings.json +0 -1
  144. package/dist/coston/artifacts/contracts/userInterfaces/data/AvailableAgentInfo.sol/AvailableAgentInfo.json +0 -1
  145. package/dist/coston/artifacts/contracts/userInterfaces/data/CollateralType.sol/CollateralType.json +0 -1
  146. package/dist/coston/artifacts/contracts/userInterfaces/data/RedemptionTicketInfo.sol/RedemptionTicketInfo.json +0 -1
  147. package/dist/coston/index.d.ts +0 -3
  148. package/dist/coston/index.d.ts.map +0 -1
  149. package/dist/coston/mapper.d.ts +0 -3
  150. package/dist/coston/mapper.d.ts.map +0 -1
  151. package/dist/coston2/abis.d.ts +0 -13
  152. package/dist/coston2/abis.d.ts.map +0 -1
  153. package/dist/coston2/artifacts/contracts/ContractRegistry.sol/ContractRegistry.json +0 -1
  154. package/dist/coston2/artifacts/contracts/FtsoV2Interface.sol/FtsoV2Interface.json +0 -274
  155. package/dist/coston2/artifacts/contracts/IAddressBinder.sol/IAddressBinder.json +0 -112
  156. package/dist/coston2/artifacts/contracts/IAddressValidity.sol/IAddressValidity.json +0 -1
  157. package/dist/coston2/artifacts/contracts/IAddressValidityVerification.sol/IAddressValidityVerification.json +0 -89
  158. package/dist/coston2/artifacts/contracts/IBalanceDecreasingTransaction.sol/IBalanceDecreasingTransaction.json +0 -1
  159. package/dist/coston2/artifacts/contracts/IBalanceDecreasingTransactionVerification.sol/IBalanceDecreasingTransactionVerification.json +0 -104
  160. package/dist/coston2/artifacts/contracts/ICChainStake.sol/ICChainStake.json +0 -375
  161. package/dist/coston2/artifacts/contracts/ICChainVotePower.sol/ICChainVotePower.json +0 -300
  162. package/dist/coston2/artifacts/contracts/IClaimSetupManager.sol/IClaimSetupManager.json +0 -656
  163. package/dist/coston2/artifacts/contracts/IConfirmedBlockHeightExists.sol/IConfirmedBlockHeightExists.json +0 -1
  164. package/dist/coston2/artifacts/contracts/IConfirmedBlockHeightExistsVerification.sol/IConfirmedBlockHeightExistsVerification.json +0 -99
  165. package/dist/coston2/artifacts/contracts/IDelegationAccount.sol/IDelegationAccount.json +0 -135
  166. package/dist/coston2/artifacts/contracts/IDistributionToDelegators.sol/IDistributionToDelegators.json +0 -249
  167. package/dist/coston2/artifacts/contracts/IEVMTransaction.sol/IEVMTransaction.json +0 -1
  168. package/dist/coston2/artifacts/contracts/IEVMTransactionVerification.sol/IEVMTransactionVerification.json +0 -166
  169. package/dist/coston2/artifacts/contracts/IEntityManager.sol/IEntityManager.json +0 -790
  170. package/dist/coston2/artifacts/contracts/IFastUpdateIncentiveManager.sol/IFastUpdateIncentiveManager.json +0 -230
  171. package/dist/coston2/artifacts/contracts/IFastUpdater.sol/IFastUpdater.json +0 -354
  172. package/dist/coston2/artifacts/contracts/IFastUpdatesConfiguration.sol/IFastUpdatesConfiguration.json +0 -190
  173. package/dist/coston2/artifacts/contracts/IFdcHub.sol/IFdcHub.json +0 -138
  174. package/dist/coston2/artifacts/contracts/IFdcInflationConfigurations.sol/IFdcInflationConfigurations.json +0 -88
  175. package/dist/coston2/artifacts/contracts/IFdcRequestFeeConfigurations.sol/IFdcRequestFeeConfigurations.json +0 -65
  176. package/dist/coston2/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +0 -721
  177. package/dist/coston2/artifacts/contracts/IFeeCalculator.sol/IFeeCalculator.json +0 -40
  178. package/dist/coston2/artifacts/contracts/IFlareAssetRegistry.sol/IFlareAssetRegistry.json +0 -232
  179. package/dist/coston2/artifacts/contracts/IFlareContractRegistry.sol/IFlareContractRegistry.json +0 -96
  180. package/dist/coston2/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +0 -109
  181. package/dist/coston2/artifacts/contracts/IFlareSystemsManager.sol/IFlareSystemsManager.json +0 -649
  182. package/dist/coston2/artifacts/contracts/IFtso.sol/IFtso.json +0 -466
  183. package/dist/coston2/artifacts/contracts/IFtsoFeedDecimals.sol/IFtsoFeedDecimals.json +0 -168
  184. package/dist/coston2/artifacts/contracts/IFtsoFeedIdConverter.sol/IFtsoFeedIdConverter.json +0 -50
  185. package/dist/coston2/artifacts/contracts/IFtsoFeedPublisher.sol/IFtsoFeedPublisher.json +0 -214
  186. package/dist/coston2/artifacts/contracts/IFtsoInflationConfigurations.sol/IFtsoInflationConfigurations.json +0 -98
  187. package/dist/coston2/artifacts/contracts/IFtsoManager.sol/IFtsoManager.json +0 -367
  188. package/dist/coston2/artifacts/contracts/IFtsoRegistry.sol/IFtsoRegistry.json +0 -436
  189. package/dist/coston2/artifacts/contracts/IFtsoRewardManager.sol/IFtsoRewardManager.json +0 -693
  190. package/dist/coston2/artifacts/contracts/IFtsoRewardOffersManager.sol/IFtsoRewardOffersManager.json +0 -188
  191. package/dist/coston2/artifacts/contracts/IGenericRewardManager.sol/IGenericRewardManager.json +0 -239
  192. package/dist/coston2/artifacts/contracts/IGovernanceSettings.sol/IGovernanceSettings.json +0 -60
  193. package/dist/coston2/artifacts/contracts/IGovernanceVotePower.sol/IGovernanceVotePower.json +0 -108
  194. package/dist/coston2/artifacts/contracts/IGovernor.sol/IGovernor.json +0 -515
  195. package/dist/coston2/artifacts/contracts/IIncreaseManager.sol/IIncreaseManager.json +0 -15
  196. package/dist/coston2/artifacts/contracts/IPChainStakeMirror.sol/IPChainStakeMirror.json +0 -566
  197. package/dist/coston2/artifacts/contracts/IPChainStakeMirrorMultiSigVoting.sol/IPChainStakeMirrorMultiSigVoting.json +0 -302
  198. package/dist/coston2/artifacts/contracts/IPChainStakeMirrorVerifier.sol/IPChainStakeMirrorVerifier.json +0 -1
  199. package/dist/coston2/artifacts/contracts/IPChainVotePower.sol/IPChainVotePower.json +0 -300
  200. package/dist/coston2/artifacts/contracts/IPayment.sol/IPayment.json +0 -1
  201. package/dist/coston2/artifacts/contracts/IPaymentVerification.sol/IPaymentVerification.json +0 -149
  202. package/dist/coston2/artifacts/contracts/IPollingManagementGroup.sol/IPollingManagementGroup.json +0 -547
  203. package/dist/coston2/artifacts/contracts/IPriceSubmitter.sol/IPriceSubmitter.json +0 -212
  204. package/dist/coston2/artifacts/contracts/IRNat.sol/IRNat.json +0 -930
  205. package/dist/coston2/artifacts/contracts/IRNatAccount.sol/IRNatAccount.json +0 -137
  206. package/dist/coston2/artifacts/contracts/IRandomProvider.sol/IRandomProvider.json +0 -56
  207. package/dist/coston2/artifacts/contracts/IReferencedPaymentNonexistence.sol/IReferencedPaymentNonexistence.json +0 -1
  208. package/dist/coston2/artifacts/contracts/IReferencedPaymentNonexistenceVerification.sol/IReferencedPaymentNonexistenceVerification.json +0 -124
  209. package/dist/coston2/artifacts/contracts/IRelay.sol/IRelay.json +0 -426
  210. package/dist/coston2/artifacts/contracts/IRewardManager.sol/IRewardManager.json +0 -605
  211. package/dist/coston2/artifacts/contracts/ISubmission.sol/ISubmission.json +0 -133
  212. package/dist/coston2/artifacts/contracts/IVPContractEvents.sol/IVPContractEvents.json +0 -64
  213. package/dist/coston2/artifacts/contracts/IVPToken.sol/IVPToken.json +0 -691
  214. package/dist/coston2/artifacts/contracts/IValidatorRegistry.sol/IValidatorRegistry.json +0 -127
  215. package/dist/coston2/artifacts/contracts/IValidatorRewardOffersManager.sol/IValidatorRewardOffersManager.json +0 -21
  216. package/dist/coston2/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +0 -118
  217. package/dist/coston2/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +0 -256
  218. package/dist/coston2/artifacts/contracts/IVoterWhitelister.sol/IVoterWhitelister.json +0 -190
  219. package/dist/coston2/artifacts/contracts/IWNat.sol/IWNat.json +0 -781
  220. package/dist/coston2/artifacts/contracts/IWNatDelegationFee.sol/IWNatDelegationFee.json +0 -144
  221. package/dist/coston2/artifacts/contracts/ProtocolsV2Interface.sol/ProtocolsV2Interface.json +0 -118
  222. package/dist/coston2/artifacts/contracts/RandomNumberV2Interface.sol/RandomNumberV2Interface.json +0 -54
  223. package/dist/coston2/artifacts/contracts/RewardsV2Interface.sol/RewardsV2Interface.json +0 -171
  224. package/dist/coston2/artifacts/contracts/TestFtsoV2Interface.sol/TestFtsoV2Interface.json +0 -274
  225. package/dist/coston2/artifacts/contracts/customFeeds/interfaces/IICustomFeed.sol/IICustomFeed.json +0 -51
  226. package/dist/coston2/artifacts/contracts/fdc/interfaces/ITypeTemplate.sol/ITypeTemplate.json +0 -1
  227. package/dist/coston2/artifacts/contracts/fdc/interfaces/ITypeTemplateVerification.sol/ITypeTemplateVerification.json +0 -140
  228. package/dist/coston2/artifacts/contracts/fscV1/interfaces/IIFastUpdaterView.sol/IIFastUpdaterView.json +0 -31
  229. package/dist/coston2/artifacts/contracts/fscV1/interfaces/IIFtsoManagerProxy.sol/IIFtsoManagerProxy.json +0 -54
  230. package/dist/coston2/artifacts/contracts/ftso/interfaces/IIFtso.sol/IIFtso.json +0 -879
  231. package/dist/coston2/artifacts/contracts/ftso/interfaces/IIFtsoFeedPublisher.sol/IIFtsoFeedPublisher.json +0 -254
  232. package/dist/coston2/artifacts/contracts/genesis/interfaces/IFlareDaemonize.sol/IFlareDaemonize.json +0 -41
  233. package/dist/coston2/artifacts/contracts/genesis/interfaces/IFtsoGenesis.sol/IFtsoGenesis.json +0 -54
  234. package/dist/coston2/artifacts/contracts/genesis/interfaces/IFtsoManagerGenesis.sol/IFtsoManagerGenesis.json +0 -15
  235. package/dist/coston2/artifacts/contracts/genesis/interfaces/IFtsoRegistryGenesis.sol/IFtsoRegistryGenesis.json +0 -21
  236. package/dist/coston2/artifacts/contracts/governance/interfaces/IIGovernorProposer.sol/IIGovernorProposer.json +0 -21
  237. package/dist/coston2/artifacts/contracts/governance/interfaces/IIPollingFoundation.sol/IIPollingFoundation.json +0 -671
  238. package/dist/coston2/artifacts/contracts/governance/interfaces/IIPollingManagementGroup.sol/IIPollingManagementGroup.json +0 -679
  239. package/dist/coston2/artifacts/contracts/protocol/interfaces/IIClaimSetupManager.sol/IIClaimSetupManager.json +0 -786
  240. package/dist/coston2/artifacts/contracts/protocol/interfaces/IICleanupBlockNumberManager.sol/IICleanupBlockNumberManager.json +0 -15
  241. package/dist/coston2/artifacts/contracts/protocol/interfaces/IIEntityManager.sol/IIEntityManager.json +0 -939
  242. package/dist/coston2/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +0 -162
  243. package/dist/coston2/artifacts/contracts/protocol/interfaces/IIFlareSystemsManager.sol/IIFlareSystemsManager.json +0 -1217
  244. package/dist/coston2/artifacts/contracts/protocol/interfaces/IINodePossessionVerifier.sol/IINodePossessionVerifier.json +0 -30
  245. package/dist/coston2/artifacts/contracts/protocol/interfaces/IIPublicKeyVerifier.sol/IIPublicKeyVerifier.json +0 -30
  246. package/dist/coston2/artifacts/contracts/protocol/interfaces/IIRelay.sol/IIRelay.json +0 -477
  247. package/dist/coston2/artifacts/contracts/protocol/interfaces/IIRewardEpochSwitchoverTrigger.sol/IIRewardEpochSwitchoverTrigger.json +0 -25
  248. package/dist/coston2/artifacts/contracts/protocol/interfaces/IIRewardManager.sol/IIRewardManager.json +0 -714
  249. package/dist/coston2/artifacts/contracts/protocol/interfaces/IISubmission.sol/IISubmission.json +0 -161
  250. package/dist/coston2/artifacts/contracts/protocol/interfaces/IIVoterRegistrationTrigger.sol/IIVoterRegistrationTrigger.json +0 -15
  251. package/dist/coston2/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +0 -623
  252. package/dist/coston2/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +0 -1061
  253. package/dist/coston2/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +0 -333
  254. package/dist/coston2/artifacts/contracts/token/interfaces/IICleanable.sol/IICleanable.json +0 -41
  255. package/dist/coston2/artifacts/contracts/token/interfaces/IIGovernanceVotePower.sol/IIGovernanceVotePower.json +0 -256
  256. package/dist/coston2/artifacts/contracts/token/interfaces/IIVPContract.sol/IIVPContract.json +0 -611
  257. package/dist/coston2/artifacts/contracts/token/interfaces/IIVPToken.sol/IIVPToken.json +0 -823
  258. package/dist/coston2/index.d.ts +0 -3
  259. package/dist/coston2/index.d.ts.map +0 -1
  260. package/dist/coston2/mapper.d.ts +0 -3
  261. package/dist/coston2/mapper.d.ts.map +0 -1
  262. package/dist/flare/abis.d.ts +0 -13
  263. package/dist/flare/abis.d.ts.map +0 -1
  264. package/dist/flare/artifacts/contracts/ContractRegistry.sol/ContractRegistry.json +0 -1
  265. package/dist/flare/artifacts/contracts/FtsoV2Interface.sol/FtsoV2Interface.json +0 -274
  266. package/dist/flare/artifacts/contracts/IAddressBinder.sol/IAddressBinder.json +0 -112
  267. package/dist/flare/artifacts/contracts/IAddressValidity.sol/IAddressValidity.json +0 -1
  268. package/dist/flare/artifacts/contracts/IAddressValidityVerification.sol/IAddressValidityVerification.json +0 -89
  269. package/dist/flare/artifacts/contracts/IBalanceDecreasingTransaction.sol/IBalanceDecreasingTransaction.json +0 -1
  270. package/dist/flare/artifacts/contracts/IBalanceDecreasingTransactionVerification.sol/IBalanceDecreasingTransactionVerification.json +0 -104
  271. package/dist/flare/artifacts/contracts/ICChainStake.sol/ICChainStake.json +0 -375
  272. package/dist/flare/artifacts/contracts/ICChainVotePower.sol/ICChainVotePower.json +0 -300
  273. package/dist/flare/artifacts/contracts/IClaimSetupManager.sol/IClaimSetupManager.json +0 -656
  274. package/dist/flare/artifacts/contracts/IConfirmedBlockHeightExists.sol/IConfirmedBlockHeightExists.json +0 -1
  275. package/dist/flare/artifacts/contracts/IConfirmedBlockHeightExistsVerification.sol/IConfirmedBlockHeightExistsVerification.json +0 -99
  276. package/dist/flare/artifacts/contracts/IDelegationAccount.sol/IDelegationAccount.json +0 -135
  277. package/dist/flare/artifacts/contracts/IDistributionToDelegators.sol/IDistributionToDelegators.json +0 -249
  278. package/dist/flare/artifacts/contracts/IEVMTransaction.sol/IEVMTransaction.json +0 -1
  279. package/dist/flare/artifacts/contracts/IEVMTransactionVerification.sol/IEVMTransactionVerification.json +0 -166
  280. package/dist/flare/artifacts/contracts/IEntityManager.sol/IEntityManager.json +0 -790
  281. package/dist/flare/artifacts/contracts/IFastUpdateIncentiveManager.sol/IFastUpdateIncentiveManager.json +0 -230
  282. package/dist/flare/artifacts/contracts/IFastUpdater.sol/IFastUpdater.json +0 -354
  283. package/dist/flare/artifacts/contracts/IFastUpdatesConfiguration.sol/IFastUpdatesConfiguration.json +0 -190
  284. package/dist/flare/artifacts/contracts/IFdcHub.sol/IFdcHub.json +0 -138
  285. package/dist/flare/artifacts/contracts/IFdcInflationConfigurations.sol/IFdcInflationConfigurations.json +0 -88
  286. package/dist/flare/artifacts/contracts/IFdcRequestFeeConfigurations.sol/IFdcRequestFeeConfigurations.json +0 -65
  287. package/dist/flare/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +0 -721
  288. package/dist/flare/artifacts/contracts/IFeeCalculator.sol/IFeeCalculator.json +0 -40
  289. package/dist/flare/artifacts/contracts/IFlareAssetRegistry.sol/IFlareAssetRegistry.json +0 -232
  290. package/dist/flare/artifacts/contracts/IFlareContractRegistry.sol/IFlareContractRegistry.json +0 -96
  291. package/dist/flare/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +0 -109
  292. package/dist/flare/artifacts/contracts/IFlareSystemsManager.sol/IFlareSystemsManager.json +0 -649
  293. package/dist/flare/artifacts/contracts/IFtso.sol/IFtso.json +0 -466
  294. package/dist/flare/artifacts/contracts/IFtsoFeedDecimals.sol/IFtsoFeedDecimals.json +0 -168
  295. package/dist/flare/artifacts/contracts/IFtsoFeedIdConverter.sol/IFtsoFeedIdConverter.json +0 -50
  296. package/dist/flare/artifacts/contracts/IFtsoFeedPublisher.sol/IFtsoFeedPublisher.json +0 -214
  297. package/dist/flare/artifacts/contracts/IFtsoInflationConfigurations.sol/IFtsoInflationConfigurations.json +0 -98
  298. package/dist/flare/artifacts/contracts/IFtsoManager.sol/IFtsoManager.json +0 -367
  299. package/dist/flare/artifacts/contracts/IFtsoRegistry.sol/IFtsoRegistry.json +0 -436
  300. package/dist/flare/artifacts/contracts/IFtsoRewardManager.sol/IFtsoRewardManager.json +0 -693
  301. package/dist/flare/artifacts/contracts/IFtsoRewardOffersManager.sol/IFtsoRewardOffersManager.json +0 -188
  302. package/dist/flare/artifacts/contracts/IGenericRewardManager.sol/IGenericRewardManager.json +0 -239
  303. package/dist/flare/artifacts/contracts/IGovernanceSettings.sol/IGovernanceSettings.json +0 -60
  304. package/dist/flare/artifacts/contracts/IGovernanceVotePower.sol/IGovernanceVotePower.json +0 -108
  305. package/dist/flare/artifacts/contracts/IGovernor.sol/IGovernor.json +0 -515
  306. package/dist/flare/artifacts/contracts/IIncreaseManager.sol/IIncreaseManager.json +0 -15
  307. package/dist/flare/artifacts/contracts/IPChainStakeMirror.sol/IPChainStakeMirror.json +0 -566
  308. package/dist/flare/artifacts/contracts/IPChainStakeMirrorMultiSigVoting.sol/IPChainStakeMirrorMultiSigVoting.json +0 -302
  309. package/dist/flare/artifacts/contracts/IPChainStakeMirrorVerifier.sol/IPChainStakeMirrorVerifier.json +0 -1
  310. package/dist/flare/artifacts/contracts/IPChainVotePower.sol/IPChainVotePower.json +0 -300
  311. package/dist/flare/artifacts/contracts/IPayment.sol/IPayment.json +0 -1
  312. package/dist/flare/artifacts/contracts/IPaymentVerification.sol/IPaymentVerification.json +0 -149
  313. package/dist/flare/artifacts/contracts/IPollingManagementGroup.sol/IPollingManagementGroup.json +0 -547
  314. package/dist/flare/artifacts/contracts/IPriceSubmitter.sol/IPriceSubmitter.json +0 -212
  315. package/dist/flare/artifacts/contracts/IRNat.sol/IRNat.json +0 -930
  316. package/dist/flare/artifacts/contracts/IRNatAccount.sol/IRNatAccount.json +0 -137
  317. package/dist/flare/artifacts/contracts/IRandomProvider.sol/IRandomProvider.json +0 -56
  318. package/dist/flare/artifacts/contracts/IReferencedPaymentNonexistence.sol/IReferencedPaymentNonexistence.json +0 -1
  319. package/dist/flare/artifacts/contracts/IReferencedPaymentNonexistenceVerification.sol/IReferencedPaymentNonexistenceVerification.json +0 -124
  320. package/dist/flare/artifacts/contracts/IRelay.sol/IRelay.json +0 -426
  321. package/dist/flare/artifacts/contracts/IRewardManager.sol/IRewardManager.json +0 -605
  322. package/dist/flare/artifacts/contracts/ISubmission.sol/ISubmission.json +0 -133
  323. package/dist/flare/artifacts/contracts/IVPContractEvents.sol/IVPContractEvents.json +0 -64
  324. package/dist/flare/artifacts/contracts/IVPToken.sol/IVPToken.json +0 -691
  325. package/dist/flare/artifacts/contracts/IValidatorRegistry.sol/IValidatorRegistry.json +0 -127
  326. package/dist/flare/artifacts/contracts/IValidatorRewardOffersManager.sol/IValidatorRewardOffersManager.json +0 -21
  327. package/dist/flare/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +0 -118
  328. package/dist/flare/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +0 -256
  329. package/dist/flare/artifacts/contracts/IVoterWhitelister.sol/IVoterWhitelister.json +0 -190
  330. package/dist/flare/artifacts/contracts/IWNat.sol/IWNat.json +0 -781
  331. package/dist/flare/artifacts/contracts/IWNatDelegationFee.sol/IWNatDelegationFee.json +0 -144
  332. package/dist/flare/artifacts/contracts/ProtocolsV2Interface.sol/ProtocolsV2Interface.json +0 -118
  333. package/dist/flare/artifacts/contracts/RandomNumberV2Interface.sol/RandomNumberV2Interface.json +0 -54
  334. package/dist/flare/artifacts/contracts/RewardsV2Interface.sol/RewardsV2Interface.json +0 -171
  335. package/dist/flare/artifacts/contracts/TestFtsoV2Interface.sol/TestFtsoV2Interface.json +0 -274
  336. package/dist/flare/artifacts/contracts/customFeeds/interfaces/IICustomFeed.sol/IICustomFeed.json +0 -51
  337. package/dist/flare/artifacts/contracts/fdc/interfaces/ITypeTemplate.sol/ITypeTemplate.json +0 -1
  338. package/dist/flare/artifacts/contracts/fdc/interfaces/ITypeTemplateVerification.sol/ITypeTemplateVerification.json +0 -140
  339. package/dist/flare/artifacts/contracts/fscV1/interfaces/IIFastUpdaterView.sol/IIFastUpdaterView.json +0 -31
  340. package/dist/flare/artifacts/contracts/fscV1/interfaces/IIFtsoManagerProxy.sol/IIFtsoManagerProxy.json +0 -54
  341. package/dist/flare/artifacts/contracts/ftso/interfaces/IIFtso.sol/IIFtso.json +0 -879
  342. package/dist/flare/artifacts/contracts/ftso/interfaces/IIFtsoFeedPublisher.sol/IIFtsoFeedPublisher.json +0 -254
  343. package/dist/flare/artifacts/contracts/genesis/interfaces/IFlareDaemonize.sol/IFlareDaemonize.json +0 -41
  344. package/dist/flare/artifacts/contracts/genesis/interfaces/IFtsoGenesis.sol/IFtsoGenesis.json +0 -54
  345. package/dist/flare/artifacts/contracts/genesis/interfaces/IFtsoManagerGenesis.sol/IFtsoManagerGenesis.json +0 -15
  346. package/dist/flare/artifacts/contracts/genesis/interfaces/IFtsoRegistryGenesis.sol/IFtsoRegistryGenesis.json +0 -21
  347. package/dist/flare/artifacts/contracts/governance/interfaces/IIGovernorProposer.sol/IIGovernorProposer.json +0 -21
  348. package/dist/flare/artifacts/contracts/governance/interfaces/IIPollingFoundation.sol/IIPollingFoundation.json +0 -671
  349. package/dist/flare/artifacts/contracts/governance/interfaces/IIPollingManagementGroup.sol/IIPollingManagementGroup.json +0 -679
  350. package/dist/flare/artifacts/contracts/protocol/interfaces/IIClaimSetupManager.sol/IIClaimSetupManager.json +0 -786
  351. package/dist/flare/artifacts/contracts/protocol/interfaces/IICleanupBlockNumberManager.sol/IICleanupBlockNumberManager.json +0 -15
  352. package/dist/flare/artifacts/contracts/protocol/interfaces/IIEntityManager.sol/IIEntityManager.json +0 -939
  353. package/dist/flare/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +0 -162
  354. package/dist/flare/artifacts/contracts/protocol/interfaces/IIFlareSystemsManager.sol/IIFlareSystemsManager.json +0 -1217
  355. package/dist/flare/artifacts/contracts/protocol/interfaces/IINodePossessionVerifier.sol/IINodePossessionVerifier.json +0 -30
  356. package/dist/flare/artifacts/contracts/protocol/interfaces/IIPublicKeyVerifier.sol/IIPublicKeyVerifier.json +0 -30
  357. package/dist/flare/artifacts/contracts/protocol/interfaces/IIRelay.sol/IIRelay.json +0 -477
  358. package/dist/flare/artifacts/contracts/protocol/interfaces/IIRewardEpochSwitchoverTrigger.sol/IIRewardEpochSwitchoverTrigger.json +0 -25
  359. package/dist/flare/artifacts/contracts/protocol/interfaces/IIRewardManager.sol/IIRewardManager.json +0 -714
  360. package/dist/flare/artifacts/contracts/protocol/interfaces/IISubmission.sol/IISubmission.json +0 -161
  361. package/dist/flare/artifacts/contracts/protocol/interfaces/IIVoterRegistrationTrigger.sol/IIVoterRegistrationTrigger.json +0 -15
  362. package/dist/flare/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +0 -623
  363. package/dist/flare/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +0 -1061
  364. package/dist/flare/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +0 -333
  365. package/dist/flare/artifacts/contracts/token/interfaces/IICleanable.sol/IICleanable.json +0 -41
  366. package/dist/flare/artifacts/contracts/token/interfaces/IIGovernanceVotePower.sol/IIGovernanceVotePower.json +0 -256
  367. package/dist/flare/artifacts/contracts/token/interfaces/IIVPContract.sol/IIVPContract.json +0 -611
  368. package/dist/flare/artifacts/contracts/token/interfaces/IIVPToken.sol/IIVPToken.json +0 -823
  369. package/dist/flare/index.d.ts +0 -3
  370. package/dist/flare/index.d.ts.map +0 -1
  371. package/dist/flare/mapper.d.ts +0 -3
  372. package/dist/flare/mapper.d.ts.map +0 -1
  373. package/dist/index.d.ts +0 -11
  374. package/dist/index.d.ts.map +0 -1
  375. package/dist/index.js +0 -9362
  376. package/dist/index.js.map +0 -1
  377. package/dist/songbird/abis.d.ts +0 -13
  378. package/dist/songbird/abis.d.ts.map +0 -1
  379. package/dist/songbird/artifacts/contracts/ContractRegistry.sol/ContractRegistry.json +0 -1
  380. package/dist/songbird/artifacts/contracts/FtsoV2Interface.sol/FtsoV2Interface.json +0 -274
  381. package/dist/songbird/artifacts/contracts/IAddressValidity.sol/IAddressValidity.json +0 -1
  382. package/dist/songbird/artifacts/contracts/IAddressValidityVerification.sol/IAddressValidityVerification.json +0 -89
  383. package/dist/songbird/artifacts/contracts/IAgentPing.sol/IAgentPing.json +0 -99
  384. package/dist/songbird/artifacts/contracts/IAssetManager.sol/IAssetManager.json +0 -6169
  385. package/dist/songbird/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +0 -1696
  386. package/dist/songbird/artifacts/contracts/IBalanceDecreasingTransaction.sol/IBalanceDecreasingTransaction.json +0 -1
  387. package/dist/songbird/artifacts/contracts/IBalanceDecreasingTransactionVerification.sol/IBalanceDecreasingTransactionVerification.json +0 -104
  388. package/dist/songbird/artifacts/contracts/ICChainStake.sol/ICChainStake.json +0 -375
  389. package/dist/songbird/artifacts/contracts/ICChainVotePower.sol/ICChainVotePower.json +0 -300
  390. package/dist/songbird/artifacts/contracts/IClaimSetupManager.sol/IClaimSetupManager.json +0 -656
  391. package/dist/songbird/artifacts/contracts/IConfirmedBlockHeightExists.sol/IConfirmedBlockHeightExists.json +0 -1
  392. package/dist/songbird/artifacts/contracts/IConfirmedBlockHeightExistsVerification.sol/IConfirmedBlockHeightExistsVerification.json +0 -99
  393. package/dist/songbird/artifacts/contracts/IDelegationAccount.sol/IDelegationAccount.json +0 -135
  394. package/dist/songbird/artifacts/contracts/IEVMTransaction.sol/IEVMTransaction.json +0 -1
  395. package/dist/songbird/artifacts/contracts/IEVMTransactionVerification.sol/IEVMTransactionVerification.json +0 -166
  396. package/dist/songbird/artifacts/contracts/IEntityManager.sol/IEntityManager.json +0 -790
  397. package/dist/songbird/artifacts/contracts/IFastUpdateIncentiveManager.sol/IFastUpdateIncentiveManager.json +0 -230
  398. package/dist/songbird/artifacts/contracts/IFastUpdater.sol/IFastUpdater.json +0 -354
  399. package/dist/songbird/artifacts/contracts/IFastUpdatesConfiguration.sol/IFastUpdatesConfiguration.json +0 -190
  400. package/dist/songbird/artifacts/contracts/IFdcHub.sol/IFdcHub.json +0 -138
  401. package/dist/songbird/artifacts/contracts/IFdcInflationConfigurations.sol/IFdcInflationConfigurations.json +0 -88
  402. package/dist/songbird/artifacts/contracts/IFdcRequestFeeConfigurations.sol/IFdcRequestFeeConfigurations.json +0 -65
  403. package/dist/songbird/artifacts/contracts/IFdcVerification.sol/IFdcVerification.json +0 -721
  404. package/dist/songbird/artifacts/contracts/IFeeCalculator.sol/IFeeCalculator.json +0 -40
  405. package/dist/songbird/artifacts/contracts/IFlareAssetRegistry.sol/IFlareAssetRegistry.json +0 -232
  406. package/dist/songbird/artifacts/contracts/IFlareContractRegistry.sol/IFlareContractRegistry.json +0 -96
  407. package/dist/songbird/artifacts/contracts/IFlareSystemsCalculator.sol/IFlareSystemsCalculator.json +0 -109
  408. package/dist/songbird/artifacts/contracts/IFlareSystemsManager.sol/IFlareSystemsManager.json +0 -649
  409. package/dist/songbird/artifacts/contracts/IFtso.sol/IFtso.json +0 -503
  410. package/dist/songbird/artifacts/contracts/IFtsoFeedDecimals.sol/IFtsoFeedDecimals.json +0 -168
  411. package/dist/songbird/artifacts/contracts/IFtsoFeedIdConverter.sol/IFtsoFeedIdConverter.json +0 -50
  412. package/dist/songbird/artifacts/contracts/IFtsoFeedPublisher.sol/IFtsoFeedPublisher.json +0 -214
  413. package/dist/songbird/artifacts/contracts/IFtsoInflationConfigurations.sol/IFtsoInflationConfigurations.json +0 -98
  414. package/dist/songbird/artifacts/contracts/IFtsoManager.sol/IFtsoManager.json +0 -367
  415. package/dist/songbird/artifacts/contracts/IFtsoRegistry.sol/IFtsoRegistry.json +0 -436
  416. package/dist/songbird/artifacts/contracts/IFtsoRewardManager.sol/IFtsoRewardManager.json +0 -693
  417. package/dist/songbird/artifacts/contracts/IFtsoRewardOffersManager.sol/IFtsoRewardOffersManager.json +0 -188
  418. package/dist/songbird/artifacts/contracts/IGenericRewardManager.sol/IGenericRewardManager.json +0 -239
  419. package/dist/songbird/artifacts/contracts/IGovernanceSettings.sol/IGovernanceSettings.json +0 -60
  420. package/dist/songbird/artifacts/contracts/IGovernanceVotePower.sol/IGovernanceVotePower.json +0 -108
  421. package/dist/songbird/artifacts/contracts/IGovernor.sol/IGovernor.json +0 -515
  422. package/dist/songbird/artifacts/contracts/IIncreaseManager.sol/IIncreaseManager.json +0 -15
  423. package/dist/songbird/artifacts/contracts/IPayment.sol/IPayment.json +0 -1
  424. package/dist/songbird/artifacts/contracts/IPaymentVerification.sol/IPaymentVerification.json +0 -149
  425. package/dist/songbird/artifacts/contracts/IPollingManagementGroup.sol/IPollingManagementGroup.json +0 -547
  426. package/dist/songbird/artifacts/contracts/IPriceSubmitter.sol/IPriceSubmitter.json +0 -191
  427. package/dist/songbird/artifacts/contracts/IRNat.sol/IRNat.json +0 -930
  428. package/dist/songbird/artifacts/contracts/IRNatAccount.sol/IRNatAccount.json +0 -137
  429. package/dist/songbird/artifacts/contracts/IRandomProvider.sol/IRandomProvider.json +0 -56
  430. package/dist/songbird/artifacts/contracts/IRedemptionTimeExtension.sol/IRedemptionTimeExtension.json +0 -28
  431. package/dist/songbird/artifacts/contracts/IReferencedPaymentNonexistence.sol/IReferencedPaymentNonexistence.json +0 -1
  432. package/dist/songbird/artifacts/contracts/IReferencedPaymentNonexistenceVerification.sol/IReferencedPaymentNonexistenceVerification.json +0 -124
  433. package/dist/songbird/artifacts/contracts/IRelay.sol/IRelay.json +0 -426
  434. package/dist/songbird/artifacts/contracts/IRewardManager.sol/IRewardManager.json +0 -605
  435. package/dist/songbird/artifacts/contracts/ISubmission.sol/ISubmission.json +0 -133
  436. package/dist/songbird/artifacts/contracts/ITransferFees.sol/ITransferFees.json +0 -394
  437. package/dist/songbird/artifacts/contracts/IVPContractEvents.sol/IVPContractEvents.json +0 -64
  438. package/dist/songbird/artifacts/contracts/IVPToken.sol/IVPToken.json +0 -649
  439. package/dist/songbird/artifacts/contracts/IValidatorRewardOffersManager.sol/IValidatorRewardOffersManager.json +0 -21
  440. package/dist/songbird/artifacts/contracts/IVoterPreRegistry.sol/IVoterPreRegistry.json +0 -118
  441. package/dist/songbird/artifacts/contracts/IVoterRegistry.sol/IVoterRegistry.json +0 -256
  442. package/dist/songbird/artifacts/contracts/IVoterWhitelister.sol/IVoterWhitelister.json +0 -190
  443. package/dist/songbird/artifacts/contracts/IWNat.sol/IWNat.json +0 -752
  444. package/dist/songbird/artifacts/contracts/IWNatDelegationFee.sol/IWNatDelegationFee.json +0 -144
  445. package/dist/songbird/artifacts/contracts/ProtocolsV2Interface.sol/ProtocolsV2Interface.json +0 -118
  446. package/dist/songbird/artifacts/contracts/RandomNumberV2Interface.sol/RandomNumberV2Interface.json +0 -54
  447. package/dist/songbird/artifacts/contracts/RewardsV2Interface.sol/RewardsV2Interface.json +0 -171
  448. package/dist/songbird/artifacts/contracts/TestFtsoV2Interface.sol/TestFtsoV2Interface.json +0 -274
  449. package/dist/songbird/artifacts/contracts/addressUpdater/interfaces/IIAddressUpdatable.sol/IIAddressUpdatable.json +0 -20
  450. package/dist/songbird/artifacts/contracts/addressUpdater/interfaces/IIAddressUpdater.sol/IIAddressUpdater.json +0 -96
  451. package/dist/songbird/artifacts/contracts/assetRegistry/interfaces/IIERC20WithMetadata.sol/IIERC20WithMetadata.json +0 -224
  452. package/dist/songbird/artifacts/contracts/assetRegistry/interfaces/IIFlareAssetRegistry.sol/IIFlareAssetRegistry.json +0 -307
  453. package/dist/songbird/artifacts/contracts/assetRegistry/interfaces/IIFlareAssetRegistryProvider.sol/IIFlareAssetRegistryProvider.json +0 -57
  454. package/dist/songbird/artifacts/contracts/customFeeds/interfaces/IICustomFeed.sol/IICustomFeed.json +0 -51
  455. package/dist/songbird/artifacts/contracts/diamond/interfaces/IDiamondLoupe.sol/IDiamondLoupe.json +0 -78
  456. package/dist/songbird/artifacts/contracts/fdc/interfaces/ITypeTemplate.sol/ITypeTemplate.json +0 -1
  457. package/dist/songbird/artifacts/contracts/fdc/interfaces/ITypeTemplateVerification.sol/ITypeTemplateVerification.json +0 -140
  458. package/dist/songbird/artifacts/contracts/fscV1/interfaces/IIFastUpdaterView.sol/IIFastUpdaterView.json +0 -31
  459. package/dist/songbird/artifacts/contracts/fscV1/interfaces/IIFtsoManagerProxy.sol/IIFtsoManagerProxy.json +0 -54
  460. package/dist/songbird/artifacts/contracts/ftso/interfaces/IIFtso.sol/IIFtso.json +0 -944
  461. package/dist/songbird/artifacts/contracts/ftso/interfaces/IIFtsoFeedPublisher.sol/IIFtsoFeedPublisher.json +0 -254
  462. package/dist/songbird/artifacts/contracts/ftso/interfaces/IIFtsoManager.sol/IIFtsoManager.json +0 -869
  463. package/dist/songbird/artifacts/contracts/ftso/interfaces/IIFtsoManagerV1.sol/IIFtsoManagerV1.json +0 -93
  464. package/dist/songbird/artifacts/contracts/genesis/interfaces/IFlareDaemonize.sol/IFlareDaemonize.json +0 -28
  465. package/dist/songbird/artifacts/contracts/genesis/interfaces/IFtsoGenesis.sol/IFtsoGenesis.json +0 -82
  466. package/dist/songbird/artifacts/contracts/genesis/interfaces/IFtsoManagerGenesis.sol/IFtsoManagerGenesis.json +0 -15
  467. package/dist/songbird/artifacts/contracts/genesis/interfaces/IFtsoRegistryGenesis.sol/IFtsoRegistryGenesis.json +0 -21
  468. package/dist/songbird/artifacts/contracts/genesis/interfaces/IIPriceSubmitter.sol/IIPriceSubmitter.json +0 -276
  469. package/dist/songbird/artifacts/contracts/genesis/interfaces/IInflationGenesis.sol/IInflationGenesis.json +0 -9
  470. package/dist/songbird/artifacts/contracts/governance/interfaces/IIGovernorProposer.sol/IIGovernorProposer.json +0 -21
  471. package/dist/songbird/artifacts/contracts/governance/interfaces/IIPollingFoundation.sol/IIPollingFoundation.json +0 -671
  472. package/dist/songbird/artifacts/contracts/governance/interfaces/IIPollingManagementGroup.sol/IIPollingManagementGroup.json +0 -679
  473. package/dist/songbird/artifacts/contracts/inflation/interfaces/IIInflationAllocation.sol/IIInflationAllocation.json +0 -40
  474. package/dist/songbird/artifacts/contracts/inflation/interfaces/IIInflationReceiver.sol/IIInflationReceiver.json +0 -61
  475. package/dist/songbird/artifacts/contracts/inflation/interfaces/IIInflationReceiverV1.sol/IIInflationReceiverV1.json +0 -48
  476. package/dist/songbird/artifacts/contracts/inflation/interfaces/IIInflationV1.sol/IIInflationV1.json +0 -133
  477. package/dist/songbird/artifacts/contracts/inflation/interfaces/IIPreInflationCalculation.sol/IIPreInflationCalculation.json +0 -9
  478. package/dist/songbird/artifacts/contracts/inflation/interfaces/IISupply.sol/IISupply.json +0 -73
  479. package/dist/songbird/artifacts/contracts/mockXAsset/interfaces/ICollateralizable.sol/ICollateralizable.json +0 -225
  480. package/dist/songbird/artifacts/contracts/protocol/interfaces/IIClaimSetupManager.sol/IIClaimSetupManager.json +0 -786
  481. package/dist/songbird/artifacts/contracts/protocol/interfaces/IICleanupBlockNumberManager.sol/IICleanupBlockNumberManager.json +0 -15
  482. package/dist/songbird/artifacts/contracts/protocol/interfaces/IIEntityManager.sol/IIEntityManager.json +0 -939
  483. package/dist/songbird/artifacts/contracts/protocol/interfaces/IIFlareSystemsCalculator.sol/IIFlareSystemsCalculator.json +0 -162
  484. package/dist/songbird/artifacts/contracts/protocol/interfaces/IIFlareSystemsManager.sol/IIFlareSystemsManager.json +0 -1217
  485. package/dist/songbird/artifacts/contracts/protocol/interfaces/IINodePossessionVerifier.sol/IINodePossessionVerifier.json +0 -30
  486. package/dist/songbird/artifacts/contracts/protocol/interfaces/IIPublicKeyVerifier.sol/IIPublicKeyVerifier.json +0 -30
  487. package/dist/songbird/artifacts/contracts/protocol/interfaces/IIRelay.sol/IIRelay.json +0 -477
  488. package/dist/songbird/artifacts/contracts/protocol/interfaces/IIRewardEpochSwitchoverTrigger.sol/IIRewardEpochSwitchoverTrigger.json +0 -25
  489. package/dist/songbird/artifacts/contracts/protocol/interfaces/IIRewardManager.sol/IIRewardManager.json +0 -714
  490. package/dist/songbird/artifacts/contracts/protocol/interfaces/IISubmission.sol/IISubmission.json +0 -161
  491. package/dist/songbird/artifacts/contracts/protocol/interfaces/IIVoterRegistrationTrigger.sol/IIVoterRegistrationTrigger.json +0 -15
  492. package/dist/songbird/artifacts/contracts/protocol/interfaces/IIVoterRegistry.sol/IIVoterRegistry.json +0 -623
  493. package/dist/songbird/artifacts/contracts/rNat/interfaces/IIRNat.sol/IIRNat.json +0 -1061
  494. package/dist/songbird/artifacts/contracts/rNat/interfaces/IIRNatAccount.sol/IIRNatAccount.json +0 -333
  495. package/dist/songbird/artifacts/contracts/token/interfaces/IICleanable.sol/IICleanable.json +0 -54
  496. package/dist/songbird/artifacts/contracts/token/interfaces/IIGovernanceVotePower.sol/IIGovernanceVotePower.json +0 -243
  497. package/dist/songbird/artifacts/contracts/token/interfaces/IIVPContract.sol/IIVPContract.json +0 -600
  498. package/dist/songbird/artifacts/contracts/token/interfaces/IIVPToken.sol/IIVPToken.json +0 -781
  499. package/dist/songbird/artifacts/contracts/tokenPools/interfaces/IIFtsoRewardManager.sol/IIFtsoRewardManager.json +0 -953
  500. package/dist/songbird/artifacts/contracts/tokenPools/interfaces/IITokenPool.sol/IITokenPool.json +0 -25
  501. package/dist/songbird/artifacts/contracts/userInterfaces/data/AgentInfo.sol/AgentInfo.json +0 -1
  502. package/dist/songbird/artifacts/contracts/userInterfaces/data/AgentSettings.sol/AgentSettings.json +0 -1
  503. package/dist/songbird/artifacts/contracts/userInterfaces/data/AssetManagerSettings.sol/AssetManagerSettings.json +0 -1
  504. package/dist/songbird/artifacts/contracts/userInterfaces/data/AvailableAgentInfo.sol/AvailableAgentInfo.json +0 -1
  505. package/dist/songbird/artifacts/contracts/userInterfaces/data/CollateralType.sol/CollateralType.json +0 -1
  506. package/dist/songbird/artifacts/contracts/userInterfaces/data/RedemptionTicketInfo.sol/RedemptionTicketInfo.json +0 -1
  507. package/dist/songbird/artifacts/contracts/utils/interfaces/IIFtsoRegistry.sol/IIFtsoRegistry.json +0 -468
  508. package/dist/songbird/artifacts/contracts/utils/interfaces/IIFtsoRegistryV1.sol/IIFtsoRegistryV1.json +0 -111
  509. package/dist/songbird/artifacts/contracts/utils/interfaces/IIRandomProvider.sol/IIRandomProvider.json +0 -51
  510. package/dist/songbird/artifacts/contracts/utils/interfaces/IIVoterWhitelister.sol/IIVoterWhitelister.json +0 -299
  511. package/dist/songbird/artifacts/contracts/utils/interfaces/IUpdateValidators.sol/IUpdateValidators.json +0 -9
  512. package/dist/songbird/index.d.ts +0 -3
  513. package/dist/songbird/index.d.ts.map +0 -1
  514. package/dist/songbird/mapper.d.ts +0 -3
  515. package/dist/songbird/mapper.d.ts.map +0 -1
package/README.md CHANGED
@@ -10,9 +10,9 @@ This package contains ABIs and addresses for smart contracts deployed on [Flare
10
10
  ## Installation
11
11
 
12
12
  ```bash
13
- npm install @flarenetwork/flare-periphery-contract
13
+ npm install @flarenetwork/flare-periphery-contract-artifacts
14
14
  # or
15
- yarn add @flarenetwork/flare-periphery-contract
15
+ yarn add @flarenetwork/flare-periphery-contract-artifacts
16
16
  ```
17
17
 
18
18
  ## Features
@@ -21,8 +21,8 @@ yarn add @flarenetwork/flare-periphery-contract
21
21
 
22
22
  #### ABI Access Functions
23
23
 
24
- - `nameToAbi(name: string, network: string): any`
25
- - `interfaceToAbi(name: string, network: string): any`
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
26
 
27
27
  Both functions return an ABI array. The `network` parameter must be one of:
28
28
 
@@ -32,9 +32,10 @@ Both functions return an ABI array. The `network` parameter must be one of:
32
32
  - `"flare"`
33
33
 
34
34
  ```typescript
35
- import { nameToAbi } from "@flarenetwork/flare-periphery-contract";
35
+ import { nameToAbi, interfaceToAbi } from "@flarenetwork/flare-periphery-contract";
36
36
 
37
- const abi = nameToAbi("FtsoManager", "flare");
37
+ const fullAbi = nameToAbi("FtsoManager", "flare");
38
+ const interfaceAbi = interfaceToAbi("IFtsoManager", "flare");
38
39
  ```
39
40
 
40
41
  #### Address Resolution
@@ -45,7 +46,7 @@ const abi = nameToAbi("FtsoManager", "flare");
45
46
  These functions fetch contract addresses from the on-chain FlareContractRegistryLibrary.
46
47
 
47
48
  ```typescript
48
- import { nameToAddress } from "@flarenetwork/flare-periphery-contract";
49
+ import { nameToAddress } from "@flarenetwork/flare-periphery-contract-artifacts";
49
50
  import { ethers } from "ethers";
50
51
 
51
52
  const provider = new ethers.JsonRpcProvider("https://flare-api.flare.network/ext/C/rpc");
@@ -65,7 +66,7 @@ Each network (`coston`, `coston2`, `flare`, `songbird`) exports:
65
66
  Access contract information through `.ContractName` syntax:
66
67
 
67
68
  ```typescript
68
- import { flare } from "@flarenetwork/flare-periphery-contract";
69
+ import { flare } from "@flarenetwork/flare-periphery-contract-artifacts";
69
70
 
70
71
  const ftsoManager = flare.products.FtsoManager;
71
72
  console.log(ftsoManager.name); // Contract name
@@ -81,7 +82,7 @@ const address = await ftsoManager.getAddress(provider);
81
82
  Access interface ABIs using `.InterfaceName` syntax:
82
83
 
83
84
  ```typescript
84
- import { flare } from "@flarenetwork/flare-periphery-contract";
85
+ import { flare } from "@flarenetwork/flare-periphery-contract-artifacts";
85
86
 
86
87
  const abi = flare.interfaceAbis.IFtsoManager;
87
88
  ```
@@ -91,7 +92,7 @@ const abi = flare.interfaceAbis.IFtsoManager;
91
92
  It is same as top-level functions but with the pre-set network:
92
93
 
93
94
  ```typescript
94
- import { flare } from "@flarenetwork/flare-periphery-contract";
95
+ import { flare } from "@flarenetwork/flare-periphery-contract-artifacts";
95
96
 
96
97
  const abi = flare.nameToAbi("FtsoManager"); // Network already known
97
98
  const iAbi = flare.interfaceToAbi("IFtsoManager");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@flarenetwork/flare-periphery-contract-artifacts",
3
3
  "description": "Smart contracts artifacts for all Flare chains",
4
- "version": "0.1.22",
4
+ "version": "0.1.23",
5
5
  "author": "Flare Network",
6
6
  "license": "MIT",
7
7
  "main": "./dist/index.js",
@@ -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"}
@@ -1,95 +0,0 @@
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
@@ -1 +0,0 @@
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"}