@etherisc/gif-next 0.0.2-f080b71-868 → 0.0.2-f08528a-758

Sign up to get free protection for your applications and to get access to all the features.
Files changed (615) hide show
  1. package/README.md +20 -3
  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/{instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json → authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json} +4 -4
  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/authorization/IAccessAdmin.sol/IAccessAdmin.json +1032 -0
  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/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +184 -253
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +81 -109
  36. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +37 -112
  38. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  39. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +160 -81
  40. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  41. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +184 -81
  42. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  43. package/artifacts/contracts/instance/Instance.sol/Instance.json +153 -168
  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 +821 -385
  50. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +273 -177
  52. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +126 -65
  54. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  55. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1471 -557
  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 -54
  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 +8 -116
  68. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  70. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  73. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  74. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  75. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  76. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1155 -0
  77. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  78. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  79. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  80. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  81. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  82. package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → oracle/IOracleComponent.sol/IOracleComponent.json} +160 -218
  83. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  84. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  85. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  86. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +1063 -0
  87. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  88. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1034 -0
  89. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  90. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +730 -0
  91. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  92. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +254 -153
  93. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  94. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  95. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  96. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1134 -0
  97. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  98. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +754 -0
  99. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  100. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +71 -48
  101. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  102. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +191 -296
  103. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  104. package/artifacts/contracts/{instance/service → pool}/IPoolService.sol/IPoolService.json +294 -60
  105. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  106. package/artifacts/contracts/pool/Pool.sol/Pool.json +1269 -0
  107. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  108. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1453 -0
  109. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  110. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +742 -0
  111. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  112. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +863 -0
  113. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  114. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +730 -0
  115. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  116. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → product/BasicProduct.sol/BasicProduct.json} +370 -400
  117. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  118. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  119. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  120. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1315 -0
  121. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  122. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +822 -0
  123. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  124. package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +58 -21
  125. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  126. package/artifacts/contracts/{instance/service → product}/IClaimService.sol/IClaimService.json +336 -39
  127. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  128. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +178 -106
  129. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  130. package/artifacts/contracts/{instance/service → product}/IPricingService.sol/IPricingService.json +50 -19
  131. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  132. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +966 -0
  133. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  134. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +11 -61
  135. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  136. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1183 -0
  137. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  138. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +766 -0
  139. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  140. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1012 -0
  141. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  142. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
  143. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  144. package/artifacts/contracts/{components → product}/Product.sol/Product.json +338 -248
  145. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  146. package/artifacts/contracts/product/ProductService.sol/ProductService.json +708 -0
  147. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  148. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +702 -0
  149. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  150. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  151. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  152. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +135 -29
  153. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  154. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +310 -53
  155. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  156. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  157. package/artifacts/contracts/registry/Registry.sol/Registry.json +371 -43
  158. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  159. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1741 -0
  160. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  161. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +367 -73
  162. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  163. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +105 -54
  164. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  165. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  166. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  167. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +697 -97
  168. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  169. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  170. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  171. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +316 -153
  172. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  173. package/artifacts/contracts/{components → shared}/Component.sol/Component.json +139 -85
  174. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  175. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1487 -0
  176. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  177. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +784 -0
  178. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  179. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +27 -127
  180. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  181. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  182. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  183. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +110 -84
  184. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  185. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +880 -0
  186. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  187. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +718 -0
  188. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  189. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +59 -14
  190. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  191. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
  192. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  193. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +3 -10
  194. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  195. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +87 -9
  196. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  197. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +3 -10
  198. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  199. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  200. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  201. package/artifacts/contracts/shared/IService.sol/IService.json +17 -6
  202. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  203. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  204. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  205. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  206. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +996 -0
  207. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  208. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
  209. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  210. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +133 -0
  211. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  212. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
  213. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  214. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +15 -22
  215. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  216. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +98 -26
  217. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  218. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +70 -35
  219. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  220. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +23 -22
  221. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  222. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  223. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  224. package/artifacts/contracts/shared/Service.sol/Service.json +17 -6
  225. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  226. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
  227. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  228. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  229. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  230. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  231. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  232. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  233. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  234. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  235. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +460 -0
  236. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  237. package/artifacts/contracts/staking/Staking.sol/Staking.json +2005 -0
  238. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  239. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  240. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  241. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +761 -0
  242. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  243. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  244. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  245. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1343 -0
  246. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  247. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +718 -0
  248. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  249. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2237 -0
  250. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  251. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
  252. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  253. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  254. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  255. package/artifacts/contracts/type/Amount.sol/AmountLib.json +345 -0
  256. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  257. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  258. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  259. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  260. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  261. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  262. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  263. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  264. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  265. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  266. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  267. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  268. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  269. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  270. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  271. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  272. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  273. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  274. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  275. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  276. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  277. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  278. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  279. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  280. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  281. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  282. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  283. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
  284. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  285. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  286. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  287. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  288. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  289. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  290. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  292. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  293. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +33 -7
  294. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  295. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  296. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  297. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +498 -0
  298. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  299. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  300. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  301. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  302. package/contracts/authorization/AccessAdmin.sol +588 -0
  303. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  304. package/contracts/authorization/Authorization.sol +218 -0
  305. package/contracts/authorization/IAccess.sol +48 -0
  306. package/contracts/authorization/IAccessAdmin.sol +136 -0
  307. package/contracts/authorization/IAuthorization.sol +54 -0
  308. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  309. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  310. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  311. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  312. package/contracts/distribution/BasicDistribution.sol +149 -0
  313. package/contracts/distribution/BasicDistributionAuthorization.sol +43 -0
  314. package/contracts/{components → distribution}/Distribution.sol +162 -159
  315. package/contracts/distribution/DistributionService.sol +302 -0
  316. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  317. package/contracts/distribution/IDistributionComponent.sol +48 -0
  318. package/contracts/{instance/service → distribution}/IDistributionService.sol +24 -24
  319. package/contracts/instance/BundleManager.sol +8 -9
  320. package/contracts/instance/IInstance.sol +48 -22
  321. package/contracts/instance/IInstanceService.sol +44 -36
  322. package/contracts/instance/Instance.sol +134 -107
  323. package/contracts/instance/InstanceAdmin.sol +266 -0
  324. package/contracts/instance/InstanceAuthorizationV3.sol +202 -0
  325. package/contracts/instance/InstanceReader.sol +164 -58
  326. package/contracts/instance/InstanceService.sol +279 -156
  327. package/contracts/instance/InstanceServiceManager.sol +11 -21
  328. package/contracts/instance/InstanceStore.sol +154 -97
  329. package/contracts/instance/base/BalanceStore.sol +123 -0
  330. package/contracts/instance/base/Cloneable.sol +28 -0
  331. package/contracts/instance/base/ObjectCounter.sol +21 -0
  332. package/contracts/instance/base/ObjectLifecycle.sol +106 -0
  333. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +13 -16
  334. package/contracts/instance/module/IAccess.sol +4 -12
  335. package/contracts/instance/module/IBundle.sol +6 -9
  336. package/contracts/instance/module/IComponents.sol +21 -10
  337. package/contracts/instance/module/IDistribution.sol +7 -6
  338. package/contracts/instance/module/IPolicy.sol +28 -16
  339. package/contracts/instance/module/IRisk.sol +1 -1
  340. package/contracts/{test/TestToken.sol → mock/Dip.sol} +5 -5
  341. package/contracts/oracle/BasicOracle.sol +48 -0
  342. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  343. package/contracts/oracle/IOracle.sol +36 -0
  344. package/contracts/oracle/IOracleComponent.sol +32 -0
  345. package/contracts/oracle/IOracleService.sol +65 -0
  346. package/contracts/oracle/Oracle.sol +157 -0
  347. package/contracts/oracle/OracleService.sol +278 -0
  348. package/contracts/oracle/OracleServiceManager.sol +42 -0
  349. package/contracts/pool/BasicPool.sol +164 -0
  350. package/contracts/pool/BasicPoolAuthorization.sol +49 -0
  351. package/contracts/pool/BundleService.sol +296 -0
  352. package/contracts/pool/BundleServiceManager.sol +42 -0
  353. package/contracts/{instance/service → pool}/IBundleService.sol +35 -23
  354. package/contracts/pool/IPoolComponent.sol +52 -0
  355. package/contracts/{instance/service → pool}/IPoolService.sol +72 -21
  356. package/contracts/pool/Pool.sol +311 -0
  357. package/contracts/pool/PoolService.sol +452 -0
  358. package/contracts/pool/PoolServiceManager.sol +42 -0
  359. package/contracts/product/ApplicationService.sol +254 -0
  360. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +11 -8
  361. package/contracts/product/BasicProduct.sol +82 -0
  362. package/contracts/product/BasicProductAuthorization.sol +40 -0
  363. package/contracts/product/ClaimService.sol +442 -0
  364. package/contracts/{instance/service → product}/ClaimServiceManager.sol +11 -8
  365. package/contracts/{instance/service → product}/IApplicationService.sol +15 -17
  366. package/contracts/product/IClaimService.sol +99 -0
  367. package/contracts/{instance/service → product}/IPolicyService.sol +37 -33
  368. package/contracts/{instance/service → product}/IPricingService.sol +14 -11
  369. package/contracts/product/IProductComponent.sol +39 -0
  370. package/contracts/product/IProductService.sol +33 -0
  371. package/contracts/product/PolicyService.sol +475 -0
  372. package/contracts/product/PolicyServiceManager.sol +42 -0
  373. package/contracts/{instance/service → product}/PricingService.sol +110 -85
  374. package/contracts/product/PricingServiceManager.sol +42 -0
  375. package/contracts/{components → product}/Product.sol +210 -114
  376. package/contracts/product/ProductService.sol +124 -0
  377. package/contracts/product/ProductServiceManager.sol +42 -0
  378. package/contracts/registry/ChainNft.sol +8 -1
  379. package/contracts/registry/IRegistry.sol +41 -21
  380. package/contracts/registry/IRegistryService.sol +37 -36
  381. package/contracts/registry/Registry.sol +194 -83
  382. package/contracts/registry/RegistryAdmin.sol +365 -0
  383. package/contracts/registry/RegistryService.sol +71 -91
  384. package/contracts/registry/RegistryServiceManager.sol +21 -30
  385. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  386. package/contracts/registry/ReleaseManager.sol +356 -193
  387. package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
  388. package/contracts/registry/TokenRegistry.sol +261 -62
  389. package/contracts/shared/Component.sol +281 -0
  390. package/contracts/shared/ComponentService.sol +581 -0
  391. package/contracts/shared/ComponentServiceManager.sol +35 -0
  392. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  393. package/contracts/shared/ERC165.sol +1 -1
  394. package/contracts/{components → shared}/IComponent.sol +23 -29
  395. package/contracts/shared/IComponentService.sol +102 -0
  396. package/contracts/shared/IInstanceLinkedComponent.sol +50 -0
  397. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  398. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
  399. package/contracts/shared/INftOwnable.sol +2 -2
  400. package/contracts/shared/IPolicyHolder.sol +29 -10
  401. package/contracts/shared/IRegistryLinked.sol +0 -1
  402. package/contracts/shared/IService.sol +11 -2
  403. package/contracts/shared/IVersionable.sol +1 -1
  404. package/contracts/shared/InitializableCustom.sol +177 -0
  405. package/contracts/shared/InstanceLinkedComponent.sol +151 -0
  406. package/contracts/shared/KeyValueStore.sol +131 -0
  407. package/contracts/shared/Lifecycle.sol +77 -0
  408. package/contracts/shared/NftIdSetManager.sol +65 -0
  409. package/contracts/shared/NftOwnable.sol +3 -16
  410. package/contracts/shared/PolicyHolder.sol +40 -19
  411. package/contracts/shared/ProxyManager.sol +34 -4
  412. package/contracts/shared/Registerable.sol +13 -12
  413. package/contracts/shared/RegistryLinked.sol +0 -5
  414. package/contracts/shared/Service.sol +32 -21
  415. package/contracts/shared/TokenHandler.sol +27 -2
  416. package/contracts/shared/Versionable.sol +1 -1
  417. package/contracts/staking/IStaking.sol +168 -0
  418. package/contracts/staking/IStakingService.sol +153 -0
  419. package/contracts/staking/StakeManagerLib.sol +231 -0
  420. package/contracts/staking/Staking.sol +513 -0
  421. package/contracts/staking/StakingLifecycle.sol +23 -0
  422. package/contracts/staking/StakingManager.sol +54 -0
  423. package/contracts/staking/StakingReader.sol +187 -0
  424. package/contracts/staking/StakingService.sol +411 -0
  425. package/contracts/staking/StakingServiceManager.sol +44 -0
  426. package/contracts/staking/StakingStore.sol +615 -0
  427. package/contracts/staking/TargetManagerLib.sol +207 -0
  428. package/contracts/{types → type}/AddressSet.sol +1 -1
  429. package/contracts/type/Amount.sol +128 -0
  430. package/contracts/{types → type}/Blocknumber.sol +20 -3
  431. package/contracts/{types → type}/ClaimId.sol +25 -2
  432. package/contracts/{types → type}/Fee.sol +24 -22
  433. package/contracts/{types → type}/NftId.sol +14 -16
  434. package/contracts/{types → type}/NftIdSet.sol +2 -2
  435. package/contracts/type/ObjectType.sol +275 -0
  436. package/contracts/{types → type}/PayoutId.sol +33 -5
  437. package/contracts/{types → type}/Referral.sol +1 -1
  438. package/contracts/type/RequestId.sol +75 -0
  439. package/contracts/{types → type}/RiskId.sol +1 -1
  440. package/contracts/type/RoleId.sol +174 -0
  441. package/contracts/{types → type}/Seconds.sol +27 -0
  442. package/contracts/type/Selector.sol +102 -0
  443. package/contracts/{types → type}/StateId.sol +33 -4
  444. package/contracts/type/String.sol +53 -0
  445. package/contracts/{types → type}/Timestamp.sol +10 -1
  446. package/contracts/{types → type}/UFixed.sol +6 -0
  447. package/contracts/{types → type}/Version.sol +1 -1
  448. package/package.json +6 -3
  449. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  450. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  451. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  452. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  453. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  454. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  455. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  456. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  457. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  458. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  459. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  460. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  461. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  462. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -124
  463. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  464. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
  465. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  466. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  467. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  468. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  469. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  470. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  471. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  472. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  473. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  474. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  475. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  476. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -860
  477. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  478. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -641
  479. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  480. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1276
  481. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  482. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -717
  483. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  484. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -849
  485. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  486. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -641
  487. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  488. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1539
  489. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  490. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -769
  491. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  492. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  493. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  494. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  495. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  496. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  497. package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +0 -4
  498. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  499. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  500. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1166
  501. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  502. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -697
  503. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  504. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1269
  505. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  506. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -661
  507. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +0 -4
  508. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +0 -988
  509. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +0 -4
  510. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +0 -689
  511. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  512. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -872
  513. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  514. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -653
  515. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  516. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  517. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  518. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  519. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  520. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  521. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  522. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  523. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  524. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  525. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  526. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -596
  527. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  528. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  529. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  530. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  531. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  532. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  533. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  534. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  535. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  536. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
  537. package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -161
  538. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  539. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  540. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  541. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  542. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  543. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  544. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  545. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  546. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
  547. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  548. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  549. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  550. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  551. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  552. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  553. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  554. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  555. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  556. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  557. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  558. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
  559. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  560. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  561. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  562. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  563. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  564. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  565. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  566. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  567. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  568. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  569. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  570. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  571. package/contracts/components/Component.sol +0 -253
  572. package/contracts/components/IDistributionComponent.sol +0 -71
  573. package/contracts/components/IPoolComponent.sol +0 -113
  574. package/contracts/components/IProductComponent.sol +0 -40
  575. package/contracts/components/Pool.sol +0 -303
  576. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
  577. package/contracts/instance/Cloneable.sol +0 -51
  578. package/contracts/instance/InstanceAccessManager.sol +0 -540
  579. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -299
  580. package/contracts/instance/base/ComponentService.sol +0 -147
  581. package/contracts/instance/base/KeyValueStore.sol +0 -180
  582. package/contracts/instance/base/Lifecycle.sol +0 -109
  583. package/contracts/instance/module/ISetup.sol +0 -33
  584. package/contracts/instance/module/ITreasury.sol +0 -23
  585. package/contracts/instance/service/ApplicationService.sol +0 -183
  586. package/contracts/instance/service/BundleService.sol +0 -431
  587. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  588. package/contracts/instance/service/ClaimService.sol +0 -145
  589. package/contracts/instance/service/DistributionService.sol +0 -346
  590. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  591. package/contracts/instance/service/IClaimService.sol +0 -61
  592. package/contracts/instance/service/IProductService.sol +0 -40
  593. package/contracts/instance/service/PolicyService.sol +0 -376
  594. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  595. package/contracts/instance/service/PoolService.sol +0 -303
  596. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  597. package/contracts/instance/service/PricingServiceManager.sol +0 -51
  598. package/contracts/instance/service/ProductService.sol +0 -210
  599. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  600. package/contracts/registry/RegistryAccessManager.sol +0 -216
  601. package/contracts/shared/ContractDeployerLib.sol +0 -72
  602. package/contracts/test/TestFee.sol +0 -25
  603. package/contracts/test/TestRegisterable.sol +0 -18
  604. package/contracts/test/TestRoleId.sol +0 -14
  605. package/contracts/test/TestService.sol +0 -25
  606. package/contracts/test/TestVersion.sol +0 -44
  607. package/contracts/test/TestVersionable.sol +0 -17
  608. package/contracts/test/Usdc.sol +0 -26
  609. package/contracts/types/Amount.sol +0 -60
  610. package/contracts/types/ChainId.sol +0 -38
  611. package/contracts/types/NumberId.sol +0 -52
  612. package/contracts/types/ObjectType.sol +0 -161
  613. package/contracts/types/RoleId.sol +0 -97
  614. /package/contracts/{types → type}/DistributorType.sol +0 -0
  615. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -44,112 +44,143 @@
