@etherisc/gif-next 0.0.2-f63e99e-607 → 0.0.2-f677999-878

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