@etherisc/gif-next 0.0.2-f752d2a-551 → 0.0.2-f78c672-338

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