@etherisc/gif-next 0.0.2-f831797-539 → 0.0.2-f946ccd-184

Sign up to get free protection for your applications and to get access to all the features.
Files changed (667) hide show
  1. package/README.md +57 -88
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1234 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1013 -0
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
  14. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
  18. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1342 -0
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +410 -0
  26. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  27. package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +220 -509
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1405 -0
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +818 -0
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  33. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +282 -227
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +254 -335
  36. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1463 -0
  38. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +410 -0
  40. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1712 -0
  42. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +414 -0
  44. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  46. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  47. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1411 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1517 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +1978 -0
  54. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  55. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  56. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  57. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +278 -1906
  58. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  59. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +318 -70
  60. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  61. package/artifacts/contracts/instance/Instance.sol/Instance.json +335 -2711
  62. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1623 -0
  64. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
  66. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  67. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +904 -338
  68. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +350 -343
  70. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +132 -111
  72. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  73. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3587 -0
  74. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  75. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  76. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  77. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
  78. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  79. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  80. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  81. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  82. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  83. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  84. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +25 -150
  86. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  87. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  88. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  89. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  90. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  91. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  92. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  93. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  94. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +979 -0
  95. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  96. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  97. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  98. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  99. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  100. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +765 -0
  101. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  102. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → oracle/IOracleService.sol/IOracleService.json} +305 -170
  103. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  104. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +871 -0
  105. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  106. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +927 -0
  107. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  108. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +710 -0
  109. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  110. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +293 -383
  111. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  112. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  113. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  114. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1367 -0
  115. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  116. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +802 -0
  117. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  118. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +412 -135
  119. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  120. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +297 -324
  121. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  122. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1198 -0
  123. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  124. package/artifacts/contracts/pool/Pool.sol/Pool.json +1034 -0
  125. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  126. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1474 -0
  127. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  128. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +726 -0
  129. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  130. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +737 -0
  131. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  132. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +698 -0
  133. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  134. package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +354 -397
  135. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  136. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  137. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  138. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1346 -0
  139. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  140. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +814 -0
  141. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  142. package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +129 -168
  143. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  144. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +886 -0
  145. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  146. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +867 -0
  147. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  148. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → product/IPricingService.sol/IPricingService.json} +214 -217
  149. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  150. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +948 -0
  151. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  152. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +81 -65
  153. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  154. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1239 -0
  155. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  156. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +770 -0
  157. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  158. package/artifacts/contracts/product/PricingService.sol/PricingService.json +865 -0
  159. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  160. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +746 -0
  161. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  162. package/artifacts/contracts/product/Product.sol/Product.json +1054 -0
  163. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  164. package/artifacts/contracts/product/RiskService.sol/RiskService.json +588 -0
  165. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  166. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +682 -0
  167. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  168. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  169. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  170. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +394 -21
  171. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  172. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +199 -149
  173. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  174. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  175. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  176. package/artifacts/contracts/registry/Registry.sol/Registry.json +793 -37
  177. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  178. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1858 -0
  179. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  180. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +372 -204
  181. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  182. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +126 -95
  183. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  184. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  185. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  186. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1169 -0
  187. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  188. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  189. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  190. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +316 -153
  191. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  192. package/artifacts/contracts/shared/Component.sol/Component.json +685 -0
  193. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  194. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1573 -0
  195. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  196. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +794 -0
  197. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  198. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +146 -142
  199. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  200. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  201. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  202. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +193 -75
  203. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  204. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1033 -0
  205. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  206. package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json} +215 -227
  207. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  208. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +59 -14
  209. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  210. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
  211. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  212. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +3 -10
  213. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  214. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +59 -13
  215. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  216. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +3 -10
  217. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  218. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  219. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  220. package/artifacts/contracts/shared/IService.sol/IService.json +96 -19
  221. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  222. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  223. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  224. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  225. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  226. package/artifacts/contracts/{components/Component.sol/Component.json → shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json} +194 -215
  227. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  228. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
  229. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  230. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +133 -0
  231. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  232. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  233. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  234. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +12 -70
  235. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  236. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +35 -85
  237. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  238. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +18 -106
  239. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  240. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -28
  241. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  242. package/artifacts/contracts/shared/Service.sol/Service.json +88 -113
  243. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  244. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +382 -9
  245. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  246. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  247. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  248. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  249. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  250. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  251. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  252. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  253. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  254. package/artifacts/contracts/staking/Staking.sol/Staking.json +1828 -0
  255. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  256. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  257. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  258. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +750 -0
  259. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  260. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  261. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  262. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1236 -0
  263. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  264. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +698 -0
  265. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  266. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2242 -0
  267. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  268. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  269. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  270. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  271. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  272. package/artifacts/contracts/type/Amount.sol/AmountLib.json +374 -0
  273. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  274. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  275. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  276. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  277. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  278. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  279. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  280. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  281. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  282. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  283. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  284. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  285. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  286. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  287. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  288. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  289. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  290. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  291. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  292. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  293. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  294. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  295. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  296. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +142 -0
  297. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  298. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  299. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  300. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  301. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  302. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  303. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  304. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  305. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  306. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  307. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  308. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  309. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  310. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  311. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  312. package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
  313. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  314. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +535 -0
  315. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  316. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  317. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  318. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  319. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  320. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  321. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  322. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +586 -0
  323. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  324. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  325. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  326. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  327. package/contracts/authorization/AccessAdmin.sol +592 -0
  328. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  329. package/contracts/authorization/Authorization.sol +217 -0
  330. package/contracts/authorization/IAccess.sol +48 -0
  331. package/contracts/authorization/IAccessAdmin.sol +135 -0
  332. package/contracts/authorization/IAuthorization.sol +54 -0
  333. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  334. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  335. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  336. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  337. package/contracts/distribution/BasicDistribution.sol +138 -0
  338. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  339. package/contracts/{components → distribution}/Distribution.sol +178 -163
  340. package/contracts/distribution/DistributionService.sol +336 -0
  341. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  342. package/contracts/distribution/IDistributionComponent.sol +52 -0
  343. package/contracts/{instance/service → distribution}/IDistributionService.sol +41 -38
  344. package/contracts/examples/fire/FirePool.sol +75 -0
  345. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  346. package/contracts/examples/fire/FireProduct.sol +324 -0
  347. package/contracts/examples/fire/FireProductAuthorization.sol +35 -0
  348. package/contracts/examples/fire/FireUSD.sol +26 -0
  349. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  350. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  351. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  352. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  353. package/contracts/instance/{BundleManager.sol → BundleSet.sol} +30 -31
  354. package/contracts/instance/IInstance.sol +43 -73
  355. package/contracts/instance/IInstanceService.sol +56 -24
  356. package/contracts/instance/Instance.sol +160 -226
  357. package/contracts/instance/InstanceAdmin.sol +285 -0
  358. package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
  359. package/contracts/instance/InstanceReader.sol +201 -65
  360. package/contracts/instance/InstanceService.sol +333 -356
  361. package/contracts/instance/InstanceServiceManager.sol +14 -29
  362. package/contracts/instance/InstanceStore.sol +287 -0
  363. package/contracts/instance/base/BalanceStore.sol +123 -0
  364. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
  365. package/contracts/instance/base/ObjectCounter.sol +21 -0
  366. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  367. package/contracts/instance/{ObjectManager.sol → base/ObjectSet.sol} +19 -24
  368. package/contracts/instance/module/IAccess.sol +19 -20
  369. package/contracts/instance/module/IBundle.sol +8 -9
  370. package/contracts/instance/module/IComponents.sol +20 -9
  371. package/contracts/instance/module/IDistribution.sol +6 -6
  372. package/contracts/instance/module/IPolicy.sol +47 -35
  373. package/contracts/instance/module/IRisk.sol +1 -1
  374. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  375. package/contracts/oracle/BasicOracle.sol +48 -0
  376. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  377. package/contracts/oracle/IOracle.sol +36 -0
  378. package/contracts/oracle/IOracleComponent.sol +33 -0
  379. package/contracts/oracle/IOracleService.sol +65 -0
  380. package/contracts/oracle/Oracle.sol +167 -0
  381. package/contracts/oracle/OracleService.sol +281 -0
  382. package/contracts/oracle/OracleServiceManager.sol +39 -0
  383. package/contracts/pool/BasicPool.sol +166 -0
  384. package/contracts/pool/BasicPoolAuthorization.sol +58 -0
  385. package/contracts/pool/BundleService.sol +438 -0
  386. package/contracts/pool/BundleServiceManager.sol +39 -0
  387. package/contracts/pool/IBundleService.sol +134 -0
  388. package/contracts/pool/IPoolComponent.sol +58 -0
  389. package/contracts/pool/IPoolService.sol +160 -0
  390. package/contracts/pool/Pool.sol +326 -0
  391. package/contracts/pool/PoolService.sol +508 -0
  392. package/contracts/pool/PoolServiceManager.sol +39 -0
  393. package/contracts/product/ApplicationService.sol +247 -0
  394. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
  395. package/contracts/product/BasicProduct.sol +53 -0
  396. package/contracts/product/BasicProductAuthorization.sol +43 -0
  397. package/contracts/product/ClaimService.sol +546 -0
  398. package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
  399. package/contracts/{instance/service → product}/IApplicationService.sol +16 -35
  400. package/contracts/product/IClaimService.sol +122 -0
  401. package/contracts/product/IPolicyService.sol +77 -0
  402. package/contracts/product/IPricingService.sol +39 -0
  403. package/contracts/product/IProductComponent.sol +39 -0
  404. package/contracts/product/IRiskService.sol +33 -0
  405. package/contracts/product/PolicyService.sol +651 -0
  406. package/contracts/product/PolicyServiceManager.sol +39 -0
  407. package/contracts/product/PricingService.sol +300 -0
  408. package/contracts/product/PricingServiceManager.sol +39 -0
  409. package/contracts/product/Product.sol +425 -0
  410. package/contracts/product/RiskService.sol +96 -0
  411. package/contracts/product/RiskServiceManager.sol +39 -0
  412. package/contracts/registry/ChainNft.sol +80 -32
  413. package/contracts/registry/IRegistry.sol +94 -25
  414. package/contracts/registry/IRegistryService.sol +44 -42
  415. package/contracts/registry/ITransferInterceptor.sol +1 -0
  416. package/contracts/registry/Registry.sol +439 -201
  417. package/contracts/registry/RegistryAdmin.sol +464 -0
  418. package/contracts/registry/RegistryService.sol +70 -101
  419. package/contracts/registry/RegistryServiceManager.sol +23 -32
  420. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  421. package/contracts/registry/ReleaseRegistry.sol +491 -0
  422. package/contracts/registry/ServiceAuthorizationV3.sol +199 -0
  423. package/contracts/registry/TokenRegistry.sol +261 -62
  424. package/contracts/shared/Component.sol +268 -0
  425. package/contracts/shared/ComponentService.sol +641 -0
  426. package/contracts/shared/ComponentServiceManager.sol +38 -0
  427. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  428. package/contracts/shared/ContractLib.sol +38 -0
  429. package/contracts/shared/IComponent.sol +70 -0
  430. package/contracts/shared/IComponentService.sol +108 -0
  431. package/contracts/shared/IInstanceLinkedComponent.sol +49 -0
  432. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  433. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
  434. package/contracts/shared/INftOwnable.sol +2 -2
  435. package/contracts/shared/IPolicyHolder.sol +23 -14
  436. package/contracts/shared/IRegistryLinked.sol +0 -1
  437. package/contracts/shared/IService.sol +15 -8
  438. package/contracts/shared/InitializableCustom.sol +177 -0
  439. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +4 -4
  440. package/contracts/shared/InstanceLinkedComponent.sol +172 -0
  441. package/contracts/shared/KeyValueStore.sol +131 -0
  442. package/contracts/shared/Lifecycle.sol +77 -0
  443. package/contracts/shared/NftIdSet.sol +65 -0
  444. package/contracts/shared/NftOwnable.sol +10 -23
  445. package/contracts/shared/PolicyHolder.sol +19 -42
  446. package/contracts/shared/Registerable.sol +17 -16
  447. package/contracts/shared/RegistryLinked.sol +3 -7
  448. package/contracts/shared/Service.sol +56 -27
  449. package/contracts/shared/TokenHandler.sol +115 -9
  450. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  451. package/contracts/staking/IStaking.sol +168 -0
  452. package/contracts/staking/IStakingService.sol +160 -0
  453. package/contracts/staking/StakeManagerLib.sol +224 -0
  454. package/contracts/staking/Staking.sol +498 -0
  455. package/contracts/staking/StakingLifecycle.sol +23 -0
  456. package/contracts/staking/StakingManager.sol +52 -0
  457. package/contracts/staking/StakingReader.sol +183 -0
  458. package/contracts/staking/StakingService.sol +407 -0
  459. package/contracts/staking/StakingServiceManager.sol +44 -0
  460. package/contracts/staking/StakingStore.sol +605 -0
  461. package/contracts/staking/TargetManagerLib.sol +211 -0
  462. package/contracts/{types → type}/AddressSet.sol +1 -1
  463. package/contracts/type/Amount.sol +135 -0
  464. package/contracts/{types → type}/Blocknumber.sol +26 -3
  465. package/contracts/{types → type}/ClaimId.sol +25 -2
  466. package/contracts/{types → type}/Fee.sol +33 -24
  467. package/contracts/{types → type}/NftId.sol +15 -16
  468. package/contracts/{types → type}/NftIdSet.sol +2 -2
  469. package/contracts/type/ObjectType.sol +275 -0
  470. package/contracts/{types → type}/PayoutId.sol +33 -5
  471. package/contracts/{types → type}/Referral.sol +2 -1
  472. package/contracts/type/RequestId.sol +75 -0
  473. package/contracts/{types → type}/RiskId.sol +16 -2
  474. package/contracts/type/RoleId.sol +174 -0
  475. package/contracts/type/Seconds.sol +101 -0
  476. package/contracts/type/Selector.sol +102 -0
  477. package/contracts/{types → type}/StateId.sol +34 -4
  478. package/contracts/type/String.sol +53 -0
  479. package/contracts/{types → type}/Timestamp.sol +21 -2
  480. package/contracts/{types → type}/UFixed.sol +34 -9
  481. package/contracts/{types → type}/Version.sol +4 -2
  482. package/contracts/{shared → upgradeability}/IVersionable.sol +1 -1
  483. package/contracts/{shared → upgradeability}/ProxyManager.sol +92 -30
  484. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  485. package/contracts/{shared → upgradeability}/Versionable.sol +3 -3
  486. package/package.json +8 -5
  487. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  488. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  489. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  490. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  491. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  492. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  493. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  494. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  495. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  496. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -783
  497. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  498. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  499. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -984
  500. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  501. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
  502. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  503. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  504. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  505. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  506. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  507. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  508. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  509. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  510. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  511. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  512. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  513. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -968
  514. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  515. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -665
  516. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  517. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1093
  518. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  519. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -661
  520. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  521. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -754
  522. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  523. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -637
  524. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  525. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1724
  526. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  527. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -801
  528. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  529. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  530. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  531. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +0 -409
  532. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  533. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  534. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  535. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  536. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  537. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1021
  538. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  539. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -689
  540. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  541. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -816
  542. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  543. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -653
  544. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  545. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
  546. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  547. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -649
  548. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  549. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  550. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  551. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -547
  552. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  553. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  554. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  555. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  556. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  557. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  558. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
  559. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  560. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  561. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  562. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  563. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  564. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  565. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  566. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  567. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  568. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  569. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -521
  570. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  571. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  572. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  573. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  574. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  575. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  576. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  577. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  578. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  579. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  580. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  581. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  582. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  583. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  584. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  585. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  586. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  587. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  588. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  589. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  590. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  591. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  592. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  593. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  594. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  595. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  596. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  597. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  598. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  599. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  600. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  601. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  602. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  603. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
  604. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  605. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  606. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  607. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  608. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  609. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  610. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  611. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  612. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -267
  613. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  614. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  615. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  616. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  617. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  618. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  619. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  620. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  621. package/contracts/components/Component.sol +0 -241
  622. package/contracts/components/IComponent.sol +0 -74
  623. package/contracts/components/IDistributionComponent.sol +0 -71
  624. package/contracts/components/IPoolComponent.sol +0 -113
  625. package/contracts/components/IProductComponent.sol +0 -40
  626. package/contracts/components/Pool.sol +0 -299
  627. package/contracts/components/Product.sol +0 -293
  628. package/contracts/instance/InstanceAccessManager.sol +0 -297
  629. package/contracts/instance/base/ComponentService.sol +0 -134
  630. package/contracts/instance/base/KeyValueStore.sol +0 -175
  631. package/contracts/instance/base/Lifecycle.sol +0 -109
  632. package/contracts/instance/module/ISetup.sol +0 -33
  633. package/contracts/instance/module/ITreasury.sol +0 -23
  634. package/contracts/instance/service/ApplicationService.sol +0 -350
  635. package/contracts/instance/service/BundleService.sol +0 -336
  636. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  637. package/contracts/instance/service/ClaimService.sol +0 -151
  638. package/contracts/instance/service/DistributionService.sol +0 -450
  639. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  640. package/contracts/instance/service/IBundleService.sol +0 -62
  641. package/contracts/instance/service/IClaimService.sol +0 -61
  642. package/contracts/instance/service/IPolicyService.sol +0 -72
  643. package/contracts/instance/service/IPoolService.sol +0 -35
  644. package/contracts/instance/service/IProductService.sol +0 -40
  645. package/contracts/instance/service/PolicyService.sol +0 -403
  646. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  647. package/contracts/instance/service/PoolService.sol +0 -163
  648. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  649. package/contracts/instance/service/ProductService.sol +0 -233
  650. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  651. package/contracts/registry/RegistryAccessManager.sol +0 -216
  652. package/contracts/registry/ReleaseManager.sol +0 -322
  653. package/contracts/shared/ContractDeployerLib.sol +0 -72
  654. package/contracts/test/TestFee.sol +0 -25
  655. package/contracts/test/TestRegisterable.sol +0 -18
  656. package/contracts/test/TestRoleId.sol +0 -14
  657. package/contracts/test/TestService.sol +0 -25
  658. package/contracts/test/TestToken.sol +0 -26
  659. package/contracts/test/TestVersion.sol +0 -44
  660. package/contracts/test/TestVersionable.sol +0 -17
  661. package/contracts/types/ChainId.sol +0 -38
  662. package/contracts/types/NumberId.sol +0 -52
  663. package/contracts/types/ObjectType.sol +0 -157
  664. package/contracts/types/RoleId.sol +0 -95
  665. package/contracts/types/Seconds.sol +0 -54
  666. /package/contracts/{types → type}/DistributorType.sol +0 -0
  667. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -0,0 +1,865 @@
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": "NftId",
48
+ "name": "componentNftId",
49
+ "type": "uint96"
50
+ }
51
+ ],
52
+ "name": "ErrorComponentVerifyingServiceComponentIsLocked",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "componentNftId",
60
+ "type": "uint96"
61
+ },
62
+ {
63
+ "internalType": "ObjectType",
64
+ "name": "expectedType",
65
+ "type": "uint8"
66
+ },
67
+ {
68
+ "internalType": "ObjectType",
69
+ "name": "actualType",
70
+ "type": "uint8"
71
+ }
72
+ ],
73
+ "name": "ErrorComponentVerifyingServiceComponentTypeInvalid",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "NftId",
80
+ "name": "bundleNftId",
81
+ "type": "uint96"
82
+ },
83
+ {
84
+ "internalType": "NftId",
85
+ "name": "bundlePoolNftId",
86
+ "type": "uint96"
87
+ },
88
+ {
89
+ "internalType": "NftId",
90
+ "name": "poolNftId",
91
+ "type": "uint96"
92
+ }
93
+ ],
94
+ "name": "ErrorIPricingServiceBundlePoolMismatch",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "Amount",
101
+ "name": "distributionFeeFixAmount",
102
+ "type": "uint96"
103
+ },
104
+ {
105
+ "internalType": "Amount",
106
+ "name": "distributionFeeVarAmount",
107
+ "type": "uint96"
108
+ },
109
+ {
110
+ "internalType": "Amount",
111
+ "name": "distributionOwnerFeeFixAmount",
112
+ "type": "uint96"
113
+ },
114
+ {
115
+ "internalType": "Amount",
116
+ "name": "distributionOwnerFeeVarAmount",
117
+ "type": "uint96"
118
+ },
119
+ {
120
+ "internalType": "Amount",
121
+ "name": "commissionAmount",
122
+ "type": "uint96"
123
+ },
124
+ {
125
+ "internalType": "Amount",
126
+ "name": "discountAmount",
127
+ "type": "uint96"
128
+ }
129
+ ],
130
+ "name": "ErrorIPricingServiceFeeCalculationMismatch",
131
+ "type": "error"
132
+ },
133
+ {
134
+ "inputs": [
135
+ {
136
+ "internalType": "NftId",
137
+ "name": "nftId",
138
+ "type": "uint96"
139
+ }
140
+ ],
141
+ "name": "ErrorNftOwnableAlreadyLinked",
142
+ "type": "error"
143
+ },
144
+ {
145
+ "inputs": [
146
+ {
147
+ "internalType": "address",
148
+ "name": "contractAddress",
149
+ "type": "address"
150
+ }
151
+ ],
152
+ "name": "ErrorNftOwnableContractNotRegistered",
153
+ "type": "error"
154
+ },
155
+ {
156
+ "inputs": [],
157
+ "name": "ErrorNftOwnableInitialOwnerZero",
158
+ "type": "error"
159
+ },
160
+ {
161
+ "inputs": [
162
+ {
163
+ "internalType": "address",
164
+ "name": "account",
165
+ "type": "address"
166
+ }
167
+ ],
168
+ "name": "ErrorNftOwnableNotOwner",
169
+ "type": "error"
170
+ },
171
+ {
172
+ "inputs": [
173
+ {
174
+ "internalType": "address",
175
+ "name": "registryAddress",
176
+ "type": "address"
177
+ }
178
+ ],
179
+ "name": "ErrorNotRegistry",
180
+ "type": "error"
181
+ },
182
+ {
183
+ "inputs": [],
184
+ "name": "ErrorPricingServiceTargetWalletAmountsMismatch",
185
+ "type": "error"
186
+ },
187
+ {
188
+ "inputs": [],
189
+ "name": "ErrorServiceNotImplemented",
190
+ "type": "error"
191
+ },
192
+ {
193
+ "inputs": [],
194
+ "name": "InvalidInitialization",
195
+ "type": "error"
196
+ },
197
+ {
198
+ "inputs": [],
199
+ "name": "NotInitializing",
200
+ "type": "error"
201
+ },
202
+ {
203
+ "inputs": [],
204
+ "name": "ReentrancyGuardReentrantCall",
205
+ "type": "error"
206
+ },
207
+ {
208
+ "anonymous": false,
209
+ "inputs": [
210
+ {
211
+ "indexed": false,
212
+ "internalType": "address",
213
+ "name": "authority",
214
+ "type": "address"
215
+ }
216
+ ],
217
+ "name": "AuthorityUpdated",
218
+ "type": "event"
219
+ },
220
+ {
221
+ "anonymous": false,
222
+ "inputs": [
223
+ {
224
+ "indexed": false,
225
+ "internalType": "uint64",
226
+ "name": "version",
227
+ "type": "uint64"
228
+ }
229
+ ],
230
+ "name": "Initialized",
231
+ "type": "event"
232
+ },
233
+ {
234
+ "inputs": [],
235
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
236
+ "outputs": [
237
+ {
238
+ "internalType": "bytes32",
239
+ "name": "",
240
+ "type": "bytes32"
241
+ }
242
+ ],
243
+ "stateMutability": "view",
244
+ "type": "function"
245
+ },
246
+ {
247
+ "inputs": [],
248
+ "name": "REGISTERABLE_LOCATION_V1",
249
+ "outputs": [
250
+ {
251
+ "internalType": "bytes32",
252
+ "name": "",
253
+ "type": "bytes32"
254
+ }
255
+ ],
256
+ "stateMutability": "view",
257
+ "type": "function"
258
+ },
259
+ {
260
+ "inputs": [],
261
+ "name": "authority",
262
+ "outputs": [
263
+ {
264
+ "internalType": "address",
265
+ "name": "",
266
+ "type": "address"
267
+ }
268
+ ],
269
+ "stateMutability": "view",
270
+ "type": "function"
271
+ },
272
+ {
273
+ "inputs": [
274
+ {
275
+ "internalType": "NftId",
276
+ "name": "productNftId",
277
+ "type": "uint96"
278
+ },
279
+ {
280
+ "internalType": "RiskId",
281
+ "name": "riskId",
282
+ "type": "bytes8"
283
+ },
284
+ {
285
+ "internalType": "Amount",
286
+ "name": "sumInsuredAmount",
287
+ "type": "uint96"
288
+ },
289
+ {
290
+ "internalType": "Seconds",
291
+ "name": "lifetime",
292
+ "type": "uint40"
293
+ },
294
+ {
295
+ "internalType": "bytes",
296
+ "name": "applicationData",
297
+ "type": "bytes"
298
+ },
299
+ {
300
+ "internalType": "NftId",
301
+ "name": "bundleNftId",
302
+ "type": "uint96"
303
+ },
304
+ {
305
+ "internalType": "ReferralId",
306
+ "name": "referralId",
307
+ "type": "bytes8"
308
+ }
309
+ ],
310
+ "name": "calculatePremium",
311
+ "outputs": [
312
+ {
313
+ "components": [
314
+ {
315
+ "internalType": "Amount",
316
+ "name": "productFeeAmount",
317
+ "type": "uint96"
318
+ },
319
+ {
320
+ "internalType": "Amount",
321
+ "name": "distributionFeeAndCommissionAmount",
322
+ "type": "uint96"
323
+ },
324
+ {
325
+ "internalType": "Amount",
326
+ "name": "poolPremiumAndFeeAmount",
327
+ "type": "uint96"
328
+ },
329
+ {
330
+ "internalType": "Amount",
331
+ "name": "netPremiumAmount",
332
+ "type": "uint96"
333
+ },
334
+ {
335
+ "internalType": "Amount",
336
+ "name": "fullPremiumAmount",
337
+ "type": "uint96"
338
+ },
339
+ {
340
+ "internalType": "Amount",
341
+ "name": "premiumAmount",
342
+ "type": "uint96"
343
+ },
344
+ {
345
+ "internalType": "Amount",
346
+ "name": "productFeeFixAmount",
347
+ "type": "uint96"
348
+ },
349
+ {
350
+ "internalType": "Amount",
351
+ "name": "poolFeeFixAmount",
352
+ "type": "uint96"
353
+ },
354
+ {
355
+ "internalType": "Amount",
356
+ "name": "bundleFeeFixAmount",
357
+ "type": "uint96"
358
+ },
359
+ {
360
+ "internalType": "Amount",
361
+ "name": "distributionFeeFixAmount",
362
+ "type": "uint96"
363
+ },
364
+ {
365
+ "internalType": "Amount",
366
+ "name": "productFeeVarAmount",
367
+ "type": "uint96"
368
+ },
369
+ {
370
+ "internalType": "Amount",
371
+ "name": "poolFeeVarAmount",
372
+ "type": "uint96"
373
+ },
374
+ {
375
+ "internalType": "Amount",
376
+ "name": "bundleFeeVarAmount",
377
+ "type": "uint96"
378
+ },
379
+ {
380
+ "internalType": "Amount",
381
+ "name": "distributionFeeVarAmount",
382
+ "type": "uint96"
383
+ },
384
+ {
385
+ "internalType": "Amount",
386
+ "name": "distributionOwnerFeeFixAmount",
387
+ "type": "uint96"
388
+ },
389
+ {
390
+ "internalType": "Amount",
391
+ "name": "distributionOwnerFeeVarAmount",
392
+ "type": "uint96"
393
+ },
394
+ {
395
+ "internalType": "Amount",
396
+ "name": "commissionAmount",
397
+ "type": "uint96"
398
+ },
399
+ {
400
+ "internalType": "Amount",
401
+ "name": "discountAmount",
402
+ "type": "uint96"
403
+ }
404
+ ],
405
+ "internalType": "struct IPolicy.PremiumInfo",
406
+ "name": "premium",
407
+ "type": "tuple"
408
+ }
409
+ ],
410
+ "stateMutability": "view",
411
+ "type": "function"
412
+ },
413
+ {
414
+ "inputs": [],
415
+ "name": "getDomain",
416
+ "outputs": [
417
+ {
418
+ "internalType": "ObjectType",
419
+ "name": "serviceDomain",
420
+ "type": "uint8"
421
+ }
422
+ ],
423
+ "stateMutability": "pure",
424
+ "type": "function"
425
+ },
426
+ {
427
+ "inputs": [],
428
+ "name": "getInitialInfo",
429
+ "outputs": [
430
+ {
431
+ "components": [
432
+ {
433
+ "internalType": "NftId",
434
+ "name": "nftId",
435
+ "type": "uint96"
436
+ },
437
+ {
438
+ "internalType": "NftId",
439
+ "name": "parentNftId",
440
+ "type": "uint96"
441
+ },
442
+ {
443
+ "internalType": "ObjectType",
444
+ "name": "objectType",
445
+ "type": "uint8"
446
+ },
447
+ {
448
+ "internalType": "bool",
449
+ "name": "isInterceptor",
450
+ "type": "bool"
451
+ },
452
+ {
453
+ "internalType": "address",
454
+ "name": "objectAddress",
455
+ "type": "address"
456
+ },
457
+ {
458
+ "internalType": "address",
459
+ "name": "initialOwner",
460
+ "type": "address"
461
+ },
462
+ {
463
+ "internalType": "bytes",
464
+ "name": "data",
465
+ "type": "bytes"
466
+ }
467
+ ],
468
+ "internalType": "struct IRegistry.ObjectInfo",
469
+ "name": "info",
470
+ "type": "tuple"
471
+ }
472
+ ],
473
+ "stateMutability": "view",
474
+ "type": "function"
475
+ },
476
+ {
477
+ "inputs": [],
478
+ "name": "getNftId",
479
+ "outputs": [
480
+ {
481
+ "internalType": "NftId",
482
+ "name": "",
483
+ "type": "uint96"
484
+ }
485
+ ],
486
+ "stateMutability": "view",
487
+ "type": "function"
488
+ },
489
+ {
490
+ "inputs": [],
491
+ "name": "getOwner",
492
+ "outputs": [
493
+ {
494
+ "internalType": "address",
495
+ "name": "",
496
+ "type": "address"
497
+ }
498
+ ],
499
+ "stateMutability": "view",
500
+ "type": "function"
501
+ },
502
+ {
503
+ "inputs": [],
504
+ "name": "getRegistry",
505
+ "outputs": [
506
+ {
507
+ "internalType": "contract IRegistry",
508
+ "name": "",
509
+ "type": "address"
510
+ }
511
+ ],
512
+ "stateMutability": "view",
513
+ "type": "function"
514
+ },
515
+ {
516
+ "inputs": [],
517
+ "name": "getRoleId",
518
+ "outputs": [
519
+ {
520
+ "internalType": "RoleId",
521
+ "name": "serviceRoleId",
522
+ "type": "uint64"
523
+ }
524
+ ],
525
+ "stateMutability": "pure",
526
+ "type": "function"
527
+ },
528
+ {
529
+ "inputs": [],
530
+ "name": "getVersion",
531
+ "outputs": [
532
+ {
533
+ "internalType": "Version",
534
+ "name": "",
535
+ "type": "uint24"
536
+ }
537
+ ],
538
+ "stateMutability": "pure",
539
+ "type": "function"
540
+ },
541
+ {
542
+ "inputs": [
543
+ {
544
+ "internalType": "address",
545
+ "name": "activatedBy",
546
+ "type": "address"
547
+ },
548
+ {
549
+ "internalType": "bytes",
550
+ "name": "data",
551
+ "type": "bytes"
552
+ }
553
+ ],
554
+ "name": "initializeVersionable",
555
+ "outputs": [],
556
+ "stateMutability": "nonpayable",
557
+ "type": "function"
558
+ },
559
+ {
560
+ "inputs": [],
561
+ "name": "isConsumingScheduledOp",
562
+ "outputs": [
563
+ {
564
+ "internalType": "bytes4",
565
+ "name": "",
566
+ "type": "bytes4"
567
+ }
568
+ ],
569
+ "stateMutability": "view",
570
+ "type": "function"
571
+ },
572
+ {
573
+ "inputs": [],
574
+ "name": "linkToRegisteredNftId",
575
+ "outputs": [
576
+ {
577
+ "internalType": "NftId",
578
+ "name": "nftId",
579
+ "type": "uint96"
580
+ }
581
+ ],
582
+ "stateMutability": "nonpayable",
583
+ "type": "function"
584
+ },
585
+ {
586
+ "inputs": [
587
+ {
588
+ "internalType": "address",
589
+ "name": "newAuthority",
590
+ "type": "address"
591
+ }
592
+ ],
593
+ "name": "setAuthority",
594
+ "outputs": [],
595
+ "stateMutability": "nonpayable",
596
+ "type": "function"
597
+ },
598
+ {
599
+ "inputs": [
600
+ {
601
+ "internalType": "bytes4",
602
+ "name": "interfaceId",
603
+ "type": "bytes4"
604
+ }
605
+ ],
606
+ "name": "supportsInterface",
607
+ "outputs": [
608
+ {
609
+ "internalType": "bool",
610
+ "name": "",
611
+ "type": "bool"
612
+ }
613
+ ],
614
+ "stateMutability": "view",
615
+ "type": "function"
616
+ },
617
+ {
618
+ "inputs": [
619
+ {
620
+ "internalType": "bytes",
621
+ "name": "data",
622
+ "type": "bytes"
623
+ }
624
+ ],
625
+ "name": "upgradeVersionable",
626
+ "outputs": [],
627
+ "stateMutability": "nonpayable",
628
+ "type": "function"
629
+ }
630
+ ],
631
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b613708806100d65f395ff3fe608060405234801561000f575f80fd5b5060043610610106575f3560e01c8063644c45e01161009e5780638fb360371161006e5780638fb3603714610276578063ada9652e14610297578063b68d1809146102ab578063bf7e214f146102ba578063f4bfe53a146102d7575f80fd5b8063644c45e01461021e5780636c741e781461023b5780637a9e5e4b1461025b578063893d20e81461026e575f80fd5b80631eff4b22116100d95780631eff4b221461019c578063329d6e74146101d157806349bb9e4b146101e65780635ab1bd53146101f9575f80fd5b806301ffc9a71461010a5780630d8e6e2c1461014b5780630fec111c14610167578063138461e01461017c575b5f80fd5b61013661011836600461289b565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101536102f7565b60405162ffffff9091168152602001610142565b61016f61037e565b60405161014291906128f0565b61018461053c565b6040516001600160601b039091168152602001610142565b6101c37f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610142565b6101e46101df366004612ac7565b610546565b005b6101e46101f4366004612b0c565b610690565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610142565b5f80516020613673833981519152546001600160601b0316610184565b61024361078c565b6040516001600160401b039091168152602001610142565b6101e4610269366004612b58565b610882565b610206610923565b61027e610a54565b6040516001600160e01b03199091168152602001610142565b6101c35f8051602061367383398151915281565b604051601a8152602001610142565b5f80516020613693833981519152546001600160a01b0316610206565b6102ea6102e5366004612bae565b610a89565b6040516101429190612c56565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610355573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103799190612e4d565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561042e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104529190612e7f565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161049a610923565b6001600160a01b031681526020018260010180546104b790612e9a565b80601f01602080910402602001604051908101604052809291908181526020018280546104e390612e9a565b801561052e5780601f106105055761010080835404028352916020019161052e565b820191905f5260205f20905b81548152906001019060200180831161051157829003601f168201915b505050505081525091505090565b5f61037930610eea565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6105686102f7565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156105a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105ca9190612ee6565b5f805160206136b38339815191528054600160401b900460ff16806105fc575080546001600160401b03808416911610155b1561061a5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610644836110e3565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206136b38339815191528054600160401b810460ff1615906001600160401b03165f811580156106c15750825b90505f826001600160401b031660011480156106dc5750303b155b9050811580156106ea575080155b156107085760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561073257845460ff60401b1916600160401b1785555b61073c87876110eb565b831561078357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3601a604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156107f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081b9190612f1a565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af415801561085e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103799190612ee6565b336108a15f80516020613693833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146108e15760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610916576040516361798f2f60e11b81526001600160a01b03831660048201526024016108d8565b61091f82611230565b5050565b5f805f8051602061367383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561098f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b39190612f44565b15610a3e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610a14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a389190612f68565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061369383398151915280545f9190600160a01b900460ff16610a7b575f610a38565b638fb3603760e01b91505090565b610a91612808565b5f808080610aa18c600c5f611290565b91509150806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ae1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b059190612f68565b6080830151604051633c5e741960e21b81529195506001600160a01b03169063f179d06490610b3e908d908f908e908e90600401612f83565b602060405180830381865afa158015610b59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b7d9190612e7f565b6040516302d764c760e21b81526001600160601b038e1660048201529093505f92506001600160a01b0385169150630b5d931c9060240161020060405180830381865afa158015610bd0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf49190613019565b604051634793b4ab60e01b81526001600160601b03881660048201529091505f906001600160a01b03851690634793b4ab906024015f60405180830381865afa158015610c43573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c6a9190810190613134565b9050610c7d815f01518360200151611558565b15610cbd57805160208301516040516311db892d60e01b81526001600160601b03808b1660048301529283166024820152911660448201526064016108d8565b610cc88383836115e3565b9450610cd58583836118bf565b9450610ce385838887611ba2565b9450610cee85611ff8565b9450610d1b8560a00151610d16610d0c885f015189602001516120a2565b88604001516120a2565b612127565b15610d3957604051630f96c23560e01b815260040160405180910390fd5b60a0820151602001516101c086015160405163046e44af60e11b81526001600160601b03909116600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610d9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dc391906131f8565b1015610e3a576101208501516101a08601516101c08701516101e08801516102008901516102208a0151604051630323722b60e51b81526001600160601b039687166004820152948616602486015292851660448501529084166064840152831660848301529190911660a482015260c4016108d8565b610e65856101a00151610d16610e5a886102200151896101e001516120a2565b8861020001516120a2565b15610edb576101208501516101a08601516101c08701516101e08801516102008901516102208a0151604051630323722b60e51b81526001600160601b039687166004820152948616602486015292851660448501529084166064840152831660848301529190911660a482015260c4016108d8565b50505050979650505050505050565b5f805f8051602061367383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f56573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f7a9190612f44565b15610fa65780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016108d8565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015610ff8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061101c9190612f44565b6110445760405163b9304b0d60e01b81526001600160a01b03841660048201526024016108d8565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611096573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110ba9190612e7f565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6101066121b3565b5f805160206136b38339815191528054600160401b810460ff1615906001600160401b03165f8115801561111c5750825b90505f826001600160401b031660011480156111375750303b155b905081158015611145575080155b156111635760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561118d57845460ff60401b1916600160401b1785555b5f80878060200190518101906111a3919061320f565b915091506111b282828b6121eb565b6111c2637a5ff29d60e11b612330565b6111cc600e61235c565b600280546001600160a01b0319166001600160a01b03929092169190911790555050831561078357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161077a565b5f8051602061369383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015611324573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261134b9190810190613247565b925060ff8516600b146113a957604083015160ff8681169116146113a457604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff808816602483015290911660448201526064016108d8565b611445565b6113c483604001516113b9600c90565b60ff90811691161490565b806113da57506113da83604001516113b9600f90565b806113f057506113f083604001516113b9600e90565b80611406575061140683604001516113b9600d90565b61144557604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff808816602483015290911660448201526064016108d8565b6114528360200151612463565b9150831561154f57816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611496573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114ba9190612f68565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015611502573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115269190612f44565b1561154f57604051637d71120960e11b81526001600160601b03871660048201526024016108d8565b50935093915050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401602060405180830381865af41580156115b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115dc9190612f44565b9392505050565b6115eb612808565b6001600160601b038416606082018190526080820152604080840151602001519051632620eecb60e11b81525f9173__$3bac17678db7ae928afa209f2f44deec9c$__91634c41dd96916116459160040190815260200190565b602060405180830381865af4158015611660573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116849190612e7f565b6001600160601b03811660c084015260808301519091506116a590826120a2565b6001600160601b0316608083015260c084015160200151604051632620eecb60e11b8152600481019190915273__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd9690602401602060405180830381865af415801561170b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061172f9190612e7f565b6001600160601b03811660e0840152608083015190915061175090826120a2565b6001600160601b031660808301526020838101510151604051632620eecb60e11b8152600481019190915273__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd9690602401602060405180830381865af41580156117b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117d99190612e7f565b6001600160601b03811661010084015260808301519091506117fb90826120a2565b6001600160601b031660808381019190915284015160200151604051632620eecb60e11b8152600481019190915273__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd9690602401602060405180830381865af4158015611863573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118879190612e7f565b6001600160601b03811661012084015260808301519091506118a990826120a2565b6001600160601b03166080830152509392505050565b6118c7612808565b6060840151604084810151519051632c34efe560e11b81526001600160601b038316600482015260248101919091525f9073__$3bac17678db7ae928afa209f2f44deec9c$__90635869dfca90604401602060405180830381865af4158015611932573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119569190612e7f565b6001600160601b038116610140880152608087015190915061197890826120a2565b6001600160601b03908116608088015260c086015151604051632c34efe560e11b81529184166004830152602482015273__$3bac17678db7ae928afa209f2f44deec9c$__90635869dfca90604401602060405180830381865af41580156119e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a069190612e7f565b6001600160601b0381166101608801526080870151909150611a2890826120a2565b6001600160601b039081166080880152602085015151604051632c34efe560e11b81529184166004830152602482015273__$3bac17678db7ae928afa209f2f44deec9c$__90635869dfca90604401602060405180830381865af4158015611a92573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ab69190612e7f565b6001600160601b0381166101808801526080870151909150611ad890826120a2565b6001600160601b0390811660808881019190915286015151604051632c34efe560e11b81529184166004830152602482015273__$3bac17678db7ae928afa209f2f44deec9c$__90635869dfca90604401602060405180830381865af4158015611b44573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b689190612e7f565b6001600160601b0381166101a08801526080870151909150611b8a90826120a2565b6001600160601b031660808701525093949350505050565b611baa612808565b60025484516040516309741ce160e21b81526001600160601b0390911660048201526001600160c01b0319851660248201526001600160a01b03909116906325d0738490604401602060405180830381865afa158015611c0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c309190612f44565b611c6b57506101208401516001600160601b039081166101c08601526101a085015181166101e086015260808501511660a085015283611ff0565b60a0840151604051631d3be47760e01b81526001600160c01b0319851660048201525f906001600160a01b03851690631d3be477906024015f60405180830381865afa158015611cbd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611ce4919081019061332a565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091505f906001600160a01b038616906327b1d792906024015f60405180830381865afa158015611d36573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611d5d91908101906133d5565b80516040516368322c6360e11b81526001600160c01b031990911660048201529091505f906001600160a01b0387169063d06458c6906024015f60405180830381865afa158015611db0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611dd79190810190613474565b6060808b015190820151604051632c34efe560e11b81526001600160601b03909216600483015260248201529091505f9073__$3bac17678db7ae928afa209f2f44deec9c$__90635869dfca90604401602060405180830381865af4158015611e42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e669190612e7f565b6001600160601b038181166102008d015260808c01516040878101519051632c34efe560e11b8152919092166004820152602481019190915290915073__$3bac17678db7ae928afa209f2f44deec9c$__90635869dfca90604401602060405180830381865af4158015611edc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f009190612e7f565b6001600160601b03166102208b01526020850151604051632620eecb60e11b8152600481019190915273__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd9690602401602060405180830381865af4158015611f63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f879190612e7f565b6001600160601b03166101c08b01526101a08a0151611fb590611faa90836124f3565b8b61022001516124f3565b6001600160601b03166101e08b015260808a01516102208b0151611fd991906124f3565b6001600160601b031660a08b015250889450505050505b949350505050565b612000612808565b6120138260c001518361014001516120a2565b6001600160601b031682526101208201516101e083015161204291612037916120a2565b8361020001516120a2565b6001600160601b03166020830152606082015160e0830151612090916120859161207a9161206f916120a2565b8561016001516120a2565b8461010001516120a2565b8361018001516120a2565b6001600160601b031660408301525090565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015612103573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115dc9190612e7f565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015612187573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121ab9190612f44565b159392505050565b5f805160206136b383398151915254600160401b900460ff166121e957604051631afcd79f60e31b815260040160405180910390fd5b565b6121f36121b3565b6121fb61253d565b6001600160a01b03821615612218576122138261254d565b61228f565b5f612223600261235c565b905061228d816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612264573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122889190612f68565b61254d565b505b61230b83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122f39190612e7f565b60085f8560405180602001604052805f815250612561565b61231b634a531f3360e01b612330565b61232b63daf9067160e01b612330565b505050565b6123386121b3565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f61236f6001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156123d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123f69190612f1a565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612439573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061245d9190612f68565b92915050565b5f6124766001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa1580156124c2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526124e99190810190613247565b6080015192915050565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa22906044016120e8565b6125456121b3565b6121e9612606565b6125556121b3565b61255e81612634565b50565b6125696121b3565b6125738287612645565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016125fc83826135b8565b5050505050505050565b61260e6121b3565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b61263c6121b3565b61255e81611230565b61264d6121b3565b612656816126bb565b61265e6127c3565b6001600160a01b0382166126855760405163f17ef42d60e01b815260040160405180910390fd5b505f8051602061367383398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6126c36121b3565b806001600160a01b03163b5f036126f85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108d8565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632f6da6f960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015612772575060408051601f3d908101601f1916820190925261276f91810190612f44565b60015b61279a5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108d8565b8061091f5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016108d8565b6127cb6121b3565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905261022081019190915290565b5f602082840312156128ab575f80fd5b81356001600160e01b0319811681146115dc575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612938608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611ff06101008401826128c2565b634e487b7160e01b5f52604160045260245ffd5b60405161012081016001600160401b03811182821017156129b3576129b361297c565b60405290565b60405160c081016001600160401b03811182821017156129b3576129b361297c565b60405160e081016001600160401b03811182821017156129b3576129b361297c565b604051608081016001600160401b03811182821017156129b3576129b361297c565b604051601f8201601f191681016001600160401b0381118282101715612a4757612a4761297c565b604052919050565b5f6001600160401b03821115612a6757612a6761297c565b50601f01601f191660200190565b5f82601f830112612a84575f80fd5b8135612a97612a9282612a4f565b612a1f565b818152846020838601011115612aab575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612ad7575f80fd5b81356001600160401b03811115612aec575f80fd5b611ff084828501612a75565b6001600160a01b038116811461255e575f80fd5b5f8060408385031215612b1d575f80fd5b8235612b2881612af8565b915060208301356001600160401b03811115612b42575f80fd5b612b4e85828601612a75565b9150509250929050565b5f60208284031215612b68575f80fd5b81356115dc81612af8565b6001600160601b038116811461255e575f80fd5b6001600160c01b03198116811461255e575f80fd5b64ffffffffff8116811461255e575f80fd5b5f805f805f805f60e0888a031215612bc4575f80fd5b8735612bcf81612b73565b96506020880135612bdf81612b87565b95506040880135612bef81612b73565b94506060880135612bff81612b9c565b935060808801356001600160401b03811115612c19575f80fd5b612c258a828b01612a75565b93505060a0880135612c3681612b73565b915060c0880135612c4681612b87565b8091505092959891949750929550565b81516001600160601b0316815261024081016020830151612c8260208401826001600160601b03169052565b506040830151612c9d60408401826001600160601b03169052565b506060830151612cb860608401826001600160601b03169052565b506080830151612cd360808401826001600160601b03169052565b5060a0830151612cee60a08401826001600160601b03169052565b5060c0830151612d0960c08401826001600160601b03169052565b5060e0830151612d2460e08401826001600160601b03169052565b50610100830151612d416101008401826001600160601b03169052565b50610120830151612d5e6101208401826001600160601b03169052565b50610140830151612d7b6101408401826001600160601b03169052565b50610160830151612d986101608401826001600160601b03169052565b50610180830151612db56101808401826001600160601b03169052565b506101a0830151612dd26101a08401826001600160601b03169052565b506101c0830151612def6101c08401826001600160601b03169052565b506101e0830151612e0c6101e08401826001600160601b03169052565b50610200830151612e296102008401826001600160601b03169052565b50610220830151612e466102208401826001600160601b03169052565b5092915050565b5f60208284031215612e5d575f80fd5b815162ffffff811681146115dc575f80fd5b8051612e7a81612b73565b919050565b5f60208284031215612e8f575f80fd5b81516115dc81612b73565b600181811c90821680612eae57607f821691505b602082108103612ecc57634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160401b038116811461255e575f80fd5b5f60208284031215612ef6575f80fd5b81516115dc81612ed2565b60ff8116811461255e575f80fd5b8051612e7a81612f01565b5f60208284031215612f2a575f80fd5b81516115dc81612f01565b80518015158114612e7a575f80fd5b5f60208284031215612f54575f80fd5b6115dc82612f35565b8051612e7a81612af8565b5f60208284031215612f78575f80fd5b81516115dc81612af8565b6001600160601b03851681526001600160401b0360c01b8416602082015264ffffffffff83166040820152608060608201525f612fc360808301846128c2565b9695505050505050565b5f60408284031215612fdd575f80fd5b604080519081016001600160401b0381118282101715612fff57612fff61297c565b604052825181526020928301519281019290925250919050565b5f61020082840312801561302b575f80fd5b50613034612990565b61303d83612e6f565b815261304b60208401612e6f565b602082015261305d8460408501612fcd565b604082015261306f8460808501612fcd565b60608201526130818460c08501612fcd565b6080820152613094846101008501612fcd565b60a08201526130a7846101408501612fcd565b60c08201526130ba846101808501612fcd565b60e08201526130cd846101c08501612fcd565b6101008201529392505050565b5f82601f8301126130e9575f80fd5b8151602083015f6130fc612a9284612a4f565b905082815285838301111561310f575f80fd5b8282602083015e5f92810160200192909252509392505050565b8051612e7a81612b9c565b5f60208284031215613144575f80fd5b81516001600160401b03811115613159575f80fd5b820160e0818503121561316a575f80fd5b6131726129b9565b815161317d81612b73565b815261318c8560208401612fcd565b602082015260608201516001600160401b038111156131a9575f80fd5b6131b5868285016130da565b60408301525060808201516131c981612b9c565b60608201526131da60a08301613129565b60808201526131eb60c08301613129565b60a0820152949350505050565b5f60208284031215613208575f80fd5b5051919050565b5f8060408385031215613220575f80fd5b825161322b81612af8565b602084015190925061323c81612af8565b809150509250929050565b5f60208284031215613257575f80fd5b81516001600160401b0381111561326c575f80fd5b820160e0818503121561327d575f80fd5b6132856129db565b61328e82612e6f565b815261329c60208301612e6f565b60208201526132ad60408301612f0f565b60408201526132be60608301612f35565b60608201526132cf60808301612f5d565b60808201526132e060a08301612f5d565b60a082015260c08201516001600160401b038111156132fd575f80fd5b613309868285016130da565b60c083015250949350505050565b805163ffffffff81168114612e7a575f80fd5b5f6020828403121561333a575f80fd5b81516001600160401b0381111561334f575f80fd5b820160e08185031215613360575f80fd5b6133686129db565b61337182612e6f565b815260208201516001600160401b0381111561338b575f80fd5b613397868285016130da565b602083015250604082810151908201526133b360608301613317565b60608201526133c460808301613317565b60808201526132e060a08301613129565b5f602082840312156133e5575f80fd5b81516001600160401b038111156133fa575f80fd5b82016080818503121561340b575f80fd5b6134136129fd565b815161341e81612b87565b815261342c60208301612f35565b602082015260408201516001600160401b03811115613449575f80fd5b613455868285016130da565b60408301525061346760608301613317565b6060820152949350505050565b5f60208284031215613484575f80fd5b81516001600160401b03811115613499575f80fd5b820161012081850312156134ab575f80fd5b6134b3612990565b81516001600160401b038111156134c8575f80fd5b6134d4868285016130da565b82525060208281015190820152604080830151908201526060808301519082015261350160808301613317565b608082015261351260a08301613317565b60a082015261352360c08301612f35565b60c082015261353460e08301612f35565b60e08201526101008201516001600160401b03811115613552575f80fd5b61355e868285016130da565b61010083015250949350505050565b601f82111561232b57805f5260205f20601f840160051c810160208510156135925750805b601f840160051c820191505b818110156135b1575f815560010161359e565b5050505050565b81516001600160401b038111156135d1576135d161297c565b6135e5816135df8454612e9a565b8461356d565b6020601f821160018114613617575f83156136005750848201515b5f19600385901b1c1916600184901b1784556135b1565b5f84815260208120601f198516915b828110156136465787850151825560209485019460019092019101613626565b508482101561366357868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212208bfdd5250f0ead978abd32688b8e2d9eb7cc727bd3d5d71d4d1902eed0240d3b64736f6c634300081a0033",
632
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610106575f3560e01c8063644c45e01161009e5780638fb360371161006e5780638fb3603714610276578063ada9652e14610297578063b68d1809146102ab578063bf7e214f146102ba578063f4bfe53a146102d7575f80fd5b8063644c45e01461021e5780636c741e781461023b5780637a9e5e4b1461025b578063893d20e81461026e575f80fd5b80631eff4b22116100d95780631eff4b221461019c578063329d6e74146101d157806349bb9e4b146101e65780635ab1bd53146101f9575f80fd5b806301ffc9a71461010a5780630d8e6e2c1461014b5780630fec111c14610167578063138461e01461017c575b5f80fd5b61013661011836600461289b565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101536102f7565b60405162ffffff9091168152602001610142565b61016f61037e565b60405161014291906128f0565b61018461053c565b6040516001600160601b039091168152602001610142565b6101c37f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610142565b6101e46101df366004612ac7565b610546565b005b6101e46101f4366004612b0c565b610690565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610142565b5f80516020613673833981519152546001600160601b0316610184565b61024361078c565b6040516001600160401b039091168152602001610142565b6101e4610269366004612b58565b610882565b610206610923565b61027e610a54565b6040516001600160e01b03199091168152602001610142565b6101c35f8051602061367383398151915281565b604051601a8152602001610142565b5f80516020613693833981519152546001600160a01b0316610206565b6102ea6102e5366004612bae565b610a89565b6040516101429190612c56565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610355573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103799190612e4d565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561042e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104529190612e7f565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161049a610923565b6001600160a01b031681526020018260010180546104b790612e9a565b80601f01602080910402602001604051908101604052809291908181526020018280546104e390612e9a565b801561052e5780601f106105055761010080835404028352916020019161052e565b820191905f5260205f20905b81548152906001019060200180831161051157829003601f168201915b505050505081525091505090565b5f61037930610eea565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6105686102f7565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156105a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105ca9190612ee6565b5f805160206136b38339815191528054600160401b900460ff16806105fc575080546001600160401b03808416911610155b1561061a5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610644836110e3565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206136b38339815191528054600160401b810460ff1615906001600160401b03165f811580156106c15750825b90505f826001600160401b031660011480156106dc5750303b155b9050811580156106ea575080155b156107085760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561073257845460ff60401b1916600160401b1785555b61073c87876110eb565b831561078357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3601a604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156107f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081b9190612f1a565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af415801561085e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103799190612ee6565b336108a15f80516020613693833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146108e15760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610916576040516361798f2f60e11b81526001600160a01b03831660048201526024016108d8565b61091f82611230565b5050565b5f805f8051602061367383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561098f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b39190612f44565b15610a3e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610a14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a389190612f68565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061369383398151915280545f9190600160a01b900460ff16610a7b575f610a38565b638fb3603760e01b91505090565b610a91612808565b5f808080610aa18c600c5f611290565b91509150806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ae1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b059190612f68565b6080830151604051633c5e741960e21b81529195506001600160a01b03169063f179d06490610b3e908d908f908e908e90600401612f83565b602060405180830381865afa158015610b59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b7d9190612e7f565b6040516302d764c760e21b81526001600160601b038e1660048201529093505f92506001600160a01b0385169150630b5d931c9060240161020060405180830381865afa158015610bd0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf49190613019565b604051634793b4ab60e01b81526001600160601b03881660048201529091505f906001600160a01b03851690634793b4ab906024015f60405180830381865afa158015610c43573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c6a9190810190613134565b9050610c7d815f01518360200151611558565b15610cbd57805160208301516040516311db892d60e01b81526001600160601b03808b1660048301529283166024820152911660448201526064016108d8565b610cc88383836115e3565b9450610cd58583836118bf565b9450610ce385838887611ba2565b9450610cee85611ff8565b9450610d1b8560a00151610d16610d0c885f015189602001516120a2565b88604001516120a2565b612127565b15610d3957604051630f96c23560e01b815260040160405180910390fd5b60a0820151602001516101c086015160405163046e44af60e11b81526001600160601b03909116600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610d9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dc391906131f8565b1015610e3a576101208501516101a08601516101c08701516101e08801516102008901516102208a0151604051630323722b60e51b81526001600160601b039687166004820152948616602486015292851660448501529084166064840152831660848301529190911660a482015260c4016108d8565b610e65856101a00151610d16610e5a886102200151896101e001516120a2565b8861020001516120a2565b15610edb576101208501516101a08601516101c08701516101e08801516102008901516102208a0151604051630323722b60e51b81526001600160601b039687166004820152948616602486015292851660448501529084166064840152831660848301529190911660a482015260c4016108d8565b50505050979650505050505050565b5f805f8051602061367383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f56573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f7a9190612f44565b15610fa65780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016108d8565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015610ff8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061101c9190612f44565b6110445760405163b9304b0d60e01b81526001600160a01b03841660048201526024016108d8565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611096573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110ba9190612e7f565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6101066121b3565b5f805160206136b38339815191528054600160401b810460ff1615906001600160401b03165f8115801561111c5750825b90505f826001600160401b031660011480156111375750303b155b905081158015611145575080155b156111635760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561118d57845460ff60401b1916600160401b1785555b5f80878060200190518101906111a3919061320f565b915091506111b282828b6121eb565b6111c2637a5ff29d60e11b612330565b6111cc600e61235c565b600280546001600160a01b0319166001600160a01b03929092169190911790555050831561078357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161077a565b5f8051602061369383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015611324573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261134b9190810190613247565b925060ff8516600b146113a957604083015160ff8681169116146113a457604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff808816602483015290911660448201526064016108d8565b611445565b6113c483604001516113b9600c90565b60ff90811691161490565b806113da57506113da83604001516113b9600f90565b806113f057506113f083604001516113b9600e90565b80611406575061140683604001516113b9600d90565b61144557604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff808816602483015290911660448201526064016108d8565b6114528360200151612463565b9150831561154f57816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611496573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114ba9190612f68565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015611502573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115269190612f44565b1561154f57604051637d71120960e11b81526001600160601b03871660048201526024016108d8565b50935093915050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401602060405180830381865af41580156115b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115dc9190612f44565b9392505050565b6115eb612808565b6001600160601b038416606082018190526080820152604080840151602001519051632620eecb60e11b81525f9173__$3bac17678db7ae928afa209f2f44deec9c$__91634c41dd96916116459160040190815260200190565b602060405180830381865af4158015611660573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116849190612e7f565b6001600160601b03811660c084015260808301519091506116a590826120a2565b6001600160601b0316608083015260c084015160200151604051632620eecb60e11b8152600481019190915273__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd9690602401602060405180830381865af415801561170b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061172f9190612e7f565b6001600160601b03811660e0840152608083015190915061175090826120a2565b6001600160601b031660808301526020838101510151604051632620eecb60e11b8152600481019190915273__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd9690602401602060405180830381865af41580156117b5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117d99190612e7f565b6001600160601b03811661010084015260808301519091506117fb90826120a2565b6001600160601b031660808381019190915284015160200151604051632620eecb60e11b8152600481019190915273__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd9690602401602060405180830381865af4158015611863573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118879190612e7f565b6001600160601b03811661012084015260808301519091506118a990826120a2565b6001600160601b03166080830152509392505050565b6118c7612808565b6060840151604084810151519051632c34efe560e11b81526001600160601b038316600482015260248101919091525f9073__$3bac17678db7ae928afa209f2f44deec9c$__90635869dfca90604401602060405180830381865af4158015611932573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119569190612e7f565b6001600160601b038116610140880152608087015190915061197890826120a2565b6001600160601b03908116608088015260c086015151604051632c34efe560e11b81529184166004830152602482015273__$3bac17678db7ae928afa209f2f44deec9c$__90635869dfca90604401602060405180830381865af41580156119e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a069190612e7f565b6001600160601b0381166101608801526080870151909150611a2890826120a2565b6001600160601b039081166080880152602085015151604051632c34efe560e11b81529184166004830152602482015273__$3bac17678db7ae928afa209f2f44deec9c$__90635869dfca90604401602060405180830381865af4158015611a92573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ab69190612e7f565b6001600160601b0381166101808801526080870151909150611ad890826120a2565b6001600160601b0390811660808881019190915286015151604051632c34efe560e11b81529184166004830152602482015273__$3bac17678db7ae928afa209f2f44deec9c$__90635869dfca90604401602060405180830381865af4158015611b44573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b689190612e7f565b6001600160601b0381166101a08801526080870151909150611b8a90826120a2565b6001600160601b031660808701525093949350505050565b611baa612808565b60025484516040516309741ce160e21b81526001600160601b0390911660048201526001600160c01b0319851660248201526001600160a01b03909116906325d0738490604401602060405180830381865afa158015611c0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c309190612f44565b611c6b57506101208401516001600160601b039081166101c08601526101a085015181166101e086015260808501511660a085015283611ff0565b60a0840151604051631d3be47760e01b81526001600160c01b0319851660048201525f906001600160a01b03851690631d3be477906024015f60405180830381865afa158015611cbd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611ce4919081019061332a565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091505f906001600160a01b038616906327b1d792906024015f60405180830381865afa158015611d36573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611d5d91908101906133d5565b80516040516368322c6360e11b81526001600160c01b031990911660048201529091505f906001600160a01b0387169063d06458c6906024015f60405180830381865afa158015611db0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611dd79190810190613474565b6060808b015190820151604051632c34efe560e11b81526001600160601b03909216600483015260248201529091505f9073__$3bac17678db7ae928afa209f2f44deec9c$__90635869dfca90604401602060405180830381865af4158015611e42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e669190612e7f565b6001600160601b038181166102008d015260808c01516040878101519051632c34efe560e11b8152919092166004820152602481019190915290915073__$3bac17678db7ae928afa209f2f44deec9c$__90635869dfca90604401602060405180830381865af4158015611edc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f009190612e7f565b6001600160601b03166102208b01526020850151604051632620eecb60e11b8152600481019190915273__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd9690602401602060405180830381865af4158015611f63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f879190612e7f565b6001600160601b03166101c08b01526101a08a0151611fb590611faa90836124f3565b8b61022001516124f3565b6001600160601b03166101e08b015260808a01516102208b0151611fd991906124f3565b6001600160601b031660a08b015250889450505050505b949350505050565b612000612808565b6120138260c001518361014001516120a2565b6001600160601b031682526101208201516101e083015161204291612037916120a2565b8361020001516120a2565b6001600160601b03166020830152606082015160e0830151612090916120859161207a9161206f916120a2565b8561016001516120a2565b8461010001516120a2565b8361018001516120a2565b6001600160601b031660408301525090565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015612103573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115dc9190612e7f565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015612187573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121ab9190612f44565b159392505050565b5f805160206136b383398151915254600160401b900460ff166121e957604051631afcd79f60e31b815260040160405180910390fd5b565b6121f36121b3565b6121fb61253d565b6001600160a01b03821615612218576122138261254d565b61228f565b5f612223600261235c565b905061228d816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612264573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122889190612f68565b61254d565b505b61230b83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122f39190612e7f565b60085f8560405180602001604052805f815250612561565b61231b634a531f3360e01b612330565b61232b63daf9067160e01b612330565b505050565b6123386121b3565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f61236f6001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156123d2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123f69190612f1a565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612439573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061245d9190612f68565b92915050565b5f6124766001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa1580156124c2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526124e99190810190613247565b6080015192915050565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa22906044016120e8565b6125456121b3565b6121e9612606565b6125556121b3565b61255e81612634565b50565b6125696121b3565b6125738287612645565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016125fc83826135b8565b5050505050505050565b61260e6121b3565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b61263c6121b3565b61255e81611230565b61264d6121b3565b612656816126bb565b61265e6127c3565b6001600160a01b0382166126855760405163f17ef42d60e01b815260040160405180910390fd5b505f8051602061367383398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6126c36121b3565b806001600160a01b03163b5f036126f85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108d8565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632f6da6f960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015612772575060408051601f3d908101601f1916820190925261276f91810190612f44565b60015b61279a5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108d8565b8061091f5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016108d8565b6127cb6121b3565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905261022081019190915290565b5f602082840312156128ab575f80fd5b81356001600160e01b0319811681146115dc575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612938608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611ff06101008401826128c2565b634e487b7160e01b5f52604160045260245ffd5b60405161012081016001600160401b03811182821017156129b3576129b361297c565b60405290565b60405160c081016001600160401b03811182821017156129b3576129b361297c565b60405160e081016001600160401b03811182821017156129b3576129b361297c565b604051608081016001600160401b03811182821017156129b3576129b361297c565b604051601f8201601f191681016001600160401b0381118282101715612a4757612a4761297c565b604052919050565b5f6001600160401b03821115612a6757612a6761297c565b50601f01601f191660200190565b5f82601f830112612a84575f80fd5b8135612a97612a9282612a4f565b612a1f565b818152846020838601011115612aab575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612ad7575f80fd5b81356001600160401b03811115612aec575f80fd5b611ff084828501612a75565b6001600160a01b038116811461255e575f80fd5b5f8060408385031215612b1d575f80fd5b8235612b2881612af8565b915060208301356001600160401b03811115612b42575f80fd5b612b4e85828601612a75565b9150509250929050565b5f60208284031215612b68575f80fd5b81356115dc81612af8565b6001600160601b038116811461255e575f80fd5b6001600160c01b03198116811461255e575f80fd5b64ffffffffff8116811461255e575f80fd5b5f805f805f805f60e0888a031215612bc4575f80fd5b8735612bcf81612b73565b96506020880135612bdf81612b87565b95506040880135612bef81612b73565b94506060880135612bff81612b9c565b935060808801356001600160401b03811115612c19575f80fd5b612c258a828b01612a75565b93505060a0880135612c3681612b73565b915060c0880135612c4681612b87565b8091505092959891949750929550565b81516001600160601b0316815261024081016020830151612c8260208401826001600160601b03169052565b506040830151612c9d60408401826001600160601b03169052565b506060830151612cb860608401826001600160601b03169052565b506080830151612cd360808401826001600160601b03169052565b5060a0830151612cee60a08401826001600160601b03169052565b5060c0830151612d0960c08401826001600160601b03169052565b5060e0830151612d2460e08401826001600160601b03169052565b50610100830151612d416101008401826001600160601b03169052565b50610120830151612d5e6101208401826001600160601b03169052565b50610140830151612d7b6101408401826001600160601b03169052565b50610160830151612d986101608401826001600160601b03169052565b50610180830151612db56101808401826001600160601b03169052565b506101a0830151612dd26101a08401826001600160601b03169052565b506101c0830151612def6101c08401826001600160601b03169052565b506101e0830151612e0c6101e08401826001600160601b03169052565b50610200830151612e296102008401826001600160601b03169052565b50610220830151612e466102208401826001600160601b03169052565b5092915050565b5f60208284031215612e5d575f80fd5b815162ffffff811681146115dc575f80fd5b8051612e7a81612b73565b919050565b5f60208284031215612e8f575f80fd5b81516115dc81612b73565b600181811c90821680612eae57607f821691505b602082108103612ecc57634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160401b038116811461255e575f80fd5b5f60208284031215612ef6575f80fd5b81516115dc81612ed2565b60ff8116811461255e575f80fd5b8051612e7a81612f01565b5f60208284031215612f2a575f80fd5b81516115dc81612f01565b80518015158114612e7a575f80fd5b5f60208284031215612f54575f80fd5b6115dc82612f35565b8051612e7a81612af8565b5f60208284031215612f78575f80fd5b81516115dc81612af8565b6001600160601b03851681526001600160401b0360c01b8416602082015264ffffffffff83166040820152608060608201525f612fc360808301846128c2565b9695505050505050565b5f60408284031215612fdd575f80fd5b604080519081016001600160401b0381118282101715612fff57612fff61297c565b604052825181526020928301519281019290925250919050565b5f61020082840312801561302b575f80fd5b50613034612990565b61303d83612e6f565b815261304b60208401612e6f565b602082015261305d8460408501612fcd565b604082015261306f8460808501612fcd565b60608201526130818460c08501612fcd565b6080820152613094846101008501612fcd565b60a08201526130a7846101408501612fcd565b60c08201526130ba846101808501612fcd565b60e08201526130cd846101c08501612fcd565b6101008201529392505050565b5f82601f8301126130e9575f80fd5b8151602083015f6130fc612a9284612a4f565b905082815285838301111561310f575f80fd5b8282602083015e5f92810160200192909252509392505050565b8051612e7a81612b9c565b5f60208284031215613144575f80fd5b81516001600160401b03811115613159575f80fd5b820160e0818503121561316a575f80fd5b6131726129b9565b815161317d81612b73565b815261318c8560208401612fcd565b602082015260608201516001600160401b038111156131a9575f80fd5b6131b5868285016130da565b60408301525060808201516131c981612b9c565b60608201526131da60a08301613129565b60808201526131eb60c08301613129565b60a0820152949350505050565b5f60208284031215613208575f80fd5b5051919050565b5f8060408385031215613220575f80fd5b825161322b81612af8565b602084015190925061323c81612af8565b809150509250929050565b5f60208284031215613257575f80fd5b81516001600160401b0381111561326c575f80fd5b820160e0818503121561327d575f80fd5b6132856129db565b61328e82612e6f565b815261329c60208301612e6f565b60208201526132ad60408301612f0f565b60408201526132be60608301612f35565b60608201526132cf60808301612f5d565b60808201526132e060a08301612f5d565b60a082015260c08201516001600160401b038111156132fd575f80fd5b613309868285016130da565b60c083015250949350505050565b805163ffffffff81168114612e7a575f80fd5b5f6020828403121561333a575f80fd5b81516001600160401b0381111561334f575f80fd5b820160e08185031215613360575f80fd5b6133686129db565b61337182612e6f565b815260208201516001600160401b0381111561338b575f80fd5b613397868285016130da565b602083015250604082810151908201526133b360608301613317565b60608201526133c460808301613317565b60808201526132e060a08301613129565b5f602082840312156133e5575f80fd5b81516001600160401b038111156133fa575f80fd5b82016080818503121561340b575f80fd5b6134136129fd565b815161341e81612b87565b815261342c60208301612f35565b602082015260408201516001600160401b03811115613449575f80fd5b613455868285016130da565b60408301525061346760608301613317565b6060820152949350505050565b5f60208284031215613484575f80fd5b81516001600160401b03811115613499575f80fd5b820161012081850312156134ab575f80fd5b6134b3612990565b81516001600160401b038111156134c8575f80fd5b6134d4868285016130da565b82525060208281015190820152604080830151908201526060808301519082015261350160808301613317565b608082015261351260a08301613317565b60a082015261352360c08301612f35565b60c082015261353460e08301612f35565b60e08201526101008201516001600160401b03811115613552575f80fd5b61355e868285016130da565b61010083015250949350505050565b601f82111561232b57805f5260205f20601f840160051c810160208510156135925750805b601f840160051c820191505b818110156135b1575f815560010161359e565b5050505050565b81516001600160401b038111156135d1576135d161297c565b6135e5816135df8454612e9a565b8461356d565b6020601f821160018114613617575f83156136005750848201515b5f19600385901b1c1916600184901b1784556135b1565b5f84815260208120601f198516915b828110156136465787850151825560209485019460019092019101613626565b508482101561366357868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212208bfdd5250f0ead978abd32688b8e2d9eb7cc727bd3d5d71d4d1902eed0240d3b64736f6c634300081a0033",
633
+ "linkReferences": {
634
+ "contracts/type/Amount.sol": {
635
+ "AmountLib": [
636
+ {
637
+ "length": 20,
638
+ "start": 3645
639
+ },
640
+ {
641
+ "length": 20,
642
+ "start": 5873
643
+ },
644
+ {
645
+ "length": 20,
646
+ "start": 6057
647
+ },
648
+ {
649
+ "length": 20,
650
+ "start": 6227
651
+ },
652
+ {
653
+ "length": 20,
654
+ "start": 6401
655
+ },
656
+ {
657
+ "length": 20,
658
+ "start": 6608
659
+ },
660
+ {
661
+ "length": 20,
662
+ "start": 6784
663
+ },
664
+ {
665
+ "length": 20,
666
+ "start": 6960
667
+ },
668
+ {
669
+ "length": 20,
670
+ "start": 7138
671
+ },
672
+ {
673
+ "length": 20,
674
+ "start": 7904
675
+ },
676
+ {
677
+ "length": 20,
678
+ "start": 8058
679
+ },
680
+ {
681
+ "length": 20,
682
+ "start": 8193
683
+ },
684
+ {
685
+ "length": 20,
686
+ "start": 8608
687
+ },
688
+ {
689
+ "length": 20,
690
+ "start": 8741
691
+ },
692
+ {
693
+ "length": 20,
694
+ "start": 9713
695
+ }
696
+ ]
697
+ },
698
+ "contracts/type/NftId.sol": {
699
+ "NftIdLib": [
700
+ {
701
+ "length": 20,
702
+ "start": 1215
703
+ },
704
+ {
705
+ "length": 20,
706
+ "start": 2605
707
+ },
708
+ {
709
+ "length": 20,
710
+ "start": 4084
711
+ },
712
+ {
713
+ "length": 20,
714
+ "start": 5718
715
+ }
716
+ ]
717
+ },
718
+ "contracts/type/RoleId.sol": {
719
+ "RoleIdLib": [
720
+ {
721
+ "length": 20,
722
+ "start": 2149
723
+ }
724
+ ]
725
+ },
726
+ "contracts/type/Version.sol": {
727
+ "VersionLib": [
728
+ {
729
+ "length": 20,
730
+ "start": 1011
731
+ },
732
+ {
733
+ "length": 20,
734
+ "start": 1566
735
+ }
736
+ ],
737
+ "VersionPartLib": [
738
+ {
739
+ "length": 20,
740
+ "start": 2197
741
+ },
742
+ {
743
+ "length": 20,
744
+ "start": 9328
745
+ }
746
+ ]
747
+ }
748
+ },
749
+ "deployedLinkReferences": {
750
+ "contracts/type/Amount.sol": {
751
+ "AmountLib": [
752
+ {
753
+ "length": 20,
754
+ "start": 3431
755
+ },
756
+ {
757
+ "length": 20,
758
+ "start": 5659
759
+ },
760
+ {
761
+ "length": 20,
762
+ "start": 5843
763
+ },
764
+ {
765
+ "length": 20,
766
+ "start": 6013
767
+ },
768
+ {
769
+ "length": 20,
770
+ "start": 6187
771
+ },
772
+ {
773
+ "length": 20,
774
+ "start": 6394
775
+ },
776
+ {
777
+ "length": 20,
778
+ "start": 6570
779
+ },
780
+ {
781
+ "length": 20,
782
+ "start": 6746
783
+ },
784
+ {
785
+ "length": 20,
786
+ "start": 6924
787
+ },
788
+ {
789
+ "length": 20,
790
+ "start": 7690
791
+ },
792
+ {
793
+ "length": 20,
794
+ "start": 7844
795
+ },
796
+ {
797
+ "length": 20,
798
+ "start": 7979
799
+ },
800
+ {
801
+ "length": 20,
802
+ "start": 8394
803
+ },
804
+ {
805
+ "length": 20,
806
+ "start": 8527
807
+ },
808
+ {
809
+ "length": 20,
810
+ "start": 9499
811
+ }
812
+ ]
813
+ },
814
+ "contracts/type/NftId.sol": {
815
+ "NftIdLib": [
816
+ {
817
+ "length": 20,
818
+ "start": 1001
819
+ },
820
+ {
821
+ "length": 20,
822
+ "start": 2391
823
+ },
824
+ {
825
+ "length": 20,
826
+ "start": 3870
827
+ },
828
+ {
829
+ "length": 20,
830
+ "start": 5504
831
+ }
832
+ ]
833
+ },
834
+ "contracts/type/RoleId.sol": {
835
+ "RoleIdLib": [
836
+ {
837
+ "length": 20,
838
+ "start": 1935
839
+ }
840
+ ]
841
+ },
842
+ "contracts/type/Version.sol": {
843
+ "VersionLib": [
844
+ {
845
+ "length": 20,
846
+ "start": 797
847
+ },
848
+ {
849
+ "length": 20,
850
+ "start": 1352
851
+ }
852
+ ],
853
+ "VersionPartLib": [
854
+ {
855
+ "length": 20,
856
+ "start": 1983
857
+ },
858
+ {
859
+ "length": 20,
860
+ "start": 9114
861
+ }
862
+ ]
863
+ }
864
+ }
865
+ }