@etherisc/gif-next 0.0.2-de220d6-949 → 0.0.2-de9ede4-391

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