@etherisc/gif-next 0.0.2-ff8087d-237 → 0.0.2-ffa91a6-022

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