@flarenetwork/flare-periphery-contract-artifacts 0.1.0 → 0.1.2

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 (317) hide show
  1. package/coston/artifacts/contracts/ftso/implementation/FtsoManager.sol/FtsoManager.json +2 -2
  2. package/coston/artifacts/contracts/governance/implementation/PollingFtso.sol/PollingFtso.json +2 -2
  3. package/coston/artifacts/contracts/inflation/interface/IIInflationReceiverV1.sol/IIInflationReceiverV1.json +57 -0
  4. package/coston/artifacts/contracts/tokenPools/implementation/FtsoRewardManager.sol/FtsoRewardManager.json +6 -19
  5. package/coston/artifacts/contracts/tokenPools/interface/IIFtsoRewardManager.sol/IIFtsoRewardManager.json +0 -13
  6. package/coston/artifacts/contracts/utils/implementation/FtsoV2Upgrader.sol/FtsoV2Upgrader.json +2 -2
  7. package/coston2/artifacts/contracts/claiming/implementation/ClaimSetupManager.sol/ClaimSetupManager.json +2 -2
  8. package/coston2/artifacts/contracts/claiming/implementation/DelegationAccount.sol/DelegationAccount.json +2 -2
  9. package/coston2/artifacts/contracts/ftso/implementation/Ftso.sol/Ftso.json +2 -2
  10. package/coston2/artifacts/contracts/ftso/implementation/FtsoManager.sol/FtsoManager.json +2 -2
  11. package/coston2/artifacts/contracts/ftso/lib/FtsoEpoch.sol/FtsoEpoch.json +2 -2
  12. package/coston2/artifacts/contracts/ftso/lib/FtsoManagement.sol/FtsoManagement.json +2 -2
  13. package/coston2/artifacts/contracts/ftso/lib/FtsoManagerSettings.sol/FtsoManagerSettings.json +2 -2
  14. package/coston2/artifacts/contracts/ftso/priceProviderMockContracts/PriceProviderMockContracts.sol/MockFtsoRegistry.json +2 -2
  15. package/coston2/artifacts/contracts/ftso/priceProviderMockContracts/PriceProviderMockContracts.sol/MockPriceSubmitter.json +2 -2
  16. package/coston2/artifacts/contracts/ftso/priceProviderMockContracts/PriceProviderMockContracts.sol/MockVoterWhitelister.json +2 -2
  17. package/coston2/artifacts/contracts/ftso/priceProviderMockContracts/priceProviderMockFtso.sol/MockNpmFtso.json +2 -2
  18. package/coston2/artifacts/contracts/governance/implementation/PollingFoundation.sol/PollingFoundation.json +2 -2
  19. package/coston2/artifacts/contracts/governance/implementation/PollingFtso.sol/PollingFtso.json +2 -2
  20. package/coston2/artifacts/contracts/staking/implementation/AddressBinder.sol/AddressBinder.json +121 -0
  21. package/coston2/artifacts/contracts/staking/implementation/PChainStake.sol/PChainStake.json +512 -0
  22. package/coston2/artifacts/contracts/staking/implementation/PChainStakeMirror.sol/PChainStakeMirror.json +1299 -0
  23. package/coston2/artifacts/contracts/staking/implementation/PChainStakeMirrorMultiSigVoting.sol/PChainStakeMirrorMultiSigVoting.json +579 -0
  24. package/coston2/artifacts/contracts/staking/implementation/PChainStakeMirrorVerifier.sol/PChainStakeMirrorVerifier.json +168 -0
  25. package/coston2/artifacts/contracts/staking/interface/IIPChainStakeMirrorVerifier.sol/IIPChainStakeMirrorVerifier.json +72 -0
  26. package/coston2/artifacts/contracts/staking/lib/PChainStakeHistory.sol/PChainStakeHistory.json +24 -0
  27. package/coston2/artifacts/contracts/token/implementation/CombinedNat.sol/CombinedNat.json +128 -0
  28. package/coston2/artifacts/contracts/token/implementation/GovernanceVotePower.sol/GovernanceVotePower.json +20 -2
  29. package/coston2/artifacts/contracts/token/implementation/VPContract.sol/VPContract.json +2 -2
  30. package/coston2/artifacts/contracts/token/implementation/VPToken.sol/VPToken.json +2 -2
  31. package/coston2/artifacts/contracts/token/implementation/WNat.sol/WNat.json +2 -2
  32. package/coston2/artifacts/contracts/token/{lib → interface}/IICombinedNatBalance.sol/IICombinedNatBalance.json +33 -1
  33. package/coston2/artifacts/contracts/token/interface/IIGovernanceVotePower.sol/IIGovernanceVotePower.json +14 -1
  34. package/coston2/artifacts/contracts/tokenPools/implementation/AttestationProviderRewardManager.sol/AttestationProviderRewardManager.json +2 -2
  35. package/coston2/artifacts/contracts/tokenPools/implementation/DistributionToDelegators.sol/DistributionToDelegators.json +2 -2
  36. package/coston2/artifacts/contracts/tokenPools/implementation/Escrow.sol/Escrow.json +2 -2
  37. package/coston2/artifacts/contracts/tokenPools/implementation/FtsoRewardManager.sol/FtsoRewardManager.json +2 -2
  38. package/coston2/artifacts/contracts/tokenPools/implementation/ValidatorRewardManager.sol/ValidatorRewardManager.json +2 -2
  39. package/coston2/artifacts/contracts/userInterfaces/IAddressBinder.sol/IAddressBinder.json +121 -0
  40. package/coston2/artifacts/contracts/userInterfaces/IGovernanceVotePower.sol/IGovernanceVotePower.json +1 -1
  41. package/coston2/artifacts/contracts/userInterfaces/IPChainStakeMirror.sol/IPChainStakeMirror.json +575 -0
  42. package/coston2/artifacts/contracts/userInterfaces/IPChainStakeMirrorMultiSigVoting.sol/IPChainStakeMirrorMultiSigVoting.json +311 -0
  43. package/coston2/artifacts/contracts/userInterfaces/IPChainStakeMirrorVerifier.sol/IPChainStakeMirrorVerifier.json +10 -0
  44. package/coston2/artifacts/contracts/userInterfaces/IPChainVotePower.sol/IPChainVotePower.json +309 -0
  45. package/coston2/artifacts/contracts/utils/implementation/BytesLib.sol/BytesLib.json +10 -0
  46. package/coston2/artifacts/contracts/utils/implementation/FtsoRegistry.sol/FtsoRegistry.json +2 -2
  47. package/coston2/artifacts/contracts/utils/implementation/FtsoV2Upgrader.sol/FtsoV2Upgrader.json +2 -2
  48. package/coston2/artifacts/contracts/utils/implementation/VoterWhitelister.sol/VoterWhitelister.json +2 -2
  49. package/coston2/deploys/contracts.json +23 -3
  50. package/dist/coston/StateConnector/libs/ts/AttestationDefinitionStore.d.ts +68 -0
  51. package/dist/coston/StateConnector/libs/ts/AttestationDefinitionStore.d.ts.map +1 -0
  52. package/dist/coston/StateConnector/libs/ts/AttestationDefinitionStore.js +164 -0
  53. package/dist/coston/StateConnector/libs/ts/AttestationDefinitionStore.js.map +1 -0
  54. package/dist/coston/StateConnector/libs/ts/AttestationResponse.d.ts +33 -0
  55. package/dist/coston/StateConnector/libs/ts/AttestationResponse.d.ts.map +1 -0
  56. package/dist/coston/StateConnector/libs/ts/AttestationResponse.js +30 -0
  57. package/dist/coston/StateConnector/libs/ts/AttestationResponse.js.map +1 -0
  58. package/dist/coston/StateConnector/libs/ts/MerkleTree.d.ts +103 -0
  59. package/dist/coston/StateConnector/libs/ts/MerkleTree.d.ts.map +1 -0
  60. package/dist/coston/StateConnector/libs/ts/MerkleTree.js +212 -0
  61. package/dist/coston/StateConnector/libs/ts/MerkleTree.js.map +1 -0
  62. package/dist/coston/StateConnector/libs/ts/config-types.d.ts +143 -0
  63. package/dist/coston/StateConnector/libs/ts/config-types.d.ts.map +1 -0
  64. package/dist/coston/StateConnector/libs/ts/config-types.js +3 -0
  65. package/dist/coston/StateConnector/libs/ts/config-types.js.map +1 -0
  66. package/dist/coston/StateConnector/libs/ts/interfaces.d.ts +32 -0
  67. package/dist/coston/StateConnector/libs/ts/interfaces.d.ts.map +1 -0
  68. package/dist/coston/StateConnector/libs/ts/interfaces.js +3 -0
  69. package/dist/coston/StateConnector/libs/ts/interfaces.js.map +1 -0
  70. package/dist/coston/StateConnector/libs/ts/random.d.ts +9 -0
  71. package/dist/coston/StateConnector/libs/ts/random.d.ts.map +1 -0
  72. package/dist/coston/StateConnector/libs/ts/random.js +70 -0
  73. package/dist/coston/StateConnector/libs/ts/random.js.map +1 -0
  74. package/dist/coston/StateConnector/libs/ts/utils.d.ts +73 -0
  75. package/dist/coston/StateConnector/libs/ts/utils.d.ts.map +1 -0
  76. package/dist/coston/StateConnector/libs/ts/utils.js +282 -0
  77. package/dist/coston/StateConnector/libs/ts/utils.js.map +1 -0
  78. package/dist/coston/StateConnector/typescript/AddressValidity.d.ts +91 -0
  79. package/dist/coston/StateConnector/typescript/AddressValidity.d.ts.map +1 -0
  80. package/dist/coston/StateConnector/typescript/AddressValidity.js +9 -0
  81. package/dist/coston/StateConnector/typescript/AddressValidity.js.map +1 -0
  82. package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.d.ts +107 -0
  83. package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.d.ts.map +1 -0
  84. package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.js +9 -0
  85. package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.js.map +1 -0
  86. package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.d.ts +103 -0
  87. package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.d.ts.map +1 -0
  88. package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.js +9 -0
  89. package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.js.map +1 -0
  90. package/dist/coston/StateConnector/typescript/EVMTransaction.d.ts +160 -0
  91. package/dist/coston/StateConnector/typescript/EVMTransaction.d.ts.map +1 -0
  92. package/dist/coston/StateConnector/typescript/EVMTransaction.js +9 -0
  93. package/dist/coston/StateConnector/typescript/EVMTransaction.js.map +1 -0
  94. package/dist/coston/StateConnector/typescript/Payment.d.ts +139 -0
  95. package/dist/coston/StateConnector/typescript/Payment.d.ts.map +1 -0
  96. package/dist/coston/StateConnector/typescript/Payment.js +9 -0
  97. package/dist/coston/StateConnector/typescript/Payment.js.map +1 -0
  98. package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.d.ts +115 -0
  99. package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.d.ts.map +1 -0
  100. package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.js +9 -0
  101. package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.js.map +1 -0
  102. package/dist/coston/StateConnector/typescript/TypeTemplate.d.ts +146 -0
  103. package/dist/coston/StateConnector/typescript/TypeTemplate.d.ts.map +1 -0
  104. package/dist/coston/StateConnector/typescript/TypeTemplate.js +9 -0
  105. package/dist/coston/StateConnector/typescript/TypeTemplate.js.map +1 -0
  106. package/dist/coston/StateConnector/typescript/data-sources/data-sources.d.ts +29 -0
  107. package/dist/coston/StateConnector/typescript/data-sources/data-sources.d.ts.map +1 -0
  108. package/dist/coston/StateConnector/typescript/data-sources/data-sources.js +33 -0
  109. package/dist/coston/StateConnector/typescript/data-sources/data-sources.js.map +1 -0
  110. package/dist/coston/StateConnector/typescript/index.d.ts +9 -0
  111. package/dist/coston/StateConnector/typescript/index.d.ts.map +1 -0
  112. package/dist/coston/StateConnector/typescript/index.js +25 -0
  113. package/dist/coston/StateConnector/typescript/index.js.map +1 -0
  114. package/dist/coston/abis.d.ts.map +1 -1
  115. package/dist/coston/abis.js +2 -0
  116. package/dist/coston/abis.js.map +1 -1
  117. package/dist/coston/artifacts/contracts/ftso/implementation/FtsoManager.sol/FtsoManager.json +2 -2
  118. package/dist/coston/artifacts/contracts/governance/implementation/PollingFtso.sol/PollingFtso.json +2 -2
  119. package/dist/coston/artifacts/contracts/inflation/interface/IIInflationReceiverV1.sol/IIInflationReceiverV1.json +57 -0
  120. package/dist/coston/artifacts/contracts/tokenPools/implementation/FtsoRewardManager.sol/FtsoRewardManager.json +6 -19
  121. package/dist/coston/artifacts/contracts/tokenPools/interface/IIFtsoRewardManager.sol/IIFtsoRewardManager.json +0 -13
  122. package/dist/coston/artifacts/contracts/utils/implementation/FtsoV2Upgrader.sol/FtsoV2Upgrader.json +2 -2
  123. package/dist/coston/deploys/mapper.js.map +1 -1
  124. package/dist/coston2/abis.d.ts.map +1 -1
  125. package/dist/coston2/abis.js +20 -2
  126. package/dist/coston2/abis.js.map +1 -1
  127. package/dist/coston2/artifacts/contracts/claiming/implementation/ClaimSetupManager.sol/ClaimSetupManager.json +2 -2
  128. package/dist/coston2/artifacts/contracts/claiming/implementation/DelegationAccount.sol/DelegationAccount.json +2 -2
  129. package/dist/coston2/artifacts/contracts/ftso/implementation/Ftso.sol/Ftso.json +2 -2
  130. package/dist/coston2/artifacts/contracts/ftso/implementation/FtsoManager.sol/FtsoManager.json +2 -2
  131. package/dist/coston2/artifacts/contracts/ftso/lib/FtsoEpoch.sol/FtsoEpoch.json +2 -2
  132. package/dist/coston2/artifacts/contracts/ftso/lib/FtsoManagement.sol/FtsoManagement.json +2 -2
  133. package/dist/coston2/artifacts/contracts/ftso/lib/FtsoManagerSettings.sol/FtsoManagerSettings.json +2 -2
  134. package/dist/coston2/artifacts/contracts/ftso/priceProviderMockContracts/PriceProviderMockContracts.sol/MockFtsoRegistry.json +2 -2
  135. package/dist/coston2/artifacts/contracts/ftso/priceProviderMockContracts/PriceProviderMockContracts.sol/MockPriceSubmitter.json +2 -2
  136. package/dist/coston2/artifacts/contracts/ftso/priceProviderMockContracts/PriceProviderMockContracts.sol/MockVoterWhitelister.json +2 -2
  137. package/dist/coston2/artifacts/contracts/ftso/priceProviderMockContracts/priceProviderMockFtso.sol/MockNpmFtso.json +2 -2
  138. package/dist/coston2/artifacts/contracts/governance/implementation/PollingFoundation.sol/PollingFoundation.json +2 -2
  139. package/dist/coston2/artifacts/contracts/governance/implementation/PollingFtso.sol/PollingFtso.json +2 -2
  140. package/dist/coston2/artifacts/contracts/staking/implementation/AddressBinder.sol/AddressBinder.json +121 -0
  141. package/dist/coston2/artifacts/contracts/staking/implementation/PChainStake.sol/PChainStake.json +512 -0
  142. package/dist/coston2/artifacts/contracts/staking/implementation/PChainStakeMirror.sol/PChainStakeMirror.json +1299 -0
  143. package/dist/coston2/artifacts/contracts/staking/implementation/PChainStakeMirrorMultiSigVoting.sol/PChainStakeMirrorMultiSigVoting.json +579 -0
  144. package/dist/coston2/artifacts/contracts/staking/implementation/PChainStakeMirrorVerifier.sol/PChainStakeMirrorVerifier.json +168 -0
  145. package/dist/coston2/artifacts/contracts/staking/interface/IIPChainStakeMirrorVerifier.sol/IIPChainStakeMirrorVerifier.json +72 -0
  146. package/dist/coston2/artifacts/contracts/staking/lib/PChainStakeHistory.sol/PChainStakeHistory.json +24 -0
  147. package/dist/coston2/artifacts/contracts/token/implementation/CombinedNat.sol/CombinedNat.json +128 -0
  148. package/dist/coston2/artifacts/contracts/token/implementation/GovernanceVotePower.sol/GovernanceVotePower.json +20 -2
  149. package/dist/coston2/artifacts/contracts/token/implementation/VPContract.sol/VPContract.json +2 -2
  150. package/dist/coston2/artifacts/contracts/token/implementation/VPToken.sol/VPToken.json +2 -2
  151. package/dist/coston2/artifacts/contracts/token/implementation/WNat.sol/WNat.json +2 -2
  152. package/dist/coston2/artifacts/contracts/token/{lib → interface}/IICombinedNatBalance.sol/IICombinedNatBalance.json +33 -1
  153. package/dist/coston2/artifacts/contracts/token/interface/IIGovernanceVotePower.sol/IIGovernanceVotePower.json +14 -1
  154. package/dist/coston2/artifacts/contracts/tokenPools/implementation/AttestationProviderRewardManager.sol/AttestationProviderRewardManager.json +2 -2
  155. package/dist/coston2/artifacts/contracts/tokenPools/implementation/DistributionToDelegators.sol/DistributionToDelegators.json +2 -2
  156. package/dist/coston2/artifacts/contracts/tokenPools/implementation/Escrow.sol/Escrow.json +2 -2
  157. package/dist/coston2/artifacts/contracts/tokenPools/implementation/FtsoRewardManager.sol/FtsoRewardManager.json +2 -2
  158. package/dist/coston2/artifacts/contracts/tokenPools/implementation/ValidatorRewardManager.sol/ValidatorRewardManager.json +2 -2
  159. package/dist/coston2/artifacts/contracts/utils/implementation/BytesLib.sol/BytesLib.json +10 -0
  160. package/dist/coston2/artifacts/contracts/utils/implementation/FtsoRegistry.sol/FtsoRegistry.json +2 -2
  161. package/dist/coston2/artifacts/contracts/utils/implementation/FtsoV2Upgrader.sol/FtsoV2Upgrader.json +2 -2
  162. package/dist/coston2/artifacts/contracts/utils/implementation/VoterWhitelister.sol/VoterWhitelister.json +2 -2
  163. package/dist/coston2/deploys/addresses.d.ts +4 -0
  164. package/dist/coston2/deploys/addresses.d.ts.map +1 -1
  165. package/dist/coston2/deploys/addresses.js +6 -2
  166. package/dist/coston2/deploys/addresses.js.map +1 -1
  167. package/dist/coston2/deploys/contracts.json +23 -3
  168. package/dist/coston2/deploys/mapper.js.map +1 -1
  169. package/dist/flare/abis.d.ts.map +1 -1
  170. package/dist/flare/abis.js +20 -2
  171. package/dist/flare/abis.js.map +1 -1
  172. package/dist/flare/artifacts/contracts/claiming/implementation/ClaimSetupManager.sol/ClaimSetupManager.json +2 -2
  173. package/dist/flare/artifacts/contracts/claiming/implementation/DelegationAccount.sol/DelegationAccount.json +2 -2
  174. package/dist/flare/artifacts/contracts/ftso/implementation/Ftso.sol/Ftso.json +2 -2
  175. package/dist/flare/artifacts/contracts/ftso/implementation/FtsoManager.sol/FtsoManager.json +2 -2
  176. package/dist/flare/artifacts/contracts/ftso/lib/FtsoEpoch.sol/FtsoEpoch.json +2 -2
  177. package/dist/flare/artifacts/contracts/ftso/lib/FtsoManagement.sol/FtsoManagement.json +2 -2
  178. package/dist/flare/artifacts/contracts/ftso/lib/FtsoManagerSettings.sol/FtsoManagerSettings.json +2 -2
  179. package/dist/flare/artifacts/contracts/ftso/priceProviderMockContracts/PriceProviderMockContracts.sol/MockFtsoRegistry.json +2 -2
  180. package/dist/flare/artifacts/contracts/ftso/priceProviderMockContracts/PriceProviderMockContracts.sol/MockPriceSubmitter.json +2 -2
  181. package/dist/flare/artifacts/contracts/ftso/priceProviderMockContracts/PriceProviderMockContracts.sol/MockVoterWhitelister.json +2 -2
  182. package/dist/flare/artifacts/contracts/ftso/priceProviderMockContracts/priceProviderMockFtso.sol/MockNpmFtso.json +2 -2
  183. package/dist/flare/artifacts/contracts/governance/implementation/PollingFoundation.sol/PollingFoundation.json +2 -2
  184. package/dist/flare/artifacts/contracts/governance/implementation/PollingFtso.sol/PollingFtso.json +2 -2
  185. package/dist/flare/artifacts/contracts/staking/implementation/AddressBinder.sol/AddressBinder.json +121 -0
  186. package/dist/flare/artifacts/contracts/staking/implementation/PChainStake.sol/PChainStake.json +512 -0
  187. package/dist/flare/artifacts/contracts/staking/implementation/PChainStakeMirror.sol/PChainStakeMirror.json +1299 -0
  188. package/dist/flare/artifacts/contracts/staking/implementation/PChainStakeMirrorMultiSigVoting.sol/PChainStakeMirrorMultiSigVoting.json +579 -0
  189. package/dist/flare/artifacts/contracts/staking/implementation/PChainStakeMirrorVerifier.sol/PChainStakeMirrorVerifier.json +168 -0
  190. package/dist/flare/artifacts/contracts/staking/interface/IIPChainStakeMirrorVerifier.sol/IIPChainStakeMirrorVerifier.json +72 -0
  191. package/dist/flare/artifacts/contracts/staking/lib/PChainStakeHistory.sol/PChainStakeHistory.json +24 -0
  192. package/dist/flare/artifacts/contracts/token/implementation/CombinedNat.sol/CombinedNat.json +128 -0
  193. package/dist/flare/artifacts/contracts/token/implementation/GovernanceVotePower.sol/GovernanceVotePower.json +20 -2
  194. package/dist/flare/artifacts/contracts/token/implementation/VPContract.sol/VPContract.json +2 -2
  195. package/dist/flare/artifacts/contracts/token/implementation/VPToken.sol/VPToken.json +2 -2
  196. package/dist/flare/artifacts/contracts/token/implementation/WNat.sol/WNat.json +2 -2
  197. package/dist/flare/artifacts/contracts/token/{lib → interface}/IICombinedNatBalance.sol/IICombinedNatBalance.json +33 -1
  198. package/dist/flare/artifacts/contracts/token/interface/IIGovernanceVotePower.sol/IIGovernanceVotePower.json +14 -1
  199. package/dist/flare/artifacts/contracts/tokenPools/implementation/AttestationProviderRewardManager.sol/AttestationProviderRewardManager.json +2 -2
  200. package/dist/flare/artifacts/contracts/tokenPools/implementation/DistributionToDelegators.sol/DistributionToDelegators.json +2 -2
  201. package/dist/flare/artifacts/contracts/tokenPools/implementation/Escrow.sol/Escrow.json +2 -2
  202. package/dist/flare/artifacts/contracts/tokenPools/implementation/FtsoRewardManager.sol/FtsoRewardManager.json +2 -2
  203. package/dist/flare/artifacts/contracts/tokenPools/implementation/ValidatorRewardManager.sol/ValidatorRewardManager.json +2 -2
  204. package/dist/flare/artifacts/contracts/utils/implementation/BytesLib.sol/BytesLib.json +10 -0
  205. package/dist/flare/artifacts/contracts/utils/implementation/FtsoRegistry.sol/FtsoRegistry.json +2 -2
  206. package/dist/flare/artifacts/contracts/utils/implementation/FtsoV2Upgrader.sol/FtsoV2Upgrader.json +2 -2
  207. package/dist/flare/artifacts/contracts/utils/implementation/VoterWhitelister.sol/VoterWhitelister.json +2 -2
  208. package/dist/flare/deploys/addresses.d.ts +4 -0
  209. package/dist/flare/deploys/addresses.d.ts.map +1 -1
  210. package/dist/flare/deploys/addresses.js +6 -2
  211. package/dist/flare/deploys/addresses.js.map +1 -1
  212. package/dist/flare/deploys/contracts.json +23 -3
  213. package/dist/flare/deploys/mapper.js.map +1 -1
  214. package/dist/songbird/abis.d.ts.map +1 -1
  215. package/dist/songbird/abis.js +20 -14
  216. package/dist/songbird/abis.js.map +1 -1
  217. package/dist/songbird/artifacts/contracts/claiming/implementation/ClaimSetupManager.sol/ClaimSetupManager.json +2 -2
  218. package/dist/songbird/artifacts/contracts/ftso/implementation/FtsoManager.sol/FtsoManager.json +2 -2
  219. package/dist/songbird/artifacts/contracts/governance/implementation/PollingFoundation.sol/PollingFoundation.json +2 -2
  220. package/dist/songbird/artifacts/contracts/governance/implementation/PollingFtso.sol/PollingFtso.json +2 -2
  221. package/dist/songbird/artifacts/contracts/inflation/implementation/Inflation.sol/Inflation.json +273 -298
  222. package/dist/songbird/artifacts/contracts/inflation/implementation/InflationAllocation.sol/InflationAllocation.json +463 -0
  223. package/dist/songbird/artifacts/contracts/inflation/implementation/SelfDestructBurner.sol/SelfDestructBurner.json +73 -0
  224. package/dist/songbird/artifacts/contracts/inflation/implementation/Supply.sol/Supply.json +290 -51
  225. package/dist/songbird/artifacts/contracts/inflation/interface/{IIInflationSharingPercentageProvider.sol/IIInflationSharingPercentageProvider.json → IIInflationAllocation.sol/IIInflationAllocation.json} +15 -2
  226. package/dist/songbird/artifacts/contracts/inflation/interface/IIInflationReceiver.sol/IIInflationReceiver.json +26 -0
  227. package/dist/songbird/artifacts/contracts/inflation/interface/IIInflationReceiverV1.sol/IIInflationReceiverV1.json +57 -0
  228. package/dist/songbird/artifacts/contracts/inflation/interface/IIInflationV1.sol/IIInflationV1.json +142 -0
  229. package/dist/songbird/artifacts/contracts/inflation/interface/IIPreInflationCalculation.sol/IIPreInflationCalculation.json +18 -0
  230. package/dist/songbird/artifacts/contracts/inflation/interface/IISupply.sol/IISupply.json +6 -12
  231. package/dist/songbird/artifacts/contracts/inflation/lib/{RewardServices.sol/RewardServices.json → InflationRewardServices.sol/InflationRewardServices.json} +25 -6
  232. package/dist/songbird/artifacts/contracts/inflation/lib/InflationTimeSlots.sol/InflationTimeSlots.json +10 -0
  233. package/dist/songbird/artifacts/contracts/tokenPools/implementation/FtsoRewardManager.sol/FtsoRewardManager.json +2 -2
  234. package/dist/songbird/artifacts/contracts/tokenPools/implementation/InflationReceiver.sol/InflationReceiver.json +127 -0
  235. package/dist/songbird/artifacts/contracts/tokenPools/implementation/TokenPoolBase.sol/TokenPoolBase.json +10 -0
  236. package/dist/songbird/artifacts/contracts/tokenPools/interface/IIFtsoRewardManager.sol/IIFtsoRewardManager.json +13 -0
  237. package/dist/songbird/artifacts/contracts/utils/implementation/FtsoV2Upgrader.sol/FtsoV2Upgrader.json +2 -2
  238. package/dist/songbird/deploys/addresses.js +3 -3
  239. package/dist/songbird/deploys/contracts.json +3 -3
  240. package/dist/songbird/deploys/mapper.js.map +1 -1
  241. package/flare/artifacts/contracts/claiming/implementation/ClaimSetupManager.sol/ClaimSetupManager.json +2 -2
  242. package/flare/artifacts/contracts/claiming/implementation/DelegationAccount.sol/DelegationAccount.json +2 -2
  243. package/flare/artifacts/contracts/ftso/implementation/Ftso.sol/Ftso.json +2 -2
  244. package/flare/artifacts/contracts/ftso/implementation/FtsoManager.sol/FtsoManager.json +2 -2
  245. package/flare/artifacts/contracts/ftso/lib/FtsoEpoch.sol/FtsoEpoch.json +2 -2
  246. package/flare/artifacts/contracts/ftso/lib/FtsoManagement.sol/FtsoManagement.json +2 -2
  247. package/flare/artifacts/contracts/ftso/lib/FtsoManagerSettings.sol/FtsoManagerSettings.json +2 -2
  248. package/flare/artifacts/contracts/ftso/priceProviderMockContracts/PriceProviderMockContracts.sol/MockFtsoRegistry.json +2 -2
  249. package/flare/artifacts/contracts/ftso/priceProviderMockContracts/PriceProviderMockContracts.sol/MockPriceSubmitter.json +2 -2
  250. package/flare/artifacts/contracts/ftso/priceProviderMockContracts/PriceProviderMockContracts.sol/MockVoterWhitelister.json +2 -2
  251. package/flare/artifacts/contracts/ftso/priceProviderMockContracts/priceProviderMockFtso.sol/MockNpmFtso.json +2 -2
  252. package/flare/artifacts/contracts/governance/implementation/PollingFoundation.sol/PollingFoundation.json +2 -2
  253. package/flare/artifacts/contracts/governance/implementation/PollingFtso.sol/PollingFtso.json +2 -2
  254. package/flare/artifacts/contracts/staking/implementation/AddressBinder.sol/AddressBinder.json +121 -0
  255. package/flare/artifacts/contracts/staking/implementation/PChainStake.sol/PChainStake.json +512 -0
  256. package/flare/artifacts/contracts/staking/implementation/PChainStakeMirror.sol/PChainStakeMirror.json +1299 -0
  257. package/flare/artifacts/contracts/staking/implementation/PChainStakeMirrorMultiSigVoting.sol/PChainStakeMirrorMultiSigVoting.json +579 -0
  258. package/flare/artifacts/contracts/staking/implementation/PChainStakeMirrorVerifier.sol/PChainStakeMirrorVerifier.json +168 -0
  259. package/flare/artifacts/contracts/staking/interface/IIPChainStakeMirrorVerifier.sol/IIPChainStakeMirrorVerifier.json +72 -0
  260. package/flare/artifacts/contracts/staking/lib/PChainStakeHistory.sol/PChainStakeHistory.json +24 -0
  261. package/flare/artifacts/contracts/token/implementation/CombinedNat.sol/CombinedNat.json +128 -0
  262. package/flare/artifacts/contracts/token/implementation/GovernanceVotePower.sol/GovernanceVotePower.json +20 -2
  263. package/flare/artifacts/contracts/token/implementation/VPContract.sol/VPContract.json +2 -2
  264. package/flare/artifacts/contracts/token/implementation/VPToken.sol/VPToken.json +2 -2
  265. package/flare/artifacts/contracts/token/implementation/WNat.sol/WNat.json +2 -2
  266. package/flare/artifacts/contracts/token/{lib → interface}/IICombinedNatBalance.sol/IICombinedNatBalance.json +33 -1
  267. package/flare/artifacts/contracts/token/interface/IIGovernanceVotePower.sol/IIGovernanceVotePower.json +14 -1
  268. package/flare/artifacts/contracts/tokenPools/implementation/AttestationProviderRewardManager.sol/AttestationProviderRewardManager.json +2 -2
  269. package/flare/artifacts/contracts/tokenPools/implementation/DistributionToDelegators.sol/DistributionToDelegators.json +2 -2
  270. package/flare/artifacts/contracts/tokenPools/implementation/Escrow.sol/Escrow.json +2 -2
  271. package/flare/artifacts/contracts/tokenPools/implementation/FtsoRewardManager.sol/FtsoRewardManager.json +2 -2
  272. package/flare/artifacts/contracts/tokenPools/implementation/ValidatorRewardManager.sol/ValidatorRewardManager.json +2 -2
  273. package/flare/artifacts/contracts/userInterfaces/IAddressBinder.sol/IAddressBinder.json +121 -0
  274. package/flare/artifacts/contracts/userInterfaces/IGovernanceVotePower.sol/IGovernanceVotePower.json +1 -1
  275. package/flare/artifacts/contracts/userInterfaces/IPChainStakeMirror.sol/IPChainStakeMirror.json +575 -0
  276. package/flare/artifacts/contracts/userInterfaces/IPChainStakeMirrorMultiSigVoting.sol/IPChainStakeMirrorMultiSigVoting.json +311 -0
  277. package/flare/artifacts/contracts/userInterfaces/IPChainStakeMirrorVerifier.sol/IPChainStakeMirrorVerifier.json +10 -0
  278. package/flare/artifacts/contracts/userInterfaces/IPChainVotePower.sol/IPChainVotePower.json +309 -0
  279. package/flare/artifacts/contracts/utils/implementation/BytesLib.sol/BytesLib.json +10 -0
  280. package/flare/artifacts/contracts/utils/implementation/FtsoRegistry.sol/FtsoRegistry.json +2 -2
  281. package/flare/artifacts/contracts/utils/implementation/FtsoV2Upgrader.sol/FtsoV2Upgrader.json +2 -2
  282. package/flare/artifacts/contracts/utils/implementation/VoterWhitelister.sol/VoterWhitelister.json +2 -2
  283. package/flare/deploys/contracts.json +23 -3
  284. package/package.json +3 -2
  285. package/songbird/artifacts/contracts/claiming/implementation/ClaimSetupManager.sol/ClaimSetupManager.json +2 -2
  286. package/songbird/artifacts/contracts/ftso/implementation/FtsoManager.sol/FtsoManager.json +2 -2
  287. package/songbird/artifacts/contracts/governance/implementation/PollingFoundation.sol/PollingFoundation.json +2 -2
  288. package/songbird/artifacts/contracts/governance/implementation/PollingFtso.sol/PollingFtso.json +2 -2
  289. package/songbird/artifacts/contracts/inflation/implementation/Inflation.sol/Inflation.json +273 -298
  290. package/songbird/artifacts/contracts/inflation/implementation/InflationAllocation.sol/InflationAllocation.json +463 -0
  291. package/songbird/artifacts/contracts/inflation/implementation/SelfDestructBurner.sol/SelfDestructBurner.json +73 -0
  292. package/songbird/artifacts/contracts/inflation/implementation/Supply.sol/Supply.json +290 -51
  293. package/songbird/artifacts/contracts/inflation/interface/{IIInflationSharingPercentageProvider.sol/IIInflationSharingPercentageProvider.json → IIInflationAllocation.sol/IIInflationAllocation.json} +15 -2
  294. package/songbird/artifacts/contracts/inflation/interface/IIInflationReceiver.sol/IIInflationReceiver.json +26 -0
  295. package/songbird/artifacts/contracts/inflation/interface/IIInflationReceiverV1.sol/IIInflationReceiverV1.json +57 -0
  296. package/songbird/artifacts/contracts/inflation/interface/IIInflationV1.sol/IIInflationV1.json +142 -0
  297. package/songbird/artifacts/contracts/inflation/interface/IIPreInflationCalculation.sol/IIPreInflationCalculation.json +18 -0
  298. package/songbird/artifacts/contracts/inflation/interface/IISupply.sol/IISupply.json +6 -12
  299. package/songbird/artifacts/contracts/inflation/lib/{RewardServices.sol/RewardServices.json → InflationRewardServices.sol/InflationRewardServices.json} +25 -6
  300. package/songbird/artifacts/contracts/inflation/lib/InflationTimeSlots.sol/InflationTimeSlots.json +10 -0
  301. package/songbird/artifacts/contracts/tokenPools/implementation/FtsoRewardManager.sol/FtsoRewardManager.json +2 -2
  302. package/songbird/artifacts/contracts/tokenPools/implementation/InflationReceiver.sol/InflationReceiver.json +127 -0
  303. package/songbird/artifacts/contracts/tokenPools/implementation/TokenPoolBase.sol/TokenPoolBase.json +10 -0
  304. package/songbird/artifacts/contracts/tokenPools/interface/IIFtsoRewardManager.sol/IIFtsoRewardManager.json +13 -0
  305. package/songbird/artifacts/contracts/userInterfaces/IGenericRewardManager.sol/IGenericRewardManager.json +248 -0
  306. package/songbird/artifacts/contracts/utils/implementation/FtsoV2Upgrader.sol/FtsoV2Upgrader.json +2 -2
  307. package/songbird/deploys/contracts.json +3 -3
  308. package/dist/songbird/artifacts/contracts/governance/implementation/InflationAllocation.sol/InflationAllocation.json +0 -351
  309. package/dist/songbird/artifacts/contracts/inflation/interface/IIInflationPercentageProvider.sol/IIInflationPercentageProvider.json +0 -24
  310. package/dist/songbird/artifacts/contracts/inflation/lib/InflationAnnum.sol/InflationAnnum.json +0 -10
  311. package/dist/songbird/artifacts/contracts/inflation/lib/InflationAnnums.sol/InflationAnnums.json +0 -10
  312. package/dist/songbird/artifacts/contracts/inflation/lib/RewardService.sol/RewardService.json +0 -30
  313. package/songbird/artifacts/contracts/governance/implementation/InflationAllocation.sol/InflationAllocation.json +0 -351
  314. package/songbird/artifacts/contracts/inflation/interface/IIInflationPercentageProvider.sol/IIInflationPercentageProvider.json +0 -24
  315. package/songbird/artifacts/contracts/inflation/lib/InflationAnnum.sol/InflationAnnum.json +0 -10
  316. package/songbird/artifacts/contracts/inflation/lib/InflationAnnums.sol/InflationAnnums.json +0 -10
  317. package/songbird/artifacts/contracts/inflation/lib/RewardService.sol/RewardService.json +0 -30
