@etherisc/gif-next 0.0.2-bdb6804-509 → 0.0.2-bdbfee9-660

Sign up to get free protection for your applications and to get access to all the features.
Files changed (736) hide show
  1. package/README.md +130 -10
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1056 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +771 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +824 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1225 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/{components/IDistributionComponent.sol/IDistributionComponent.json → distribution/Distribution.sol/Distribution.json} +285 -324
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1675 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +931 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → distribution/IDistributionComponent.sol/IDistributionComponent.json} +274 -275
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +368 -129
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1461 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2026 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1404 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1628 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2452 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +651 -97
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +445 -99
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +651 -221
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2349 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1977 -620
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +461 -279
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +195 -115
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1962 -855
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -54
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  103. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  105. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  106. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  107. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +938 -0
  109. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  111. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  113. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +753 -0
  115. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  116. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → oracle/IOracleService.sol/IOracleService.json} +311 -174
  117. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  118. package/artifacts/contracts/{components/Component.sol/Component.json → oracle/Oracle.sol/Oracle.json} +253 -241
  119. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1023 -0
  121. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +791 -0
  123. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  124. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +320 -465
  125. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  127. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1303 -0
  129. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +851 -0
  131. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  132. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → pool/IBundleService.sol/IBundleService.json} +373 -327
  133. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +886 -0
  135. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1251 -0
  137. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  138. package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → pool/Pool.sol/Pool.json} +368 -426
  139. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +546 -0
  141. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1635 -0
  143. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +847 -0
  145. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +881 -0
  147. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +771 -0
  149. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  150. package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +455 -482
  151. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  153. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1533 -0
  155. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +875 -0
  157. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  158. package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → product/IApplicationService.sol/IApplicationService.json} +191 -201
  159. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1085 -0
  161. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1017 -0
  163. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  164. package/artifacts/contracts/{instance/service → product}/IPricingService.sol/IPricingService.json +205 -90
  165. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +997 -0
  167. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  168. package/artifacts/contracts/{instance/service/IApplicationService.sol/IApplicationService.json → product/IRiskService.sol/IRiskService.json} +130 -115
  169. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1385 -0
  171. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  173. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +835 -0
  175. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.json +913 -0
  177. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +795 -0
  179. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  180. package/artifacts/contracts/product/Product.sol/Product.json +1098 -0
  181. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.json +698 -0
  183. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +755 -0
  185. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  187. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +494 -29
  189. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +296 -109
  191. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  192. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  193. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  195. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  196. package/artifacts/contracts/registry/Registry.sol/Registry.json +993 -137
  197. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2147 -0
  199. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  200. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
  201. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  202. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +371 -250
  203. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  204. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +193 -109
  205. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  206. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  207. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  208. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  209. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  210. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  211. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  212. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  213. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  214. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +317 -154
  215. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  216. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/Component.sol/Component.json} +259 -212
  217. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  218. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1497 -0
  219. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  220. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +835 -0
  221. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  229. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  230. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +137 -131
  231. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  232. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/IComponentService.sol/IComponentService.json} +571 -763
  233. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +688 -0
  235. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  236. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
  237. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  238. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  239. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +19 -10
  241. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +59 -13
  243. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +144 -3
  245. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  246. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  247. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  248. package/artifacts/contracts/shared/IService.sol/IService.json +79 -5
  249. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  251. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +776 -0
  253. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  255. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  257. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  258. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  259. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +28 -70
  261. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +35 -85
  263. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +126 -100
  265. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -28
  267. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  268. package/artifacts/contracts/shared/Service.sol/Service.json +76 -109
  269. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  273. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  275. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1627 -0
  277. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1177 -0
  279. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  280. package/artifacts/contracts/staking/Staking.sol/Staking.json +2035 -0
  281. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  282. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  283. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  284. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  285. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +823 -0
  287. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +616 -0
  289. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1406 -0
  291. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +763 -0
  293. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  295. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  297. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  298. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  299. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  300. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  301. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  302. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  303. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  305. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  307. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  309. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  311. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  313. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  315. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  317. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  319. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  321. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  323. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  325. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  327. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  329. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +265 -0
  331. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  333. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  335. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  337. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  338. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  339. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  340. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  341. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  343. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  344. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  345. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  347. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  348. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
  349. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +637 -0
  351. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  353. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  354. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -1
  355. package/contracts/accounting/AccountingService.sol +274 -0
  356. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  357. package/contracts/accounting/IAccountingService.sol +47 -0
  358. package/contracts/authorization/AccessAdmin.sol +780 -0
  359. package/contracts/authorization/AccessAdminLib.sol +396 -0
  360. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  361. package/contracts/authorization/Authorization.sol +172 -0
  362. package/contracts/authorization/IAccess.sol +67 -0
  363. package/contracts/authorization/IAccessAdmin.sol +144 -0
  364. package/contracts/authorization/IAuthorization.sol +27 -0
  365. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  366. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  367. package/contracts/distribution/BasicDistribution.sol +141 -0
  368. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  369. package/contracts/distribution/Distribution.sol +247 -0
  370. package/contracts/distribution/DistributionService.sol +435 -0
  371. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  372. package/contracts/distribution/IDistributionComponent.sol +45 -0
  373. package/contracts/distribution/IDistributionService.sol +109 -0
  374. package/contracts/examples/fire/DamageLevel.sol +59 -0
  375. package/contracts/examples/fire/FirePool.sol +86 -0
  376. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  377. package/contracts/examples/fire/FireProduct.sol +433 -0
  378. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  379. package/contracts/examples/fire/FireUSD.sol +26 -0
  380. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  381. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  382. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  383. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  384. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  385. package/contracts/examples/unpermissioned/SimpleProduct.sol +385 -0
  386. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  387. package/contracts/instance/BundleSet.sol +130 -0
  388. package/contracts/instance/IInstance.sol +124 -39
  389. package/contracts/instance/IInstanceService.sol +79 -50
  390. package/contracts/instance/Instance.sol +258 -111
  391. package/contracts/instance/InstanceAdmin.sol +383 -0
  392. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  393. package/contracts/instance/InstanceReader.sol +530 -191
  394. package/contracts/instance/InstanceService.sol +403 -211
  395. package/contracts/instance/InstanceServiceManager.sol +14 -29
  396. package/contracts/instance/InstanceStore.sol +174 -95
  397. package/contracts/instance/RiskSet.sol +118 -0
  398. package/contracts/instance/base/BalanceStore.sol +121 -0
  399. package/contracts/instance/base/Cloneable.sol +28 -0
  400. package/contracts/instance/base/ObjectCounter.sol +20 -0
  401. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  402. package/contracts/instance/base/ObjectSet.sol +77 -0
  403. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  404. package/contracts/instance/module/IBundle.sol +9 -11
  405. package/contracts/instance/module/IComponents.sol +44 -23
  406. package/contracts/instance/module/IDistribution.sol +25 -12
  407. package/contracts/instance/module/IPolicy.sol +71 -38
  408. package/contracts/instance/module/IRisk.sol +6 -1
  409. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  410. package/contracts/oracle/BasicOracle.sol +45 -0
  411. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  412. package/contracts/oracle/IOracle.sol +41 -0
  413. package/contracts/oracle/IOracleComponent.sol +33 -0
  414. package/contracts/oracle/IOracleService.sol +66 -0
  415. package/contracts/oracle/Oracle.sol +154 -0
  416. package/contracts/oracle/OracleService.sol +310 -0
  417. package/contracts/oracle/OracleServiceManager.sol +39 -0
  418. package/contracts/pool/BasicPool.sol +173 -0
  419. package/contracts/pool/BasicPoolAuthorization.sol +82 -0
  420. package/contracts/pool/BundleService.sol +394 -0
  421. package/contracts/pool/BundleServiceManager.sol +39 -0
  422. package/contracts/{instance/service → pool}/IBundleService.sol +52 -30
  423. package/contracts/pool/IPoolComponent.sol +62 -0
  424. package/contracts/pool/IPoolService.sol +164 -0
  425. package/contracts/pool/Pool.sol +343 -0
  426. package/contracts/pool/PoolLib.sol +359 -0
  427. package/contracts/pool/PoolService.sol +593 -0
  428. package/contracts/pool/PoolServiceManager.sol +39 -0
  429. package/contracts/product/ApplicationService.sol +299 -0
  430. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
  431. package/contracts/product/BasicProduct.sol +49 -0
  432. package/contracts/product/BasicProductAuthorization.sol +63 -0
  433. package/contracts/product/ClaimService.sol +639 -0
  434. package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
  435. package/contracts/{instance/service → product}/IApplicationService.sol +22 -17
  436. package/contracts/product/IClaimService.sol +135 -0
  437. package/contracts/product/IPolicyService.sol +102 -0
  438. package/contracts/product/IPricingService.sol +40 -0
  439. package/contracts/product/IProductComponent.sol +62 -0
  440. package/contracts/product/IRiskService.sol +33 -0
  441. package/contracts/product/PolicyService.sol +645 -0
  442. package/contracts/product/PolicyServiceLib.sol +139 -0
  443. package/contracts/product/PolicyServiceManager.sol +39 -0
  444. package/contracts/product/PricingService.sol +306 -0
  445. package/contracts/product/PricingServiceManager.sol +39 -0
  446. package/contracts/product/Product.sol +472 -0
  447. package/contracts/product/RiskService.sol +157 -0
  448. package/contracts/product/RiskServiceManager.sol +39 -0
  449. package/contracts/registry/ChainNft.sol +79 -40
  450. package/contracts/registry/IRegistry.sol +103 -29
  451. package/contracts/registry/IRegistryService.sol +34 -40
  452. package/contracts/registry/IRelease.sol +29 -0
  453. package/contracts/registry/ITransferInterceptor.sol +1 -2
  454. package/contracts/registry/Registry.sol +465 -196
  455. package/contracts/registry/RegistryAdmin.sol +188 -0
  456. package/contracts/registry/RegistryAuthorization.sol +284 -0
  457. package/contracts/registry/RegistryService.sol +90 -135
  458. package/contracts/registry/RegistryServiceManager.sol +23 -32
  459. package/contracts/registry/ReleaseAdmin.sol +195 -0
  460. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  461. package/contracts/registry/ReleaseRegistry.sol +520 -0
  462. package/contracts/registry/ServiceAuthorizationV3.sol +345 -0
  463. package/contracts/registry/TokenRegistry.sol +263 -65
  464. package/contracts/shared/Component.sol +210 -0
  465. package/contracts/shared/ComponentService.sol +678 -0
  466. package/contracts/shared/ComponentServiceManager.sol +38 -0
  467. package/contracts/shared/ContractLib.sol +311 -0
  468. package/contracts/shared/IComponent.sol +58 -0
  469. package/contracts/shared/IComponentService.sol +110 -0
  470. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  471. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  472. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  473. package/contracts/shared/INftOwnable.sol +4 -2
  474. package/contracts/shared/IPolicyHolder.sol +23 -14
  475. package/contracts/shared/IRegisterable.sol +22 -1
  476. package/contracts/shared/IRegistryLinked.sol +0 -1
  477. package/contracts/shared/IService.sol +12 -5
  478. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +12 -4
  479. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  480. package/contracts/shared/KeyValueStore.sol +131 -0
  481. package/contracts/shared/Lifecycle.sol +88 -0
  482. package/contracts/shared/NftIdSet.sol +65 -0
  483. package/contracts/shared/NftOwnable.sol +34 -27
  484. package/contracts/shared/PolicyHolder.sol +23 -41
  485. package/contracts/shared/Registerable.sol +52 -20
  486. package/contracts/shared/RegistryLinked.sol +9 -19
  487. package/contracts/shared/Service.sol +36 -41
  488. package/contracts/shared/TokenHandler.sol +322 -13
  489. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  490. package/contracts/staking/IStaking.sol +195 -0
  491. package/contracts/staking/IStakingService.sol +170 -0
  492. package/contracts/staking/Staking.sol +605 -0
  493. package/contracts/staking/StakingLib.sol +281 -0
  494. package/contracts/staking/StakingLifecycle.sol +23 -0
  495. package/contracts/staking/StakingManager.sol +52 -0
  496. package/contracts/staking/StakingReader.sol +199 -0
  497. package/contracts/staking/StakingService.sol +468 -0
  498. package/contracts/staking/StakingServiceManager.sol +45 -0
  499. package/contracts/staking/StakingStore.sol +606 -0
  500. package/contracts/staking/TargetManagerLib.sol +211 -0
  501. package/contracts/{types → type}/AddressSet.sol +1 -1
  502. package/contracts/type/Amount.sol +150 -0
  503. package/contracts/{types → type}/Blocknumber.sol +26 -3
  504. package/contracts/{types → type}/ClaimId.sol +31 -3
  505. package/contracts/{types → type}/Fee.sol +28 -26
  506. package/contracts/{types → type}/Key32.sol +2 -2
  507. package/contracts/type/Key32Set.sol +62 -0
  508. package/contracts/{types → type}/NftId.sol +21 -16
  509. package/contracts/{types → type}/NftIdSet.sol +2 -2
  510. package/contracts/type/ObjectType.sol +307 -0
  511. package/contracts/type/PayoutId.sol +82 -0
  512. package/contracts/{types → type}/Referral.sol +2 -1
  513. package/contracts/type/RequestId.sol +75 -0
  514. package/contracts/type/RiskId.sol +75 -0
  515. package/contracts/type/RoleId.sol +180 -0
  516. package/contracts/type/Seconds.sol +105 -0
  517. package/contracts/type/Selector.sol +107 -0
  518. package/contracts/{types → type}/StateId.sol +47 -4
  519. package/contracts/type/String.sol +65 -0
  520. package/contracts/{types → type}/Timestamp.sol +20 -6
  521. package/contracts/type/UFixed.sol +262 -0
  522. package/contracts/{types → type}/Version.sol +58 -7
  523. package/contracts/{shared → upgradeability}/IVersionable.sol +4 -1
  524. package/contracts/{shared → upgradeability}/ProxyManager.sol +118 -41
  525. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +8 -4
  526. package/contracts/{shared → upgradeability}/Versionable.sol +9 -6
  527. package/package.json +12 -8
  528. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  529. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  530. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  531. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  532. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  533. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  534. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  535. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  536. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  537. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  538. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  539. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  540. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  541. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  542. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  543. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  544. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -124
  545. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  546. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
  547. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  548. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  549. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  550. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  551. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  552. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  553. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  554. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  555. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -237
  556. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  557. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  558. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  559. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  560. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -860
  561. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  562. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -641
  563. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  564. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1263
  565. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  566. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -721
  567. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  568. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -849
  569. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  570. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -641
  571. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  572. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1539
  573. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  574. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -769
  575. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  576. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  577. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  578. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +0 -475
  579. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  580. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  581. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  582. package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +0 -4
  583. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  584. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +0 -450
  585. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  586. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1124
  587. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  588. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -697
  589. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  590. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1269
  591. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  592. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -661
  593. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +0 -4
  594. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +0 -988
  595. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +0 -4
  596. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +0 -689
  597. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  598. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -872
  599. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  600. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -653
  601. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  602. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  603. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  604. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -559
  605. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  606. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  607. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  608. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  609. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  610. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  611. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
  612. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  613. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  614. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  615. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  616. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  617. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  618. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  619. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  620. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  621. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  622. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -596
  623. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  624. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  625. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  626. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  627. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  628. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  629. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  630. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  631. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  632. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  633. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
  634. package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -161
  635. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  636. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  637. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  638. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  639. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  640. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  641. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  642. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  643. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  644. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
  645. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  646. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  647. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  648. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  649. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  650. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  651. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  652. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  653. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  654. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  655. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  656. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  657. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  658. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
  659. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  660. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  661. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  662. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  663. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  664. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  665. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  666. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  667. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  668. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -267
  669. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  670. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  671. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  672. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  673. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  674. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  675. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  676. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  677. package/contracts/components/Component.sol +0 -253
  678. package/contracts/components/Distribution.sol +0 -280
  679. package/contracts/components/IComponent.sol +0 -76
  680. package/contracts/components/IDistributionComponent.sol +0 -71
  681. package/contracts/components/IPoolComponent.sol +0 -113
  682. package/contracts/components/IProductComponent.sol +0 -40
  683. package/contracts/components/Pool.sol +0 -303
  684. package/contracts/components/Product.sol +0 -296
  685. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
  686. package/contracts/instance/BundleManager.sol +0 -127
  687. package/contracts/instance/Cloneable.sol +0 -51
  688. package/contracts/instance/InstanceAccessManager.sol +0 -540
  689. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -299
  690. package/contracts/instance/ObjectManager.sol +0 -82
  691. package/contracts/instance/base/ComponentService.sol +0 -147
  692. package/contracts/instance/base/KeyValueStore.sol +0 -180
  693. package/contracts/instance/base/Lifecycle.sol +0 -109
  694. package/contracts/instance/module/IAccess.sol +0 -54
  695. package/contracts/instance/module/ISetup.sol +0 -33
  696. package/contracts/instance/module/ITreasury.sol +0 -23
  697. package/contracts/instance/service/ApplicationService.sol +0 -183
  698. package/contracts/instance/service/BundleService.sol +0 -431
  699. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  700. package/contracts/instance/service/ClaimService.sol +0 -145
  701. package/contracts/instance/service/DistributionService.sol +0 -346
  702. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  703. package/contracts/instance/service/IClaimService.sol +0 -61
  704. package/contracts/instance/service/IDistributionService.sol +0 -85
  705. package/contracts/instance/service/IPolicyService.sol +0 -72
  706. package/contracts/instance/service/IPoolService.sol +0 -99
  707. package/contracts/instance/service/IPricingService.sol +0 -36
  708. package/contracts/instance/service/IProductService.sol +0 -40
  709. package/contracts/instance/service/PolicyService.sol +0 -366
  710. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  711. package/contracts/instance/service/PoolService.sol +0 -303
  712. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  713. package/contracts/instance/service/PricingService.sol +0 -275
  714. package/contracts/instance/service/PricingServiceManager.sol +0 -51
  715. package/contracts/instance/service/ProductService.sol +0 -210
  716. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  717. package/contracts/registry/RegistryAccessManager.sol +0 -216
  718. package/contracts/registry/ReleaseManager.sol +0 -324
  719. package/contracts/shared/ContractDeployerLib.sol +0 -72
  720. package/contracts/test/TestFee.sol +0 -25
  721. package/contracts/test/TestRegisterable.sol +0 -18
  722. package/contracts/test/TestRoleId.sol +0 -14
  723. package/contracts/test/TestService.sol +0 -25
  724. package/contracts/test/TestToken.sol +0 -26
  725. package/contracts/test/TestVersion.sol +0 -44
  726. package/contracts/test/TestVersionable.sol +0 -17
  727. package/contracts/types/Amount.sol +0 -60
  728. package/contracts/types/ChainId.sol +0 -38
  729. package/contracts/types/NumberId.sol +0 -52
  730. package/contracts/types/ObjectType.sol +0 -161
  731. package/contracts/types/PayoutId.sol +0 -54
  732. package/contracts/types/RiskId.sol +0 -43
  733. package/contracts/types/RoleId.sol +0 -97
  734. package/contracts/types/Seconds.sol +0 -54
  735. package/contracts/types/UFixed.sol +0 -326
  736. /package/contracts/{types → type}/DistributorType.sol +0 -0
