@etherisc/gif-next 0.0.2-d551b5e-892 → 0.0.2-d57a2ff-383

Sign up to get free protection for your applications and to get access to all the features.
Files changed (664) hide show
  1. package/README.md +28 -16
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1248 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/IAccessManagerSimple.sol/IAccessManagerSimple.json → authorization/IAccessAdmin.sol/IAccessAdmin.json} +499 -549
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
  14. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
  18. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1505 -0
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +410 -0
  26. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1191 -0
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1394 -0
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +826 -0
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +900 -0
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +843 -0
  36. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +64 -149
  38. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  39. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +267 -1326
  40. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  41. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +444 -172
  42. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  43. package/artifacts/contracts/instance/Instance.sol/Instance.json +364 -3016
  44. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  45. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1621 -0
  46. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  47. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
  48. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  49. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +662 -349
  50. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +598 -437
  52. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +347 -145
  54. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3591 -0
  56. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  57. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  58. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  59. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
  60. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  61. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  62. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  63. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  64. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +181 -0
  66. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +30 -112
  68. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  70. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  71. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  74. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  75. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  76. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  77. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1155 -0
  78. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  79. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  80. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  81. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  82. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  83. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
  84. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  85. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  86. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  87. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +1063 -0
  88. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  89. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1034 -0
  90. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +730 -0
  92. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  93. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1477 -0
  94. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  95. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  96. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  97. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1134 -0
  98. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +754 -0
  100. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  101. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → pool/IBundleService.sol/IBundleService.json} +311 -336
  102. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  103. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +959 -0
  104. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  105. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1078 -0
  106. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  107. package/artifacts/contracts/pool/Pool.sol/Pool.json +1269 -0
  108. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  109. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1453 -0
  110. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  111. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +742 -0
  112. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  113. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +863 -0
  114. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  115. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +730 -0
  116. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  117. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1299 -0
  118. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  119. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  120. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  121. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1315 -0
  122. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +822 -0
  124. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  125. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IApplicationService.sol/IApplicationService.json} +236 -190
  126. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  127. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +772 -0
  128. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  129. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +347 -291
  130. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  131. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IPricingService.sol/IPricingService.json} +267 -256
  132. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  133. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +966 -0
  134. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  135. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → product/IProductService.sol/IProductService.json} +144 -112
  136. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  137. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1183 -0
  138. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  139. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +766 -0
  140. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  141. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1012 -0
  142. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  143. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
  144. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  145. package/artifacts/contracts/product/Product.sol/Product.json +1257 -0
  146. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  147. package/artifacts/contracts/product/ProductService.sol/ProductService.json +708 -0
  148. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +702 -0
  150. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  151. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  152. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  153. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +344 -127
  154. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  155. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +395 -219
  156. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  157. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  158. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  159. package/artifacts/contracts/registry/Registry.sol/Registry.json +532 -182
  160. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  161. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1741 -0
  162. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  163. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +477 -318
  164. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  165. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +337 -133
  166. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  167. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  168. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  169. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +1159 -0
  170. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  171. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  172. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  173. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +351 -100
  174. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  175. package/artifacts/contracts/shared/Component.sol/Component.json +896 -0
  176. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  177. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1487 -0
  178. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +784 -0
  180. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  181. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +216 -198
  182. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  183. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  184. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  185. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IComponent.sol/IComponent.json} +281 -103
  186. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  187. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +880 -0
  188. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  189. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +718 -0
  190. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  191. package/artifacts/contracts/{instance/IInstanceBase.sol/IInstanceBase.json → shared/IKeyValueStore.sol/IKeyValueStore.json} +60 -34
  192. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  193. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
  194. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  195. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +34 -30
  196. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  197. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +207 -0
  198. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  199. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +15 -35
  200. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  201. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  202. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  203. package/artifacts/contracts/shared/IService.sol/IService.json +97 -172
  204. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  205. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  206. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  207. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  208. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  209. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +996 -0
  210. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  211. package/artifacts/contracts/{instance/base/IKeyValueStore.sol/IKeyValueStore.json → shared/KeyValueStore.sol/KeyValueStore.json} +88 -20
  212. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  213. package/artifacts/contracts/{experiment/statemachine/ISM.sol/ISM.json → shared/Lifecycle.sol/Lifecycle.json} +54 -45
  214. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  215. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
  216. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  217. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +115 -29
  218. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  219. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +320 -0
  220. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  221. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +330 -62
  222. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  223. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +132 -53
  224. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  225. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  226. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  227. package/artifacts/contracts/shared/Service.sol/Service.json +201 -162
  228. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  229. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
  230. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  231. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  232. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  233. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  234. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  235. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  236. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  237. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  238. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  239. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +460 -0
  240. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  241. package/artifacts/contracts/staking/Staking.sol/Staking.json +2005 -0
  242. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  243. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  244. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  245. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +761 -0
  246. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  247. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  248. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  249. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1343 -0
  250. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  251. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +718 -0
  252. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  253. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2237 -0
  254. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  255. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
  256. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  257. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  258. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  259. package/artifacts/contracts/type/Amount.sol/AmountLib.json +345 -0
  260. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  261. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  262. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  263. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  264. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  265. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  266. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  267. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  268. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  269. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  270. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  271. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  272. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  273. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  274. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  275. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  276. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  277. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  278. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  279. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  280. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  281. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  282. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  283. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  284. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  285. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  286. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  287. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
  288. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  290. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  292. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  293. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  294. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  295. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  296. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  297. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +293 -0
  298. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  299. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  300. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +498 -0
  302. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  303. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  304. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  305. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  306. package/contracts/authorization/AccessAdmin.sol +588 -0
  307. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  308. package/contracts/authorization/Authorization.sol +218 -0
  309. package/contracts/authorization/IAccess.sol +48 -0
  310. package/contracts/authorization/IAccessAdmin.sol +136 -0
  311. package/contracts/authorization/IAuthorization.sol +54 -0
  312. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  313. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  314. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  315. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  316. package/contracts/distribution/BasicDistribution.sol +149 -0
  317. package/contracts/distribution/BasicDistributionAuthorization.sol +43 -0
  318. package/contracts/distribution/Distribution.sol +283 -0
  319. package/contracts/distribution/DistributionService.sol +302 -0
  320. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  321. package/contracts/distribution/IDistributionComponent.sol +48 -0
  322. package/contracts/distribution/IDistributionService.sol +85 -0
  323. package/contracts/instance/BundleManager.sol +22 -25
  324. package/contracts/instance/IInstance.sol +75 -47
  325. package/contracts/instance/IInstanceService.sol +77 -17
  326. package/contracts/instance/Instance.sol +180 -386
  327. package/contracts/instance/InstanceAdmin.sol +266 -0
  328. package/contracts/instance/InstanceAuthorizationV3.sol +202 -0
  329. package/contracts/instance/InstanceReader.sol +173 -83
  330. package/contracts/instance/InstanceService.sol +395 -204
  331. package/contracts/instance/InstanceServiceManager.sol +12 -25
  332. package/contracts/instance/InstanceStore.sol +276 -0
  333. package/contracts/instance/base/BalanceStore.sol +123 -0
  334. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
  335. package/contracts/instance/base/ObjectCounter.sol +21 -0
  336. package/contracts/instance/base/ObjectLifecycle.sol +106 -0
  337. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +17 -39
  338. package/contracts/instance/module/IAccess.sol +29 -21
  339. package/contracts/instance/module/IBundle.sol +8 -8
  340. package/contracts/instance/module/IComponents.sol +52 -0
  341. package/contracts/instance/module/IDistribution.sol +7 -4
  342. package/contracts/instance/module/IPolicy.sol +56 -17
  343. package/contracts/instance/module/IRisk.sol +1 -1
  344. package/contracts/{test/Usdc.sol → mock/Dip.sol} +5 -5
  345. package/contracts/oracle/BasicOracle.sol +48 -0
  346. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  347. package/contracts/oracle/IOracle.sol +36 -0
  348. package/contracts/oracle/IOracleComponent.sol +32 -0
  349. package/contracts/oracle/IOracleService.sol +65 -0
  350. package/contracts/oracle/Oracle.sol +157 -0
  351. package/contracts/oracle/OracleService.sol +278 -0
  352. package/contracts/oracle/OracleServiceManager.sol +42 -0
  353. package/contracts/pool/BasicPool.sol +164 -0
  354. package/contracts/pool/BasicPoolAuthorization.sol +49 -0
  355. package/contracts/pool/BundleService.sol +296 -0
  356. package/contracts/pool/BundleServiceManager.sol +42 -0
  357. package/contracts/pool/IBundleService.sol +106 -0
  358. package/contracts/pool/IPoolComponent.sol +52 -0
  359. package/contracts/pool/IPoolService.sol +150 -0
  360. package/contracts/pool/Pool.sol +311 -0
  361. package/contracts/pool/PoolService.sol +452 -0
  362. package/contracts/pool/PoolServiceManager.sol +42 -0
  363. package/contracts/product/ApplicationService.sol +254 -0
  364. package/contracts/product/ApplicationServiceManager.sol +38 -0
  365. package/contracts/product/BasicProduct.sol +82 -0
  366. package/contracts/product/BasicProductAuthorization.sol +40 -0
  367. package/contracts/product/ClaimService.sol +442 -0
  368. package/contracts/product/ClaimServiceManager.sol +38 -0
  369. package/contracts/product/IApplicationService.sol +62 -0
  370. package/contracts/product/IClaimService.sol +99 -0
  371. package/contracts/product/IPolicyService.sol +78 -0
  372. package/contracts/product/IPricingService.sol +39 -0
  373. package/contracts/product/IProductComponent.sol +39 -0
  374. package/contracts/product/IProductService.sol +33 -0
  375. package/contracts/product/PolicyService.sol +475 -0
  376. package/contracts/product/PolicyServiceManager.sol +42 -0
  377. package/contracts/product/PricingService.sol +300 -0
  378. package/contracts/product/PricingServiceManager.sol +42 -0
  379. package/contracts/product/Product.sol +392 -0
  380. package/contracts/product/ProductService.sol +124 -0
  381. package/contracts/product/ProductServiceManager.sol +42 -0
  382. package/contracts/registry/ChainNft.sol +15 -0
  383. package/contracts/registry/IRegistry.sol +70 -30
  384. package/contracts/registry/IRegistryService.sol +47 -28
  385. package/contracts/registry/ITransferInterceptor.sol +1 -0
  386. package/contracts/registry/Registry.sol +378 -248
  387. package/contracts/registry/RegistryAdmin.sol +365 -0
  388. package/contracts/registry/RegistryService.sol +114 -206
  389. package/contracts/registry/RegistryServiceManager.sol +24 -51
  390. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  391. package/contracts/registry/ReleaseManager.sol +487 -0
  392. package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
  393. package/contracts/registry/TokenRegistry.sol +261 -57
  394. package/contracts/shared/Component.sol +281 -0
  395. package/contracts/shared/ComponentService.sol +581 -0
  396. package/contracts/shared/ComponentServiceManager.sol +35 -0
  397. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  398. package/contracts/shared/ERC165.sol +15 -13
  399. package/contracts/shared/IComponent.sol +70 -0
  400. package/contracts/shared/IComponentService.sol +102 -0
  401. package/contracts/shared/IInstanceLinkedComponent.sol +50 -0
  402. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  403. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
  404. package/contracts/shared/INftOwnable.sol +13 -12
  405. package/contracts/shared/IPolicyHolder.sol +45 -0
  406. package/contracts/shared/IRegisterable.sol +4 -6
  407. package/contracts/shared/IRegistryLinked.sol +11 -0
  408. package/contracts/shared/IService.sol +15 -5
  409. package/contracts/shared/IVersionable.sol +5 -48
  410. package/contracts/shared/InitializableCustom.sol +177 -0
  411. package/contracts/shared/InstanceLinkedComponent.sol +151 -0
  412. package/contracts/shared/KeyValueStore.sol +131 -0
  413. package/contracts/shared/Lifecycle.sol +77 -0
  414. package/contracts/shared/NftIdSetManager.sol +65 -0
  415. package/contracts/shared/NftOwnable.sol +59 -86
  416. package/contracts/shared/PolicyHolder.sol +102 -0
  417. package/contracts/shared/ProxyManager.sol +131 -26
  418. package/contracts/shared/Registerable.sol +26 -41
  419. package/contracts/shared/RegistryLinked.sol +43 -0
  420. package/contracts/shared/Service.sol +57 -29
  421. package/contracts/shared/TokenHandler.sol +37 -6
  422. package/contracts/shared/Versionable.sol +4 -92
  423. package/contracts/staking/IStaking.sol +168 -0
  424. package/contracts/staking/IStakingService.sol +153 -0
  425. package/contracts/staking/StakeManagerLib.sol +231 -0
  426. package/contracts/staking/Staking.sol +513 -0
  427. package/contracts/staking/StakingLifecycle.sol +23 -0
  428. package/contracts/staking/StakingManager.sol +54 -0
  429. package/contracts/staking/StakingReader.sol +187 -0
  430. package/contracts/staking/StakingService.sol +411 -0
  431. package/contracts/staking/StakingServiceManager.sol +44 -0
  432. package/contracts/staking/StakingStore.sol +615 -0
  433. package/contracts/staking/TargetManagerLib.sol +207 -0
  434. package/contracts/{types → type}/AddressSet.sol +1 -1
  435. package/contracts/type/Amount.sol +128 -0
  436. package/contracts/{types → type}/Blocknumber.sol +21 -3
  437. package/contracts/type/ClaimId.sol +75 -0
  438. package/contracts/{types → type}/DistributorType.sol +2 -2
  439. package/contracts/{types → type}/Fee.sol +33 -23
  440. package/contracts/{types → type}/NftId.sol +21 -15
  441. package/contracts/{types → type}/NftIdSet.sol +2 -2
  442. package/contracts/type/ObjectType.sol +275 -0
  443. package/contracts/type/PayoutId.sol +82 -0
  444. package/contracts/{types → type}/Referral.sol +5 -1
  445. package/contracts/type/RequestId.sol +75 -0
  446. package/contracts/{types → type}/RiskId.sol +1 -1
  447. package/contracts/type/RoleId.sol +174 -0
  448. package/contracts/type/Seconds.sol +81 -0
  449. package/contracts/type/Selector.sol +102 -0
  450. package/contracts/{types → type}/StateId.sol +34 -4
  451. package/contracts/type/String.sol +53 -0
  452. package/contracts/{types → type}/Timestamp.sol +23 -14
  453. package/contracts/{types → type}/UFixed.sol +7 -0
  454. package/contracts/{types → type}/Version.sol +2 -1
  455. package/package.json +8 -5
  456. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  457. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  458. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -744
  459. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  460. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  461. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  462. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  463. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
  464. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  465. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  466. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  467. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -939
  468. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  469. package/artifacts/contracts/components/Product.sol/Product.json +0 -855
  470. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  471. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  472. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  473. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  474. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  475. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  476. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  477. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  478. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  479. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  480. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  481. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  482. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  483. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  484. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  485. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  486. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  487. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  488. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  489. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  490. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  491. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  492. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  493. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  494. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  495. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  496. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  497. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  498. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  499. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  500. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  501. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  502. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  503. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  504. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  505. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  506. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  507. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  508. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  509. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  510. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  511. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  512. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  513. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  514. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -940
  515. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  516. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  517. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  518. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -285
  519. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  520. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  521. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  522. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  523. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  524. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  525. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  526. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  527. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  528. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  529. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  530. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  531. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  532. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  533. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -684
  534. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  535. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -428
  536. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  537. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  538. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  539. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  540. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  541. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  542. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  543. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -984
  544. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  545. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -464
  546. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  547. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1017
  548. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  549. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -448
  550. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  551. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -789
  552. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  553. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -420
  554. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  555. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  556. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  557. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  558. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  559. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  560. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  561. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  562. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  563. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  564. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  565. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  566. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  567. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  568. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  569. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  570. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  571. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  572. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  573. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  574. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  575. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  576. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  577. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  578. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  579. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  580. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  581. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  582. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  583. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  584. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  585. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  586. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  587. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  588. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  589. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  590. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  591. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  592. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  593. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  594. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  595. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  596. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  597. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  598. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  599. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  600. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  601. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  602. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  603. package/contracts/components/BaseComponent.sol +0 -132
  604. package/contracts/components/Distribution.sol +0 -163
  605. package/contracts/components/IBaseComponent.sol +0 -31
  606. package/contracts/components/IDistributionComponent.sol +0 -44
  607. package/contracts/components/IPoolComponent.sol +0 -66
  608. package/contracts/components/IProductComponent.sol +0 -35
  609. package/contracts/components/Pool.sol +0 -267
  610. package/contracts/components/Product.sol +0 -292
  611. package/contracts/experiment/cloning/Cloner.sol +0 -47
  612. package/contracts/experiment/errors/Require.sol +0 -38
  613. package/contracts/experiment/errors/Revert.sol +0 -44
  614. package/contracts/experiment/inheritance/A.sol +0 -53
  615. package/contracts/experiment/inheritance/B.sol +0 -28
  616. package/contracts/experiment/inheritance/C.sol +0 -34
  617. package/contracts/experiment/inheritance/IA.sol +0 -13
  618. package/contracts/experiment/inheritance/IB.sol +0 -10
  619. package/contracts/experiment/inheritance/IC.sol +0 -12
  620. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  621. package/contracts/experiment/statemachine/ISM.sol +0 -25
  622. package/contracts/experiment/statemachine/SM.sol +0 -57
  623. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  624. package/contracts/experiment/types/TypeA.sol +0 -47
  625. package/contracts/experiment/types/TypeB.sol +0 -29
  626. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
  627. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  628. package/contracts/instance/IInstanceBase.sol +0 -26
  629. package/contracts/instance/InstanceAccessManager.sol +0 -288
  630. package/contracts/instance/InstanceBase.sol +0 -41
  631. package/contracts/instance/base/ComponentServiceBase.sol +0 -72
  632. package/contracts/instance/base/IInstanceBase.sol +0 -23
  633. package/contracts/instance/base/KeyValueStore.sol +0 -172
  634. package/contracts/instance/base/Lifecycle.sol +0 -100
  635. package/contracts/instance/module/ISetup.sol +0 -46
  636. package/contracts/instance/module/ITreasury.sol +0 -23
  637. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  638. package/contracts/instance/service/DistributionService.sol +0 -118
  639. package/contracts/instance/service/DistributionServiceManager.sol +0 -54
  640. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  641. package/contracts/instance/service/IDistributionService.sol +0 -12
  642. package/contracts/instance/service/IPolicyService.sol +0 -87
  643. package/contracts/instance/service/IPoolService.sol +0 -51
  644. package/contracts/instance/service/IProductService.sol +0 -40
  645. package/contracts/instance/service/PolicyService.sol +0 -513
  646. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  647. package/contracts/instance/service/PoolService.sol +0 -317
  648. package/contracts/instance/service/PoolServiceManager.sol +0 -54
  649. package/contracts/instance/service/ProductService.sol +0 -173
  650. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  651. package/contracts/shared/ContractDeployerLib.sol +0 -72
  652. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  653. package/contracts/test/TestFee.sol +0 -25
  654. package/contracts/test/TestRegisterable.sol +0 -18
  655. package/contracts/test/TestRoleId.sol +0 -14
  656. package/contracts/test/TestService.sol +0 -24
  657. package/contracts/test/TestToken.sol +0 -26
  658. package/contracts/test/TestVersion.sol +0 -44
  659. package/contracts/test/TestVersionable.sol +0 -17
  660. package/contracts/types/ChainId.sol +0 -38
  661. package/contracts/types/NumberId.sol +0 -52
  662. package/contracts/types/ObjectType.sol +0 -152
  663. package/contracts/types/RoleId.sol +0 -91
  664. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -1,984 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "PolicyService",
