@etherisc/gif-next 0.0.2-f080b71-868 → 0.0.2-f083368-470

Sign up to get free protection for your applications and to get access to all the features.
Files changed (638) hide show
  1. package/README.md +32 -3
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1253 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/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 +1548 -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/{components → distribution}/Distribution.sol/Distribution.json +233 -328
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1557 -0
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +854 -0
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  33. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +213 -239
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +177 -103
  36. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  37. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  38. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  39. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +162 -83
  40. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  41. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +188 -85
  42. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  43. package/artifacts/contracts/instance/Instance.sol/Instance.json +155 -170
  44. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  45. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1626 -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 +818 -387
  50. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +277 -181
  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 +1465 -561
  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/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.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 +1185 -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} +190 -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 +1093 -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} +297 -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 +1300 -0
  97. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  98. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +786 -0
  99. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  100. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +172 -47
  101. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  102. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +228 -290
  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 +1312 -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/product/BasicProduct.sol/BasicProduct.json +1318 -0
  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 +985 -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 +1017 -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 +396 -287
  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 +182 -28
  153. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  154. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +199 -125
  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 +443 -43
  158. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  159. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1746 -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/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  167. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1159 -0
  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 +1696 -0
  176. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  177. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +812 -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 +1033 -0
  186. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  187. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +737 -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/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  203. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  204. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  205. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1015 -0
  206. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  207. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
  208. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  209. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +133 -0
  210. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  211. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  212. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  213. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +15 -22
  214. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  215. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +98 -26
  216. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  217. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +23 -22
  218. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  219. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  220. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  221. package/artifacts/contracts/shared/Service.sol/Service.json +17 -6
  222. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  223. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
  224. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  225. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  226. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  227. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  228. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  229. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +470 -0
  230. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  231. package/artifacts/contracts/staking/Staking.sol/Staking.json +2005 -0
  232. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  233. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  234. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  235. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +761 -0
  236. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  237. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  238. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  239. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1343 -0
  240. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  241. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +718 -0
  242. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  243. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2242 -0
  244. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  245. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +576 -0
  246. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  247. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  248. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  249. package/artifacts/contracts/type/Amount.sol/AmountLib.json +374 -0
  250. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  251. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  252. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  253. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  254. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  255. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  256. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  257. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  258. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  259. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  260. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  261. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  262. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  263. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  264. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  265. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  266. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  267. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  268. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  269. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  270. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  271. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  272. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  273. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +86 -0
  274. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  275. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  276. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  277. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
  278. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  279. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  280. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  281. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  282. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  283. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  284. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  285. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  286. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  287. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +33 -7
  288. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
  290. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +535 -0
  292. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  293. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  294. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  295. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  296. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  297. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  298. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  299. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +617 -0
  300. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  301. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  302. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  303. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  304. package/contracts/authorization/AccessAdmin.sol +591 -0
  305. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  306. package/contracts/authorization/Authorization.sol +218 -0
  307. package/contracts/authorization/IAccess.sol +48 -0
  308. package/contracts/authorization/IAccessAdmin.sol +136 -0
  309. package/contracts/authorization/IAuthorization.sol +54 -0
  310. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  311. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  312. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  313. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  314. package/contracts/distribution/BasicDistribution.sol +149 -0
  315. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  316. package/contracts/{components → distribution}/Distribution.sol +178 -157
  317. package/contracts/distribution/DistributionService.sol +337 -0
  318. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  319. package/contracts/distribution/IDistributionComponent.sol +52 -0
  320. package/contracts/{instance/service → distribution}/IDistributionService.sol +36 -24
  321. package/contracts/instance/{BundleManager.sol → BundleSet.sol} +30 -31
  322. package/contracts/instance/IInstance.sol +50 -24
  323. package/contracts/instance/IInstanceService.sol +49 -41
  324. package/contracts/instance/Instance.sol +137 -110
  325. package/contracts/instance/InstanceAdmin.sol +266 -0
  326. package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
  327. package/contracts/instance/InstanceReader.sol +164 -58
  328. package/contracts/instance/InstanceService.sol +285 -162
  329. package/contracts/instance/InstanceServiceManager.sol +12 -26
  330. package/contracts/instance/InstanceStore.sol +155 -97
  331. package/contracts/instance/base/BalanceStore.sol +123 -0
  332. package/contracts/instance/base/Cloneable.sol +28 -0
  333. package/contracts/instance/base/ObjectCounter.sol +21 -0
  334. package/contracts/instance/base/ObjectLifecycle.sol +106 -0
  335. package/contracts/instance/{ObjectManager.sol → base/ObjectSet.sol} +18 -21
  336. package/contracts/instance/module/IAccess.sol +4 -12
  337. package/contracts/instance/module/IBundle.sol +6 -9
  338. package/contracts/instance/module/IComponents.sol +20 -10
  339. package/contracts/instance/module/IDistribution.sol +6 -6
  340. package/contracts/instance/module/IPolicy.sol +28 -16
  341. package/contracts/instance/module/IRisk.sol +1 -1
  342. package/contracts/{test/Usdc.sol → mock/Dip.sol} +5 -5
  343. package/contracts/oracle/BasicOracle.sol +48 -0
  344. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  345. package/contracts/oracle/IOracle.sol +36 -0
  346. package/contracts/oracle/IOracleComponent.sol +33 -0
  347. package/contracts/oracle/IOracleService.sol +65 -0
  348. package/contracts/oracle/Oracle.sol +170 -0
  349. package/contracts/oracle/OracleService.sol +278 -0
  350. package/contracts/oracle/OracleServiceManager.sol +39 -0
  351. package/contracts/pool/BasicPool.sol +164 -0
  352. package/contracts/pool/BasicPoolAuthorization.sol +55 -0
  353. package/contracts/pool/BundleService.sol +341 -0
  354. package/contracts/pool/BundleServiceManager.sol +39 -0
  355. package/contracts/{instance/service → pool}/IBundleService.sol +47 -21
  356. package/contracts/pool/IPoolComponent.sol +58 -0
  357. package/contracts/{instance/service → pool}/IPoolService.sol +72 -21
  358. package/contracts/pool/Pool.sol +328 -0
  359. package/contracts/pool/PoolService.sol +434 -0
  360. package/contracts/pool/PoolServiceManager.sol +39 -0
  361. package/contracts/product/ApplicationService.sol +230 -0
  362. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +11 -8
  363. package/contracts/product/BasicProduct.sol +82 -0
  364. package/contracts/product/BasicProductAuthorization.sol +43 -0
  365. package/contracts/product/ClaimService.sol +417 -0
  366. package/contracts/{instance/service → product}/ClaimServiceManager.sol +11 -8
  367. package/contracts/{instance/service → product}/IApplicationService.sol +15 -17
  368. package/contracts/product/IClaimService.sol +99 -0
  369. package/contracts/{instance/service → product}/IPolicyService.sol +37 -33
  370. package/contracts/{instance/service → product}/IPricingService.sol +14 -11
  371. package/contracts/product/IProductComponent.sol +40 -0
  372. package/contracts/product/IProductService.sol +33 -0
  373. package/contracts/product/PolicyService.sol +476 -0
  374. package/contracts/product/PolicyServiceManager.sol +39 -0
  375. package/contracts/{instance/service → product}/PricingService.sol +110 -85
  376. package/contracts/product/PricingServiceManager.sol +39 -0
  377. package/contracts/{components → product}/Product.sol +210 -114
  378. package/contracts/product/ProductService.sol +99 -0
  379. package/contracts/product/ProductServiceManager.sol +39 -0
  380. package/contracts/registry/ChainNft.sol +8 -1
  381. package/contracts/registry/IRegistry.sol +59 -26
  382. package/contracts/registry/IRegistryService.sol +42 -41
  383. package/contracts/registry/Registry.sol +234 -125
  384. package/contracts/registry/RegistryAdmin.sol +365 -0
  385. package/contracts/registry/RegistryService.sol +69 -103
  386. package/contracts/registry/RegistryServiceManager.sol +23 -32
  387. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  388. package/contracts/registry/ReleaseRegistry.sol +487 -0
  389. package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
  390. package/contracts/registry/TokenRegistry.sol +261 -62
  391. package/contracts/shared/Component.sol +280 -0
  392. package/contracts/shared/ComponentService.sol +651 -0
  393. package/contracts/shared/ComponentServiceManager.sol +35 -0
  394. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  395. package/contracts/shared/ERC165.sol +1 -1
  396. package/contracts/{components → shared}/IComponent.sol +23 -29
  397. package/contracts/shared/IComponentService.sol +108 -0
  398. package/contracts/shared/IInstanceLinkedComponent.sol +56 -0
  399. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  400. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
  401. package/contracts/shared/INftOwnable.sol +2 -2
  402. package/contracts/shared/IPolicyHolder.sol +29 -10
  403. package/contracts/shared/IRegistryLinked.sol +0 -1
  404. package/contracts/shared/IService.sol +12 -3
  405. package/contracts/shared/InitializableCustom.sol +177 -0
  406. package/contracts/shared/InstanceLinkedComponent.sol +172 -0
  407. package/contracts/shared/KeyValueStore.sol +131 -0
  408. package/contracts/shared/Lifecycle.sol +77 -0
  409. package/contracts/shared/NftIdSet.sol +65 -0
  410. package/contracts/shared/NftOwnable.sol +3 -16
  411. package/contracts/shared/PolicyHolder.sol +40 -19
  412. package/contracts/shared/Registerable.sol +13 -12
  413. package/contracts/shared/RegistryLinked.sol +0 -5
  414. package/contracts/shared/Service.sol +32 -22
  415. package/contracts/shared/TokenHandler.sol +27 -2
  416. package/contracts/staking/IStaking.sol +167 -0
  417. package/contracts/staking/IStakingService.sol +160 -0
  418. package/contracts/staking/StakeManagerLib.sol +231 -0
  419. package/contracts/staking/Staking.sol +516 -0
  420. package/contracts/staking/StakingLifecycle.sol +23 -0
  421. package/contracts/staking/StakingManager.sol +50 -0
  422. package/contracts/staking/StakingReader.sol +183 -0
  423. package/contracts/staking/StakingService.sol +411 -0
  424. package/contracts/staking/StakingServiceManager.sol +44 -0
  425. package/contracts/staking/StakingStore.sol +605 -0
  426. package/contracts/staking/TargetManagerLib.sol +207 -0
  427. package/contracts/{types → type}/AddressSet.sol +1 -1
  428. package/contracts/type/Amount.sol +135 -0
  429. package/contracts/{types → type}/Blocknumber.sol +20 -3
  430. package/contracts/{types → type}/ClaimId.sol +25 -2
  431. package/contracts/{types → type}/Fee.sol +24 -22
  432. package/contracts/{types → type}/NftId.sol +14 -16
  433. package/contracts/{types → type}/NftIdSet.sol +2 -2
  434. package/contracts/type/ObjectType.sol +271 -0
  435. package/contracts/{types → type}/PayoutId.sol +33 -5
  436. package/contracts/{types → type}/Referral.sol +2 -1
  437. package/contracts/type/RequestId.sol +75 -0
  438. package/contracts/{types → type}/RiskId.sol +1 -1
  439. package/contracts/type/RoleId.sol +174 -0
  440. package/contracts/{types → type}/Seconds.sol +27 -0
  441. package/contracts/type/Selector.sol +102 -0
  442. package/contracts/{types → type}/StateId.sol +33 -4
  443. package/contracts/type/String.sol +53 -0
  444. package/contracts/{types → type}/Timestamp.sol +10 -1
  445. package/contracts/{types → type}/UFixed.sol +34 -9
  446. package/contracts/{types → type}/Version.sol +4 -2
  447. package/contracts/{shared → upgradeability}/IVersionable.sol +1 -1
  448. package/contracts/{shared → upgradeability}/ProxyManager.sol +36 -7
  449. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  450. package/contracts/{shared → upgradeability}/Versionable.sol +1 -1
  451. package/package.json +8 -5
  452. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  453. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  454. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  455. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  456. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  457. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  458. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  459. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  460. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  461. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  462. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  463. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  464. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  465. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  466. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  467. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  468. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -124
  469. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  470. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
  471. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  472. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  473. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  474. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  475. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  476. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  477. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  478. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  479. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  480. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  481. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  482. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -860
  483. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  484. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -641
  485. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  486. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1276
  487. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  488. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -717
  489. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  490. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -849
  491. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  492. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -641
  493. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  494. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1539
  495. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  496. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -769
  497. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  498. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  499. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  500. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  501. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  502. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  503. package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +0 -4
  504. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  505. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  506. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1166
  507. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  508. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -697
  509. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  510. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1269
  511. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  512. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -661
  513. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +0 -4
  514. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +0 -988
  515. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +0 -4
  516. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +0 -689
  517. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  518. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -872
  519. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  520. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -653
  521. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  522. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  523. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  524. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -559
  525. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  526. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  527. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  528. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  529. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
  530. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  531. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  532. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  533. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  534. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  535. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  536. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  537. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  538. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  539. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  540. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -596
  541. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  542. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  543. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  544. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  545. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  546. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  547. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  548. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  549. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  550. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  551. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
  552. package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -161
  553. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  554. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  555. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  556. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  557. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  558. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  559. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  560. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  561. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  562. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
  563. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  564. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  565. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  566. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  567. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  568. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  569. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  570. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  571. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  572. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  573. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  574. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  575. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  576. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
  577. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  578. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  579. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  580. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  581. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  582. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  583. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  584. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  585. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  586. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  587. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  588. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  589. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  590. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  591. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  592. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  593. package/contracts/components/Component.sol +0 -253
  594. package/contracts/components/IDistributionComponent.sol +0 -71
  595. package/contracts/components/IPoolComponent.sol +0 -113
  596. package/contracts/components/IProductComponent.sol +0 -40
  597. package/contracts/components/Pool.sol +0 -303
  598. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
  599. package/contracts/instance/Cloneable.sol +0 -51
  600. package/contracts/instance/InstanceAccessManager.sol +0 -540
  601. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -299
  602. package/contracts/instance/base/ComponentService.sol +0 -147
  603. package/contracts/instance/base/KeyValueStore.sol +0 -180
  604. package/contracts/instance/base/Lifecycle.sol +0 -109
  605. package/contracts/instance/module/ISetup.sol +0 -33
  606. package/contracts/instance/module/ITreasury.sol +0 -23
  607. package/contracts/instance/service/ApplicationService.sol +0 -183
  608. package/contracts/instance/service/BundleService.sol +0 -431
  609. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  610. package/contracts/instance/service/ClaimService.sol +0 -145
  611. package/contracts/instance/service/DistributionService.sol +0 -346
  612. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  613. package/contracts/instance/service/IClaimService.sol +0 -61
  614. package/contracts/instance/service/IProductService.sol +0 -40
  615. package/contracts/instance/service/PolicyService.sol +0 -376
  616. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  617. package/contracts/instance/service/PoolService.sol +0 -303
  618. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  619. package/contracts/instance/service/PricingServiceManager.sol +0 -51
  620. package/contracts/instance/service/ProductService.sol +0 -210
  621. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  622. package/contracts/registry/RegistryAccessManager.sol +0 -216
  623. package/contracts/registry/ReleaseManager.sol +0 -324
  624. package/contracts/shared/ContractDeployerLib.sol +0 -72
  625. package/contracts/test/TestFee.sol +0 -25
  626. package/contracts/test/TestRegisterable.sol +0 -18
  627. package/contracts/test/TestRoleId.sol +0 -14
  628. package/contracts/test/TestService.sol +0 -25
  629. package/contracts/test/TestToken.sol +0 -26
  630. package/contracts/test/TestVersion.sol +0 -44
  631. package/contracts/test/TestVersionable.sol +0 -17
  632. package/contracts/types/Amount.sol +0 -60
  633. package/contracts/types/ChainId.sol +0 -38
  634. package/contracts/types/NumberId.sol +0 -52
  635. package/contracts/types/ObjectType.sol +0 -161
  636. package/contracts/types/RoleId.sol +0 -97
  637. /package/contracts/{types → type}/DistributorType.sol +0 -0
  638. /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": "instanceBundleSet",
