@etherisc/gif-next 3.0.0-2e16ebd-614 → 3.0.0-2f1539b-882

Sign up to get free protection for your applications and to get access to all the features.
Files changed (494) hide show
  1. package/README.md +10 -1
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +1 -1
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +72 -139
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +1 -1
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +116 -110
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +1 -1
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +33 -72
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +70 -105
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +1 -1
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +150 -126
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +65 -20
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +55 -31
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +10 -20
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +1 -1
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +1 -1
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +42 -18
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +75 -126
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +65 -41
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +57 -72
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +139 -198
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +150 -140
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +56 -84
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +32 -71
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
  40. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +104 -166
  42. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +65 -41
  44. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +138 -200
  46. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +65 -41
  48. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
  49. package/artifacts/contracts/examples/flight/FlightLib.sol/FlightLib.dbg.json +4 -0
  50. package/artifacts/contracts/examples/flight/FlightLib.sol/FlightLib.json +799 -0
  51. package/artifacts/contracts/examples/flight/FlightMessageVerifier.sol/FlightMessageVerifier.dbg.json +4 -0
  52. package/artifacts/contracts/examples/flight/FlightMessageVerifier.sol/FlightMessageVerifier.json +229 -0
  53. package/artifacts/contracts/examples/flight/FlightOracle.sol/FlightOracle.dbg.json +4 -0
  54. package/artifacts/contracts/examples/flight/FlightOracle.sol/FlightOracle.json +1353 -0
  55. package/artifacts/contracts/examples/flight/FlightOracleAuthorization.sol/FlightOracleAuthorization.dbg.json +4 -0
  56. package/artifacts/contracts/examples/flight/FlightOracleAuthorization.sol/FlightOracleAuthorization.json +896 -0
  57. package/artifacts/contracts/examples/flight/FlightPool.sol/FlightPool.dbg.json +4 -0
  58. package/artifacts/contracts/examples/flight/FlightPool.sol/FlightPool.json +1466 -0
  59. package/artifacts/contracts/examples/flight/FlightPoolAuthorization.sol/FlightPoolAuthorization.dbg.json +4 -0
  60. package/artifacts/contracts/examples/flight/FlightPoolAuthorization.sol/FlightPoolAuthorization.json +844 -0
  61. package/artifacts/contracts/examples/flight/FlightProduct.sol/FlightProduct.dbg.json +4 -0
  62. package/artifacts/contracts/examples/flight/FlightProduct.sol/FlightProduct.json +2289 -0
  63. package/artifacts/contracts/examples/flight/FlightProductAuthorization.sol/FlightProductAuthorization.dbg.json +4 -0
  64. package/artifacts/contracts/examples/flight/FlightProductAuthorization.sol/FlightProductAuthorization.json +891 -0
  65. package/artifacts/contracts/examples/flight/FlightProductManager.sol/FlightProductManager.dbg.json +4 -0
  66. package/artifacts/contracts/examples/flight/FlightProductManager.sol/FlightProductManager.json +711 -0
  67. package/artifacts/contracts/examples/flight/FlightUSD.sol/FlightUSD.dbg.json +4 -0
  68. package/artifacts/contracts/examples/flight/FlightUSD.sol/FlightUSD.json +586 -0
  69. package/artifacts/contracts/examples/flight/originalV1.sol/FlightDelayChainlink.dbg.json +4 -0
  70. package/artifacts/contracts/examples/flight/originalV1.sol/FlightDelayChainlink.json +901 -0
  71. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  72. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +102 -159
  73. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +1 -1
  74. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +65 -41
  75. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  76. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +106 -163
  77. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  78. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +120 -177
  79. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +1 -1
  80. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +65 -41
  81. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  82. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +114 -171
  83. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +1 -1
  84. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +65 -41
  85. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +1 -1
  86. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  87. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +54 -49
  88. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +1 -1
  89. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  90. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +26 -78
  91. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  92. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +44 -83
  93. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  94. package/artifacts/contracts/instance/Instance.sol/Instance.json +51 -145
  95. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  96. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +151 -185
  97. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  98. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +67 -43
  99. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  100. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +238 -77
  101. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  102. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +75 -138
  103. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  104. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +112 -104
  105. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  106. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2 -2
  107. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +1 -1
  108. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +2 -2
  109. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +1 -1
  110. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +58 -53
  111. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  112. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  113. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  114. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +1 -1
  115. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  116. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  117. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  118. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
  119. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  120. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +8 -3
  121. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +1 -1
  122. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +2 -2
  123. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  124. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  125. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  126. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  127. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  128. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  129. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  130. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +81 -132
  131. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  132. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +65 -41
  133. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  134. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  135. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +66 -94
  136. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  137. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +83 -80
  138. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  139. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +67 -82
  140. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  141. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +148 -149
  142. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  143. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +129 -111
  144. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  145. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +73 -88
  146. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  147. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +65 -41
  148. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  149. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +117 -176
  150. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  151. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +139 -129
  152. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  153. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +32 -71
  154. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  155. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +72 -100
  156. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  157. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +86 -94
  158. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  159. package/artifacts/contracts/pool/Pool.sol/Pool.json +73 -88
  160. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +1 -1
  161. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +247 -24
  162. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  163. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +165 -233
  164. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  165. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +130 -140
  166. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  167. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +63 -138
  168. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  169. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +112 -110
  170. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  171. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +57 -72
  172. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  173. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +65 -41
  174. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  175. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +115 -182
  176. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  177. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +138 -132
  178. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  179. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +32 -71
  180. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  181. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +32 -71
  182. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  183. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +64 -82
  184. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  185. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +43 -82
  186. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  187. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +56 -84
  188. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  189. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +36 -75
  190. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  191. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +127 -173
  192. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +1 -1
  193. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +20 -12
  194. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  195. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +128 -122
  196. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  197. package/artifacts/contracts/product/PricingService.sol/PricingService.json +94 -161
  198. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  199. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +122 -116
  200. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  201. package/artifacts/contracts/product/Product.sol/Product.json +57 -72
  202. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  203. package/artifacts/contracts/product/RiskService.sol/RiskService.json +63 -146
  204. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  205. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +107 -109
  206. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  207. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  208. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +56 -155
  209. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  210. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +216 -202
  211. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +1 -1
  212. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +15 -1
  213. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  214. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  215. package/artifacts/contracts/registry/Registry.sol/Registry.json +96 -314
  216. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  217. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +146 -179
  218. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +1 -1
  219. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +77 -57
  220. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  221. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +244 -285
  222. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  223. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +110 -115
  224. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +1 -1
  225. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +154 -175
  226. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  227. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  228. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  229. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +187 -135
  230. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  231. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +56 -32
  232. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  233. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +29 -13
  234. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  235. package/artifacts/contracts/shared/Component.sol/Component.json +39 -84
  236. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  237. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +320 -164
  238. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  239. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +141 -115
  240. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
  241. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +169 -421
  242. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  243. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  244. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +1 -1
  245. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  246. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  247. package/artifacts/contracts/shared/IAuthorizedComponent.sol/IAuthorizedComponent.dbg.json +4 -0
  248. package/artifacts/contracts/shared/IAuthorizedComponent.sol/IAuthorizedComponent.json +633 -0
  249. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  250. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +38 -96
  251. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  252. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +226 -82
  253. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  254. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +56 -84
  255. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  256. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  257. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +28 -1
  258. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  259. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +12 -1
  260. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +25 -77
  262. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  263. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +12 -1
  264. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  265. package/artifacts/contracts/shared/IService.sol/IService.json +32 -71
  266. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  267. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  268. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +57 -72
  269. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  270. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  271. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  272. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  273. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +34 -15
  274. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  275. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +14 -3
  276. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  277. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +24 -76
  278. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  279. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +37 -3
  280. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  281. package/artifacts/contracts/shared/Service.sol/Service.json +31 -70
  282. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  283. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +29 -42
  284. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +1 -1
  285. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +17 -30
  286. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  287. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +34 -34
  288. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  289. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +56 -101
  290. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  291. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +36 -75
  292. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +1 -1
  293. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  294. package/artifacts/contracts/staking/Staking.sol/Staking.json +109 -170
  295. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +1 -1
  296. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +31 -26
  297. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  298. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +124 -112
  299. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  300. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +22 -5
  301. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  302. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +65 -132
  303. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  304. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +111 -105
  305. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  306. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +204 -212
  307. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +1 -1
  308. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +19 -27
  309. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  310. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +16 -16
  311. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  312. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  314. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +2 -2
  316. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  317. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  318. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  320. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  321. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  322. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  323. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +1 -1
  324. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +2 -2
  325. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  326. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  327. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  328. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  329. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  330. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +22 -25
  331. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  332. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  333. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  334. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +23 -4
  335. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  336. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  337. package/artifacts/contracts/type/RequestIdSet.sol/LibRequestIdSet.dbg.json +4 -0
  338. package/artifacts/contracts/type/RequestIdSet.sol/LibRequestIdSet.json +33 -0
  339. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +2 -2
  341. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  342. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +4 -4
  343. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  344. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +21 -2
  345. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  346. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  347. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  348. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  349. package/artifacts/contracts/type/String.sol/StrLib.json +21 -2
  350. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  351. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +36 -4
  352. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  353. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  354. package/artifacts/contracts/type/Version.sol/VersionLib.json +10 -10
  355. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  356. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +6 -19
  357. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  358. package/artifacts/contracts/upgradeability/{IUpgradeable.sol/IUpgradeable.json → IVersionable.sol/IVersionable.json} +4 -54
  359. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  360. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +86 -63
  361. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  362. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  363. package/artifacts/contracts/upgradeability/{Upgradeable.sol/Upgradeable.json → Versionable.sol/Versionable.json} +4 -54
  364. package/contracts/accounting/AccountingService.sol +6 -5
  365. package/contracts/accounting/AccountingServiceManager.sol +6 -4
  366. package/contracts/accounting/IAccountingService.sol +1 -1
  367. package/contracts/authorization/AccessAdmin.sol +24 -47
  368. package/contracts/authorization/AccessAdminLib.sol +29 -15
  369. package/contracts/authorization/AccessManagerCloneable.sol +48 -24
  370. package/contracts/authorization/Authorization.sol +2 -2
  371. package/contracts/authorization/IAccessAdmin.sol +3 -3
  372. package/contracts/authorization/IServiceAuthorization.sol +1 -1
  373. package/contracts/authorization/ServiceAuthorization.sol +4 -4
  374. package/contracts/distribution/BasicDistribution.sol +2 -0
  375. package/contracts/distribution/BasicDistributionAuthorization.sol +4 -5
  376. package/contracts/distribution/Distribution.sol +2 -0
  377. package/contracts/distribution/DistributionService.sol +20 -24
  378. package/contracts/distribution/DistributionServiceManager.sol +6 -4
  379. package/contracts/examples/fire/FirePool.sol +4 -0
  380. package/contracts/examples/fire/FireProduct.sol +4 -0
  381. package/contracts/examples/flight/FlightLib.sol +337 -0
  382. package/contracts/examples/flight/FlightMessageVerifier.sol +128 -0
  383. package/contracts/examples/flight/FlightOracle.sol +226 -0
  384. package/contracts/examples/flight/FlightOracleAuthorization.sol +57 -0
  385. package/contracts/examples/flight/FlightPool.sol +89 -0
  386. package/contracts/examples/flight/FlightPoolAuthorization.sol +37 -0
  387. package/contracts/examples/flight/FlightProduct.sol +687 -0
  388. package/contracts/examples/flight/FlightProductAuthorization.sol +70 -0
  389. package/contracts/examples/flight/FlightProductManager.sol +49 -0
  390. package/contracts/examples/flight/FlightUSD.sol +28 -0
  391. package/contracts/examples/flight/originalV1.sol +396 -0
  392. package/contracts/examples/unpermissioned/SimpleDistribution.sol +4 -0
  393. package/contracts/examples/unpermissioned/SimpleOracle.sol +4 -0
  394. package/contracts/examples/unpermissioned/SimplePool.sol +4 -0
  395. package/contracts/examples/unpermissioned/SimpleProduct.sol +4 -0
  396. package/contracts/instance/IInstance.sol +1 -1
  397. package/contracts/instance/Instance.sol +12 -8
  398. package/contracts/instance/InstanceAdmin.sol +17 -11
  399. package/contracts/instance/InstanceAuthorizationV3.sol +2 -4
  400. package/contracts/instance/InstanceReader.sol +56 -22
  401. package/contracts/instance/InstanceService.sol +20 -18
  402. package/contracts/instance/InstanceServiceManager.sol +6 -4
  403. package/contracts/instance/base/Cloneable.sol +10 -4
  404. package/contracts/instance/base/ObjectSet.sol +2 -2
  405. package/contracts/oracle/BasicOracle.sol +3 -0
  406. package/contracts/oracle/BasicOracleAuthorization.sol +1 -3
  407. package/contracts/oracle/IOracleService.sol +16 -12
  408. package/contracts/oracle/Oracle.sol +6 -5
  409. package/contracts/oracle/OracleService.sol +67 -37
  410. package/contracts/oracle/OracleServiceManager.sol +6 -4
  411. package/contracts/pool/BasicPool.sol +4 -2
  412. package/contracts/pool/BasicPoolAuthorization.sol +4 -5
  413. package/contracts/pool/BundleService.sol +19 -25
  414. package/contracts/pool/BundleServiceManager.sol +7 -5
  415. package/contracts/pool/IPoolService.sol +6 -5
  416. package/contracts/pool/Pool.sol +3 -1
  417. package/contracts/pool/PoolLib.sol +102 -5
  418. package/contracts/pool/PoolService.sol +101 -67
  419. package/contracts/pool/PoolServiceManager.sol +6 -4
  420. package/contracts/product/ApplicationService.sol +34 -13
  421. package/contracts/product/ApplicationServiceManager.sol +6 -4
  422. package/contracts/product/BasicProduct.sol +2 -0
  423. package/contracts/product/BasicProductAuthorization.sol +7 -7
  424. package/contracts/product/ClaimService.sol +34 -10
  425. package/contracts/product/ClaimServiceManager.sol +7 -5
  426. package/contracts/product/IPolicyService.sol +1 -0
  427. package/contracts/product/PolicyService.sol +57 -44
  428. package/contracts/product/PolicyServiceLib.sol +5 -3
  429. package/contracts/product/PolicyServiceManager.sol +6 -4
  430. package/contracts/product/PricingService.sol +8 -7
  431. package/contracts/product/PricingServiceManager.sol +6 -4
  432. package/contracts/product/Product.sol +2 -0
  433. package/contracts/product/RiskService.sol +40 -8
  434. package/contracts/product/RiskServiceManager.sol +6 -4
  435. package/contracts/registry/IRegistry.sol +14 -20
  436. package/contracts/registry/IRegistryService.sol +14 -10
  437. package/contracts/registry/IRelease.sol +3 -0
  438. package/contracts/registry/Registry.sol +78 -124
  439. package/contracts/registry/RegistryAdmin.sol +29 -12
  440. package/contracts/registry/RegistryAuthorization.sol +3 -4
  441. package/contracts/registry/RegistryService.sol +82 -99
  442. package/contracts/registry/RegistryServiceManager.sol +11 -4
  443. package/contracts/registry/ReleaseAdmin.sol +23 -9
  444. package/contracts/registry/ReleaseRegistry.sol +74 -64
  445. package/contracts/registry/ServiceAuthorizationV3.sol +3 -4
  446. package/contracts/registry/TokenRegistry.sol +15 -6
  447. package/contracts/shared/Component.sol +22 -27
  448. package/contracts/shared/ComponentService.sol +130 -45
  449. package/contracts/shared/ComponentServiceManager.sol +7 -5
  450. package/contracts/shared/ContractLib.sol +93 -359
  451. package/contracts/shared/EcdsaChecker.sol +5 -0
  452. package/contracts/shared/IAuthorizedComponent.sol +15 -0
  453. package/contracts/shared/IComponent.sol +3 -5
  454. package/contracts/shared/IComponentService.sol +14 -0
  455. package/contracts/shared/IInstanceLinkedComponent.sol +9 -9
  456. package/contracts/shared/INftOwnable.sol +2 -0
  457. package/contracts/shared/IRegisterable.sol +3 -14
  458. package/contracts/shared/IRegistryLinked.sol +3 -1
  459. package/contracts/shared/IService.sol +2 -2
  460. package/contracts/shared/InstanceLinkedComponent.sol +130 -39
  461. package/contracts/shared/NftOwnable.sol +22 -9
  462. package/contracts/shared/PolicyHolder.sol +4 -2
  463. package/contracts/shared/Registerable.sol +20 -37
  464. package/contracts/shared/RegistryLinked.sol +23 -4
  465. package/contracts/shared/Service.sol +9 -8
  466. package/contracts/shared/TokenHandler.sol +1 -4
  467. package/contracts/staking/IStaking.sol +2 -2
  468. package/contracts/staking/Staking.sol +33 -28
  469. package/contracts/staking/StakingLib.sol +1 -3
  470. package/contracts/staking/StakingManager.sol +6 -3
  471. package/contracts/staking/StakingReader.sol +17 -9
  472. package/contracts/staking/StakingService.sol +13 -16
  473. package/contracts/staking/StakingServiceManager.sol +8 -4
  474. package/contracts/staking/StakingStore.sol +8 -8
  475. package/contracts/staking/TargetHandler.sol +5 -4
  476. package/contracts/type/ObjectType.sol +2 -31
  477. package/contracts/type/Referral.sol +6 -0
  478. package/contracts/type/RequestIdSet.sol +62 -0
  479. package/contracts/type/Seconds.sol +4 -0
  480. package/contracts/type/String.sol +30 -0
  481. package/contracts/type/Timestamp.sol +10 -1
  482. package/contracts/type/Version.sol +16 -15
  483. package/contracts/upgradeability/{IUpgradeable.sol → IVersionable.sol} +19 -13
  484. package/contracts/upgradeability/ProxyManager.sol +54 -46
  485. package/contracts/upgradeability/{Upgradeable.sol → Versionable.sol} +14 -25
  486. package/package.json +2 -1
  487. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  488. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -74
  489. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  490. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -74
  491. package/artifacts/contracts/upgradeability/IUpgradeable.sol/IUpgradeable.dbg.json +0 -4
  492. package/artifacts/contracts/upgradeability/Upgradeable.sol/Upgradeable.dbg.json +0 -4
  493. package/contracts/shared/IVersionable.sol +0 -19
  494. package/contracts/shared/Versionable.sol +0 -47