4
- "sourceName": "contracts/instance/service/PolicyService.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "ObjectType",
10
- "name": "componentType",
11
- "type": "uint8"
12
- }
13
- ],
14
- "name": "ComponentTypeInvalid",
15
- "type": "error"
16
- },
17
- {
18
- "inputs": [
19
- {
20
- "internalType": "address",
21
- "name": "registry",
22
- "type": "address"
23
- },
24
- {
25
- "internalType": "NftId",
26
- "name": "nftId",
27
- "type": "uint96"
28
- }
29
- ],
30
- "name": "ErrorAlreadyLinked",
31
- "type": "error"
32
- },
33
- {
34
- "inputs": [
35
- {
36
- "internalType": "address",
37
- "name": "contractAddress",
38
- "type": "address"
39
- }
40
- ],
41
- "name": "ErrorContractNotRegistered",
42
- "type": "error"
43
- },
44
- {
45
- "inputs": [
46
- {
47
- "internalType": "address",
48
- "name": "customer",
49
- "type": "address"
50
- },
51
- {
52
- "internalType": "address",
53
- "name": "tokenHandlerAddress",
54
- "type": "address"
55
- },
56
- {
57
- "internalType": "uint256",
58
- "name": "amount",
59
- "type": "uint256"
60
- }
61
- ],
62
- "name": "ErrorIProductServiceInsufficientAllowance",
63
- "type": "error"
64
- },
65
- {
66
- "inputs": [
67
- {
68
- "internalType": "address",
69
- "name": "account",
70
- "type": "address"
71
- }
72
- ],
73
- "name": "ErrorNotOwner",
74
- "type": "error"
75
- },
76
- {
77
- "inputs": [
78
- {
79
- "internalType": "address",
80
- "name": "registryAddress",
81
- "type": "address"
82
- }
83
- ],
84
- "name": "ErrorNotRegistry",
85
- "type": "error"
86
- },
87
- {
88
- "inputs": [
89
- {
90
- "internalType": "address",
91
- "name": "registryAddress",
92
- "type": "address"
93
- }
94
- ],
95
- "name": "ErrorRegisterableNotRegistry",
96
- "type": "error"
97
- },
98
- {
99
- "inputs": [],
100
- "name": "ErrorRegistryAddressZero",
101
- "type": "error"
102
- },
103
- {
104
- "inputs": [
105
- {
106
- "internalType": "address",
107
- "name": "registry",
108
- "type": "address"
109
- }
110
- ],
111
- "name": "ErrorRegistryAlreadyInitialized",
112
- "type": "error"
113
- },
114
- {
115
- "inputs": [],
116
- "name": "ErrorRegistryNotInitialized",
117
- "type": "error"
118
- },
119
- {
120
- "inputs": [
121
- {
122
- "internalType": "RoleId",
123
- "name": "expected",
124
- "type": "uint64"
125
- },
126
- {
127
- "internalType": "address",
128
- "name": "caller",
129
- "type": "address"
130
- }
131
- ],
132
- "name": "ExpectedRoleMissing",
133
- "type": "error"
134
- },
135
- {
136
- "inputs": [],
137
- "name": "InvalidInitialization",
138
- "type": "error"
139
- },
140
- {
141
- "inputs": [],
142
- "name": "NotInitializing",
143
- "type": "error"
144
- },
145
- {
146
- "anonymous": false,
147
- "inputs": [
148
- {
149
- "indexed": false,
150
- "internalType": "uint64",
151
- "name": "version",
152
- "type": "uint64"
153
- }
154
- ],
155
- "name": "Initialized",
156
- "type": "event"
157
- },
158
- {
159
- "anonymous": false,
160
- "inputs": [
161
- {
162
- "indexed": false,
163
- "internalType": "address",
164
- "name": "sender",
165
- "type": "address"
166
- }
167
- ],
168
- "name": "LogProductServiceSender",
169
- "type": "event"
170
- },
171
- {
172
- "anonymous": false,
173
- "inputs": [
174
- {
175
- "indexed": false,
176
- "internalType": "Version",
177
- "name": "version",
178
- "type": "uint24"
179
- },
180
- {
181
- "indexed": false,
182
- "internalType": "address",
183
- "name": "implementation",
184
- "type": "address"
185
- },
186
- {
187
- "indexed": false,
188
- "internalType": "address",
189
- "name": "activatedBy",
190
- "type": "address"
191
- }
192
- ],
193
- "name": "LogVersionableInitialized",
194
- "type": "event"
195
- },
196
- {
197
- "inputs": [],
198
- "name": "NAME",
199
- "outputs": [
200
- {
201
- "internalType": "string",
202
- "name": "",
203
- "type": "string"
204
- }
205
- ],
206
- "stateMutability": "view",
207
- "type": "function"
208
- },
209
- {
210
- "inputs": [],
211
- "name": "REGISTERABLE_LOCATION_V1",
212
- "outputs": [
213
- {
214
- "internalType": "bytes32",
215
- "name": "",
216
- "type": "bytes32"
217
- }
218
- ],
219
- "stateMutability": "view",
220
- "type": "function"
221
- },
222
- {
223
- "inputs": [
224
- {
225
- "internalType": "NftId",
226
- "name": "policyNftId",
227
- "type": "uint96"
228
- },
229
- {
230
- "internalType": "Timestamp",
231
- "name": "activateAt",
232
- "type": "uint40"
233
- }
234
- ],
235
- "name": "activate",
236
- "outputs": [],
237
- "stateMutability": "nonpayable",
238
- "type": "function"
239
- },
240
- {
241
- "inputs": [
242
- {
243
- "internalType": "RiskId",
244
- "name": "riskId",
245
- "type": "bytes8"
246
- },
247
- {
248
- "internalType": "uint256",
249
- "name": "sumInsuredAmount",
250
- "type": "uint256"
251
- },
252
- {
253
- "internalType": "uint256",
254
- "name": "lifetime",
255
- "type": "uint256"
256
- },
257
- {
258
- "internalType": "bytes",
259
- "name": "applicationData",
260
- "type": "bytes"
261
- },
262
- {
263
- "internalType": "NftId",
264
- "name": "bundleNftId",
265
- "type": "uint96"
266
- },
267
- {
268
- "internalType": "ReferralId",
269
- "name": "referralId",
270
- "type": "bytes8"
271
- }
272
- ],
273
- "name": "calculatePremium",
274
- "outputs": [
275
- {
276
- "internalType": "uint256",
277
- "name": "premiumAmount",
278
- "type": "uint256"
279
- },
280
- {
281
- "internalType": "uint256",
282
- "name": "productFeeAmount",
283
- "type": "uint256"
284
- },
285
- {
286
- "internalType": "uint256",
287
- "name": "poolFeeAmount",
288
- "type": "uint256"
289
- },
290
- {
291
- "internalType": "uint256",
292
- "name": "bundleFeeAmount",
293
- "type": "uint256"
294
- },
295
- {
296
- "internalType": "uint256",
297
- "name": "distributionFeeAmount",
298
- "type": "uint256"
299
- }
300
- ],
301
- "stateMutability": "view",
302
- "type": "function"
303
- },
304
- {
305
- "inputs": [
306
- {
307
- "internalType": "UFixed",
308
- "name": "collateralizationLevel",
309
- "type": "uint256"
310
- },
311
- {
312
- "internalType": "uint256",
313
- "name": "sumInsuredAmount",
314
- "type": "uint256"
315
- }
316
- ],
317
- "name": "calculateRequiredCollateral",
318
- "outputs": [
319
- {
320
- "internalType": "uint256",
321
- "name": "collateralAmount",
322
- "type": "uint256"
323
- }
324
- ],
325
- "stateMutability": "pure",
326
- "type": "function"
327
- },
328
- {
329
- "inputs": [
330
- {
331
- "internalType": "NftId",
332
- "name": "policyNftId",
333
- "type": "uint96"
334
- }
335
- ],
336
- "name": "close",
337
- "outputs": [],
338
- "stateMutability": "nonpayable",
339
- "type": "function"
340
- },
341
- {
342
- "inputs": [
343
- {
344
- "internalType": "NftId",
345
- "name": "policyNftId",
346
- "type": "uint96"
347
- },
348
- {
349
- "internalType": "Timestamp",
350
- "name": "activateAt",
351
- "type": "uint40"
352
- }
353
- ],
354
- "name": "collectPremium",
355
- "outputs": [],
356
- "stateMutability": "nonpayable",
357
- "type": "function"
358
- },
359
- {
360
- "inputs": [
361
- {
362
- "internalType": "address",
363
- "name": "applicationOwner",
364
- "type": "address"
365
- },
366
- {
367
- "internalType": "RiskId",
368
- "name": "riskId",
369
- "type": "bytes8"
370
- },
371
- {
372
- "internalType": "uint256",
373
- "name": "sumInsuredAmount",
374
- "type": "uint256"
375
- },
376
- {
377
- "internalType": "uint256",
378
- "name": "lifetime",
379
- "type": "uint256"
380
- },
381
- {
382
- "internalType": "bytes",
383
- "name": "applicationData",
384
- "type": "bytes"
385
- },
386
- {
387
- "internalType": "NftId",
388
- "name": "bundleNftId",
389
- "type": "uint96"
390
- },
391
- {
392
- "internalType": "ReferralId",
393
- "name": "referralId",
394
- "type": "bytes8"
395
- }
396
- ],
397
- "name": "createApplication",
398
- "outputs": [
399
- {
400
- "internalType": "NftId",
401
- "name": "policyNftId",
402
- "type": "uint96"
403
- }
404
- ],
405
- "stateMutability": "nonpayable",
406
- "type": "function"
407
- },
408
- {
409
- "inputs": [],
410
- "name": "getInitialInfo",
411
- "outputs": [
412
- {
413
- "components": [
414
- {
415
- "internalType": "NftId",
416
- "name": "nftId",
417
- "type": "uint96"
418
- },
419
- {
420
- "internalType": "NftId",
421
- "name": "parentNftId",
422
- "type": "uint96"
423
- },
424
- {
425
- "internalType": "ObjectType",
426
- "name": "objectType",
427
- "type": "uint8"
428
- },
429
- {
430
- "internalType": "bool",
431
- "name": "isInterceptor",
432
- "type": "bool"
433
- },
434
- {
435
- "internalType": "address",
436
- "name": "objectAddress",
437
- "type": "address"
438
- },
439
- {
440
- "internalType": "address",
441
- "name": "initialOwner",
442
- "type": "address"
443
- },
444
- {
445
- "internalType": "bytes",
446
- "name": "data",
447
- "type": "bytes"
448
- }
449
- ],
450
- "internalType": "struct IRegistry.ObjectInfo",
451
- "name": "",
452
- "type": "tuple"
453
- },
454
- {
455
- "internalType": "bytes",
456
- "name": "data",
457
- "type": "bytes"
458
- }
459
- ],
460
- "stateMutability": "view",
461
- "type": "function"
462
- },
463
- {
464
- "inputs": [],
465
- "name": "getInitializedVersion",
466
- "outputs": [
467
- {
468
- "internalType": "uint64",
469
- "name": "",
470
- "type": "uint64"
471
- }
472
- ],
473
- "stateMutability": "view",
474
- "type": "function"
475
- },
476
- {
477
- "inputs": [],
478
- "name": "getInstanceService",
479
- "outputs": [
480
- {
481
- "internalType": "contract InstanceService",
482
- "name": "",
483
- "type": "address"
484
- }
485
- ],
486
- "stateMutability": "view",
487
- "type": "function"
488
- },
489
- {
490
- "inputs": [],
491
- "name": "getMajorVersion",
492
- "outputs": [
493
- {
494
- "internalType": "VersionPart",
495
- "name": "majorVersion",
496
- "type": "uint8"
497
- }
498
- ],
499
- "stateMutability": "view",
500
- "type": "function"
501
- },
502
- {
503
- "inputs": [],
504
- "name": "getName",
505
- "outputs": [
506
- {
507
- "internalType": "string",
508
- "name": "name",
509
- "type": "string"
510
- }
511
- ],
512
- "stateMutability": "pure",
513
- "type": "function"
514
- },
515
- {
516
- "inputs": [],
517
- "name": "getNftId",
518
- "outputs": [
519
- {
520
- "internalType": "NftId",
521
- "name": "",
522
- "type": "uint96"
523
- }
524
- ],
525
- "stateMutability": "view",
526
- "type": "function"
527
- },
528
- {
529
- "inputs": [],
530
- "name": "getOwner",
531
- "outputs": [
532
- {
533
- "internalType": "address",
534
- "name": "",
535
- "type": "address"
536
- }
537
- ],
538
- "stateMutability": "view",
539
- "type": "function"
540
- },
541
- {
542
- "inputs": [],
543
- "name": "getRegistry",
544
- "outputs": [
545
- {
546
- "internalType": "contract IRegistry",
547
- "name": "",
548
- "type": "address"
549
- }
550
- ],
551
- "stateMutability": "view",
552
- "type": "function"
553
- },
554
- {
555
- "inputs": [],
556
- "name": "getRegistryService",
557
- "outputs": [
558
- {
559
- "internalType": "contract IRegistryService",
560
- "name": "",
561
- "type": "address"
562
- }
563
- ],
564
- "stateMutability": "view",
565
- "type": "function"
566
- },
567
- {
568
- "inputs": [],
569
- "name": "getVersion",
570
- "outputs": [
571
- {
572
- "internalType": "Version",
573
- "name": "",
574
- "type": "uint24"
575
- }
576
- ],
577
- "stateMutability": "pure",
578
- "type": "function"
579
- },
580
- {
581
- "inputs": [
582
- {
583
- "internalType": "uint256",
584
- "name": "idx",
585
- "type": "uint256"
586
- }
587
- ],
588
- "name": "getVersion",
589
- "outputs": [
590
- {
591
- "internalType": "Version",
592
- "name": "",
593
- "type": "uint24"
594
- }
595
- ],
596
- "stateMutability": "view",
597
- "type": "function"
598
- },
599
- {
600
- "inputs": [],
601
- "name": "getVersionCount",
602
- "outputs": [
603
- {
604
- "internalType": "uint256",
605
- "name": "",
606
- "type": "uint256"
607
- }
608
- ],
609
- "stateMutability": "view",
610
- "type": "function"
611
- },
612
- {
613
- "inputs": [
614
- {
615
- "internalType": "Version",
616
- "name": "_version",
617
- "type": "uint24"
618
- }
619
- ],
620
- "name": "getVersionInfo",
621
- "outputs": [
622
- {
623
- "components": [
624
- {
625
- "internalType": "Version",
626
- "name": "version",
627
- "type": "uint24"
628
- },
629
- {
630
- "internalType": "address",
631
- "name": "implementation",
632
- "type": "address"
633
- },
634
- {
635
- "internalType": "address",
636
- "name": "activatedBy",
637
- "type": "address"
638
- },
639
- {
640
- "internalType": "Timestamp",
641
- "name": "activatedAt",
642
- "type": "uint40"
643
- },
644
- {
645
- "internalType": "Blocknumber",
646
- "name": "activatedIn",
647
- "type": "uint32"
648
- }
649
- ],
650
- "internalType": "struct IVersionable.VersionInfo",
651
- "name": "",
652
- "type": "tuple"
653
- }
654
- ],
655
- "stateMutability": "view",
656
- "type": "function"
657
- },
658
- {
659
- "inputs": [
660
- {
661
- "internalType": "address",
662
- "name": "implementation",
663
- "type": "address"
664
- },
665
- {
666
- "internalType": "address",
667
- "name": "activatedBy",
668
- "type": "address"
669
- },
670
- {
671
- "internalType": "bytes",
672
- "name": "data",
673
- "type": "bytes"
674
- }
675
- ],
676
- "name": "initialize",
677
- "outputs": [],
678
- "stateMutability": "nonpayable",
679
- "type": "function"
680
- },
681
- {
682
- "inputs": [
683
- {
684
- "internalType": "Version",
685
- "name": "_version",
686
- "type": "uint24"
687
- }
688
- ],
689
- "name": "isInitialized",
690
- "outputs": [
691
- {
692
- "internalType": "bool",
693
- "name": "",
694
- "type": "bool"
695
- }
696
- ],
697
- "stateMutability": "view",
698
- "type": "function"
699
- },
700
- {
701
- "inputs": [],
702
- "name": "linkToRegisteredNftId",
703
- "outputs": [],
704
- "stateMutability": "nonpayable",
705
- "type": "function"
706
- },
707
- {
708
- "inputs": [
709
- {
710
- "internalType": "NftId",
711
- "name": "policyNftId",
712
- "type": "uint96"
713
- }
714
- ],
715
- "name": "revoke",
716
- "outputs": [],
717
- "stateMutability": "nonpayable",
718
- "type": "function"
719
- },
720
- {
721
- "inputs": [
722
- {
723
- "internalType": "bytes4",
724
- "name": "interfaceId",
725
- "type": "bytes4"
726
- }
727
- ],
728
- "name": "supportsInterface",
729
- "outputs": [
730
- {
731
- "internalType": "bool",
732
- "name": "",
733
- "type": "bool"
734
- }
735
- ],
736
- "stateMutability": "view",
737
- "type": "function"
738
- },
739
- {
740
- "inputs": [
741
- {
742
- "internalType": "NftId",
743
- "name": "policyNftId",
744
- "type": "uint96"
745
- },
746
- {
747
- "internalType": "bool",
748
- "name": "requirePremiumPayment",
749
- "type": "bool"
750
- },
751
- {
752
- "internalType": "Timestamp",
753
- "name": "activateAt",
754
- "type": "uint40"
755
- }
756
- ],
757
- "name": "underwrite",
758
- "outputs": [],
759
- "stateMutability": "nonpayable",
760
- "type": "function"
761
- },
762
- {
763
- "inputs": [
764
- {
765
- "internalType": "address",
766
- "name": "implementation",
767
- "type": "address"
768
- },
769
- {
770
- "internalType": "address",
771
- "name": "activatedBy",
772
- "type": "address"
773
- },
774
- {
775
- "internalType": "bytes",
776
- "name": "data",
777
- "type": "bytes"
778
- }
779
- ],
780
- "name": "upgrade",
781
- "outputs": [],
782
- "stateMutability": "nonpayable",
783
- "type": "function"
784
- }
785
- ],
786
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b614a32806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063644c45e0116100f9578063b88da75911610097578063caf4e3d411610071578063caf4e3d41461058a578063cc9fc59a14610592578063cde749f41461059a578063cf7a1d77146105b457600080fd5b8063b88da75914610551578063bbfbbfba14610564578063c2c749871461057757600080fd5b80639cdaa7f9116100d35780639cdaa7f9146104b7578063a3f4df7e146104f2578063a745e3df1461051e578063b3c650151461053157600080fd5b8063644c45e01461045c578063893d20e814610488578063946dfcfe1461049057600080fd5b80634d459c90116101665780635ab1bd53116101405780635ab1bd53146103fe5780635fd1a5f514610423578063603ccaad14610436578063630361f61461044957600080fd5b80634d459c90146102bf5780634d5e16a9146103d85780634f421333146103eb57600080fd5b80630fec111c116101a25780630fec111c1461023a578063138461e01461025057806317d7de7c146102585780631eff4b221461028a57600080fd5b806301ffc9a7146101c95780630aaba8e81461020b5780630d8e6e2c1461021e575b600080fd5b6101f66101d73660046138aa565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021c6102193660046138e9565b50565b005b6102266105c7565b60405162ffffff9091168152602001610202565b610242610651565b6040516102029291906139c7565b61021c6107a4565b60408051808201909152600d81526c506f6c6963795365727669636560981b60208201525b60405161020291906139f5565b6102b17f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610202565b61037b6102cd366004613a19565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206149dd83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610202565b61021c6103e6366004613a49565b6109c6565b6101f66103f9366004613a19565b610c8a565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610202565b6102b1610431366004613a82565b610d3d565b61021c6104443660046138e9565b610e46565b61021c610457366004613ab2565b610e98565b600154600160a01b90046001600160601b03165b6040516001600160601b039091168152602001610202565b61040b611419565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102b1565b6104ca6104c5366004613c67565b611533565b604080519586526020860194909452928401919091526060830152608082015260a001610202565b61027d6040518060400160405280600d81526020016c506f6c6963795365727669636560981b81525081565b61021c61052c366004613d04565b611611565b61053961176b565b6040516001600160401b039091168152602001610202565b61022661055f366004613d65565b61178c565b61021c610572366004613a49565b6117dd565b610470610585366004613d7e565b61185a565b61040b611b12565b61040b611bc7565b6105a2611c3f565b60405160ff9091168152602001610202565b61021c6105c2366004613d04565b611cc2565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610628573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064c9190613e1a565b905090565b6106596137ee565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106a56001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106ed611419565b6001600160a01b0316815260200182600101805461070a90613e37565b80601f016020809104026020016040519081016040528092919081815260200182805461073690613e37565b80156107835780601f1061075857610100808354040283529160200191610783565b820191906000526020600020905b81548152906001019060200180831161076657829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610806573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082a9190613e81565b15610871576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b031661089a5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109079190613e81565b61092f576040516372657a5160e01b81526001600160a01b0382166004820152602401610868565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610979573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099d9190613ea9565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60006109d2606e611dcb565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a399190613ec6565b60405163bd7d9d8560e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015610a8c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ab49190810190613f50565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610b14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b389190613e81565b610b845760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f414354495641544544006044820152606401610868565b64ffffffffff84166101a0820181905260e0820151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015610bef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1391906140c4565b64ffffffffff166101c0820152604051634d4b06a960e11b81526001600160a01b03841690639a960d5290610c519088908590606490600401614210565b600060405180830381600087803b158015610c6b57600080fd5b505af1158015610c7f573d6000803e3d6000fd5b505050505050505050565b6000806000805160206149dd83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610d12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d369190614245565b1192915050565b6040516322f5db0f60e11b815260048101829052600090819073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610d92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db69190614245565b90506000610dc48583611f3b565b604051632255341b60e11b81526004810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610e17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3b9190614245565b925050505b92915050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233343a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b6064820152608401610868565b600080610ea5606e611dcb565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ee9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0d9190613ec6565b835160405163bd7d9d8560e01b81526001600160601b0389166004820152919250906000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa158015610f63573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f8b9190810190613f50565b80519091506001600160601b03838116911614610fea5760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d415443480000000000000000006044820152606401610868565b604051639096a1f360e01b81526001600160601b0389166004820152611068906001600160a01b03851690639096a1f390602401602060405180830381865afa15801561103b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105f9190614278565b60ff16600a1490565b6110b45760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c494544006044820152606401610868565b60006110be61382c565b60405163242bdc1960e21b81526001600160601b0385166004820152600090819081906001600160a01b038916906390af70649060240161024060405180830381865afa158015611113573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113791906142ee565b905061114161382c565b61114d8a8a8985611f57565b91975090945061116692508a9150869050858f866120da565b92506111758885858f866120da565b9250602864ffffffffff8b161561122857606464ffffffffff8c166101a0880181905260e0880151604051631ded81af60e31b81526004810192909252602482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af41580156111f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121a91906140c4565b64ffffffffff166101c08701525b8b1561125e57611242898b600001518f8960a00151612101565b91508560a001518660c00181815161125a91906143e5565b9052505b600360009054906101000a90046001600160a01b03166001600160a01b03166332e6f9228a8f8887876040518663ffffffff1660e01b81526004016112dc9594939291906001600160a01b039590951685526001600160601b0393841660208601529190921660408401526060830191909152608082015260a00190565b600060405180830381600087803b1580156112f657600080fd5b505af115801561130a573d6000803e3d6000fd5b50505050886001600160a01b0316639a960d528e88846040518463ffffffff1660e01b815260040161133e93929190614210565b600060405180830381600087803b15801561135857600080fd5b505af115801561136c573d6000803e3d6000fd5b505085516040516355e343a960e01b81526001600160601b039091166004820152600092506001600160a01b038b1691506355e343a99060240161018060405180830381865afa1580156113c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e89190614406565b90508060e00151156114095761140985600001518f898860400151886126b9565b5050505050505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561147e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a29190613e81565b1561152357600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a906024015b602060405180830381865afa1580156114ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064c9190613ec6565b506002546001600160a01b031690565b6000806000806000806115446127be565b90506000816001600160a01b0316635e78426b8d8f8e8e6040518563ffffffff1660e01b815260040161157a94939291906144bb565b602060405180830381865afa158015611597573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115bb9190614245565b90506115c981838b8b6127dd565b929850909650945092506115dd86826143e5565b96506115e984866143e5565b6115f390886143e5565b96506115ff83886143e5565b96505050965096509650965096915050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6116336105c7565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611673573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061169791906144f6565b6000805160206149bd8339815191528054600160401b900460ff16806116ca575080546001600160401b03808416911610155b156116e85760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556117138585612e76565b61171c83613115565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061064c6000805160206149bd833981519152546001600160401b031690565b60006000805160206149dd83398151915260010182815481106117b1576117b161451f565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000806117ea606e611dcb565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561182e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118529190613ec6565b505050505050565b60008080611868606e611dcb565b91509150611874611b12565b6001600160a01b0316635c992fed6040518060e00160405280611895600090565b6001600160601b039081168252865116602082015260400160d260ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b815260040161190e9190614535565b6020604051808303816000875af115801561192d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119519190613ea9565b925060006119638a8a8a8a8a8a611533565b505050509050600060405180610200016040528085600001516001600160601b03168152602001886001600160601b03168152602001876001600160c01b03191681526020018c6001600160c01b03191681526020018b8152602001838152602001600081526020018a8152602001898152602001604051806020016040528060008152508152602001600061ffff168152602001600061ffff16815260200160008152602001611a12600090565b64ffffffffff168152600060208201819052604091820152516202f23560ee1b81529091506001600160a01b0384169063bc8d400090611a589088908590600401614548565b600060405180830381600087803b158015611a7257600080fd5b505af1158015611a86573d6000803e3d6000fd5b50505050826001600160a01b0316635d4345cc86611aa2600a90565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015611aeb57600080fd5b505af1158015611aff573d6000803e3d6000fd5b5050505050505050979650505050505050565b600080611b276001546001600160a01b031690565b6001600160a01b031663a3bcd81d611b3d611c3f565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa158015611ba3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e409190613ec6565b6000611bdb6001546001600160a01b031690565b6001600160a01b031663a3bcd81d611bf1611c3f565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e496e7374616e63655365727669636560881b606482015260ff90911660248201526084016114e2565b6000611c496105c7565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611c9e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064c9190614278565b6000805160206149bd8339815191528054600160401b810460ff1615906001600160401b0316600081158015611cf55750825b90506000826001600160401b03166001148015611d115750303b155b905081158015611d1f575080155b15611d3d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611d6757845460ff60401b1916600160401b1785555b611d718888612e76565b611d7b878761311d565b8315611dc157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b611dd36137ee565b600080611de86001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015611e2f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e57919081019061456a565b9250611e6d83604001518560ff90811691161490565b611eaf5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610868565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611f05573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f2d919081019061456a565b608001519395939450505050565b6000611f508383670de0b6b3a7640000613306565b9392505050565b6000611f6161382c565b6020840151604051634793b4ab60e01b81526001600160601b03821660048201529092506000906001600160a01b03871690634793b4ab90602401600060405180830381865afa158015611fb9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611fe1919081019061463c565b805160608601519193506001600160601b0390811691161461203e5760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b6044820152606401610868565b60608401516040516355e343a960e01b81526001600160601b03821660048201526000906001600160a01b038916906355e343a99060240161018060405180830381865afa158015612094573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120b89190614406565b90506120cc81604001518860800151610d3d565b925050509450945094915050565b6120e261382c565b81846080018181516120f491906143e5565b9052509295945050505050565b600081156126b1576000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612149573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061216d9190613ec6565b60405163242bdc1960e21b81526001600160601b03871660048201526001600160a01b0391909116906390af70649060240161024060405180830381865afa1580156121bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121e191906142ee565b602081015190915060006121fd6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03881660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561224c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122709190613ec6565b90506000886001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122d69190613ec6565b60608501516040516355e343a960e01b81526001600160601b0390911660048201526001600160a01b0391909116906355e343a99060240161018060405180830381865afa15801561232c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123509190614406565b61010081015160a08601516040516346f0526160e11b8152899850929350909173__$a23651848365a6a5ca15f07b4331037f48$__90638de0a4c29061239a90849060040161470d565b602060405180830381865af41580156123b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123db9190613e81565b15612447576040516317d5759960e31b81526001600160a01b0386169063beabacc89061241090879086908d90600401614724565b600060405180830381600087803b15801561242a57600080fd5b505af115801561243e573d6000803e3d6000fd5b505050506126aa565b60a086015160405163012ebd8360e21b815281516004820152602090910151602482015260448101889052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af41580156124b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124d69190614748565b91509150600088610160015190508a886001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612523573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125479190613ec6565b604051636eb1769f60e11b81526001600160a01b038a811660048301528b81166024830152919091169063dd62ed3e90604401602060405180830381865afa158015612597573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125bb9190614245565b10156125e05786888c6040516333ac6f1760e11b815260040161086893929190614724565b6040516317d5759960e31b81526001600160a01b0389169063beabacc890612610908a9085908890600401614724565b600060405180830381600087803b15801561262a57600080fd5b505af115801561263e573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b038b16925063beabacc89150612672908a9089908790600401614724565b600060405180830381600087803b15801561268c57600080fd5b505af11580156126a0573d6000803e3d6000fd5b50939b5050505050505b5050505050505b949350505050565b60006126cd6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561271c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612744919081019061456a565b608001516101008501516040516332f7fe0d60e11b815291925082916001600160a01b038316916365effc1a91612783918a918990899060040161476c565b600060405180830381600087803b15801561279d57600080fd5b505af11580156127b1573d6000803e3d6000fd5b5050505050505050505050565b60006127c86137ee565b6127d2606e611dcb565b506080015192915050565b600080600080600080886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612824573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128489190613ec6565b9050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612888573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128ac9190613ec6565b9150506000886001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129139190613ea9565b604051634793b4ab60e01b81526001600160601b038a1660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015612966573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261298e919081019061463c565b80519091506001600160601b038381169116146129f85760405162461bcd60e51b815260206004820152602260248201527f4552524f523a5052532d3033353a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b6064820152608401610868565b6000836001600160a01b03166390af70648c6001600160a01b03166251884a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a6a9190613ea9565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161024060405180830381865afa158015612aaf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ad391906142ee565b60a081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612b3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b609190614748565b506040516355e343a960e01b81526001600160601b0385166004820152909850600091506001600160a01b038516906355e343a99060240161018060405180830381865afa158015612bb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bda9190614406565b606081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612c43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c679190614748565b50809750505060008a6001600160a01b031663db6dcc956040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cd19190613ea9565b604051639ad69c6760e01b81526001600160601b03821660048201529091506000906001600160a01b03861690639ad69c679060240160c060405180830381865afa158015612d24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d4891906147b2565b604080820151905163012ebd8360e21b8152815160048201526020909101516024820152604481018f905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612db1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dd59190614748565b5060208481015160405163012ebd8360e21b8152815160048201529101516024820152604481018f905290965073__$a23651848365a6a5ca15f07b4331037f48$__92506304baf60c91506064016040805180830381865af4158015612e3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e639190614748565b5080955050505050945094509450949050565b612e7e6133ef565b6000805160206149dd8339815191526000612eae6000805160206149bd833981519152546001600160401b031690565b90506000612eba6105c7565b9050816001600160401b0316600103612ee75760028301805462ffffff191662ffffff8316179055612f35565b600283015462ffffff90811690821611612f355760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610868565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015612fe9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061300d91906140c4565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061175c9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101c46133ef565b6000805160206149bd8339815191528054600160401b810460ff1615906001600160401b03166000811580156131505750825b90506000826001600160401b0316600114801561316c5750303b155b90508115801561317a575080155b156131985760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156131c257845460ff60401b1916600160401b1785555b600080878060200190518101906131d99190614848565b90925090506131e8828a613428565b60015460408051808201909152600b81526a506f6f6c5365727669636560a81b60208201526001600160a01b039091169063a3bcd81d90613227611c3f565b6040518363ffffffff1660e01b8152600401613244929190614877565b602060405180830381865afa158015613261573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132859190613ec6565b600380546001600160a01b0319166001600160a01b03929092169190911790556132b563fefde12b60e01b6134b3565b505083156132fd57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000808060001985870985870292508281108382030391505080600003613340578382816133365761333661489c565b0492505050611f50565b8084116133875760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610868565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b6000805160206149bd83398151915254600160401b900460ff1661342657604051631afcd79f60e31b815260040160405180910390fd5b565b600061345460408051808201909152600d81526c506f6c6963795365727669636560981b602082015290565b61345c611c3f565b60405160200161346d929190614877565b60405160208183030381529060405290506000613489846134d8565b9050600061349c8583603c848888613543565b6134ac631b4612f160e31b6134b3565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa15801561351f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e409190613ea9565b6135846301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61358e828761360f565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016135fe83826148fd565b506132fd6303fb044760e21b6134b3565b6001600160a01b0382166136655760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610868565b600280546001600160a01b0319166001600160a01b0384161790556136898161368d565b5050565b6001546001600160a01b0316156136c65760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610868565b6001600160a01b0381166136ed5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036137235760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610868565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa92505050801561379d575060408051601f3d908101601f1916820190925261379a91810190613e81565b60015b6137c55760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610868565b806136895760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610868565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60405180610120016040528060006001600160601b03168152602001613865604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6000602082840312156138bc57600080fd5b81356001600160e01b031981168114611f5057600080fd5b6001600160601b038116811461021957600080fd5b6000602082840312156138fb57600080fd5b8135611f50816138d4565b60005b83811015613921578181015183820152602001613909565b50506000910152565b60008151808452613942816020860160208601613906565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c08501526126b160e085018261392a565b6040815260006139da6040830185613956565b82810360208401526139ec818561392a565b95945050505050565b602081526000611f50602083018461392a565b62ffffff8116811461021957600080fd5b600060208284031215613a2b57600080fd5b8135611f5081613a08565b64ffffffffff8116811461021957600080fd5b60008060408385031215613a5c57600080fd5b8235613a67816138d4565b91506020830135613a7781613a36565b809150509250929050565b60008060408385031215613a9557600080fd5b50508035926020909101359150565b801515811461021957600080fd5b600080600060608486031215613ac757600080fd5b8335613ad2816138d4565b92506020840135613ae281613aa4565b91506040840135613af281613a36565b809150509250925092565b6001600160c01b03198116811461021957600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b0381118282101715613b4c57613b4c613b13565b60405290565b60405161018081016001600160401b0381118282101715613b4c57613b4c613b13565b60405161012081016001600160401b0381118282101715613b4c57613b4c613b13565b60405160e081016001600160401b0381118282101715613b4c57613b4c613b13565b604051601f8201601f191681016001600160401b0381118282101715613be257613be2613b13565b604052919050565b60006001600160401b03821115613c0357613c03613b13565b50601f01601f191660200190565b600082601f830112613c2257600080fd5b8135613c35613c3082613bea565b613bba565b818152846020838601011115613c4a57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215613c8057600080fd5b8635613c8b81613afd565b9550602087013594506040870135935060608701356001600160401b03811115613cb457600080fd5b613cc089828a01613c11565b9350506080870135613cd1816138d4565b915060a0870135613ce181613afd565b809150509295509295509295565b6001600160a01b038116811461021957600080fd5b600080600060608486031215613d1957600080fd5b8335613d2481613cef565b92506020840135613d3481613cef565b915060408401356001600160401b03811115613d4f57600080fd5b613d5b86828701613c11565b9150509250925092565b600060208284031215613d7757600080fd5b5035919050565b600080600080600080600060e0888a031215613d9957600080fd5b8735613da481613cef565b96506020880135613db481613afd565b9550604088013594506060880135935060808801356001600160401b03811115613ddd57600080fd5b613de98a828b01613c11565b93505060a0880135613dfa816138d4565b915060c0880135613e0a81613afd565b8091505092959891949750929550565b600060208284031215613e2c57600080fd5b8151611f5081613a08565b600181811c90821680613e4b57607f821691505b602082108103613e6b57634e487b7160e01b600052602260045260246000fd5b50919050565b8051613e7c81613aa4565b919050565b600060208284031215613e9357600080fd5b8151611f5081613aa4565b8051613e7c816138d4565b600060208284031215613ebb57600080fd5b8151611f50816138d4565b600060208284031215613ed857600080fd5b8151611f5081613cef565b8051613e7c81613afd565b600082601f830112613eff57600080fd5b8151613f0d613c3082613bea565b818152846020838601011115613f2257600080fd5b6126b1826020830160208701613906565b805161ffff81168114613e7c57600080fd5b8051613e7c81613a36565b600060208284031215613f6257600080fd5b81516001600160401b0380821115613f7957600080fd5b908301906102008286031215613f8e57600080fd5b613f96613b29565b613f9f83613e9e565b8152613fad60208401613e9e565b6020820152613fbe60408401613ee3565b6040820152613fcf60608401613ee3565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e0820152610100808401518381111561401057600080fd5b61401c88828701613eee565b828401525050610120808401518381111561403657600080fd5b61404288828701613eee565b8284015250506101409150614058828401613f33565b82820152610160915061406c828401613f33565b82820152610180915081830151828201526101a0915061408d828401613f45565b828201526101c091506140a1828401613f45565b828201526101e091506140b5828401613f45565b91810191909152949350505050565b6000602082840312156140d657600080fd5b8151611f5081613a36565b80516001600160601b031682526000610200602083015161410d60208601826001600160601b03169052565b50604083015161412960408601826001600160c01b0319169052565b50606083015161414560608601826001600160c01b0319169052565b506080830151608085015260a083015160a085015260c083015160c085015260e083015160e08501526101008084015182828701526141868387018261392a565b9250505061012080840151858303828701526141a2838261392a565b92505050610140808401516141bc8287018261ffff169052565b50506101608381015161ffff169085015261018080840151908501526101a08084015164ffffffffff908116918601919091526101c0808501518216908601526101e0938401511692909301919091525090565b6001600160601b038416815260606020820152600061423260608301856140e1565b905060ff83166040830152949350505050565b60006020828403121561425757600080fd5b5051919050565b60ff8116811461021957600080fd5b8051613e7c8161425e565b60006020828403121561428a57600080fd5b8151611f508161425e565b8051613e7c81613cef565b6000604082840312156142b257600080fd5b604051604081018181106001600160401b03821117156142d4576142d4613b13565b604052825181526020928301519281019290925250919050565b6000610240828403121561430157600080fd5b614309613b52565b61431283614295565b815261432060208401614295565b602082015261433160408401613e9e565b604082015261434260608401613e9e565b606082015261435484608085016142a0565b60808201526143668460c085016142a0565b60a082015261010061437a858286016142a0565b60c083015261014061438e868287016142a0565b60e08401526143a18661018087016142a0565b828401526143b3866101c087016142a0565b6101208401526143c66102008601613e71565b90830152506143d86102208401614295565b6101608201529392505050565b80820180821115610e4057634e487b7160e01b600052601160045260246000fd5b6000610180828403121561441957600080fd5b614421613b75565b61442a83613e9e565b815261443860208401614295565b60208201526040830151604082015261445484606085016142a0565b60608201526144668460a085016142a0565b60808201526144788460e085016142a0565b60a082015261448a6101208401613e71565b60c082015261449c6101408401613e71565b60e08201526144ae6101608401614295565b6101008201529392505050565b8481526001600160401b0360c01b841660208201528260408201526080606082015260006144ec608083018461392a565b9695505050505050565b60006020828403121561450857600080fd5b81516001600160401b0381168114611f5057600080fd5b634e487b7160e01b600052603260045260246000fd5b602081526000611f506020830184613956565b6001600160601b03831681526040602082015260006126b160408301846140e1565b60006020828403121561457c57600080fd5b81516001600160401b038082111561459357600080fd5b9083019060e082860312156145a757600080fd5b6145af613b98565b6145b883613e9e565b81526145c660208401613e9e565b60208201526145d76040840161426d565b60408201526145e860608401613e71565b60608201526145f960808401614295565b608082015261460a60a08401614295565b60a082015260c08301518281111561462157600080fd5b61462d87828601613eee565b60c08301525095945050505050565b60006020828403121561464e57600080fd5b81516001600160401b038082111561466557600080fd5b90830190610140828603121561467a57600080fd5b614682613b75565b61468b83613e9e565b815261469a86602085016142a0565b60208201526060830151828111156146b157600080fd5b6146bd87828601613eee565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506146fb828401613f45565b60e08201526140b56101208401613f45565b815181526020808301519082015260408101610e40565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6000806040838503121561475b57600080fd5b505080516020909101519092909150565b6001600160601b038516815260806020820152600061478e608083018661392a565b82810360408401526147a0818661392a565b91505082606083015295945050505050565b600060c082840312156147c457600080fd5b60405160a081018181106001600160401b03821117156147e6576147e6613b13565b60405282516147f4816138d4565b8152602083015161480481613cef565b602082015261481684604085016142a0565b6040820152608083015161482981613aa4565b606082015260a083015161483c81613cef565b60808201529392505050565b6000806040838503121561485b57600080fd5b825161486681613cef565b6020840151909250613a7781613cef565b60408152600061488a604083018561392a565b905060ff831660208301529392505050565b634e487b7160e01b600052601260045260246000fd5b601f8211156148f857600081815260208120601f850160051c810160208610156148d95750805b601f850160051c820191505b81811015611852578281556001016148e5565b505050565b81516001600160401b0381111561491657614916613b13565b61492a816149248454613e37565b846148b2565b602080601f83116001811461495f57600084156149475750858301515b600019600386901b1c1916600185901b178555611852565b600085815260208120601f198616915b8281101561498e5788860151825594840194600190910190840161496f565b50858210156149ac5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220c8c194d2a6a06e5fc9f4a290bd7c054ac4626218cc2a674e2c123a85fa81938264736f6c63430008140033",
787
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101c45760003560e01c8063644c45e0116100f9578063b88da75911610097578063caf4e3d411610071578063caf4e3d41461058a578063cc9fc59a14610592578063cde749f41461059a578063cf7a1d77146105b457600080fd5b8063b88da75914610551578063bbfbbfba14610564578063c2c749871461057757600080fd5b80639cdaa7f9116100d35780639cdaa7f9146104b7578063a3f4df7e146104f2578063a745e3df1461051e578063b3c650151461053157600080fd5b8063644c45e01461045c578063893d20e814610488578063946dfcfe1461049057600080fd5b80634d459c90116101665780635ab1bd53116101405780635ab1bd53146103fe5780635fd1a5f514610423578063603ccaad14610436578063630361f61461044957600080fd5b80634d459c90146102bf5780634d5e16a9146103d85780634f421333146103eb57600080fd5b80630fec111c116101a25780630fec111c1461023a578063138461e01461025057806317d7de7c146102585780631eff4b221461028a57600080fd5b806301ffc9a7146101c95780630aaba8e81461020b5780630d8e6e2c1461021e575b600080fd5b6101f66101d73660046138aa565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021c6102193660046138e9565b50565b005b6102266105c7565b60405162ffffff9091168152602001610202565b610242610651565b6040516102029291906139c7565b61021c6107a4565b60408051808201909152600d81526c506f6c6963795365727669636560981b60208201525b60405161020291906139f5565b6102b17f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610202565b61037b6102cd366004613a19565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206149dd83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610202565b61021c6103e6366004613a49565b6109c6565b6101f66103f9366004613a19565b610c8a565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610202565b6102b1610431366004613a82565b610d3d565b61021c6104443660046138e9565b610e46565b61021c610457366004613ab2565b610e98565b600154600160a01b90046001600160601b03165b6040516001600160601b039091168152602001610202565b61040b611419565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102b1565b6104ca6104c5366004613c67565b611533565b604080519586526020860194909452928401919091526060830152608082015260a001610202565b61027d6040518060400160405280600d81526020016c506f6c6963795365727669636560981b81525081565b61021c61052c366004613d04565b611611565b61053961176b565b6040516001600160401b039091168152602001610202565b61022661055f366004613d65565b61178c565b61021c610572366004613a49565b6117dd565b610470610585366004613d7e565b61185a565b61040b611b12565b61040b611bc7565b6105a2611c3f565b60405160ff9091168152602001610202565b61021c6105c2366004613d04565b611cc2565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610628573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064c9190613e1a565b905090565b6106596137ee565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106a56001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106ed611419565b6001600160a01b0316815260200182600101805461070a90613e37565b80601f016020809104026020016040519081016040528092919081815260200182805461073690613e37565b80156107835780601f1061075857610100808354040283529160200191610783565b820191906000526020600020905b81548152906001019060200180831161076657829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610806573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082a9190613e81565b15610871576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b031661089a5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109079190613e81565b61092f576040516372657a5160e01b81526001600160a01b0382166004820152602401610868565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610979573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099d9190613ea9565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60006109d2606e611dcb565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a399190613ec6565b60405163bd7d9d8560e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015610a8c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ab49190810190613f50565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610b14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b389190613e81565b610b845760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f414354495641544544006044820152606401610868565b64ffffffffff84166101a0820181905260e0820151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015610bef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1391906140c4565b64ffffffffff166101c0820152604051634d4b06a960e11b81526001600160a01b03841690639a960d5290610c519088908590606490600401614210565b600060405180830381600087803b158015610c6b57600080fd5b505af1158015610c7f573d6000803e3d6000fd5b505050505050505050565b6000806000805160206149dd83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610d12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d369190614245565b1192915050565b6040516322f5db0f60e11b815260048101829052600090819073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610d92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db69190614245565b90506000610dc48583611f3b565b604051632255341b60e11b81526004810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610e17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3b9190614245565b925050505b92915050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233343a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b6064820152608401610868565b600080610ea5606e611dcb565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ee9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0d9190613ec6565b835160405163bd7d9d8560e01b81526001600160601b0389166004820152919250906000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa158015610f63573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f8b9190810190613f50565b80519091506001600160601b03838116911614610fea5760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d415443480000000000000000006044820152606401610868565b604051639096a1f360e01b81526001600160601b0389166004820152611068906001600160a01b03851690639096a1f390602401602060405180830381865afa15801561103b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105f9190614278565b60ff16600a1490565b6110b45760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c494544006044820152606401610868565b60006110be61382c565b60405163242bdc1960e21b81526001600160601b0385166004820152600090819081906001600160a01b038916906390af70649060240161024060405180830381865afa158015611113573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113791906142ee565b905061114161382c565b61114d8a8a8985611f57565b91975090945061116692508a9150869050858f866120da565b92506111758885858f866120da565b9250602864ffffffffff8b161561122857606464ffffffffff8c166101a0880181905260e0880151604051631ded81af60e31b81526004810192909252602482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af41580156111f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121a91906140c4565b64ffffffffff166101c08701525b8b1561125e57611242898b600001518f8960a00151612101565b91508560a001518660c00181815161125a91906143e5565b9052505b600360009054906101000a90046001600160a01b03166001600160a01b03166332e6f9228a8f8887876040518663ffffffff1660e01b81526004016112dc9594939291906001600160a01b039590951685526001600160601b0393841660208601529190921660408401526060830191909152608082015260a00190565b600060405180830381600087803b1580156112f657600080fd5b505af115801561130a573d6000803e3d6000fd5b50505050886001600160a01b0316639a960d528e88846040518463ffffffff1660e01b815260040161133e93929190614210565b600060405180830381600087803b15801561135857600080fd5b505af115801561136c573d6000803e3d6000fd5b505085516040516355e343a960e01b81526001600160601b039091166004820152600092506001600160a01b038b1691506355e343a99060240161018060405180830381865afa1580156113c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e89190614406565b90508060e00151156114095761140985600001518f898860400151886126b9565b5050505050505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561147e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a29190613e81565b1561152357600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a906024015b602060405180830381865afa1580156114ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064c9190613ec6565b506002546001600160a01b031690565b6000806000806000806115446127be565b90506000816001600160a01b0316635e78426b8d8f8e8e6040518563ffffffff1660e01b815260040161157a94939291906144bb565b602060405180830381865afa158015611597573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115bb9190614245565b90506115c981838b8b6127dd565b929850909650945092506115dd86826143e5565b96506115e984866143e5565b6115f390886143e5565b96506115ff83886143e5565b96505050965096509650965096915050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6116336105c7565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611673573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061169791906144f6565b6000805160206149bd8339815191528054600160401b900460ff16806116ca575080546001600160401b03808416911610155b156116e85760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556117138585612e76565b61171c83613115565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061064c6000805160206149bd833981519152546001600160401b031690565b60006000805160206149dd83398151915260010182815481106117b1576117b161451f565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000806117ea606e611dcb565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561182e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118529190613ec6565b505050505050565b60008080611868606e611dcb565b91509150611874611b12565b6001600160a01b0316635c992fed6040518060e00160405280611895600090565b6001600160601b039081168252865116602082015260400160d260ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b815260040161190e9190614535565b6020604051808303816000875af115801561192d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119519190613ea9565b925060006119638a8a8a8a8a8a611533565b505050509050600060405180610200016040528085600001516001600160601b03168152602001886001600160601b03168152602001876001600160c01b03191681526020018c6001600160c01b03191681526020018b8152602001838152602001600081526020018a8152602001898152602001604051806020016040528060008152508152602001600061ffff168152602001600061ffff16815260200160008152602001611a12600090565b64ffffffffff168152600060208201819052604091820152516202f23560ee1b81529091506001600160a01b0384169063bc8d400090611a589088908590600401614548565b600060405180830381600087803b158015611a7257600080fd5b505af1158015611a86573d6000803e3d6000fd5b50505050826001600160a01b0316635d4345cc86611aa2600a90565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015611aeb57600080fd5b505af1158015611aff573d6000803e3d6000fd5b5050505050505050979650505050505050565b600080611b276001546001600160a01b031690565b6001600160a01b031663a3bcd81d611b3d611c3f565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa158015611ba3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e409190613ec6565b6000611bdb6001546001600160a01b031690565b6001600160a01b031663a3bcd81d611bf1611c3f565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e496e7374616e63655365727669636560881b606482015260ff90911660248201526084016114e2565b6000611c496105c7565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611c9e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064c9190614278565b6000805160206149bd8339815191528054600160401b810460ff1615906001600160401b0316600081158015611cf55750825b90506000826001600160401b03166001148015611d115750303b155b905081158015611d1f575080155b15611d3d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611d6757845460ff60401b1916600160401b1785555b611d718888612e76565b611d7b878761311d565b8315611dc157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b611dd36137ee565b600080611de86001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015611e2f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e57919081019061456a565b9250611e6d83604001518560ff90811691161490565b611eaf5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610868565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611f05573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f2d919081019061456a565b608001519395939450505050565b6000611f508383670de0b6b3a7640000613306565b9392505050565b6000611f6161382c565b6020840151604051634793b4ab60e01b81526001600160601b03821660048201529092506000906001600160a01b03871690634793b4ab90602401600060405180830381865afa158015611fb9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611fe1919081019061463c565b805160608601519193506001600160601b0390811691161461203e5760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b6044820152606401610868565b60608401516040516355e343a960e01b81526001600160601b03821660048201526000906001600160a01b038916906355e343a99060240161018060405180830381865afa158015612094573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120b89190614406565b90506120cc81604001518860800151610d3d565b925050509450945094915050565b6120e261382c565b81846080018181516120f491906143e5565b9052509295945050505050565b600081156126b1576000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612149573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061216d9190613ec6565b60405163242bdc1960e21b81526001600160601b03871660048201526001600160a01b0391909116906390af70649060240161024060405180830381865afa1580156121bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121e191906142ee565b602081015190915060006121fd6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03881660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561224c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122709190613ec6565b90506000886001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122d69190613ec6565b60608501516040516355e343a960e01b81526001600160601b0390911660048201526001600160a01b0391909116906355e343a99060240161018060405180830381865afa15801561232c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123509190614406565b61010081015160a08601516040516346f0526160e11b8152899850929350909173__$a23651848365a6a5ca15f07b4331037f48$__90638de0a4c29061239a90849060040161470d565b602060405180830381865af41580156123b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123db9190613e81565b15612447576040516317d5759960e31b81526001600160a01b0386169063beabacc89061241090879086908d90600401614724565b600060405180830381600087803b15801561242a57600080fd5b505af115801561243e573d6000803e3d6000fd5b505050506126aa565b60a086015160405163012ebd8360e21b815281516004820152602090910151602482015260448101889052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af41580156124b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124d69190614748565b91509150600088610160015190508a886001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612523573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125479190613ec6565b604051636eb1769f60e11b81526001600160a01b038a811660048301528b81166024830152919091169063dd62ed3e90604401602060405180830381865afa158015612597573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125bb9190614245565b10156125e05786888c6040516333ac6f1760e11b815260040161086893929190614724565b6040516317d5759960e31b81526001600160a01b0389169063beabacc890612610908a9085908890600401614724565b600060405180830381600087803b15801561262a57600080fd5b505af115801561263e573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b038b16925063beabacc89150612672908a9089908790600401614724565b600060405180830381600087803b15801561268c57600080fd5b505af11580156126a0573d6000803e3d6000fd5b50939b5050505050505b5050505050505b949350505050565b60006126cd6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801561271c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612744919081019061456a565b608001516101008501516040516332f7fe0d60e11b815291925082916001600160a01b038316916365effc1a91612783918a918990899060040161476c565b600060405180830381600087803b15801561279d57600080fd5b505af11580156127b1573d6000803e3d6000fd5b5050505050505050505050565b60006127c86137ee565b6127d2606e611dcb565b506080015192915050565b600080600080600080886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612824573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128489190613ec6565b9050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612888573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128ac9190613ec6565b9150506000886001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129139190613ea9565b604051634793b4ab60e01b81526001600160601b038a1660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015612966573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261298e919081019061463c565b80519091506001600160601b038381169116146129f85760405162461bcd60e51b815260206004820152602260248201527f4552524f523a5052532d3033353a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b6064820152608401610868565b6000836001600160a01b03166390af70648c6001600160a01b03166251884a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a6a9190613ea9565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161024060405180830381865afa158015612aaf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ad391906142ee565b60a081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612b3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b609190614748565b506040516355e343a960e01b81526001600160601b0385166004820152909850600091506001600160a01b038516906355e343a99060240161018060405180830381865afa158015612bb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bda9190614406565b606081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612c43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c679190614748565b50809750505060008a6001600160a01b031663db6dcc956040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cd19190613ea9565b604051639ad69c6760e01b81526001600160601b03821660048201529091506000906001600160a01b03861690639ad69c679060240160c060405180830381865afa158015612d24573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d4891906147b2565b604080820151905163012ebd8360e21b8152815160048201526020909101516024820152604481018f905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612db1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dd59190614748565b5060208481015160405163012ebd8360e21b8152815160048201529101516024820152604481018f905290965073__$a23651848365a6a5ca15f07b4331037f48$__92506304baf60c91506064016040805180830381865af4158015612e3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e639190614748565b5080955050505050945094509450949050565b612e7e6133ef565b6000805160206149dd8339815191526000612eae6000805160206149bd833981519152546001600160401b031690565b90506000612eba6105c7565b9050816001600160401b0316600103612ee75760028301805462ffffff191662ffffff8316179055612f35565b600283015462ffffff90811690821611612f355760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610868565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015612fe9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061300d91906140c4565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061175c9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101c46133ef565b6000805160206149bd8339815191528054600160401b810460ff1615906001600160401b03166000811580156131505750825b90506000826001600160401b0316600114801561316c5750303b155b90508115801561317a575080155b156131985760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156131c257845460ff60401b1916600160401b1785555b600080878060200190518101906131d99190614848565b90925090506131e8828a613428565b60015460408051808201909152600b81526a506f6f6c5365727669636560a81b60208201526001600160a01b039091169063a3bcd81d90613227611c3f565b6040518363ffffffff1660e01b8152600401613244929190614877565b602060405180830381865afa158015613261573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132859190613ec6565b600380546001600160a01b0319166001600160a01b03929092169190911790556132b563fefde12b60e01b6134b3565b505083156132fd57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000808060001985870985870292508281108382030391505080600003613340578382816133365761333661489c565b0492505050611f50565b8084116133875760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610868565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b6000805160206149bd83398151915254600160401b900460ff1661342657604051631afcd79f60e31b815260040160405180910390fd5b565b600061345460408051808201909152600d81526c506f6c6963795365727669636560981b602082015290565b61345c611c3f565b60405160200161346d929190614877565b60405160208183030381529060405290506000613489846134d8565b9050600061349c8583603c848888613543565b6134ac631b4612f160e31b6134b3565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa15801561351f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e409190613ea9565b6135846301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61358e828761360f565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016135fe83826148fd565b506132fd6303fb044760e21b6134b3565b6001600160a01b0382166136655760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610868565b600280546001600160a01b0319166001600160a01b0384161790556136898161368d565b5050565b6001546001600160a01b0316156136c65760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610868565b6001600160a01b0381166136ed5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036137235760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610868565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa92505050801561379d575060408051601f3d908101601f1916820190925261379a91810190613e81565b60015b6137c55760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610868565b806136895760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610868565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60405180610120016040528060006001600160601b03168152602001613865604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6000602082840312156138bc57600080fd5b81356001600160e01b031981168114611f5057600080fd5b6001600160601b038116811461021957600080fd5b6000602082840312156138fb57600080fd5b8135611f50816138d4565b60005b83811015613921578181015183820152602001613909565b50506000910152565b60008151808452613942816020860160208601613906565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c08501526126b160e085018261392a565b6040815260006139da6040830185613956565b82810360208401526139ec818561392a565b95945050505050565b602081526000611f50602083018461392a565b62ffffff8116811461021957600080fd5b600060208284031215613a2b57600080fd5b8135611f5081613a08565b64ffffffffff8116811461021957600080fd5b60008060408385031215613a5c57600080fd5b8235613a67816138d4565b91506020830135613a7781613a36565b809150509250929050565b60008060408385031215613a9557600080fd5b50508035926020909101359150565b801515811461021957600080fd5b600080600060608486031215613ac757600080fd5b8335613ad2816138d4565b92506020840135613ae281613aa4565b91506040840135613af281613a36565b809150509250925092565b6001600160c01b03198116811461021957600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b0381118282101715613b4c57613b4c613b13565b60405290565b60405161018081016001600160401b0381118282101715613b4c57613b4c613b13565b60405161012081016001600160401b0381118282101715613b4c57613b4c613b13565b60405160e081016001600160401b0381118282101715613b4c57613b4c613b13565b604051601f8201601f191681016001600160401b0381118282101715613be257613be2613b13565b604052919050565b60006001600160401b03821115613c0357613c03613b13565b50601f01601f191660200190565b600082601f830112613c2257600080fd5b8135613c35613c3082613bea565b613bba565b818152846020838601011115613c4a57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215613c8057600080fd5b8635613c8b81613afd565b9550602087013594506040870135935060608701356001600160401b03811115613cb457600080fd5b613cc089828a01613c11565b9350506080870135613cd1816138d4565b915060a0870135613ce181613afd565b809150509295509295509295565b6001600160a01b038116811461021957600080fd5b600080600060608486031215613d1957600080fd5b8335613d2481613cef565b92506020840135613d3481613cef565b915060408401356001600160401b03811115613d4f57600080fd5b613d5b86828701613c11565b9150509250925092565b600060208284031215613d7757600080fd5b5035919050565b600080600080600080600060e0888a031215613d9957600080fd5b8735613da481613cef565b96506020880135613db481613afd565b9550604088013594506060880135935060808801356001600160401b03811115613ddd57600080fd5b613de98a828b01613c11565b93505060a0880135613dfa816138d4565b915060c0880135613e0a81613afd565b8091505092959891949750929550565b600060208284031215613e2c57600080fd5b8151611f5081613a08565b600181811c90821680613e4b57607f821691505b602082108103613e6b57634e487b7160e01b600052602260045260246000fd5b50919050565b8051613e7c81613aa4565b919050565b600060208284031215613e9357600080fd5b8151611f5081613aa4565b8051613e7c816138d4565b600060208284031215613ebb57600080fd5b8151611f50816138d4565b600060208284031215613ed857600080fd5b8151611f5081613cef565b8051613e7c81613afd565b600082601f830112613eff57600080fd5b8151613f0d613c3082613bea565b818152846020838601011115613f2257600080fd5b6126b1826020830160208701613906565b805161ffff81168114613e7c57600080fd5b8051613e7c81613a36565b600060208284031215613f6257600080fd5b81516001600160401b0380821115613f7957600080fd5b908301906102008286031215613f8e57600080fd5b613f96613b29565b613f9f83613e9e565b8152613fad60208401613e9e565b6020820152613fbe60408401613ee3565b6040820152613fcf60608401613ee3565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e0820152610100808401518381111561401057600080fd5b61401c88828701613eee565b828401525050610120808401518381111561403657600080fd5b61404288828701613eee565b8284015250506101409150614058828401613f33565b82820152610160915061406c828401613f33565b82820152610180915081830151828201526101a0915061408d828401613f45565b828201526101c091506140a1828401613f45565b828201526101e091506140b5828401613f45565b91810191909152949350505050565b6000602082840312156140d657600080fd5b8151611f5081613a36565b80516001600160601b031682526000610200602083015161410d60208601826001600160601b03169052565b50604083015161412960408601826001600160c01b0319169052565b50606083015161414560608601826001600160c01b0319169052565b506080830151608085015260a083015160a085015260c083015160c085015260e083015160e08501526101008084015182828701526141868387018261392a565b9250505061012080840151858303828701526141a2838261392a565b92505050610140808401516141bc8287018261ffff169052565b50506101608381015161ffff169085015261018080840151908501526101a08084015164ffffffffff908116918601919091526101c0808501518216908601526101e0938401511692909301919091525090565b6001600160601b038416815260606020820152600061423260608301856140e1565b905060ff83166040830152949350505050565b60006020828403121561425757600080fd5b5051919050565b60ff8116811461021957600080fd5b8051613e7c8161425e565b60006020828403121561428a57600080fd5b8151611f508161425e565b8051613e7c81613cef565b6000604082840312156142b257600080fd5b604051604081018181106001600160401b03821117156142d4576142d4613b13565b604052825181526020928301519281019290925250919050565b6000610240828403121561430157600080fd5b614309613b52565b61431283614295565b815261432060208401614295565b602082015261433160408401613e9e565b604082015261434260608401613e9e565b606082015261435484608085016142a0565b60808201526143668460c085016142a0565b60a082015261010061437a858286016142a0565b60c083015261014061438e868287016142a0565b60e08401526143a18661018087016142a0565b828401526143b3866101c087016142a0565b6101208401526143c66102008601613e71565b90830152506143d86102208401614295565b6101608201529392505050565b80820180821115610e4057634e487b7160e01b600052601160045260246000fd5b6000610180828403121561441957600080fd5b614421613b75565b61442a83613e9e565b815261443860208401614295565b60208201526040830151604082015261445484606085016142a0565b60608201526144668460a085016142a0565b60808201526144788460e085016142a0565b60a082015261448a6101208401613e71565b60c082015261449c6101408401613e71565b60e08201526144ae6101608401614295565b6101008201529392505050565b8481526001600160401b0360c01b841660208201528260408201526080606082015260006144ec608083018461392a565b9695505050505050565b60006020828403121561450857600080fd5b81516001600160401b0381168114611f5057600080fd5b634e487b7160e01b600052603260045260246000fd5b602081526000611f506020830184613956565b6001600160601b03831681526040602082015260006126b160408301846140e1565b60006020828403121561457c57600080fd5b81516001600160401b038082111561459357600080fd5b9083019060e082860312156145a757600080fd5b6145af613b98565b6145b883613e9e565b81526145c660208401613e9e565b60208201526145d76040840161426d565b60408201526145e860608401613e71565b60608201526145f960808401614295565b608082015261460a60a08401614295565b60a082015260c08301518281111561462157600080fd5b61462d87828601613eee565b60c08301525095945050505050565b60006020828403121561464e57600080fd5b81516001600160401b038082111561466557600080fd5b90830190610140828603121561467a57600080fd5b614682613b75565b61468b83613e9e565b815261469a86602085016142a0565b60208201526060830151828111156146b157600080fd5b6146bd87828601613eee565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506146fb828401613f45565b60e08201526140b56101208401613f45565b815181526020808301519082015260408101610e40565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6000806040838503121561475b57600080fd5b505080516020909101519092909150565b6001600160601b038516815260806020820152600061478e608083018661392a565b82810360408401526147a0818661392a565b91505082606083015295945050505050565b600060c082840312156147c457600080fd5b60405160a081018181106001600160401b03821117156147e6576147e6613b13565b60405282516147f4816138d4565b8152602083015161480481613cef565b602082015261481684604085016142a0565b6040820152608083015161482981613aa4565b606082015260a083015161483c81613cef565b60808201529392505050565b6000806040838503121561485b57600080fd5b825161486681613cef565b6020840151909250613a7781613cef565b60408152600061488a604083018561392a565b905060ff831660208301529392505050565b634e487b7160e01b600052601260045260246000fd5b601f8211156148f857600081815260208120601f850160051c810160208610156148d95750805b601f850160051c820191505b81811015611852578281556001016148e5565b505050565b81516001600160401b0381111561491657614916613b13565b61492a816149248454613e37565b846148b2565b602080601f83116001811461495f57600084156149475750858301515b600019600386901b1c1916600185901b178555611852565b600085815260208120601f198616915b8281101561498e5788860151825594840194600190910190840161496f565b50858210156149ac5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220c8c194d2a6a06e5fc9f4a290bd7c054ac4626218cc2a674e2c123a85fa81938264736f6c63430008140033",
788
- "linkReferences": {
789
- "contracts/types/Blocknumber.sol": {
790
- "BlocknumberLib": [
791
- {
792
- "length": 20,
793
- "start": 3602
794
- }
795
- ]
796
- },
797
- "contracts/types/Fee.sol": {
798
- "FeeLib": [
799
- {
800
- "length": 20,
801
- "start": 9388
802
- },
803
- {
804
- "length": 20,
805
- "start": 9651
806
- },
807
- {
808
- "length": 20,
809
- "start": 11325
810
- },
811
- {
812
- "length": 20,
813
- "start": 11588
814
- },
815
- {
816
- "length": 20,
817
- "start": 11954
818
- },
819
- {
820
- "length": 20,
821
- "start": 12094
822
- }
823
- ]
824
- },
825
- "contracts/types/NftId.sol": {
826
- "NftIdLib": [
827
- {
828
- "length": 20,
829
- "start": 2310
830
- },
831
- {
832
- "length": 20,
833
- "start": 5502
834
- }
835
- ]
836
- },
837
- "contracts/types/Timestamp.sol": {
838
- "TimestampLib": [
839
- {
840
- "length": 20,
841
- "start": 3092
842
- },
843
- {
844
- "length": 20,
845
- "start": 3311
846
- },
847
- {
848
- "length": 20,
849
- "start": 4854
850
- },
851
- {
852
- "length": 20,
853
- "start": 12521
854
- }
855
- ]
856
- },
857
- "contracts/types/UFixed.sol": {
858
- "UFixedLib": [
859
- {
860
- "length": 20,
861
- "start": 3730
862
- },
863
- {
864
- "length": 20,
865
- "start": 3863
866
- }
867
- ]
868
- },
869
- "contracts/types/Version.sol": {
870
- "VersionLib": [
871
- {
872
- "length": 20,
873
- "start": 1832
874
- },
875
- {
876
- "length": 20,
877
- "start": 5965
878
- },
879
- {
880
- "length": 20,
881
- "start": 7582
882
- }
883
- ]
884
- }
885
- },
886
- "deployedLinkReferences": {
887
- "contracts/types/Blocknumber.sol": {
888
- "BlocknumberLib": [
889
- {
890
- "length": 20,
891
- "start": 3288
892
- }
893
- ]
894
- },
895
- "contracts/types/Fee.sol": {
896
- "FeeLib": [
897
- {
898
- "length": 20,
899
- "start": 9074
900
- },
901
- {
902
- "length": 20,
903
- "start": 9337
904
- },
905
- {
906
- "length": 20,
907
- "start": 11011
908
- },
909
- {
910
- "length": 20,
911
- "start": 11274
912
- },
913
- {
914
- "length": 20,
915
- "start": 11640
916
- },
917
- {
918
- "length": 20,
919
- "start": 11780
920
- }
921
- ]
922
- },
923
- "contracts/types/NftId.sol": {
924
- "NftIdLib": [
925
- {
926
- "length": 20,
927
- "start": 1996
928
- },
929
- {
930
- "length": 20,
931
- "start": 5188
932
- }
933
- ]
934
- },
935
- "contracts/types/Timestamp.sol": {
936
- "TimestampLib": [
937
- {
938
- "length": 20,
939
- "start": 2778
940
- },
941
- {
942
- "length": 20,
943
- "start": 2997
944
- },
945
- {
946
- "length": 20,
947
- "start": 4540
948
- },
949
- {
950
- "length": 20,
951
- "start": 12207
952
- }
953
- ]
954
- },
955
- "contracts/types/UFixed.sol": {
956
- "UFixedLib": [
957
- {
958
- "length": 20,
959
- "start": 3416
960
- },
961
- {
962
- "length": 20,
963
- "start": 3549
964
- }
965
- ]
966
- },
967
- "contracts/types/Version.sol": {
968
- "VersionLib": [
969
- {
970
- "length": 20,
971
- "start": 1518
972
- },
973
- {
974
- "length": 20,
975
- "start": 5651
976
- },
977
- {
978
- "length": 20,
979
- "start": 7268
980
- }
981
- ]
982
- }
983
- }
984
- }