49
+ "type": "address"
50
50
  }
51
51
  ],
52
- "name": "ErrorNftOwnableAlreadyLinked",
52
+ "name": "ErrorInstanceBundleSetAlreadySet",
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": "ErrorInstanceBundleSetAuthorityMismatch",
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": "ErrorInstanceBundleSetInstanceMismatch",
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
  {
@@ -289,36 +320,10 @@
289
320
  },
290
321
  {
291
322
  "inputs": [],
292
- "name": "getBundleManager",
293
- "outputs": [
294
- {
295
- "internalType": "contract BundleManager",
296
- "name": "",
297
- "type": "address"
298
- }
299
- ],
300
- "stateMutability": "view",
301
- "type": "function"
302
- },
303
- {
304
- "inputs": [],
305
- "name": "getBundleService",
323
+ "name": "getBundleSet",
306
324
  "outputs": [
307
325
  {
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",
326
+ "internalType": "contract BundleSet",
322
327
  "name": "",
323
328
  "type": "address"
324
329
  }
@@ -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 BundleSet",
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": "0x6080604052348015600e575f80fd5b5061239e8061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610213575f3560e01c80637a9e5e4b1161011f578063bf7e214f116100a9578063d4cda0d811610079578063d4cda0d8146104db578063e52ba1cb146104ec578063e7f7fb86146104ff578063f7bc431c14610512578063f7c34ee014610525575f80fd5b8063bf7e214f14610473578063cc2a9a5b1461047b578063cde749f41461048e578063d2192dbf146104a8575f80fd5b8063ada9652e116100ef578063ada9652e14610418578063b428b0b01461042c578063b7d2b1621461043f578063b7d685191461044d578063bb1e0e5914610460575f80fd5b80637a9e5e4b146103ce57806386892313146103e1578063893d20e8146103ef5780638fb36037146103f7575f80fd5b80632d764ef8116101a05780635ab1bd53116101705780635ab1bd53146103695780635fa8aad41461037a578063644c45e01461038d578063675393bf146103aa5780636dddada4146103bd575f80fd5b80632d764ef81461032a578063311adb681461033d57806336fc697e1461034e5780634f8b8aba14610356575f80fd5b80631eff4b22116101e65780631eff4b22146102b2578063214cdb80146102e75780632781d443146102fc57806327bb7a331461030457806329db8c3d14610317575f80fd5b806301ffc9a71461021757806302cd3071146102585780630fec111c1461027d578063138461e014610292575b5f80fd5b610243610225366004611af1565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6004546001600160a01b03165b6040516001600160a01b03909116815260200161024f565b610285610538565b60405161024f9190611b4d565b61029a6106f6565b6040516001600160601b03909116815260200161024f565b6102d97f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161024f565b6102fa6102f5366004611af1565b610705565b005b6102d9600381565b6102fa610312366004611cad565b610731565b6102fa610325366004611d87565b6107d6565b6102fa610338366004611e30565b61081c565b6003546001600160a01b0316610265565b6102fa6108ba565b6102fa610364366004611e54565b6108ff565b6001546001600160a01b0316610265565b6102fa610388366004611e6f565b6109a7565b5f80516020612329833981519152546001600160601b031661029a565b6102fa6103b8366004611ebb565b6109e6565b6005546001600160a01b0316610265565b6102fa6103dc366004611ebb565b610af1565b6102fa610388366004611ed6565b610265610b73565b6103ff610ca4565b6040516001600160e01b0319909116815260200161024f565b6102d95f8051602061232983398151915281565b6102fa61043a366004611f0d565b610cd9565b6102fa610388366004611f0d565b6102fa61045b366004611f37565b610d55565b6102fa61046e366004611f4e565b610dc1565b610265610e48565b6102fa610489366004611f78565b610e63565b6104966112fb565b60405160ff909116815260200161024f565b6104bb6104b6366004611ff6565b61136f565b604080516001600160401b0393841681529290911660208301520161024f565b6006546001600160a01b0316610265565b61029a6104fa366004611e54565b6113b3565b6102fa61050d366004612043565b61146b565b6102fa610520366004611ebb565b6114f7565b6102fa610533366004612081565b6115b7565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060c919061209d565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610654610b73565b6001600160a01b03168152602001826001018054610671906120b8565b80601f016020809104026020016040519081016040528092919081815260200182805461069d906120b8565b80156106e85780601f106106bf576101008083540402835291602001916106e8565b820191905f5260205f20905b8154815290600101906020018083116106cb57829003601f168201915b505050505081525091505090565b5f6107003061162d565b905090565b61070d611826565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b610739611826565b61074382876115b7565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016107cc8382612134565b5050505050505050565b6107de610b73565b6001600160a01b0316336001600160a01b0316146108165760405163086391f760e31b81523360048201526024015b60405180910390fd5b50505050565b610824610b73565b6001600160a01b0316336001600160a01b0316146108575760405163086391f760e31b815233600482015260240161080d565b6002546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024015b5f604051808303815f87803b1580156108a1575f80fd5b505af11580156108b3573d5f803e3d5ffd5b5050505050565b6108c2611826565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610907610b73565b6001600160a01b0316336001600160a01b03161461093a5760405163086391f760e31b815233600482015260240161080d565b60025460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b15801561098d575f80fd5b505af115801561099f573d5f803e3d5ffd5b505050505050565b6109af610b73565b6001600160a01b0316336001600160a01b0316146109e25760405163086391f760e31b815233600482015260240161080d565b5050565b6109ee611826565b806001600160a01b03163b5f03610a235760405163fdeac91f60e01b81526001600160a01b038216600482015260240161080d565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610a9d575060408051601f3d908101601f19168201909252610a9a918101906121ee565b60015b610ac55760405163fdeac91f60e01b81526001600160a01b038216600482015260240161080d565b806109e25760405163fdeac91f60e01b81526001600160a01b038316600482015260240161080d565b50565b33610afa610e48565b6001600160a01b0316816001600160a01b031614610b355760405162d1953b60e31b81526001600160a01b038216600482015260240161080d565b816001600160a01b03163b5f03610b6a576040516361798f2f60e11b81526001600160a01b038316600482015260240161080d565b6109e282611871565b5f805f8051602061232983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610bdf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0391906121ee565b15610c8e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610c64573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c889190612209565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061234983398151915280545f9190600160a01b900460ff16610ccb575f610c88565b638fb3603760e01b91505090565b610ce1610b73565b6001600160a01b0316336001600160a01b031614610d145760405163086391f760e31b815233600482015260240161080d565b600354604051630b428b0b60e41b81526001600160401b03841660048201526001600160a01b0383811660248301529091169063b428b0b090604401610976565b610d5d610b73565b6001600160a01b0316336001600160a01b031614610d905760405163086391f760e31b815233600482015260240161080d565b60025460405163b7d6851960e01b8152600481018390526001600160a01b039091169063b7d685199060240161088a565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e08573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e2c9190612209565b6001600160a01b0316336001600160a01b0316146109e2575f80fd5b5f80516020612349833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610ea75750825b90505f826001600160401b03166001148015610ec25750303b155b905081158015610ed0575080155b15610eee5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f1857845460ff60401b1916600160401b1785555b600380546001600160a01b0319166001600160a01b038d169081179091556040805163bf7e214f60e01b815290515f929163bf7e214f9160048083019260209291908290030181865afa158015610f71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f959190612209565b6001600160a01b031603610fbc576040516377dbcd1760e01b815260040160405180910390fd5b6003546040805163bf7e214f60e01b8152905161102e926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa158015611005573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110299190612209565b6118d1565b6110ab87886001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561106e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611092919061209d565b600a60018a60405180602001604052805f815250610731565b600680546001600160a01b03808d166001600160a01b03199283168117909355600580548d831690841617905560048054918c16919092161781556040805163204a7f0760e21b81529051638129fc1c92828101925f92919082900301818387803b158015611118575f80fd5b505af115801561112a573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b15801561117a575f80fd5b505af115801561118c573d5f803e3d5ffd5b5050600480546040805163204a7f0760e21b815290516001600160a01b039092169450638129fc1c9350808301925f929182900301818387803b1580156111d1575f80fd5b505af11580156111e3573d5f803e3d5ffd5b505050506111f96001546001600160a01b031690565b6001600160a01b031663d39e6043600a6112116112fb565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611254573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112789190612209565b600280546001600160a01b0319166001600160a01b03929092169190911790556112a8632b1cb34b60e11b610705565b83156112ee57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561134b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107009190612224565b5f80611379610b73565b6001600160a01b0316336001600160a01b0316146113ac5760405163086391f760e31b815233600482015260240161080d565b9250929050565b5f6113bc610b73565b6001600160a01b0316336001600160a01b0316146113ef5760405163086391f760e31b815233600482015260240161080d565b60025460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb906024016020604051808303815f875af115801561143f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611463919061209d565b90505b919050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114d69190612209565b6001600160a01b0316336001600160a01b0316146114f2575f80fd5b505050565b611502335f366118e2565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611548573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061156c9190612209565b6001600160a01b031614611595576040516345789cf560e01b815230600482015260240161080d565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6115bf611826565b6115c8816109e6565b6115d06108ba565b6001600160a01b0382166115f75760405163f17ef42d60e01b815260040160405180910390fd5b505f8051602061232983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b5f805f8051602061232983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611699573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116bd91906121ee565b156116e95780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161080d565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561173b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061175f91906121ee565b6117875760405163b9304b0d60e01b81526001600160a01b038416600482015260240161080d565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa1580156117d9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117fd919061209d565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661186f57604051631afcd79f60e31b815260040160405180910390fd5b565b5f8051602061234983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6118d9611826565b610aee816119d8565b5f805160206123498339815191525f8061191a6118fd610e48565b873061190c60045f8a8c61223f565b61191591612266565b6119e9565b915091508161099f5763ffffffff8116156119b557825460ff60a01b1916600160a01b178355611948610e48565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016119779392919061229e565b5f604051808303815f87803b15801561198e575f80fd5b505af11580156119a0573d5f803e3d5ffd5b5050845460ff60a01b191685555061099f9050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161080d565b6119e0611826565b610aee81611871565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611a5791906122dd565b5f60405180830381855afa9150503d805f8114611a8f576040519150601f19603f3d011682016040523d82523d5f602084013e611a94565b606091505b50915091508115611ae6576040815110611ac65780806020019051810190611abc91906122f3565b9094509250611ae6565b6020815110611ae65780806020019051810190611ae391906121ee565b93505b505094509492505050565b5f60208284031215611b01575f80fd5b81356001600160e01b031981168114611b18575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611b95608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611bd9610100840182611b1f565b949350505050565b6001600160a01b0381168114610aee575f80fd5b6001600160601b0381168114610aee575f80fd5b60ff81168114610aee575f80fd5b8015158114610aee575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f806001600160401b03841115611c5157611c51611c24565b50604051601f19601f85018116603f011681018181106001600160401b0382111715611c7f57611c7f611c24565b604052838152905080828401851015611c96575f80fd5b838360208301375f60208583010152509392505050565b5f805f805f8060c08789031215611cc2575f80fd5b8635611ccd81611be1565b95506020870135611cdd81611bf5565b94506040870135611ced81611c09565b93506060870135611cfd81611c17565b92506080870135611d0d81611be1565b915060a08701356001600160401b03811115611d27575f80fd5b8701601f81018913611d37575f80fd5b611d4689823560208401611c38565b9150509295509295509295565b5f82601f830112611d62575f80fd5b611b1883833560208501611c38565b80356001600160401b0381168114611466575f80fd5b5f805f8060608587031215611d9a575f80fd5b84356001600160401b03811115611daf575f80fd5b611dbb87828801611d53565b94505060208501356001600160401b03811115611dd6575f80fd5b8501601f81018713611de6575f80fd5b80356001600160401b03811115611dfb575f80fd5b8760208260051b8401011115611e0f575f80fd5b60209190910193509150611e2560408601611d71565b905092959194509250565b5f60208284031215611e40575f80fd5b813564ffffffffff81168114611b18575f80fd5b5f60208284031215611e64575f80fd5b8135611b1881611bf5565b5f8060408385031215611e80575f80fd5b8235611e8b81611be1565b915060208301356001600160401b03811115611ea5575f80fd5b611eb185828601611d53565b9150509250929050565b5f60208284031215611ecb575f80fd5b8135611b1881611be1565b5f8060408385031215611ee7575f80fd5b8235611ef281611be1565b91506020830135611f0281611c17565b809150509250929050565b5f8060408385031215611f1e575f80fd5b611f2783611d71565b91506020830135611f0281611be1565b5f60208284031215611f47575f80fd5b5035919050565b5f8060408385031215611f5f575f80fd5b8235611f6a81611be1565b946020939093013593505050565b5f805f805f8060c08789031215611f8d575f80fd5b8635611f9881611be1565b95506020870135611fa881611be1565b94506040870135611fb881611be1565b93506060870135611fc881611be1565b92506080870135611fd881611be1565b915060a0870135611fe881611be1565b809150509295509295509295565b5f8060408385031215612007575f80fd5b82356001600160401b0381111561201c575f80fd5b61202885828601611d53565b92505060208301356001600160401b03811115611ea5575f80fd5b5f805f60608486031215612055575f80fd5b833561206081611be1565b9250602084013561207081611be1565b929592945050506040919091013590565b5f8060408385031215612092575f80fd5b8235611f2781611be1565b5f602082840312156120ad575f80fd5b8151611b1881611bf5565b600181811c908216806120cc57607f821691505b6020821081036120ea57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156114f257805f5260205f20601f840160051c810160208510156121155750805b601f840160051c820191505b818110156108b3575f8155600101612121565b81516001600160401b0381111561214d5761214d611c24565b6121618161215b84546120b8565b846120f0565b6020601f821160018114612193575f831561217c5750848201515b5f19600385901b1c1916600184901b1784556108b3565b5f84815260208120601f198516915b828110156121c257878501518255602094850194600190920191016121a2565b50848210156121df57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082840312156121fe575f80fd5b8151611b1881611c17565b5f60208284031215612219575f80fd5b8151611b1881611be1565b5f60208284031215612234575f80fd5b8151611b1881611c09565b5f808585111561224d575f80fd5b83861115612259575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612297576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612304575f80fd5b825161230f81611c17565b602084015190925063ffffffff81168114611f02575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220dc213558158085eb6ee2c526a97f36171d8f4acc4527f60f37be48827f4ed8a764736f6c634300081a0033",
851
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610213575f3560e01c80637a9e5e4b1161011f578063bf7e214f116100a9578063d4cda0d811610079578063d4cda0d8146104db578063e52ba1cb146104ec578063e7f7fb86146104ff578063f7bc431c14610512578063f7c34ee014610525575f80fd5b8063bf7e214f14610473578063cc2a9a5b1461047b578063cde749f41461048e578063d2192dbf146104a8575f80fd5b8063ada9652e116100ef578063ada9652e14610418578063b428b0b01461042c578063b7d2b1621461043f578063b7d685191461044d578063bb1e0e5914610460575f80fd5b80637a9e5e4b146103ce57806386892313146103e1578063893d20e8146103ef5780638fb36037146103f7575f80fd5b80632d764ef8116101a05780635ab1bd53116101705780635ab1bd53146103695780635fa8aad41461037a578063644c45e01461038d578063675393bf146103aa5780636dddada4146103bd575f80fd5b80632d764ef81461032a578063311adb681461033d57806336fc697e1461034e5780634f8b8aba14610356575f80fd5b80631eff4b22116101e65780631eff4b22146102b2578063214cdb80146102e75780632781d443146102fc57806327bb7a331461030457806329db8c3d14610317575f80fd5b806301ffc9a71461021757806302cd3071146102585780630fec111c1461027d578063138461e014610292575b5f80fd5b610243610225366004611af1565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6004546001600160a01b03165b6040516001600160a01b03909116815260200161024f565b610285610538565b60405161024f9190611b4d565b61029a6106f6565b6040516001600160601b03909116815260200161024f565b6102d97f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161024f565b6102fa6102f5366004611af1565b610705565b005b6102d9600381565b6102fa610312366004611cad565b610731565b6102fa610325366004611d87565b6107d6565b6102fa610338366004611e30565b61081c565b6003546001600160a01b0316610265565b6102fa6108ba565b6102fa610364366004611e54565b6108ff565b6001546001600160a01b0316610265565b6102fa610388366004611e6f565b6109a7565b5f80516020612329833981519152546001600160601b031661029a565b6102fa6103b8366004611ebb565b6109e6565b6005546001600160a01b0316610265565b6102fa6103dc366004611ebb565b610af1565b6102fa610388366004611ed6565b610265610b73565b6103ff610ca4565b6040516001600160e01b0319909116815260200161024f565b6102d95f8051602061232983398151915281565b6102fa61043a366004611f0d565b610cd9565b6102fa610388366004611f0d565b6102fa61045b366004611f37565b610d55565b6102fa61046e366004611f4e565b610dc1565b610265610e48565b6102fa610489366004611f78565b610e63565b6104966112fb565b60405160ff909116815260200161024f565b6104bb6104b6366004611ff6565b61136f565b604080516001600160401b0393841681529290911660208301520161024f565b6006546001600160a01b0316610265565b61029a6104fa366004611e54565b6113b3565b6102fa61050d366004612043565b61146b565b6102fa610520366004611ebb565b6114f7565b6102fa610533366004612081565b6115b7565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060c919061209d565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610654610b73565b6001600160a01b03168152602001826001018054610671906120b8565b80601f016020809104026020016040519081016040528092919081815260200182805461069d906120b8565b80156106e85780601f106106bf576101008083540402835291602001916106e8565b820191905f5260205f20905b8154815290600101906020018083116106cb57829003601f168201915b505050505081525091505090565b5f6107003061162d565b905090565b61070d611826565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b610739611826565b61074382876115b7565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016107cc8382612134565b5050505050505050565b6107de610b73565b6001600160a01b0316336001600160a01b0316146108165760405163086391f760e31b81523360048201526024015b60405180910390fd5b50505050565b610824610b73565b6001600160a01b0316336001600160a01b0316146108575760405163086391f760e31b815233600482015260240161080d565b6002546040516305aec9df60e31b815264ffffffffff831660048201526001600160a01b0390911690632d764ef8906024015b5f604051808303815f87803b1580156108a1575f80fd5b505af11580156108b3573d5f803e3d5ffd5b5050505050565b6108c2611826565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610907610b73565b6001600160a01b0316336001600160a01b03161461093a5760405163086391f760e31b815233600482015260240161080d565b60025460405163511ab59d60e11b815233600482018190526001600160601b0384166024830152916001600160a01b03169063a2356b3a906044015b5f604051808303815f87803b15801561098d575f80fd5b505af115801561099f573d5f803e3d5ffd5b505050505050565b6109af610b73565b6001600160a01b0316336001600160a01b0316146109e25760405163086391f760e31b815233600482015260240161080d565b5050565b6109ee611826565b806001600160a01b03163b5f03610a235760405163fdeac91f60e01b81526001600160a01b038216600482015260240161080d565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526318788cbb60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610a9d575060408051601f3d908101601f19168201909252610a9a918101906121ee565b60015b610ac55760405163fdeac91f60e01b81526001600160a01b038216600482015260240161080d565b806109e25760405163fdeac91f60e01b81526001600160a01b038316600482015260240161080d565b50565b33610afa610e48565b6001600160a01b0316816001600160a01b031614610b355760405162d1953b60e31b81526001600160a01b038216600482015260240161080d565b816001600160a01b03163b5f03610b6a576040516361798f2f60e11b81526001600160a01b038316600482015260240161080d565b6109e282611871565b5f805f8051602061232983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610bdf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0391906121ee565b15610c8e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610c64573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c889190612209565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061234983398151915280545f9190600160a01b900460ff16610ccb575f610c88565b638fb3603760e01b91505090565b610ce1610b73565b6001600160a01b0316336001600160a01b031614610d145760405163086391f760e31b815233600482015260240161080d565b600354604051630b428b0b60e41b81526001600160401b03841660048201526001600160a01b0383811660248301529091169063b428b0b090604401610976565b610d5d610b73565b6001600160a01b0316336001600160a01b031614610d905760405163086391f760e31b815233600482015260240161080d565b60025460405163b7d6851960e01b8152600481018390526001600160a01b039091169063b7d685199060240161088a565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e08573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e2c9190612209565b6001600160a01b0316336001600160a01b0316146109e2575f80fd5b5f80516020612349833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610ea75750825b90505f826001600160401b03166001148015610ec25750303b155b905081158015610ed0575080155b15610eee5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f1857845460ff60401b1916600160401b1785555b600380546001600160a01b0319166001600160a01b038d169081179091556040805163bf7e214f60e01b815290515f929163bf7e214f9160048083019260209291908290030181865afa158015610f71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f959190612209565b6001600160a01b031603610fbc576040516377dbcd1760e01b815260040160405180910390fd5b6003546040805163bf7e214f60e01b8152905161102e926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa158015611005573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110299190612209565b6118d1565b6110ab87886001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561106e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611092919061209d565b600a60018a60405180602001604052805f815250610731565b600680546001600160a01b03808d166001600160a01b03199283168117909355600580548d831690841617905560048054918c16919092161781556040805163204a7f0760e21b81529051638129fc1c92828101925f92919082900301818387803b158015611118575f80fd5b505af115801561112a573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b0316638129fc1c6040518163ffffffff1660e01b81526004015f604051808303815f87803b15801561117a575f80fd5b505af115801561118c573d5f803e3d5ffd5b5050600480546040805163204a7f0760e21b815290516001600160a01b039092169450638129fc1c9350808301925f929182900301818387803b1580156111d1575f80fd5b505af11580156111e3573d5f803e3d5ffd5b505050506111f96001546001600160a01b031690565b6001600160a01b031663d39e6043600a6112116112fb565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611254573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112789190612209565b600280546001600160a01b0319166001600160a01b03929092169190911790556112a8632b1cb34b60e11b610705565b83156112ee57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561134b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107009190612224565b5f80611379610b73565b6001600160a01b0316336001600160a01b0316146113ac5760405163086391f760e31b815233600482015260240161080d565b9250929050565b5f6113bc610b73565b6001600160a01b0316336001600160a01b0316146113ef5760405163086391f760e31b815233600482015260240161080d565b60025460405163e52ba1cb60e01b81526001600160601b03841660048201526001600160a01b039091169063e52ba1cb906024016020604051808303815f875af115801561143f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611463919061209d565b90505b919050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114d69190612209565b6001600160a01b0316336001600160a01b0316146114f2575f80fd5b505050565b611502335f366118e2565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611548573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061156c9190612209565b6001600160a01b031614611595576040516345789cf560e01b815230600482015260240161080d565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6115bf611826565b6115c8816109e6565b6115d06108ba565b6001600160a01b0382166115f75760405163f17ef42d60e01b815260040160405180910390fd5b505f8051602061232983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b5f805f8051602061232983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611699573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116bd91906121ee565b156116e95780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161080d565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561173b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061175f91906121ee565b6117875760405163b9304b0d60e01b81526001600160a01b038416600482015260240161080d565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa1580156117d9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117fd919061209d565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661186f57604051631afcd79f60e31b815260040160405180910390fd5b565b5f8051602061234983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6118d9611826565b610aee816119d8565b5f805160206123498339815191525f8061191a6118fd610e48565b873061190c60045f8a8c61223f565b61191591612266565b6119e9565b915091508161099f5763ffffffff8116156119b557825460ff60a01b1916600160a01b178355611948610e48565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016119779392919061229e565b5f604051808303815f87803b15801561198e575f80fd5b505af11580156119a0573d5f803e3d5ffd5b5050845460ff60a01b191685555061099f9050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161080d565b6119e0611826565b610aee81611871565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611a5791906122dd565b5f60405180830381855afa9150503d805f8114611a8f576040519150601f19603f3d011682016040523d82523d5f602084013e611a94565b606091505b50915091508115611ae6576040815110611ac65780806020019051810190611abc91906122f3565b9094509250611ae6565b6020815110611ae65780806020019051810190611ae391906121ee565b93505b505094509492505050565b5f60208284031215611b01575f80fd5b81356001600160e01b031981168114611b18575f80fd5b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151611b95608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611bd9610100840182611b1f565b949350505050565b6001600160a01b0381168114610aee575f80fd5b6001600160601b0381168114610aee575f80fd5b60ff81168114610aee575f80fd5b8015158114610aee575f80fd5b634e487b7160e01b5f52604160045260245ffd5b5f806001600160401b03841115611c5157611c51611c24565b50604051601f19601f85018116603f011681018181106001600160401b0382111715611c7f57611c7f611c24565b604052838152905080828401851015611c96575f80fd5b838360208301375f60208583010152509392505050565b5f805f805f8060c08789031215611cc2575f80fd5b8635611ccd81611be1565b95506020870135611cdd81611bf5565b94506040870135611ced81611c09565b93506060870135611cfd81611c17565b92506080870135611d0d81611be1565b915060a08701356001600160401b03811115611d27575f80fd5b8701601f81018913611d37575f80fd5b611d4689823560208401611c38565b9150509295509295509295565b5f82601f830112611d62575f80fd5b611b1883833560208501611c38565b80356001600160401b0381168114611466575f80fd5b5f805f8060608587031215611d9a575f80fd5b84356001600160401b03811115611daf575f80fd5b611dbb87828801611d53565b94505060208501356001600160401b03811115611dd6575f80fd5b8501601f81018713611de6575f80fd5b80356001600160401b03811115611dfb575f80fd5b8760208260051b8401011115611e0f575f80fd5b60209190910193509150611e2560408601611d71565b905092959194509250565b5f60208284031215611e40575f80fd5b813564ffffffffff81168114611b18575f80fd5b5f60208284031215611e64575f80fd5b8135611b1881611bf5565b5f8060408385031215611e80575f80fd5b8235611e8b81611be1565b915060208301356001600160401b03811115611ea5575f80fd5b611eb185828601611d53565b9150509250929050565b5f60208284031215611ecb575f80fd5b8135611b1881611be1565b5f8060408385031215611ee7575f80fd5b8235611ef281611be1565b91506020830135611f0281611c17565b809150509250929050565b5f8060408385031215611f1e575f80fd5b611f2783611d71565b91506020830135611f0281611be1565b5f60208284031215611f47575f80fd5b5035919050565b5f8060408385031215611f5f575f80fd5b8235611f6a81611be1565b946020939093013593505050565b5f805f805f8060c08789031215611f8d575f80fd5b8635611f9881611be1565b95506020870135611fa881611be1565b94506040870135611fb881611be1565b93506060870135611fc881611be1565b92506080870135611fd881611be1565b915060a0870135611fe881611be1565b809150509295509295509295565b5f8060408385031215612007575f80fd5b82356001600160401b0381111561201c575f80fd5b61202885828601611d53565b92505060208301356001600160401b03811115611ea5575f80fd5b5f805f60608486031215612055575f80fd5b833561206081611be1565b9250602084013561207081611be1565b929592945050506040919091013590565b5f8060408385031215612092575f80fd5b8235611f2781611be1565b5f602082840312156120ad575f80fd5b8151611b1881611bf5565b600181811c908216806120cc57607f821691505b6020821081036120ea57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156114f257805f5260205f20601f840160051c810160208510156121155750805b601f840160051c820191505b818110156108b3575f8155600101612121565b81516001600160401b0381111561214d5761214d611c24565b6121618161215b84546120b8565b846120f0565b6020601f821160018114612193575f831561217c5750848201515b5f19600385901b1c1916600184901b1784556108b3565b5f84815260208120601f198516915b828110156121c257878501518255602094850194600190920191016121a2565b50848210156121df57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082840312156121fe575f80fd5b8151611b1881611c17565b5f60208284031215612219575f80fd5b8151611b1881611be1565b5f60208284031215612234575f80fd5b8151611b1881611c09565b5f808585111561224d575f80fd5b83861115612259575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612297576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612304575f80fd5b825161230f81611c17565b602084015190925063ffffffff81168114611f02575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220dc213558158085eb6ee2c526a97f36171d8f4acc4527f60f37be48827f4ed8a764736f6c634300081a0033",
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": 1471
865
858
  },
866
859
  {
867
860
  "length": 20,
868
- "start": 4576
869
- }
870
- ]
871
- },
872
- "contracts/types/RoleId.sol": {
873
- "RoleIdLib": [
861
+ "start": 3011
862
+ },
874
863
  {
875
864
  "length": 20,
876
- "start": 7623
865
+ "start": 5757
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": 4911
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": 1443
895
884
  },
896
885
  {
897
886
  "length": 20,
898
- "start": 4544
899
- }
900
- ]
901
- },
902
- "contracts/types/RoleId.sol": {
903
- "RoleIdLib": [
887
+ "start": 2983
888
+ },
904
889
  {
905
890
  "length": 20,
906
- "start": 7591
891
+ "start": 5729
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": 4883
915
900
  }
916
901
  ]
917
902
  }