@etherisc/gif-next 0.0.2-bb7b80e-316 → 0.0.2-bb9ecaf-723

Sign up to get free protection for your applications and to get access to all the features.
Files changed (789) hide show
  1. package/README.md +138 -325
  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 +810 -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 +1735 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +2008 -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 +817 -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 +1400 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +465 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +407 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +652 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1234 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +844 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +939 -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 +950 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +838 -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 +1474 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +844 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2043 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +844 -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 +1429 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +844 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1161 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1637 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +844 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2575 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +844 -0
  66. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
  67. package/artifacts/contracts/instance/{base/IKeyValueStore.sol/IKeyValueStore.json → BaseStore.sol/BaseStore.json} +87 -184
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  69. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  70. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  71. package/artifacts/contracts/instance/{IInstanceBase.sol/IInstanceBase.json → IBaseStore.sol/IBaseStore.json} +66 -210
  72. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +619 -1245
  74. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  75. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +696 -164
  76. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  77. package/artifacts/contracts/instance/Instance.sol/Instance.json +700 -2362
  78. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2400 -0
  80. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +872 -0
  82. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1829 -725
  84. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +710 -325
  86. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  87. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +419 -87
  88. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3039 -0
  90. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  91. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
  92. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  93. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  94. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  96. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  97. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
  98. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  100. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  101. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  102. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  103. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  104. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  105. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  106. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  107. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  108. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  109. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  110. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  111. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  112. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  113. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  114. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +947 -0
  116. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +849 -0
  118. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  120. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +762 -0
  122. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +762 -0
  124. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +863 -0
  126. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
  128. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  129. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +830 -0
  130. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1232 -0
  132. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +844 -0
  134. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1438 -0
  136. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  137. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +886 -0
  138. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +1033 -0
  140. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  141. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/IPoolComponent.sol/IPoolComponent.json} +392 -350
  142. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1449 -0
  144. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  145. package/artifacts/contracts/pool/Pool.sol/Pool.json +1015 -0
  146. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  148. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  149. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1833 -0
  150. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  151. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +886 -0
  152. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  153. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1036 -0
  154. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  155. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +810 -0
  156. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  157. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1149 -0
  158. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  159. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +844 -0
  160. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  161. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1536 -0
  162. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  163. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +906 -0
  164. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  165. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IApplicationService.sol/IApplicationService.json} +328 -295
  166. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1104 -0
  168. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  169. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1036 -0
  170. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  171. package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → product/IPricingService.sol/IPricingService.json} +321 -389
  172. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  173. package/artifacts/contracts/{components/Product.sol/Product.json → product/IProductComponent.sol/IProductComponent.json} +531 -311
  174. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  175. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +328 -199
  176. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  177. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1404 -0
  178. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  179. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  180. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  181. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +874 -0
  182. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  183. package/artifacts/contracts/product/PricingService.sol/PricingService.json +932 -0
  184. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +834 -0
  186. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  187. package/artifacts/contracts/product/Product.sol/Product.json +1107 -0
  188. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  189. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  190. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  191. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +794 -0
  192. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  193. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  194. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  195. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +607 -30
  196. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  197. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +306 -210
  198. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  199. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  200. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  201. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  202. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  203. package/artifacts/contracts/registry/Registry.sol/Registry.json +1033 -73
  204. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  205. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2255 -0
  206. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  207. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1137 -0
  208. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  209. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +363 -260
  210. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  211. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +415 -73
  212. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2271 -0
  214. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  215. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  216. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  217. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1401 -0
  218. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  219. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +705 -0
  220. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  221. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +400 -76
  222. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  223. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/Component.sol/Component.json} +269 -260
  224. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1551 -0
  226. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +882 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  234. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  235. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  236. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  237. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IComponent.sol/IComponent.json} +269 -142
  238. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  239. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
  240. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  241. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +697 -0
  242. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  243. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  244. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +61 -22
  246. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  247. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  248. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +162 -15
  250. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  251. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  252. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  253. package/artifacts/contracts/shared/IService.sol/IService.json +148 -141
  254. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  255. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  256. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  257. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +785 -0
  258. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  259. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  260. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  261. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  262. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  263. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +98 -28
  264. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  265. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  266. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  267. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +178 -55
  268. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  269. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  270. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  271. package/artifacts/contracts/shared/Service.sol/Service.json +165 -151
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  274. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  276. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  277. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  278. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  279. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +2747 -0
  280. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  281. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1147 -0
  282. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  283. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  284. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  285. package/artifacts/contracts/staking/Staking.sol/Staking.json +3175 -0
  286. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  288. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +867 -0
  290. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +704 -0
  292. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1344 -0
  294. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +786 -0
  296. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +3097 -0
  298. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  299. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  300. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  301. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +679 -0
  302. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  303. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  304. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  306. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +270 -0
  308. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  310. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  312. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  314. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  316. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  317. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  318. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  319. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  320. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  322. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  323. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  324. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  326. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  328. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  330. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  332. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  334. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  336. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +289 -0
  338. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  340. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  342. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  344. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  346. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  348. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  349. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  350. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  351. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  352. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  353. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  354. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +65 -0
  356. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  357. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +672 -0
  358. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  359. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  360. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  361. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +88 -0
  362. package/contracts/accounting/AccountingService.sol +274 -0
  363. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  364. package/contracts/accounting/IAccountingService.sol +47 -0
  365. package/contracts/authorization/AccessAdmin.sol +679 -0
  366. package/contracts/authorization/AccessAdminLib.sol +678 -0
  367. package/contracts/authorization/AccessManagerCloneable.sol +140 -0
  368. package/contracts/authorization/Authorization.sol +190 -0
  369. package/contracts/authorization/IAccess.sol +66 -0
  370. package/contracts/authorization/IAccessAdmin.sol +142 -0
  371. package/contracts/authorization/IAuthorization.sol +26 -0
  372. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  373. package/contracts/authorization/ServiceAuthorization.sol +300 -0
  374. package/contracts/distribution/BasicDistribution.sol +140 -0
  375. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  376. package/contracts/distribution/Distribution.sol +245 -0
  377. package/contracts/distribution/DistributionService.sol +448 -0
  378. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  379. package/contracts/distribution/IDistributionComponent.sol +45 -0
  380. package/contracts/distribution/IDistributionService.sol +115 -0
  381. package/contracts/examples/fire/DamageLevel.sol +59 -0
  382. package/contracts/examples/fire/FirePool.sol +86 -0
  383. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  384. package/contracts/examples/fire/FireProduct.sol +433 -0
  385. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  386. package/contracts/examples/fire/FireUSD.sol +26 -0
  387. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  388. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  389. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  390. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  391. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  392. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  393. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  394. package/contracts/instance/BaseStore.sol +93 -0
  395. package/contracts/instance/BundleSet.sol +130 -0
  396. package/contracts/instance/IBaseStore.sol +37 -0
  397. package/contracts/instance/IInstance.sol +147 -51
  398. package/contracts/instance/IInstanceService.sol +101 -22
  399. package/contracts/instance/Instance.sol +263 -174
  400. package/contracts/instance/InstanceAdmin.sol +307 -0
  401. package/contracts/instance/InstanceAuthorizationV3.sol +275 -0
  402. package/contracts/instance/InstanceReader.sol +500 -209
  403. package/contracts/instance/InstanceService.sol +432 -263
  404. package/contracts/instance/InstanceServiceManager.sol +14 -29
  405. package/contracts/instance/InstanceStore.sol +323 -0
  406. package/contracts/instance/ProductStore.sol +290 -0
  407. package/contracts/instance/RiskSet.sol +126 -0
  408. package/contracts/instance/TargetNames.sol +10 -0
  409. package/contracts/instance/base/BalanceStore.sol +121 -0
  410. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
  411. package/contracts/instance/base/ObjectCounter.sol +20 -0
  412. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  413. package/contracts/instance/base/ObjectSet.sol +77 -0
  414. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  415. package/contracts/instance/module/IBundle.sol +10 -9
  416. package/contracts/instance/module/IComponents.sol +60 -0
  417. package/contracts/instance/module/IDistribution.sol +25 -10
  418. package/contracts/instance/module/IPolicy.sol +81 -21
  419. package/contracts/instance/module/IRisk.sol +6 -1
  420. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  421. package/contracts/oracle/BasicOracle.sol +44 -0
  422. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  423. package/contracts/oracle/IOracle.sol +41 -0
  424. package/contracts/oracle/IOracleComponent.sol +33 -0
  425. package/contracts/oracle/IOracleService.sol +66 -0
  426. package/contracts/oracle/Oracle.sol +152 -0
  427. package/contracts/oracle/OracleService.sol +310 -0
  428. package/contracts/oracle/OracleServiceManager.sol +39 -0
  429. package/contracts/pool/BasicPool.sol +161 -0
  430. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  431. package/contracts/pool/BundleService.sol +386 -0
  432. package/contracts/pool/BundleServiceManager.sol +39 -0
  433. package/contracts/pool/IBundleService.sol +116 -0
  434. package/contracts/pool/IPoolComponent.sol +62 -0
  435. package/contracts/pool/IPoolService.sol +170 -0
  436. package/contracts/pool/Pool.sol +331 -0
  437. package/contracts/pool/PoolLib.sol +341 -0
  438. package/contracts/pool/PoolService.sol +614 -0
  439. package/contracts/pool/PoolServiceManager.sol +39 -0
  440. package/contracts/product/ApplicationService.sol +327 -0
  441. package/contracts/product/ApplicationServiceManager.sol +38 -0
  442. package/contracts/product/BasicProduct.sol +48 -0
  443. package/contracts/product/BasicProductAuthorization.sol +63 -0
  444. package/contracts/product/ClaimService.sol +626 -0
  445. package/contracts/product/ClaimServiceManager.sol +38 -0
  446. package/contracts/product/IApplicationService.sol +88 -0
  447. package/contracts/product/IClaimService.sol +136 -0
  448. package/contracts/product/IPolicyService.sol +102 -0
  449. package/contracts/product/IPricingService.sol +40 -0
  450. package/contracts/product/IProductComponent.sol +62 -0
  451. package/contracts/product/IRiskService.sol +48 -0
  452. package/contracts/product/PolicyService.sol +645 -0
  453. package/contracts/product/PolicyServiceLib.sol +139 -0
  454. package/contracts/product/PolicyServiceManager.sol +39 -0
  455. package/contracts/product/PricingService.sol +306 -0
  456. package/contracts/product/PricingServiceManager.sol +39 -0
  457. package/contracts/product/Product.sol +491 -0
  458. package/contracts/product/RiskService.sol +189 -0
  459. package/contracts/product/RiskServiceManager.sol +39 -0
  460. package/contracts/registry/ChainNft.sol +83 -36
  461. package/contracts/registry/IRegistry.sol +111 -30
  462. package/contracts/registry/IRegistryService.sol +38 -34
  463. package/contracts/registry/IRelease.sol +29 -0
  464. package/contracts/registry/ITransferInterceptor.sol +1 -1
  465. package/contracts/registry/Registry.sol +551 -211
  466. package/contracts/registry/RegistryAdmin.sol +173 -0
  467. package/contracts/registry/RegistryAuthorization.sol +337 -0
  468. package/contracts/registry/RegistryService.sol +119 -198
  469. package/contracts/registry/RegistryServiceManager.sol +24 -33
  470. package/contracts/registry/ReleaseAdmin.sol +199 -0
  471. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  472. package/contracts/registry/ReleaseRegistry.sol +525 -0
  473. package/contracts/registry/ServiceAuthorizationV3.sol +342 -0
  474. package/contracts/registry/TokenRegistry.sol +267 -60
  475. package/contracts/shared/Component.sol +210 -0
  476. package/contracts/shared/ComponentService.sol +691 -0
  477. package/contracts/shared/ComponentServiceManager.sol +38 -0
  478. package/contracts/shared/ContractLib.sol +312 -0
  479. package/contracts/shared/IComponent.sol +58 -0
  480. package/contracts/shared/IComponentService.sol +111 -0
  481. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  482. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  483. package/contracts/shared/INftOwnable.sol +17 -12
  484. package/contracts/shared/IPolicyHolder.sol +35 -0
  485. package/contracts/shared/IRegisterable.sol +24 -5
  486. package/contracts/shared/IRegistryLinked.sol +11 -0
  487. package/contracts/shared/IService.sol +12 -5
  488. package/contracts/shared/InitializableERC165.sol +35 -0
  489. package/contracts/shared/InstanceLinkedComponent.sol +192 -0
  490. package/contracts/shared/Lifecycle.sol +88 -0
  491. package/contracts/shared/NftIdSet.sol +65 -0
  492. package/contracts/shared/NftOwnable.sol +77 -82
  493. package/contracts/shared/PolicyHolder.sol +63 -0
  494. package/contracts/shared/Registerable.sol +54 -38
  495. package/contracts/shared/RegistryLinked.sol +38 -0
  496. package/contracts/shared/Service.sol +44 -35
  497. package/contracts/shared/TokenHandler.sol +327 -12
  498. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  499. package/contracts/staking/IStaking.sol +366 -0
  500. package/contracts/staking/IStakingService.sol +127 -0
  501. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  502. package/contracts/staking/Staking.sol +797 -0
  503. package/contracts/staking/StakingLib.sol +195 -0
  504. package/contracts/staking/StakingManager.sol +53 -0
  505. package/contracts/staking/StakingReader.sol +171 -0
  506. package/contracts/staking/StakingService.sol +321 -0
  507. package/contracts/staking/StakingServiceManager.sol +46 -0
  508. package/contracts/staking/StakingStore.sol +1368 -0
  509. package/contracts/staking/TargetHandler.sol +132 -0
  510. package/contracts/staking/TargetManagerLib.sol +234 -0
  511. package/contracts/{types → type}/AddressSet.sol +1 -1
  512. package/contracts/type/Amount.sol +154 -0
  513. package/contracts/{types → type}/Blocknumber.sol +38 -19
  514. package/contracts/type/ChainId.sol +101 -0
  515. package/contracts/type/ClaimId.sol +80 -0
  516. package/contracts/{types → type}/DistributorType.sol +2 -2
  517. package/contracts/type/Fee.sol +66 -0
  518. package/contracts/{types → type}/Key32.sol +2 -2
  519. package/contracts/type/Key32Set.sol +62 -0
  520. package/contracts/{types → type}/NftId.sol +28 -15
  521. package/contracts/{types → type}/NftIdSet.sol +2 -2
  522. package/contracts/type/ObjectType.sol +307 -0
  523. package/contracts/type/PayoutId.sol +82 -0
  524. package/contracts/{types → type}/Referral.sol +6 -1
  525. package/contracts/type/RequestId.sol +75 -0
  526. package/contracts/type/RiskId.sol +75 -0
  527. package/contracts/type/RoleId.sol +180 -0
  528. package/contracts/type/Seconds.sol +120 -0
  529. package/contracts/type/Selector.sol +107 -0
  530. package/contracts/{types → type}/StateId.sol +48 -4
  531. package/contracts/type/String.sol +65 -0
  532. package/contracts/{types → type}/Timestamp.sol +36 -20
  533. package/contracts/type/UFixed.sol +263 -0
  534. package/contracts/{types → type}/Version.sol +59 -7
  535. package/contracts/{shared → upgradeability}/IVersionable.sol +7 -47
  536. package/contracts/upgradeability/ProxyManager.sol +246 -0
  537. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
  538. package/contracts/upgradeability/Versionable.sol +62 -0
  539. package/package.json +12 -8
  540. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  541. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  542. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  543. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -408
  544. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  545. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  546. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  547. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
  548. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  549. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  550. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  551. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  552. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  553. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  554. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  555. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  556. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  557. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  558. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  559. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  560. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  561. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  562. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  563. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  564. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  565. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  566. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  568. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  570. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  572. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  573. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  574. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  575. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  576. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  577. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  578. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  579. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  580. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  581. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  582. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  583. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  584. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  585. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  586. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  587. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  588. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  589. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  590. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  591. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  592. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  593. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  594. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -788
  595. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  596. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  597. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  598. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1047
  599. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  600. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  601. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  602. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -285
  603. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  604. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -532
  605. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  606. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -100
  607. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  608. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  609. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  610. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  611. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  612. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  613. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  614. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -254
  615. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  616. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  617. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  618. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1031
  619. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  620. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -436
  621. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  622. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -693
  623. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  624. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -420
  625. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  626. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  627. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  628. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  629. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  630. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -499
  631. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  632. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  633. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1156
  634. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  635. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -492
  636. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  637. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -727
  638. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  639. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -420
  640. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  641. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
  642. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  643. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -420
  644. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  645. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  646. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  647. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -530
  648. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  649. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  650. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  651. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  652. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  653. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  654. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  655. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  656. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  657. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  658. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  659. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  660. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  661. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  662. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  663. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  664. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  665. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  666. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  667. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  668. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  669. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  670. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  671. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  672. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  673. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  674. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  675. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  676. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  677. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  678. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  679. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  680. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  681. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  682. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  683. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  684. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  685. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  686. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  687. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  688. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  689. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  690. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  691. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  692. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  693. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  694. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  695. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  696. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  697. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  698. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  699. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  700. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  701. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  702. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  703. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  704. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  705. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  706. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  707. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  708. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  709. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  710. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  711. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  712. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  713. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  714. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  715. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  716. package/contracts/components/BaseComponent.sol +0 -168
  717. package/contracts/components/Distribution.sol +0 -154
  718. package/contracts/components/IBaseComponent.sol +0 -35
  719. package/contracts/components/IDistributionComponent.sol +0 -44
  720. package/contracts/components/IPoolComponent.sol +0 -66
  721. package/contracts/components/IProductComponent.sol +0 -35
  722. package/contracts/components/Pool.sol +0 -258
  723. package/contracts/components/Product.sol +0 -295
  724. package/contracts/experiment/cloning/Cloner.sol +0 -47
  725. package/contracts/experiment/errors/Require.sol +0 -38
  726. package/contracts/experiment/errors/Revert.sol +0 -44
  727. package/contracts/experiment/inheritance/A.sol +0 -53
  728. package/contracts/experiment/inheritance/B.sol +0 -28
  729. package/contracts/experiment/inheritance/C.sol +0 -34
  730. package/contracts/experiment/inheritance/IA.sol +0 -13
  731. package/contracts/experiment/inheritance/IB.sol +0 -10
  732. package/contracts/experiment/inheritance/IC.sol +0 -12
  733. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  734. package/contracts/experiment/statemachine/ISM.sol +0 -25
  735. package/contracts/experiment/statemachine/SM.sol +0 -57
  736. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  737. package/contracts/experiment/types/TypeA.sol +0 -47
  738. package/contracts/experiment/types/TypeB.sol +0 -29
  739. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
  740. package/contracts/instance/BundleManager.sol +0 -129
  741. package/contracts/instance/IInstanceBase.sol +0 -25
  742. package/contracts/instance/InstanceAccessManager.sol +0 -303
  743. package/contracts/instance/InstanceBase.sol +0 -39
  744. package/contracts/instance/ObjectManager.sol +0 -101
  745. package/contracts/instance/base/ComponentServiceBase.sol +0 -76
  746. package/contracts/instance/base/IInstanceBase.sol +0 -21
  747. package/contracts/instance/base/IKeyValueStore.sol +0 -49
  748. package/contracts/instance/base/KeyValueStore.sol +0 -172
  749. package/contracts/instance/base/Lifecycle.sol +0 -100
  750. package/contracts/instance/module/IAccess.sol +0 -48
  751. package/contracts/instance/module/ISetup.sol +0 -46
  752. package/contracts/instance/module/ITreasury.sol +0 -23
  753. package/contracts/instance/service/BundleService.sol +0 -294
  754. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  755. package/contracts/instance/service/DistributionService.sol +0 -120
  756. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  757. package/contracts/instance/service/IBundleService.sol +0 -44
  758. package/contracts/instance/service/IDistributionService.sol +0 -12
  759. package/contracts/instance/service/IPolicyService.sol +0 -94
  760. package/contracts/instance/service/IPoolService.sol +0 -20
  761. package/contracts/instance/service/IProductService.sol +0 -40
  762. package/contracts/instance/service/PolicyService.sol +0 -539
  763. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  764. package/contracts/instance/service/PoolService.sol +0 -145
  765. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  766. package/contracts/instance/service/ProductService.sol +0 -213
  767. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  768. package/contracts/registry/RegistryAccessManager.sol +0 -210
  769. package/contracts/registry/ReleaseManager.sol +0 -342
  770. package/contracts/shared/ContractDeployerLib.sol +0 -72
  771. package/contracts/shared/ERC165.sol +0 -25
  772. package/contracts/shared/ProxyManager.sol +0 -94
  773. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  774. package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
  775. package/contracts/shared/Versionable.sol +0 -147
  776. package/contracts/test/TestFee.sol +0 -25
  777. package/contracts/test/TestRegisterable.sol +0 -18
  778. package/contracts/test/TestRoleId.sol +0 -14
  779. package/contracts/test/TestService.sol +0 -25
  780. package/contracts/test/TestToken.sol +0 -26
  781. package/contracts/test/TestVersion.sol +0 -44
  782. package/contracts/test/TestVersionable.sol +0 -17
  783. package/contracts/types/ChainId.sol +0 -38
  784. package/contracts/types/Fee.sol +0 -56
  785. package/contracts/types/NumberId.sol +0 -52
  786. package/contracts/types/ObjectType.sol +0 -152
  787. package/contracts/types/RiskId.sol +0 -43
  788. package/contracts/types/RoleId.sol +0 -90
  789. package/contracts/types/UFixed.sol +0 -325
