@etherisc/gif-next 0.0.2-eb98db7-932 → 0.0.2-eba4d8b-925

Sign up to get free protection for your applications and to get access to all the features.
Files changed (714) hide show
  1. package/README.md +83 -93
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1379 -0
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1434 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +542 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1130 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +350 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1322 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +589 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +266 -596
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1509 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +864 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +342 -327
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1008 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1475 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +589 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2032 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +589 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1479 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +589 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1195 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1655 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +589 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2432 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +589 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +357 -2088
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +339 -78
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +448 -2892
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1929 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +661 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1640 -597
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +361 -371
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +157 -106
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3718 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  102. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  103. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  106. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  107. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +959 -0
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +569 -0
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +774 -0
  116. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  117. package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → oracle/IOracleService.sol/IOracleService.json} +380 -167
  118. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  119. package/artifacts/contracts/{components/Component.sol/Component.json → oracle/Oracle.sol/Oracle.json} +306 -284
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +764 -0
  124. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  125. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +473 -543
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +589 -0
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1261 -0
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +800 -0
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +880 -0
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  135. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +401 -381
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1230 -0
  138. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  139. package/artifacts/contracts/pool/Pool.sol/Pool.json +1027 -0
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1574 -0
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +808 -0
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +813 -0
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +728 -0
  150. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  151. package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +423 -508
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +589 -0
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1496 -0
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +848 -0
  158. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  159. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IApplicationService.sol/IApplicationService.json} +221 -196
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1064 -0
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
  164. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  165. package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → product/IPricingService.sol/IPricingService.json} +287 -307
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  167. package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +495 -283
  168. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  169. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +150 -64
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1333 -0
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  173. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.json +930 -0
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +784 -0
  180. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  181. package/artifacts/contracts/product/Product.sol/Product.json +1119 -0
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.json +659 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +732 -0
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +499 -26
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +286 -122
  192. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  196. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  197. package/artifacts/contracts/registry/Registry.sol/Registry.json +989 -125
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1928 -0
  200. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  201. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +360 -257
  202. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  203. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +164 -99
  204. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  205. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1849 -0
  206. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  207. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  208. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1333 -0
  210. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  212. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  213. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +317 -154
  214. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  215. package/artifacts/contracts/shared/Component.sol/Component.json +707 -0
  216. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  217. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1571 -0
  218. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +820 -0
  220. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  221. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +115 -171
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +541 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  230. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  231. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +244 -125
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1203 -0
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  235. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +709 -0
  236. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  237. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  239. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +19 -10
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  243. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +59 -13
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +144 -3
  246. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  248. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IService.sol/IService.json +158 -17
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  251. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  253. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +797 -0
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  255. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  258. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +28 -70
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  263. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +35 -85
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +126 -100
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  267. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -28
  268. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Service.sol/Service.json +143 -104
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1447 -0
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1096 -0
  280. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  281. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  282. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  283. package/artifacts/contracts/staking/Staking.sol/Staking.json +1849 -0
  284. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +788 -0
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1301 -0
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +732 -0
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  297. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  298. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  299. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  300. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  302. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  313. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  317. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +433 -0
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  338. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  340. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  344. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +113 -0
  348. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  349. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  351. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  354. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  355. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  356. package/contracts/accounting/AccountingService.sol +262 -0
  357. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  358. package/contracts/accounting/IAccountingService.sol +45 -0
  359. package/contracts/authorization/AccessAdmin.sol +689 -0
  360. package/contracts/authorization/AccessManagerCloneable.sol +149 -0
  361. package/contracts/authorization/Authorization.sol +337 -0
  362. package/contracts/authorization/IAccess.sol +49 -0
  363. package/contracts/authorization/IAccessAdmin.sol +143 -0
  364. package/contracts/authorization/IAuthorization.sol +74 -0
  365. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  366. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  367. package/contracts/distribution/BasicDistribution.sol +141 -0
  368. package/contracts/distribution/BasicDistributionAuthorization.sol +60 -0
  369. package/contracts/{components → distribution}/Distribution.sol +173 -171
  370. package/contracts/distribution/DistributionService.sol +358 -0
  371. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  372. package/contracts/distribution/IDistributionComponent.sol +52 -0
  373. package/contracts/distribution/IDistributionService.sol +101 -0
  374. package/contracts/examples/fire/DamageLevel.sol +59 -0
  375. package/contracts/examples/fire/FirePool.sol +90 -0
  376. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  377. package/contracts/examples/fire/FireProduct.sol +437 -0
  378. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  379. package/contracts/examples/fire/FireUSD.sol +26 -0
  380. package/contracts/examples/unpermissioned/SimpleDistribution.sol +57 -0
  381. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  382. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  383. package/contracts/examples/unpermissioned/SimplePool.sol +106 -0
  384. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  385. package/contracts/examples/unpermissioned/SimpleProduct.sol +377 -0
  386. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  387. package/contracts/instance/BundleSet.sol +130 -0
  388. package/contracts/instance/IInstance.sol +50 -72
  389. package/contracts/instance/IInstanceService.sol +39 -26
  390. package/contracts/instance/Instance.sol +177 -221
  391. package/contracts/instance/InstanceAdmin.sol +437 -0
  392. package/contracts/instance/InstanceAuthorizationV3.sol +213 -0
  393. package/contracts/instance/InstanceReader.sol +408 -64
  394. package/contracts/instance/InstanceService.sol +290 -362
  395. package/contracts/instance/InstanceServiceManager.sol +14 -29
  396. package/contracts/instance/InstanceStore.sol +298 -0
  397. package/contracts/instance/RiskSet.sol +118 -0
  398. package/contracts/instance/base/BalanceStore.sol +123 -0
  399. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
  400. package/contracts/instance/base/ObjectCounter.sol +20 -0
  401. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  402. package/contracts/instance/base/ObjectSet.sol +77 -0
  403. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  404. package/contracts/instance/module/IBundle.sol +8 -8
  405. package/contracts/instance/module/IComponents.sol +51 -0
  406. package/contracts/instance/module/IDistribution.sol +8 -6
  407. package/contracts/instance/module/IPolicy.sol +56 -18
  408. package/contracts/instance/module/IRisk.sol +4 -1
  409. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  410. package/contracts/oracle/BasicOracle.sol +47 -0
  411. package/contracts/oracle/BasicOracleAuthorization.sol +37 -0
  412. package/contracts/oracle/IOracle.sol +36 -0
  413. package/contracts/oracle/IOracleComponent.sol +33 -0
  414. package/contracts/oracle/IOracleService.sol +66 -0
  415. package/contracts/oracle/Oracle.sol +156 -0
  416. package/contracts/oracle/OracleService.sol +310 -0
  417. package/contracts/oracle/OracleServiceManager.sol +39 -0
  418. package/contracts/pool/BasicPool.sol +175 -0
  419. package/contracts/pool/BasicPoolAuthorization.sol +76 -0
  420. package/contracts/pool/BundleService.sol +395 -0
  421. package/contracts/pool/BundleServiceManager.sol +39 -0
  422. package/contracts/pool/IBundleService.sol +115 -0
  423. package/contracts/pool/IPoolComponent.sol +62 -0
  424. package/contracts/pool/IPoolService.sol +165 -0
  425. package/contracts/pool/Pool.sol +345 -0
  426. package/contracts/pool/PoolLib.sol +216 -0
  427. package/contracts/pool/PoolService.sol +757 -0
  428. package/contracts/pool/PoolServiceManager.sol +39 -0
  429. package/contracts/product/ApplicationService.sol +259 -0
  430. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
  431. package/contracts/product/BasicProduct.sol +51 -0
  432. package/contracts/product/BasicProductAuthorization.sol +56 -0
  433. package/contracts/product/ClaimService.sol +632 -0
  434. package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
  435. package/contracts/{instance/service → product}/IApplicationService.sol +20 -36
  436. package/contracts/product/IClaimService.sol +135 -0
  437. package/contracts/product/IPolicyService.sol +95 -0
  438. package/contracts/product/IPricingService.sol +39 -0
  439. package/contracts/product/IProductComponent.sol +62 -0
  440. package/contracts/product/IRiskService.sol +30 -0
  441. package/contracts/product/PolicyService.sol +682 -0
  442. package/contracts/product/PolicyServiceLib.sol +65 -0
  443. package/contracts/product/PolicyServiceManager.sol +39 -0
  444. package/contracts/product/PricingService.sol +304 -0
  445. package/contracts/product/PricingServiceManager.sol +39 -0
  446. package/contracts/product/Product.sol +469 -0
  447. package/contracts/product/RiskService.sol +144 -0
  448. package/contracts/product/RiskServiceManager.sol +39 -0
  449. package/contracts/registry/ChainNft.sol +83 -36
  450. package/contracts/registry/IRegistry.sol +97 -30
  451. package/contracts/registry/IRegistryService.sol +36 -41
  452. package/contracts/registry/IRelease.sol +26 -0
  453. package/contracts/registry/ITransferInterceptor.sol +1 -1
  454. package/contracts/registry/Registry.sol +472 -206
  455. package/contracts/registry/RegistryAdmin.sol +354 -0
  456. package/contracts/registry/RegistryService.sol +89 -131
  457. package/contracts/registry/RegistryServiceManager.sol +23 -32
  458. package/contracts/registry/ReleaseAdmin.sol +245 -0
  459. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  460. package/contracts/registry/ReleaseRegistry.sol +511 -0
  461. package/contracts/registry/ServiceAuthorizationV3.sol +247 -0
  462. package/contracts/registry/TokenRegistry.sol +261 -64
  463. package/contracts/shared/Component.sol +227 -0
  464. package/contracts/shared/ComponentService.sol +692 -0
  465. package/contracts/shared/ComponentServiceManager.sol +38 -0
  466. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  467. package/contracts/shared/ContractLib.sol +253 -0
  468. package/contracts/shared/IComponent.sol +61 -0
  469. package/contracts/shared/IComponentService.sol +112 -0
  470. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  471. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  472. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  473. package/contracts/shared/INftOwnable.sol +4 -2
  474. package/contracts/shared/IPolicyHolder.sol +23 -14
  475. package/contracts/shared/IRegisterable.sol +23 -1
  476. package/contracts/shared/IRegistryLinked.sol +0 -1
  477. package/contracts/shared/IService.sol +12 -5
  478. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +4 -4
  479. package/contracts/shared/InstanceLinkedComponent.sol +197 -0
  480. package/contracts/shared/KeyValueStore.sol +131 -0
  481. package/contracts/shared/Lifecycle.sol +88 -0
  482. package/contracts/shared/NftIdSet.sol +65 -0
  483. package/contracts/shared/NftOwnable.sol +34 -27
  484. package/contracts/shared/PolicyHolder.sol +22 -41
  485. package/contracts/shared/Registerable.sol +54 -19
  486. package/contracts/shared/RegistryLinked.sol +9 -19
  487. package/contracts/shared/Service.sol +36 -29
  488. package/contracts/shared/TokenHandler.sol +326 -12
  489. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  490. package/contracts/staking/IStaking.sol +165 -0
  491. package/contracts/staking/IStakingService.sol +165 -0
  492. package/contracts/staking/StakeManagerLib.sol +224 -0
  493. package/contracts/staking/Staking.sol +526 -0
  494. package/contracts/staking/StakingLifecycle.sol +23 -0
  495. package/contracts/staking/StakingManager.sol +52 -0
  496. package/contracts/staking/StakingReader.sol +190 -0
  497. package/contracts/staking/StakingService.sol +430 -0
  498. package/contracts/staking/StakingServiceManager.sol +45 -0
  499. package/contracts/staking/StakingStore.sol +605 -0
  500. package/contracts/staking/TargetManagerLib.sol +211 -0
  501. package/contracts/{types → type}/AddressSet.sol +1 -1
  502. package/contracts/type/Amount.sol +150 -0
  503. package/contracts/{types → type}/Blocknumber.sol +27 -3
  504. package/contracts/{types → type}/ClaimId.sol +31 -3
  505. package/contracts/{types → type}/Fee.sol +33 -23
  506. package/contracts/{types → type}/Key32.sol +2 -2
  507. package/contracts/type/Key32Set.sol +62 -0
  508. package/contracts/{types → type}/NftId.sol +28 -15
  509. package/contracts/{types → type}/NftIdSet.sol +2 -2
  510. package/contracts/type/ObjectType.sol +303 -0
  511. package/contracts/type/PayoutId.sol +82 -0
  512. package/contracts/{types → type}/Referral.sol +6 -1
  513. package/contracts/type/RequestId.sol +75 -0
  514. package/contracts/type/RiskId.sol +75 -0
  515. package/contracts/type/RoleId.sol +182 -0
  516. package/contracts/type/Seconds.sol +101 -0
  517. package/contracts/type/Selector.sol +107 -0
  518. package/contracts/{types → type}/StateId.sol +48 -4
  519. package/contracts/type/String.sol +53 -0
  520. package/contracts/{types → type}/Timestamp.sol +33 -19
  521. package/contracts/{types → type}/UFixed.sol +41 -121
  522. package/contracts/{types → type}/Version.sol +20 -7
  523. package/contracts/{shared → upgradeability}/IVersionable.sol +1 -1
  524. package/contracts/{shared → upgradeability}/ProxyManager.sol +93 -30
  525. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  526. package/contracts/{shared → upgradeability}/Versionable.sol +3 -3
  527. package/package.json +11 -7
  528. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  529. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  530. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  531. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  532. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  533. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  534. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  535. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  536. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  537. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -764
  538. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  539. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  540. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -984
  541. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  542. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
  543. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  544. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  545. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  546. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  547. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  548. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  549. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  550. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  551. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -254
  552. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  553. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  554. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  555. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -858
  556. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  557. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -657
  558. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  559. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1085
  560. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  561. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -661
  562. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  563. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -743
  564. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  565. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -637
  566. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  567. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1087
  568. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  569. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -729
  570. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  571. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +0 -462
  572. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  573. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  574. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +0 -398
  575. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  576. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  577. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  578. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -336
  579. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  580. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  581. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1109
  582. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  583. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -717
  584. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  585. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -716
  586. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  587. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -649
  588. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  589. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -766
  590. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  591. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -649
  592. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  593. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  594. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  595. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -547
  596. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  597. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  598. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  599. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  600. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  601. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  602. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
  603. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  604. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  605. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  606. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  607. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  608. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  609. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  610. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  611. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  612. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  613. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -510
  614. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  615. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  616. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  617. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  618. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  619. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  620. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  621. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  622. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  623. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  624. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  625. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  626. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  627. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  628. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  629. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  630. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  631. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  632. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  633. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  634. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  635. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  636. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  637. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  638. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  639. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  640. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  641. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  642. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  643. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  644. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  645. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  646. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  647. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  648. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  649. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  650. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  651. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  652. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  653. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  654. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  655. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  656. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  657. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  658. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  659. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  660. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  661. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  662. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  663. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  664. package/contracts/components/Component.sol +0 -241
  665. package/contracts/components/IComponent.sol +0 -54
  666. package/contracts/components/IDistributionComponent.sol +0 -92
  667. package/contracts/components/IPoolComponent.sol +0 -87
  668. package/contracts/components/IProductComponent.sol +0 -39
  669. package/contracts/components/Pool.sol +0 -254
  670. package/contracts/components/Product.sol +0 -285
  671. package/contracts/instance/BundleManager.sol +0 -125
  672. package/contracts/instance/InstanceAccessManager.sol +0 -297
  673. package/contracts/instance/ObjectManager.sol +0 -84
  674. package/contracts/instance/base/ComponentService.sol +0 -134
  675. package/contracts/instance/base/KeyValueStore.sol +0 -172
  676. package/contracts/instance/base/Lifecycle.sol +0 -100
  677. package/contracts/instance/module/IAccess.sol +0 -47
  678. package/contracts/instance/module/ISetup.sol +0 -48
  679. package/contracts/instance/module/ITreasury.sol +0 -23
  680. package/contracts/instance/service/ApplicationService.sol +0 -268
  681. package/contracts/instance/service/BundleService.sol +0 -298
  682. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  683. package/contracts/instance/service/ClaimService.sol +0 -151
  684. package/contracts/instance/service/DistributionService.sol +0 -346
  685. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  686. package/contracts/instance/service/IBundleService.sol +0 -54
  687. package/contracts/instance/service/IClaimService.sol +0 -61
  688. package/contracts/instance/service/IDistributionService.sol +0 -73
  689. package/contracts/instance/service/IPolicyService.sol +0 -89
  690. package/contracts/instance/service/IPoolService.sol +0 -20
  691. package/contracts/instance/service/IProductService.sol +0 -40
  692. package/contracts/instance/service/PolicyService.sol +0 -476
  693. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  694. package/contracts/instance/service/PoolService.sol +0 -109
  695. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  696. package/contracts/instance/service/ProductService.sol +0 -233
  697. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  698. package/contracts/registry/RegistryAccessManager.sol +0 -216
  699. package/contracts/registry/ReleaseManager.sol +0 -322
  700. package/contracts/shared/ContractDeployerLib.sol +0 -72
  701. package/contracts/test/TestFee.sol +0 -25
  702. package/contracts/test/TestRegisterable.sol +0 -18
  703. package/contracts/test/TestRoleId.sol +0 -14
  704. package/contracts/test/TestService.sol +0 -25
  705. package/contracts/test/TestToken.sol +0 -26
  706. package/contracts/test/TestVersion.sol +0 -44
  707. package/contracts/test/TestVersionable.sol +0 -17
  708. package/contracts/types/ChainId.sol +0 -38
  709. package/contracts/types/NumberId.sol +0 -52
  710. package/contracts/types/ObjectType.sol +0 -156
  711. package/contracts/types/PayoutId.sol +0 -54
  712. package/contracts/types/RiskId.sol +0 -43
  713. package/contracts/types/RoleId.sol +0 -90
  714. /package/contracts/{types → type}/DistributorType.sol +0 -0
