@etherisc/gif-next 0.0.2-da77c50-824 → 0.0.2-db12733-152

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