@etherisc/gif-next 0.0.2-fbe8e04-715 → 0.0.2-fc0563c-260

Sign up to get free protection for your applications and to get access to all the features.
Files changed (783) hide show
  1. package/README.md +141 -23
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1244 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +949 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1809 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +930 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +848 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1284 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1472 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2045 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1423 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1639 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2484 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +658 -1236
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +733 -142
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +575 -2838
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2349 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1963 -739
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +766 -483
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +382 -162
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3784 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  102. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  103. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  106. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  107. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +957 -0
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
  116. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +762 -0
  118. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +873 -0
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
  124. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  125. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1242 -0
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1438 -0
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +866 -0
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +1033 -0
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  135. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +905 -0
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1449 -0
  138. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  139. package/artifacts/contracts/pool/Pool.sol/Pool.json +1025 -0
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1833 -0
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +866 -0
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1036 -0
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +790 -0
  150. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  151. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1159 -0
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1552 -0
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +894 -0
  158. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  159. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +804 -0
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1104 -0
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1036 -0
  164. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  165. package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → product/IPricingService.sol/IPricingService.json} +340 -357
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  167. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1016 -0
  168. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  169. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IRiskService.sol/IRiskService.json} +292 -291
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1404 -0
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  173. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +854 -0
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.json +932 -0
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +814 -0
  180. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  181. package/artifacts/contracts/product/Product.sol/Product.json +1117 -0
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +689 -113
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +351 -226
  192. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  196. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  197. package/artifacts/contracts/registry/Registry.sol/Registry.json +1027 -149
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2147 -0
  200. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  201. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
  202. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  203. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +327 -322
  204. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  205. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +375 -119
  206. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  207. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  208. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  210. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  212. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  214. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  215. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +352 -101
  216. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  217. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/Component.sol/Component.json} +350 -98
  218. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1535 -0
  220. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  221. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +854 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  230. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  231. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/IComponent.sol/IComponent.json} +292 -183
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  235. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +707 -0
  236. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  237. package/artifacts/contracts/{instance/IInstanceBase.sol/IInstanceBase.json → shared/IKeyValueStore.sol/IKeyValueStore.json} +96 -34
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  239. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +61 -22
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  243. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +162 -15
  246. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  247. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  248. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IService.sol/IService.json +161 -154
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  251. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  253. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +795 -0
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  255. package/artifacts/contracts/{instance/base/IKeyValueStore.sol/IKeyValueStore.json → shared/KeyValueStore.sol/KeyValueStore.json} +129 -20
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  258. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +98 -28
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  263. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +178 -55
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  267. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  268. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Service.sol/Service.json +177 -163
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1646 -0
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1196 -0
  280. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  281. package/artifacts/contracts/staking/Staking.sol/Staking.json +2054 -0
  282. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  283. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  284. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +842 -0
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +616 -0
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1425 -0
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +782 -0
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  297. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  298. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  299. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  300. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  302. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  313. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  317. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +265 -0
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  338. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  340. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  344. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  348. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  349. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +65 -0
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  351. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  354. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +88 -0
  356. package/contracts/accounting/AccountingService.sol +274 -0
  357. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  358. package/contracts/accounting/IAccountingService.sol +47 -0
  359. package/contracts/authorization/AccessAdmin.sol +780 -0
  360. package/contracts/authorization/AccessAdminLib.sol +396 -0
  361. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  362. package/contracts/authorization/Authorization.sol +169 -0
  363. package/contracts/authorization/IAccess.sol +67 -0
  364. package/contracts/authorization/IAccessAdmin.sol +144 -0
  365. package/contracts/authorization/IAuthorization.sol +27 -0
  366. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  367. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  368. package/contracts/distribution/BasicDistribution.sol +141 -0
  369. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  370. package/contracts/distribution/Distribution.sol +247 -0
  371. package/contracts/distribution/DistributionService.sol +448 -0
  372. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  373. package/contracts/distribution/IDistributionComponent.sol +45 -0
  374. package/contracts/distribution/IDistributionService.sol +115 -0
  375. package/contracts/examples/fire/DamageLevel.sol +59 -0
  376. package/contracts/examples/fire/FirePool.sol +86 -0
  377. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  378. package/contracts/examples/fire/FireProduct.sol +433 -0
  379. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  380. package/contracts/examples/fire/FireUSD.sol +26 -0
  381. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  382. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  383. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  384. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  385. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  386. package/contracts/examples/unpermissioned/SimpleProduct.sol +391 -0
  387. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  388. package/contracts/instance/BundleSet.sol +130 -0
  389. package/contracts/instance/IInstance.sol +136 -51
  390. package/contracts/instance/IInstanceService.sol +103 -19
  391. package/contracts/instance/Instance.sol +246 -365
  392. package/contracts/instance/InstanceAdmin.sol +383 -0
  393. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  394. package/contracts/instance/InstanceReader.sol +525 -208
  395. package/contracts/instance/InstanceService.sol +447 -209
  396. package/contracts/instance/InstanceServiceManager.sol +14 -32
  397. package/contracts/instance/InstanceStore.sol +298 -0
  398. package/contracts/instance/RiskSet.sol +126 -0
  399. package/contracts/instance/base/BalanceStore.sol +121 -0
  400. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
  401. package/contracts/instance/base/ObjectCounter.sol +20 -0
  402. package/contracts/instance/base/ObjectLifecycle.sol +108 -0
  403. package/contracts/instance/base/ObjectSet.sol +77 -0
  404. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  405. package/contracts/instance/module/IBundle.sol +10 -9
  406. package/contracts/instance/module/IComponents.sol +62 -0
  407. package/contracts/instance/module/IDistribution.sol +25 -10
  408. package/contracts/instance/module/IPolicy.sol +81 -21
  409. package/contracts/instance/module/IRisk.sol +6 -1
  410. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  411. package/contracts/oracle/BasicOracle.sol +45 -0
  412. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  413. package/contracts/oracle/IOracle.sol +41 -0
  414. package/contracts/oracle/IOracleComponent.sol +33 -0
  415. package/contracts/oracle/IOracleService.sol +66 -0
  416. package/contracts/oracle/Oracle.sol +154 -0
  417. package/contracts/oracle/OracleService.sol +310 -0
  418. package/contracts/oracle/OracleServiceManager.sol +39 -0
  419. package/contracts/pool/BasicPool.sol +162 -0
  420. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  421. package/contracts/pool/BundleService.sol +386 -0
  422. package/contracts/pool/BundleServiceManager.sol +39 -0
  423. package/contracts/pool/IBundleService.sol +116 -0
  424. package/contracts/pool/IPoolComponent.sol +62 -0
  425. package/contracts/pool/IPoolService.sol +170 -0
  426. package/contracts/pool/Pool.sol +333 -0
  427. package/contracts/pool/PoolLib.sol +341 -0
  428. package/contracts/pool/PoolService.sol +614 -0
  429. package/contracts/pool/PoolServiceManager.sol +39 -0
  430. package/contracts/product/ApplicationService.sol +327 -0
  431. package/contracts/product/ApplicationServiceManager.sol +38 -0
  432. package/contracts/product/BasicProduct.sol +49 -0
  433. package/contracts/product/BasicProductAuthorization.sol +63 -0
  434. package/contracts/product/ClaimService.sol +641 -0
  435. package/contracts/product/ClaimServiceManager.sol +38 -0
  436. package/contracts/product/IApplicationService.sol +88 -0
  437. package/contracts/product/IClaimService.sol +135 -0
  438. package/contracts/product/IPolicyService.sol +102 -0
  439. package/contracts/product/IPricingService.sol +40 -0
  440. package/contracts/product/IProductComponent.sol +62 -0
  441. package/contracts/product/IRiskService.sol +48 -0
  442. package/contracts/product/PolicyService.sol +645 -0
  443. package/contracts/product/PolicyServiceLib.sol +139 -0
  444. package/contracts/product/PolicyServiceManager.sol +39 -0
  445. package/contracts/product/PricingService.sol +306 -0
  446. package/contracts/product/PricingServiceManager.sol +39 -0
  447. package/contracts/product/Product.sol +483 -0
  448. package/contracts/product/RiskService.sol +190 -0
  449. package/contracts/product/RiskServiceManager.sol +39 -0
  450. package/contracts/registry/ChainNft.sol +82 -35
  451. package/contracts/registry/IRegistry.sol +126 -32
  452. package/contracts/registry/IRegistryService.sol +40 -28
  453. package/contracts/registry/IRelease.sol +29 -0
  454. package/contracts/registry/ITransferInterceptor.sol +1 -1
  455. package/contracts/registry/Registry.sol +561 -273
  456. package/contracts/registry/RegistryAdmin.sol +188 -0
  457. package/contracts/registry/RegistryAuthorization.sol +284 -0
  458. package/contracts/registry/RegistryService.sol +116 -233
  459. package/contracts/registry/RegistryServiceManager.sol +26 -53
  460. package/contracts/registry/ReleaseAdmin.sol +195 -0
  461. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  462. package/contracts/registry/ReleaseRegistry.sol +520 -0
  463. package/contracts/registry/ServiceAuthorizationV3.sol +345 -0
  464. package/contracts/registry/TokenRegistry.sol +263 -60
  465. package/contracts/shared/Component.sol +210 -0
  466. package/contracts/shared/ComponentService.sol +679 -0
  467. package/contracts/shared/ComponentServiceManager.sol +38 -0
  468. package/contracts/shared/ContractLib.sol +311 -0
  469. package/contracts/shared/IComponent.sol +58 -0
  470. package/contracts/shared/IComponentService.sol +111 -0
  471. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  472. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  473. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  474. package/contracts/shared/INftOwnable.sol +17 -12
  475. package/contracts/shared/IPolicyHolder.sol +35 -0
  476. package/contracts/shared/IRegisterable.sol +24 -5
  477. package/contracts/shared/IRegistryLinked.sol +11 -0
  478. package/contracts/shared/IService.sol +13 -5
  479. package/contracts/shared/InitializableERC165.sol +35 -0
  480. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  481. package/contracts/shared/KeyValueStore.sol +131 -0
  482. package/contracts/shared/Lifecycle.sol +88 -0
  483. package/contracts/shared/NftIdSet.sol +65 -0
  484. package/contracts/shared/NftOwnable.sol +77 -82
  485. package/contracts/shared/PolicyHolder.sol +63 -0
  486. package/contracts/shared/Registerable.sol +54 -38
  487. package/contracts/shared/RegistryLinked.sol +38 -0
  488. package/contracts/shared/Service.sol +45 -33
  489. package/contracts/shared/TokenHandler.sol +327 -12
  490. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  491. package/contracts/staking/IStaking.sol +195 -0
  492. package/contracts/staking/IStakingService.sol +170 -0
  493. package/contracts/staking/Staking.sol +605 -0
  494. package/contracts/staking/StakingLib.sol +281 -0
  495. package/contracts/staking/StakingLifecycle.sol +23 -0
  496. package/contracts/staking/StakingManager.sol +52 -0
  497. package/contracts/staking/StakingReader.sol +199 -0
  498. package/contracts/staking/StakingService.sol +468 -0
  499. package/contracts/staking/StakingServiceManager.sol +45 -0
  500. package/contracts/staking/StakingStore.sol +606 -0
  501. package/contracts/staking/TargetManagerLib.sol +211 -0
  502. package/contracts/{types → type}/AddressSet.sol +1 -1
  503. package/contracts/type/Amount.sol +150 -0
  504. package/contracts/{types → type}/Blocknumber.sol +27 -3
  505. package/contracts/type/ClaimId.sol +80 -0
  506. package/contracts/{types → type}/DistributorType.sol +2 -2
  507. package/contracts/type/Fee.sol +66 -0
  508. package/contracts/{types → type}/Key32.sol +2 -2
  509. package/contracts/type/Key32Set.sol +62 -0
  510. package/contracts/{types → type}/NftId.sol +28 -15
  511. package/contracts/{types → type}/NftIdSet.sol +2 -2
  512. package/contracts/type/ObjectType.sol +307 -0
  513. package/contracts/type/PayoutId.sol +82 -0
  514. package/contracts/{types → type}/Referral.sol +6 -1
  515. package/contracts/type/RequestId.sol +75 -0
  516. package/contracts/type/RiskId.sol +75 -0
  517. package/contracts/type/RoleId.sol +180 -0
  518. package/contracts/type/Seconds.sol +105 -0
  519. package/contracts/type/Selector.sol +107 -0
  520. package/contracts/{types → type}/StateId.sol +48 -4
  521. package/contracts/type/String.sol +65 -0
  522. package/contracts/{types → type}/Timestamp.sol +33 -19
  523. package/contracts/type/UFixed.sol +262 -0
  524. package/contracts/{types → type}/Version.sol +59 -7
  525. package/contracts/{shared → upgradeability}/IVersionable.sol +7 -47
  526. package/contracts/upgradeability/ProxyManager.sol +246 -0
  527. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +8 -4
  528. package/contracts/upgradeability/Versionable.sol +62 -0
  529. package/package.json +12 -8
  530. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  531. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  532. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -744
  533. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  534. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -368
  535. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  536. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  537. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  538. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
  539. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  540. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  541. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  542. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -939
  543. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  544. package/artifacts/contracts/components/Product.sol/Product.json +0 -855
  545. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  546. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  547. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  548. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  549. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  550. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  551. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  552. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  553. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  554. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  555. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  556. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  557. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  558. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  559. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  560. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  561. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  562. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  563. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  564. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  565. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  566. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  568. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  570. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  572. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  573. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  574. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  575. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  576. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  577. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  578. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  579. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  580. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  581. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  582. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  583. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  584. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  585. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  586. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  587. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -788
  588. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  589. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  590. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  591. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  592. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  593. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -940
  594. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  595. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  596. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  597. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -285
  598. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  599. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  600. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  601. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  602. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  603. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  604. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  605. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  606. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  607. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  608. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -211
  609. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  610. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  611. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  612. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -923
  613. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  614. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -440
  615. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  616. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  617. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  618. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -684
  619. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  620. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -428
  621. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  622. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  623. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +0 -466
  624. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  625. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  626. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  627. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  628. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -499
  629. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  630. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +0 -536
  631. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  632. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -984
  633. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  634. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -464
  635. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  636. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -718
  637. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  638. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -428
  639. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  640. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -768
  641. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  642. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -420
  643. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  644. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  645. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  646. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  647. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  648. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  649. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  650. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  651. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  652. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  653. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  654. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  655. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  656. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  657. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  658. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  659. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  660. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  661. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  662. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  663. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  664. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  665. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  666. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  667. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  668. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  669. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  670. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  671. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  672. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  673. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  674. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  675. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  676. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  677. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  678. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  679. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  680. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  681. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  682. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  683. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  684. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  685. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  686. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  687. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  688. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  689. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  690. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  691. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  692. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  693. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  694. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  695. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  696. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  697. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  698. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  699. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  700. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  701. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  702. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  703. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  704. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  705. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  706. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  707. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  708. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  709. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  710. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  711. package/contracts/components/BaseComponent.sol +0 -132
  712. package/contracts/components/Distribution.sol +0 -163
  713. package/contracts/components/IBaseComponent.sol +0 -31
  714. package/contracts/components/IDistributionComponent.sol +0 -44
  715. package/contracts/components/IPoolComponent.sol +0 -66
  716. package/contracts/components/IProductComponent.sol +0 -35
  717. package/contracts/components/Pool.sol +0 -271
  718. package/contracts/components/Product.sol +0 -292
  719. package/contracts/experiment/cloning/Cloner.sol +0 -47
  720. package/contracts/experiment/errors/Require.sol +0 -38
  721. package/contracts/experiment/errors/Revert.sol +0 -44
  722. package/contracts/experiment/inheritance/A.sol +0 -53
  723. package/contracts/experiment/inheritance/B.sol +0 -28
  724. package/contracts/experiment/inheritance/C.sol +0 -34
  725. package/contracts/experiment/inheritance/IA.sol +0 -13
  726. package/contracts/experiment/inheritance/IB.sol +0 -10
  727. package/contracts/experiment/inheritance/IC.sol +0 -12
  728. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  729. package/contracts/experiment/statemachine/ISM.sol +0 -25
  730. package/contracts/experiment/statemachine/SM.sol +0 -57
  731. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  732. package/contracts/experiment/types/TypeA.sol +0 -47
  733. package/contracts/experiment/types/TypeB.sol +0 -29
  734. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
  735. package/contracts/instance/BundleManager.sol +0 -129
  736. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  737. package/contracts/instance/IInstanceBase.sol +0 -26
  738. package/contracts/instance/InstanceAccessManager.sol +0 -288
  739. package/contracts/instance/InstanceBase.sol +0 -41
  740. package/contracts/instance/ObjectManager.sol +0 -101
  741. package/contracts/instance/base/ComponentServiceBase.sol +0 -72
  742. package/contracts/instance/base/IInstanceBase.sol +0 -23
  743. package/contracts/instance/base/KeyValueStore.sol +0 -172
  744. package/contracts/instance/base/Lifecycle.sol +0 -100
  745. package/contracts/instance/module/IAccess.sol +0 -38
  746. package/contracts/instance/module/ISetup.sol +0 -46
  747. package/contracts/instance/module/ITreasury.sol +0 -23
  748. package/contracts/instance/service/BundleService.sol +0 -260
  749. package/contracts/instance/service/BundleServiceManager.sol +0 -54
  750. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  751. package/contracts/instance/service/DistributionService.sol +0 -118
  752. package/contracts/instance/service/DistributionServiceManager.sol +0 -54
  753. package/contracts/instance/service/IBundleService.sol +0 -45
  754. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  755. package/contracts/instance/service/IDistributionService.sol +0 -12
  756. package/contracts/instance/service/IPolicyService.sol +0 -87
  757. package/contracts/instance/service/IPoolService.sol +0 -20
  758. package/contracts/instance/service/IProductService.sol +0 -40
  759. package/contracts/instance/service/PolicyService.sol +0 -508
  760. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  761. package/contracts/instance/service/PoolService.sol +0 -124
  762. package/contracts/instance/service/PoolServiceManager.sol +0 -54
  763. package/contracts/instance/service/ProductService.sol +0 -173
  764. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  765. package/contracts/shared/ContractDeployerLib.sol +0 -72
  766. package/contracts/shared/ERC165.sol +0 -25
  767. package/contracts/shared/ProxyManager.sol +0 -94
  768. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  769. package/contracts/shared/Versionable.sol +0 -147
  770. package/contracts/test/TestFee.sol +0 -25
  771. package/contracts/test/TestRegisterable.sol +0 -18
  772. package/contracts/test/TestRoleId.sol +0 -14
  773. package/contracts/test/TestService.sol +0 -24
  774. package/contracts/test/TestToken.sol +0 -26
  775. package/contracts/test/TestVersion.sol +0 -44
  776. package/contracts/test/TestVersionable.sol +0 -17
  777. package/contracts/types/ChainId.sol +0 -38
  778. package/contracts/types/Fee.sol +0 -56
  779. package/contracts/types/NumberId.sol +0 -52
  780. package/contracts/types/ObjectType.sol +0 -152
  781. package/contracts/types/RiskId.sol +0 -43
  782. package/contracts/types/RoleId.sol +0 -92
  783. package/contracts/types/UFixed.sol +0 -325
