@etherisc/gif-next 0.0.2-f9bc4c7-556 → 0.0.2-fa35bce-363

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