@etherisc/gif-next 0.0.2-d81820a-051 → 0.0.2-d8532da-980

Sign up to get free protection for your applications and to get access to all the features.
Files changed (762) hide show
  1. package/README.md +138 -23
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1056 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +771 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +824 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1225 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +930 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1831 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +931 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +829 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1266 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1461 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2026 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1404 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1628 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2452 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +659 -1230
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +667 -152
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +693 -3014
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2349 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1963 -739
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +686 -410
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +370 -129
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3784 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  102. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  103. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  106. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  107. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +938 -0
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  115. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → oracle/IOracleComponent.sol/IOracleComponent.json} +397 -372
  116. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +743 -0
  118. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +854 -0
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1023 -0
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +791 -0
  124. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  125. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1231 -0
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1435 -0
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +851 -0
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +1022 -0
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  135. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +886 -0
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1430 -0
  138. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  139. package/artifacts/contracts/pool/Pool.sol/Pool.json +1006 -0
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +546 -0
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1814 -0
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +847 -0
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1017 -0
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +771 -0
  150. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  151. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1140 -0
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1533 -0
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +875 -0
  158. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  159. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +376 -351
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1085 -0
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1017 -0
  164. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +633 -0
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  167. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +997 -0
  168. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  169. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IRiskService.sol/IRiskService.json} +205 -181
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1385 -0
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  173. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +835 -0
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.json +913 -0
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +795 -0
  180. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  181. package/artifacts/contracts/product/Product.sol/Product.json +1098 -0
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.json +698 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +755 -0
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +688 -112
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +335 -229
  192. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  196. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  197. package/artifacts/contracts/registry/Registry.sol/Registry.json +1027 -149
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2147 -0
  200. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  201. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
  202. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  203. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +322 -336
  204. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  205. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +360 -123
  206. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  207. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  208. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  210. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  212. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  214. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  215. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +352 -101
  216. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  217. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/Component.sol/Component.json} +331 -98
  218. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1497 -0
  220. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  221. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +835 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  230. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  231. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/IComponent.sol/IComponent.json} +272 -201
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1137 -0
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  235. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +688 -0
  236. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  237. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  239. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +46 -26
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  243. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +143 -15
  246. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  247. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  248. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IService.sol/IService.json +146 -158
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  251. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  253. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +776 -0
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  255. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  258. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +81 -30
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  263. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +159 -55
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  267. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  268. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Service.sol/Service.json +166 -171
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1627 -0
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1177 -0
  280. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  281. package/artifacts/contracts/staking/Staking.sol/Staking.json +2035 -0
  282. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  283. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  284. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +823 -0
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +616 -0
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1406 -0
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +763 -0
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  297. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  298. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  299. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  300. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  302. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  313. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  317. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +265 -0
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  338. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  340. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  344. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  348. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  349. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +65 -0
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  351. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +637 -0
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  354. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +88 -0
  356. package/contracts/accounting/AccountingService.sol +274 -0
  357. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  358. package/contracts/accounting/IAccountingService.sol +47 -0
  359. package/contracts/authorization/AccessAdmin.sol +780 -0
  360. package/contracts/authorization/AccessAdminLib.sol +396 -0
  361. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  362. package/contracts/authorization/Authorization.sol +169 -0
  363. package/contracts/authorization/IAccess.sol +67 -0
  364. package/contracts/authorization/IAccessAdmin.sol +144 -0
  365. package/contracts/authorization/IAuthorization.sol +27 -0
  366. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  367. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  368. package/contracts/distribution/BasicDistribution.sol +141 -0
  369. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  370. package/contracts/distribution/Distribution.sol +247 -0
  371. package/contracts/distribution/DistributionService.sol +448 -0
  372. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  373. package/contracts/distribution/IDistributionComponent.sol +45 -0
  374. package/contracts/distribution/IDistributionService.sol +115 -0
  375. package/contracts/examples/fire/DamageLevel.sol +59 -0
  376. package/contracts/examples/fire/FirePool.sol +86 -0
  377. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  378. package/contracts/examples/fire/FireProduct.sol +433 -0
  379. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  380. package/contracts/examples/fire/FireUSD.sol +26 -0
  381. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  382. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  383. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  384. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  385. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  386. package/contracts/examples/unpermissioned/SimpleProduct.sol +385 -0
  387. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  388. package/contracts/instance/BundleSet.sol +130 -0
  389. package/contracts/instance/IInstance.sol +127 -38
  390. package/contracts/instance/IInstanceService.sol +100 -19
  391. package/contracts/instance/Instance.sol +245 -353
  392. package/contracts/instance/InstanceAdmin.sol +383 -0
  393. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  394. package/contracts/instance/InstanceReader.sol +525 -208
  395. package/contracts/instance/InstanceService.sol +462 -182
  396. package/contracts/instance/InstanceServiceManager.sol +14 -32
  397. package/contracts/instance/InstanceStore.sol +298 -0
  398. package/contracts/instance/RiskSet.sol +118 -0
  399. package/contracts/instance/base/BalanceStore.sol +121 -0
  400. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
  401. package/contracts/instance/base/ObjectCounter.sol +20 -0
  402. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  403. package/contracts/instance/base/ObjectSet.sol +77 -0
  404. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  405. package/contracts/instance/module/IBundle.sol +10 -9
  406. package/contracts/instance/module/IComponents.sol +62 -0
  407. package/contracts/instance/module/IDistribution.sol +25 -10
  408. package/contracts/instance/module/IPolicy.sol +81 -21
  409. package/contracts/instance/module/IRisk.sol +6 -1
  410. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  411. package/contracts/oracle/BasicOracle.sol +45 -0
  412. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  413. package/contracts/oracle/IOracle.sol +41 -0
  414. package/contracts/oracle/IOracleComponent.sol +33 -0
  415. package/contracts/oracle/IOracleService.sol +66 -0
  416. package/contracts/oracle/Oracle.sol +154 -0
  417. package/contracts/oracle/OracleService.sol +310 -0
  418. package/contracts/oracle/OracleServiceManager.sol +39 -0
  419. package/contracts/pool/BasicPool.sol +173 -0
  420. package/contracts/pool/BasicPoolAuthorization.sol +82 -0
  421. package/contracts/pool/BundleService.sol +406 -0
  422. package/contracts/pool/BundleServiceManager.sol +39 -0
  423. package/contracts/pool/IBundleService.sol +121 -0
  424. package/contracts/pool/IPoolComponent.sol +62 -0
  425. package/contracts/pool/IPoolService.sol +170 -0
  426. package/contracts/pool/Pool.sol +343 -0
  427. package/contracts/pool/PoolLib.sol +359 -0
  428. package/contracts/pool/PoolService.sol +614 -0
  429. package/contracts/pool/PoolServiceManager.sol +39 -0
  430. package/contracts/product/ApplicationService.sol +327 -0
  431. package/contracts/product/ApplicationServiceManager.sol +38 -0
  432. package/contracts/product/BasicProduct.sol +49 -0
  433. package/contracts/product/BasicProductAuthorization.sol +63 -0
  434. package/contracts/product/ClaimService.sol +639 -0
  435. package/contracts/product/ClaimServiceManager.sol +38 -0
  436. package/contracts/product/IApplicationService.sol +88 -0
  437. package/contracts/product/IClaimService.sol +135 -0
  438. package/contracts/product/IPolicyService.sol +102 -0
  439. package/contracts/product/IPricingService.sol +40 -0
  440. package/contracts/product/IProductComponent.sol +62 -0
  441. package/contracts/product/IRiskService.sol +33 -0
  442. package/contracts/product/PolicyService.sol +645 -0
  443. package/contracts/product/PolicyServiceLib.sol +139 -0
  444. package/contracts/product/PolicyServiceManager.sol +39 -0
  445. package/contracts/product/PricingService.sol +306 -0
  446. package/contracts/product/PricingServiceManager.sol +39 -0
  447. package/contracts/product/Product.sol +472 -0
  448. package/contracts/product/RiskService.sol +157 -0
  449. package/contracts/product/RiskServiceManager.sol +39 -0
  450. package/contracts/registry/ChainNft.sol +82 -35
  451. package/contracts/registry/IRegistry.sol +126 -32
  452. package/contracts/registry/IRegistryService.sol +40 -28
  453. package/contracts/registry/IRelease.sol +29 -0
  454. package/contracts/registry/ITransferInterceptor.sol +1 -1
  455. package/contracts/registry/Registry.sol +561 -273
  456. package/contracts/registry/RegistryAdmin.sol +188 -0
  457. package/contracts/registry/RegistryAuthorization.sol +284 -0
  458. package/contracts/registry/RegistryService.sol +116 -233
  459. package/contracts/registry/RegistryServiceManager.sol +26 -53
  460. package/contracts/registry/ReleaseAdmin.sol +195 -0
  461. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  462. package/contracts/registry/ReleaseRegistry.sol +520 -0
  463. package/contracts/registry/ServiceAuthorizationV3.sol +345 -0
  464. package/contracts/registry/TokenRegistry.sol +263 -60
  465. package/contracts/shared/Component.sol +210 -0
  466. package/contracts/shared/ComponentService.sol +678 -0
  467. package/contracts/shared/ComponentServiceManager.sol +38 -0
  468. package/contracts/shared/ContractLib.sol +311 -0
  469. package/contracts/shared/IComponent.sol +58 -0
  470. package/contracts/shared/IComponentService.sol +110 -0
  471. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  472. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  473. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  474. package/contracts/shared/INftOwnable.sol +15 -12
  475. package/contracts/shared/IPolicyHolder.sol +35 -0
  476. package/contracts/shared/IRegisterable.sol +24 -5
  477. package/contracts/shared/IRegistryLinked.sol +11 -0
  478. package/contracts/shared/IService.sol +13 -5
  479. package/contracts/shared/InitializableERC165.sol +35 -0
  480. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  481. package/contracts/shared/KeyValueStore.sol +131 -0
  482. package/contracts/shared/Lifecycle.sol +88 -0
  483. package/contracts/shared/NftIdSet.sol +65 -0
  484. package/contracts/shared/NftOwnable.sol +75 -82
  485. package/contracts/shared/PolicyHolder.sol +63 -0
  486. package/contracts/shared/Registerable.sol +54 -38
  487. package/contracts/shared/RegistryLinked.sol +38 -0
  488. package/contracts/shared/Service.sol +45 -33
  489. package/contracts/shared/TokenHandler.sol +327 -12
  490. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  491. package/contracts/staking/IStaking.sol +195 -0
  492. package/contracts/staking/IStakingService.sol +170 -0
  493. package/contracts/staking/Staking.sol +605 -0
  494. package/contracts/staking/StakingLib.sol +281 -0
  495. package/contracts/staking/StakingLifecycle.sol +23 -0
  496. package/contracts/staking/StakingManager.sol +52 -0
  497. package/contracts/staking/StakingReader.sol +199 -0
  498. package/contracts/staking/StakingService.sol +468 -0
  499. package/contracts/staking/StakingServiceManager.sol +45 -0
  500. package/contracts/staking/StakingStore.sol +606 -0
  501. package/contracts/staking/TargetManagerLib.sol +211 -0
  502. package/contracts/{types → type}/AddressSet.sol +1 -1
  503. package/contracts/type/Amount.sol +150 -0
  504. package/contracts/{types → type}/Blocknumber.sol +27 -3
  505. package/contracts/type/ClaimId.sol +80 -0
  506. package/contracts/{types → type}/DistributorType.sol +2 -2
  507. package/contracts/type/Fee.sol +66 -0
  508. package/contracts/{types → type}/Key32.sol +2 -2
  509. package/contracts/type/Key32Set.sol +62 -0
  510. package/contracts/{types → type}/NftId.sol +28 -15
  511. package/contracts/{types → type}/NftIdSet.sol +2 -2
  512. package/contracts/type/ObjectType.sol +307 -0
  513. package/contracts/type/PayoutId.sol +82 -0
  514. package/contracts/{types → type}/Referral.sol +6 -1
  515. package/contracts/type/RequestId.sol +75 -0
  516. package/contracts/type/RiskId.sol +75 -0
  517. package/contracts/type/RoleId.sol +180 -0
  518. package/contracts/type/Seconds.sol +105 -0
  519. package/contracts/type/Selector.sol +107 -0
  520. package/contracts/{types → type}/StateId.sol +48 -4
  521. package/contracts/type/String.sol +65 -0
  522. package/contracts/{types → type}/Timestamp.sol +33 -19
  523. package/contracts/type/UFixed.sol +262 -0
  524. package/contracts/{types → type}/Version.sol +59 -7
  525. package/contracts/{shared → upgradeability}/IVersionable.sol +7 -47
  526. package/contracts/upgradeability/ProxyManager.sol +246 -0
  527. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +8 -4
  528. package/contracts/upgradeability/Versionable.sol +62 -0
  529. package/package.json +12 -8
  530. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  531. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  532. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -744
  533. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  534. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -368
  535. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  536. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  537. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  538. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
  539. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  540. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  541. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  542. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -939
  543. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  544. package/artifacts/contracts/components/Product.sol/Product.json +0 -855
  545. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  546. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  547. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  548. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  549. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  550. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  551. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  552. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  553. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  554. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  555. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  556. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  557. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  558. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  559. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  560. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  561. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  562. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  563. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  564. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  565. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  566. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  568. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  570. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  572. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  573. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  574. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  575. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  576. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  577. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  578. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  579. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  580. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  581. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  582. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  583. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  584. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  585. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +0 -101
  586. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  587. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  588. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  589. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -775
  590. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  591. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  592. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  593. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  594. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -917
  595. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  596. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -272
  597. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  598. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  599. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  600. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  601. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  602. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  603. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  604. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  605. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  606. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  607. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -211
  608. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  609. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  610. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  611. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  612. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  613. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -716
  614. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  615. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -444
  616. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  617. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  618. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  619. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  620. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  621. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  622. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1049
  623. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  624. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -464
  625. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  626. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -1147
  627. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  628. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -488
  629. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  630. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  631. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  632. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  633. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  634. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  635. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  636. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  637. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  638. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  639. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  640. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  641. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  642. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  643. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  644. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  645. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  646. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  647. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  648. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  649. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  650. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  651. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  652. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  653. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  654. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  655. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  656. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  657. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  658. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  659. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  660. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  661. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  662. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  663. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  664. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  665. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  666. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  667. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  668. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  669. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  670. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  671. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  672. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  673. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  674. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  675. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  676. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  677. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  678. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  679. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  680. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  681. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  682. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  683. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  684. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  685. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  686. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  687. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  688. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  689. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  690. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  691. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  692. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  693. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  694. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  695. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  696. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  697. package/contracts/components/BaseComponent.sol +0 -129
  698. package/contracts/components/Distribution.sol +0 -163
  699. package/contracts/components/IBaseComponent.sol +0 -31
  700. package/contracts/components/IDistributionComponent.sol +0 -44
  701. package/contracts/components/IPoolComponent.sol +0 -66
  702. package/contracts/components/IProductComponent.sol +0 -35
  703. package/contracts/components/Pool.sol +0 -267
  704. package/contracts/components/Product.sol +0 -289
  705. package/contracts/experiment/cloning/Cloner.sol +0 -47
  706. package/contracts/experiment/errors/Require.sol +0 -38
  707. package/contracts/experiment/errors/Revert.sol +0 -44
  708. package/contracts/experiment/inheritance/A.sol +0 -53
  709. package/contracts/experiment/inheritance/B.sol +0 -28
  710. package/contracts/experiment/inheritance/C.sol +0 -34
  711. package/contracts/experiment/inheritance/IA.sol +0 -13
  712. package/contracts/experiment/inheritance/IB.sol +0 -10
  713. package/contracts/experiment/inheritance/IC.sol +0 -12
  714. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  715. package/contracts/experiment/statemachine/ISM.sol +0 -25
  716. package/contracts/experiment/statemachine/SM.sol +0 -57
  717. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  718. package/contracts/experiment/types/TypeA.sol +0 -47
  719. package/contracts/experiment/types/TypeB.sol +0 -29
  720. package/contracts/instance/AccessManagedSimple.sol +0 -115
  721. package/contracts/instance/AccessManagerSimple.sol +0 -692
  722. package/contracts/instance/BundleManager.sol +0 -129
  723. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  724. package/contracts/instance/InstanceAccessManager.sol +0 -288
  725. package/contracts/instance/ObjectManager.sol +0 -95
  726. package/contracts/instance/base/ComponentServiceBase.sol +0 -134
  727. package/contracts/instance/base/IInstanceBase.sol +0 -23
  728. package/contracts/instance/base/KeyValueStore.sol +0 -172
  729. package/contracts/instance/base/Lifecycle.sol +0 -100
  730. package/contracts/instance/module/IAccess.sol +0 -38
  731. package/contracts/instance/module/ISetup.sol +0 -46
  732. package/contracts/instance/module/ITreasury.sol +0 -23
  733. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  734. package/contracts/instance/service/DistributionService.sol +0 -88
  735. package/contracts/instance/service/DistributionServiceManager.sol +0 -54
  736. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  737. package/contracts/instance/service/IDistributionService.sol +0 -12
  738. package/contracts/instance/service/IPoolService.sol +0 -51
  739. package/contracts/instance/service/IProductService.sol +0 -110
  740. package/contracts/instance/service/PoolService.sol +0 -287
  741. package/contracts/instance/service/PoolServiceManager.sol +0 -54
  742. package/contracts/instance/service/ProductService.sol +0 -570
  743. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  744. package/contracts/shared/ContractDeployerLib.sol +0 -72
  745. package/contracts/shared/ERC165.sol +0 -25
  746. package/contracts/shared/ProxyManager.sol +0 -94
  747. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  748. package/contracts/shared/Versionable.sol +0 -147
  749. package/contracts/test/TestFee.sol +0 -25
  750. package/contracts/test/TestRegisterable.sol +0 -18
  751. package/contracts/test/TestRoleId.sol +0 -14
  752. package/contracts/test/TestService.sol +0 -24
  753. package/contracts/test/TestToken.sol +0 -26
  754. package/contracts/test/TestVersion.sol +0 -44
  755. package/contracts/test/TestVersionable.sol +0 -17
  756. package/contracts/types/ChainId.sol +0 -38
  757. package/contracts/types/Fee.sol +0 -56
  758. package/contracts/types/NumberId.sol +0 -52
  759. package/contracts/types/ObjectType.sol +0 -152
  760. package/contracts/types/RiskId.sol +0 -43
  761. package/contracts/types/RoleId.sol +0 -90
  762. package/contracts/types/UFixed.sol +0 -325
