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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (721) hide show
  1. package/README.md +77 -10
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1494 -0
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  12. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +673 -0
  14. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  16. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +615 -0
  18. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  19. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  20. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1224 -0
  22. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +382 -0
  24. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  26. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  27. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  28. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1209 -0
  30. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +644 -0
  32. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  33. package/artifacts/contracts/{components/IDistributionComponent.sol/IDistributionComponent.json → distribution/Distribution.sol/Distribution.json} +261 -331
  34. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1580 -0
  36. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +868 -0
  38. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +829 -0
  40. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  41. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +318 -306
  42. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  44. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1445 -0
  46. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +644 -0
  48. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2002 -0
  50. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +644 -0
  52. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  53. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1388 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +644 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1612 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +644 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2389 -0
  66. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  67. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +644 -0
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  69. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  70. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +384 -2276
  72. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  73. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +284 -82
  74. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  75. package/artifacts/contracts/instance/Instance.sol/Instance.json +534 -2908
  76. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2036 -0
  78. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +716 -0
  80. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1406 -517
  82. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +310 -361
  84. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +153 -143
  86. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  87. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3728 -0
  88. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  89. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  90. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  91. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  92. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  93. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -54
  94. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  96. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  98. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  100. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  101. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  102. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  103. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  106. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  107. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  108. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  109. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  110. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +938 -0
  111. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  112. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +632 -0
  113. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  114. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  115. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  116. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +753 -0
  117. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  118. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → oracle/IOracleService.sol/IOracleService.json} +280 -198
  119. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  120. package/artifacts/contracts/{components/Component.sol/Component.json → oracle/Oracle.sol/Oracle.json} +234 -253
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  122. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  124. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +764 -0
  125. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  126. package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → pool/BasicPool.sol/BasicPool.json} +398 -262
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  128. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +644 -0
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  130. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1261 -0
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  132. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +800 -0
  133. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  134. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +223 -73
  135. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  136. package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → pool/IPoolComponent.sol/IPoolComponent.json} +321 -296
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  138. package/artifacts/contracts/{instance/service → pool}/IPoolService.sol/IPoolService.json +511 -358
  139. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  140. package/artifacts/contracts/pool/Pool.sol/Pool.json +1006 -0
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  142. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  144. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1574 -0
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  146. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +808 -0
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  148. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +879 -0
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  150. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +740 -0
  151. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  152. package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +415 -473
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  154. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +644 -0
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  156. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1496 -0
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  158. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +848 -0
  159. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  160. package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +155 -135
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  162. package/artifacts/contracts/{instance/service → product}/IClaimService.sol/IClaimService.json +338 -17
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  164. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
  165. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  166. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +623 -0
  167. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  168. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +997 -0
  169. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  170. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +100 -62
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  172. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1333 -0
  173. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  174. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  176. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  178. package/artifacts/contracts/product/PricingService.sol/PricingService.json +951 -0
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  180. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +784 -0
  181. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  182. package/artifacts/contracts/product/Product.sol/Product.json +1098 -0
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  184. package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  186. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  188. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  190. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +483 -29
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  192. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +291 -106
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  194. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  196. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  197. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  198. package/artifacts/contracts/registry/Registry.sol/Registry.json +982 -137
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  200. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2018 -0
  201. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  202. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +878 -0
  203. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  204. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +362 -243
  205. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  206. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +164 -86
  207. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  208. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1954 -0
  209. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  210. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  211. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  212. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1337 -0
  213. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  214. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  215. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  216. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +317 -141
  217. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  218. package/artifacts/contracts/shared/Component.sol/Component.json +686 -0
  219. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  220. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1556 -0
  221. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  222. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +816 -0
  223. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  224. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +60 -206
  225. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +597 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  233. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  234. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +117 -142
  235. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  236. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/IComponentService.sol/IComponentService.json} +608 -788
  237. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  238. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +688 -0
  239. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  240. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
  241. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  242. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  243. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  244. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +23 -1
  245. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  246. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -30
  247. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  248. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +154 -0
  249. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  250. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  251. package/artifacts/contracts/shared/IService.sol/IService.json +74 -2
  252. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  253. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  254. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  255. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +776 -0
  256. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  257. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  258. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  259. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  260. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  261. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  262. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  263. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +28 -57
  264. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  265. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +20 -124
  266. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  267. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -90
  268. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  269. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  270. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  271. package/artifacts/contracts/shared/Service.sol/Service.json +67 -102
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +617 -8
  274. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  276. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  277. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  278. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  279. package/artifacts/contracts/{components/Pool.sol/Pool.json → staking/IStaking.sol/IStaking.json} +673 -589
  280. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  281. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1167 -0
  282. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  283. package/artifacts/contracts/staking/Staking.sol/Staking.json +1888 -0
  284. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  286. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  288. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +792 -0
  290. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +560 -0
  292. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1380 -0
  294. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +736 -0
  296. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  298. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  299. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  300. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  301. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  302. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  304. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  306. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  308. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  310. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  312. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  313. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  314. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  315. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  316. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  318. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  319. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  320. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  322. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  324. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  326. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  328. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  330. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +433 -0
  332. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  334. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  336. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  338. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  340. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  342. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  343. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -7
  344. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  346. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  348. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  349. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  350. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  351. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  352. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  354. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  356. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  357. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  358. package/contracts/accounting/AccountingService.sol +262 -0
  359. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  360. package/contracts/accounting/IAccountingService.sol +45 -0
  361. package/contracts/authorization/AccessAdmin.sol +704 -0
  362. package/contracts/authorization/AccessAdminLib.sol +183 -0
  363. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  364. package/contracts/authorization/Authorization.sol +365 -0
  365. package/contracts/authorization/IAccess.sol +49 -0
  366. package/contracts/authorization/IAccessAdmin.sol +170 -0
  367. package/contracts/authorization/IAuthorization.sol +80 -0
  368. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  369. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  370. package/contracts/distribution/BasicDistribution.sol +141 -0
  371. package/contracts/distribution/BasicDistributionAuthorization.sol +60 -0
  372. package/contracts/distribution/Distribution.sol +244 -0
  373. package/contracts/distribution/DistributionService.sol +385 -0
  374. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  375. package/contracts/distribution/IDistributionComponent.sol +43 -0
  376. package/contracts/distribution/IDistributionService.sol +103 -0
  377. package/contracts/examples/fire/DamageLevel.sol +59 -0
  378. package/contracts/examples/fire/FirePool.sol +86 -0
  379. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  380. package/contracts/examples/fire/FireProduct.sol +433 -0
  381. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  382. package/contracts/examples/fire/FireUSD.sol +26 -0
  383. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  384. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  385. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  386. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  387. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  388. package/contracts/examples/unpermissioned/SimpleProduct.sol +373 -0
  389. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  390. package/contracts/instance/BundleSet.sol +130 -0
  391. package/contracts/instance/IInstance.sol +78 -77
  392. package/contracts/instance/IInstanceService.sol +51 -30
  393. package/contracts/instance/Instance.sol +202 -224
  394. package/contracts/instance/InstanceAdmin.sol +450 -0
  395. package/contracts/instance/InstanceAuthorizationV3.sol +235 -0
  396. package/contracts/instance/InstanceReader.sol +366 -82
  397. package/contracts/instance/InstanceService.sol +317 -339
  398. package/contracts/instance/InstanceServiceManager.sol +14 -29
  399. package/contracts/instance/InstanceStore.sol +298 -0
  400. package/contracts/instance/RiskSet.sol +118 -0
  401. package/contracts/instance/base/BalanceStore.sol +123 -0
  402. package/contracts/instance/base/Cloneable.sol +28 -0
  403. package/contracts/instance/base/ObjectCounter.sol +20 -0
  404. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  405. package/contracts/instance/base/ObjectSet.sol +77 -0
  406. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  407. package/contracts/instance/module/IBundle.sol +6 -9
  408. package/contracts/instance/module/IComponents.sol +28 -19
  409. package/contracts/instance/module/IDistribution.sol +10 -8
  410. package/contracts/instance/module/IPolicy.sol +41 -33
  411. package/contracts/instance/module/IRisk.sol +4 -1
  412. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  413. package/contracts/oracle/BasicOracle.sol +45 -0
  414. package/contracts/oracle/BasicOracleAuthorization.sol +37 -0
  415. package/contracts/oracle/IOracle.sol +36 -0
  416. package/contracts/oracle/IOracleComponent.sol +33 -0
  417. package/contracts/oracle/IOracleService.sol +66 -0
  418. package/contracts/oracle/Oracle.sol +154 -0
  419. package/contracts/oracle/OracleService.sol +310 -0
  420. package/contracts/oracle/OracleServiceManager.sol +39 -0
  421. package/contracts/pool/BasicPool.sol +173 -0
  422. package/contracts/pool/BasicPoolAuthorization.sol +76 -0
  423. package/contracts/pool/BundleService.sol +395 -0
  424. package/contracts/pool/BundleServiceManager.sol +39 -0
  425. package/contracts/{instance/service → pool}/IBundleService.sol +43 -46
  426. package/contracts/pool/IPoolComponent.sol +62 -0
  427. package/contracts/pool/IPoolService.sol +165 -0
  428. package/contracts/pool/Pool.sol +343 -0
  429. package/contracts/pool/PoolLib.sol +216 -0
  430. package/contracts/pool/PoolService.sol +755 -0
  431. package/contracts/pool/PoolServiceManager.sol +39 -0
  432. package/contracts/product/ApplicationService.sol +274 -0
  433. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
  434. package/contracts/product/BasicProduct.sol +49 -0
  435. package/contracts/product/BasicProductAuthorization.sol +56 -0
  436. package/contracts/product/ClaimService.sol +632 -0
  437. package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
  438. package/contracts/{instance/service → product}/IApplicationService.sol +19 -29
  439. package/contracts/{instance/service → product}/IClaimService.sol +64 -19
  440. package/contracts/product/IPolicyService.sol +95 -0
  441. package/contracts/product/IPricingService.sol +40 -0
  442. package/contracts/product/IProductComponent.sol +62 -0
  443. package/contracts/product/IRiskService.sol +33 -0
  444. package/contracts/product/PolicyService.sol +664 -0
  445. package/contracts/product/PolicyServiceLib.sol +65 -0
  446. package/contracts/product/PolicyServiceManager.sol +39 -0
  447. package/contracts/product/PricingService.sol +309 -0
  448. package/contracts/product/PricingServiceManager.sol +39 -0
  449. package/contracts/product/Product.sol +467 -0
  450. package/contracts/product/RiskService.sol +154 -0
  451. package/contracts/product/RiskServiceManager.sol +39 -0
  452. package/contracts/registry/ChainNft.sol +79 -40
  453. package/contracts/registry/IRegistry.sol +95 -30
  454. package/contracts/registry/IRegistryService.sol +34 -38
  455. package/contracts/registry/IRelease.sol +26 -0
  456. package/contracts/registry/ITransferInterceptor.sol +1 -2
  457. package/contracts/registry/Registry.sol +460 -197
  458. package/contracts/registry/RegistryAdmin.sol +258 -0
  459. package/contracts/registry/RegistryAuthorization.sol +267 -0
  460. package/contracts/registry/RegistryService.sol +89 -130
  461. package/contracts/registry/RegistryServiceManager.sol +23 -32
  462. package/contracts/registry/ReleaseAdmin.sol +253 -0
  463. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  464. package/contracts/registry/ReleaseRegistry.sol +517 -0
  465. package/contracts/registry/ServiceAuthorizationV3.sol +331 -0
  466. package/contracts/registry/TokenRegistry.sol +261 -64
  467. package/contracts/shared/Component.sol +210 -0
  468. package/contracts/shared/ComponentService.sol +708 -0
  469. package/contracts/shared/ComponentServiceManager.sol +38 -0
  470. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  471. package/contracts/shared/ContractLib.sol +281 -0
  472. package/contracts/shared/IComponent.sol +58 -0
  473. package/contracts/shared/IComponentService.sol +112 -0
  474. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  475. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  476. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  477. package/contracts/shared/INftOwnable.sol +4 -2
  478. package/contracts/shared/IPolicyHolder.sol +16 -21
  479. package/contracts/shared/IRegisterable.sol +23 -1
  480. package/contracts/shared/IService.sol +12 -7
  481. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +12 -4
  482. package/contracts/shared/InstanceLinkedComponent.sol +195 -0
  483. package/contracts/shared/KeyValueStore.sol +131 -0
  484. package/contracts/shared/Lifecycle.sol +88 -0
  485. package/contracts/shared/NftIdSet.sol +65 -0
  486. package/contracts/shared/NftOwnable.sol +34 -25
  487. package/contracts/shared/PolicyHolder.sol +20 -52
  488. package/contracts/shared/Registerable.sol +55 -24
  489. package/contracts/shared/RegistryLinked.sol +9 -14
  490. package/contracts/shared/Service.sol +33 -40
  491. package/contracts/shared/TokenHandler.sol +320 -13
  492. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  493. package/contracts/staking/IStaking.sol +175 -0
  494. package/contracts/staking/IStakingService.sol +172 -0
  495. package/contracts/staking/Staking.sol +546 -0
  496. package/contracts/staking/StakingLib.sol +281 -0
  497. package/contracts/staking/StakingLifecycle.sol +23 -0
  498. package/contracts/staking/StakingManager.sol +52 -0
  499. package/contracts/staking/StakingReader.sol +180 -0
  500. package/contracts/staking/StakingService.sol +464 -0
  501. package/contracts/staking/StakingServiceManager.sol +45 -0
  502. package/contracts/staking/StakingStore.sol +606 -0
  503. package/contracts/staking/TargetManagerLib.sol +211 -0
  504. package/contracts/{types → type}/AddressSet.sol +1 -1
  505. package/contracts/{types → type}/Amount.sol +44 -3
  506. package/contracts/{types → type}/Blocknumber.sol +26 -3
  507. package/contracts/{types → type}/ClaimId.sol +6 -1
  508. package/contracts/{types → type}/Fee.sol +17 -16
  509. package/contracts/{types → type}/Key32.sol +2 -2
  510. package/contracts/type/Key32Set.sol +62 -0
  511. package/contracts/{types → type}/NftId.sol +21 -16
  512. package/contracts/{types → type}/NftIdSet.sol +2 -2
  513. package/contracts/type/ObjectType.sol +294 -0
  514. package/contracts/{types → type}/PayoutId.sol +10 -10
  515. package/contracts/{types → type}/Referral.sol +2 -1
  516. package/contracts/type/RequestId.sol +75 -0
  517. package/contracts/type/RiskId.sol +75 -0
  518. package/contracts/type/RoleId.sol +182 -0
  519. package/contracts/type/Seconds.sol +101 -0
  520. package/contracts/type/Selector.sol +107 -0
  521. package/contracts/{types → type}/StateId.sol +41 -2
  522. package/contracts/type/String.sol +53 -0
  523. package/contracts/{types → type}/Timestamp.sol +16 -7
  524. package/contracts/{types → type}/UFixed.sol +40 -121
  525. package/contracts/{types → type}/Version.sol +58 -7
  526. package/contracts/{shared → upgradeability}/IVersionable.sol +1 -1
  527. package/contracts/{shared → upgradeability}/ProxyManager.sol +93 -30
  528. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  529. package/contracts/{shared → upgradeability}/Versionable.sol +3 -3
  530. package/package.json +12 -8
  531. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  532. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  533. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  534. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  535. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  536. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  537. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  538. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  539. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  540. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  541. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  542. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  543. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  544. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  545. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1330
  546. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  547. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
  548. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  549. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  550. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  551. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  552. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  553. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  554. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  555. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  556. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -237
  557. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  558. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  559. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  560. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  561. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1124
  562. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  563. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -688
  564. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  565. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1283
  566. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  567. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -696
  568. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  569. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -1384
  570. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  571. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -752
  572. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  573. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1847
  574. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  575. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -816
  576. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  577. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  578. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  579. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  580. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  581. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  582. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  583. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  584. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1281
  585. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  586. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -740
  587. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  588. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1622
  589. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  590. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -708
  591. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  592. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -864
  593. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  594. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -640
  595. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  596. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  597. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  598. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -559
  599. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  600. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  601. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  602. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  603. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  604. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  605. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -569
  606. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  607. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  608. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  609. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  610. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  611. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  612. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -370
  613. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  614. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  615. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  616. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -588
  617. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  618. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  619. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  620. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  621. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  622. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  623. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  624. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  625. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  626. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  627. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
  628. package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -281
  629. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  630. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  631. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  632. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  633. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  634. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -179
  635. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  636. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  637. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  638. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -312
  639. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  640. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  641. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  642. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  643. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  644. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  645. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  646. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  647. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  648. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  649. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  650. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -209
  651. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  652. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
  653. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  654. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  655. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  656. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  657. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  658. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  659. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  660. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  661. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  662. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  663. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  664. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  665. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  666. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  667. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  668. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  669. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  670. package/contracts/components/Component.sol +0 -272
  671. package/contracts/components/Distribution.sol +0 -285
  672. package/contracts/components/IComponent.sol +0 -90
  673. package/contracts/components/IDistributionComponent.sol +0 -71
  674. package/contracts/components/IPoolComponent.sol +0 -114
  675. package/contracts/components/IProductComponent.sol +0 -41
  676. package/contracts/components/Pool.sol +0 -302
  677. package/contracts/components/Product.sol +0 -372
  678. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
  679. package/contracts/instance/BundleManager.sol +0 -126
  680. package/contracts/instance/Cloneable.sol +0 -51
  681. package/contracts/instance/InstanceAccessManager.sol +0 -527
  682. package/contracts/instance/ObjectManager.sol +0 -82
  683. package/contracts/instance/base/ComponentService.sol +0 -130
  684. package/contracts/instance/base/KeyValueStore.sol +0 -149
  685. package/contracts/instance/base/Lifecycle.sol +0 -120
  686. package/contracts/instance/module/IAccess.sol +0 -54
  687. package/contracts/instance/module/ISetup.sol +0 -33
  688. package/contracts/instance/module/ITreasury.sol +0 -23
  689. package/contracts/instance/service/ApplicationService.sol +0 -356
  690. package/contracts/instance/service/BundleService.sol +0 -385
  691. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  692. package/contracts/instance/service/ClaimService.sol +0 -443
  693. package/contracts/instance/service/DistributionService.sol +0 -432
  694. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  695. package/contracts/instance/service/IDistributionService.sol +0 -101
  696. package/contracts/instance/service/IPolicyService.sol +0 -80
  697. package/contracts/instance/service/IPoolService.sol +0 -114
  698. package/contracts/instance/service/IProductService.sol +0 -40
  699. package/contracts/instance/service/PolicyService.sol +0 -372
  700. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  701. package/contracts/instance/service/PoolService.sol +0 -403
  702. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  703. package/contracts/instance/service/ProductService.sol +0 -210
  704. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  705. package/contracts/registry/RegistryAccessManager.sol +0 -216
  706. package/contracts/registry/ReleaseManager.sol +0 -324
  707. package/contracts/shared/ContractDeployerLib.sol +0 -72
  708. package/contracts/test/TestFee.sol +0 -25
  709. package/contracts/test/TestRegisterable.sol +0 -18
  710. package/contracts/test/TestRoleId.sol +0 -14
  711. package/contracts/test/TestService.sol +0 -25
  712. package/contracts/test/TestToken.sol +0 -26
  713. package/contracts/test/TestVersion.sol +0 -44
  714. package/contracts/test/TestVersionable.sol +0 -17
  715. package/contracts/types/ChainId.sol +0 -38
  716. package/contracts/types/NumberId.sol +0 -52
  717. package/contracts/types/ObjectType.sol +0 -157
  718. package/contracts/types/RiskId.sol +0 -43
  719. package/contracts/types/RoleId.sol +0 -97
  720. package/contracts/types/Seconds.sol +0 -54
  721. /package/contracts/{types → type}/DistributorType.sol +0 -0