@@ -1,1087 +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": "component",
11
- "type": "address"
12
- },
13
- {
14
- "internalType": "NftId",
15
- "name": "nftId",
16
- "type": "uint96"
17
- }
18
- ],
19
- "name": "ErrorComponentServiceAlreadyRegistered",
20
- "type": "error"
21
- },
22
- {
23
- "inputs": [
24
- {
25
- "internalType": "address",
26
- "name": "component",
27
- "type": "address"
28
- }
29
- ],
30
- "name": "ErrorComponentServiceComponentLocked",
31
- "type": "error"
32
- },
33
- {
34
- "inputs": [
35
- {
36
- "internalType": "NftId",
37
- "name": "instanceNftId",
38
- "type": "uint96"
39
- },
40
- {
41
- "internalType": "RoleId",
42
- "name": "requiredRole",
43
- "type": "uint64"
44
- },
45
- {
46
- "internalType": "address",
47
- "name": "sender",
48
- "type": "address"
49
- }
50
- ],
51
- "name": "ErrorComponentServiceExpectedRoleMissing",
52
- "type": "error"
53
- },
54
- {
55
- "inputs": [
56
- {
57
- "internalType": "address",
58
- "name": "component",
59
- "type": "address"
60
- },
61
- {
62
- "internalType": "ObjectType",
63
- "name": "requiredType",
64
- "type": "uint8"
65
- },
66
- {
67
- "internalType": "ObjectType",
68
- "name": "componentType",
69
- "type": "uint8"
70
- }
71
- ],
72
- "name": "ErrorComponentServiceInvalidType",
73
- "type": "error"
74
- },
75
- {
76
- "inputs": [
77
- {
78
- "internalType": "address",
79
- "name": "component",
80
- "type": "address"
81
- }
82
- ],
83
- "name": "ErrorComponentServiceNotComponent",
84
- "type": "error"
85
- },
86
- {
87
- "inputs": [
88
- {
89
- "internalType": "address",
90
- "name": "component",
91
- "type": "address"
92
- },
93
- {
94
- "internalType": "address",
95
- "name": "initialOwner",
96
- "type": "address"
97
- },
98
- {
99
- "internalType": "address",
100
- "name": "sender",
101
- "type": "address"
102
- }
103
- ],
104
- "name": "ErrorComponentServiceSenderNotOwner",
105
- "type": "error"
106
- },
107
- {
108
- "inputs": [
109
- {
110
- "internalType": "address",
111
- "name": "target",
112
- "type": "address"
113
- }
114
- ],
115
- "name": "ErrorIAccessTargetLocked",
116
- "type": "error"
117
- },
118
- {
119
- "inputs": [
120
- {
121
- "internalType": "ReferralId",
122
- "name": "referralId",
123
- "type": "bytes8"
124
- }
125
- ],
126
- "name": "ErrorIDistributionServiceInvalidReferralId",
127
- "type": "error"
128
- },
129
- {
130
- "inputs": [
131
- {
132
- "internalType": "NftId",
133
- "name": "nftId",
134
- "type": "uint96"
135
- }
136
- ],
137
- "name": "ErrorNftOwnableAlreadyLinked",
138
- "type": "error"
139
- },
140
- {
141
- "inputs": [
142
- {
143
- "internalType": "address",
144
- "name": "contractAddress",
145
- "type": "address"
146
- }
147
- ],
148
- "name": "ErrorNftOwnableContractNotRegistered",
149
- "type": "error"
150
- },
151
- {
152
- "inputs": [],
153
- "name": "ErrorNftOwnableInitialOwnerZero",
154
- "type": "error"
155
- },
156
- {
157
- "inputs": [
158
- {
159
- "internalType": "address",
160
- "name": "account",
161
- "type": "address"
162
- }
163
- ],
164
- "name": "ErrorNftOwnableNotOwner",
165
- "type": "error"
166
- },
167
- {
168
- "inputs": [
169
- {
170
- "internalType": "address",
171
- "name": "registryAddress",
172
- "type": "address"
173
- }
174
- ],
175
- "name": "ErrorNotRegistry",
176
- "type": "error"
177
- },
178
- {
179
- "inputs": [],
180
- "name": "InvalidInitialization",
181
- "type": "error"
182
- },
183
- {
184
- "inputs": [],
185
- "name": "NotInitializing",
186
- "type": "error"
187
- },
188
- {
189
- "anonymous": false,
190
- "inputs": [
191
- {
192
- "indexed": false,
193
- "internalType": "uint64",
194
- "name": "version",
195
- "type": "uint64"
196
- }
197
- ],
198
- "name": "Initialized",
199
- "type": "event"
200
- },
201
- {
202
- "inputs": [],
203
- "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
204
- "outputs": [
205
- {
206
- "internalType": "bytes32",
207
- "name": "",
208
- "type": "bytes32"
209
- }
210
- ],
211
- "stateMutability": "view",
212
- "type": "function"
213
- },
214
- {
215
- "inputs": [],
216
- "name": "REGISTERABLE_LOCATION_V1",
217
- "outputs": [
218
- {
219
- "internalType": "bytes32",
220
- "name": "",
221
- "type": "bytes32"
222
- }
223
- ],
224
- "stateMutability": "view",
225
- "type": "function"
226
- },
227
- {
228
- "inputs": [
229
- {
230
- "internalType": "NftId",
231
- "name": "distributionNftId",
232
- "type": "uint96"
233
- },
234
- {
235
- "internalType": "ReferralId",
236
- "name": "referralId",
237
- "type": "bytes8"
238
- },
239
- {
240
- "internalType": "uint256",
241
- "name": "netPremiumAmount",
242
- "type": "uint256"
243
- }
244
- ],
245
- "name": "calculateFeeAmount",
246
- "outputs": [
247
- {
248
- "internalType": "uint256",
249
- "name": "feeAmount",
250
- "type": "uint256"
251
- }
252
- ],
253
- "stateMutability": "view",
254
- "type": "function"
255
- },
256
- {
257
- "inputs": [
258
- {
259
- "internalType": "address",
260
- "name": "distributor",
261
- "type": "address"
262
- },
263
- {
264
- "internalType": "DistributorType",
265
- "name": "distributorType",
266
- "type": "bytes8"
267
- },
268
- {
269
- "internalType": "bytes",
270
- "name": "data",
271
- "type": "bytes"
272
- }
273
- ],
274
- "name": "createDistributor",
275
- "outputs": [
276
- {
277
- "internalType": "NftId",
278
- "name": "distributorNftId",
279
- "type": "uint96"
280
- }
281
- ],
282
- "stateMutability": "nonpayable",
283
- "type": "function"
284
- },
285
- {
286
- "inputs": [
287
- {
288
- "internalType": "string",
289
- "name": "name",
290
- "type": "string"
291
- },
292
- {
293
- "internalType": "UFixed",
294
- "name": "minDiscountPercentage",
295
- "type": "uint256"
296
- },
297
- {
298
- "internalType": "UFixed",
299
- "name": "maxDiscountPercentage",
300
- "type": "uint256"
301
- },
302
- {
303
- "internalType": "UFixed",
304
- "name": "commissionPercentage",
305
- "type": "uint256"
306
- },
307
- {
308
- "internalType": "uint32",
309
- "name": "maxReferralCount",
310
- "type": "uint32"
311
- },
312
- {
313
- "internalType": "uint32",
314
- "name": "maxReferralLifetime",
315
- "type": "uint32"
316
- },
317
- {
318
- "internalType": "bool",
319
- "name": "allowSelfReferrals",
320
- "type": "bool"
321
- },
322
- {
323
- "internalType": "bool",
324
- "name": "allowRenewals",
325
- "type": "bool"
326
- },
327
- {
328
- "internalType": "bytes",
329
- "name": "data",
330
- "type": "bytes"
331
- }
332
- ],
333
- "name": "createDistributorType",
334
- "outputs": [
335
- {
336
- "internalType": "DistributorType",
337
- "name": "distributorType",
338
- "type": "bytes8"
339
- }
340
- ],
341
- "stateMutability": "nonpayable",
342
- "type": "function"
343
- },
344
- {
345
- "inputs": [
346
- {
347
- "internalType": "NftId",
348
- "name": "distributorNftId",
349
- "type": "uint96"
350
- },
351
- {
352
- "internalType": "string",
353
- "name": "code",
354
- "type": "string"
355
- },
356
- {
357
- "internalType": "UFixed",
358
- "name": "discountPercentage",
359
- "type": "uint256"
360
- },
361
- {
362
- "internalType": "uint32",
363
- "name": "maxReferrals",
364
- "type": "uint32"
365
- },
366
- {
367
- "internalType": "Timestamp",
368
- "name": "expiryAt",
369
- "type": "uint40"
370
- },
371
- {
372
- "internalType": "bytes",
373
- "name": "data",
374
- "type": "bytes"
375
- }
376
- ],
377
- "name": "createReferral",
378
- "outputs": [
379
- {
380
- "internalType": "ReferralId",
381
- "name": "referralId",
382
- "type": "bytes8"
383
- }
384
- ],
385
- "stateMutability": "nonpayable",
386
- "type": "function"
387
- },
388
- {
389
- "inputs": [],
390
- "name": "getDomain",
391
- "outputs": [
392
- {
393
- "internalType": "ObjectType",
394
- "name": "",
395
- "type": "uint8"
396
- }
397
- ],
398
- "stateMutability": "pure",
399
- "type": "function"
400
- },
401
- {
402
- "inputs": [],
403
- "name": "getInitialInfo",
404
- "outputs": [
405
- {
406
- "components": [
407
- {
408
- "internalType": "NftId",
409
- "name": "nftId",
410
- "type": "uint96"
411
- },
412
- {
413
- "internalType": "NftId",
414
- "name": "parentNftId",
415
- "type": "uint96"
416
- },
417
- {
418
- "internalType": "ObjectType",
419
- "name": "objectType",
420
- "type": "uint8"
421
- },
422
- {
423
- "internalType": "bool",
424
- "name": "isInterceptor",
425
- "type": "bool"
426
- },
427
- {
428
- "internalType": "address",
429
- "name": "objectAddress",
430
- "type": "address"
431
- },
432
- {
433
- "internalType": "address",
434
- "name": "initialOwner",
435
- "type": "address"
436
- },
437
- {
438
- "internalType": "bytes",
439
- "name": "data",
440
- "type": "bytes"
441
- }
442
- ],
443
- "internalType": "struct IRegistry.ObjectInfo",
444
- "name": "info",
445
- "type": "tuple"
446
- }
447
- ],
448
- "stateMutability": "view",
449
- "type": "function"
450
- },
451
- {
452
- "inputs": [],
453
- "name": "getInstanceService",
454
- "outputs": [
455
- {
456
- "internalType": "contract InstanceService",
457
- "name": "",
458
- "type": "address"
459
- }
460
- ],
461
- "stateMutability": "view",
462
- "type": "function"
463
- },
464
- {
465
- "inputs": [],
466
- "name": "getMajorVersion",
467
- "outputs": [
468
- {
469
- "internalType": "VersionPart",
470
- "name": "majorVersion",
471
- "type": "uint8"
472
- }
473
- ],
474
- "stateMutability": "view",
475
- "type": "function"
476
- },
477
- {
478
- "inputs": [],
479
- "name": "getNftId",
480
- "outputs": [
481
- {
482
- "internalType": "NftId",
483
- "name": "",
484
- "type": "uint96"
485
- }
486
- ],
487
- "stateMutability": "view",
488
- "type": "function"
489
- },
490
- {
491
- "inputs": [],
492
- "name": "getOwner",
493
- "outputs": [
494
- {
495
- "internalType": "address",
496
- "name": "",
497
- "type": "address"
498
- }
499
- ],
500
- "stateMutability": "view",
501
- "type": "function"
502
- },
503
- {
504
- "inputs": [],
505
- "name": "getRegistry",
506
- "outputs": [
507
- {
508
- "internalType": "contract IRegistry",
509
- "name": "",
510
- "type": "address"
511
- }
512
- ],
513
- "stateMutability": "view",
514
- "type": "function"
515
- },
516
- {
517
- "inputs": [],
518
- "name": "getRegistryAddress",
519
- "outputs": [
520
- {
521
- "internalType": "address",
522
- "name": "",
523
- "type": "address"
524
- }
525
- ],
526
- "stateMutability": "view",
527
- "type": "function"
528
- },
529
- {
530
- "inputs": [],
531
- "name": "getRegistryService",
532
- "outputs": [
533
- {
534
- "internalType": "contract IRegistryService",
535
- "name": "",
536
- "type": "address"
537
- }
538
- ],
539
- "stateMutability": "view",
540
- "type": "function"
541
- },
542
- {
543
- "inputs": [],
544
- "name": "getVersion",
545
- "outputs": [
546
- {
547
- "internalType": "Version",
548
- "name": "",
549
- "type": "uint24"
550
- }
551
- ],
552
- "stateMutability": "pure",
553
- "type": "function"
554
- },
555
- {
556
- "inputs": [],
557
- "name": "initializeERC165",
558
- "outputs": [],
559
- "stateMutability": "nonpayable",
560
- "type": "function"
561
- },
562
- {
563
- "inputs": [
564
- {
565
- "internalType": "address",
566
- "name": "initialOwner",
567
- "type": "address"
568
- },
569
- {
570
- "internalType": "address",
571
- "name": "registryAddress",
572
- "type": "address"
573
- }
574
- ],
575
- "name": "initializeNftOwnable",
576
- "outputs": [],
577
- "stateMutability": "nonpayable",
578
- "type": "function"
579
- },
580
- {
581
- "inputs": [
582
- {
583
- "internalType": "address",
584
- "name": "registryAddress",
585
- "type": "address"
586
- },
587
- {
588
- "internalType": "NftId",
589
- "name": "parentNftId",
590
- "type": "uint96"
591
- },
592
- {
593
- "internalType": "ObjectType",
594
- "name": "objectType",
595
- "type": "uint8"
596
- },
597
- {
598
- "internalType": "bool",
599
- "name": "isInterceptor",
600
- "type": "bool"
601
- },
602
- {
603
- "internalType": "address",
604
- "name": "initialOwner",
605
- "type": "address"
606
- },
607
- {
608
- "internalType": "bytes",
609
- "name": "data",
610
- "type": "bytes"
611
- }
612
- ],
613
- "name": "initializeRegisterable",
614
- "outputs": [],
615
- "stateMutability": "nonpayable",
616
- "type": "function"
617
- },
618
- {
619
- "inputs": [
620
- {
621
- "internalType": "address",
622
- "name": "registryAddress",
623
- "type": "address"
624
- }
625
- ],
626
- "name": "initializeRegistryLinked",
627
- "outputs": [],
628
- "stateMutability": "nonpayable",
629
- "type": "function"
630
- },
631
- {
632
- "inputs": [
633
- {
634
- "internalType": "address",
635
- "name": "registry",
636
- "type": "address"
637
- },
638
- {
639
- "internalType": "address",
640
- "name": "initialOwner",
641
- "type": "address"
642
- }
643
- ],
644
- "name": "initializeService",
645
- "outputs": [],
646
- "stateMutability": "nonpayable",
647
- "type": "function"
648
- },
649
- {
650
- "inputs": [
651
- {
652
- "internalType": "address",
653
- "name": "activatedBy",
654
- "type": "address"
655
- },
656
- {
657
- "internalType": "bytes",
658
- "name": "data",
659
- "type": "bytes"
660
- }
661
- ],
662
- "name": "initializeVersionable",
663
- "outputs": [],
664
- "stateMutability": "nonpayable",
665
- "type": "function"
666
- },
667
- {
668
- "inputs": [],
669
- "name": "linkToRegisteredNftId",
670
- "outputs": [],
671
- "stateMutability": "nonpayable",
672
- "type": "function"
673
- },
674
- {
675
- "inputs": [
676
- {
677
- "internalType": "ReferralId",
678
- "name": "referralId",
679
- "type": "bytes8"
680
- },
681
- {
682
- "internalType": "uint256",
683
- "name": "premiumAmount",
684
- "type": "uint256"
685
- }
686
- ],
687
- "name": "processSale",
688
- "outputs": [],
689
- "stateMutability": "nonpayable",
690
- "type": "function"
691
- },
692
- {
693
- "inputs": [
694
- {
695
- "internalType": "NftId",
696
- "name": "distributionNftId",
697
- "type": "uint96"
698
- },
699
- {
700
- "internalType": "ReferralId",
701
- "name": "referralId",
702
- "type": "bytes8"
703
- }
704
- ],
705
- "name": "referralIsValid",
706
- "outputs": [
707
- {
708
- "internalType": "bool",
709
- "name": "isValid",
710
- "type": "bool"
711
- }
712
- ],
713
- "stateMutability": "view",
714
- "type": "function"
715
- },
716
- {
717
- "inputs": [
718
- {
719
- "internalType": "address",
720
- "name": "distributionAddress",
721
- "type": "address"
722
- }
723
- ],
724
- "name": "register",
725
- "outputs": [
726
- {
727
- "internalType": "NftId",
728
- "name": "distributionNftId",
729
- "type": "uint96"
730
- }
731
- ],
732
- "stateMutability": "nonpayable",
733
- "type": "function"
734
- },
735
- {
736
- "inputs": [
737
- {
738
- "internalType": "bytes4",
739
- "name": "interfaceId",
740
- "type": "bytes4"
741
- }
742
- ],
743
- "name": "registerInterface",
744
- "outputs": [],
745
- "stateMutability": "nonpayable",
746
- "type": "function"
747
- },
748
- {
749
- "inputs": [
750
- {
751
- "components": [
752
- {
753
- "internalType": "UFixed",
754
- "name": "fractionalFee",
755
- "type": "uint256"
756
- },
757
- {
758
- "internalType": "uint256",
759
- "name": "fixedFee",
760
- "type": "uint256"
761
- }
762
- ],
763
- "internalType": "struct Fee",
764
- "name": "distributionFee",
765
- "type": "tuple"
766
- }
767
- ],
768
- "name": "setFees",
769
- "outputs": [],
770
- "stateMutability": "nonpayable",
771
- "type": "function"
772
- },
773
- {
774
- "inputs": [
775
- {
776
- "internalType": "bytes4",
777
- "name": "interfaceId",
778
- "type": "bytes4"
779
- }
780
- ],
781
- "name": "supportsInterface",
782
- "outputs": [
783
- {
784
- "internalType": "bool",
785
- "name": "",
786
- "type": "bool"
787
- }
788
- ],
789
- "stateMutability": "view",
790
- "type": "function"
791
- },
792
- {
793
- "inputs": [
794
- {
795
- "internalType": "NftId",
796
- "name": "distributorNftId",
797
- "type": "uint96"
798
- },
799
- {
800
- "internalType": "DistributorType",
801
- "name": "distributorType",
802
- "type": "bytes8"
803
- },
804
- {
805
- "internalType": "bytes",
806
- "name": "data",
807
- "type": "bytes"
808
- }
809
- ],
810
- "name": "updateDistributorType",
811
- "outputs": [],
812
- "stateMutability": "nonpayable",
813
- "type": "function"
814
- },
815
- {
816
- "inputs": [
817
- {
818
- "internalType": "bytes",
819
- "name": "data",
820
- "type": "bytes"
821
- }
822
- ],
823
- "name": "upgradeVersionable",
824
- "outputs": [],
825
- "stateMutability": "nonpayable",
826
- "type": "function"
827
- }
828
- ],
829
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61470c80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c806349bb9e4b1161010f578063ada9652e116100a2578063cde749f411610071578063cde749f414610458578063ea86657214610460578063f21de1e81461039a578063f7c34ee01461047357600080fd5b8063ada9652e1461041e578063b68d180914610433578063caf4e3d414610448578063cc9fc59a1461045057600080fd5b8063644c45e0116100de578063644c45e0146103d2578063675393bf146103f0578063893d20e8146104035780638dd2b7811461040b57600080fd5b806349bb9e4b146103745780634cf30a84146103875780635ab1bd531461039a5780635dcb3bae146103bf57600080fd5b806327bb7a331161018757806336fc697e1161015657806336fc697e1461031b5780633d683fd9146103235780633f52c0f6146103365780634420e4861461034957600080fd5b806327bb7a33146102c2578063289de5b6146102d55780632b5198b1146102e8578063329d6e741461030857600080fd5b8063138461e0116101c3578063138461e01461025d5780631eff4b2214610267578063214cdb801461029c57806325d07384146102af57600080fd5b806301ffc9a7146101ea5780630d8e6e2c1461022c5780630fec111c14610248575b600080fd5b6102176101f8366004613524565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610234610486565b60405162ffffff9091168152602001610223565b610250610510565b60405161022391906135a5565b6102656106c4565b005b61028e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102656102aa366004613524565b6108cb565b6102176102bd36600461365b565b6108f8565b6102656102d0366004613806565b610c31565b61028e6102e336600461389e565b610cbd565b6102fb6102f63660046138f1565b61105f565b60405161022391906139bd565b6102656103163660046139d2565b6112a2565b6102656113ef565b610265610331366004613a06565b611435565b610265610344366004613a67565b6114d2565b61035c610357366004613a99565b611635565b6040516001600160601b039091168152602001610223565b610265610382366004613ab6565b6119a3565b610265610395366004613b05565b611aa2565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b61035c6103cd366004613b31565b611ae0565b600080516020614697833981519152546001600160601b031661035c565b6102656103fe366004613a99565b611c65565b6103a7611d73565b6102fb610419366004613b64565b611eaa565b61028e60008051602061469783398151915281565b60785b60405160ff9091168152602001610223565b6103a7612559565b6103a76125f0565b61043661261a565b61026561046e366004613bfe565b612691565b610265610481366004613bfe565b612729565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050b9190613c2c565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906105c090613c51565b80601f01602080910402602001604051908101604052809291908181526020018280546105ec90613c51565b80156106395780601f1061060e57610100808354040283529160200191610639565b820191906000526020600020905b81548152906001019060200180831161061c57829003601f168201915b50505050508152505090506040518060e00160405280610657600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016106a8611d73565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061469783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610733573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107579190613c96565b156107885780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061079b6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156107e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108079190613c96565b61082f5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161077f565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610883573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a79190613cbe565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108d36127a0565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6000806000610906856127d9565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096e9190613cdb565b6001600160a01b0316631d3be477866040518263ffffffff1660e01b815260040161099991906139bd565b600060405180830381865afa1580156109b6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109de9190810190613d53565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610a3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a609190613c96565b15610a715760009350505050610c2b565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610acd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af19190613c96565b80610c03575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015610b53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b779190613c96565b8015610c035750610c0373__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610bca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bee9190613e31565b8260a0015164ffffffffff9081169116111590565b9350838015610c255750806060015163ffffffff16816080015163ffffffff16105b93505050505b92915050565b610c396127a0565b610c438287612729565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610cb38382613e9d565b5050505050505050565b6000806000610ccb866127d9565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d339190613cdb565b604051639ad69c6760e01b81526001600160601b03891660048201529091506000906001600160a01b03831690639ad69c679060240160a060405180830381865afa158015610d86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610daa9190613f67565b604081810151905163012ebd8360e21b81528151600482015260208201516024820152604481018990529192509073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015610e13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e37919061400d565b509550610e4489896108f8565b1561105357604051631d3be47760e01b81526000906001600160a01b03851690631d3be47790610e78908c906004016139bd565b600060405180830381865afa158015610e95573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ebd9190810190613d53565b6040516322f5db0f60e11b8152600481018a905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610f13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f379190614031565b60408084015190516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610f7a92600401918252602082015260400190565b602060405180830381865af4158015610f97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fbb9190614031565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561100c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110309190614031565b9050878111156110435760009750611050565b61104d818961404a565b97505b50505b50505050509392505050565b600080600061106c612940565b925092505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b81526004016110aa92919061406b565b602060405180830381865af41580156110c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110eb919061408d565b6040516355ee627560e01b815290935060009073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590611132906001600160c01b03198816906004016139bd565b602060405180830381865af415801561114f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111739190614031565b604051630e29a66960e21b8152600481018290529091506001600160a01b038316906338a699a490602401602060405180830381865afa1580156111bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111df9190613c96565b6112925760408051610120810182528e8152602081018e90528082018d9052606081018c905263ffffffff808c1660808301528a1660a082015288151560c082015287151560e0820152610100810187905290516304f2a7e960e31b81526001600160a01b038416906327953f489061125e90859085906004016140aa565b600060405180830381600087803b15801561127857600080fd5b505af115801561128c573d6000803e3d6000fd5b50505050505b5050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6112c4610486565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611304573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113289190614176565b6000805160206146b78339815191528054600160401b900460ff168061135b575080546001600160401b03808416911610155b156113795760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556113a3836129c4565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6113f76127a0565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600061143f612940565b604080516060810182526001600160c01b03198816815260016020820152808201879052905163051cf2fd60e41b815291945092506001600160a01b03841691506351cf2fd090611499908890859060ff906004016141ca565b600060405180830381600087803b1580156114b357600080fd5b505af11580156114c7573d6000803e3d6000fd5b505050505050505050565b6000806114df60786129cc565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611523573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115479190613cdb565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240160a060405180830381865afa15801561159d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c19190613f67565b60408181018890525163ccdcd37f60e01b81529091506001600160a01b0385169063ccdcd37f906115fb908590859060ff9060040161424b565b600060405180830381600087803b15801561161557600080fd5b505af1158015611629573d6000803e3d6000fd5b50505050505050505050565b60008080808061164e866078611649612c6e565b612ce5565b93509350935093506000611660612559565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af11580156116b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116da9190810190614284565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561171c57600080fd5b505af1158015611730573d6000803e3d6000fd5b5050505081600001519650836001600160a01b031663f651dcac88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040160a060405180830381865afa158015611789573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ad9190613f67565b6040518363ffffffff1660e01b81526004016117ca929190614324565b600060405180830381600087803b1580156117e457600080fd5b505af11580156117f8573d6000803e3d6000fd5b505050506118046125f0565b6001600160a01b03166335241c06848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611852573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261187a9190810190614341565b6040518463ffffffff1660e01b815260040161189893929190614375565b600060405180830381600087803b1580156118b257600080fd5b505af11580156118c6573d6000803e3d6000fd5b505050506118d26125f0565b6001600160a01b031663b2bf3dc4848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611920573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119489190810190614341565b6040518463ffffffff1660e01b815260040161196693929190614375565b600060405180830381600087803b15801561198057600080fd5b505af1158015611994573d6000803e3d6000fd5b50505050505050505050919050565b6000805160206146b78339815191528054600160401b810460ff1615906001600160401b03166000811580156119d65750825b90506000826001600160401b031660011480156119f25750303b155b905081158015611a00575080155b15611a1e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611a4857845460ff60401b1916600160401b1785555b611a5287876130bf565b8315611a9957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b60405162461bcd60e51b81526020600482015260136024820152721393d517d25354131153515395115117d65155606a1b604482015260640161077f565b6000806000611aed612940565b9250925050611afa612559565b6001600160a01b03166357a8fba76040518060e00160405280611b1b600090565b6001600160601b03168152602001856001600160601b03168152602001611b40607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b8152600401611b9f91906135a5565b6020604051808303816000875af1158015611bbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611be29190613cbe565b604080516060810182526001600160c01b03198816815260016020820152808201879052905163b405b76f60e01b8152919450906001600160a01b0383169063b405b76f90611c3790879085906004016143b1565b600060405180830381600087803b158015611c5157600080fd5b505af1158015611050573d6000803e3d6000fd5b611c6d6127a0565b806001600160a01b03163b600003611ca35760405163fdeac91f60e01b81526001600160a01b038216600482015260240161077f565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611d1d575060408051601f3d908101601f19168201909252611d1a91810190613c96565b60015b611d455760405163fdeac91f60e01b81526001600160a01b038216600482015260240161077f565b80611d6e5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161077f565b505b50565b60008060008051602061469783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611de3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e079190613c96565b15611e94576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611e6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e8e9190613cdb565b91505090565b54600160601b90046001600160a01b0316919050565b6000806000611eb7612940565b92509250506000885111611f0d5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4453562d3033303a434f44455f494e56414c4944000000000000604482015260640161077f565b64ffffffffff8516611f615760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4453562d3033313a4558504952595f41545f5a45524f00000000604482015260640161077f565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fa1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fc59190613cdb565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015612018573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261204091908101906143d3565b80516040516368322c6360e11b8152919250906000906001600160a01b0385169063d06458c6906120759085906004016139bd565b600060405180830381865afa158015612092573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120ba919081019061447b565b90508963ffffffff16816080015163ffffffff1610156121285760405162461bcd60e51b8152602060048201526024808201527f4552524f523a4453562d3033323a4d41585f524546455252414c535f455843456044820152631151115160e21b606482015260840161077f565b60208101518b101561217c5760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a4453562d3033333a444953434f554e545f544f4f5f4c4f570000604482015260640161077f565b60408101518b11156121d05760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a4453562d3033343a444953434f554e545f544f4f5f4849474800604482015260640161077f565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612224573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122489190613e31565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af415801561229f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122c39190614031565b604051633682752160e21b815264ffffffffff8c16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612319573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061233d9190614031565b612347919061404a565b11156123955760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4453562d3033353a4558504952595f544f4f5f4c4f4e47000000604482015260640161077f565b73__$9f290d768183857d0249ab5bb54619c5ab$__633f093cd6878e6040518363ffffffff1660e01b81526004016123ce92919061406b565b602060405180830381865af41580156123eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061240f919061408d565b965060006040518060e001604052808f6001600160601b031681526020018e81526020018d81526020018c63ffffffff168152602001600063ffffffff1681526020018b64ffffffffff1681526020018a8152509050856001600160a01b03166354d747a8896001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b81526004016124b791906139bd565b602060405180830381865af41580156124d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124f89190614031565b836040518363ffffffff1660e01b8152600401612516929190614572565b600060405180830381600087803b15801561253057600080fd5b505af1158015612544573d6000803e3d6000fd5b50505050505050505050509695505050505050565b60008061256e6001546001600160a01b031690565b6001600160a01b031663d39e604360285b61258761261a565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156125cc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2b9190613cdb565b6000806126056001546001600160a01b031690565b6001600160a01b031663d39e6043604661257f565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af415801561266d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050b9190614609565b6126996127a0565b61271982836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126ff9190613cbe565b603c60008560405180602001604052806000815250610c31565b611d6e637b6a51fd60e01b6108cb565b6127316127a0565b61273a81611c65565b6127426113ef565b6001600160a01b0382166127695760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061469783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000805160206146b783398151915254600160401b900460ff166127d757604051631afcd79f60e31b815260040160405180910390fd5b565b60008060006127f06001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561283f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526128679190810190614284565b9050600061287d6001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156128d2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526128fa9190810190614284565b9050612917816040015161290c604690565b60ff90811691161490565b6129335760405162461bcd60e51b815260040161077f90614626565b6080015192949293505050565b60008060008061294e6131dd565b929650909450909250905061296481607861290c565b6129be5760405162461bcd60e51b815260206004820152602560248201527f4552524f523a5052532d3033313a43414c4c45525f4e4f545f444953545255426044820152642aaa24a7a760d91b606482015260840161077f565b50909192565b6101e56127a0565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015612a5b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612a839190810190614284565b9250612a9983604001518560ff90811691161490565b612adb5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161077f565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015612b31573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b599190810190614284565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ba2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bc69190613cdb565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015612c13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c379190613c96565b15612c6657608085015160405163d53987e560e01b81526001600160a01b03909116600482015260240161077f565b505050915091565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015612cc1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050b9190614176565b600033818080612cfd6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa158015612d45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d699190613cbe565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612dc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612de89190613c96565b15612e1f5760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b038216602482015260440161077f565b6040516301ffc9a760e01b8152639bdd1ccd60e01b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa158015612e6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e919190613c96565b612eb9576040516359bff0e360e11b81526001600160a01b038916600482015260240161077f565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015612ef9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612f219190810190614284565b9050612f3881604001518960ff9081169116141590565b15612f78576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b166024830152909116604482015260640161077f565b60a08101516001600160a01b0386811690821614612fca5760a0820151604051632b50a20960e21b81526001600160a01b03808d1660048301529182166024820152908716604482015260640161077f565b81602001519350612fda8461348d565b94506000612fe66125f0565b60405163081deaed60e11b81526001600160a01b0389811660048301526001600160401b038c1660248301528881166044830152919091169063103bd5da90606401602060405180830381865afa158015613045573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130699190613c96565b9050806130b257604051636af540d960e01b81526001600160601b03861660048201526001600160401b038a1660248201526001600160a01b038816604482015260640161077f565b5050505093509350935093565b6000805160206146b78339815191528054600160401b810460ff1615906001600160401b03166000811580156130f25750825b90506000826001600160401b0316600114801561310e5750303b155b90508115801561311c575080155b1561313a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561316457845460ff60401b1916600160401b1785555b6000808780602001905181019061317b9190614667565b92509050613189818a612691565b61319963b8cc770760e01b6108cb565b50508315611a9957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611a90565b33600080806131f46001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038681166004830152919091169063d272ac1e90602401602060405180830381865afa15801561323c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132609190613cbe565b6040516330b8415f60e01b81526001600160601b038216600482015290935073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156132bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132df9190613c96565b61332b5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a5352562d3033303a43414c4c45525f554e4b4e4f574e00000000604482015260640161077f565b600061333f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561338e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526133b69190810190614284565b90508060400151925060006133d36001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613428573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526134509190810190614284565b9050613462816040015161290c604690565b61347e5760405162461bcd60e51b815260040161077f90614626565b80608001519250505090919293565b6000806134a26001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156134f1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526135199190810190614284565b608001519392505050565b60006020828403121561353657600080fd5b81356001600160e01b03198116811461354e57600080fd5b9392505050565b60005b83811015613570578181015183820152602001613558565b50506000910152565b60008151808452613591816020860160208601613555565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161360e60c08401826001600160a01b03169052565b5060c083015160e080840152613628610100840182613579565b949350505050565b6001600160601b0381168114611d7057600080fd5b6001600160c01b031981168114611d7057600080fd5b6000806040838503121561366e57600080fd5b823561367981613630565b9150602083013561368981613645565b809150509250929050565b6001600160a01b0381168114611d7057600080fd5b60ff81168114611d7057600080fd5b8015158114611d7057600080fd5b80356136d1816136b8565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561370e5761370e6136d6565b60405290565b60405160e081016001600160401b038111828210171561370e5761370e6136d6565b60405161012081016001600160401b038111828210171561370e5761370e6136d6565b604051601f8201601f191681016001600160401b0381118282101715613781576137816136d6565b604052919050565b60006001600160401b038211156137a2576137a26136d6565b50601f01601f191660200190565b600082601f8301126137c157600080fd5b81356137d46137cf82613789565b613759565b8181528460208386010111156137e957600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561381f57600080fd5b863561382a81613694565b9550602087013561383a81613630565b9450604087013561384a816136a9565b9350606087013561385a816136b8565b9250608087013561386a81613694565b915060a08701356001600160401b0381111561388557600080fd5b61389189828a016137b0565b9150509295509295509295565b6000806000606084860312156138b357600080fd5b83356138be81613630565b925060208401356138ce81613645565b929592945050506040919091013590565b63ffffffff81168114611d7057600080fd5b60008060008060008060008060006101208a8c03121561391057600080fd5b89356001600160401b038082111561392757600080fd5b6139338d838e016137b0565b9a5060208c0135995060408c0135985060608c0135975060808c0135915061395a826138df565b90955060a08b01359061396c826138df565b81955061397b60c08d016136c6565b945061398960e08d016136c6565b93506101008c01359150808211156139a057600080fd5b506139ad8c828d016137b0565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b6000602082840312156139e457600080fd5b81356001600160401b038111156139fa57600080fd5b613628848285016137b0565b600080600060608486031215613a1b57600080fd5b8335613a2681613630565b92506020840135613a3681613645565b915060408401356001600160401b03811115613a5157600080fd5b613a5d868287016137b0565b9150509250925092565b600060408284031215613a7957600080fd5b613a816136ec565b82358152602083013560208201528091505092915050565b600060208284031215613aab57600080fd5b813561354e81613694565b60008060408385031215613ac957600080fd5b8235613ad481613694565b915060208301356001600160401b03811115613aef57600080fd5b613afb858286016137b0565b9150509250929050565b60008060408385031215613b1857600080fd5b8235613b2381613645565b946020939093013593505050565b600080600060608486031215613b4657600080fd5b8335613a2681613694565b64ffffffffff81168114611d7057600080fd5b60008060008060008060c08789031215613b7d57600080fd5b8635613b8881613630565b955060208701356001600160401b0380821115613ba457600080fd5b613bb08a838b016137b0565b96506040890135955060608901359150613bc9826138df565b909350608088013590613bdb82613b51565b90925060a08801359080821115613bf157600080fd5b5061389189828a016137b0565b60008060408385031215613c1157600080fd5b8235613c1c81613694565b9150602083013561368981613694565b600060208284031215613c3e57600080fd5b815162ffffff8116811461354e57600080fd5b600181811c90821680613c6557607f821691505b602082108103613c8557634e487b7160e01b600052602260045260246000fd5b50919050565b80516136d1816136b8565b600060208284031215613ca857600080fd5b815161354e816136b8565b80516136d181613630565b600060208284031215613cd057600080fd5b815161354e81613630565b600060208284031215613ced57600080fd5b815161354e81613694565b600082601f830112613d0957600080fd5b8151613d176137cf82613789565b818152846020838601011115613d2c57600080fd5b613628826020830160208701613555565b80516136d1816138df565b80516136d181613b51565b600060208284031215613d6557600080fd5b81516001600160401b0380821115613d7c57600080fd5b9083019060e08286031215613d9057600080fd5b613d98613714565b613da183613cb3565b8152602083015182811115613db557600080fd5b613dc187828601613cf8565b60208301525060408301516040820152613ddd60608401613d3d565b6060820152613dee60808401613d3d565b6080820152613dff60a08401613d48565b60a082015260c083015182811115613e1657600080fd5b613e2287828601613cf8565b60c08301525095945050505050565b600060208284031215613e4357600080fd5b815161354e81613b51565b601f821115613e9857600081815260208120601f850160051c81016020861015613e755750805b601f850160051c820191505b81811015613e9457828155600101613e81565b5050505b505050565b81516001600160401b03811115613eb657613eb66136d6565b613eca81613ec48454613c51565b84613e4e565b602080601f831160018114613eff5760008415613ee75750858301515b600019600386901b1c1916600185901b178555613e94565b600085815260208120601f198616915b82811015613f2e57888601518255948401946001909101908401613f0f565b5085821015613f4c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80516136d181613694565b600081830360a0811215613f7a57600080fd5b604051608081018181106001600160401b0382111715613f9c57613f9c6136d6565b6040528351613faa81613630565b81526020840151613fba81613694565b60208201526040603f1983011215613fd157600080fd5b613fd96136ec565b60408581015182526060860151602083015282015260808401519150613ffe82613694565b60608101919091529392505050565b6000806040838503121561402057600080fd5b505080516020909101519092909150565b60006020828403121561404357600080fd5b5051919050565b81810381811115610c2b57634e487b7160e01b600052601160045260246000fd5b6001600160601b03831681526040602082015260006136286040830184613579565b60006020828403121561409f57600080fd5b815161354e81613645565b82815260406020820152600082516101208060408501526140cf610160850183613579565b91506020850151606085015260408501516080850152606085015160a0850152608085015161410660c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c085015161010061412e8187018315159052565b60e087015115159286019290925250840151603f19848303016101408501526141578282613579565b9695505050505050565b6001600160401b0381168114611d7057600080fd5b60006020828403121561418857600080fd5b815161354e81614161565b6001600160401b0360c01b815116825260208101511515602083015260006040820151606060408501526136286060850182613579565b6001600160601b03841681526060602082015260006141ec6060830185614193565b905060ff83166040830152949350505050565b80516001600160601b031682526020808201516001600160a01b039081168285015260408084015180519186019190915291820151606085015280606084015116608085015250505050565b6001600160601b038416815260e0810161426860208301856141ff565b60ff831660c0830152949350505050565b80516136d1816136a9565b60006020828403121561429657600080fd5b81516001600160401b03808211156142ad57600080fd5b9083019060e082860312156142c157600080fd5b6142c9613714565b6142d283613cb3565b81526142e060208401613cb3565b60208201526142f160408401614279565b604082015261430260608401613c8b565b606082015261431360808401613f5c565b6080820152613dff60a08401613f5c565b6001600160601b038316815260c0810161354e60208301846141ff565b60006020828403121561435357600080fd5b81516001600160401b0381111561436957600080fd5b61362884828501613cf8565b6001600160601b03841681526001600160a01b03831660208201526060604082018190526000906143a890830184613579565b95945050505050565b6001600160601b03831681526040602082015260006136286040830184614193565b6000602082840312156143e557600080fd5b81516001600160401b03808211156143fc57600080fd5b908301906060828603121561441057600080fd5b60405160608101818110838211171561442b5761442b6136d6565b604052825161443981613645565b81526020830151614449816136b8565b602082015260408301518281111561446057600080fd5b61446c87828601613cf8565b60408301525095945050505050565b60006020828403121561448d57600080fd5b81516001600160401b03808211156144a457600080fd5b9083019061012082860312156144b957600080fd5b6144c1613736565b8251828111156144d057600080fd5b6144dc87828601613cf8565b82525060208301516020820152604083015160408201526060830151606082015261450960808401613d3d565b608082015261451a60a08401613d3d565b60a082015261452b60c08401613c8b565b60c082015261453c60e08401613c8b565b60e0820152610100808401518381111561455557600080fd5b61456188828701613cf8565b918301919091525095945050505050565b828152604060208201526001600160601b0382511660408201526000602083015160e060608401526145a8610120840182613579565b90506040840151608084015263ffffffff60608501511660a084015260808401516145db60c085018263ffffffff169052565b5060a084015164ffffffffff1660e084015260c0840151838203603f19016101008501526141578282613579565b60006020828403121561461b57600080fd5b815161354e816136a9565b60208082526021908201527f4552524f523a5352562d3033313a504152454e545f4e4f545f494e5354414e436040820152604560f81b606082015260800190565b6000806040838503121561467a57600080fd5b825161468581613694565b60208401519092506136898161369456fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122055dc3df4234dd6c675ac7455423c53c3ee1a629b70b5d7c111c959eb90848d6764736f6c63430008140033",
830
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c806349bb9e4b1161010f578063ada9652e116100a2578063cde749f411610071578063cde749f414610458578063ea86657214610460578063f21de1e81461039a578063f7c34ee01461047357600080fd5b8063ada9652e1461041e578063b68d180914610433578063caf4e3d414610448578063cc9fc59a1461045057600080fd5b8063644c45e0116100de578063644c45e0146103d2578063675393bf146103f0578063893d20e8146104035780638dd2b7811461040b57600080fd5b806349bb9e4b146103745780634cf30a84146103875780635ab1bd531461039a5780635dcb3bae146103bf57600080fd5b806327bb7a331161018757806336fc697e1161015657806336fc697e1461031b5780633d683fd9146103235780633f52c0f6146103365780634420e4861461034957600080fd5b806327bb7a33146102c2578063289de5b6146102d55780632b5198b1146102e8578063329d6e741461030857600080fd5b8063138461e0116101c3578063138461e01461025d5780631eff4b2214610267578063214cdb801461029c57806325d07384146102af57600080fd5b806301ffc9a7146101ea5780630d8e6e2c1461022c5780630fec111c14610248575b600080fd5b6102176101f8366004613524565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610234610486565b60405162ffffff9091168152602001610223565b610250610510565b60405161022391906135a5565b6102656106c4565b005b61028e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102656102aa366004613524565b6108cb565b6102176102bd36600461365b565b6108f8565b6102656102d0366004613806565b610c31565b61028e6102e336600461389e565b610cbd565b6102fb6102f63660046138f1565b61105f565b60405161022391906139bd565b6102656103163660046139d2565b6112a2565b6102656113ef565b610265610331366004613a06565b611435565b610265610344366004613a67565b6114d2565b61035c610357366004613a99565b611635565b6040516001600160601b039091168152602001610223565b610265610382366004613ab6565b6119a3565b610265610395366004613b05565b611aa2565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b61035c6103cd366004613b31565b611ae0565b600080516020614697833981519152546001600160601b031661035c565b6102656103fe366004613a99565b611c65565b6103a7611d73565b6102fb610419366004613b64565b611eaa565b61028e60008051602061469783398151915281565b60785b60405160ff9091168152602001610223565b6103a7612559565b6103a76125f0565b61043661261a565b61026561046e366004613bfe565b612691565b610265610481366004613bfe565b612729565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050b9190613c2c565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906105c090613c51565b80601f01602080910402602001604051908101604052809291908181526020018280546105ec90613c51565b80156106395780601f1061060e57610100808354040283529160200191610639565b820191906000526020600020905b81548152906001019060200180831161061c57829003601f168201915b50505050508152505090506040518060e00160405280610657600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016106a8611d73565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061469783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610733573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107579190613c96565b156107885780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061079b6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156107e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108079190613c96565b61082f5760405163b9304b0d60e01b81526001600160a01b038216600482015260240161077f565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610883573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a79190613cbe565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108d36127a0565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6000806000610906856127d9565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096e9190613cdb565b6001600160a01b0316631d3be477866040518263ffffffff1660e01b815260040161099991906139bd565b600060405180830381865afa1580156109b6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109de9190810190613d53565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015610a3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a609190613c96565b15610a715760009350505050610c2b565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610acd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af19190613c96565b80610c03575060a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015610b53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b779190613c96565b8015610c035750610c0373__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610bca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bee9190613e31565b8260a0015164ffffffffff9081169116111590565b9350838015610c255750806060015163ffffffff16816080015163ffffffff16105b93505050505b92915050565b610c396127a0565b610c438287612729565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610cb38382613e9d565b5050505050505050565b6000806000610ccb866127d9565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d339190613cdb565b604051639ad69c6760e01b81526001600160601b03891660048201529091506000906001600160a01b03831690639ad69c679060240160a060405180830381865afa158015610d86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610daa9190613f67565b604081810151905163012ebd8360e21b81528151600482015260208201516024820152604481018990529192509073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015610e13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e37919061400d565b509550610e4489896108f8565b1561105357604051631d3be47760e01b81526000906001600160a01b03851690631d3be47790610e78908c906004016139bd565b600060405180830381865afa158015610e95573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ebd9190810190613d53565b6040516322f5db0f60e11b8152600481018a905290915060009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610f13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f379190614031565b60408084015190516332292b2760e21b815273__$5ac3274b8cf1e01ea223bf093142af05b0$__9263c8a4ac9c92610f7a92600401918252602082015260400190565b602060405180830381865af4158015610f97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fbb9190614031565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561100c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110309190614031565b9050878111156110435760009750611050565b61104d818961404a565b97505b50505b50505050509392505050565b600080600061106c612940565b925092505073__$5906aa3f06c54ee09b434647963e1d1ed0$__63578c3039838e6040518363ffffffff1660e01b81526004016110aa92919061406b565b602060405180830381865af41580156110c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110eb919061408d565b6040516355ee627560e01b815290935060009073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590611132906001600160c01b03198816906004016139bd565b602060405180830381865af415801561114f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111739190614031565b604051630e29a66960e21b8152600481018290529091506001600160a01b038316906338a699a490602401602060405180830381865afa1580156111bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111df9190613c96565b6112925760408051610120810182528e8152602081018e90528082018d9052606081018c905263ffffffff808c1660808301528a1660a082015288151560c082015287151560e0820152610100810187905290516304f2a7e960e31b81526001600160a01b038416906327953f489061125e90859085906004016140aa565b600060405180830381600087803b15801561127857600080fd5b505af115801561128c573d6000803e3d6000fd5b50505050505b5050509998505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6112c4610486565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611304573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113289190614176565b6000805160206146b78339815191528054600160401b900460ff168061135b575080546001600160401b03808416911610155b156113795760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556113a3836129c4565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b6113f76127a0565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600061143f612940565b604080516060810182526001600160c01b03198816815260016020820152808201879052905163051cf2fd60e41b815291945092506001600160a01b03841691506351cf2fd090611499908890859060ff906004016141ca565b600060405180830381600087803b1580156114b357600080fd5b505af11580156114c7573d6000803e3d6000fd5b505050505050505050565b6000806114df60786129cc565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611523573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115479190613cdb565b8351604051639ad69c6760e01b81526001600160601b0382166004820152919250906000906001600160a01b03841690639ad69c679060240160a060405180830381865afa15801561159d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c19190613f67565b60408181018890525163ccdcd37f60e01b81529091506001600160a01b0385169063ccdcd37f906115fb908590859060ff9060040161424b565b600060405180830381600087803b15801561161557600080fd5b505af1158015611629573d6000803e3d6000fd5b50505050505050505050565b60008080808061164e866078611649612c6e565b612ce5565b93509350935093506000611660612559565b604051638fbc2d8160e01b81526001600160a01b03878116600483015286811660248301529190911690638fbc2d81906044016000604051808303816000875af11580156116b2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116da9190810190614284565b90506000879050806001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561171c57600080fd5b505af1158015611730573d6000803e3d6000fd5b5050505081600001519650836001600160a01b031663f651dcac88836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040160a060405180830381865afa158015611789573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ad9190613f67565b6040518363ffffffff1660e01b81526004016117ca929190614324565b600060405180830381600087803b1580156117e457600080fd5b505af11580156117f8573d6000803e3d6000fd5b505050506118046125f0565b6001600160a01b03166335241c06848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611852573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261187a9190810190614341565b6040518463ffffffff1660e01b815260040161189893929190614375565b600060405180830381600087803b1580156118b257600080fd5b505af11580156118c6573d6000803e3d6000fd5b505050506118d26125f0565b6001600160a01b031663b2bf3dc4848a846001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611920573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119489190810190614341565b6040518463ffffffff1660e01b815260040161196693929190614375565b600060405180830381600087803b15801561198057600080fd5b505af1158015611994573d6000803e3d6000fd5b50505050505050505050919050565b6000805160206146b78339815191528054600160401b810460ff1615906001600160401b03166000811580156119d65750825b90506000826001600160401b031660011480156119f25750303b155b905081158015611a00575080155b15611a1e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611a4857845460ff60401b1916600160401b1785555b611a5287876130bf565b8315611a9957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b60405162461bcd60e51b81526020600482015260136024820152721393d517d25354131153515395115117d65155606a1b604482015260640161077f565b6000806000611aed612940565b9250925050611afa612559565b6001600160a01b03166357a8fba76040518060e00160405280611b1b600090565b6001600160601b03168152602001856001600160601b03168152602001611b40607a90565b60ff16815260200160011515815260200160006001600160a01b03168152602001896001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b8152600401611b9f91906135a5565b6020604051808303816000875af1158015611bbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611be29190613cbe565b604080516060810182526001600160c01b03198816815260016020820152808201879052905163b405b76f60e01b8152919450906001600160a01b0383169063b405b76f90611c3790879085906004016143b1565b600060405180830381600087803b158015611c5157600080fd5b505af1158015611050573d6000803e3d6000fd5b611c6d6127a0565b806001600160a01b03163b600003611ca35760405163fdeac91f60e01b81526001600160a01b038216600482015260240161077f565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015611d1d575060408051601f3d908101601f19168201909252611d1a91810190613c96565b60015b611d455760405163fdeac91f60e01b81526001600160a01b038216600482015260240161077f565b80611d6e5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161077f565b505b50565b60008060008051602061469783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611de3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e079190613c96565b15611e94576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611e6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e8e9190613cdb565b91505090565b54600160601b90046001600160a01b0316919050565b6000806000611eb7612940565b92509250506000885111611f0d5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4453562d3033303a434f44455f494e56414c4944000000000000604482015260640161077f565b64ffffffffff8516611f615760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4453562d3033313a4558504952595f41545f5a45524f00000000604482015260640161077f565b6000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fa1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fc59190613cdb565b6040516313d8ebc960e11b81526001600160601b038c1660048201529091506000906001600160a01b038316906327b1d79290602401600060405180830381865afa158015612018573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261204091908101906143d3565b80516040516368322c6360e11b8152919250906000906001600160a01b0385169063d06458c6906120759085906004016139bd565b600060405180830381865afa158015612092573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120ba919081019061447b565b90508963ffffffff16816080015163ffffffff1610156121285760405162461bcd60e51b8152602060048201526024808201527f4552524f523a4453562d3033323a4d41585f524546455252414c535f455843456044820152631151115160e21b606482015260840161077f565b60208101518b101561217c5760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a4453562d3033333a444953434f554e545f544f4f5f4c4f570000604482015260640161077f565b60408101518b11156121d05760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a4453562d3033343a444953434f554e545f544f4f5f4849474800604482015260640161077f565b8060a0015163ffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612224573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122489190613e31565b604051633682752160e21b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af415801561229f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122c39190614031565b604051633682752160e21b815264ffffffffff8c16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063da09d48490602401602060405180830381865af4158015612319573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061233d9190614031565b612347919061404a565b11156123955760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4453562d3033353a4558504952595f544f4f5f4c4f4e47000000604482015260640161077f565b73__$9f290d768183857d0249ab5bb54619c5ab$__633f093cd6878e6040518363ffffffff1660e01b81526004016123ce92919061406b565b602060405180830381865af41580156123eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061240f919061408d565b965060006040518060e001604052808f6001600160601b031681526020018e81526020018d81526020018c63ffffffff168152602001600063ffffffff1681526020018b64ffffffffff1681526020018a8152509050856001600160a01b03166354d747a8896001600160c01b03191673__$9f290d768183857d0249ab5bb54619c5ab$__6355ee627590916040518263ffffffff1660e01b81526004016124b791906139bd565b602060405180830381865af41580156124d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124f89190614031565b836040518363ffffffff1660e01b8152600401612516929190614572565b600060405180830381600087803b15801561253057600080fd5b505af1158015612544573d6000803e3d6000fd5b50505050505050505050509695505050505050565b60008061256e6001546001600160a01b031690565b6001600160a01b031663d39e604360285b61258761261a565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156125cc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2b9190613cdb565b6000806126056001546001600160a01b031690565b6001600160a01b031663d39e6043604661257f565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af415801561266d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050b9190614609565b6126996127a0565b61271982836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126ff9190613cbe565b603c60008560405180602001604052806000815250610c31565b611d6e637b6a51fd60e01b6108cb565b6127316127a0565b61273a81611c65565b6127426113ef565b6001600160a01b0382166127695760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061469783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000805160206146b783398151915254600160401b900460ff166127d757604051631afcd79f60e31b815260040160405180910390fd5b565b60008060006127f06001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561283f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526128679190810190614284565b9050600061287d6001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156128d2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526128fa9190810190614284565b9050612917816040015161290c604690565b60ff90811691161490565b6129335760405162461bcd60e51b815260040161077f90614626565b6080015192949293505050565b60008060008061294e6131dd565b929650909450909250905061296481607861290c565b6129be5760405162461bcd60e51b815260206004820152602560248201527f4552524f523a5052532d3033313a43414c4c45525f4e4f545f444953545255426044820152642aaa24a7a760d91b606482015260840161077f565b50909192565b6101e56127a0565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015612a5b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612a839190810190614284565b9250612a9983604001518560ff90811691161490565b612adb5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161077f565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015612b31573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b599190810190614284565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ba2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bc69190613cdb565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015612c13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c379190613c96565b15612c6657608085015160405163d53987e560e01b81526001600160a01b03909116600482015260240161077f565b505050915091565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015612cc1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050b9190614176565b600033818080612cfd6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa158015612d45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d699190613cbe565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612dc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612de89190613c96565b15612e1f5760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b038216602482015260440161077f565b6040516301ffc9a760e01b8152639bdd1ccd60e01b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa158015612e6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e919190613c96565b612eb9576040516359bff0e360e11b81526001600160a01b038916600482015260240161077f565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015612ef9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612f219190810190614284565b9050612f3881604001518960ff9081169116141590565b15612f78576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b166024830152909116604482015260640161077f565b60a08101516001600160a01b0386811690821614612fca5760a0820151604051632b50a20960e21b81526001600160a01b03808d1660048301529182166024820152908716604482015260640161077f565b81602001519350612fda8461348d565b94506000612fe66125f0565b60405163081deaed60e11b81526001600160a01b0389811660048301526001600160401b038c1660248301528881166044830152919091169063103bd5da90606401602060405180830381865afa158015613045573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130699190613c96565b9050806130b257604051636af540d960e01b81526001600160601b03861660048201526001600160401b038a1660248201526001600160a01b038816604482015260640161077f565b5050505093509350935093565b6000805160206146b78339815191528054600160401b810460ff1615906001600160401b03166000811580156130f25750825b90506000826001600160401b0316600114801561310e5750303b155b90508115801561311c575080155b1561313a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561316457845460ff60401b1916600160401b1785555b6000808780602001905181019061317b9190614667565b92509050613189818a612691565b61319963b8cc770760e01b6108cb565b50508315611a9957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611a90565b33600080806131f46001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038681166004830152919091169063d272ac1e90602401602060405180830381865afa15801561323c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132609190613cbe565b6040516330b8415f60e01b81526001600160601b038216600482015290935073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156132bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132df9190613c96565b61332b5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a5352562d3033303a43414c4c45525f554e4b4e4f574e00000000604482015260640161077f565b600061333f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561338e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526133b69190810190614284565b90508060400151925060006133d36001546001600160a01b031690565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613428573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526134509190810190614284565b9050613462816040015161290c604690565b61347e5760405162461bcd60e51b815260040161077f90614626565b80608001519250505090919293565b6000806134a26001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156134f1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526135199190810190614284565b608001519392505050565b60006020828403121561353657600080fd5b81356001600160e01b03198116811461354e57600080fd5b9392505050565b60005b83811015613570578181015183820152602001613558565b50506000910152565b60008151808452613591816020860160208601613555565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161360e60c08401826001600160a01b03169052565b5060c083015160e080840152613628610100840182613579565b949350505050565b6001600160601b0381168114611d7057600080fd5b6001600160c01b031981168114611d7057600080fd5b6000806040838503121561366e57600080fd5b823561367981613630565b9150602083013561368981613645565b809150509250929050565b6001600160a01b0381168114611d7057600080fd5b60ff81168114611d7057600080fd5b8015158114611d7057600080fd5b80356136d1816136b8565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561370e5761370e6136d6565b60405290565b60405160e081016001600160401b038111828210171561370e5761370e6136d6565b60405161012081016001600160401b038111828210171561370e5761370e6136d6565b604051601f8201601f191681016001600160401b0381118282101715613781576137816136d6565b604052919050565b60006001600160401b038211156137a2576137a26136d6565b50601f01601f191660200190565b600082601f8301126137c157600080fd5b81356137d46137cf82613789565b613759565b8181528460208386010111156137e957600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c0878903121561381f57600080fd5b863561382a81613694565b9550602087013561383a81613630565b9450604087013561384a816136a9565b9350606087013561385a816136b8565b9250608087013561386a81613694565b915060a08701356001600160401b0381111561388557600080fd5b61389189828a016137b0565b9150509295509295509295565b6000806000606084860312156138b357600080fd5b83356138be81613630565b925060208401356138ce81613645565b929592945050506040919091013590565b63ffffffff81168114611d7057600080fd5b60008060008060008060008060006101208a8c03121561391057600080fd5b89356001600160401b038082111561392757600080fd5b6139338d838e016137b0565b9a5060208c0135995060408c0135985060608c0135975060808c0135915061395a826138df565b90955060a08b01359061396c826138df565b81955061397b60c08d016136c6565b945061398960e08d016136c6565b93506101008c01359150808211156139a057600080fd5b506139ad8c828d016137b0565b9150509295985092959850929598565b6001600160c01b031991909116815260200190565b6000602082840312156139e457600080fd5b81356001600160401b038111156139fa57600080fd5b613628848285016137b0565b600080600060608486031215613a1b57600080fd5b8335613a2681613630565b92506020840135613a3681613645565b915060408401356001600160401b03811115613a5157600080fd5b613a5d868287016137b0565b9150509250925092565b600060408284031215613a7957600080fd5b613a816136ec565b82358152602083013560208201528091505092915050565b600060208284031215613aab57600080fd5b813561354e81613694565b60008060408385031215613ac957600080fd5b8235613ad481613694565b915060208301356001600160401b03811115613aef57600080fd5b613afb858286016137b0565b9150509250929050565b60008060408385031215613b1857600080fd5b8235613b2381613645565b946020939093013593505050565b600080600060608486031215613b4657600080fd5b8335613a2681613694565b64ffffffffff81168114611d7057600080fd5b60008060008060008060c08789031215613b7d57600080fd5b8635613b8881613630565b955060208701356001600160401b0380821115613ba457600080fd5b613bb08a838b016137b0565b96506040890135955060608901359150613bc9826138df565b909350608088013590613bdb82613b51565b90925060a08801359080821115613bf157600080fd5b5061389189828a016137b0565b60008060408385031215613c1157600080fd5b8235613c1c81613694565b9150602083013561368981613694565b600060208284031215613c3e57600080fd5b815162ffffff8116811461354e57600080fd5b600181811c90821680613c6557607f821691505b602082108103613c8557634e487b7160e01b600052602260045260246000fd5b50919050565b80516136d1816136b8565b600060208284031215613ca857600080fd5b815161354e816136b8565b80516136d181613630565b600060208284031215613cd057600080fd5b815161354e81613630565b600060208284031215613ced57600080fd5b815161354e81613694565b600082601f830112613d0957600080fd5b8151613d176137cf82613789565b818152846020838601011115613d2c57600080fd5b613628826020830160208701613555565b80516136d1816138df565b80516136d181613b51565b600060208284031215613d6557600080fd5b81516001600160401b0380821115613d7c57600080fd5b9083019060e08286031215613d9057600080fd5b613d98613714565b613da183613cb3565b8152602083015182811115613db557600080fd5b613dc187828601613cf8565b60208301525060408301516040820152613ddd60608401613d3d565b6060820152613dee60808401613d3d565b6080820152613dff60a08401613d48565b60a082015260c083015182811115613e1657600080fd5b613e2287828601613cf8565b60c08301525095945050505050565b600060208284031215613e4357600080fd5b815161354e81613b51565b601f821115613e9857600081815260208120601f850160051c81016020861015613e755750805b601f850160051c820191505b81811015613e9457828155600101613e81565b5050505b505050565b81516001600160401b03811115613eb657613eb66136d6565b613eca81613ec48454613c51565b84613e4e565b602080601f831160018114613eff5760008415613ee75750858301515b600019600386901b1c1916600185901b178555613e94565b600085815260208120601f198616915b82811015613f2e57888601518255948401946001909101908401613f0f565b5085821015613f4c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80516136d181613694565b600081830360a0811215613f7a57600080fd5b604051608081018181106001600160401b0382111715613f9c57613f9c6136d6565b6040528351613faa81613630565b81526020840151613fba81613694565b60208201526040603f1983011215613fd157600080fd5b613fd96136ec565b60408581015182526060860151602083015282015260808401519150613ffe82613694565b60608101919091529392505050565b6000806040838503121561402057600080fd5b505080516020909101519092909150565b60006020828403121561404357600080fd5b5051919050565b81810381811115610c2b57634e487b7160e01b600052601160045260246000fd5b6001600160601b03831681526040602082015260006136286040830184613579565b60006020828403121561409f57600080fd5b815161354e81613645565b82815260406020820152600082516101208060408501526140cf610160850183613579565b91506020850151606085015260408501516080850152606085015160a0850152608085015161410660c086018263ffffffff169052565b5060a085015163ffffffff811660e08601525060c085015161010061412e8187018315159052565b60e087015115159286019290925250840151603f19848303016101408501526141578282613579565b9695505050505050565b6001600160401b0381168114611d7057600080fd5b60006020828403121561418857600080fd5b815161354e81614161565b6001600160401b0360c01b815116825260208101511515602083015260006040820151606060408501526136286060850182613579565b6001600160601b03841681526060602082015260006141ec6060830185614193565b905060ff83166040830152949350505050565b80516001600160601b031682526020808201516001600160a01b039081168285015260408084015180519186019190915291820151606085015280606084015116608085015250505050565b6001600160601b038416815260e0810161426860208301856141ff565b60ff831660c0830152949350505050565b80516136d1816136a9565b60006020828403121561429657600080fd5b81516001600160401b03808211156142ad57600080fd5b9083019060e082860312156142c157600080fd5b6142c9613714565b6142d283613cb3565b81526142e060208401613cb3565b60208201526142f160408401614279565b604082015261430260608401613c8b565b606082015261431360808401613f5c565b6080820152613dff60a08401613f5c565b6001600160601b038316815260c0810161354e60208301846141ff565b60006020828403121561435357600080fd5b81516001600160401b0381111561436957600080fd5b61362884828501613cf8565b6001600160601b03841681526001600160a01b03831660208201526060604082018190526000906143a890830184613579565b95945050505050565b6001600160601b03831681526040602082015260006136286040830184614193565b6000602082840312156143e557600080fd5b81516001600160401b03808211156143fc57600080fd5b908301906060828603121561441057600080fd5b60405160608101818110838211171561442b5761442b6136d6565b604052825161443981613645565b81526020830151614449816136b8565b602082015260408301518281111561446057600080fd5b61446c87828601613cf8565b60408301525095945050505050565b60006020828403121561448d57600080fd5b81516001600160401b03808211156144a457600080fd5b9083019061012082860312156144b957600080fd5b6144c1613736565b8251828111156144d057600080fd5b6144dc87828601613cf8565b82525060208301516020820152604083015160408201526060830151606082015261450960808401613d3d565b608082015261451a60a08401613d3d565b60a082015261452b60c08401613c8b565b60c082015261453c60e08401613c8b565b60e0820152610100808401518381111561455557600080fd5b61456188828701613cf8565b918301919091525095945050505050565b828152604060208201526001600160601b0382511660408201526000602083015160e060608401526145a8610120840182613579565b90506040840151608084015263ffffffff60608501511660a084015260808401516145db60c085018263ffffffff169052565b5060a084015164ffffffffff1660e084015260c0840151838203603f19016101008501526141578282613579565b60006020828403121561461b57600080fd5b815161354e816136a9565b60208082526021908201527f4552524f523a5352562d3033313a504152454e545f4e4f545f494e5354414e436040820152604560f81b606082015260800190565b6000806040838503121561467a57600080fd5b825161468581613694565b60208401519092506136898161369456fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122055dc3df4234dd6c675ac7455423c53c3ee1a629b70b5d7c111c959eb90848d6764736f6c63430008140033",
831
- "linkReferences": {
832
- "contracts/types/DistributorType.sol": {
833
- "DistributorTypeLib": [
834
- {
835
- "length": 20,
836
- "start": 4441
837
- },
838
- {
839
- "length": 20,
840
- "start": 4582
841
- }
842
- ]
843
- },
844
- "contracts/types/Fee.sol": {
845
- "FeeLib": [
846
- {
847
- "length": 20,
848
- "start": 3776
849
- }
850
- ]
851
- },
852
- "contracts/types/NftId.sol": {
853
- "NftIdLib": [
854
- {
855
- "length": 20,
856
- "start": 2015
857
- },
858
- {
859
- "length": 20,
860
- "start": 2792
861
- },
862
- {
863
- "length": 20,
864
- "start": 7823
865
- },
866
- {
867
- "length": 20,
868
- "start": 11888
869
- },
870
- {
871
- "length": 20,
872
- "start": 13159
873
- }
874
- ]
875
- },
876
- "contracts/types/Referral.sol": {
877
- "ReferralLib": [
878
- {
879
- "length": 20,
880
- "start": 9341
881
- },
882
- {
883
- "length": 20,
884
- "start": 9575
885
- }
886
- ]
887
- },
888
- "contracts/types/RoleId.sol": {
889
- "RoleIdLib": [
890
- {
891
- "length": 20,
892
- "start": 11629
893
- }
894
- ]
895
- },
896
- "contracts/types/Timestamp.sol": {
897
- "TimestampLib": [
898
- {
899
- "length": 20,
900
- "start": 2937
901
- },
902
- {
903
- "length": 20,
904
- "start": 3071
905
- },
906
- {
907
- "length": 20,
908
- "start": 3177
909
- },
910
- {
911
- "length": 20,
912
- "start": 8899
913
- },
914
- {
915
- "length": 20,
916
- "start": 9035
917
- },
918
- {
919
- "length": 20,
920
- "start": 9157
921
- }
922
- ]
923
- },
924
- "contracts/types/UFixed.sol": {
925
- "UFixedLib": [
926
- {
927
- "length": 20,
928
- "start": 4031
929
- },
930
- {
931
- "length": 20,
932
- "start": 4145
933
- },
934
- {
935
- "length": 20,
936
- "start": 4280
937
- }
938
- ]
939
- },
940
- "contracts/types/Version.sol": {
941
- "VersionLib": [
942
- {
943
- "length": 20,
944
- "start": 1427
945
- },
946
- {
947
- "length": 20,
948
- "start": 5002
949
- }
950
- ],
951
- "VersionPartLib": [
952
- {
953
- "length": 20,
954
- "start": 10009
955
- }
956
- ]
957
- }
958
- },
959
- "deployedLinkReferences": {
960
- "contracts/types/DistributorType.sol": {
961
- "DistributorTypeLib": [
962
- {
963
- "length": 20,
964
- "start": 4211
965
- },
966
- {
967
- "length": 20,
968
- "start": 4352
969
- }
970
- ]
971
- },
972
- "contracts/types/Fee.sol": {
973
- "FeeLib": [
974
- {
975
- "length": 20,
976
- "start": 3546
977
- }
978
- ]
979
- },
980
- "contracts/types/NftId.sol": {
981
- "NftIdLib": [
982
- {
983
- "length": 20,
984
- "start": 1785
985
- },
986
- {
987
- "length": 20,
988
- "start": 2562
989
- },
990
- {
991
- "length": 20,
992
- "start": 7593
993
- },
994
- {
995
- "length": 20,
996
- "start": 11658
997
- },
998
- {
999
- "length": 20,
1000
- "start": 12929
1001
- }
1002
- ]
1003
- },
1004
- "contracts/types/Referral.sol": {
1005
- "ReferralLib": [
1006
- {
1007
- "length": 20,
1008
- "start": 9111
1009
- },
1010
- {
1011
- "length": 20,
1012
- "start": 9345
1013
- }
1014
- ]
1015
- },
1016
- "contracts/types/RoleId.sol": {
1017
- "RoleIdLib": [
1018
- {
1019
- "length": 20,
1020
- "start": 11399
1021
- }
1022
- ]
1023
- },
1024
- "contracts/types/Timestamp.sol": {
1025
- "TimestampLib": [
1026
- {
1027
- "length": 20,
1028
- "start": 2707
1029
- },
1030
- {
1031
- "length": 20,
1032
- "start": 2841
1033
- },
1034
- {
1035
- "length": 20,
1036
- "start": 2947
1037
- },
1038
- {
1039
- "length": 20,
1040
- "start": 8669
1041
- },
1042
- {
1043
- "length": 20,
1044
- "start": 8805
1045
- },
1046
- {
1047
- "length": 20,
1048
- "start": 8927
1049
- }
1050
- ]
1051
- },
1052
- "contracts/types/UFixed.sol": {
1053
- "UFixedLib": [
1054
- {
1055
- "length": 20,
1056
- "start": 3801
1057
- },
1058
- {
1059
- "length": 20,
1060
- "start": 3915
1061
- },
1062
- {
1063
- "length": 20,
1064
- "start": 4050
1065
- }
1066
- ]
1067
- },
1068
- "contracts/types/Version.sol": {
1069
- "VersionLib": [
1070
- {
1071
- "length": 20,
1072
- "start": 1197
1073
- },
1074
- {
1075
- "length": 20,
1076
- "start": 4772
1077
- }
1078
- ],
1079
- "VersionPartLib": [
1080
- {
1081
- "length": 20,
1082
- "start": 9779
1083
- }
1084
- ]
1085
- }
1086
- }
1087
- }