44
44
  {
45
45
  "inputs": [
46
46
  {
47
- "internalType": "NftId",
48
- "name": "nftId",
49
- "type": "uint96"
47
+ "internalType": "address",
48
+ "name": "instanceBundleManager",
49
+ "type": "address"
50
50
  }
51
51
  ],
52
- "name": "ErrorNftOwnableAlreadyLinked",
52
+ "name": "ErrorInstanceBundleManagerAlreadySet",
53
53
  "type": "error"
54
54
  },
55
55
  {
56
56
  "inputs": [
57
57
  {
58
58
  "internalType": "address",
59
- "name": "contractAddress",
59
+ "name": "instanceAuthority",
60
60
  "type": "address"
61
61
  }
62
62
  ],
63
- "name": "ErrorNftOwnableContractNotRegistered",
64
- "type": "error"
65
- },
66
- {
67
- "inputs": [],
68
- "name": "ErrorNftOwnableInitialOwnerZero",
63
+ "name": "ErrorInstanceBundleManagerAuthorityMismatch",
69
64
  "type": "error"
70
65
  },
71
66
  {
72
67
  "inputs": [
73
68
  {
74
69
  "internalType": "address",
75
- "name": "account",
70
+ "name": "instance",
76
71
  "type": "address"
77
72
  }
78
73
  ],
79
- "name": "ErrorNftOwnableNotOwner",
74
+ "name": "ErrorInstanceBundleManagerInstanceMismatch",
80
75
  "type": "error"
81
76
  },
82
77
  {
83
78
  "inputs": [
84
79
  {
85
80
  "internalType": "address",
86
- "name": "registryAddress",
81
+ "name": "InstanceAdmin",
87
82
  "type": "address"
88
83
  }
89
84
  ],
90
- "name": "ErrorNotRegistry",
85
+ "name": "ErrorInstanceInstanceAdminAlreadySet",
91
86
  "type": "error"
92
87
  },
93
88
  {
94
- "inputs": [],
95
- "name": "InstanceErrorAccessManagerAlreadySet",
89
+ "inputs": [
90
+ {
91
+ "internalType": "address",
92
+ "name": "instanceAuthority",
93
+ "type": "address"
94
+ }
95
+ ],
96
+ "name": "ErrorInstanceInstanceAdminAuthorityMismatch",
96
97
  "type": "error"
97
98
  },
98
99
  {
99
100
  "inputs": [],
100
- "name": "InstanceErrorAccessManagerAuthorityMismatch",
101
+ "name": "ErrorInstanceInstanceAdminZero",
101
102
  "type": "error"
102
103
  },
103
104
  {
104
- "inputs": [],
105
- "name": "InstanceErrorBundleManagerAlreadySet",
105
+ "inputs": [
106
+ {
107
+ "internalType": "address",
108
+ "name": "instanceAuthority",
109
+ "type": "address"
110
+ }
111
+ ],
112
+ "name": "ErrorInstanceInstanceReaderInstanceMismatch",
106
113
  "type": "error"
107
114
  },
108
115
  {
109
- "inputs": [],
110
- "name": "InstanceErrorBundleManagerAuthorityMismatch",
116
+ "inputs": [
117
+ {
118
+ "internalType": "address",
119
+ "name": "instanceStore",
120
+ "type": "address"
121
+ }
122
+ ],
123
+ "name": "ErrorInstanceInstanceStoreAlreadySet",
111
124
  "type": "error"
112
125
  },
113
126
  {
114
127
  "inputs": [
115
128
  {
116
129
  "internalType": "address",
117
- "name": "expectedInstance",
130
+ "name": "instanceAuthority",
118
131
  "type": "address"
119
- },
132
+ }
133
+ ],
134
+ "name": "ErrorInstanceInstanceStoreAuthorityMismatch",
135
+ "type": "error"
136
+ },
137
+ {
138
+ "inputs": [
120
139
  {
121
- "internalType": "address",
122
- "name": "foundInstance",
123
- "type": "address"
140
+ "internalType": "NftId",
141
+ "name": "nftId",
142
+ "type": "uint96"
124
143
  }
125
144
  ],
126
- "name": "InstanceErrorBundleManagerInstanceMismatch",
145
+ "name": "ErrorNftOwnableAlreadyLinked",
127
146
  "type": "error"
128
147
  },