@@ -1,1847 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "DistributionService",
4
- "sourceName": "contracts/instance/service/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": "component",
49
- "type": "address"
50
- }
51
- ],
52
- "name": "ErrorComponentServiceComponentLocked",
53
- "type": "error"
54
- },
55
- {
56
- "inputs": [
57
- {
58
- "internalType": "address",
59
- "name": "component",
60
- "type": "address"
61
- },
62
- {
63
- "internalType": "ObjectType",
64
- "name": "expectedType",
65
- "type": "uint8"
66
- },
67
- {
68
- "internalType": "ObjectType",
69
- "name": "foundType",
70
- "type": "uint8"
71
- }
72
- ],
73
- "name": "ErrorComponentServiceComponentTypeInvalid",
74
- "type": "error"
75
- },
76
- {
77
- "inputs": [
78
- {
79
- "internalType": "NftId",
80
- "name": "instanceNftId",
81
- "type": "uint96"
82
- },
83
- {
84
- "internalType": "RoleId",
85
- "name": "requiredRole",
86
- "type": "uint64"
87
- },
88
- {
89
- "internalType": "address",
90
- "name": "sender",
91
- "type": "address"
92
- }
93
- ],
94
- "name": "ErrorComponentServiceExpectedRoleMissing",
95
- "type": "error"
96
- },
97
- {
98
- "inputs": [
99
- {
100
- "internalType": "address",
101
- "name": "component",
102
- "type": "address"
103
- },
104
- {
105
- "internalType": "ObjectType",
106
- "name": "requiredType",
107
- "type": "uint8"
108
- },
109
- {
110
- "internalType": "ObjectType",
111
- "name": "componentType",
112
- "type": "uint8"
113
- }
114
- ],
115
- "name": "ErrorComponentServiceInvalidType",
116
- "type": "error"
117
- },
118
- {
119
- "inputs": [
120
- {
121
- "internalType": "address",
122
- "name": "component",
123
- "type": "address"
124
- }
125
- ],
126
- "name": "ErrorComponentServiceNotComponent",
127
- "type": "error"
128
- },
129
- {
130
- "inputs": [
131
- {
132
- "internalType": "address",
133
- "name": "component",
134
- "type": "address"
135
- },
136
- {
137
- "internalType": "address",
138
- "name": "initialOwner",
139
- "type": "address"
140
- },
141
- {
142
- "internalType": "address",
143
- "name": "sender",
144
- "type": "address"
145
- }
146
- ],
147
- "name": "ErrorComponentServiceSenderNotOwner",
148
- "type": "error"
149
- },
150
- {
151
- "inputs": [
152
- {
153
- "internalType": "address",
154
- "name": "sender",
155
- "type": "address"
156
- }
157
- ],
158
- "name": "ErrorComponentServiceSenderNotService",
159
- "type": "error"
160
- },
161
- {
162
- "inputs": [
163
- {
164
- "internalType": "address",
165
- "name": "caller",
166
- "type": "address"
167
- }
168
- ],
169
- "name": "ErrorDistributionServiceCallerNotRegistered",
170
- "type": "error"
171
- },
172
- {
173
- "inputs": [
174
- {
175
- "internalType": "Amount",
176
- "name": "transferredDistributionFeeAmount",
177
- "type": "uint96"
178
- },
179
- {
180
- "internalType": "Amount",
181
- "name": "expectedDistributionFeeAmount",
182
- "type": "uint96"
183
- }
184
- ],
185
- "name": "ErrorDistributionServiceInvalidFeeTransferred",
186
- "type": "error"
187
- },
188
- {
189
- "inputs": [
190
- {
191
- "internalType": "address",
192
- "name": "target",
193
- "type": "address"
194
- }
195
- ],
196
- "name": "ErrorIAccessTargetLocked",
197
- "type": "error"
198
- },
199
- {
200
- "inputs": [
201
- {
202
- "internalType": "address",
203
- "name": "caller",
204
- "type": "address"
205
- }
206
- ],
207
- "name": "ErrorIDistributionServiceCallerNotDistributor",
208
- "type": "error"
209
- },
210
- {
211
- "inputs": [
212
- {
213
- "internalType": "uint256",
214
- "name": "commissionPercentage",
215
- "type": "uint256"
216
- },
217
- {
218
- "internalType": "uint256",
219
- "name": "maxCommissionPercentage",
220
- "type": "uint256"
221
- }
222
- ],
223
- "name": "ErrorIDistributionServiceCommissionTooHigh",
224
- "type": "error"
225
- },
226
- {
227
- "inputs": [
228
- {
229
- "internalType": "uint256",
230
- "name": "maxDiscountPercentage",
231
- "type": "uint256"
232
- },
233
- {
234
- "internalType": "uint256",
235
- "name": "discountPercentage",
236
- "type": "uint256"
237
- }
238
- ],
239
- "name": "ErrorIDistributionServiceDiscountTooHigh",
240
- "type": "error"
241
- },
242
- {
243
- "inputs": [
244
- {
245
- "internalType": "uint256",
246
- "name": "minDiscountPercentage",
247
- "type": "uint256"
248
- },
249
- {
250
- "internalType": "uint256",
251
- "name": "discountPercentage",
252
- "type": "uint256"
253
- }
254
- ],
255
- "name": "ErrorIDistributionServiceDiscountTooLow",
256
- "type": "error"
257
- },
258
- {
259
- "inputs": [
260
- {
261
- "internalType": "Timestamp",
262
- "name": "expiryAt",
263
- "type": "uint40"
264
- }
265
- ],
266
- "name": "ErrorIDistributionServiceExpirationInvalid",
267
- "type": "error"
268
- },
269
- {
270
- "inputs": [
271
- {
272
- "internalType": "uint256",
273
- "name": "maxReferralLifetime",
274
- "type": "uint256"
275
- },
276
- {
277
- "internalType": "uint256",
278
- "name": "expiryAt",
279
- "type": "uint256"
280
- }
281
- ],
282
- "name": "ErrorIDistributionServiceExpiryTooLong",
283
- "type": "error"
284
- },
285
- {
286
- "inputs": [
287
- {
288
- "internalType": "uint256",
289
- "name": "distributionFeeFixAmount",
290
- "type": "uint256"
291
- },
292
- {
293
- "internalType": "uint256",
294
- "name": "distributionFeeVarAmount",
295
- "type": "uint256"
296
- },
297
- {
298
- "internalType": "uint256",
299
- "name": "distributionOwnerFeeFixAmount",
300
- "type": "uint256"
301
- },
302
- {
303
- "internalType": "uint256",
304
- "name": "distributionOwnerFeeVarAmount",
305
- "type": "uint256"
306
- },
307
- {
308
- "internalType": "uint256",
309
- "name": "commissionAmount",
310
- "type": "uint256"
311
- },
312
- {
313
- "internalType": "uint256",
314
- "name": "discountAmount",
315
- "type": "uint256"
316
- }
317
- ],
318
- "name": "ErrorIDistributionServiceFeeCalculationMismatch",
319
- "type": "error"
320
- },
321
- {
322
- "inputs": [
323
- {
324
- "internalType": "string",
325
- "name": "code",
326
- "type": "string"
327
- }
328
- ],
329
- "name": "ErrorIDistributionServiceInvalidReferral",
330
- "type": "error"
331
- },
332
- {
333
- "inputs": [
334
- {
335
- "internalType": "ReferralId",
336
- "name": "referralId",
337
- "type": "bytes8"
338
- }
339
- ],
340
- "name": "ErrorIDistributionServiceInvalidReferralId",
341
- "type": "error"
342
- },
343
- {
344
- "inputs": [
345
- {
346
- "internalType": "uint256",
347
- "name": "maxDiscountPercentage",
348
- "type": "uint256"
349
- },
350
- {
351
- "internalType": "uint256",
352
- "name": "limit",
353
- "type": "uint256"
354
- }
355
- ],
356
- "name": "ErrorIDistributionServiceMaxDiscountTooHigh",
357
- "type": "error"
358
- },
359
- {
360
- "inputs": [
361
- {
362
- "internalType": "uint256",
363
- "name": "maxReferrals",
364
- "type": "uint256"
365
- }
366
- ],
367
- "name": "ErrorIDistributionServiceMaxReferralsExceeded",
368
- "type": "error"
369
- },
370
- {
371
- "inputs": [
372
- {
373
- "internalType": "uint256",
374
- "name": "minFee",
375
- "type": "uint256"
376
- },
377
- {
378
- "internalType": "uint256",
379
- "name": "limit",
380
- "type": "uint256"
381
- }
382
- ],
383
- "name": "ErrorIDistributionServiceMinFeeTooHigh",
384
- "type": "error"
385
- },
386
- {
387
- "inputs": [
388
- {
389
- "internalType": "NftId",
390
- "name": "nftId",
391
- "type": "uint96"
392
- },
393
- {
394
- "internalType": "NftId",
395
- "name": "parentNftId",
396
- "type": "uint96"
397
- }
398
- ],
399
- "name": "ErrorIDistributionServiceParentNftIdNotInstance",
400
- "type": "error"
401
- },
402
- {
403
- "inputs": [
404
- {
405
- "internalType": "NftId",
406
- "name": "distributionNftId",
407
- "type": "uint96"
408
- },
409
- {
410
- "internalType": "ReferralId",
411
- "name": "referralId",
412
- "type": "bytes8"
413
- }
414
- ],
415
- "name": "ErrorIDistributionServiceReferralInvalid",
416
- "type": "error"
417
- },
418
- {
419
- "inputs": [
420
- {
421
- "internalType": "NftId",
422
- "name": "nftId",
423
- "type": "uint96"
424
- }
425
- ],
426
- "name": "ErrorNftOwnableAlreadyLinked",
427
- "type": "error"
428
- },
429
- {
430
- "inputs": [
431
- {
432
- "internalType": "address",
433
- "name": "contractAddress",
434
- "type": "address"
435
- }
436
- ],
437
- "name": "ErrorNftOwnableContractNotRegistered",
438
- "type": "error"
439
- },
440
- {
441
- "inputs": [],
442
- "name": "ErrorNftOwnableInitialOwnerZero",
443
- "type": "error"
444
- },
445
- {
446
- "inputs": [
447
- {
448
- "internalType": "address",
449
- "name": "account",
450
- "type": "address"
451
- }
452
- ],
453
- "name": "ErrorNftOwnableNotOwner",
454
- "type": "error"
455
- },
456
- {
457
- "inputs": [
458
- {
459
- "internalType": "address",
460
- "name": "registryAddress",
461
- "type": "address"
462
- }
463
- ],
464
- "name": "ErrorNotRegistry",
465
- "type": "error"
466
- },
467
- {
468
- "inputs": [],
469
- "name": "ErrorServiceNotImplemented",
470
- "type": "error"
471
- },
472
- {
473
- "inputs": [],
474
- "name": "InvalidInitialization",
475
- "type": "error"
476
- },
477
- {
478
- "inputs": [],
479
- "name": "NotInitializing",
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
- "inputs": [],
510
- "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
511
- "outputs": [
512
- {
513
- "internalType": "bytes32",
514
- "name": "",
515
- "type": "bytes32"
516
- }
517
- ],
518
- "stateMutability": "view",
519
- "type": "function"
520
- },
521
- {
522
- "inputs": [],
523
- "name": "REGISTERABLE_LOCATION_V1",
524
- "outputs": [
525
- {
526
- "internalType": "bytes32",
527
- "name": "",
528
- "type": "bytes32"
529
- }
530
- ],
531
- "stateMutability": "view",
532
- "type": "function"
533
- },
534
- {
535
- "inputs": [],
536
- "name": "authority",
537
- "outputs": [
538
- {
539
- "internalType": "address",
540
- "name": "",
541
- "type": "address"
542
- }
543
- ],
544
- "stateMutability": "view",
545
- "type": "function"
546
- },
547
- {
548
- "inputs": [
549
- {
550
- "internalType": "NftId",
551
- "name": "distributionNftId",
552
- "type": "uint96"
553
- },
554
- {
555
- "internalType": "ReferralId",
556
- "name": "referralId",
557
- "type": "bytes8"
558
- },
559
- {
560
- "components": [
561
- {
562
- "internalType": "uint256",
563
- "name": "netPremiumAmount",
564
- "type": "uint256"
565
- },
566
- {
567
- "internalType": "uint256",
568
- "name": "fullPremiumAmount",
569
- "type": "uint256"
570
- },
571
- {
572
- "internalType": "uint256",
573
- "name": "premiumAmount",
574
- "type": "uint256"
575
- },
576
- {
577
- "internalType": "uint256",
578
- "name": "productFeeFixAmount",
579
- "type": "uint256"
580
- },
581
- {
582
- "internalType": "uint256",
583
- "name": "poolFeeFixAmount",
584
- "type": "uint256"
585
- },
586
- {
587
- "internalType": "uint256",
588
- "name": "bundleFeeFixAmount",
589
- "type": "uint256"
590
- },
591
- {
592
- "internalType": "uint256",
593
- "name": "distributionFeeFixAmount",
594
- "type": "uint256"
595
- },
596
- {
597
- "internalType": "uint256",
598
- "name": "productFeeVarAmount",
599
- "type": "uint256"
600
- },
601
- {
602
- "internalType": "uint256",
603
- "name": "poolFeeVarAmount",
604
- "type": "uint256"
605
- },
606
- {
607
- "internalType": "uint256",
608
- "name": "bundleFeeVarAmount",
609
- "type": "uint256"
610
- },
611
- {
612
- "internalType": "uint256",
613
- "name": "distributionFeeVarAmount",
614
- "type": "uint256"
615
- },
616
- {
617
- "internalType": "uint256",
618
- "name": "distributionOwnerFeeFixAmount",
619
- "type": "uint256"
620
- },
621
- {
622
- "internalType": "uint256",
623
- "name": "distributionOwnerFeeVarAmount",
624
- "type": "uint256"
625
- },
626
- {
627
- "internalType": "uint256",
628
- "name": "commissionAmount",
629
- "type": "uint256"
630
- },
631
- {
632
- "internalType": "uint256",
633
- "name": "discountAmount",
634
- "type": "uint256"
635
- }
636
- ],
637
- "internalType": "struct IPolicy.Premium",
638
- "name": "premium",
639
- "type": "tuple"
640
- }
641
- ],
642
- "name": "calculateFeeAmount",
643
- "outputs": [
644
- {
645
- "components": [
646
- {
647
- "internalType": "uint256",
648
- "name": "netPremiumAmount",
649
- "type": "uint256"
650
- },
651
- {
652
- "internalType": "uint256",
653
- "name": "fullPremiumAmount",
654
- "type": "uint256"
655
- },
656
- {
657
- "internalType": "uint256",
658
- "name": "premiumAmount",
659
- "type": "uint256"
660
- },
661
- {
662
- "internalType": "uint256",
663
- "name": "productFeeFixAmount",
664
- "type": "uint256"
665
- },
666
- {
667
- "internalType": "uint256",
668
- "name": "poolFeeFixAmount",
669
- "type": "uint256"
670
- },
671
- {
672
- "internalType": "uint256",
673
- "name": "bundleFeeFixAmount",
674
- "type": "uint256"
675
- },
676
- {
677
- "internalType": "uint256",
678
- "name": "distributionFeeFixAmount",
679
- "type": "uint256"
680
- },
681
- {
682
- "internalType": "uint256",
683
- "name": "productFeeVarAmount",
684
- "type": "uint256"
685
- },
686
- {
687
- "internalType": "uint256",
688
- "name": "poolFeeVarAmount",
689
- "type": "uint256"
690
- },
691
- {
692
- "internalType": "uint256",
693
- "name": "bundleFeeVarAmount",
694
- "type": "uint256"
695
- },
696
- {
697
- "internalType": "uint256",
698
- "name": "distributionFeeVarAmount",
699
- "type": "uint256"
700
- },
701
- {
702
- "internalType": "uint256",
703
- "name": "distributionOwnerFeeFixAmount",
704
- "type": "uint256"
705
- },
706
- {
707
- "internalType": "uint256",
708
- "name": "distributionOwnerFeeVarAmount",
709
- "type": "uint256"
710
- },
711
- {
712
- "internalType": "uint256",
713
- "name": "commissionAmount",
714
- "type": "uint256"
715
- },
716
- {
717
- "internalType": "uint256",
718
- "name": "discountAmount",
719
- "type": "uint256"
720
- }
721
- ],
722
- "internalType": "struct IPolicy.Premium",
723
- "name": "finalPremium",
724
- "type": "tuple"
725
- }
726
- ],
727
- "stateMutability": "view",
728
- "type": "function"
729
- },
730
- {
731
- "inputs": [
732
- {
733
- "internalType": "address",
734
- "name": "distributor",
735
- "type": "address"
736
- },
737
- {
738
- "internalType": "DistributorType",
739
- "name": "distributorType",
740
- "type": "bytes8"
741
- },
742
- {
743
- "internalType": "bytes",
744
- "name": "data",
745
- "type": "bytes"
746
- }
747
- ],
748
- "name": "createDistributor",
749
- "outputs": [
750
- {
751
- "internalType": "NftId",
752
- "name": "distributorNftId",
753
- "type": "uint96"
754
- }
755
- ],
756
- "stateMutability": "nonpayable",
757
- "type": "function"
758
- },
759
- {
760
- "inputs": [
761
- {
762
- "internalType": "string",
763
- "name": "name",
764
- "type": "string"
765
- },
766
- {
767
- "internalType": "UFixed",
768
- "name": "minDiscountPercentage",
769
- "type": "uint256"
770
- },
771
- {
772
- "internalType": "UFixed",
773
- "name": "maxDiscountPercentage",
774
- "type": "uint256"
775
- },
776
- {
777
- "internalType": "UFixed",
778
- "name": "commissionPercentage",
779
- "type": "uint256"
780
- },
781
- {
782
- "internalType": "uint32",
783
- "name": "maxReferralCount",
784
- "type": "uint32"
785
- },
786
- {
787
- "internalType": "uint32",
788
- "name": "maxReferralLifetime",
789
- "type": "uint32"
790
- },
791
- {
792
- "internalType": "bool",
793
- "name": "allowSelfReferrals",
794
- "type": "bool"
795
- },
796
- {
797
- "internalType": "bool",
798
- "name": "allowRenewals",
799
- "type": "bool"
800
- },
801
- {
802
- "internalType": "bytes",
803
- "name": "data",
804
- "type": "bytes"
805
- }
806
- ],
807
- "name": "createDistributorType",
808
- "outputs": [
809
- {
810
- "internalType": "DistributorType",
811
- "name": "distributorType",
812
- "type": "bytes8"
813
- }
814
- ],
815
- "stateMutability": "nonpayable",
816
- "type": "function"
817
- },
818
- {
819
- "inputs": [
820
- {
821
- "internalType": "NftId",
822
- "name": "distributorNftId",
823
- "type": "uint96"
824
- },
825
- {
826
- "internalType": "string",
827
- "name": "code",
828
- "type": "string"
829
- },
830
- {
831
- "internalType": "UFixed",
832
- "name": "discountPercentage",
833
- "type": "uint256"
834
- },
835
- {
836
- "internalType": "uint32",
837
- "name": "maxReferrals",
838
- "type": "uint32"
839
- },
840
- {
841
- "internalType": "Timestamp",
842
- "name": "expiryAt",
843
- "type": "uint40"
844
- },
845
- {
846
- "internalType": "bytes",
847
- "name": "data",
848
- "type": "bytes"
849
- }
850
- ],
851
- "name": "createReferral",
852
- "outputs": [
853
- {
854
- "internalType": "ReferralId",
855
- "name": "referralId",
856
- "type": "bytes8"
857
- }
858
- ],
859
- "stateMutability": "nonpayable",
860
- "type": "function"
861
- },
862
- {
863
- "inputs": [],
864
- "name": "getDomain",
865
- "outputs": [
866
- {
867
- "internalType": "ObjectType",
868
- "name": "",
869
- "type": "uint8"
870
- }
871
- ],
872
- "stateMutability": "pure",
873
- "type": "function"
874
- },
875
- {
876
- "inputs": [],
877
- "name": "getInitialInfo",
878
- "outputs": [
879
- {
880
- "components": [
881
- {
882
- "internalType": "NftId",
883
- "name": "nftId",
884
- "type": "uint96"
885
- },
886
- {
887
- "internalType": "NftId",
888
- "name": "parentNftId",
889
- "type": "uint96"
890
- },
891
- {
892
- "internalType": "ObjectType",
893
- "name": "objectType",
894
- "type": "uint8"
895
- },
896
- {
897
- "internalType": "bool",
898
- "name": "isInterceptor",
899
- "type": "bool"
900
- },
901
- {
902
- "internalType": "address",
903
- "name": "objectAddress",
904
- "type": "address"
905
- },
906
- {
907
- "internalType": "address",
908
- "name": "initialOwner",
909
- "type": "address"
910
- },
911
- {
912
- "internalType": "bytes",
913
- "name": "data",
914
- "type": "bytes"
915
- }
916
- ],
917
- "internalType": "struct IRegistry.ObjectInfo",
918
- "name": "info",
919
- "type": "tuple"
920
- }
921
- ],
922
- "stateMutability": "view",
923
- "type": "function"
924
- },
925
- {
926
- "inputs": [],
927
- "name": "getInstanceService",
928
- "outputs": [
929
- {
930
- "internalType": "contract InstanceService",
931
- "name": "",
932
- "type": "address"
933
- }
934
- ],
935
- "stateMutability": "view",
936
- "type": "function"
937
- },
938
- {
939
- "inputs": [],
940
- "name": "getNftId",
941
- "outputs": [
942
- {
943
- "internalType": "NftId",
944
- "name": "",
945
- "type": "uint96"
946
- }
947
- ],
948
- "stateMutability": "view",
949
- "type": "function"
950
- },
951
- {
952
- "inputs": [],
953
- "name": "getOwner",
954
- "outputs": [
955
- {
956
- "internalType": "address",
957
- "name": "",
958
- "type": "address"
959
- }
960
- ],
961
- "stateMutability": "view",
962
- "type": "function"
963
- },
964
- {
965
- "inputs": [],
966
- "name": "getRegistry",
967
- "outputs": [
968
- {
969
- "internalType": "contract IRegistry",
970
- "name": "",
971
- "type": "address"
972
- }
973
- ],
974
- "stateMutability": "view",
975
- "type": "function"
976
- },
977
- {
978
- "inputs": [],
979
- "name": "getRegistryService",
980
- "outputs": [
981
- {
982
- "internalType": "contract IRegistryService",
983
- "name": "",
984
- "type": "address"
985
- }
986
- ],
987
- "stateMutability": "view",
988
- "type": "function"
989
- },
990
- {
991
- "inputs": [],
992
- "name": "getVersion",
993
- "outputs": [
994
- {
995
- "internalType": "Version",
996
- "name": "",
997
- "type": "uint24"
998
- }
999
- ],
1000
- "stateMutability": "pure",
1001
- "type": "function"
1002
- },
1003
- {
1004
- "inputs": [],
1005
- "name": "initializeERC165",
1006
- "outputs": [],
1007
- "stateMutability": "nonpayable",
1008
- "type": "function"
1009
- },
1010
- {
1011
- "inputs": [
1012
- {
1013
- "internalType": "address",
1014
- "name": "initialOwner",
1015
- "type": "address"
1016
- },
1017
- {
1018
- "internalType": "address",
1019
- "name": "registryAddress",
1020
- "type": "address"
1021
- }
1022
- ],
1023
- "name": "initializeNftOwnable",
1024
- "outputs": [],
1025
- "stateMutability": "nonpayable",
1026
- "type": "function"
1027
- },
1028
- {
1029
- "inputs": [
1030
- {
1031
- "internalType": "address",
1032
- "name": "registryAddress",
1033
- "type": "address"
1034
- },
1035
- {
1036
- "internalType": "NftId",
1037
- "name": "parentNftId",
1038
- "type": "uint96"
1039
- },
1040
- {
1041
- "internalType": "ObjectType",
1042
- "name": "objectType",
1043
- "type": "uint8"
1044
- },
1045
- {
1046
- "internalType": "bool",
1047
- "name": "isInterceptor",
1048
- "type": "bool"
1049
- },
1050
- {
1051
- "internalType": "address",
1052
- "name": "initialOwner",
1053
- "type": "address"
1054
- },
1055
- {
1056
- "internalType": "bytes",
1057
- "name": "registryData",
1058
- "type": "bytes"
1059
- }
1060
- ],
1061
- "name": "initializeRegisterable",
1062
- "outputs": [],
1063
- "stateMutability": "nonpayable",
1064
- "type": "function"
1065
- },
1066
- {
1067
- "inputs": [
1068
- {
1069
- "internalType": "address",
1070
- "name": "registryAddress",
1071
- "type": "address"
1072
- }
1073
- ],
1074
- "name": "initializeRegistryLinked",
1075
- "outputs": [],
1076
- "stateMutability": "nonpayable",
1077
- "type": "function"
1078
- },
1079
- {
1080
- "inputs": [
1081
- {
1082
- "internalType": "address",
1083
- "name": "registry",
1084
- "type": "address"
1085
- },
1086
- {
1087
- "internalType": "address",
1088
- "name": "authority",
1089
- "type": "address"
1090
- },
1091
- {
1092
- "internalType": "address",
1093
- "name": "initialOwner",
1094
- "type": "address"
1095
- }
1096
- ],
1097
- "name": "initializeService",
1098
- "outputs": [],
1099
- "stateMutability": "nonpayable",
1100
- "type": "function"
1101
- },
1102
- {
1103
- "inputs": [
1104
- {
1105
- "internalType": "address",
1106
- "name": "activatedBy",
1107
- "type": "address"
1108
- },
1109
- {
1110
- "internalType": "bytes",
1111
- "name": "data",
1112
- "type": "bytes"
1113
- }
1114
- ],
1115
- "name": "initializeVersionable",
1116
- "outputs": [],
1117
- "stateMutability": "nonpayable",
1118
- "type": "function"
1119
- },
1120
- {
1121
- "inputs": [],
1122
- "name": "isConsumingScheduledOp",
1123
- "outputs": [
1124
- {
1125
- "internalType": "bytes4",
1126
- "name": "",
1127
- "type": "bytes4"
1128
- }
1129
- ],
1130
- "stateMutability": "view",
1131
- "type": "function"
1132
- },
1133
- {
1134
- "inputs": [],
1135
- "name": "linkToRegisteredNftId",
1136
- "outputs": [],
1137
- "stateMutability": "nonpayable",
1138
- "type": "function"
1139
- },
1140
- {
1141
- "inputs": [
1142
- {
1143
- "internalType": "NftId",
1144
- "name": "distributionNftId",
1145
- "type": "uint96"
1146
- },
1147
- {
1148
- "internalType": "ReferralId",
1149
- "name": "referralId",
1150
- "type": "bytes8"
1151
- },
1152
- {
1153
- "components": [
1154
- {
1155
- "internalType": "uint256",
1156
- "name": "netPremiumAmount",
1157
- "type": "uint256"
1158
- },
1159
- {
1160
- "internalType": "uint256",
1161
- "name": "fullPremiumAmount",
1162
- "type": "uint256"
1163
- },
1164
- {
1165
- "internalType": "uint256",
1166
- "name": "premiumAmount",
1167
- "type": "uint256"
1168
- },
1169
- {
1170
- "internalType": "uint256",
1171
- "name": "productFeeFixAmount",
1172
- "type": "uint256"
1173
- },
1174
- {
1175
- "internalType": "uint256",
1176
- "name": "poolFeeFixAmount",
1177
- "type": "uint256"
1178
- },
1179
- {
1180
- "internalType": "uint256",
1181
- "name": "bundleFeeFixAmount",
1182
- "type": "uint256"
1183
- },
1184
- {
1185
- "internalType": "uint256",
1186
- "name": "distributionFeeFixAmount",
1187
- "type": "uint256"
1188
- },
1189
- {
1190
- "internalType": "uint256",
1191
- "name": "productFeeVarAmount",
1192
- "type": "uint256"
1193
- },
1194
- {
1195
- "internalType": "uint256",
1196
- "name": "poolFeeVarAmount",
1197
- "type": "uint256"
1198
- },
1199
- {
1200
- "internalType": "uint256",
1201
- "name": "bundleFeeVarAmount",
1202
- "type": "uint256"
1203
- },
1204
- {
1205
- "internalType": "uint256",
1206
- "name": "distributionFeeVarAmount",
1207
- "type": "uint256"
1208
- },
1209
- {
1210
- "internalType": "uint256",
1211
- "name": "distributionOwnerFeeFixAmount",
1212
- "type": "uint256"
1213
- },
1214
- {
1215
- "internalType": "uint256",
1216
- "name": "distributionOwnerFeeVarAmount",
1217
- "type": "uint256"
1218
- },
1219
- {
1220
- "internalType": "uint256",
1221
- "name": "commissionAmount",
1222
- "type": "uint256"
1223
- },
1224
- {
1225
- "internalType": "uint256",
1226
- "name": "discountAmount",
1227
- "type": "uint256"
1228
- }
1229
- ],
1230
- "internalType": "struct IPolicy.Premium",
1231
- "name": "premium",
1232
- "type": "tuple"
1233
- },
1234
- {
1235
- "internalType": "Amount",
1236
- "name": "transferredDistributionFeeAmount",
1237
- "type": "uint96"
1238
- }
1239
- ],
1240
- "name": "processSale",
1241
- "outputs": [],
1242
- "stateMutability": "nonpayable",
1243
- "type": "function"
1244
- },
1245
- {
1246
- "inputs": [
1247
- {
1248
- "internalType": "NftId",
1249
- "name": "distributionNftId",
1250
- "type": "uint96"
1251
- },
1252
- {
1253
- "internalType": "ReferralId",
1254
- "name": "referralId",
1255
- "type": "bytes8"
1256
- }
1257
- ],
1258
- "name": "referralIsValid",
1259
- "outputs": [
1260
- {
1261
- "internalType": "bool",
1262
- "name": "isValid",
1263
- "type": "bool"
1264
- }
1265
- ],
1266
- "stateMutability": "view",
1267
- "type": "function"
1268
- },
1269
- {
1270
- "inputs": [
1271
- {
1272
- "internalType": "address",
1273
- "name": "distributionAddress",
1274
- "type": "address"
1275
- }
1276
- ],
1277
- "name": "register",
1278
- "outputs": [
1279
- {
1280
- "internalType": "NftId",
1281
- "name": "distributionNftId",
1282
- "type": "uint96"
1283
- }
1284
- ],
1285
- "stateMutability": "nonpayable",
1286
- "type": "function"
1287
- },
1288
- {
1289
- "inputs": [
1290
- {
1291
- "internalType": "bytes4",
1292
- "name": "interfaceId",
1293
- "type": "bytes4"
1294
- }
1295
- ],
1296
- "name": "registerInterface",
1297
- "outputs": [],
1298
- "stateMutability": "nonpayable",
1299
- "type": "function"
1300
- },
1301
- {
1302
- "inputs": [
1303
- {
1304
- "internalType": "address",
1305
- "name": "newAuthority",
1306
- "type": "address"
1307
- }
1308
- ],
1309
- "name": "setAuthority",
1310
- "outputs": [],
1311
- "stateMutability": "nonpayable",
1312
- "type": "function"
1313
- },
1314
- {
1315
- "inputs": [
1316
- {
1317
- "components": [
1318
- {
1319
- "internalType": "UFixed",
1320
- "name": "fractionalFee",
1321
- "type": "uint256"
1322
- },
1323
- {
1324
- "internalType": "uint256",
1325
- "name": "fixedFee",
1326
- "type": "uint256"
1327
- }
1328
- ],
1329
- "internalType": "struct Fee",
1330
- "name": "minDistributionOwnerFee",
1331
- "type": "tuple"
1332
- },
1333
- {
1334
- "components": [
1335
- {
1336
- "internalType": "UFixed",
1337
- "name": "fractionalFee",
1338
- "type": "uint256"
1339
- },
1340
- {
1341
- "internalType": "uint256",
1342
- "name": "fixedFee",
1343
- "type": "uint256"
1344
- }
1345
- ],
1346
- "internalType": "struct Fee",
1347
- "name": "distributionFee",
1348
- "type": "tuple"
1349
- }
1350
- ],
1351
- "name": "setFees",
1352
- "outputs": [],
1353
- "stateMutability": "nonpayable",
1354
- "type": "function"
1355
- },
1356
- {
1357
- "inputs": [
1358
- {
1359
- "internalType": "bytes4",
1360
- "name": "interfaceId",
1361
- "type": "bytes4"
1362
- }
1363
- ],
1364
- "name": "supportsInterface",
1365
- "outputs": [
1366
- {
1367
- "internalType": "bool",
1368
- "name": "",
1369
- "type": "bool"
1370
- }
1371
- ],
1372
- "stateMutability": "view",
1373
- "type": "function"
1374
- },
1375
- {
1376
- "inputs": [
1377
- {
1378
- "internalType": "bytes",
1379
- "name": "data",
1380
- "type": "bytes"
1381
- }
1382
- ],
1383
- "name": "upgradeVersionable",
1384
- "outputs": [],
1385
- "stateMutability": "nonpayable",
1386
- "type": "function"
1387
- }
1388
- ],
1389
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615fac80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80635dcb3bae1161010f57806392e5fab6116100a2578063bf7e214f11610071578063bf7e214f1461051f578063caf4e3d41461053d578063cc9fc59a14610545578063f7c34ee01461054d57600080fd5b806392e5fab6146104d5578063ada9652e146104e8578063b68d1809146104fd578063b6b412ba1461050c57600080fd5b8063893d20e8116100de578063893d20e8146104865780638dd2b7811461048e5780638e32e979146104a15780638fb36037146104b457600080fd5b80635dcb3bae1461042f578063644c45e014610442578063675393bf146104605780637a9e5e4b1461047357600080fd5b806325d073841161018757806336fc697e1161015657806336fc697e146103c45780634420e486146103cc57806349bb9e4b146103f75780635ab1bd531461040a57600080fd5b806325d073841461036b57806327bb7a331461037e5780632b5198b114610391578063329d6e74146103b157600080fd5b8063138461e0116101c3578063138461e01461025d5780631eff4b2214610267578063214cdb801461029c578063219a3195146102af57600080fd5b806301ffc9a7146101ea5780630d8e6e2c1461022c5780630fec111c14610248575b600080fd5b6102176101f8366004614a4d565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610234610560565b60405162ffffff9091168152602001610223565b6102506105ea565b6040516102239190614ac7565b610265610741565b005b61028e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102656102aa366004614a4d565b610948565b6102c26102bd366004614d36565b610975565b6040516102239190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e08083015190820152610100808301519082015261012080830151908201526101408083015190820152610160808301519082015261018080830151908201526101a080830151908201526101c091820151918101919091526101e00190565b610217610379366004614d7f565b61119d565b61026561038c366004614e77565b6114d0565b6103a461039f366004614f21565b611575565b6040516102239190614fed565b6102656103bf366004615002565b611a3e565b610265611b8b565b6103df6103da366004615036565b611bd1565b6040516001600160601b039091168152602001610223565b610265610405366004615053565b61206d565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6103df61043d3660046150a2565b61216c565b600080516020615f17833981519152546001600160601b03166103df565b61026561046e366004615036565b612388565b610265610481366004615036565b612496565b610417612530565b6103a461049c366004615116565b612667565b6102656104af3660046151b0565b612e67565b6104bc6130a0565b6040516001600160e01b03199091168152602001610223565b6102656104e33660046151fb565b6130d8565b61028e600080516020615f1783398151915281565b60405160788152602001610223565b61026561051a366004615288565b613820565b600080516020615f37833981519152546001600160a01b0316610417565b610417613aa6565b610417613ab2565b61026561055b3660046152bd565b613abe565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e591906152eb565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526040805160e081019091527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300908060006001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161069d612530565b6001600160a01b031681526020018260010180546106ba90615310565b80601f01602080910402602001604051908101604052809291908181526020018280546106e690615310565b80156107335780601f1061070857610100808354040283529160200191610733565b820191906000526020600020905b81548152906001019060200180831161071657829003601f168201915b505050505081525091505090565b6000600080516020615f1783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d49190615355565b156108055780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108186001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610860573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108849190615355565b6108ac5760405163b9304b0d60e01b81526001600160a01b03821660048201526024016107fc565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610900573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610924919061537d565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610950613b35565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6109ee604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b60006109f985613b6e565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5f919061539a565b604051639ad69c6760e01b81526001600160601b03881660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015610ab3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad791906153f2565b6060810151604080830151885191516322f5db0f60e11b81529394509192600091610b719173__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610b29919060040190815260200190565b602060405180830381865af4158015610b46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6a9190615493565b8451613c97565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610bc2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be69190615493565b61014089018190526020890180519192508291610c049083906154c2565b905250610c118a8a61119d565b610c435750505060c0850151610160860152505050610140820151610180830152506020810151604082015280611196565b604051631d3be47760e01b81526000906001600160a01b03871690631d3be47790610c72908d90600401614fed565b600060405180830381865afa158015610c8f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cb79190810190615530565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b0388169063d06458c69082906327b1d79290602401600060405180830381865afa158015610d15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d3d919081019061560e565b516040516001600160e01b031960e084901b168152610d5f9190600401614fed565b600060405180830381865afa158015610d7c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610da491908101906156cd565b8a516040516322f5db0f60e11b8152600481019190915290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610dfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e219190615493565b60608301516040516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610e6492600401918252602082015260400190565b602060405180830381865af4158015610e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea59190615493565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610ef6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1a9190615493565b6101a08c0181905260208c01516040516322f5db0f60e11b815291925073__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610f639160040190815260200190565b602060405180830381865af4158015610f80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa49190615493565b60408085015190516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610fe792600401918252602082015260400190565b602060405180830381865af4158015611004573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110289190615493565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611079573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109d9190615493565b6101c08c0181905260208601516101608d01526110ba82866157c4565b6110c491906157c4565b6101808c01526101c08b015160208c01516110df91906157c4565b60408c0152505050602082015161016089015110806111285750876101a00151886101800151896101c0015161111591906154c2565b61111f91906154c2565b88610140015114155b1561118c5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c4016107fc565b8796505050505050505b9392505050565b6000806111a984613b6e565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120f919061539a565b6001600160a01b0316631d3be477856040518263ffffffff1660e01b815260040161123a9190614fed565b600060405180830381865afa158015611257573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261127f9190810190615530565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156112dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113019190615355565b15611311576000925050506114ca565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561136d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113919190615355565b806114a3575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af41580156113f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114179190615355565b80156114a357506114a373__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561146a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148e91906157d7565b8260a0015164ffffffffff9081169116111590565b92508280156114c55750806060015163ffffffff16816080015163ffffffff16105b925050505b92915050565b6114d8613b35565b6114e28287613abe565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161156b8382615842565b5050505050505050565b6000806000611582613cac565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ea919061539a565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa15801561163a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061165e91906153f2565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af41580156116c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e69190615493565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af415801561174a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176e9190615493565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af41580156117c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ec9190615355565b156118fb57604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611841573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118659190615493565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156118b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d99190615493565b60405163e2ed03dd60e01b8152600481019290925260248201526044016107fc565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b8152600401611937929190615901565b602060405180830381865af4158015611954573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119789190615923565b925060006040518061012001604052808e81526020018d81526020018c81526020018b81526020018a63ffffffff1681526020018963ffffffff16815260200188151581526020018715158152602001868152509050816001600160a01b03166330a130ba85836040518363ffffffff1660e01b81526004016119fc929190615940565b600060405180830381600087803b158015611a1657600080fd5b505af1158015611a2a573d6000803e3d6000fd5b505050505050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611a60610560565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611aa0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac49190615a18565b600080516020615f578339815191528054600160401b900460ff1680611af7575080546001600160401b03808416911610155b15611b155760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611b3f83613f30565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b611b93613b35565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080808080611bea866078611be5613f38565b613fb0565b93509350935093506000611bfc613aa6565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015611c4e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c769190810190615a40565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611cb857600080fd5b505af1158015611ccc573d6000803e3d6000fd5b5050505081600001519650836001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015611d26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4a91906153f2565b6040518363ffffffff1660e01b8152600401611d67929190615b4a565b600060405180830381600087803b158015611d8157600080fd5b505af1158015611d95573d6000803e3d6000fd5b506000925060029150611da59050565b604051908082528060200260200182016040528015611dd857816020015b6060815260200190600190039081611dc35790505b50604080516001808252818301909252919250602080830190803683370190505081600081518110611e0c57611e0c615b68565b602090810291909101015260408051600280825260608201909252908160200160208202803683370190505081600181518110611e4b57611e4b615b68565b602002602001018190525063b6b412ba60e01b81600081518110611e7157611e71615b68565b6020026020010151600081518110611e8b57611e8b615b68565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b9082906001908110611ec257611ec2615b68565b6020026020010151600081518110611edc57611edc615b68565b6001600160e01b0319929092166020928302919091018201526040805160028082526060820183526000939192909183019080368337019050509050611f20613f38565b81600081518110611f3357611f33615b68565b60200260200101906001600160401b031690816001600160401b031681525050611f5b6142a1565b81600181518110611f6e57611f6e615b68565b60200260200101906001600160401b031690816001600160401b031681525050611f96613ab2565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611fe4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261200c9190810190615b7e565b86866040518663ffffffff1660e01b815260040161202e959493929190615bf6565b600060405180830381600087803b15801561204857600080fd5b505af115801561205c573d6000803e3d6000fd5b505050505050505050505050919050565b600080516020615f578339815191528054600160401b810460ff1615906001600160401b03166000811580156120a05750825b90506000826001600160401b031660011480156120bc5750303b155b9050811580156120ca575080155b156120e85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561211257845460ff60401b1916600160401b1785555b61211c87876142dd565b831561216357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000806000612179613cac565b91509150612185613aa6565b6001600160a01b03166357a8fba76040518060e001604052806121a6600090565b6001600160601b03168152602001856001600160601b031681526020016121cb607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b815260040161222a9190614ac7565b6020604051808303816000875af1158015612249573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061226d919061537d565b925060006040518060a00160405280876001600160c01b031916815260200160011515815260200186815260200173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156122e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612308919061537d565b6001600160601b031681526000602090910152604051631f32844960e21b81529091506001600160a01b03831690637cca11249061234c9087908590600401615d30565b600060405180830381600087803b15801561236657600080fd5b505af115801561237a573d6000803e3d6000fd5b505050505050509392505050565b612390613b35565b806001600160a01b03163b6000036123c65760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107fc565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015612440575060408051601f3d908101601f1916820190925261243d91810190615355565b60015b6124685760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107fc565b806124915760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107fc565b505b50565b336124b6600080516020615f37833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146124f15760405162d1953b60e31b81526001600160a01b03821660048201526024016107fc565b816001600160a01b03163b600003612527576040516361798f2f60e11b81526001600160a01b03831660048201526024016107fc565b612491826143fd565b600080600080516020615f1783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156125a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125c49190615355565b15612651576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612627573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061264b919061539a565b91505090565b54600160601b90046001600160a01b0316919050565b6000806000612674613cac565b91509150875160000361269c5787604051634fad6a5360e11b81526004016107fc9190615d52565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156126f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127169190615355565b1561273d5760405163df85467b60e01b815264ffffffffff861660048201526024016107fc565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561277d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127a1919061539a565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa1580156127f4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261281c919081019061560e565b516040516368322c6360e11b81529091506000906001600160a01b0384169063d06458c69061284f908590600401614fed565b600060405180830381865afa15801561286c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261289491908101906156cd565b90508863ffffffff16816080015163ffffffff1610156128d5576080810151604051636fcee12560e01b815263ffffffff90911660048201526024016107fc565b60208101518a10156129f1576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612937573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061295b9190615493565b604051632255341b60e11b8152600481018c905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156129ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129cf9190615493565b6040516338a25a8b60e21b8152600481019290925260248201526044016107fc565b60408101518a1115612b0d576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612a53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a779190615493565b604051632255341b60e11b8152600481018c905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612ac7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612aeb9190615493565b604051631e1ea4f360e31b8152600481019290925260248201526044016107fc565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612b61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b8591906157d7565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612bdc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c009190615493565b604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612c56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c7a9190615493565b612c8491906157c4565b1115612d305760a0810151604051633682752160e21b815264ffffffffff8a16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612ce5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d099190615493565b6040516331fa6ab160e11b815263ffffffff909216600483015260248201526044016107fc565b604051631f849e6b60e11b815273__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd690612d699088908f90600401615901565b602060405180830381865af4158015612d86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612daa9190615923565b6040805160e0810182526001600160601b038f168152602081018e90528082018d905263ffffffff8c1660608201526000608082015264ffffffffff8b1660a082015260c081018a90529051631941cfe160e31b8152919750906001600160a01b0386169063ca0e7f0890612e25908a908590600401615de1565b600060405180830381600087803b158015612e3f57600080fd5b505af1158015612e53573d6000803e3d6000fd5b505050505050505050509695505050505050565b612e6f613b35565b612eef83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ed5919061537d565b603c600085604051806020016040528060008152506114d0565b6001600160a01b03821615612f0c57612f078261445e565b61307b565b6000612f206001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015612f80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa49190615e06565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612fe9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061300d919061539a565b9050613079816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613050573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613074919061539a565b61445e565b505b61308b634a531f3360e01b610948565b61309b63b68d180960e01b610948565b505050565b600080516020615f37833981519152805460009190600160a01b900460ff166130ca57600061264b565b638fb3603760e01b91505090565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf9061311c906001600160c01b0319881690600401614fed565b602060405180830381865af4158015613139573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061315d9190615355565b159050600061316c868661119d565b9050818015613179575080155b156131b257604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b0319861660248201526044016107fc565b60006131bd87613b6e565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613223919061539a565b90506000816001600160a01b0316631d3be477896040518263ffffffff1660e01b81526004016132539190614fed565b600060405180830381865afa158015613270573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526132989190810190615530565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038416906327b1d79290602401600060405180830381865afa1580156132ee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613316919081019061560e565b604051639ad69c6760e01b81526001600160601b038c1660048201529091506000906001600160a01b03851690639ad69c679060240161010060405180830381865afa15801561336a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061338e91906153f2565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968b61018001518c61016001516133c291906154c2565b6040518263ffffffff1660e01b81526004016133e091815260200190565b602060405180830381865af41580156133fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613421919061537d565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968c6101a001516040518263ffffffff1660e01b815260040161346391815260200190565b602060405180830381865af4158015613480573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134a4919061537d565b90506134b98a6134b4848461446f565b6144f6565b6134f757896134c8838361446f565b60405160016282bae560e01b031981526001600160601b039283166004820152911660248201526044016107fc565b6040516330b8415f60e01b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801561354f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135739190615355565b1561366c5760405163046e44af60e11b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156135d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135f49190615493565b8360a00181815161360591906154c2565b9052506001600160a01b03871663f7b442d18e8560ff6040518463ffffffff1660e01b815260040161363993929190615e23565b600060405180830381600087803b15801561365357600080fd5b505af1158015613667573d6000803e3d6000fd5b505050505b8815613811576001856080018181516136859190615e53565b63ffffffff169052506040516330882f0760e11b81526001600160a01b038816906361105e0e906136bf908f90899060ff90600401615e77565b600060405180830381600087803b1580156136d957600080fd5b505af11580156136ed573d6000803e3d6000fd5b50506040516330b8415f60e01b81526001600160601b038416600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__92506330b8415f9150602401602060405180830381865af4158015613749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061376d9190615355565b156138115761378084606001518261446f565b6001600160601b03166060850152608084018051600191906137a3908390615e53565b63ffffffff169052508451604051631e40b36360e01b81526001600160a01b03891691631e40b363916137de9190889060ff90600401615eaf565b600060405180830381600087803b1580156137f857600080fd5b505af115801561380c573d6000803e3d6000fd5b505050505b50505050505050505050505050565b81518151101561393a578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561387d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138a19190615493565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156138f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139189190615493565b604051631a9c6b0960e01b8152600481019290925260248201526044016107fc565b60008080613948607861457d565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561398e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139b2919061539a565b604051639ad69c6760e01b81526001600160601b03861660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015613a06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a2a91906153f2565b6040818101899052606082018890525163f7b442d160e01b81529091506001600160a01b0384169063f7b442d190613a6b908890859060ff90600401615e23565b600060405180830381600087803b158015613a8557600080fd5b505af1158015613a99573d6000803e3d6000fd5b5050505050505050505050565b60006105e560286147b0565b60006105e560466147b0565b613ac6613b35565b613acf81612388565b613ad7611b8b565b6001600160a01b038216613afe5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615f1783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020615f5783398151915254600160401b900460ff16613b6c57604051631afcd79f60e31b815260040160405180910390fd5b565b600080613b836001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613bd2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613bfa9190810190615a40565b6020015190506000613c146001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613c63573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613c8b9190810190615a40565b60800151949350505050565b60006111968383670de0b6b3a76400006148bd565b600080613cc16001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015613d07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d2b919061537d565b604051630a4d29dd60e31b81526001600160601b038216600482015290925073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015613d86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613daa9190615355565b15613dca5760405163752c00fd60e11b81523360048201526024016107fc565b6000613dde6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613e2d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613e559190810190615a40565b9050613e738160400151613e67607890565b60ff9081169116141590565b15613e9357604051637ab07d8760e01b81523360048201526024016107fc565b6000613ea76001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613efc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613f249190810190615a40565b60800151939492505050565b6101e5613b35565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613f8c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e59190615a18565b6040516301ffc9a760e01b815263bcb0007960e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015614004573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140289190615355565b614050576040516359bff0e360e11b81526001600160a01b03881660048201526024016107fc565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015614090573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526140b89190810190615a40565b90506140cf81604001518860ff9081169116141590565b1561410f576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a16602483015290911660448201526064016107fc565b60a08101516001600160a01b03858116908216146141615760a0820151604051632b50a20960e21b81526001600160a01b03808c166004830152918216602482015290861660448201526064016107fc565b81602001519250614171836149a7565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156141b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141d5919061539a565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa15801561422c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906142509190615355565b61429657604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b03861660448201526064016107fc565b505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613f6f565b600080516020615f578339815191528054600160401b810460ff1615906001600160401b03166000811580156143105750825b90506000826001600160401b0316600114801561432c5750303b155b90508115801561433a575080155b156143585760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561438257845460ff60401b1916600160401b1785555b600080878060200190518101906143999190615ed1565b925090506143a98160008b612e67565b6143b963db53be8360e01b610948565b5050831561216357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161215a565b600080516020615f3783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b614466613b35565b61249381614a3c565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af41580156144d2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611196919061537d565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af4158015614559573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111969190615355565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201526000806145c96001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015614610573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526146389190810190615a40565b925061464f83604001518660ff9081169116141590565b1561469357608083015160408085015190516304081d4960e41b81526001600160a01b03909216600483015260ff80881660248401521660448201526064016107fc565b826000015193506146a783602001516149a7565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156146e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061470b919061539a565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015614755573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147799190615355565b156147a857608083015160405163d53987e560e01b81526001600160a01b0390911660048201526024016107fc565b509193909250565b60006147c46001546001600160a01b031690565b6001600160a01b031663d39e6043836147db610560565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015614830573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906148549190615e06565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614899573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ca919061539a565b60008080600019858709858702925082811083820303915050806000036148f7578382816148ed576148ed615f00565b0492505050611196565b80841161493e5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b60448201526064016107fc565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b60006149bb6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015614a0a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052614a329190810190615a40565b6080015192915050565b614a44613b35565b612493816143fd565b600060208284031215614a5f57600080fd5b81356001600160e01b03198116811461119657600080fd5b60005b83811015614a92578181015183820152602001614a7a565b50506000910152565b60008151808452614ab3816020860160208601614a77565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151614b3060c08401826001600160a01b03169052565b5060c083015160e080840152614b4a610100840182614a9b565b949350505050565b6001600160601b038116811461249357600080fd5b6001600160c01b03198116811461249357600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b0381118282101715614bb657614bb6614b7d565b60405290565b604080519081016001600160401b0381118282101715614bb657614bb6614b7d565b60405160e081016001600160401b0381118282101715614bb657614bb6614b7d565b60405160a081016001600160401b0381118282101715614bb657614bb6614b7d565b60405161012081016001600160401b0381118282101715614bb657614bb6614b7d565b604051601f8201601f191681016001600160401b0381118282101715614c6d57614c6d614b7d565b604052919050565b60006101e08284031215614c8857600080fd5b614c90614b93565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013581830152506101608083013581830152506101808083013581830152506101a08083013581830152506101c080830135818301525092915050565b60008060006102208486031215614d4c57600080fd5b8335614d5781614b52565b92506020840135614d6781614b67565b9150614d768560408601614c75565b90509250925092565b60008060408385031215614d9257600080fd5b8235614d9d81614b52565b91506020830135614dad81614b67565b809150509250929050565b6001600160a01b038116811461249357600080fd5b60ff8116811461249357600080fd5b801515811461249357600080fd5b8035614df581614ddc565b919050565b60006001600160401b03821115614e1357614e13614b7d565b50601f01601f191660200190565b600082601f830112614e3257600080fd5b8135614e45614e4082614dfa565b614c45565b818152846020838601011115614e5a57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215614e9057600080fd5b8635614e9b81614db8565b95506020870135614eab81614b52565b94506040870135614ebb81614dcd565b93506060870135614ecb81614ddc565b92506080870135614edb81614db8565b915060a08701356001600160401b03811115614ef657600080fd5b614f0289828a01614e21565b9150509295509295509295565b63ffffffff8116811461249357600080fd5b60008060008060008060008060006101208a8c031215614f4057600080fd5b89356001600160401b0380821115614f5757600080fd5b614f638d838e01614e21565b9a5060208c0135995060408c0135985060608c0135975060808c01359150614f8a82614f0f565b90955060a08b013590614f9c82614f0f565b819550614fab60c08d01614dea565b9450614fb960e08d01614dea565b93506101008c0135915080821115614fd057600080fd5b50614fdd8c828d01614e21565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b60006020828403121561501457600080fd5b81356001600160401b0381111561502a57600080fd5b614b4a84828501614e21565b60006020828403121561504857600080fd5b813561119681614db8565b6000806040838503121561506657600080fd5b823561507181614db8565b915060208301356001600160401b0381111561508c57600080fd5b61509885828601614e21565b9150509250929050565b6000806000606084860312156150b757600080fd5b83356150c281614db8565b925060208401356150d281614b67565b915060408401356001600160401b038111156150ed57600080fd5b6150f986828701614e21565b9150509250925092565b64ffffffffff8116811461249357600080fd5b60008060008060008060c0878903121561512f57600080fd5b863561513a81614b52565b955060208701356001600160401b038082111561515657600080fd5b6151628a838b01614e21565b9650604089013595506060890135915061517b82614f0f565b90935060808801359061518d82615103565b90925060a088013590808211156151a357600080fd5b50614f0289828a01614e21565b6000806000606084860312156151c557600080fd5b83356151d081614db8565b925060208401356151e081614db8565b915060408401356151f081614db8565b809150509250925092565b600080600080610240858703121561521257600080fd5b843561521d81614b52565b9350602085013561522d81614b67565b925061523c8660408701614c75565b915061022085013561524d81614b52565b939692955090935050565b60006040828403121561526a57600080fd5b615272614bbc565b9050813581526020820135602082015292915050565b6000806080838503121561529b57600080fd5b6152a58484615258565b91506152b48460408501615258565b90509250929050565b600080604083850312156152d057600080fd5b82356152db81614db8565b91506020830135614dad81614db8565b6000602082840312156152fd57600080fd5b815162ffffff8116811461119657600080fd5b600181811c9082168061532457607f821691505b60208210810361534457634e487b7160e01b600052602260045260246000fd5b50919050565b8051614df581614ddc565b60006020828403121561536757600080fd5b815161119681614ddc565b8051614df581614b52565b60006020828403121561538f57600080fd5b815161119681614b52565b6000602082840312156153ac57600080fd5b815161119681614db8565b6000604082840312156153c957600080fd5b6153d1614bbc565b9050815181526020820151602082015292915050565b8051614df581614db8565b6000610100828403121561540557600080fd5b60405160c081018181106001600160401b038211171561542757615427614b7d565b604052825161543581614b52565b8152602083015161544581614db8565b602082015261545784604085016153b7565b604082015261546984608085016153b7565b606082015260c083015161547c81614db8565b608082015260e0929092015160a083015250919050565b6000602082840312156154a557600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156114ca576114ca6154ac565b600082601f8301126154e657600080fd5b81516154f4614e4082614dfa565b81815284602083860101111561550957600080fd5b614b4a826020830160208701614a77565b8051614df581614f0f565b8051614df581615103565b60006020828403121561554257600080fd5b81516001600160401b038082111561555957600080fd5b9083019060e0828603121561556d57600080fd5b615575614bde565b61557e83615372565b815260208301518281111561559257600080fd5b61559e878286016154d5565b602083015250604083015160408201526155ba6060840161551a565b60608201526155cb6080840161551a565b60808201526155dc60a08401615525565b60a082015260c0830151828111156155f357600080fd5b6155ff878286016154d5565b60c08301525095945050505050565b60006020828403121561562057600080fd5b81516001600160401b038082111561563757600080fd5b9083019060a0828603121561564b57600080fd5b615653614c00565b825161565e81614b67565b8152602083015161566e81614ddc565b602082015260408301518281111561568557600080fd5b615691878286016154d5565b604083015250606083015191506156a782614b52565b816060820152608083015192506156bd83614f0f565b6080810192909252509392505050565b6000602082840312156156df57600080fd5b81516001600160401b03808211156156f657600080fd5b90830190610120828603121561570b57600080fd5b615713614c22565b82518281111561572257600080fd5b61572e878286016154d5565b82525060208301516020820152604083015160408201526060830151606082015261575b6080840161551a565b608082015261576c60a0840161551a565b60a082015261577d60c0840161534a565b60c082015261578e60e0840161534a565b60e082015261010080840151838111156157a757600080fd5b6157b3888287016154d5565b918301919091525095945050505050565b818103818111156114ca576114ca6154ac565b6000602082840312156157e957600080fd5b815161119681615103565b601f82111561309b57600081815260208120601f850160051c8101602086101561581b5750805b601f850160051c820191505b8181101561583a57828155600101615827565b505050505050565b81516001600160401b0381111561585b5761585b614b7d565b61586f816158698454615310565b846157f4565b602080601f8311600181146158a4576000841561588c5750858301515b600019600386901b1c1916600185901b17855561583a565b600085815260208120601f198616915b828110156158d3578886015182559484019460019091019084016158b4565b50858210156158f15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b0383168152604060208201526000614b4a6040830184614a9b565b60006020828403121561593557600080fd5b815161119681614b67565b6001600160401b0360c01b831681526040602082015260008251610120806040850152615971610160850183614a9b565b91506020850151606085015260408501516080850152606085015160a085015260808501516159a860c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c08501516101006159d08187018315159052565b60e087015115159286019290925250840151603f19848303016101408501526159f98282614a9b565b9695505050505050565b6001600160401b038116811461249357600080fd5b600060208284031215615a2a57600080fd5b815161119681615a03565b8051614df581614dcd565b600060208284031215615a5257600080fd5b81516001600160401b0380821115615a6957600080fd5b9083019060e08286031215615a7d57600080fd5b615a85614bde565b615a8e83615372565b8152615a9c60208401615372565b6020820152615aad60408401615a35565b6040820152615abe6060840161534a565b6060820152615acf608084016153e7565b60808201526155dc60a084016153e7565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b038316815261012081016111966020830184615ae0565b634e487b7160e01b600052603260045260246000fd5b600060208284031215615b9057600080fd5b81516001600160401b03811115615ba657600080fd5b614b4a848285016154d5565b600081518084526020808501945080840160005b83811015615beb5781516001600160401b031687529582019590820190600101615bc6565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152615c2760a0840187614a9b565b8381036060850152855180825282820190600581901b830184018489016000805b84811015615ca557868403601f19018652825180518086529089019089860190845b81811015615c905783516001600160e01b0319168352928b0192918b0191600101615c6a565b50509689019694505091870191600101615c48565b5050508681036080880152615cba8189615bb2565b9c9b505050505050505050505050565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a06040850152615d0160a0850182614a9b565b90506001600160601b03606084015116606085015263ffffffff60808401511660808501528091505092915050565b6001600160601b0383168152604060208201526000614b4a6040830184615cca565b6020815260006111966020830184614a9b565b6001600160601b0381511682526000602082015160e06020850152615d8d60e0850182614a9b565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c08601526114c58282614a9b565b6001600160401b0360c01b83168152604060208201526000614b4a6040830184615d65565b600060208284031215615e1857600080fd5b815161119681614dcd565b6001600160601b03841681526101408101615e416020830185615ae0565b60ff8316610120830152949350505050565b63ffffffff818116838216019080821115615e7057615e706154ac565b5092915050565b6001600160401b0360c01b84168152606060208201526000615e9c6060830185615d65565b905060ff83166040830152949350505050565b6001600160601b0384168152606060208201526000615e9c6060830185615cca565b60008060408385031215615ee457600080fd5b8251615eef81614db8565b6020840151909250614dad81614db8565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122037e9c7e56336e96a46e54b34418986a2c4b5984db2b07cc4178e4f2990ea546a64736f6c63430008140033",
1390
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80635dcb3bae1161010f57806392e5fab6116100a2578063bf7e214f11610071578063bf7e214f1461051f578063caf4e3d41461053d578063cc9fc59a14610545578063f7c34ee01461054d57600080fd5b806392e5fab6146104d5578063ada9652e146104e8578063b68d1809146104fd578063b6b412ba1461050c57600080fd5b8063893d20e8116100de578063893d20e8146104865780638dd2b7811461048e5780638e32e979146104a15780638fb36037146104b457600080fd5b80635dcb3bae1461042f578063644c45e014610442578063675393bf146104605780637a9e5e4b1461047357600080fd5b806325d073841161018757806336fc697e1161015657806336fc697e146103c45780634420e486146103cc57806349bb9e4b146103f75780635ab1bd531461040a57600080fd5b806325d073841461036b57806327bb7a331461037e5780632b5198b114610391578063329d6e74146103b157600080fd5b8063138461e0116101c3578063138461e01461025d5780631eff4b2214610267578063214cdb801461029c578063219a3195146102af57600080fd5b806301ffc9a7146101ea5780630d8e6e2c1461022c5780630fec111c14610248575b600080fd5b6102176101f8366004614a4d565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610234610560565b60405162ffffff9091168152602001610223565b6102506105ea565b6040516102239190614ac7565b610265610741565b005b61028e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102656102aa366004614a4d565b610948565b6102c26102bd366004614d36565b610975565b6040516102239190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e08083015190820152610100808301519082015261012080830151908201526101408083015190820152610160808301519082015261018080830151908201526101a080830151908201526101c091820151918101919091526101e00190565b610217610379366004614d7f565b61119d565b61026561038c366004614e77565b6114d0565b6103a461039f366004614f21565b611575565b6040516102239190614fed565b6102656103bf366004615002565b611a3e565b610265611b8b565b6103df6103da366004615036565b611bd1565b6040516001600160601b039091168152602001610223565b610265610405366004615053565b61206d565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6103df61043d3660046150a2565b61216c565b600080516020615f17833981519152546001600160601b03166103df565b61026561046e366004615036565b612388565b610265610481366004615036565b612496565b610417612530565b6103a461049c366004615116565b612667565b6102656104af3660046151b0565b612e67565b6104bc6130a0565b6040516001600160e01b03199091168152602001610223565b6102656104e33660046151fb565b6130d8565b61028e600080516020615f1783398151915281565b60405160788152602001610223565b61026561051a366004615288565b613820565b600080516020615f37833981519152546001600160a01b0316610417565b610417613aa6565b610417613ab2565b61026561055b3660046152bd565b613abe565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e591906152eb565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526040805160e081019091527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300908060006001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161069d612530565b6001600160a01b031681526020018260010180546106ba90615310565b80601f01602080910402602001604051908101604052809291908181526020018280546106e690615310565b80156107335780601f1061070857610100808354040283529160200191610733565b820191906000526020600020905b81548152906001019060200180831161071657829003601f168201915b505050505081525091505090565b6000600080516020615f1783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d49190615355565b156108055780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306108186001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610860573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108849190615355565b6108ac5760405163b9304b0d60e01b81526001600160a01b03821660048201526024016107fc565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610900573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610924919061537d565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610950613b35565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6109ee604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b60006109f985613b6e565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5f919061539a565b604051639ad69c6760e01b81526001600160601b03881660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015610ab3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad791906153f2565b6060810151604080830151885191516322f5db0f60e11b81529394509192600091610b719173__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610b29919060040190815260200190565b602060405180830381865af4158015610b46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6a9190615493565b8451613c97565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610bc2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be69190615493565b61014089018190526020890180519192508291610c049083906154c2565b905250610c118a8a61119d565b610c435750505060c0850151610160860152505050610140820151610180830152506020810151604082015280611196565b604051631d3be47760e01b81526000906001600160a01b03871690631d3be47790610c72908d90600401614fed565b600060405180830381865afa158015610c8f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cb79190810190615530565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b0388169063d06458c69082906327b1d79290602401600060405180830381865afa158015610d15573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d3d919081019061560e565b516040516001600160e01b031960e084901b168152610d5f9190600401614fed565b600060405180830381865afa158015610d7c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610da491908101906156cd565b8a516040516322f5db0f60e11b8152600481019190915290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610dfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e219190615493565b60608301516040516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610e6492600401918252602082015260400190565b602060405180830381865af4158015610e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea59190615493565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610ef6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1a9190615493565b6101a08c0181905260208c01516040516322f5db0f60e11b815291925073__$5ac3274b8cf1e01ea223bf093142af05b0$__916345ebb61e91610f639160040190815260200190565b602060405180830381865af4158015610f80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa49190615493565b60408085015190516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610fe792600401918252602082015260400190565b602060405180830381865af4158015611004573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110289190615493565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611079573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109d9190615493565b6101c08c0181905260208601516101608d01526110ba82866157c4565b6110c491906157c4565b6101808c01526101c08b015160208c01516110df91906157c4565b60408c0152505050602082015161016089015110806111285750876101a00151886101800151896101c0015161111591906154c2565b61111f91906154c2565b88610140015114155b1561118c5760c08801516101408901516101608a01516101808b01516101a08c01516101c08d015160405163a4d2313f60e01b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c4016107fc565b8796505050505050505b9392505050565b6000806111a984613b6e565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120f919061539a565b6001600160a01b0316631d3be477856040518263ffffffff1660e01b815260040161123a9190614fed565b600060405180830381865afa158015611257573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261127f9190810190615530565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156112dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113019190615355565b15611311576000925050506114ca565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561136d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113919190615355565b806114a3575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af41580156113f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114179190615355565b80156114a357506114a373__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561146a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148e91906157d7565b8260a0015164ffffffffff9081169116111590565b92508280156114c55750806060015163ffffffff16816080015163ffffffff16105b925050505b92915050565b6114d8613b35565b6114e28287613abe565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161156b8382615842565b5050505050505050565b6000806000611582613cac565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ea919061539a565b604051639ad69c6760e01b81526001600160601b03851660048201526001600160a01b039190911690639ad69c679060240161010060405180830381865afa15801561163a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061165e91906153f2565b60408181015151905163771602f760e01b81526004810191909152602481018c905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063771602f790604401602060405180830381865af41580156116c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e69190615493565b60608301515160405163b67d77c560e01b815260048101919091526024810182905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__9063b67d77c590604401602060405180830381865af415801561174a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176e9190615493565b6040516321e5749b60e01b8152600481018f90526024810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906321e5749b90604401602060405180830381865af41580156117c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ec9190615355565b156118fb57604051632255341b60e11b8152600481018e905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015611841573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118659190615493565b604051632255341b60e11b81526004810183905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156118b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d99190615493565b60405163e2ed03dd60e01b8152600481019290925260248201526044016107fc565b50505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b8152600401611937929190615901565b602060405180830381865af4158015611954573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119789190615923565b925060006040518061012001604052808e81526020018d81526020018c81526020018b81526020018a63ffffffff1681526020018963ffffffff16815260200188151581526020018715158152602001868152509050816001600160a01b03166330a130ba85836040518363ffffffff1660e01b81526004016119fc929190615940565b600060405180830381600087803b158015611a1657600080fd5b505af1158015611a2a573d6000803e3d6000fd5b505050505050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611a60610560565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611aa0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac49190615a18565b600080516020615f578339815191528054600160401b900460ff1680611af7575080546001600160401b03808416911610155b15611b155760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611b3f83613f30565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b611b93613b35565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080808080611bea866078611be5613f38565b613fb0565b93509350935093506000611bfc613aa6565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af1158015611c4e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c769190810190615a40565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611cb857600080fd5b505af1158015611ccc573d6000803e3d6000fd5b5050505081600001519650836001600160a01b0316639e90178c88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161010060405180830381865afa158015611d26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4a91906153f2565b6040518363ffffffff1660e01b8152600401611d67929190615b4a565b600060405180830381600087803b158015611d8157600080fd5b505af1158015611d95573d6000803e3d6000fd5b506000925060029150611da59050565b604051908082528060200260200182016040528015611dd857816020015b6060815260200190600190039081611dc35790505b50604080516001808252818301909252919250602080830190803683370190505081600081518110611e0c57611e0c615b68565b602090810291909101015260408051600280825260608201909252908160200160208202803683370190505081600181518110611e4b57611e4b615b68565b602002602001018190525063b6b412ba60e01b81600081518110611e7157611e71615b68565b6020026020010151600081518110611e8b57611e8b615b68565b6001600160e01b0319909216602092830291909101909101528051637c07103960e11b9082906001908110611ec257611ec2615b68565b6020026020010151600081518110611edc57611edc615b68565b6001600160e01b0319929092166020928302919091018201526040805160028082526060820183526000939192909183019080368337019050509050611f20613f38565b81600081518110611f3357611f33615b68565b60200260200101906001600160401b031690816001600160401b031681525050611f5b6142a1565b81600181518110611f6e57611f6e615b68565b60200260200101906001600160401b031690816001600160401b031681525050611f96613ab2565b6001600160a01b0316636c6fbb28868c866001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611fe4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261200c9190810190615b7e565b86866040518663ffffffff1660e01b815260040161202e959493929190615bf6565b600060405180830381600087803b15801561204857600080fd5b505af115801561205c573d6000803e3d6000fd5b505050505050505050505050919050565b600080516020615f578339815191528054600160401b810460ff1615906001600160401b03166000811580156120a05750825b90506000826001600160401b031660011480156120bc5750303b155b9050811580156120ca575080155b156120e85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561211257845460ff60401b1916600160401b1785555b61211c87876142dd565b831561216357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000806000612179613cac565b91509150612185613aa6565b6001600160a01b03166357a8fba76040518060e001604052806121a6600090565b6001600160601b03168152602001856001600160601b031681526020016121cb607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b815260040161222a9190614ac7565b6020604051808303816000875af1158015612249573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061226d919061537d565b925060006040518060a00160405280876001600160c01b031916815260200160011515815260200186815260200173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156122e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612308919061537d565b6001600160601b031681526000602090910152604051631f32844960e21b81529091506001600160a01b03831690637cca11249061234c9087908590600401615d30565b600060405180830381600087803b15801561236657600080fd5b505af115801561237a573d6000803e3d6000fd5b505050505050509392505050565b612390613b35565b806001600160a01b03163b6000036123c65760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107fc565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015612440575060408051601f3d908101601f1916820190925261243d91810190615355565b60015b6124685760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107fc565b806124915760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107fc565b505b50565b336124b6600080516020615f37833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146124f15760405162d1953b60e31b81526001600160a01b03821660048201526024016107fc565b816001600160a01b03163b600003612527576040516361798f2f60e11b81526001600160a01b03831660048201526024016107fc565b612491826143fd565b600080600080516020615f1783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156125a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125c49190615355565b15612651576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612627573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061264b919061539a565b91505090565b54600160601b90046001600160a01b0316919050565b6000806000612674613cac565b91509150875160000361269c5787604051634fad6a5360e11b81526004016107fc9190615d52565b60405163790a38ad60e01b815264ffffffffff8616600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156126f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127169190615355565b1561273d5760405163df85467b60e01b815264ffffffffff861660048201526024016107fc565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561277d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127a1919061539a565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa1580156127f4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261281c919081019061560e565b516040516368322c6360e11b81529091506000906001600160a01b0384169063d06458c69061284f908590600401614fed565b600060405180830381865afa15801561286c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261289491908101906156cd565b90508863ffffffff16816080015163ffffffff1610156128d5576080810151604051636fcee12560e01b815263ffffffff90911660048201526024016107fc565b60208101518a10156129f1576020810151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612937573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061295b9190615493565b604051632255341b60e11b8152600481018c905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156129ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129cf9190615493565b6040516338a25a8b60e21b8152600481019290925260248201526044016107fc565b60408101518a1115612b0d576040818101519051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612a53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a779190615493565b604051632255341b60e11b8152600481018c905273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612ac7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612aeb9190615493565b604051631e1ea4f360e31b8152600481019290925260248201526044016107fc565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612b61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b8591906157d7565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612bdc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c009190615493565b604051633682752160e21b815264ffffffffff8b16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612c56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c7a9190615493565b612c8491906157c4565b1115612d305760a0810151604051633682752160e21b815264ffffffffff8a16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612ce5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d099190615493565b6040516331fa6ab160e11b815263ffffffff909216600483015260248201526044016107fc565b604051631f849e6b60e11b815273__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd690612d699088908f90600401615901565b602060405180830381865af4158015612d86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612daa9190615923565b6040805160e0810182526001600160601b038f168152602081018e90528082018d905263ffffffff8c1660608201526000608082015264ffffffffff8b1660a082015260c081018a90529051631941cfe160e31b8152919750906001600160a01b0386169063ca0e7f0890612e25908a908590600401615de1565b600060405180830381600087803b158015612e3f57600080fd5b505af1158015612e53573d6000803e3d6000fd5b505050505050505050509695505050505050565b612e6f613b35565b612eef83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ed5919061537d565b603c600085604051806020016040528060008152506114d0565b6001600160a01b03821615612f0c57612f078261445e565b61307b565b6000612f206001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015612f80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa49190615e06565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612fe9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061300d919061539a565b9050613079816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613050573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613074919061539a565b61445e565b505b61308b634a531f3360e01b610948565b61309b63b68d180960e01b610948565b505050565b600080516020615f37833981519152805460009190600160a01b900460ff166130ca57600061264b565b638fb3603760e01b91505090565b604051637bc32ecf60e01b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90637bc32ecf9061311c906001600160c01b0319881690600401614fed565b602060405180830381865af4158015613139573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061315d9190615355565b159050600061316c868661119d565b9050818015613179575080155b156131b257604051631cf73cd360e21b81526001600160601b03871660048201526001600160c01b0319861660248201526044016107fc565b60006131bd87613b6e565b90506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613223919061539a565b90506000816001600160a01b0316631d3be477896040518263ffffffff1660e01b81526004016132539190614fed565b600060405180830381865afa158015613270573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526132989190810190615530565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038416906327b1d79290602401600060405180830381865afa1580156132ee573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613316919081019061560e565b604051639ad69c6760e01b81526001600160601b038c1660048201529091506000906001600160a01b03851690639ad69c679060240161010060405180830381865afa15801561336a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061338e91906153f2565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968b61018001518c61016001516133c291906154c2565b6040518263ffffffff1660e01b81526004016133e091815260200190565b602060405180830381865af41580156133fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613421919061537d565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968c6101a001516040518263ffffffff1660e01b815260040161346391815260200190565b602060405180830381865af4158015613480573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134a4919061537d565b90506134b98a6134b4848461446f565b6144f6565b6134f757896134c8838361446f565b60405160016282bae560e01b031981526001600160601b039283166004820152911660248201526044016107fc565b6040516330b8415f60e01b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801561354f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135739190615355565b1561366c5760405163046e44af60e11b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156135d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135f49190615493565b8360a00181815161360591906154c2565b9052506001600160a01b03871663f7b442d18e8560ff6040518463ffffffff1660e01b815260040161363993929190615e23565b600060405180830381600087803b15801561365357600080fd5b505af1158015613667573d6000803e3d6000fd5b505050505b8815613811576001856080018181516136859190615e53565b63ffffffff169052506040516330882f0760e11b81526001600160a01b038816906361105e0e906136bf908f90899060ff90600401615e77565b600060405180830381600087803b1580156136d957600080fd5b505af11580156136ed573d6000803e3d6000fd5b50506040516330b8415f60e01b81526001600160601b038416600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__92506330b8415f9150602401602060405180830381865af4158015613749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061376d9190615355565b156138115761378084606001518261446f565b6001600160601b03166060850152608084018051600191906137a3908390615e53565b63ffffffff169052508451604051631e40b36360e01b81526001600160a01b03891691631e40b363916137de9190889060ff90600401615eaf565b600060405180830381600087803b1580156137f857600080fd5b505af115801561380c573d6000803e3d6000fd5b505050505b50505050505050505050505050565b81518151101561393a578151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561387d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138a19190615493565b8151604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156138f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139189190615493565b604051631a9c6b0960e01b8152600481019290925260248201526044016107fc565b60008080613948607861457d565b9250925092506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561398e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139b2919061539a565b604051639ad69c6760e01b81526001600160601b03861660048201529091506000906001600160a01b03831690639ad69c679060240161010060405180830381865afa158015613a06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a2a91906153f2565b6040818101899052606082018890525163f7b442d160e01b81529091506001600160a01b0384169063f7b442d190613a6b908890859060ff90600401615e23565b600060405180830381600087803b158015613a8557600080fd5b505af1158015613a99573d6000803e3d6000fd5b5050505050505050505050565b60006105e560286147b0565b60006105e560466147b0565b613ac6613b35565b613acf81612388565b613ad7611b8b565b6001600160a01b038216613afe5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615f1783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020615f5783398151915254600160401b900460ff16613b6c57604051631afcd79f60e31b815260040160405180910390fd5b565b600080613b836001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613bd2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613bfa9190810190615a40565b6020015190506000613c146001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613c63573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613c8b9190810190615a40565b60800151949350505050565b60006111968383670de0b6b3a76400006148bd565b600080613cc16001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa158015613d07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d2b919061537d565b604051630a4d29dd60e31b81526001600160601b038216600482015290925073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015613d86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613daa9190615355565b15613dca5760405163752c00fd60e11b81523360048201526024016107fc565b6000613dde6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613e2d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613e559190810190615a40565b9050613e738160400151613e67607890565b60ff9081169116141590565b15613e9357604051637ab07d8760e01b81523360048201526024016107fc565b6000613ea76001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613efc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613f249190810190615a40565b60800151939492505050565b6101e5613b35565b6040516368aebf7b60e01b81526002600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613f8c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e59190615a18565b6040516301ffc9a760e01b815263bcb0007960e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015614004573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140289190615355565b614050576040516359bff0e360e11b81526001600160a01b03881660048201526024016107fc565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015614090573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526140b89190810190615a40565b90506140cf81604001518860ff9081169116141590565b1561410f576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a16602483015290911660448201526064016107fc565b60a08101516001600160a01b03858116908216146141615760a0820151604051632b50a20960e21b81526001600160a01b03808c166004830152918216602482015290861660448201526064016107fc565b81602001519250614171836149a7565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156141b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141d5919061539a565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa15801561422c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906142509190615355565b61429657604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b03861660448201526064016107fc565b505093509350935093565b6040516368aebf7b60e01b81526108fc600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613f6f565b600080516020615f578339815191528054600160401b810460ff1615906001600160401b03166000811580156143105750825b90506000826001600160401b0316600114801561432c5750303b155b90508115801561433a575080155b156143585760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561438257845460ff60401b1916600160401b1785555b600080878060200190518101906143999190615ed1565b925090506143a98160008b612e67565b6143b963db53be8360e01b610948565b5050831561216357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161215a565b600080516020615f3783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b614466613b35565b61249381614a3c565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af41580156144d2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611196919061537d565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af4158015614559573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111969190615355565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201526000806145c96001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015614610573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526146389190810190615a40565b925061464f83604001518660ff9081169116141590565b1561469357608083015160408085015190516304081d4960e41b81526001600160a01b03909216600483015260ff80881660248401521660448201526064016107fc565b826000015193506146a783602001516149a7565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156146e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061470b919061539a565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015614755573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147799190615355565b156147a857608083015160405163d53987e560e01b81526001600160a01b0390911660048201526024016107fc565b509193909250565b60006147c46001546001600160a01b031690565b6001600160a01b031663d39e6043836147db610560565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015614830573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906148549190615e06565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614899573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ca919061539a565b60008080600019858709858702925082811083820303915050806000036148f7578382816148ed576148ed615f00565b0492505050611196565b80841161493e5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b60448201526064016107fc565b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b60006149bb6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015614a0a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052614a329190810190615a40565b6080015192915050565b614a44613b35565b612493816143fd565b600060208284031215614a5f57600080fd5b81356001600160e01b03198116811461119657600080fd5b60005b83811015614a92578181015183820152602001614a7a565b50506000910152565b60008151808452614ab3816020860160208601614a77565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151614b3060c08401826001600160a01b03169052565b5060c083015160e080840152614b4a610100840182614a9b565b949350505050565b6001600160601b038116811461249357600080fd5b6001600160c01b03198116811461249357600080fd5b634e487b7160e01b600052604160045260246000fd5b6040516101e081016001600160401b0381118282101715614bb657614bb6614b7d565b60405290565b604080519081016001600160401b0381118282101715614bb657614bb6614b7d565b60405160e081016001600160401b0381118282101715614bb657614bb6614b7d565b60405160a081016001600160401b0381118282101715614bb657614bb6614b7d565b60405161012081016001600160401b0381118282101715614bb657614bb6614b7d565b604051601f8201601f191681016001600160401b0381118282101715614c6d57614c6d614b7d565b604052919050565b60006101e08284031215614c8857600080fd5b614c90614b93565b9050813581526020820135602082015260408201356040820152606082013560608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e08201526101008083013581830152506101208083013581830152506101408083013581830152506101608083013581830152506101808083013581830152506101a08083013581830152506101c080830135818301525092915050565b60008060006102208486031215614d4c57600080fd5b8335614d5781614b52565b92506020840135614d6781614b67565b9150614d768560408601614c75565b90509250925092565b60008060408385031215614d9257600080fd5b8235614d9d81614b52565b91506020830135614dad81614b67565b809150509250929050565b6001600160a01b038116811461249357600080fd5b60ff8116811461249357600080fd5b801515811461249357600080fd5b8035614df581614ddc565b919050565b60006001600160401b03821115614e1357614e13614b7d565b50601f01601f191660200190565b600082601f830112614e3257600080fd5b8135614e45614e4082614dfa565b614c45565b818152846020838601011115614e5a57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215614e9057600080fd5b8635614e9b81614db8565b95506020870135614eab81614b52565b94506040870135614ebb81614dcd565b93506060870135614ecb81614ddc565b92506080870135614edb81614db8565b915060a08701356001600160401b03811115614ef657600080fd5b614f0289828a01614e21565b9150509295509295509295565b63ffffffff8116811461249357600080fd5b60008060008060008060008060006101208a8c031215614f4057600080fd5b89356001600160401b0380821115614f5757600080fd5b614f638d838e01614e21565b9a5060208c0135995060408c0135985060608c0135975060808c01359150614f8a82614f0f565b90955060a08b013590614f9c82614f0f565b819550614fab60c08d01614dea565b9450614fb960e08d01614dea565b93506101008c0135915080821115614fd057600080fd5b50614fdd8c828d01614e21565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b60006020828403121561501457600080fd5b81356001600160401b0381111561502a57600080fd5b614b4a84828501614e21565b60006020828403121561504857600080fd5b813561119681614db8565b6000806040838503121561506657600080fd5b823561507181614db8565b915060208301356001600160401b0381111561508c57600080fd5b61509885828601614e21565b9150509250929050565b6000806000606084860312156150b757600080fd5b83356150c281614db8565b925060208401356150d281614b67565b915060408401356001600160401b038111156150ed57600080fd5b6150f986828701614e21565b9150509250925092565b64ffffffffff8116811461249357600080fd5b60008060008060008060c0878903121561512f57600080fd5b863561513a81614b52565b955060208701356001600160401b038082111561515657600080fd5b6151628a838b01614e21565b9650604089013595506060890135915061517b82614f0f565b90935060808801359061518d82615103565b90925060a088013590808211156151a357600080fd5b50614f0289828a01614e21565b6000806000606084860312156151c557600080fd5b83356151d081614db8565b925060208401356151e081614db8565b915060408401356151f081614db8565b809150509250925092565b600080600080610240858703121561521257600080fd5b843561521d81614b52565b9350602085013561522d81614b67565b925061523c8660408701614c75565b915061022085013561524d81614b52565b939692955090935050565b60006040828403121561526a57600080fd5b615272614bbc565b9050813581526020820135602082015292915050565b6000806080838503121561529b57600080fd5b6152a58484615258565b91506152b48460408501615258565b90509250929050565b600080604083850312156152d057600080fd5b82356152db81614db8565b91506020830135614dad81614db8565b6000602082840312156152fd57600080fd5b815162ffffff8116811461119657600080fd5b600181811c9082168061532457607f821691505b60208210810361534457634e487b7160e01b600052602260045260246000fd5b50919050565b8051614df581614ddc565b60006020828403121561536757600080fd5b815161119681614ddc565b8051614df581614b52565b60006020828403121561538f57600080fd5b815161119681614b52565b6000602082840312156153ac57600080fd5b815161119681614db8565b6000604082840312156153c957600080fd5b6153d1614bbc565b9050815181526020820151602082015292915050565b8051614df581614db8565b6000610100828403121561540557600080fd5b60405160c081018181106001600160401b038211171561542757615427614b7d565b604052825161543581614b52565b8152602083015161544581614db8565b602082015261545784604085016153b7565b604082015261546984608085016153b7565b606082015260c083015161547c81614db8565b608082015260e0929092015160a083015250919050565b6000602082840312156154a557600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156114ca576114ca6154ac565b600082601f8301126154e657600080fd5b81516154f4614e4082614dfa565b81815284602083860101111561550957600080fd5b614b4a826020830160208701614a77565b8051614df581614f0f565b8051614df581615103565b60006020828403121561554257600080fd5b81516001600160401b038082111561555957600080fd5b9083019060e0828603121561556d57600080fd5b615575614bde565b61557e83615372565b815260208301518281111561559257600080fd5b61559e878286016154d5565b602083015250604083015160408201526155ba6060840161551a565b60608201526155cb6080840161551a565b60808201526155dc60a08401615525565b60a082015260c0830151828111156155f357600080fd5b6155ff878286016154d5565b60c08301525095945050505050565b60006020828403121561562057600080fd5b81516001600160401b038082111561563757600080fd5b9083019060a0828603121561564b57600080fd5b615653614c00565b825161565e81614b67565b8152602083015161566e81614ddc565b602082015260408301518281111561568557600080fd5b615691878286016154d5565b604083015250606083015191506156a782614b52565b816060820152608083015192506156bd83614f0f565b6080810192909252509392505050565b6000602082840312156156df57600080fd5b81516001600160401b03808211156156f657600080fd5b90830190610120828603121561570b57600080fd5b615713614c22565b82518281111561572257600080fd5b61572e878286016154d5565b82525060208301516020820152604083015160408201526060830151606082015261575b6080840161551a565b608082015261576c60a0840161551a565b60a082015261577d60c0840161534a565b60c082015261578e60e0840161534a565b60e082015261010080840151838111156157a757600080fd5b6157b3888287016154d5565b918301919091525095945050505050565b818103818111156114ca576114ca6154ac565b6000602082840312156157e957600080fd5b815161119681615103565b601f82111561309b57600081815260208120601f850160051c8101602086101561581b5750805b601f850160051c820191505b8181101561583a57828155600101615827565b505050505050565b81516001600160401b0381111561585b5761585b614b7d565b61586f816158698454615310565b846157f4565b602080601f8311600181146158a4576000841561588c5750858301515b600019600386901b1c1916600185901b17855561583a565b600085815260208120601f198616915b828110156158d3578886015182559484019460019091019084016158b4565b50858210156158f15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160601b0383168152604060208201526000614b4a6040830184614a9b565b60006020828403121561593557600080fd5b815161119681614b67565b6001600160401b0360c01b831681526040602082015260008251610120806040850152615971610160850183614a9b565b91506020850151606085015260408501516080850152606085015160a085015260808501516159a860c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c08501516101006159d08187018315159052565b60e087015115159286019290925250840151603f19848303016101408501526159f98282614a9b565b9695505050505050565b6001600160401b038116811461249357600080fd5b600060208284031215615a2a57600080fd5b815161119681615a03565b8051614df581614dcd565b600060208284031215615a5257600080fd5b81516001600160401b0380821115615a6957600080fd5b9083019060e08286031215615a7d57600080fd5b615a85614bde565b615a8e83615372565b8152615a9c60208401615372565b6020820152615aad60408401615a35565b6040820152615abe6060840161534a565b6060820152615acf608084016153e7565b60808201526155dc60a084016153e7565b80516001600160601b031682526020808201516001600160a01b0390811682850152604080840151805191860191909152918201516060850152606083015180516080860152602081015160a0860152915060808301511660c08401525060a0015160e090910152565b6001600160601b038316815261012081016111966020830184615ae0565b634e487b7160e01b600052603260045260246000fd5b600060208284031215615b9057600080fd5b81516001600160401b03811115615ba657600080fd5b614b4a848285016154d5565b600081518084526020808501945080840160005b83811015615beb5781516001600160401b031687529582019590820190600101615bc6565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152615c2760a0840187614a9b565b8381036060850152855180825282820190600581901b830184018489016000805b84811015615ca557868403601f19018652825180518086529089019089860190845b81811015615c905783516001600160e01b0319168352928b0192918b0191600101615c6a565b50509689019694505091870191600101615c48565b5050508681036080880152615cba8189615bb2565b9c9b505050505050505050505050565b6001600160401b0360c01b81511682526020810151151560208301526000604082015160a06040850152615d0160a0850182614a9b565b90506001600160601b03606084015116606085015263ffffffff60808401511660808501528091505092915050565b6001600160601b0383168152604060208201526000614b4a6040830184615cca565b6020815260006111966020830184614a9b565b6001600160601b0381511682526000602082015160e06020850152615d8d60e0850182614a9b565b905060408301516040850152606083015163ffffffff8082166060870152806080860151166080870152505064ffffffffff60a08401511660a085015260c083015184820360c08601526114c58282614a9b565b6001600160401b0360c01b83168152604060208201526000614b4a6040830184615d65565b600060208284031215615e1857600080fd5b815161119681614dcd565b6001600160601b03841681526101408101615e416020830185615ae0565b60ff8316610120830152949350505050565b63ffffffff818116838216019080821115615e7057615e706154ac565b5092915050565b6001600160401b0360c01b84168152606060208201526000615e9c6060830185615d65565b905060ff83166040830152949350505050565b6001600160601b0384168152606060208201526000615e9c6060830185615cca565b60008060408385031215615ee457600080fd5b8251615eef81614db8565b6020840151909250614dad81614db8565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122037e9c7e56336e96a46e54b34418986a2c4b5984db2b07cc4178e4f2990ea546a64736f6c63430008140033",
1391
- "linkReferences": {
1392
- "contracts/types/Amount.sol": {
1393
- "AmountLib": [
1394
- {
1395
- "length": 20,
1396
- "start": 9091
1397
- },
1398
- {
1399
- "length": 20,
1400
- "start": 13434
1401
- },
1402
- {
1403
- "length": 20,
1404
- "start": 13581
1405
- },
1406
- {
1407
- "length": 20,
1408
- "start": 13819
1409
- },
1410
- {
1411
- "length": 20,
1412
- "start": 13948
1413
- },
1414
- {
1415
- "length": 20,
1416
- "start": 14323
1417
- },
1418
- {
1419
- "length": 20,
1420
- "start": 17790
1421
- },
1422
- {
1423
- "length": 20,
1424
- "start": 17925
1425
- }
1426
- ]
1427
- },
1428
- "contracts/types/DistributorType.sol": {
1429
- "DistributorTypeLib": [
1430
- {
1431
- "length": 20,
1432
- "start": 6630
1433
- }
1434
- ]
1435
- },
1436
- "contracts/types/NftId.sol": {
1437
- "NftIdLib": [
1438
- {
1439
- "length": 20,
1440
- "start": 2140
1441
- },
1442
- {
1443
- "length": 20,
1444
- "start": 5001
1445
- },
1446
- {
1447
- "length": 20,
1448
- "start": 9804
1449
- },
1450
- {
1451
- "length": 20,
1452
- "start": 15922
1453
- }
1454
- ]
1455
- },
1456
- "contracts/types/Referral.sol": {
1457
- "ReferralLib": [
1458
- {
1459
- "length": 20,
1460
- "start": 11813
1461
- },
1462
- {
1463
- "length": 20,
1464
- "start": 12752
1465
- }
1466
- ]
1467
- },
1468
- "contracts/types/RoleId.sol": {
1469
- "RoleIdLib": [
1470
- {
1471
- "length": 20,
1472
- "start": 16439
1473
- },
1474
- {
1475
- "length": 20,
1476
- "start": 17313
1477
- }
1478
- ]
1479
- },
1480
- "contracts/types/Timestamp.sol": {
1481
- "TimestampLib": [
1482
- {
1483
- "length": 20,
1484
- "start": 5145
1485
- },
1486
- {
1487
- "length": 20,
1488
- "start": 5279
1489
- },
1490
- {
1491
- "length": 20,
1492
- "start": 5385
1493
- },
1494
- {
1495
- "length": 20,
1496
- "start": 10142
1497
- },
1498
- {
1499
- "length": 20,
1500
- "start": 11264
1501
- },
1502
- {
1503
- "length": 20,
1504
- "start": 11400
1505
- },
1506
- {
1507
- "length": 20,
1508
- "start": 11522
1509
- },
1510
- {
1511
- "length": 20,
1512
- "start": 11665
1513
- }
1514
- ]
1515
- },
1516
- "contracts/types/UFixed.sol": {
1517
- "UFixedLib": [
1518
- {
1519
- "length": 20,
1520
- "start": 3044
1521
- },
1522
- {
1523
- "length": 20,
1524
- "start": 3182
1525
- },
1526
- {
1527
- "length": 20,
1528
- "start": 3753
1529
- },
1530
- {
1531
- "length": 20,
1532
- "start": 3867
1533
- },
1534
- {
1535
- "length": 20,
1536
- "start": 4002
1537
- },
1538
- {
1539
- "length": 20,
1540
- "start": 4127
1541
- },
1542
- {
1543
- "length": 20,
1544
- "start": 4254
1545
- },
1546
- {
1547
- "length": 20,
1548
- "start": 4389
1549
- },
1550
- {
1551
- "length": 20,
1552
- "start": 5998
1553
- },
1554
- {
1555
- "length": 20,
1556
- "start": 6134
1557
- },
1558
- {
1559
- "length": 20,
1560
- "start": 6260
1561
- },
1562
- {
1563
- "length": 20,
1564
- "start": 6381
1565
- },
1566
- {
1567
- "length": 20,
1568
- "start": 6497
1569
- },
1570
- {
1571
- "length": 20,
1572
- "start": 10723
1573
- },
1574
- {
1575
- "length": 20,
1576
- "start": 10839
1577
- },
1578
- {
1579
- "length": 20,
1580
- "start": 11007
1581
- },
1582
- {
1583
- "length": 20,
1584
- "start": 11123
1585
- },
1586
- {
1587
- "length": 20,
1588
- "start": 14633
1589
- },
1590
- {
1591
- "length": 20,
1592
- "start": 14752
1593
- }
1594
- ]
1595
- },
1596
- "contracts/types/Version.sol": {
1597
- "VersionLib": [
1598
- {
1599
- "length": 20,
1600
- "start": 1645
1601
- },
1602
- {
1603
- "length": 20,
1604
- "start": 6950
1605
- },
1606
- {
1607
- "length": 20,
1608
- "start": 18652
1609
- }
1610
- ],
1611
- "VersionPartLib": [
1612
- {
1613
- "length": 20,
1614
- "start": 12332
1615
- }
1616
- ]
1617
- }
1618
- },
1619
- "deployedLinkReferences": {
1620
- "contracts/types/Amount.sol": {
1621
- "AmountLib": [
1622
- {
1623
- "length": 20,
1624
- "start": 8861
1625
- },
1626
- {
1627
- "length": 20,
1628
- "start": 13204
1629
- },
1630
- {
1631
- "length": 20,
1632
- "start": 13351
1633
- },
1634
- {
1635
- "length": 20,
1636
- "start": 13589
1637
- },
1638
- {
1639
- "length": 20,
1640
- "start": 13718
1641
- },
1642
- {
1643
- "length": 20,
1644
- "start": 14093
1645
- },
1646
- {
1647
- "length": 20,
1648
- "start": 17560
1649
- },
1650
- {
1651
- "length": 20,
1652
- "start": 17695
1653
- }
1654
- ]
1655
- },
1656
- "contracts/types/DistributorType.sol": {
1657
- "DistributorTypeLib": [
1658
- {
1659
- "length": 20,
1660
- "start": 6400
1661
- }
1662
- ]
1663
- },
1664
- "contracts/types/NftId.sol": {
1665
- "NftIdLib": [
1666
- {
1667
- "length": 20,
1668
- "start": 1910
1669
- },
1670
- {
1671
- "length": 20,
1672
- "start": 4771
1673
- },
1674
- {
1675
- "length": 20,
1676
- "start": 9574
1677
- },
1678
- {
1679
- "length": 20,
1680
- "start": 15692
1681
- }
1682
- ]
1683
- },
1684
- "contracts/types/Referral.sol": {
1685
- "ReferralLib": [
1686
- {
1687
- "length": 20,
1688
- "start": 11583
1689
- },
1690
- {
1691
- "length": 20,
1692
- "start": 12522
1693
- }
1694
- ]
1695
- },
1696
- "contracts/types/RoleId.sol": {
1697
- "RoleIdLib": [
1698
- {
1699
- "length": 20,
1700
- "start": 16209
1701
- },
1702
- {
1703
- "length": 20,
1704
- "start": 17083
1705
- }
1706
- ]
1707
- },
1708
- "contracts/types/Timestamp.sol": {
1709
- "TimestampLib": [
1710
- {
1711
- "length": 20,
1712
- "start": 4915
1713
- },
1714
- {
1715
- "length": 20,
1716
- "start": 5049
1717
- },
1718
- {
1719
- "length": 20,
1720
- "start": 5155
1721
- },
1722
- {
1723
- "length": 20,
1724
- "start": 9912
1725
- },
1726
- {
1727
- "length": 20,
1728
- "start": 11034
1729
- },
1730
- {
1731
- "length": 20,
1732
- "start": 11170
1733
- },
1734
- {
1735
- "length": 20,
1736
- "start": 11292
1737
- },
1738
- {
1739
- "length": 20,
1740
- "start": 11435
1741
- }
1742
- ]
1743
- },
1744
- "contracts/types/UFixed.sol": {
1745
- "UFixedLib": [
1746
- {
1747
- "length": 20,
1748
- "start": 2814
1749
- },
1750
- {
1751
- "length": 20,
1752
- "start": 2952
1753
- },
1754
- {
1755
- "length": 20,
1756
- "start": 3523
1757
- },
1758
- {
1759
- "length": 20,
1760
- "start": 3637
1761
- },
1762
- {
1763
- "length": 20,
1764
- "start": 3772
1765
- },
1766
- {
1767
- "length": 20,
1768
- "start": 3897
1769
- },
1770
- {
1771
- "length": 20,
1772
- "start": 4024
1773
- },
1774
- {
1775
- "length": 20,
1776
- "start": 4159
1777
- },
1778
- {
1779
- "length": 20,
1780
- "start": 5768
1781
- },
1782
- {
1783
- "length": 20,
1784
- "start": 5904
1785
- },
1786
- {
1787
- "length": 20,
1788
- "start": 6030
1789
- },
1790
- {
1791
- "length": 20,
1792
- "start": 6151
1793
- },
1794
- {
1795
- "length": 20,
1796
- "start": 6267
1797
- },
1798
- {
1799
- "length": 20,
1800
- "start": 10493
1801
- },
1802
- {
1803
- "length": 20,
1804
- "start": 10609
1805
- },
1806
- {
1807
- "length": 20,
1808
- "start": 10777
1809
- },
1810
- {
1811
- "length": 20,
1812
- "start": 10893
1813
- },
1814
- {
1815
- "length": 20,
1816
- "start": 14403
1817
- },
1818
- {
1819
- "length": 20,
1820
- "start": 14522
1821
- }
1822
- ]
1823
- },
1824
- "contracts/types/Version.sol": {
1825
- "VersionLib": [
1826
- {
1827
- "length": 20,
1828
- "start": 1415
1829
- },
1830
- {
1831
- "length": 20,
1832
- "start": 6720
1833
- },
1834
- {
1835
- "length": 20,
1836
- "start": 18422
1837
- }
1838
- ],
1839
- "VersionPartLib": [
1840
- {
1841
- "length": 20,
1842
- "start": 12102
1843
- }
1844
- ]
1845
- }
1846
- }
1847
- }