@@ -0,0 +1,1536 @@
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": "LogClaimServiceClaimCancelled",
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": "ClaimId",
683
+ "name": "claimId",
684
+ "type": "uint16"
685
+ }
686
+ ],
687
+ "name": "cancelConfirmedClaim",
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": "PayoutId",
701
+ "name": "payoutId",
702
+ "type": "uint40"
703
+ }
704
+ ],
705
+ "name": "cancelPayout",
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": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61585a806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101a1575f3560e01c8063644c45e0116100f35780638fb3603711610093578063bf7e214f1161006e578063bf7e214f1461042a578063c68938d014610432578063e01f7a4314610445578063f450e2b514610458575f80fd5b80638fb36037146103ee578063ada9652e1461040f578063b68d180914610423575f80fd5b806374b775eb116100ce57806374b775eb1461039357806376b707b7146103b95780637a9e5e4b146103d3578063893d20e8146103e6575f80fd5b8063644c45e0146103435780636c741e78146103605780636e2cdce714610380575f80fd5b806322f3e2d41161015e5780633c53258e116101395780633c53258e146102cf5780633ca19bc1146102f857806349bb9e4b1461030b5780635ab1bd531461031e575f80fd5b806322f3e2d41461029f578063329d6e74146102a75780633838d739146102bc575f80fd5b806301ffc9a7146101a55780630d8e6e2c146101e65780630fec111c14610202578063137a92a714610217578063138461e01461024a5780631eff4b221461026a575b5f80fd5b6101d16101b33660046144c4565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101ee61046b565b60405162ffffff90911681526020016101dd565b61020a6104f2565b6040516101dd9190614519565b61022a6102253660046145cb565b6106ac565b604080516001600160601b039384168152929091166020830152016101dd565b610252610fab565b6040516001600160601b0390911681526020016101dd565b6102917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101dd565b6101d1610fb5565b6102ba6102b536600461474e565b61102c565b005b6102ba6102ca36600461478e565b611176565b6102e26102dd3660046147ba565b611350565b60405164ffffffffff90911681526020016101dd565b6102ba61030636600461478e565b61137d565b6102ba61031936600461483e565b61152e565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101dd565b5f805160206157c5833981519152546001600160601b0316610252565b61036861162a565b6040516001600160401b0390911681526020016101dd565b6102ba61038e3660046147ba565b6116b6565b6103a66103a136600461488a565b611998565b60405161ffff90911681526020016101dd565b6103c1611e06565b60405160ff90911681526020016101dd565b6102ba6103e13660046148e7565b611e6e565b61032b611ef4565b6103f6612025565b6040516001600160e01b031990911681526020016101dd565b6102915f805160206157c583398151915281565b602d6103c1565b61032b61205a565b6102ba6104403660046145cb565b612075565b6102e2610453366004614902565b6123a7565b6102ba610466366004614984565b612404565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104ed91906149d1565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561059e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c291906149f7565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161060a611ef4565b6001600160a01b0316815260200182600101805461062790614a12565b80601f016020809104026020016040519081016040528092919081815260200182805461065390614a12565b801561069e5780601f106106755761010080835404028352916020019161069e565b820191905f5260205f20905b81548152906001019060200180831161068157829003601f168201915b505050505081525091505090565b5f806106ba335b5f366125ee565b5f806106c5866126ec565b93509350505061070b6040805160e0810182525f808252602082018190529181018290526060808201839052608082019290925260a0810182905260c081019190915290565b60a0830151604051637ec0124960e11b81526001600160601b038916600482015264ffffffffff881660248201525f91829182916001600160a01b03169063fd802492906044015f60405180830381865afa15801561076c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107939190810190614ab2565b6060810151602082015160a089015160405163f3ed991960e01b81526001600160601b038f16600482015264ffffffffff8e1660248201529296509094509192505f916001600160a01b03169063f3ed991990604401602060405180830381865afa158015610804573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108289190614b81565b905061083581603c6129dd565b156108795760405163416ae91f60e11b81526001600160601b038c16600482015264ffffffffff8b16602482015260ff821660448201526064015b60405180910390fd5b60a0870151604051635207d68b60e01b815264ffffffffff8c1660048201526001600160a01b039091169063a7ef3d21908d9073__$0f9396e6447a4be57af83e53f51d234633$__90635207d68b90602401602060405180830381865af41580156108e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090a9190614b9c565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015261ffff1660248201526044015f60405180830381865afa158015610954573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261097b9190810190614bb7565b9450610999610992866020015184602001516129ee565b8651612a79565b15610a6f57604051635207d68b60e01b815264ffffffffff8b1660048201528b9073__$0f9396e6447a4be57af83e53f51d234633$__90635207d68b90602401602060405180830381865af41580156109f4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a189190614b9c565b865f0151610a2e886020015186602001516129ee565b60405163e7a18a8760e01b81526001600160601b03948516600482015261ffff90931660248401529083166044830152919091166064820152608401610870565b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015610ab6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ada9190614ca0565b64ffffffffff166040838101919091528701516001600160a01b0316630ccd44d78c8c8560dc6040518563ffffffff1660e01b8152600401610b1f9493929190614d13565b5f604051808303815f87803b158015610b36575f80fd5b505af1158015610b48573d5f803e3d5ffd5b5050604051635207d68b60e01b815264ffffffffff8d1660048201525f945073__$0f9396e6447a4be57af83e53f51d234633$__9350635207d68b92506024019050602060405180830381865af4158015610ba5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bc99190614b9c565b602085015160405163274acb3560e01b81526001600160601b039182166004820152908416602482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af4158015610c30573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5491906149f7565b6001600160601b0316602085015260808401805160019190610c77908390614d69565b62ffffff9081169091526080860151161590508015610ca25750610ca28460200151855f0151612afe565b15610da35773__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015610cee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d129190614ca0565b64ffffffffff166040858101919091528601516001600160a01b031663abef1bb28b838760c86040518563ffffffff1660e01b8152600401610d579493929190614e27565b5f604051808303815f87803b158015610d6e575f80fd5b505af1158015610d80573d5f803e3d5ffd5b5050505060018560e001818151610d979190614e52565b61ffff16905250610e08565b60408601516001600160a01b031663abef1bb28b838760ff6040518563ffffffff1660e01b8152600401610dda9493929190614e27565b5f604051808303815f87803b158015610df1575f80fd5b505af1158015610e03573d5f803e3d5ffd5b505050505b50610e18846101200151826129ee565b6001600160601b031661012085015260408501516001600160a01b031663297023ef8a8660ff6040518463ffffffff1660e01b8152600401610e5c93929190614e6c565b5f604051808303815f87803b158015610e73575f80fd5b505af1158015610e85573d5f803e3d5ffd5b5050604080516001600160601b038d8116825264ffffffffff8d16602083015285168183015290517f2e01fddcf6c351ca64a709d91796e42b66b6d9d6fdc0863e20a61379d674c1269350908190036060019150a160035460a086015160208088015187519188015160405163125510a360e01b81526001600160a01b03948516600482015291841660248301526001600160601b039283166044830152828e1660648301528216608482015264ffffffffff8c1660a482015290841660c482015284821660e482015291169063125510a3906101040160408051808303815f875af1158015610f77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f9b9190614ffb565b909a909950975050505050505050565b5f6104ed30612b48565b5f610fbe61205a565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015611002573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110269190615037565b15905090565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61104e61046b565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801561108c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110b09190615064565b5f805160206158058339815191528054600160401b900460ff16806110e2575080546001600160401b03808416911610155b156111005760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561112a83612d9e565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b61117f336106b3565b5f8061118a846126ec565b9350935050505f6111a88360a0015186866111a3603290565b612dbf565b905073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af41580156111f1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112159190614ca0565b64ffffffffff166040828101919091528301516001600160a01b031663abef1bb286868460146040518563ffffffff1660e01b815260040161125a9493929190614e27565b5f604051808303815f87803b158015611271575f80fd5b505af1158015611283573d5f803e3d5ffd5b5050505060018260e00181815161129a9190614e52565b61ffff1690525060408301516001600160a01b031663297023ef868460ff6040518463ffffffff1660e01b81526004016112d693929190614e6c565b5f604051808303815f87803b1580156112ed575f80fd5b505af11580156112ff573d5f803e3d5ffd5b5050604080516001600160601b038916815261ffff881660208201527f1faaad16c345dc1936ac3a4a01ff31232a396d4cb78f913d62ae01e2b39be9cc935001905060405180910390a15050505050565b5f61135a336106b3565b611365856015612f3f565b6113728585855f86613073565b90505b949350505050565b611386336106b3565b611391826015612f3f565b5f61139b836126ec565b50925050505f6113b38260a0015185856111a3603390565b608081015190915062ffffff1615611404576080810151604051633e4ced5360e11b81526001600160601b038616600482015261ffff8516602482015262ffffff9091166044820152606401610870565b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561144b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061146f9190614ca0565b64ffffffffff166040828101919091528201516001600160a01b031663abef1bb285858460486040518563ffffffff1660e01b81526004016114b49493929190614e27565b5f604051808303815f87803b1580156114cb575f80fd5b505af11580156114dd573d5f803e3d5ffd5b5050604080516001600160601b038816815261ffff871660208201527f20adc87c5a8219063b849f8acb79f5c6068c3567dc8d9dbd7d4c9cf09920820e93500190505b60405180910390a150505050565b5f805160206158058339815191528054600160401b810460ff1615906001600160401b03165f8115801561155f5750825b90505f826001600160401b0316600114801561157a5750303b155b905081158015611588575080155b156115a65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156115d057845460ff60401b1916600160401b1785555b6115da87876135ec565b831561162157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe602d61164f611e06565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611692573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104ed9190615064565b6116bf336106b3565b6116ca846015612f3f565b5f805f806116d7886126ec565b93509350935093506116ea888288613936565b5f6116fd8360a001518a8a6111a3603290565b6001600160601b038816815260c0810187905260408481015190516355f78dd960e11b81529192506001600160a01b03169063abef1bb29061174a908c908c908690603390600401614e27565b5f604051808303815f87803b158015611761575f80fd5b505af1158015611773573d5f803e3d5ffd5b50505050611786826101000151886129ee565b6001600160601b031661010083015260408301516001600160a01b031663297023ef8a8460ff6040518463ffffffff1660e01b81526004016117ca93929190614e6c565b5f604051808303815f87803b1580156117e1575f80fd5b505af11580156117f3573d5f803e3d5ffd5b5050505061180a8261010001518360600151613a49565b156119245760025f9054906101000a90046001600160a01b03166001600160a01b031663bc4a1c35858b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561187b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061189f9190614ca0565b6040516001600160e01b031960e086901b1681526001600160a01b0390931660048401526001600160601b03909116602483015264ffffffffff1660448201526064016020604051808303815f875af11580156118fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119229190614ca0565b505b604080516001600160601b038b8116825261ffff8b16602083015289168183015290517fccd5503b328e5b54e15c01d8de50b60e170834460b94faf05be56b4b25a1a1409181900360600190a16119828360a00151868b8b8b613a93565b61198d898989613c84565b505050505050505050565b5f6119a2336106b3565b5f806119ad866126ec565b61014081015160405163790a38ad60e01b815264ffffffffff9091166004820152919550935073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__925063790a38ad9150602401602060405180830381865af4158015611a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a339190615037565b80611abd5750611abd73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015611a83573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aa79190614ca0565b82610180015164ffffffffff9081169116101590565b15611ae657604051631abadea960e01b81526001600160601b0387166004820152602401610870565b611af1868287613936565b73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a368260c001516001611b1c919061507f565b6040516001600160e01b031960e084901b16815261ffff9091166004820152602401602060405180830381865af4158015611b59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b7d9190614b9c565b925081604001516001600160a01b0316631c7c815587856040518060e001604052808a6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611bf5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c1991906149f7565b6001600160601b0316815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c6e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c929190614ca0565b64ffffffffff1681526020015f62ffffff1681526020015f62ffffff16815260200189815260200160405180602001604052805f8152508152506040518463ffffffff1660e01b8152600401611cea93929190615099565b5f604051808303815f87803b158015611d01575f80fd5b505af1158015611d13573d5f803e3d5ffd5b5050505060018160c001818151611d2a919061507f565b61ffff1690525060e08101805160019190611d4690839061507f565b61ffff1690525060408201516001600160a01b031663297023ef878360ff6040518463ffffffff1660e01b8152600401611d8293929190614e6c565b5f604051808303815f87803b158015611d99575f80fd5b505af1158015611dab573d5f803e3d5ffd5b5050604080516001600160601b038a8116825261ffff8816602083015289168183015290517fcbffe0c4cf4814bd79bac10830275e65911ae7d71347b96c61fa8e4635423ba49350908190036060019150a150509392505050565b5f611e0f61205a565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e4a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104ed9190614b81565b33611e7761205a565b6001600160a01b0316816001600160a01b031614611eb25760405162d1953b60e31b81526001600160a01b0382166004820152602401610870565b816001600160a01b03163b5f03611ee7576040516361798f2f60e11b81526001600160a01b0383166004820152602401610870565b611ef082613d15565b5050565b5f805f805160206157c583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611f60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f849190615037565b1561200f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611fe5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061200991906150c4565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206157e583398151915280545f9190600160a01b900460ff1661204c575f612009565b638fb3603760e01b91505090565b5f805160206157e5833981519152546001600160a01b031690565b61207e336106b3565b5f612088836126ec565b5060a081015160405163f3ed991960e01b81526001600160601b038816600482015264ffffffffff871660248201529194505f93506001600160a01b0316915063f3ed991990604401602060405180830381865afa1580156120ec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121109190614b81565b905061211d81603c6129dd565b1561215c5760405163416ae91f60e11b81526001600160601b038516600482015264ffffffffff8416602482015260ff82166044820152606401610870565b60408201516001600160a01b031663353e5b75858560486040516001600160e01b031960e086901b1681526001600160601b03909316600484015264ffffffffff909116602483015260ff1660448201526064015f604051808303815f87803b1580156121c7575f80fd5b505af11580156121d9573d5f803e3d5ffd5b5050604051635207d68b60e01b815264ffffffffff861660048201525f925073__$0f9396e6447a4be57af83e53f51d234633$__9150635207d68b90602401602060405180830381865af4158015612233573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122579190614b9c565b60a084015160405163a7ef3d2160e01b81526001600160601b038816600482015261ffff831660248201529192505f916001600160a01b039091169063a7ef3d21906044015f60405180830381865afa1580156122b6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526122dd9190810190614bb7565b90506001816080018181516122f29190614d69565b62ffffff1690525060408401516001600160a01b031663abef1bb287848460ff6040518563ffffffff1660e01b81526004016123319493929190614e27565b5f604051808303815f87803b158015612348575f80fd5b505af115801561235a573d5f803e3d5ffd5b5050604080516001600160601b038a16815264ffffffffff891660208201527f43d0b5d02748c38c09f5222f1f34aa322d3d80c9c3fc776d338105bf9e9871539550019250611520915050565b5f6123b1336106b3565b6001600160a01b0383166123ed576040516377e59c8360e11b81526001600160601b038716600482015261ffff86166024820152604401610870565b6123fa8686868686613073565b9695505050505050565b61240d336106b3565b612418836015612f3f565b5f80612423856126ec565b9350935050505f61243c8360a0015187876111a3603290565b9050838160c0018190525073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561248e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124b29190614ca0565b64ffffffffff166040828101919091528301516001600160a01b031663abef1bb2878784601e6040518563ffffffff1660e01b81526004016124f79493929190614e27565b5f604051808303815f87803b15801561250e575f80fd5b505af1158015612520573d5f803e3d5ffd5b5050505060018260e0018181516125379190614e52565b61ffff1690525060408301516001600160a01b031663297023ef878460ff6040518463ffffffff1660e01b815260040161257393929190614e6c565b5f604051808303815f87803b15801561258a575f80fd5b505af115801561259c573d5f803e3d5ffd5b5050604080516001600160601b038a16815261ffff891660208201527f835aca3a92b79a82038b38ef30bc398955a23c24b64db0183839129d0772a4fb935001905060405180910390a1505050505050565b5f805160206157e58339815191525f8061262661260961205a565b873061261860045f8a8c6150df565b61262191615106565b613d75565b91509150816126e45763ffffffff8116156126c157825460ff60a01b1916600160a01b17835561265461205a565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016126839392919061513e565b5f604051808303815f87803b15801561269a575f80fd5b505af11580156126ac573d5f803e3d5ffd5b5050845460ff60a01b19168555506126e49050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610870565b505050505050565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101829052819060408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820183905261012082018390526101408201839052610160820183905261018082018390526101a08201929092526101c081018290526101e08101919091526127a8613e7d565b8094508195505050826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156127ec573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061281091906150c4565b8260a001906001600160a01b031690816001600160a01b031681525050826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612869573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061288d91906150c4565b82602001906001600160a01b031690816001600160a01b031681525050826001600160a01b031663b7b02c4e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061290a91906150c4565b6001600160a01b0390811660408481019190915260a0840151905163bd7d9d8560e01b81526001600160601b038816600482015291169063bd7d9d85906024015f60405180830381865afa158015612964573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261298b9190810190615194565b905061299a815f015185613f3c565b156129d657805160405163169efc1d60e11b81526001600160601b03808816600483015291821660248201529085166044820152606401610870565b9193509193565b60ff82811690821614155b92915050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af4158015612a4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a7291906149f7565b9392505050565b604051632601631360e21b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c906044015b602060405180830381865af4158015612ada573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a729190615037565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401612abf565b5f805f805160206157c583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612bb4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bd89190615037565b15612c045780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610870565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612c56573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c7a9190615037565b612ca25760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610870565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015612cf4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d1891906149f7565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b5490612d64611ef4565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b612da6613f86565b60405163502ec37160e01b815260040160405180910390fd5b6040805160e0810182525f808252602082018190529181018290526060808201839052608082019290925260a0810182905260c081019190915260405163078ae93560e41b81526001600160601b038516600482015261ffff841660248201525f906001600160a01b038716906378ae935090604401602060405180830381865afa158015612e50573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e749190614b81565b9050612e8081846129dd565b15612ec4576040516398b9e22f60e01b81526001600160601b038616600482015261ffff8516602482015260ff808516604483015282166064820152608401610870565b60405163a7ef3d2160e01b81526001600160601b038616600482015261ffff851660248201526001600160a01b0387169063a7ef3d21906044015f60405180830381865afa158015612f18573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526123fa9190810190614bb7565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015612f8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fb39190615037565b8061304157506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561301b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061303f9190615037565b155b15611ef05760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610870565b5f8061307e876126ec565b5060a081015160405163a7ef3d2160e01b81526001600160601b038c16600482015261ffff8b1660248201529194505f93506001600160a01b0316915063a7ef3d21906044015f60405180830381865afa1580156130de573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526131059190810190614bb7565b60a083015160405163078ae93560e41b81526001600160601b038b16600482015261ffff8a1660248201529192505f916001600160a01b03909116906378ae935090604401602060405180830381865afa158015613165573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131899190614b81565b90506131968160336129dd565b156131d25760405163450ee09b60e01b81526001600160601b038a16600482015261ffff8916602482015260ff82166044820152606401610870565b5f6131e18360200151896129ee565b90506131f081845f0151612a79565b1561323657825160405163e7a18a8760e01b81526001600160601b03808d16600483015261ffff8c16602483015291821660448201529082166064820152608401610870565b50505f8160600151600161324a9190615327565b604051632cfd6be560e11b815261ffff8a16600482015262ffffff8216602482015290915073__$0f9396e6447a4be57af83e53f51d234633$__906359fad7ca90604401602060405180830381865af41580156132a9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132cd9190614ca0565b93506001600160a01b03861661335d576001546001600160a01b0316604051631c5da14d60e11b81526001600160601b038b1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015613336573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061335a91906150c4565b95505b604083810151815160a0810192839052635207d68b60e01b90925264ffffffffff861660a48301526001600160a01b03169063b33ef41a908b9087908073__$0f9396e6447a4be57af83e53f51d234633$__635207d68b60c48301602060405180830381865af41580156133d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133f79190614b9c565b61ffff1681526020018c6001600160601b0316815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015613456573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061347a9190614ca0565b64ffffffffff1681526020018b6001600160a01b031681526020018a8152506040518463ffffffff1660e01b81526004016134b793929190615342565b5f604051808303815f87803b1580156134ce575f80fd5b505af11580156134e0573d5f803e3d5ffd5b505050506001826060018181516134f79190615327565b62ffffff1690525060808201805160019190613514908390615327565b62ffffff1690525060408301516001600160a01b031663abef1bb28a8a8560ff6040518563ffffffff1660e01b81526004016135539493929190614e27565b5f604051808303815f87803b15801561356a575f80fd5b505af115801561357c573d5f803e3d5ffd5b5050604080516001600160601b038d8116825264ffffffffff891660208301528b16818301526001600160a01b038a16606082015290517fd217fce8b0952a3424cd2dde69797635631e888b4b5801ba67f648aa72584c669350908190036080019150a150505095945050505050565b5f805160206158058339815191528054600160401b810460ff1615906001600160401b03165f8115801561361d5750825b90505f826001600160401b031660011480156136385750303b155b905081158015613646575080155b156136645760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561368e57845460ff60401b1916600160401b1785555b5f80878060200190518101906136a49190615370565b915091506136b382828b613fbe565b6001546001600160a01b031663d39e604360156136ce61046b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015613721573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137459190614b81565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613788573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137ac91906150c4565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600f6137e461046b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015613837573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061385b9190614b81565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561389e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138c291906150c4565b600380546001600160a01b0319166001600160a01b03929092169190911790556138f263e3edf2fb60e01b614057565b5050831561162157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611618565b604051630a4d29dd60e31b81526001600160601b038216600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906352694ee890602401602060405180830381865af415801561398c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139b09190615037565b156139d957604051630dcf891160e11b81526001600160601b0384166004820152602401610870565b6139f56139eb836101000151836129ee565b8360600151612a79565b15613a4457828260600151613a0f846101200151846129ee565b604051631acfc80160e21b81526001600160601b03938416600482015291831660248301529091166044820152606401610870565b505050565b604051631315996960e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063262b32d290604401612abf565b6040516302d764c760e21b81526001600160601b03851660048201525f906001600160a01b03871690630b5d931c906024015f60405180830381865afa158015613adf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613b06919081019061541b565b60a001516040516357f80bbf60e01b81526001600160601b03821660048201529091506001600160a01b038716906357f80bbf9060240160e060405180830381865afa158015613b58573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b7c91906154fd565b60800151156126e4575f613b986001546001600160a01b031690565b60405163bf8e179760e01b81526001600160601b03841660048201526001600160a01b03919091169063bf8e179790602401602060405180830381865afa158015613be5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c0991906150c4565b60405163ee37846360e01b81526001600160601b03808816600483015261ffff87166024830152851660448201529091506001600160a01b0382169063ee378463906064015f604051808303815f87803b158015613c65575f80fd5b505af1158015613c77573d5f803e3d5ffd5b5050505050505050505050565b5f613c8e8461408a565b90506001600160a01b03811615613d0f57604051636321706f60e11b81526001600160601b03808616600483015261ffff85166024830152831660448201526001600160a01b0382169063c642e0de906064015f604051808303815f87803b158015613cf8575f80fd5b505af1158015613d0a573d5f803e3d5ffd5b505050505b50505050565b5f805160206157e583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613de39190615595565b5f60405180830381855afa9150503d805f8114613e1b576040519150601f19603f3d011682016040523d82523d5f602084013e613e20565b606091505b50915091508115613e72576040815110613e525780806020019051810190613e4891906155ab565b9094509250613e72565b6020815110613e725780806020019051810190613e6f9190615037565b93505b505094509492505050565b5f805f8073__$fb599632d08395912d9d70eb2f0f93b5e2$__635c990ed3613ead6001546001600160a01b031690565b33600c6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260ff166044820152600160648201526084015f60405180830381865af4158015613f09573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613f3091908101906155dd565b90519590945092505050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401612abf565b5f8051602061580583398151915254600160401b900460ff16613fbc57604051631afcd79f60e31b815260040160405180910390fd5b565b613fc6613f86565b613fce61419d565b61404b8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561400f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061403391906149f7565b60085f8660405180602001604052805f8152506141ad565b613a4463daf9067160e01b5b61405f613f86565b614087816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b5f8061409e6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03851660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156140eb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061410f91906150c4565b604051635b5dd68960e11b81526001600160a01b038216600482015290925082915073__$fb599632d08395912d9d70eb2f0f93b5e2$__9063b6bbad1290602401602060405180830381865af415801561416b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061418f9190615037565b614197575f91505b50919050565b6141a5613f86565b613fbc6142ea565b6141b5613f86565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af415801561420b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061422f9190615037565b6142575760405163cf6935e560e01b81526001600160a01b0388166004820152602401610870565b61426087614318565b61426a8683614329565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016142d9838261570a565b50613d0a634a531f3360e01b614057565b6142f2613f86565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b614320613f86565b6140878161439f565b614331613f86565b6143396143b0565b614342826143f8565b6001600160a01b0381166143695760405163f17ef42d60e01b815260040160405180910390fd5b5f805160206157c583398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6143a7613f86565b61408781613d15565b6143b8613f86565b613fbc6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b614400613f86565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015614456573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061447a9190615037565b6144a25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610870565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f602082840312156144d4575f80fd5b81356001600160e01b031981168114612a72575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151614561608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526113756101008401826144eb565b6001600160601b0381168114614087575f80fd5b64ffffffffff81168114614087575f80fd5b5f80604083850312156145dc575f80fd5b82356145e7816145a5565b915060208301356145f7816145b9565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b60405160a081016001600160401b038111828210171561463857614638614602565b60405290565b60405160e081016001600160401b038111828210171561463857614638614602565b60405161020081016001600160401b038111828210171561463857614638614602565b60405161010081016001600160401b038111828210171561463857614638614602565b604051601f8201601f191681016001600160401b03811182821017156146ce576146ce614602565b604052919050565b5f6001600160401b038211156146ee576146ee614602565b50601f01601f191660200190565b5f82601f83011261470b575f80fd5b813561471e614719826146d6565b6146a6565b818152846020838601011115614732575f80fd5b816020850160208301375f918101602001919091529392505050565b5f6020828403121561475e575f80fd5b81356001600160401b03811115614773575f80fd5b611375848285016146fc565b61ffff81168114614087575f80fd5b5f806040838503121561479f575f80fd5b82356147aa816145a5565b915060208301356145f78161477f565b5f805f80608085870312156147cd575f80fd5b84356147d8816145a5565b935060208501356147e88161477f565b925060408501356147f8816145a5565b915060608501356001600160401b03811115614812575f80fd5b61481e878288016146fc565b91505092959194509250565b6001600160a01b0381168114614087575f80fd5b5f806040838503121561484f575f80fd5b823561485a8161482a565b915060208301356001600160401b03811115614874575f80fd5b614880858286016146fc565b9150509250929050565b5f805f6060848603121561489c575f80fd5b83356148a7816145a5565b925060208401356148b7816145a5565b915060408401356001600160401b038111156148d1575f80fd5b6148dd868287016146fc565b9150509250925092565b5f602082840312156148f7575f80fd5b8135612a728161482a565b5f805f805f60a08688031215614916575f80fd5b8535614921816145a5565b945060208601356149318161477f565b93506040860135614941816145a5565b925060608601356149518161482a565b915060808601356001600160401b0381111561496b575f80fd5b614977888289016146fc565b9150509295509295909350565b5f805f60608486031215614996575f80fd5b83356149a1816145a5565b925060208401356148b78161477f565b62ffffff81168114614087575f80fd5b80516149cc816149b1565b919050565b5f602082840312156149e1575f80fd5b8151612a72816149b1565b80516149cc816145a5565b5f60208284031215614a07575f80fd5b8151612a72816145a5565b600181811c90821680614a2657607f821691505b60208210810361419757634e487b7160e01b5f52602260045260245ffd5b80516149cc8161477f565b80516149cc816145b9565b80516149cc8161482a565b5f82601f830112614a74575f80fd5b8151614a82614719826146d6565b818152846020838601011115614a96575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215614ac2575f80fd5b81516001600160401b03811115614ad7575f80fd5b820160a08185031215614ae8575f80fd5b614af0614616565b8151614afb8161477f565b81526020820151614b0b816145a5565b60208201526040820151614b1e816145b9565b60408201526060820151614b318161482a565b606082015260808201516001600160401b03811115614b4e575f80fd5b614b5a86828501614a65565b608083015250949350505050565b60ff81168114614087575f80fd5b80516149cc81614b68565b5f60208284031215614b91575f80fd5b8151612a7281614b68565b5f60208284031215614bac575f80fd5b8151612a728161477f565b5f60208284031215614bc7575f80fd5b81516001600160401b03811115614bdc575f80fd5b820160e08185031215614bed575f80fd5b614bf561463e565b614bfe826149ec565b8152614c0c602083016149ec565b6020820152614c1d60408301614a4f565b6040820152614c2e606083016149c1565b6060820152614c3f608083016149c1565b608082015260a08201516001600160401b03811115614c5c575f80fd5b614c6886828501614a65565b60a08301525060c08201516001600160401b03811115614c86575f80fd5b614c9286828501614a65565b60c083015250949350505050565b5f60208284031215614cb0575f80fd5b8151612a72816145b9565b61ffff81511682526001600160601b03602082015116602083015264ffffffffff604082015116604083015260018060a01b0360608201511660608301525f608082015160a0608085015261137560a08501826144eb565b6001600160601b038516815264ffffffffff84166020820152608060408201525f614d416080830185614cbb565b905060ff8316606083015295945050505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff82811682821603908111156129e8576129e8614d55565b6001600160601b0381511682526001600160601b0360208201511660208301525f6040820151614dbd604085018264ffffffffff169052565b506060820151614dd4606085018262ffffff169052565b506080820151614deb608085018262ffffff169052565b5060a082015160e060a0850152614e0560e08501826144eb565b905060c083015184820360c0860152614e1e82826144eb565b95945050505050565b6001600160601b038516815261ffff84166020820152608060408201525f614d416080830185614d84565b61ffff82811682821603908111156129e8576129e8614d55565b6001600160601b038416815260606020820152614e956060820184516001600160601b03169052565b5f6020840151614eb060808401826001600160601b03169052565b5060408401516001600160c01b0319811660a08401525060608401516001600160601b03811660c08401525060808401516001600160601b03811660e08401525060a08401516001600160c01b031981166101008401525060c084015161ffff81166101208401525060e084015161ffff8116610140840152506101008401516001600160601b038116610160840152506101208401516001600160601b0381166101808401525061014084015164ffffffffff81166101a08401525061016084015164ffffffffff81166101c08401525061018084015164ffffffffff81166101e0840152506101a084015164ffffffffff8116610200840152506101c0840151610200610220840152614fc96102608401826144eb565b90506101e0850151605f1984830301610240850152614fe882826144eb565b92505050611375604083018460ff169052565b5f806040838503121561500c575f80fd5b8251615017816145a5565b60208401519092506145f7816145a5565b805180151581146149cc575f80fd5b5f60208284031215615047575f80fd5b612a7282615028565b6001600160401b0381168114614087575f80fd5b5f60208284031215615074575f80fd5b8151612a7281615050565b61ffff81811683821601908111156129e8576129e8614d55565b6001600160601b038416815261ffff83166020820152606060408201525f6113726060830184614d84565b5f602082840312156150d4575f80fd5b8151612a728161482a565b5f80858511156150ed575f80fd5b838611156150f9575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015615137576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b80516001600160c01b0319811681146149cc575f80fd5b5f602082840312156151a4575f80fd5b81516001600160401b038111156151b9575f80fd5b820161020081850312156151cb575f80fd5b6151d3614660565b6151dc826149ec565b81526151ea602083016149ec565b60208201526151fb6040830161517d565b604082015261520c606083016149ec565b606082015261521d608083016149ec565b608082015261522e60a0830161517d565b60a082015261523f60c08301614a44565b60c082015261525060e08301614a44565b60e082015261526261010083016149ec565b61010082015261527561012083016149ec565b6101208201526152886101408301614a4f565b61014082015261529b6101608301614a4f565b6101608201526152ae6101808301614a4f565b6101808201526152c16101a08301614a4f565b6101a08201526101c08201516001600160401b038111156152e0575f80fd5b6152ec86828501614a65565b6101c0830152506101e08201516001600160401b0381111561530c575f80fd5b61531886828501614a65565b6101e083015250949350505050565b62ffffff81811683821601908111156129e8576129e8614d55565b6001600160601b038416815264ffffffffff83166020820152606060408201525f6113726060830184614cbb565b5f8060408385031215615381575f80fd5b825161538c8161482a565b60208401519092506145f78161482a565b5f82601f8301126153ac575f80fd5b81516001600160401b038111156153c5576153c5614602565b8060051b6153d5602082016146a6565b918252602081850181019290810190868411156153f0575f80fd5b6020860192505b838310156123fa57825161540a816145a5565b8252602092830192909101906153f7565b5f6020828403121561542b575f80fd5b81516001600160401b03811115615440575f80fd5b82016101008185031215615452575f80fd5b61545a614683565b61546382615028565b815261547160208301615028565b602082015261548260408301615028565b604082015261549360608301614b76565b60608201526154a460808301614b76565b60808201526154b560a083016149ec565b60a08201526154c660c083016149ec565b60c082015260e08201516001600160401b038111156154e3575f80fd5b6154ef8682850161539d565b60e083015250949350505050565b5f60e082840312801561550e575f80fd5b5061551761463e565b8251615522816145a5565b815260208301516155328161482a565b602082015260408301516155458161482a565b604082015261555660608401615028565b606082015261556760808401615028565b608082015261557860a08401615028565b60a082015261558960c08401615028565b60c08201529392505050565b5f82518060208501845e5f920191825250919050565b5f80604083850312156155bc575f80fd5b6155c583615028565b9150602083015163ffffffff811681146145f7575f80fd5b5f80604083850312156155ee575f80fd5b82516001600160401b03811115615603575f80fd5b830160e08186031215615614575f80fd5b61561c61463e565b615625826149ec565b8152615633602083016149ec565b602082015261564460408301614b76565b604082015261565560608301615028565b606082015261566660808301614a5a565b608082015261567760a08301614a5a565b60a082015260c08201516001600160401b03811115615694575f80fd5b6156a087828501614a65565b60c08301525092506156b6905060208401614a5a565b90509250929050565b601f821115613a4457805f5260205f20601f840160051c810160208510156156e45750805b601f840160051c820191505b81811015615703575f81556001016156f0565b5050505050565b81516001600160401b0381111561572357615723614602565b615737816157318454614a12565b846156bf565b6020601f821160018114615769575f83156157525750848201515b5f19600385901b1c1916600184901b178455615703565b5f84815260208120601f198516915b828110156157985787850151825560209485019460019092019101615778565b50848210156157b557868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220de42aed0a5f3baee5deb75613a643376beef36d26559188c194ff06ea567c91964736f6c634300081a0033",
1155
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101a1575f3560e01c8063644c45e0116100f35780638fb3603711610093578063bf7e214f1161006e578063bf7e214f1461042a578063c68938d014610432578063e01f7a4314610445578063f450e2b514610458575f80fd5b80638fb36037146103ee578063ada9652e1461040f578063b68d180914610423575f80fd5b806374b775eb116100ce57806374b775eb1461039357806376b707b7146103b95780637a9e5e4b146103d3578063893d20e8146103e6575f80fd5b8063644c45e0146103435780636c741e78146103605780636e2cdce714610380575f80fd5b806322f3e2d41161015e5780633c53258e116101395780633c53258e146102cf5780633ca19bc1146102f857806349bb9e4b1461030b5780635ab1bd531461031e575f80fd5b806322f3e2d41461029f578063329d6e74146102a75780633838d739146102bc575f80fd5b806301ffc9a7146101a55780630d8e6e2c146101e65780630fec111c14610202578063137a92a714610217578063138461e01461024a5780631eff4b221461026a575b5f80fd5b6101d16101b33660046144c4565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101ee61046b565b60405162ffffff90911681526020016101dd565b61020a6104f2565b6040516101dd9190614519565b61022a6102253660046145cb565b6106ac565b604080516001600160601b039384168152929091166020830152016101dd565b610252610fab565b6040516001600160601b0390911681526020016101dd565b6102917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101dd565b6101d1610fb5565b6102ba6102b536600461474e565b61102c565b005b6102ba6102ca36600461478e565b611176565b6102e26102dd3660046147ba565b611350565b60405164ffffffffff90911681526020016101dd565b6102ba61030636600461478e565b61137d565b6102ba61031936600461483e565b61152e565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101dd565b5f805160206157c5833981519152546001600160601b0316610252565b61036861162a565b6040516001600160401b0390911681526020016101dd565b6102ba61038e3660046147ba565b6116b6565b6103a66103a136600461488a565b611998565b60405161ffff90911681526020016101dd565b6103c1611e06565b60405160ff90911681526020016101dd565b6102ba6103e13660046148e7565b611e6e565b61032b611ef4565b6103f6612025565b6040516001600160e01b031990911681526020016101dd565b6102915f805160206157c583398151915281565b602d6103c1565b61032b61205a565b6102ba6104403660046145cb565b612075565b6102e2610453366004614902565b6123a7565b6102ba610466366004614984565b612404565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104ed91906149d1565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561059e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c291906149f7565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161060a611ef4565b6001600160a01b0316815260200182600101805461062790614a12565b80601f016020809104026020016040519081016040528092919081815260200182805461065390614a12565b801561069e5780601f106106755761010080835404028352916020019161069e565b820191905f5260205f20905b81548152906001019060200180831161068157829003601f168201915b505050505081525091505090565b5f806106ba335b5f366125ee565b5f806106c5866126ec565b93509350505061070b6040805160e0810182525f808252602082018190529181018290526060808201839052608082019290925260a0810182905260c081019190915290565b60a0830151604051637ec0124960e11b81526001600160601b038916600482015264ffffffffff881660248201525f91829182916001600160a01b03169063fd802492906044015f60405180830381865afa15801561076c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107939190810190614ab2565b6060810151602082015160a089015160405163f3ed991960e01b81526001600160601b038f16600482015264ffffffffff8e1660248201529296509094509192505f916001600160a01b03169063f3ed991990604401602060405180830381865afa158015610804573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108289190614b81565b905061083581603c6129dd565b156108795760405163416ae91f60e11b81526001600160601b038c16600482015264ffffffffff8b16602482015260ff821660448201526064015b60405180910390fd5b60a0870151604051635207d68b60e01b815264ffffffffff8c1660048201526001600160a01b039091169063a7ef3d21908d9073__$0f9396e6447a4be57af83e53f51d234633$__90635207d68b90602401602060405180830381865af41580156108e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090a9190614b9c565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015261ffff1660248201526044015f60405180830381865afa158015610954573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261097b9190810190614bb7565b9450610999610992866020015184602001516129ee565b8651612a79565b15610a6f57604051635207d68b60e01b815264ffffffffff8b1660048201528b9073__$0f9396e6447a4be57af83e53f51d234633$__90635207d68b90602401602060405180830381865af41580156109f4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a189190614b9c565b865f0151610a2e886020015186602001516129ee565b60405163e7a18a8760e01b81526001600160601b03948516600482015261ffff90931660248401529083166044830152919091166064820152608401610870565b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015610ab6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ada9190614ca0565b64ffffffffff166040838101919091528701516001600160a01b0316630ccd44d78c8c8560dc6040518563ffffffff1660e01b8152600401610b1f9493929190614d13565b5f604051808303815f87803b158015610b36575f80fd5b505af1158015610b48573d5f803e3d5ffd5b5050604051635207d68b60e01b815264ffffffffff8d1660048201525f945073__$0f9396e6447a4be57af83e53f51d234633$__9350635207d68b92506024019050602060405180830381865af4158015610ba5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bc99190614b9c565b602085015160405163274acb3560e01b81526001600160601b039182166004820152908416602482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af4158015610c30573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5491906149f7565b6001600160601b0316602085015260808401805160019190610c77908390614d69565b62ffffff9081169091526080860151161590508015610ca25750610ca28460200151855f0151612afe565b15610da35773__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015610cee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d129190614ca0565b64ffffffffff166040858101919091528601516001600160a01b031663abef1bb28b838760c86040518563ffffffff1660e01b8152600401610d579493929190614e27565b5f604051808303815f87803b158015610d6e575f80fd5b505af1158015610d80573d5f803e3d5ffd5b5050505060018560e001818151610d979190614e52565b61ffff16905250610e08565b60408601516001600160a01b031663abef1bb28b838760ff6040518563ffffffff1660e01b8152600401610dda9493929190614e27565b5f604051808303815f87803b158015610df1575f80fd5b505af1158015610e03573d5f803e3d5ffd5b505050505b50610e18846101200151826129ee565b6001600160601b031661012085015260408501516001600160a01b031663297023ef8a8660ff6040518463ffffffff1660e01b8152600401610e5c93929190614e6c565b5f604051808303815f87803b158015610e73575f80fd5b505af1158015610e85573d5f803e3d5ffd5b5050604080516001600160601b038d8116825264ffffffffff8d16602083015285168183015290517f2e01fddcf6c351ca64a709d91796e42b66b6d9d6fdc0863e20a61379d674c1269350908190036060019150a160035460a086015160208088015187519188015160405163125510a360e01b81526001600160a01b03948516600482015291841660248301526001600160601b039283166044830152828e1660648301528216608482015264ffffffffff8c1660a482015290841660c482015284821660e482015291169063125510a3906101040160408051808303815f875af1158015610f77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f9b9190614ffb565b909a909950975050505050505050565b5f6104ed30612b48565b5f610fbe61205a565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015611002573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110269190615037565b15905090565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61104e61046b565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801561108c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110b09190615064565b5f805160206158058339815191528054600160401b900460ff16806110e2575080546001600160401b03808416911610155b156111005760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561112a83612d9e565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b61117f336106b3565b5f8061118a846126ec565b9350935050505f6111a88360a0015186866111a3603290565b612dbf565b905073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af41580156111f1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112159190614ca0565b64ffffffffff166040828101919091528301516001600160a01b031663abef1bb286868460146040518563ffffffff1660e01b815260040161125a9493929190614e27565b5f604051808303815f87803b158015611271575f80fd5b505af1158015611283573d5f803e3d5ffd5b5050505060018260e00181815161129a9190614e52565b61ffff1690525060408301516001600160a01b031663297023ef868460ff6040518463ffffffff1660e01b81526004016112d693929190614e6c565b5f604051808303815f87803b1580156112ed575f80fd5b505af11580156112ff573d5f803e3d5ffd5b5050604080516001600160601b038916815261ffff881660208201527f1faaad16c345dc1936ac3a4a01ff31232a396d4cb78f913d62ae01e2b39be9cc935001905060405180910390a15050505050565b5f61135a336106b3565b611365856015612f3f565b6113728585855f86613073565b90505b949350505050565b611386336106b3565b611391826015612f3f565b5f61139b836126ec565b50925050505f6113b38260a0015185856111a3603390565b608081015190915062ffffff1615611404576080810151604051633e4ced5360e11b81526001600160601b038616600482015261ffff8516602482015262ffffff9091166044820152606401610870565b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561144b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061146f9190614ca0565b64ffffffffff166040828101919091528201516001600160a01b031663abef1bb285858460486040518563ffffffff1660e01b81526004016114b49493929190614e27565b5f604051808303815f87803b1580156114cb575f80fd5b505af11580156114dd573d5f803e3d5ffd5b5050604080516001600160601b038816815261ffff871660208201527f20adc87c5a8219063b849f8acb79f5c6068c3567dc8d9dbd7d4c9cf09920820e93500190505b60405180910390a150505050565b5f805160206158058339815191528054600160401b810460ff1615906001600160401b03165f8115801561155f5750825b90505f826001600160401b0316600114801561157a5750303b155b905081158015611588575080155b156115a65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156115d057845460ff60401b1916600160401b1785555b6115da87876135ec565b831561162157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe602d61164f611e06565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611692573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104ed9190615064565b6116bf336106b3565b6116ca846015612f3f565b5f805f806116d7886126ec565b93509350935093506116ea888288613936565b5f6116fd8360a001518a8a6111a3603290565b6001600160601b038816815260c0810187905260408481015190516355f78dd960e11b81529192506001600160a01b03169063abef1bb29061174a908c908c908690603390600401614e27565b5f604051808303815f87803b158015611761575f80fd5b505af1158015611773573d5f803e3d5ffd5b50505050611786826101000151886129ee565b6001600160601b031661010083015260408301516001600160a01b031663297023ef8a8460ff6040518463ffffffff1660e01b81526004016117ca93929190614e6c565b5f604051808303815f87803b1580156117e1575f80fd5b505af11580156117f3573d5f803e3d5ffd5b5050505061180a8261010001518360600151613a49565b156119245760025f9054906101000a90046001600160a01b03166001600160a01b031663bc4a1c35858b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561187b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061189f9190614ca0565b6040516001600160e01b031960e086901b1681526001600160a01b0390931660048401526001600160601b03909116602483015264ffffffffff1660448201526064016020604051808303815f875af11580156118fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119229190614ca0565b505b604080516001600160601b038b8116825261ffff8b16602083015289168183015290517fccd5503b328e5b54e15c01d8de50b60e170834460b94faf05be56b4b25a1a1409181900360600190a16119828360a00151868b8b8b613a93565b61198d898989613c84565b505050505050505050565b5f6119a2336106b3565b5f806119ad866126ec565b61014081015160405163790a38ad60e01b815264ffffffffff9091166004820152919550935073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__925063790a38ad9150602401602060405180830381865af4158015611a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a339190615037565b80611abd5750611abd73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af4158015611a83573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aa79190614ca0565b82610180015164ffffffffff9081169116101590565b15611ae657604051631abadea960e01b81526001600160601b0387166004820152602401610870565b611af1868287613936565b73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a368260c001516001611b1c919061507f565b6040516001600160e01b031960e084901b16815261ffff9091166004820152602401602060405180830381865af4158015611b59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b7d9190614b9c565b925081604001516001600160a01b0316631c7c815587856040518060e001604052808a6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611bf5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c1991906149f7565b6001600160601b0316815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c6e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c929190614ca0565b64ffffffffff1681526020015f62ffffff1681526020015f62ffffff16815260200189815260200160405180602001604052805f8152508152506040518463ffffffff1660e01b8152600401611cea93929190615099565b5f604051808303815f87803b158015611d01575f80fd5b505af1158015611d13573d5f803e3d5ffd5b5050505060018160c001818151611d2a919061507f565b61ffff1690525060e08101805160019190611d4690839061507f565b61ffff1690525060408201516001600160a01b031663297023ef878360ff6040518463ffffffff1660e01b8152600401611d8293929190614e6c565b5f604051808303815f87803b158015611d99575f80fd5b505af1158015611dab573d5f803e3d5ffd5b5050604080516001600160601b038a8116825261ffff8816602083015289168183015290517fcbffe0c4cf4814bd79bac10830275e65911ae7d71347b96c61fa8e4635423ba49350908190036060019150a150509392505050565b5f611e0f61205a565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e4a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104ed9190614b81565b33611e7761205a565b6001600160a01b0316816001600160a01b031614611eb25760405162d1953b60e31b81526001600160a01b0382166004820152602401610870565b816001600160a01b03163b5f03611ee7576040516361798f2f60e11b81526001600160a01b0383166004820152602401610870565b611ef082613d15565b5050565b5f805f805160206157c583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611f60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f849190615037565b1561200f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611fe5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061200991906150c4565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206157e583398151915280545f9190600160a01b900460ff1661204c575f612009565b638fb3603760e01b91505090565b5f805160206157e5833981519152546001600160a01b031690565b61207e336106b3565b5f612088836126ec565b5060a081015160405163f3ed991960e01b81526001600160601b038816600482015264ffffffffff871660248201529194505f93506001600160a01b0316915063f3ed991990604401602060405180830381865afa1580156120ec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121109190614b81565b905061211d81603c6129dd565b1561215c5760405163416ae91f60e11b81526001600160601b038516600482015264ffffffffff8416602482015260ff82166044820152606401610870565b60408201516001600160a01b031663353e5b75858560486040516001600160e01b031960e086901b1681526001600160601b03909316600484015264ffffffffff909116602483015260ff1660448201526064015f604051808303815f87803b1580156121c7575f80fd5b505af11580156121d9573d5f803e3d5ffd5b5050604051635207d68b60e01b815264ffffffffff861660048201525f925073__$0f9396e6447a4be57af83e53f51d234633$__9150635207d68b90602401602060405180830381865af4158015612233573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122579190614b9c565b60a084015160405163a7ef3d2160e01b81526001600160601b038816600482015261ffff831660248201529192505f916001600160a01b039091169063a7ef3d21906044015f60405180830381865afa1580156122b6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526122dd9190810190614bb7565b90506001816080018181516122f29190614d69565b62ffffff1690525060408401516001600160a01b031663abef1bb287848460ff6040518563ffffffff1660e01b81526004016123319493929190614e27565b5f604051808303815f87803b158015612348575f80fd5b505af115801561235a573d5f803e3d5ffd5b5050604080516001600160601b038a16815264ffffffffff891660208201527f43d0b5d02748c38c09f5222f1f34aa322d3d80c9c3fc776d338105bf9e9871539550019250611520915050565b5f6123b1336106b3565b6001600160a01b0383166123ed576040516377e59c8360e11b81526001600160601b038716600482015261ffff86166024820152604401610870565b6123fa8686868686613073565b9695505050505050565b61240d336106b3565b612418836015612f3f565b5f80612423856126ec565b9350935050505f61243c8360a0015187876111a3603290565b9050838160c0018190525073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__639fa6a6e36040518163ffffffff1660e01b8152600401602060405180830381865af415801561248e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124b29190614ca0565b64ffffffffff166040828101919091528301516001600160a01b031663abef1bb2878784601e6040518563ffffffff1660e01b81526004016124f79493929190614e27565b5f604051808303815f87803b15801561250e575f80fd5b505af1158015612520573d5f803e3d5ffd5b5050505060018260e0018181516125379190614e52565b61ffff1690525060408301516001600160a01b031663297023ef878460ff6040518463ffffffff1660e01b815260040161257393929190614e6c565b5f604051808303815f87803b15801561258a575f80fd5b505af115801561259c573d5f803e3d5ffd5b5050604080516001600160601b038a16815261ffff891660208201527f835aca3a92b79a82038b38ef30bc398955a23c24b64db0183839129d0772a4fb935001905060405180910390a1505050505050565b5f805160206157e58339815191525f8061262661260961205a565b873061261860045f8a8c6150df565b61262191615106565b613d75565b91509150816126e45763ffffffff8116156126c157825460ff60a01b1916600160a01b17835561265461205a565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016126839392919061513e565b5f604051808303815f87803b15801561269a575f80fd5b505af11580156126ac573d5f803e3d5ffd5b5050845460ff60a01b19168555506126e49050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610870565b505050505050565b6040805160c0810182525f80825260208201819052918101829052606081018290526080810182905260a08101829052819060408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820183905261012082018390526101408201839052610160820183905261018082018390526101a08201929092526101c081018290526101e08101919091526127a8613e7d565b8094508195505050826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156127ec573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061281091906150c4565b8260a001906001600160a01b031690816001600160a01b031681525050826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612869573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061288d91906150c4565b82602001906001600160a01b031690816001600160a01b031681525050826001600160a01b031663b7b02c4e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061290a91906150c4565b6001600160a01b0390811660408481019190915260a0840151905163bd7d9d8560e01b81526001600160601b038816600482015291169063bd7d9d85906024015f60405180830381865afa158015612964573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261298b9190810190615194565b905061299a815f015185613f3c565b156129d657805160405163169efc1d60e11b81526001600160601b03808816600483015291821660248201529085166044820152606401610870565b9193509193565b60ff82811690821614155b92915050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af4158015612a4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a7291906149f7565b9392505050565b604051632601631360e21b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c906044015b602060405180830381865af4158015612ada573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a729190615037565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401612abf565b5f805f805160206157c583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612bb4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bd89190615037565b15612c045780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610870565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612c56573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c7a9190615037565b612ca25760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610870565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015612cf4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d1891906149f7565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b5490612d64611ef4565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b612da6613f86565b60405163502ec37160e01b815260040160405180910390fd5b6040805160e0810182525f808252602082018190529181018290526060808201839052608082019290925260a0810182905260c081019190915260405163078ae93560e41b81526001600160601b038516600482015261ffff841660248201525f906001600160a01b038716906378ae935090604401602060405180830381865afa158015612e50573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e749190614b81565b9050612e8081846129dd565b15612ec4576040516398b9e22f60e01b81526001600160601b038616600482015261ffff8516602482015260ff808516604483015282166064820152608401610870565b60405163a7ef3d2160e01b81526001600160601b038616600482015261ffff851660248201526001600160a01b0387169063a7ef3d21906044015f60405180830381865afa158015612f18573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526123fa9190810190614bb7565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015612f8f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fb39190615037565b8061304157506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561301b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061303f9190615037565b155b15611ef05760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610870565b5f8061307e876126ec565b5060a081015160405163a7ef3d2160e01b81526001600160601b038c16600482015261ffff8b1660248201529194505f93506001600160a01b0316915063a7ef3d21906044015f60405180830381865afa1580156130de573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526131059190810190614bb7565b60a083015160405163078ae93560e41b81526001600160601b038b16600482015261ffff8a1660248201529192505f916001600160a01b03909116906378ae935090604401602060405180830381865afa158015613165573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131899190614b81565b90506131968160336129dd565b156131d25760405163450ee09b60e01b81526001600160601b038a16600482015261ffff8916602482015260ff82166044820152606401610870565b5f6131e18360200151896129ee565b90506131f081845f0151612a79565b1561323657825160405163e7a18a8760e01b81526001600160601b03808d16600483015261ffff8c16602483015291821660448201529082166064820152608401610870565b50505f8160600151600161324a9190615327565b604051632cfd6be560e11b815261ffff8a16600482015262ffffff8216602482015290915073__$0f9396e6447a4be57af83e53f51d234633$__906359fad7ca90604401602060405180830381865af41580156132a9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132cd9190614ca0565b93506001600160a01b03861661335d576001546001600160a01b0316604051631c5da14d60e11b81526001600160601b038b1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015613336573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061335a91906150c4565b95505b604083810151815160a0810192839052635207d68b60e01b90925264ffffffffff861660a48301526001600160a01b03169063b33ef41a908b9087908073__$0f9396e6447a4be57af83e53f51d234633$__635207d68b60c48301602060405180830381865af41580156133d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133f79190614b9c565b61ffff1681526020018c6001600160601b0316815260200173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015613456573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061347a9190614ca0565b64ffffffffff1681526020018b6001600160a01b031681526020018a8152506040518463ffffffff1660e01b81526004016134b793929190615342565b5f604051808303815f87803b1580156134ce575f80fd5b505af11580156134e0573d5f803e3d5ffd5b505050506001826060018181516134f79190615327565b62ffffff1690525060808201805160019190613514908390615327565b62ffffff1690525060408301516001600160a01b031663abef1bb28a8a8560ff6040518563ffffffff1660e01b81526004016135539493929190614e27565b5f604051808303815f87803b15801561356a575f80fd5b505af115801561357c573d5f803e3d5ffd5b5050604080516001600160601b038d8116825264ffffffffff891660208301528b16818301526001600160a01b038a16606082015290517fd217fce8b0952a3424cd2dde69797635631e888b4b5801ba67f648aa72584c669350908190036080019150a150505095945050505050565b5f805160206158058339815191528054600160401b810460ff1615906001600160401b03165f8115801561361d5750825b90505f826001600160401b031660011480156136385750303b155b905081158015613646575080155b156136645760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561368e57845460ff60401b1916600160401b1785555b5f80878060200190518101906136a49190615370565b915091506136b382828b613fbe565b6001546001600160a01b031663d39e604360156136ce61046b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015613721573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137459190614b81565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613788573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137ac91906150c4565b600280546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b031663d39e6043600f6137e461046b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015613837573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061385b9190614b81565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561389e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138c291906150c4565b600380546001600160a01b0319166001600160a01b03929092169190911790556138f263e3edf2fb60e01b614057565b5050831561162157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611618565b604051630a4d29dd60e31b81526001600160601b038216600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906352694ee890602401602060405180830381865af415801561398c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139b09190615037565b156139d957604051630dcf891160e11b81526001600160601b0384166004820152602401610870565b6139f56139eb836101000151836129ee565b8360600151612a79565b15613a4457828260600151613a0f846101200151846129ee565b604051631acfc80160e21b81526001600160601b03938416600482015291831660248301529091166044820152606401610870565b505050565b604051631315996960e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063262b32d290604401612abf565b6040516302d764c760e21b81526001600160601b03851660048201525f906001600160a01b03871690630b5d931c906024015f60405180830381865afa158015613adf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613b06919081019061541b565b60a001516040516357f80bbf60e01b81526001600160601b03821660048201529091506001600160a01b038716906357f80bbf9060240160e060405180830381865afa158015613b58573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b7c91906154fd565b60800151156126e4575f613b986001546001600160a01b031690565b60405163bf8e179760e01b81526001600160601b03841660048201526001600160a01b03919091169063bf8e179790602401602060405180830381865afa158015613be5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c0991906150c4565b60405163ee37846360e01b81526001600160601b03808816600483015261ffff87166024830152851660448201529091506001600160a01b0382169063ee378463906064015f604051808303815f87803b158015613c65575f80fd5b505af1158015613c77573d5f803e3d5ffd5b5050505050505050505050565b5f613c8e8461408a565b90506001600160a01b03811615613d0f57604051636321706f60e11b81526001600160601b03808616600483015261ffff85166024830152831660448201526001600160a01b0382169063c642e0de906064015f604051808303815f87803b158015613cf8575f80fd5b505af1158015613d0a573d5f803e3d5ffd5b505050505b50505050565b5f805160206157e583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613de39190615595565b5f60405180830381855afa9150503d805f8114613e1b576040519150601f19603f3d011682016040523d82523d5f602084013e613e20565b606091505b50915091508115613e72576040815110613e525780806020019051810190613e4891906155ab565b9094509250613e72565b6020815110613e725780806020019051810190613e6f9190615037565b93505b505094509492505050565b5f805f8073__$fb599632d08395912d9d70eb2f0f93b5e2$__635c990ed3613ead6001546001600160a01b031690565b33600c6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260ff166044820152600160648201526084015f60405180830381865af4158015613f09573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613f3091908101906155dd565b90519590945092505050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401612abf565b5f8051602061580583398151915254600160401b900460ff16613fbc57604051631afcd79f60e31b815260040160405180910390fd5b565b613fc6613f86565b613fce61419d565b61404b8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561400f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061403391906149f7565b60085f8660405180602001604052805f8152506141ad565b613a4463daf9067160e01b5b61405f613f86565b614087816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b5f8061409e6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03851660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156140eb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061410f91906150c4565b604051635b5dd68960e11b81526001600160a01b038216600482015290925082915073__$fb599632d08395912d9d70eb2f0f93b5e2$__9063b6bbad1290602401602060405180830381865af415801561416b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061418f9190615037565b614197575f91505b50919050565b6141a5613f86565b613fbc6142ea565b6141b5613f86565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af415801561420b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061422f9190615037565b6142575760405163cf6935e560e01b81526001600160a01b0388166004820152602401610870565b61426087614318565b61426a8683614329565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016142d9838261570a565b50613d0a634a531f3360e01b614057565b6142f2613f86565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b614320613f86565b6140878161439f565b614331613f86565b6143396143b0565b614342826143f8565b6001600160a01b0381166143695760405163f17ef42d60e01b815260040160405180910390fd5b5f805160206157c583398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6143a7613f86565b61408781613d15565b6143b8613f86565b613fbc6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b614400613f86565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015614456573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061447a9190615037565b6144a25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610870565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f602082840312156144d4575f80fd5b81356001600160e01b031981168114612a72575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151614561608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526113756101008401826144eb565b6001600160601b0381168114614087575f80fd5b64ffffffffff81168114614087575f80fd5b5f80604083850312156145dc575f80fd5b82356145e7816145a5565b915060208301356145f7816145b9565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b60405160a081016001600160401b038111828210171561463857614638614602565b60405290565b60405160e081016001600160401b038111828210171561463857614638614602565b60405161020081016001600160401b038111828210171561463857614638614602565b60405161010081016001600160401b038111828210171561463857614638614602565b604051601f8201601f191681016001600160401b03811182821017156146ce576146ce614602565b604052919050565b5f6001600160401b038211156146ee576146ee614602565b50601f01601f191660200190565b5f82601f83011261470b575f80fd5b813561471e614719826146d6565b6146a6565b818152846020838601011115614732575f80fd5b816020850160208301375f918101602001919091529392505050565b5f6020828403121561475e575f80fd5b81356001600160401b03811115614773575f80fd5b611375848285016146fc565b61ffff81168114614087575f80fd5b5f806040838503121561479f575f80fd5b82356147aa816145a5565b915060208301356145f78161477f565b5f805f80608085870312156147cd575f80fd5b84356147d8816145a5565b935060208501356147e88161477f565b925060408501356147f8816145a5565b915060608501356001600160401b03811115614812575f80fd5b61481e878288016146fc565b91505092959194509250565b6001600160a01b0381168114614087575f80fd5b5f806040838503121561484f575f80fd5b823561485a8161482a565b915060208301356001600160401b03811115614874575f80fd5b614880858286016146fc565b9150509250929050565b5f805f6060848603121561489c575f80fd5b83356148a7816145a5565b925060208401356148b7816145a5565b915060408401356001600160401b038111156148d1575f80fd5b6148dd868287016146fc565b9150509250925092565b5f602082840312156148f7575f80fd5b8135612a728161482a565b5f805f805f60a08688031215614916575f80fd5b8535614921816145a5565b945060208601356149318161477f565b93506040860135614941816145a5565b925060608601356149518161482a565b915060808601356001600160401b0381111561496b575f80fd5b614977888289016146fc565b9150509295509295909350565b5f805f60608486031215614996575f80fd5b83356149a1816145a5565b925060208401356148b78161477f565b62ffffff81168114614087575f80fd5b80516149cc816149b1565b919050565b5f602082840312156149e1575f80fd5b8151612a72816149b1565b80516149cc816145a5565b5f60208284031215614a07575f80fd5b8151612a72816145a5565b600181811c90821680614a2657607f821691505b60208210810361419757634e487b7160e01b5f52602260045260245ffd5b80516149cc8161477f565b80516149cc816145b9565b80516149cc8161482a565b5f82601f830112614a74575f80fd5b8151614a82614719826146d6565b818152846020838601011115614a96575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215614ac2575f80fd5b81516001600160401b03811115614ad7575f80fd5b820160a08185031215614ae8575f80fd5b614af0614616565b8151614afb8161477f565b81526020820151614b0b816145a5565b60208201526040820151614b1e816145b9565b60408201526060820151614b318161482a565b606082015260808201516001600160401b03811115614b4e575f80fd5b614b5a86828501614a65565b608083015250949350505050565b60ff81168114614087575f80fd5b80516149cc81614b68565b5f60208284031215614b91575f80fd5b8151612a7281614b68565b5f60208284031215614bac575f80fd5b8151612a728161477f565b5f60208284031215614bc7575f80fd5b81516001600160401b03811115614bdc575f80fd5b820160e08185031215614bed575f80fd5b614bf561463e565b614bfe826149ec565b8152614c0c602083016149ec565b6020820152614c1d60408301614a4f565b6040820152614c2e606083016149c1565b6060820152614c3f608083016149c1565b608082015260a08201516001600160401b03811115614c5c575f80fd5b614c6886828501614a65565b60a08301525060c08201516001600160401b03811115614c86575f80fd5b614c9286828501614a65565b60c083015250949350505050565b5f60208284031215614cb0575f80fd5b8151612a72816145b9565b61ffff81511682526001600160601b03602082015116602083015264ffffffffff604082015116604083015260018060a01b0360608201511660608301525f608082015160a0608085015261137560a08501826144eb565b6001600160601b038516815264ffffffffff84166020820152608060408201525f614d416080830185614cbb565b905060ff8316606083015295945050505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff82811682821603908111156129e8576129e8614d55565b6001600160601b0381511682526001600160601b0360208201511660208301525f6040820151614dbd604085018264ffffffffff169052565b506060820151614dd4606085018262ffffff169052565b506080820151614deb608085018262ffffff169052565b5060a082015160e060a0850152614e0560e08501826144eb565b905060c083015184820360c0860152614e1e82826144eb565b95945050505050565b6001600160601b038516815261ffff84166020820152608060408201525f614d416080830185614d84565b61ffff82811682821603908111156129e8576129e8614d55565b6001600160601b038416815260606020820152614e956060820184516001600160601b03169052565b5f6020840151614eb060808401826001600160601b03169052565b5060408401516001600160c01b0319811660a08401525060608401516001600160601b03811660c08401525060808401516001600160601b03811660e08401525060a08401516001600160c01b031981166101008401525060c084015161ffff81166101208401525060e084015161ffff8116610140840152506101008401516001600160601b038116610160840152506101208401516001600160601b0381166101808401525061014084015164ffffffffff81166101a08401525061016084015164ffffffffff81166101c08401525061018084015164ffffffffff81166101e0840152506101a084015164ffffffffff8116610200840152506101c0840151610200610220840152614fc96102608401826144eb565b90506101e0850151605f1984830301610240850152614fe882826144eb565b92505050611375604083018460ff169052565b5f806040838503121561500c575f80fd5b8251615017816145a5565b60208401519092506145f7816145a5565b805180151581146149cc575f80fd5b5f60208284031215615047575f80fd5b612a7282615028565b6001600160401b0381168114614087575f80fd5b5f60208284031215615074575f80fd5b8151612a7281615050565b61ffff81811683821601908111156129e8576129e8614d55565b6001600160601b038416815261ffff83166020820152606060408201525f6113726060830184614d84565b5f602082840312156150d4575f80fd5b8151612a728161482a565b5f80858511156150ed575f80fd5b838611156150f9575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015615137576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b80516001600160c01b0319811681146149cc575f80fd5b5f602082840312156151a4575f80fd5b81516001600160401b038111156151b9575f80fd5b820161020081850312156151cb575f80fd5b6151d3614660565b6151dc826149ec565b81526151ea602083016149ec565b60208201526151fb6040830161517d565b604082015261520c606083016149ec565b606082015261521d608083016149ec565b608082015261522e60a0830161517d565b60a082015261523f60c08301614a44565b60c082015261525060e08301614a44565b60e082015261526261010083016149ec565b61010082015261527561012083016149ec565b6101208201526152886101408301614a4f565b61014082015261529b6101608301614a4f565b6101608201526152ae6101808301614a4f565b6101808201526152c16101a08301614a4f565b6101a08201526101c08201516001600160401b038111156152e0575f80fd5b6152ec86828501614a65565b6101c0830152506101e08201516001600160401b0381111561530c575f80fd5b61531886828501614a65565b6101e083015250949350505050565b62ffffff81811683821601908111156129e8576129e8614d55565b6001600160601b038416815264ffffffffff83166020820152606060408201525f6113726060830184614cbb565b5f8060408385031215615381575f80fd5b825161538c8161482a565b60208401519092506145f78161482a565b5f82601f8301126153ac575f80fd5b81516001600160401b038111156153c5576153c5614602565b8060051b6153d5602082016146a6565b918252602081850181019290810190868411156153f0575f80fd5b6020860192505b838310156123fa57825161540a816145a5565b8252602092830192909101906153f7565b5f6020828403121561542b575f80fd5b81516001600160401b03811115615440575f80fd5b82016101008185031215615452575f80fd5b61545a614683565b61546382615028565b815261547160208301615028565b602082015261548260408301615028565b604082015261549360608301614b76565b60608201526154a460808301614b76565b60808201526154b560a083016149ec565b60a08201526154c660c083016149ec565b60c082015260e08201516001600160401b038111156154e3575f80fd5b6154ef8682850161539d565b60e083015250949350505050565b5f60e082840312801561550e575f80fd5b5061551761463e565b8251615522816145a5565b815260208301516155328161482a565b602082015260408301516155458161482a565b604082015261555660608401615028565b606082015261556760808401615028565b608082015261557860a08401615028565b60a082015261558960c08401615028565b60c08201529392505050565b5f82518060208501845e5f920191825250919050565b5f80604083850312156155bc575f80fd5b6155c583615028565b9150602083015163ffffffff811681146145f7575f80fd5b5f80604083850312156155ee575f80fd5b82516001600160401b03811115615603575f80fd5b830160e08186031215615614575f80fd5b61561c61463e565b615625826149ec565b8152615633602083016149ec565b602082015261564460408301614b76565b604082015261565560608301615028565b606082015261566660808301614a5a565b608082015261567760a08301614a5a565b60a082015260c08201516001600160401b03811115615694575f80fd5b6156a087828501614a65565b60c08301525092506156b6905060208401614a5a565b90509250929050565b601f821115613a4457805f5260205f20601f840160051c810160208510156156e45750805b601f840160051c820191505b81811015615703575f81556001016156f0565b5050505050565b81516001600160401b0381111561572357615723614602565b615737816157318454614a12565b846156bf565b6020601f821160018114615769575f83156157525750848201515b5f19600385901b1c1916600184901b178455615703565b5f84815260208120601f198516915b828110156157985787850151825560209485019460019092019101615778565b50848210156157b557868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220de42aed0a5f3baee5deb75613a643376beef36d26559188c194ff06ea567c91964736f6c634300081a0033",
1156
+ "linkReferences": {
1157
+ "contracts/shared/ContractLib.sol": {
1158
+ "ContractLib": [
1159
+ {
1160
+ "length": 20,
1161
+ "start": 16217
1162
+ },
1163
+ {
1164
+ "length": 20,
1165
+ "start": 16905
1166
+ },
1167
+ {
1168
+ "length": 20,
1169
+ "start": 17065
1170
+ },
1171
+ {
1172
+ "length": 20,
1173
+ "start": 17652
1174
+ }
1175
+ ]
1176
+ },
1177
+ "contracts/type/Amount.sol": {
1178
+ "AmountLib": [
1179
+ {
1180
+ "length": 20,
1181
+ "start": 3278
1182
+ },
1183
+ {
1184
+ "length": 20,
1185
+ "start": 7302
1186
+ },
1187
+ {
1188
+ "length": 20,
1189
+ "start": 10988
1190
+ },
1191
+ {
1192
+ "length": 20,
1193
+ "start": 11127
1194
+ },
1195
+ {
1196
+ "length": 20,
1197
+ "start": 11260
1198
+ },
1199
+ {
1200
+ "length": 20,
1201
+ "start": 14890
1202
+ },
1203
+ {
1204
+ "length": 20,
1205
+ "start": 15175
1206
+ }
1207
+ ]
1208
+ },
1209
+ "contracts/type/ClaimId.sol": {
1210
+ "ClaimIdLib": [
1211
+ {
1212
+ "length": 20,
1213
+ "start": 7113
1214
+ }
1215
+ ]
1216
+ },
1217
+ "contracts/type/NftId.sol": {
1218
+ "NftIdLib": [
1219
+ {
1220
+ "length": 20,
1221
+ "start": 1583
1222
+ },
1223
+ {
1224
+ "length": 20,
1225
+ "start": 8190
1226
+ },
1227
+ {
1228
+ "length": 20,
1229
+ "start": 11346
1230
+ },
1231
+ {
1232
+ "length": 20,
1233
+ "start": 16442
1234
+ }
1235
+ ]
1236
+ },
1237
+ "contracts/type/ObjectType.sol": {
1238
+ "ObjectTypeLib": [
1239
+ {
1240
+ "length": 20,
1241
+ "start": 12333
1242
+ }
1243
+ ]
1244
+ },
1245
+ "contracts/type/PayoutId.sol": {
1246
+ "PayoutIdLib": [
1247
+ {
1248
+ "length": 20,
1249
+ "start": 2436
1250
+ },
1251
+ {
1252
+ "length": 20,
1253
+ "start": 2706
1254
+ },
1255
+ {
1256
+ "length": 20,
1257
+ "start": 3135
1258
+ },
1259
+ {
1260
+ "length": 20,
1261
+ "start": 8912
1262
+ },
1263
+ {
1264
+ "length": 20,
1265
+ "start": 13127
1266
+ },
1267
+ {
1268
+ "length": 20,
1269
+ "start": 13426
1270
+ }
1271
+ ]
1272
+ },
1273
+ "contracts/type/RoleId.sol": {
1274
+ "RoleIdLib": [
1275
+ {
1276
+ "length": 20,
1277
+ "start": 5891
1278
+ }
1279
+ ]
1280
+ },
1281
+ "contracts/type/Timestamp.sol": {
1282
+ "TimestampLib": [
1283
+ {
1284
+ "length": 20,
1285
+ "start": 2887
1286
+ },
1287
+ {
1288
+ "length": 20,
1289
+ "start": 3455
1290
+ },
1291
+ {
1292
+ "length": 20,
1293
+ "start": 4738
1294
+ },
1295
+ {
1296
+ "length": 20,
1297
+ "start": 5340
1298
+ },
1299
+ {
1300
+ "length": 20,
1301
+ "start": 6412
1302
+ },
1303
+ {
1304
+ "length": 20,
1305
+ "start": 6827
1306
+ },
1307
+ {
1308
+ "length": 20,
1309
+ "start": 6932
1310
+ },
1311
+ {
1312
+ "length": 20,
1313
+ "start": 7423
1314
+ },
1315
+ {
1316
+ "length": 20,
1317
+ "start": 9503
1318
+ },
1319
+ {
1320
+ "length": 20,
1321
+ "start": 13543
1322
+ }
1323
+ ]
1324
+ },
1325
+ "contracts/type/Version.sol": {
1326
+ "VersionLib": [
1327
+ {
1328
+ "length": 20,
1329
+ "start": 1383
1330
+ },
1331
+ {
1332
+ "length": 20,
1333
+ "start": 4356
1334
+ },
1335
+ {
1336
+ "length": 20,
1337
+ "start": 14271
1338
+ },
1339
+ {
1340
+ "length": 20,
1341
+ "start": 14549
1342
+ }
1343
+ ]
1344
+ }
1345
+ },
1346
+ "deployedLinkReferences": {
1347
+ "contracts/shared/ContractLib.sol": {
1348
+ "ContractLib": [
1349
+ {
1350
+ "length": 20,
1351
+ "start": 16003
1352
+ },
1353
+ {
1354
+ "length": 20,
1355
+ "start": 16691
1356
+ },
1357
+ {
1358
+ "length": 20,
1359
+ "start": 16851
1360
+ },
1361
+ {
1362
+ "length": 20,
1363
+ "start": 17438
1364
+ }
1365
+ ]
1366
+ },
1367
+ "contracts/type/Amount.sol": {
1368
+ "AmountLib": [
1369
+ {
1370
+ "length": 20,
1371
+ "start": 3064
1372
+ },
1373
+ {
1374
+ "length": 20,
1375
+ "start": 7088
1376
+ },
1377
+ {
1378
+ "length": 20,
1379
+ "start": 10774
1380
+ },
1381
+ {
1382
+ "length": 20,
1383
+ "start": 10913
1384
+ },
1385
+ {
1386
+ "length": 20,
1387
+ "start": 11046
1388
+ },
1389
+ {
1390
+ "length": 20,
1391
+ "start": 14676
1392
+ },
1393
+ {
1394
+ "length": 20,
1395
+ "start": 14961
1396
+ }
1397
+ ]
1398
+ },
1399
+ "contracts/type/ClaimId.sol": {
1400
+ "ClaimIdLib": [
1401
+ {
1402
+ "length": 20,
1403
+ "start": 6899
1404
+ }
1405
+ ]
1406
+ },
1407
+ "contracts/type/NftId.sol": {
1408
+ "NftIdLib": [
1409
+ {
1410
+ "length": 20,
1411
+ "start": 1369
1412
+ },
1413
+ {
1414
+ "length": 20,
1415
+ "start": 7976
1416
+ },
1417
+ {
1418
+ "length": 20,
1419
+ "start": 11132
1420
+ },
1421
+ {
1422
+ "length": 20,
1423
+ "start": 16228
1424
+ }
1425
+ ]
1426
+ },
1427
+ "contracts/type/ObjectType.sol": {
1428
+ "ObjectTypeLib": [
1429
+ {
1430
+ "length": 20,
1431
+ "start": 12119
1432
+ }
1433
+ ]
1434
+ },
1435
+ "contracts/type/PayoutId.sol": {
1436
+ "PayoutIdLib": [
1437
+ {
1438
+ "length": 20,
1439
+ "start": 2222
1440
+ },
1441
+ {
1442
+ "length": 20,
1443
+ "start": 2492
1444
+ },
1445
+ {
1446
+ "length": 20,
1447
+ "start": 2921
1448
+ },
1449
+ {
1450
+ "length": 20,
1451
+ "start": 8698
1452
+ },
1453
+ {
1454
+ "length": 20,
1455
+ "start": 12913
1456
+ },
1457
+ {
1458
+ "length": 20,
1459
+ "start": 13212
1460
+ }
1461
+ ]
1462
+ },
1463
+ "contracts/type/RoleId.sol": {
1464
+ "RoleIdLib": [
1465
+ {
1466
+ "length": 20,
1467
+ "start": 5677
1468
+ }
1469
+ ]
1470
+ },
1471
+ "contracts/type/Timestamp.sol": {
1472
+ "TimestampLib": [
1473
+ {
1474
+ "length": 20,
1475
+ "start": 2673
1476
+ },
1477
+ {
1478
+ "length": 20,
1479
+ "start": 3241
1480
+ },
1481
+ {
1482
+ "length": 20,
1483
+ "start": 4524
1484
+ },
1485
+ {
1486
+ "length": 20,
1487
+ "start": 5126
1488
+ },
1489
+ {
1490
+ "length": 20,
1491
+ "start": 6198
1492
+ },
1493
+ {
1494
+ "length": 20,
1495
+ "start": 6613
1496
+ },
1497
+ {
1498
+ "length": 20,
1499
+ "start": 6718
1500
+ },
1501
+ {
1502
+ "length": 20,
1503
+ "start": 7209
1504
+ },
1505
+ {
1506
+ "length": 20,
1507
+ "start": 9289
1508
+ },
1509
+ {
1510
+ "length": 20,
1511
+ "start": 13329
1512
+ }
1513
+ ]
1514
+ },
1515
+ "contracts/type/Version.sol": {
1516
+ "VersionLib": [
1517
+ {
1518
+ "length": 20,
1519
+ "start": 1169
1520
+ },
1521
+ {
1522
+ "length": 20,
1523
+ "start": 4142
1524
+ },
1525
+ {
1526
+ "length": 20,
1527
+ "start": 14057
1528
+ },
1529
+ {
1530
+ "length": 20,
1531
+ "start": 14335
1532
+ }
1533
+ ]
1534
+ }
1535
+ }
1536
+ }