@@ -0,0 +1,103 @@
1
+ export declare namespace ConfirmedBlockHeightExists {
2
+ const NAME = "ConfirmedBlockHeightExists";
3
+ const TYPE = "0x436f6e6669726d6564426c6f636b486569676874457869737473000000000000";
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 as defined [here](/specs/attestations/hash-MIC.md#message-integrity-code).
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 ConfirmedBlockHeightExistsType attestation type
69
+ */
70
+ interface RequestBody {
71
+ /**
72
+ * The number of the block the request wants a confirmation of.
73
+ */
74
+ blockNumber: string;
75
+ /**
76
+ * The period in seconds for sampling. The range is from `blockNumber` to the blockNumber of the first block more than queryWindow before the `blockNumber`.
77
+ */
78
+ queryWindow: string;
79
+ }
80
+ /**
81
+ * Response body for ConfirmedBlockHeightExistsType attestation type
82
+ */
83
+ interface ResponseBody {
84
+ /**
85
+ * The timestamp of the block with `blockNumber`.
86
+ */
87
+ blockTimestamp: string;
88
+ /**
89
+ * The depth at which a block is considered confirmed depending on the chain. All attestation clients must agree on this number.
90
+ */
91
+ numberOfConfirmations: string;
92
+ /**
93
+ * The block number of the latest block that has a timestamp strictly smaller than `blockTimestamp` - `queryWindow`.
94
+ */
95
+ lowestQueryWindowBlockNumber: string;
96
+ /**
97
+ * The timestamp of the block at height `lowestQueryWindowBlockNumber`.
98
+ */
99
+ lowestQueryWindowBlockTimestamp: string;
100
+ }
101
+ type RequestNoMic = Omit<Request, "messageIntegrityCode">;
102
+ }
103
+ //# sourceMappingURL=ConfirmedBlockHeightExists.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfirmedBlockHeightExists.d.ts","sourceRoot":"","sources":["../../../../coston/StateConnector/typescript/ConfirmedBlockHeightExists.ts"],"names":[],"mappings":"AAAA,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,IAAI,+BAA+B,CAAC;IAC1C,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,WAAW,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;KACvB;IAED;;OAEG;IACH,UAAiB,YAAY;QACzB;;WAEG;QACH,cAAc,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,qBAAqB,EAAE,MAAM,CAAC;QAE9B;;WAEG;QACH,4BAA4B,EAAE,MAAM,CAAC;QAErC;;WAEG;QACH,+BAA+B,EAAE,MAAM,CAAC;KAC3C;IAED,KAAY,YAAY,GAAG,IAAI,CAAC,OAAO,EAAE,sBAAsB,CAAC,CAAC;CACpE"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConfirmedBlockHeightExists = void 0;
4
+ var ConfirmedBlockHeightExists;
5
+ (function (ConfirmedBlockHeightExists) {
6
+ ConfirmedBlockHeightExists.NAME = "ConfirmedBlockHeightExists";
7
+ ConfirmedBlockHeightExists.TYPE = "0x436f6e6669726d6564426c6f636b486569676874457869737473000000000000";
8
+ })(ConfirmedBlockHeightExists || (exports.ConfirmedBlockHeightExists = ConfirmedBlockHeightExists = {}));
9
+ //# sourceMappingURL=ConfirmedBlockHeightExists.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfirmedBlockHeightExists.js","sourceRoot":"","sources":["../../../../coston/StateConnector/typescript/ConfirmedBlockHeightExists.ts"],"names":[],"mappings":";;;AAAA,IAAiB,0BAA0B,CAwH1C;AAxHD,WAAiB,0BAA0B;IAC1B,+BAAI,GAAG,4BAA4B,CAAC;IACpC,+BAAI,GAAG,oEAAoE,CAAC;AAsH7F,CAAC,EAxHgB,0BAA0B,0CAA1B,0BAA0B,QAwH1C"}
@@ -0,0 +1,160 @@
1
+ export declare namespace EVMTransaction {
2
+ const NAME = "EVMTransaction";
3
+ const TYPE = "0x45564d5472616e73616374696f6e000000000000000000000000000000000000";
4
+ /**
5
+ * Toplevel request
6
+ */
7
+ interface Request {
8
+ /**
9
+ * Attestation type id as defined for each attestation type on [this repo](https://gitlab.com/flarenetwork/state-connector-protocol/)
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 as defined [here](/specs/attestations/hash-MIC.md#message-integrity-code).
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 EVM transaction attestation type
69
+ */
70
+ interface RequestBody {
71
+ /**
72
+ * Hash of the transaction(transactionHash).
73
+ */
74
+ transactionHash: string;
75
+ /**
76
+ * The height at which a block is considered confirmed by the requestor.
77
+ */
78
+ requiredConfirmations: string;
79
+ /**
80
+ * If true, "input" field is included in the response.
81
+ */
82
+ provideInput: boolean;
83
+ /**
84
+ * If true, events indicated by `logIndices` are included in the response. Otherwise, no events are included in the response.
85
+ */
86
+ listEvents: boolean;
87
+ /**
88
+ * If listEvents is false, this should be an empty list, otherwise, the request is rejected. If listEvents is true, this is the list of indices (logIndex) of the events to be relayed (sorted by the requestor). The array should contain at most 50 indices. If empty, it indicates all events in order capped by 50.
89
+ */
90
+ logIndices: string[];
91
+ }
92
+ /**
93
+ * Response body for EVM transaction attestation type
94
+ */
95
+ interface ResponseBody {
96
+ /**
97
+ * Number of the block in which the transaction is included.
98
+ */
99
+ blockNumber: string;
100
+ /**
101
+ * Timestamp of the block in which the transaction is included.
102
+ */
103
+ timestamp: string;
104
+ /**
105
+ * The address (from) that signed the transaction.
106
+ */
107
+ sourceAddress: string;
108
+ /**
109
+ * Indicate whether it is a contract creation transaction.
110
+ */
111
+ isDeployment: boolean;
112
+ /**
113
+ * The address (to) of the receiver of the initial transaction. Zero address if `isDeployment` is true.
114
+ */
115
+ receivingAddress: string;
116
+ /**
117
+ * The value transferred by the initial transaction in wei.
118
+ */
119
+ value: string;
120
+ /**
121
+ * If `provideInput`, this is the data send along with the initial transaction. Otherwise it is the default value `0x00`.
122
+ */
123
+ input: string;
124
+ /**
125
+ * Status of the transaction 1 - success, 0 - failure.
126
+ */
127
+ status: string;
128
+ /**
129
+ * If `listEvents` is true, an array of the requested events. Sorted by the logIndex in the same order as `logIndices`. Otherwise, an empty array.
130
+ */
131
+ events: Event[];
132
+ }
133
+ /**
134
+ * Event log record
135
+ */
136
+ interface Event {
137
+ /**
138
+ * The consecutive number of the event in block.
139
+ */
140
+ logIndex: string;
141
+ /**
142
+ * The address of the contract that emitted the event.
143
+ */
144
+ emitterAddress: string;
145
+ /**
146
+ * An array of up to 4 32-byte strings of indexed log arguments. The first string is the signature of the event.
147
+ */
148
+ topics: string[];
149
+ /**
150
+ * Concatenated 32-byte strings of non-indexed log arguments. At least 32 bytes long.
151
+ */
152
+ data: string;
153
+ /**
154
+ * It is true if log was removed due to a chain reorganization and false if it is a valid log.
155
+ */
156
+ removed: boolean;
157
+ }
158
+ type RequestNoMic = Omit<Request, "messageIntegrityCode">;
159
+ }
160
+ //# sourceMappingURL=EVMTransaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EVMTransaction.d.ts","sourceRoot":"","sources":["../../../../coston/StateConnector/typescript/EVMTransaction.ts"],"names":[],"mappings":"AAAA,yBAAiB,cAAc,CAAC;IACrB,MAAM,IAAI,mBAAmB,CAAC;IAC9B,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,eAAe,EAAE,MAAM,CAAC;QAExB;;WAEG;QACH,qBAAqB,EAAE,MAAM,CAAC;QAE9B;;WAEG;QACH,YAAY,EAAE,OAAO,CAAC;QAEtB;;WAEG;QACH,UAAU,EAAE,OAAO,CAAC;QAEpB;;WAEG;QACH,UAAU,EAAE,MAAM,EAAE,CAAC;KACxB;IAED;;OAEG;IACH,UAAiB,YAAY;QACzB;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,aAAa,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,YAAY,EAAE,OAAO,CAAC;QAEtB;;WAEG;QACH,gBAAgB,EAAE,MAAM,CAAC;QAEzB;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QAEd;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QAEd;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,MAAM,EAAE,KAAK,EAAE,CAAC;KACnB;IAED;;OAEG;IACH,UAAiB,KAAK;QAClB;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,cAAc,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,MAAM,EAAE,MAAM,EAAE,CAAC;QAEjB;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,OAAO,EAAE,OAAO,CAAC;KACpB;IAED,KAAY,YAAY,GAAG,IAAI,CAAC,OAAO,EAAE,sBAAsB,CAAC,CAAC;CACpE"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EVMTransaction = void 0;
4
+ var EVMTransaction;
5
+ (function (EVMTransaction) {
6
+ EVMTransaction.NAME = "EVMTransaction";
7
+ EVMTransaction.TYPE = "0x45564d5472616e73616374696f6e000000000000000000000000000000000000";
8
+ })(EVMTransaction || (exports.EVMTransaction = EVMTransaction = {}));
9
+ //# sourceMappingURL=EVMTransaction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EVMTransaction.js","sourceRoot":"","sources":["../../../../coston/StateConnector/typescript/EVMTransaction.ts"],"names":[],"mappings":";;;AAAA,IAAiB,cAAc,CA8L9B;AA9LD,WAAiB,cAAc;IACd,mBAAI,GAAG,gBAAgB,CAAC;IACxB,mBAAI,GAAG,oEAAoE,CAAC;AA4L7F,CAAC,EA9LgB,cAAc,8BAAd,cAAc,QA8L9B"}
@@ -0,0 +1,139 @@
1
+ export declare namespace Payment {
2
+ const NAME = "Payment";
3
+ const TYPE = "0x5061796d656e7400000000000000000000000000000000000000000000000000";
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 as defined [here](/specs/attestations/hash-MIC.md#message-integrity-code).
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 Payment attestation type
69
+ */
70
+ interface RequestBody {
71
+ /**
72
+ * Id of the payment transaction.
73
+ */
74
+ transactionId: string;
75
+ /**
76
+ * For UTXO, this is the index of the transaction input with source address. Always 0 for the non-utxo chains.
77
+ */
78
+ inUtxo: string;
79
+ /**
80
+ * For UTXO, this is the index of the transaction output with receiving address. Always 0 for the non-utxo chains.
81
+ */
82
+ utxo: string;
83
+ }
84
+ /**
85
+ * Response body for Payment attestation type
86
+ */
87
+ interface ResponseBody {
88
+ /**
89
+ * Number of the block in which the transaction is included.
90
+ */
91
+ blockNumber: string;
92
+ /**
93
+ * The timestamps of the block in which the transaction is included.
94
+ */
95
+ blockTimestamp: string;
96
+ /**
97
+ * Standard address hash of the source address.
98
+ */
99
+ sourceAddressHash: string;
100
+ /**
101
+ * Standard address hash of the receiving address. Zero 32-byte string if there is no receivingAddress (if `status` is not success).
102
+ */
103
+ receivingAddressHash: string;
104
+ /**
105
+ * Standard address hash of the intended receiving address. Relevant if the transaction was unsuccessful.
106
+ */
107
+ intendedReceivingAddressHash: string;
108
+ /**
109
+ * Amount in minimal units spent by the source address.
110
+ */
111
+ spentAmount: string;
112
+ /**
113
+ * Amount in minimal units to be spent by the source address. Relevant if the transaction status is not success.
114
+ */
115
+ intendedSpentAmount: string;
116
+ /**
117
+ * Amount in minimal units received by the receiving address.
118
+ */
119
+ receivedAmount: string;
120
+ /**
121
+ * Amount in minimal units intended to be received by the receiving address. Relevant if the transaction was unsuccessful.
122
+ */
123
+ intendedReceivedAmount: string;
124
+ /**
125
+ * Identifier of the transaction as defined [here](/specs/attestations/external-chains/standardPaymentReference.md).
126
+ */
127
+ standardPaymentReference: string;
128
+ /**
129
+ * Indicator whether only one source and one receiver are involved in the transaction.
130
+ */
131
+ oneToOne: boolean;
132
+ /**
133
+ * Status of the transaction as described [here](/specs/attestations/external-chains/transactions.md#transaction-success-status):
134
+ */
135
+ status: string;
136
+ }
137
+ type RequestNoMic = Omit<Request, "messageIntegrityCode">;
138
+ }
139
+ //# sourceMappingURL=Payment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payment.d.ts","sourceRoot":"","sources":["../../../../coston/StateConnector/typescript/Payment.ts"],"names":[],"mappings":"AAAA,yBAAiB,OAAO,CAAC;IACd,MAAM,IAAI,YAAY,CAAC;IACvB,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,aAAa,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;KAChB;IAED;;OAEG;IACH,UAAiB,YAAY;QACzB;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,cAAc,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,iBAAiB,EAAE,MAAM,CAAC;QAE1B;;WAEG;QACH,oBAAoB,EAAE,MAAM,CAAC;QAE7B;;WAEG;QACH,4BAA4B,EAAE,MAAM,CAAC;QAErC;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,mBAAmB,EAAE,MAAM,CAAC;QAE5B;;WAEG;QACH,cAAc,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,sBAAsB,EAAE,MAAM,CAAC;QAE/B;;WAEG;QACH,wBAAwB,EAAE,MAAM,CAAC;QAEjC;;WAEG;QACH,QAAQ,EAAE,OAAO,CAAC;QAElB;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;KAClB;IAED,KAAY,YAAY,GAAG,IAAI,CAAC,OAAO,EAAE,sBAAsB,CAAC,CAAC;CACpE"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Payment = void 0;
4
+ var Payment;
5
+ (function (Payment) {
6
+ Payment.NAME = "Payment";
7
+ Payment.TYPE = "0x5061796d656e7400000000000000000000000000000000000000000000000000";
8
+ })(Payment || (exports.Payment = Payment = {}));
9
+ //# sourceMappingURL=Payment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../../coston/StateConnector/typescript/Payment.ts"],"names":[],"mappings":";;;AAAA,IAAiB,OAAO,CAqKvB;AArKD,WAAiB,OAAO;IACP,YAAI,GAAG,SAAS,CAAC;IACjB,YAAI,GAAG,oEAAoE,CAAC;AAmK7F,CAAC,EArKgB,OAAO,uBAAP,OAAO,QAqKvB"}
@@ -0,0 +1,115 @@
1
+ export declare namespace ReferencedPaymentNonexistence {
2
+ const NAME = "ReferencedPaymentNonexistence";
3
+ const TYPE = "0x5265666572656e6365645061796d656e744e6f6e6578697374656e6365000000";
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 as defined [here](/specs/attestations/hash-MIC.md#message-integrity-code).
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 ReferencePaymentNonexistence attestation type
69
+ */
70
+ interface RequestBody {
71
+ /**
72
+ * The start block of the search range.
73
+ */
74
+ minimalBlockNumber: string;
75
+ /**
76
+ * The blockNumber to be included in the search range.
77
+ */
78
+ deadlineBlockNumber: string;
79
+ /**
80
+ * The timestamp to be included in the search range.
81
+ */
82
+ deadlineTimestamp: string;
83
+ /**
84
+ * The standard address hash of the address to which the payment had to be done.
85
+ */
86
+ destinationAddressHash: string;
87
+ /**
88
+ * The requested amount in minimal units that had to be payed.
89
+ */
90
+ amount: string;
91
+ /**
92
+ * The requested standard payment reference.
93
+ */
94
+ standardPaymentReference: string;
95
+ }
96
+ /**
97
+ * Response body for ReferencePaymentNonexistence attestation type.
98
+ */
99
+ interface ResponseBody {
100
+ /**
101
+ * The timestamp of the minimalBlock.
102
+ */
103
+ minimalBlockTimestamp: string;
104
+ /**
105
+ * The height of the firstOverflowBlock.
106
+ */
107
+ firstOverflowBlockNumber: string;
108
+ /**
109
+ * The timestamp of the firstOverflowBlock.
110
+ */
111
+ firstOverflowBlockTimestamp: string;
112
+ }
113
+ type RequestNoMic = Omit<Request, "messageIntegrityCode">;
114
+ }
115
+ //# sourceMappingURL=ReferencedPaymentNonexistence.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReferencedPaymentNonexistence.d.ts","sourceRoot":"","sources":["../../../../coston/StateConnector/typescript/ReferencedPaymentNonexistence.ts"],"names":[],"mappings":"AAAA,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,IAAI,kCAAkC,CAAC;IAC7C,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,kBAAkB,EAAE,MAAM,CAAC;QAE3B;;WAEG;QACH,mBAAmB,EAAE,MAAM,CAAC;QAE5B;;WAEG;QACH,iBAAiB,EAAE,MAAM,CAAC;QAE1B;;WAEG;QACH,sBAAsB,EAAE,MAAM,CAAC;QAE/B;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,wBAAwB,EAAE,MAAM,CAAC;KACpC;IAED;;OAEG;IACH,UAAiB,YAAY;QACzB;;WAEG;QACH,qBAAqB,EAAE,MAAM,CAAC;QAE9B;;WAEG;QACH,wBAAwB,EAAE,MAAM,CAAC;QAEjC;;WAEG;QACH,2BAA2B,EAAE,MAAM,CAAC;KACvC;IAED,KAAY,YAAY,GAAG,IAAI,CAAC,OAAO,EAAE,sBAAsB,CAAC,CAAC;CACpE"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ReferencedPaymentNonexistence = void 0;
4
+ var ReferencedPaymentNonexistence;
5
+ (function (ReferencedPaymentNonexistence) {
6
+ ReferencedPaymentNonexistence.NAME = "ReferencedPaymentNonexistence";
7
+ ReferencedPaymentNonexistence.TYPE = "0x5265666572656e6365645061796d656e744e6f6e6578697374656e6365000000";
8
+ })(ReferencedPaymentNonexistence || (exports.ReferencedPaymentNonexistence = ReferencedPaymentNonexistence = {}));
9
+ //# sourceMappingURL=ReferencedPaymentNonexistence.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReferencedPaymentNonexistence.js","sourceRoot":"","sources":["../../../../coston/StateConnector/typescript/ReferencedPaymentNonexistence.ts"],"names":[],"mappings":";;;AAAA,IAAiB,6BAA6B,CAuI7C;AAvID,WAAiB,6BAA6B;IAC7B,kCAAI,GAAG,+BAA+B,CAAC;IACvC,kCAAI,GAAG,oEAAoE,CAAC;AAqI7F,CAAC,EAvIgB,6BAA6B,6CAA7B,6BAA6B,QAuI7C"}