@@ -0,0 +1,1675 @@
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": "address",
48
+ "name": "authority",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorAuthorityInvalid",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "caller",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "name": "ErrorDistributionServiceCallerNotDistributor",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
68
+ {
69
+ "internalType": "address",
70
+ "name": "caller",
71
+ "type": "address"
72
+ }
73
+ ],
74
+ "name": "ErrorDistributionServiceCallerNotRegistered",
75
+ "type": "error"
76
+ },
77
+ {
78
+ "inputs": [
79
+ {
80
+ "internalType": "uint256",
81
+ "name": "commissionPercentage",
82
+ "type": "uint256"
83
+ },
84
+ {
85
+ "internalType": "uint256",
86
+ "name": "maxCommissionPercentage",
87
+ "type": "uint256"
88
+ }
89
+ ],
90
+ "name": "ErrorDistributionServiceCommissionTooHigh",
91
+ "type": "error"
92
+ },
93
+ {
94
+ "inputs": [
95
+ {
96
+ "internalType": "Amount",
97
+ "name": "amount",
98
+ "type": "uint96"
99
+ },
100
+ {
101
+ "internalType": "Amount",
102
+ "name": "limit",
103
+ "type": "uint96"
104
+ }
105
+ ],
106
+ "name": "ErrorDistributionServiceCommissionWithdrawAmountExceedsLimit",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [
111
+ {
112
+ "internalType": "uint256",
113
+ "name": "maxDiscountPercentage",
114
+ "type": "uint256"
115
+ },
116
+ {
117
+ "internalType": "uint256",
118
+ "name": "discountPercentage",
119
+ "type": "uint256"
120
+ }
121
+ ],
122
+ "name": "ErrorDistributionServiceDiscountTooHigh",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [
127
+ {
128
+ "internalType": "uint256",
129
+ "name": "minDiscountPercentage",
130
+ "type": "uint256"
131
+ },
132
+ {
133
+ "internalType": "uint256",
134
+ "name": "discountPercentage",
135
+ "type": "uint256"
136
+ }
137
+ ],
138
+ "name": "ErrorDistributionServiceDiscountTooLow",
139
+ "type": "error"
140
+ },
141
+ {
142
+ "inputs": [
143
+ {
144
+ "internalType": "NftId",
145
+ "name": "distributorNftId",
146
+ "type": "uint96"
147
+ },
148
+ {
149
+ "internalType": "NftId",
150
+ "name": "distributorDistributionNftId",
151
+ "type": "uint96"
152
+ },
153
+ {
154
+ "internalType": "NftId",
155
+ "name": "distributionNftId",
156
+ "type": "uint96"
157
+ }
158
+ ],
159
+ "name": "ErrorDistributionServiceDistributorDistributionMismatch",
160
+ "type": "error"
161
+ },
162
+ {
163
+ "inputs": [
164
+ {
165
+ "internalType": "DistributorType",
166
+ "name": "distributorType",
167
+ "type": "bytes8"
168
+ },
169
+ {
170
+ "internalType": "NftId",
171
+ "name": "distributorTypeDistributionNftId",
172
+ "type": "uint96"
173
+ },
174
+ {
175
+ "internalType": "NftId",
176
+ "name": "distributionNftId",
177
+ "type": "uint96"
178
+ }
179
+ ],
180
+ "name": "ErrorDistributionServiceDistributorTypeDistributionMismatch",
181
+ "type": "error"
182
+ },
183
+ {
184
+ "inputs": [
185
+ {
186
+ "internalType": "Timestamp",
187
+ "name": "expiryAt",
188
+ "type": "uint40"
189
+ }
190
+ ],
191
+ "name": "ErrorDistributionServiceExpirationInvalid",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [
196
+ {
197
+ "internalType": "Seconds",
198
+ "name": "maxReferralLifetime",
199
+ "type": "uint40"
200
+ },
201
+ {
202
+ "internalType": "Timestamp",
203
+ "name": "expiryAt",
204
+ "type": "uint40"
205
+ }
206
+ ],
207
+ "name": "ErrorDistributionServiceExpiryTooLong",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [
212
+ {
213
+ "internalType": "Amount",
214
+ "name": "transferredDistributionFeeAmount",
215
+ "type": "uint96"
216
+ },
217
+ {
218
+ "internalType": "Amount",
219
+ "name": "expectedDistributionFeeAmount",
220
+ "type": "uint96"
221
+ }
222
+ ],
223
+ "name": "ErrorDistributionServiceInvalidFeeTransferred",
224
+ "type": "error"
225
+ },
226
+ {
227
+ "inputs": [
228
+ {
229
+ "internalType": "string",
230
+ "name": "code",
231
+ "type": "string"
232
+ }
233
+ ],
234
+ "name": "ErrorDistributionServiceInvalidReferral",
235
+ "type": "error"
236
+ },
237
+ {
238
+ "inputs": [
239
+ {
240
+ "internalType": "ReferralId",
241
+ "name": "referralId",
242
+ "type": "bytes8"
243
+ }
244
+ ],
245
+ "name": "ErrorDistributionServiceInvalidReferralId",
246
+ "type": "error"
247
+ },
248
+ {
249
+ "inputs": [
250
+ {
251
+ "internalType": "uint256",
252
+ "name": "maxDiscountPercentage",
253
+ "type": "uint256"
254
+ },
255
+ {
256
+ "internalType": "uint256",
257
+ "name": "limit",
258
+ "type": "uint256"
259
+ }
260
+ ],
261
+ "name": "ErrorDistributionServiceMaxDiscountTooHigh",
262
+ "type": "error"
263
+ },
264
+ {
265
+ "inputs": [
266
+ {
267
+ "internalType": "uint256",
268
+ "name": "maxReferrals",
269
+ "type": "uint256"
270
+ }
271
+ ],
272
+ "name": "ErrorDistributionServiceMaxReferralsExceeded",
273
+ "type": "error"
274
+ },
275
+ {
276
+ "inputs": [
277
+ {
278
+ "internalType": "uint256",
279
+ "name": "minFee",
280
+ "type": "uint256"
281
+ },
282
+ {
283
+ "internalType": "uint256",
284
+ "name": "limit",
285
+ "type": "uint256"
286
+ }
287
+ ],
288
+ "name": "ErrorDistributionServiceMinFeeTooHigh",
289
+ "type": "error"
290
+ },
291
+ {
292
+ "inputs": [
293
+ {
294
+ "internalType": "NftId",
295
+ "name": "nftId",
296
+ "type": "uint96"
297
+ },
298
+ {
299
+ "internalType": "NftId",
300
+ "name": "parentNftId",
301
+ "type": "uint96"
302
+ }
303
+ ],
304
+ "name": "ErrorDistributionServiceParentNftIdNotInstance",
305
+ "type": "error"
306
+ },
307
+ {
308
+ "inputs": [
309
+ {
310
+ "internalType": "ReferralId",
311
+ "name": "referralId",
312
+ "type": "bytes8"
313
+ },
314
+ {
315
+ "internalType": "NftId",
316
+ "name": "referralDistributionNft",
317
+ "type": "uint96"
318
+ },
319
+ {
320
+ "internalType": "NftId",
321
+ "name": "distributionNftId",
322
+ "type": "uint96"
323
+ }
324
+ ],
325
+ "name": "ErrorDistributionServiceReferralDistributionMismatch",
326
+ "type": "error"
327
+ },
328
+ {
329
+ "inputs": [
330
+ {
331
+ "internalType": "NftId",
332
+ "name": "distributionNftId",
333
+ "type": "uint96"
334
+ },
335
+ {
336
+ "internalType": "ReferralId",
337
+ "name": "referralId",
338
+ "type": "bytes8"
339
+ }
340
+ ],
341
+ "name": "ErrorDistributionServiceReferralInvalid",
342
+ "type": "error"
343
+ },
344
+ {
345
+ "inputs": [
346
+ {
347
+ "internalType": "uint256",
348
+ "name": "maxDiscountPercentage",
349
+ "type": "uint256"
350
+ },
351
+ {
352
+ "internalType": "uint256",
353
+ "name": "limit",
354
+ "type": "uint256"
355
+ }
356
+ ],
357
+ "name": "ErrorDistributionServiceVariableFeesTooHight",
358
+ "type": "error"
359
+ },
360
+ {
361
+ "inputs": [
362
+ {
363
+ "internalType": "NftId",
364
+ "name": "nftId",
365
+ "type": "uint96"
366
+ }
367
+ ],
368
+ "name": "ErrorNftOwnableAlreadyLinked",
369
+ "type": "error"
370
+ },
371
+ {
372
+ "inputs": [
373
+ {
374
+ "internalType": "address",
375
+ "name": "contractAddress",
376
+ "type": "address"
377
+ }
378
+ ],
379
+ "name": "ErrorNftOwnableContractNotRegistered",
380
+ "type": "error"
381
+ },
382
+ {
383
+ "inputs": [],
384
+ "name": "ErrorNftOwnableInitialOwnerZero",
385
+ "type": "error"
386
+ },
387
+ {
388
+ "inputs": [
389
+ {
390
+ "internalType": "NftId",
391
+ "name": "nftId",
392
+ "type": "uint96"
393
+ },
394
+ {
395
+ "internalType": "ObjectType",
396
+ "name": "expectedObjectType",
397
+ "type": "uint8"
398
+ }
399
+ ],
400
+ "name": "ErrorNftOwnableInvalidType",
401
+ "type": "error"
402
+ },
403
+ {
404
+ "inputs": [
405
+ {
406
+ "internalType": "address",
407
+ "name": "account",
408
+ "type": "address"
409
+ }
410
+ ],
411
+ "name": "ErrorNftOwnableNotOwner",
412
+ "type": "error"
413
+ },
414
+ {
415
+ "inputs": [
416
+ {
417
+ "internalType": "address",
418
+ "name": "registryAddress",
419
+ "type": "address"
420
+ }
421
+ ],
422
+ "name": "ErrorNotRegistry",
423
+ "type": "error"
424
+ },
425
+ {
426
+ "inputs": [],
427
+ "name": "ErrorRegisterableNotActive",
428
+ "type": "error"
429
+ },
430
+ {
431
+ "inputs": [],
432
+ "name": "ErrorVersionableInitializeNotImplemented",
433
+ "type": "error"
434
+ },
435
+ {
436
+ "inputs": [],
437
+ "name": "ErrorVersionableUpgradeNotImplemented",
438
+ "type": "error"
439
+ },
440
+ {
441
+ "inputs": [],
442
+ "name": "InvalidInitialization",
443
+ "type": "error"
444
+ },
445
+ {
446
+ "inputs": [],
447
+ "name": "NotInitializing",
448
+ "type": "error"
449
+ },
450
+ {
451
+ "inputs": [],
452
+ "name": "ReentrancyGuardReentrantCall",
453
+ "type": "error"
454
+ },
455
+ {
456
+ "inputs": [],
457
+ "name": "UFixedLibNegativeResult",
458
+ "type": "error"
459
+ },
460
+ {
461
+ "anonymous": false,
462
+ "inputs": [
463
+ {
464
+ "indexed": false,
465
+ "internalType": "address",
466
+ "name": "authority",
467
+ "type": "address"
468
+ }
469
+ ],
470
+ "name": "AuthorityUpdated",
471
+ "type": "event"
472
+ },
473
+ {
474
+ "anonymous": false,
475
+ "inputs": [
476
+ {
477
+ "indexed": false,
478
+ "internalType": "uint64",
479
+ "name": "version",
480
+ "type": "uint64"
481
+ }
482
+ ],
483
+ "name": "Initialized",
484
+ "type": "event"
485
+ },
486
+ {
487
+ "anonymous": false,
488
+ "inputs": [
489
+ {
490
+ "indexed": false,
491
+ "internalType": "NftId",
492
+ "name": "distributorNftId",
493
+ "type": "uint96"
494
+ },
495
+ {
496
+ "indexed": false,
497
+ "internalType": "address",
498
+ "name": "recipient",
499
+ "type": "address"
500
+ },
501
+ {
502
+ "indexed": false,
503
+ "internalType": "address",
504
+ "name": "tokenAddress",
505
+ "type": "address"
506
+ },
507
+ {
508
+ "indexed": false,
509
+ "internalType": "Amount",
510
+ "name": "amount",
511
+ "type": "uint96"
512
+ }
513
+ ],
514
+ "name": "LogDistributionServiceCommissionWithdrawn",
515
+ "type": "event"
516
+ },
517
+ {
518
+ "inputs": [],
519
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
520
+ "outputs": [
521
+ {
522
+ "internalType": "bytes32",
523
+ "name": "",
524
+ "type": "bytes32"
525
+ }
526
+ ],
527
+ "stateMutability": "view",
528
+ "type": "function"
529
+ },
530
+ {
531
+ "inputs": [],
532
+ "name": "REGISTERABLE_LOCATION_V1",
533
+ "outputs": [
534
+ {
535
+ "internalType": "bytes32",
536
+ "name": "",
537
+ "type": "bytes32"
538
+ }
539
+ ],
540
+ "stateMutability": "view",
541
+ "type": "function"
542
+ },
543
+ {
544
+ "inputs": [],
545
+ "name": "authority",
546
+ "outputs": [
547
+ {
548
+ "internalType": "address",
549
+ "name": "",
550
+ "type": "address"
551
+ }
552
+ ],
553
+ "stateMutability": "view",
554
+ "type": "function"
555
+ },
556
+ {
557
+ "inputs": [
558
+ {
559
+ "internalType": "NftId",
560
+ "name": "distributorNftId",
561
+ "type": "uint96"
562
+ },
563
+ {
564
+ "internalType": "DistributorType",
565
+ "name": "newDistributorType",
566
+ "type": "bytes8"
567
+ },
568
+ {
569
+ "internalType": "bytes",
570
+ "name": "data",
571
+ "type": "bytes"
572
+ }
573
+ ],
574
+ "name": "changeDistributorType",
575
+ "outputs": [],
576
+ "stateMutability": "nonpayable",
577
+ "type": "function"
578
+ },
579
+ {
580
+ "inputs": [
581
+ {
582
+ "internalType": "address",
583
+ "name": "distributor",
584
+ "type": "address"
585
+ },
586
+ {
587
+ "internalType": "DistributorType",
588
+ "name": "distributorType",
589
+ "type": "bytes8"
590
+ },
591
+ {
592
+ "internalType": "bytes",
593
+ "name": "data",
594
+ "type": "bytes"
595
+ }
596
+ ],
597
+ "name": "createDistributor",
598
+ "outputs": [
599
+ {
600
+ "internalType": "NftId",
601
+ "name": "distributorNftId",
602
+ "type": "uint96"
603
+ }
604
+ ],
605
+ "stateMutability": "nonpayable",
606
+ "type": "function"
607
+ },
608
+ {
609
+ "inputs": [
610
+ {
611
+ "internalType": "string",
612
+ "name": "name",
613
+ "type": "string"
614
+ },
615
+ {
616
+ "internalType": "UFixed",
617
+ "name": "minDiscountPercentage",
618
+ "type": "uint160"
619
+ },
620
+ {
621
+ "internalType": "UFixed",
622
+ "name": "maxDiscountPercentage",
623
+ "type": "uint160"
624
+ },
625
+ {
626
+ "internalType": "UFixed",
627
+ "name": "commissionPercentage",
628
+ "type": "uint160"
629
+ },
630
+ {
631
+ "internalType": "uint32",
632
+ "name": "maxReferralCount",
633
+ "type": "uint32"
634
+ },
635
+ {
636
+ "internalType": "Seconds",
637
+ "name": "maxReferralLifetime",
638
+ "type": "uint40"
639
+ },
640
+ {
641
+ "internalType": "bool",
642
+ "name": "allowSelfReferrals",
643
+ "type": "bool"
644
+ },
645
+ {
646
+ "internalType": "bool",
647
+ "name": "allowRenewals",
648
+ "type": "bool"
649
+ },
650
+ {
651
+ "internalType": "bytes",
652
+ "name": "data",
653
+ "type": "bytes"
654
+ }
655
+ ],
656
+ "name": "createDistributorType",
657
+ "outputs": [
658
+ {
659
+ "internalType": "DistributorType",
660
+ "name": "distributorType",
661
+ "type": "bytes8"
662
+ }
663
+ ],
664
+ "stateMutability": "nonpayable",
665
+ "type": "function"
666
+ },
667
+ {
668
+ "inputs": [
669
+ {
670
+ "internalType": "NftId",
671
+ "name": "distributorNftId",
672
+ "type": "uint96"
673
+ },
674
+ {
675
+ "internalType": "string",
676
+ "name": "code",
677
+ "type": "string"
678
+ },
679
+ {
680
+ "internalType": "UFixed",
681
+ "name": "discountPercentage",
682
+ "type": "uint160"
683
+ },
684
+ {
685
+ "internalType": "uint32",
686
+ "name": "maxReferrals",
687
+ "type": "uint32"
688
+ },
689
+ {
690
+ "internalType": "Timestamp",
691
+ "name": "expiryAt",
692
+ "type": "uint40"
693
+ },
694
+ {
695
+ "internalType": "bytes",
696
+ "name": "data",
697
+ "type": "bytes"
698
+ }
699
+ ],
700
+ "name": "createReferral",
701
+ "outputs": [
702
+ {
703
+ "internalType": "ReferralId",
704
+ "name": "referralId",
705
+ "type": "bytes8"
706
+ }
707
+ ],
708
+ "stateMutability": "nonpayable",
709
+ "type": "function"
710
+ },
711
+ {
712
+ "inputs": [
713
+ {
714
+ "internalType": "contract InstanceReader",
715
+ "name": "instanceReader",
716
+ "type": "address"
717
+ },
718
+ {
719
+ "internalType": "ReferralId",
720
+ "name": "referralId",
721
+ "type": "bytes8"
722
+ }
723
+ ],
724
+ "name": "getDiscountPercentage",
725
+ "outputs": [
726
+ {
727
+ "internalType": "UFixed",
728
+ "name": "discountPercentage",
729
+ "type": "uint160"
730
+ },
731
+ {
732
+ "internalType": "ReferralStatus",
733
+ "name": "status",
734
+ "type": "uint8"
735
+ }
736
+ ],
737
+ "stateMutability": "view",
738
+ "type": "function"
739
+ },
740
+ {
741
+ "inputs": [],
742
+ "name": "getDomain",
743
+ "outputs": [
744
+ {
745
+ "internalType": "ObjectType",
746
+ "name": "serviceDomain",
747
+ "type": "uint8"
748
+ }
749
+ ],
750
+ "stateMutability": "pure",
751
+ "type": "function"
752
+ },
753
+ {
754
+ "inputs": [],
755
+ "name": "getInitialInfo",
756
+ "outputs": [
757
+ {
758
+ "components": [
759
+ {
760
+ "internalType": "NftId",
761
+ "name": "nftId",
762
+ "type": "uint96"
763
+ },
764
+ {
765
+ "internalType": "NftId",
766
+ "name": "parentNftId",
767
+ "type": "uint96"
768
+ },
769
+ {
770
+ "internalType": "ObjectType",
771
+ "name": "objectType",
772
+ "type": "uint8"
773
+ },
774
+ {
775
+ "internalType": "bool",
776
+ "name": "isInterceptor",
777
+ "type": "bool"
778
+ },
779
+ {
780
+ "internalType": "address",
781
+ "name": "objectAddress",
782
+ "type": "address"
783
+ },
784
+ {
785
+ "internalType": "address",
786
+ "name": "initialOwner",
787
+ "type": "address"
788
+ },
789
+ {
790
+ "internalType": "bytes",
791
+ "name": "data",
792
+ "type": "bytes"
793
+ }
794
+ ],
795
+ "internalType": "struct IRegistry.ObjectInfo",
796
+ "name": "info",
797
+ "type": "tuple"
798
+ }
799
+ ],
800
+ "stateMutability": "view",
801
+ "type": "function"
802
+ },
803
+ {
804
+ "inputs": [],
805
+ "name": "getNftId",
806
+ "outputs": [
807
+ {
808
+ "internalType": "NftId",
809
+ "name": "",
810
+ "type": "uint96"
811
+ }
812
+ ],
813
+ "stateMutability": "view",
814
+ "type": "function"
815
+ },
816
+ {
817
+ "inputs": [],
818
+ "name": "getOwner",
819
+ "outputs": [
820
+ {
821
+ "internalType": "address",
822
+ "name": "",
823
+ "type": "address"
824
+ }
825
+ ],
826
+ "stateMutability": "view",
827
+ "type": "function"
828
+ },
829
+ {
830
+ "inputs": [],
831
+ "name": "getRegistry",
832
+ "outputs": [
833
+ {
834
+ "internalType": "contract IRegistry",
835
+ "name": "",
836
+ "type": "address"
837
+ }
838
+ ],
839
+ "stateMutability": "view",
840
+ "type": "function"
841
+ },
842
+ {
843
+ "inputs": [],
844
+ "name": "getRelease",
845
+ "outputs": [
846
+ {
847
+ "internalType": "VersionPart",
848
+ "name": "release",
849
+ "type": "uint8"
850
+ }
851
+ ],
852
+ "stateMutability": "view",
853
+ "type": "function"
854
+ },
855
+ {
856
+ "inputs": [],
857
+ "name": "getRoleId",
858
+ "outputs": [
859
+ {
860
+ "internalType": "RoleId",
861
+ "name": "serviceRoleId",
862
+ "type": "uint64"
863
+ }
864
+ ],
865
+ "stateMutability": "view",
866
+ "type": "function"
867
+ },
868
+ {
869
+ "inputs": [],
870
+ "name": "getVersion",
871
+ "outputs": [
872
+ {
873
+ "internalType": "Version",
874
+ "name": "",
875
+ "type": "uint24"
876
+ }
877
+ ],
878
+ "stateMutability": "pure",
879
+ "type": "function"
880
+ },
881
+ {
882
+ "inputs": [
883
+ {
884
+ "internalType": "address",
885
+ "name": "activatedBy",
886
+ "type": "address"
887
+ },
888
+ {
889
+ "internalType": "bytes",
890
+ "name": "data",
891
+ "type": "bytes"
892
+ }
893
+ ],
894
+ "name": "initializeVersionable",
895
+ "outputs": [],
896
+ "stateMutability": "nonpayable",
897
+ "type": "function"
898
+ },
899
+ {
900
+ "inputs": [],
901
+ "name": "isActive",
902
+ "outputs": [
903
+ {
904
+ "internalType": "bool",
905
+ "name": "active",
906
+ "type": "bool"
907
+ }
908
+ ],
909
+ "stateMutability": "view",
910
+ "type": "function"
911
+ },
912
+ {
913
+ "inputs": [],
914
+ "name": "isConsumingScheduledOp",
915
+ "outputs": [
916
+ {
917
+ "internalType": "bytes4",
918
+ "name": "",
919
+ "type": "bytes4"
920
+ }
921
+ ],
922
+ "stateMutability": "view",
923
+ "type": "function"
924
+ },
925
+ {
926
+ "inputs": [],
927
+ "name": "linkToRegisteredNftId",
928
+ "outputs": [
929
+ {
930
+ "internalType": "NftId",
931
+ "name": "nftId",
932
+ "type": "uint96"
933
+ }
934
+ ],
935
+ "stateMutability": "nonpayable",
936
+ "type": "function"
937
+ },
938
+ {
939
+ "inputs": [
940
+ {
941
+ "internalType": "NftId",
942
+ "name": "distributionNftId",
943
+ "type": "uint96"
944
+ },
945
+ {
946
+ "internalType": "ReferralId",
947
+ "name": "referralId",
948
+ "type": "bytes8"
949
+ }
950
+ ],
951
+ "name": "processReferral",
952
+ "outputs": [],
953
+ "stateMutability": "nonpayable",
954
+ "type": "function"
955
+ },
956
+ {
957
+ "inputs": [
958
+ {
959
+ "internalType": "NftId",
960
+ "name": "distributionNftId",
961
+ "type": "uint96"
962
+ },
963
+ {
964
+ "internalType": "ReferralId",
965
+ "name": "referralId",
966
+ "type": "bytes8"
967
+ },
968
+ {
969
+ "components": [
970
+ {
971
+ "internalType": "Amount",
972
+ "name": "productFeeAmount",
973
+ "type": "uint96"
974
+ },
975
+ {
976
+ "internalType": "Amount",
977
+ "name": "distributionFeeAndCommissionAmount",
978
+ "type": "uint96"
979
+ },
980
+ {
981
+ "internalType": "Amount",
982
+ "name": "poolPremiumAndFeeAmount",
983
+ "type": "uint96"
984
+ },
985
+ {
986
+ "internalType": "Amount",
987
+ "name": "netPremiumAmount",
988
+ "type": "uint96"
989
+ },
990
+ {
991
+ "internalType": "Amount",
992
+ "name": "fullPremiumAmount",
993
+ "type": "uint96"
994
+ },
995
+ {
996
+ "internalType": "Amount",
997
+ "name": "premiumAmount",
998
+ "type": "uint96"
999
+ },
1000
+ {
1001
+ "internalType": "Amount",
1002
+ "name": "productFeeFixAmount",
1003
+ "type": "uint96"
1004
+ },
1005
+ {
1006
+ "internalType": "Amount",
1007
+ "name": "poolFeeFixAmount",
1008
+ "type": "uint96"
1009
+ },
1010
+ {
1011
+ "internalType": "Amount",
1012
+ "name": "bundleFeeFixAmount",
1013
+ "type": "uint96"
1014
+ },
1015
+ {
1016
+ "internalType": "Amount",
1017
+ "name": "distributionFeeFixAmount",
1018
+ "type": "uint96"
1019
+ },
1020
+ {
1021
+ "internalType": "Amount",
1022
+ "name": "productFeeVarAmount",
1023
+ "type": "uint96"
1024
+ },
1025
+ {
1026
+ "internalType": "Amount",
1027
+ "name": "poolFeeVarAmount",
1028
+ "type": "uint96"
1029
+ },
1030
+ {
1031
+ "internalType": "Amount",
1032
+ "name": "bundleFeeVarAmount",
1033
+ "type": "uint96"
1034
+ },
1035
+ {
1036
+ "internalType": "Amount",
1037
+ "name": "distributionFeeVarAmount",
1038
+ "type": "uint96"
1039
+ },
1040
+ {
1041
+ "internalType": "Amount",
1042
+ "name": "distributionOwnerFeeFixAmount",
1043
+ "type": "uint96"
1044
+ },
1045
+ {
1046
+ "internalType": "Amount",
1047
+ "name": "distributionOwnerFeeVarAmount",
1048
+ "type": "uint96"
1049
+ },
1050
+ {
1051
+ "internalType": "Amount",
1052
+ "name": "commissionAmount",
1053
+ "type": "uint96"
1054
+ },
1055
+ {
1056
+ "internalType": "Amount",
1057
+ "name": "discountAmount",
1058
+ "type": "uint96"
1059
+ }
1060
+ ],
1061
+ "internalType": "struct IPolicy.PremiumInfo",
1062
+ "name": "premium",
1063
+ "type": "tuple"
1064
+ }
1065
+ ],
1066
+ "name": "processSale",
1067
+ "outputs": [],
1068
+ "stateMutability": "nonpayable",
1069
+ "type": "function"
1070
+ },
1071
+ {
1072
+ "inputs": [
1073
+ {
1074
+ "internalType": "NftId",
1075
+ "name": "distributionNftId",
1076
+ "type": "uint96"
1077
+ },
1078
+ {
1079
+ "internalType": "ReferralId",
1080
+ "name": "referralId",
1081
+ "type": "bytes8"
1082
+ }
1083
+ ],
1084
+ "name": "referralIsValid",
1085
+ "outputs": [
1086
+ {
1087
+ "internalType": "bool",
1088
+ "name": "isValid",
1089
+ "type": "bool"
1090
+ }
1091
+ ],
1092
+ "stateMutability": "view",
1093
+ "type": "function"
1094
+ },
1095
+ {
1096
+ "inputs": [
1097
+ {
1098
+ "internalType": "address",
1099
+ "name": "newAuthority",
1100
+ "type": "address"
1101
+ }
1102
+ ],
1103
+ "name": "setAuthority",
1104
+ "outputs": [],
1105
+ "stateMutability": "nonpayable",
1106
+ "type": "function"
1107
+ },
1108
+ {
1109
+ "inputs": [
1110
+ {
1111
+ "internalType": "bytes4",
1112
+ "name": "interfaceId",
1113
+ "type": "bytes4"
1114
+ }
1115
+ ],
1116
+ "name": "supportsInterface",
1117
+ "outputs": [
1118
+ {
1119
+ "internalType": "bool",
1120
+ "name": "",
1121
+ "type": "bool"
1122
+ }
1123
+ ],
1124
+ "stateMutability": "view",
1125
+ "type": "function"
1126
+ },
1127
+ {
1128
+ "inputs": [
1129
+ {
1130
+ "internalType": "bytes",
1131
+ "name": "data",
1132
+ "type": "bytes"
1133
+ }
1134
+ ],
1135
+ "name": "upgradeVersionable",
1136
+ "outputs": [],
1137
+ "stateMutability": "nonpayable",
1138
+ "type": "function"
1139
+ },
1140
+ {
1141
+ "inputs": [
1142
+ {
1143
+ "internalType": "NftId",
1144
+ "name": "distributorNftId",
1145
+ "type": "uint96"
1146
+ },
1147
+ {
1148
+ "internalType": "Amount",
1149
+ "name": "amount",
1150
+ "type": "uint96"
1151
+ }
1152
+ ],
1153
+ "name": "withdrawCommission",
1154
+ "outputs": [
1155
+ {
1156
+ "internalType": "Amount",
1157
+ "name": "withdrawnAmount",
1158
+ "type": "uint96"
1159
+ }
1160
+ ],
1161
+ "stateMutability": "nonpayable",
1162
+ "type": "function"
1163
+ }
1164
+ ],
1165
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615b49806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101a1575f3560e01c80635dcb3bae116100f35780638fb3603711610093578063ada9652e1161006e578063ada9652e146103f9578063b68d18091461040d578063bf7e214f14610414578063eed283151461041c575f80fd5b80638fb36037146103b2578063987cb161146103d3578063ab3fc75f146103e6575f80fd5b806376b707b7116100ce57806376b707b71461036a5780637950d0e2146103845780637a9e5e4b14610397578063893d20e8146103aa575f80fd5b80635dcb3bae1461031a578063644c45e01461032d5780636c741e781461034a575f80fd5b80631bda5efa1161015e57806325d073841161013957806325d07384146102bc578063329d6e74146102cf57806349bb9e4b146102e25780635ab1bd53146102f5575f80fd5b80631bda5efa1461025f5780631eff4b221461027f57806322f3e2d4146102b4575f80fd5b806301ffc9a7146101a5578063071e1e4a146101e657806307e71a6e146101fb5780630d8e6e2c146102265780630fec111c14610242578063138461e014610257575b5f80fd5b6101d16101b3366004614697565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f96101f43660046146fe565b610450565b005b61020e610209366004614735565b6106bc565b6040516001600160601b0390911681526020016101dd565b61022e610cc6565b60405162ffffff90911681526020016101dd565b61024a610d4d565b6040516101dd919061478f565b61020e610f07565b61027261026d366004614a04565b610f11565b6040516101dd9190614ada565b6102a67f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101dd565b6101d16114e5565b6101d16102ca3660046146fe565b61155c565b6101f96102dd366004614aef565b611a4d565b6101f96102f0366004614b20565b611b97565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101dd565b61020e610328366004614b6c565b611c93565b5f80516020615ab4833981519152546001600160601b031661020e565b610352611f6d565b6040516001600160401b0390911681526020016101dd565b610372611ff9565b60405160ff90911681526020016101dd565b6101f9610392366004614bc9565b612061565b6101f96103a5366004614d65565b612594565b61030261261a565b6103ba61274b565b6040516001600160e01b031990911681526020016101dd565b6102726103e1366004614d80565b612780565b6101f96103f4366004614e2a565b6131e9565b6102a65f80516020615ab483398151915281565b600e610372565b6103026133f8565b61042f61042a366004614e47565b613413565b604080516001600160a01b03909316835260ff9091166020830152016101dd565b61045c335b5f36613719565b81600e6104698282613817565b610473848461155c565b156106b6575f73__$fb599632d08395912d9d70eb2f0f93b5e2$__63ce64d2816104a56001546001600160a01b031690565b876040518363ffffffff1660e01b81526004016104c3929190614e63565b602060405180830381865af41580156104de573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105029190614e85565b90505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610541573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105659190614e85565b6001600160a01b0316631d3be477866040518263ffffffff1660e01b81526004016105909190614ada565b5f60405180830381865afa1580156105aa573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526105d19190810190614f1b565b90506001816060018181516105e6919061502a565b63ffffffff1690525060408051631a99b41b60e31b815290516001600160a01b0384169163d4cda0d89160048083019260209291908290030181865afa158015610632573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106569190614e85565b6001600160a01b03166396260559868360ff6040518463ffffffff1660e01b815260040161068693929190615110565b5f604051808303815f87803b15801561069d575f80fd5b505af11580156106af573d5f803e3d5ffd5b5050505050505b50505050565b5f6106c633610455565b8260176106d38282613817565b5f806106dd61394b565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561071e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107429190614e85565b60405163f0ea17c360e01b81526001600160601b03851660048201529091505f906001600160a01b0383169063f0ea17c3906024015f60405180830381865afa158015610791573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107b89190810190615147565b604051630232ca4960e01b81526001600160601b038b1660048201529091505f906001600160a01b03841690630232ca4990602401602060405180830381865afa158015610808573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082c91906151ee565b90508897506108a58873__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af415801561087c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a091906151ee565b6139f7565b156108b2578097506108f2565b6108bc8882613a85565b156108f2576040516322d98b0960e11b81526001600160601b03808a166004830152821660248201526044015b60405180910390fd5b5f846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561092f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109539190614e85565b905060025f9054906101000a90046001600160a01b03166001600160a01b03166311a1467782888c73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156109c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e691906151ee565b6040518563ffffffff1660e01b8152600401610a059493929190615209565b5f604051808303815f87803b158015610a1c575f80fd5b505af1158015610a2e573d5f803e3d5ffd5b5050505060025f9054906101000a90046001600160a01b03166001600160a01b03166366101781828d73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610a9e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ac291906151ee565b8d6040518563ffffffff1660e01b8152600401610ae29493929190615209565b5f604051808303815f87803b158015610af9575f80fd5b505af1158015610b0b573d5f803e3d5ffd5b50505050505f610b236001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038d1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610b70573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b949190614e85565b90507f81c27687c85b82d25896110abb95c71bcbe0f90ff15274c4f0dbc5710a43ec3f8b8285602001516001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bf9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c1d9190614e85565b604080516001600160601b0394851681526001600160a01b0393841660208201529290911690820152908b16606082015260800160405180910390a182602001516001600160a01b03166367ed5f36828b6040518363ffffffff1660e01b8152600401610c8b929190614e63565b5f604051808303815f87803b158015610ca2575f80fd5b505af1158015610cb4573d5f803e3d5ffd5b50505050505050505050505092915050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610d24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d48919061523b565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610df9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e1d91906151ee565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610e6561261a565b6001600160a01b03168152602001826001018054610e829061525d565b80601f0160208091040260200160405190810160405280929190818152602001828054610eae9061525d565b8015610ef95780601f10610ed057610100808354040283529160200191610ef9565b820191905f5260205f20905b815481529060010190602001808311610edc57829003601f168201915b505050505081525091505090565b5f610d4830613acf565b5f610f1b33610455565b5f80610f2561394b565b915091505f610f3c6001546001600160a01b031690565b60405163677d3feb60e11b81526001600160601b03851660048201526001600160a01b03919091169063cefa7fd690602401602060405180830381865afa158015610f89573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fad91906151ee565b90505f826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110109190614e85565b604051636a05a41360e01b81526001600160601b03841660048201526001600160a01b039190911690636a05a413906024016101c060405180830381865afa15801561105e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061108291906152f7565b604081015151606082015151919250905f9061109e908e613cc8565b90506001600160a01b0380831690821611156111ca57604051632ffa8f7f60e11b81526001600160a01b038316600482015273__$bf7bc340cbb9229ef1de2c568356e67902$__90635ff51efe90602401602060405180830381865af415801561110a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061112e91906153b1565b604051632ffa8f7f60e11b81526001600160a01b038316600482015273__$bf7bc340cbb9229ef1de2c568356e67902$__90635ff51efe90602401602060405180830381865af4158015611184573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111a891906153b1565b604051632d8d32a560e21b8152600481019290925260248201526044016108e9565b5f6111d58383613cd3565b90506111ed8f826001600160a01b0390811691161190565b1561131e578e6001600160a01b031673__$bf7bc340cbb9229ef1de2c568356e67902$__635ff51efe90916040518263ffffffff1660e01b815260040161124391906001600160a01b0391909116815260200190565b602060405180830381865af415801561125e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061128291906153b1565b604051632ffa8f7f60e11b81526001600160a01b038316600482015273__$bf7bc340cbb9229ef1de2c568356e67902$__90635ff51efe90602401602060405180830381865af41580156112d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112fc91906153b1565b6040516306990c9f60e11b8152600481019290925260248201526044016108e9565b505050505073__$1919c6d2c69d787ccb2653a371d7e5737d$__63578c3039838e6040518363ffffffff1660e01b815260040161135c9291906153c8565b602060405180830381865af4158015611377573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061139b91906153e9565b92505f6040518061014001604052808d6001600160a01b03168152602001846001600160601b031681526020018c6001600160a01b031681526020018a63ffffffff1681526020018964ffffffffff168152602001881515815260200187151581526020018b6001600160a01b031681526020018e8152602001868152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611457573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061147b9190614e85565b6001600160a01b0316634bb2d19785836040518363ffffffff1660e01b81526004016114a8929190615404565b5f604051808303815f87803b1580156114bf575f80fd5b505af11580156114d1573d5f803e3d5ffd5b505050505050509998505050505050505050565b5f6114ee6133f8565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015611532573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115569190615501565b15905090565b5f82600e61156a8282613817565b604051630a4d29dd60e31b81526001600160601b038616600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156115c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e49190615501565b8061166a5750604051637bc32ecf60e01b815273__$05887d5853069c88bcd4c0a2107db45f29$__90637bc32ecf9061162b906001600160c01b0319881690600401614ada565b602060405180830381865af4158015611646573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061166a9190615501565b15611677575f9250611a45565b5f73__$fb599632d08395912d9d70eb2f0f93b5e2$__63ce64d2816116a46001546001600160a01b031690565b886040518363ffffffff1660e01b81526004016116c2929190614e63565b602060405180830381865af41580156116dd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117019190614e85565b90505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611740573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117649190614e85565b6001600160a01b0316631d3be477876040518263ffffffff1660e01b815260040161178f9190614ada565b5f60405180830381865afa1580156117a9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526117d09190810190614f1b565b6020810151604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801561182f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118539190615501565b15611862575f94505050611a45565b805161186e9088613d0b565b1561189257805160405163232e27d560e21b81526108e99188918a9060040161551c565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156118ec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119109190615501565b80611a1e575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015611970573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119949190615501565b8015611a1e5750611a1e73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156119e5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a099190615547565b8260a0015164ffffffffff9081169116111590565b9450848015611a405750806040015163ffffffff16816060015163ffffffff16105b945050505b505092915050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c611a6f610cc6565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611aad573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ad19190615576565b5f80516020615af48339815191528054600160401b900460ff1680611b03575080546001600160401b03808416911610155b15611b215760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611b4b83613d55565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f80516020615af48339815191528054600160401b810460ff1615906001600160401b03165f81158015611bc85750825b90505f826001600160401b03166001148015611be35750303b155b905081158015611bf1575080155b15611c0f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611c3957845460ff60401b1916600160401b1785555b611c438787613d76565b8315611c8a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f611c9d33610455565b5f80611ca761394b565b91509150611d15816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cea573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d0e9190614e85565b8684613f39565b60055f9054906101000a90046001600160a01b03166001600160a01b03166357a8fba76040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d8a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dae91906151ee565b6001600160601b03168152602001856001600160601b03168152602001611dd3601790565b60ff1681526020016001151581526020015f6001600160a01b03168152602001896001600160a01b0316815260200160405180602001604052805f8152508152506040518263ffffffff1660e01b8152600401611e30919061478f565b6020604051808303815f875af1158015611e4c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e7091906151ee565b92505f6040518060800160405280876001600160c01b03191681526020016001151581526020015f63ffffffff168152602001868152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ee5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f099190614e85565b6001600160a01b031663f9b3fe3c85836040518363ffffffff1660e01b8152600401611f369291906155d7565b5f604051808303815f87803b158015611f4d575f80fd5b505af1158015611f5f573d5f803e3d5ffd5b505050505050509392505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe600e611f92611ff9565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611fd5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d489190615576565b5f6120026133f8565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa15801561203d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4891906155f8565b61206a33610455565b82600e6120778282613817565b5f73__$fb599632d08395912d9d70eb2f0f93b5e2$__63ce64d2816120a46001546001600160a01b031690565b886040518363ffffffff1660e01b81526004016120c2929190614e63565b602060405180830381865af41580156120dd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121019190614e85565b90505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612140573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121649190614e85565b90505f826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121c79190614e85565b90505f6121de876101c00151886101e00151613fdc565b90506121ea898961155c565b156124ab576102008701516002546040516374933c2f60e01b81526001600160a01b03909116906374933c2f9061222b9086908e9086908890600401615209565b5f604051808303815f87803b158015612242575f80fd5b505af1158015612254573d5f803e3d5ffd5b5050604051631d3be47760e01b81525f92506001600160a01b0387169150631d3be47790612286908d90600401614ada565b5f60405180830381865afa1580156122a0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526122c79190810190614f1b565b905060025f9054906101000a90046001600160a01b03166001600160a01b031663d165cb6485836020015173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612339573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061235d91906151ee565b866040518563ffffffff1660e01b815260040161237d9493929190615209565b5f604051808303815f87803b158015612394575f80fd5b505af11580156123a6573d5f803e3d5ffd5b5050505060208101516040516313d8ebc960e11b81526001600160601b0390911660048201525f906001600160a01b038716906327b1d792906024015f60405180830381865afa1580156123fc573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526124239190810190615618565b9050600181604001818151612438919061502a565b63ffffffff169052506020820151604051630af38b5f60e21b81526001600160a01b03871691632bce2d7c916124769190859060ff906004016156bb565b5f604051808303815f87803b15801561248d575f80fd5b505af115801561249f573d5f803e3d5ffd5b50505050505050612589565b60025f9054906101000a90046001600160a01b03166001600160a01b03166374933c2f838b73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612517573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061253b91906151ee565b856040518563ffffffff1660e01b815260040161255b9493929190615209565b5f604051808303815f87803b158015612572575f80fd5b505af1158015612584573d5f803e3d5ffd5b505050505b505050505050505050565b3361259d6133f8565b6001600160a01b0316816001600160a01b0316146125d85760405162d1953b60e31b81526001600160a01b03821660048201526024016108e9565b816001600160a01b03163b5f0361260d576040516361798f2f60e11b81526001600160a01b03831660048201526024016108e9565b61261682614060565b5050565b5f805f80516020615ab483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612686573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126aa9190615501565b15612735576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561270b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061272f9190614e85565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020615ad483398151915280545f9190600160a01b900460ff16612772575f61272f565b638fb3603760e01b91505090565b5f61278a33610455565b8660176127978282613817565b5f806127a161394b565b9150915089515f036127c857896040516337b67ced60e01b81526004016108e991906156dc565b60405163790a38ad60e01b815264ffffffffff8816600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af415801561281c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128409190615501565b8061294057508664ffffffffff1673__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__6394335b1a909173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156128b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128d59190615547565b6040516001600160e01b031960e085901b16815264ffffffffff928316600482015291166024820152604401602060405180830381865af415801561291c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129409190615501565b156129675760405163186399e560e31b815264ffffffffff881660048201526024016108e9565b5f61297a6001546001600160a01b031690565b60405163677d3feb60e11b81526001600160601b038e1660048201526001600160a01b03919091169063cefa7fd690602401602060405180830381865afa1580156129c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129eb91906151ee565b90506129f78184613d0b565b15612a305760405163e172170d60e01b81526001600160601b03808e1660048301528083166024830152841660448201526064016108e9565b5f826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a919190614e85565b6040516313d8ebc960e11b81526001600160601b038f1660048201529091505f906001600160a01b038316906327b1d792906024015f60405180830381865afa158015612ae0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612b079190810190615618565b516040516368322c6360e11b81529091505f906001600160a01b0384169063d06458c690612b39908590600401614ada565b5f60405180830381865afa158015612b53573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612b7a91908101906156ee565b90508b63ffffffff16816060015163ffffffff161015612bbb576060810151604051631bdd82b160e31b815263ffffffff90911660048201526024016108e9565b80516001600160a01b03808f1691161115612ce957805160405163e2eb023b60e01b81526001600160a01b03909116600482015273__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b90602401602060405180830381865af4158015612c29573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c4d91906153b1565b60405163e2eb023b60e01b81526001600160a01b038f16600482015273__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b90602401602060405180830381865af4158015612ca3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cc791906153b1565b604051637025bb8d60e11b8152600481019290925260248201526044016108e9565b60408101516001600160a01b03808f1691161015612e1d57604081810151905163e2eb023b60e01b81526001600160a01b03909116600482015273__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b90602401602060405180830381865af4158015612d5d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d8191906153b1565b60405163e2eb023b60e01b81526001600160a01b038f16600482015273__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b90602401602060405180830381865af4158015612dd7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dfb91906153b1565b60405163d80ce0cf60e01b8152600481019290925260248201526044016108e9565b6080810151604051633682752160e21b815264ffffffffff909116600482015273__$71e292c09eace9601b3e21e68a1278917a$__9063da09d48490602401602060405180830381865af4158015612e77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e9b91906153b1565b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612ee2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f069190615547565b604051633682752160e21b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063da09d48490602401602060405180830381865af4158015612f5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f7f91906153b1565b604051633682752160e21b815264ffffffffff8e16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063da09d48490602401602060405180830381865af4158015612fd3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ff791906153b1565b613001919061580f565b111561303757608081015160405163941185d360e01b815264ffffffffff9182166004820152908c1660248201526044016108e9565b5050604051631f849e6b60e11b815273__$05887d5853069c88bcd4c0a2107db45f29$__9150633f093cd6906130739086908f906004016153c8565b602060405180830381865af415801561308e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130b291906153e9565b95505f604051806101000160405280856001600160601b031681526020018e6001600160601b031681526020018b63ffffffff1681526020015f63ffffffff1681526020018c6001600160a01b031681526020018a64ffffffffff1681526020018d8152602001898152509050826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561315b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061317f9190614e85565b6001600160a01b0316634a82439288836040518363ffffffff1660e01b81526004016131ac929190615822565b5f604051808303815f87803b1580156131c3575f80fd5b505af11580156131d5573d5f803e3d5ffd5b505050505050505050509695505050505050565b6131f233610455565b6131fd836017613817565b5f8061320761394b565b91509150613275816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561324a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061326e9190614e85565b8584613f39565b5f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156132b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132d69190614e85565b6040516313d8ebc960e11b81526001600160601b03881660048201526001600160a01b0391909116906327b1d792906024015f60405180830381865afa158015613322573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526133499190810190615618565b6001600160c01b0319861681526060810185905260408051631a99b41b60e31b815290519192506001600160a01b0384169163d4cda0d8916004808201926020929091908290030181865afa1580156133a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133c89190614e85565b6001600160a01b0316632bce2d7c878360ff6040518463ffffffff1660e01b8152600401610686939291906156bb565b5f80516020615ad4833981519152546001600160a01b031690565b5f805f846001600160a01b0316631d3be477856040518263ffffffff1660e01b81526004016134429190614ada565b5f60405180830381865afa15801561345c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526134839190810190614f1b565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156134e0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135049190615501565b156135815773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015613550573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135749190614e85565b60645b9250925050613712565b6136038160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156135d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135f49190615547565b64ffffffffff90811691161090565b1561367a5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561364f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906136739190614e85565b606e613577565b806040015163ffffffff16816060015163ffffffff16106137075773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156136dc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137009190614e85565b6078613577565b608001519150600a90505b9250929050565b5f80516020615ad48339815191525f806137516137346133f8565b873061374360045f8a8c615846565b61374c9161586d565b6140c0565b915091508161380f5763ffffffff8116156137ec57825460ff60a01b1916600160a01b17835561377f6133f8565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016137ae939291906158a5565b5f604051808303815f87803b1580156137c5575f80fd5b505af11580156137d7573d5f803e3d5ffd5b5050845460ff60a01b191685555061380f9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016108e9565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015613867573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061388b9190615501565b8061391957506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156138f3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139179190615501565b155b156126165760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016108e9565b5f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__63ed3526476139796001546001600160a01b031690565b6040805160e084901b6001600160e01b03191681526001600160a01b03929092166004830152336024830152600e604483015280516064808401938290030181865af41580156139cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139ef91906158e4565b915091509091565b604051631315996960e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063262b32d2906044015b602060405180830381865af4158015613a58573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a7c9190615501565b90505b92915050565b604051632601631360e21b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c90604401613a3d565b5f805f80516020615ab483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613b3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b5f9190615501565b15613b8b5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016108e9565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015613bdd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c019190615501565b613c295760405163b9304b0d60e01b81526001600160a01b03841660048201526024016108e9565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613c7b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c9f91906151ee565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f613a7c8284615911565b5f6001600160a01b038083169084161015613d015760405163117efe6d60e31b815260040160405180910390fd5b613a7c8284615930565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401613a3d565b613d5d6141c8565b60405163502ec37160e01b815260040160405180910390fd5b5f80516020615af48339815191528054600160401b810460ff1615906001600160401b03165f81158015613da75750825b90505f826001600160401b03166001148015613dc25750303b155b905081158015613dd0575080155b15613dee5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315613e1857845460ff60401b1916600160401b1785555b5f8087806020019051810190613e2e919061594f565b91509150613e3d82828b614200565b613e4760286142a2565b600280546001600160a01b0319166001600160a01b0392909216919091179055613e71600b6142a2565b600380546001600160a01b0319166001600160a01b0392909216919091179055613e9b600a6142a2565b600480546001600160a01b0319166001600160a01b0392909216919091179055613ec560026142a2565b600580546001600160a01b0319166001600160a01b0392909216919091179055613ef563c7f9373d60e01b614333565b50508315611c8a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611c81565b6040516368322c6360e11b81525f906001600160a01b0385169063d06458c690613f67908690600401614ada565b5f60405180830381865afa158015613f81573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613fa891908101906156ee565b602001519050613fb88183613d0b565b156106b6578281836040516313bf6c4560e21b81526004016108e99392919061551c565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af415801561403c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a7c91906151ee565b5f80516020615ad483398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161412e919061596b565b5f60405180830381855afa9150503d805f8114614166576040519150601f19603f3d011682016040523d82523d5f602084013e61416b565b606091505b509150915081156141bd57604081511061419d57808060200190518101906141939190615981565b90945092506141bd565b60208151106141bd57808060200190518101906141ba9190615501565b93505b505094509492505050565b5f80516020615af483398151915254600160401b900460ff166141fe57604051631afcd79f60e31b815260040160405180910390fd5b565b6142086141c8565b614210614366565b61428d8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015614251573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061427591906151ee565b60085f8660405180602001604052805f815250614376565b61429d63daf9067160e01b614333565b505050565b5f6142b56001546001600160a01b031690565b6001600160a01b031663d39e6043836142cc611ff9565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561430f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a7f9190614e85565b61433b6141c8565b614363816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b61436e6141c8565b6141fe6144bd565b61437e6141c8565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156143d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906143f89190615501565b6144205760405163cf6935e560e01b81526001600160a01b03881660048201526024016108e9565b614429876144eb565b61443386836144fc565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016144a283826159f9565b506144b3634a531f3360e01b614333565b5050505050505050565b6144c56141c8565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6144f36141c8565b61436381614572565b6145046141c8565b61450c614583565b614515826145cb565b6001600160a01b03811661453c5760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020615ab483398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b61457a6141c8565b61436381614060565b61458b6141c8565b6141fe6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6145d36141c8565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015614629573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061464d9190615501565b6146755760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108e9565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f602082840312156146a7575f80fd5b81356001600160e01b0319811681146146be575f80fd5b9392505050565b6001600160601b0381168114614363575f80fd5b80356146e4816146c5565b919050565b6001600160c01b031981168114614363575f80fd5b5f806040838503121561470f575f80fd5b823561471a816146c5565b9150602083013561472a816146e9565b809150509250929050565b5f8060408385031215614746575f80fd5b8235614751816146c5565b9150602083013561472a816146c5565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516147d7608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261481b610100840182614761565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b60405161024081016001600160401b038111828210171561485a5761485a614823565b60405290565b60405161010081016001600160401b038111828210171561485a5761485a614823565b604051606081016001600160401b038111828210171561485a5761485a614823565b604051608081016001600160401b038111828210171561485a5761485a614823565b60405161014081016001600160401b038111828210171561485a5761485a614823565b604051601f8201601f191681016001600160401b038111828210171561491257614912614823565b604052919050565b5f6001600160401b0382111561493257614932614823565b50601f01601f191660200190565b5f82601f83011261494f575f80fd5b8135602083015f6149676149628461491a565b6148ea565b905082815285838301111561497a575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160a01b0381168114614363575f80fd5b80356146e481614994565b63ffffffff81168114614363575f80fd5b80356146e4816149b3565b64ffffffffff81168114614363575f80fd5b80356146e4816149cf565b8015158114614363575f80fd5b80356146e4816149ec565b5f805f805f805f805f6101208a8c031215614a1d575f80fd5b89356001600160401b03811115614a32575f80fd5b614a3e8c828d01614940565b99505060208a0135614a4f81614994565b9750614a5d60408b016149a8565b9650614a6b60608b016149a8565b9550614a7960808b016149c4565b9450614a8760a08b016149e1565b9350614a9560c08b016149f9565b9250614aa360e08b016149f9565b91506101008a01356001600160401b03811115614abe575f80fd5b614aca8c828d01614940565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b5f60208284031215614aff575f80fd5b81356001600160401b03811115614b14575f80fd5b61481b84828501614940565b5f8060408385031215614b31575f80fd5b8235614b3c81614994565b915060208301356001600160401b03811115614b56575f80fd5b614b6285828601614940565b9150509250929050565b5f805f60608486031215614b7e575f80fd5b8335614b8981614994565b92506020840135614b99816146e9565b915060408401356001600160401b03811115614bb3575f80fd5b614bbf86828701614940565b9150509250925092565b5f805f838503610280811215614bdd575f80fd5b8435614be8816146c5565b93506020850135614bf8816146e9565b9250610240603f1982011215614c0c575f80fd5b50614c15614837565b614c21604086016146d9565b8152614c2f606086016146d9565b6020820152614c40608086016146d9565b6040820152614c5160a086016146d9565b6060820152614c6260c086016146d9565b6080820152614c7360e086016146d9565b60a0820152614c8561010086016146d9565b60c0820152614c9761012086016146d9565b60e0820152614ca961014086016146d9565b610100820152614cbc61016086016146d9565b610120820152614ccf61018086016146d9565b610140820152614ce26101a086016146d9565b610160820152614cf56101c086016146d9565b610180820152614d086101e086016146d9565b6101a0820152614d1b61020086016146d9565b6101c0820152614d2e61022086016146d9565b6101e0820152614d4161024086016146d9565b610200820152614d5461026086016146d9565b610220820152809150509250925092565b5f60208284031215614d75575f80fd5b81356146be81614994565b5f805f805f8060c08789031215614d95575f80fd5b8635614da0816146c5565b955060208701356001600160401b03811115614dba575f80fd5b614dc689828a01614940565b9550506040870135614dd781614994565b93506060870135614de7816149b3565b92506080870135614df7816149cf565b915060a08701356001600160401b03811115614e11575f80fd5b614e1d89828a01614940565b9150509295509295509295565b5f805f60608486031215614e3c575f80fd5b8335614b89816146c5565b5f8060408385031215614e58575f80fd5b823561471a81614994565b6001600160a01b039290921682526001600160601b0316602082015260400190565b5f60208284031215614e95575f80fd5b81516146be81614994565b80516146e4816146c5565b80516146e4816149b3565b80516146e481614994565b80516146e4816149cf565b5f82601f830112614edb575f80fd5b8151602083015f614eee6149628461491a565b9050828152858383011115614f01575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215614f2b575f80fd5b81516001600160401b03811115614f40575f80fd5b82016101008185031215614f52575f80fd5b614f5a614860565b614f6382614ea0565b8152614f7160208301614ea0565b6020820152614f8260408301614eab565b6040820152614f9360608301614eab565b6060820152614fa460808301614eb6565b6080820152614fb560a08301614ec1565b60a082015260c08201516001600160401b03811115614fd2575f80fd5b614fde86828501614ecc565b60c08301525060e08201516001600160401b03811115614ffc575f80fd5b61500886828501614ecc565b60e083015250949350505050565b634e487b7160e01b5f52601160045260245ffd5b63ffffffff8181168382160190811115613a7f57613a7f615016565b6001600160601b0381511682525f602082015161506e60208501826001600160601b03169052565b506040820151615086604085018263ffffffff169052565b50606082015161509e606085018263ffffffff169052565b5060808201516150b960808501826001600160a01b03169052565b5060a08201516150d260a085018264ffffffffff169052565b5060c082015161010060c08501526150ee610100850182614761565b905060e083015184820360e08601526151078282614761565b95945050505050565b6001600160401b0360c01b84168152606060208201525f6151346060830185615046565b905060ff83166040830152949350505050565b5f60208284031215615157575f80fd5b81516001600160401b0381111561516c575f80fd5b82016060818503121561517d575f80fd5b615185614883565b81516001600160401b0381111561519a575f80fd5b6151a686828501614ecc565b82525060208201516151b781614994565b602082015260408201516001600160401b038111156151d4575f80fd5b6151e086828501614ecc565b604083015250949350505050565b5f602082840312156151fe575f80fd5b81516146be816146c5565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b5f6020828403121561524b575f80fd5b815162ffffff811681146146be575f80fd5b600181811c9082168061527157607f821691505b60208210810361528f57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f604082840312156152a5575f80fd5b604080519081016001600160401b03811182821017156152c7576152c7614823565b806040525080915082516152da81614994565b815260208301516152ea816146c5565b6020919091015292915050565b5f6101c0828403128015615309575f80fd5b5060405160e081016001600160401b038111828210171561532c5761532c614823565b6040526153398484615295565b81526153488460408501615295565b602082015261535a8460808501615295565b604082015261536c8460c08501615295565b606082015261537f846101008501615295565b6080820152615392846101408501615295565b60a08201526153a5846101808501615295565b60c08201529392505050565b5f602082840312156153c1575f80fd5b5051919050565b6001600160601b0383168152604060208201525f61481b6040830184614761565b5f602082840312156153f9575f80fd5b81516146be816146e9565b6001600160c01b03198316815260406020820181905282516001600160a01b0316908201525f602083015161544460608401826001600160601b03169052565b5060408301516001600160a01b038116608084015250606083015163ffffffff811660a084015250608083015164ffffffffff811660c08401525060a083015180151560e08401525060c08301518015156101008401525060e08301516001600160a01b03811661012084015250610100830151610140808401526154cd610180840182614761565b9050610120840151603f19848303016101608501526154ec8282614761565b9695505050505050565b80516146e4816149ec565b5f60208284031215615511575f80fd5b81516146be816149ec565b6001600160c01b03199390931683526001600160601b03918216602084015216604082015260600190565b5f60208284031215615557575f80fd5b81516146be816149cf565b6001600160401b0381168114614363575f80fd5b5f60208284031215615586575f80fd5b81516146be81615562565b6001600160401b0360c01b815116825260208101511515602083015263ffffffff60408201511660408301525f60608201516080606085015261481b6080850182614761565b6001600160601b0383168152604060208201525f61481b6040830184615591565b5f60208284031215615608575f80fd5b815160ff811681146146be575f80fd5b5f60208284031215615628575f80fd5b81516001600160401b0381111561563d575f80fd5b82016080818503121561564e575f80fd5b6156566148a5565b8151615661816146e9565b81526020820151615671816149ec565b60208201526040820151615684816149b3565b604082015260608201516001600160401b038111156156a1575f80fd5b6156ad86828501614ecc565b606083015250949350505050565b6001600160601b0384168152606060208201525f6151346060830185615591565b602081525f613a7c6020830184614761565b5f602082840312156156fe575f80fd5b81516001600160401b03811115615713575f80fd5b82016101408185031215615725575f80fd5b61572d6148c7565b61573682614eb6565b815261574460208301614ea0565b602082015261575560408301614eb6565b604082015261576660608301614eab565b606082015261577760808301614ec1565b608082015261578860a083016154f6565b60a082015261579960c083016154f6565b60c08201526157aa60e08301614eb6565b60e08201526101008201516001600160401b038111156157c8575f80fd5b6157d486828501614ecc565b610100830152506101208201516001600160401b038111156157f4575f80fd5b61580086828501614ecc565b61012083015250949350505050565b81810381811115613a7f57613a7f615016565b6001600160401b0360c01b83168152604060208201525f61481b6040830184615046565b5f8085851115615854575f80fd5b83861115615860575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561589e576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f80604083850312156158f5575f80fd5b8251615900816146c5565b602084015190925061472a81614994565b6001600160a01b038181168382160190811115613a7f57613a7f615016565b6001600160a01b038281168282160390811115613a7f57613a7f615016565b5f8060408385031215615960575f80fd5b825161590081614994565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615992575f80fd5b825161599d816149ec565b602084015190925061472a816149b3565b601f82111561429d57805f5260205f20601f840160051c810160208510156159d35750805b601f840160051c820191505b818110156159f2575f81556001016159df565b5050505050565b81516001600160401b03811115615a1257615a12614823565b615a2681615a20845461525d565b846159ae565b6020601f821160018114615a58575f8315615a415750848201515b5f19600385901b1c1916600184901b1784556159f2565b5f84815260208120601f198516915b82811015615a875787850151825560209485019460019092019101615a67565b5084821015615aa457868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220de34fe9a41d9deb9904f7e76b1fdb7786a47b76b52467b6952198a3f6589a84b64736f6c634300081a0033",
1166
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101a1575f3560e01c80635dcb3bae116100f35780638fb3603711610093578063ada9652e1161006e578063ada9652e146103f9578063b68d18091461040d578063bf7e214f14610414578063eed283151461041c575f80fd5b80638fb36037146103b2578063987cb161146103d3578063ab3fc75f146103e6575f80fd5b806376b707b7116100ce57806376b707b71461036a5780637950d0e2146103845780637a9e5e4b14610397578063893d20e8146103aa575f80fd5b80635dcb3bae1461031a578063644c45e01461032d5780636c741e781461034a575f80fd5b80631bda5efa1161015e57806325d073841161013957806325d07384146102bc578063329d6e74146102cf57806349bb9e4b146102e25780635ab1bd53146102f5575f80fd5b80631bda5efa1461025f5780631eff4b221461027f57806322f3e2d4146102b4575f80fd5b806301ffc9a7146101a5578063071e1e4a146101e657806307e71a6e146101fb5780630d8e6e2c146102265780630fec111c14610242578063138461e014610257575b5f80fd5b6101d16101b3366004614697565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f96101f43660046146fe565b610450565b005b61020e610209366004614735565b6106bc565b6040516001600160601b0390911681526020016101dd565b61022e610cc6565b60405162ffffff90911681526020016101dd565b61024a610d4d565b6040516101dd919061478f565b61020e610f07565b61027261026d366004614a04565b610f11565b6040516101dd9190614ada565b6102a67f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101dd565b6101d16114e5565b6101d16102ca3660046146fe565b61155c565b6101f96102dd366004614aef565b611a4d565b6101f96102f0366004614b20565b611b97565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101dd565b61020e610328366004614b6c565b611c93565b5f80516020615ab4833981519152546001600160601b031661020e565b610352611f6d565b6040516001600160401b0390911681526020016101dd565b610372611ff9565b60405160ff90911681526020016101dd565b6101f9610392366004614bc9565b612061565b6101f96103a5366004614d65565b612594565b61030261261a565b6103ba61274b565b6040516001600160e01b031990911681526020016101dd565b6102726103e1366004614d80565b612780565b6101f96103f4366004614e2a565b6131e9565b6102a65f80516020615ab483398151915281565b600e610372565b6103026133f8565b61042f61042a366004614e47565b613413565b604080516001600160a01b03909316835260ff9091166020830152016101dd565b61045c335b5f36613719565b81600e6104698282613817565b610473848461155c565b156106b6575f73__$fb599632d08395912d9d70eb2f0f93b5e2$__63ce64d2816104a56001546001600160a01b031690565b876040518363ffffffff1660e01b81526004016104c3929190614e63565b602060405180830381865af41580156104de573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105029190614e85565b90505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610541573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105659190614e85565b6001600160a01b0316631d3be477866040518263ffffffff1660e01b81526004016105909190614ada565b5f60405180830381865afa1580156105aa573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526105d19190810190614f1b565b90506001816060018181516105e6919061502a565b63ffffffff1690525060408051631a99b41b60e31b815290516001600160a01b0384169163d4cda0d89160048083019260209291908290030181865afa158015610632573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106569190614e85565b6001600160a01b03166396260559868360ff6040518463ffffffff1660e01b815260040161068693929190615110565b5f604051808303815f87803b15801561069d575f80fd5b505af11580156106af573d5f803e3d5ffd5b5050505050505b50505050565b5f6106c633610455565b8260176106d38282613817565b5f806106dd61394b565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561071e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107429190614e85565b60405163f0ea17c360e01b81526001600160601b03851660048201529091505f906001600160a01b0383169063f0ea17c3906024015f60405180830381865afa158015610791573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107b89190810190615147565b604051630232ca4960e01b81526001600160601b038b1660048201529091505f906001600160a01b03841690630232ca4990602401602060405180830381865afa158015610808573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082c91906151ee565b90508897506108a58873__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af415801561087c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a091906151ee565b6139f7565b156108b2578097506108f2565b6108bc8882613a85565b156108f2576040516322d98b0960e11b81526001600160601b03808a166004830152821660248201526044015b60405180910390fd5b5f846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561092f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109539190614e85565b905060025f9054906101000a90046001600160a01b03166001600160a01b03166311a1467782888c73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156109c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e691906151ee565b6040518563ffffffff1660e01b8152600401610a059493929190615209565b5f604051808303815f87803b158015610a1c575f80fd5b505af1158015610a2e573d5f803e3d5ffd5b5050505060025f9054906101000a90046001600160a01b03166001600160a01b03166366101781828d73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610a9e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ac291906151ee565b8d6040518563ffffffff1660e01b8152600401610ae29493929190615209565b5f604051808303815f87803b158015610af9575f80fd5b505af1158015610b0b573d5f803e3d5ffd5b50505050505f610b236001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038d1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610b70573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b949190614e85565b90507f81c27687c85b82d25896110abb95c71bcbe0f90ff15274c4f0dbc5710a43ec3f8b8285602001516001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bf9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c1d9190614e85565b604080516001600160601b0394851681526001600160a01b0393841660208201529290911690820152908b16606082015260800160405180910390a182602001516001600160a01b03166367ed5f36828b6040518363ffffffff1660e01b8152600401610c8b929190614e63565b5f604051808303815f87803b158015610ca2575f80fd5b505af1158015610cb4573d5f803e3d5ffd5b50505050505050505050505092915050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610d24573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d48919061523b565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610df9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e1d91906151ee565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610e6561261a565b6001600160a01b03168152602001826001018054610e829061525d565b80601f0160208091040260200160405190810160405280929190818152602001828054610eae9061525d565b8015610ef95780601f10610ed057610100808354040283529160200191610ef9565b820191905f5260205f20905b815481529060010190602001808311610edc57829003601f168201915b505050505081525091505090565b5f610d4830613acf565b5f610f1b33610455565b5f80610f2561394b565b915091505f610f3c6001546001600160a01b031690565b60405163677d3feb60e11b81526001600160601b03851660048201526001600160a01b03919091169063cefa7fd690602401602060405180830381865afa158015610f89573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fad91906151ee565b90505f826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110109190614e85565b604051636a05a41360e01b81526001600160601b03841660048201526001600160a01b039190911690636a05a413906024016101c060405180830381865afa15801561105e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061108291906152f7565b604081015151606082015151919250905f9061109e908e613cc8565b90506001600160a01b0380831690821611156111ca57604051632ffa8f7f60e11b81526001600160a01b038316600482015273__$bf7bc340cbb9229ef1de2c568356e67902$__90635ff51efe90602401602060405180830381865af415801561110a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061112e91906153b1565b604051632ffa8f7f60e11b81526001600160a01b038316600482015273__$bf7bc340cbb9229ef1de2c568356e67902$__90635ff51efe90602401602060405180830381865af4158015611184573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111a891906153b1565b604051632d8d32a560e21b8152600481019290925260248201526044016108e9565b5f6111d58383613cd3565b90506111ed8f826001600160a01b0390811691161190565b1561131e578e6001600160a01b031673__$bf7bc340cbb9229ef1de2c568356e67902$__635ff51efe90916040518263ffffffff1660e01b815260040161124391906001600160a01b0391909116815260200190565b602060405180830381865af415801561125e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061128291906153b1565b604051632ffa8f7f60e11b81526001600160a01b038316600482015273__$bf7bc340cbb9229ef1de2c568356e67902$__90635ff51efe90602401602060405180830381865af41580156112d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112fc91906153b1565b6040516306990c9f60e11b8152600481019290925260248201526044016108e9565b505050505073__$1919c6d2c69d787ccb2653a371d7e5737d$__63578c3039838e6040518363ffffffff1660e01b815260040161135c9291906153c8565b602060405180830381865af4158015611377573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061139b91906153e9565b92505f6040518061014001604052808d6001600160a01b03168152602001846001600160601b031681526020018c6001600160a01b031681526020018a63ffffffff1681526020018964ffffffffff168152602001881515815260200187151581526020018b6001600160a01b031681526020018e8152602001868152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611457573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061147b9190614e85565b6001600160a01b0316634bb2d19785836040518363ffffffff1660e01b81526004016114a8929190615404565b5f604051808303815f87803b1580156114bf575f80fd5b505af11580156114d1573d5f803e3d5ffd5b505050505050509998505050505050505050565b5f6114ee6133f8565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015611532573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115569190615501565b15905090565b5f82600e61156a8282613817565b604051630a4d29dd60e31b81526001600160601b038616600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156115c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e49190615501565b8061166a5750604051637bc32ecf60e01b815273__$05887d5853069c88bcd4c0a2107db45f29$__90637bc32ecf9061162b906001600160c01b0319881690600401614ada565b602060405180830381865af4158015611646573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061166a9190615501565b15611677575f9250611a45565b5f73__$fb599632d08395912d9d70eb2f0f93b5e2$__63ce64d2816116a46001546001600160a01b031690565b886040518363ffffffff1660e01b81526004016116c2929190614e63565b602060405180830381865af41580156116dd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117019190614e85565b90505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611740573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117649190614e85565b6001600160a01b0316631d3be477876040518263ffffffff1660e01b815260040161178f9190614ada565b5f60405180830381865afa1580156117a9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526117d09190810190614f1b565b6020810151604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af415801561182f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118539190615501565b15611862575f94505050611a45565b805161186e9088613d0b565b1561189257805160405163232e27d560e21b81526108e99188918a9060040161551c565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156118ec573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119109190615501565b80611a1e575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af4158015611970573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119949190615501565b8015611a1e5750611a1e73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156119e5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a099190615547565b8260a0015164ffffffffff9081169116111590565b9450848015611a405750806040015163ffffffff16816060015163ffffffff16105b945050505b505092915050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c611a6f610cc6565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611aad573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ad19190615576565b5f80516020615af48339815191528054600160401b900460ff1680611b03575080546001600160401b03808416911610155b15611b215760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611b4b83613d55565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f80516020615af48339815191528054600160401b810460ff1615906001600160401b03165f81158015611bc85750825b90505f826001600160401b03166001148015611be35750303b155b905081158015611bf1575080155b15611c0f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611c3957845460ff60401b1916600160401b1785555b611c438787613d76565b8315611c8a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f611c9d33610455565b5f80611ca761394b565b91509150611d15816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cea573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d0e9190614e85565b8684613f39565b60055f9054906101000a90046001600160a01b03166001600160a01b03166357a8fba76040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d8a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dae91906151ee565b6001600160601b03168152602001856001600160601b03168152602001611dd3601790565b60ff1681526020016001151581526020015f6001600160a01b03168152602001896001600160a01b0316815260200160405180602001604052805f8152508152506040518263ffffffff1660e01b8152600401611e30919061478f565b6020604051808303815f875af1158015611e4c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e7091906151ee565b92505f6040518060800160405280876001600160c01b03191681526020016001151581526020015f63ffffffff168152602001868152509050816001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ee5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f099190614e85565b6001600160a01b031663f9b3fe3c85836040518363ffffffff1660e01b8152600401611f369291906155d7565b5f604051808303815f87803b158015611f4d575f80fd5b505af1158015611f5f573d5f803e3d5ffd5b505050505050509392505050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe600e611f92611ff9565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611fd5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d489190615576565b5f6120026133f8565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa15801561203d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d4891906155f8565b61206a33610455565b82600e6120778282613817565b5f73__$fb599632d08395912d9d70eb2f0f93b5e2$__63ce64d2816120a46001546001600160a01b031690565b886040518363ffffffff1660e01b81526004016120c2929190614e63565b602060405180830381865af41580156120dd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121019190614e85565b90505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612140573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121649190614e85565b90505f826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121c79190614e85565b90505f6121de876101c00151886101e00151613fdc565b90506121ea898961155c565b156124ab576102008701516002546040516374933c2f60e01b81526001600160a01b03909116906374933c2f9061222b9086908e9086908890600401615209565b5f604051808303815f87803b158015612242575f80fd5b505af1158015612254573d5f803e3d5ffd5b5050604051631d3be47760e01b81525f92506001600160a01b0387169150631d3be47790612286908d90600401614ada565b5f60405180830381865afa1580156122a0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526122c79190810190614f1b565b905060025f9054906101000a90046001600160a01b03166001600160a01b031663d165cb6485836020015173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612339573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061235d91906151ee565b866040518563ffffffff1660e01b815260040161237d9493929190615209565b5f604051808303815f87803b158015612394575f80fd5b505af11580156123a6573d5f803e3d5ffd5b5050505060208101516040516313d8ebc960e11b81526001600160601b0390911660048201525f906001600160a01b038716906327b1d792906024015f60405180830381865afa1580156123fc573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526124239190810190615618565b9050600181604001818151612438919061502a565b63ffffffff169052506020820151604051630af38b5f60e21b81526001600160a01b03871691632bce2d7c916124769190859060ff906004016156bb565b5f604051808303815f87803b15801561248d575f80fd5b505af115801561249f573d5f803e3d5ffd5b50505050505050612589565b60025f9054906101000a90046001600160a01b03166001600160a01b03166374933c2f838b73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612517573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061253b91906151ee565b856040518563ffffffff1660e01b815260040161255b9493929190615209565b5f604051808303815f87803b158015612572575f80fd5b505af1158015612584573d5f803e3d5ffd5b505050505b505050505050505050565b3361259d6133f8565b6001600160a01b0316816001600160a01b0316146125d85760405162d1953b60e31b81526001600160a01b03821660048201526024016108e9565b816001600160a01b03163b5f0361260d576040516361798f2f60e11b81526001600160a01b03831660048201526024016108e9565b61261682614060565b5050565b5f805f80516020615ab483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612686573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126aa9190615501565b15612735576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561270b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061272f9190614e85565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020615ad483398151915280545f9190600160a01b900460ff16612772575f61272f565b638fb3603760e01b91505090565b5f61278a33610455565b8660176127978282613817565b5f806127a161394b565b9150915089515f036127c857896040516337b67ced60e01b81526004016108e991906156dc565b60405163790a38ad60e01b815264ffffffffff8816600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af415801561281c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128409190615501565b8061294057508664ffffffffff1673__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__6394335b1a909173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156128b1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128d59190615547565b6040516001600160e01b031960e085901b16815264ffffffffff928316600482015291166024820152604401602060405180830381865af415801561291c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129409190615501565b156129675760405163186399e560e31b815264ffffffffff881660048201526024016108e9565b5f61297a6001546001600160a01b031690565b60405163677d3feb60e11b81526001600160601b038e1660048201526001600160a01b03919091169063cefa7fd690602401602060405180830381865afa1580156129c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129eb91906151ee565b90506129f78184613d0b565b15612a305760405163e172170d60e01b81526001600160601b03808e1660048301528083166024830152841660448201526064016108e9565b5f826001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a919190614e85565b6040516313d8ebc960e11b81526001600160601b038f1660048201529091505f906001600160a01b038316906327b1d792906024015f60405180830381865afa158015612ae0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612b079190810190615618565b516040516368322c6360e11b81529091505f906001600160a01b0384169063d06458c690612b39908590600401614ada565b5f60405180830381865afa158015612b53573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612b7a91908101906156ee565b90508b63ffffffff16816060015163ffffffff161015612bbb576060810151604051631bdd82b160e31b815263ffffffff90911660048201526024016108e9565b80516001600160a01b03808f1691161115612ce957805160405163e2eb023b60e01b81526001600160a01b03909116600482015273__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b90602401602060405180830381865af4158015612c29573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c4d91906153b1565b60405163e2eb023b60e01b81526001600160a01b038f16600482015273__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b90602401602060405180830381865af4158015612ca3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612cc791906153b1565b604051637025bb8d60e11b8152600481019290925260248201526044016108e9565b60408101516001600160a01b03808f1691161015612e1d57604081810151905163e2eb023b60e01b81526001600160a01b03909116600482015273__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b90602401602060405180830381865af4158015612d5d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d8191906153b1565b60405163e2eb023b60e01b81526001600160a01b038f16600482015273__$bf7bc340cbb9229ef1de2c568356e67902$__9063e2eb023b90602401602060405180830381865af4158015612dd7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dfb91906153b1565b60405163d80ce0cf60e01b8152600481019290925260248201526044016108e9565b6080810151604051633682752160e21b815264ffffffffff909116600482015273__$71e292c09eace9601b3e21e68a1278917a$__9063da09d48490602401602060405180830381865af4158015612e77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e9b91906153b1565b73__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612ee2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f069190615547565b604051633682752160e21b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063da09d48490602401602060405180830381865af4158015612f5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f7f91906153b1565b604051633682752160e21b815264ffffffffff8e16600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063da09d48490602401602060405180830381865af4158015612fd3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ff791906153b1565b613001919061580f565b111561303757608081015160405163941185d360e01b815264ffffffffff9182166004820152908c1660248201526044016108e9565b5050604051631f849e6b60e11b815273__$05887d5853069c88bcd4c0a2107db45f29$__9150633f093cd6906130739086908f906004016153c8565b602060405180830381865af415801561308e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130b291906153e9565b95505f604051806101000160405280856001600160601b031681526020018e6001600160601b031681526020018b63ffffffff1681526020015f63ffffffff1681526020018c6001600160a01b031681526020018a64ffffffffff1681526020018d8152602001898152509050826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561315b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061317f9190614e85565b6001600160a01b0316634a82439288836040518363ffffffff1660e01b81526004016131ac929190615822565b5f604051808303815f87803b1580156131c3575f80fd5b505af11580156131d5573d5f803e3d5ffd5b505050505050505050509695505050505050565b6131f233610455565b6131fd836017613817565b5f8061320761394b565b91509150613275816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561324a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061326e9190614e85565b8584613f39565b5f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156132b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132d69190614e85565b6040516313d8ebc960e11b81526001600160601b03881660048201526001600160a01b0391909116906327b1d792906024015f60405180830381865afa158015613322573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526133499190810190615618565b6001600160c01b0319861681526060810185905260408051631a99b41b60e31b815290519192506001600160a01b0384169163d4cda0d8916004808201926020929091908290030181865afa1580156133a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133c89190614e85565b6001600160a01b0316632bce2d7c878360ff6040518463ffffffff1660e01b8152600401610686939291906156bb565b5f80516020615ad4833981519152546001600160a01b031690565b5f805f846001600160a01b0316631d3be477856040518263ffffffff1660e01b81526004016134429190614ada565b5f60405180830381865afa15801561345c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526134839190810190614f1b565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156134e0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135049190615501565b156135815773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015613550573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135749190614e85565b60645b9250925050613712565b6136038160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156135d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135f49190615547565b64ffffffffff90811691161090565b1561367a5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561364f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906136739190614e85565b606e613577565b806040015163ffffffff16816060015163ffffffff16106137075773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156136dc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137009190614e85565b6078613577565b608001519150600a90505b9250929050565b5f80516020615ad48339815191525f806137516137346133f8565b873061374360045f8a8c615846565b61374c9161586d565b6140c0565b915091508161380f5763ffffffff8116156137ec57825460ff60a01b1916600160a01b17835561377f6133f8565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016137ae939291906158a5565b5f604051808303815f87803b1580156137c5575f80fd5b505af11580156137d7573d5f803e3d5ffd5b5050845460ff60a01b191685555061380f9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016108e9565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015613867573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061388b9190615501565b8061391957506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156138f3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139179190615501565b155b156126165760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016108e9565b5f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__63ed3526476139796001546001600160a01b031690565b6040805160e084901b6001600160e01b03191681526001600160a01b03929092166004830152336024830152600e604483015280516064808401938290030181865af41580156139cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139ef91906158e4565b915091509091565b604051631315996960e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063262b32d2906044015b602060405180830381865af4158015613a58573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a7c9190615501565b90505b92915050565b604051632601631360e21b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c90604401613a3d565b5f805f80516020615ab483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613b3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613b5f9190615501565b15613b8b5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016108e9565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015613bdd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c019190615501565b613c295760405163b9304b0d60e01b81526001600160a01b03841660048201526024016108e9565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613c7b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c9f91906151ee565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f613a7c8284615911565b5f6001600160a01b038083169084161015613d015760405163117efe6d60e31b815260040160405180910390fd5b613a7c8284615930565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401613a3d565b613d5d6141c8565b60405163502ec37160e01b815260040160405180910390fd5b5f80516020615af48339815191528054600160401b810460ff1615906001600160401b03165f81158015613da75750825b90505f826001600160401b03166001148015613dc25750303b155b905081158015613dd0575080155b15613dee5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315613e1857845460ff60401b1916600160401b1785555b5f8087806020019051810190613e2e919061594f565b91509150613e3d82828b614200565b613e4760286142a2565b600280546001600160a01b0319166001600160a01b0392909216919091179055613e71600b6142a2565b600380546001600160a01b0319166001600160a01b0392909216919091179055613e9b600a6142a2565b600480546001600160a01b0319166001600160a01b0392909216919091179055613ec560026142a2565b600580546001600160a01b0319166001600160a01b0392909216919091179055613ef563c7f9373d60e01b614333565b50508315611c8a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611c81565b6040516368322c6360e11b81525f906001600160a01b0385169063d06458c690613f67908690600401614ada565b5f60405180830381865afa158015613f81573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613fa891908101906156ee565b602001519050613fb88183613d0b565b156106b6578281836040516313bf6c4560e21b81526004016108e99392919061551c565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af415801561403c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a7c91906151ee565b5f80516020615ad483398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161412e919061596b565b5f60405180830381855afa9150503d805f8114614166576040519150601f19603f3d011682016040523d82523d5f602084013e61416b565b606091505b509150915081156141bd57604081511061419d57808060200190518101906141939190615981565b90945092506141bd565b60208151106141bd57808060200190518101906141ba9190615501565b93505b505094509492505050565b5f80516020615af483398151915254600160401b900460ff166141fe57604051631afcd79f60e31b815260040160405180910390fd5b565b6142086141c8565b614210614366565b61428d8383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015614251573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061427591906151ee565b60085f8660405180602001604052805f815250614376565b61429d63daf9067160e01b614333565b505050565b5f6142b56001546001600160a01b031690565b6001600160a01b031663d39e6043836142cc611ff9565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561430f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a7f9190614e85565b61433b6141c8565b614363816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b61436e6141c8565b6141fe6144bd565b61437e6141c8565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156143d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906143f89190615501565b6144205760405163cf6935e560e01b81526001600160a01b03881660048201526024016108e9565b614429876144eb565b61443386836144fc565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016144a283826159f9565b506144b3634a531f3360e01b614333565b5050505050505050565b6144c56141c8565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6144f36141c8565b61436381614572565b6145046141c8565b61450c614583565b614515826145cb565b6001600160a01b03811661453c5760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020615ab483398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b61457a6141c8565b61436381614060565b61458b6141c8565b6141fe6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6145d36141c8565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015614629573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061464d9190615501565b6146755760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108e9565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f602082840312156146a7575f80fd5b81356001600160e01b0319811681146146be575f80fd5b9392505050565b6001600160601b0381168114614363575f80fd5b80356146e4816146c5565b919050565b6001600160c01b031981168114614363575f80fd5b5f806040838503121561470f575f80fd5b823561471a816146c5565b9150602083013561472a816146e9565b809150509250929050565b5f8060408385031215614746575f80fd5b8235614751816146c5565b9150602083013561472a816146c5565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516147d7608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261481b610100840182614761565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b60405161024081016001600160401b038111828210171561485a5761485a614823565b60405290565b60405161010081016001600160401b038111828210171561485a5761485a614823565b604051606081016001600160401b038111828210171561485a5761485a614823565b604051608081016001600160401b038111828210171561485a5761485a614823565b60405161014081016001600160401b038111828210171561485a5761485a614823565b604051601f8201601f191681016001600160401b038111828210171561491257614912614823565b604052919050565b5f6001600160401b0382111561493257614932614823565b50601f01601f191660200190565b5f82601f83011261494f575f80fd5b8135602083015f6149676149628461491a565b6148ea565b905082815285838301111561497a575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160a01b0381168114614363575f80fd5b80356146e481614994565b63ffffffff81168114614363575f80fd5b80356146e4816149b3565b64ffffffffff81168114614363575f80fd5b80356146e4816149cf565b8015158114614363575f80fd5b80356146e4816149ec565b5f805f805f805f805f6101208a8c031215614a1d575f80fd5b89356001600160401b03811115614a32575f80fd5b614a3e8c828d01614940565b99505060208a0135614a4f81614994565b9750614a5d60408b016149a8565b9650614a6b60608b016149a8565b9550614a7960808b016149c4565b9450614a8760a08b016149e1565b9350614a9560c08b016149f9565b9250614aa360e08b016149f9565b91506101008a01356001600160401b03811115614abe575f80fd5b614aca8c828d01614940565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b5f60208284031215614aff575f80fd5b81356001600160401b03811115614b14575f80fd5b61481b84828501614940565b5f8060408385031215614b31575f80fd5b8235614b3c81614994565b915060208301356001600160401b03811115614b56575f80fd5b614b6285828601614940565b9150509250929050565b5f805f60608486031215614b7e575f80fd5b8335614b8981614994565b92506020840135614b99816146e9565b915060408401356001600160401b03811115614bb3575f80fd5b614bbf86828701614940565b9150509250925092565b5f805f838503610280811215614bdd575f80fd5b8435614be8816146c5565b93506020850135614bf8816146e9565b9250610240603f1982011215614c0c575f80fd5b50614c15614837565b614c21604086016146d9565b8152614c2f606086016146d9565b6020820152614c40608086016146d9565b6040820152614c5160a086016146d9565b6060820152614c6260c086016146d9565b6080820152614c7360e086016146d9565b60a0820152614c8561010086016146d9565b60c0820152614c9761012086016146d9565b60e0820152614ca961014086016146d9565b610100820152614cbc61016086016146d9565b610120820152614ccf61018086016146d9565b610140820152614ce26101a086016146d9565b610160820152614cf56101c086016146d9565b610180820152614d086101e086016146d9565b6101a0820152614d1b61020086016146d9565b6101c0820152614d2e61022086016146d9565b6101e0820152614d4161024086016146d9565b610200820152614d5461026086016146d9565b610220820152809150509250925092565b5f60208284031215614d75575f80fd5b81356146be81614994565b5f805f805f8060c08789031215614d95575f80fd5b8635614da0816146c5565b955060208701356001600160401b03811115614dba575f80fd5b614dc689828a01614940565b9550506040870135614dd781614994565b93506060870135614de7816149b3565b92506080870135614df7816149cf565b915060a08701356001600160401b03811115614e11575f80fd5b614e1d89828a01614940565b9150509295509295509295565b5f805f60608486031215614e3c575f80fd5b8335614b89816146c5565b5f8060408385031215614e58575f80fd5b823561471a81614994565b6001600160a01b039290921682526001600160601b0316602082015260400190565b5f60208284031215614e95575f80fd5b81516146be81614994565b80516146e4816146c5565b80516146e4816149b3565b80516146e481614994565b80516146e4816149cf565b5f82601f830112614edb575f80fd5b8151602083015f614eee6149628461491a565b9050828152858383011115614f01575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215614f2b575f80fd5b81516001600160401b03811115614f40575f80fd5b82016101008185031215614f52575f80fd5b614f5a614860565b614f6382614ea0565b8152614f7160208301614ea0565b6020820152614f8260408301614eab565b6040820152614f9360608301614eab565b6060820152614fa460808301614eb6565b6080820152614fb560a08301614ec1565b60a082015260c08201516001600160401b03811115614fd2575f80fd5b614fde86828501614ecc565b60c08301525060e08201516001600160401b03811115614ffc575f80fd5b61500886828501614ecc565b60e083015250949350505050565b634e487b7160e01b5f52601160045260245ffd5b63ffffffff8181168382160190811115613a7f57613a7f615016565b6001600160601b0381511682525f602082015161506e60208501826001600160601b03169052565b506040820151615086604085018263ffffffff169052565b50606082015161509e606085018263ffffffff169052565b5060808201516150b960808501826001600160a01b03169052565b5060a08201516150d260a085018264ffffffffff169052565b5060c082015161010060c08501526150ee610100850182614761565b905060e083015184820360e08601526151078282614761565b95945050505050565b6001600160401b0360c01b84168152606060208201525f6151346060830185615046565b905060ff83166040830152949350505050565b5f60208284031215615157575f80fd5b81516001600160401b0381111561516c575f80fd5b82016060818503121561517d575f80fd5b615185614883565b81516001600160401b0381111561519a575f80fd5b6151a686828501614ecc565b82525060208201516151b781614994565b602082015260408201516001600160401b038111156151d4575f80fd5b6151e086828501614ecc565b604083015250949350505050565b5f602082840312156151fe575f80fd5b81516146be816146c5565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b5f6020828403121561524b575f80fd5b815162ffffff811681146146be575f80fd5b600181811c9082168061527157607f821691505b60208210810361528f57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f604082840312156152a5575f80fd5b604080519081016001600160401b03811182821017156152c7576152c7614823565b806040525080915082516152da81614994565b815260208301516152ea816146c5565b6020919091015292915050565b5f6101c0828403128015615309575f80fd5b5060405160e081016001600160401b038111828210171561532c5761532c614823565b6040526153398484615295565b81526153488460408501615295565b602082015261535a8460808501615295565b604082015261536c8460c08501615295565b606082015261537f846101008501615295565b6080820152615392846101408501615295565b60a08201526153a5846101808501615295565b60c08201529392505050565b5f602082840312156153c1575f80fd5b5051919050565b6001600160601b0383168152604060208201525f61481b6040830184614761565b5f602082840312156153f9575f80fd5b81516146be816146e9565b6001600160c01b03198316815260406020820181905282516001600160a01b0316908201525f602083015161544460608401826001600160601b03169052565b5060408301516001600160a01b038116608084015250606083015163ffffffff811660a084015250608083015164ffffffffff811660c08401525060a083015180151560e08401525060c08301518015156101008401525060e08301516001600160a01b03811661012084015250610100830151610140808401526154cd610180840182614761565b9050610120840151603f19848303016101608501526154ec8282614761565b9695505050505050565b80516146e4816149ec565b5f60208284031215615511575f80fd5b81516146be816149ec565b6001600160c01b03199390931683526001600160601b03918216602084015216604082015260600190565b5f60208284031215615557575f80fd5b81516146be816149cf565b6001600160401b0381168114614363575f80fd5b5f60208284031215615586575f80fd5b81516146be81615562565b6001600160401b0360c01b815116825260208101511515602083015263ffffffff60408201511660408301525f60608201516080606085015261481b6080850182614761565b6001600160601b0383168152604060208201525f61481b6040830184615591565b5f60208284031215615608575f80fd5b815160ff811681146146be575f80fd5b5f60208284031215615628575f80fd5b81516001600160401b0381111561563d575f80fd5b82016080818503121561564e575f80fd5b6156566148a5565b8151615661816146e9565b81526020820151615671816149ec565b60208201526040820151615684816149b3565b604082015260608201516001600160401b038111156156a1575f80fd5b6156ad86828501614ecc565b606083015250949350505050565b6001600160601b0384168152606060208201525f6151346060830185615591565b602081525f613a7c6020830184614761565b5f602082840312156156fe575f80fd5b81516001600160401b03811115615713575f80fd5b82016101408185031215615725575f80fd5b61572d6148c7565b61573682614eb6565b815261574460208301614ea0565b602082015261575560408301614eb6565b604082015261576660608301614eab565b606082015261577760808301614ec1565b608082015261578860a083016154f6565b60a082015261579960c083016154f6565b60c08201526157aa60e08301614eb6565b60e08201526101008201516001600160401b038111156157c8575f80fd5b6157d486828501614ecc565b610100830152506101208201516001600160401b038111156157f4575f80fd5b61580086828501614ecc565b61012083015250949350505050565b81810381811115613a7f57613a7f615016565b6001600160401b0360c01b83168152604060208201525f61481b6040830184615046565b5f8085851115615854575f80fd5b83861115615860575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561589e576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f80604083850312156158f5575f80fd5b8251615900816146c5565b602084015190925061472a81614994565b6001600160a01b038181168382160190811115613a7f57613a7f615016565b6001600160a01b038281168282160390811115613a7f57613a7f615016565b5f8060408385031215615960575f80fd5b825161590081614994565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615992575f80fd5b825161599d816149ec565b602084015190925061472a816149b3565b601f82111561429d57805f5260205f20601f840160051c810160208510156159d35750805b601f840160051c820191505b818110156159f2575f81556001016159df565b5050505050565b81516001600160401b03811115615a1257615a12614823565b615a2681615a20845461525d565b846159ae565b6020601f821160018114615a58575f8315615a415750848201515b5f19600385901b1c1916600184901b1784556159f2565b5f84815260208120601f198516915b82811015615a875787850151825560209485019460019092019101615a67565b5084821015615aa457868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220de34fe9a41d9deb9904f7e76b1fdb7786a47b76b52467b6952198a3f6589a84b64736f6c634300081a0033",
1167
+ "linkReferences": {
1168
+ "contracts/pool/PoolLib.sol": {
1169
+ "PoolLib": [
1170
+ {
1171
+ "length": 20,
1172
+ "start": 14885
1173
+ }
1174
+ ]
1175
+ },
1176
+ "contracts/shared/ContractLib.sol": {
1177
+ "ContractLib": [
1178
+ {
1179
+ "length": 20,
1180
+ "start": 1361
1181
+ },
1182
+ {
1183
+ "length": 20,
1184
+ "start": 5968
1185
+ },
1186
+ {
1187
+ "length": 20,
1188
+ "start": 8528
1189
+ },
1190
+ {
1191
+ "length": 20,
1192
+ "start": 17522
1193
+ },
1194
+ {
1195
+ "length": 20,
1196
+ "start": 18119
1197
+ }
1198
+ ]
1199
+ },
1200
+ "contracts/type/Amount.sol": {
1201
+ "AmountLib": [
1202
+ {
1203
+ "length": 20,
1204
+ "start": 2317
1205
+ },
1206
+ {
1207
+ "length": 20,
1208
+ "start": 2643
1209
+ },
1210
+ {
1211
+ "length": 20,
1212
+ "start": 2863
1213
+ },
1214
+ {
1215
+ "length": 20,
1216
+ "start": 9162
1217
+ },
1218
+ {
1219
+ "length": 20,
1220
+ "start": 9640
1221
+ },
1222
+ {
1223
+ "length": 20,
1224
+ "start": 15093
1225
+ },
1226
+ {
1227
+ "length": 20,
1228
+ "start": 15235
1229
+ },
1230
+ {
1231
+ "length": 20,
1232
+ "start": 16602
1233
+ }
1234
+ ]
1235
+ },
1236
+ "contracts/type/DistributorType.sol": {
1237
+ "DistributorTypeLib": [
1238
+ {
1239
+ "length": 20,
1240
+ "start": 5115
1241
+ }
1242
+ ]
1243
+ },
1244
+ "contracts/type/NftId.sol": {
1245
+ "NftIdLib": [
1246
+ {
1247
+ "length": 20,
1248
+ "start": 3722
1249
+ },
1250
+ {
1251
+ "length": 20,
1252
+ "start": 5726
1253
+ },
1254
+ {
1255
+ "length": 20,
1256
+ "start": 6349
1257
+ },
1258
+ {
1259
+ "length": 20,
1260
+ "start": 7707
1261
+ },
1262
+ {
1263
+ "length": 20,
1264
+ "start": 10020
1265
+ },
1266
+ {
1267
+ "length": 20,
1268
+ "start": 15321
1269
+ },
1270
+ {
1271
+ "length": 20,
1272
+ "start": 15881
1273
+ }
1274
+ ]
1275
+ },
1276
+ "contracts/type/ObjectType.sol": {
1277
+ "ObjectTypeLib": [
1278
+ {
1279
+ "length": 20,
1280
+ "start": 14597
1281
+ }
1282
+ ]
1283
+ },
1284
+ "contracts/type/Referral.sol": {
1285
+ "ReferralLib": [
1286
+ {
1287
+ "length": 20,
1288
+ "start": 5839
1289
+ },
1290
+ {
1291
+ "length": 20,
1292
+ "start": 12574
1293
+ }
1294
+ ]
1295
+ },
1296
+ "contracts/type/RoleId.sol": {
1297
+ "RoleIdLib": [
1298
+ {
1299
+ "length": 20,
1300
+ "start": 8262
1301
+ }
1302
+ ]
1303
+ },
1304
+ "contracts/type/Seconds.sol": {
1305
+ "SecondsLib": [
1306
+ {
1307
+ "length": 20,
1308
+ "start": 12053
1309
+ }
1310
+ ]
1311
+ },
1312
+ "contracts/type/Timestamp.sol": {
1313
+ "TimestampLib": [
1314
+ {
1315
+ "length": 20,
1316
+ "start": 6538
1317
+ },
1318
+ {
1319
+ "length": 20,
1320
+ "start": 6670
1321
+ },
1322
+ {
1323
+ "length": 20,
1324
+ "start": 6774
1325
+ },
1326
+ {
1327
+ "length": 20,
1328
+ "start": 10426
1329
+ },
1330
+ {
1331
+ "length": 20,
1332
+ "start": 10534
1333
+ },
1334
+ {
1335
+ "length": 20,
1336
+ "start": 10562
1337
+ },
1338
+ {
1339
+ "length": 20,
1340
+ "start": 12147
1341
+ },
1342
+ {
1343
+ "length": 20,
1344
+ "start": 12281
1345
+ },
1346
+ {
1347
+ "length": 20,
1348
+ "start": 12401
1349
+ },
1350
+ {
1351
+ "length": 20,
1352
+ "start": 13694
1353
+ },
1354
+ {
1355
+ "length": 20,
1356
+ "start": 13921
1357
+ }
1358
+ ]
1359
+ },
1360
+ "contracts/type/UFixed.sol": {
1361
+ "UFixedLib": [
1362
+ {
1363
+ "length": 20,
1364
+ "start": 4520
1365
+ },
1366
+ {
1367
+ "length": 20,
1368
+ "start": 4642
1369
+ },
1370
+ {
1371
+ "length": 20,
1372
+ "start": 4820
1373
+ },
1374
+ {
1375
+ "length": 20,
1376
+ "start": 4982
1377
+ },
1378
+ {
1379
+ "length": 20,
1380
+ "start": 11463
1381
+ },
1382
+ {
1383
+ "length": 20,
1384
+ "start": 11585
1385
+ },
1386
+ {
1387
+ "length": 20,
1388
+ "start": 11771
1389
+ },
1390
+ {
1391
+ "length": 20,
1392
+ "start": 11893
1393
+ },
1394
+ {
1395
+ "length": 20,
1396
+ "start": 13793
1397
+ },
1398
+ {
1399
+ "length": 20,
1400
+ "start": 14048
1401
+ },
1402
+ {
1403
+ "length": 20,
1404
+ "start": 14189
1405
+ }
1406
+ ]
1407
+ },
1408
+ "contracts/type/Version.sol": {
1409
+ "VersionLib": [
1410
+ {
1411
+ "length": 20,
1412
+ "start": 3522
1413
+ },
1414
+ {
1415
+ "length": 20,
1416
+ "start": 6949
1417
+ }
1418
+ ]
1419
+ }
1420
+ },
1421
+ "deployedLinkReferences": {
1422
+ "contracts/pool/PoolLib.sol": {
1423
+ "PoolLib": [
1424
+ {
1425
+ "length": 20,
1426
+ "start": 14671
1427
+ }
1428
+ ]
1429
+ },
1430
+ "contracts/shared/ContractLib.sol": {
1431
+ "ContractLib": [
1432
+ {
1433
+ "length": 20,
1434
+ "start": 1147
1435
+ },
1436
+ {
1437
+ "length": 20,
1438
+ "start": 5754
1439
+ },
1440
+ {
1441
+ "length": 20,
1442
+ "start": 8314
1443
+ },
1444
+ {
1445
+ "length": 20,
1446
+ "start": 17308
1447
+ },
1448
+ {
1449
+ "length": 20,
1450
+ "start": 17905
1451
+ }
1452
+ ]
1453
+ },
1454
+ "contracts/type/Amount.sol": {
1455
+ "AmountLib": [
1456
+ {
1457
+ "length": 20,
1458
+ "start": 2103
1459
+ },
1460
+ {
1461
+ "length": 20,
1462
+ "start": 2429
1463
+ },
1464
+ {
1465
+ "length": 20,
1466
+ "start": 2649
1467
+ },
1468
+ {
1469
+ "length": 20,
1470
+ "start": 8948
1471
+ },
1472
+ {
1473
+ "length": 20,
1474
+ "start": 9426
1475
+ },
1476
+ {
1477
+ "length": 20,
1478
+ "start": 14879
1479
+ },
1480
+ {
1481
+ "length": 20,
1482
+ "start": 15021
1483
+ },
1484
+ {
1485
+ "length": 20,
1486
+ "start": 16388
1487
+ }
1488
+ ]
1489
+ },
1490
+ "contracts/type/DistributorType.sol": {
1491
+ "DistributorTypeLib": [
1492
+ {
1493
+ "length": 20,
1494
+ "start": 4901
1495
+ }
1496
+ ]
1497
+ },
1498
+ "contracts/type/NftId.sol": {
1499
+ "NftIdLib": [
1500
+ {
1501
+ "length": 20,
1502
+ "start": 3508
1503
+ },
1504
+ {
1505
+ "length": 20,
1506
+ "start": 5512
1507
+ },
1508
+ {
1509
+ "length": 20,
1510
+ "start": 6135
1511
+ },
1512
+ {
1513
+ "length": 20,
1514
+ "start": 7493
1515
+ },
1516
+ {
1517
+ "length": 20,
1518
+ "start": 9806
1519
+ },
1520
+ {
1521
+ "length": 20,
1522
+ "start": 15107
1523
+ },
1524
+ {
1525
+ "length": 20,
1526
+ "start": 15667
1527
+ }
1528
+ ]
1529
+ },
1530
+ "contracts/type/ObjectType.sol": {
1531
+ "ObjectTypeLib": [
1532
+ {
1533
+ "length": 20,
1534
+ "start": 14383
1535
+ }
1536
+ ]
1537
+ },
1538
+ "contracts/type/Referral.sol": {
1539
+ "ReferralLib": [
1540
+ {
1541
+ "length": 20,
1542
+ "start": 5625
1543
+ },
1544
+ {
1545
+ "length": 20,
1546
+ "start": 12360
1547
+ }
1548
+ ]
1549
+ },
1550
+ "contracts/type/RoleId.sol": {
1551
+ "RoleIdLib": [
1552
+ {
1553
+ "length": 20,
1554
+ "start": 8048
1555
+ }
1556
+ ]
1557
+ },
1558
+ "contracts/type/Seconds.sol": {
1559
+ "SecondsLib": [
1560
+ {
1561
+ "length": 20,
1562
+ "start": 11839
1563
+ }
1564
+ ]
1565
+ },
1566
+ "contracts/type/Timestamp.sol": {
1567
+ "TimestampLib": [
1568
+ {
1569
+ "length": 20,
1570
+ "start": 6324
1571
+ },
1572
+ {
1573
+ "length": 20,
1574
+ "start": 6456
1575
+ },
1576
+ {
1577
+ "length": 20,
1578
+ "start": 6560
1579
+ },
1580
+ {
1581
+ "length": 20,
1582
+ "start": 10212
1583
+ },
1584
+ {
1585
+ "length": 20,
1586
+ "start": 10320
1587
+ },
1588
+ {
1589
+ "length": 20,
1590
+ "start": 10348
1591
+ },
1592
+ {
1593
+ "length": 20,
1594
+ "start": 11933
1595
+ },
1596
+ {
1597
+ "length": 20,
1598
+ "start": 12067
1599
+ },
1600
+ {
1601
+ "length": 20,
1602
+ "start": 12187
1603
+ },
1604
+ {
1605
+ "length": 20,
1606
+ "start": 13480
1607
+ },
1608
+ {
1609
+ "length": 20,
1610
+ "start": 13707
1611
+ }
1612
+ ]
1613
+ },
1614
+ "contracts/type/UFixed.sol": {
1615
+ "UFixedLib": [
1616
+ {
1617
+ "length": 20,
1618
+ "start": 4306
1619
+ },
1620
+ {
1621
+ "length": 20,
1622
+ "start": 4428
1623
+ },
1624
+ {
1625
+ "length": 20,
1626
+ "start": 4606
1627
+ },
1628
+ {
1629
+ "length": 20,
1630
+ "start": 4768
1631
+ },
1632
+ {
1633
+ "length": 20,
1634
+ "start": 11249
1635
+ },
1636
+ {
1637
+ "length": 20,
1638
+ "start": 11371
1639
+ },
1640
+ {
1641
+ "length": 20,
1642
+ "start": 11557
1643
+ },
1644
+ {
1645
+ "length": 20,
1646
+ "start": 11679
1647
+ },
1648
+ {
1649
+ "length": 20,
1650
+ "start": 13579
1651
+ },
1652
+ {
1653
+ "length": 20,
1654
+ "start": 13834
1655
+ },
1656
+ {
1657
+ "length": 20,
1658
+ "start": 13975
1659
+ }
1660
+ ]
1661
+ },
1662
+ "contracts/type/Version.sol": {
1663
+ "VersionLib": [
1664
+ {
1665
+ "length": 20,
1666
+ "start": 3308
1667
+ },
1668
+ {
1669
+ "length": 20,
1670
+ "start": 6735
1671
+ }
1672
+ ]
1673
+ }
1674
+ }
1675
+ }