@@ -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$__9063274acb3590604401602060405180830381865af4158015611999573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f6e9190612128565b60408051610140810182525f808252602082018190526060928201839052828201819052608082019290925260a0810182905260c0810182905260e08101829052610100810182905261012081019190915290565b6040518060a001604052806005906020820280368337509192915050565b6001600160a01b0381168114611a44575f80fd5b50565b6001600160601b0381168114611a44575f80fd5b64ffffffffff81168114611a44575f80fd5b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b0381118282101715611aa357611aa3611a6d565b60405290565b60405161014081016001600160401b0381118282101715611aa357611aa3611a6d565b604051601f8201601f191681016001600160401b0381118282101715611af457611af4611a6d565b604052919050565b5f6001600160401b03821115611b1457611b14611a6d565b50601f01601f191660200190565b5f611b34611b2f84611afc565b611acc565b9050828152838383011115611b47575f80fd5b828260208301375f602084830101529392505050565b5f82601f830112611b6c575f80fd5b610f6e83833560208501611b22565b5f805f805f805f60e0888a031215611b91575f80fd5b8735611b9c81611a30565b96506020880135611bac81611a47565b9550604088013594506060880135611bc381611a5b565b935060808801356001600160401b03811115611bdd575f80fd5b611be98a828b01611b5d565b93505060a0880135611bfa81611a5b565b915060c08801356001600160401b03811115611c14575f80fd5b611c208a828b01611b5d565b91505092959891949750929550565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b805182525f6020820151611c7a602085018264ffffffffff169052565b5060408201516101406040850152611c96610140850182611c2f565b90506060830151611cb0606086018264ffffffffff169052565b5060808301518482036080860152611cc88282611c2f565b91505060a0830151611ce560a08601826001600160601b03169052565b5060c0830151611d0160c08601826001600160f81b0319169052565b5060e083015160e0850152610100830151611d2261010086018260ff169052565b50610120830151611d3d61012086018264ffffffffff169052565b509392505050565b6001600160401b0360c01b841681528215156020820152606060408201525f611d716060830184611c5d565b95945050505050565b5f82601f830112611d89575f80fd5b611d9360c0611acc565b8060c0840185811115611da4575f80fd5b845b81811015611dbe578035845260209384019301611da6565b509095945050505050565b5f805f6101008486031215611ddc575f80fd5b8335611de781611a30565b92506020840135611df781611a47565b9150611e068560408601611d7a565b90509250925092565b83815260e0810160208201845f5b6005811015611e455781516001600160601b0316835260209283019290910190600101611e1d565b5050506001600160601b03831660c0830152949350505050565b6001600160c01b031981168114611a44575f80fd5b6001600160f81b031981168114611a44575f80fd5b5f805f8060808587031215611e9c575f80fd5b84356001600160401b0381168114611eb2575f80fd5b93506020850135611ec281611e5f565b92506040850135611ed281611e74565b9396929550929360600135925050565b8015158114611a44575f80fd5b5f805f8060808587031215611f02575f80fd5b8435611f0d81611a30565b93506020850135611f1d81611a47565b92506040850135611f2d81611e5f565b91506060850135611f3d81611ee2565b939692955090935050565b8215158152604060208201525f610a816040830184611c5d565b5f8060408385031215611f73575f80fd5b8235611f7e81611a47565b946020939093013593505050565b60ff81168114611a44575f80fd5b5f8060408385031215611fab575f80fd5b82356001600160401b03811115611fc0575f80fd5b8301601f81018513611fd0575f80fd5b611fdf85823560208401611b22565b9250506020830135611ff081611f8c565b809150509250929050565b5f805f805f60a0868803121561200f575f80fd5b853561201a81611a30565b945060208601359350604086013561203181611a5b565b9250606086013561204181611a5b565b9150608086013561205181611a47565b809150509295509295909350565b5f805f60608486031215612071575f80fd5b833561207c81611a47565b9250602084013561208c81611a47565b9150604084013561209c81611a47565b809150509250925092565b5f8060e083850312156120b8575f80fd5b82356120c381611a30565b91506120d28460208501611d7a565b90509250929050565b5f805f606084860312156120ed575f80fd5b83356120f881611a30565b9250602084013561210881611a47565b9150604084013561209c81611e5f565b805161212381611a47565b919050565b5f60208284031215612138575f80fd5b8151610f6e81611a47565b805161212381611a5b565b5f6020828403121561215e575f80fd5b8151610f6e81611a5b565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610caf57610caf612169565b805161212381611f8c565b5f602082840312156121ab575f80fd5b8151610f6e81611f8c565b5f602082840312156121c6575f80fd5b5051919050565b8082028115828204841417610caf57610caf612169565b5f826121fe57634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215612227575f80fd5b8151610f6e81611ee2565b5f61223f611b2f84611afc565b9050828152838383011115612252575f80fd5b8282602083015e5f602084830101529392505050565b5f60208284031215612278575f80fd5b81516001600160401b0381111561228d575f80fd5b82016060818503121561229e575f80fd5b6122a6611a81565b81516122b181611a47565b815260208201516122c181611a5b565b602082015260408201516001600160401b038111156122de575f80fd5b80830192505084601f8301126122f2575f80fd5b61230185835160208501612232565b6040820152949350505050565b5f82601f83011261231d575f80fd5b610f6e83835160208501612232565b805161212381611e74565b5f60208284031215612347575f80fd5b81516001600160401b0381111561235c575f80fd5b8201610140818503121561236e575f80fd5b612376611aa9565b8151815261238660208301612143565b602082015260408201516001600160401b038111156123a3575f80fd5b6123af8682850161230e565b6040830152506123c160608301612143565b606082015260808201516001600160401b038111156123de575f80fd5b6123ea8682850161230e565b6080830152506123fc60a08301612118565b60a082015261240d60c0830161232c565b60c082015260e082810151908201526124296101008301612190565b61010082015261243c6101208301612143565b610120820152949350505050565b5f8060c0838503121561245b575f80fd5b825161246681611a47565b9150603f83018413612476575f80fd5b61248060a0611acc565b8060c0850186811115612491575f80fd5b602086015b818110156124b75780516124a981611a47565b845260209384019301612496565b5093969095509350505050565b5f602082840312156124d4575f80fd5b8151610f6e81611e5f56fea2646970667358221220e95cc766e5ff1b2d8a2bc75e3cc22d274d37c8a12c048c792a02d9029ddfb96464736f6c634300081a0033",
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$__9063274acb3590604401602060405180830381865af4158015611999573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f6e9190612128565b60408051610140810182525f808252602082018190526060928201839052828201819052608082019290925260a0810182905260c0810182905260e08101829052610100810182905261012081019190915290565b6040518060a001604052806005906020820280368337509192915050565b6001600160a01b0381168114611a44575f80fd5b50565b6001600160601b0381168114611a44575f80fd5b64ffffffffff81168114611a44575f80fd5b634e487b7160e01b5f52604160045260245ffd5b604051606081016001600160401b0381118282101715611aa357611aa3611a6d565b60405290565b60405161014081016001600160401b0381118282101715611aa357611aa3611a6d565b604051601f8201601f191681016001600160401b0381118282101715611af457611af4611a6d565b604052919050565b5f6001600160401b03821115611b1457611b14611a6d565b50601f01601f191660200190565b5f611b34611b2f84611afc565b611acc565b9050828152838383011115611b47575f80fd5b828260208301375f602084830101529392505050565b5f82601f830112611b6c575f80fd5b610f6e83833560208501611b22565b5f805f805f805f60e0888a031215611b91575f80fd5b8735611b9c81611a30565b96506020880135611bac81611a47565b9550604088013594506060880135611bc381611a5b565b935060808801356001600160401b03811115611bdd575f80fd5b611be98a828b01611b5d565b93505060a0880135611bfa81611a5b565b915060c08801356001600160401b03811115611c14575f80fd5b611c208a828b01611b5d565b91505092959891949750929550565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b805182525f6020820151611c7a602085018264ffffffffff169052565b5060408201516101406040850152611c96610140850182611c2f565b90506060830151611cb0606086018264ffffffffff169052565b5060808301518482036080860152611cc88282611c2f565b91505060a0830151611ce560a08601826001600160601b03169052565b5060c0830151611d0160c08601826001600160f81b0319169052565b5060e083015160e0850152610100830151611d2261010086018260ff169052565b50610120830151611d3d61012086018264ffffffffff169052565b509392505050565b6001600160401b0360c01b841681528215156020820152606060408201525f611d716060830184611c5d565b95945050505050565b5f82601f830112611d89575f80fd5b611d9360c0611acc565b8060c0840185811115611da4575f80fd5b845b81811015611dbe578035845260209384019301611da6565b509095945050505050565b5f805f6101008486031215611ddc575f80fd5b8335611de781611a30565b92506020840135611df781611a47565b9150611e068560408601611d7a565b90509250925092565b83815260e0810160208201845f5b6005811015611e455781516001600160601b0316835260209283019290910190600101611e1d565b5050506001600160601b03831660c0830152949350505050565b6001600160c01b031981168114611a44575f80fd5b6001600160f81b031981168114611a44575f80fd5b5f805f8060808587031215611e9c575f80fd5b84356001600160401b0381168114611eb2575f80fd5b93506020850135611ec281611e5f565b92506040850135611ed281611e74565b9396929550929360600135925050565b8015158114611a44575f80fd5b5f805f8060808587031215611f02575f80fd5b8435611f0d81611a30565b93506020850135611f1d81611a47565b92506040850135611f2d81611e5f565b91506060850135611f3d81611ee2565b939692955090935050565b8215158152604060208201525f610a816040830184611c5d565b5f8060408385031215611f73575f80fd5b8235611f7e81611a47565b946020939093013593505050565b60ff81168114611a44575f80fd5b5f8060408385031215611fab575f80fd5b82356001600160401b03811115611fc0575f80fd5b8301601f81018513611fd0575f80fd5b611fdf85823560208401611b22565b9250506020830135611ff081611f8c565b809150509250929050565b5f805f805f60a0868803121561200f575f80fd5b853561201a81611a30565b945060208601359350604086013561203181611a5b565b9250606086013561204181611a5b565b9150608086013561205181611a47565b809150509295509295909350565b5f805f60608486031215612071575f80fd5b833561207c81611a47565b9250602084013561208c81611a47565b9150604084013561209c81611a47565b809150509250925092565b5f8060e083850312156120b8575f80fd5b82356120c381611a30565b91506120d28460208501611d7a565b90509250929050565b5f805f606084860312156120ed575f80fd5b83356120f881611a30565b9250602084013561210881611a47565b9150604084013561209c81611e5f565b805161212381611a47565b919050565b5f60208284031215612138575f80fd5b8151610f6e81611a47565b805161212381611a5b565b5f6020828403121561215e575f80fd5b8151610f6e81611a5b565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610caf57610caf612169565b805161212381611f8c565b5f602082840312156121ab575f80fd5b8151610f6e81611f8c565b5f602082840312156121c6575f80fd5b5051919050565b8082028115828204841417610caf57610caf612169565b5f826121fe57634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215612227575f80fd5b8151610f6e81611ee2565b5f61223f611b2f84611afc565b9050828152838383011115612252575f80fd5b8282602083015e5f602084830101529392505050565b5f60208284031215612278575f80fd5b81516001600160401b0381111561228d575f80fd5b82016060818503121561229e575f80fd5b6122a6611a81565b81516122b181611a47565b815260208201516122c181611a5b565b602082015260408201516001600160401b038111156122de575f80fd5b80830192505084601f8301126122f2575f80fd5b61230185835160208501612232565b6040820152949350505050565b5f82601f83011261231d575f80fd5b610f6e83835160208501612232565b805161212381611e74565b5f60208284031215612347575f80fd5b81516001600160401b0381111561235c575f80fd5b8201610140818503121561236e575f80fd5b612376611aa9565b8151815261238660208301612143565b602082015260408201516001600160401b038111156123a3575f80fd5b6123af8682850161230e565b6040830152506123c160608301612143565b606082015260808201516001600160401b038111156123de575f80fd5b6123ea8682850161230e565b6080830152506123fc60a08301612118565b60a082015261240d60c0830161232c565b60c082015260e082810151908201526124296101008301612190565b61010082015261243c6101208301612143565b610120820152949350505050565b5f8060c0838503121561245b575f80fd5b825161246681611a47565b9150603f83018413612476575f80fd5b61248060a0611acc565b8060c0850186811115612491575f80fd5b602086015b818110156124b75780516124a981611a47565b845260209384019301612496565b5093969095509350505050565b5f602082840312156124d4575f80fd5b8151610f6e81611e5f56fea2646970667358221220e95cc766e5ff1b2d8a2bc75e3cc22d274d37c8a12c048c792a02d9029ddfb96464736f6c634300081a0033",
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
+ }