@etherisc/gif-next 0.0.2-f0d86c2-077 → 0.0.2-f0ebcc7-306

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