@etherisc/gif-next 0.0.2-f72939c-380 → 0.0.2-f73b68c-992

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