@etherisc/gif-next 3.0.0-d7939fe-905 → 3.0.0-db9ffbc-172

Sign up to get free protection for your applications and to get access to all the features.
Files changed (350) hide show
  1. package/README.md +12 -3
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +1 -1
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +2 -2
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +1 -1
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +2 -2
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +1 -1
  7. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +44 -56
  9. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +1 -1
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +145 -100
  11. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +2 -2
  13. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +2 -2
  15. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  16. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  19. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +2 -2
  21. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +2 -2
  23. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +2 -2
  25. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +2 -2
  28. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +2 -2
  30. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
  33. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
  34. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +12 -12
  35. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  36. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +2 -2
  37. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  38. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +34 -34
  39. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  40. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +20 -20
  41. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
  42. package/artifacts/contracts/examples/flight/FlightLib.sol/FlightLib.dbg.json +4 -0
  43. package/artifacts/contracts/examples/flight/FlightLib.sol/FlightLib.json +799 -0
  44. package/artifacts/contracts/examples/flight/FlightMessageVerifier.sol/FlightMessageVerifier.dbg.json +4 -0
  45. package/artifacts/contracts/examples/flight/FlightMessageVerifier.sol/FlightMessageVerifier.json +229 -0
  46. package/artifacts/contracts/examples/flight/FlightOracle.sol/FlightOracle.dbg.json +4 -0
  47. package/artifacts/contracts/examples/flight/FlightOracle.sol/FlightOracle.json +1332 -0
  48. package/artifacts/contracts/examples/flight/FlightOracleAuthorization.sol/FlightOracleAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/flight/FlightOracleAuthorization.sol/FlightOracleAuthorization.json +896 -0
  50. package/artifacts/contracts/examples/flight/FlightPool.sol/FlightPool.dbg.json +4 -0
  51. package/artifacts/contracts/examples/flight/FlightPool.sol/FlightPool.json +1466 -0
  52. package/artifacts/contracts/examples/flight/FlightPoolAuthorization.sol/FlightPoolAuthorization.dbg.json +4 -0
  53. package/artifacts/contracts/examples/flight/FlightPoolAuthorization.sol/FlightPoolAuthorization.json +844 -0
  54. package/artifacts/contracts/examples/flight/FlightProduct.sol/FlightProduct.dbg.json +4 -0
  55. package/artifacts/contracts/examples/flight/FlightProduct.sol/FlightProduct.json +2289 -0
  56. package/artifacts/contracts/examples/flight/FlightProductAuthorization.sol/FlightProductAuthorization.dbg.json +4 -0
  57. package/artifacts/contracts/examples/flight/FlightProductAuthorization.sol/FlightProductAuthorization.json +891 -0
  58. package/artifacts/contracts/examples/flight/FlightProductManager.sol/FlightProductManager.dbg.json +4 -0
  59. package/artifacts/contracts/examples/flight/FlightProductManager.sol/FlightProductManager.json +711 -0
  60. package/artifacts/contracts/examples/flight/FlightUSD.sol/FlightUSD.dbg.json +4 -0
  61. package/artifacts/contracts/examples/flight/FlightUSD.sol/FlightUSD.json +586 -0
  62. package/artifacts/contracts/examples/flight/originalV1.sol/FlightDelayChainlink.dbg.json +4 -0
  63. package/artifacts/contracts/examples/flight/originalV1.sol/FlightDelayChainlink.json +901 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  65. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +17 -17
  66. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +1 -1
  67. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +2 -2
  68. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  69. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +14 -14
  70. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  71. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +18 -18
  72. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +1 -1
  73. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +2 -2
  74. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  75. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +20 -20
  76. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +1 -1
  77. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +20 -20
  78. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +1 -1
  79. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  80. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
  81. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +1 -1
  82. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  83. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1 -1
  84. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  86. package/artifacts/contracts/instance/Instance.sol/Instance.json +5 -5
  87. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  88. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +102 -114
  89. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  90. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +2 -2
  91. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  92. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +236 -75
  93. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  94. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +2 -2
  95. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  96. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +2 -2
  97. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  98. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2 -2
  99. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +1 -1
  100. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +2 -2
  101. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +1 -1
  102. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +2 -2
  103. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  104. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  105. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  106. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  107. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  108. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  109. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
  110. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  111. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  112. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +1 -1
  113. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +2 -2
  114. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  115. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  116. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  117. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  118. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  119. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  120. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  121. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +2 -2
  122. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  123. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +2 -2
  124. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  125. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  126. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  127. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  128. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  129. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +2 -2
  130. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  131. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +2 -2
  132. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  133. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  134. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +2 -2
  135. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  136. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +2 -2
  137. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  138. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +2 -2
  139. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  140. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  141. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  142. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  143. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +1 -1
  144. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +2 -2
  145. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  146. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +2 -2
  147. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  148. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +2 -2
  149. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  150. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +2 -2
  151. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  152. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +2 -2
  153. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  154. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  155. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +20 -20
  156. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  157. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +2 -2
  158. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  159. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +2 -2
  160. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  163. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  164. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  165. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  166. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  167. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +2 -2
  168. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +1 -1
  169. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +20 -12
  170. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  171. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +2 -2
  172. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  173. package/artifacts/contracts/product/PricingService.sol/PricingService.json +2 -2
  174. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  175. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +2 -2
  176. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  177. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  178. package/artifacts/contracts/product/RiskService.sol/RiskService.json +2 -2
  179. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  180. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +2 -2
  181. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  182. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  183. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  184. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +1 -1
  185. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  186. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  187. package/artifacts/contracts/registry/Registry.sol/Registry.json +2 -2
  188. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  189. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +101 -113
  190. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +1 -1
  191. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +2 -2
  192. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  193. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +2 -2
  194. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  195. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +2 -2
  196. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +1 -1
  197. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +110 -122
  198. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  199. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  200. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  201. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +56 -62
  202. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  203. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +2 -2
  204. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  205. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  206. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  207. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  208. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +2 -2
  209. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  210. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +2 -2
  211. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  212. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +2 -2
  213. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +1 -1
  214. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +1 -1
  215. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +1 -1
  216. package/artifacts/contracts/shared/IAuthorizedComponent.sol/IAuthorizedComponent.dbg.json +4 -0
  217. package/artifacts/contracts/shared/IAuthorizedComponent.sol/IAuthorizedComponent.json +633 -0
  218. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  219. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  220. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  221. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  222. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  223. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  224. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  225. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  226. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  227. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  228. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  229. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  230. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  231. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  232. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  233. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
  234. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  235. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  236. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  237. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  238. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  239. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  240. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  241. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  242. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
  243. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +2 -2
  244. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  245. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +2 -2
  246. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  247. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  248. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +1 -1
  249. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  250. package/artifacts/contracts/staking/Staking.sol/Staking.json +2 -2
  251. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +1 -1
  252. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +2 -2
  253. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  254. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +2 -2
  255. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  256. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +2 -2
  257. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  258. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +2 -2
  259. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  260. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +2 -2
  261. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  262. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2 -2
  263. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +1 -1
  264. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +2 -2
  265. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  266. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +2 -2
  267. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  268. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  269. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  270. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +1 -1
  271. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +2 -2
  272. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  273. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  274. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  275. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  276. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  277. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  278. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  279. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +1 -1
  280. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +2 -2
  281. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  282. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  283. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  284. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  285. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  286. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +22 -25
  287. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  288. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  289. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  290. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +23 -4
  291. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  292. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  293. package/artifacts/contracts/type/RequestIdSet.sol/LibRequestIdSet.dbg.json +4 -0
  294. package/artifacts/contracts/type/RequestIdSet.sol/LibRequestIdSet.json +33 -0
  295. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  296. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +2 -2
  297. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  298. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  299. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  300. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +21 -2
  301. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  302. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  304. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  305. package/artifacts/contracts/type/String.sol/StrLib.json +21 -2
  306. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +36 -4
  308. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  310. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  311. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  312. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  313. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +2 -2
  314. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  315. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  316. package/contracts/authorization/AccessAdmin.sol +6 -25
  317. package/contracts/authorization/AccessAdminLib.sol +20 -3
  318. package/contracts/examples/flight/FlightLib.sol +337 -0
  319. package/contracts/examples/flight/FlightMessageVerifier.sol +128 -0
  320. package/contracts/examples/flight/FlightOracle.sol +206 -0
  321. package/contracts/examples/flight/FlightOracleAuthorization.sol +53 -0
  322. package/contracts/examples/flight/FlightPool.sol +89 -0
  323. package/contracts/examples/flight/FlightPoolAuthorization.sol +37 -0
  324. package/contracts/examples/flight/FlightProduct.sol +687 -0
  325. package/contracts/examples/flight/FlightProductAuthorization.sol +70 -0
  326. package/contracts/examples/flight/FlightProductManager.sol +49 -0
  327. package/contracts/examples/flight/FlightUSD.sol +28 -0
  328. package/contracts/examples/flight/originalV1.sol +396 -0
  329. package/contracts/instance/IInstance.sol +1 -1
  330. package/contracts/instance/Instance.sol +1 -1
  331. package/contracts/instance/InstanceAdmin.sol +0 -1
  332. package/contracts/instance/InstanceReader.sol +41 -7
  333. package/contracts/oracle/BasicOracle.sol +1 -0
  334. package/contracts/oracle/IOracleService.sol +12 -12
  335. package/contracts/oracle/Oracle.sol +2 -2
  336. package/contracts/product/BasicProductAuthorization.sol +3 -2
  337. package/contracts/product/PolicyServiceLib.sol +5 -3
  338. package/contracts/registry/RegistryAdmin.sol +7 -1
  339. package/contracts/registry/ReleaseAdmin.sol +8 -1
  340. package/contracts/shared/EcdsaChecker.sol +5 -0
  341. package/contracts/shared/IAuthorizedComponent.sol +15 -0
  342. package/contracts/shared/IInstanceLinkedComponent.sol +2 -5
  343. package/contracts/shared/InstanceLinkedComponent.sol +60 -19
  344. package/contracts/type/ObjectType.sol +2 -31
  345. package/contracts/type/Referral.sol +6 -0
  346. package/contracts/type/RequestIdSet.sol +62 -0
  347. package/contracts/type/Seconds.sol +4 -0
  348. package/contracts/type/String.sol +30 -0
  349. package/contracts/type/Timestamp.sol +10 -1
  350. package/package.json +2 -1
