@etherisc/gif-next 0.0.2-f626d92-602 → 0.0.2-f62dcdf-553

Sign up to get free protection for your applications and to get access to all the features.
Files changed (673) hide show
  1. package/README.md +51 -5
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1293 -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 +414 -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 +1060 -0
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +295 -0
  14. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  16. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -0
  18. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  20. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  21. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1402 -0
  22. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +470 -0
  24. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  25. package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +272 -553
  26. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1455 -0
  28. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +838 -0
  30. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  31. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +252 -292
  32. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +207 -336
  34. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  35. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  36. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1538 -0
  38. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +470 -0
  40. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2072 -0
  42. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -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 +1471 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1231 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1592 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2095 -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 +313 -2006
  58. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  59. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +178 -109
  60. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  61. package/artifacts/contracts/instance/Instance.sol/Instance.json +403 -2855
  62. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1653 -0
  64. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +561 -0
  66. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  67. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1078 -309
  68. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +240 -424
  70. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +140 -159
  72. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  73. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3678 -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 -54
  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 +223 -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 +8 -116
  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 +1039 -0
  95. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  96. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +478 -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/{components/IProductComponent.sol/IProductComponent.json → oracle/IOracleComponent.sol/IOracleComponent.json} +231 -273
  101. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  102. package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → oracle/IOracleService.sol/IOracleService.json} +281 -231
  103. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  104. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +907 -0
  105. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  106. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +966 -0
  107. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  108. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +722 -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} +337 -414
  111. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  112. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +470 -0
  113. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  114. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1465 -0
  115. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  116. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +834 -0
  117. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  118. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → pool/IBundleService.sol/IBundleService.json} +420 -304
  119. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  120. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +960 -0
  121. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  122. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1283 -0
  123. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  124. package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → pool/Pool.sol/Pool.json} +411 -377
  125. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  126. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1625 -0
  127. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  128. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +766 -0
  129. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  130. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +771 -0
  131. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  132. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +710 -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} +423 -417
  135. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  136. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +470 -0
  137. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  138. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1431 -0
  139. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  140. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +838 -0
  141. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  142. package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +91 -167
  143. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  144. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +942 -0
  145. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  146. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +925 -0
  147. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  148. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IPricingService.sol/IPricingService.json} +201 -229
  149. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  150. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1012 -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} +41 -62
  153. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  154. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1302 -0
  155. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  156. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +782 -0
  157. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  158. package/artifacts/contracts/product/PricingService.sol/PricingService.json +907 -0
  159. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  160. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +762 -0
  161. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  162. package/artifacts/contracts/product/Product.sol/Product.json +1131 -0
  163. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  164. package/artifacts/contracts/product/RiskService.sol/RiskService.json +622 -0
  165. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  166. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +694 -0
  167. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  168. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  169. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  170. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +435 -29
  171. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  172. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +263 -110
  173. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  174. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  175. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  176. package/artifacts/contracts/registry/Registry.sol/Registry.json +865 -68
  177. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  178. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1886 -0
  179. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  180. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +333 -245
  181. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  182. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +138 -95
  183. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  184. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  185. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  186. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1067 -0
  187. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  188. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -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/{instance/base/ComponentService.sol/ComponentService.json → shared/Component.sol/Component.json} +314 -196
  193. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  194. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1768 -0
  195. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  196. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +814 -0
  197. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  198. package/artifacts/contracts/{instance/service/IClaimService.sol/IClaimService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +124 -125
  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 +142 -115
  203. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  204. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1335 -0
  205. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  206. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +723 -0
  207. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  208. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
  209. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  210. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  211. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  212. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +19 -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 +28 -6
  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 +46 -6
  221. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  222. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  223. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  224. package/artifacts/contracts/{components/Component.sol/Component.json → shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json} +239 -252
  225. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  226. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  227. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  228. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  229. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  230. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  231. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  232. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +28 -70
  233. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  234. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +35 -85
  235. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  236. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +69 -99
  237. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  238. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -28
  239. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  240. package/artifacts/contracts/shared/Service.sol/Service.json +58 -112
  241. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  242. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +382 -9
  243. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  244. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  245. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  246. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1465 -0
  247. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  248. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1043 -0
  249. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  250. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  251. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  252. package/artifacts/contracts/staking/Staking.sol/Staking.json +1888 -0
  253. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  254. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  255. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  256. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +776 -0
  257. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  258. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  259. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  260. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1249 -0
  261. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  262. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +710 -0
  263. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  264. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  265. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  266. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  267. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  268. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  269. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  270. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  271. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  272. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  273. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  274. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  275. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  276. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  277. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  278. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  279. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  280. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  281. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  282. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  283. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  284. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  285. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  286. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  287. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  288. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  289. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  290. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  291. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  292. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  293. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  294. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +142 -0
  295. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  296. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  297. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  298. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  299. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  300. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  301. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  302. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  303. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  304. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  305. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  306. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  307. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  308. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  309. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  310. package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
  311. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  312. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  313. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  314. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  315. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  316. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  317. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  318. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  319. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  320. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +602 -0
  321. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  322. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  323. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  324. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  325. package/contracts/authorization/AccessAdmin.sol +596 -0
  326. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  327. package/contracts/authorization/Authorization.sol +289 -0
  328. package/contracts/authorization/IAccess.sol +49 -0
  329. package/contracts/authorization/IAccessAdmin.sol +137 -0
  330. package/contracts/authorization/IAuthorization.sol +60 -0
  331. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  332. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  333. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  334. package/contracts/distribution/BasicDistribution.sol +139 -0
  335. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  336. package/contracts/{components → distribution}/Distribution.sol +170 -165
  337. package/contracts/distribution/DistributionService.sol +355 -0
  338. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  339. package/contracts/distribution/IDistributionComponent.sol +52 -0
  340. package/contracts/{instance/service → distribution}/IDistributionService.sol +40 -38
  341. package/contracts/examples/fire/DamageLevel.sol +59 -0
  342. package/contracts/examples/fire/FirePool.sol +73 -0
  343. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  344. package/contracts/examples/fire/FireProduct.sol +415 -0
  345. package/contracts/examples/fire/FireProductAuthorization.sol +44 -0
  346. package/contracts/examples/fire/FireUSD.sol +26 -0
  347. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  348. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  349. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  350. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  351. package/contracts/instance/{BundleManager.sol → BundleSet.sol} +30 -31
  352. package/contracts/instance/IInstance.sol +41 -73
  353. package/contracts/instance/IInstanceService.sol +37 -37
  354. package/contracts/instance/Instance.sol +153 -248
  355. package/contracts/instance/InstanceAdmin.sol +277 -0
  356. package/contracts/instance/InstanceAuthorizationV3.sol +194 -0
  357. package/contracts/instance/InstanceReader.sol +264 -60
  358. package/contracts/instance/InstanceService.sol +259 -343
  359. package/contracts/instance/InstanceServiceManager.sol +14 -29
  360. package/contracts/instance/InstanceStore.sol +287 -0
  361. package/contracts/instance/base/BalanceStore.sol +123 -0
  362. package/contracts/instance/base/Cloneable.sol +28 -0
  363. package/contracts/instance/base/ObjectCounter.sol +21 -0
  364. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  365. package/contracts/instance/{ObjectManager.sol → base/ObjectSet.sol} +18 -21
  366. package/contracts/instance/module/IAccess.sol +4 -12
  367. package/contracts/instance/module/IBundle.sol +6 -9
  368. package/contracts/instance/module/IComponents.sol +26 -16
  369. package/contracts/instance/module/IDistribution.sol +6 -6
  370. package/contracts/instance/module/IPolicy.sol +47 -35
  371. package/contracts/instance/module/IRisk.sol +1 -1
  372. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  373. package/contracts/oracle/BasicOracle.sol +47 -0
  374. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  375. package/contracts/oracle/IOracle.sol +36 -0
  376. package/contracts/oracle/IOracleComponent.sol +33 -0
  377. package/contracts/oracle/IOracleService.sol +66 -0
  378. package/contracts/oracle/Oracle.sol +156 -0
  379. package/contracts/oracle/OracleService.sol +291 -0
  380. package/contracts/oracle/OracleServiceManager.sol +39 -0
  381. package/contracts/pool/BasicPool.sol +154 -0
  382. package/contracts/pool/BasicPoolAuthorization.sol +57 -0
  383. package/contracts/pool/BundleService.sol +493 -0
  384. package/contracts/pool/BundleServiceManager.sol +39 -0
  385. package/contracts/pool/IBundleService.sol +143 -0
  386. package/contracts/pool/IPoolComponent.sol +68 -0
  387. package/contracts/pool/IPoolService.sol +167 -0
  388. package/contracts/pool/Pool.sol +335 -0
  389. package/contracts/pool/PoolService.sol +544 -0
  390. package/contracts/pool/PoolServiceManager.sol +39 -0
  391. package/contracts/product/ApplicationService.sol +259 -0
  392. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
  393. package/contracts/product/BasicProduct.sol +53 -0
  394. package/contracts/product/BasicProductAuthorization.sol +42 -0
  395. package/contracts/product/ClaimService.sol +612 -0
  396. package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
  397. package/contracts/{instance/service → product}/IApplicationService.sol +16 -35
  398. package/contracts/product/IClaimService.sol +123 -0
  399. package/contracts/product/IPolicyService.sol +80 -0
  400. package/contracts/product/IPricingService.sol +39 -0
  401. package/contracts/product/IProductComponent.sol +59 -0
  402. package/contracts/product/IRiskService.sol +33 -0
  403. package/contracts/product/PolicyService.sol +691 -0
  404. package/contracts/product/PolicyServiceManager.sol +39 -0
  405. package/contracts/product/PricingService.sol +300 -0
  406. package/contracts/product/PricingServiceManager.sol +39 -0
  407. package/contracts/product/Product.sol +455 -0
  408. package/contracts/product/RiskService.sol +96 -0
  409. package/contracts/product/RiskServiceManager.sol +39 -0
  410. package/contracts/registry/ChainNft.sol +75 -38
  411. package/contracts/registry/IRegistry.sol +96 -26
  412. package/contracts/registry/IRegistryService.sol +34 -40
  413. package/contracts/registry/ITransferInterceptor.sol +1 -2
  414. package/contracts/registry/Registry.sol +445 -195
  415. package/contracts/registry/RegistryAdmin.sol +448 -0
  416. package/contracts/registry/RegistryService.sol +87 -128
  417. package/contracts/registry/RegistryServiceManager.sol +23 -32
  418. package/contracts/registry/ReleaseLifecycle.sol +30 -0
  419. package/contracts/registry/ReleaseRegistry.sol +501 -0
  420. package/contracts/registry/ServiceAuthorizationV3.sol +194 -0
  421. package/contracts/registry/TokenRegistry.sol +261 -62
  422. package/contracts/shared/Component.sol +265 -0
  423. package/contracts/shared/ComponentService.sol +745 -0
  424. package/contracts/shared/ComponentServiceManager.sol +38 -0
  425. package/contracts/shared/ComponentVerifyingService.sol +126 -0
  426. package/contracts/shared/ContractLib.sol +38 -0
  427. package/contracts/shared/IComponent.sol +74 -0
  428. package/contracts/shared/IComponentService.sol +120 -0
  429. package/contracts/shared/IInstanceLinkedComponent.sol +41 -0
  430. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  431. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  432. package/contracts/shared/INftOwnable.sol +4 -2
  433. package/contracts/shared/IPolicyHolder.sol +23 -14
  434. package/contracts/shared/IRegisterable.sol +11 -0
  435. package/contracts/shared/IRegistryLinked.sol +0 -1
  436. package/contracts/shared/IService.sol +12 -3
  437. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +4 -4
  438. package/contracts/shared/InstanceLinkedComponent.sol +213 -0
  439. package/contracts/shared/KeyValueStore.sol +131 -0
  440. package/contracts/shared/Lifecycle.sol +88 -0
  441. package/contracts/shared/NftIdSet.sol +65 -0
  442. package/contracts/shared/NftOwnable.sol +32 -25
  443. package/contracts/shared/PolicyHolder.sol +22 -41
  444. package/contracts/shared/Registerable.sol +32 -21
  445. package/contracts/shared/RegistryLinked.sol +3 -7
  446. package/contracts/shared/Service.sol +48 -36
  447. package/contracts/shared/TokenHandler.sol +115 -9
  448. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  449. package/contracts/staking/IStaking.sol +168 -0
  450. package/contracts/staking/IStakingService.sol +157 -0
  451. package/contracts/staking/StakeManagerLib.sol +224 -0
  452. package/contracts/staking/Staking.sol +497 -0
  453. package/contracts/staking/StakingLifecycle.sol +23 -0
  454. package/contracts/staking/StakingManager.sol +52 -0
  455. package/contracts/staking/StakingReader.sol +190 -0
  456. package/contracts/staking/StakingService.sol +407 -0
  457. package/contracts/staking/StakingServiceManager.sol +44 -0
  458. package/contracts/staking/StakingStore.sol +605 -0
  459. package/contracts/staking/TargetManagerLib.sol +211 -0
  460. package/contracts/{types → type}/AddressSet.sol +1 -1
  461. package/contracts/type/Amount.sol +150 -0
  462. package/contracts/{types → type}/Blocknumber.sol +26 -3
  463. package/contracts/{types → type}/ClaimId.sol +31 -3
  464. package/contracts/{types → type}/Fee.sol +24 -22
  465. package/contracts/{types → type}/NftId.sol +15 -16
  466. package/contracts/{types → type}/NftIdSet.sol +2 -2
  467. package/contracts/type/ObjectType.sol +276 -0
  468. package/contracts/type/PayoutId.sol +82 -0
  469. package/contracts/{types → type}/Referral.sol +2 -1
  470. package/contracts/type/RequestId.sol +75 -0
  471. package/contracts/{types → type}/RiskId.sol +16 -2
  472. package/contracts/type/RoleId.sol +162 -0
  473. package/contracts/type/Seconds.sol +101 -0
  474. package/contracts/type/Selector.sol +102 -0
  475. package/contracts/{types → type}/StateId.sol +47 -4
  476. package/contracts/type/String.sol +53 -0
  477. package/contracts/{types → type}/Timestamp.sol +21 -2
  478. package/contracts/{types → type}/UFixed.sol +38 -9
  479. package/contracts/{types → type}/Version.sol +4 -2
  480. package/contracts/{shared → upgradeability}/IVersionable.sol +1 -1
  481. package/contracts/{shared → upgradeability}/ProxyManager.sol +93 -30
  482. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  483. package/contracts/{shared → upgradeability}/Versionable.sol +3 -3
  484. package/package.json +9 -5
  485. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  486. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  487. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  488. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  489. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  490. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  491. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  492. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  493. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  494. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  495. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  496. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  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 -1330
  500. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  501. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
  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 -1039
  514. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  515. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -673
  516. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  517. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1231
  518. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  519. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -721
  520. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  521. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -817
  522. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  523. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -641
  524. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  525. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1798
  526. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  527. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -805
  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/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  532. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  533. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  534. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  535. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  536. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1092
  537. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  538. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -697
  539. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  540. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1237
  541. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  542. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -661
  543. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  544. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -840
  545. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  546. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -653
  547. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  548. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  549. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  550. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -559
  551. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  552. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  553. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  554. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  555. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  556. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  557. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
  558. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  559. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  560. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  561. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  562. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  563. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  564. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  565. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  566. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  567. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  568. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -596
  569. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  570. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  571. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  572. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  573. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  574. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  575. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  576. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  577. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  578. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  579. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
  580. package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -161
  581. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  582. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  583. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  584. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  585. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  586. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  587. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  588. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  589. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  590. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
  591. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  592. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  593. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  594. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  595. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  596. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  597. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  598. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  599. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  600. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  601. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  602. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  603. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  604. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
  605. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  606. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  607. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  608. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  609. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  610. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  611. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  612. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  613. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  614. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -267
  615. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  616. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  617. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  618. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  619. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  620. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  621. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  622. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  623. package/contracts/components/Component.sol +0 -253
  624. package/contracts/components/IComponent.sol +0 -76
  625. package/contracts/components/IDistributionComponent.sol +0 -71
  626. package/contracts/components/IPoolComponent.sol +0 -113
  627. package/contracts/components/IProductComponent.sol +0 -40
  628. package/contracts/components/Pool.sol +0 -303
  629. package/contracts/components/Product.sol +0 -293
  630. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
  631. package/contracts/instance/Cloneable.sol +0 -51
  632. package/contracts/instance/InstanceAccessManager.sol +0 -527
  633. package/contracts/instance/base/ComponentService.sol +0 -121
  634. package/contracts/instance/base/KeyValueStore.sol +0 -180
  635. package/contracts/instance/base/Lifecycle.sol +0 -109
  636. package/contracts/instance/module/ISetup.sol +0 -33
  637. package/contracts/instance/module/ITreasury.sol +0 -23
  638. package/contracts/instance/service/ApplicationService.sol +0 -350
  639. package/contracts/instance/service/BundleService.sol +0 -431
  640. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  641. package/contracts/instance/service/ClaimService.sol +0 -151
  642. package/contracts/instance/service/DistributionService.sol +0 -435
  643. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  644. package/contracts/instance/service/IBundleService.sol +0 -93
  645. package/contracts/instance/service/IClaimService.sol +0 -61
  646. package/contracts/instance/service/IPolicyService.sol +0 -72
  647. package/contracts/instance/service/IPoolService.sol +0 -99
  648. package/contracts/instance/service/IProductService.sol +0 -40
  649. package/contracts/instance/service/PolicyService.sol +0 -362
  650. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  651. package/contracts/instance/service/PoolService.sol +0 -303
  652. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  653. package/contracts/instance/service/ProductService.sol +0 -210
  654. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  655. package/contracts/registry/RegistryAccessManager.sol +0 -216
  656. package/contracts/registry/ReleaseManager.sol +0 -324
  657. package/contracts/shared/ContractDeployerLib.sol +0 -72
  658. package/contracts/test/TestFee.sol +0 -25
  659. package/contracts/test/TestRegisterable.sol +0 -18
  660. package/contracts/test/TestRoleId.sol +0 -14
  661. package/contracts/test/TestService.sol +0 -25
  662. package/contracts/test/TestToken.sol +0 -26
  663. package/contracts/test/TestVersion.sol +0 -44
  664. package/contracts/test/TestVersionable.sol +0 -17
  665. package/contracts/types/Amount.sol +0 -60
  666. package/contracts/types/ChainId.sol +0 -38
  667. package/contracts/types/NumberId.sol +0 -52
  668. package/contracts/types/ObjectType.sol +0 -157
  669. package/contracts/types/PayoutId.sol +0 -54
  670. package/contracts/types/RoleId.sol +0 -97
  671. package/contracts/types/Seconds.sol +0 -54
  672. /package/contracts/{types → type}/DistributorType.sol +0 -0
  673. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -0,0 +1,1402 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "BasicDistribution",
4
+ "sourceName": "contracts/distribution/BasicDistribution.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
+ "name": "ErrorComponentNameLengthZero",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "address",
53
+ "name": "caller",
54
+ "type": "address"
55
+ }
56
+ ],
57
+ "name": "ErrorComponentNotChainNft",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "ErrorComponentProductNftIdNonzero",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [],
67
+ "name": "ErrorComponentProductNftIdZero",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [],
72
+ "name": "ErrorComponentTokenAddressNonzero",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [],
77
+ "name": "ErrorComponentTokenAddressZero",
78
+ "type": "error"
79
+ },
80
+ {
81
+ "inputs": [],
82
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
83
+ "type": "error"
84
+ },
85
+ {
86
+ "inputs": [],
87
+ "name": "ErrorComponentWalletAddressZero",
88
+ "type": "error"
89
+ },
90
+ {
91
+ "inputs": [],
92
+ "name": "ErrorComponentWalletNotComponent",
93
+ "type": "error"
94
+ },
95
+ {
96
+ "inputs": [
97
+ {
98
+ "internalType": "address",
99
+ "name": "distributor",
100
+ "type": "address"
101
+ },
102
+ {
103
+ "internalType": "NftId",
104
+ "name": "distributorNftId",
105
+ "type": "uint96"
106
+ }
107
+ ],
108
+ "name": "ErrorDistributionAlreadyDistributor",
109
+ "type": "error"
110
+ },
111
+ {
112
+ "inputs": [
113
+ {
114
+ "internalType": "address",
115
+ "name": "distributor",
116
+ "type": "address"
117
+ }
118
+ ],
119
+ "name": "ErrorDistributionNotDistributor",
120
+ "type": "error"
121
+ },
122
+ {
123
+ "inputs": [
124
+ {
125
+ "internalType": "NftId",
126
+ "name": "nftId",
127
+ "type": "uint96"
128
+ },
129
+ {
130
+ "internalType": "ObjectType",
131
+ "name": "objectType",
132
+ "type": "uint8"
133
+ }
134
+ ],
135
+ "name": "ErrorInstanceLinkedComponentNotProduct",
136
+ "type": "error"
137
+ },
138
+ {
139
+ "inputs": [
140
+ {
141
+ "internalType": "ObjectType",
142
+ "name": "requiredType",
143
+ "type": "uint8"
144
+ },
145
+ {
146
+ "internalType": "ObjectType",
147
+ "name": "objectType",
148
+ "type": "uint8"
149
+ }
150
+ ],
151
+ "name": "ErrorInstanceLinkedComponentTypeMismatch",
152
+ "type": "error"
153
+ },
154
+ {
155
+ "inputs": [
156
+ {
157
+ "internalType": "NftId",
158
+ "name": "nftId",
159
+ "type": "uint96"
160
+ }
161
+ ],
162
+ "name": "ErrorNftOwnableAlreadyLinked",
163
+ "type": "error"
164
+ },
165
+ {
166
+ "inputs": [
167
+ {
168
+ "internalType": "address",
169
+ "name": "contractAddress",
170
+ "type": "address"
171
+ }
172
+ ],
173
+ "name": "ErrorNftOwnableContractNotRegistered",
174
+ "type": "error"
175
+ },
176
+ {
177
+ "inputs": [],
178
+ "name": "ErrorNftOwnableInitialOwnerZero",
179
+ "type": "error"
180
+ },
181
+ {
182
+ "inputs": [
183
+ {
184
+ "internalType": "NftId",
185
+ "name": "nftId",
186
+ "type": "uint96"
187
+ },
188
+ {
189
+ "internalType": "ObjectType",
190
+ "name": "expectedObjectType",
191
+ "type": "uint8"
192
+ }
193
+ ],
194
+ "name": "ErrorNftOwnableInvalidType",
195
+ "type": "error"
196
+ },
197
+ {
198
+ "inputs": [
199
+ {
200
+ "internalType": "address",
201
+ "name": "account",
202
+ "type": "address"
203
+ }
204
+ ],
205
+ "name": "ErrorNftOwnableNotOwner",
206
+ "type": "error"
207
+ },
208
+ {
209
+ "inputs": [
210
+ {
211
+ "internalType": "address",
212
+ "name": "registryAddress",
213
+ "type": "address"
214
+ }
215
+ ],
216
+ "name": "ErrorNotRegistry",
217
+ "type": "error"
218
+ },
219
+ {
220
+ "inputs": [],
221
+ "name": "InvalidInitialization",
222
+ "type": "error"
223
+ },
224
+ {
225
+ "inputs": [],
226
+ "name": "NotInitializing",
227
+ "type": "error"
228
+ },
229
+ {
230
+ "anonymous": false,
231
+ "inputs": [
232
+ {
233
+ "indexed": false,
234
+ "internalType": "address",
235
+ "name": "authority",
236
+ "type": "address"
237
+ }
238
+ ],
239
+ "name": "AuthorityUpdated",
240
+ "type": "event"
241
+ },
242
+ {
243
+ "anonymous": false,
244
+ "inputs": [
245
+ {
246
+ "indexed": false,
247
+ "internalType": "uint64",
248
+ "name": "version",
249
+ "type": "uint64"
250
+ }
251
+ ],
252
+ "name": "Initialized",
253
+ "type": "event"
254
+ },
255
+ {
256
+ "anonymous": false,
257
+ "inputs": [
258
+ {
259
+ "indexed": false,
260
+ "internalType": "address",
261
+ "name": "token",
262
+ "type": "address"
263
+ },
264
+ {
265
+ "indexed": false,
266
+ "internalType": "Amount",
267
+ "name": "limit",
268
+ "type": "uint96"
269
+ },
270
+ {
271
+ "indexed": false,
272
+ "internalType": "bool",
273
+ "name": "isMaxAmount",
274
+ "type": "bool"
275
+ }
276
+ ],
277
+ "name": "LogComponentTokenHandlerApproved",
278
+ "type": "event"
279
+ },
280
+ {
281
+ "anonymous": false,
282
+ "inputs": [
283
+ {
284
+ "indexed": false,
285
+ "internalType": "address",
286
+ "name": "oldWallet",
287
+ "type": "address"
288
+ },
289
+ {
290
+ "indexed": false,
291
+ "internalType": "address",
292
+ "name": "newWallet",
293
+ "type": "address"
294
+ }
295
+ ],
296
+ "name": "LogComponentWalletAddressChanged",
297
+ "type": "event"
298
+ },
299
+ {
300
+ "anonymous": false,
301
+ "inputs": [
302
+ {
303
+ "indexed": false,
304
+ "internalType": "address",
305
+ "name": "from",
306
+ "type": "address"
307
+ },
308
+ {
309
+ "indexed": false,
310
+ "internalType": "address",
311
+ "name": "to",
312
+ "type": "address"
313
+ },
314
+ {
315
+ "indexed": false,
316
+ "internalType": "uint256",
317
+ "name": "amount",
318
+ "type": "uint256"
319
+ }
320
+ ],
321
+ "name": "LogComponentWalletTokensTransferred",
322
+ "type": "event"
323
+ },
324
+ {
325
+ "anonymous": false,
326
+ "inputs": [
327
+ {
328
+ "indexed": false,
329
+ "internalType": "address",
330
+ "name": "to",
331
+ "type": "address"
332
+ },
333
+ {
334
+ "indexed": false,
335
+ "internalType": "address",
336
+ "name": "operator",
337
+ "type": "address"
338
+ }
339
+ ],
340
+ "name": "LogDistributorUpdated",
341
+ "type": "event"
342
+ },
343
+ {
344
+ "inputs": [],
345
+ "name": "COMPONENT_LOCATION_V1",
346
+ "outputs": [
347
+ {
348
+ "internalType": "bytes32",
349
+ "name": "",
350
+ "type": "bytes32"
351
+ }
352
+ ],
353
+ "stateMutability": "view",
354
+ "type": "function"
355
+ },
356
+ {
357
+ "inputs": [],
358
+ "name": "DISTRIBUTION_STORAGE_LOCATION_V1",
359
+ "outputs": [
360
+ {
361
+ "internalType": "bytes32",
362
+ "name": "",
363
+ "type": "bytes32"
364
+ }
365
+ ],
366
+ "stateMutability": "view",
367
+ "type": "function"
368
+ },
369
+ {
370
+ "inputs": [],
371
+ "name": "GIF_RELEASE",
372
+ "outputs": [
373
+ {
374
+ "internalType": "uint256",
375
+ "name": "",
376
+ "type": "uint256"
377
+ }
378
+ ],
379
+ "stateMutability": "view",
380
+ "type": "function"
381
+ },
382
+ {
383
+ "inputs": [],
384
+ "name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
385
+ "outputs": [
386
+ {
387
+ "internalType": "bytes32",
388
+ "name": "",
389
+ "type": "bytes32"
390
+ }
391
+ ],
392
+ "stateMutability": "view",
393
+ "type": "function"
394
+ },
395
+ {
396
+ "inputs": [],
397
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
398
+ "outputs": [
399
+ {
400
+ "internalType": "bytes32",
401
+ "name": "",
402
+ "type": "bytes32"
403
+ }
404
+ ],
405
+ "stateMutability": "view",
406
+ "type": "function"
407
+ },
408
+ {
409
+ "inputs": [],
410
+ "name": "REGISTERABLE_LOCATION_V1",
411
+ "outputs": [
412
+ {
413
+ "internalType": "bytes32",
414
+ "name": "",
415
+ "type": "bytes32"
416
+ }
417
+ ],
418
+ "stateMutability": "view",
419
+ "type": "function"
420
+ },
421
+ {
422
+ "inputs": [
423
+ {
424
+ "internalType": "address",
425
+ "name": "token",
426
+ "type": "address"
427
+ },
428
+ {
429
+ "internalType": "Amount",
430
+ "name": "spendingLimitAmount",
431
+ "type": "uint96"
432
+ }
433
+ ],
434
+ "name": "approveTokenHandler",
435
+ "outputs": [],
436
+ "stateMutability": "nonpayable",
437
+ "type": "function"
438
+ },
439
+ {
440
+ "inputs": [
441
+ {
442
+ "internalType": "Amount",
443
+ "name": "spendingLimitAmount",
444
+ "type": "uint96"
445
+ }
446
+ ],
447
+ "name": "approveTokenHandler",
448
+ "outputs": [],
449
+ "stateMutability": "nonpayable",
450
+ "type": "function"
451
+ },
452
+ {
453
+ "inputs": [],
454
+ "name": "authority",
455
+ "outputs": [
456
+ {
457
+ "internalType": "address",
458
+ "name": "",
459
+ "type": "address"
460
+ }
461
+ ],
462
+ "stateMutability": "view",
463
+ "type": "function"
464
+ },
465
+ {
466
+ "inputs": [
467
+ {
468
+ "internalType": "ReferralId",
469
+ "name": "referralId",
470
+ "type": "bytes8"
471
+ },
472
+ {
473
+ "internalType": "uint256",
474
+ "name": "netPremiumAmount",
475
+ "type": "uint256"
476
+ }
477
+ ],
478
+ "name": "calculateRenewalFeeAmount",
479
+ "outputs": [
480
+ {
481
+ "internalType": "uint256",
482
+ "name": "feeAmount",
483
+ "type": "uint256"
484
+ }
485
+ ],
486
+ "stateMutability": "view",
487
+ "type": "function"
488
+ },
489
+ {
490
+ "inputs": [
491
+ {
492
+ "internalType": "address",
493
+ "name": "distributor",
494
+ "type": "address"
495
+ },
496
+ {
497
+ "internalType": "DistributorType",
498
+ "name": "distributorType",
499
+ "type": "bytes8"
500
+ },
501
+ {
502
+ "internalType": "bytes",
503
+ "name": "data",
504
+ "type": "bytes"
505
+ }
506
+ ],
507
+ "name": "createDistributor",
508
+ "outputs": [
509
+ {
510
+ "internalType": "NftId",
511
+ "name": "distributorNftId",
512
+ "type": "uint96"
513
+ }
514
+ ],
515
+ "stateMutability": "nonpayable",
516
+ "type": "function"
517
+ },
518
+ {
519
+ "inputs": [
520
+ {
521
+ "internalType": "string",
522
+ "name": "name",
523
+ "type": "string"
524
+ },
525
+ {
526
+ "internalType": "UFixed",
527
+ "name": "minDiscountPercentage",
528
+ "type": "uint256"
529
+ },
530
+ {
531
+ "internalType": "UFixed",
532
+ "name": "maxDiscountPercentage",
533
+ "type": "uint256"
534
+ },
535
+ {
536
+ "internalType": "UFixed",
537
+ "name": "commissionPercentage",
538
+ "type": "uint256"
539
+ },
540
+ {
541
+ "internalType": "uint32",
542
+ "name": "maxReferralCount",
543
+ "type": "uint32"
544
+ },
545
+ {
546
+ "internalType": "uint32",
547
+ "name": "maxReferralLifetime",
548
+ "type": "uint32"
549
+ },
550
+ {
551
+ "internalType": "bool",
552
+ "name": "allowSelfReferrals",
553
+ "type": "bool"
554
+ },
555
+ {
556
+ "internalType": "bool",
557
+ "name": "allowRenewals",
558
+ "type": "bool"
559
+ },
560
+ {
561
+ "internalType": "bytes",
562
+ "name": "data",
563
+ "type": "bytes"
564
+ }
565
+ ],
566
+ "name": "createDistributorType",
567
+ "outputs": [
568
+ {
569
+ "internalType": "DistributorType",
570
+ "name": "distributorType",
571
+ "type": "bytes8"
572
+ }
573
+ ],
574
+ "stateMutability": "nonpayable",
575
+ "type": "function"
576
+ },
577
+ {
578
+ "inputs": [
579
+ {
580
+ "internalType": "string",
581
+ "name": "code",
582
+ "type": "string"
583
+ },
584
+ {
585
+ "internalType": "UFixed",
586
+ "name": "discountPercentage",
587
+ "type": "uint256"
588
+ },
589
+ {
590
+ "internalType": "uint32",
591
+ "name": "maxReferrals",
592
+ "type": "uint32"
593
+ },
594
+ {
595
+ "internalType": "Timestamp",
596
+ "name": "expiryAt",
597
+ "type": "uint40"
598
+ },
599
+ {
600
+ "internalType": "bytes",
601
+ "name": "data",
602
+ "type": "bytes"
603
+ }
604
+ ],
605
+ "name": "createReferral",
606
+ "outputs": [
607
+ {
608
+ "internalType": "ReferralId",
609
+ "name": "referralId",
610
+ "type": "bytes8"
611
+ }
612
+ ],
613
+ "stateMutability": "nonpayable",
614
+ "type": "function"
615
+ },
616
+ {
617
+ "inputs": [],
618
+ "name": "getAuthorization",
619
+ "outputs": [
620
+ {
621
+ "internalType": "contract IAuthorization",
622
+ "name": "authorization",
623
+ "type": "address"
624
+ }
625
+ ],
626
+ "stateMutability": "view",
627
+ "type": "function"
628
+ },
629
+ {
630
+ "inputs": [],
631
+ "name": "getComponentInfo",
632
+ "outputs": [
633
+ {
634
+ "components": [
635
+ {
636
+ "internalType": "string",
637
+ "name": "name",
638
+ "type": "string"
639
+ },
640
+ {
641
+ "internalType": "contract IERC20Metadata",
642
+ "name": "token",
643
+ "type": "address"
644
+ },
645
+ {
646
+ "internalType": "contract TokenHandler",
647
+ "name": "tokenHandler",
648
+ "type": "address"
649
+ },
650
+ {
651
+ "internalType": "address",
652
+ "name": "wallet",
653
+ "type": "address"
654
+ },
655
+ {
656
+ "internalType": "bytes",
657
+ "name": "data",
658
+ "type": "bytes"
659
+ }
660
+ ],
661
+ "internalType": "struct IComponents.ComponentInfo",
662
+ "name": "info",
663
+ "type": "tuple"
664
+ }
665
+ ],
666
+ "stateMutability": "view",
667
+ "type": "function"
668
+ },
669
+ {
670
+ "inputs": [
671
+ {
672
+ "internalType": "string",
673
+ "name": "referralCode",
674
+ "type": "string"
675
+ }
676
+ ],
677
+ "name": "getDiscountPercentage",
678
+ "outputs": [
679
+ {
680
+ "internalType": "UFixed",
681
+ "name": "discountPercentage",
682
+ "type": "uint256"
683
+ },
684
+ {
685
+ "internalType": "ReferralStatus",
686
+ "name": "status",
687
+ "type": "uint8"
688
+ }
689
+ ],
690
+ "stateMutability": "view",
691
+ "type": "function"
692
+ },
693
+ {
694
+ "inputs": [
695
+ {
696
+ "internalType": "address",
697
+ "name": "distributor",
698
+ "type": "address"
699
+ }
700
+ ],
701
+ "name": "getDistributorNftId",
702
+ "outputs": [
703
+ {
704
+ "internalType": "NftId",
705
+ "name": "distributorNftId",
706
+ "type": "uint96"
707
+ }
708
+ ],
709
+ "stateMutability": "view",
710
+ "type": "function"
711
+ },
712
+ {
713
+ "inputs": [],
714
+ "name": "getInitialComponentInfo",
715
+ "outputs": [
716
+ {
717
+ "components": [
718
+ {
719
+ "internalType": "string",
720
+ "name": "name",
721
+ "type": "string"
722
+ },
723
+ {
724
+ "internalType": "contract IERC20Metadata",
725
+ "name": "token",
726
+ "type": "address"
727
+ },
728
+ {
729
+ "internalType": "contract TokenHandler",
730
+ "name": "tokenHandler",
731
+ "type": "address"
732
+ },
733
+ {
734
+ "internalType": "address",
735
+ "name": "wallet",
736
+ "type": "address"
737
+ },
738
+ {
739
+ "internalType": "bytes",
740
+ "name": "data",
741
+ "type": "bytes"
742
+ }
743
+ ],
744
+ "internalType": "struct IComponents.ComponentInfo",
745
+ "name": "info",
746
+ "type": "tuple"
747
+ }
748
+ ],
749
+ "stateMutability": "view",
750
+ "type": "function"
751
+ },
752
+ {
753
+ "inputs": [],
754
+ "name": "getInitialInfo",
755
+ "outputs": [
756
+ {
757
+ "components": [
758
+ {
759
+ "internalType": "NftId",
760
+ "name": "nftId",
761
+ "type": "uint96"
762
+ },
763
+ {
764
+ "internalType": "NftId",
765
+ "name": "parentNftId",
766
+ "type": "uint96"
767
+ },
768
+ {
769
+ "internalType": "ObjectType",
770
+ "name": "objectType",
771
+ "type": "uint8"
772
+ },
773
+ {
774
+ "internalType": "bool",
775
+ "name": "isInterceptor",
776
+ "type": "bool"
777
+ },
778
+ {
779
+ "internalType": "address",
780
+ "name": "objectAddress",
781
+ "type": "address"
782
+ },
783
+ {
784
+ "internalType": "address",
785
+ "name": "initialOwner",
786
+ "type": "address"
787
+ },
788
+ {
789
+ "internalType": "bytes",
790
+ "name": "data",
791
+ "type": "bytes"
792
+ }
793
+ ],
794
+ "internalType": "struct IRegistry.ObjectInfo",
795
+ "name": "info",
796
+ "type": "tuple"
797
+ }
798
+ ],
799
+ "stateMutability": "view",
800
+ "type": "function"
801
+ },
802
+ {
803
+ "inputs": [],
804
+ "name": "getInstance",
805
+ "outputs": [
806
+ {
807
+ "internalType": "contract IInstance",
808
+ "name": "instance",
809
+ "type": "address"
810
+ }
811
+ ],
812
+ "stateMutability": "view",
813
+ "type": "function"
814
+ },
815
+ {
816
+ "inputs": [],
817
+ "name": "getName",
818
+ "outputs": [
819
+ {
820
+ "internalType": "string",
821
+ "name": "name",
822
+ "type": "string"
823
+ }
824
+ ],
825
+ "stateMutability": "view",
826
+ "type": "function"
827
+ },
828
+ {
829
+ "inputs": [],
830
+ "name": "getNftId",
831
+ "outputs": [
832
+ {
833
+ "internalType": "NftId",
834
+ "name": "",
835
+ "type": "uint96"
836
+ }
837
+ ],
838
+ "stateMutability": "view",
839
+ "type": "function"
840
+ },
841
+ {
842
+ "inputs": [],
843
+ "name": "getOwner",
844
+ "outputs": [
845
+ {
846
+ "internalType": "address",
847
+ "name": "",
848
+ "type": "address"
849
+ }
850
+ ],
851
+ "stateMutability": "view",
852
+ "type": "function"
853
+ },
854
+ {
855
+ "inputs": [
856
+ {
857
+ "internalType": "string",
858
+ "name": "referralCode",
859
+ "type": "string"
860
+ }
861
+ ],
862
+ "name": "getReferralId",
863
+ "outputs": [
864
+ {
865
+ "internalType": "ReferralId",
866
+ "name": "referralId",
867
+ "type": "bytes8"
868
+ }
869
+ ],
870
+ "stateMutability": "view",
871
+ "type": "function"
872
+ },
873
+ {
874
+ "inputs": [],
875
+ "name": "getRegistry",
876
+ "outputs": [
877
+ {
878
+ "internalType": "contract IRegistry",
879
+ "name": "",
880
+ "type": "address"
881
+ }
882
+ ],
883
+ "stateMutability": "view",
884
+ "type": "function"
885
+ },
886
+ {
887
+ "inputs": [],
888
+ "name": "getRelease",
889
+ "outputs": [
890
+ {
891
+ "internalType": "VersionPart",
892
+ "name": "release",
893
+ "type": "uint8"
894
+ }
895
+ ],
896
+ "stateMutability": "pure",
897
+ "type": "function"
898
+ },
899
+ {
900
+ "inputs": [],
901
+ "name": "getToken",
902
+ "outputs": [
903
+ {
904
+ "internalType": "contract IERC20Metadata",
905
+ "name": "token",
906
+ "type": "address"
907
+ }
908
+ ],
909
+ "stateMutability": "view",
910
+ "type": "function"
911
+ },
912
+ {
913
+ "inputs": [],
914
+ "name": "getTokenHandler",
915
+ "outputs": [
916
+ {
917
+ "internalType": "contract TokenHandler",
918
+ "name": "tokenHandler",
919
+ "type": "address"
920
+ }
921
+ ],
922
+ "stateMutability": "view",
923
+ "type": "function"
924
+ },
925
+ {
926
+ "inputs": [],
927
+ "name": "getWallet",
928
+ "outputs": [
929
+ {
930
+ "internalType": "address",
931
+ "name": "walletAddress",
932
+ "type": "address"
933
+ }
934
+ ],
935
+ "stateMutability": "view",
936
+ "type": "function"
937
+ },
938
+ {
939
+ "inputs": [],
940
+ "name": "isConsumingScheduledOp",
941
+ "outputs": [
942
+ {
943
+ "internalType": "bytes4",
944
+ "name": "",
945
+ "type": "bytes4"
946
+ }
947
+ ],
948
+ "stateMutability": "view",
949
+ "type": "function"
950
+ },
951
+ {
952
+ "inputs": [
953
+ {
954
+ "internalType": "address",
955
+ "name": "candidate",
956
+ "type": "address"
957
+ }
958
+ ],
959
+ "name": "isDistributor",
960
+ "outputs": [
961
+ {
962
+ "internalType": "bool",
963
+ "name": "",
964
+ "type": "bool"
965
+ }
966
+ ],
967
+ "stateMutability": "view",
968
+ "type": "function"
969
+ },
970
+ {
971
+ "inputs": [],
972
+ "name": "isNftInterceptor",
973
+ "outputs": [
974
+ {
975
+ "internalType": "bool",
976
+ "name": "isInterceptor",
977
+ "type": "bool"
978
+ }
979
+ ],
980
+ "stateMutability": "view",
981
+ "type": "function"
982
+ },
983
+ {
984
+ "inputs": [],
985
+ "name": "isRegistered",
986
+ "outputs": [
987
+ {
988
+ "internalType": "bool",
989
+ "name": "",
990
+ "type": "bool"
991
+ }
992
+ ],
993
+ "stateMutability": "view",
994
+ "type": "function"
995
+ },
996
+ {
997
+ "inputs": [],
998
+ "name": "isVerifying",
999
+ "outputs": [
1000
+ {
1001
+ "internalType": "bool",
1002
+ "name": "verifying",
1003
+ "type": "bool"
1004
+ }
1005
+ ],
1006
+ "stateMutability": "pure",
1007
+ "type": "function"
1008
+ },
1009
+ {
1010
+ "inputs": [],
1011
+ "name": "linkToRegisteredNftId",
1012
+ "outputs": [
1013
+ {
1014
+ "internalType": "NftId",
1015
+ "name": "nftId",
1016
+ "type": "uint96"
1017
+ }
1018
+ ],
1019
+ "stateMutability": "nonpayable",
1020
+ "type": "function"
1021
+ },
1022
+ {
1023
+ "inputs": [],
1024
+ "name": "lock",
1025
+ "outputs": [],
1026
+ "stateMutability": "nonpayable",
1027
+ "type": "function"
1028
+ },
1029
+ {
1030
+ "inputs": [
1031
+ {
1032
+ "internalType": "address",
1033
+ "name": "from",
1034
+ "type": "address"
1035
+ },
1036
+ {
1037
+ "internalType": "address",
1038
+ "name": "to",
1039
+ "type": "address"
1040
+ },
1041
+ {
1042
+ "internalType": "uint256",
1043
+ "name": "tokenId",
1044
+ "type": "uint256"
1045
+ },
1046
+ {
1047
+ "internalType": "address",
1048
+ "name": "operator",
1049
+ "type": "address"
1050
+ }
1051
+ ],
1052
+ "name": "nftTransferFrom",
1053
+ "outputs": [],
1054
+ "stateMutability": "nonpayable",
1055
+ "type": "function"
1056
+ },
1057
+ {
1058
+ "inputs": [
1059
+ {
1060
+ "internalType": "ReferralId",
1061
+ "name": "referralId",
1062
+ "type": "bytes8"
1063
+ },
1064
+ {
1065
+ "internalType": "uint256",
1066
+ "name": "feeAmount",
1067
+ "type": "uint256"
1068
+ }
1069
+ ],
1070
+ "name": "processRenewal",
1071
+ "outputs": [],
1072
+ "stateMutability": "nonpayable",
1073
+ "type": "function"
1074
+ },
1075
+ {
1076
+ "inputs": [
1077
+ {
1078
+ "internalType": "address",
1079
+ "name": "newAuthority",
1080
+ "type": "address"
1081
+ }
1082
+ ],
1083
+ "name": "setAuthority",
1084
+ "outputs": [],
1085
+ "stateMutability": "nonpayable",
1086
+ "type": "function"
1087
+ },
1088
+ {
1089
+ "inputs": [
1090
+ {
1091
+ "components": [
1092
+ {
1093
+ "internalType": "UFixed",
1094
+ "name": "fractionalFee",
1095
+ "type": "uint256"
1096
+ },
1097
+ {
1098
+ "internalType": "uint256",
1099
+ "name": "fixedFee",
1100
+ "type": "uint256"
1101
+ }
1102
+ ],
1103
+ "internalType": "struct Fee",
1104
+ "name": "distributionFee",
1105
+ "type": "tuple"
1106
+ },
1107
+ {
1108
+ "components": [
1109
+ {
1110
+ "internalType": "UFixed",
1111
+ "name": "fractionalFee",
1112
+ "type": "uint256"
1113
+ },
1114
+ {
1115
+ "internalType": "uint256",
1116
+ "name": "fixedFee",
1117
+ "type": "uint256"
1118
+ }
1119
+ ],
1120
+ "internalType": "struct Fee",
1121
+ "name": "minDistributionOwnerFee",
1122
+ "type": "tuple"
1123
+ }
1124
+ ],
1125
+ "name": "setFees",
1126
+ "outputs": [],
1127
+ "stateMutability": "nonpayable",
1128
+ "type": "function"
1129
+ },
1130
+ {
1131
+ "inputs": [
1132
+ {
1133
+ "internalType": "address",
1134
+ "name": "newWallet",
1135
+ "type": "address"
1136
+ }
1137
+ ],
1138
+ "name": "setWallet",
1139
+ "outputs": [],
1140
+ "stateMutability": "nonpayable",
1141
+ "type": "function"
1142
+ },
1143
+ {
1144
+ "inputs": [
1145
+ {
1146
+ "internalType": "bytes4",
1147
+ "name": "interfaceId",
1148
+ "type": "bytes4"
1149
+ }
1150
+ ],
1151
+ "name": "supportsInterface",
1152
+ "outputs": [
1153
+ {
1154
+ "internalType": "bool",
1155
+ "name": "",
1156
+ "type": "bool"
1157
+ }
1158
+ ],
1159
+ "stateMutability": "view",
1160
+ "type": "function"
1161
+ },
1162
+ {
1163
+ "inputs": [],
1164
+ "name": "unlock",
1165
+ "outputs": [],
1166
+ "stateMutability": "nonpayable",
1167
+ "type": "function"
1168
+ },
1169
+ {
1170
+ "inputs": [
1171
+ {
1172
+ "internalType": "NftId",
1173
+ "name": "distributorNftId",
1174
+ "type": "uint96"
1175
+ },
1176
+ {
1177
+ "internalType": "DistributorType",
1178
+ "name": "distributorType",
1179
+ "type": "bytes8"
1180
+ },
1181
+ {
1182
+ "internalType": "bytes",
1183
+ "name": "data",
1184
+ "type": "bytes"
1185
+ }
1186
+ ],
1187
+ "name": "updateDistributorType",
1188
+ "outputs": [],
1189
+ "stateMutability": "nonpayable",
1190
+ "type": "function"
1191
+ },
1192
+ {
1193
+ "inputs": [
1194
+ {
1195
+ "internalType": "NftId",
1196
+ "name": "distributorNftId",
1197
+ "type": "uint96"
1198
+ },
1199
+ {
1200
+ "internalType": "Amount",
1201
+ "name": "amount",
1202
+ "type": "uint96"
1203
+ }
1204
+ ],
1205
+ "name": "withdrawCommission",
1206
+ "outputs": [
1207
+ {
1208
+ "internalType": "Amount",
1209
+ "name": "withdrawnAmount",
1210
+ "type": "uint96"
1211
+ }
1212
+ ],
1213
+ "stateMutability": "nonpayable",
1214
+ "type": "function"
1215
+ },
1216
+ {
1217
+ "inputs": [
1218
+ {
1219
+ "internalType": "Amount",
1220
+ "name": "amount",
1221
+ "type": "uint96"
1222
+ }
1223
+ ],
1224
+ "name": "withdrawFees",
1225
+ "outputs": [
1226
+ {
1227
+ "internalType": "Amount",
1228
+ "name": "withdrawnAmount",
1229
+ "type": "uint96"
1230
+ }
1231
+ ],
1232
+ "stateMutability": "nonpayable",
1233
+ "type": "function"
1234
+ }
1235
+ ],
1236
+ "bytecode": "0x6080604052348015600e575f80fd5b506136818061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610281575f3560e01c80637a9e5e4b11610156578063b423086c116100ca578063deaa59df11610084578063deaa59df146105ca578063e145d46c146105dd578063ea15869f14610607578063f5860e1a1461062e578063f80e207214610642578063f83d08ba14610655575f80fd5b8063b423086c14610564578063b6b412ba1461056c578063bae99c991461057f578063bf7e214f14610592578063d16d0fe81461059a578063de7b5d14146105ad575f80fd5b80638fb360371161011b5780638fb36037146104ec57806390edbd351461050d578063a69df4b514610522578063ad12ad601461052a578063ada9652e1461053d578063b2a6b42d14610551575f80fd5b80637a9e5e4b146104af57806387ef9ba0146104c25780638899278a146104c9578063893d20e8146104d15780638f0c86fa146104d9575f80fd5b80632eb3e6f4116101f85780635ab1bd53116101b25780635ab1bd53146104265780635dcb3bae14610437578063644c45e01461044a5780636bd1c0eb146104525780637427d7a81461048257806376b707b714610495575f80fd5b80632eb3e6f4146103c75780633d683fd9146103db578063419197fe146103f057806343d752d3146104035780635741e5e91461040b57806359660bea14610413575f80fd5b806317d7de7c1161024957806317d7de7c1461032e5780631c6b2190146103435780631eff4b221461035657806321df0da71461038b57806322366844146103935780632b5198b11461039b575f80fd5b806301ffc9a71461028557806307e71a6e146102c65780630fec111c146102f15780631329960414610306578063138461e014610326575b5f80fd5b6102b16102933660046129dc565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102d96102d4366004612a17565b61065d565b6040516001600160601b0390911681526020016102bd565b6102f9610761565b6040516102bd9190612a7c565b61030e61091f565b6040516001600160a01b0390911681526020016102bd565b6102d9610931565b610336610940565b6040516102bd9190612b10565b6102d9610351366004612b22565b610950565b61037d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102bd565b61030e6109a6565b6102b16109b8565b6103ae6103a9366004612c79565b610aae565b6040516001600160c01b031990911681526020016102bd565b61037d5f8051602061362c83398151915281565b6103ee6103e9366004612d4f565b610b12565b005b6103ee6103fe366004612dc0565b610b75565b61030e610dc0565b6102b1610dd2565b6103ae610421366004612ddc565b610e86565b6001546001600160a01b031661030e565b6102d9610445366004612e75565b610edd565b6102d9610f37565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661030e565b6103ae610490366004612e92565b610f52565b61049d610fd2565b60405160ff90911681526020016102bd565b6103ee6104bd366004612ec3565b611046565b60016102b1565b61037d600381565b61030e6110cc565b6102b16104e7366004612ec3565b6111fd565b6104f46112c2565b6040516001600160e01b031990911681526020016102bd565b6105156112f7565b6040516102bd9190612ede565b6103ee61131c565b6103ee610538366004612f52565b6113ba565b61037d5f805160206135cc83398151915281565b6102d961055f366004612ec3565b611463565b6105156114a5565b6103ee61057a366004612fee565b6114b5565b6103ee61058d366004612b22565b611503565b61030e611552565b61037d6105a8366004613021565b61156d565b5f8051602061362c833981519152546001600160a01b031661030e565b6103ee6105d8366004612ec3565b611581565b6105f06105eb366004612e92565b6117fc565b6040805192835260ff9091166020830152016102bd565b61037d7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61037d5f8051602061360c83398151915281565b6103ee610650366004613021565b6118b6565b6103ee6118bf565b5f61066a335b5f36611933565b610673336111fd565b6106975760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b82601d6106a48282611a31565b846106b76001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa15801561070a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061072e9190613056565b61074d5760405163086391f760e31b815233600482015260240161068e565b6107578686611ae8565b9695505050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610811573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610835919061307c565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161087d6110cc565b6001600160a01b0316815260200182600101805461089a90613097565b80601f01602080910402602001604051908101604052809291908181526020018280546108c690613097565b80156109115780601f106108e857610100808354040283529160200191610911565b820191905f5260205f20905b8154815290600101906020018083116108f457829003601f168201915b505050505081525091505090565b5f6109286112f7565b60600151905090565b5f61093b30611b74565b905090565b606061094a6112f7565b51919050565b5f6109596110cc565b6001600160a01b0316336001600160a01b03161461098c5760405163086391f760e31b815233600482015260240161068e565b61099533610663565b61099e82611d68565b90505b919050565b5f6109af6112f7565b60200151905090565b5f6109cb6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a33919061307c565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610a8a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093b9190613056565b5f610ab76110cc565b6001600160a01b0316336001600160a01b031614610aea5760405163086391f760e31b815233600482015260240161068e565b610af333610663565b610b048a8a8a8a8a8a8a8a8a611dec565b9a9950505050505050505050565b610b1a6110cc565b6001600160a01b0316336001600160a01b031614610b4d5760405163086391f760e31b815233600482015260240161068e565b82601d610b5a8282611a31565b610b6333610663565b610b6e858585611eab565b5050505050565b610b7d6110cc565b6001600160a01b0316336001600160a01b031614610bb05760405163086391f760e31b815233600482015260240161068e565b30610bb961091f565b6001600160a01b031614610be05760405163b6d7537f60e01b815260040160405180910390fd5b60405163046e44af60e11b81526001600160601b03821660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610c38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5c91906130cf565b90505f610cd38373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610caa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cce919061307c565b611ebf565b15610ce057505f19905060015b7f99d7b1d3869e469ab19cd2c6e66718a63bca93dc1a2d27d375cb4bebbf5348ce610d09610dc0565b604080516001600160a01b0390921682526001600160601b03861660208301528315159082015260600160405180910390a1836001600160a01b031663095ea7b3610d52610dc0565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018590526044016020604051808303815f875af1158015610d9c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b6e9190613056565b5f610dc96112f7565b60400151905090565b5f610ddb6109b8565b15610e56576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610e2f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610928919081019061315e565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f610e90336111fd565b610eaf5760405163637c41bb60e01b815233600482015260240161068e565b610eb833610663565b5f610ec233611463565b9050610ed2818888888888611f43565b979650505050505050565b5f610ee66110cc565b6001600160a01b0316336001600160a01b031614610f195760405163086391f760e31b815233600482015260240161068e565b610f2233610663565b610f2d848484611ff9565b90505b9392505050565b5f805160206135cc833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610f75610f37565b846040518363ffffffff1660e01b8152600401610f9392919061322e565b602060405180830381865af4158015610fae573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099e919061324f565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611022573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093b919061326a565b3361104f611552565b6001600160a01b0316816001600160a01b03161461108a5760405162d1953b60e31b81526001600160a01b038216600482015260240161068e565b816001600160a01b03163b5f036110bf576040516361798f2f60e11b81526001600160a01b038316600482015260240161068e565b6110c8826121bd565b5050565b5f805f805160206135cc83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611138573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115c9190613056565b156111e7576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156111bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111e19190613285565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f8051602061360c8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af415801561129e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f309190613056565b5f805160206135ec83398151915280545f9190600160a01b900460ff166112e9575f6111e1565b638fb3603760e01b91505090565b6112ff612995565b6113076109b8565b156113145761093b61221d565b61093b6114a5565b6113246110cc565b6001600160a01b0316336001600160a01b0316146113575760405163086391f760e31b815233600482015260240161068e565b611361600a6123e4565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b1580156113a2575f80fd5b505af11580156113b4573d5f803e3d5ffd5b50505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611401573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114259190613285565b6001600160a01b0316336001600160a01b0316146114575760405162f0630960e01b815233600482015260240161068e565b6113b4848484846124e5565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6114ad612995565b61093b61221d565b6114bd6110cc565b6001600160a01b0316336001600160a01b0316146114f05760405163086391f760e31b815233600482015260240161068e565b6114f933610663565b6110c8828261268e565b61150b6110cc565b6001600160a01b0316336001600160a01b03161461153e5760405163086391f760e31b815233600482015260240161068e565b61154f6115496109a6565b82610b75565b50565b5f805160206135ec833981519152546001600160a01b031690565b5f61157882826132a0565b90505b92915050565b6115896110cc565b6001600160a01b0316336001600160a01b0316146115bc5760405163086391f760e31b815233600482015260240161068e565b5f6115c561091f565b90505f6115d06109a6565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa158015611616573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061163a91906130cf565b9050611645836126f5565b80156117f757604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b038316036117a6576116ae610dc0565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116f791815260200190565b602060405180830381865af4158015611712573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611736919061307c565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b15801561178b575f80fd5b505af115801561179d573d5f803e3d5ffd5b50505050505050565b6117ae610dc0565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116f791815260200190565b505050565b5f805f61180884610f52565b905061183b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa158015611888573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118ac91906132c3565b9250925050915091565b6110c833610663565b6118c76110cc565b6001600160a01b0316336001600160a01b0316146118fa5760405163086391f760e31b815233600482015260240161068e565b611904600a6123e4565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e9060240161138b565b5f805160206135ec8339815191525f8061196b61194e611552565b873061195d60045f8a8c6132e7565b6119669161330e565b61278e565b9150915081611a295763ffffffff811615611a0657825460ff60a01b1916600160a01b178355611999611552565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016119c893929190613346565b5f604051808303815f87803b1580156119df575f80fd5b505af11580156119f1573d5f803e3d5ffd5b5050845460ff60a01b1916855550611a299050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161068e565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015611a93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ab79190613056565b6110c85760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161068e565b5f5f8051602061360c833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611b50573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611578919061307c565b5f805f805160206135cc83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611be0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c049190613056565b15611c305780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161068e565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611c82573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ca69190613056565b611cce5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161068e565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611d20573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d44919061307c565b81546001600160601b0319166001600160601b039190911690811790915592915050565b5f5f8051602061362c833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611dc8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099e919061307c565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f8051602061360c833981519152916001600160a01b0390911690632b5198b190611e5c908e908e908e908e908e908e908e908e908e90600401613385565b6020604051808303815f875af1158015611e78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e9c919061324f565b9b9a5050505050505050505050565b5f5f8051602061360c833981519152610b6e565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611f1f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115789190613056565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f8051602061360c833981519152916001600160a01b0390911690638dd2b78190611fad908b908b908b908b908b908b906004016133f6565b6020604051808303815f875af1158015611fc9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fed919061324f565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f8051602061360c8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af415801561209a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120be9190613056565b15612109576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b0316602482015260440161068e565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae9061213f90889088908890600401613455565b6020604051808303815f875af115801561215b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061217f919061307c565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f805160206135ec83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612225612995565b5f6122386001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561227c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122a0919061307c565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156122f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061231d9190613056565b156123dc577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c361235a610f37565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa15801561239b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526123c29190810190613488565b60608101519092506001600160a01b0316156123dc575090565b6111e1612896565b5f805f8051602061362c83398151915254604080516376b707b760e01b815290516001600160a01b03909216916376b707b7916004808201926020929091908290030181865afa15801561243a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061245e919061326a565b90506124726001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa1580156124c1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f309190613285565b604080516001600160a01b038086168252831660208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f8051602061360c833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612580573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125a4919061307c565b6001600160a01b0386165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810184905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af415801561262a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061264e919061307c565b6001600160a01b03949094165f9081526002919091016020526040902080546001600160601b0319166001600160601b0390941693909317909255505050565b5f8051602061360c83398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906126cc9085908590600401613562565b5f604051808303815f87803b1580156126e3575f80fd5b505af1158015611a29573d5f803e3d5ffd5b6126fd6110cc565b6001600160a01b0316336001600160a01b0316146127305760405163086391f760e31b815233600482015260240161068e565b61273a600b6123e4565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b15801561277c575f80fd5b505af1158015610b6e573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516127fc9190613588565b5f60405180830381855afa9150503d805f8114612834576040519150601f19603f3d011682016040523d82523d5f602084013e612839565b606091505b5091509150811561288b57604081511061286b5780806020019051810190612861919061359e565b909450925061288b565b602081511061288b57808060200190518101906128889190613056565b93505b505094509492505050565b61289e612995565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060a00160405280825f0180546128db90613097565b80601f016020809104026020016040519081016040528092919081815260200182805461290790613097565b80156129525780601f1061292957610100808354040283529160200191612952565b820191905f5260205f20905b81548152906001019060200180831161293557829003601f168201915b505050918352505060018301546001600160a01b0390811660208301525f6040830152600284015416606082015260038301805460809092019161089a90613097565b6040518060a00160405280606081526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f602082840312156129ec575f80fd5b81356001600160e01b031981168114610f30575f80fd5b6001600160601b038116811461154f575f80fd5b5f8060408385031215612a28575f80fd5b8235612a3381612a03565b91506020830135612a4381612a03565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612ac4608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612b08610100840182612a4e565b949350505050565b602081525f6115786020830184612a4e565b5f60208284031215612b32575f80fd5b8135610f3081612a03565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612b7357612b73612b3d565b60405290565b60405160a081016001600160401b0381118282101715612b7357612b73612b3d565b604051601f8201601f191681016001600160401b0381118282101715612bc357612bc3612b3d565b604052919050565b5f6001600160401b03821115612be357612be3612b3d565b50601f01601f191660200190565b5f82601f830112612c00575f80fd5b8135602083015f612c18612c1384612bcb565b612b9b565b9050828152858383011115612c2b575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff8116811461154f575f80fd5b80356109a181612c45565b801515811461154f575f80fd5b80356109a181612c61565b5f805f805f805f805f6101208a8c031215612c92575f80fd5b89356001600160401b03811115612ca7575f80fd5b612cb38c828d01612bf1565b99505060208a0135975060408a0135965060608a0135955060808a0135612cd981612c45565b9450612ce760a08b01612c56565b9350612cf560c08b01612c6e565b9250612d0360e08b01612c6e565b91506101008a01356001600160401b03811115612d1e575f80fd5b612d2a8c828d01612bf1565b9150509295985092959850929598565b6001600160c01b03198116811461154f575f80fd5b5f805f60608486031215612d61575f80fd5b8335612d6c81612a03565b92506020840135612d7c81612d3a565b915060408401356001600160401b03811115612d96575f80fd5b612da286828701612bf1565b9150509250925092565b6001600160a01b038116811461154f575f80fd5b5f8060408385031215612dd1575f80fd5b8235612a3381612dac565b5f805f805f60a08688031215612df0575f80fd5b85356001600160401b03811115612e05575f80fd5b612e1188828901612bf1565b955050602086013593506040860135612e2981612c45565b9250606086013564ffffffffff81168114612e42575f80fd5b915060808601356001600160401b03811115612e5c575f80fd5b612e6888828901612bf1565b9150509295509295909350565b5f805f60608486031215612e87575f80fd5b8335612d6c81612dac565b5f60208284031215612ea2575f80fd5b81356001600160401b03811115612eb7575f80fd5b612b0884828501612bf1565b5f60208284031215612ed3575f80fd5b8135610f3081612dac565b602081525f825160a06020840152612ef960c0840182612a4e565b60208501516001600160a01b03908116604086810191909152860151811660608087019190915286015116608080860191909152850151848203601f190160a0860152909150612f498282612a4e565b95945050505050565b5f805f8060808587031215612f65575f80fd5b8435612f7081612dac565b93506020850135612f8081612dac565b9250604085013591506060850135612f9781612dac565b939692955090935050565b5f60408284031215612fb2575f80fd5b604080519081016001600160401b0381118282101715612fd457612fd4612b3d565b604052823581526020928301359281019290925250919050565b5f8060808385031215612fff575f80fd5b6130098484612fa2565b91506130188460408501612fa2565b90509250929050565b5f8060408385031215613032575f80fd5b823561303d81612d3a565b946020939093013593505050565b80516109a181612c61565b5f60208284031215613066575f80fd5b8151610f3081612c61565b80516109a181612a03565b5f6020828403121561308c575f80fd5b8151610f3081612a03565b600181811c908216806130ab57607f821691505b6020821081036130c957634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156130df575f80fd5b5051919050565b60ff8116811461154f575f80fd5b80516109a1816130e6565b80516109a181612dac565b5f613117612c1384612bcb565b905082815283838301111561312a575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f83011261314f575f80fd5b6115788383516020850161310a565b5f6020828403121561316e575f80fd5b81516001600160401b03811115613183575f80fd5b820160e08185031215613194575f80fd5b61319c612b51565b6131a582613071565b81526131b360208301613071565b60208201526131c4604083016130f4565b60408201526131d56060830161304b565b60608201526131e6608083016130ff565b60808201526131f760a083016130ff565b60a082015260c08201516001600160401b03811115613214575f80fd5b61322086828501613140565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610f2d6040830184612a4e565b5f6020828403121561325f575f80fd5b8151610f3081612d3a565b5f6020828403121561327a575f80fd5b8151610f30816130e6565b5f60208284031215613295575f80fd5b8151610f3081612dac565b808202811582820484141761157b57634e487b7160e01b5f52601160045260245ffd5b5f80604083850312156132d4575f80fd5b82516020840151909250612a43816130e6565b5f80858511156132f5575f80fd5b83861115613301575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561333f576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f61339961012083018c612a4e565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e08401528281036101008401526133e68185612a4e565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f61341760c0830188612a4e565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a08401526134488185612a4e565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90612f4990830184612a4e565b5f60208284031215613498575f80fd5b81516001600160401b038111156134ad575f80fd5b820160a081850312156134be575f80fd5b6134c6612b79565b81516001600160401b038111156134db575f80fd5b8201601f810186136134eb575f80fd5b6134fa8682516020840161310a565b825250613509602083016130ff565b602082015261351a604083016130ff565b604082015261352b606083016130ff565b606082015260808201516001600160401b03811115613548575f80fd5b61355486828501613140565b608083015250949350505050565b825181526020808401518183015282516040830152820151606082015260808101610f30565b5f82518060208501845e5f920191825250919050565b5f80604083850312156135af575f80fd5b82516135ba81612c61565b6020840151909250612a4381612c4556fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220811a08dac4cc01c9079be18cb86c4d7dd66b5dbe6dbefcbe4701860e302670b964736f6c634300081a0033",
1237
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610281575f3560e01c80637a9e5e4b11610156578063b423086c116100ca578063deaa59df11610084578063deaa59df146105ca578063e145d46c146105dd578063ea15869f14610607578063f5860e1a1461062e578063f80e207214610642578063f83d08ba14610655575f80fd5b8063b423086c14610564578063b6b412ba1461056c578063bae99c991461057f578063bf7e214f14610592578063d16d0fe81461059a578063de7b5d14146105ad575f80fd5b80638fb360371161011b5780638fb36037146104ec57806390edbd351461050d578063a69df4b514610522578063ad12ad601461052a578063ada9652e1461053d578063b2a6b42d14610551575f80fd5b80637a9e5e4b146104af57806387ef9ba0146104c25780638899278a146104c9578063893d20e8146104d15780638f0c86fa146104d9575f80fd5b80632eb3e6f4116101f85780635ab1bd53116101b25780635ab1bd53146104265780635dcb3bae14610437578063644c45e01461044a5780636bd1c0eb146104525780637427d7a81461048257806376b707b714610495575f80fd5b80632eb3e6f4146103c75780633d683fd9146103db578063419197fe146103f057806343d752d3146104035780635741e5e91461040b57806359660bea14610413575f80fd5b806317d7de7c1161024957806317d7de7c1461032e5780631c6b2190146103435780631eff4b221461035657806321df0da71461038b57806322366844146103935780632b5198b11461039b575f80fd5b806301ffc9a71461028557806307e71a6e146102c65780630fec111c146102f15780631329960414610306578063138461e014610326575b5f80fd5b6102b16102933660046129dc565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102d96102d4366004612a17565b61065d565b6040516001600160601b0390911681526020016102bd565b6102f9610761565b6040516102bd9190612a7c565b61030e61091f565b6040516001600160a01b0390911681526020016102bd565b6102d9610931565b610336610940565b6040516102bd9190612b10565b6102d9610351366004612b22565b610950565b61037d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102bd565b61030e6109a6565b6102b16109b8565b6103ae6103a9366004612c79565b610aae565b6040516001600160c01b031990911681526020016102bd565b61037d5f8051602061362c83398151915281565b6103ee6103e9366004612d4f565b610b12565b005b6103ee6103fe366004612dc0565b610b75565b61030e610dc0565b6102b1610dd2565b6103ae610421366004612ddc565b610e86565b6001546001600160a01b031661030e565b6102d9610445366004612e75565b610edd565b6102d9610f37565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661030e565b6103ae610490366004612e92565b610f52565b61049d610fd2565b60405160ff90911681526020016102bd565b6103ee6104bd366004612ec3565b611046565b60016102b1565b61037d600381565b61030e6110cc565b6102b16104e7366004612ec3565b6111fd565b6104f46112c2565b6040516001600160e01b031990911681526020016102bd565b6105156112f7565b6040516102bd9190612ede565b6103ee61131c565b6103ee610538366004612f52565b6113ba565b61037d5f805160206135cc83398151915281565b6102d961055f366004612ec3565b611463565b6105156114a5565b6103ee61057a366004612fee565b6114b5565b6103ee61058d366004612b22565b611503565b61030e611552565b61037d6105a8366004613021565b61156d565b5f8051602061362c833981519152546001600160a01b031661030e565b6103ee6105d8366004612ec3565b611581565b6105f06105eb366004612e92565b6117fc565b6040805192835260ff9091166020830152016102bd565b61037d7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61037d5f8051602061360c83398151915281565b6103ee610650366004613021565b6118b6565b6103ee6118bf565b5f61066a335b5f36611933565b610673336111fd565b6106975760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b82601d6106a48282611a31565b846106b76001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa15801561070a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061072e9190613056565b61074d5760405163086391f760e31b815233600482015260240161068e565b6107578686611ae8565b9695505050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610811573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610835919061307c565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161087d6110cc565b6001600160a01b0316815260200182600101805461089a90613097565b80601f01602080910402602001604051908101604052809291908181526020018280546108c690613097565b80156109115780601f106108e857610100808354040283529160200191610911565b820191905f5260205f20905b8154815290600101906020018083116108f457829003601f168201915b505050505081525091505090565b5f6109286112f7565b60600151905090565b5f61093b30611b74565b905090565b606061094a6112f7565b51919050565b5f6109596110cc565b6001600160a01b0316336001600160a01b03161461098c5760405163086391f760e31b815233600482015260240161068e565b61099533610663565b61099e82611d68565b90505b919050565b5f6109af6112f7565b60200151905090565b5f6109cb6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610a0f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a33919061307c565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610a8a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093b9190613056565b5f610ab76110cc565b6001600160a01b0316336001600160a01b031614610aea5760405163086391f760e31b815233600482015260240161068e565b610af333610663565b610b048a8a8a8a8a8a8a8a8a611dec565b9a9950505050505050505050565b610b1a6110cc565b6001600160a01b0316336001600160a01b031614610b4d5760405163086391f760e31b815233600482015260240161068e565b82601d610b5a8282611a31565b610b6333610663565b610b6e858585611eab565b5050505050565b610b7d6110cc565b6001600160a01b0316336001600160a01b031614610bb05760405163086391f760e31b815233600482015260240161068e565b30610bb961091f565b6001600160a01b031614610be05760405163b6d7537f60e01b815260040160405180910390fd5b60405163046e44af60e11b81526001600160601b03821660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610c38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5c91906130cf565b90505f610cd38373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610caa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cce919061307c565b611ebf565b15610ce057505f19905060015b7f99d7b1d3869e469ab19cd2c6e66718a63bca93dc1a2d27d375cb4bebbf5348ce610d09610dc0565b604080516001600160a01b0390921682526001600160601b03861660208301528315159082015260600160405180910390a1836001600160a01b031663095ea7b3610d52610dc0565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018590526044016020604051808303815f875af1158015610d9c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b6e9190613056565b5f610dc96112f7565b60400151905090565b5f610ddb6109b8565b15610e56576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610e2f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610928919081019061315e565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f610e90336111fd565b610eaf5760405163637c41bb60e01b815233600482015260240161068e565b610eb833610663565b5f610ec233611463565b9050610ed2818888888888611f43565b979650505050505050565b5f610ee66110cc565b6001600160a01b0316336001600160a01b031614610f195760405163086391f760e31b815233600482015260240161068e565b610f2233610663565b610f2d848484611ff9565b90505b9392505050565b5f805160206135cc833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610f75610f37565b846040518363ffffffff1660e01b8152600401610f9392919061322e565b602060405180830381865af4158015610fae573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099e919061324f565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611022573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061093b919061326a565b3361104f611552565b6001600160a01b0316816001600160a01b03161461108a5760405162d1953b60e31b81526001600160a01b038216600482015260240161068e565b816001600160a01b03163b5f036110bf576040516361798f2f60e11b81526001600160a01b038316600482015260240161068e565b6110c8826121bd565b5050565b5f805f805160206135cc83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611138573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061115c9190613056565b156111e7576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156111bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111e19190613285565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f8051602061360c8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af415801561129e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f309190613056565b5f805160206135ec83398151915280545f9190600160a01b900460ff166112e9575f6111e1565b638fb3603760e01b91505090565b6112ff612995565b6113076109b8565b156113145761093b61221d565b61093b6114a5565b6113246110cc565b6001600160a01b0316336001600160a01b0316146113575760405163086391f760e31b815233600482015260240161068e565b611361600a6123e4565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b1580156113a2575f80fd5b505af11580156113b4573d5f803e3d5ffd5b50505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611401573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114259190613285565b6001600160a01b0316336001600160a01b0316146114575760405162f0630960e01b815233600482015260240161068e565b6113b4848484846124e5565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6114ad612995565b61093b61221d565b6114bd6110cc565b6001600160a01b0316336001600160a01b0316146114f05760405163086391f760e31b815233600482015260240161068e565b6114f933610663565b6110c8828261268e565b61150b6110cc565b6001600160a01b0316336001600160a01b03161461153e5760405163086391f760e31b815233600482015260240161068e565b61154f6115496109a6565b82610b75565b50565b5f805160206135ec833981519152546001600160a01b031690565b5f61157882826132a0565b90505b92915050565b6115896110cc565b6001600160a01b0316336001600160a01b0316146115bc5760405163086391f760e31b815233600482015260240161068e565b5f6115c561091f565b90505f6115d06109a6565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa158015611616573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061163a91906130cf565b9050611645836126f5565b80156117f757604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b038316036117a6576116ae610dc0565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116f791815260200190565b602060405180830381865af4158015611712573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611736919061307c565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b15801561178b575f80fd5b505af115801561179d573d5f803e3d5ffd5b50505050505050565b6117ae610dc0565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116f791815260200190565b505050565b5f805f61180884610f52565b905061183b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa158015611888573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118ac91906132c3565b9250925050915091565b6110c833610663565b6118c76110cc565b6001600160a01b0316336001600160a01b0316146118fa5760405163086391f760e31b815233600482015260240161068e565b611904600a6123e4565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e9060240161138b565b5f805160206135ec8339815191525f8061196b61194e611552565b873061195d60045f8a8c6132e7565b6119669161330e565b61278e565b9150915081611a295763ffffffff811615611a0657825460ff60a01b1916600160a01b178355611999611552565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016119c893929190613346565b5f604051808303815f87803b1580156119df575f80fd5b505af11580156119f1573d5f803e3d5ffd5b5050845460ff60a01b1916855550611a299050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161068e565b505050505050565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015611a93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ab79190613056565b6110c85760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161068e565b5f5f8051602061360c833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611b50573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611578919061307c565b5f805f805160206135cc83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611be0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c049190613056565b15611c305780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161068e565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611c82573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ca69190613056565b611cce5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161068e565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611d20573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d44919061307c565b81546001600160601b0319166001600160601b039190911690811790915592915050565b5f5f8051602061362c833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611dc8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061099e919061307c565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f8051602061360c833981519152916001600160a01b0390911690632b5198b190611e5c908e908e908e908e908e908e908e908e908e90600401613385565b6020604051808303815f875af1158015611e78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e9c919061324f565b9b9a5050505050505050505050565b5f5f8051602061360c833981519152610b6e565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611f1f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115789190613056565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f8051602061360c833981519152916001600160a01b0390911690638dd2b78190611fad908b908b908b908b908b908b906004016133f6565b6020604051808303815f875af1158015611fc9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fed919061324f565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f8051602061360c8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af415801561209a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120be9190613056565b15612109576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b0316602482015260440161068e565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae9061213f90889088908890600401613455565b6020604051808303815f875af115801561215b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061217f919061307c565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f805160206135ec83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612225612995565b5f6122386001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561227c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122a0919061307c565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156122f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061231d9190613056565b156123dc577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c361235a610f37565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa15801561239b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526123c29190810190613488565b60608101519092506001600160a01b0316156123dc575090565b6111e1612896565b5f805f8051602061362c83398151915254604080516376b707b760e01b815290516001600160a01b03909216916376b707b7916004808201926020929091908290030181865afa15801561243a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061245e919061326a565b90506124726001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa1580156124c1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f309190613285565b604080516001600160a01b038086168252831660208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f8051602061360c833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612580573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125a4919061307c565b6001600160a01b0386165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810184905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af415801561262a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061264e919061307c565b6001600160a01b03949094165f9081526002919091016020526040902080546001600160601b0319166001600160601b0390941693909317909255505050565b5f8051602061360c83398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906126cc9085908590600401613562565b5f604051808303815f87803b1580156126e3575f80fd5b505af1158015611a29573d5f803e3d5ffd5b6126fd6110cc565b6001600160a01b0316336001600160a01b0316146127305760405163086391f760e31b815233600482015260240161068e565b61273a600b6123e4565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b15801561277c575f80fd5b505af1158015610b6e573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516127fc9190613588565b5f60405180830381855afa9150503d805f8114612834576040519150601f19603f3d011682016040523d82523d5f602084013e612839565b606091505b5091509150811561288b57604081511061286b5780806020019051810190612861919061359e565b909450925061288b565b602081511061288b57808060200190518101906128889190613056565b93505b505094509492505050565b61289e612995565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060a00160405280825f0180546128db90613097565b80601f016020809104026020016040519081016040528092919081815260200182805461290790613097565b80156129525780601f1061292957610100808354040283529160200191612952565b820191905f5260205f20905b81548152906001019060200180831161293557829003601f168201915b505050918352505060018301546001600160a01b0390811660208301525f6040830152600284015416606082015260038301805460809092019161089a90613097565b6040518060a00160405280606081526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f602082840312156129ec575f80fd5b81356001600160e01b031981168114610f30575f80fd5b6001600160601b038116811461154f575f80fd5b5f8060408385031215612a28575f80fd5b8235612a3381612a03565b91506020830135612a4381612a03565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612ac4608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612b08610100840182612a4e565b949350505050565b602081525f6115786020830184612a4e565b5f60208284031215612b32575f80fd5b8135610f3081612a03565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612b7357612b73612b3d565b60405290565b60405160a081016001600160401b0381118282101715612b7357612b73612b3d565b604051601f8201601f191681016001600160401b0381118282101715612bc357612bc3612b3d565b604052919050565b5f6001600160401b03821115612be357612be3612b3d565b50601f01601f191660200190565b5f82601f830112612c00575f80fd5b8135602083015f612c18612c1384612bcb565b612b9b565b9050828152858383011115612c2b575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff8116811461154f575f80fd5b80356109a181612c45565b801515811461154f575f80fd5b80356109a181612c61565b5f805f805f805f805f6101208a8c031215612c92575f80fd5b89356001600160401b03811115612ca7575f80fd5b612cb38c828d01612bf1565b99505060208a0135975060408a0135965060608a0135955060808a0135612cd981612c45565b9450612ce760a08b01612c56565b9350612cf560c08b01612c6e565b9250612d0360e08b01612c6e565b91506101008a01356001600160401b03811115612d1e575f80fd5b612d2a8c828d01612bf1565b9150509295985092959850929598565b6001600160c01b03198116811461154f575f80fd5b5f805f60608486031215612d61575f80fd5b8335612d6c81612a03565b92506020840135612d7c81612d3a565b915060408401356001600160401b03811115612d96575f80fd5b612da286828701612bf1565b9150509250925092565b6001600160a01b038116811461154f575f80fd5b5f8060408385031215612dd1575f80fd5b8235612a3381612dac565b5f805f805f60a08688031215612df0575f80fd5b85356001600160401b03811115612e05575f80fd5b612e1188828901612bf1565b955050602086013593506040860135612e2981612c45565b9250606086013564ffffffffff81168114612e42575f80fd5b915060808601356001600160401b03811115612e5c575f80fd5b612e6888828901612bf1565b9150509295509295909350565b5f805f60608486031215612e87575f80fd5b8335612d6c81612dac565b5f60208284031215612ea2575f80fd5b81356001600160401b03811115612eb7575f80fd5b612b0884828501612bf1565b5f60208284031215612ed3575f80fd5b8135610f3081612dac565b602081525f825160a06020840152612ef960c0840182612a4e565b60208501516001600160a01b03908116604086810191909152860151811660608087019190915286015116608080860191909152850151848203601f190160a0860152909150612f498282612a4e565b95945050505050565b5f805f8060808587031215612f65575f80fd5b8435612f7081612dac565b93506020850135612f8081612dac565b9250604085013591506060850135612f9781612dac565b939692955090935050565b5f60408284031215612fb2575f80fd5b604080519081016001600160401b0381118282101715612fd457612fd4612b3d565b604052823581526020928301359281019290925250919050565b5f8060808385031215612fff575f80fd5b6130098484612fa2565b91506130188460408501612fa2565b90509250929050565b5f8060408385031215613032575f80fd5b823561303d81612d3a565b946020939093013593505050565b80516109a181612c61565b5f60208284031215613066575f80fd5b8151610f3081612c61565b80516109a181612a03565b5f6020828403121561308c575f80fd5b8151610f3081612a03565b600181811c908216806130ab57607f821691505b6020821081036130c957634e487b7160e01b5f52602260045260245ffd5b50919050565b5f602082840312156130df575f80fd5b5051919050565b60ff8116811461154f575f80fd5b80516109a1816130e6565b80516109a181612dac565b5f613117612c1384612bcb565b905082815283838301111561312a575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f83011261314f575f80fd5b6115788383516020850161310a565b5f6020828403121561316e575f80fd5b81516001600160401b03811115613183575f80fd5b820160e08185031215613194575f80fd5b61319c612b51565b6131a582613071565b81526131b360208301613071565b60208201526131c4604083016130f4565b60408201526131d56060830161304b565b60608201526131e6608083016130ff565b60808201526131f760a083016130ff565b60a082015260c08201516001600160401b03811115613214575f80fd5b61322086828501613140565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610f2d6040830184612a4e565b5f6020828403121561325f575f80fd5b8151610f3081612d3a565b5f6020828403121561327a575f80fd5b8151610f30816130e6565b5f60208284031215613295575f80fd5b8151610f3081612dac565b808202811582820484141761157b57634e487b7160e01b5f52601160045260245ffd5b5f80604083850312156132d4575f80fd5b82516020840151909250612a43816130e6565b5f80858511156132f5575f80fd5b83861115613301575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561333f576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f61339961012083018c612a4e565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e08401528281036101008401526133e68185612a4e565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f61341760c0830188612a4e565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a08401526134488185612a4e565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90612f4990830184612a4e565b5f60208284031215613498575f80fd5b81516001600160401b038111156134ad575f80fd5b820160a081850312156134be575f80fd5b6134c6612b79565b81516001600160401b038111156134db575f80fd5b8201601f810186136134eb575f80fd5b6134fa8682516020840161310a565b825250613509602083016130ff565b602082015261351a604083016130ff565b604082015261352b606083016130ff565b606082015260808201516001600160401b03811115613548575f80fd5b61355486828501613140565b608083015250949350505050565b825181526020808401518183015282516040830152820151606082015260808101610f30565b5f82518060208501845e5f920191825250919050565b5f80604083850312156135af575f80fd5b82516135ba81612c61565b6020840151909250612a4381612c4556fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220811a08dac4cc01c9079be18cb86c4d7dd66b5dbe6dbefcbe4701860e302670b964736f6c634300081a0033",
1238
+ "linkReferences": {
1239
+ "contracts/type/Amount.sol": {
1240
+ "AmountLib": [
1241
+ {
1242
+ "length": 20,
1243
+ "start": 3100
1244
+ },
1245
+ {
1246
+ "length": 20,
1247
+ "start": 3201
1248
+ },
1249
+ {
1250
+ "length": 20,
1251
+ "start": 5852
1252
+ },
1253
+ {
1254
+ "length": 20,
1255
+ "start": 6108
1256
+ },
1257
+ {
1258
+ "length": 20,
1259
+ "start": 7939
1260
+ }
1261
+ ]
1262
+ },
1263
+ "contracts/type/NftId.sol": {
1264
+ "NftIdLib": [
1265
+ {
1266
+ "length": 20,
1267
+ "start": 2024
1268
+ },
1269
+ {
1270
+ "length": 20,
1271
+ "start": 2670
1272
+ },
1273
+ {
1274
+ "length": 20,
1275
+ "start": 4380
1276
+ },
1277
+ {
1278
+ "length": 20,
1279
+ "start": 4738
1280
+ },
1281
+ {
1282
+ "length": 20,
1283
+ "start": 7108
1284
+ },
1285
+ {
1286
+ "length": 20,
1287
+ "start": 8318
1288
+ },
1289
+ {
1290
+ "length": 20,
1291
+ "start": 8925
1292
+ },
1293
+ {
1294
+ "length": 20,
1295
+ "start": 9559
1296
+ },
1297
+ {
1298
+ "length": 20,
1299
+ "start": 9742
1300
+ }
1301
+ ]
1302
+ },
1303
+ "contracts/type/Referral.sol": {
1304
+ "ReferralLib": [
1305
+ {
1306
+ "length": 20,
1307
+ "start": 3953
1308
+ }
1309
+ ]
1310
+ },
1311
+ "contracts/type/Version.sol": {
1312
+ "VersionPartLib": [
1313
+ {
1314
+ "length": 20,
1315
+ "start": 4102
1316
+ }
1317
+ ]
1318
+ }
1319
+ },
1320
+ "deployedLinkReferences": {
1321
+ "contracts/type/Amount.sol": {
1322
+ "AmountLib": [
1323
+ {
1324
+ "length": 20,
1325
+ "start": 3072
1326
+ },
1327
+ {
1328
+ "length": 20,
1329
+ "start": 3173
1330
+ },
1331
+ {
1332
+ "length": 20,
1333
+ "start": 5824
1334
+ },
1335
+ {
1336
+ "length": 20,
1337
+ "start": 6080
1338
+ },
1339
+ {
1340
+ "length": 20,
1341
+ "start": 7911
1342
+ }
1343
+ ]
1344
+ },
1345
+ "contracts/type/NftId.sol": {
1346
+ "NftIdLib": [
1347
+ {
1348
+ "length": 20,
1349
+ "start": 1996
1350
+ },
1351
+ {
1352
+ "length": 20,
1353
+ "start": 2642
1354
+ },
1355
+ {
1356
+ "length": 20,
1357
+ "start": 4352
1358
+ },
1359
+ {
1360
+ "length": 20,
1361
+ "start": 4710
1362
+ },
1363
+ {
1364
+ "length": 20,
1365
+ "start": 7080
1366
+ },
1367
+ {
1368
+ "length": 20,
1369
+ "start": 8290
1370
+ },
1371
+ {
1372
+ "length": 20,
1373
+ "start": 8897
1374
+ },
1375
+ {
1376
+ "length": 20,
1377
+ "start": 9531
1378
+ },
1379
+ {
1380
+ "length": 20,
1381
+ "start": 9714
1382
+ }
1383
+ ]
1384
+ },
1385
+ "contracts/type/Referral.sol": {
1386
+ "ReferralLib": [
1387
+ {
1388
+ "length": 20,
1389
+ "start": 3925
1390
+ }
1391
+ ]
1392
+ },
1393
+ "contracts/type/Version.sol": {
1394
+ "VersionPartLib": [
1395
+ {
1396
+ "length": 20,
1397
+ "start": 4074
1398
+ }
1399
+ ]
1400
+ }
1401
+ }
1402
+ }