129
148
  {
130
- "inputs": [],
131
- "name": "InstanceErrorInstanceStoreAlreadySet",
149
+ "inputs": [
150
+ {
151
+ "internalType": "address",
152
+ "name": "contractAddress",
153
+ "type": "address"
154
+ }
155
+ ],
156
+ "name": "ErrorNftOwnableContractNotRegistered",
132
157
  "type": "error"
133
158
  },
134
159
  {
135
160
  "inputs": [],
136
- "name": "InstanceErrorInstanceStoreAuthorityMismatch",
161
+ "name": "ErrorNftOwnableInitialOwnerZero",
137
162
  "type": "error"
138
163
  },
139
164
  {
140
165
  "inputs": [
141
166
  {
142
167
  "internalType": "address",
143
- "name": "expectedInstance",
168
+ "name": "account",
144
169
  "type": "address"
145
- },
170
+ }
171
+ ],
172
+ "name": "ErrorNftOwnableNotOwner",
173
+ "type": "error"
174
+ },
175
+ {
176
+ "inputs": [
146
177
  {
147
178
  "internalType": "address",
148
- "name": "foundInstance",
179
+ "name": "registryAddress",
149
180
  "type": "address"
150
181
  }
151
182
  ],
152
- "name": "InstanceErrorReaderInstanceMismatch",
183
+ "name": "ErrorNotRegistry",
153
184
  "type": "error"
154
185
  },
155
186
  {
@@ -300,32 +331,6 @@
300
331
  "stateMutability": "view",
301
332
  "type": "function"
302
333
  },
303
- {
304
- "inputs": [],
305
- "name": "getBundleService",
306
- "outputs": [
307
- {
308
- "internalType": "contract IBundleService",
309
- "name": "",
310
- "type": "address"
311
- }
312
- ],
313
- "stateMutability": "view",
314
- "type": "function"
315
- },
316
- {
317
- "inputs": [],
318
- "name": "getDistributionService",
319
- "outputs": [
320
- {
321
- "internalType": "contract IDistributionService",
322
- "name": "",
323
- "type": "address"
324
- }
325
- ],
326
- "stateMutability": "view",
327
- "type": "function"
328
- },
329
334
  {
330
335
  "inputs": [],
331
336
  "name": "getInitialInfo",
@@ -378,10 +383,10 @@
378
383
  },