@@ -0,0 +1,799 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "FlightLib",
4
+ "sourceName": "contracts/examples/flight/FlightLib.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "Timestamp",
10
+ "name": "arrivalTime",
11
+ "type": "uint40"
12
+ },
13
+ {
14
+ "internalType": "Timestamp",
15
+ "name": "maxArrivalTime",
16
+ "type": "uint40"
17
+ },
18
+ {
19
+ "internalType": "Seconds",
20
+ "name": "maxDuration",
21
+ "type": "uint40"
22
+ }
23
+ ],
24
+ "name": "ErrorFlightProductArrivalAfterMaxFlightDuration",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [
29
+ {
30
+ "internalType": "Timestamp",
31
+ "name": "departureTime",
32
+ "type": "uint40"
33
+ },
34
+ {
35
+ "internalType": "Timestamp",
36
+ "name": "arrivalTime",
37
+ "type": "uint40"
38
+ }
39
+ ],
40
+ "name": "ErrorFlightProductArrivalBeforeDepartureTime",
41
+ "type": "error"
42
+ },
43
+ {
44
+ "inputs": [
45
+ {
46
+ "internalType": "Amount",
47
+ "name": "totalSumInsured",
48
+ "type": "uint96"
49
+ },
50
+ {
51
+ "internalType": "Amount",
52
+ "name": "maxTotalPayout",
53
+ "type": "uint96"
54
+ }
55
+ ],
56
+ "name": "ErrorFlightProductClusterRisk",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [
61
+ {
62
+ "internalType": "Timestamp",
63
+ "name": "departureTime",
64
+ "type": "uint40"
65
+ },
66
+ {
67
+ "internalType": "Timestamp",
68
+ "name": "now",
69
+ "type": "uint40"
70
+ },
71
+ {
72
+ "internalType": "Seconds",
73
+ "name": "maxTimeBeforeDeparture",
74
+ "type": "uint40"
75
+ }
76
+ ],
77
+ "name": "ErrorFlightProductDepartureAfterMaxTimeBeforeDeparture",
78
+ "type": "error"
79
+ },
80
+ {
81
+ "inputs": [
82
+ {
83
+ "internalType": "Timestamp",
84
+ "name": "departureTime",
85
+ "type": "uint40"
86
+ },
87
+ {
88
+ "internalType": "Timestamp",
89
+ "name": "now",
90
+ "type": "uint40"
91
+ },
92
+ {
93
+ "internalType": "Seconds",
94
+ "name": "minTimeBeforeDeparture",
95
+ "type": "uint40"
96
+ }
97
+ ],
98
+ "name": "ErrorFlightProductDepartureBeforeMinTimeBeforeDeparture",
99
+ "type": "error"
100
+ },
101
+ {
102
+ "inputs": [
103
+ {
104
+ "internalType": "uint256",
105
+ "name": "observations",
106
+ "type": "uint256"
107
+ },
108
+ {
109
+ "internalType": "uint256",
110
+ "name": "minObservations",
111
+ "type": "uint256"
112
+ }
113
+ ],
114
+ "name": "ErrorFlightProductNotEnoughObservations",
115
+ "type": "error"
116
+ },
117
+ {
118
+ "inputs": [
119
+ {
120
+ "internalType": "Amount",
121
+ "name": "premiumAmount",
122
+ "type": "uint96"
123
+ },
124
+ {
125
+ "internalType": "Amount",
126
+ "name": "maxPremium",
127
+ "type": "uint96"
128
+ }
129
+ ],
130
+ "name": "ErrorFlightProductPremiumAmountTooLarge",
131
+ "type": "error"
132
+ },
133
+ {
134
+ "inputs": [
135
+ {
136
+ "internalType": "Amount",
137
+ "name": "premiumAmount",
138
+ "type": "uint96"
139
+ },
140
+ {
141
+ "internalType": "Amount",
142
+ "name": "minPremium",
143
+ "type": "uint96"
144
+ }
145
+ ],
146
+ "name": "ErrorFlightProductPremiumAmountTooSmall",
147
+ "type": "error"
148
+ },
149
+ {
150
+ "inputs": [
151
+ {
152
+ "internalType": "RiskId",
153
+ "name": "riskId",
154
+ "type": "bytes8"
155
+ }
156
+ ],
157
+ "name": "ErrorFlightProductRiskInvalid",
158
+ "type": "error"
159
+ },
160
+ {
161
+ "anonymous": false,
162
+ "inputs": [
163
+ {
164
+ "indexed": false,
165
+ "internalType": "RequestId",
166
+ "name": "requestId",
167
+ "type": "uint64"
168
+ },
169
+ {
170
+ "indexed": false,
171
+ "internalType": "RiskId",
172
+ "name": "riskId",
173
+ "type": "bytes8"
174
+ },
175
+ {
176
+ "indexed": false,
177
+ "internalType": "bytes1",
178
+ "name": "status",
179
+ "type": "bytes1"
180
+ },
181
+ {
182
+ "indexed": false,
183
+ "internalType": "int256",
184
+ "name": "delayMinutes",
185
+ "type": "int256"
186
+ }
187
+ ],
188
+ "name": "LogFlightProductErrorUnexpectedStatus",
189
+ "type": "event"
190
+ },
191
+ {
192
+ "anonymous": false,
193
+ "inputs": [
194
+ {
195
+ "indexed": false,
196
+ "internalType": "RequestId",
197
+ "name": "requestId",
198
+ "type": "uint64"
199
+ },
200
+ {
201
+ "indexed": false,
202
+ "internalType": "RiskId",
203
+ "name": "riskId",
204
+ "type": "bytes8"
205
+ },
206
+ {
207
+ "indexed": false,
208
+ "internalType": "bytes1",
209
+ "name": "status",
210
+ "type": "bytes1"
211
+ }
212
+ ],
213
+ "name": "LogFlightProductErrorUnprocessableStatus",
214
+ "type": "event"
215
+ },
216
+ {
217
+ "inputs": [
218
+ {
219
+ "internalType": "contract FlightProduct",
220
+ "name": "flightProduct",
221
+ "type": "FlightProduct"
222
+ },
223
+ {
224
+ "internalType": "Amount",
225
+ "name": "premium",
226
+ "type": "uint96"
227
+ },
228
+ {
229
+ "internalType": "uint256[6]",
230
+ "name": "statistics",
231
+ "type": "uint256[6]"
232
+ }
233
+ ],
234
+ "name": "calculatePayoutAmounts",
235
+ "outputs": [
236
+ {
237
+ "internalType": "uint256",
238
+ "name": "weight",
239
+ "type": "uint256"
240
+ },
241
+ {
242
+ "internalType": "Amount[5]",
243
+ "name": "payoutAmounts",
244
+ "type": "uint96[5]"
245
+ },
246
+ {
247
+ "internalType": "Amount",
248
+ "name": "sumInsuredAmount",
249
+ "type": "uint96"
250
+ }
251
+ ],
252
+ "stateMutability": "view",
253
+ "type": "function"
254
+ },
255
+ {
256
+ "inputs": [
257
+ {
258
+ "internalType": "contract FlightProduct",
259
+ "name": "flightProduct",
260
+ "type": "FlightProduct"
261
+ },
262
+ {
263
+ "internalType": "uint256[6]",
264
+ "name": "statistics",
265
+ "type": "uint256[6]"
266
+ }
267
+ ],
268
+ "name": "calculateWeight",
269
+ "outputs": [
270
+ {
271
+ "internalType": "uint256",
272
+ "name": "weight",
273
+ "type": "uint256"
274
+ }
275
+ ],
276
+ "stateMutability": "view",
277
+ "type": "function"
278
+ },
279
+ {
280
+ "inputs": [
281
+ {
282
+ "internalType": "contract FlightProduct",
283
+ "name": "flightProduct",
284
+ "type": "FlightProduct"
285
+ },
286
+ {
287
+ "internalType": "Str",
288
+ "name": "flightData",
289
+ "type": "bytes32"
290
+ },
291
+ {
292
+ "internalType": "Timestamp",
293
+ "name": "departureTime",
294
+ "type": "uint40"
295
+ },
296
+ {
297
+ "internalType": "Timestamp",
298
+ "name": "arrivalTime",
299
+ "type": "uint40"
300
+ },
301
+ {
302
+ "internalType": "Amount",
303
+ "name": "premiumAmount",
304
+ "type": "uint96"
305
+ }
306
+ ],
307
+ "name": "checkApplicationData",
308
+ "outputs": [],
309
+ "stateMutability": "view",
310
+ "type": "function"
311
+ },
312
+ {
313
+ "inputs": [
314
+ {
315
+ "internalType": "Amount",
316
+ "name": "sumOfSumInsuredAmounts",
317
+ "type": "uint96"
318
+ },
319
+ {
320
+ "internalType": "Amount",
321
+ "name": "sumInsuredAmount",
322
+ "type": "uint96"
323
+ },
324
+ {
325
+ "internalType": "Amount",
326
+ "name": "maxTotalPayout",
327
+ "type": "uint96"
328
+ }
329
+ ],
330
+ "name": "checkClusterRisk",
331
+ "outputs": [],
332
+ "stateMutability": "pure",
333
+ "type": "function"
334
+ },
335
+ {
336
+ "inputs": [
337
+ {
338
+ "internalType": "contract InstanceReader",
339
+ "name": "reader",
340
+ "type": "InstanceReader"
341
+ },
342
+ {
343
+ "internalType": "NftId",
344
+ "name": "productNftId",
345
+ "type": "uint96"
346
+ },
347
+ {
348
+ "internalType": "Str",
349
+ "name": "flightData",
350
+ "type": "bytes32"
351
+ },
352
+ {
353
+ "internalType": "Timestamp",
354
+ "name": "departureTime",
355
+ "type": "uint40"
356
+ },
357
+ {
358
+ "internalType": "string",
359
+ "name": "departureTimeLocal",
360
+ "type": "string"
361
+ },
362
+ {
363
+ "internalType": "Timestamp",
364
+ "name": "arrivalTime",
365
+ "type": "uint40"
366
+ },
367
+ {
368
+ "internalType": "string",
369
+ "name": "arrivalTimeLocal",
370
+ "type": "string"
371
+ }
372
+ ],
373
+ "name": "getFlightRisk",
374
+ "outputs": [
375
+ {
376
+ "internalType": "RiskId",
377
+ "name": "riskId",
378
+ "type": "bytes8"
379
+ },
380
+ {
381
+ "internalType": "bool",
382
+ "name": "exists",
383
+ "type": "bool"
384
+ },
385
+ {
386
+ "components": [
387
+ {
388
+ "internalType": "Str",
389
+ "name": "flightData",
390
+ "type": "bytes32"
391
+ },
392
+ {
393
+ "internalType": "Timestamp",
394
+ "name": "departureTime",
395
+ "type": "uint40"
396
+ },
397
+ {
398
+ "internalType": "string",
399
+ "name": "departureTimeLocal",
400
+ "type": "string"
401
+ },
402
+ {
403
+ "internalType": "Timestamp",
404
+ "name": "arrivalTime",
405
+ "type": "uint40"
406
+ },
407
+ {
408
+ "internalType": "string",
409
+ "name": "arrivalTimeLocal",
410
+ "type": "string"
411
+ },
412
+ {
413
+ "internalType": "Amount",
414
+ "name": "sumOfSumInsuredAmounts",
415
+ "type": "uint96"
416
+ },
417
+ {
418
+ "internalType": "bytes1",
419
+ "name": "status",
420
+ "type": "bytes1"
421
+ },
422
+ {
423
+ "internalType": "int256",
424
+ "name": "delayMinutes",
425
+ "type": "int256"
426
+ },
427
+ {
428
+ "internalType": "uint8",
429
+ "name": "payoutOption",
430
+ "type": "uint8"
431
+ },
432
+ {
433
+ "internalType": "Timestamp",
434
+ "name": "statusUpdatedAt",
435
+ "type": "uint40"
436
+ }
437
+ ],
438
+ "internalType": "struct FlightProduct.FlightRisk",
439
+ "name": "flightRisk",
440
+ "type": "tuple"
441
+ }
442
+ ],
443
+ "stateMutability": "view",
444
+ "type": "function"
445
+ },
446
+ {
447
+ "inputs": [
448
+ {
449
+ "internalType": "contract InstanceReader",
450
+ "name": "reader",
451
+ "type": "InstanceReader"
452
+ },
453
+ {
454
+ "internalType": "NftId",
455
+ "name": "productNftId",
456
+ "type": "uint96"
457
+ },
458
+ {
459
+ "internalType": "RiskId",
460
+ "name": "riskId",
461
+ "type": "bytes8"
462
+ },
463
+ {
464
+ "internalType": "bool",
465
+ "name": "requireRiskExists",
466
+ "type": "bool"
467
+ }
468
+ ],
469
+ "name": "getFlightRisk",
470
+ "outputs": [
471
+ {
472
+ "internalType": "bool",
473
+ "name": "exists",
474
+ "type": "bool"
475
+ },
476
+ {
477
+ "components": [
478
+ {
479
+ "internalType": "Str",
480
+ "name": "flightData",
481
+ "type": "bytes32"
482
+ },
483
+ {
484
+ "internalType": "Timestamp",
485
+ "name": "departureTime",
486
+ "type": "uint40"
487
+ },
488
+ {
489
+ "internalType": "string",
490
+ "name": "departureTimeLocal",
491
+ "type": "string"
492
+ },
493
+ {
494
+ "internalType": "Timestamp",
495
+ "name": "arrivalTime",
496
+ "type": "uint40"
497
+ },
498
+ {
499
+ "internalType": "string",
500
+ "name": "arrivalTimeLocal",
501
+ "type": "string"
502
+ },
503
+ {
504
+ "internalType": "Amount",
505
+ "name": "sumOfSumInsuredAmounts",
506
+ "type": "uint96"
507
+ },
508
+ {
509
+ "internalType": "bytes1",
510
+ "name": "status",
511
+ "type": "bytes1"
512
+ },
513
+ {
514
+ "internalType": "int256",
515
+ "name": "delayMinutes",
516
+ "type": "int256"
517
+ },
518
+ {
519
+ "internalType": "uint8",
520
+ "name": "payoutOption",
521
+ "type": "uint8"
522
+ },
523
+ {
524
+ "internalType": "Timestamp",
525
+ "name": "statusUpdatedAt",
526
+ "type": "uint40"
527
+ }
528
+ ],
529
+ "internalType": "struct FlightProduct.FlightRisk",
530
+ "name": "flightRisk",
531
+ "type": "tuple"
532
+ }
533
+ ],
534
+ "stateMutability": "view",
535
+ "type": "function"
536
+ },
537
+ {
538
+ "inputs": [
539
+ {
540
+ "internalType": "bytes",
541
+ "name": "applicationData",
542
+ "type": "bytes"
543
+ },
544
+ {
545
+ "internalType": "uint8",
546
+ "name": "payoutOption",
547
+ "type": "uint8"
548
+ }
549
+ ],
550
+ "name": "getPayoutAmount",
551
+ "outputs": [
552
+ {
553
+ "internalType": "Amount",
554
+ "name": "payoutAmount",
555
+ "type": "uint96"
556
+ }
557
+ ],
558
+ "stateMutability": "pure",
559
+ "type": "function"
560
+ },
561
+ {
562
+ "inputs": [
563
+ {
564
+ "internalType": "contract InstanceReader",
565
+ "name": "reader",
566
+ "type": "InstanceReader"
567
+ },
568
+ {
569
+ "internalType": "NftId",
570
+ "name": "productNftId",
571
+ "type": "uint96"
572
+ },
573
+ {
574
+ "internalType": "RiskId",
575
+ "name": "riskId",
576
+ "type": "bytes8"
577
+ }
578
+ ],
579
+ "name": "getPayoutOption",
580
+ "outputs": [
581
+ {
582
+ "internalType": "bool",
583
+ "name": "exists",
584
+ "type": "bool"
585
+ },
586
+ {
587
+ "internalType": "bool",
588
+ "name": "statusAvailable",
589
+ "type": "bool"
590
+ },
591
+ {
592
+ "internalType": "uint8",
593
+ "name": "payoutOption",
594
+ "type": "uint8"
595
+ }
596
+ ],
597
+ "stateMutability": "view",
598
+ "type": "function"
599
+ },
600
+ {
601
+ "inputs": [
602
+ {
603
+ "internalType": "NftId",
604
+ "name": "productNftId",
605
+ "type": "uint96"
606
+ },
607
+ {
608
+ "internalType": "Str",
609
+ "name": "flightData",
610
+ "type": "bytes32"
611
+ }
612
+ ],
613
+ "name": "getRiskId",
614
+ "outputs": [
615
+ {
616
+ "internalType": "RiskId",
617
+ "name": "riskId",
618
+ "type": "bytes8"
619
+ }
620
+ ],
621
+ "stateMutability": "view",
622
+ "type": "function"
623
+ }
624
+ ],
625
+ "bytecode": "0x612515610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100a6575f3560e01c80638a37ab631161006e5780638a37ab63146101755780638c2fb8f2146101a0578063b0d48dba146101b5578063bb2d4851146101c8578063bcfba169146101e9575f80fd5b80634f339f15146100aa57806355d166e1146100d557806358032400146100f75780637bc17425146101285780637c93ab1114610149575b5f80fd5b6100bd6100b8366004611b7b565b61021c565b6040516100cc93929190611d45565b60405180910390f35b6100e86100e3366004611dc9565b6103ac565b6040516100cc93929190611e0f565b818015610102575f80fd5b50610116610111366004611e89565b6108bc565b60405160ff90911681526020016100cc565b61013b610136366004611eef565b610a89565b6040516100cc929190611f48565b61015c610157366004611f62565b610be3565b6040516001600160c01b031990911681526020016100cc565b610188610183366004611f9a565b610bfa565b6040516001600160601b0390911681526020016100cc565b6101b36101ae366004611ffb565b610cb5565b005b6101b36101c336600461205f565b610cc8565b6101db6101d63660046120a7565b610d1c565b6040519081526020016100cc565b6101fc6101f73660046120db565b610f75565b604080519315158452911515602084015260ff16908201526060016100cc565b5f806102266119bd565b6102308989610be3565b925061023e8a8a855f610a89565b90925090508161039f576040518061014001604052808981526020018864ffffffffff1681526020018781526020018664ffffffffff16815260200185815260200173__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd965f6040518263ffffffff1660e01b81526004016102b991815260200190565b602060405180830381865af41580156102d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102f89190612128565b6001600160601b031681526020015f60f81b6001600160f81b03191681526020015f81526020015f60ff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561036f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610393919061214e565b64ffffffffff16905290505b9750975097945050505050565b5f6103b5611a12565b5f61041f85876001600160a01b031663be5c8f446040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061041a9190612128565b611024565b156104b65784866001600160a01b031663be5c8f446040518163ffffffff1660e01b8152600401602060405180830381865afa158015610461573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104859190612128565b6040516313f3ed4560e11b81526001600160601b039283166004820152911660248201526044015b60405180910390fd5b61051f85876001600160a01b0316634cdabb166040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061051a9190612128565b6110a9565b156105b15784866001600160a01b0316634cdabb166040518163ffffffff1660e01b8152600401602060405180830381865afa158015610561573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105859190612128565b60405163f778558360e01b81526001600160601b039283166004820152911660248201526044016104ad565b73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061061c9190612128565b90506106288685610d1c565b92505f5b60058110156108b2575f73__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866001600160a01b038b16631e6239c661066b87600161217d565b6040518263ffffffff1660e01b815260040161068991815260200190565b602060405180830381865afa1580156106a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c8919061219b565b60405163046e44af60e11b81526001600160601b038c16600482015260ff919091169073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610725573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074991906121b6565b61075391906121cd565b61075f906127106121cd565b61076991906121e4565b6040518263ffffffff1660e01b815260040161078791815260200190565b602060405180830381865af41580156107a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107c69190612128565b905061080881896001600160a01b0316634b9ddafe6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104f6573d5f803e3d5ffd5b1561087057876001600160a01b0316634b9ddafe6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610849573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061086d9190612128565b90505b61087a81846110a9565b15610883578092505b8084836005811061089657610896612203565b6001600160601b0390921660209290920201525060010161062c565b5093509350939050565b60ff601360fa1b6001600160f81b03198416148015906108ea5750604160f81b6001600160f81b0319841614155b80156109045750604360f81b6001600160f81b0319841614155b801561091e5750601160fa1b6001600160f81b0319841614155b1561098857604080516001600160401b03871681526001600160c01b0319861660208201526001600160f81b03198516918101919091527f02a6d9ea3eae94753cf01c3f2598efc6c9f51c8f9514855716ed2777c4799c5f906060015b60405180910390a1610a81565b6001600160f81b03198316604160f81b03610a0057604080516001600160401b03871681526001600160c01b0319861660208201526001600160f81b0319851691810191909152606081018390527ffdffa1974e51ba75d4587b8dbb3716c9f2d3b36f486636a5484b156db8a2bb069060800161097b565b6001600160f81b03198316604360f81b03610a1d57506003610a81565b6001600160f81b03198316601160fa1b03610a3a57506004610a81565b600f8212158015610a4b5750601e82125b15610a5757505f610a81565b601e8212158015610a685750602d82125b15610a7557506001610a81565b602d8212610a81575060025b949350505050565b5f610a926119bd565b60405163028106fd60e01b81526001600160601b03861660048201526001600160c01b0319851660248201526001600160a01b0387169063028106fd90604401602060405180830381865afa158015610aed573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b119190612217565b915081158015610b1e5750825b15610b4857604051633973f33b60e01b81526001600160c01b0319851660048201526024016104ad565b8115610bda5760405163887b1fa960e01b81526001600160c01b0319851660048201526001600160a01b0387169063887b1fa9906024015f60405180830381865afa158015610b99573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610bc09190810190612268565b60400151806020019051810190610bd79190612337565b90505b94509492505050565b5f80610bee836110f3565b9050610a818482611124565b5f60fe1960ff831601610c795773__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610c4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c729190612128565b9050610caf565b5f83806020019051810190610c8e919061244a565b915050808360ff1660058110610ca657610ca6612203565b60200201519150505b92915050565b610cc1858284866111a7565b5050505050565b610cdb610cd58484611939565b826110a9565b15610d1757610cea8383611939565b60405163a104682b60e01b81526001600160601b03918216600482015290821660248201526044016104ad565b505050565b5f826001600160a01b03166339cee4076040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7d91906121b6565b82511015610e0e57815f6020020151836001600160a01b03166339cee4076040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dc8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dec91906121b6565b6040516314d8c02360e01b8152600481019290925260248201526044016104ad565b505f60015b6006811015610ed3578251838260068110610e3057610e30612203565b6020020151604051630f311ce360e11b8152600481018490526001600160a01b03871690631e6239c690602401602060405180830381865afa158015610e78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e9c919061219b565b60ff16610ea991906121cd565b610eb5906127106121cd565b610ebf91906121e4565b610ec9908361217d565b9150600101610e13565b50805f03610eed578151610eea90620186a06121e4565b90505b6064836001600160a01b0316632f15ce0d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4f91906121b6565b610f5a90606461217d565b610f6490836121cd565b610f6e91906121e4565b9392505050565b5f805f610f806119bd565b610f8c8787875f610a89565b610120810151604051638d38cd4b60e01b815264ffffffffff9091166004820152919550915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015610fec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110109190612217565b925080610100015191505093509350939050565b6040516304d40eb160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906309a81d62906044015b602060405180830381865af4158015611085573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f6e9190612217565b604051632601631360e21b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c9060440161106a565b5f8160405160200161110791815260200190565b604051602081830303815290604052805190602001209050919050565b604051638a3065c160e01b81526001600160601b0383166004820152602481018290525f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__90638a3065c190604401602060405180830381865af4158015611183573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f6e91906124c4565b5f846001600160a01b03166360efe48c6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111e4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112089190612217565b905061124a84866001600160a01b031663be5c8f446040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103f6573d5f803e3d5ffd5b1561128c5783856001600160a01b031663be5c8f446040518163ffffffff1660e01b8152600401602060405180830381865afa158015610461573d5f803e3d5ffd5b6112cc84866001600160a01b0316634cdabb166040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104f6573d5f803e3d5ffd5b1561130e5783856001600160a01b0316634cdabb166040518163ffffffff1660e01b8152600401602060405180830381865afa158015610561573d5f803e3d5ffd5b64ffffffffff8083169084161161134957604051630e012a2160e31b815264ffffffffff8084166004830152841660248201526044016104ad565b61144b838364ffffffffff1673__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63a5798b4e9091896001600160a01b031663972e22eb6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113ad573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113d1919061214e565b6040516001600160e01b031960e085901b16815264ffffffffff928316600482015291166024820152604401602060405180830381865af4158015611418573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061143c919061214e565b64ffffffffff90811691161190565b156114e5578282866001600160a01b031663972e22eb6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561148e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114b2919061214e565b60405163e3c2fc1960e01b815264ffffffffff9384166004820152918316602483015290911660448201526064016104ad565b8015801561165a575061165a8273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015611539573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061155d919061214e565b64ffffffffff1673__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63a5798b4e9091896001600160a01b031663b7b357ac6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e0919061214e565b6040516001600160e01b031960e085901b16815264ffffffffff928316600482015291166024820152604401602060405180830381865af4158015611627573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061164b919061214e565b64ffffffffff90811691161090565b1561175e578173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af41580156116a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116cb919061214e565b866001600160a01b031663b7b357ac6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611707573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061172b919061214e565b60405163b365623960e01b815264ffffffffff9384166004820152918316602483015290911660448201526064016104ad565b8015801561183557506118358273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af41580156117b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117d6919061214e565b64ffffffffff1673__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63a5798b4e9091896001600160a01b031663608a5f8d6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113ad573d5f803e3d5ffd5b15610cc1578173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015611882573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a6919061214e565b866001600160a01b031663608a5f8d6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611906919061214e565b6040516342e4fb0b60e11b815264ffffffffff9384166004820152918316602483015290911660448201526064016104ad565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af4158015611999573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f6e9190612128565b60408051610140810182525f808252602082018190526060928201839052828201819052608082019290925260a0810182905260c0810182905260e08101829052610100810182905261012081019190915290565b6040518060a001604052806005906020820280368337509192915050565b6001600160a01b0381168114611a44575f80fd5b50565b6001600160601b0381168114611a44575f80fd5b64ffffffffff81168114611a44575f80fd5b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b0381118282101715611aa357611aa3611a6d565b60405290565b60405161014081016001600160401b0381118282101715611aa357611aa3611a6d565b604051601f8201601f191681016001600160401b0381118282101715611af457611af4611a6d565b604052919050565b5f6001600160401b03821115611b1457611b14611a6d565b50601f01601f191660200190565b5f611b34611b2f84611afc565b611acc565b9050828152838383011115611b47575f80fd5b828260208301375f602084830101529392505050565b5f82601f830112611b6c575f80fd5b610f6e83833560208501611b22565b5f805f805f805f60e0888a031215611b91575f80fd5b8735611b9c81611a30565b96506020880135611bac81611a47565b9550604088013594506060880135611bc381611a5b565b935060808801356001600160401b03811115611bdd575f80fd5b611be98a828b01611b5d565b93505060a0880135611bfa81611a5b565b915060c08801356001600160401b03811115611c14575f80fd5b611c208a828b01611b5d565b91505092959891949750929550565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b805182525f6020820151611c7a602085018264ffffffffff169052565b5060408201516101406040850152611c96610140850182611c2f565b90506060830151611cb0606086018264ffffffffff169052565b5060808301518482036080860152611cc88282611c2f565b91505060a0830151611ce560a08601826001600160601b03169052565b5060c0830151611d0160c08601826001600160f81b0319169052565b5060e083015160e0850152610100830151611d2261010086018260ff169052565b50610120830151611d3d61012086018264ffffffffff169052565b509392505050565b6001600160401b0360c01b841681528215156020820152606060408201525f611d716060830184611c5d565b95945050505050565b5f82601f830112611d89575f80fd5b611d9360c0611acc565b8060c0840185811115611da4575f80fd5b845b81811015611dbe578035845260209384019301611da6565b509095945050505050565b5f805f6101008486031215611ddc575f80fd5b8335611de781611a30565b92506020840135611df781611a47565b9150611e068560408601611d7a565b90509250925092565b83815260e0810160208201845f5b6005811015611e455781516001600160601b0316835260209283019290910190600101611e1d565b5050506001600160601b03831660c0830152949350505050565b6001600160c01b031981168114611a44575f80fd5b6001600160f81b031981168114611a44575f80fd5b5f805f8060808587031215611e9c575f80fd5b84356001600160401b0381168114611eb2575f80fd5b93506020850135611ec281611e5f565b92506040850135611ed281611e74565b9396929550929360600135925050565b8015158114611a44575f80fd5b5f805f8060808587031215611f02575f80fd5b8435611f0d81611a30565b93506020850135611f1d81611a47565b92506040850135611f2d81611e5f565b91506060850135611f3d81611ee2565b939692955090935050565b8215158152604060208201525f610a816040830184611c5d565b5f8060408385031215611f73575f80fd5b8235611f7e81611a47565b946020939093013593505050565b60ff81168114611a44575f80fd5b5f8060408385031215611fab575f80fd5b82356001600160401b03811115611fc0575f80fd5b8301601f81018513611fd0575f80fd5b611fdf85823560208401611b22565b9250506020830135611ff081611f8c565b809150509250929050565b5f805f805f60a0868803121561200f575f80fd5b853561201a81611a30565b945060208601359350604086013561203181611a5b565b9250606086013561204181611a5b565b9150608086013561205181611a47565b809150509295509295909350565b5f805f60608486031215612071575f80fd5b833561207c81611a47565b9250602084013561208c81611a47565b9150604084013561209c81611a47565b809150509250925092565b5f8060e083850312156120b8575f80fd5b82356120c381611a30565b91506120d28460208501611d7a565b90509250929050565b5f805f606084860312156120ed575f80fd5b83356120f881611a30565b9250602084013561210881611a47565b9150604084013561209c81611e5f565b805161212381611a47565b919050565b5f60208284031215612138575f80fd5b8151610f6e81611a47565b805161212381611a5b565b5f6020828403121561215e575f80fd5b8151610f6e81611a5b565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610caf57610caf612169565b805161212381611f8c565b5f602082840312156121ab575f80fd5b8151610f6e81611f8c565b5f602082840312156121c6575f80fd5b5051919050565b8082028115828204841417610caf57610caf612169565b5f826121fe57634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215612227575f80fd5b8151610f6e81611ee2565b5f61223f611b2f84611afc565b9050828152838383011115612252575f80fd5b8282602083015e5f602084830101529392505050565b5f60208284031215612278575f80fd5b81516001600160401b0381111561228d575f80fd5b82016060818503121561229e575f80fd5b6122a6611a81565b81516122b181611a47565b815260208201516122c181611a5b565b602082015260408201516001600160401b038111156122de575f80fd5b80830192505084601f8301126122f2575f80fd5b61230185835160208501612232565b6040820152949350505050565b5f82601f83011261231d575f80fd5b610f6e83835160208501612232565b805161212381611e74565b5f60208284031215612347575f80fd5b81516001600160401b0381111561235c575f80fd5b8201610140818503121561236e575f80fd5b612376611aa9565b8151815261238660208301612143565b602082015260408201516001600160401b038111156123a3575f80fd5b6123af8682850161230e565b6040830152506123c160608301612143565b606082015260808201516001600160401b038111156123de575f80fd5b6123ea8682850161230e565b6080830152506123fc60a08301612118565b60a082015261240d60c0830161232c565b60c082015260e082810151908201526124296101008301612190565b61010082015261243c6101208301612143565b610120820152949350505050565b5f8060c0838503121561245b575f80fd5b825161246681611a47565b9150603f83018413612476575f80fd5b61248060a0611acc565b8060c0850186811115612491575f80fd5b602086015b818110156124b75780516124a981611a47565b845260209384019301612496565b5093969095509350505050565b5f602082840312156124d4575f80fd5b8151610f6e81611e5f56fea26469706673582212201b6413456934157ceca6033746999425b5ff28826ce20adb66387315a94f2bdc64736f6c634300081a0033",
626
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100a6575f3560e01c80638a37ab631161006e5780638a37ab63146101755780638c2fb8f2146101a0578063b0d48dba146101b5578063bb2d4851146101c8578063bcfba169146101e9575f80fd5b80634f339f15146100aa57806355d166e1146100d557806358032400146100f75780637bc17425146101285780637c93ab1114610149575b5f80fd5b6100bd6100b8366004611b7b565b61021c565b6040516100cc93929190611d45565b60405180910390f35b6100e86100e3366004611dc9565b6103ac565b6040516100cc93929190611e0f565b818015610102575f80fd5b50610116610111366004611e89565b6108bc565b60405160ff90911681526020016100cc565b61013b610136366004611eef565b610a89565b6040516100cc929190611f48565b61015c610157366004611f62565b610be3565b6040516001600160c01b031990911681526020016100cc565b610188610183366004611f9a565b610bfa565b6040516001600160601b0390911681526020016100cc565b6101b36101ae366004611ffb565b610cb5565b005b6101b36101c336600461205f565b610cc8565b6101db6101d63660046120a7565b610d1c565b6040519081526020016100cc565b6101fc6101f73660046120db565b610f75565b604080519315158452911515602084015260ff16908201526060016100cc565b5f806102266119bd565b6102308989610be3565b925061023e8a8a855f610a89565b90925090508161039f576040518061014001604052808981526020018864ffffffffff1681526020018781526020018664ffffffffff16815260200185815260200173__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd965f6040518263ffffffff1660e01b81526004016102b991815260200190565b602060405180830381865af41580156102d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102f89190612128565b6001600160601b031681526020015f60f81b6001600160f81b03191681526020015f81526020015f60ff16815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561036f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610393919061214e565b64ffffffffff16905290505b9750975097945050505050565b5f6103b5611a12565b5f61041f85876001600160a01b031663be5c8f446040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061041a9190612128565b611024565b156104b65784866001600160a01b031663be5c8f446040518163ffffffff1660e01b8152600401602060405180830381865afa158015610461573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104859190612128565b6040516313f3ed4560e11b81526001600160601b039283166004820152911660248201526044015b60405180910390fd5b61051f85876001600160a01b0316634cdabb166040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061051a9190612128565b6110a9565b156105b15784866001600160a01b0316634cdabb166040518163ffffffff1660e01b8152600401602060405180830381865afa158015610561573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105859190612128565b60405163f778558360e01b81526001600160601b039283166004820152911660248201526044016104ad565b73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061061c9190612128565b90506106288685610d1c565b92505f5b60058110156108b2575f73__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866001600160a01b038b16631e6239c661066b87600161217d565b6040518263ffffffff1660e01b815260040161068991815260200190565b602060405180830381865afa1580156106a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106c8919061219b565b60405163046e44af60e11b81526001600160601b038c16600482015260ff919091169073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610725573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074991906121b6565b61075391906121cd565b61075f906127106121cd565b61076991906121e4565b6040518263ffffffff1660e01b815260040161078791815260200190565b602060405180830381865af41580156107a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107c69190612128565b905061080881896001600160a01b0316634b9ddafe6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104f6573d5f803e3d5ffd5b1561087057876001600160a01b0316634b9ddafe6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610849573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061086d9190612128565b90505b61087a81846110a9565b15610883578092505b8084836005811061089657610896612203565b6001600160601b0390921660209290920201525060010161062c565b5093509350939050565b60ff601360fa1b6001600160f81b03198416148015906108ea5750604160f81b6001600160f81b0319841614155b80156109045750604360f81b6001600160f81b0319841614155b801561091e5750601160fa1b6001600160f81b0319841614155b1561098857604080516001600160401b03871681526001600160c01b0319861660208201526001600160f81b03198516918101919091527f02a6d9ea3eae94753cf01c3f2598efc6c9f51c8f9514855716ed2777c4799c5f906060015b60405180910390a1610a81565b6001600160f81b03198316604160f81b03610a0057604080516001600160401b03871681526001600160c01b0319861660208201526001600160f81b0319851691810191909152606081018390527ffdffa1974e51ba75d4587b8dbb3716c9f2d3b36f486636a5484b156db8a2bb069060800161097b565b6001600160f81b03198316604360f81b03610a1d57506003610a81565b6001600160f81b03198316601160fa1b03610a3a57506004610a81565b600f8212158015610a4b5750601e82125b15610a5757505f610a81565b601e8212158015610a685750602d82125b15610a7557506001610a81565b602d8212610a81575060025b949350505050565b5f610a926119bd565b60405163028106fd60e01b81526001600160601b03861660048201526001600160c01b0319851660248201526001600160a01b0387169063028106fd90604401602060405180830381865afa158015610aed573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b119190612217565b915081158015610b1e5750825b15610b4857604051633973f33b60e01b81526001600160c01b0319851660048201526024016104ad565b8115610bda5760405163887b1fa960e01b81526001600160c01b0319851660048201526001600160a01b0387169063887b1fa9906024015f60405180830381865afa158015610b99573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610bc09190810190612268565b60400151806020019051810190610bd79190612337565b90505b94509492505050565b5f80610bee836110f3565b9050610a818482611124565b5f60fe1960ff831601610c795773__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610c4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c729190612128565b9050610caf565b5f83806020019051810190610c8e919061244a565b915050808360ff1660058110610ca657610ca6612203565b60200201519150505b92915050565b610cc1858284866111a7565b5050505050565b610cdb610cd58484611939565b826110a9565b15610d1757610cea8383611939565b60405163a104682b60e01b81526001600160601b03918216600482015290821660248201526044016104ad565b505050565b5f826001600160a01b03166339cee4076040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7d91906121b6565b82511015610e0e57815f6020020151836001600160a01b03166339cee4076040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dc8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dec91906121b6565b6040516314d8c02360e01b8152600481019290925260248201526044016104ad565b505f60015b6006811015610ed3578251838260068110610e3057610e30612203565b6020020151604051630f311ce360e11b8152600481018490526001600160a01b03871690631e6239c690602401602060405180830381865afa158015610e78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e9c919061219b565b60ff16610ea991906121cd565b610eb5906127106121cd565b610ebf91906121e4565b610ec9908361217d565b9150600101610e13565b50805f03610eed578151610eea90620186a06121e4565b90505b6064836001600160a01b0316632f15ce0d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4f91906121b6565b610f5a90606461217d565b610f6490836121cd565b610f6e91906121e4565b9392505050565b5f805f610f806119bd565b610f8c8787875f610a89565b610120810151604051638d38cd4b60e01b815264ffffffffff9091166004820152919550915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015610fec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110109190612217565b925080610100015191505093509350939050565b6040516304d40eb160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906309a81d62906044015b602060405180830381865af4158015611085573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f6e9190612217565b604051632601631360e21b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c9060440161106a565b5f8160405160200161110791815260200190565b604051602081830303815290604052805190602001209050919050565b604051638a3065c160e01b81526001600160601b0383166004820152602481018290525f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__90638a3065c190604401602060405180830381865af4158015611183573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f6e91906124c4565b5f846001600160a01b03166360efe48c6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111e4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112089190612217565b905061124a84866001600160a01b031663be5c8f446040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103f6573d5f803e3d5ffd5b1561128c5783856001600160a01b031663be5c8f446040518163ffffffff1660e01b8152600401602060405180830381865afa158015610461573d5f803e3d5ffd5b6112cc84866001600160a01b0316634cdabb166040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104f6573d5f803e3d5ffd5b1561130e5783856001600160a01b0316634cdabb166040518163ffffffff1660e01b8152600401602060405180830381865afa158015610561573d5f803e3d5ffd5b64ffffffffff8083169084161161134957604051630e012a2160e31b815264ffffffffff8084166004830152841660248201526044016104ad565b61144b838364ffffffffff1673__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63a5798b4e9091896001600160a01b031663972e22eb6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113ad573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113d1919061214e565b6040516001600160e01b031960e085901b16815264ffffffffff928316600482015291166024820152604401602060405180830381865af4158015611418573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061143c919061214e565b64ffffffffff90811691161190565b156114e5578282866001600160a01b031663972e22eb6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561148e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114b2919061214e565b60405163e3c2fc1960e01b815264ffffffffff9384166004820152918316602483015290911660448201526064016104ad565b8015801561165a575061165a8273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015611539573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061155d919061214e565b64ffffffffff1673__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63a5798b4e9091896001600160a01b031663b7b357ac6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e0919061214e565b6040516001600160e01b031960e085901b16815264ffffffffff928316600482015291166024820152604401602060405180830381865af4158015611627573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061164b919061214e565b64ffffffffff90811691161090565b1561175e578173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af41580156116a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116cb919061214e565b866001600160a01b031663b7b357ac6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611707573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061172b919061214e565b60405163b365623960e01b815264ffffffffff9384166004820152918316602483015290911660448201526064016104ad565b8015801561183557506118358273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af41580156117b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117d6919061214e565b64ffffffffff1673__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63a5798b4e9091896001600160a01b031663608a5f8d6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113ad573d5f803e3d5ffd5b15610cc1578173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015611882573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a6919061214e565b866001600160a01b031663608a5f8d6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611906919061214e565b6040516342e4fb0b60e11b815264ffffffffff9384166004820152918316602483015290911660448201526064016104ad565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af4158015611999573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f6e9190612128565b60408051610140810182525f808252602082018190526060928201839052828201819052608082019290925260a0810182905260c0810182905260e08101829052610100810182905261012081019190915290565b6040518060a001604052806005906020820280368337509192915050565b6001600160a01b0381168114611a44575f80fd5b50565b6001600160601b0381168114611a44575f80fd5b64ffffffffff81168114611a44575f80fd5b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b0381118282101715611aa357611aa3611a6d565b60405290565b60405161014081016001600160401b0381118282101715611aa357611aa3611a6d565b604051601f8201601f191681016001600160401b0381118282101715611af457611af4611a6d565b604052919050565b5f6001600160401b03821115611b1457611b14611a6d565b50601f01601f191660200190565b5f611b34611b2f84611afc565b611acc565b9050828152838383011115611b47575f80fd5b828260208301375f602084830101529392505050565b5f82601f830112611b6c575f80fd5b610f6e83833560208501611b22565b5f805f805f805f60e0888a031215611b91575f80fd5b8735611b9c81611a30565b96506020880135611bac81611a47565b9550604088013594506060880135611bc381611a5b565b935060808801356001600160401b03811115611bdd575f80fd5b611be98a828b01611b5d565b93505060a0880135611bfa81611a5b565b915060c08801356001600160401b03811115611c14575f80fd5b611c208a828b01611b5d565b91505092959891949750929550565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b805182525f6020820151611c7a602085018264ffffffffff169052565b5060408201516101406040850152611c96610140850182611c2f565b90506060830151611cb0606086018264ffffffffff169052565b5060808301518482036080860152611cc88282611c2f565b91505060a0830151611ce560a08601826001600160601b03169052565b5060c0830151611d0160c08601826001600160f81b0319169052565b5060e083015160e0850152610100830151611d2261010086018260ff169052565b50610120830151611d3d61012086018264ffffffffff169052565b509392505050565b6001600160401b0360c01b841681528215156020820152606060408201525f611d716060830184611c5d565b95945050505050565b5f82601f830112611d89575f80fd5b611d9360c0611acc565b8060c0840185811115611da4575f80fd5b845b81811015611dbe578035845260209384019301611da6565b509095945050505050565b5f805f6101008486031215611ddc575f80fd5b8335611de781611a30565b92506020840135611df781611a47565b9150611e068560408601611d7a565b90509250925092565b83815260e0810160208201845f5b6005811015611e455781516001600160601b0316835260209283019290910190600101611e1d565b5050506001600160601b03831660c0830152949350505050565b6001600160c01b031981168114611a44575f80fd5b6001600160f81b031981168114611a44575f80fd5b5f805f8060808587031215611e9c575f80fd5b84356001600160401b0381168114611eb2575f80fd5b93506020850135611ec281611e5f565b92506040850135611ed281611e74565b9396929550929360600135925050565b8015158114611a44575f80fd5b5f805f8060808587031215611f02575f80fd5b8435611f0d81611a30565b93506020850135611f1d81611a47565b92506040850135611f2d81611e5f565b91506060850135611f3d81611ee2565b939692955090935050565b8215158152604060208201525f610a816040830184611c5d565b5f8060408385031215611f73575f80fd5b8235611f7e81611a47565b946020939093013593505050565b60ff81168114611a44575f80fd5b5f8060408385031215611fab575f80fd5b82356001600160401b03811115611fc0575f80fd5b8301601f81018513611fd0575f80fd5b611fdf85823560208401611b22565b9250506020830135611ff081611f8c565b809150509250929050565b5f805f805f60a0868803121561200f575f80fd5b853561201a81611a30565b945060208601359350604086013561203181611a5b565b9250606086013561204181611a5b565b9150608086013561205181611a47565b809150509295509295909350565b5f805f60608486031215612071575f80fd5b833561207c81611a47565b9250602084013561208c81611a47565b9150604084013561209c81611a47565b809150509250925092565b5f8060e083850312156120b8575f80fd5b82356120c381611a30565b91506120d28460208501611d7a565b90509250929050565b5f805f606084860312156120ed575f80fd5b83356120f881611a30565b9250602084013561210881611a47565b9150604084013561209c81611e5f565b805161212381611a47565b919050565b5f60208284031215612138575f80fd5b8151610f6e81611a47565b805161212381611a5b565b5f6020828403121561215e575f80fd5b8151610f6e81611a5b565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610caf57610caf612169565b805161212381611f8c565b5f602082840312156121ab575f80fd5b8151610f6e81611f8c565b5f602082840312156121c6575f80fd5b5051919050565b8082028115828204841417610caf57610caf612169565b5f826121fe57634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215612227575f80fd5b8151610f6e81611ee2565b5f61223f611b2f84611afc565b9050828152838383011115612252575f80fd5b8282602083015e5f602084830101529392505050565b5f60208284031215612278575f80fd5b81516001600160401b0381111561228d575f80fd5b82016060818503121561229e575f80fd5b6122a6611a81565b81516122b181611a47565b815260208201516122c181611a5b565b602082015260408201516001600160401b038111156122de575f80fd5b80830192505084601f8301126122f2575f80fd5b61230185835160208501612232565b6040820152949350505050565b5f82601f83011261231d575f80fd5b610f6e83835160208501612232565b805161212381611e74565b5f60208284031215612347575f80fd5b81516001600160401b0381111561235c575f80fd5b8201610140818503121561236e575f80fd5b612376611aa9565b8151815261238660208301612143565b602082015260408201516001600160401b038111156123a3575f80fd5b6123af8682850161230e565b6040830152506123c160608301612143565b606082015260808201516001600160401b038111156123de575f80fd5b6123ea8682850161230e565b6080830152506123fc60a08301612118565b60a082015261240d60c0830161232c565b60c082015260e082810151908201526124296101008301612190565b61010082015261243c6101208301612143565b610120820152949350505050565b5f8060c0838503121561245b575f80fd5b825161246681611a47565b9150603f83018413612476575f80fd5b61248060a0611acc565b8060c0850186811115612491575f80fd5b602086015b818110156124b75780516124a981611a47565b845260209384019301612496565b5093969095509350505050565b5f602082840312156124d4575f80fd5b8151610f6e81611e5f56fea26469706673582212201b6413456934157ceca6033746999425b5ff28826ce20adb66387315a94f2bdc64736f6c634300081a0033",
627
+ "linkReferences": {
628
+ "contracts/type/Amount.sol": {
629
+ "AmountLib": [
630
+ {
631
+ "length": 20,
632
+ "start": 694
633
+ },
634
+ {
635
+ "length": 20,
636
+ "start": 1511
637
+ },
638
+ {
639
+ "length": 20,
640
+ "start": 1644
641
+ },
642
+ {
643
+ "length": 20,
644
+ "start": 1825
645
+ },
646
+ {
647
+ "length": 20,
648
+ "start": 3133
649
+ },
650
+ {
651
+ "length": 20,
652
+ "start": 4224
653
+ },
654
+ {
655
+ "length": 20,
656
+ "start": 4357
657
+ },
658
+ {
659
+ "length": 20,
660
+ "start": 6549
661
+ }
662
+ ]
663
+ },
664
+ "contracts/type/RiskId.sol": {
665
+ "RiskIdLib": [
666
+ {
667
+ "length": 20,
668
+ "start": 4479
669
+ }
670
+ ]
671
+ },
672
+ "contracts/type/Timestamp.sol": {
673
+ "TimestampLib": [
674
+ {
675
+ "length": 20,
676
+ "start": 862
677
+ },
678
+ {
679
+ "length": 20,
680
+ "start": 4072
681
+ },
682
+ {
683
+ "length": 20,
684
+ "start": 5003
685
+ },
686
+ {
687
+ "length": 20,
688
+ "start": 5416
689
+ },
690
+ {
691
+ "length": 20,
692
+ "start": 5530
693
+ },
694
+ {
695
+ "length": 20,
696
+ "start": 5782
697
+ },
698
+ {
699
+ "length": 20,
700
+ "start": 6049
701
+ },
702
+ {
703
+ "length": 20,
704
+ "start": 6163
705
+ },
706
+ {
707
+ "length": 20,
708
+ "start": 6257
709
+ }
710
+ ]
711
+ }
712
+ },
713
+ "deployedLinkReferences": {
714
+ "contracts/type/Amount.sol": {
715
+ "AmountLib": [
716
+ {
717
+ "length": 20,
718
+ "start": 642
719
+ },
720
+ {
721
+ "length": 20,
722
+ "start": 1459
723
+ },
724
+ {
725
+ "length": 20,
726
+ "start": 1592
727
+ },
728
+ {
729
+ "length": 20,
730
+ "start": 1773
731
+ },
732
+ {
733
+ "length": 20,
734
+ "start": 3081
735
+ },
736
+ {
737
+ "length": 20,
738
+ "start": 4172
739
+ },
740
+ {
741
+ "length": 20,
742
+ "start": 4305
743
+ },
744
+ {
745
+ "length": 20,
746
+ "start": 6497
747
+ }
748
+ ]
749
+ },
750
+ "contracts/type/RiskId.sol": {
751
+ "RiskIdLib": [
752
+ {
753
+ "length": 20,
754
+ "start": 4427
755
+ }
756
+ ]
757
+ },
758
+ "contracts/type/Timestamp.sol": {
759
+ "TimestampLib": [
760
+ {
761
+ "length": 20,
762
+ "start": 810
763
+ },
764
+ {
765
+ "length": 20,
766
+ "start": 4020
767
+ },
768
+ {
769
+ "length": 20,
770
+ "start": 4951
771
+ },
772
+ {
773
+ "length": 20,
774
+ "start": 5364
775
+ },
776
+ {
777
+ "length": 20,
778
+ "start": 5478
779
+ },
780
+ {
781
+ "length": 20,
782
+ "start": 5730
783
+ },
784
+ {
785
+ "length": 20,
786
+ "start": 5997
787
+ },
788
+ {
789
+ "length": 20,
790
+ "start": 6111
791
+ },
792
+ {
793
+ "length": 20,
794
+ "start": 6205
795
+ }
796
+ ]
797
+ }
798
+ }
799
+ }