@etherisc/gif-next 0.0.2-e0ff180-766 → 0.0.2-e14821a-976

Sign up to get free protection for your applications and to get access to all the features.
Files changed (739) hide show
  1. package/README.md +153 -22
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1088 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +803 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1416 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +803 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +659 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1247 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +818 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/{components/IDistributionComponent.sol/IDistributionComponent.json → distribution/Distribution.sol/Distribution.json} +311 -328
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1835 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +943 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/{components/Component.sol/Component.json → distribution/IDistributionComponent.sol/IDistributionComponent.json} +276 -280
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +534 -340
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1487 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +818 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2056 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +818 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1442 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +818 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1174 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1650 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +818 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2588 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +818 -0
  66. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
  67. package/artifacts/contracts/instance/{base/IKeyValueStore.sol/IKeyValueStore.json → BaseStore.sol/BaseStore.json} +87 -184
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  69. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  70. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  71. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.json +304 -0
  72. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +573 -1775
  74. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  75. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +530 -71
  76. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  77. package/artifacts/contracts/instance/Instance.sol/Instance.json +639 -2578
  78. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2284 -0
  80. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +850 -0
  82. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1866 -636
  84. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +571 -386
  86. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  87. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +216 -172
  88. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3039 -0
  90. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  91. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
  92. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  93. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  94. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  96. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  97. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -54
  98. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  100. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  101. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  102. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  103. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  104. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  105. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  106. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  107. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  108. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  109. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  110. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  111. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  112. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  113. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  114. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +960 -0
  115. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  116. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +823 -0
  117. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  118. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  119. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  120. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +762 -0
  121. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  122. package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → oracle/IOracleService.sol/IOracleService.json} +328 -225
  123. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  124. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +876 -0
  125. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  126. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1055 -0
  127. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  128. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +823 -0
  129. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  130. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +357 -488
  131. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  132. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +818 -0
  133. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  134. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1464 -0
  135. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  136. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +879 -0
  137. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  138. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +1033 -0
  139. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  140. package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → pool/IPoolComponent.sol/IPoolComponent.json} +349 -284
  141. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  142. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1397 -0
  143. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  144. package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → pool/Pool.sol/Pool.json} +382 -418
  145. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  146. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  147. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  148. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1807 -0
  149. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  150. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +879 -0
  151. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  152. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1062 -0
  153. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  154. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +803 -0
  155. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  156. package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +492 -497
  157. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  158. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +818 -0
  159. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  160. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1546 -0
  161. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  162. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +891 -0
  163. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  164. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IApplicationService.sol/IApplicationService.json} +334 -374
  165. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  166. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1104 -0
  167. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  168. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1036 -0
  169. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  170. package/artifacts/contracts/{instance/service/IApplicationService.sol/IApplicationService.json → product/IPricingService.sol/IPricingService.json} +185 -155
  171. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  172. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1006 -0
  173. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  174. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IRiskService.sol/IRiskService.json} +223 -164
  175. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  176. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1417 -0
  177. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  178. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  179. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  180. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +867 -0
  181. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  182. package/artifacts/contracts/product/PricingService.sol/PricingService.json +958 -0
  183. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  184. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +827 -0
  185. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  186. package/artifacts/contracts/product/Product.sol/Product.json +1120 -0
  187. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  188. package/artifacts/contracts/product/RiskService.sol/RiskService.json +886 -0
  189. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  190. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +787 -0
  191. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  192. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  193. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  194. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +499 -34
  195. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  196. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +315 -109
  197. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  198. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  199. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  200. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  201. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  202. package/artifacts/contracts/registry/Registry.sol/Registry.json +987 -131
  203. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  204. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2160 -0
  205. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  206. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1087 -0
  207. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  208. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +415 -262
  209. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  210. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +227 -111
  211. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  212. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  213. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  214. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  215. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  216. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  217. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  218. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +696 -0
  219. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  220. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +360 -137
  221. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  222. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/Component.sol/Component.json} +289 -188
  223. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  224. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1577 -0
  225. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +875 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  234. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  235. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  236. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +153 -138
  237. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  238. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/IComponentService.sol/IComponentService.json} +584 -738
  239. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  240. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +697 -0
  241. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  242. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  243. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  244. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +38 -10
  245. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  246. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +59 -13
  247. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  248. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +163 -3
  249. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  250. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  251. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  252. package/artifacts/contracts/shared/IService.sol/IService.json +98 -5
  253. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  254. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +66 -0
  255. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  256. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +798 -0
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  258. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  260. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  262. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +57 -67
  263. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  264. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +36 -73
  265. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  266. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +160 -102
  267. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  268. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -28
  269. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  270. package/artifacts/contracts/shared/Service.sol/Service.json +110 -111
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  274. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  276. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  278. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +2747 -0
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  280. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1147 -0
  281. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  282. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  283. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  284. package/artifacts/contracts/staking/Staking.sol/Staking.json +3188 -0
  285. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  286. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  288. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +860 -0
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  290. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +704 -0
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  292. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1357 -0
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  294. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +779 -0
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  296. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +3097 -0
  297. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  298. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  299. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  300. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +679 -0
  301. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  302. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  303. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  304. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  305. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  306. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +251 -0
  307. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  308. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  309. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  310. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  311. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  312. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  313. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  314. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  315. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  316. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  317. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  318. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  319. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  320. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  321. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  322. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  323. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  324. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  325. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  326. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  327. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  328. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  329. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  330. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  331. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  332. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  333. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  334. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  335. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  336. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +289 -0
  337. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  338. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  339. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  340. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  341. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  342. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  343. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  344. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  345. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  346. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  347. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  348. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  349. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  350. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  351. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  352. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  353. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  354. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
  355. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  356. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +669 -0
  357. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  358. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  359. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  360. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -1
  361. package/contracts/accounting/AccountingService.sol +274 -0
  362. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  363. package/contracts/accounting/IAccountingService.sol +47 -0
  364. package/contracts/authorization/AccessAdmin.sol +780 -0
  365. package/contracts/authorization/AccessAdminLib.sol +396 -0
  366. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  367. package/contracts/authorization/Authorization.sol +169 -0
  368. package/contracts/authorization/IAccess.sol +67 -0
  369. package/contracts/authorization/IAccessAdmin.sol +144 -0
  370. package/contracts/authorization/IAuthorization.sol +26 -0
  371. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  372. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  373. package/contracts/distribution/BasicDistribution.sol +140 -0
  374. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  375. package/contracts/distribution/Distribution.sol +245 -0
  376. package/contracts/distribution/DistributionService.sol +465 -0
  377. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  378. package/contracts/distribution/IDistributionComponent.sol +45 -0
  379. package/contracts/distribution/IDistributionService.sol +115 -0
  380. package/contracts/examples/fire/DamageLevel.sol +59 -0
  381. package/contracts/examples/fire/FirePool.sol +86 -0
  382. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  383. package/contracts/examples/fire/FireProduct.sol +433 -0
  384. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  385. package/contracts/examples/fire/FireUSD.sol +26 -0
  386. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  387. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  388. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  389. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  390. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  391. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  392. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  393. package/contracts/instance/BaseStore.sol +93 -0
  394. package/contracts/instance/BundleSet.sol +130 -0
  395. package/contracts/instance/IBaseStore.sol +37 -0
  396. package/contracts/instance/IInstance.sol +131 -73
  397. package/contracts/instance/IInstanceService.sol +86 -39
  398. package/contracts/instance/Instance.sol +248 -224
  399. package/contracts/instance/InstanceAdmin.sol +379 -0
  400. package/contracts/instance/InstanceAuthorizationV3.sol +275 -0
  401. package/contracts/instance/InstanceReader.sol +513 -192
  402. package/contracts/instance/InstanceService.sol +432 -394
  403. package/contracts/instance/InstanceServiceManager.sol +14 -29
  404. package/contracts/instance/InstanceStore.sol +323 -0
  405. package/contracts/instance/ProductStore.sol +290 -0
  406. package/contracts/instance/RiskSet.sol +126 -0
  407. package/contracts/instance/TargetNames.sol +10 -0
  408. package/contracts/instance/base/BalanceStore.sol +121 -0
  409. package/contracts/instance/base/Cloneable.sol +28 -0
  410. package/contracts/instance/base/ObjectCounter.sol +20 -0
  411. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  412. package/contracts/instance/base/ObjectSet.sol +77 -0
  413. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  414. package/contracts/instance/module/IBundle.sol +9 -11
  415. package/contracts/instance/module/IComponents.sol +43 -24
  416. package/contracts/instance/module/IDistribution.sol +25 -12
  417. package/contracts/instance/module/IPolicy.sol +71 -38
  418. package/contracts/instance/module/IRisk.sol +6 -1
  419. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  420. package/contracts/oracle/BasicOracle.sol +44 -0
  421. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  422. package/contracts/oracle/IOracle.sol +41 -0
  423. package/contracts/oracle/IOracleComponent.sol +33 -0
  424. package/contracts/oracle/IOracleService.sol +66 -0
  425. package/contracts/oracle/Oracle.sol +152 -0
  426. package/contracts/oracle/OracleService.sol +310 -0
  427. package/contracts/oracle/OracleServiceManager.sol +39 -0
  428. package/contracts/pool/BasicPool.sol +161 -0
  429. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  430. package/contracts/pool/BundleService.sol +401 -0
  431. package/contracts/pool/BundleServiceManager.sol +39 -0
  432. package/contracts/pool/IBundleService.sol +116 -0
  433. package/contracts/pool/IPoolComponent.sol +62 -0
  434. package/contracts/pool/IPoolService.sol +167 -0
  435. package/contracts/pool/Pool.sol +331 -0
  436. package/contracts/pool/PoolLib.sol +341 -0
  437. package/contracts/pool/PoolService.sol +635 -0
  438. package/contracts/pool/PoolServiceManager.sol +39 -0
  439. package/contracts/product/ApplicationService.sol +343 -0
  440. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
  441. package/contracts/product/BasicProduct.sol +48 -0
  442. package/contracts/product/BasicProductAuthorization.sol +63 -0
  443. package/contracts/product/ClaimService.sol +642 -0
  444. package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
  445. package/contracts/{instance/service → product}/IApplicationService.sol +41 -35
  446. package/contracts/product/IClaimService.sol +136 -0
  447. package/contracts/product/IPolicyService.sol +102 -0
  448. package/contracts/product/IPricingService.sol +40 -0
  449. package/contracts/product/IProductComponent.sol +62 -0
  450. package/contracts/product/IRiskService.sol +48 -0
  451. package/contracts/product/PolicyService.sol +680 -0
  452. package/contracts/product/PolicyServiceLib.sol +139 -0
  453. package/contracts/product/PolicyServiceManager.sol +39 -0
  454. package/contracts/product/PricingService.sol +318 -0
  455. package/contracts/product/PricingServiceManager.sol +39 -0
  456. package/contracts/product/Product.sol +491 -0
  457. package/contracts/product/RiskService.sol +189 -0
  458. package/contracts/product/RiskServiceManager.sol +39 -0
  459. package/contracts/registry/ChainNft.sol +79 -40
  460. package/contracts/registry/IRegistry.sol +104 -33
  461. package/contracts/registry/IRegistryService.sol +34 -40
  462. package/contracts/registry/IRelease.sol +29 -0
  463. package/contracts/registry/ITransferInterceptor.sol +1 -2
  464. package/contracts/registry/Registry.sol +469 -200
  465. package/contracts/registry/RegistryAdmin.sol +191 -0
  466. package/contracts/registry/RegistryAuthorization.sol +336 -0
  467. package/contracts/registry/RegistryService.sol +90 -131
  468. package/contracts/registry/RegistryServiceManager.sol +23 -32
  469. package/contracts/registry/ReleaseAdmin.sol +195 -0
  470. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  471. package/contracts/registry/ReleaseRegistry.sol +525 -0
  472. package/contracts/registry/ServiceAuthorizationV3.sol +342 -0
  473. package/contracts/registry/TokenRegistry.sol +265 -64
  474. package/contracts/shared/Component.sol +210 -0
  475. package/contracts/shared/ComponentService.sol +705 -0
  476. package/contracts/shared/ComponentServiceManager.sol +38 -0
  477. package/contracts/shared/ContractLib.sol +312 -0
  478. package/contracts/shared/IComponent.sol +58 -0
  479. package/contracts/shared/IComponentService.sol +111 -0
  480. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  481. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  482. package/contracts/shared/INftOwnable.sol +6 -2
  483. package/contracts/shared/IPolicyHolder.sol +23 -14
  484. package/contracts/shared/IRegisterable.sol +22 -1
  485. package/contracts/shared/IRegistryLinked.sol +0 -1
  486. package/contracts/shared/IService.sol +12 -5
  487. package/contracts/shared/InitializableERC165.sol +49 -0
  488. package/contracts/shared/InstanceLinkedComponent.sol +192 -0
  489. package/contracts/shared/Lifecycle.sol +88 -0
  490. package/contracts/shared/NftIdSet.sol +65 -0
  491. package/contracts/shared/NftOwnable.sol +39 -30
  492. package/contracts/shared/PolicyHolder.sol +23 -41
  493. package/contracts/shared/Registerable.sol +54 -22
  494. package/contracts/shared/RegistryLinked.sol +11 -21
  495. package/contracts/shared/Service.sol +36 -41
  496. package/contracts/shared/TokenHandler.sol +322 -13
  497. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  498. package/contracts/staking/IStaking.sol +367 -0
  499. package/contracts/staking/IStakingService.sol +127 -0
  500. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  501. package/contracts/staking/Staking.sol +797 -0
  502. package/contracts/staking/StakingLib.sol +195 -0
  503. package/contracts/staking/StakingManager.sol +53 -0
  504. package/contracts/staking/StakingReader.sol +171 -0
  505. package/contracts/staking/StakingService.sol +320 -0
  506. package/contracts/staking/StakingServiceManager.sol +46 -0
  507. package/contracts/staking/StakingStore.sol +1368 -0
  508. package/contracts/staking/TargetHandler.sol +132 -0
  509. package/contracts/staking/TargetManagerLib.sol +234 -0
  510. package/contracts/{types → type}/AddressSet.sol +1 -1
  511. package/contracts/type/Amount.sol +154 -0
  512. package/contracts/{types → type}/Blocknumber.sol +36 -13
  513. package/contracts/type/ChainId.sol +101 -0
  514. package/contracts/{types → type}/ClaimId.sol +31 -3
  515. package/contracts/{types → type}/Fee.sol +28 -26
  516. package/contracts/{types → type}/Key32.sol +2 -2
  517. package/contracts/type/Key32Set.sol +62 -0
  518. package/contracts/{types → type}/NftId.sol +21 -16
  519. package/contracts/{types → type}/NftIdSet.sol +2 -2
  520. package/contracts/type/ObjectType.sol +307 -0
  521. package/contracts/type/PayoutId.sol +82 -0
  522. package/contracts/{types → type}/Referral.sol +2 -1
  523. package/contracts/type/RequestId.sol +75 -0
  524. package/contracts/type/RiskId.sol +75 -0
  525. package/contracts/type/RoleId.sol +180 -0
  526. package/contracts/type/Seconds.sol +120 -0
  527. package/contracts/type/Selector.sol +107 -0
  528. package/contracts/{types → type}/StateId.sol +47 -4
  529. package/contracts/type/String.sol +65 -0
  530. package/contracts/{types → type}/Timestamp.sol +23 -7
  531. package/contracts/type/UFixed.sol +263 -0
  532. package/contracts/{types → type}/Version.sol +58 -7
  533. package/contracts/{shared → upgradeability}/IVersionable.sol +4 -1
  534. package/contracts/{shared → upgradeability}/ProxyManager.sol +118 -41
  535. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +28 -0
  536. package/contracts/{shared → upgradeability}/Versionable.sol +9 -6
  537. package/package.json +12 -8
  538. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  539. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  540. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  541. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  542. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  543. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  544. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  545. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  546. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  547. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  548. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  549. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  550. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  551. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  552. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1330
  553. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  554. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
  555. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  556. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  557. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  558. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  559. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  560. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  561. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  562. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  563. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -237
  564. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  565. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  566. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  567. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  568. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1039
  569. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  570. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -673
  571. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  572. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1231
  573. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  574. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -721
  575. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  576. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -817
  577. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  578. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -641
  579. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  580. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1798
  581. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  582. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -805
  583. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  584. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  585. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  586. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +0 -475
  587. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  588. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  589. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  590. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  591. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +0 -450
  592. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  593. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1092
  594. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  595. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -697
  596. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  597. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1237
  598. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  599. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -661
  600. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  601. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -840
  602. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  603. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -653
  604. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  605. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  606. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  607. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -559
  608. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  609. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  610. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  611. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  612. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  613. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  614. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
  615. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  616. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  617. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  618. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  619. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  620. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  621. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  622. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  623. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  624. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  625. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -596
  626. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  627. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  628. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  629. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  630. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  631. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  632. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  633. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  634. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  635. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  636. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
  637. package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -161
  638. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  639. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  640. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  641. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  642. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  643. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  644. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  645. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  646. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  647. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
  648. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  649. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  650. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  651. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  652. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  653. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  654. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  655. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  656. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  657. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  658. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  659. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  660. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  661. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
  662. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  663. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  664. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  665. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  666. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  667. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  668. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  669. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  670. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  671. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -267
  672. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  673. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  674. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  675. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  676. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  677. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  678. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  679. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  680. package/contracts/components/Component.sol +0 -253
  681. package/contracts/components/Distribution.sol +0 -280
  682. package/contracts/components/IComponent.sol +0 -76
  683. package/contracts/components/IDistributionComponent.sol +0 -71
  684. package/contracts/components/IPoolComponent.sol +0 -113
  685. package/contracts/components/IProductComponent.sol +0 -40
  686. package/contracts/components/Pool.sol +0 -303
  687. package/contracts/components/Product.sol +0 -293
  688. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
  689. package/contracts/instance/BundleManager.sol +0 -127
  690. package/contracts/instance/Cloneable.sol +0 -51
  691. package/contracts/instance/InstanceAccessManager.sol +0 -527
  692. package/contracts/instance/ObjectManager.sol +0 -82
  693. package/contracts/instance/base/ComponentService.sol +0 -121
  694. package/contracts/instance/base/IKeyValueStore.sol +0 -49
  695. package/contracts/instance/base/KeyValueStore.sol +0 -180
  696. package/contracts/instance/base/Lifecycle.sol +0 -109
  697. package/contracts/instance/module/IAccess.sol +0 -54
  698. package/contracts/instance/module/ISetup.sol +0 -33
  699. package/contracts/instance/module/ITreasury.sol +0 -23
  700. package/contracts/instance/service/ApplicationService.sol +0 -350
  701. package/contracts/instance/service/BundleService.sol +0 -431
  702. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  703. package/contracts/instance/service/ClaimService.sol +0 -151
  704. package/contracts/instance/service/DistributionService.sol +0 -435
  705. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  706. package/contracts/instance/service/IBundleService.sol +0 -93
  707. package/contracts/instance/service/IClaimService.sol +0 -61
  708. package/contracts/instance/service/IDistributionService.sol +0 -99
  709. package/contracts/instance/service/IPolicyService.sol +0 -72
  710. package/contracts/instance/service/IPoolService.sol +0 -99
  711. package/contracts/instance/service/IProductService.sol +0 -40
  712. package/contracts/instance/service/PolicyService.sol +0 -362
  713. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  714. package/contracts/instance/service/PoolService.sol +0 -303
  715. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  716. package/contracts/instance/service/ProductService.sol +0 -210
  717. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  718. package/contracts/registry/RegistryAccessManager.sol +0 -216
  719. package/contracts/registry/ReleaseManager.sol +0 -324
  720. package/contracts/shared/ContractDeployerLib.sol +0 -72
  721. package/contracts/shared/ERC165.sol +0 -27
  722. package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
  723. package/contracts/test/TestFee.sol +0 -25
  724. package/contracts/test/TestRegisterable.sol +0 -18
  725. package/contracts/test/TestRoleId.sol +0 -14
  726. package/contracts/test/TestService.sol +0 -25
  727. package/contracts/test/TestToken.sol +0 -26
  728. package/contracts/test/TestVersion.sol +0 -44
  729. package/contracts/test/TestVersionable.sol +0 -17
  730. package/contracts/types/Amount.sol +0 -60
  731. package/contracts/types/ChainId.sol +0 -38
  732. package/contracts/types/NumberId.sol +0 -52
  733. package/contracts/types/ObjectType.sol +0 -157
  734. package/contracts/types/PayoutId.sol +0 -54
  735. package/contracts/types/RiskId.sol +0 -43
  736. package/contracts/types/RoleId.sol +0 -97
  737. package/contracts/types/Seconds.sol +0 -54
  738. package/contracts/types/UFixed.sol +0 -326
  739. /package/contracts/{types → type}/DistributorType.sol +0 -0