379
384
  {
380
385
  "inputs": [],
381
- "name": "getInstanceAccessManager",
386
+ "name": "getInstanceAdmin",
382
387
  "outputs": [
383
388
  {
384
- "internalType": "contract InstanceAccessManager",
389
+ "internalType": "contract InstanceAdmin",
385
390
  "name": "",
386
391
  "type": "address"
387
392
  }
@@ -454,45 +459,6 @@
454
459
  "stateMutability": "view",
455
460
  "type": "function"
456
461
  },
457
- {
458
- "inputs": [],
459
- "name": "getPolicyService",
460
- "outputs": [
461
- {
462
- "internalType": "contract IPolicyService",
463
- "name": "",
464
- "type": "address"
465
- }
466
- ],
467
- "stateMutability": "view",
468
- "type": "function"
469
- },
470
- {
471
- "inputs": [],
472
- "name": "getPoolService",
473
- "outputs": [
474
- {
475
- "internalType": "contract IPoolService",
476
- "name": "",
477
- "type": "address"
478
- }
479
- ],
480
- "stateMutability": "view",
481
- "type": "function"
482
- },
483
- {
484
- "inputs": [],
485
- "name": "getProductService",
486
- "outputs": [
487
- {
488
- "internalType": "contract IProductService",
489
- "name": "",
490
- "type": "address"
491
- }
492
- ],
493
- "stateMutability": "view",
494
- "type": "function"
495
- },
496
462
  {
497
463
  "inputs": [],
498
464
  "name": "getRegistry",
@@ -506,19 +472,6 @@
506
472
  "stateMutability": "view",
507
473
  "type": "function"
508
474
  },
509
- {
510
- "inputs": [],
511
- "name": "getRegistryAddress",
512
- "outputs": [
513
- {
514
- "internalType": "address",
515
- "name": "",
516
- "type": "address"
517
- }
518
- ],
519
- "stateMutability": "view",
520
- "type": "function"
521
- },
522
475
  {
523
476
  "inputs": [
524
477
  {
@@ -540,13 +493,28 @@
540
493
  {
541
494
  "inputs": [
542
495
  {
543
- "internalType": "address",
544
- "name": "authority",
496
+ "internalType": "contract InstanceAdmin",
497
+ "name": "instanceAdmin",
545
498
  "type": "address"
546
499
  },
547
500
  {
548
- "internalType": "address",
549
- "name": "registryAddress",
501
+ "internalType": "contract InstanceStore",
502
+ "name": "instanceStore",
503
+ "type": "address"
504
+ },
505
+ {
506
+ "internalType": "contract BundleManager",
507
+ "name": "bundleManager",
508
+ "type": "address"
509
+ },
510
+ {
511
+ "internalType": "contract InstanceReader",
512
+ "name": "instanceReader",
513
+ "type": "address"
514
+ },
515
+ {
516
+ "internalType": "contract IRegistry",
517
+ "name": "registry",
550
518
  "type": "address"
551
519
  },
552
520
  {
@@ -652,7 +620,13 @@
652
620
  {
653
621
  "inputs": [],
654
622
  "name": "linkToRegisteredNftId",
655
- "outputs": [],
623
+ "outputs": [
624
+ {
625
+ "internalType": "NftId",
626
+ "name": "nftId",
627
+ "type": "uint96"
628
+ }
629
+ ],
656
630
  "stateMutability": "nonpayable",
657
631
  "type": "function"
658
632
  },
@@ -697,6 +671,19 @@
697
671
  "stateMutability": "nonpayable",
698
672
  "type": "function"
699
673
  },
674
+ {
675
+ "inputs": [
676
+ {
677
+ "internalType": "Amount",
678
+ "name": "dipAmount",
679
+ "type": "uint96"
680
+ }
681
+ ],
682
+ "name": "refillStakingRewardReserves",
683
+ "outputs": [],
684
+ "stateMutability": "nonpayable",
685
+ "type": "function"
686
+ },
700
687
  {
701
688
  "inputs": [
702
689
  {
@@ -744,12 +731,12 @@
744
731
  {
745
732
  "inputs": [
746
733
  {
747
- "internalType": "contract BundleManager",
748
- "name": "bundleManager",
734
+ "internalType": "contract InstanceReader",
735
+ "name": "instanceReader",
749
736
  "type": "address"
750
737
  }
751
738
  ],
752
- "name": "setBundleManager",
739
+ "name": "setInstanceReader",
753
740
  "outputs": [],
754
741
  "stateMutability": "nonpayable",
755
742
  "type": "function"
@@ -757,12 +744,12 @@
757
744
  {
758
745
  "inputs": [
759
746
  {
760
- "internalType": "contract InstanceAccessManager",
761
- "name": "accessManager",
762
- "type": "address"
747
+ "internalType": "Seconds",
748
+ "name": "stakeLockingPeriod",
749
+ "type": "uint40"
763
750
  }
764
751
  ],
765
- "name": "setInstanceAccessManager",
752
+ "name": "setStakingLockingPeriod",
766
753
  "outputs": [],
767
754
  "stateMutability": "nonpayable",
768
755
  "type": "function"
@@ -770,25 +757,12 @@
770
757
  {
771
758
  "inputs": [
772
759
  {
773
- "internalType": "contract InstanceReader",
774
- "name": "instanceReader",
775
- "type": "address"
776
- }
777
- ],
778
- "name": "setInstanceReader",
779
- "outputs": [],
780
- "stateMutability": "nonpayable",
781
- "type": "function"
782
- },
783
- {
784
- "inputs": [
785
- {
786
- "internalType": "contract InstanceStore",
787
- "name": "instanceStore",
788
- "type": "address"
760
+ "internalType": "UFixed",
761
+ "name": "rewardRate",
762
+ "type": "uint256"
789
763
  }
790
764
  ],
791
- "name": "setInstanceStore",
765
+ "name": "setStakingRewardRate",
792
766
  "outputs": [],
793
767
  "stateMutability": "nonpayable",
794
768
  "type": "function"
@@ -852,66 +826,77 @@
852
826
  ],
853
827
  "stateMutability": "view",
854
828
  "type": "function"
829
+ },
830
+ {
831
+ "inputs": [
832
+ {
833
+ "internalType": "Amount",
834
+ "name": "dipAmount",
835
+ "type": "uint96"
836
+ }
837
+ ],
838
+ "name": "withdrawStakingRewardReserves",
839
+ "outputs": [
840
+ {
841
+ "internalType": "Amount",
842
+ "name": "newBalance",
843
+ "type": "uint96"
844
+ }
845
+ ],
846
+ "stateMutability": "nonpayable",
847
+ "type": "function"
855
848
  }
856
849
  ],
857
- "bytecode": "0x608060405234801561001057600080fd5b50612932806100206000396000f3fe608060405234801561001057600080fd5b50600436106102535760003560e01c80637a9e5e4b11610146578063ca600b1c116100c3578063e5f6cd2711610087578063e5f6cd271461053b578063e7f7fb861461054c578063f21de1e81461039d578063f7bc431c1461055f578063f7c34ee014610572578063fed3d63f1461058557600080fd5b8063ca600b1c146104cd578063cde749f4146104d5578063d2192dbf146104ef578063d4cda0d814610522578063e1033e7d1461053357600080fd5b8063b428b0b01161010a578063b428b0b014610479578063b7d2b1621461048c578063bb1e0e591461049f578063bf7e214f146104b2578063c0c53b8b146104ba57600080fd5b80637a9e5e4b146104155780638689231314610428578063893d20e81461043b5780638fb3603714610443578063ada9652e1461046457600080fd5b806329db8c3d116101d45780635fa8aad4116101985780635fa8aad4146103ae57806361f5f420146103c1578063644c45e0146103d2578063675393bf146103fa5780636b9bf08b1461040d57600080fd5b806329db8c3d1461036757806336fc697e1461037a578063422c9d00146103825780634288121d146103955780635ab1bd531461039d57600080fd5b80631eff4b221161021b5780631eff4b22146102f1578063214cdb80146103265780632449aea8146103395780632781d4431461034c57806327bb7a331461035457600080fd5b806301ffc9a71461025857806302cd30711461029a5780630f749a89146102bf5780630fec111c146102d4578063138461e0146102e9575b600080fd5b610285610266366004611f50565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b039091168152602001610291565b6102d26102cd366004611f87565b61058d565b005b6102dc610680565b6040516102919190611ff4565b6102d261082f565b6103187f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610291565b6102d2610334366004611f50565b610a36565b6102d2610347366004611f87565b610a63565b610318600381565b6102d261036236600461213c565b610b52565b6102d2610375366004612228565b610bde565b6102d2610c4b565b6102d2610390366004611f87565b610c91565b6102a7610e89565b6001546001600160a01b03166102a7565b6102d26103bc3660046122d2565b610f1c565b6004546001600160a01b03166102a7565b6000805160206128bd833981519152546040516001600160601b039091168152602001610291565b6102d2610408366004611f87565b610f8d565b6102a761109b565b6102d2610423366004611f87565b6110c4565b6102d2610436366004612321565b611147565b6102a761118a565b61044b6112c1565b6040516001600160e01b03199091168152602001610291565b6103186000805160206128bd83398151915281565b6102d261048736600461235a565b6112f9565b6102d261049a36600461235a565b61137c565b6102d26104ad366004612388565b6113b7565b6102a761155a565b6102d26104c83660046123b4565b611576565b6102a761171b565b6104dd611744565b60405160ff9091168152602001610291565b6105026104fd3660046123ff565b6117bb565b604080516001600160401b03938416815292909116602083015201610291565b6005546001600160a01b03166102a7565b6102a7611846565b6002546001600160a01b03166102a7565b6102d261055a366004612458565b61186f565b6102d261056d366004611f87565b611a0f565b6102d2610580366004612499565b611b43565b6102a7611bba565b61059a335b600036611be3565b6002546001600160a01b0316156105c45760405163b74c801b60e01b815260040160405180910390fd5b6105cc61155a565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610613573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063791906124b7565b6001600160a01b03161461065e57604051630c53b33d60e11b815260040160405180910390fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061072b906124d4565b80601f0160208091040260200160405190810160405280929190818152602001828054610757906124d4565b80156107a45780601f10610779576101008083540402835291602001916107a4565b820191906000526020600020905b81548152906001019060200180831161078757829003601f168201915b50505050508152505090506040518060e001604052806107c2600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b0316815260200161081361118a565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206128bd83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561089e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c2919061250e565b156108f35780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306109066001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561094e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610972919061250e565b61099a5760405163b9304b0d60e01b81526001600160a01b03821660048201526024016108ea565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156109ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a12919061252b565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610a3e611ce1565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a6c33610592565b6005546001600160a01b031615610a96576040516323d3d15960e21b815260040160405180910390fd5b610a9e61155a565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ae5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0991906124b7565b6001600160a01b031614610b30576040516317dd589160e01b815260040160405180910390fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610b5a611ce1565b610b648287611b43565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610bd4838261258e565b5050505050505050565b610be733610592565b6002546040516329db8c3d60e01b81526001600160a01b03909116906329db8c3d90610c1d90879087908790879060040161264d565b600060405180830381600087803b158015610c3757600080fd5b505af1158015610bd4573d6000803e3d6000fd5b610c53611ce1565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610c9a33610592565b6004546001600160a01b031615610cc4576040516317bba0a360e01b815260040160405180910390fd5b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3091906124b7565b6001600160a01b031614610dcd5730816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da191906124b7565b604051631716ade760e31b81526001600160a01b039283166004820152911660248201526044016108ea565b610dd561155a565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4091906124b7565b6001600160a01b031614610e6757604051635a1c6faf60e11b815260040160405180910390fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000610e9d6001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa158015610ef3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1791906124b7565b905090565b610f2533610592565b6002546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610f5790859085906004016126c2565b600060405180830381600087803b158015610f7157600080fd5b505af1158015610f85573d6000803e3d6000fd5b505050505050565b610f95611ce1565b806001600160a01b03163b600003610fcb5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108ea565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015611045575060408051601f3d908101601f191682019092526110429181019061250e565b60015b61106d5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108ea565b806110965760405163fdeac91f60e01b81526001600160a01b03831660048201526024016108ea565b505b50565b60006110af6001546001600160a01b031690565b6001600160a01b031663d39e6043608c610eae565b336110cd61155a565b6001600160a01b0316816001600160a01b0316146111085760405162d1953b60e31b81526001600160a01b03821660048201526024016108ea565b816001600160a01b03163b60000361113e576040516361798f2f60e11b81526001600160a01b03831660048201526024016108ea565b61109682611d2c565b61115033610592565b6002546040516308b6d1c760e21b81526001600160a01b0384811660048301528315156024830152909116906322db471c90604401610f57565b6000806000805160206128bd83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156111fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121e919061250e565b156112ab576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611281573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a591906124b7565b91505090565b54600160601b90046001600160a01b0316919050565b6000805160206128dd833981519152805460009190600160a01b900460ff166112eb5760006112a5565b638fb3603760e01b91505090565b61130233610592565b600254604051630b428b0b60e41b81526001600160a01b039091169063b428b0b09061133490859085906004016126e6565b6020604051808303816000875af1158015611353573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611377919061250e565b505050565b61138533610592565b600254604051635be958b160e11b81526001600160a01b039091169063b7d2b1629061133490859085906004016126e6565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611400573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142491906124b7565b6001600160a01b0316336001600160a01b03161461144157600080fd5b6002546001600160a01b0316630301497461145a611d8d565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa15801561149e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114c29190612708565b156114cf576114cf612721565b6002546001600160a01b031663b428b0b06114e8611d8d565b846040518363ffffffff1660e01b81526004016115069291906126e6565b6020604051808303816000875af1158015611525573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611549919061250e565b151560011461109657611096612721565b6000805160206128dd833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156115bb5750825b90506000826001600160401b031660011480156115d75750303b155b9050811580156115e5575080155b156116035760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561162d57845460ff60401b1916600160401b1785555b61163688611e05565b60008790506116bb88826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561167d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a1919061252b565b604660018b60405180602001604052806000815250610b52565b6116cb63425ec80560e01b610a36565b508315610bd457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b600061172f6001546001600160a01b031690565b6001600160a01b031663d39e60436078610eae565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611797573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f179190612737565b6000806117c733610592565b60025460405163d2192dbf60e01b81526001600160a01b039091169063d2192dbf906117f99087908790600401612754565b60408051808303816000875af1158015611817573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061183b9190612782565b909590945092505050565b600061185a6001546001600160a01b031690565b6001600160a01b031663d39e604360d3610eae565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118dc91906124b7565b6001600160a01b0316336001600160a01b0316146118f957600080fd5b6002546001600160a01b031663b7d2b162611912611d8d565b856040518363ffffffff1660e01b81526004016119309291906126e6565b6020604051808303816000875af115801561194f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611973919061250e565b151560011461198457611984612721565b6002546001600160a01b031663b428b0b061199d611d8d565b846040518363ffffffff1660e01b81526004016119bb9291906126e6565b6020604051808303816000875af11580156119da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119fe919061250e565b151560011461137757611377612721565b611a1833610592565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8491906124b7565b6001600160a01b031614611b215730816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ad1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611af591906124b7565b60405163b6b6307760e01b81526001600160a01b039283166004820152911660248201526044016108ea565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b611b4b611ce1565b611b5481610f8d565b611b5c610c4b565b6001600160a01b038216611b835760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206128bd83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000611bce6001546001600160a01b031690565b6001600160a01b031663d39e604360dc610eae565b6000805160206128dd833981519152600080611c1e611c0061155a565b8730611c10600460008a8c6127b1565b611c19916127db565b611e16565b9150915081610f855763ffffffff811615611cbe57825460ff60a01b1916600160a01b178355611c4c61155a565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c7b9392919061280b565b600060405180830381600087803b158015611c9557600080fd5b505af1158015611ca9573d6000803e3d6000fd5b5050845460ff60a01b1916855550610f859050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016108ea565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611d2a57604051631afcd79f60e31b815260040160405180910390fd5b565b6000805160206128dd83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516368aebf7b60e01b815261076c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611de1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f17919061284b565b611e0d611ce1565b61109881611f22565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611e859190612868565b600060405180830381855afa9150503d8060008114611ec0576040519150601f19603f3d011682016040523d82523d6000602084013e611ec5565b606091505b50915091508115611f17576040815110611ef75780806020019051810190611eed9190612884565b9094509250611f17565b6020815110611f175780806020019051810190611f14919061250e565b93505b505094509492505050565b611f2a611ce1565b61109881611d2c565b80356001600160e01b031981168114611f4b57600080fd5b919050565b600060208284031215611f6257600080fd5b611f6b82611f33565b9392505050565b6001600160a01b038116811461109857600080fd5b600060208284031215611f9957600080fd5b8135611f6b81611f72565b60005b83811015611fbf578181015183820152602001611fa7565b50506000910152565b60008151808452611fe0816020860160208601611fa4565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161205d60c08401826001600160a01b03169052565b5060c083015160e080840152612077610100840182611fc8565b949350505050565b6001600160601b038116811461109857600080fd5b60ff8116811461109857600080fd5b801515811461109857600080fd5b634e487b7160e01b600052604160045260246000fd5b60006001600160401b03808411156120e1576120e16120b1565b604051601f8501601f19908116603f01168101908282118183101715612109576121096120b1565b8160405280935085815286868601111561212257600080fd5b858560208301376000602087830101525050509392505050565b60008060008060008060c0878903121561215557600080fd5b863561216081611f72565b955060208701356121708161207f565b9450604087013561218081612094565b93506060870135612190816120a3565b925060808701356121a081611f72565b915060a08701356001600160401b038111156121bb57600080fd5b8701601f810189136121cc57600080fd5b6121db898235602084016120c7565b9150509295509295509295565b600082601f8301126121f957600080fd5b611f6b838335602085016120c7565b6001600160401b038116811461109857600080fd5b8035611f4b81612208565b6000806000806060858703121561223e57600080fd5b84356001600160401b038082111561225557600080fd5b612261888389016121e8565b9550602087013591508082111561227757600080fd5b818701915087601f83011261228b57600080fd5b81358181111561229a57600080fd5b8860208260051b85010111156122af57600080fd5b6020830195508094505050506122c76040860161221d565b905092959194509250565b600080604083850312156122e557600080fd5b82356122f081611f72565b915060208301356001600160401b0381111561230b57600080fd5b612317858286016121e8565b9150509250929050565b6000806040838503121561233457600080fd5b823561233f81611f72565b9150602083013561234f816120a3565b809150509250929050565b6000806040838503121561236d57600080fd5b823561237881612208565b9150602083013561234f81611f72565b6000806040838503121561239b57600080fd5b82356123a681611f72565b946020939093013593505050565b6000806000606084860312156123c957600080fd5b83356123d481611f72565b925060208401356123e481611f72565b915060408401356123f481611f72565b809150509250925092565b6000806040838503121561241257600080fd5b82356001600160401b038082111561242957600080fd5b612435868387016121e8565b9350602085013591508082111561244b57600080fd5b50612317858286016121e8565b60008060006060848603121561246d57600080fd5b833561247881611f72565b9250602084013561248881611f72565b929592945050506040919091013590565b600080604083850312156124ac57600080fd5b823561237881611f72565b6000602082840312156124c957600080fd5b8151611f6b81611f72565b600181811c908216806124e857607f821691505b60208210810361250857634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561252057600080fd5b8151611f6b816120a3565b60006020828403121561253d57600080fd5b8151611f6b8161207f565b601f82111561137757600081815260208120601f850160051c8101602086101561256f5750805b601f850160051c820191505b81811015610f855782815560010161257b565b81516001600160401b038111156125a7576125a76120b1565b6125bb816125b584546124d4565b84612548565b602080601f8311600181146125f057600084156125d85750858301515b600019600386901b1c1916600185901b178555610f85565b600085815260208120601f198616915b8281101561261f57888601518255948401946001909101908401612600565b508582101561263d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6060815260006126606060830187611fc8565b8281036020848101919091528582528691810160005b878110156126a3576001600160e01b031961269085611f33565b1682529282019290820190600101612676565b508093505050506001600160401b038316604083015295945050505050565b6001600160a01b038316815260406020820181905260009061207790830184611fc8565b6001600160401b039290921682526001600160a01b0316602082015260400190565b60006020828403121561271a57600080fd5b5051919050565b634e487b7160e01b600052600160045260246000fd5b60006020828403121561274957600080fd5b8151611f6b81612094565b6040815260006127676040830185611fc8565b82810360208401526127798185611fc8565b95945050505050565b6000806040838503121561279557600080fd5b82516127a081612208565b602084015190925061234f81612208565b600080858511156127c157600080fd5b838611156127ce57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156128035780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60006020828403121561285d57600080fd5b8151611f6b81612208565b6000825161287a818460208701611fa4565b9190910192915050565b6000806040838503121561289757600080fd5b82516128a2816120a3565b602084015190925063ffffffff8116811461234f57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220fbce823de3502cdc73924bcbba67c03f492489a47582e7e78d8f1bca68ef653464736f6c63430008140033",
858
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102535760003560e01c80637a9e5e4b11610146578063ca600b1c116100c3578063e5f6cd2711610087578063e5f6cd271461053b578063e7f7fb861461054c578063f21de1e81461039d578063f7bc431c1461055f578063f7c34ee014610572578063fed3d63f1461058557600080fd5b8063ca600b1c146104cd578063cde749f4146104d5578063d2192dbf146104ef578063d4cda0d814610522578063e1033e7d1461053357600080fd5b8063b428b0b01161010a578063b428b0b014610479578063b7d2b1621461048c578063bb1e0e591461049f578063bf7e214f146104b2578063c0c53b8b146104ba57600080fd5b80637a9e5e4b146104155780638689231314610428578063893d20e81461043b5780638fb3603714610443578063ada9652e1461046457600080fd5b806329db8c3d116101d45780635fa8aad4116101985780635fa8aad4146103ae57806361f5f420146103c1578063644c45e0146103d2578063675393bf146103fa5780636b9bf08b1461040d57600080fd5b806329db8c3d1461036757806336fc697e1461037a578063422c9d00146103825780634288121d146103955780635ab1bd531461039d57600080fd5b80631eff4b221161021b5780631eff4b22146102f1578063214cdb80146103265780632449aea8146103395780632781d4431461034c57806327bb7a331461035457600080fd5b806301ffc9a71461025857806302cd30711461029a5780630f749a89146102bf5780630fec111c146102d4578063138461e0146102e9575b600080fd5b610285610266366004611f50565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b039091168152602001610291565b6102d26102cd366004611f87565b61058d565b005b6102dc610680565b6040516102919190611ff4565b6102d261082f565b6103187f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610291565b6102d2610334366004611f50565b610a36565b6102d2610347366004611f87565b610a63565b610318600381565b6102d261036236600461213c565b610b52565b6102d2610375366004612228565b610bde565b6102d2610c4b565b6102d2610390366004611f87565b610c91565b6102a7610e89565b6001546001600160a01b03166102a7565b6102d26103bc3660046122d2565b610f1c565b6004546001600160a01b03166102a7565b6000805160206128bd833981519152546040516001600160601b039091168152602001610291565b6102d2610408366004611f87565b610f8d565b6102a761109b565b6102d2610423366004611f87565b6110c4565b6102d2610436366004612321565b611147565b6102a761118a565b61044b6112c1565b6040516001600160e01b03199091168152602001610291565b6103186000805160206128bd83398151915281565b6102d261048736600461235a565b6112f9565b6102d261049a36600461235a565b61137c565b6102d26104ad366004612388565b6113b7565b6102a761155a565b6102d26104c83660046123b4565b611576565b6102a761171b565b6104dd611744565b60405160ff9091168152602001610291565b6105026104fd3660046123ff565b6117bb565b604080516001600160401b03938416815292909116602083015201610291565b6005546001600160a01b03166102a7565b6102a7611846565b6002546001600160a01b03166102a7565b6102d261055a366004612458565b61186f565b6102d261056d366004611f87565b611a0f565b6102d2610580366004612499565b611b43565b6102a7611bba565b61059a335b600036611be3565b6002546001600160a01b0316156105c45760405163b74c801b60e01b815260040160405180910390fd5b6105cc61155a565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610613573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063791906124b7565b6001600160a01b03161461065e57604051630c53b33d60e11b815260040160405180910390fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061072b906124d4565b80601f0160208091040260200160405190810160405280929190818152602001828054610757906124d4565b80156107a45780601f10610779576101008083540402835291602001916107a4565b820191906000526020600020905b81548152906001019060200180831161078757829003601f168201915b50505050508152505090506040518060e001604052806107c2600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b0316815260200161081361118a565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206128bd83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561089e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c2919061250e565b156108f35780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306109066001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561094e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610972919061250e565b61099a5760405163b9304b0d60e01b81526001600160a01b03821660048201526024016108ea565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156109ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a12919061252b565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610a3e611ce1565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a6c33610592565b6005546001600160a01b031615610a96576040516323d3d15960e21b815260040160405180910390fd5b610a9e61155a565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ae5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0991906124b7565b6001600160a01b031614610b30576040516317dd589160e01b815260040160405180910390fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610b5a611ce1565b610b648287611b43565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610bd4838261258e565b5050505050505050565b610be733610592565b6002546040516329db8c3d60e01b81526001600160a01b03909116906329db8c3d90610c1d90879087908790879060040161264d565b600060405180830381600087803b158015610c3757600080fd5b505af1158015610bd4573d6000803e3d6000fd5b610c53611ce1565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610c9a33610592565b6004546001600160a01b031615610cc4576040516317bba0a360e01b815260040160405180910390fd5b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3091906124b7565b6001600160a01b031614610dcd5730816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da191906124b7565b604051631716ade760e31b81526001600160a01b039283166004820152911660248201526044016108ea565b610dd561155a565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4091906124b7565b6001600160a01b031614610e6757604051635a1c6faf60e11b815260040160405180910390fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000610e9d6001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa158015610ef3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1791906124b7565b905090565b610f2533610592565b6002546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610f5790859085906004016126c2565b600060405180830381600087803b158015610f7157600080fd5b505af1158015610f85573d6000803e3d6000fd5b505050505050565b610f95611ce1565b806001600160a01b03163b600003610fcb5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108ea565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015611045575060408051601f3d908101601f191682019092526110429181019061250e565b60015b61106d5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108ea565b806110965760405163fdeac91f60e01b81526001600160a01b03831660048201526024016108ea565b505b50565b60006110af6001546001600160a01b031690565b6001600160a01b031663d39e6043608c610eae565b336110cd61155a565b6001600160a01b0316816001600160a01b0316146111085760405162d1953b60e31b81526001600160a01b03821660048201526024016108ea565b816001600160a01b03163b60000361113e576040516361798f2f60e11b81526001600160a01b03831660048201526024016108ea565b61109682611d2c565b61115033610592565b6002546040516308b6d1c760e21b81526001600160a01b0384811660048301528315156024830152909116906322db471c90604401610f57565b6000806000805160206128bd83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156111fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121e919061250e565b156112ab576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611281573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a591906124b7565b91505090565b54600160601b90046001600160a01b0316919050565b6000805160206128dd833981519152805460009190600160a01b900460ff166112eb5760006112a5565b638fb3603760e01b91505090565b61130233610592565b600254604051630b428b0b60e41b81526001600160a01b039091169063b428b0b09061133490859085906004016126e6565b6020604051808303816000875af1158015611353573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611377919061250e565b505050565b61138533610592565b600254604051635be958b160e11b81526001600160a01b039091169063b7d2b1629061133490859085906004016126e6565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611400573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142491906124b7565b6001600160a01b0316336001600160a01b03161461144157600080fd5b6002546001600160a01b0316630301497461145a611d8d565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa15801561149e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114c29190612708565b156114cf576114cf612721565b6002546001600160a01b031663b428b0b06114e8611d8d565b846040518363ffffffff1660e01b81526004016115069291906126e6565b6020604051808303816000875af1158015611525573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611549919061250e565b151560011461109657611096612721565b6000805160206128dd833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156115bb5750825b90506000826001600160401b031660011480156115d75750303b155b9050811580156115e5575080155b156116035760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561162d57845460ff60401b1916600160401b1785555b61163688611e05565b60008790506116bb88826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561167d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a1919061252b565b604660018b60405180602001604052806000815250610b52565b6116cb63425ec80560e01b610a36565b508315610bd457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b600061172f6001546001600160a01b031690565b6001600160a01b031663d39e60436078610eae565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611797573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f179190612737565b6000806117c733610592565b60025460405163d2192dbf60e01b81526001600160a01b039091169063d2192dbf906117f99087908790600401612754565b60408051808303816000875af1158015611817573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061183b9190612782565b909590945092505050565b600061185a6001546001600160a01b031690565b6001600160a01b031663d39e604360d3610eae565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118dc91906124b7565b6001600160a01b0316336001600160a01b0316146118f957600080fd5b6002546001600160a01b031663b7d2b162611912611d8d565b856040518363ffffffff1660e01b81526004016119309291906126e6565b6020604051808303816000875af115801561194f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611973919061250e565b151560011461198457611984612721565b6002546001600160a01b031663b428b0b061199d611d8d565b846040518363ffffffff1660e01b81526004016119bb9291906126e6565b6020604051808303816000875af11580156119da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119fe919061250e565b151560011461137757611377612721565b611a1833610592565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8491906124b7565b6001600160a01b031614611b215730816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ad1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611af591906124b7565b60405163b6b6307760e01b81526001600160a01b039283166004820152911660248201526044016108ea565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b611b4b611ce1565b611b5481610f8d565b611b5c610c4b565b6001600160a01b038216611b835760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206128bd83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000611bce6001546001600160a01b031690565b6001600160a01b031663d39e604360dc610eae565b6000805160206128dd833981519152600080611c1e611c0061155a565b8730611c10600460008a8c6127b1565b611c19916127db565b611e16565b9150915081610f855763ffffffff811615611cbe57825460ff60a01b1916600160a01b178355611c4c61155a565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c7b9392919061280b565b600060405180830381600087803b158015611c9557600080fd5b505af1158015611ca9573d6000803e3d6000fd5b5050845460ff60a01b1916855550610f859050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016108ea565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611d2a57604051631afcd79f60e31b815260040160405180910390fd5b565b6000805160206128dd83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516368aebf7b60e01b815261076c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611de1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f17919061284b565b611e0d611ce1565b61109881611f22565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611e859190612868565b600060405180830381855afa9150503d8060008114611ec0576040519150601f19603f3d011682016040523d82523d6000602084013e611ec5565b606091505b50915091508115611f17576040815110611ef75780806020019051810190611eed9190612884565b9094509250611f17565b6020815110611f175780806020019051810190611f14919061250e565b93505b505094509492505050565b611f2a611ce1565b61109881611d2c565b80356001600160e01b031981168114611f4b57600080fd5b919050565b600060208284031215611f6257600080fd5b611f6b82611f33565b9392505050565b6001600160a01b038116811461109857600080fd5b600060208284031215611f9957600080fd5b8135611f6b81611f72565b60005b83811015611fbf578181015183820152602001611fa7565b50506000910152565b60008151808452611fe0816020860160208601611fa4565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161205d60c08401826001600160a01b03169052565b5060c083015160e080840152612077610100840182611fc8565b949350505050565b6001600160601b038116811461109857600080fd5b60ff8116811461109857600080fd5b801515811461109857600080fd5b634e487b7160e01b600052604160045260246000fd5b60006001600160401b03808411156120e1576120e16120b1565b604051601f8501601f19908116603f01168101908282118183101715612109576121096120b1565b8160405280935085815286868601111561212257600080fd5b858560208301376000602087830101525050509392505050565b60008060008060008060c0878903121561215557600080fd5b863561216081611f72565b955060208701356121708161207f565b9450604087013561218081612094565b93506060870135612190816120a3565b925060808701356121a081611f72565b915060a08701356001600160401b038111156121bb57600080fd5b8701601f810189136121cc57600080fd5b6121db898235602084016120c7565b9150509295509295509295565b600082601f8301126121f957600080fd5b611f6b838335602085016120c7565b6001600160401b038116811461109857600080fd5b8035611f4b81612208565b6000806000806060858703121561223e57600080fd5b84356001600160401b038082111561225557600080fd5b612261888389016121e8565b9550602087013591508082111561227757600080fd5b818701915087601f83011261228b57600080fd5b81358181111561229a57600080fd5b8860208260051b85010111156122af57600080fd5b6020830195508094505050506122c76040860161221d565b905092959194509250565b600080604083850312156122e557600080fd5b82356122f081611f72565b915060208301356001600160401b0381111561230b57600080fd5b612317858286016121e8565b9150509250929050565b6000806040838503121561233457600080fd5b823561233f81611f72565b9150602083013561234f816120a3565b809150509250929050565b6000806040838503121561236d57600080fd5b823561237881612208565b9150602083013561234f81611f72565b6000806040838503121561239b57600080fd5b82356123a681611f72565b946020939093013593505050565b6000806000606084860312156123c957600080fd5b83356123d481611f72565b925060208401356123e481611f72565b915060408401356123f481611f72565b809150509250925092565b6000806040838503121561241257600080fd5b82356001600160401b038082111561242957600080fd5b612435868387016121e8565b9350602085013591508082111561244b57600080fd5b50612317858286016121e8565b60008060006060848603121561246d57600080fd5b833561247881611f72565b9250602084013561248881611f72565b929592945050506040919091013590565b600080604083850312156124ac57600080fd5b823561237881611f72565b6000602082840312156124c957600080fd5b8151611f6b81611f72565b600181811c908216806124e857607f821691505b60208210810361250857634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561252057600080fd5b8151611f6b816120a3565b60006020828403121561253d57600080fd5b8151611f6b8161207f565b601f82111561137757600081815260208120601f850160051c8101602086101561256f5750805b601f850160051c820191505b81811015610f855782815560010161257b565b81516001600160401b038111156125a7576125a76120b1565b6125bb816125b584546124d4565b84612548565b602080601f8311600181146125f057600084156125d85750858301515b600019600386901b1c1916600185901b178555610f85565b600085815260208120601f198616915b8281101561261f57888601518255948401946001909101908401612600565b508582101561263d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6060815260006126606060830187611fc8565b8281036020848101919091528582528691810160005b878110156126a3576001600160e01b031961269085611f33565b1682529282019290820190600101612676565b508093505050506001600160401b038316604083015295945050505050565b6001600160a01b038316815260406020820181905260009061207790830184611fc8565b6001600160401b039290921682526001600160a01b0316602082015260400190565b60006020828403121561271a57600080fd5b5051919050565b634e487b7160e01b600052600160045260246000fd5b60006020828403121561274957600080fd5b8151611f6b81612094565b6040815260006127676040830185611fc8565b82810360208401526127798185611fc8565b95945050505050565b6000806040838503121561279557600080fd5b82516127a081612208565b602084015190925061234f81612208565b600080858511156127c157600080fd5b838611156127ce57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156128035780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60006020828403121561285d57600080fd5b8151611f6b81612208565b6000825161287a818460208701611fa4565b9190910192915050565b6000806040838503121561289757600080fd5b82516128a2816120a3565b602084015190925063ffffffff8116811461234f57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220fbce823de3502cdc73924bcbba67c03f492489a47582e7e78d8f1bca68ef653464736f6c63430008140033",
850
+ "bytecode": "0x608060405234801561001057600080fd5b5061247f806100206000396000f3fe608060405234801561001057600080fd5b506004361061021c5760003560e01c80637a9e5e4b11610125578063bf7e214f116100ad578063d4cda0d81161007c578063d4cda0d8146104e9578063e52ba1cb146104fa578063e7f7fb861461050d578063f7bc431c14610520578063f7c34ee01461053357600080fd5b8063bf7e214f14610480578063cc2a9a5b14610488578063cde749f41461049b578063d2192dbf146104b557600080fd5b8063ada9652e116100f4578063ada9652e14610424578063b428b0b014610439578063b7d2b1621461044c578063b7d685191461045a578063bb1e0e591461046d57600080fd5b80637a9e5e4b146103da57806386892313146103ed578063893d20e8146103fb5780638fb360371461040357600080fd5b80632d764ef8116101a85780635ab1bd53116101775780635ab1bd53146103745780635fa8aad41461038557806361f5f42014610398578063644c45e0146103a9578063675393bf146103c757600080fd5b80632d764ef814610335578063311adb681461034857806336fc697e146103595780634f8b8aba1461036157600080fd5b80631eff4b22116101ef5780631eff4b22146102bd578063214cdb80146102f25780632781d4431461030757806327bb7a331461030f57806329db8c3d1461032257600080fd5b806301ffc9a71461022157806302cd3071146102635780630fec111c14610288578063138461e01461029d575b600080fd5b61024e61022f366004611b62565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6004546001600160a01b03165b6040516001600160a01b03909116815260200161025a565b610290610546565b60405161025a9190611be3565b6102a561070a565b6040516001600160601b03909116815260200161025a565b6102e47f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161025a565b610305610300366004611b62565b61071a565b005b6102e4600381565b61030561031d366004611d41565b610747565b610305610330366004611e26565b6107ec565b610305610343366004611ed1565b610832565b6003546001600160a01b0316610270565b6103056108d5565b61030561036f366004611ef8565b61091b565b6001546001600160a01b0316610270565b610305610393366004611f15565b6109c8565b6005546001600160a01b0316610270565b60008051602061240a833981519152546001600160601b03166102a5565b6103056103d5366004611f65565b610a07565b6103056103e8366004611f65565b610b13565b610305610393366004611f82565b610270610b96565b61040b610ccd565b6040516001600160e01b0319909116815260200161025a565b6102e460008051602061240a83398151915281565b610305610447366004611fbb565b610d05565b610305610393366004611fbb565b610305610468366004611fe7565b610d82565b61030561047b366004612000565b610dee565b610270610e78565b61030561049636600461202c565b610e94565b6104a3611348565b60405160ff909116815260200161025a565b6104c86104c33660046120ae565b6113bf565b6040805167ffffffffffffffff93841681529290911660208301520161025a565b6006546001600160a01b0316610270565b6102a5610508366004611ef8565b611404565b61030561051b366004612108565b6114c0565b61030561052e366004611f65565b61154f565b610305610541366004612149565b611612565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061e9190612167565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610666610b96565b6001600160a01b0316815260200182600101805461068390612184565b80601f01602080910402602001604051908101604052809291908181526020018280546106af90612184565b80156106fc5780601f106106d1576101008083540402835291602001916106fc565b820191906000526020600020905b8154815290600101906020018083116106df57829003601f168201915b505050505081525091505090565b600061071530611689565b905090565b61072261188a565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61074f61188a565b6107598287611612565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016107e28382612204565b5050505050505050565b6107f4610b96565b6001600160a01b0316336001600160a01b03161461082c5760405163086391f760e31b81523360048201526024015b60405180910390fd5b50505050565b61083a610b96565b6001600160a01b0316336001600160a01b03161461086d5760405163086391f760e31b8152336004820152602401610823565b6002546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024015b600060405180830381600087803b1580156108ba57600080fd5b505af11580156108ce573d6000803e3d6000fd5b5050505050565b6108dd61188a565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610923610b96565b6001600160a01b0316336001600160a01b0316146109565760405163086391f760e31b8152336004820152602401610823565b60025460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b600060405180830381600087803b1580156109ac57600080fd5b505af11580156109c0573d6000803e3d6000fd5b505050505050565b6109d0610b96565b6001600160a01b0316336001600160a01b031614610a035760405163086391f760e31b8152336004820152602401610823565b5050565b610a0f61188a565b806001600160a01b03163b600003610a455760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610823565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526311da029b60e01b60048201526301ffc9a790602401602060405180830381865afa925050508015610abf575060408051601f3d908101601f19168201909252610abc918101906122c4565b60015b610ae75760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610823565b80610a035760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610823565b50565b33610b1c610e78565b6001600160a01b0316816001600160a01b031614610b575760405162d1953b60e31b81526001600160a01b0382166004820152602401610823565b816001600160a01b03163b600003610b8d576040516361798f2f60e11b81526001600160a01b0383166004820152602401610823565b610a03826118d5565b60008060008051602061240a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2a91906122c4565b15610cb7576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610c8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb191906122e1565b91505090565b54600160601b90046001600160a01b0316919050565b60008051602061242a833981519152805460009190600160a01b900460ff16610cf7576000610cb1565b638fb3603760e01b91505090565b610d0d610b96565b6001600160a01b0316336001600160a01b031614610d405760405163086391f760e31b8152336004820152602401610823565b600354604051630b428b0b60e41b815267ffffffffffffffff841660048201526001600160a01b0383811660248301529091169063b428b0b090604401610992565b610d8a610b96565b6001600160a01b0316336001600160a01b031614610dbd5760405163086391f760e31b8152336004820152602401610823565b60025460405163b7d6851960e01b8152600481018390526001600160a01b039091169063b7d68519906024016108a0565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5b91906122e1565b6001600160a01b0316336001600160a01b031614610a0357600080fd5b60008051602061242a833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610eda5750825b905060008267ffffffffffffffff166001148015610ef75750303b155b905081158015610f05575080155b15610f235760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f4d57845460ff60401b1916600160401b1785555b600380546001600160a01b0319166001600160a01b038d169081179091556040805163bf7e214f60e01b815290516000929163bf7e214f9160048083019260209291908290030181865afa158015610fa9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fcd91906122e1565b6001600160a01b031603610ff4576040516377dbcd1760e01b815260040160405180910390fd5b6003546040805163bf7e214f60e01b81529051611068926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa15801561103f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106391906122e1565b611936565b6110e887886001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ce9190612167565b600a60018a60405180602001604052806000815250610747565b600680546001600160a01b03808d166001600160a01b03199283168117909355600580548d831690841617905560048054918c16919092161781556040805163204a7f0760e21b81529051638129fc1c9282810192600092919082900301818387803b15801561115757600080fd5b505af115801561116b573d6000803e3d6000fd5b50505050600560009054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156111bf57600080fd5b505af11580156111d3573d6000803e3d6000fd5b5050600480546040805163204a7f0760e21b815290516001600160a01b039092169450638129fc1c9350808301926000929182900301818387803b15801561121a57600080fd5b505af115801561122e573d6000803e3d6000fd5b505050506112446001546001600160a01b031690565b6001600160a01b031663d39e6043600a61125c611348565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156112a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c591906122e1565b600280546001600160a01b0319166001600160a01b03929092169190911790556112f5632d089f8960e11b61071a565b831561133b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b604051632392b61b60e21b81526003600482015260009073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561139b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071591906122fe565b6000806113ca610b96565b6001600160a01b0316336001600160a01b0316146113fd5760405163086391f760e31b8152336004820152602401610823565b9250929050565b600061140e610b96565b6001600160a01b0316336001600160a01b0316146114415760405163086391f760e31b8152336004820152602401610823565b60025460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb906024016020604051808303816000875af1158015611494573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b89190612167565b90505b919050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611509573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152d91906122e1565b6001600160a01b0316336001600160a01b03161461154a57600080fd5b505050565b61155b33600036611947565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c791906122e1565b6001600160a01b0316146115f0576040516345789cf560e01b8152306004820152602401610823565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b61161a61188a565b61162381610a07565b61162b6108d5565b6001600160a01b0382166116525760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061240a83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60008060008051602061240a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156116f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171d91906122c4565b156117495780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610823565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561179d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c191906122c4565b6117e95760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610823565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa15801561183d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118619190612167565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166118d357604051631afcd79f60e31b815260040160405180910390fd5b565b60008051602061242a83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61193e61188a565b610b1081611a45565b60008051602061242a833981519152600080611982611964610e78565b8730611974600460008a8c61231b565b61197d91612345565b611a56565b91509150816109c05763ffffffff811615611a2257825460ff60a01b1916600160a01b1783556119b0610e78565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016119df93929190612375565b600060405180830381600087803b1580156119f957600080fd5b505af1158015611a0d573d6000803e3d6000fd5b5050845460ff60a01b19168555506109c09050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610823565b611a4d61188a565b610b10816118d5565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611ac591906123b5565b600060405180830381855afa9150503d8060008114611b00576040519150601f19603f3d011682016040523d82523d6000602084013e611b05565b606091505b50915091508115611b57576040815110611b375780806020019051810190611b2d91906123d1565b9094509250611b57565b6020815110611b575780806020019051810190611b5491906122c4565b93505b505094509492505050565b600060208284031215611b7457600080fd5b81356001600160e01b031981168114611b8c57600080fd5b9392505050565b60005b83811015611bae578181015183820152602001611b96565b50506000910152565b60008151808452611bcf816020860160208601611b93565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151611c4c60c08401826001600160a01b03169052565b5060c083015160e080840152611c66610100840182611bb7565b949350505050565b6001600160a01b0381168114610b1057600080fd5b6001600160601b0381168114610b1057600080fd5b60ff81168114610b1057600080fd5b8015158114610b1057600080fd5b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611ce657611ce6611cb5565b604051601f8501601f19908116603f01168101908282118183101715611d0e57611d0e611cb5565b81604052809350858152868686011115611d2757600080fd5b858560208301376000602087830101525050509392505050565b60008060008060008060c08789031215611d5a57600080fd5b8635611d6581611c6e565b95506020870135611d7581611c83565b94506040870135611d8581611c98565b93506060870135611d9581611ca7565b92506080870135611da581611c6e565b915060a087013567ffffffffffffffff811115611dc157600080fd5b8701601f81018913611dd257600080fd5b611de189823560208401611ccb565b9150509295509295509295565b600082601f830112611dff57600080fd5b611b8c83833560208501611ccb565b803567ffffffffffffffff811681146114bb57600080fd5b60008060008060608587031215611e3c57600080fd5b843567ffffffffffffffff80821115611e5457600080fd5b611e6088838901611dee565b95506020870135915080821115611e7657600080fd5b818701915087601f830112611e8a57600080fd5b813581811115611e9957600080fd5b8860208260051b8501011115611eae57600080fd5b602083019550809450505050611ec660408601611e0e565b905092959194509250565b600060208284031215611ee357600080fd5b813564ffffffffff81168114611b8c57600080fd5b600060208284031215611f0a57600080fd5b8135611b8c81611c83565b60008060408385031215611f2857600080fd5b8235611f3381611c6e565b9150602083013567ffffffffffffffff811115611f4f57600080fd5b611f5b85828601611dee565b9150509250929050565b600060208284031215611f7757600080fd5b8135611b8c81611c6e565b60008060408385031215611f9557600080fd5b8235611fa081611c6e565b91506020830135611fb081611ca7565b809150509250929050565b60008060408385031215611fce57600080fd5b611fd783611e0e565b91506020830135611fb081611c6e565b600060208284031215611ff957600080fd5b5035919050565b6000806040838503121561201357600080fd5b823561201e81611c6e565b946020939093013593505050565b60008060008060008060c0878903121561204557600080fd5b863561205081611c6e565b9550602087013561206081611c6e565b9450604087013561207081611c6e565b9350606087013561208081611c6e565b9250608087013561209081611c6e565b915060a08701356120a081611c6e565b809150509295509295509295565b600080604083850312156120c157600080fd5b823567ffffffffffffffff808211156120d957600080fd5b6120e586838701611dee565b935060208501359150808211156120fb57600080fd5b50611f5b85828601611dee565b60008060006060848603121561211d57600080fd5b833561212881611c6e565b9250602084013561213881611c6e565b929592945050506040919091013590565b6000806040838503121561215c57600080fd5b8235611fd781611c6e565b60006020828403121561217957600080fd5b8151611b8c81611c83565b600181811c9082168061219857607f821691505b6020821081036121b857634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561154a57600081815260208120601f850160051c810160208610156121e55750805b601f850160051c820191505b818110156109c0578281556001016121f1565b815167ffffffffffffffff81111561221e5761221e611cb5565b6122328161222c8454612184565b846121be565b602080601f831160018114612267576000841561224f5750858301515b600019600386901b1c1916600185901b1785556109c0565b600085815260208120601f198616915b8281101561229657888601518255948401946001909101908401612277565b50858210156122b45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156122d657600080fd5b8151611b8c81611ca7565b6000602082840312156122f357600080fd5b8151611b8c81611c6e565b60006020828403121561231057600080fd5b8151611b8c81611c98565b6000808585111561232b57600080fd5b8386111561233857600080fd5b5050820193919092039150565b6001600160e01b0319813581811691600485101561236d5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082516123c7818460208701611b93565b9190910192915050565b600080604083850312156123e457600080fd5b82516123ef81611ca7565b602084015190925063ffffffff81168114611fb057600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220c3a2a67512150d9d4dbe19041495620afe45b8af081cca3e1fb7374ba6575be464736f6c63430008140033",
851
+ "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061021c5760003560e01c80637a9e5e4b11610125578063bf7e214f116100ad578063d4cda0d81161007c578063d4cda0d8146104e9578063e52ba1cb146104fa578063e7f7fb861461050d578063f7bc431c14610520578063f7c34ee01461053357600080fd5b8063bf7e214f14610480578063cc2a9a5b14610488578063cde749f41461049b578063d2192dbf146104b557600080fd5b8063ada9652e116100f4578063ada9652e14610424578063b428b0b014610439578063b7d2b1621461044c578063b7d685191461045a578063bb1e0e591461046d57600080fd5b80637a9e5e4b146103da57806386892313146103ed578063893d20e8146103fb5780638fb360371461040357600080fd5b80632d764ef8116101a85780635ab1bd53116101775780635ab1bd53146103745780635fa8aad41461038557806361f5f42014610398578063644c45e0146103a9578063675393bf146103c757600080fd5b80632d764ef814610335578063311adb681461034857806336fc697e146103595780634f8b8aba1461036157600080fd5b80631eff4b22116101ef5780631eff4b22146102bd578063214cdb80146102f25780632781d4431461030757806327bb7a331461030f57806329db8c3d1461032257600080fd5b806301ffc9a71461022157806302cd3071146102635780630fec111c14610288578063138461e01461029d575b600080fd5b61024e61022f366004611b62565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6004546001600160a01b03165b6040516001600160a01b03909116815260200161025a565b610290610546565b60405161025a9190611be3565b6102a561070a565b6040516001600160601b03909116815260200161025a565b6102e47f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161025a565b610305610300366004611b62565b61071a565b005b6102e4600381565b61030561031d366004611d41565b610747565b610305610330366004611e26565b6107ec565b610305610343366004611ed1565b610832565b6003546001600160a01b0316610270565b6103056108d5565b61030561036f366004611ef8565b61091b565b6001546001600160a01b0316610270565b610305610393366004611f15565b6109c8565b6005546001600160a01b0316610270565b60008051602061240a833981519152546001600160601b03166102a5565b6103056103d5366004611f65565b610a07565b6103056103e8366004611f65565b610b13565b610305610393366004611f82565b610270610b96565b61040b610ccd565b6040516001600160e01b0319909116815260200161025a565b6102e460008051602061240a83398151915281565b610305610447366004611fbb565b610d05565b610305610393366004611fbb565b610305610468366004611fe7565b610d82565b61030561047b366004612000565b610dee565b610270610e78565b61030561049636600461202c565b610e94565b6104a3611348565b60405160ff909116815260200161025a565b6104c86104c33660046120ae565b6113bf565b6040805167ffffffffffffffff93841681529290911660208301520161025a565b6006546001600160a01b0316610270565b6102a5610508366004611ef8565b611404565b61030561051b366004612108565b6114c0565b61030561052e366004611f65565b61154f565b610305610541366004612149565b611612565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061e9190612167565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610666610b96565b6001600160a01b0316815260200182600101805461068390612184565b80601f01602080910402602001604051908101604052809291908181526020018280546106af90612184565b80156106fc5780601f106106d1576101008083540402835291602001916106fc565b820191906000526020600020905b8154815290600101906020018083116106df57829003601f168201915b505050505081525091505090565b600061071530611689565b905090565b61072261188a565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61074f61188a565b6107598287611612565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016107e28382612204565b5050505050505050565b6107f4610b96565b6001600160a01b0316336001600160a01b03161461082c5760405163086391f760e31b81523360048201526024015b60405180910390fd5b50505050565b61083a610b96565b6001600160a01b0316336001600160a01b03161461086d5760405163086391f760e31b8152336004820152602401610823565b6002546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024015b600060405180830381600087803b1580156108ba57600080fd5b505af11580156108ce573d6000803e3d6000fd5b5050505050565b6108dd61188a565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610923610b96565b6001600160a01b0316336001600160a01b0316146109565760405163086391f760e31b8152336004820152602401610823565b60025460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b600060405180830381600087803b1580156109ac57600080fd5b505af11580156109c0573d6000803e3d6000fd5b505050505050565b6109d0610b96565b6001600160a01b0316336001600160a01b031614610a035760405163086391f760e31b8152336004820152602401610823565b5050565b610a0f61188a565b806001600160a01b03163b600003610a455760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610823565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526311da029b60e01b60048201526301ffc9a790602401602060405180830381865afa925050508015610abf575060408051601f3d908101601f19168201909252610abc918101906122c4565b60015b610ae75760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610823565b80610a035760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610823565b50565b33610b1c610e78565b6001600160a01b0316816001600160a01b031614610b575760405162d1953b60e31b81526001600160a01b0382166004820152602401610823565b816001600160a01b03163b600003610b8d576040516361798f2f60e11b81526001600160a01b0383166004820152602401610823565b610a03826118d5565b60008060008051602061240a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2a91906122c4565b15610cb7576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610c8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb191906122e1565b91505090565b54600160601b90046001600160a01b0316919050565b60008051602061242a833981519152805460009190600160a01b900460ff16610cf7576000610cb1565b638fb3603760e01b91505090565b610d0d610b96565b6001600160a01b0316336001600160a01b031614610d405760405163086391f760e31b8152336004820152602401610823565b600354604051630b428b0b60e41b815267ffffffffffffffff841660048201526001600160a01b0383811660248301529091169063b428b0b090604401610992565b610d8a610b96565b6001600160a01b0316336001600160a01b031614610dbd5760405163086391f760e31b8152336004820152602401610823565b60025460405163b7d6851960e01b8152600481018390526001600160a01b039091169063b7d68519906024016108a0565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5b91906122e1565b6001600160a01b0316336001600160a01b031614610a0357600080fd5b60008051602061242a833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610eda5750825b905060008267ffffffffffffffff166001148015610ef75750303b155b905081158015610f05575080155b15610f235760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f4d57845460ff60401b1916600160401b1785555b600380546001600160a01b0319166001600160a01b038d169081179091556040805163bf7e214f60e01b815290516000929163bf7e214f9160048083019260209291908290030181865afa158015610fa9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fcd91906122e1565b6001600160a01b031603610ff4576040516377dbcd1760e01b815260040160405180910390fd5b6003546040805163bf7e214f60e01b81529051611068926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa15801561103f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106391906122e1565b611936565b6110e887886001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ce9190612167565b600a60018a60405180602001604052806000815250610747565b600680546001600160a01b03808d166001600160a01b03199283168117909355600580548d831690841617905560048054918c16919092161781556040805163204a7f0760e21b81529051638129fc1c9282810192600092919082900301818387803b15801561115757600080fd5b505af115801561116b573d6000803e3d6000fd5b50505050600560009054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156111bf57600080fd5b505af11580156111d3573d6000803e3d6000fd5b5050600480546040805163204a7f0760e21b815290516001600160a01b039092169450638129fc1c9350808301926000929182900301818387803b15801561121a57600080fd5b505af115801561122e573d6000803e3d6000fd5b505050506112446001546001600160a01b031690565b6001600160a01b031663d39e6043600a61125c611348565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156112a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112c591906122e1565b600280546001600160a01b0319166001600160a01b03929092169190911790556112f5632d089f8960e11b61071a565b831561133b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b604051632392b61b60e21b81526003600482015260009073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561139b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071591906122fe565b6000806113ca610b96565b6001600160a01b0316336001600160a01b0316146113fd5760405163086391f760e31b8152336004820152602401610823565b9250929050565b600061140e610b96565b6001600160a01b0316336001600160a01b0316146114415760405163086391f760e31b8152336004820152602401610823565b60025460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb906024016020604051808303816000875af1158015611494573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b89190612167565b90505b919050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611509573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152d91906122e1565b6001600160a01b0316336001600160a01b03161461154a57600080fd5b505050565b61155b33600036611947565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c791906122e1565b6001600160a01b0316146115f0576040516345789cf560e01b8152306004820152602401610823565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b61161a61188a565b61162381610a07565b61162b6108d5565b6001600160a01b0382166116525760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061240a83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60008060008051602061240a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156116f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171d91906122c4565b156117495780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610823565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561179d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c191906122c4565b6117e95760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610823565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa15801561183d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118619190612167565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166118d357604051631afcd79f60e31b815260040160405180910390fd5b565b60008051602061242a83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61193e61188a565b610b1081611a45565b60008051602061242a833981519152600080611982611964610e78565b8730611974600460008a8c61231b565b61197d91612345565b611a56565b91509150816109c05763ffffffff811615611a2257825460ff60a01b1916600160a01b1783556119b0610e78565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016119df93929190612375565b600060405180830381600087803b1580156119f957600080fd5b505af1158015611a0d573d6000803e3d6000fd5b5050845460ff60a01b19168555506109c09050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610823565b611a4d61188a565b610b10816118d5565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611ac591906123b5565b600060405180830381855afa9150503d8060008114611b00576040519150601f19603f3d011682016040523d82523d6000602084013e611b05565b606091505b50915091508115611b57576040815110611b375780806020019051810190611b2d91906123d1565b9094509250611b57565b6020815110611b575780806020019051810190611b5491906122c4565b93505b505094509492505050565b600060208284031215611b7457600080fd5b81356001600160e01b031981168114611b8c57600080fd5b9392505050565b60005b83811015611bae578181015183820152602001611b96565b50506000910152565b60008151808452611bcf816020860160208601611b93565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151611c4c60c08401826001600160a01b03169052565b5060c083015160e080840152611c66610100840182611bb7565b949350505050565b6001600160a01b0381168114610b1057600080fd5b6001600160601b0381168114610b1057600080fd5b60ff81168114610b1057600080fd5b8015158114610b1057600080fd5b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611ce657611ce6611cb5565b604051601f8501601f19908116603f01168101908282118183101715611d0e57611d0e611cb5565b81604052809350858152868686011115611d2757600080fd5b858560208301376000602087830101525050509392505050565b60008060008060008060c08789031215611d5a57600080fd5b8635611d6581611c6e565b95506020870135611d7581611c83565b94506040870135611d8581611c98565b93506060870135611d9581611ca7565b92506080870135611da581611c6e565b915060a087013567ffffffffffffffff811115611dc157600080fd5b8701601f81018913611dd257600080fd5b611de189823560208401611ccb565b9150509295509295509295565b600082601f830112611dff57600080fd5b611b8c83833560208501611ccb565b803567ffffffffffffffff811681146114bb57600080fd5b60008060008060608587031215611e3c57600080fd5b843567ffffffffffffffff80821115611e5457600080fd5b611e6088838901611dee565b95506020870135915080821115611e7657600080fd5b818701915087601f830112611e8a57600080fd5b813581811115611e9957600080fd5b8860208260051b8501011115611eae57600080fd5b602083019550809450505050611ec660408601611e0e565b905092959194509250565b600060208284031215611ee357600080fd5b813564ffffffffff81168114611b8c57600080fd5b600060208284031215611f0a57600080fd5b8135611b8c81611c83565b60008060408385031215611f2857600080fd5b8235611f3381611c6e565b9150602083013567ffffffffffffffff811115611f4f57600080fd5b611f5b85828601611dee565b9150509250929050565b600060208284031215611f7757600080fd5b8135611b8c81611c6e565b60008060408385031215611f9557600080fd5b8235611fa081611c6e565b91506020830135611fb081611ca7565b809150509250929050565b60008060408385031215611fce57600080fd5b611fd783611e0e565b91506020830135611fb081611c6e565b600060208284031215611ff957600080fd5b5035919050565b6000806040838503121561201357600080fd5b823561201e81611c6e565b946020939093013593505050565b60008060008060008060c0878903121561204557600080fd5b863561205081611c6e565b9550602087013561206081611c6e565b9450604087013561207081611c6e565b9350606087013561208081611c6e565b9250608087013561209081611c6e565b915060a08701356120a081611c6e565b809150509295509295509295565b600080604083850312156120c157600080fd5b823567ffffffffffffffff808211156120d957600080fd5b6120e586838701611dee565b935060208501359150808211156120fb57600080fd5b50611f5b85828601611dee565b60008060006060848603121561211d57600080fd5b833561212881611c6e565b9250602084013561213881611c6e565b929592945050506040919091013590565b6000806040838503121561215c57600080fd5b8235611fd781611c6e565b60006020828403121561217957600080fd5b8151611b8c81611c83565b600181811c9082168061219857607f821691505b6020821081036121b857634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561154a57600081815260208120601f850160051c810160208610156121e55750805b601f850160051c820191505b818110156109c0578281556001016121f1565b815167ffffffffffffffff81111561221e5761221e611cb5565b6122328161222c8454612184565b846121be565b602080601f831160018114612267576000841561224f5750858301515b600019600386901b1c1916600185901b1785556109c0565b600085815260208120601f198616915b8281101561229657888601518255948401946001909101908401612277565b50858210156122b45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156122d657600080fd5b8151611b8c81611ca7565b6000602082840312156122f357600080fd5b8151611b8c81611c6e565b60006020828403121561231057600080fd5b8151611b8c81611c98565b6000808585111561232b57600080fd5b8386111561233857600080fd5b5050820193919092039150565b6001600160e01b0319813581811691600485101561236d5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082516123c7818460208701611b93565b9190910192915050565b600080604083850312156123e457600080fd5b82516123ef81611ca7565b602084015190925063ffffffff81168114611fb057600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220c3a2a67512150d9d4dbe19041495620afe45b8af081cca3e1fb7374ba6575be464736f6c63430008140033",
859
852
  "linkReferences": {
860
- "contracts/types/NftId.sol": {
853
+ "contracts/type/NftId.sol": {
861
854
  "NftIdLib": [
862
855
  {
863
856
  "length": 20,
864
- "start": 2180
857
+ "start": 1491
865
858
  },
866
859
  {
867
860
  "length": 20,
868
- "start": 4576
869
- }
870
- ]
871
- },
872
- "contracts/types/RoleId.sol": {
873
- "RoleIdLib": [
861
+ "start": 3052
862
+ },
874
863
  {
875
864
  "length": 20,
876
- "start": 7623
865
+ "start": 5855
877
866
  }
878
867
  ]
879
868
  },
880
- "contracts/types/Version.sol": {
869
+ "contracts/type/Version.sol": {
881
870
  "VersionPartLib": [
882
871
  {
883
872
  "length": 20,
884
- "start": 6013
873
+ "start": 4993
885
874
  }
886
875
  ]
887
876
  }
888
877
  },
889
878
  "deployedLinkReferences": {
890
- "contracts/types/NftId.sol": {
879
+ "contracts/type/NftId.sol": {
891
880
  "NftIdLib": [
892
881
  {
893
882
  "length": 20,
894
- "start": 2148
883
+ "start": 1459
895
884
  },
896
885
  {
897
886
  "length": 20,
898
- "start": 4544
899
- }
900
- ]
901
- },
902
- "contracts/types/RoleId.sol": {
903
- "RoleIdLib": [
887
+ "start": 3020
888
+ },
904
889
  {
905
890
  "length": 20,
906
- "start": 7591
891
+ "start": 5823
907
892
  }
908
893
  ]
909
894
  },
910
- "contracts/types/Version.sol": {
895
+ "contracts/type/Version.sol": {
911
896
  "VersionPartLib": [
912
897
  {
913
898
  "length": 20,
914
- "start": 5981
899
+ "start": 4961
915
900
  }
916
901
  ]
917
902
  }