@etherisc/gif-next 0.0.2-e9a637d-547 → 0.0.2-e9c25ee-730

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