@@ -0,0 +1,958 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "PricingService",
4
+ "sourceName": "contracts/product/PricingService.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": "nftId",
60
+ "type": "uint96"
61
+ }
62
+ ],
63
+ "name": "ErrorNftOwnableAlreadyLinked",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
68
+ {
69
+ "internalType": "address",
70
+ "name": "contractAddress",
71
+ "type": "address"
72
+ }
73
+ ],
74
+ "name": "ErrorNftOwnableContractNotRegistered",
75
+ "type": "error"
76
+ },
77
+ {
78
+ "inputs": [],
79
+ "name": "ErrorNftOwnableInitialOwnerZero",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "NftId",
86
+ "name": "nftId",
87
+ "type": "uint96"
88
+ },
89
+ {
90
+ "internalType": "ObjectType",
91
+ "name": "expectedObjectType",
92
+ "type": "uint8"
93
+ }
94
+ ],
95
+ "name": "ErrorNftOwnableInvalidType",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "address",
102
+ "name": "account",
103
+ "type": "address"
104
+ }
105
+ ],
106
+ "name": "ErrorNftOwnableNotOwner",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [
111
+ {
112
+ "internalType": "address",
113
+ "name": "registryAddress",
114
+ "type": "address"
115
+ }
116
+ ],
117
+ "name": "ErrorNotRegistry",
118
+ "type": "error"
119
+ },
120
+ {
121
+ "inputs": [
122
+ {
123
+ "internalType": "NftId",
124
+ "name": "bundleNftId",
125
+ "type": "uint96"
126
+ },
127
+ {
128
+ "internalType": "NftId",
129
+ "name": "bundlePoolNftId",
130
+ "type": "uint96"
131
+ },
132
+ {
133
+ "internalType": "NftId",
134
+ "name": "poolNftId",
135
+ "type": "uint96"
136
+ }
137
+ ],
138
+ "name": "ErrorPricingServiceBundlePoolMismatch",
139
+ "type": "error"
140
+ },
141
+ {
142
+ "inputs": [
143
+ {
144
+ "internalType": "Amount",
145
+ "name": "distributionFeeFixAmount",
146
+ "type": "uint96"
147
+ },
148
+ {
149
+ "internalType": "Amount",
150
+ "name": "distributionFeeVarAmount",
151
+ "type": "uint96"
152
+ },
153
+ {
154
+ "internalType": "Amount",
155
+ "name": "distributionOwnerFeeFixAmount",
156
+ "type": "uint96"
157
+ },
158
+ {
159
+ "internalType": "Amount",
160
+ "name": "distributionOwnerFeeVarAmount",
161
+ "type": "uint96"
162
+ },
163
+ {
164
+ "internalType": "Amount",
165
+ "name": "commissionAmount",
166
+ "type": "uint96"
167
+ },
168
+ {
169
+ "internalType": "Amount",
170
+ "name": "discountAmount",
171
+ "type": "uint96"
172
+ }
173
+ ],
174
+ "name": "ErrorPricingServiceFeeCalculationMismatch",
175
+ "type": "error"
176
+ },
177
+ {
178
+ "inputs": [
179
+ {
180
+ "internalType": "RiskId",
181
+ "name": "riskId",
182
+ "type": "bytes8"
183
+ },
184
+ {
185
+ "internalType": "NftId",
186
+ "name": "riskProductNftId",
187
+ "type": "uint96"
188
+ },
189
+ {
190
+ "internalType": "NftId",
191
+ "name": "productNftId",
192
+ "type": "uint96"
193
+ }
194
+ ],
195
+ "name": "ErrorPricingServiceRiskProductMismatch",
196
+ "type": "error"
197
+ },
198
+ {
199
+ "inputs": [],
200
+ "name": "ErrorPricingServiceTargetWalletAmountsMismatch",
201
+ "type": "error"
202
+ },
203
+ {
204
+ "inputs": [],
205
+ "name": "ErrorRegisterableNotActive",
206
+ "type": "error"
207
+ },
208
+ {
209
+ "inputs": [],
210
+ "name": "ErrorVersionableInitializeNotImplemented",
211
+ "type": "error"
212
+ },
213
+ {
214
+ "inputs": [],
215
+ "name": "ErrorVersionableUpgradeNotImplemented",
216
+ "type": "error"
217
+ },
218
+ {
219
+ "inputs": [],
220
+ "name": "InvalidInitialization",
221
+ "type": "error"
222
+ },
223
+ {
224
+ "inputs": [],
225
+ "name": "NotInitializing",
226
+ "type": "error"
227
+ },
228
+ {
229
+ "inputs": [],
230
+ "name": "ReentrancyGuardReentrantCall",
231
+ "type": "error"
232
+ },
233
+ {
234
+ "anonymous": false,
235
+ "inputs": [
236
+ {
237
+ "indexed": false,
238
+ "internalType": "address",
239
+ "name": "authority",
240
+ "type": "address"
241
+ }
242
+ ],
243
+ "name": "AuthorityUpdated",
244
+ "type": "event"
245
+ },
246
+ {
247
+ "anonymous": false,
248
+ "inputs": [
249
+ {
250
+ "indexed": false,
251
+ "internalType": "uint64",
252
+ "name": "version",
253
+ "type": "uint64"
254
+ }
255
+ ],
256
+ "name": "Initialized",
257
+ "type": "event"
258
+ },
259
+ {
260
+ "anonymous": false,
261
+ "inputs": [
262
+ {
263
+ "indexed": false,
264
+ "internalType": "NftId",
265
+ "name": "nftId",
266
+ "type": "uint96"
267
+ },
268
+ {
269
+ "indexed": false,
270
+ "internalType": "address",
271
+ "name": "owner",
272
+ "type": "address"
273
+ }
274
+ ],
275
+ "name": "LogNftOwnableNftLinkedToAddress",
276
+ "type": "event"
277
+ },
278
+ {
279
+ "inputs": [],
280
+ "name": "INITIALIZABLE_ERC165_STORAGE_LOCATION_V3_0",
281
+ "outputs": [
282
+ {
283
+ "internalType": "bytes32",
284
+ "name": "",
285
+ "type": "bytes32"
286
+ }
287
+ ],
288
+ "stateMutability": "view",
289
+ "type": "function"
290
+ },
291
+ {
292
+ "inputs": [],
293
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V3_0",
294
+ "outputs": [
295
+ {
296
+ "internalType": "bytes32",
297
+ "name": "",
298
+ "type": "bytes32"
299
+ }
300
+ ],
301
+ "stateMutability": "view",
302
+ "type": "function"
303
+ },
304
+ {
305
+ "inputs": [],
306
+ "name": "PRICING_SERVICE_STORAGE_LOCATION_V3_0",
307
+ "outputs": [
308
+ {
309
+ "internalType": "bytes32",
310
+ "name": "",
311
+ "type": "bytes32"
312
+ }
313
+ ],
314
+ "stateMutability": "view",
315
+ "type": "function"
316
+ },
317
+ {
318
+ "inputs": [],
319
+ "name": "REGISTERABLE_STORAGE_LOCATION_V3_0",
320
+ "outputs": [
321
+ {
322
+ "internalType": "bytes32",
323
+ "name": "",
324
+ "type": "bytes32"
325
+ }
326
+ ],
327
+ "stateMutability": "view",
328
+ "type": "function"
329
+ },
330
+ {
331
+ "inputs": [],
332
+ "name": "authority",
333
+ "outputs": [
334
+ {
335
+ "internalType": "address",
336
+ "name": "",
337
+ "type": "address"
338
+ }
339
+ ],
340
+ "stateMutability": "view",
341
+ "type": "function"
342
+ },
343
+ {
344
+ "inputs": [
345
+ {
346
+ "internalType": "NftId",
347
+ "name": "productNftId",
348
+ "type": "uint96"
349
+ },
350
+ {
351
+ "internalType": "RiskId",
352
+ "name": "riskId",
353
+ "type": "bytes8"
354
+ },
355
+ {
356
+ "internalType": "Amount",
357
+ "name": "sumInsuredAmount",
358
+ "type": "uint96"
359
+ },
360
+ {
361
+ "internalType": "Seconds",
362
+ "name": "lifetime",
363
+ "type": "uint40"
364
+ },
365
+ {
366
+ "internalType": "bytes",
367
+ "name": "applicationData",
368
+ "type": "bytes"
369
+ },
370
+ {
371
+ "internalType": "NftId",
372
+ "name": "bundleNftId",
373
+ "type": "uint96"
374
+ },
375
+ {
376
+ "internalType": "ReferralId",
377
+ "name": "referralId",
378
+ "type": "bytes8"
379
+ }
380
+ ],
381
+ "name": "calculatePremium",
382
+ "outputs": [
383
+ {
384
+ "components": [
385
+ {
386
+ "internalType": "Amount",
387
+ "name": "productFeeAmount",
388
+ "type": "uint96"
389
+ },
390
+ {
391
+ "internalType": "Amount",
392
+ "name": "distributionFeeAndCommissionAmount",
393
+ "type": "uint96"
394
+ },
395
+ {
396
+ "internalType": "Amount",
397
+ "name": "poolPremiumAndFeeAmount",
398
+ "type": "uint96"
399
+ },
400
+ {
401
+ "internalType": "Amount",
402
+ "name": "netPremiumAmount",
403
+ "type": "uint96"
404
+ },
405
+ {
406
+ "internalType": "Amount",
407
+ "name": "fullPremiumAmount",
408
+ "type": "uint96"
409
+ },
410
+ {
411
+ "internalType": "Amount",
412
+ "name": "premiumAmount",
413
+ "type": "uint96"
414
+ },
415
+ {
416
+ "internalType": "Amount",
417
+ "name": "productFeeFixAmount",
418
+ "type": "uint96"
419
+ },
420
+ {
421
+ "internalType": "Amount",
422
+ "name": "poolFeeFixAmount",
423
+ "type": "uint96"
424
+ },
425
+ {
426
+ "internalType": "Amount",
427
+ "name": "bundleFeeFixAmount",
428
+ "type": "uint96"
429
+ },
430
+ {
431
+ "internalType": "Amount",
432
+ "name": "distributionFeeFixAmount",
433
+ "type": "uint96"
434
+ },
435
+ {
436
+ "internalType": "Amount",
437
+ "name": "productFeeVarAmount",
438
+ "type": "uint96"
439
+ },
440
+ {
441
+ "internalType": "Amount",
442
+ "name": "poolFeeVarAmount",
443
+ "type": "uint96"
444
+ },
445
+ {
446
+ "internalType": "Amount",
447
+ "name": "bundleFeeVarAmount",
448
+ "type": "uint96"
449
+ },
450
+ {
451
+ "internalType": "Amount",
452
+ "name": "distributionFeeVarAmount",
453
+ "type": "uint96"
454
+ },
455
+ {
456
+ "internalType": "Amount",
457
+ "name": "distributionOwnerFeeFixAmount",
458
+ "type": "uint96"
459
+ },
460
+ {
461
+ "internalType": "Amount",
462
+ "name": "distributionOwnerFeeVarAmount",
463
+ "type": "uint96"
464
+ },
465
+ {
466
+ "internalType": "Amount",
467
+ "name": "commissionAmount",
468
+ "type": "uint96"
469
+ },
470
+ {
471
+ "internalType": "Amount",
472
+ "name": "discountAmount",
473
+ "type": "uint96"
474
+ }
475
+ ],
476
+ "internalType": "struct IPolicy.PremiumInfo",
477
+ "name": "premium",
478
+ "type": "tuple"
479
+ }
480
+ ],
481
+ "stateMutability": "view",
482
+ "type": "function"
483
+ },
484
+ {
485
+ "inputs": [],
486
+ "name": "getDomain",
487
+ "outputs": [
488
+ {
489
+ "internalType": "ObjectType",
490
+ "name": "serviceDomain",
491
+ "type": "uint8"
492
+ }
493
+ ],
494
+ "stateMutability": "pure",
495
+ "type": "function"
496
+ },
497
+ {
498
+ "inputs": [],
499
+ "name": "getInitialInfo",
500
+ "outputs": [
501
+ {
502
+ "components": [
503
+ {
504
+ "internalType": "NftId",
505
+ "name": "nftId",
506
+ "type": "uint96"
507
+ },
508
+ {
509
+ "internalType": "NftId",
510
+ "name": "parentNftId",
511
+ "type": "uint96"
512
+ },
513
+ {
514
+ "internalType": "ObjectType",
515
+ "name": "objectType",
516
+ "type": "uint8"
517
+ },
518
+ {
519
+ "internalType": "bool",
520
+ "name": "isInterceptor",
521
+ "type": "bool"
522
+ },
523
+ {
524
+ "internalType": "address",
525
+ "name": "objectAddress",
526
+ "type": "address"
527
+ },
528
+ {
529
+ "internalType": "address",
530
+ "name": "initialOwner",
531
+ "type": "address"
532
+ },
533
+ {
534
+ "internalType": "bytes",
535
+ "name": "data",
536
+ "type": "bytes"
537
+ }
538
+ ],
539
+ "internalType": "struct IRegistry.ObjectInfo",
540
+ "name": "info",
541
+ "type": "tuple"
542
+ }
543
+ ],
544
+ "stateMutability": "view",
545
+ "type": "function"
546
+ },
547
+ {
548
+ "inputs": [],
549
+ "name": "getNftId",
550
+ "outputs": [
551
+ {
552
+ "internalType": "NftId",
553
+ "name": "",
554
+ "type": "uint96"
555
+ }
556
+ ],
557
+ "stateMutability": "view",
558
+ "type": "function"
559
+ },
560
+ {
561
+ "inputs": [],
562
+ "name": "getOwner",
563
+ "outputs": [
564
+ {
565
+ "internalType": "address",
566
+ "name": "",
567
+ "type": "address"
568
+ }
569
+ ],
570
+ "stateMutability": "view",
571
+ "type": "function"
572
+ },
573
+ {
574
+ "inputs": [],
575
+ "name": "getRegistry",
576
+ "outputs": [
577
+ {
578
+ "internalType": "contract IRegistry",
579
+ "name": "",
580
+ "type": "address"
581
+ }
582
+ ],
583
+ "stateMutability": "view",
584
+ "type": "function"
585
+ },
586
+ {
587
+ "inputs": [],
588
+ "name": "getRelease",
589
+ "outputs": [
590
+ {
591
+ "internalType": "VersionPart",
592
+ "name": "release",
593
+ "type": "uint8"
594
+ }
595
+ ],
596
+ "stateMutability": "view",
597
+ "type": "function"
598
+ },
599
+ {
600
+ "inputs": [],
601
+ "name": "getRoleId",
602
+ "outputs": [
603
+ {
604
+ "internalType": "RoleId",
605
+ "name": "serviceRoleId",
606
+ "type": "uint64"
607
+ }
608
+ ],
609
+ "stateMutability": "view",
610
+ "type": "function"
611
+ },
612
+ {
613
+ "inputs": [],
614
+ "name": "getVersion",
615
+ "outputs": [
616
+ {
617
+ "internalType": "Version",
618
+ "name": "",
619
+ "type": "uint24"
620
+ }
621
+ ],
622
+ "stateMutability": "pure",
623
+ "type": "function"
624
+ },
625
+ {
626
+ "inputs": [
627
+ {
628
+ "internalType": "address",
629
+ "name": "activatedBy",
630
+ "type": "address"
631
+ },
632
+ {
633
+ "internalType": "bytes",
634
+ "name": "data",
635
+ "type": "bytes"
636
+ }
637
+ ],
638
+ "name": "initializeVersionable",
639
+ "outputs": [],
640
+ "stateMutability": "nonpayable",
641
+ "type": "function"
642
+ },
643
+ {
644
+ "inputs": [],
645
+ "name": "isActive",
646
+ "outputs": [
647
+ {
648
+ "internalType": "bool",
649
+ "name": "active",
650
+ "type": "bool"
651
+ }
652
+ ],
653
+ "stateMutability": "view",
654
+ "type": "function"
655
+ },
656
+ {
657
+ "inputs": [],
658
+ "name": "isConsumingScheduledOp",
659
+ "outputs": [
660
+ {
661
+ "internalType": "bytes4",
662
+ "name": "",
663
+ "type": "bytes4"
664
+ }
665
+ ],
666
+ "stateMutability": "view",
667
+ "type": "function"
668
+ },
669
+ {
670
+ "inputs": [],
671
+ "name": "linkToRegisteredNftId",
672
+ "outputs": [
673
+ {
674
+ "internalType": "NftId",
675
+ "name": "nftId",
676
+ "type": "uint96"
677
+ }
678
+ ],
679
+ "stateMutability": "nonpayable",
680
+ "type": "function"
681
+ },
682
+ {
683
+ "inputs": [
684
+ {
685
+ "internalType": "address",
686
+ "name": "newAuthority",
687
+ "type": "address"
688
+ }
689
+ ],
690
+ "name": "setAuthority",
691
+ "outputs": [],
692
+ "stateMutability": "nonpayable",
693
+ "type": "function"
694
+ },
695
+ {
696
+ "inputs": [
697
+ {
698
+ "internalType": "bytes4",
699
+ "name": "interfaceId",
700
+ "type": "bytes4"
701
+ }
702
+ ],
703
+ "name": "supportsInterface",
704
+ "outputs": [
705
+ {
706
+ "internalType": "bool",
707
+ "name": "",
708
+ "type": "bool"
709
+ }
710
+ ],
711
+ "stateMutability": "view",
712
+ "type": "function"
713
+ },
714
+ {
715
+ "inputs": [
716
+ {
717
+ "internalType": "bytes",
718
+ "name": "data",
719
+ "type": "bytes"
720
+ }
721
+ ],
722
+ "name": "upgradeVersionable",
723
+ "outputs": [],
724
+ "stateMutability": "nonpayable",
725
+ "type": "function"
726
+ }
727
+ ],
728
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61388a806100d65f395ff3fe608060405234801561000f575f80fd5b5060043610610132575f3560e01c8063644c45e0116100b45780638fb36037116100795780638fb36037146102e3578063b4f273bd14610304578063b68d18091461032b578063bf7e214f14610332578063c725889f1461033a578063f4bfe53a1461034e575f80fd5b8063644c45e0146102715780636c741e781461028e57806376b707b7146102ae5780637a9e5e4b146102c8578063893d20e8146102db575f80fd5b80632d481fd6116100fa5780632d481fd6146101dc578063329d6e741461021157806349bb9e4b1461022657806355298fbc146102395780635ab1bd531461024d575f80fd5b806301ffc9a7146101365780630d8e6e2c146101835780630fec111c1461019f578063138461e0146101b457806322f3e2d4146101d4575b5f80fd5b61016e61014436600461276c565b6001600160e01b0319165f9081525f80516020613815833981519152602052604090205460ff1690565b60405190151581526020015b60405180910390f35b61018b61036e565b60405162ffffff909116815260200161017a565b6101a76103f5565b60405161017a91906127c1565b6101bc6105af565b6040516001600160601b03909116815260200161017a565b61016e6105b9565b6102037f69339118ac24f243948ace3f64dcbea8699f7f0061492066c280ac597f7bd50081565b60405190815260200161017a565b61022461021f3660046129c3565b610630565b005b610224610234366004612a08565b61077a565b6102035f8051602061381583398151915281565b5f546001600160a01b03165b6040516001600160a01b03909116815260200161017a565b5f805160206137f5833981519152546001600160601b03166101bc565b610296610876565b6040516001600160401b03909116815260200161017a565b6102b6610902565b60405160ff909116815260200161017a565b6102246102d6366004612a54565b61096a565b6102596109f5565b6102eb610b25565b6040516001600160e01b0319909116815260200161017a565b6102037f66ed5788a8bec6ff1e7b389e8e939876404dd6c85eb5e16ebccc687f21cd620081565b602a6102b6565b610259610b6d565b6102035f805160206137f583398151915281565b61036161035c366004612aaa565b610b9b565b60405161017a9190612b52565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156103cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f09190612d49565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f66ed5788a8bec6ff1e7b389e8e939876404dd6c85eb5e16ebccc687f21cd620090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156104a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104c59190612d7b565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161050d6109f5565b6001600160a01b0316815260200182600101805461052a90612d96565b80601f016020809104026020016040519081016040528092919081815260200182805461055690612d96565b80156105a15780601f10610578576101008083540402835291602001916105a1565b820191905f5260205f20905b81548152906001019060200180831161058457829003601f168201915b505050505081525091505090565b5f6103f03061117d565b5f6105c2610b6d565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610606573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061062a9190612ddd565b15905090565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61065261036e565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610690573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106b49190612e0a565b5f805160206138358339815191528054600160401b900460ff16806106e6575080546001600160401b03808416911610155b156107045760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561072e836113bd565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206138358339815191528054600160401b810460ff1615906001600160401b03165f811580156107ab5750825b90505f826001600160401b031660011480156107c65750303b155b9050811580156107d4575080155b156107f25760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561081c57845460ff60401b1916600160401b1785555b61082687876113de565b831561086d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe602a61089b610902565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af41580156108de573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f09190612e0a565b5f61090b610b6d565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610946573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f09190612e3e565b33610973610b6d565b6001600160a01b0316816001600160a01b0316146109b35760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f036109e8576040516361798f2f60e11b81526001600160a01b03831660048201526024016109aa565b6109f182611540565b5050565b5f805f805160206137f583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610a61573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a859190612ddd565b15610b0f575f546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610ae5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b099190612e64565b91505090565b54600160601b90046001600160a01b0316919050565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080545f9190600160a01b900460ff16610b5f575f610b09565b638fb3603760e01b91505090565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00546001600160a01b031690565b610ba36126d9565b610bae88600c6115b3565b610bb98360166115b3565b5f805f8073__$fb599632d08395912d9d70eb2f0f93b5e2$__63c52721a3610be85f546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201526001600160601b038f1660248201525f60448201526064015f60405180830381865af4158015610c3e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c659190810190612ece565b91509150806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ca5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cc99190612e64565b60405163887b1fa960e01b81526001600160c01b03198d1660048201529094505f906001600160a01b0386169063887b1fa9906024015f60405180830381865afa158015610d19573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d409190810190612fbb565b519050610d4d8d826116e6565b15610d8e57604051636e2b2e1f60e11b81526001600160c01b03198d1660048201526001600160601b0380831660248301528e1660448201526064016109aa565b82608001516001600160a01b031663f179d0648c8e8d8d6040518563ffffffff1660e01b8152600401610dc49493929190613068565b602060405180830381865afa158015610ddf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e039190612d7b565b6040516302d764c760e21b81526001600160601b038f1660048201529094505f93506001600160a01b0386169250630b5d931c91506024015f60405180830381865afa158015610e55573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e7c9190810190613130565b604051636a05a41360e01b81526001600160601b038d1660048201529091505f906001600160a01b03851690636a05a413906024016101c060405180830381865afa158015610ecd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ef19190613274565b604051634793b4ab60e01b81526001600160601b03891660048201529091505f906001600160a01b03861690634793b4ab906024015f60405180830381865afa158015610f40573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610f679190810190613311565b9050610f7b81606001518460a001516116e6565b15610fbe57606081015160a0840151604051631e393b2d60e31b81526001600160601b03808c1660048301529283166024820152911660448201526064016109aa565b610fc9848383611772565b9550610fd6868383611851565b9550610fe986838560c001518a89611b31565b9550610ff486611fb3565b95506110218660a0015161101c611012895f01518a6020015161205d565b896040015161205d565b6120e2565b1561103f57604051630f96c23560e01b815260040160405180910390fd5b611056866101c0015183606001516020015161216e565b156110cc576101208601516101a08701516101c08801516101e08901516102008a01516102208b0151604051630bd179a160e21b81526001600160601b039687166004820152948616602486015292851660448501529084166064840152831660848301529190911660a482015260c4016109aa565b6110f7866101a0015161101c6110ec8961022001518a6101e0015161205d565b89610200015161205d565b1561116d576101208601516101a08701516101c08801516101e08901516102008a01516102208b0151604051630bd179a160e21b81526001600160601b039687166004820152948616602486015292851660448501529084166064840152831660848301529190911660a482015260c4016109aa565b5050505050979650505050505050565b5f805f805160206137f583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156111e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061120d9190612ddd565b156112395780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016109aa565b5f546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561128a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112ae9190612ddd565b6112d65760405163b9304b0d60e01b81526001600160a01b03841660048201526024016109aa565b5f546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611327573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061134b9190612d7b565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b54906113976109f5565b6040516113a59291906133d5565b60405180910390a1546001600160601b031692915050565b6113c56121b8565b60405163502ec37160e01b815260040160405180910390fd5b5f805160206138358339815191528054600160401b810460ff1615906001600160401b03165f8115801561140f5750825b90505f826001600160401b0316600114801561142a5750303b155b905081158015611438575080155b156114565760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561148057845460ff60401b1916600160401b1785555b5f808780602001905181019061149691906133f7565b915091506114a582828b6121f0565b7f69339118ac24f243948ace3f64dcbea8699f7f0061492066c280ac597f7bd5006114d0600e612292565b81546001600160a01b0319166001600160a01b03919091161781556114fb637a5ff29d60e11b612319565b505050831561086d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610864565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611603573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116279190612ddd565b806116b457505f546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561168e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b29190612ddd565b155b156109f15760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016109aa565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af4158015611747573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061176b9190612ddd565b9392505050565b61177a6126d9565b6001600160601b03808516606083018190526080830181905284516020015191821660c08401526117ab908261205d565b6001600160601b0390811660808085018290528601516020015191821660e08501529091506117da908261205d565b6001600160601b0390811660808085018290528501516020015191821661010085015290915061180a908261205d565b6001600160601b039081166080840181905260408601516020015191821661012085015290915061183b908261205d565b6001600160601b03166080830152509392505050565b6118596126d9565b6060840151835151604051636e5912e760e01b81525f9173__$3bac17678db7ae928afa209f2f44deec9c$__91636e5912e7916118a4916001600160601b03871691906004016133d5565b602060405180830381865af41580156118bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118e39190612d7b565b6001600160601b0381166101408801526080870151909150611905908261205d565b6001600160601b0390811660808089019190915286015151604051636e5912e760e01b815273__$3bac17678db7ae928afa209f2f44deec9c$__92636e5912e79261195692918716916004016133d5565b602060405180830381865af4158015611971573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119959190612d7b565b6001600160601b03811661016088015260808701519091506119b7908261205d565b6001600160601b0390811660808089019190915285015151604051636e5912e760e01b815273__$3bac17678db7ae928afa209f2f44deec9c$__92636e5912e792611a0892918716916004016133d5565b602060405180830381865af4158015611a23573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a479190612d7b565b6001600160601b0381166101808801526080870151909150611a69908261205d565b6001600160601b039081166080880152604080870151519051636e5912e760e01b815273__$3bac17678db7ae928afa209f2f44deec9c$__92636e5912e792611ab892918716916004016133d5565b602060405180830381865af4158015611ad3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611af79190612d7b565b6001600160601b0381166101a08801526080870151909150611b19908261205d565b6001600160601b031660808701525093949350505050565b611b396126d9565b5f7f69339118ac24f243948ace3f64dcbea8699f7f0061492066c280ac597f7bd500604051630a4d29dd60e31b81526001600160601b038716600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015611bb4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bd89190612ddd565b80611c62575080546040516309741ce160e21b81526001600160601b03871660048201526001600160c01b0319861660248201526001600160a01b03909116906325d0738490604401602060405180830381865afa158015611c3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c609190612ddd565b155b15611c9f5750506101208501516001600160601b039081166101c08701526101a086015181166101e087015260808601511660a086015284611faa565b6060860151604051631d3be47760e01b81526001600160c01b0319861660048201525f906001600160a01b03861690631d3be477906024015f60405180830381865afa158015611cf1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611d189190810190613442565b60208101516040516313d8ebc960e11b81526001600160601b0390911660048201529091505f906001600160a01b038716906327b1d792906024015f60405180830381865afa158015611d6d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611d94919081019061352f565b80516040516368322c6360e11b81526001600160c01b031990911660048201529091505f906001600160a01b0388169063d06458c6906024015f60405180830381865afa158015611de7573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e0e91908101906135ce565b60608c015160e0820151604051636e5912e760e01b81529293505f9273__$3bac17678db7ae928afa209f2f44deec9c$__92636e5912e792611e5e926001600160601b03909216916004016133d5565b602060405180830381865af4158015611e79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e9d9190612d7b565b6001600160601b038082166102008f01526080808f015190870151604051636e5912e760e01b815293945073__$3bac17678db7ae928afa209f2f44deec9c$__93636e5912e793611ef3931691906004016133d5565b602060405180830381865af4158015611f0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f329190612d7b565b6001600160601b039081166102208e01526020860151166101c08d01526101a08c0151611f6e90611f639083612356565b8d6102200151612356565b6001600160601b03166101e08d015260808c01516102208d0151611f929190612356565b6001600160601b031660a08d0152508a955050505050505b95945050505050565b611fbb6126d9565b611fce8260c0015183610140015161205d565b6001600160601b031682526101208201516101e0830151611ffd91611ff29161205d565b83610200015161205d565b6001600160601b03166020830152606082015160e083015161204b91612040916120359161202a9161205d565b85610160015161205d565b84610100015161205d565b83610180015161205d565b6001600160601b031660408301525090565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af41580156120be573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061176b9190612d7b565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015612142573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121669190612ddd565b159392505050565b6040516304d40eb160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906309a81d629060440161172c565b5f8051602061383583398151915254600160401b900460ff166121ee57604051631afcd79f60e31b815260040160405180910390fd5b565b6121f86121b8565b6122006123a0565b61227d8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612241573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122659190612d7b565b60085f8660405180602001604052805f8152506123b0565b61228d63daf9067160e01b612319565b505050565b5f80546001600160a01b031663d39e6043836122ac610902565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156122ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123139190612e64565b92915050565b6123216121b8565b6001600160e01b031981165f9081525f8051602061381583398151915260205260409020805460ff1916600117905550565b50565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa22906044016120a3565b6123a86121b8565b6121ee6124f7565b6123b86121b8565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af415801561240e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124329190612ddd565b61245a5760405163cf6935e560e01b81526001600160a01b03881660048201526024016109aa565b61246387612525565b61246d8683612536565b5f7f66ed5788a8bec6ff1e7b389e8e939876404dd6c85eb5e16ebccc687f21cd620080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016124dc838261373a565b506124ed634a531f3360e01b612319565b5050505050505050565b6124ff6121b8565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b61252d6121b8565b612353816125ac565b61253e6121b8565b6125466125bd565b61254f8261260e565b6001600160a01b0381166125765760405163f17ef42d60e01b815260040160405180910390fd5b5f805160206137f583398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6125b46121b8565b61235381611540565b6125c56121b8565b6301ffc9a760e01b5f525f805160206138158339815191526020527f7449848146f4dbd52693c0731b5cd097b0a676ddfe6ffc213ebb4853f36e5619805460ff19166001179055565b6126166121b8565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af415801561266c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126909190612ddd565b6126b85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109aa565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905261022081019190915290565b5f6020828403121561277c575f80fd5b81356001600160e01b03198116811461176b575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612809608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261284d610100840182612793565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561288b5761288b612855565b60405290565b60405161010081016001600160401b038111828210171561288b5761288b612855565b60405160c081016001600160401b038111828210171561288b5761288b612855565b604051608081016001600160401b038111828210171561288b5761288b612855565b60405161014081016001600160401b038111828210171561288b5761288b612855565b604051601f8201601f191681016001600160401b038111828210171561294357612943612855565b604052919050565b5f6001600160401b0382111561296357612963612855565b50601f01601f191660200190565b5f82601f830112612980575f80fd5b813561299361298e8261294b565b61291b565b8181528460208386010111156129a7575f80fd5b816020850160208301375f918101602001919091529392505050565b5f602082840312156129d3575f80fd5b81356001600160401b038111156129e8575f80fd5b61284d84828501612971565b6001600160a01b0381168114612353575f80fd5b5f8060408385031215612a19575f80fd5b8235612a24816129f4565b915060208301356001600160401b03811115612a3e575f80fd5b612a4a85828601612971565b9150509250929050565b5f60208284031215612a64575f80fd5b813561176b816129f4565b6001600160601b0381168114612353575f80fd5b6001600160c01b031981168114612353575f80fd5b64ffffffffff81168114612353575f80fd5b5f805f805f805f60e0888a031215612ac0575f80fd5b8735612acb81612a6f565b96506020880135612adb81612a83565b95506040880135612aeb81612a6f565b94506060880135612afb81612a98565b935060808801356001600160401b03811115612b15575f80fd5b612b218a828b01612971565b93505060a0880135612b3281612a6f565b915060c0880135612b4281612a83565b8091505092959891949750929550565b81516001600160601b0316815261024081016020830151612b7e60208401826001600160601b03169052565b506040830151612b9960408401826001600160601b03169052565b506060830151612bb460608401826001600160601b03169052565b506080830151612bcf60808401826001600160601b03169052565b5060a0830151612bea60a08401826001600160601b03169052565b5060c0830151612c0560c08401826001600160601b03169052565b5060e0830151612c2060e08401826001600160601b03169052565b50610100830151612c3d6101008401826001600160601b03169052565b50610120830151612c5a6101208401826001600160601b03169052565b50610140830151612c776101408401826001600160601b03169052565b50610160830151612c946101608401826001600160601b03169052565b50610180830151612cb16101808401826001600160601b03169052565b506101a0830151612cce6101a08401826001600160601b03169052565b506101c0830151612ceb6101c08401826001600160601b03169052565b506101e0830151612d086101e08401826001600160601b03169052565b50610200830151612d256102008401826001600160601b03169052565b50610220830151612d426102208401826001600160601b03169052565b5092915050565b5f60208284031215612d59575f80fd5b815162ffffff8116811461176b575f80fd5b8051612d7681612a6f565b919050565b5f60208284031215612d8b575f80fd5b815161176b81612a6f565b600181811c90821680612daa57607f821691505b602082108103612dc857634e487b7160e01b5f52602260045260245ffd5b50919050565b80518015158114612d76575f80fd5b5f60208284031215612ded575f80fd5b61176b82612dce565b6001600160401b0381168114612353575f80fd5b5f60208284031215612e1a575f80fd5b815161176b81612df6565b60ff81168114612353575f80fd5b8051612d7681612e25565b5f60208284031215612e4e575f80fd5b815161176b81612e25565b8051612d76816129f4565b5f60208284031215612e74575f80fd5b815161176b816129f4565b5f82601f830112612e8e575f80fd5b8151602083015f612ea161298e8461294b565b9050828152858383011115612eb4575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f8060408385031215612edf575f80fd5b82516001600160401b03811115612ef4575f80fd5b830160e08186031215612f05575f80fd5b612f0d612869565b612f1682612d6b565b8152612f2460208301612d6b565b6020820152612f3560408301612e33565b6040820152612f4660608301612dce565b6060820152612f5760808301612e59565b6080820152612f6860a08301612e59565b60a082015260c08201516001600160401b03811115612f85575f80fd5b612f9187828501612e7f565b60c0830152509250612fa7905060208401612e59565b90509250929050565b8051612d7681612a98565b5f60208284031215612fcb575f80fd5b81516001600160401b03811115612fe0575f80fd5b820160608185031215612ff1575f80fd5b604051606081016001600160401b038111828210171561301357613013612855565b604052815161302181612a6f565b8152602082015161303181612a98565b602082015260408201516001600160401b0381111561304e575f80fd5b61305a86828501612e7f565b604083015250949350505050565b6001600160601b03851681526001600160401b0360c01b8416602082015264ffffffffff83166040820152608060608201525f6130a86080830184612793565b9695505050505050565b5f82601f8301126130c1575f80fd5b81516001600160401b038111156130da576130da612855565b8060051b6130ea6020820161291b565b91825260208185018101929081019086841115613105575f80fd5b6020860192505b838310156130a857825161311f81612a6f565b82526020928301929091019061310c565b5f60208284031215613140575f80fd5b81516001600160401b03811115613155575f80fd5b82016101008185031215613167575f80fd5b61316f612891565b61317882612dce565b815261318660208301612dce565b602082015261319760408301612dce565b60408201526131a860608301612e33565b60608201526131b960808301612e33565b60808201526131ca60a08301612d6b565b60a08201526131db60c08301612d6b565b60c082015260e08201516001600160401b038111156131f8575f80fd5b613204868285016130b2565b60e083015250949350505050565b5f60408284031215613222575f80fd5b604080519081016001600160401b038111828210171561324457613244612855565b80604052508091508251613257816129f4565b8152602083015161326781612a6f565b6020919091015292915050565b5f6101c0828403128015613286575f80fd5b5061328f612869565b6132998484613212565b81526132a88460408501613212565b60208201526132ba8460808501613212565b60408201526132cc8460c08501613212565b60608201526132df846101008501613212565b60808201526132f2846101408501613212565b60a0820152613305846101808501613212565b60c08201529392505050565b5f60208284031215613321575f80fd5b81516001600160401b03811115613336575f80fd5b820160e08185031215613347575f80fd5b61334f6128b4565b815161335a81612a98565b8152602082015161336a81612a98565b602082015261337b60408301612fb0565b604082015261338c60608301612d6b565b606082015261339e8560808401613212565b608082015260c08201516001600160401b038111156133bb575f80fd5b6133c786828501612e7f565b60a083015250949350505050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b5f8060408385031215613408575f80fd5b8251613413816129f4565b6020840151909250613424816129f4565b809150509250929050565b805163ffffffff81168114612d76575f80fd5b5f60208284031215613452575f80fd5b81516001600160401b03811115613467575f80fd5b82016101008185031215613479575f80fd5b613481612891565b61348a82612d6b565b815261349860208301612d6b565b60208201526134a96040830161342f565b60408201526134ba6060830161342f565b60608201526134cb60808301612e59565b60808201526134dc60a08301612fb0565b60a082015260c08201516001600160401b038111156134f9575f80fd5b61350586828501612e7f565b60c08301525060e08201516001600160401b03811115613523575f80fd5b61320486828501612e7f565b5f6020828403121561353f575f80fd5b81516001600160401b03811115613554575f80fd5b820160808185031215613565575f80fd5b61356d6128d6565b815161357881612a83565b815261358660208301612dce565b60208201526135976040830161342f565b604082015260608201516001600160401b038111156135b4575f80fd5b6135c086828501612e7f565b606083015250949350505050565b5f602082840312156135de575f80fd5b81516001600160401b038111156135f3575f80fd5b82016101408185031215613605575f80fd5b61360d6128f8565b61361682612e59565b815261362460208301612d6b565b602082015261363560408301612e59565b60408201526136466060830161342f565b606082015261365760808301612fb0565b608082015261366860a08301612dce565b60a082015261367960c08301612dce565b60c082015261368a60e08301612e59565b60e08201526101008201516001600160401b038111156136a8575f80fd5b6136b486828501612e7f565b610100830152506101208201516001600160401b038111156136d4575f80fd5b6136e086828501612e7f565b61012083015250949350505050565b601f82111561228d57805f5260205f20601f840160051c810160208510156137145750805b601f840160051c820191505b81811015613733575f8155600101613720565b5050505050565b81516001600160401b0381111561375357613753612855565b613767816137618454612d96565b846136ef565b6020601f821160018114613799575f83156137825750848201515b5f19600385901b1c1916600184901b178455613733565b5f84815260208120601f198516915b828110156137c857878501518255602094850194600190920191016137a8565b50848210156137e557868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe75a854a54bf614cac5ba72c2235143229b43a26f8eb448270fb97a467532e3002c5de3b4947d23a15785cdf804e1e581a3c5f54c0357f66e3f442def0f390100f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220613fab5dcef07895d18d8949a9eb309d819232baa915c6a8f0c7f60df29b66fb64736f6c634300081a0033",
729
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610132575f3560e01c8063644c45e0116100b45780638fb36037116100795780638fb36037146102e3578063b4f273bd14610304578063b68d18091461032b578063bf7e214f14610332578063c725889f1461033a578063f4bfe53a1461034e575f80fd5b8063644c45e0146102715780636c741e781461028e57806376b707b7146102ae5780637a9e5e4b146102c8578063893d20e8146102db575f80fd5b80632d481fd6116100fa5780632d481fd6146101dc578063329d6e741461021157806349bb9e4b1461022657806355298fbc146102395780635ab1bd531461024d575f80fd5b806301ffc9a7146101365780630d8e6e2c146101835780630fec111c1461019f578063138461e0146101b457806322f3e2d4146101d4575b5f80fd5b61016e61014436600461276c565b6001600160e01b0319165f9081525f80516020613815833981519152602052604090205460ff1690565b60405190151581526020015b60405180910390f35b61018b61036e565b60405162ffffff909116815260200161017a565b6101a76103f5565b60405161017a91906127c1565b6101bc6105af565b6040516001600160601b03909116815260200161017a565b61016e6105b9565b6102037f69339118ac24f243948ace3f64dcbea8699f7f0061492066c280ac597f7bd50081565b60405190815260200161017a565b61022461021f3660046129c3565b610630565b005b610224610234366004612a08565b61077a565b6102035f8051602061381583398151915281565b5f546001600160a01b03165b6040516001600160a01b03909116815260200161017a565b5f805160206137f5833981519152546001600160601b03166101bc565b610296610876565b6040516001600160401b03909116815260200161017a565b6102b6610902565b60405160ff909116815260200161017a565b6102246102d6366004612a54565b61096a565b6102596109f5565b6102eb610b25565b6040516001600160e01b0319909116815260200161017a565b6102037f66ed5788a8bec6ff1e7b389e8e939876404dd6c85eb5e16ebccc687f21cd620081565b602a6102b6565b610259610b6d565b6102035f805160206137f583398151915281565b61036161035c366004612aaa565b610b9b565b60405161017a9190612b52565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156103cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f09190612d49565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f66ed5788a8bec6ff1e7b389e8e939876404dd6c85eb5e16ebccc687f21cd620090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156104a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104c59190612d7b565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161050d6109f5565b6001600160a01b0316815260200182600101805461052a90612d96565b80601f016020809104026020016040519081016040528092919081815260200182805461055690612d96565b80156105a15780601f10610578576101008083540402835291602001916105a1565b820191905f5260205f20905b81548152906001019060200180831161058457829003601f168201915b505050505081525091505090565b5f6103f03061117d565b5f6105c2610b6d565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610606573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061062a9190612ddd565b15905090565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61065261036e565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610690573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106b49190612e0a565b5f805160206138358339815191528054600160401b900460ff16806106e6575080546001600160401b03808416911610155b156107045760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561072e836113bd565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206138358339815191528054600160401b810460ff1615906001600160401b03165f811580156107ab5750825b90505f826001600160401b031660011480156107c65750303b155b9050811580156107d4575080155b156107f25760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561081c57845460ff60401b1916600160401b1785555b61082687876113de565b831561086d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe602a61089b610902565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af41580156108de573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f09190612e0a565b5f61090b610b6d565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610946573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f09190612e3e565b33610973610b6d565b6001600160a01b0316816001600160a01b0316146109b35760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f036109e8576040516361798f2f60e11b81526001600160a01b03831660048201526024016109aa565b6109f182611540565b5050565b5f805f805160206137f583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610a61573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a859190612ddd565b15610b0f575f546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610ae5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b099190612e64565b91505090565b54600160601b90046001600160a01b0316919050565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080545f9190600160a01b900460ff16610b5f575f610b09565b638fb3603760e01b91505090565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00546001600160a01b031690565b610ba36126d9565b610bae88600c6115b3565b610bb98360166115b3565b5f805f8073__$fb599632d08395912d9d70eb2f0f93b5e2$__63c52721a3610be85f546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201526001600160601b038f1660248201525f60448201526064015f60405180830381865af4158015610c3e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c659190810190612ece565b91509150806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ca5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cc99190612e64565b60405163887b1fa960e01b81526001600160c01b03198d1660048201529094505f906001600160a01b0386169063887b1fa9906024015f60405180830381865afa158015610d19573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d409190810190612fbb565b519050610d4d8d826116e6565b15610d8e57604051636e2b2e1f60e11b81526001600160c01b03198d1660048201526001600160601b0380831660248301528e1660448201526064016109aa565b82608001516001600160a01b031663f179d0648c8e8d8d6040518563ffffffff1660e01b8152600401610dc49493929190613068565b602060405180830381865afa158015610ddf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e039190612d7b565b6040516302d764c760e21b81526001600160601b038f1660048201529094505f93506001600160a01b0386169250630b5d931c91506024015f60405180830381865afa158015610e55573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e7c9190810190613130565b604051636a05a41360e01b81526001600160601b038d1660048201529091505f906001600160a01b03851690636a05a413906024016101c060405180830381865afa158015610ecd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ef19190613274565b604051634793b4ab60e01b81526001600160601b03891660048201529091505f906001600160a01b03861690634793b4ab906024015f60405180830381865afa158015610f40573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610f679190810190613311565b9050610f7b81606001518460a001516116e6565b15610fbe57606081015160a0840151604051631e393b2d60e31b81526001600160601b03808c1660048301529283166024820152911660448201526064016109aa565b610fc9848383611772565b9550610fd6868383611851565b9550610fe986838560c001518a89611b31565b9550610ff486611fb3565b95506110218660a0015161101c611012895f01518a6020015161205d565b896040015161205d565b6120e2565b1561103f57604051630f96c23560e01b815260040160405180910390fd5b611056866101c0015183606001516020015161216e565b156110cc576101208601516101a08701516101c08801516101e08901516102008a01516102208b0151604051630bd179a160e21b81526001600160601b039687166004820152948616602486015292851660448501529084166064840152831660848301529190911660a482015260c4016109aa565b6110f7866101a0015161101c6110ec8961022001518a6101e0015161205d565b89610200015161205d565b1561116d576101208601516101a08701516101c08801516101e08901516102008a01516102208b0151604051630bd179a160e21b81526001600160601b039687166004820152948616602486015292851660448501529084166064840152831660848301529190911660a482015260c4016109aa565b5050505050979650505050505050565b5f805f805160206137f583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156111e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061120d9190612ddd565b156112395780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016109aa565b5f546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561128a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112ae9190612ddd565b6112d65760405163b9304b0d60e01b81526001600160a01b03841660048201526024016109aa565b5f546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611327573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061134b9190612d7b565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b54906113976109f5565b6040516113a59291906133d5565b60405180910390a1546001600160601b031692915050565b6113c56121b8565b60405163502ec37160e01b815260040160405180910390fd5b5f805160206138358339815191528054600160401b810460ff1615906001600160401b03165f8115801561140f5750825b90505f826001600160401b0316600114801561142a5750303b155b905081158015611438575080155b156114565760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561148057845460ff60401b1916600160401b1785555b5f808780602001905181019061149691906133f7565b915091506114a582828b6121f0565b7f69339118ac24f243948ace3f64dcbea8699f7f0061492066c280ac597f7bd5006114d0600e612292565b81546001600160a01b0319166001600160a01b03919091161781556114fb637a5ff29d60e11b612319565b505050831561086d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610864565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611603573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116279190612ddd565b806116b457505f546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561168e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b29190612ddd565b155b156109f15760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016109aa565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af4158015611747573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061176b9190612ddd565b9392505050565b61177a6126d9565b6001600160601b03808516606083018190526080830181905284516020015191821660c08401526117ab908261205d565b6001600160601b0390811660808085018290528601516020015191821660e08501529091506117da908261205d565b6001600160601b0390811660808085018290528501516020015191821661010085015290915061180a908261205d565b6001600160601b039081166080840181905260408601516020015191821661012085015290915061183b908261205d565b6001600160601b03166080830152509392505050565b6118596126d9565b6060840151835151604051636e5912e760e01b81525f9173__$3bac17678db7ae928afa209f2f44deec9c$__91636e5912e7916118a4916001600160601b03871691906004016133d5565b602060405180830381865af41580156118bf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118e39190612d7b565b6001600160601b0381166101408801526080870151909150611905908261205d565b6001600160601b0390811660808089019190915286015151604051636e5912e760e01b815273__$3bac17678db7ae928afa209f2f44deec9c$__92636e5912e79261195692918716916004016133d5565b602060405180830381865af4158015611971573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119959190612d7b565b6001600160601b03811661016088015260808701519091506119b7908261205d565b6001600160601b0390811660808089019190915285015151604051636e5912e760e01b815273__$3bac17678db7ae928afa209f2f44deec9c$__92636e5912e792611a0892918716916004016133d5565b602060405180830381865af4158015611a23573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a479190612d7b565b6001600160601b0381166101808801526080870151909150611a69908261205d565b6001600160601b039081166080880152604080870151519051636e5912e760e01b815273__$3bac17678db7ae928afa209f2f44deec9c$__92636e5912e792611ab892918716916004016133d5565b602060405180830381865af4158015611ad3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611af79190612d7b565b6001600160601b0381166101a08801526080870151909150611b19908261205d565b6001600160601b031660808701525093949350505050565b611b396126d9565b5f7f69339118ac24f243948ace3f64dcbea8699f7f0061492066c280ac597f7bd500604051630a4d29dd60e31b81526001600160601b038716600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015611bb4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bd89190612ddd565b80611c62575080546040516309741ce160e21b81526001600160601b03871660048201526001600160c01b0319861660248201526001600160a01b03909116906325d0738490604401602060405180830381865afa158015611c3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c609190612ddd565b155b15611c9f5750506101208501516001600160601b039081166101c08701526101a086015181166101e087015260808601511660a086015284611faa565b6060860151604051631d3be47760e01b81526001600160c01b0319861660048201525f906001600160a01b03861690631d3be477906024015f60405180830381865afa158015611cf1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611d189190810190613442565b60208101516040516313d8ebc960e11b81526001600160601b0390911660048201529091505f906001600160a01b038716906327b1d792906024015f60405180830381865afa158015611d6d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611d94919081019061352f565b80516040516368322c6360e11b81526001600160c01b031990911660048201529091505f906001600160a01b0388169063d06458c6906024015f60405180830381865afa158015611de7573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611e0e91908101906135ce565b60608c015160e0820151604051636e5912e760e01b81529293505f9273__$3bac17678db7ae928afa209f2f44deec9c$__92636e5912e792611e5e926001600160601b03909216916004016133d5565b602060405180830381865af4158015611e79573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e9d9190612d7b565b6001600160601b038082166102008f01526080808f015190870151604051636e5912e760e01b815293945073__$3bac17678db7ae928afa209f2f44deec9c$__93636e5912e793611ef3931691906004016133d5565b602060405180830381865af4158015611f0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f329190612d7b565b6001600160601b039081166102208e01526020860151166101c08d01526101a08c0151611f6e90611f639083612356565b8d6102200151612356565b6001600160601b03166101e08d015260808c01516102208d0151611f929190612356565b6001600160601b031660a08d0152508a955050505050505b95945050505050565b611fbb6126d9565b611fce8260c0015183610140015161205d565b6001600160601b031682526101208201516101e0830151611ffd91611ff29161205d565b83610200015161205d565b6001600160601b03166020830152606082015160e083015161204b91612040916120359161202a9161205d565b85610160015161205d565b84610100015161205d565b83610180015161205d565b6001600160601b031660408301525090565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af41580156120be573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061176b9190612d7b565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015612142573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121669190612ddd565b159392505050565b6040516304d40eb160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906309a81d629060440161172c565b5f8051602061383583398151915254600160401b900460ff166121ee57604051631afcd79f60e31b815260040160405180910390fd5b565b6121f86121b8565b6122006123a0565b61227d8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612241573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122659190612d7b565b60085f8660405180602001604052805f8152506123b0565b61228d63daf9067160e01b612319565b505050565b5f80546001600160a01b031663d39e6043836122ac610902565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156122ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123139190612e64565b92915050565b6123216121b8565b6001600160e01b031981165f9081525f8051602061381583398151915260205260409020805460ff1916600117905550565b50565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa22906044016120a3565b6123a86121b8565b6121ee6124f7565b6123b86121b8565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af415801561240e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124329190612ddd565b61245a5760405163cf6935e560e01b81526001600160a01b03881660048201526024016109aa565b61246387612525565b61246d8683612536565b5f7f66ed5788a8bec6ff1e7b389e8e939876404dd6c85eb5e16ebccc687f21cd620080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016124dc838261373a565b506124ed634a531f3360e01b612319565b5050505050505050565b6124ff6121b8565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b61252d6121b8565b612353816125ac565b61253e6121b8565b6125466125bd565b61254f8261260e565b6001600160a01b0381166125765760405163f17ef42d60e01b815260040160405180910390fd5b5f805160206137f583398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6125b46121b8565b61235381611540565b6125c56121b8565b6301ffc9a760e01b5f525f805160206138158339815191526020527f7449848146f4dbd52693c0731b5cd097b0a676ddfe6ffc213ebb4853f36e5619805460ff19166001179055565b6126166121b8565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af415801561266c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126909190612ddd565b6126b85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109aa565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905261022081019190915290565b5f6020828403121561277c575f80fd5b81356001600160e01b03198116811461176b575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612809608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261284d610100840182612793565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561288b5761288b612855565b60405290565b60405161010081016001600160401b038111828210171561288b5761288b612855565b60405160c081016001600160401b038111828210171561288b5761288b612855565b604051608081016001600160401b038111828210171561288b5761288b612855565b60405161014081016001600160401b038111828210171561288b5761288b612855565b604051601f8201601f191681016001600160401b038111828210171561294357612943612855565b604052919050565b5f6001600160401b0382111561296357612963612855565b50601f01601f191660200190565b5f82601f830112612980575f80fd5b813561299361298e8261294b565b61291b565b8181528460208386010111156129a7575f80fd5b816020850160208301375f918101602001919091529392505050565b5f602082840312156129d3575f80fd5b81356001600160401b038111156129e8575f80fd5b61284d84828501612971565b6001600160a01b0381168114612353575f80fd5b5f8060408385031215612a19575f80fd5b8235612a24816129f4565b915060208301356001600160401b03811115612a3e575f80fd5b612a4a85828601612971565b9150509250929050565b5f60208284031215612a64575f80fd5b813561176b816129f4565b6001600160601b0381168114612353575f80fd5b6001600160c01b031981168114612353575f80fd5b64ffffffffff81168114612353575f80fd5b5f805f805f805f60e0888a031215612ac0575f80fd5b8735612acb81612a6f565b96506020880135612adb81612a83565b95506040880135612aeb81612a6f565b94506060880135612afb81612a98565b935060808801356001600160401b03811115612b15575f80fd5b612b218a828b01612971565b93505060a0880135612b3281612a6f565b915060c0880135612b4281612a83565b8091505092959891949750929550565b81516001600160601b0316815261024081016020830151612b7e60208401826001600160601b03169052565b506040830151612b9960408401826001600160601b03169052565b506060830151612bb460608401826001600160601b03169052565b506080830151612bcf60808401826001600160601b03169052565b5060a0830151612bea60a08401826001600160601b03169052565b5060c0830151612c0560c08401826001600160601b03169052565b5060e0830151612c2060e08401826001600160601b03169052565b50610100830151612c3d6101008401826001600160601b03169052565b50610120830151612c5a6101208401826001600160601b03169052565b50610140830151612c776101408401826001600160601b03169052565b50610160830151612c946101608401826001600160601b03169052565b50610180830151612cb16101808401826001600160601b03169052565b506101a0830151612cce6101a08401826001600160601b03169052565b506101c0830151612ceb6101c08401826001600160601b03169052565b506101e0830151612d086101e08401826001600160601b03169052565b50610200830151612d256102008401826001600160601b03169052565b50610220830151612d426102208401826001600160601b03169052565b5092915050565b5f60208284031215612d59575f80fd5b815162ffffff8116811461176b575f80fd5b8051612d7681612a6f565b919050565b5f60208284031215612d8b575f80fd5b815161176b81612a6f565b600181811c90821680612daa57607f821691505b602082108103612dc857634e487b7160e01b5f52602260045260245ffd5b50919050565b80518015158114612d76575f80fd5b5f60208284031215612ded575f80fd5b61176b82612dce565b6001600160401b0381168114612353575f80fd5b5f60208284031215612e1a575f80fd5b815161176b81612df6565b60ff81168114612353575f80fd5b8051612d7681612e25565b5f60208284031215612e4e575f80fd5b815161176b81612e25565b8051612d76816129f4565b5f60208284031215612e74575f80fd5b815161176b816129f4565b5f82601f830112612e8e575f80fd5b8151602083015f612ea161298e8461294b565b9050828152858383011115612eb4575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f8060408385031215612edf575f80fd5b82516001600160401b03811115612ef4575f80fd5b830160e08186031215612f05575f80fd5b612f0d612869565b612f1682612d6b565b8152612f2460208301612d6b565b6020820152612f3560408301612e33565b6040820152612f4660608301612dce565b6060820152612f5760808301612e59565b6080820152612f6860a08301612e59565b60a082015260c08201516001600160401b03811115612f85575f80fd5b612f9187828501612e7f565b60c0830152509250612fa7905060208401612e59565b90509250929050565b8051612d7681612a98565b5f60208284031215612fcb575f80fd5b81516001600160401b03811115612fe0575f80fd5b820160608185031215612ff1575f80fd5b604051606081016001600160401b038111828210171561301357613013612855565b604052815161302181612a6f565b8152602082015161303181612a98565b602082015260408201516001600160401b0381111561304e575f80fd5b61305a86828501612e7f565b604083015250949350505050565b6001600160601b03851681526001600160401b0360c01b8416602082015264ffffffffff83166040820152608060608201525f6130a86080830184612793565b9695505050505050565b5f82601f8301126130c1575f80fd5b81516001600160401b038111156130da576130da612855565b8060051b6130ea6020820161291b565b91825260208185018101929081019086841115613105575f80fd5b6020860192505b838310156130a857825161311f81612a6f565b82526020928301929091019061310c565b5f60208284031215613140575f80fd5b81516001600160401b03811115613155575f80fd5b82016101008185031215613167575f80fd5b61316f612891565b61317882612dce565b815261318660208301612dce565b602082015261319760408301612dce565b60408201526131a860608301612e33565b60608201526131b960808301612e33565b60808201526131ca60a08301612d6b565b60a08201526131db60c08301612d6b565b60c082015260e08201516001600160401b038111156131f8575f80fd5b613204868285016130b2565b60e083015250949350505050565b5f60408284031215613222575f80fd5b604080519081016001600160401b038111828210171561324457613244612855565b80604052508091508251613257816129f4565b8152602083015161326781612a6f565b6020919091015292915050565b5f6101c0828403128015613286575f80fd5b5061328f612869565b6132998484613212565b81526132a88460408501613212565b60208201526132ba8460808501613212565b60408201526132cc8460c08501613212565b60608201526132df846101008501613212565b60808201526132f2846101408501613212565b60a0820152613305846101808501613212565b60c08201529392505050565b5f60208284031215613321575f80fd5b81516001600160401b03811115613336575f80fd5b820160e08185031215613347575f80fd5b61334f6128b4565b815161335a81612a98565b8152602082015161336a81612a98565b602082015261337b60408301612fb0565b604082015261338c60608301612d6b565b606082015261339e8560808401613212565b608082015260c08201516001600160401b038111156133bb575f80fd5b6133c786828501612e7f565b60a083015250949350505050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b5f8060408385031215613408575f80fd5b8251613413816129f4565b6020840151909250613424816129f4565b809150509250929050565b805163ffffffff81168114612d76575f80fd5b5f60208284031215613452575f80fd5b81516001600160401b03811115613467575f80fd5b82016101008185031215613479575f80fd5b613481612891565b61348a82612d6b565b815261349860208301612d6b565b60208201526134a96040830161342f565b60408201526134ba6060830161342f565b60608201526134cb60808301612e59565b60808201526134dc60a08301612fb0565b60a082015260c08201516001600160401b038111156134f9575f80fd5b61350586828501612e7f565b60c08301525060e08201516001600160401b03811115613523575f80fd5b61320486828501612e7f565b5f6020828403121561353f575f80fd5b81516001600160401b03811115613554575f80fd5b820160808185031215613565575f80fd5b61356d6128d6565b815161357881612a83565b815261358660208301612dce565b60208201526135976040830161342f565b604082015260608201516001600160401b038111156135b4575f80fd5b6135c086828501612e7f565b606083015250949350505050565b5f602082840312156135de575f80fd5b81516001600160401b038111156135f3575f80fd5b82016101408185031215613605575f80fd5b61360d6128f8565b61361682612e59565b815261362460208301612d6b565b602082015261363560408301612e59565b60408201526136466060830161342f565b606082015261365760808301612fb0565b608082015261366860a08301612dce565b60a082015261367960c08301612dce565b60c082015261368a60e08301612e59565b60e08201526101008201516001600160401b038111156136a8575f80fd5b6136b486828501612e7f565b610100830152506101208201516001600160401b038111156136d4575f80fd5b6136e086828501612e7f565b61012083015250949350505050565b601f82111561228d57805f5260205f20601f840160051c810160208510156137145750805b601f840160051c820191505b81811015613733575f8155600101613720565b5050505050565b81516001600160401b0381111561375357613753612855565b613767816137618454612d96565b846136ef565b6020601f821160018114613799575f83156137825750848201515b5f19600385901b1c1916600184901b178455613733565b5f84815260208120601f198516915b828110156137c857878501518255602094850194600190920191016137a8565b50848210156137e557868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe75a854a54bf614cac5ba72c2235143229b43a26f8eb448270fb97a467532e3002c5de3b4947d23a15785cdf804e1e581a3c5f54c0357f66e3f442def0f390100f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220613fab5dcef07895d18d8949a9eb309d819232baa915c6a8f0c7f60df29b66fb64736f6c634300081a0033",
730
+ "linkReferences": {
731
+ "contracts/shared/ContractLib.sol": {
732
+ "ContractLib": [
733
+ {
734
+ "length": 20,
735
+ "start": 3221
736
+ },
737
+ {
738
+ "length": 20,
739
+ "start": 9388
740
+ },
741
+ {
742
+ "length": 20,
743
+ "start": 9994
744
+ }
745
+ ]
746
+ },
747
+ "contracts/type/Amount.sol": {
748
+ "AmountLib": [
749
+ {
750
+ "length": 20,
751
+ "start": 6472
752
+ },
753
+ {
754
+ "length": 20,
755
+ "start": 6658
756
+ },
757
+ {
758
+ "length": 20,
759
+ "start": 6836
760
+ },
761
+ {
762
+ "length": 20,
763
+ "start": 7012
764
+ },
765
+ {
766
+ "length": 20,
767
+ "start": 7938
768
+ },
769
+ {
770
+ "length": 20,
771
+ "start": 8096
772
+ },
773
+ {
774
+ "length": 20,
775
+ "start": 8539
776
+ },
777
+ {
778
+ "length": 20,
779
+ "start": 8672
780
+ },
781
+ {
782
+ "length": 20,
783
+ "start": 8812
784
+ },
785
+ {
786
+ "length": 20,
787
+ "start": 9300
788
+ }
789
+ ]
790
+ },
791
+ "contracts/type/NftId.sol": {
792
+ "NftIdLib": [
793
+ {
794
+ "length": 20,
795
+ "start": 1330
796
+ },
797
+ {
798
+ "length": 20,
799
+ "start": 2815
800
+ },
801
+ {
802
+ "length": 20,
803
+ "start": 4743
804
+ },
805
+ {
806
+ "length": 20,
807
+ "start": 6116
808
+ },
809
+ {
810
+ "length": 20,
811
+ "start": 7250
812
+ }
813
+ ]
814
+ },
815
+ "contracts/type/ObjectType.sol": {
816
+ "ObjectTypeLib": [
817
+ {
818
+ "length": 20,
819
+ "start": 5793
820
+ }
821
+ ]
822
+ },
823
+ "contracts/type/RoleId.sol": {
824
+ "RoleIdLib": [
825
+ {
826
+ "length": 20,
827
+ "start": 2383
828
+ }
829
+ ]
830
+ },
831
+ "contracts/type/Version.sol": {
832
+ "VersionLib": [
833
+ {
834
+ "length": 20,
835
+ "start": 1130
836
+ },
837
+ {
838
+ "length": 20,
839
+ "start": 1800
840
+ }
841
+ ]
842
+ }
843
+ },
844
+ "deployedLinkReferences": {
845
+ "contracts/shared/ContractLib.sol": {
846
+ "ContractLib": [
847
+ {
848
+ "length": 20,
849
+ "start": 3007
850
+ },
851
+ {
852
+ "length": 20,
853
+ "start": 9174
854
+ },
855
+ {
856
+ "length": 20,
857
+ "start": 9780
858
+ }
859
+ ]
860
+ },
861
+ "contracts/type/Amount.sol": {
862
+ "AmountLib": [
863
+ {
864
+ "length": 20,
865
+ "start": 6258
866
+ },
867
+ {
868
+ "length": 20,
869
+ "start": 6444
870
+ },
871
+ {
872
+ "length": 20,
873
+ "start": 6622
874
+ },
875
+ {
876
+ "length": 20,
877
+ "start": 6798
878
+ },
879
+ {
880
+ "length": 20,
881
+ "start": 7724
882
+ },
883
+ {
884
+ "length": 20,
885
+ "start": 7882
886
+ },
887
+ {
888
+ "length": 20,
889
+ "start": 8325
890
+ },
891
+ {
892
+ "length": 20,
893
+ "start": 8458
894
+ },
895
+ {
896
+ "length": 20,
897
+ "start": 8598
898
+ },
899
+ {
900
+ "length": 20,
901
+ "start": 9086
902
+ }
903
+ ]
904
+ },
905
+ "contracts/type/NftId.sol": {
906
+ "NftIdLib": [
907
+ {
908
+ "length": 20,
909
+ "start": 1116
910
+ },
911
+ {
912
+ "length": 20,
913
+ "start": 2601
914
+ },
915
+ {
916
+ "length": 20,
917
+ "start": 4529
918
+ },
919
+ {
920
+ "length": 20,
921
+ "start": 5902
922
+ },
923
+ {
924
+ "length": 20,
925
+ "start": 7036
926
+ }
927
+ ]
928
+ },
929
+ "contracts/type/ObjectType.sol": {
930
+ "ObjectTypeLib": [
931
+ {
932
+ "length": 20,
933
+ "start": 5579
934
+ }
935
+ ]
936
+ },
937
+ "contracts/type/RoleId.sol": {
938
+ "RoleIdLib": [
939
+ {
940
+ "length": 20,
941
+ "start": 2169
942
+ }
943
+ ]
944
+ },
945
+ "contracts/type/Version.sol": {
946
+ "VersionLib": [
947
+ {
948
+ "length": 20,
949
+ "start": 916
950
+ },
951
+ {
952
+ "length": 20,
953
+ "start": 1586
954
+ }
955
+ ]
956
+ }
957
+ }
958
+ }