@@ -0,0 +1,1552 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ClaimService",
4
+ "sourceName": "contracts/product/ClaimService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "authority",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorAuthorityInvalid",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "policyNftId",
60
+ "type": "uint96"
61
+ },
62
+ {
63
+ "internalType": "ClaimId",
64
+ "name": "claimId",
65
+ "type": "uint16"
66
+ }
67
+ ],
68
+ "name": "ErrorClaimServiceBeneficiaryIsZero",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [
73
+ {
74
+ "internalType": "NftId",
75
+ "name": "policyNftId",
76
+ "type": "uint96"
77
+ },
78
+ {
79
+ "internalType": "PayoutId",
80
+ "name": "payoutId",
81
+ "type": "uint40"
82
+ },
83
+ {
84
+ "internalType": "address",
85
+ "name": "beneficiary",
86
+ "type": "address"
87
+ }
88
+ ],
89
+ "name": "ErrorClaimServiceBeneficiarySet",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "NftId",
96
+ "name": "policyNftId",
97
+ "type": "uint96"
98
+ }
99
+ ],
100
+ "name": "ErrorClaimServiceClaimAmountIsZero",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [
105
+ {
106
+ "internalType": "NftId",
107
+ "name": "policyNftId",
108
+ "type": "uint96"
109
+ },
110
+ {
111
+ "internalType": "Amount",
112
+ "name": "sumInsured",
113
+ "type": "uint96"
114
+ },
115
+ {
116
+ "internalType": "Amount",
117
+ "name": "payoutsIncludingClaimAmount",
118
+ "type": "uint96"
119
+ }
120
+ ],
121
+ "name": "ErrorClaimServiceClaimExceedsSumInsured",
122
+ "type": "error"
123
+ },
124
+ {
125
+ "inputs": [
126
+ {
127
+ "internalType": "NftId",
128
+ "name": "policyNftId",
129
+ "type": "uint96"
130
+ },
131
+ {
132
+ "internalType": "ClaimId",
133
+ "name": "claimId",
134
+ "type": "uint16"
135
+ },
136
+ {
137
+ "internalType": "StateId",
138
+ "name": "actualState",
139
+ "type": "uint8"
140
+ }
141
+ ],
142
+ "name": "ErrorClaimServiceClaimNotConfirmed",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [
147
+ {
148
+ "internalType": "NftId",
149
+ "name": "policyNftId",
150
+ "type": "uint96"
151
+ },
152
+ {
153
+ "internalType": "ClaimId",
154
+ "name": "claimId",
155
+ "type": "uint16"
156
+ },
157
+ {
158
+ "internalType": "StateId",
159
+ "name": "expectedState",
160
+ "type": "uint8"
161
+ },
162
+ {
163
+ "internalType": "StateId",
164
+ "name": "actualState",
165
+ "type": "uint8"
166
+ }
167
+ ],
168
+ "name": "ErrorClaimServiceClaimNotInExpectedState",
169
+ "type": "error"
170
+ },
171
+ {
172
+ "inputs": [
173
+ {
174
+ "internalType": "NftId",
175
+ "name": "policyNftId",
176
+ "type": "uint96"
177
+ },
178
+ {
179
+ "internalType": "ClaimId",
180
+ "name": "claimId",
181
+ "type": "uint16"
182
+ },
183
+ {
184
+ "internalType": "Amount",
185
+ "name": "claimAmount",
186
+ "type": "uint96"
187
+ },
188
+ {
189
+ "internalType": "Amount",
190
+ "name": "paidAmount",
191
+ "type": "uint96"
192
+ }
193
+ ],
194
+ "name": "ErrorClaimServiceClaimWithMissingPayouts",
195
+ "type": "error"
196
+ },
197
+ {
198
+ "inputs": [
199
+ {
200
+ "internalType": "NftId",
201
+ "name": "policyNftId",
202
+ "type": "uint96"
203
+ },
204
+ {
205
+ "internalType": "ClaimId",
206
+ "name": "claimId",
207
+ "type": "uint16"
208
+ },
209
+ {
210
+ "internalType": "uint24",
211
+ "name": "openPayouts",
212
+ "type": "uint24"
213
+ }
214
+ ],
215
+ "name": "ErrorClaimServiceClaimWithOpenPayouts",
216
+ "type": "error"
217
+ },
218
+ {
219
+ "inputs": [
220
+ {
221
+ "internalType": "NftId",
222
+ "name": "policyNftId",
223
+ "type": "uint96"
224
+ },
225
+ {
226
+ "internalType": "ClaimId",
227
+ "name": "claimId",
228
+ "type": "uint16"
229
+ },
230
+ {
231
+ "internalType": "Amount",
232
+ "name": "claimAmount",
233
+ "type": "uint96"
234
+ },
235
+ {
236
+ "internalType": "Amount",
237
+ "name": "totalPayoutAmount",
238
+ "type": "uint96"
239
+ }
240
+ ],
241
+ "name": "ErrorClaimServicePayoutExceedsClaimAmount",
242
+ "type": "error"
243
+ },
244
+ {
245
+ "inputs": [
246
+ {
247
+ "internalType": "NftId",
248
+ "name": "policyNftId",
249
+ "type": "uint96"
250
+ },
251
+ {
252
+ "internalType": "PayoutId",
253
+ "name": "payoutId",
254
+ "type": "uint40"
255
+ },
256
+ {
257
+ "internalType": "StateId",
258
+ "name": "actualState",
259
+ "type": "uint8"
260
+ }
261
+ ],
262
+ "name": "ErrorClaimServicePayoutNotExpected",
263
+ "type": "error"
264
+ },
265
+ {
266
+ "inputs": [
267
+ {
268
+ "internalType": "NftId",
269
+ "name": "policyNftId",
270
+ "type": "uint96"
271
+ }
272
+ ],
273
+ "name": "ErrorClaimServicePolicyNotOpen",
274
+ "type": "error"
275
+ },
276
+ {
277
+ "inputs": [
278
+ {
279
+ "internalType": "NftId",
280
+ "name": "policyNftId",
281
+ "type": "uint96"
282
+ },
283
+ {
284
+ "internalType": "NftId",
285
+ "name": "expectedProduct",
286
+ "type": "uint96"
287
+ },
288
+ {
289
+ "internalType": "NftId",
290
+ "name": "actualProduct",
291
+ "type": "uint96"
292
+ }
293
+ ],
294
+ "name": "ErrorClaimServicePolicyProductMismatch",
295
+ "type": "error"
296
+ },
297
+ {
298
+ "inputs": [
299
+ {
300
+ "internalType": "NftId",
301
+ "name": "policyNftId",
302
+ "type": "uint96"
303
+ },
304
+ {
305
+ "internalType": "PayoutId",
306
+ "name": "payoutId",
307
+ "type": "uint40"
308
+ }
309
+ ],
310
+ "name": "ErrorClaimsServicePayoutAmountIsZero",
311
+ "type": "error"
312
+ },
313
+ {
314
+ "inputs": [
315
+ {
316
+ "internalType": "NftId",
317
+ "name": "nftId",
318
+ "type": "uint96"
319
+ }
320
+ ],
321
+ "name": "ErrorNftOwnableAlreadyLinked",
322
+ "type": "error"
323
+ },
324
+ {
325
+ "inputs": [
326
+ {
327
+ "internalType": "address",
328
+ "name": "contractAddress",
329
+ "type": "address"
330
+ }
331
+ ],
332
+ "name": "ErrorNftOwnableContractNotRegistered",
333
+ "type": "error"
334
+ },
335
+ {
336
+ "inputs": [],
337
+ "name": "ErrorNftOwnableInitialOwnerZero",
338
+ "type": "error"
339
+ },
340
+ {
341
+ "inputs": [
342
+ {
343
+ "internalType": "NftId",
344
+ "name": "nftId",
345
+ "type": "uint96"
346
+ },
347
+ {
348
+ "internalType": "ObjectType",
349
+ "name": "expectedObjectType",
350
+ "type": "uint8"
351
+ }
352
+ ],
353
+ "name": "ErrorNftOwnableInvalidType",
354
+ "type": "error"
355
+ },
356
+ {
357
+ "inputs": [
358
+ {
359
+ "internalType": "address",
360
+ "name": "account",
361
+ "type": "address"
362
+ }
363
+ ],
364
+ "name": "ErrorNftOwnableNotOwner",
365
+ "type": "error"
366
+ },
367
+ {
368
+ "inputs": [
369
+ {
370
+ "internalType": "address",
371
+ "name": "registryAddress",
372
+ "type": "address"
373
+ }
374
+ ],
375
+ "name": "ErrorNotRegistry",
376
+ "type": "error"
377
+ },
378
+ {
379
+ "inputs": [],
380
+ "name": "ErrorRegisterableNotActive",
381
+ "type": "error"
382
+ },
383
+ {
384
+ "inputs": [],
385
+ "name": "ErrorVersionableInitializeNotImplemented",
386
+ "type": "error"
387
+ },
388
+ {
389
+ "inputs": [],
390
+ "name": "ErrorVersionableUpgradeNotImplemented",
391
+ "type": "error"
392
+ },
393
+ {
394
+ "inputs": [],
395
+ "name": "InvalidInitialization",
396
+ "type": "error"
397
+ },
398
+ {
399
+ "inputs": [],
400
+ "name": "NotInitializing",
401
+ "type": "error"
402
+ },
403
+ {
404
+ "inputs": [],
405
+ "name": "ReentrancyGuardReentrantCall",
406
+ "type": "error"
407
+ },
408
+ {
409
+ "anonymous": false,
410
+ "inputs": [
411
+ {
412
+ "indexed": false,
413
+ "internalType": "address",
414
+ "name": "authority",
415
+ "type": "address"
416
+ }
417
+ ],
418
+ "name": "AuthorityUpdated",
419
+ "type": "event"
420
+ },
421
+ {
422
+ "anonymous": false,
423
+ "inputs": [
424
+ {
425
+ "indexed": false,
426
+ "internalType": "uint64",
427
+ "name": "version",
428
+ "type": "uint64"
429
+ }
430
+ ],
431
+ "name": "Initialized",
432
+ "type": "event"
433
+ },
434
+ {
435
+ "anonymous": false,
436
+ "inputs": [
437
+ {
438
+ "indexed": false,
439
+ "internalType": "NftId",
440
+ "name": "policyNftId",
441
+ "type": "uint96"
442
+ },
443
+ {
444
+ "indexed": false,
445
+ "internalType": "ClaimId",
446
+ "name": "claimId",
447
+ "type": "uint16"
448
+ }
449
+ ],
450
+ "name": "LogClaimServiceClaimClosed",
451
+ "type": "event"
452
+ },
453
+ {
454
+ "anonymous": false,
455
+ "inputs": [
456
+ {
457
+ "indexed": false,
458
+ "internalType": "NftId",
459
+ "name": "policyNftId",
460
+ "type": "uint96"
461
+ },
462
+ {
463
+ "indexed": false,
464
+ "internalType": "ClaimId",
465
+ "name": "claimId",
466
+ "type": "uint16"
467
+ },
468
+ {
469
+ "indexed": false,
470
+ "internalType": "Amount",
471
+ "name": "confirmedAmount",
472
+ "type": "uint96"
473
+ }
474
+ ],
475
+ "name": "LogClaimServiceClaimConfirmed",
476
+ "type": "event"
477
+ },
478
+ {
479
+ "anonymous": false,
480
+ "inputs": [
481
+ {
482
+ "indexed": false,
483
+ "internalType": "NftId",
484
+ "name": "policyNftId",
485
+ "type": "uint96"
486
+ },
487
+ {
488
+ "indexed": false,
489
+ "internalType": "ClaimId",
490
+ "name": "claimId",
491
+ "type": "uint16"
492
+ }
493
+ ],
494
+ "name": "LogClaimServiceClaimDeclined",
495
+ "type": "event"
496
+ },
497
+ {
498
+ "anonymous": false,
499
+ "inputs": [
500
+ {
501
+ "indexed": false,
502
+ "internalType": "NftId",
503
+ "name": "policyNftId",
504
+ "type": "uint96"
505
+ },
506
+ {
507
+ "indexed": false,
508
+ "internalType": "ClaimId",
509
+ "name": "claimId",
510
+ "type": "uint16"
511
+ }
512
+ ],
513
+ "name": "LogClaimServiceClaimRevoked",
514
+ "type": "event"
515
+ },
516
+ {
517
+ "anonymous": false,
518
+ "inputs": [
519
+ {
520
+ "indexed": false,
521
+ "internalType": "NftId",
522
+ "name": "policyNftId",
523
+ "type": "uint96"
524
+ },
525
+ {
526
+ "indexed": false,
527
+ "internalType": "ClaimId",
528
+ "name": "claimId",
529
+ "type": "uint16"
530
+ },
531
+ {
532
+ "indexed": false,
533
+ "internalType": "Amount",
534
+ "name": "claimAmount",
535
+ "type": "uint96"
536
+ }
537
+ ],
538
+ "name": "LogClaimServiceClaimSubmitted",
539
+ "type": "event"
540
+ },
541
+ {
542
+ "anonymous": false,
543
+ "inputs": [
544
+ {
545
+ "indexed": false,
546
+ "internalType": "NftId",
547
+ "name": "policyNftId",
548
+ "type": "uint96"
549
+ },
550
+ {
551
+ "indexed": false,
552
+ "internalType": "PayoutId",
553
+ "name": "payoutId",
554
+ "type": "uint40"
555
+ }
556
+ ],
557
+ "name": "LogClaimServicePayoutCancelled",
558
+ "type": "event"
559
+ },
560
+ {
561
+ "anonymous": false,
562
+ "inputs": [
563
+ {
564
+ "indexed": false,
565
+ "internalType": "NftId",
566
+ "name": "policyNftId",
567
+ "type": "uint96"
568
+ },
569
+ {
570
+ "indexed": false,
571
+ "internalType": "PayoutId",
572
+ "name": "payoutId",
573
+ "type": "uint40"
574
+ },
575
+ {
576
+ "indexed": false,
577
+ "internalType": "Amount",
578
+ "name": "amount",
579
+ "type": "uint96"
580
+ },
581
+ {
582
+ "indexed": false,
583
+ "internalType": "address",
584
+ "name": "beneficiary",
585
+ "type": "address"
586
+ }
587
+ ],
588
+ "name": "LogClaimServicePayoutCreated",
589
+ "type": "event"
590
+ },
591
+ {
592
+ "anonymous": false,
593
+ "inputs": [
594
+ {
595
+ "indexed": false,
596
+ "internalType": "NftId",
597
+ "name": "policyNftId",
598
+ "type": "uint96"
599
+ },
600
+ {
601
+ "indexed": false,
602
+ "internalType": "PayoutId",
603
+ "name": "payoutId",
604
+ "type": "uint40"
605
+ },
606
+ {
607
+ "indexed": false,
608
+ "internalType": "Amount",
609
+ "name": "amount",
610
+ "type": "uint96"
611
+ }
612
+ ],
613
+ "name": "LogClaimServicePayoutProcessed",
614
+ "type": "event"
615
+ },
616
+ {
617
+ "anonymous": false,
618
+ "inputs": [
619
+ {
620
+ "indexed": false,
621
+ "internalType": "NftId",
622
+ "name": "nftId",
623
+ "type": "uint96"
624
+ },
625
+ {
626
+ "indexed": false,
627
+ "internalType": "address",
628
+ "name": "owner",
629
+ "type": "address"
630
+ }
631
+ ],
632
+ "name": "LogNftOwnableNftLinkedToAddress",
633
+ "type": "event"
634
+ },
635
+ {
636
+ "inputs": [],
637
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
638
+ "outputs": [
639
+ {
640
+ "internalType": "bytes32",
641
+ "name": "",
642
+ "type": "bytes32"
643
+ }
644
+ ],
645
+ "stateMutability": "view",
646
+ "type": "function"
647
+ },
648
+ {
649
+ "inputs": [],
650
+ "name": "REGISTERABLE_LOCATION_V1",
651
+ "outputs": [
652
+ {
653
+ "internalType": "bytes32",
654
+ "name": "",
655
+ "type": "bytes32"
656
+ }
657
+ ],
658
+ "stateMutability": "view",
659
+ "type": "function"
660
+ },
661
+ {
662
+ "inputs": [],
663
+ "name": "authority",
664
+ "outputs": [
665
+ {
666
+ "internalType": "address",
667
+ "name": "",
668
+ "type": "address"
669
+ }
670
+ ],
671
+ "stateMutability": "view",
672
+ "type": "function"
673
+ },
674
+ {
675
+ "inputs": [
676
+ {
677
+ "internalType": "NftId",
678
+ "name": "policyNftId",
679
+ "type": "uint96"
680
+ },
681
+ {
682
+ "internalType": "PayoutId",
683
+ "name": "payoutId",
684
+ "type": "uint40"
685
+ }
686
+ ],
687
+ "name": "cancelPayout",
688
+ "outputs": [],
689
+ "stateMutability": "nonpayable",
690
+ "type": "function"
691
+ },
692
+ {
693
+ "inputs": [
694
+ {
695
+ "internalType": "NftId",
696
+ "name": "policyNftId",
697
+ "type": "uint96"
698
+ },
699
+ {
700
+ "internalType": "ClaimId",
701
+ "name": "claimId",
702
+ "type": "uint16"
703
+ }
704
+ ],
705
+ "name": "close",
706
+ "outputs": [],
707
+ "stateMutability": "nonpayable",
708
+ "type": "function"
709
+ },
710
+ {
711
+ "inputs": [
712
+ {
713
+ "internalType": "NftId",
714
+ "name": "policyNftId",
715
+ "type": "uint96"
716
+ },
717
+ {
718
+ "internalType": "ClaimId",
719
+ "name": "claimId",
720
+ "type": "uint16"
721
+ },
722
+ {
723
+ "internalType": "Amount",
724
+ "name": "confirmedAmount",
725
+ "type": "uint96"
726
+ },
727
+ {
728
+ "internalType": "bytes",
729
+ "name": "data",
730
+ "type": "bytes"
731
+ }
732
+ ],
733
+ "name": "confirm",
734
+ "outputs": [],
735
+ "stateMutability": "nonpayable",
736
+ "type": "function"
737
+ },
738
+ {
739
+ "inputs": [
740
+ {
741
+ "internalType": "NftId",
742
+ "name": "policyNftId",
743
+ "type": "uint96"
744
+ },
745
+ {
746
+ "internalType": "ClaimId",
747
+ "name": "claimId",
748
+ "type": "uint16"
749
+ },
750
+ {
751
+ "internalType": "Amount",
752
+ "name": "amount",
753
+ "type": "uint96"
754
+ },
755
+ {
756
+ "internalType": "bytes",
757
+ "name": "data",
758
+ "type": "bytes"
759
+ }
760
+ ],
761
+ "name": "createPayout",
762
+ "outputs": [
763
+ {
764
+ "internalType": "PayoutId",
765
+ "name": "payoutId",
766
+ "type": "uint40"
767
+ }
768
+ ],
769
+ "stateMutability": "nonpayable",
770
+ "type": "function"
771
+ },
772
+ {
773
+ "inputs": [
774
+ {
775
+ "internalType": "NftId",
776
+ "name": "policyNftId",
777
+ "type": "uint96"
778
+ },
779
+ {
780
+ "internalType": "ClaimId",
781
+ "name": "claimId",
782
+ "type": "uint16"
783
+ },
784
+ {
785
+ "internalType": "Amount",
786
+ "name": "amount",
787
+ "type": "uint96"
788
+ },
789
+ {
790
+ "internalType": "address",
791
+ "name": "beneficiary",
792
+ "type": "address"
793
+ },
794
+ {
795
+ "internalType": "bytes",
796
+ "name": "data",
797
+ "type": "bytes"
798
+ }
799
+ ],
800
+ "name": "createPayoutForBeneficiary",
801
+ "outputs": [
802
+ {
803
+ "internalType": "PayoutId",
804
+ "name": "payoutId",
805
+ "type": "uint40"
806
+ }
807
+ ],
808
+ "stateMutability": "nonpayable",
809
+ "type": "function"
810
+ },
811
+ {
812
+ "inputs": [
813
+ {
814
+ "internalType": "NftId",
815
+ "name": "policyNftId",
816
+ "type": "uint96"
817
+ },
818
+ {
819
+ "internalType": "ClaimId",
820
+ "name": "claimId",
821
+ "type": "uint16"
822
+ },
823
+ {
824
+ "internalType": "bytes",
825
+ "name": "data",
826
+ "type": "bytes"
827
+ }
828
+ ],
829
+ "name": "decline",
830
+ "outputs": [],
831
+ "stateMutability": "nonpayable",
832
+ "type": "function"
833
+ },
834
+ {
835
+ "inputs": [],
836
+ "name": "getDomain",
837
+ "outputs": [
838
+ {
839
+ "internalType": "ObjectType",
840
+ "name": "serviceDomain",
841
+ "type": "uint8"
842
+ }
843
+ ],
844
+ "stateMutability": "pure",
845
+ "type": "function"
846
+ },
847
+ {
848
+ "inputs": [],
849
+ "name": "getInitialInfo",
850
+ "outputs": [
851
+ {
852
+ "components": [
853
+ {
854
+ "internalType": "NftId",
855
+ "name": "nftId",
856
+ "type": "uint96"
857
+ },
858
+ {
859
+ "internalType": "NftId",
860
+ "name": "parentNftId",
861
+ "type": "uint96"
862
+ },
863
+ {
864
+ "internalType": "ObjectType",
865
+ "name": "objectType",
866
+ "type": "uint8"
867
+ },
868
+ {
869
+ "internalType": "bool",
870
+ "name": "isInterceptor",
871
+ "type": "bool"
872
+ },
873
+ {
874
+ "internalType": "address",
875
+ "name": "objectAddress",
876
+ "type": "address"
877
+ },
878
+ {
879
+ "internalType": "address",
880
+ "name": "initialOwner",
881
+ "type": "address"
882
+ },
883
+ {
884
+ "internalType": "bytes",
885
+ "name": "data",
886
+ "type": "bytes"
887
+ }
888
+ ],
889
+ "internalType": "struct IRegistry.ObjectInfo",
890
+ "name": "info",
891
+ "type": "tuple"
892
+ }
893
+ ],
894
+ "stateMutability": "view",
895
+ "type": "function"
896
+ },
897
+ {
898
+ "inputs": [],
899
+ "name": "getNftId",
900
+ "outputs": [
901
+ {
902
+ "internalType": "NftId",
903
+ "name": "",
904
+ "type": "uint96"
905
+ }
906
+ ],
907
+ "stateMutability": "view",
908
+ "type": "function"
909
+ },
910
+ {
911
+ "inputs": [],
912
+ "name": "getOwner",
913
+ "outputs": [
914
+ {
915
+ "internalType": "address",
916
+ "name": "",
917
+ "type": "address"
918
+ }
919
+ ],
920
+ "stateMutability": "view",
921
+ "type": "function"
922
+ },
923
+ {
924
+ "inputs": [],
925
+ "name": "getRegistry",
926
+ "outputs": [
927
+ {
928
+ "internalType": "contract IRegistry",
929
+ "name": "",
930
+ "type": "address"
931
+ }
932
+ ],
933
+ "stateMutability": "view",
934
+ "type": "function"
935
+ },
936
+ {
937
+ "inputs": [],
938
+ "name": "getRelease",
939
+ "outputs": [
940
+ {
941
+ "internalType": "VersionPart",
942
+ "name": "release",
943
+ "type": "uint8"
944
+ }
945
+ ],
946
+ "stateMutability": "view",
947
+ "type": "function"
948
+ },
949
+ {
950
+ "inputs": [],
951
+ "name": "getRoleId",
952
+ "outputs": [
953
+ {
954
+ "internalType": "RoleId",
955
+ "name": "serviceRoleId",
956
+ "type": "uint64"
957
+ }
958
+ ],
959
+ "stateMutability": "view",
960
+ "type": "function"
961
+ },
962
+ {
963
+ "inputs": [],
964
+ "name": "getVersion",
965
+ "outputs": [
966
+ {
967
+ "internalType": "Version",
968
+ "name": "",
969
+ "type": "uint24"
970
+ }
971
+ ],
972
+ "stateMutability": "pure",
973
+ "type": "function"
974
+ },
975
+ {
976
+ "inputs": [
977
+ {
978
+ "internalType": "address",
979
+ "name": "activatedBy",
980
+ "type": "address"
981
+ },
982
+ {
983
+ "internalType": "bytes",
984
+ "name": "data",
985
+ "type": "bytes"
986
+ }
987
+ ],
988
+ "name": "initializeVersionable",
989
+ "outputs": [],
990
+ "stateMutability": "nonpayable",
991
+ "type": "function"
992
+ },
993
+ {
994
+ "inputs": [],
995
+ "name": "isActive",
996
+ "outputs": [
997
+ {
998
+ "internalType": "bool",
999
+ "name": "active",
1000
+ "type": "bool"
1001
+ }
1002
+ ],
1003
+ "stateMutability": "view",
1004
+ "type": "function"
1005
+ },
1006
+ {
1007
+ "inputs": [],
1008
+ "name": "isConsumingScheduledOp",
1009
+ "outputs": [
1010
+ {
1011
+ "internalType": "bytes4",
1012
+ "name": "",
1013
+ "type": "bytes4"
1014
+ }
1015
+ ],
1016
+ "stateMutability": "view",
1017
+ "type": "function"
1018
+ },
1019
+ {
1020
+ "inputs": [],
1021
+ "name": "linkToRegisteredNftId",
1022
+ "outputs": [
1023
+ {
1024
+ "internalType": "NftId",
1025
+ "name": "nftId",
1026
+ "type": "uint96"
1027
+ }
1028
+ ],
1029
+ "stateMutability": "nonpayable",
1030
+ "type": "function"
1031
+ },
1032
+ {
1033
+ "inputs": [
1034
+ {
1035
+ "internalType": "NftId",
1036
+ "name": "policyNftId",
1037
+ "type": "uint96"
1038
+ },
1039
+ {
1040
+ "internalType": "PayoutId",
1041
+ "name": "payoutId",
1042
+ "type": "uint40"
1043
+ }
1044
+ ],
1045
+ "name": "processPayout",
1046
+ "outputs": [
1047
+ {
1048
+ "internalType": "Amount",
1049
+ "name": "netPayoutAmount",
1050
+ "type": "uint96"
1051
+ },
1052
+ {
1053
+ "internalType": "Amount",
1054
+ "name": "processingFeeAmount",
1055
+ "type": "uint96"
1056
+ }
1057
+ ],
1058
+ "stateMutability": "nonpayable",
1059
+ "type": "function"
1060
+ },
1061
+ {
1062
+ "inputs": [
1063
+ {
1064
+ "internalType": "NftId",
1065
+ "name": "policyNftId",
1066
+ "type": "uint96"
1067
+ },
1068
+ {
1069
+ "internalType": "ClaimId",
1070
+ "name": "claimId",
1071
+ "type": "uint16"
1072
+ }
1073
+ ],
1074
+ "name": "revoke",
1075
+ "outputs": [],
1076
+ "stateMutability": "nonpayable",
1077
+ "type": "function"
1078
+ },
1079
+ {
1080
+ "inputs": [
1081
+ {
1082
+ "internalType": "address",
1083
+ "name": "newAuthority",
1084
+ "type": "address"
1085
+ }
1086
+ ],
1087
+ "name": "setAuthority",
1088
+ "outputs": [],
1089
+ "stateMutability": "nonpayable",
1090
+ "type": "function"
1091
+ },
1092
+ {
1093
+ "inputs": [
1094
+ {
1095
+ "internalType": "NftId",
1096
+ "name": "policyNftId",
1097
+ "type": "uint96"
1098
+ },
1099
+ {
1100
+ "internalType": "Amount",
1101
+ "name": "claimAmount",
1102
+ "type": "uint96"
1103
+ },
1104
+ {
1105
+ "internalType": "bytes",
1106
+ "name": "claimData",
1107
+ "type": "bytes"
1108
+ }
1109
+ ],
1110
+ "name": "submit",
1111
+ "outputs": [
1112
+ {
1113
+ "internalType": "ClaimId",
1114
+ "name": "claimId",
1115
+ "type": "uint16"
1116
+ }
1117
+ ],
1118
+ "stateMutability": "nonpayable",
1119
+ "type": "function"
1120
+ },
1121
+ {
1122
+ "inputs": [
1123
+ {
1124
+ "internalType": "bytes4",
1125
+ "name": "interfaceId",
1126
+ "type": "bytes4"
1127
+ }
1128
+ ],
1129
+ "name": "supportsInterface",
1130
+ "outputs": [
1131
+ {
1132
+ "internalType": "bool",
1133
+ "name": "",
1134
+ "type": "bool"
1135
+ }
1136
+ ],
1137
+ "stateMutability": "view",
1138
+ "type": "function"
1139
+ },
1140
+ {
1141
+ "inputs": [
1142
+ {
1143
+ "internalType": "bytes",
1144
+ "name": "data",
1145
+ "type": "bytes"
1146
+ }
1147
+ ],
1148
+ "name": "upgradeVersionable",
1149
+ "outputs": [],
1150
+ "stateMutability": "nonpayable",
1151
+ "type": "function"
1152
+ }
1153
+ ],
1154
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615830806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101a1575f3560e01c8063644c45e0116100f35780638fb3603711610093578063bf7e214f1161006e578063bf7e214f1461042a578063c68938d014610432578063e01f7a4314610445578063f450e2b514610458575f80fd5b80638fb36037146103ee578063ada9652e1461040f578063b68d180914610423575f80fd5b806374b775eb116100ce57806374b775eb1461039357806376b707b7146103b95780637a9e5e4b146103d3578063893d20e8146103e6575f80fd5b8063644c45e0146103435780636c741e78146103605780636e2cdce714610380575f80fd5b806322f3e2d41161015e5780633c53258e116101395780633c53258e146102cf57806349bb9e4b146102f85780635ab1bd531461030b5780635dbf2c8d14610330575f80fd5b806322f3e2d41461029f578063329d6e74146102a75780633838d739146102bc575f80fd5b806301ffc9a7146101a55780630d8e6e2c146101e65780630fec111c14610202578063137a92a714610217578063138461e01461024a5780631eff4b221461026a575b5f80fd5b6101d16101b3366004614454565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101ee61046b565b60405162ffffff90911681526020016101dd565b61020a6104f2565b6040516101dd91906144a9565b61022a61022536600461455b565b6106ac565b604080516001600160601b039384168152929091166020830152016101dd565b610252610f60565b6040516001600160601b0390911681526020016101dd565b6102917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101dd565b6101d1610f6a565b6102ba6102b53660046146de565b610fe1565b005b6102ba6102ca36600461471e565b61112b565b6102e26102dd36600461474a565b6112fb565b60405164ffffffffff90911681526020016101dd565b6102ba6103063660046147ce565b611328565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101dd565b6102ba61033e36600461471e565b611424565b5f8051602061579b833981519152546001600160601b0316610252565b6103686116f6565b6040516001600160401b0390911681526020016101dd565b6102ba61038e36600461474a565b611782565b6103a66103a136600461481a565b611a57565b60405161ffff90911681526020016101dd565b6103c1611ebf565b60405160ff90911681526020016101dd565b6102ba6103e1366004614877565b611f27565b610318611fad565b6103f66120de565b6040516001600160e01b031990911681526020016101dd565b6102915f8051602061579b83398151915281565b602d6103c1565b610318612113565b6102ba61044036600461455b565b61212e565b6102e2610453366004614892565b61244c565b6102ba610466366004614914565b6124a9565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104ed9190614961565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561059e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c29190614987565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161060a611fad565b6001600160a01b03168152602001826001018054610627906149a2565b80601f0160208091040260200160405190810160405280929190818152602001828054610653906149a2565b801561069e5780601f106106755761010080835404028352916020019161069e565b820191905f5260205f20905b81548152906001019060200180831161068157829003601f168201915b505050505081525091505090565b5f806106ba335b5f3661267d565b5f805f6106c68761277b565b945094509450505061070e6040805160e0810182525f808252602082018190529181018290526060808201839052608082019290925260a0810182905260c081019190915290565b604051637ec0124960e11b81526001600160601b038916600482015264ffffffffff881660248201525f90819081906001600160a01b0388169063fd802492906044015f60405180830381865afa15801561076b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107929190810190614a42565b6060810151602082015160405163f3ed991960e01b81526001600160601b038f16600482015264ffffffffff8e16602482015291955093509091505f906001600160a01b0389169063f3ed991990604401602060405180830381865afa1580156107fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108229190614b11565b905061082f81603c612999565b156108735760405163416ae91f60e11b81526001600160601b038d16600482015264ffffffffff8c16602482015260ff821660448201526064015b60405180910390fd5b604051635207d68b60e01b815264ffffffffff8c1660048201526001600160a01b0389169063a7ef3d21908e9073__$0f9396e6447a4be57af83e53f51d234633$__90635207d68b90602401602060405180830381865af41580156108da573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108fe9190614b2c565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015261ffff1660248201526044015f60405180830381865afa158015610948573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261096f9190810190614b47565b945061098d610986866020015184602001516129aa565b8651612a35565b15610a3f57604051635207d68b60e01b815264ffffffffff8c1660048201528c9073__$0f9396e6447a4be57af83e53f51d234633$__90635207d68b90602401602060405180830381865af41580156109e8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a0c9190614b2c565b865f0151610a22886020015186602001516129aa565b60405163e7a18a8760e01b815260040161086a9493929190614c30565b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610a86573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aaa9190614c5f565b64ffffffffff1660408301526001600160a01b038716630ccd44d78d8d8560dc6040518563ffffffff1660e01b8152600401610ae99493929190614cd2565b5f604051808303815f87803b158015610b00575f80fd5b505af1158015610b12573d5f803e3d5ffd5b5050604051635207d68b60e01b815264ffffffffff8e1660048201525f945073__$0f9396e6447a4be57af83e53f51d234633$__9350635207d68b92506024019050602060405180830381865af4158015610b6f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b939190614b2c565b602085015160405163274acb3560e01b81526001600160601b039182166004820152908416602482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af4158015610bfa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c1e9190614987565b6001600160601b0316602085015260808401805160019190610c41908390614d28565b62ffffff9081169091526080860151161590508015610c6c5750610c6c8460200151855f0151612aba565b15610d675773__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610cb8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cdc9190614c5f565b64ffffffffff1660408501526001600160a01b03861663abef1bb28c838760c86040518563ffffffff1660e01b8152600401610d1b9493929190614de6565b5f604051808303815f87803b158015610d32575f80fd5b505af1158015610d44573d5f803e3d5ffd5b5050505060018560e001818151610d5b9190614e11565b61ffff16905250610dc8565b6040516355f78dd960e11b81526001600160a01b0387169063abef1bb290610d9a908e908590899060ff90600401614de6565b5f604051808303815f87803b158015610db1575f80fd5b505af1158015610dc3573d5f803e3d5ffd5b505050505b50610dd8846101200151826129aa565b6001600160601b031661012085015260405163297023ef60e01b81526001600160a01b0386169063297023ef90610e18908d90889060ff90600401614e2b565b5f604051808303815f87803b158015610e2f575f80fd5b505af1158015610e41573d5f803e3d5ffd5b5050604080516001600160601b038e8116825264ffffffffff8e16602083015285168183015290517f2e01fddcf6c351ca64a709d91796e42b66b6d9d6fdc0863e20a61379d674c1269350908190036060019150a16003548451602086015160405163125510a360e01b81526001600160a01b038a8116600483015289811660248301526001600160601b039384166044830152838f166064830152918316608482015264ffffffffff8d1660a482015291841660c483015284811660e48301529091169063125510a3906101040160408051808303815f875af1158015610f2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4f9190614fba565b909b909a5098505050505050505050565b5f6104ed30612b04565b5f610f73612113565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610fb7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fdb9190614ff6565b15905090565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61100361046b565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611041573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110659190615023565b5f805160206157db8339815191528054600160401b900460ff1680611097575080546001600160401b03808416911610155b156110b55760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556110df83612d5a565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b611134336106b3565b5f805f6111408561277b565b94509450945050505f61115c848787611157603290565b612d7b565b905073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156111a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111c99190614c5f565b64ffffffffff1660408201526001600160a01b03831663abef1bb287878460146040518563ffffffff1660e01b81526004016112089493929190614de6565b5f604051808303815f87803b15801561121f575f80fd5b505af1158015611231573d5f803e3d5ffd5b5050505060018260e0018181516112489190614e11565b61ffff1690525060405163297023ef60e01b81526001600160a01b0384169063297023ef90611280908990869060ff90600401614e2b565b5f604051808303815f87803b158015611297575f80fd5b505af11580156112a9573d5f803e3d5ffd5b5050604080516001600160601b038a16815261ffff891660208201527f1faaad16c345dc1936ac3a4a01ff31232a396d4cb78f913d62ae01e2b39be9cc935001905060405180910390a1505050505050565b5f611305336106b3565b611310856015612efb565b61131d8585855f8661302f565b90505b949350505050565b5f805160206157db8339815191528054600160401b810460ff1615906001600160401b03165f811580156113595750825b90505f826001600160401b031660011480156113745750303b155b905081158015611382575080155b156113a05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156113ca57845460ff60401b1916600160401b1785555b6113d4878761357c565b831561141b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b61142d336106b3565b611438826015612efb565b5f806114438461277b565b509350935050505f611459838686611157603390565b608081015190915062ffffff16156114aa576080810151604051633e4ced5360e11b81526001600160601b038716600482015261ffff8616602482015262ffffff909116604482015260640161086a565b805160405163046e44af60e11b81526001600160601b03909116600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015611503573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611527919061503e565b602082015160405163046e44af60e11b81526001600160601b03909116600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015611583573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115a7919061503e565b10156115d15780516020820151604051633c781b2760e11b815261086a9288928892600401614c30565b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611618573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061163c9190614c5f565b64ffffffffff1660408201526001600160a01b03821663abef1bb286868460c86040518563ffffffff1660e01b815260040161167b9493929190614de6565b5f604051808303815f87803b158015611692575f80fd5b505af11580156116a4573d5f803e3d5ffd5b5050604080516001600160601b038916815261ffff881660208201527fbf0c704f754f874966c71f1a8344ebb5b970ec98ec62b868362834b75779ec3e93500190505b60405180910390a15050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe602d61171b611ebf565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af415801561175e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104ed9190615023565b61178b336106b3565b611796846015612efb565b5f805f805f6117a48961277b565b945094509450945094506117b98982896138c6565b5f6117c7848b8b6032612d7b565b6001600160601b038916815260c081018890526040516355f78dd960e11b81529091506001600160a01b0384169063abef1bb290611810908d908d908690603390600401614de6565b5f604051808303815f87803b158015611827575f80fd5b505af1158015611839573d5f803e3d5ffd5b5050505061184c826101000151896129aa565b6001600160601b031661010083015260405163297023ef60e01b81526001600160a01b0384169063297023ef9061188c908d90869060ff90600401614e2b565b5f604051808303815f87803b1580156118a3575f80fd5b505af11580156118b5573d5f803e3d5ffd5b505050506118cc82610100015183606001516139d9565b156119e65760025f9054906101000a90046001600160a01b03166001600160a01b031663bc4a1c35868c73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561193d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119619190614c5f565b6040516001600160e01b031960e086901b1681526001600160a01b0390931660048401526001600160601b03909116602483015264ffffffffff1660448201526064016020604051808303815f875af11580156119c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119e49190614c5f565b505b604080516001600160601b038c8116825261ffff8c1660208301528a168183015290517fccd5503b328e5b54e15c01d8de50b60e170834460b94faf05be56b4b25a1a1409181900360600190a1611a4084878c8c8c613a23565b611a4b8a8a8a613c14565b50505050505050505050565b5f611a61336106b3565b5f80611a6c8661277b565b61014081015160405163790a38ad60e01b815264ffffffffff9091166004820152919650945073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__935063790a38ad92506024019050602060405180830381865af4158015611ad0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611af49190614ff6565b80611b7e5750611b7e73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611b44573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b689190614c5f565b82610180015164ffffffffff9081169116101590565b15611ba757604051631abadea960e01b81526001600160601b038716600482015260240161086a565b611bb28682876138c6565b73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a368260c001516001611bdd9190615055565b6040516001600160e01b031960e084901b16815261ffff9091166004820152602401602060405180830381865af4158015611c1a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c3e9190614b2c565b9250816001600160a01b0316631c7c815587856040518060e001604052808a6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611cb2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cd69190614987565b6001600160601b0316815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d4f9190614c5f565b64ffffffffff1681526020015f62ffffff1681526020015f62ffffff16815260200189815260200160405180602001604052805f8152508152506040518463ffffffff1660e01b8152600401611da79392919061506f565b5f604051808303815f87803b158015611dbe575f80fd5b505af1158015611dd0573d5f803e3d5ffd5b5050505060018160c001818151611de79190615055565b61ffff1690525060e08101805160019190611e03908390615055565b61ffff1690525060405163297023ef60e01b81526001600160a01b0383169063297023ef90611e3b908990859060ff90600401614e2b565b5f604051808303815f87803b158015611e52575f80fd5b505af1158015611e64573d5f803e3d5ffd5b5050604080516001600160601b038a8116825261ffff8816602083015289168183015290517fcbffe0c4cf4814bd79bac10830275e65911ae7d71347b96c61fa8e4635423ba49350908190036060019150a150509392505050565b5f611ec8612113565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f03573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104ed9190614b11565b33611f30612113565b6001600160a01b0316816001600160a01b031614611f6b5760405162d1953b60e31b81526001600160a01b038216600482015260240161086a565b816001600160a01b03163b5f03611fa0576040516361798f2f60e11b81526001600160a01b038316600482015260240161086a565b611fa982613ca5565b5050565b5f805f8051602061579b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612019573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061203d9190614ff6565b156120c8576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561209e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120c2919061509a565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206157bb83398151915280545f9190600160a01b900460ff16612105575f6120c2565b638fb3603760e01b91505090565b5f805160206157bb833981519152546001600160a01b031690565b612137336106b3565b5f806121428461277b565b5060405163f3ed991960e01b81526001600160601b038916600482015264ffffffffff8816602482015291955093505f92506001600160a01b038516915063f3ed991990604401602060405180830381865afa1580156121a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121c89190614b11565b90506121d581603c612999565b156122145760405163416ae91f60e11b81526001600160601b038616600482015264ffffffffff8516602482015260ff8216604482015260640161086a565b6040805163353e5b7560e01b81526001600160601b038716600482015264ffffffffff861660248201526048604482015290516001600160a01b0384169163353e5b75916064808301925f92919082900301818387803b158015612276575f80fd5b505af1158015612288573d5f803e3d5ffd5b5050604051635207d68b60e01b815264ffffffffff871660048201525f925073__$0f9396e6447a4be57af83e53f51d234633$__9150635207d68b90602401602060405180830381865af41580156122e2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123069190614b2c565b60405163a7ef3d2160e01b81526001600160601b038816600482015261ffff821660248201529091505f906001600160a01b0386169063a7ef3d21906044015f60405180830381865afa15801561235f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526123869190810190614b47565b905060018160800181815161239b9190614d28565b62ffffff169052506040516355f78dd960e11b81526001600160a01b0385169063abef1bb2906123d6908a908690869060ff90600401614de6565b5f604051808303815f87803b1580156123ed575f80fd5b505af11580156123ff573d5f803e3d5ffd5b5050604080516001600160601b038b16815264ffffffffff8a1660208201527f43d0b5d02748c38c09f5222f1f34aa322d3d80c9c3fc776d338105bf9e98715395500192506116e7915050565b5f612456336106b3565b6001600160a01b038316612492576040516377e59c8360e11b81526001600160601b038716600482015261ffff8616602482015260440161086a565b61249f868686868661302f565b9695505050505050565b6124b2336106b3565b6124bd836015612efb565b5f805f6124c98661277b565b94509450945050505f6124e0848888611157603290565b9050848160c0018190525073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612532573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125569190614c5f565b64ffffffffff1660408201526001600160a01b03831663abef1bb2888884601e6040518563ffffffff1660e01b81526004016125959493929190614de6565b5f604051808303815f87803b1580156125ac575f80fd5b505af11580156125be573d5f803e3d5ffd5b5050505060018260e0018181516125d59190614e11565b61ffff1690525060405163297023ef60e01b81526001600160a01b0384169063297023ef9061260d908a90869060ff90600401614e2b565b5f604051808303815f87803b158015612624575f80fd5b505af1158015612636573d5f803e3d5ffd5b5050604080516001600160601b038b16815261ffff8a1660208201527f835aca3a92b79a82038b38ef30bc398955a23c24b64db0183839129d0772a4fb9350019050611412565b5f805160206157bb8339815191525f806126b5612698612113565b87306126a760045f8a8c6150b5565b6126b0916150dc565b613d05565b91509150816127735763ffffffff81161561275057825460ff60a01b1916600160a01b1783556126e3612113565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161271293929190615114565b5f604051808303815f87803b158015612729575f80fd5b505af115801561273b573d5f803e3d5ffd5b5050845460ff60a01b19168555506127739050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161086a565b505050505050565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820183905261012082018390526101408201839052610160820183905261018082018390526101a082018390526101c082018190526101e0820152819081908190612807613e0d565b8095508196505050836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561284b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061286f919061509a565b9250836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128ad573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128d1919061509a565b60405163bd7d9d8560e01b81526001600160601b03881660048201529092506001600160a01b0384169063bd7d9d85906024015f60405180830381865afa15801561291e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612945919081019061516a565b9050612954815f015186613ecc565b1561299057805160405163169efc1d60e11b81526001600160601b0380891660048301529182166024820152908616604482015260640161086a565b91939590929450565b60ff82811690821614155b92915050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af4158015612a0a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a2e9190614987565b9392505050565b604051632601631360e21b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c906044015b602060405180830381865af4158015612a96573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a2e9190614ff6565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401612a7b565b5f805f8051602061579b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612b70573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b949190614ff6565b15612bc05780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161086a565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612c12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c369190614ff6565b612c5e5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161086a565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015612cb0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cd49190614987565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b5490612d20611fad565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b612d62613f16565b60405163502ec37160e01b815260040160405180910390fd5b6040805160e0810182525f808252602082018190529181018290526060808201839052608082019290925260a0810182905260c081019190915260405163078ae93560e41b81526001600160601b038516600482015261ffff841660248201525f906001600160a01b038716906378ae935090604401602060405180830381865afa158015612e0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e309190614b11565b9050612e3c8184612999565b15612e80576040516398b9e22f60e01b81526001600160601b038616600482015261ffff8516602482015260ff80851660448301528216606482015260840161086a565b60405163a7ef3d2160e01b81526001600160601b038616600482015261ffff851660248201526001600160a01b0387169063a7ef3d21906044015f60405180830381865afa158015612ed4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261249f9190810190614b47565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015612f4b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f6f9190614ff6565b80612ffd57506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015612fd7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ffb9190614ff6565b155b15611fa95760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161086a565b5f805f61303b8861277b565b5060405163a7ef3d2160e01b81526001600160601b038d16600482015261ffff8c16602482015291955093505f92506001600160a01b038516915063a7ef3d21906044015f60405180830381865afa158015613099573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526130c09190810190614b47565b60405163078ae93560e41b81526001600160601b038b16600482015261ffff8a1660248201529091505f906001600160a01b038516906378ae935090604401602060405180830381865afa15801561311a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061313e9190614b11565b905061314b816033612999565b156131875760405163450ee09b60e01b81526001600160601b038b16600482015261ffff8a16602482015260ff8216604482015260640161086a565b5f61319683602001518a6129aa565b90506131a581845f0151612a35565b156131cc57825160405163e7a18a8760e01b815261086a918d918d91908590600401614c30565b50505f816060015160016131e091906152fd565b604051632cfd6be560e11b815261ffff8b16600482015262ffffff8216602482015290915073__$0f9396e6447a4be57af83e53f51d234633$__906359fad7ca90604401602060405180830381865af415801561323f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132639190614c5f565b94506001600160a01b0387166132f3576001546001600160a01b0316604051631c5da14d60e11b81526001600160601b038c1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156132cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132f0919061509a565b96505b6040805160a0810191829052635207d68b60e01b90915264ffffffffff861660a48201526001600160a01b0384169063b33ef41a908c9088908073__$0f9396e6447a4be57af83e53f51d234633$__635207d68b60c48301602060405180830381865af4158015613366573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061338a9190614b2c565b61ffff1681526020018d6001600160601b0316815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156133e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061340d9190614c5f565b64ffffffffff1681526020018c6001600160a01b031681526020018b8152506040518463ffffffff1660e01b815260040161344a93929190615318565b5f604051808303815f87803b158015613461575f80fd5b505af1158015613473573d5f803e3d5ffd5b5050505060018260600181815161348a91906152fd565b62ffffff16905250608082018051600191906134a79083906152fd565b62ffffff169052506040516355f78dd960e11b81526001600160a01b0384169063abef1bb2906134e2908d908d90879060ff90600401614de6565b5f604051808303815f87803b1580156134f9575f80fd5b505af115801561350b573d5f803e3d5ffd5b5050604080516001600160601b038e8116825264ffffffffff8a1660208301528c16818301526001600160a01b038b16606082015290517fd217fce8b0952a3424cd2dde69797635631e888b4b5801ba67f648aa72584c669350908190036080019150a15050505095945050505050565b5f805160206157db8339815191528054600160401b810460ff1615906001600160401b03165f811580156135ad5750825b90505f826001600160401b031660011480156135c85750303b155b9050811580156135d6575080155b156135f45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561361e57845460ff60401b1916600160401b1785555b5f80878060200190518101906136349190615346565b9150915061364382828b613f4e565b6001546001600160a01b031663d39e6043601561365e61046b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af41580156136b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906136d59190614b11565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613718573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061373c919061509a565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600f61377461046b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af41580156137c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137eb9190614b11565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561382e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613852919061509a565b600380546001600160a01b0319166001600160a01b03929092169190911790556138826382f345b760e01b613fe7565b5050831561141b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611412565b604051630a4d29dd60e31b81526001600160601b038216600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906352694ee890602401602060405180830381865af415801561391c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139409190614ff6565b1561396957604051630dcf891160e11b81526001600160601b038416600482015260240161086a565b61398561397b836101000151836129aa565b8360600151612a35565b156139d45782826060015161399f846101200151846129aa565b604051631acfc80160e21b81526001600160601b0393841660048201529183166024830152909116604482015260640161086a565b505050565b604051631315996960e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063262b32d290604401612a7b565b6040516302d764c760e21b81526001600160601b03851660048201525f906001600160a01b03871690630b5d931c906024015f60405180830381865afa158015613a6f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613a9691908101906153f1565b60a001516040516357f80bbf60e01b81526001600160601b03821660048201529091506001600160a01b038716906357f80bbf9060240160e060405180830381865afa158015613ae8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b0c91906154d3565b6080015115612773575f613b286001546001600160a01b031690565b60405163bf8e179760e01b81526001600160601b03841660048201526001600160a01b03919091169063bf8e179790602401602060405180830381865afa158015613b75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b99919061509a565b60405163ee37846360e01b81526001600160601b03808816600483015261ffff87166024830152851660448201529091506001600160a01b0382169063ee378463906064015f604051808303815f87803b158015613bf5575f80fd5b505af1158015613c07573d5f803e3d5ffd5b5050505050505050505050565b5f613c1e8461401a565b90506001600160a01b03811615613c9f57604051636321706f60e11b81526001600160601b03808616600483015261ffff85166024830152831660448201526001600160a01b0382169063c642e0de906064015f604051808303815f87803b158015613c88575f80fd5b505af1158015613c9a573d5f803e3d5ffd5b505050505b50505050565b5f805160206157bb83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613d73919061556b565b5f60405180830381855afa9150503d805f8114613dab576040519150601f19603f3d011682016040523d82523d5f602084013e613db0565b606091505b50915091508115613e02576040815110613de25780806020019051810190613dd89190615581565b9094509250613e02565b6020815110613e025780806020019051810190613dff9190614ff6565b93505b505094509492505050565b5f805f8073__$fb599632d08395912d9d70eb2f0f93b5e2$__635c990ed3613e3d6001546001600160a01b031690565b33600c6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260ff166044820152600160648201526084015f60405180830381865af4158015613e99573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613ec091908101906155b3565b90519590945092505050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401612a7b565b5f805160206157db83398151915254600160401b900460ff16613f4c57604051631afcd79f60e31b815260040160405180910390fd5b565b613f56613f16565b613f5e61412d565b613fdb8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613f9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613fc39190614987565b60085f8660405180602001604052805f81525061413d565b6139d463daf9067160e01b5b613fef613f16565b614017816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b5f8061402e6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03851660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561407b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061409f919061509a565b604051635b5dd68960e11b81526001600160a01b038216600482015290925082915073__$fb599632d08395912d9d70eb2f0f93b5e2$__9063b6bbad1290602401602060405180830381865af41580156140fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061411f9190614ff6565b614127575f91505b50919050565b614135613f16565b613f4c61427a565b614145613f16565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af415801561419b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906141bf9190614ff6565b6141e75760405163cf6935e560e01b81526001600160a01b038816600482015260240161086a565b6141f0876142a8565b6141fa86836142b9565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161426983826156e0565b50613c9a634a531f3360e01b613fe7565b614282613f16565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6142b0613f16565b6140178161432f565b6142c1613f16565b6142c9614340565b6142d282614388565b6001600160a01b0381166142f95760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061579b83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b614337613f16565b61401781613ca5565b614348613f16565b613f4c6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b614390613f16565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156143e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061440a9190614ff6565b6144325760405163fdeac91f60e01b81526001600160a01b038216600482015260240161086a565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215614464575f80fd5b81356001600160e01b031981168114612a2e575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516144f1608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261132061010084018261447b565b6001600160601b0381168114614017575f80fd5b64ffffffffff81168114614017575f80fd5b5f806040838503121561456c575f80fd5b823561457781614535565b9150602083013561458781614549565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b60405160a081016001600160401b03811182821017156145c8576145c8614592565b60405290565b60405160e081016001600160401b03811182821017156145c8576145c8614592565b60405161020081016001600160401b03811182821017156145c8576145c8614592565b60405161010081016001600160401b03811182821017156145c8576145c8614592565b604051601f8201601f191681016001600160401b038111828210171561465e5761465e614592565b604052919050565b5f6001600160401b0382111561467e5761467e614592565b50601f01601f191660200190565b5f82601f83011261469b575f80fd5b81356146ae6146a982614666565b614636565b8181528460208386010111156146c2575f80fd5b816020850160208301375f918101602001919091529392505050565b5f602082840312156146ee575f80fd5b81356001600160401b03811115614703575f80fd5b6113208482850161468c565b61ffff81168114614017575f80fd5b5f806040838503121561472f575f80fd5b823561473a81614535565b915060208301356145878161470f565b5f805f806080858703121561475d575f80fd5b843561476881614535565b935060208501356147788161470f565b9250604085013561478881614535565b915060608501356001600160401b038111156147a2575f80fd5b6147ae8782880161468c565b91505092959194509250565b6001600160a01b0381168114614017575f80fd5b5f80604083850312156147df575f80fd5b82356147ea816147ba565b915060208301356001600160401b03811115614804575f80fd5b6148108582860161468c565b9150509250929050565b5f805f6060848603121561482c575f80fd5b833561483781614535565b9250602084013561484781614535565b915060408401356001600160401b03811115614861575f80fd5b61486d8682870161468c565b9150509250925092565b5f60208284031215614887575f80fd5b8135612a2e816147ba565b5f805f805f60a086880312156148a6575f80fd5b85356148b181614535565b945060208601356148c18161470f565b935060408601356148d181614535565b925060608601356148e1816147ba565b915060808601356001600160401b038111156148fb575f80fd5b6149078882890161468c565b9150509295509295909350565b5f805f60608486031215614926575f80fd5b833561493181614535565b925060208401356148478161470f565b62ffffff81168114614017575f80fd5b805161495c81614941565b919050565b5f60208284031215614971575f80fd5b8151612a2e81614941565b805161495c81614535565b5f60208284031215614997575f80fd5b8151612a2e81614535565b600181811c908216806149b657607f821691505b60208210810361412757634e487b7160e01b5f52602260045260245ffd5b805161495c8161470f565b805161495c81614549565b805161495c816147ba565b5f82601f830112614a04575f80fd5b8151614a126146a982614666565b818152846020838601011115614a26575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215614a52575f80fd5b81516001600160401b03811115614a67575f80fd5b820160a08185031215614a78575f80fd5b614a806145a6565b8151614a8b8161470f565b81526020820151614a9b81614535565b60208201526040820151614aae81614549565b60408201526060820151614ac1816147ba565b606082015260808201516001600160401b03811115614ade575f80fd5b614aea868285016149f5565b608083015250949350505050565b60ff81168114614017575f80fd5b805161495c81614af8565b5f60208284031215614b21575f80fd5b8151612a2e81614af8565b5f60208284031215614b3c575f80fd5b8151612a2e8161470f565b5f60208284031215614b57575f80fd5b81516001600160401b03811115614b6c575f80fd5b820160e08185031215614b7d575f80fd5b614b856145ce565b614b8e8261497c565b8152614b9c6020830161497c565b6020820152614bad604083016149df565b6040820152614bbe60608301614951565b6060820152614bcf60808301614951565b608082015260a08201516001600160401b03811115614bec575f80fd5b614bf8868285016149f5565b60a08301525060c08201516001600160401b03811115614c16575f80fd5b614c22868285016149f5565b60c083015250949350505050565b6001600160601b03948516815261ffff9390931660208401529083166040830152909116606082015260800190565b5f60208284031215614c6f575f80fd5b8151612a2e81614549565b61ffff81511682526001600160601b03602082015116602083015264ffffffffff604082015116604083015260018060a01b0360608201511660608301525f608082015160a0608085015261132060a085018261447b565b6001600160601b038516815264ffffffffff84166020820152608060408201525f614d006080830185614c7a565b905060ff8316606083015295945050505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff82811682821603908111156129a4576129a4614d14565b6001600160601b0381511682526001600160601b0360208201511660208301525f6040820151614d7c604085018264ffffffffff169052565b506060820151614d93606085018262ffffff169052565b506080820151614daa608085018262ffffff169052565b5060a082015160e060a0850152614dc460e085018261447b565b905060c083015184820360c0860152614ddd828261447b565b95945050505050565b6001600160601b038516815261ffff84166020820152608060408201525f614d006080830185614d43565b61ffff82811682821603908111156129a4576129a4614d14565b6001600160601b038416815260606020820152614e546060820184516001600160601b03169052565b5f6020840151614e6f60808401826001600160601b03169052565b5060408401516001600160c01b0319811660a08401525060608401516001600160601b03811660c08401525060808401516001600160601b03811660e08401525060a08401516001600160c01b031981166101008401525060c084015161ffff81166101208401525060e084015161ffff8116610140840152506101008401516001600160601b038116610160840152506101208401516001600160601b0381166101808401525061014084015164ffffffffff81166101a08401525061016084015164ffffffffff81166101c08401525061018084015164ffffffffff81166101e0840152506101a084015164ffffffffff8116610200840152506101c0840151610200610220840152614f8861026084018261447b565b90506101e0850151605f1984830301610240850152614fa7828261447b565b92505050611320604083018460ff169052565b5f8060408385031215614fcb575f80fd5b8251614fd681614535565b602084015190925061458781614535565b8051801515811461495c575f80fd5b5f60208284031215615006575f80fd5b612a2e82614fe7565b6001600160401b0381168114614017575f80fd5b5f60208284031215615033575f80fd5b8151612a2e8161500f565b5f6020828403121561504e575f80fd5b5051919050565b61ffff81811683821601908111156129a4576129a4614d14565b6001600160601b038416815261ffff83166020820152606060408201525f61131d6060830184614d43565b5f602082840312156150aa575f80fd5b8151612a2e816147ba565b5f80858511156150c3575f80fd5b838611156150cf575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561510d576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b80516001600160c01b03198116811461495c575f80fd5b5f6020828403121561517a575f80fd5b81516001600160401b0381111561518f575f80fd5b820161020081850312156151a1575f80fd5b6151a96145f0565b6151b28261497c565b81526151c06020830161497c565b60208201526151d160408301615153565b60408201526151e26060830161497c565b60608201526151f36080830161497c565b608082015261520460a08301615153565b60a082015261521560c083016149d4565b60c082015261522660e083016149d4565b60e0820152615238610100830161497c565b61010082015261524b610120830161497c565b61012082015261525e61014083016149df565b61014082015261527161016083016149df565b61016082015261528461018083016149df565b6101808201526152976101a083016149df565b6101a08201526101c08201516001600160401b038111156152b6575f80fd5b6152c2868285016149f5565b6101c0830152506101e08201516001600160401b038111156152e2575f80fd5b6152ee868285016149f5565b6101e083015250949350505050565b62ffffff81811683821601908111156129a4576129a4614d14565b6001600160601b038416815264ffffffffff83166020820152606060408201525f61131d6060830184614c7a565b5f8060408385031215615357575f80fd5b8251615362816147ba565b6020840151909250614587816147ba565b5f82601f830112615382575f80fd5b81516001600160401b0381111561539b5761539b614592565b8060051b6153ab60208201614636565b918252602081850181019290810190868411156153c6575f80fd5b6020860192505b8383101561249f5782516153e081614535565b8252602092830192909101906153cd565b5f60208284031215615401575f80fd5b81516001600160401b03811115615416575f80fd5b82016101008185031215615428575f80fd5b615430614613565b61543982614fe7565b815261544760208301614fe7565b602082015261545860408301614fe7565b604082015261546960608301614b06565b606082015261547a60808301614b06565b608082015261548b60a0830161497c565b60a082015261549c60c0830161497c565b60c082015260e08201516001600160401b038111156154b9575f80fd5b6154c586828501615373565b60e083015250949350505050565b5f60e08284031280156154e4575f80fd5b506154ed6145ce565b82516154f881614535565b81526020830151615508816147ba565b6020820152604083015161551b816147ba565b604082015261552c60608401614fe7565b606082015261553d60808401614fe7565b608082015261554e60a08401614fe7565b60a082015261555f60c08401614fe7565b60c08201529392505050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615592575f80fd5b61559b83614fe7565b9150602083015163ffffffff81168114614587575f80fd5b5f80604083850312156155c4575f80fd5b82516001600160401b038111156155d9575f80fd5b830160e081860312156155ea575f80fd5b6155f26145ce565b6155fb8261497c565b81526156096020830161497c565b602082015261561a60408301614b06565b604082015261562b60608301614fe7565b606082015261563c608083016149ea565b608082015261564d60a083016149ea565b60a082015260c08201516001600160401b0381111561566a575f80fd5b615676878285016149f5565b60c083015250925061568c9050602084016149ea565b90509250929050565b601f8211156139d457805f5260205f20601f840160051c810160208510156156ba5750805b601f840160051c820191505b818110156156d9575f81556001016156c6565b5050505050565b81516001600160401b038111156156f9576156f9614592565b61570d8161570784546149a2565b84615695565b6020601f82116001811461573f575f83156157285750848201515b5f19600385901b1c1916600184901b1784556156d9565b5f84815260208120601f198516915b8281101561576e578785015182556020948501946001909201910161574e565b508482101561578b57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220c72c0a5d01513ddf1a3e15499dd63d7a7e3b2589aaf51be14de506674f12318764736f6c634300081a0033",
1155
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101a1575f3560e01c8063644c45e0116100f35780638fb3603711610093578063bf7e214f1161006e578063bf7e214f1461042a578063c68938d014610432578063e01f7a4314610445578063f450e2b514610458575f80fd5b80638fb36037146103ee578063ada9652e1461040f578063b68d180914610423575f80fd5b806374b775eb116100ce57806374b775eb1461039357806376b707b7146103b95780637a9e5e4b146103d3578063893d20e8146103e6575f80fd5b8063644c45e0146103435780636c741e78146103605780636e2cdce714610380575f80fd5b806322f3e2d41161015e5780633c53258e116101395780633c53258e146102cf57806349bb9e4b146102f85780635ab1bd531461030b5780635dbf2c8d14610330575f80fd5b806322f3e2d41461029f578063329d6e74146102a75780633838d739146102bc575f80fd5b806301ffc9a7146101a55780630d8e6e2c146101e65780630fec111c14610202578063137a92a714610217578063138461e01461024a5780631eff4b221461026a575b5f80fd5b6101d16101b3366004614454565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101ee61046b565b60405162ffffff90911681526020016101dd565b61020a6104f2565b6040516101dd91906144a9565b61022a61022536600461455b565b6106ac565b604080516001600160601b039384168152929091166020830152016101dd565b610252610f60565b6040516001600160601b0390911681526020016101dd565b6102917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101dd565b6101d1610f6a565b6102ba6102b53660046146de565b610fe1565b005b6102ba6102ca36600461471e565b61112b565b6102e26102dd36600461474a565b6112fb565b60405164ffffffffff90911681526020016101dd565b6102ba6103063660046147ce565b611328565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101dd565b6102ba61033e36600461471e565b611424565b5f8051602061579b833981519152546001600160601b0316610252565b6103686116f6565b6040516001600160401b0390911681526020016101dd565b6102ba61038e36600461474a565b611782565b6103a66103a136600461481a565b611a57565b60405161ffff90911681526020016101dd565b6103c1611ebf565b60405160ff90911681526020016101dd565b6102ba6103e1366004614877565b611f27565b610318611fad565b6103f66120de565b6040516001600160e01b031990911681526020016101dd565b6102915f8051602061579b83398151915281565b602d6103c1565b610318612113565b6102ba61044036600461455b565b61212e565b6102e2610453366004614892565b61244c565b6102ba610466366004614914565b6124a9565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104ed9190614961565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561059e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c29190614987565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161060a611fad565b6001600160a01b03168152602001826001018054610627906149a2565b80601f0160208091040260200160405190810160405280929190818152602001828054610653906149a2565b801561069e5780601f106106755761010080835404028352916020019161069e565b820191905f5260205f20905b81548152906001019060200180831161068157829003601f168201915b505050505081525091505090565b5f806106ba335b5f3661267d565b5f805f6106c68761277b565b945094509450505061070e6040805160e0810182525f808252602082018190529181018290526060808201839052608082019290925260a0810182905260c081019190915290565b604051637ec0124960e11b81526001600160601b038916600482015264ffffffffff881660248201525f90819081906001600160a01b0388169063fd802492906044015f60405180830381865afa15801561076b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107929190810190614a42565b6060810151602082015160405163f3ed991960e01b81526001600160601b038f16600482015264ffffffffff8e16602482015291955093509091505f906001600160a01b0389169063f3ed991990604401602060405180830381865afa1580156107fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108229190614b11565b905061082f81603c612999565b156108735760405163416ae91f60e11b81526001600160601b038d16600482015264ffffffffff8c16602482015260ff821660448201526064015b60405180910390fd5b604051635207d68b60e01b815264ffffffffff8c1660048201526001600160a01b0389169063a7ef3d21908e9073__$0f9396e6447a4be57af83e53f51d234633$__90635207d68b90602401602060405180830381865af41580156108da573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108fe9190614b2c565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015261ffff1660248201526044015f60405180830381865afa158015610948573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261096f9190810190614b47565b945061098d610986866020015184602001516129aa565b8651612a35565b15610a3f57604051635207d68b60e01b815264ffffffffff8c1660048201528c9073__$0f9396e6447a4be57af83e53f51d234633$__90635207d68b90602401602060405180830381865af41580156109e8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a0c9190614b2c565b865f0151610a22886020015186602001516129aa565b60405163e7a18a8760e01b815260040161086a9493929190614c30565b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610a86573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aaa9190614c5f565b64ffffffffff1660408301526001600160a01b038716630ccd44d78d8d8560dc6040518563ffffffff1660e01b8152600401610ae99493929190614cd2565b5f604051808303815f87803b158015610b00575f80fd5b505af1158015610b12573d5f803e3d5ffd5b5050604051635207d68b60e01b815264ffffffffff8e1660048201525f945073__$0f9396e6447a4be57af83e53f51d234633$__9350635207d68b92506024019050602060405180830381865af4158015610b6f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b939190614b2c565b602085015160405163274acb3560e01b81526001600160601b039182166004820152908416602482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af4158015610bfa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c1e9190614987565b6001600160601b0316602085015260808401805160019190610c41908390614d28565b62ffffff9081169091526080860151161590508015610c6c5750610c6c8460200151855f0151612aba565b15610d675773__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610cb8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cdc9190614c5f565b64ffffffffff1660408501526001600160a01b03861663abef1bb28c838760c86040518563ffffffff1660e01b8152600401610d1b9493929190614de6565b5f604051808303815f87803b158015610d32575f80fd5b505af1158015610d44573d5f803e3d5ffd5b5050505060018560e001818151610d5b9190614e11565b61ffff16905250610dc8565b6040516355f78dd960e11b81526001600160a01b0387169063abef1bb290610d9a908e908590899060ff90600401614de6565b5f604051808303815f87803b158015610db1575f80fd5b505af1158015610dc3573d5f803e3d5ffd5b505050505b50610dd8846101200151826129aa565b6001600160601b031661012085015260405163297023ef60e01b81526001600160a01b0386169063297023ef90610e18908d90889060ff90600401614e2b565b5f604051808303815f87803b158015610e2f575f80fd5b505af1158015610e41573d5f803e3d5ffd5b5050604080516001600160601b038e8116825264ffffffffff8e16602083015285168183015290517f2e01fddcf6c351ca64a709d91796e42b66b6d9d6fdc0863e20a61379d674c1269350908190036060019150a16003548451602086015160405163125510a360e01b81526001600160a01b038a8116600483015289811660248301526001600160601b039384166044830152838f166064830152918316608482015264ffffffffff8d1660a482015291841660c483015284811660e48301529091169063125510a3906101040160408051808303815f875af1158015610f2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f4f9190614fba565b909b909a5098505050505050505050565b5f6104ed30612b04565b5f610f73612113565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610fb7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fdb9190614ff6565b15905090565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61100361046b565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611041573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110659190615023565b5f805160206157db8339815191528054600160401b900460ff1680611097575080546001600160401b03808416911610155b156110b55760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556110df83612d5a565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b611134336106b3565b5f805f6111408561277b565b94509450945050505f61115c848787611157603290565b612d7b565b905073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156111a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111c99190614c5f565b64ffffffffff1660408201526001600160a01b03831663abef1bb287878460146040518563ffffffff1660e01b81526004016112089493929190614de6565b5f604051808303815f87803b15801561121f575f80fd5b505af1158015611231573d5f803e3d5ffd5b5050505060018260e0018181516112489190614e11565b61ffff1690525060405163297023ef60e01b81526001600160a01b0384169063297023ef90611280908990869060ff90600401614e2b565b5f604051808303815f87803b158015611297575f80fd5b505af11580156112a9573d5f803e3d5ffd5b5050604080516001600160601b038a16815261ffff891660208201527f1faaad16c345dc1936ac3a4a01ff31232a396d4cb78f913d62ae01e2b39be9cc935001905060405180910390a1505050505050565b5f611305336106b3565b611310856015612efb565b61131d8585855f8661302f565b90505b949350505050565b5f805160206157db8339815191528054600160401b810460ff1615906001600160401b03165f811580156113595750825b90505f826001600160401b031660011480156113745750303b155b905081158015611382575080155b156113a05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156113ca57845460ff60401b1916600160401b1785555b6113d4878761357c565b831561141b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b61142d336106b3565b611438826015612efb565b5f806114438461277b565b509350935050505f611459838686611157603390565b608081015190915062ffffff16156114aa576080810151604051633e4ced5360e11b81526001600160601b038716600482015261ffff8616602482015262ffffff909116604482015260640161086a565b805160405163046e44af60e11b81526001600160601b03909116600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015611503573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611527919061503e565b602082015160405163046e44af60e11b81526001600160601b03909116600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015611583573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115a7919061503e565b10156115d15780516020820151604051633c781b2760e11b815261086a9288928892600401614c30565b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611618573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061163c9190614c5f565b64ffffffffff1660408201526001600160a01b03821663abef1bb286868460c86040518563ffffffff1660e01b815260040161167b9493929190614de6565b5f604051808303815f87803b158015611692575f80fd5b505af11580156116a4573d5f803e3d5ffd5b5050604080516001600160601b038916815261ffff881660208201527fbf0c704f754f874966c71f1a8344ebb5b970ec98ec62b868362834b75779ec3e93500190505b60405180910390a15050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe602d61171b611ebf565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af415801561175e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104ed9190615023565b61178b336106b3565b611796846015612efb565b5f805f805f6117a48961277b565b945094509450945094506117b98982896138c6565b5f6117c7848b8b6032612d7b565b6001600160601b038916815260c081018890526040516355f78dd960e11b81529091506001600160a01b0384169063abef1bb290611810908d908d908690603390600401614de6565b5f604051808303815f87803b158015611827575f80fd5b505af1158015611839573d5f803e3d5ffd5b5050505061184c826101000151896129aa565b6001600160601b031661010083015260405163297023ef60e01b81526001600160a01b0384169063297023ef9061188c908d90869060ff90600401614e2b565b5f604051808303815f87803b1580156118a3575f80fd5b505af11580156118b5573d5f803e3d5ffd5b505050506118cc82610100015183606001516139d9565b156119e65760025f9054906101000a90046001600160a01b03166001600160a01b031663bc4a1c35868c73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561193d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119619190614c5f565b6040516001600160e01b031960e086901b1681526001600160a01b0390931660048401526001600160601b03909116602483015264ffffffffff1660448201526064016020604051808303815f875af11580156119c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119e49190614c5f565b505b604080516001600160601b038c8116825261ffff8c1660208301528a168183015290517fccd5503b328e5b54e15c01d8de50b60e170834460b94faf05be56b4b25a1a1409181900360600190a1611a4084878c8c8c613a23565b611a4b8a8a8a613c14565b50505050505050505050565b5f611a61336106b3565b5f80611a6c8661277b565b61014081015160405163790a38ad60e01b815264ffffffffff9091166004820152919650945073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__935063790a38ad92506024019050602060405180830381865af4158015611ad0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611af49190614ff6565b80611b7e5750611b7e73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611b44573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b689190614c5f565b82610180015164ffffffffff9081169116101590565b15611ba757604051631abadea960e01b81526001600160601b038716600482015260240161086a565b611bb28682876138c6565b73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a368260c001516001611bdd9190615055565b6040516001600160e01b031960e084901b16815261ffff9091166004820152602401602060405180830381865af4158015611c1a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c3e9190614b2c565b9250816001600160a01b0316631c7c815587856040518060e001604052808a6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611cb2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cd69190614987565b6001600160601b0316815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d4f9190614c5f565b64ffffffffff1681526020015f62ffffff1681526020015f62ffffff16815260200189815260200160405180602001604052805f8152508152506040518463ffffffff1660e01b8152600401611da79392919061506f565b5f604051808303815f87803b158015611dbe575f80fd5b505af1158015611dd0573d5f803e3d5ffd5b5050505060018160c001818151611de79190615055565b61ffff1690525060e08101805160019190611e03908390615055565b61ffff1690525060405163297023ef60e01b81526001600160a01b0383169063297023ef90611e3b908990859060ff90600401614e2b565b5f604051808303815f87803b158015611e52575f80fd5b505af1158015611e64573d5f803e3d5ffd5b5050604080516001600160601b038a8116825261ffff8816602083015289168183015290517fcbffe0c4cf4814bd79bac10830275e65911ae7d71347b96c61fa8e4635423ba49350908190036060019150a150509392505050565b5f611ec8612113565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f03573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104ed9190614b11565b33611f30612113565b6001600160a01b0316816001600160a01b031614611f6b5760405162d1953b60e31b81526001600160a01b038216600482015260240161086a565b816001600160a01b03163b5f03611fa0576040516361798f2f60e11b81526001600160a01b038316600482015260240161086a565b611fa982613ca5565b5050565b5f805f8051602061579b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612019573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061203d9190614ff6565b156120c8576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561209e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120c2919061509a565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206157bb83398151915280545f9190600160a01b900460ff16612105575f6120c2565b638fb3603760e01b91505090565b5f805160206157bb833981519152546001600160a01b031690565b612137336106b3565b5f806121428461277b565b5060405163f3ed991960e01b81526001600160601b038916600482015264ffffffffff8816602482015291955093505f92506001600160a01b038516915063f3ed991990604401602060405180830381865afa1580156121a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121c89190614b11565b90506121d581603c612999565b156122145760405163416ae91f60e11b81526001600160601b038616600482015264ffffffffff8516602482015260ff8216604482015260640161086a565b6040805163353e5b7560e01b81526001600160601b038716600482015264ffffffffff861660248201526048604482015290516001600160a01b0384169163353e5b75916064808301925f92919082900301818387803b158015612276575f80fd5b505af1158015612288573d5f803e3d5ffd5b5050604051635207d68b60e01b815264ffffffffff871660048201525f925073__$0f9396e6447a4be57af83e53f51d234633$__9150635207d68b90602401602060405180830381865af41580156122e2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123069190614b2c565b60405163a7ef3d2160e01b81526001600160601b038816600482015261ffff821660248201529091505f906001600160a01b0386169063a7ef3d21906044015f60405180830381865afa15801561235f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526123869190810190614b47565b905060018160800181815161239b9190614d28565b62ffffff169052506040516355f78dd960e11b81526001600160a01b0385169063abef1bb2906123d6908a908690869060ff90600401614de6565b5f604051808303815f87803b1580156123ed575f80fd5b505af11580156123ff573d5f803e3d5ffd5b5050604080516001600160601b038b16815264ffffffffff8a1660208201527f43d0b5d02748c38c09f5222f1f34aa322d3d80c9c3fc776d338105bf9e98715395500192506116e7915050565b5f612456336106b3565b6001600160a01b038316612492576040516377e59c8360e11b81526001600160601b038716600482015261ffff8616602482015260440161086a565b61249f868686868661302f565b9695505050505050565b6124b2336106b3565b6124bd836015612efb565b5f805f6124c98661277b565b94509450945050505f6124e0848888611157603290565b9050848160c0018190525073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612532573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125569190614c5f565b64ffffffffff1660408201526001600160a01b03831663abef1bb2888884601e6040518563ffffffff1660e01b81526004016125959493929190614de6565b5f604051808303815f87803b1580156125ac575f80fd5b505af11580156125be573d5f803e3d5ffd5b5050505060018260e0018181516125d59190614e11565b61ffff1690525060405163297023ef60e01b81526001600160a01b0384169063297023ef9061260d908a90869060ff90600401614e2b565b5f604051808303815f87803b158015612624575f80fd5b505af1158015612636573d5f803e3d5ffd5b5050604080516001600160601b038b16815261ffff8a1660208201527f835aca3a92b79a82038b38ef30bc398955a23c24b64db0183839129d0772a4fb9350019050611412565b5f805160206157bb8339815191525f806126b5612698612113565b87306126a760045f8a8c6150b5565b6126b0916150dc565b613d05565b91509150816127735763ffffffff81161561275057825460ff60a01b1916600160a01b1783556126e3612113565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161271293929190615114565b5f604051808303815f87803b158015612729575f80fd5b505af115801561273b573d5f803e3d5ffd5b5050845460ff60a01b19168555506127739050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161086a565b505050505050565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820183905261012082018390526101408201839052610160820183905261018082018390526101a082018390526101c082018190526101e0820152819081908190612807613e0d565b8095508196505050836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561284b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061286f919061509a565b9250836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128ad573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128d1919061509a565b60405163bd7d9d8560e01b81526001600160601b03881660048201529092506001600160a01b0384169063bd7d9d85906024015f60405180830381865afa15801561291e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612945919081019061516a565b9050612954815f015186613ecc565b1561299057805160405163169efc1d60e11b81526001600160601b0380891660048301529182166024820152908616604482015260640161086a565b91939590929450565b60ff82811690821614155b92915050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af4158015612a0a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a2e9190614987565b9392505050565b604051632601631360e21b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c906044015b602060405180830381865af4158015612a96573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a2e9190614ff6565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401612a7b565b5f805f8051602061579b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612b70573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b949190614ff6565b15612bc05780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161086a565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612c12573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c369190614ff6565b612c5e5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161086a565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015612cb0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cd49190614987565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b5490612d20611fad565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b612d62613f16565b60405163502ec37160e01b815260040160405180910390fd5b6040805160e0810182525f808252602082018190529181018290526060808201839052608082019290925260a0810182905260c081019190915260405163078ae93560e41b81526001600160601b038516600482015261ffff841660248201525f906001600160a01b038716906378ae935090604401602060405180830381865afa158015612e0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e309190614b11565b9050612e3c8184612999565b15612e80576040516398b9e22f60e01b81526001600160601b038616600482015261ffff8516602482015260ff80851660448301528216606482015260840161086a565b60405163a7ef3d2160e01b81526001600160601b038616600482015261ffff851660248201526001600160a01b0387169063a7ef3d21906044015f60405180830381865afa158015612ed4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261249f9190810190614b47565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015612f4b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f6f9190614ff6565b80612ffd57506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015612fd7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ffb9190614ff6565b155b15611fa95760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161086a565b5f805f61303b8861277b565b5060405163a7ef3d2160e01b81526001600160601b038d16600482015261ffff8c16602482015291955093505f92506001600160a01b038516915063a7ef3d21906044015f60405180830381865afa158015613099573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526130c09190810190614b47565b60405163078ae93560e41b81526001600160601b038b16600482015261ffff8a1660248201529091505f906001600160a01b038516906378ae935090604401602060405180830381865afa15801561311a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061313e9190614b11565b905061314b816033612999565b156131875760405163450ee09b60e01b81526001600160601b038b16600482015261ffff8a16602482015260ff8216604482015260640161086a565b5f61319683602001518a6129aa565b90506131a581845f0151612a35565b156131cc57825160405163e7a18a8760e01b815261086a918d918d91908590600401614c30565b50505f816060015160016131e091906152fd565b604051632cfd6be560e11b815261ffff8b16600482015262ffffff8216602482015290915073__$0f9396e6447a4be57af83e53f51d234633$__906359fad7ca90604401602060405180830381865af415801561323f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132639190614c5f565b94506001600160a01b0387166132f3576001546001600160a01b0316604051631c5da14d60e11b81526001600160601b038c1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156132cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132f0919061509a565b96505b6040805160a0810191829052635207d68b60e01b90915264ffffffffff861660a48201526001600160a01b0384169063b33ef41a908c9088908073__$0f9396e6447a4be57af83e53f51d234633$__635207d68b60c48301602060405180830381865af4158015613366573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061338a9190614b2c565b61ffff1681526020018d6001600160601b0316815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156133e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061340d9190614c5f565b64ffffffffff1681526020018c6001600160a01b031681526020018b8152506040518463ffffffff1660e01b815260040161344a93929190615318565b5f604051808303815f87803b158015613461575f80fd5b505af1158015613473573d5f803e3d5ffd5b5050505060018260600181815161348a91906152fd565b62ffffff16905250608082018051600191906134a79083906152fd565b62ffffff169052506040516355f78dd960e11b81526001600160a01b0384169063abef1bb2906134e2908d908d90879060ff90600401614de6565b5f604051808303815f87803b1580156134f9575f80fd5b505af115801561350b573d5f803e3d5ffd5b5050604080516001600160601b038e8116825264ffffffffff8a1660208301528c16818301526001600160a01b038b16606082015290517fd217fce8b0952a3424cd2dde69797635631e888b4b5801ba67f648aa72584c669350908190036080019150a15050505095945050505050565b5f805160206157db8339815191528054600160401b810460ff1615906001600160401b03165f811580156135ad5750825b90505f826001600160401b031660011480156135c85750303b155b9050811580156135d6575080155b156135f45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561361e57845460ff60401b1916600160401b1785555b5f80878060200190518101906136349190615346565b9150915061364382828b613f4e565b6001546001600160a01b031663d39e6043601561365e61046b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af41580156136b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906136d59190614b11565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613718573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061373c919061509a565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600f61377461046b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af41580156137c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137eb9190614b11565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561382e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613852919061509a565b600380546001600160a01b0319166001600160a01b03929092169190911790556138826382f345b760e01b613fe7565b5050831561141b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611412565b604051630a4d29dd60e31b81526001600160601b038216600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906352694ee890602401602060405180830381865af415801561391c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139409190614ff6565b1561396957604051630dcf891160e11b81526001600160601b038416600482015260240161086a565b61398561397b836101000151836129aa565b8360600151612a35565b156139d45782826060015161399f846101200151846129aa565b604051631acfc80160e21b81526001600160601b0393841660048201529183166024830152909116604482015260640161086a565b505050565b604051631315996960e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063262b32d290604401612a7b565b6040516302d764c760e21b81526001600160601b03851660048201525f906001600160a01b03871690630b5d931c906024015f60405180830381865afa158015613a6f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613a9691908101906153f1565b60a001516040516357f80bbf60e01b81526001600160601b03821660048201529091506001600160a01b038716906357f80bbf9060240160e060405180830381865afa158015613ae8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b0c91906154d3565b6080015115612773575f613b286001546001600160a01b031690565b60405163bf8e179760e01b81526001600160601b03841660048201526001600160a01b03919091169063bf8e179790602401602060405180830381865afa158015613b75573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b99919061509a565b60405163ee37846360e01b81526001600160601b03808816600483015261ffff87166024830152851660448201529091506001600160a01b0382169063ee378463906064015f604051808303815f87803b158015613bf5575f80fd5b505af1158015613c07573d5f803e3d5ffd5b5050505050505050505050565b5f613c1e8461401a565b90506001600160a01b03811615613c9f57604051636321706f60e11b81526001600160601b03808616600483015261ffff85166024830152831660448201526001600160a01b0382169063c642e0de906064015f604051808303815f87803b158015613c88575f80fd5b505af1158015613c9a573d5f803e3d5ffd5b505050505b50505050565b5f805160206157bb83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613d73919061556b565b5f60405180830381855afa9150503d805f8114613dab576040519150601f19603f3d011682016040523d82523d5f602084013e613db0565b606091505b50915091508115613e02576040815110613de25780806020019051810190613dd89190615581565b9094509250613e02565b6020815110613e025780806020019051810190613dff9190614ff6565b93505b505094509492505050565b5f805f8073__$fb599632d08395912d9d70eb2f0f93b5e2$__635c990ed3613e3d6001546001600160a01b031690565b33600c6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260ff166044820152600160648201526084015f60405180830381865af4158015613e99573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613ec091908101906155b3565b90519590945092505050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401612a7b565b5f805160206157db83398151915254600160401b900460ff16613f4c57604051631afcd79f60e31b815260040160405180910390fd5b565b613f56613f16565b613f5e61412d565b613fdb8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613f9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613fc39190614987565b60085f8660405180602001604052805f81525061413d565b6139d463daf9067160e01b5b613fef613f16565b614017816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b5f8061402e6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03851660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561407b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061409f919061509a565b604051635b5dd68960e11b81526001600160a01b038216600482015290925082915073__$fb599632d08395912d9d70eb2f0f93b5e2$__9063b6bbad1290602401602060405180830381865af41580156140fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061411f9190614ff6565b614127575f91505b50919050565b614135613f16565b613f4c61427a565b614145613f16565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af415801561419b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906141bf9190614ff6565b6141e75760405163cf6935e560e01b81526001600160a01b038816600482015260240161086a565b6141f0876142a8565b6141fa86836142b9565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161426983826156e0565b50613c9a634a531f3360e01b613fe7565b614282613f16565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6142b0613f16565b6140178161432f565b6142c1613f16565b6142c9614340565b6142d282614388565b6001600160a01b0381166142f95760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061579b83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b614337613f16565b61401781613ca5565b614348613f16565b613f4c6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b614390613f16565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156143e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061440a9190614ff6565b6144325760405163fdeac91f60e01b81526001600160a01b038216600482015260240161086a565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215614464575f80fd5b81356001600160e01b031981168114612a2e575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516144f1608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261132061010084018261447b565b6001600160601b0381168114614017575f80fd5b64ffffffffff81168114614017575f80fd5b5f806040838503121561456c575f80fd5b823561457781614535565b9150602083013561458781614549565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b60405160a081016001600160401b03811182821017156145c8576145c8614592565b60405290565b60405160e081016001600160401b03811182821017156145c8576145c8614592565b60405161020081016001600160401b03811182821017156145c8576145c8614592565b60405161010081016001600160401b03811182821017156145c8576145c8614592565b604051601f8201601f191681016001600160401b038111828210171561465e5761465e614592565b604052919050565b5f6001600160401b0382111561467e5761467e614592565b50601f01601f191660200190565b5f82601f83011261469b575f80fd5b81356146ae6146a982614666565b614636565b8181528460208386010111156146c2575f80fd5b816020850160208301375f918101602001919091529392505050565b5f602082840312156146ee575f80fd5b81356001600160401b03811115614703575f80fd5b6113208482850161468c565b61ffff81168114614017575f80fd5b5f806040838503121561472f575f80fd5b823561473a81614535565b915060208301356145878161470f565b5f805f806080858703121561475d575f80fd5b843561476881614535565b935060208501356147788161470f565b9250604085013561478881614535565b915060608501356001600160401b038111156147a2575f80fd5b6147ae8782880161468c565b91505092959194509250565b6001600160a01b0381168114614017575f80fd5b5f80604083850312156147df575f80fd5b82356147ea816147ba565b915060208301356001600160401b03811115614804575f80fd5b6148108582860161468c565b9150509250929050565b5f805f6060848603121561482c575f80fd5b833561483781614535565b9250602084013561484781614535565b915060408401356001600160401b03811115614861575f80fd5b61486d8682870161468c565b9150509250925092565b5f60208284031215614887575f80fd5b8135612a2e816147ba565b5f805f805f60a086880312156148a6575f80fd5b85356148b181614535565b945060208601356148c18161470f565b935060408601356148d181614535565b925060608601356148e1816147ba565b915060808601356001600160401b038111156148fb575f80fd5b6149078882890161468c565b9150509295509295909350565b5f805f60608486031215614926575f80fd5b833561493181614535565b925060208401356148478161470f565b62ffffff81168114614017575f80fd5b805161495c81614941565b919050565b5f60208284031215614971575f80fd5b8151612a2e81614941565b805161495c81614535565b5f60208284031215614997575f80fd5b8151612a2e81614535565b600181811c908216806149b657607f821691505b60208210810361412757634e487b7160e01b5f52602260045260245ffd5b805161495c8161470f565b805161495c81614549565b805161495c816147ba565b5f82601f830112614a04575f80fd5b8151614a126146a982614666565b818152846020838601011115614a26575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215614a52575f80fd5b81516001600160401b03811115614a67575f80fd5b820160a08185031215614a78575f80fd5b614a806145a6565b8151614a8b8161470f565b81526020820151614a9b81614535565b60208201526040820151614aae81614549565b60408201526060820151614ac1816147ba565b606082015260808201516001600160401b03811115614ade575f80fd5b614aea868285016149f5565b608083015250949350505050565b60ff81168114614017575f80fd5b805161495c81614af8565b5f60208284031215614b21575f80fd5b8151612a2e81614af8565b5f60208284031215614b3c575f80fd5b8151612a2e8161470f565b5f60208284031215614b57575f80fd5b81516001600160401b03811115614b6c575f80fd5b820160e08185031215614b7d575f80fd5b614b856145ce565b614b8e8261497c565b8152614b9c6020830161497c565b6020820152614bad604083016149df565b6040820152614bbe60608301614951565b6060820152614bcf60808301614951565b608082015260a08201516001600160401b03811115614bec575f80fd5b614bf8868285016149f5565b60a08301525060c08201516001600160401b03811115614c16575f80fd5b614c22868285016149f5565b60c083015250949350505050565b6001600160601b03948516815261ffff9390931660208401529083166040830152909116606082015260800190565b5f60208284031215614c6f575f80fd5b8151612a2e81614549565b61ffff81511682526001600160601b03602082015116602083015264ffffffffff604082015116604083015260018060a01b0360608201511660608301525f608082015160a0608085015261132060a085018261447b565b6001600160601b038516815264ffffffffff84166020820152608060408201525f614d006080830185614c7a565b905060ff8316606083015295945050505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff82811682821603908111156129a4576129a4614d14565b6001600160601b0381511682526001600160601b0360208201511660208301525f6040820151614d7c604085018264ffffffffff169052565b506060820151614d93606085018262ffffff169052565b506080820151614daa608085018262ffffff169052565b5060a082015160e060a0850152614dc460e085018261447b565b905060c083015184820360c0860152614ddd828261447b565b95945050505050565b6001600160601b038516815261ffff84166020820152608060408201525f614d006080830185614d43565b61ffff82811682821603908111156129a4576129a4614d14565b6001600160601b038416815260606020820152614e546060820184516001600160601b03169052565b5f6020840151614e6f60808401826001600160601b03169052565b5060408401516001600160c01b0319811660a08401525060608401516001600160601b03811660c08401525060808401516001600160601b03811660e08401525060a08401516001600160c01b031981166101008401525060c084015161ffff81166101208401525060e084015161ffff8116610140840152506101008401516001600160601b038116610160840152506101208401516001600160601b0381166101808401525061014084015164ffffffffff81166101a08401525061016084015164ffffffffff81166101c08401525061018084015164ffffffffff81166101e0840152506101a084015164ffffffffff8116610200840152506101c0840151610200610220840152614f8861026084018261447b565b90506101e0850151605f1984830301610240850152614fa7828261447b565b92505050611320604083018460ff169052565b5f8060408385031215614fcb575f80fd5b8251614fd681614535565b602084015190925061458781614535565b8051801515811461495c575f80fd5b5f60208284031215615006575f80fd5b612a2e82614fe7565b6001600160401b0381168114614017575f80fd5b5f60208284031215615033575f80fd5b8151612a2e8161500f565b5f6020828403121561504e575f80fd5b5051919050565b61ffff81811683821601908111156129a4576129a4614d14565b6001600160601b038416815261ffff83166020820152606060408201525f61131d6060830184614d43565b5f602082840312156150aa575f80fd5b8151612a2e816147ba565b5f80858511156150c3575f80fd5b838611156150cf575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561510d576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b80516001600160c01b03198116811461495c575f80fd5b5f6020828403121561517a575f80fd5b81516001600160401b0381111561518f575f80fd5b820161020081850312156151a1575f80fd5b6151a96145f0565b6151b28261497c565b81526151c06020830161497c565b60208201526151d160408301615153565b60408201526151e26060830161497c565b60608201526151f36080830161497c565b608082015261520460a08301615153565b60a082015261521560c083016149d4565b60c082015261522660e083016149d4565b60e0820152615238610100830161497c565b61010082015261524b610120830161497c565b61012082015261525e61014083016149df565b61014082015261527161016083016149df565b61016082015261528461018083016149df565b6101808201526152976101a083016149df565b6101a08201526101c08201516001600160401b038111156152b6575f80fd5b6152c2868285016149f5565b6101c0830152506101e08201516001600160401b038111156152e2575f80fd5b6152ee868285016149f5565b6101e083015250949350505050565b62ffffff81811683821601908111156129a4576129a4614d14565b6001600160601b038416815264ffffffffff83166020820152606060408201525f61131d6060830184614c7a565b5f8060408385031215615357575f80fd5b8251615362816147ba565b6020840151909250614587816147ba565b5f82601f830112615382575f80fd5b81516001600160401b0381111561539b5761539b614592565b8060051b6153ab60208201614636565b918252602081850181019290810190868411156153c6575f80fd5b6020860192505b8383101561249f5782516153e081614535565b8252602092830192909101906153cd565b5f60208284031215615401575f80fd5b81516001600160401b03811115615416575f80fd5b82016101008185031215615428575f80fd5b615430614613565b61543982614fe7565b815261544760208301614fe7565b602082015261545860408301614fe7565b604082015261546960608301614b06565b606082015261547a60808301614b06565b608082015261548b60a0830161497c565b60a082015261549c60c0830161497c565b60c082015260e08201516001600160401b038111156154b9575f80fd5b6154c586828501615373565b60e083015250949350505050565b5f60e08284031280156154e4575f80fd5b506154ed6145ce565b82516154f881614535565b81526020830151615508816147ba565b6020820152604083015161551b816147ba565b604082015261552c60608401614fe7565b606082015261553d60808401614fe7565b608082015261554e60a08401614fe7565b60a082015261555f60c08401614fe7565b60c08201529392505050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615592575f80fd5b61559b83614fe7565b9150602083015163ffffffff81168114614587575f80fd5b5f80604083850312156155c4575f80fd5b82516001600160401b038111156155d9575f80fd5b830160e081860312156155ea575f80fd5b6155f26145ce565b6155fb8261497c565b81526156096020830161497c565b602082015261561a60408301614b06565b604082015261562b60608301614fe7565b606082015261563c608083016149ea565b608082015261564d60a083016149ea565b60a082015260c08201516001600160401b0381111561566a575f80fd5b615676878285016149f5565b60c083015250925061568c9050602084016149ea565b90509250929050565b601f8211156139d457805f5260205f20601f840160051c810160208510156156ba5750805b601f840160051c820191505b818110156156d9575f81556001016156c6565b5050505050565b81516001600160401b038111156156f9576156f9614592565b61570d8161570784546149a2565b84615695565b6020601f82116001811461573f575f83156157285750848201515b5f19600385901b1c1916600184901b1784556156d9565b5f84815260208120601f198516915b8281101561576e578785015182556020948501946001909201910161574e565b508482101561578b57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220c72c0a5d01513ddf1a3e15499dd63d7a7e3b2589aaf51be14de506674f12318764736f6c634300081a0033",
1156
+ "linkReferences": {
1157
+ "contracts/shared/ContractLib.sol": {
1158
+ "ContractLib": [
1159
+ {
1160
+ "length": 20,
1161
+ "start": 16105
1162
+ },
1163
+ {
1164
+ "length": 20,
1165
+ "start": 16793
1166
+ },
1167
+ {
1168
+ "length": 20,
1169
+ "start": 16953
1170
+ },
1171
+ {
1172
+ "length": 20,
1173
+ "start": 17540
1174
+ }
1175
+ ]
1176
+ },
1177
+ "contracts/type/Amount.sol": {
1178
+ "AmountLib": [
1179
+ {
1180
+ "length": 20,
1181
+ "start": 3224
1182
+ },
1183
+ {
1184
+ "length": 20,
1185
+ "start": 5537
1186
+ },
1187
+ {
1188
+ "length": 20,
1189
+ "start": 5665
1190
+ },
1191
+ {
1192
+ "length": 20,
1193
+ "start": 7491
1194
+ },
1195
+ {
1196
+ "length": 20,
1197
+ "start": 10920
1198
+ },
1199
+ {
1200
+ "length": 20,
1201
+ "start": 11059
1202
+ },
1203
+ {
1204
+ "length": 20,
1205
+ "start": 11192
1206
+ },
1207
+ {
1208
+ "length": 20,
1209
+ "start": 14778
1210
+ },
1211
+ {
1212
+ "length": 20,
1213
+ "start": 15063
1214
+ }
1215
+ ]
1216
+ },
1217
+ "contracts/type/ClaimId.sol": {
1218
+ "ClaimIdLib": [
1219
+ {
1220
+ "length": 20,
1221
+ "start": 7306
1222
+ }
1223
+ ]
1224
+ },
1225
+ "contracts/type/NftId.sol": {
1226
+ "NftIdLib": [
1227
+ {
1228
+ "length": 20,
1229
+ "start": 1583
1230
+ },
1231
+ {
1232
+ "length": 20,
1233
+ "start": 8375
1234
+ },
1235
+ {
1236
+ "length": 20,
1237
+ "start": 11278
1238
+ },
1239
+ {
1240
+ "length": 20,
1241
+ "start": 16330
1242
+ }
1243
+ ]
1244
+ },
1245
+ "contracts/type/ObjectType.sol": {
1246
+ "ObjectTypeLib": [
1247
+ {
1248
+ "length": 20,
1249
+ "start": 12265
1250
+ }
1251
+ ]
1252
+ },
1253
+ "contracts/type/PayoutId.sol": {
1254
+ "PayoutIdLib": [
1255
+ {
1256
+ "length": 20,
1257
+ "start": 2424
1258
+ },
1259
+ {
1260
+ "length": 20,
1261
+ "start": 2694
1262
+ },
1263
+ {
1264
+ "length": 20,
1265
+ "start": 3081
1266
+ },
1267
+ {
1268
+ "length": 20,
1269
+ "start": 9087
1270
+ },
1271
+ {
1272
+ "length": 20,
1273
+ "start": 13021
1274
+ },
1275
+ {
1276
+ "length": 20,
1277
+ "start": 13317
1278
+ }
1279
+ ]
1280
+ },
1281
+ "contracts/type/RoleId.sol": {
1282
+ "RoleIdLib": [
1283
+ {
1284
+ "length": 20,
1285
+ "start": 6095
1286
+ }
1287
+ ]
1288
+ },
1289
+ "contracts/type/Timestamp.sol": {
1290
+ "TimestampLib": [
1291
+ {
1292
+ "length": 20,
1293
+ "start": 2839
1294
+ },
1295
+ {
1296
+ "length": 20,
1297
+ "start": 3401
1298
+ },
1299
+ {
1300
+ "length": 20,
1301
+ "start": 4662
1302
+ },
1303
+ {
1304
+ "length": 20,
1305
+ "start": 5801
1306
+ },
1307
+ {
1308
+ "length": 20,
1309
+ "start": 6606
1310
+ },
1311
+ {
1312
+ "length": 20,
1313
+ "start": 7018
1314
+ },
1315
+ {
1316
+ "length": 20,
1317
+ "start": 7125
1318
+ },
1319
+ {
1320
+ "length": 20,
1321
+ "start": 7612
1322
+ },
1323
+ {
1324
+ "length": 20,
1325
+ "start": 9667
1326
+ },
1327
+ {
1328
+ "length": 20,
1329
+ "start": 13434
1330
+ }
1331
+ ]
1332
+ },
1333
+ "contracts/type/Version.sol": {
1334
+ "VersionLib": [
1335
+ {
1336
+ "length": 20,
1337
+ "start": 1383
1338
+ },
1339
+ {
1340
+ "length": 20,
1341
+ "start": 4281
1342
+ },
1343
+ {
1344
+ "length": 20,
1345
+ "start": 14159
1346
+ },
1347
+ {
1348
+ "length": 20,
1349
+ "start": 14437
1350
+ }
1351
+ ]
1352
+ }
1353
+ },
1354
+ "deployedLinkReferences": {
1355
+ "contracts/shared/ContractLib.sol": {
1356
+ "ContractLib": [
1357
+ {
1358
+ "length": 20,
1359
+ "start": 15891
1360
+ },
1361
+ {
1362
+ "length": 20,
1363
+ "start": 16579
1364
+ },
1365
+ {
1366
+ "length": 20,
1367
+ "start": 16739
1368
+ },
1369
+ {
1370
+ "length": 20,
1371
+ "start": 17326
1372
+ }
1373
+ ]
1374
+ },
1375
+ "contracts/type/Amount.sol": {
1376
+ "AmountLib": [
1377
+ {
1378
+ "length": 20,
1379
+ "start": 3010
1380
+ },
1381
+ {
1382
+ "length": 20,
1383
+ "start": 5323
1384
+ },
1385
+ {
1386
+ "length": 20,
1387
+ "start": 5451
1388
+ },
1389
+ {
1390
+ "length": 20,
1391
+ "start": 7277
1392
+ },
1393
+ {
1394
+ "length": 20,
1395
+ "start": 10706
1396
+ },
1397
+ {
1398
+ "length": 20,
1399
+ "start": 10845
1400
+ },
1401
+ {
1402
+ "length": 20,
1403
+ "start": 10978
1404
+ },
1405
+ {
1406
+ "length": 20,
1407
+ "start": 14564
1408
+ },
1409
+ {
1410
+ "length": 20,
1411
+ "start": 14849
1412
+ }
1413
+ ]
1414
+ },
1415
+ "contracts/type/ClaimId.sol": {
1416
+ "ClaimIdLib": [
1417
+ {
1418
+ "length": 20,
1419
+ "start": 7092
1420
+ }
1421
+ ]
1422
+ },
1423
+ "contracts/type/NftId.sol": {
1424
+ "NftIdLib": [
1425
+ {
1426
+ "length": 20,
1427
+ "start": 1369
1428
+ },
1429
+ {
1430
+ "length": 20,
1431
+ "start": 8161
1432
+ },
1433
+ {
1434
+ "length": 20,
1435
+ "start": 11064
1436
+ },
1437
+ {
1438
+ "length": 20,
1439
+ "start": 16116
1440
+ }
1441
+ ]
1442
+ },
1443
+ "contracts/type/ObjectType.sol": {
1444
+ "ObjectTypeLib": [
1445
+ {
1446
+ "length": 20,
1447
+ "start": 12051
1448
+ }
1449
+ ]
1450
+ },
1451
+ "contracts/type/PayoutId.sol": {
1452
+ "PayoutIdLib": [
1453
+ {
1454
+ "length": 20,
1455
+ "start": 2210
1456
+ },
1457
+ {
1458
+ "length": 20,
1459
+ "start": 2480
1460
+ },
1461
+ {
1462
+ "length": 20,
1463
+ "start": 2867
1464
+ },
1465
+ {
1466
+ "length": 20,
1467
+ "start": 8873
1468
+ },
1469
+ {
1470
+ "length": 20,
1471
+ "start": 12807
1472
+ },
1473
+ {
1474
+ "length": 20,
1475
+ "start": 13103
1476
+ }
1477
+ ]
1478
+ },
1479
+ "contracts/type/RoleId.sol": {
1480
+ "RoleIdLib": [
1481
+ {
1482
+ "length": 20,
1483
+ "start": 5881
1484
+ }
1485
+ ]
1486
+ },
1487
+ "contracts/type/Timestamp.sol": {
1488
+ "TimestampLib": [
1489
+ {
1490
+ "length": 20,
1491
+ "start": 2625
1492
+ },
1493
+ {
1494
+ "length": 20,
1495
+ "start": 3187
1496
+ },
1497
+ {
1498
+ "length": 20,
1499
+ "start": 4448
1500
+ },
1501
+ {
1502
+ "length": 20,
1503
+ "start": 5587
1504
+ },
1505
+ {
1506
+ "length": 20,
1507
+ "start": 6392
1508
+ },
1509
+ {
1510
+ "length": 20,
1511
+ "start": 6804
1512
+ },
1513
+ {
1514
+ "length": 20,
1515
+ "start": 6911
1516
+ },
1517
+ {
1518
+ "length": 20,
1519
+ "start": 7398
1520
+ },
1521
+ {
1522
+ "length": 20,
1523
+ "start": 9453
1524
+ },
1525
+ {
1526
+ "length": 20,
1527
+ "start": 13220
1528
+ }
1529
+ ]
1530
+ },
1531
+ "contracts/type/Version.sol": {
1532
+ "VersionLib": [
1533
+ {
1534
+ "length": 20,
1535
+ "start": 1169
1536
+ },
1537
+ {
1538
+ "length": 20,
1539
+ "start": 4067
1540
+ },
1541
+ {
1542
+ "length": 20,
1543
+ "start": 13945
1544
+ },
1545
+ {
1546
+ "length": 20,
1547
+ "start": 14223
1548
+ }
1549
+ ]
1550
+ }
1551
+ }
1552
+ }