@etherisc/gif-next 0.0.2-d086e6d-456 → 0.0.2-d13bb9e-069

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