@@ -0,0 +1,913 @@
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
+ "inputs": [],
261
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
262
+ "outputs": [
263
+ {
264
+ "internalType": "bytes32",
265
+ "name": "",
266
+ "type": "bytes32"
267
+ }
268
+ ],
269
+ "stateMutability": "view",
270
+ "type": "function"
271
+ },
272
+ {
273
+ "inputs": [],
274
+ "name": "REGISTERABLE_LOCATION_V1",
275
+ "outputs": [
276
+ {
277
+ "internalType": "bytes32",
278
+ "name": "",
279
+ "type": "bytes32"
280
+ }
281
+ ],
282
+ "stateMutability": "view",
283
+ "type": "function"
284
+ },
285
+ {
286
+ "inputs": [],
287
+ "name": "authority",
288
+ "outputs": [
289
+ {
290
+ "internalType": "address",
291
+ "name": "",
292
+ "type": "address"
293
+ }
294
+ ],
295
+ "stateMutability": "view",
296
+ "type": "function"
297
+ },
298
+ {
299
+ "inputs": [
300
+ {
301
+ "internalType": "NftId",
302
+ "name": "productNftId",
303
+ "type": "uint96"
304
+ },
305
+ {
306
+ "internalType": "RiskId",
307
+ "name": "riskId",
308
+ "type": "bytes8"
309
+ },
310
+ {
311
+ "internalType": "Amount",
312
+ "name": "sumInsuredAmount",
313
+ "type": "uint96"
314
+ },
315
+ {
316
+ "internalType": "Seconds",
317
+ "name": "lifetime",
318
+ "type": "uint40"
319
+ },
320
+ {
321
+ "internalType": "bytes",
322
+ "name": "applicationData",
323
+ "type": "bytes"
324
+ },
325
+ {
326
+ "internalType": "NftId",
327
+ "name": "bundleNftId",
328
+ "type": "uint96"
329
+ },
330
+ {
331
+ "internalType": "ReferralId",
332
+ "name": "referralId",
333
+ "type": "bytes8"
334
+ }
335
+ ],
336
+ "name": "calculatePremium",
337
+ "outputs": [
338
+ {
339
+ "components": [
340
+ {
341
+ "internalType": "Amount",
342
+ "name": "productFeeAmount",
343
+ "type": "uint96"
344
+ },
345
+ {
346
+ "internalType": "Amount",
347
+ "name": "distributionFeeAndCommissionAmount",
348
+ "type": "uint96"
349
+ },
350
+ {
351
+ "internalType": "Amount",
352
+ "name": "poolPremiumAndFeeAmount",
353
+ "type": "uint96"
354
+ },
355
+ {
356
+ "internalType": "Amount",
357
+ "name": "netPremiumAmount",
358
+ "type": "uint96"
359
+ },
360
+ {
361
+ "internalType": "Amount",
362
+ "name": "fullPremiumAmount",
363
+ "type": "uint96"
364
+ },
365
+ {
366
+ "internalType": "Amount",
367
+ "name": "premiumAmount",
368
+ "type": "uint96"
369
+ },
370
+ {
371
+ "internalType": "Amount",
372
+ "name": "productFeeFixAmount",
373
+ "type": "uint96"
374
+ },
375
+ {
376
+ "internalType": "Amount",
377
+ "name": "poolFeeFixAmount",
378
+ "type": "uint96"
379
+ },
380
+ {
381
+ "internalType": "Amount",
382
+ "name": "bundleFeeFixAmount",
383
+ "type": "uint96"
384
+ },
385
+ {
386
+ "internalType": "Amount",
387
+ "name": "distributionFeeFixAmount",
388
+ "type": "uint96"
389
+ },
390
+ {
391
+ "internalType": "Amount",
392
+ "name": "productFeeVarAmount",
393
+ "type": "uint96"
394
+ },
395
+ {
396
+ "internalType": "Amount",
397
+ "name": "poolFeeVarAmount",
398
+ "type": "uint96"
399
+ },
400
+ {
401
+ "internalType": "Amount",
402
+ "name": "bundleFeeVarAmount",
403
+ "type": "uint96"
404
+ },
405
+ {
406
+ "internalType": "Amount",
407
+ "name": "distributionFeeVarAmount",
408
+ "type": "uint96"
409
+ },
410
+ {
411
+ "internalType": "Amount",
412
+ "name": "distributionOwnerFeeFixAmount",
413
+ "type": "uint96"
414
+ },
415
+ {
416
+ "internalType": "Amount",
417
+ "name": "distributionOwnerFeeVarAmount",
418
+ "type": "uint96"
419
+ },
420
+ {
421
+ "internalType": "Amount",
422
+ "name": "commissionAmount",
423
+ "type": "uint96"
424
+ },
425
+ {
426
+ "internalType": "Amount",
427
+ "name": "discountAmount",
428
+ "type": "uint96"
429
+ }
430
+ ],
431
+ "internalType": "struct IPolicy.PremiumInfo",
432
+ "name": "premium",
433
+ "type": "tuple"
434
+ }
435
+ ],
436
+ "stateMutability": "view",
437
+ "type": "function"
438
+ },
439
+ {
440
+ "inputs": [],
441
+ "name": "getDomain",
442
+ "outputs": [
443
+ {
444
+ "internalType": "ObjectType",
445
+ "name": "serviceDomain",
446
+ "type": "uint8"
447
+ }
448
+ ],
449
+ "stateMutability": "pure",
450
+ "type": "function"
451
+ },
452
+ {
453
+ "inputs": [],
454
+ "name": "getInitialInfo",
455
+ "outputs": [
456
+ {
457
+ "components": [
458
+ {
459
+ "internalType": "NftId",
460
+ "name": "nftId",
461
+ "type": "uint96"
462
+ },
463
+ {
464
+ "internalType": "NftId",
465
+ "name": "parentNftId",
466
+ "type": "uint96"
467
+ },
468
+ {
469
+ "internalType": "ObjectType",
470
+ "name": "objectType",
471
+ "type": "uint8"
472
+ },
473
+ {
474
+ "internalType": "bool",
475
+ "name": "isInterceptor",
476
+ "type": "bool"
477
+ },
478
+ {
479
+ "internalType": "address",
480
+ "name": "objectAddress",
481
+ "type": "address"
482
+ },
483
+ {
484
+ "internalType": "address",
485
+ "name": "initialOwner",
486
+ "type": "address"
487
+ },
488
+ {
489
+ "internalType": "bytes",
490
+ "name": "data",
491
+ "type": "bytes"
492
+ }
493
+ ],
494
+ "internalType": "struct IRegistry.ObjectInfo",
495
+ "name": "info",
496
+ "type": "tuple"
497
+ }
498
+ ],
499
+ "stateMutability": "view",
500
+ "type": "function"
501
+ },
502
+ {
503
+ "inputs": [],
504
+ "name": "getNftId",
505
+ "outputs": [
506
+ {
507
+ "internalType": "NftId",
508
+ "name": "",
509
+ "type": "uint96"
510
+ }
511
+ ],
512
+ "stateMutability": "view",
513
+ "type": "function"
514
+ },
515
+ {
516
+ "inputs": [],
517
+ "name": "getOwner",
518
+ "outputs": [
519
+ {
520
+ "internalType": "address",
521
+ "name": "",
522
+ "type": "address"
523
+ }
524
+ ],
525
+ "stateMutability": "view",
526
+ "type": "function"
527
+ },
528
+ {
529
+ "inputs": [],
530
+ "name": "getRegistry",
531
+ "outputs": [
532
+ {
533
+ "internalType": "contract IRegistry",
534
+ "name": "",
535
+ "type": "address"
536
+ }
537
+ ],
538
+ "stateMutability": "view",
539
+ "type": "function"
540
+ },
541
+ {
542
+ "inputs": [],
543
+ "name": "getRelease",
544
+ "outputs": [
545
+ {
546
+ "internalType": "VersionPart",
547
+ "name": "release",
548
+ "type": "uint8"
549
+ }
550
+ ],
551
+ "stateMutability": "view",
552
+ "type": "function"
553
+ },
554
+ {
555
+ "inputs": [],
556
+ "name": "getRoleId",
557
+ "outputs": [
558
+ {
559
+ "internalType": "RoleId",
560
+ "name": "serviceRoleId",
561
+ "type": "uint64"
562
+ }
563
+ ],
564
+ "stateMutability": "view",
565
+ "type": "function"
566
+ },
567
+ {
568
+ "inputs": [],
569
+ "name": "getVersion",
570
+ "outputs": [
571
+ {
572
+ "internalType": "Version",
573
+ "name": "",
574
+ "type": "uint24"
575
+ }
576
+ ],
577
+ "stateMutability": "pure",
578
+ "type": "function"
579
+ },
580
+ {
581
+ "inputs": [
582
+ {
583
+ "internalType": "address",
584
+ "name": "activatedBy",
585
+ "type": "address"
586
+ },
587
+ {
588
+ "internalType": "bytes",
589
+ "name": "data",
590
+ "type": "bytes"
591
+ }
592
+ ],
593
+ "name": "initializeVersionable",
594
+ "outputs": [],
595
+ "stateMutability": "nonpayable",
596
+ "type": "function"
597
+ },
598
+ {
599
+ "inputs": [],
600
+ "name": "isActive",
601
+ "outputs": [
602
+ {
603
+ "internalType": "bool",
604
+ "name": "active",
605
+ "type": "bool"
606
+ }
607
+ ],
608
+ "stateMutability": "view",
609
+ "type": "function"
610
+ },
611
+ {
612
+ "inputs": [],
613
+ "name": "isConsumingScheduledOp",
614
+ "outputs": [
615
+ {
616
+ "internalType": "bytes4",
617
+ "name": "",
618
+ "type": "bytes4"
619
+ }
620
+ ],
621
+ "stateMutability": "view",
622
+ "type": "function"
623
+ },
624
+ {
625
+ "inputs": [],
626
+ "name": "linkToRegisteredNftId",
627
+ "outputs": [
628
+ {
629
+ "internalType": "NftId",
630
+ "name": "nftId",
631
+ "type": "uint96"
632
+ }
633
+ ],
634
+ "stateMutability": "nonpayable",
635
+ "type": "function"
636
+ },
637
+ {
638
+ "inputs": [
639
+ {
640
+ "internalType": "address",
641
+ "name": "newAuthority",
642
+ "type": "address"
643
+ }
644
+ ],
645
+ "name": "setAuthority",
646
+ "outputs": [],
647
+ "stateMutability": "nonpayable",
648
+ "type": "function"
649
+ },
650
+ {
651
+ "inputs": [
652
+ {
653
+ "internalType": "bytes4",
654
+ "name": "interfaceId",
655
+ "type": "bytes4"
656
+ }
657
+ ],
658
+ "name": "supportsInterface",
659
+ "outputs": [
660
+ {
661
+ "internalType": "bool",
662
+ "name": "",
663
+ "type": "bool"
664
+ }
665
+ ],
666
+ "stateMutability": "view",
667
+ "type": "function"
668
+ },
669
+ {
670
+ "inputs": [
671
+ {
672
+ "internalType": "bytes",
673
+ "name": "data",
674
+ "type": "bytes"
675
+ }
676
+ ],
677
+ "name": "upgradeVersionable",
678
+ "outputs": [],
679
+ "stateMutability": "nonpayable",
680
+ "type": "function"
681
+ }
682
+ ],
683
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b613785806100d65f395ff3fe608060405234801561000f575f80fd5b506004361061011c575f3560e01c8063644c45e0116100a95780638fb360371161006e5780638fb36037146102ae578063ada9652e146102cf578063b68d1809146102e3578063bf7e214f146102ea578063f4bfe53a146102f2575f80fd5b8063644c45e01461023c5780636c741e781461025957806376b707b7146102795780637a9e5e4b14610293578063893d20e8146102a6575f80fd5b80631eff4b22116100ef5780631eff4b22146101b257806322f3e2d4146101e7578063329d6e74146101ef57806349bb9e4b146102045780635ab1bd5314610217575f80fd5b806301ffc9a7146101205780630d8e6e2c146101615780630fec111c1461017d578063138461e014610192575b5f80fd5b61014c61012e366004612687565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610169610312565b60405162ffffff9091168152602001610158565b610185610399565b60405161015891906126dc565b61019a610553565b6040516001600160601b039091168152602001610158565b6101d97f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610158565b61014c61055d565b6102026101fd3660046128de565b6105d4565b005b610202610212366004612923565b61071e565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610158565b5f80516020613710833981519152546001600160601b031661019a565b61026161081a565b6040516001600160401b039091168152602001610158565b6102816108a6565b60405160ff9091168152602001610158565b6102026102a136600461296f565b61090e565b610224610999565b6102b6610aca565b6040516001600160e01b03199091168152602001610158565b6101d95f8051602061371083398151915281565b602a610281565b610224610b12565b6103056103003660046129c5565b610b40565b6040516101589190612a6d565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610370573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103949190612c64565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610445573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104699190612c96565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016104b1610999565b6001600160a01b031681526020018260010180546104ce90612cb1565b80601f01602080910402602001604051908101604052809291908181526020018280546104fa90612cb1565b80156105455780601f1061051c57610100808354040283529160200191610545565b820191905f5260205f20905b81548152906001019060200180831161052857829003601f168201915b505050505081525091505090565b5f61039430611123565b5f610566610b12565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156105aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105ce9190612cf8565b15905090565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6105f6610312565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610634573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106589190612d25565b5f805160206137308339815191528054600160401b900460ff168061068a575080546001600160401b03808416911610155b156106a85760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556106d28361131c565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206137308339815191528054600160401b810460ff1615906001600160401b03165f8115801561074f5750825b90505f826001600160401b0316600114801561076a5750303b155b905081158015610778575080155b156107965760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156107c057845460ff60401b1916600160401b1785555b6107ca878761133d565b831561081157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe602a61083f6108a6565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610882573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103949190612d25565b5f6108af610b12565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108ea573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103949190612d59565b33610917610b12565b6001600160a01b0316816001600160a01b0316146109575760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f0361098c576040516361798f2f60e11b81526001600160a01b038316600482015260240161094e565b61099582611482565b5050565b5f805f8051602061371083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610a05573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a299190612cf8565b15610ab4576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610a8a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aae9190612d7f565b91505090565b54600160601b90046001600160a01b0316919050565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080545f9190600160a01b900460ff16610b04575f610aae565b638fb3603760e01b91505090565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00546001600160a01b031690565b610b486125f4565b610b5388600c6114f5565b610b5e8360166114f5565b5f805f8073__$fb599632d08395912d9d70eb2f0f93b5e2$__63c52721a3610b8e6001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201526001600160601b038f1660248201525f60448201526064015f60405180830381865af4158015610be4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c0b9190810190612de9565b91509150806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c4b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6f9190612d7f565b60405163887b1fa960e01b81526001600160c01b03198d1660048201529094505f906001600160a01b0386169063887b1fa9906024015f60405180830381865afa158015610cbf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ce69190810190612ed6565b519050610cf38d82611629565b15610d3457604051636e2b2e1f60e11b81526001600160c01b03198d1660048201526001600160601b0380831660248301528e16604482015260640161094e565b82608001516001600160a01b031663f179d0648c8e8d8d6040518563ffffffff1660e01b8152600401610d6a9493929190612f83565b602060405180830381865afa158015610d85573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610da99190612c96565b6040516302d764c760e21b81526001600160601b038f1660048201529094505f93506001600160a01b0386169250630b5d931c91506024015f60405180830381865afa158015610dfb573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e22919081019061304b565b604051636a05a41360e01b81526001600160601b038d1660048201529091505f906001600160a01b03851690636a05a413906024016101c060405180830381865afa158015610e73573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e97919061318f565b604051634793b4ab60e01b81526001600160601b03891660048201529091505f906001600160a01b03861690634793b4ab906024015f60405180830381865afa158015610ee6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610f0d919081019061322c565b9050610f2181606001518460a00151611629565b15610f6457606081015160a0840151604051631e393b2d60e31b81526001600160601b03808c16600483015292831660248201529116604482015260640161094e565b610f6f8483836116b5565b9550610f7c868383611794565b9550610f8f86838560c001518a89611a74565b9550610f9a86611ed0565b9550610fc78660a00151610fc2610fb8895f01518a60200151611f7a565b8960400151611f7a565b611fff565b15610fe557604051630f96c23560e01b815260040160405180910390fd5b610ffc866101c0015183606001516020015161208b565b15611072576101208601516101a08701516101c08801516101e08901516102008a01516102208b0151604051630bd179a160e21b81526001600160601b039687166004820152948616602486015292851660448501529084166064840152831660848301529190911660a482015260c40161094e565b61109d866101a00151610fc26110928961022001518a6101e00151611f7a565b896102000151611f7a565b15611113576101208601516101a08701516101c08801516101e08901516102008a01516102208b0151604051630bd179a160e21b81526001600160601b039687166004820152948616602486015292851660448501529084166064840152831660848301529190911660a482015260c40161094e565b5050505050979650505050505050565b5f805f8051602061371083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561118f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b39190612cf8565b156111df5780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161094e565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611231573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112559190612cf8565b61127d5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161094e565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156112cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112f39190612c96565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6113246120d5565b60405163502ec37160e01b815260040160405180910390fd5b5f805160206137308339815191528054600160401b810460ff1615906001600160401b03165f8115801561136e5750825b90505f826001600160401b031660011480156113895750303b155b905081158015611397575080155b156113b55760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156113df57845460ff60401b1916600160401b1785555b5f80878060200190518101906113f591906132f0565b9150915061140482828b61210d565b61140e600e6121af565b600280546001600160a01b0319166001600160a01b039290921691909117905561143e637a5ff29d60e11b612246565b5050831561081157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610808565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611545573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115699190612cf8565b806115f757506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156115d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115f59190612cf8565b155b156109955760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161094e565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af415801561168a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116ae9190612cf8565b9392505050565b6116bd6125f4565b6001600160601b03808516606083018190526080830181905284516020015191821660c08401526116ee9082611f7a565b6001600160601b0390811660808085018290528601516020015191821660e085015290915061171d9082611f7a565b6001600160601b0390811660808085018290528501516020015191821661010085015290915061174d9082611f7a565b6001600160601b039081166080840181905260408601516020015191821661012085015290915061177e9082611f7a565b6001600160601b03166080830152509392505050565b61179c6125f4565b6060840151835151604051636e5912e760e01b81525f9173__$3bac17678db7ae928afa209f2f44deec9c$__91636e5912e7916117e7916001600160601b0387169190600401613328565b602060405180830381865af4158015611802573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118269190612c96565b6001600160601b03811661014088015260808701519091506118489082611f7a565b6001600160601b0390811660808089019190915286015151604051636e5912e760e01b815273__$3bac17678db7ae928afa209f2f44deec9c$__92636e5912e7926118999291871691600401613328565b602060405180830381865af41580156118b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118d89190612c96565b6001600160601b03811661016088015260808701519091506118fa9082611f7a565b6001600160601b0390811660808089019190915285015151604051636e5912e760e01b815273__$3bac17678db7ae928afa209f2f44deec9c$__92636e5912e79261194b9291871691600401613328565b602060405180830381865af4158015611966573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061198a9190612c96565b6001600160601b03811661018088015260808701519091506119ac9082611f7a565b6001600160601b039081166080880152604080870151519051636e5912e760e01b815273__$3bac17678db7ae928afa209f2f44deec9c$__92636e5912e7926119fb9291871691600401613328565b602060405180830381865af4158015611a16573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a3a9190612c96565b6001600160601b0381166101a08801526080870151909150611a5c9082611f7a565b6001600160601b031660808701525093949350505050565b611a7c6125f4565b604051630a4d29dd60e31b81526001600160601b038516600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015611ad2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611af69190612cf8565b80611b8157506002546040516309741ce160e21b81526001600160601b03861660048201526001600160c01b0319851660248201526001600160a01b03909116906325d0738490604401602060405180830381865afa158015611b5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b7f9190612cf8565b155b15611bbd57506101208501516001600160601b039081166101c08701526101a086015181166101e087015260808601511660a086015284611ec7565b6060850151604051631d3be47760e01b81526001600160c01b0319851660048201525f906001600160a01b03851690631d3be477906024015f60405180830381865afa158015611c0f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c36919081019061335d565b60208101516040516313d8ebc960e11b81526001600160601b0390911660048201529091505f906001600160a01b038616906327b1d792906024015f60405180830381865afa158015611c8b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611cb2919081019061344a565b80516040516368322c6360e11b81526001600160c01b031990911660048201529091505f906001600160a01b0387169063d06458c6906024015f60405180830381865afa158015611d05573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611d2c91908101906134e9565b60608b015160e0820151604051636e5912e760e01b81529293505f9273__$3bac17678db7ae928afa209f2f44deec9c$__92636e5912e792611d7c926001600160601b0390921691600401613328565b602060405180830381865af4158015611d97573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dbb9190612c96565b6001600160601b038082166102008e01526080808e015190870151604051636e5912e760e01b815293945073__$3bac17678db7ae928afa209f2f44deec9c$__93636e5912e793611e1193169190600401613328565b602060405180830381865af4158015611e2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e509190612c96565b6001600160601b039081166102208d01526020860151166101c08c01526101a08b0151611e8c90611e819083612279565b8c6102200151612279565b6001600160601b03166101e08c015260808b01516102208c0151611eb09190612279565b6001600160601b031660a08c015250899450505050505b95945050505050565b611ed86125f4565b611eeb8260c00151836101400151611f7a565b6001600160601b031682526101208201516101e0830151611f1a91611f0f91611f7a565b836102000151611f7a565b6001600160601b03166020830152606082015160e0830151611f6891611f5d91611f5291611f4791611f7a565b856101600151611f7a565b846101000151611f7a565b836101800151611f7a565b6001600160601b031660408301525090565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015611fdb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116ae9190612c96565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af415801561205f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120839190612cf8565b159392505050565b6040516304d40eb160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906309a81d629060440161166f565b5f8051602061373083398151915254600160401b900460ff1661210b57604051631afcd79f60e31b815260040160405180910390fd5b565b6121156120d5565b61211d6122c3565b61219a8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561215e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121829190612c96565b60085f8660405180602001604052805f8152506122d3565b6121aa63daf9067160e01b612246565b505050565b5f6121c26001546001600160a01b031690565b6001600160a01b031663d39e6043836121d96108a6565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561221c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122409190612d7f565b92915050565b61224e6120d5565b612276816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401611fc0565b6122cb6120d5565b61210b61241a565b6122db6120d5565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015612331573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123559190612cf8565b61237d5760405163cf6935e560e01b81526001600160a01b038816600482015260240161094e565b61238687612448565b6123908683612459565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016123ff8382613655565b50612410634a531f3360e01b612246565b5050505050505050565b6124226120d5565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6124506120d5565b612276816124cf565b6124616120d5565b6124696124e0565b61247282612528565b6001600160a01b0381166124995760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061371083398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6124d76120d5565b61227681611482565b6124e86120d5565b61210b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6125306120d5565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612586573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125aa9190612cf8565b6125d25760405163fdeac91f60e01b81526001600160a01b038216600482015260240161094e565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905261022081019190915290565b5f60208284031215612697575f80fd5b81356001600160e01b0319811681146116ae575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612724608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526127686101008401826126ae565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156127a6576127a6612770565b60405290565b60405161010081016001600160401b03811182821017156127a6576127a6612770565b60405160c081016001600160401b03811182821017156127a6576127a6612770565b604051608081016001600160401b03811182821017156127a6576127a6612770565b60405161014081016001600160401b03811182821017156127a6576127a6612770565b604051601f8201601f191681016001600160401b038111828210171561285e5761285e612770565b604052919050565b5f6001600160401b0382111561287e5761287e612770565b50601f01601f191660200190565b5f82601f83011261289b575f80fd5b81356128ae6128a982612866565b612836565b8181528460208386010111156128c2575f80fd5b816020850160208301375f918101602001919091529392505050565b5f602082840312156128ee575f80fd5b81356001600160401b03811115612903575f80fd5b6127688482850161288c565b6001600160a01b0381168114612276575f80fd5b5f8060408385031215612934575f80fd5b823561293f8161290f565b915060208301356001600160401b03811115612959575f80fd5b6129658582860161288c565b9150509250929050565b5f6020828403121561297f575f80fd5b81356116ae8161290f565b6001600160601b0381168114612276575f80fd5b6001600160c01b031981168114612276575f80fd5b64ffffffffff81168114612276575f80fd5b5f805f805f805f60e0888a0312156129db575f80fd5b87356129e68161298a565b965060208801356129f68161299e565b95506040880135612a068161298a565b94506060880135612a16816129b3565b935060808801356001600160401b03811115612a30575f80fd5b612a3c8a828b0161288c565b93505060a0880135612a4d8161298a565b915060c0880135612a5d8161299e565b8091505092959891949750929550565b81516001600160601b0316815261024081016020830151612a9960208401826001600160601b03169052565b506040830151612ab460408401826001600160601b03169052565b506060830151612acf60608401826001600160601b03169052565b506080830151612aea60808401826001600160601b03169052565b5060a0830151612b0560a08401826001600160601b03169052565b5060c0830151612b2060c08401826001600160601b03169052565b5060e0830151612b3b60e08401826001600160601b03169052565b50610100830151612b586101008401826001600160601b03169052565b50610120830151612b756101208401826001600160601b03169052565b50610140830151612b926101408401826001600160601b03169052565b50610160830151612baf6101608401826001600160601b03169052565b50610180830151612bcc6101808401826001600160601b03169052565b506101a0830151612be96101a08401826001600160601b03169052565b506101c0830151612c066101c08401826001600160601b03169052565b506101e0830151612c236101e08401826001600160601b03169052565b50610200830151612c406102008401826001600160601b03169052565b50610220830151612c5d6102208401826001600160601b03169052565b5092915050565b5f60208284031215612c74575f80fd5b815162ffffff811681146116ae575f80fd5b8051612c918161298a565b919050565b5f60208284031215612ca6575f80fd5b81516116ae8161298a565b600181811c90821680612cc557607f821691505b602082108103612ce357634e487b7160e01b5f52602260045260245ffd5b50919050565b80518015158114612c91575f80fd5b5f60208284031215612d08575f80fd5b6116ae82612ce9565b6001600160401b0381168114612276575f80fd5b5f60208284031215612d35575f80fd5b81516116ae81612d11565b60ff81168114612276575f80fd5b8051612c9181612d40565b5f60208284031215612d69575f80fd5b81516116ae81612d40565b8051612c918161290f565b5f60208284031215612d8f575f80fd5b81516116ae8161290f565b5f82601f830112612da9575f80fd5b8151602083015f612dbc6128a984612866565b9050828152858383011115612dcf575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f8060408385031215612dfa575f80fd5b82516001600160401b03811115612e0f575f80fd5b830160e08186031215612e20575f80fd5b612e28612784565b612e3182612c86565b8152612e3f60208301612c86565b6020820152612e5060408301612d4e565b6040820152612e6160608301612ce9565b6060820152612e7260808301612d74565b6080820152612e8360a08301612d74565b60a082015260c08201516001600160401b03811115612ea0575f80fd5b612eac87828501612d9a565b60c0830152509250612ec2905060208401612d74565b90509250929050565b8051612c91816129b3565b5f60208284031215612ee6575f80fd5b81516001600160401b03811115612efb575f80fd5b820160608185031215612f0c575f80fd5b604051606081016001600160401b0381118282101715612f2e57612f2e612770565b6040528151612f3c8161298a565b81526020820151612f4c816129b3565b602082015260408201516001600160401b03811115612f69575f80fd5b612f7586828501612d9a565b604083015250949350505050565b6001600160601b03851681526001600160401b0360c01b8416602082015264ffffffffff83166040820152608060608201525f612fc360808301846126ae565b9695505050505050565b5f82601f830112612fdc575f80fd5b81516001600160401b03811115612ff557612ff5612770565b8060051b61300560208201612836565b91825260208185018101929081019086841115613020575f80fd5b6020860192505b83831015612fc357825161303a8161298a565b825260209283019290910190613027565b5f6020828403121561305b575f80fd5b81516001600160401b03811115613070575f80fd5b82016101008185031215613082575f80fd5b61308a6127ac565b61309382612ce9565b81526130a160208301612ce9565b60208201526130b260408301612ce9565b60408201526130c360608301612d4e565b60608201526130d460808301612d4e565b60808201526130e560a08301612c86565b60a08201526130f660c08301612c86565b60c082015260e08201516001600160401b03811115613113575f80fd5b61311f86828501612fcd565b60e083015250949350505050565b5f6040828403121561313d575f80fd5b604080519081016001600160401b038111828210171561315f5761315f612770565b806040525080915082516131728161290f565b815260208301516131828161298a565b6020919091015292915050565b5f6101c08284031280156131a1575f80fd5b506131aa612784565b6131b4848461312d565b81526131c3846040850161312d565b60208201526131d5846080850161312d565b60408201526131e78460c0850161312d565b60608201526131fa84610100850161312d565b608082015261320d84610140850161312d565b60a082015261322084610180850161312d565b60c08201529392505050565b5f6020828403121561323c575f80fd5b81516001600160401b03811115613251575f80fd5b820160e08185031215613262575f80fd5b61326a6127cf565b8151613275816129b3565b81526020820151613285816129b3565b602082015261329660408301612ecb565b60408201526132a760608301612c86565b60608201526132b9856080840161312d565b608082015260c08201516001600160401b038111156132d6575f80fd5b6132e286828501612d9a565b60a083015250949350505050565b5f8060408385031215613301575f80fd5b825161330c8161290f565b602084015190925061331d8161290f565b809150509250929050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b805163ffffffff81168114612c91575f80fd5b5f6020828403121561336d575f80fd5b81516001600160401b03811115613382575f80fd5b82016101008185031215613394575f80fd5b61339c6127ac565b6133a582612c86565b81526133b360208301612c86565b60208201526133c46040830161334a565b60408201526133d56060830161334a565b60608201526133e660808301612d74565b60808201526133f760a08301612ecb565b60a082015260c08201516001600160401b03811115613414575f80fd5b61342086828501612d9a565b60c08301525060e08201516001600160401b0381111561343e575f80fd5b61311f86828501612d9a565b5f6020828403121561345a575f80fd5b81516001600160401b0381111561346f575f80fd5b820160808185031215613480575f80fd5b6134886127f1565b81516134938161299e565b81526134a160208301612ce9565b60208201526134b26040830161334a565b604082015260608201516001600160401b038111156134cf575f80fd5b6134db86828501612d9a565b606083015250949350505050565b5f602082840312156134f9575f80fd5b81516001600160401b0381111561350e575f80fd5b82016101408185031215613520575f80fd5b613528612813565b61353182612d74565b815261353f60208301612c86565b602082015261355060408301612d74565b60408201526135616060830161334a565b606082015261357260808301612ecb565b608082015261358360a08301612ce9565b60a082015261359460c08301612ce9565b60c08201526135a560e08301612d74565b60e08201526101008201516001600160401b038111156135c3575f80fd5b6135cf86828501612d9a565b610100830152506101208201516001600160401b038111156135ef575f80fd5b6135fb86828501612d9a565b61012083015250949350505050565b601f8211156121aa57805f5260205f20601f840160051c8101602085101561362f5750805b601f840160051c820191505b8181101561364e575f815560010161363b565b5050505050565b81516001600160401b0381111561366e5761366e612770565b6136828161367c8454612cb1565b8461360a565b6020601f8211600181146136b4575f831561369d5750848201515b5f19600385901b1c1916600184901b17845561364e565b5f84815260208120601f198516915b828110156136e357878501518255602094850194600190920191016136c3565b508482101561370057868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212209c60a06203e8697c46f918179a84cf52fb4a3585de1f23e2ecf05afa699a925f64736f6c634300081a0033",
684
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061011c575f3560e01c8063644c45e0116100a95780638fb360371161006e5780638fb36037146102ae578063ada9652e146102cf578063b68d1809146102e3578063bf7e214f146102ea578063f4bfe53a146102f2575f80fd5b8063644c45e01461023c5780636c741e781461025957806376b707b7146102795780637a9e5e4b14610293578063893d20e8146102a6575f80fd5b80631eff4b22116100ef5780631eff4b22146101b257806322f3e2d4146101e7578063329d6e74146101ef57806349bb9e4b146102045780635ab1bd5314610217575f80fd5b806301ffc9a7146101205780630d8e6e2c146101615780630fec111c1461017d578063138461e014610192575b5f80fd5b61014c61012e366004612687565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610169610312565b60405162ffffff9091168152602001610158565b610185610399565b60405161015891906126dc565b61019a610553565b6040516001600160601b039091168152602001610158565b6101d97f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610158565b61014c61055d565b6102026101fd3660046128de565b6105d4565b005b610202610212366004612923565b61071e565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610158565b5f80516020613710833981519152546001600160601b031661019a565b61026161081a565b6040516001600160401b039091168152602001610158565b6102816108a6565b60405160ff9091168152602001610158565b6102026102a136600461296f565b61090e565b610224610999565b6102b6610aca565b6040516001600160e01b03199091168152602001610158565b6101d95f8051602061371083398151915281565b602a610281565b610224610b12565b6103056103003660046129c5565b610b40565b6040516101589190612a6d565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610370573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103949190612c64565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610445573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104699190612c96565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016104b1610999565b6001600160a01b031681526020018260010180546104ce90612cb1565b80601f01602080910402602001604051908101604052809291908181526020018280546104fa90612cb1565b80156105455780601f1061051c57610100808354040283529160200191610545565b820191905f5260205f20905b81548152906001019060200180831161052857829003601f168201915b505050505081525091505090565b5f61039430611123565b5f610566610b12565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156105aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105ce9190612cf8565b15905090565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6105f6610312565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610634573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106589190612d25565b5f805160206137308339815191528054600160401b900460ff168061068a575080546001600160401b03808416911610155b156106a85760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556106d28361131c565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206137308339815191528054600160401b810460ff1615906001600160401b03165f8115801561074f5750825b90505f826001600160401b0316600114801561076a5750303b155b905081158015610778575080155b156107965760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156107c057845460ff60401b1916600160401b1785555b6107ca878761133d565b831561081157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe602a61083f6108a6565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610882573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103949190612d25565b5f6108af610b12565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108ea573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103949190612d59565b33610917610b12565b6001600160a01b0316816001600160a01b0316146109575760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f0361098c576040516361798f2f60e11b81526001600160a01b038316600482015260240161094e565b61099582611482565b5050565b5f805f8051602061371083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610a05573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a299190612cf8565b15610ab4576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610a8a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aae9190612d7f565b91505090565b54600160601b90046001600160a01b0316919050565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080545f9190600160a01b900460ff16610b04575f610aae565b638fb3603760e01b91505090565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00546001600160a01b031690565b610b486125f4565b610b5388600c6114f5565b610b5e8360166114f5565b5f805f8073__$fb599632d08395912d9d70eb2f0f93b5e2$__63c52721a3610b8e6001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201526001600160601b038f1660248201525f60448201526064015f60405180830381865af4158015610be4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c0b9190810190612de9565b91509150806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c4b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6f9190612d7f565b60405163887b1fa960e01b81526001600160c01b03198d1660048201529094505f906001600160a01b0386169063887b1fa9906024015f60405180830381865afa158015610cbf573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610ce69190810190612ed6565b519050610cf38d82611629565b15610d3457604051636e2b2e1f60e11b81526001600160c01b03198d1660048201526001600160601b0380831660248301528e16604482015260640161094e565b82608001516001600160a01b031663f179d0648c8e8d8d6040518563ffffffff1660e01b8152600401610d6a9493929190612f83565b602060405180830381865afa158015610d85573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610da99190612c96565b6040516302d764c760e21b81526001600160601b038f1660048201529094505f93506001600160a01b0386169250630b5d931c91506024015f60405180830381865afa158015610dfb573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e22919081019061304b565b604051636a05a41360e01b81526001600160601b038d1660048201529091505f906001600160a01b03851690636a05a413906024016101c060405180830381865afa158015610e73573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e97919061318f565b604051634793b4ab60e01b81526001600160601b03891660048201529091505f906001600160a01b03861690634793b4ab906024015f60405180830381865afa158015610ee6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610f0d919081019061322c565b9050610f2181606001518460a00151611629565b15610f6457606081015160a0840151604051631e393b2d60e31b81526001600160601b03808c16600483015292831660248201529116604482015260640161094e565b610f6f8483836116b5565b9550610f7c868383611794565b9550610f8f86838560c001518a89611a74565b9550610f9a86611ed0565b9550610fc78660a00151610fc2610fb8895f01518a60200151611f7a565b8960400151611f7a565b611fff565b15610fe557604051630f96c23560e01b815260040160405180910390fd5b610ffc866101c0015183606001516020015161208b565b15611072576101208601516101a08701516101c08801516101e08901516102008a01516102208b0151604051630bd179a160e21b81526001600160601b039687166004820152948616602486015292851660448501529084166064840152831660848301529190911660a482015260c40161094e565b61109d866101a00151610fc26110928961022001518a6101e00151611f7a565b896102000151611f7a565b15611113576101208601516101a08701516101c08801516101e08901516102008a01516102208b0151604051630bd179a160e21b81526001600160601b039687166004820152948616602486015292851660448501529084166064840152831660848301529190911660a482015260c40161094e565b5050505050979650505050505050565b5f805f8051602061371083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561118f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b39190612cf8565b156111df5780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161094e565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611231573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112559190612cf8565b61127d5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161094e565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156112cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112f39190612c96565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6113246120d5565b60405163502ec37160e01b815260040160405180910390fd5b5f805160206137308339815191528054600160401b810460ff1615906001600160401b03165f8115801561136e5750825b90505f826001600160401b031660011480156113895750303b155b905081158015611397575080155b156113b55760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156113df57845460ff60401b1916600160401b1785555b5f80878060200190518101906113f591906132f0565b9150915061140482828b61210d565b61140e600e6121af565b600280546001600160a01b0319166001600160a01b039290921691909117905561143e637a5ff29d60e11b612246565b5050831561081157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610808565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611545573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115699190612cf8565b806115f757506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156115d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115f59190612cf8565b155b156109955760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161094e565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af415801561168a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116ae9190612cf8565b9392505050565b6116bd6125f4565b6001600160601b03808516606083018190526080830181905284516020015191821660c08401526116ee9082611f7a565b6001600160601b0390811660808085018290528601516020015191821660e085015290915061171d9082611f7a565b6001600160601b0390811660808085018290528501516020015191821661010085015290915061174d9082611f7a565b6001600160601b039081166080840181905260408601516020015191821661012085015290915061177e9082611f7a565b6001600160601b03166080830152509392505050565b61179c6125f4565b6060840151835151604051636e5912e760e01b81525f9173__$3bac17678db7ae928afa209f2f44deec9c$__91636e5912e7916117e7916001600160601b0387169190600401613328565b602060405180830381865af4158015611802573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118269190612c96565b6001600160601b03811661014088015260808701519091506118489082611f7a565b6001600160601b0390811660808089019190915286015151604051636e5912e760e01b815273__$3bac17678db7ae928afa209f2f44deec9c$__92636e5912e7926118999291871691600401613328565b602060405180830381865af41580156118b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118d89190612c96565b6001600160601b03811661016088015260808701519091506118fa9082611f7a565b6001600160601b0390811660808089019190915285015151604051636e5912e760e01b815273__$3bac17678db7ae928afa209f2f44deec9c$__92636e5912e79261194b9291871691600401613328565b602060405180830381865af4158015611966573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061198a9190612c96565b6001600160601b03811661018088015260808701519091506119ac9082611f7a565b6001600160601b039081166080880152604080870151519051636e5912e760e01b815273__$3bac17678db7ae928afa209f2f44deec9c$__92636e5912e7926119fb9291871691600401613328565b602060405180830381865af4158015611a16573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a3a9190612c96565b6001600160601b0381166101a08801526080870151909150611a5c9082611f7a565b6001600160601b031660808701525093949350505050565b611a7c6125f4565b604051630a4d29dd60e31b81526001600160601b038516600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015611ad2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611af69190612cf8565b80611b8157506002546040516309741ce160e21b81526001600160601b03861660048201526001600160c01b0319851660248201526001600160a01b03909116906325d0738490604401602060405180830381865afa158015611b5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b7f9190612cf8565b155b15611bbd57506101208501516001600160601b039081166101c08701526101a086015181166101e087015260808601511660a086015284611ec7565b6060850151604051631d3be47760e01b81526001600160c01b0319851660048201525f906001600160a01b03851690631d3be477906024015f60405180830381865afa158015611c0f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c36919081019061335d565b60208101516040516313d8ebc960e11b81526001600160601b0390911660048201529091505f906001600160a01b038616906327b1d792906024015f60405180830381865afa158015611c8b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611cb2919081019061344a565b80516040516368322c6360e11b81526001600160c01b031990911660048201529091505f906001600160a01b0387169063d06458c6906024015f60405180830381865afa158015611d05573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611d2c91908101906134e9565b60608b015160e0820151604051636e5912e760e01b81529293505f9273__$3bac17678db7ae928afa209f2f44deec9c$__92636e5912e792611d7c926001600160601b0390921691600401613328565b602060405180830381865af4158015611d97573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dbb9190612c96565b6001600160601b038082166102008e01526080808e015190870151604051636e5912e760e01b815293945073__$3bac17678db7ae928afa209f2f44deec9c$__93636e5912e793611e1193169190600401613328565b602060405180830381865af4158015611e2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e509190612c96565b6001600160601b039081166102208d01526020860151166101c08c01526101a08b0151611e8c90611e819083612279565b8c6102200151612279565b6001600160601b03166101e08c015260808b01516102208c0151611eb09190612279565b6001600160601b031660a08c015250899450505050505b95945050505050565b611ed86125f4565b611eeb8260c00151836101400151611f7a565b6001600160601b031682526101208201516101e0830151611f1a91611f0f91611f7a565b836102000151611f7a565b6001600160601b03166020830152606082015160e0830151611f6891611f5d91611f5291611f4791611f7a565b856101600151611f7a565b846101000151611f7a565b836101800151611f7a565b6001600160601b031660408301525090565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015611fdb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116ae9190612c96565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af415801561205f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120839190612cf8565b159392505050565b6040516304d40eb160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906309a81d629060440161166f565b5f8051602061373083398151915254600160401b900460ff1661210b57604051631afcd79f60e31b815260040160405180910390fd5b565b6121156120d5565b61211d6122c3565b61219a8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561215e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121829190612c96565b60085f8660405180602001604052805f8152506122d3565b6121aa63daf9067160e01b612246565b505050565b5f6121c26001546001600160a01b031690565b6001600160a01b031663d39e6043836121d96108a6565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561221c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122409190612d7f565b92915050565b61224e6120d5565b612276816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401611fc0565b6122cb6120d5565b61210b61241a565b6122db6120d5565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015612331573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123559190612cf8565b61237d5760405163cf6935e560e01b81526001600160a01b038816600482015260240161094e565b61238687612448565b6123908683612459565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016123ff8382613655565b50612410634a531f3360e01b612246565b5050505050505050565b6124226120d5565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6124506120d5565b612276816124cf565b6124616120d5565b6124696124e0565b61247282612528565b6001600160a01b0381166124995760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061371083398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6124d76120d5565b61227681611482565b6124e86120d5565b61210b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6125306120d5565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612586573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125aa9190612cf8565b6125d25760405163fdeac91f60e01b81526001600160a01b038216600482015260240161094e565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905261022081019190915290565b5f60208284031215612697575f80fd5b81356001600160e01b0319811681146116ae575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612724608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526127686101008401826126ae565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156127a6576127a6612770565b60405290565b60405161010081016001600160401b03811182821017156127a6576127a6612770565b60405160c081016001600160401b03811182821017156127a6576127a6612770565b604051608081016001600160401b03811182821017156127a6576127a6612770565b60405161014081016001600160401b03811182821017156127a6576127a6612770565b604051601f8201601f191681016001600160401b038111828210171561285e5761285e612770565b604052919050565b5f6001600160401b0382111561287e5761287e612770565b50601f01601f191660200190565b5f82601f83011261289b575f80fd5b81356128ae6128a982612866565b612836565b8181528460208386010111156128c2575f80fd5b816020850160208301375f918101602001919091529392505050565b5f602082840312156128ee575f80fd5b81356001600160401b03811115612903575f80fd5b6127688482850161288c565b6001600160a01b0381168114612276575f80fd5b5f8060408385031215612934575f80fd5b823561293f8161290f565b915060208301356001600160401b03811115612959575f80fd5b6129658582860161288c565b9150509250929050565b5f6020828403121561297f575f80fd5b81356116ae8161290f565b6001600160601b0381168114612276575f80fd5b6001600160c01b031981168114612276575f80fd5b64ffffffffff81168114612276575f80fd5b5f805f805f805f60e0888a0312156129db575f80fd5b87356129e68161298a565b965060208801356129f68161299e565b95506040880135612a068161298a565b94506060880135612a16816129b3565b935060808801356001600160401b03811115612a30575f80fd5b612a3c8a828b0161288c565b93505060a0880135612a4d8161298a565b915060c0880135612a5d8161299e565b8091505092959891949750929550565b81516001600160601b0316815261024081016020830151612a9960208401826001600160601b03169052565b506040830151612ab460408401826001600160601b03169052565b506060830151612acf60608401826001600160601b03169052565b506080830151612aea60808401826001600160601b03169052565b5060a0830151612b0560a08401826001600160601b03169052565b5060c0830151612b2060c08401826001600160601b03169052565b5060e0830151612b3b60e08401826001600160601b03169052565b50610100830151612b586101008401826001600160601b03169052565b50610120830151612b756101208401826001600160601b03169052565b50610140830151612b926101408401826001600160601b03169052565b50610160830151612baf6101608401826001600160601b03169052565b50610180830151612bcc6101808401826001600160601b03169052565b506101a0830151612be96101a08401826001600160601b03169052565b506101c0830151612c066101c08401826001600160601b03169052565b506101e0830151612c236101e08401826001600160601b03169052565b50610200830151612c406102008401826001600160601b03169052565b50610220830151612c5d6102208401826001600160601b03169052565b5092915050565b5f60208284031215612c74575f80fd5b815162ffffff811681146116ae575f80fd5b8051612c918161298a565b919050565b5f60208284031215612ca6575f80fd5b81516116ae8161298a565b600181811c90821680612cc557607f821691505b602082108103612ce357634e487b7160e01b5f52602260045260245ffd5b50919050565b80518015158114612c91575f80fd5b5f60208284031215612d08575f80fd5b6116ae82612ce9565b6001600160401b0381168114612276575f80fd5b5f60208284031215612d35575f80fd5b81516116ae81612d11565b60ff81168114612276575f80fd5b8051612c9181612d40565b5f60208284031215612d69575f80fd5b81516116ae81612d40565b8051612c918161290f565b5f60208284031215612d8f575f80fd5b81516116ae8161290f565b5f82601f830112612da9575f80fd5b8151602083015f612dbc6128a984612866565b9050828152858383011115612dcf575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f8060408385031215612dfa575f80fd5b82516001600160401b03811115612e0f575f80fd5b830160e08186031215612e20575f80fd5b612e28612784565b612e3182612c86565b8152612e3f60208301612c86565b6020820152612e5060408301612d4e565b6040820152612e6160608301612ce9565b6060820152612e7260808301612d74565b6080820152612e8360a08301612d74565b60a082015260c08201516001600160401b03811115612ea0575f80fd5b612eac87828501612d9a565b60c0830152509250612ec2905060208401612d74565b90509250929050565b8051612c91816129b3565b5f60208284031215612ee6575f80fd5b81516001600160401b03811115612efb575f80fd5b820160608185031215612f0c575f80fd5b604051606081016001600160401b0381118282101715612f2e57612f2e612770565b6040528151612f3c8161298a565b81526020820151612f4c816129b3565b602082015260408201516001600160401b03811115612f69575f80fd5b612f7586828501612d9a565b604083015250949350505050565b6001600160601b03851681526001600160401b0360c01b8416602082015264ffffffffff83166040820152608060608201525f612fc360808301846126ae565b9695505050505050565b5f82601f830112612fdc575f80fd5b81516001600160401b03811115612ff557612ff5612770565b8060051b61300560208201612836565b91825260208185018101929081019086841115613020575f80fd5b6020860192505b83831015612fc357825161303a8161298a565b825260209283019290910190613027565b5f6020828403121561305b575f80fd5b81516001600160401b03811115613070575f80fd5b82016101008185031215613082575f80fd5b61308a6127ac565b61309382612ce9565b81526130a160208301612ce9565b60208201526130b260408301612ce9565b60408201526130c360608301612d4e565b60608201526130d460808301612d4e565b60808201526130e560a08301612c86565b60a08201526130f660c08301612c86565b60c082015260e08201516001600160401b03811115613113575f80fd5b61311f86828501612fcd565b60e083015250949350505050565b5f6040828403121561313d575f80fd5b604080519081016001600160401b038111828210171561315f5761315f612770565b806040525080915082516131728161290f565b815260208301516131828161298a565b6020919091015292915050565b5f6101c08284031280156131a1575f80fd5b506131aa612784565b6131b4848461312d565b81526131c3846040850161312d565b60208201526131d5846080850161312d565b60408201526131e78460c0850161312d565b60608201526131fa84610100850161312d565b608082015261320d84610140850161312d565b60a082015261322084610180850161312d565b60c08201529392505050565b5f6020828403121561323c575f80fd5b81516001600160401b03811115613251575f80fd5b820160e08185031215613262575f80fd5b61326a6127cf565b8151613275816129b3565b81526020820151613285816129b3565b602082015261329660408301612ecb565b60408201526132a760608301612c86565b60608201526132b9856080840161312d565b608082015260c08201516001600160401b038111156132d6575f80fd5b6132e286828501612d9a565b60a083015250949350505050565b5f8060408385031215613301575f80fd5b825161330c8161290f565b602084015190925061331d8161290f565b809150509250929050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b805163ffffffff81168114612c91575f80fd5b5f6020828403121561336d575f80fd5b81516001600160401b03811115613382575f80fd5b82016101008185031215613394575f80fd5b61339c6127ac565b6133a582612c86565b81526133b360208301612c86565b60208201526133c46040830161334a565b60408201526133d56060830161334a565b60608201526133e660808301612d74565b60808201526133f760a08301612ecb565b60a082015260c08201516001600160401b03811115613414575f80fd5b61342086828501612d9a565b60c08301525060e08201516001600160401b0381111561343e575f80fd5b61311f86828501612d9a565b5f6020828403121561345a575f80fd5b81516001600160401b0381111561346f575f80fd5b820160808185031215613480575f80fd5b6134886127f1565b81516134938161299e565b81526134a160208301612ce9565b60208201526134b26040830161334a565b604082015260608201516001600160401b038111156134cf575f80fd5b6134db86828501612d9a565b606083015250949350505050565b5f602082840312156134f9575f80fd5b81516001600160401b0381111561350e575f80fd5b82016101408185031215613520575f80fd5b613528612813565b61353182612d74565b815261353f60208301612c86565b602082015261355060408301612d74565b60408201526135616060830161334a565b606082015261357260808301612ecb565b608082015261358360a08301612ce9565b60a082015261359460c08301612ce9565b60c08201526135a560e08301612d74565b60e08201526101008201516001600160401b038111156135c3575f80fd5b6135cf86828501612d9a565b610100830152506101208201516001600160401b038111156135ef575f80fd5b6135fb86828501612d9a565b61012083015250949350505050565b601f8211156121aa57805f5260205f20601f840160051c8101602085101561362f5750805b601f840160051c820191505b8181101561364e575f815560010161363b565b5050505050565b81516001600160401b0381111561366e5761366e612770565b6136828161367c8454612cb1565b8461360a565b6020601f8211600181146136b4575f831561369d5750848201515b5f19600385901b1c1916600184901b17845561364e565b5f84815260208120601f198516915b828110156136e357878501518255602094850194600190920191016136c3565b508482101561370057868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212209c60a06203e8697c46f918179a84cf52fb4a3585de1f23e2ecf05afa699a925f64736f6c634300081a0033",
685
+ "linkReferences": {
686
+ "contracts/shared/ContractLib.sol": {
687
+ "ContractLib": [
688
+ {
689
+ "length": 20,
690
+ "start": 3130
691
+ },
692
+ {
693
+ "length": 20,
694
+ "start": 9167
695
+ },
696
+ {
697
+ "length": 20,
698
+ "start": 9764
699
+ }
700
+ ]
701
+ },
702
+ "contracts/type/Amount.sol": {
703
+ "AmountLib": [
704
+ {
705
+ "length": 20,
706
+ "start": 6283
707
+ },
708
+ {
709
+ "length": 20,
710
+ "start": 6469
711
+ },
712
+ {
713
+ "length": 20,
714
+ "start": 6647
715
+ },
716
+ {
717
+ "length": 20,
718
+ "start": 6823
719
+ },
720
+ {
721
+ "length": 20,
722
+ "start": 7712
723
+ },
724
+ {
725
+ "length": 20,
726
+ "start": 7870
727
+ },
728
+ {
729
+ "length": 20,
730
+ "start": 8312
731
+ },
732
+ {
733
+ "length": 20,
734
+ "start": 8445
735
+ },
736
+ {
737
+ "length": 20,
738
+ "start": 8585
739
+ },
740
+ {
741
+ "length": 20,
742
+ "start": 9079
743
+ }
744
+ ]
745
+ },
746
+ "contracts/type/NftId.sol": {
747
+ "NftIdLib": [
748
+ {
749
+ "length": 20,
750
+ "start": 1238
751
+ },
752
+ {
753
+ "length": 20,
754
+ "start": 2723
755
+ },
756
+ {
757
+ "length": 20,
758
+ "start": 4653
759
+ },
760
+ {
761
+ "length": 20,
762
+ "start": 5927
763
+ },
764
+ {
765
+ "length": 20,
766
+ "start": 7024
767
+ }
768
+ ]
769
+ },
770
+ "contracts/type/ObjectType.sol": {
771
+ "ObjectTypeLib": [
772
+ {
773
+ "length": 20,
774
+ "start": 5603
775
+ }
776
+ ]
777
+ },
778
+ "contracts/type/RoleId.sol": {
779
+ "RoleIdLib": [
780
+ {
781
+ "length": 20,
782
+ "start": 2291
783
+ }
784
+ ]
785
+ },
786
+ "contracts/type/Version.sol": {
787
+ "VersionLib": [
788
+ {
789
+ "length": 20,
790
+ "start": 1038
791
+ },
792
+ {
793
+ "length": 20,
794
+ "start": 1708
795
+ }
796
+ ]
797
+ }
798
+ },
799
+ "deployedLinkReferences": {
800
+ "contracts/shared/ContractLib.sol": {
801
+ "ContractLib": [
802
+ {
803
+ "length": 20,
804
+ "start": 2916
805
+ },
806
+ {
807
+ "length": 20,
808
+ "start": 8953
809
+ },
810
+ {
811
+ "length": 20,
812
+ "start": 9550
813
+ }
814
+ ]
815
+ },
816
+ "contracts/type/Amount.sol": {
817
+ "AmountLib": [
818
+ {
819
+ "length": 20,
820
+ "start": 6069
821
+ },
822
+ {
823
+ "length": 20,
824
+ "start": 6255
825
+ },
826
+ {
827
+ "length": 20,
828
+ "start": 6433
829
+ },
830
+ {
831
+ "length": 20,
832
+ "start": 6609
833
+ },
834
+ {
835
+ "length": 20,
836
+ "start": 7498
837
+ },
838
+ {
839
+ "length": 20,
840
+ "start": 7656
841
+ },
842
+ {
843
+ "length": 20,
844
+ "start": 8098
845
+ },
846
+ {
847
+ "length": 20,
848
+ "start": 8231
849
+ },
850
+ {
851
+ "length": 20,
852
+ "start": 8371
853
+ },
854
+ {
855
+ "length": 20,
856
+ "start": 8865
857
+ }
858
+ ]
859
+ },
860
+ "contracts/type/NftId.sol": {
861
+ "NftIdLib": [
862
+ {
863
+ "length": 20,
864
+ "start": 1024
865
+ },
866
+ {
867
+ "length": 20,
868
+ "start": 2509
869
+ },
870
+ {
871
+ "length": 20,
872
+ "start": 4439
873
+ },
874
+ {
875
+ "length": 20,
876
+ "start": 5713
877
+ },
878
+ {
879
+ "length": 20,
880
+ "start": 6810
881
+ }
882
+ ]
883
+ },
884
+ "contracts/type/ObjectType.sol": {
885
+ "ObjectTypeLib": [
886
+ {
887
+ "length": 20,
888
+ "start": 5389
889
+ }
890
+ ]
891
+ },
892
+ "contracts/type/RoleId.sol": {
893
+ "RoleIdLib": [
894
+ {
895
+ "length": 20,
896
+ "start": 2077
897
+ }
898
+ ]
899
+ },
900
+ "contracts/type/Version.sol": {
901
+ "VersionLib": [
902
+ {
903
+ "length": 20,
904
+ "start": 824
905
+ },
906
+ {
907
+ "length": 20,
908
+ "start": 1494
909
+ }
910
+ ]
911
+ }
912
+ }
913
+ }