@etherisc/gif-next 0.0.2-d16f92c-416 → 0.0.2-d1ee1ae-450

Sign up to get free protection for your applications and to get access to all the features.
Files changed (592) hide show
  1. package/README.md +120 -8
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1023 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +752 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1494 -0
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  12. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +673 -0
  14. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  16. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +615 -0
  18. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccess.sol/IAccess.json +10 -0
  20. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/{shared → authorization}/IAccessAdmin.sol/IAccessAdmin.json +404 -369
  22. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +382 -0
  24. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/{registry → authorization}/IServiceAuthorization.sol/IServiceAuthorization.json +48 -10
  26. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  27. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  28. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1225 -0
  30. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +644 -0
  32. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +119 -605
  34. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +487 -269
  36. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +169 -119
  38. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  39. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +133 -279
  40. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  41. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +311 -67
  42. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  44. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1461 -0
  46. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +644 -0
  48. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2018 -0
  50. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +644 -0
  52. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  53. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1404 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +644 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1628 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +644 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2405 -0
  66. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  67. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +644 -0
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  69. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  70. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +239 -55
  72. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  73. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +155 -116
  74. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  75. package/artifacts/contracts/instance/Instance.sol/Instance.json +254 -182
  76. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  77. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1581 -253
  78. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +716 -0
  80. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1153 -396
  82. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +175 -341
  84. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +104 -128
  86. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  87. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +940 -754
  88. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  89. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  90. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  91. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  92. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  94. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  96. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  98. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  100. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  101. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  102. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  103. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  106. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  107. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +938 -0
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +632 -0
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  113. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +43 -1
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  115. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +130 -136
  116. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  117. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +69 -11
  118. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  119. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +121 -413
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +169 -190
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +140 -98
  124. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  125. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1231 -0
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +644 -0
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +349 -206
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +159 -105
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  133. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +212 -35
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  135. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +128 -396
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +460 -308
  138. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  139. package/artifacts/contracts/pool/Pool.sol/Pool.json +125 -684
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +472 -0
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +705 -552
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +189 -107
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +208 -176
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +118 -100
  150. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  151. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1140 -0
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +644 -0
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +431 -234
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +158 -124
  158. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  159. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +136 -9
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +308 -16
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +365 -104
  164. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  165. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +157 -83
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  167. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +270 -268
  168. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  169. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +88 -8
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +465 -307
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  173. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +727 -0
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +155 -109
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.json +244 -329
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +126 -140
  180. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  181. package/artifacts/contracts/product/Product.sol/Product.json +268 -567
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +367 -63
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +72 -152
  192. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  196. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  197. package/artifacts/contracts/registry/Registry.sol/Registry.json +600 -127
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +666 -549
  200. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  201. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +878 -0
  202. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  203. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +109 -292
  204. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  205. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +104 -90
  206. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  207. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1954 -0
  208. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  210. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1337 -0
  212. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  213. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +101 -16
  214. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  215. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +15 -15
  216. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  217. package/artifacts/contracts/shared/Component.sol/Component.json +67 -277
  218. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  219. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +545 -569
  220. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  221. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +152 -132
  222. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  223. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +57 -111
  224. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +661 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  232. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  233. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +80 -100
  234. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  235. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +499 -252
  236. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  237. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +116 -133
  238. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  239. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +45 -3
  240. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  241. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +34 -3
  242. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  243. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  244. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  245. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  246. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  247. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +148 -0
  248. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  250. package/artifacts/contracts/shared/IService.sol/IService.json +55 -2
  251. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  252. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  253. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  254. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +106 -366
  255. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  256. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +55 -88
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  258. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -62
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  260. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  262. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +22 -57
  263. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  264. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  265. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  266. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +122 -97
  267. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  268. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  269. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  270. package/artifacts/contracts/shared/Service.sol/Service.json +57 -111
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +585 -12
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  274. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  276. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  278. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +196 -143
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  280. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +155 -23
  281. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  282. package/artifacts/contracts/staking/Staking.sol/Staking.json +292 -393
  283. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  284. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  285. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  286. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  288. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +142 -103
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  290. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +41 -73
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  292. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +224 -171
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  294. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +121 -95
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  296. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +218 -182
  297. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  298. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +94 -48
  299. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  300. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  301. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  302. package/artifacts/contracts/type/Amount.sol/AmountLib.json +63 -10
  303. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  304. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +2 -2
  305. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  306. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  307. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  308. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  309. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  310. package/artifacts/contracts/type/Fee.sol/FeeLib.json +98 -37
  311. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  312. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  313. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  314. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  315. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  316. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  317. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  318. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  319. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  320. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +59 -4
  321. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  322. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  323. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  324. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  325. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  326. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +4 -4
  327. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  328. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  329. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  330. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +181 -14
  331. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  332. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +50 -2
  333. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  334. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  335. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  336. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  337. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  338. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  339. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/String.sol/StrLib.json +2 -2
  341. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  342. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +23 -4
  343. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  344. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +126 -33
  345. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  346. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  347. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  348. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +120 -2
  349. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  350. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  351. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  352. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  353. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  354. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  355. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  356. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  357. package/contracts/accounting/AccountingService.sol +261 -0
  358. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  359. package/contracts/accounting/IAccountingService.sol +45 -0
  360. package/contracts/authorization/AccessAdmin.sol +704 -0
  361. package/contracts/authorization/AccessAdminLib.sol +183 -0
  362. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  363. package/contracts/authorization/Authorization.sol +365 -0
  364. package/contracts/authorization/IAccess.sol +57 -0
  365. package/contracts/authorization/IAccessAdmin.sol +170 -0
  366. package/contracts/authorization/IAuthorization.sol +80 -0
  367. package/contracts/{registry → authorization}/IServiceAuthorization.sol +11 -6
  368. package/contracts/{registry → authorization}/ServiceAuthorization.sol +45 -25
  369. package/contracts/distribution/BasicDistribution.sol +141 -0
  370. package/contracts/distribution/BasicDistributionAuthorization.sol +60 -0
  371. package/contracts/distribution/Distribution.sol +124 -139
  372. package/contracts/distribution/DistributionService.sol +220 -126
  373. package/contracts/distribution/DistributionServiceManager.sol +8 -11
  374. package/contracts/distribution/IDistributionComponent.sol +19 -42
  375. package/contracts/distribution/IDistributionService.sol +44 -22
  376. package/contracts/examples/fire/DamageLevel.sol +59 -0
  377. package/contracts/examples/fire/FirePool.sol +86 -0
  378. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  379. package/contracts/examples/fire/FireProduct.sol +433 -0
  380. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  381. package/contracts/examples/fire/FireUSD.sol +26 -0
  382. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  383. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  384. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  385. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  386. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  387. package/contracts/examples/unpermissioned/SimpleProduct.sol +373 -0
  388. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  389. package/contracts/instance/BundleSet.sol +130 -0
  390. package/contracts/instance/IInstance.sol +68 -49
  391. package/contracts/instance/IInstanceService.sol +34 -43
  392. package/contracts/instance/Instance.sol +164 -122
  393. package/contracts/instance/InstanceAdmin.sol +363 -244
  394. package/contracts/instance/InstanceAuthorizationV3.sol +236 -0
  395. package/contracts/instance/InstanceReader.sol +306 -48
  396. package/contracts/instance/InstanceService.sol +223 -200
  397. package/contracts/instance/InstanceServiceManager.sol +8 -13
  398. package/contracts/instance/InstanceStore.sol +35 -6
  399. package/contracts/instance/RiskSet.sol +118 -0
  400. package/contracts/instance/base/BalanceStore.sol +3 -5
  401. package/contracts/instance/base/ObjectCounter.sol +1 -2
  402. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  403. package/contracts/instance/base/ObjectSet.sol +77 -0
  404. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  405. package/contracts/instance/module/IBundle.sol +6 -5
  406. package/contracts/instance/module/IComponents.sol +30 -20
  407. package/contracts/instance/module/IDistribution.sol +21 -9
  408. package/contracts/instance/module/IPolicy.sol +50 -29
  409. package/contracts/instance/module/IRisk.sol +5 -0
  410. package/contracts/mock/Dip.sol +1 -1
  411. package/contracts/oracle/BasicOracle.sol +45 -0
  412. package/contracts/oracle/BasicOracleAuthorization.sol +37 -0
  413. package/contracts/oracle/IOracle.sol +25 -4
  414. package/contracts/oracle/IOracleComponent.sol +2 -1
  415. package/contracts/oracle/IOracleService.sol +2 -1
  416. package/contracts/oracle/Oracle.sol +62 -53
  417. package/contracts/oracle/OracleService.sol +117 -85
  418. package/contracts/oracle/OracleServiceManager.sol +8 -11
  419. package/contracts/pool/BasicPool.sol +173 -0
  420. package/contracts/pool/BasicPoolAuthorization.sol +76 -0
  421. package/contracts/pool/BundleService.sol +204 -105
  422. package/contracts/pool/BundleServiceManager.sol +8 -11
  423. package/contracts/pool/IBundleService.sol +31 -22
  424. package/contracts/pool/IPoolComponent.sol +20 -70
  425. package/contracts/pool/IPoolService.sol +90 -75
  426. package/contracts/pool/Pool.sol +207 -163
  427. package/contracts/pool/PoolLib.sol +309 -0
  428. package/contracts/pool/PoolService.sol +391 -256
  429. package/contracts/pool/PoolServiceManager.sol +6 -9
  430. package/contracts/product/ApplicationService.sol +102 -78
  431. package/contracts/product/ApplicationServiceManager.sol +6 -6
  432. package/contracts/product/BasicProduct.sol +49 -0
  433. package/contracts/product/BasicProductAuthorization.sol +58 -0
  434. package/contracts/product/ClaimService.sol +373 -175
  435. package/contracts/product/ClaimServiceManager.sol +6 -6
  436. package/contracts/product/IApplicationService.sol +9 -2
  437. package/contracts/product/IClaimService.sol +44 -8
  438. package/contracts/product/IPolicyService.sol +53 -36
  439. package/contracts/product/IPricingService.sol +11 -10
  440. package/contracts/product/IProductComponent.sol +29 -9
  441. package/contracts/product/{IProductService.sol → IRiskService.sol} +8 -8
  442. package/contracts/product/PolicyService.sol +436 -271
  443. package/contracts/product/PolicyServiceLib.sol +119 -0
  444. package/contracts/product/PolicyServiceManager.sol +6 -9
  445. package/contracts/product/PricingService.sol +69 -60
  446. package/contracts/product/PricingServiceManager.sol +6 -9
  447. package/contracts/product/Product.sol +232 -140
  448. package/contracts/product/RiskService.sol +157 -0
  449. package/contracts/product/RiskServiceManager.sol +39 -0
  450. package/contracts/registry/ChainNft.sol +72 -40
  451. package/contracts/registry/IRegistry.sol +78 -32
  452. package/contracts/registry/IRegistryService.sol +3 -10
  453. package/contracts/registry/IRelease.sol +29 -0
  454. package/contracts/registry/ITransferInterceptor.sol +1 -2
  455. package/contracts/registry/Registry.sol +368 -220
  456. package/contracts/registry/RegistryAdmin.sol +174 -249
  457. package/contracts/registry/RegistryAuthorization.sol +271 -0
  458. package/contracts/registry/RegistryService.sol +41 -66
  459. package/contracts/registry/RegistryServiceManager.sol +5 -5
  460. package/contracts/registry/ReleaseAdmin.sol +253 -0
  461. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  462. package/contracts/registry/ReleaseRegistry.sol +517 -0
  463. package/contracts/registry/ServiceAuthorizationV3.sol +192 -60
  464. package/contracts/registry/TokenRegistry.sol +12 -11
  465. package/contracts/shared/Component.sol +65 -136
  466. package/contracts/shared/ComponentService.sol +425 -381
  467. package/contracts/shared/ComponentServiceManager.sol +10 -7
  468. package/contracts/shared/ComponentVerifyingService.sol +29 -18
  469. package/contracts/shared/ContractLib.sol +347 -0
  470. package/contracts/shared/IComponent.sol +5 -17
  471. package/contracts/shared/IComponentService.sol +49 -41
  472. package/contracts/shared/IInstanceLinkedComponent.sol +10 -26
  473. package/contracts/shared/IKeyValueStore.sol +1 -0
  474. package/contracts/shared/ILifecycle.sol +3 -2
  475. package/contracts/shared/INftOwnable.sol +2 -0
  476. package/contracts/shared/IPolicyHolder.sol +12 -22
  477. package/contracts/shared/IRegisterable.sol +23 -1
  478. package/contracts/shared/IService.sol +4 -6
  479. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +11 -3
  480. package/contracts/shared/InstanceLinkedComponent.sol +95 -45
  481. package/contracts/shared/KeyValueStore.sol +7 -3
  482. package/contracts/shared/Lifecycle.sol +30 -72
  483. package/contracts/shared/{NftIdSetManager.sol → NftIdSet.sol} +1 -1
  484. package/contracts/shared/NftOwnable.sol +31 -11
  485. package/contracts/shared/PolicyHolder.sol +17 -57
  486. package/contracts/shared/Registerable.sol +52 -21
  487. package/contracts/shared/RegistryLinked.sol +9 -14
  488. package/contracts/shared/Service.sol +18 -36
  489. package/contracts/shared/TokenHandler.sol +310 -26
  490. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  491. package/contracts/staking/IStaking.sol +26 -15
  492. package/contracts/staking/IStakingService.sol +31 -9
  493. package/contracts/staking/Staking.sol +125 -88
  494. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +95 -45
  495. package/contracts/staking/StakingLifecycle.sol +23 -0
  496. package/contracts/staking/StakingManager.sol +10 -12
  497. package/contracts/staking/StakingReader.sol +26 -33
  498. package/contracts/staking/StakingService.sol +93 -37
  499. package/contracts/staking/StakingServiceManager.sol +8 -7
  500. package/contracts/staking/StakingStore.sol +17 -24
  501. package/contracts/staking/TargetManagerLib.sol +7 -3
  502. package/contracts/type/Amount.sol +27 -5
  503. package/contracts/type/Blocknumber.sol +7 -1
  504. package/contracts/type/ClaimId.sol +6 -1
  505. package/contracts/type/Fee.sol +8 -8
  506. package/contracts/type/Key32.sol +2 -2
  507. package/contracts/type/Key32Set.sol +62 -0
  508. package/contracts/type/NftId.sol +7 -0
  509. package/contracts/type/ObjectType.sol +80 -27
  510. package/contracts/type/PayoutId.sol +10 -10
  511. package/contracts/type/Referral.sol +1 -0
  512. package/contracts/type/RiskId.sol +38 -6
  513. package/contracts/type/RoleId.sol +75 -94
  514. package/contracts/type/Seconds.sol +21 -1
  515. package/contracts/type/Selector.sol +5 -0
  516. package/contracts/type/StateId.sol +15 -1
  517. package/contracts/type/Timestamp.sol +10 -5
  518. package/contracts/type/UFixed.sol +61 -125
  519. package/contracts/type/Version.sol +57 -6
  520. package/contracts/{shared → upgradeability}/ProxyManager.sol +82 -47
  521. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +8 -4
  522. package/contracts/{shared → upgradeability}/Versionable.sol +2 -2
  523. package/package.json +9 -6
  524. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  525. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -709
  526. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  527. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -228
  528. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  529. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -187
  530. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  531. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  532. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  533. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  534. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  535. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  536. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  537. package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +0 -4
  538. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  539. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -1218
  540. package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +0 -4
  541. package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.json +0 -171
  542. package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.dbg.json +0 -4
  543. package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.json +0 -1559
  544. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +0 -4
  545. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +0 -1193
  546. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +0 -4
  547. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +0 -1747
  548. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +0 -4
  549. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +0 -1760
  550. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +0 -4
  551. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +0 -1838
  552. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +0 -4
  553. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +0 -1856
  554. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  555. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  556. package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.dbg.json +0 -4
  557. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +0 -4
  558. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +0 -1562
  559. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +0 -4
  560. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +0 -1600
  561. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  562. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  563. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  564. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +0 -4
  565. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +0 -306
  566. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  567. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -617
  568. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  569. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  570. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  571. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  572. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -460
  573. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  574. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
  575. package/contracts/instance/BundleManager.sol +0 -126
  576. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -377
  577. package/contracts/instance/base/ObjectManager.sol +0 -80
  578. package/contracts/instance/module/IAccess.sol +0 -46
  579. package/contracts/product/ProductService.sol +0 -124
  580. package/contracts/product/ProductServiceManager.sol +0 -42
  581. package/contracts/registry/ReleaseManager.sol +0 -527
  582. package/contracts/shared/AccessAdmin.sol +0 -759
  583. package/contracts/shared/AccessManagerCustom.sol +0 -741
  584. package/contracts/shared/AccessManagerExtended.sol +0 -481
  585. package/contracts/shared/AccessManagerExtendedInitializeable.sol +0 -13
  586. package/contracts/shared/AccessManagerExtendedWithDisable.sol +0 -137
  587. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +0 -14
  588. package/contracts/shared/IAccessAdmin.sol +0 -168
  589. package/contracts/shared/IAccessManagerExtended.sol +0 -74
  590. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +0 -18
  591. package/contracts/shared/InitializableCustom.sol +0 -177
  592. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
@@ -50,7 +50,18 @@
50
50
  },
51
51
  {
52
52
  "internalType": "NftId",
53
- "name": "bundlePoolNftId",
53
+ "name": "poolNftId",
54
+ "type": "uint96"
55
+ }
56
+ ],
57
+ "name": "ErrorApplicationServiceBundleLocked",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [
62
+ {
63
+ "internalType": "NftId",
64
+ "name": "bundleNftId",
54
65
  "type": "uint96"
55
66
  },
56
67
  {
@@ -59,23 +70,92 @@
59
70
  "type": "uint96"
60
71
  }
61
72
  ],
62
- "name": "ErrorApplicationServiceBundlePoolMismatch",
73
+ "name": "ErrorApplicationServiceBundleUnknown",
63
74
  "type": "error"
64
75
  },
65
76
  {
66
77
  "inputs": [
67
78
  {
68
79
  "internalType": "NftId",
69
- "name": "callerNftId",
80
+ "name": "productNftId",
70
81
  "type": "uint96"
71
82
  },
72
83
  {
73
- "internalType": "ObjectType",
74
- "name": "callerType",
75
- "type": "uint8"
84
+ "internalType": "NftId",
85
+ "name": "distributionNftId",
86
+ "type": "uint96"
87
+ },
88
+ {
89
+ "internalType": "ReferralId",
90
+ "name": "referralId",
91
+ "type": "bytes8"
76
92
  }
77
93
  ],
78
- "name": "ErrorApplicationServiceNotProduct",
94
+ "name": "ErrorApplicationServiceReferralInvalid",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "RiskId",
101
+ "name": "riskId",
102
+ "type": "bytes8"
103
+ },
104
+ {
105
+ "internalType": "NftId",
106
+ "name": "productNftId",
107
+ "type": "uint96"
108
+ }
109
+ ],
110
+ "name": "ErrorApplicationServiceRiskPaused",
111
+ "type": "error"
112
+ },
113
+ {
114
+ "inputs": [
115
+ {
116
+ "internalType": "RiskId",
117
+ "name": "riskId",
118
+ "type": "bytes8"
119
+ },
120
+ {
121
+ "internalType": "NftId",
122
+ "name": "riskProductNftId",
123
+ "type": "uint96"
124
+ },
125
+ {
126
+ "internalType": "NftId",
127
+ "name": "productNftId",
128
+ "type": "uint96"
129
+ }
130
+ ],
131
+ "name": "ErrorApplicationServiceRiskProductMismatch",
132
+ "type": "error"
133
+ },
134
+ {
135
+ "inputs": [
136
+ {
137
+ "internalType": "RiskId",
138
+ "name": "riskId",
139
+ "type": "bytes8"
140
+ },
141
+ {
142
+ "internalType": "NftId",
143
+ "name": "productNftId",
144
+ "type": "uint96"
145
+ }
146
+ ],
147
+ "name": "ErrorApplicationServiceRiskUnknown",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "internalType": "address",
154
+ "name": "authority",
155
+ "type": "address"
156
+ }
157
+ ],
158
+ "name": "ErrorAuthorityInvalid",
79
159
  "type": "error"
80
160
  },
81
161
  {
@@ -137,6 +217,22 @@
137
217
  "name": "ErrorNftOwnableInitialOwnerZero",
138
218
  "type": "error"
139
219
  },
220
+ {
221
+ "inputs": [
222
+ {
223
+ "internalType": "NftId",
224
+ "name": "nftId",
225
+ "type": "uint96"
226
+ },
227
+ {
228
+ "internalType": "ObjectType",
229
+ "name": "expectedObjectType",
230
+ "type": "uint8"
231
+ }
232
+ ],
233
+ "name": "ErrorNftOwnableInvalidType",
234
+ "type": "error"
235
+ },
140
236
  {
141
237
  "inputs": [
142
238
  {
@@ -161,7 +257,7 @@
161
257
  },
162
258
  {
163
259
  "inputs": [],
164
- "name": "ErrorServiceNotImplemented",
260
+ "name": "ErrorRegisterableNotActive",
165
261
  "type": "error"
166
262
  },
167
263
  {
@@ -174,6 +270,11 @@
174
270
  "name": "NotInitializing",
175
271
  "type": "error"
176
272
  },
273
+ {
274
+ "inputs": [],
275
+ "name": "ReentrancyGuardReentrantCall",
276
+ "type": "error"
277
+ },
177
278
  {
178
279
  "anonymous": false,
179
280
  "inputs": [
@@ -299,6 +400,11 @@
299
400
  "name": "sumInsuredAmount",
300
401
  "type": "uint96"
301
402
  },
403
+ {
404
+ "internalType": "Amount",
405
+ "name": "premiumAmount",
406
+ "type": "uint96"
407
+ },
302
408
  {
303
409
  "internalType": "Seconds",
304
410
  "name": "lifetime",
@@ -433,6 +539,19 @@
433
539
  "stateMutability": "view",
434
540
  "type": "function"
435
541
  },
542
+ {
543
+ "inputs": [],
544
+ "name": "getRelease",
545
+ "outputs": [
546
+ {
547
+ "internalType": "VersionPart",
548
+ "name": "release",
549
+ "type": "uint8"
550
+ }
551
+ ],
552
+ "stateMutability": "view",
553
+ "type": "function"
554
+ },
436
555
  {
437
556
  "inputs": [],
438
557
  "name": "getRoleId",
@@ -443,7 +562,7 @@
443
562
  "type": "uint64"
444
563
  }
445
564
  ],
446
- "stateMutability": "pure",
565
+ "stateMutability": "view",
447
566
  "type": "function"
448
567
  },
449
568
  {
@@ -459,121 +578,35 @@
459
578
  "stateMutability": "pure",
460
579
  "type": "function"
461
580
  },
462
- {
463
- "inputs": [],
464
- "name": "initializeERC165",
465
- "outputs": [],
466
- "stateMutability": "nonpayable",
467
- "type": "function"
468
- },
469
581
  {
470
582
  "inputs": [
471
583
  {
472
584
  "internalType": "address",
473
- "name": "initialOwner",
474
- "type": "address"
475
- },
476
- {
477
- "internalType": "address",
478
- "name": "registryAddress",
479
- "type": "address"
480
- }
481
- ],
482
- "name": "initializeNftOwnable",
483
- "outputs": [],
484
- "stateMutability": "nonpayable",
485
- "type": "function"
486
- },
487
- {
488
- "inputs": [
489
- {
490
- "internalType": "address",
491
- "name": "registryAddress",
492
- "type": "address"
493
- },
494
- {
495
- "internalType": "NftId",
496
- "name": "parentNftId",
497
- "type": "uint96"
498
- },
499
- {
500
- "internalType": "ObjectType",
501
- "name": "objectType",
502
- "type": "uint8"
503
- },
504
- {
505
- "internalType": "bool",
506
- "name": "isInterceptor",
507
- "type": "bool"
508
- },
509
- {
510
- "internalType": "address",
511
- "name": "initialOwner",
585
+ "name": "activatedBy",
512
586
  "type": "address"
513
587
  },
514
588
  {
515
589
  "internalType": "bytes",
516
- "name": "registryData",
590
+ "name": "data",
517
591
  "type": "bytes"
518
592
  }
519
593
  ],
520
- "name": "initializeRegisterable",
521
- "outputs": [],
522
- "stateMutability": "nonpayable",
523
- "type": "function"
524
- },
525
- {
526
- "inputs": [
527
- {
528
- "internalType": "address",
529
- "name": "registryAddress",
530
- "type": "address"
531
- }
532
- ],
533
- "name": "initializeRegistryLinked",
534
- "outputs": [],
535
- "stateMutability": "nonpayable",
536
- "type": "function"
537
- },
538
- {
539
- "inputs": [
540
- {
541
- "internalType": "address",
542
- "name": "registry",
543
- "type": "address"
544
- },
545
- {
546
- "internalType": "address",
547
- "name": "authority",
548
- "type": "address"
549
- },
550
- {
551
- "internalType": "address",
552
- "name": "initialOwner",
553
- "type": "address"
554
- }
555
- ],
556
- "name": "initializeService",
594
+ "name": "initializeVersionable",
557
595
  "outputs": [],
558
596
  "stateMutability": "nonpayable",
559
597
  "type": "function"
560
598
  },
561
599
  {
562
- "inputs": [
563
- {
564
- "internalType": "address",
565
- "name": "activatedBy",
566
- "type": "address"
567
- },
600
+ "inputs": [],
601
+ "name": "isActive",
602
+ "outputs": [
568
603
  {
569
- "internalType": "bytes",
570
- "name": "data",
571
- "type": "bytes"
604
+ "internalType": "bool",
605
+ "name": "active",
606
+ "type": "bool"
572
607
  }
573
608
  ],
574
- "name": "initializeVersionable",
575
- "outputs": [],
576
- "stateMutability": "nonpayable",
609
+ "stateMutability": "view",
577
610
  "type": "function"
578
611
  },
579
612
  {
@@ -602,19 +635,6 @@
602
635
  "stateMutability": "nonpayable",
603
636
  "type": "function"
604
637
  },
605
- {
606
- "inputs": [
607
- {
608
- "internalType": "bytes4",
609
- "name": "interfaceId",
610
- "type": "bytes4"
611
- }
612
- ],
613
- "name": "registerInterface",
614
- "outputs": [],
615
- "stateMutability": "nonpayable",
616
- "type": "function"
617
- },
618
638
  {
619
639
  "inputs": [
620
640
  {
@@ -698,30 +718,30 @@
698
718
  "type": "function"
699
719
  }
700
720
  ],
701
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61314b80620000e66000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c806362cbbd7b116100de5780638e32e97911610097578063b68d180911610071578063b68d1809146103cb578063bf7e214f146103da578063c219f0c0146103f8578063f7c34ee01461040b57600080fd5b80638e32e979146103825780638fb3603714610395578063ada9652e146103b657600080fd5b806362cbbd7b146102ff578063644c45e014610316578063675393bf146103345780636c741e78146103475780637a9e5e4b14610367578063893d20e81461037a57600080fd5b806327bb7a331161014b57806349bb9e4b1161012557806349bb9e4b1461029e578063536ef74b146102b15780635ab1bd53146102c7578063603ccaad146102ec57600080fd5b806327bb7a3314610270578063329d6e741461028357806336fc697e1461029657600080fd5b806301ffc9a7146101935780630d8e6e2c146101d55780630fec111c146101f1578063138461e0146102065780631eff4b2214610226578063214cdb801461025b575b600080fd5b6101c06101a1366004612236565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101dd61041e565b60405162ffffff90911681526020016101cc565b6101f96104a8565b6040516101cc91906122b0565b61020e610639565b6040516001600160601b0390911681526020016101cc565b61024d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101cc565b61026e610269366004612236565b610644565b005b61026e61027e3660046124cd565b610671565b61026e610291366004612565565b610716565b61026e610863565b61026e6102ac366004612599565b6108a9565b61020e6102bf3660046125e8565b600092915050565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101cc565b61026e6102fa366004612621565b6109a7565b61026e61030d366004612667565b50505050505050565b6000805160206130b6833981519152546001600160601b031661020e565b61026e610342366004612713565b610a8f565b61034f610ba2565b6040516001600160401b0390911681526020016101cc565b61026e610375366004612713565b610c9d565b6102d4610d37565b61026e610390366004612730565b610e6e565b61039d610fb2565b6040516001600160e01b031990911681526020016101cc565b61024d6000805160206130b683398151915281565b604051601481526020016101cc565b6000805160206130d6833981519152546001600160a01b03166102d4565b61020e61040636600461277b565b610fea565b61026e6104193660046127f1565b611404565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561047f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a3919061281f565b905090565b6104b06121f8565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610529573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054d9190612854565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610595610d37565b6001600160a01b031681526020018260010180546105b290612871565b80601f01602080910402602001604051908101604052809291908181526020018280546105de90612871565b801561062b5780601f106106005761010080835404028352916020019161062b565b820191906000526020600020905b81548152906001019060200180831161060e57829003601f168201915b505050505081525091505090565b60006104a33061147b565b61064c61167c565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61067961167c565b6106838287611404565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161070c83826128f1565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61073861041e565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610778573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079c91906129c5565b6000805160206130f68339815191528054600160401b900460ff16806107cf575080546001600160401b03808416911610155b156107ed5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610817836116b5565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b61086b61167c565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206130f68339815191528054600160401b810460ff1615906001600160401b03166000811580156108dc5750825b90506000826001600160401b031660011480156108f85750303b155b905081158015610906575080155b156109245760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561094e57845460ff60401b1916600160401b1785555b61095887876116bd565b831561030d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b60006109b3600c61185c565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109f5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1991906129e2565b6001600160a01b0316630fad0eb18360146040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015610a7357600080fd5b505af1158015610a87573d6000803e3d6000fd5b505050505050565b610a9761167c565b806001600160a01b03163b600003610ad25760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e607072160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015610b4c575060408051601f3d908101601f19168201909252610b4991810190612a0a565b60015b610b745760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610ac9565b80610b9d5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610ac9565b505b50565b600073__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36014604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610c10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c349190612a32565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610c79573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a391906129c5565b33610cbd6000805160206130d6833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610cf85760405162d1953b60e31b81526001600160a01b0382166004820152602401610ac9565b816001600160a01b03163b600003610d2e576040516361798f2f60e11b81526001600160a01b0383166004820152602401610ac9565b610b9d826118fc565b6000806000805160206130b683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610da7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dcb9190612a0a565b15610e58576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610e2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5291906129e2565b91505090565b54600160601b90046001600160a01b0316919050565b610e7661167c565b610ef683846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edc9190612854565b600960008560405180602001604052806000815250610671565b6001600160a01b03821615610f1357610f0e8261195d565b610f8d565b6000610f1f600261196e565b9050610f8b816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8691906129e2565b61195d565b505b610f9d634a531f3360e01b610644565b610fad63daf9067160e01b610644565b505050565b6000805160206130d6833981519152805460009190600160a01b900460ff16610fdc576000610e52565b638fb3603760e01b91505090565b60008080610ff8600c61185c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561103d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106191906129e2565b905061107081848c898b611a7a565b61107a838c611bb6565b93506000604051806102200160405280856001600160601b03168152602001896001600160601b03168152602001886001600160c01b03191681526020018c6001600160c01b03191681526020018b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611120573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111449190612854565b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561119b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111bf9190612854565b6001600160601b031681526020018a64ffffffffff168152602001878152602001604051806020016040528060008152508152602001600061ffff168152602001600061ffff16815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611254573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112789190612854565b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156112cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112f39190612854565b6001600160601b0316815260006020820181905260408201819052606090910152905061131f81611d00565b6001600160601b031660a082015260408051631a99b41b60e31b815290516001600160a01b0385169163d4cda0d89160048083019260209291908290030181865afa158015611372573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139691906129e2565b6001600160a01b0316632a8ea7ac86836040518363ffffffff1660e01b81526004016113c3929190612a5a565b600060405180830381600087803b1580156113dd57600080fd5b505af11580156113f1573d6000803e3d6000fd5b5050505050505050979650505050505050565b61140c61167c565b61141581610a8f565b61141d610863565b6001600160a01b0382166114445760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206130b683398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000806000805160206130b683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156114eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150f9190612a0a565b1561153b5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610ac9565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561158f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b39190612a0a565b6115db5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610ac9565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa15801561162f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116539190612854565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6000805160206130f683398151915254600160401b900460ff166116b357604051631afcd79f60e31b815260040160405180910390fd5b565b61018e61167c565b6000805160206130f68339815191528054600160401b810460ff1615906001600160401b03166000811580156116f05750825b90506000826001600160401b0316600114801561170c5750303b155b90508115801561171a575080155b156117385760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561176257845460ff60401b1916600160401b1785555b600080878060200190518101906117799190612c21565b925050915061178a8260008b610e6e565b611794600e61196e565b600280546001600160a01b0319166001600160a01b03929092169190911790556117be601961196e565b600380546001600160a01b0319166001600160a01b03929092169190911790556117e8600261196e565b600480546001600160a01b0319166001600160a01b0392909216919091179055611818639380705d60e01b610644565b5050831561030d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610996565b60006118666121f8565b600061187a6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa1580156118c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e49190612854565b92506118f283856001611e1d565b9395909450915050565b6000805160206130d683398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61196561167c565b610b9f816120c4565b60006119826001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156119e7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a0b9190612a32565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611a50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7491906129e2565b92915050565b6040516302d764c760e21b81526001600160601b03851660048201526000906001600160a01b03871690630b5d931c9060240161020060405180830381865afa158015611acb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aef9190612cb1565b6020810151604051634793b4ab60e01b81526001600160601b0385166004820152919250906000906001600160a01b03891690634793b4ab90602401600060405180830381865afa158015611b48573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b709190810190612dc1565b519050611b7d81836120d5565b1561070c576040516319c01eff60e01b81526001600160601b038086166004830152808416602483015282166044820152606401610ac9565b6000806040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c319190612854565b6001600160601b03168152602001856001600160601b03168152602001611c56601590565b60ff1681526000602080830182905260408084018390526001600160a01b03888116606086015281519283018252928252608090930152600480549251635c992fed60e01b8152939450911691635c992fed91611cb5918591016122b0565b6020604051808303816000875af1158015611cd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cf89190612854565b949350505050565b60035481516060830151608084015160e085015161010086015160208701516040808901519051637a5ff29d60e11b815260009873__$3bac17678db7ae928afa209f2f44deec9c$__98634c41dd96986001600160a01b039092169763f4bfe53a97611d789792969395919490939190600401612e8a565b61024060405180830381865afa158015611d96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dba9190612ef2565b60a001516040518263ffffffff1660e01b8152600401611ddc91815260200190565b602060405180830381865af4158015611df9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a749190612854565b611e256121f8565b600080611e3a6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e090602401600060405180830381865afa158015611e8a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611eb29190810190612fe3565b925060ff8516600b14611f1057604083015160ff868116911614611f0b57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610ac9565b611fac565b611f2b8360400151611f20600c90565b60ff90811691161490565b80611f415750611f418360400151611f20600f90565b80611f575750611f578360400151611f20600e90565b80611f6d5750611f6d8360400151611f20600d90565b611fac57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610ac9565b611fb98360200151612163565b915083156120bb57816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061202391906129e2565b608084015160405163a166aa8960e01b81526001600160a01b03918216600482015291169063a166aa8990602401602060405180830381865afa15801561206e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120929190612a0a565b156120bb57604051637d71120960e11b81526001600160601b0387166004820152602401610ac9565b50935093915050565b6120cc61167c565b610b9f816118fc565b6040516399009c5160e01b81526001600160601b0380841660048301528216602482015260009073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401602060405180830381865af4158015612138573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061215c9190612a0a565b9392505050565b60006121776001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156121c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526121ee9190810190612fe3565b6080015192915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561224857600080fd5b81356001600160e01b03198116811461215c57600080fd5b60005b8381101561227b578181015183820152602001612263565b50506000910152565b6000815180845261229c816020860160208601612260565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161231960c08401826001600160a01b03169052565b5060c083015160e080840152611cf8610100840182612284565b6001600160a01b0381168114610b9f57600080fd5b6001600160601b0381168114610b9f57600080fd5b60ff81168114610b9f57600080fd5b8015158114610b9f57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b03811182821017156123b3576123b361237a565b60405290565b60405160c081016001600160401b03811182821017156123b3576123b361237a565b60405161024081016001600160401b03811182821017156123b3576123b361237a565b60405160e081016001600160401b03811182821017156123b3576123b361237a565b604051601f8201601f191681016001600160401b03811182821017156124485761244861237a565b604052919050565b60006001600160401b038211156124695761246961237a565b50601f01601f191660200190565b600082601f83011261248857600080fd5b813561249b61249682612450565b612420565b8181528460208386010111156124b057600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156124e657600080fd5b86356124f181612333565b9550602087013561250181612348565b945060408701356125118161235d565b935060608701356125218161236c565b9250608087013561253181612333565b915060a08701356001600160401b0381111561254c57600080fd5b61255889828a01612477565b9150509295509295509295565b60006020828403121561257757600080fd5b81356001600160401b0381111561258d57600080fd5b611cf884828501612477565b600080604083850312156125ac57600080fd5b82356125b781612333565b915060208301356001600160401b038111156125d257600080fd5b6125de85828601612477565b9150509250929050565b600080604083850312156125fb57600080fd5b823561260681612348565b9150602083013561261681612348565b809150509250929050565b60006020828403121561263357600080fd5b813561215c81612348565b6001600160c01b031981168114610b9f57600080fd5b64ffffffffff81168114610b9f57600080fd5b600080600080600080600060e0888a03121561268257600080fd5b873561268d81612348565b9650602088013561269d8161263e565b955060408801356126ad81612348565b945060608801356126bd8161263e565b935060808801356126cd81612348565b925060a08801356126dd81612654565b915060c08801356001600160401b038111156126f857600080fd5b6127048a828b01612477565b91505092959891949750929550565b60006020828403121561272557600080fd5b813561215c81612333565b60008060006060848603121561274557600080fd5b833561275081612333565b9250602084013561276081612333565b9150604084013561277081612333565b809150509250925092565b600080600080600080600060e0888a03121561279657600080fd5b87356127a181612333565b965060208801356127b18161263e565b955060408801356127c181612348565b945060608801356127d181612654565b935060808801356127e181612348565b925060a08801356126dd8161263e565b6000806040838503121561280457600080fd5b823561280f81612333565b9150602083013561261681612333565b60006020828403121561283157600080fd5b815162ffffff8116811461215c57600080fd5b805161284f81612348565b919050565b60006020828403121561286657600080fd5b815161215c81612348565b600181811c9082168061288557607f821691505b6020821081036128a557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610fad57600081815260208120601f850160051c810160208610156128d25750805b601f850160051c820191505b81811015610a87578281556001016128de565b81516001600160401b0381111561290a5761290a61237a565b61291e816129188454612871565b846128ab565b602080601f831160018114612953576000841561293b5750858301515b600019600386901b1c1916600185901b178555610a87565b600085815260208120601f198616915b8281101561298257888601518255948401946001909101908401612963565b50858210156129a05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b0381168114610b9f57600080fd5b6000602082840312156129d757600080fd5b815161215c816129b0565b6000602082840312156129f457600080fd5b815161215c81612333565b805161284f8161236c565b600060208284031215612a1c57600080fd5b815161215c8161236c565b805161284f8161235d565b600060208284031215612a4457600080fd5b815161215c8161235d565b805161284f81612333565b6001600160601b038316815260406020820152612a836040820183516001600160601b03169052565b60006020830151612a9f60608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160c01b0319811660a08401525060808301516001600160601b03811660c08401525060a08301516001600160601b03811660e08401525060c0830151610100612b12818501836001600160601b03169052565b60e08501519150610120612b2e8186018464ffffffffff169052565b81860151925061022091506101408281870152612b4f610260870185612284565b9350818701519150610160603f198786030181880152612b6f8584612284565b94508188015192506101809150612b8b8288018461ffff169052565b87015191506101a0612ba28782018461ffff169052565b9087015191506101c090612bc0878301846001600160601b03169052565b87015191506101e0612bdc878201846001600160601b03169052565b90870151915061020090612bf88783018464ffffffffff169052565b87015164ffffffffff908116938701939093528601519182166102408601525050949350505050565b600080600060608486031215612c3657600080fd5b8351612c4181612333565b6020850151909350612c5281612333565b604085015190925061277081612333565b600060408284031215612c7557600080fd5b604051604081018181106001600160401b0382111715612c9757612c9761237a565b604052825181526020928301519281019290925250919050565b60006102008284031215612cc457600080fd5b612ccc612390565b612cd583612844565b8152612ce360208401612844565b6020820152612cf58460408501612c63565b6040820152612d078460808501612c63565b6060820152612d198460c08501612c63565b6080820152610100612d2d85828601612c63565b60a0830152612d40856101408601612c63565b60c0830152612d53856101808601612c63565b60e0830152612d66856101c08601612c63565b908201529392505050565b600082601f830112612d8257600080fd5b8151612d9061249682612450565b818152846020838601011115612da557600080fd5b611cf8826020830160208701612260565b805161284f81612654565b600060208284031215612dd357600080fd5b81516001600160401b0380821115612dea57600080fd5b9083019060e08286031215612dfe57600080fd5b612e066123b9565b8251612e1181612348565b8152612e208660208501612c63565b6020820152606083015182811115612e3757600080fd5b612e4387828601612d71565b60408301525060808301519150612e5982612654565b816060820152612e6b60a08401612db6565b6080820152612e7c60c08401612db6565b60a082015295945050505050565b60006001600160601b03808a1683526001600160401b0360c01b808a166020850152818916604085015264ffffffffff8816606085015260e06080850152612ed560e0850188612284565b9590911660a08401529290921660c0909101525095945050505050565b60006102408284031215612f0557600080fd5b612f0d6123db565b612f1683612844565b8152612f2460208401612844565b6020820152612f3560408401612844565b6040820152606083810151908201526080808401519082015260a0808401519082015260c0808401519082015260e08084015190820152610100808401519082015261012080840151908201526101408084015190820152610160808401519082015261018080840151908201526101a080840151908201526101c080840151908201526101e080840151908201526102008084015190820152610220928301519281019290925250919050565b600060208284031215612ff557600080fd5b81516001600160401b038082111561300c57600080fd5b9083019060e0828603121561302057600080fd5b6130286123fe565b61303183612844565b815261303f60208401612844565b602082015261305060408401612a27565b6040820152613061606084016129ff565b606082015261307260808401612a4f565b608082015261308360a08401612a4f565b60a082015260c08301518281111561309a57600080fd5b6130a687828601612d71565b60c0830152509594505050505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212209bf0010bddfbd1f3029086a0df69985337242852981c515cdd8186d7971785dd64736f6c63430008140033",
702
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061018e5760003560e01c806362cbbd7b116100de5780638e32e97911610097578063b68d180911610071578063b68d1809146103cb578063bf7e214f146103da578063c219f0c0146103f8578063f7c34ee01461040b57600080fd5b80638e32e979146103825780638fb3603714610395578063ada9652e146103b657600080fd5b806362cbbd7b146102ff578063644c45e014610316578063675393bf146103345780636c741e78146103475780637a9e5e4b14610367578063893d20e81461037a57600080fd5b806327bb7a331161014b57806349bb9e4b1161012557806349bb9e4b1461029e578063536ef74b146102b15780635ab1bd53146102c7578063603ccaad146102ec57600080fd5b806327bb7a3314610270578063329d6e741461028357806336fc697e1461029657600080fd5b806301ffc9a7146101935780630d8e6e2c146101d55780630fec111c146101f1578063138461e0146102065780631eff4b2214610226578063214cdb801461025b575b600080fd5b6101c06101a1366004612236565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101dd61041e565b60405162ffffff90911681526020016101cc565b6101f96104a8565b6040516101cc91906122b0565b61020e610639565b6040516001600160601b0390911681526020016101cc565b61024d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101cc565b61026e610269366004612236565b610644565b005b61026e61027e3660046124cd565b610671565b61026e610291366004612565565b610716565b61026e610863565b61026e6102ac366004612599565b6108a9565b61020e6102bf3660046125e8565b600092915050565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101cc565b61026e6102fa366004612621565b6109a7565b61026e61030d366004612667565b50505050505050565b6000805160206130b6833981519152546001600160601b031661020e565b61026e610342366004612713565b610a8f565b61034f610ba2565b6040516001600160401b0390911681526020016101cc565b61026e610375366004612713565b610c9d565b6102d4610d37565b61026e610390366004612730565b610e6e565b61039d610fb2565b6040516001600160e01b031990911681526020016101cc565b61024d6000805160206130b683398151915281565b604051601481526020016101cc565b6000805160206130d6833981519152546001600160a01b03166102d4565b61020e61040636600461277b565b610fea565b61026e6104193660046127f1565b611404565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af415801561047f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a3919061281f565b905090565b6104b06121f8565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610529573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054d9190612854565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610595610d37565b6001600160a01b031681526020018260010180546105b290612871565b80601f01602080910402602001604051908101604052809291908181526020018280546105de90612871565b801561062b5780601f106106005761010080835404028352916020019161062b565b820191906000526020600020905b81548152906001019060200180831161060e57829003601f168201915b505050505081525091505090565b60006104a33061147b565b61064c61167c565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61067961167c565b6106838287611404565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161070c83826128f1565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61073861041e565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610778573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079c91906129c5565b6000805160206130f68339815191528054600160401b900460ff16806107cf575080546001600160401b03808416911610155b156107ed5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610817836116b5565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b61086b61167c565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206130f68339815191528054600160401b810460ff1615906001600160401b03166000811580156108dc5750825b90506000826001600160401b031660011480156108f85750303b155b905081158015610906575080155b156109245760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561094e57845460ff60401b1916600160401b1785555b61095887876116bd565b831561030d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b60006109b3600c61185c565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109f5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1991906129e2565b6001600160a01b0316630fad0eb18360146040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015610a7357600080fd5b505af1158015610a87573d6000803e3d6000fd5b505050505050565b610a9761167c565b806001600160a01b03163b600003610ad25760405163fdeac91f60e01b81526001600160a01b03821660048201526024015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e607072160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015610b4c575060408051601f3d908101601f19168201909252610b4991810190612a0a565b60015b610b745760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610ac9565b80610b9d5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610ac9565b505b50565b600073__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36014604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610c10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c349190612a32565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610c79573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a391906129c5565b33610cbd6000805160206130d6833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610cf85760405162d1953b60e31b81526001600160a01b0382166004820152602401610ac9565b816001600160a01b03163b600003610d2e576040516361798f2f60e11b81526001600160a01b0383166004820152602401610ac9565b610b9d826118fc565b6000806000805160206130b683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610da7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dcb9190612a0a565b15610e58576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610e2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5291906129e2565b91505090565b54600160601b90046001600160a01b0316919050565b610e7661167c565b610ef683846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edc9190612854565b600960008560405180602001604052806000815250610671565b6001600160a01b03821615610f1357610f0e8261195d565b610f8d565b6000610f1f600261196e565b9050610f8b816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8691906129e2565b61195d565b505b610f9d634a531f3360e01b610644565b610fad63daf9067160e01b610644565b505050565b6000805160206130d6833981519152805460009190600160a01b900460ff16610fdc576000610e52565b638fb3603760e01b91505090565b60008080610ff8600c61185c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561103d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106191906129e2565b905061107081848c898b611a7a565b61107a838c611bb6565b93506000604051806102200160405280856001600160601b03168152602001896001600160601b03168152602001886001600160c01b03191681526020018c6001600160c01b03191681526020018b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611120573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111449190612854565b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561119b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111bf9190612854565b6001600160601b031681526020018a64ffffffffff168152602001878152602001604051806020016040528060008152508152602001600061ffff168152602001600061ffff16815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611254573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112789190612854565b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156112cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112f39190612854565b6001600160601b0316815260006020820181905260408201819052606090910152905061131f81611d00565b6001600160601b031660a082015260408051631a99b41b60e31b815290516001600160a01b0385169163d4cda0d89160048083019260209291908290030181865afa158015611372573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139691906129e2565b6001600160a01b0316632a8ea7ac86836040518363ffffffff1660e01b81526004016113c3929190612a5a565b600060405180830381600087803b1580156113dd57600080fd5b505af11580156113f1573d6000803e3d6000fd5b5050505050505050979650505050505050565b61140c61167c565b61141581610a8f565b61141d610863565b6001600160a01b0382166114445760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206130b683398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000806000805160206130b683398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156114eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150f9190612a0a565b1561153b5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610ac9565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561158f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b39190612a0a565b6115db5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610ac9565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa15801561162f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116539190612854565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6000805160206130f683398151915254600160401b900460ff166116b357604051631afcd79f60e31b815260040160405180910390fd5b565b61018e61167c565b6000805160206130f68339815191528054600160401b810460ff1615906001600160401b03166000811580156116f05750825b90506000826001600160401b0316600114801561170c5750303b155b90508115801561171a575080155b156117385760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561176257845460ff60401b1916600160401b1785555b600080878060200190518101906117799190612c21565b925050915061178a8260008b610e6e565b611794600e61196e565b600280546001600160a01b0319166001600160a01b03929092169190911790556117be601961196e565b600380546001600160a01b0319166001600160a01b03929092169190911790556117e8600261196e565b600480546001600160a01b0319166001600160a01b0392909216919091179055611818639380705d60e01b610644565b5050831561030d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610996565b60006118666121f8565b600061187a6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa1580156118c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e49190612854565b92506118f283856001611e1d565b9395909450915050565b6000805160206130d683398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61196561167c565b610b9f816120c4565b60006119826001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156119e7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a0b9190612a32565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611a50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7491906129e2565b92915050565b6040516302d764c760e21b81526001600160601b03851660048201526000906001600160a01b03871690630b5d931c9060240161020060405180830381865afa158015611acb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aef9190612cb1565b6020810151604051634793b4ab60e01b81526001600160601b0385166004820152919250906000906001600160a01b03891690634793b4ab90602401600060405180830381865afa158015611b48573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b709190810190612dc1565b519050611b7d81836120d5565b1561070c576040516319c01eff60e01b81526001600160601b038086166004830152808416602483015282166044820152606401610ac9565b6000806040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611c0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c319190612854565b6001600160601b03168152602001856001600160601b03168152602001611c56601590565b60ff1681526000602080830182905260408084018390526001600160a01b03888116606086015281519283018252928252608090930152600480549251635c992fed60e01b8152939450911691635c992fed91611cb5918591016122b0565b6020604051808303816000875af1158015611cd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cf89190612854565b949350505050565b60035481516060830151608084015160e085015161010086015160208701516040808901519051637a5ff29d60e11b815260009873__$3bac17678db7ae928afa209f2f44deec9c$__98634c41dd96986001600160a01b039092169763f4bfe53a97611d789792969395919490939190600401612e8a565b61024060405180830381865afa158015611d96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dba9190612ef2565b60a001516040518263ffffffff1660e01b8152600401611ddc91815260200190565b602060405180830381865af4158015611df9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a749190612854565b611e256121f8565b600080611e3a6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e090602401600060405180830381865afa158015611e8a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611eb29190810190612fe3565b925060ff8516600b14611f1057604083015160ff868116911614611f0b57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610ac9565b611fac565b611f2b8360400151611f20600c90565b60ff90811691161490565b80611f415750611f418360400151611f20600f90565b80611f575750611f578360400151611f20600e90565b80611f6d5750611f6d8360400151611f20600d90565b611fac57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610ac9565b611fb98360200151612163565b915083156120bb57816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061202391906129e2565b608084015160405163a166aa8960e01b81526001600160a01b03918216600482015291169063a166aa8990602401602060405180830381865afa15801561206e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120929190612a0a565b156120bb57604051637d71120960e11b81526001600160601b0387166004820152602401610ac9565b50935093915050565b6120cc61167c565b610b9f816118fc565b6040516399009c5160e01b81526001600160601b0380841660048301528216602482015260009073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401602060405180830381865af4158015612138573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061215c9190612a0a565b9392505050565b60006121776001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156121c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526121ee9190810190612fe3565b6080015192915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561224857600080fd5b81356001600160e01b03198116811461215c57600080fd5b60005b8381101561227b578181015183820152602001612263565b50506000910152565b6000815180845261229c816020860160208601612260565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161231960c08401826001600160a01b03169052565b5060c083015160e080840152611cf8610100840182612284565b6001600160a01b0381168114610b9f57600080fd5b6001600160601b0381168114610b9f57600080fd5b60ff81168114610b9f57600080fd5b8015158114610b9f57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b03811182821017156123b3576123b361237a565b60405290565b60405160c081016001600160401b03811182821017156123b3576123b361237a565b60405161024081016001600160401b03811182821017156123b3576123b361237a565b60405160e081016001600160401b03811182821017156123b3576123b361237a565b604051601f8201601f191681016001600160401b03811182821017156124485761244861237a565b604052919050565b60006001600160401b038211156124695761246961237a565b50601f01601f191660200190565b600082601f83011261248857600080fd5b813561249b61249682612450565b612420565b8181528460208386010111156124b057600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156124e657600080fd5b86356124f181612333565b9550602087013561250181612348565b945060408701356125118161235d565b935060608701356125218161236c565b9250608087013561253181612333565b915060a08701356001600160401b0381111561254c57600080fd5b61255889828a01612477565b9150509295509295509295565b60006020828403121561257757600080fd5b81356001600160401b0381111561258d57600080fd5b611cf884828501612477565b600080604083850312156125ac57600080fd5b82356125b781612333565b915060208301356001600160401b038111156125d257600080fd5b6125de85828601612477565b9150509250929050565b600080604083850312156125fb57600080fd5b823561260681612348565b9150602083013561261681612348565b809150509250929050565b60006020828403121561263357600080fd5b813561215c81612348565b6001600160c01b031981168114610b9f57600080fd5b64ffffffffff81168114610b9f57600080fd5b600080600080600080600060e0888a03121561268257600080fd5b873561268d81612348565b9650602088013561269d8161263e565b955060408801356126ad81612348565b945060608801356126bd8161263e565b935060808801356126cd81612348565b925060a08801356126dd81612654565b915060c08801356001600160401b038111156126f857600080fd5b6127048a828b01612477565b91505092959891949750929550565b60006020828403121561272557600080fd5b813561215c81612333565b60008060006060848603121561274557600080fd5b833561275081612333565b9250602084013561276081612333565b9150604084013561277081612333565b809150509250925092565b600080600080600080600060e0888a03121561279657600080fd5b87356127a181612333565b965060208801356127b18161263e565b955060408801356127c181612348565b945060608801356127d181612654565b935060808801356127e181612348565b925060a08801356126dd8161263e565b6000806040838503121561280457600080fd5b823561280f81612333565b9150602083013561261681612333565b60006020828403121561283157600080fd5b815162ffffff8116811461215c57600080fd5b805161284f81612348565b919050565b60006020828403121561286657600080fd5b815161215c81612348565b600181811c9082168061288557607f821691505b6020821081036128a557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610fad57600081815260208120601f850160051c810160208610156128d25750805b601f850160051c820191505b81811015610a87578281556001016128de565b81516001600160401b0381111561290a5761290a61237a565b61291e816129188454612871565b846128ab565b602080601f831160018114612953576000841561293b5750858301515b600019600386901b1c1916600185901b178555610a87565b600085815260208120601f198616915b8281101561298257888601518255948401946001909101908401612963565b50858210156129a05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b0381168114610b9f57600080fd5b6000602082840312156129d757600080fd5b815161215c816129b0565b6000602082840312156129f457600080fd5b815161215c81612333565b805161284f8161236c565b600060208284031215612a1c57600080fd5b815161215c8161236c565b805161284f8161235d565b600060208284031215612a4457600080fd5b815161215c8161235d565b805161284f81612333565b6001600160601b038316815260406020820152612a836040820183516001600160601b03169052565b60006020830151612a9f60608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160c01b0319811660a08401525060808301516001600160601b03811660c08401525060a08301516001600160601b03811660e08401525060c0830151610100612b12818501836001600160601b03169052565b60e08501519150610120612b2e8186018464ffffffffff169052565b81860151925061022091506101408281870152612b4f610260870185612284565b9350818701519150610160603f198786030181880152612b6f8584612284565b94508188015192506101809150612b8b8288018461ffff169052565b87015191506101a0612ba28782018461ffff169052565b9087015191506101c090612bc0878301846001600160601b03169052565b87015191506101e0612bdc878201846001600160601b03169052565b90870151915061020090612bf88783018464ffffffffff169052565b87015164ffffffffff908116938701939093528601519182166102408601525050949350505050565b600080600060608486031215612c3657600080fd5b8351612c4181612333565b6020850151909350612c5281612333565b604085015190925061277081612333565b600060408284031215612c7557600080fd5b604051604081018181106001600160401b0382111715612c9757612c9761237a565b604052825181526020928301519281019290925250919050565b60006102008284031215612cc457600080fd5b612ccc612390565b612cd583612844565b8152612ce360208401612844565b6020820152612cf58460408501612c63565b6040820152612d078460808501612c63565b6060820152612d198460c08501612c63565b6080820152610100612d2d85828601612c63565b60a0830152612d40856101408601612c63565b60c0830152612d53856101808601612c63565b60e0830152612d66856101c08601612c63565b908201529392505050565b600082601f830112612d8257600080fd5b8151612d9061249682612450565b818152846020838601011115612da557600080fd5b611cf8826020830160208701612260565b805161284f81612654565b600060208284031215612dd357600080fd5b81516001600160401b0380821115612dea57600080fd5b9083019060e08286031215612dfe57600080fd5b612e066123b9565b8251612e1181612348565b8152612e208660208501612c63565b6020820152606083015182811115612e3757600080fd5b612e4387828601612d71565b60408301525060808301519150612e5982612654565b816060820152612e6b60a08401612db6565b6080820152612e7c60c08401612db6565b60a082015295945050505050565b60006001600160601b03808a1683526001600160401b0360c01b808a166020850152818916604085015264ffffffffff8816606085015260e06080850152612ed560e0850188612284565b9590911660a08401529290921660c0909101525095945050505050565b60006102408284031215612f0557600080fd5b612f0d6123db565b612f1683612844565b8152612f2460208401612844565b6020820152612f3560408401612844565b6040820152606083810151908201526080808401519082015260a0808401519082015260c0808401519082015260e08084015190820152610100808401519082015261012080840151908201526101408084015190820152610160808401519082015261018080840151908201526101a080840151908201526101c080840151908201526101e080840151908201526102008084015190820152610220928301519281019290925250919050565b600060208284031215612ff557600080fd5b81516001600160401b038082111561300c57600080fd5b9083019060e0828603121561302057600080fd5b6130286123fe565b61303183612844565b815261303f60208401612844565b602082015261305060408401612a27565b6040820152613061606084016129ff565b606082015261307260808401612a4f565b608082015261308360a08401612a4f565b60a082015260c08301518281111561309a57600080fd5b6130a687828601612d71565b60c0830152509594505050505056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212209bf0010bddfbd1f3029086a0df69985337242852981c515cdd8186d7971785dd64736f6c63430008140033",
721
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b613600806100d65f395ff3fe608060405234801561000f575f80fd5b506004361061013d575f3560e01c806362cbbd7b116100b4578063893d20e811610079578063893d20e8146103005780638fb36037146103085780639a83274114610329578063ada9652e1461033c578063b68d180914610350578063bf7e214f14610357575f80fd5b806362cbbd7b14610283578063644c45e0146102965780636c741e78146102b357806376b707b7146102d35780637a9e5e4b146102ed575f80fd5b806322f3e2d41161010557806322f3e2d414610208578063329d6e741461021057806349bb9e4b14610225578063536ef74b146102385780635ab1bd531461024b578063603ccaad14610270575f80fd5b806301ffc9a7146101415780630d8e6e2c146101825780630fec111c1461019e578063138461e0146101b35780631eff4b22146101d3575b5f80fd5b61016d61014f36600461289e565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61018a61035f565b60405162ffffff9091168152602001610179565b6101a66103e6565b60405161017991906128f3565b6101bb610572565b6040516001600160601b039091168152602001610179565b6101fa7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610179565b61016d61057c565b61022361021e366004612a86565b6105f3565b005b610223610233366004612acb565b61073d565b6101bb610246366004612b2b565b610839565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610179565b61022361027e366004612b62565b610880565b610223610291366004612ba4565b610992565b5f8051602061354b833981519152546001600160601b03166101bb565b6102bb6109cf565b6040516001600160401b039091168152602001610179565b6102db610a5b565b60405160ff9091168152602001610179565b6102236102fb366004612c4a565b610ac3565b610258610b4e565b610310610c7f565b6040516001600160e01b03199091168152602001610179565b6101bb610337366004612c65565b610cb4565b6101fa5f8051602061354b83398151915281565b60146102db565b610258610e51565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156103bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e19190612d1e565b905090565b6103ee612861565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610464573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104889190612d50565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016104d0610b4e565b6001600160a01b031681526020018260010180546104ed90612d6b565b80601f016020809104026020016040519081016040528092919081815260200182805461051990612d6b565b80156105645780601f1061053b57610100808354040283529160200191610564565b820191905f5260205f20905b81548152906001019060200180831161054757829003601f168201915b505050505081525091505090565b5f6103e130610e6c565b5f610585610e51565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156105c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105ed9190612db2565b15905090565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61061561035f565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610653573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106779190612ddf565b5f805160206135ab8339815191528054600160401b900460ff16806106a9575080546001600160401b03808416911610155b156106c75760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556106f183611065565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206135ab8339815191528054600160401b810460ff1615906001600160401b03165f8115801561076e5750825b90505f826001600160401b031660011480156107895750303b155b905081158015610797575080155b156107b55760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156107df57845460ff60401b1916600160401b1785555b6107e9878761106d565b831561083057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f610846335b5f36611206565b61084e611304565b61085983601561133b565b61086482601661133b565b61087a60015f8051602061358b83398151915255565b92915050565b6108893361083f565b610891611304565b61089c81601561133b565b5f6108a7600c611482565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090b9190612dfa565b6001600160a01b0316630fad0eb18360146040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015f604051808303815f87803b158015610962575f80fd5b505af1158015610974573d5f803e3d5ffd5b505050505061098f60015f8051602061358b83398151915255565b50565b61099b3361083f565b6109a3611304565b6109ae87601561133b565b6109b985601661133b565b61083060015f8051602061358b83398151915255565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d360146109f4610a5b565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610a37573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e19190612ddf565b5f610a64610e51565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a9f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e19190612e2e565b33610acc610e51565b6001600160a01b0316816001600160a01b031614610b0c5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610b41576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b03565b610b4a8261151e565b5050565b5f805f8051602061354b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610bba573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bde9190612db2565b15610c69576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610c3f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c639190612dfa565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061356b83398151915280545f9190600160a01b900460ff16610ca6575f610c63565b638fb3603760e01b91505090565b5f610cbe3361083f565b610cc6611304565b610cd184601661133b565b5f80610cdd600c611482565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d1f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d439190612dfa565b9050610d5281848d898b61157e565b610d5c838d611abd565b93505f610d6f848d8d8d8d8d8d8d611c00565b9050826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dad573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dd19190612dfa565b6001600160a01b0316639505838e86836040518363ffffffff1660e01b8152600401610dfe929190612e54565b5f604051808303815f87803b158015610e15575f80fd5b505af1158015610e27573d5f803e3d5ffd5b5050505050505050610e4560015f8051602061358b83398151915255565b98975050505050505050565b5f8051602061356b833981519152546001600160a01b031690565b5f805f8051602061354b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610ed8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610efc9190612db2565b15610f285780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610b03565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015610f7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f9e9190612db2565b610fc65760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610b03565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611018573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061103c9190612d50565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b61013d611e50565b5f805160206135ab8339815191528054600160401b810460ff1615906001600160401b03165f8115801561109e5750825b90505f826001600160401b031660011480156110b95750303b155b9050811580156110c7575080155b156110e55760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561110f57845460ff60401b1916600160401b1785555b5f80878060200190518101906111259190612fd7565b9150915061113482828b611e88565b61113e600e611f2a565b600280546001600160a01b0319166001600160a01b0392909216919091179055611168602a611f2a565b600380546001600160a01b0319166001600160a01b03929092169190911790556111926002611f2a565b600480546001600160a01b0319166001600160a01b03929092169190911790556111c26332c6a9f760e21b611fbb565b5050831561083057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610827565b5f8051602061356b8339815191525f8061123e611221610e51565b873061123060045f8a8c613004565b6112399161302b565b611feb565b91509150816112fc5763ffffffff8116156112d957825460ff60a01b1916600160a01b17835561126c610e51565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161129b93929190613063565b5f604051808303815f87803b1580156112b2575f80fd5b505af11580156112c4573d5f803e3d5ffd5b5050845460ff60a01b19168555506112fc9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b03565b505050505050565b5f8051602061358b83398151915280546001190161133557604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af415801561138b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113af9190612db2565b8061143d57506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015611417573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061143b9190612db2565b155b15610b4a5760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610b03565b60015f8051602061358b83398151915255565b5f61148b612861565b5f61149e6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156114e2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115069190612d50565b9250611514838560016120f3565b9395909450915050565b5f8051602061356b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f80866001600160a01b0316630e0c586d6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e09190612dfa565b60405163c1b5cfb760e01b81526001600160601b03881660048201526001600160c01b0319871660248201526001600160a01b03919091169063c1b5cfb7906044016040805180830381865afa15801561163c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061166091906130a2565b915091508161169d576040516335f00fb960e21b81526001600160c01b0319861660048201526001600160601b0387166024820152604401610b03565b806116d65760405163b84c2cc960e01b81526001600160c01b0319861660048201526001600160601b0387166024820152604401610b03565b60405163887b1fa960e01b81526001600160c01b0319861660048201525f906001600160a01b0389169063887b1fa9906024015f60405180830381865afa158015611723573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261174a9190810190613120565b51905061175787826123d8565b156117985760405163527fa6d760e11b81526001600160c01b0319871660048201526001600160601b03808316602483015288166044820152606401610b03565b6040516302d764c760e21b81526001600160601b03881660048201525f906001600160a01b038a1690630b5d931c906024015f60405180830381865afa1580156117e4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261180b919081019061324b565b90505f8160a001519050896001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611851573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118759190612dfa565b60405163bdb996ff60e01b81526001600160601b038084166004830152881660248201526001600160a01b03919091169063bdb996ff906044016040805180830381865afa1580156118c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118ed91906130a2565b909550935084611923576040516339bffb5f60e21b81526001600160601b03808816600483015282166024820152604401610b03565b836119545760405163a44d71a560e01b81526001600160601b03808816600483015282166024820152604401610b03565b50806040015180156119de5750604051637bc32ecf60e01b81526001600160c01b03198716600482015273__$05887d5853069c88bcd4c0a2107db45f29$__90637bc32ecf90602401602060405180830381865af41580156119b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119dc9190612db2565b155b15611ab25760025460c08201516040516309741ce160e21b81526001600160601b0390911660048201526001600160c01b0319881660248201526001600160a01b03909116906325d0738490604401602060405180830381865afa158015611a48573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a6c9190612db2565b611ab25760c0810151604051632f8b776760e21b81526001600160601b03808b16600483015290911660248201526001600160c01b031987166044820152606401610b03565b505050505050505050565b5f806040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611b11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b359190612d50565b6001600160601b03168152602001856001600160601b03168152602001611b5a601590565b60ff1681525f602080830182905260408084018390526001600160a01b03888116606086015281519283018252928252608090930152600480549251635c992fed60e01b8152939450911691635c992fed91611bb8918591016128f3565b6020604051808303815f875af1158015611bd4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bf89190612d50565b949350505050565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820183905261012082018390526101408201839052610160820183905261018082018390526101a08201929092526101c081018290526101e08101919091526040518061020001604052808a6001600160601b03168152602001856001600160601b03168152602001896001600160c01b0319168152602001886001600160601b03168152602001876001600160601b03168152602001846001600160c01b03191681526020015f61ffff1681526020015f61ffff16815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d45573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d699190612d50565b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611dbe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611de29190612d50565b6001600160601b031681526020015f64ffffffffff1681526020018664ffffffffff168152602001611e115f90565b64ffffffffff1681526020015f64ffffffffff16815260200183815260200160405180602001604052805f815250815250905098975050505050505050565b5f805160206135ab83398151915254600160401b900460ff16611e8657604051631afcd79f60e31b815260040160405180910390fd5b565b611e90611e50565b611e98612463565b611f158383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ed9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611efd9190612d50565b60085f8660405180602001604052805f815250612473565b611f2563daf9067160e01b611fbb565b505050565b5f611f3d6001546001600160a01b031690565b6001600160a01b031663d39e604383611f54610a5b565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611f97573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087a9190612dfa565b611fc3611e50565b61098f816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612059919061332d565b5f60405180830381855afa9150503d805f8114612091576040519150601f19603f3d011682016040523d82523d5f602084013e612096565b606091505b509150915081156120e85760408151106120c857808060200190518101906120be9190613343565b90945092506120e8565b60208151106120e857808060200190518101906120e59190612db2565b93505b505094509492505050565b6120fb612861565b5f8061210f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa15801561215c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526121839190810190613375565b925060ff8516600b146121e157604083015160ff8681169116146121dc57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610b03565b61227d565b6121fc83604001516121f1600c90565b60ff90811691161490565b80612212575061221283604001516121f1600f90565b80612228575061222883604001516121f1600e90565b8061223e575061223e83604001516121f1600d90565b61227d57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610b03565b61228d83604001516121f1600390565b1561229857506123d0565b6122a883604001516121f1600c90565b156122c2576122bb8184602001516125ba565b91506122d3565b6122d081846020015161262b565b91505b83156123ce57816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612315573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123399190612dfa565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015612381573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123a59190612db2565b156123ce57604051637d71120960e11b81526001600160601b0387166004820152602401610b03565b505b935093915050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401602060405180830381865af4158015612438573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061245c9190612db2565b9392505050565b61246b611e50565b611e866126ad565b61247b611e50565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156124d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124f59190612db2565b61251d5760405163cf6935e560e01b81526001600160a01b0388166004820152602401610b03565b612526876126b5565b61253086836126c6565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161259f8382613490565b506125b0634a531f3360e01b611fbb565b5050505050505050565b60405163bf8e179760e01b81526001600160601b03821660048201525f906001600160a01b0384169063bf8e179790602401602060405180830381865afa158015612607573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061245c9190612dfa565b6040516305247a1760e51b81526001600160601b03821660048201525f9061245c9084906001600160a01b0382169063a48f42e0906024015f60405180830381865afa15801561267d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526126a49190810190613375565b602001516125ba565b61146f611e50565b6126bd611e50565b61098f8161273c565b6126ce611e50565b6126d661274d565b6126df82612795565b6001600160a01b0381166127065760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061354b83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b612744611e50565b61098f8161151e565b612755611e50565b611e866301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61279d611e50565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156127f3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128179190612db2565b61283f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b03565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f602082840312156128ae575f80fd5b81356001600160e01b03198116811461245c575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161293b608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611bf86101008401826128c5565b634e487b7160e01b5f52604160045260245ffd5b60405161010081016001600160401b03811182821017156129b6576129b661297f565b60405290565b60405160e081016001600160401b03811182821017156129b6576129b661297f565b604051601f8201601f191681016001600160401b0381118282101715612a0657612a0661297f565b604052919050565b5f6001600160401b03821115612a2657612a2661297f565b50601f01601f191660200190565b5f82601f830112612a43575f80fd5b8135612a56612a5182612a0e565b6129de565b818152846020838601011115612a6a575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612a96575f80fd5b81356001600160401b03811115612aab575f80fd5b611bf884828501612a34565b6001600160a01b038116811461098f575f80fd5b5f8060408385031215612adc575f80fd5b8235612ae781612ab7565b915060208301356001600160401b03811115612b01575f80fd5b612b0d85828601612a34565b9150509250929050565b6001600160601b038116811461098f575f80fd5b5f8060408385031215612b3c575f80fd5b8235612b4781612b17565b91506020830135612b5781612b17565b809150509250929050565b5f60208284031215612b72575f80fd5b813561245c81612b17565b6001600160c01b03198116811461098f575f80fd5b64ffffffffff8116811461098f575f80fd5b5f805f805f805f60e0888a031215612bba575f80fd5b8735612bc581612b17565b96506020880135612bd581612b7d565b95506040880135612be581612b17565b94506060880135612bf581612b7d565b93506080880135612c0581612b17565b925060a0880135612c1581612b92565b915060c08801356001600160401b03811115612c2f575f80fd5b612c3b8a828b01612a34565b91505092959891949750929550565b5f60208284031215612c5a575f80fd5b813561245c81612ab7565b5f805f805f805f80610100898b031215612c7d575f80fd5b8835612c8881612ab7565b97506020890135612c9881612b7d565b96506040890135612ca881612b17565b95506060890135612cb881612b17565b94506080890135612cc881612b92565b935060a0890135612cd881612b17565b925060c0890135612ce881612b7d565b915060e08901356001600160401b03811115612d02575f80fd5b612d0e8b828c01612a34565b9150509295985092959890939650565b5f60208284031215612d2e575f80fd5b815162ffffff8116811461245c575f80fd5b8051612d4b81612b17565b919050565b5f60208284031215612d60575f80fd5b815161245c81612b17565b600181811c90821680612d7f57607f821691505b602082108103612d9d57634e487b7160e01b5f52602260045260245ffd5b50919050565b80518015158114612d4b575f80fd5b5f60208284031215612dc2575f80fd5b61245c82612da3565b6001600160401b038116811461098f575f80fd5b5f60208284031215612def575f80fd5b815161245c81612dcb565b5f60208284031215612e0a575f80fd5b815161245c81612ab7565b60ff8116811461098f575f80fd5b8051612d4b81612e15565b5f60208284031215612e3e575f80fd5b815161245c81612e15565b8051612d4b81612ab7565b6001600160601b038316815260406020820152612e7d6040820183516001600160601b03169052565b5f6020830151612e9860608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160601b03811660a08401525060808301516001600160601b03811660c08401525060a08301516001600160c01b0319811660e08401525060c083015161ffff81166101008401525060e083015161ffff8116610120840152506101008301516001600160601b038116610140840152506101208301516001600160601b0381166101608401525061014083015164ffffffffff81166101808401525061016083015164ffffffffff81166101a08401525061018083015164ffffffffff81166101c0840152506101a083015164ffffffffff81166101e0840152506101c083015161020080840152612fae6102408401826128c5565b90506101e0840151603f1984830301610220850152612fcd82826128c5565b9695505050505050565b5f8060408385031215612fe8575f80fd5b8251612ff381612ab7565b6020840151909250612b5781612ab7565b5f8085851115613012575f80fd5b8386111561301e575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561305c576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f80604083850312156130b3575f80fd5b6130bc83612da3565b91506130ca60208401612da3565b90509250929050565b5f82601f8301126130e2575f80fd5b81516130f0612a5182612a0e565b818152846020838601011115613104575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215613130575f80fd5b81516001600160401b03811115613145575f80fd5b820160608185031215613156575f80fd5b604051606081016001600160401b03811182821017156131785761317861297f565b604052815161318681612b17565b8152602082015161319681612b92565b602082015260408201516001600160401b038111156131b3575f80fd5b6131bf868285016130d3565b604083015250949350505050565b5f82601f8301126131dc575f80fd5b81516001600160401b038111156131f5576131f561297f565b8060051b613205602082016129de565b91825260208185018101929081019086841115613220575f80fd5b6020860192505b83831015612fcd57825161323a81612b17565b825260209283019290910190613227565b5f6020828403121561325b575f80fd5b81516001600160401b03811115613270575f80fd5b82016101008185031215613282575f80fd5b61328a612993565b61329382612da3565b81526132a160208301612da3565b60208201526132b260408301612da3565b60408201526132c360608301612e23565b60608201526132d460808301612e23565b60808201526132e560a08301612d40565b60a08201526132f660c08301612d40565b60c082015260e08201516001600160401b03811115613313575f80fd5b61331f868285016131cd565b60e083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613354575f80fd5b61335d83612da3565b9150602083015163ffffffff81168114612b57575f80fd5b5f60208284031215613385575f80fd5b81516001600160401b0381111561339a575f80fd5b820160e081850312156133ab575f80fd5b6133b36129bc565b6133bc82612d40565b81526133ca60208301612d40565b60208201526133db60408301612e23565b60408201526133ec60608301612da3565b60608201526133fd60808301612e49565b608082015261340e60a08301612e49565b60a082015260c08201516001600160401b0381111561342b575f80fd5b613437868285016130d3565b60c083015250949350505050565b601f821115611f2557805f5260205f20601f840160051c8101602085101561346a5750805b601f840160051c820191505b81811015613489575f8155600101613476565b5050505050565b81516001600160401b038111156134a9576134a961297f565b6134bd816134b78454612d6b565b84613445565b6020601f8211600181146134ef575f83156134d85750848201515b5f19600385901b1c1916600184901b178455613489565b5f84815260208120601f198516915b8281101561351e57878501518255602094850194600190920191016134fe565b508482101561353b57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a009b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220700d4fb94202fc73acb0ac0be89e0cf53d651e8d58198dc89faf75e1fc842f6c64736f6c634300081a0033",
722
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061013d575f3560e01c806362cbbd7b116100b4578063893d20e811610079578063893d20e8146103005780638fb36037146103085780639a83274114610329578063ada9652e1461033c578063b68d180914610350578063bf7e214f14610357575f80fd5b806362cbbd7b14610283578063644c45e0146102965780636c741e78146102b357806376b707b7146102d35780637a9e5e4b146102ed575f80fd5b806322f3e2d41161010557806322f3e2d414610208578063329d6e741461021057806349bb9e4b14610225578063536ef74b146102385780635ab1bd531461024b578063603ccaad14610270575f80fd5b806301ffc9a7146101415780630d8e6e2c146101825780630fec111c1461019e578063138461e0146101b35780631eff4b22146101d3575b5f80fd5b61016d61014f36600461289e565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61018a61035f565b60405162ffffff9091168152602001610179565b6101a66103e6565b60405161017991906128f3565b6101bb610572565b6040516001600160601b039091168152602001610179565b6101fa7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610179565b61016d61057c565b61022361021e366004612a86565b6105f3565b005b610223610233366004612acb565b61073d565b6101bb610246366004612b2b565b610839565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610179565b61022361027e366004612b62565b610880565b610223610291366004612ba4565b610992565b5f8051602061354b833981519152546001600160601b03166101bb565b6102bb6109cf565b6040516001600160401b039091168152602001610179565b6102db610a5b565b60405160ff9091168152602001610179565b6102236102fb366004612c4a565b610ac3565b610258610b4e565b610310610c7f565b6040516001600160e01b03199091168152602001610179565b6101bb610337366004612c65565b610cb4565b6101fa5f8051602061354b83398151915281565b60146102db565b610258610e51565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156103bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e19190612d1e565b905090565b6103ee612861565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610464573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104889190612d50565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016104d0610b4e565b6001600160a01b031681526020018260010180546104ed90612d6b565b80601f016020809104026020016040519081016040528092919081815260200182805461051990612d6b565b80156105645780601f1061053b57610100808354040283529160200191610564565b820191905f5260205f20905b81548152906001019060200180831161054757829003601f168201915b505050505081525091505090565b5f6103e130610e6c565b5f610585610e51565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa1580156105c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105ed9190612db2565b15905090565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61061561035f565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610653573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106779190612ddf565b5f805160206135ab8339815191528054600160401b900460ff16806106a9575080546001600160401b03808416911610155b156106c75760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556106f183611065565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f805160206135ab8339815191528054600160401b810460ff1615906001600160401b03165f8115801561076e5750825b90505f826001600160401b031660011480156107895750303b155b905081158015610797575080155b156107b55760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156107df57845460ff60401b1916600160401b1785555b6107e9878761106d565b831561083057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f610846335b5f36611206565b61084e611304565b61085983601561133b565b61086482601661133b565b61087a60015f8051602061358b83398151915255565b92915050565b6108893361083f565b610891611304565b61089c81601561133b565b5f6108a7600c611482565b92505050806001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090b9190612dfa565b6001600160a01b0316630fad0eb18360146040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015f604051808303815f87803b158015610962575f80fd5b505af1158015610974573d5f803e3d5ffd5b505050505061098f60015f8051602061358b83398151915255565b50565b61099b3361083f565b6109a3611304565b6109ae87601561133b565b6109b985601661133b565b61083060015f8051602061358b83398151915255565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d360146109f4610a5b565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610a37573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e19190612ddf565b5f610a64610e51565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a9f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e19190612e2e565b33610acc610e51565b6001600160a01b0316816001600160a01b031614610b0c5760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f03610b41576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b03565b610b4a8261151e565b5050565b5f805f8051602061354b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610bba573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bde9190612db2565b15610c69576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610c3f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c639190612dfa565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061356b83398151915280545f9190600160a01b900460ff16610ca6575f610c63565b638fb3603760e01b91505090565b5f610cbe3361083f565b610cc6611304565b610cd184601661133b565b5f80610cdd600c611482565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d1f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d439190612dfa565b9050610d5281848d898b61157e565b610d5c838d611abd565b93505f610d6f848d8d8d8d8d8d8d611c00565b9050826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dad573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dd19190612dfa565b6001600160a01b0316639505838e86836040518363ffffffff1660e01b8152600401610dfe929190612e54565b5f604051808303815f87803b158015610e15575f80fd5b505af1158015610e27573d5f803e3d5ffd5b5050505050505050610e4560015f8051602061358b83398151915255565b98975050505050505050565b5f8051602061356b833981519152546001600160a01b031690565b5f805f8051602061354b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610ed8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610efc9190612db2565b15610f285780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610b03565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015610f7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f9e9190612db2565b610fc65760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610b03565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611018573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061103c9190612d50565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b61013d611e50565b5f805160206135ab8339815191528054600160401b810460ff1615906001600160401b03165f8115801561109e5750825b90505f826001600160401b031660011480156110b95750303b155b9050811580156110c7575080155b156110e55760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561110f57845460ff60401b1916600160401b1785555b5f80878060200190518101906111259190612fd7565b9150915061113482828b611e88565b61113e600e611f2a565b600280546001600160a01b0319166001600160a01b0392909216919091179055611168602a611f2a565b600380546001600160a01b0319166001600160a01b03929092169190911790556111926002611f2a565b600480546001600160a01b0319166001600160a01b03929092169190911790556111c26332c6a9f760e21b611fbb565b5050831561083057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610827565b5f8051602061356b8339815191525f8061123e611221610e51565b873061123060045f8a8c613004565b6112399161302b565b611feb565b91509150816112fc5763ffffffff8116156112d957825460ff60a01b1916600160a01b17835561126c610e51565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161129b93929190613063565b5f604051808303815f87803b1580156112b2575f80fd5b505af11580156112c4573d5f803e3d5ffd5b5050845460ff60a01b19168555506112fc9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b03565b505050505050565b5f8051602061358b83398151915280546001190161133557604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af415801561138b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113af9190612db2565b8061143d57506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015611417573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061143b9190612db2565b155b15610b4a5760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610b03565b60015f8051602061358b83398151915255565b5f61148b612861565b5f61149e6001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa1580156114e2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115069190612d50565b9250611514838560016120f3565b9395909450915050565b5f8051602061356b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f80866001600160a01b0316630e0c586d6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e09190612dfa565b60405163c1b5cfb760e01b81526001600160601b03881660048201526001600160c01b0319871660248201526001600160a01b03919091169063c1b5cfb7906044016040805180830381865afa15801561163c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061166091906130a2565b915091508161169d576040516335f00fb960e21b81526001600160c01b0319861660048201526001600160601b0387166024820152604401610b03565b806116d65760405163b84c2cc960e01b81526001600160c01b0319861660048201526001600160601b0387166024820152604401610b03565b60405163887b1fa960e01b81526001600160c01b0319861660048201525f906001600160a01b0389169063887b1fa9906024015f60405180830381865afa158015611723573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261174a9190810190613120565b51905061175787826123d8565b156117985760405163527fa6d760e11b81526001600160c01b0319871660048201526001600160601b03808316602483015288166044820152606401610b03565b6040516302d764c760e21b81526001600160601b03881660048201525f906001600160a01b038a1690630b5d931c906024015f60405180830381865afa1580156117e4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261180b919081019061324b565b90505f8160a001519050896001600160a01b0316636dddada46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611851573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118759190612dfa565b60405163bdb996ff60e01b81526001600160601b038084166004830152881660248201526001600160a01b03919091169063bdb996ff906044016040805180830381865afa1580156118c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118ed91906130a2565b909550935084611923576040516339bffb5f60e21b81526001600160601b03808816600483015282166024820152604401610b03565b836119545760405163a44d71a560e01b81526001600160601b03808816600483015282166024820152604401610b03565b50806040015180156119de5750604051637bc32ecf60e01b81526001600160c01b03198716600482015273__$05887d5853069c88bcd4c0a2107db45f29$__90637bc32ecf90602401602060405180830381865af41580156119b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119dc9190612db2565b155b15611ab25760025460c08201516040516309741ce160e21b81526001600160601b0390911660048201526001600160c01b0319881660248201526001600160a01b03909116906325d0738490604401602060405180830381865afa158015611a48573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a6c9190612db2565b611ab25760c0810151604051632f8b776760e21b81526001600160601b03808b16600483015290911660248201526001600160c01b031987166044820152606401610b03565b505050505050505050565b5f806040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611b11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b359190612d50565b6001600160601b03168152602001856001600160601b03168152602001611b5a601590565b60ff1681525f602080830182905260408084018390526001600160a01b03888116606086015281519283018252928252608090930152600480549251635c992fed60e01b8152939450911691635c992fed91611bb8918591016128f3565b6020604051808303815f875af1158015611bd4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bf89190612d50565b949350505050565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e08201839052610100820183905261012082018390526101408201839052610160820183905261018082018390526101a08201929092526101c081018290526101e08101919091526040518061020001604052808a6001600160601b03168152602001856001600160601b03168152602001896001600160c01b0319168152602001886001600160601b03168152602001876001600160601b03168152602001846001600160c01b03191681526020015f61ffff1681526020015f61ffff16815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d45573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d699190612d50565b6001600160601b0316815260200173__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611dbe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611de29190612d50565b6001600160601b031681526020015f64ffffffffff1681526020018664ffffffffff168152602001611e115f90565b64ffffffffff1681526020015f64ffffffffff16815260200183815260200160405180602001604052805f815250815250905098975050505050505050565b5f805160206135ab83398151915254600160401b900460ff16611e8657604051631afcd79f60e31b815260040160405180910390fd5b565b611e90611e50565b611e98612463565b611f158383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ed9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611efd9190612d50565b60085f8660405180602001604052805f815250612473565b611f2563daf9067160e01b611fbb565b505050565b5f611f3d6001546001600160a01b031690565b6001600160a01b031663d39e604383611f54610a5b565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611f97573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061087a9190612dfa565b611fc3611e50565b61098f816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612059919061332d565b5f60405180830381855afa9150503d805f8114612091576040519150601f19603f3d011682016040523d82523d5f602084013e612096565b606091505b509150915081156120e85760408151106120c857808060200190518101906120be9190613343565b90945092506120e8565b60208151106120e857808060200190518101906120e59190612db2565b93505b505094509492505050565b6120fb612861565b5f8061210f6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa15801561215c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526121839190810190613375565b925060ff8516600b146121e157604083015160ff8681169116146121dc57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610b03565b61227d565b6121fc83604001516121f1600c90565b60ff90811691161490565b80612212575061221283604001516121f1600f90565b80612228575061222883604001516121f1600e90565b8061223e575061223e83604001516121f1600d90565b61227d57604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff80881660248301529091166044820152606401610b03565b61228d83604001516121f1600390565b1561229857506123d0565b6122a883604001516121f1600c90565b156122c2576122bb8184602001516125ba565b91506122d3565b6122d081846020015161262b565b91505b83156123ce57816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612315573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123399190612dfa565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015612381573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123a59190612db2565b156123ce57604051637d71120960e11b81526001600160601b0387166004820152602401610b03565b505b935093915050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401602060405180830381865af4158015612438573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061245c9190612db2565b9392505050565b61246b611e50565b611e866126ad565b61247b611e50565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af41580156124d1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124f59190612db2565b61251d5760405163cf6935e560e01b81526001600160a01b0388166004820152602401610b03565b612526876126b5565b61253086836126c6565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161259f8382613490565b506125b0634a531f3360e01b611fbb565b5050505050505050565b60405163bf8e179760e01b81526001600160601b03821660048201525f906001600160a01b0384169063bf8e179790602401602060405180830381865afa158015612607573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061245c9190612dfa565b6040516305247a1760e51b81526001600160601b03821660048201525f9061245c9084906001600160a01b0382169063a48f42e0906024015f60405180830381865afa15801561267d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526126a49190810190613375565b602001516125ba565b61146f611e50565b6126bd611e50565b61098f8161273c565b6126ce611e50565b6126d661274d565b6126df82612795565b6001600160a01b0381166127065760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061354b83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b612744611e50565b61098f8161151e565b612755611e50565b611e866301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61279d611e50565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af41580156127f3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128179190612db2565b61283f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b03565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f602082840312156128ae575f80fd5b81356001600160e01b03198116811461245c575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161293b608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152611bf86101008401826128c5565b634e487b7160e01b5f52604160045260245ffd5b60405161010081016001600160401b03811182821017156129b6576129b661297f565b60405290565b60405160e081016001600160401b03811182821017156129b6576129b661297f565b604051601f8201601f191681016001600160401b0381118282101715612a0657612a0661297f565b604052919050565b5f6001600160401b03821115612a2657612a2661297f565b50601f01601f191660200190565b5f82601f830112612a43575f80fd5b8135612a56612a5182612a0e565b6129de565b818152846020838601011115612a6a575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612a96575f80fd5b81356001600160401b03811115612aab575f80fd5b611bf884828501612a34565b6001600160a01b038116811461098f575f80fd5b5f8060408385031215612adc575f80fd5b8235612ae781612ab7565b915060208301356001600160401b03811115612b01575f80fd5b612b0d85828601612a34565b9150509250929050565b6001600160601b038116811461098f575f80fd5b5f8060408385031215612b3c575f80fd5b8235612b4781612b17565b91506020830135612b5781612b17565b809150509250929050565b5f60208284031215612b72575f80fd5b813561245c81612b17565b6001600160c01b03198116811461098f575f80fd5b64ffffffffff8116811461098f575f80fd5b5f805f805f805f60e0888a031215612bba575f80fd5b8735612bc581612b17565b96506020880135612bd581612b7d565b95506040880135612be581612b17565b94506060880135612bf581612b7d565b93506080880135612c0581612b17565b925060a0880135612c1581612b92565b915060c08801356001600160401b03811115612c2f575f80fd5b612c3b8a828b01612a34565b91505092959891949750929550565b5f60208284031215612c5a575f80fd5b813561245c81612ab7565b5f805f805f805f80610100898b031215612c7d575f80fd5b8835612c8881612ab7565b97506020890135612c9881612b7d565b96506040890135612ca881612b17565b95506060890135612cb881612b17565b94506080890135612cc881612b92565b935060a0890135612cd881612b17565b925060c0890135612ce881612b7d565b915060e08901356001600160401b03811115612d02575f80fd5b612d0e8b828c01612a34565b9150509295985092959890939650565b5f60208284031215612d2e575f80fd5b815162ffffff8116811461245c575f80fd5b8051612d4b81612b17565b919050565b5f60208284031215612d60575f80fd5b815161245c81612b17565b600181811c90821680612d7f57607f821691505b602082108103612d9d57634e487b7160e01b5f52602260045260245ffd5b50919050565b80518015158114612d4b575f80fd5b5f60208284031215612dc2575f80fd5b61245c82612da3565b6001600160401b038116811461098f575f80fd5b5f60208284031215612def575f80fd5b815161245c81612dcb565b5f60208284031215612e0a575f80fd5b815161245c81612ab7565b60ff8116811461098f575f80fd5b8051612d4b81612e15565b5f60208284031215612e3e575f80fd5b815161245c81612e15565b8051612d4b81612ab7565b6001600160601b038316815260406020820152612e7d6040820183516001600160601b03169052565b5f6020830151612e9860608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160601b03811660a08401525060808301516001600160601b03811660c08401525060a08301516001600160c01b0319811660e08401525060c083015161ffff81166101008401525060e083015161ffff8116610120840152506101008301516001600160601b038116610140840152506101208301516001600160601b0381166101608401525061014083015164ffffffffff81166101808401525061016083015164ffffffffff81166101a08401525061018083015164ffffffffff81166101c0840152506101a083015164ffffffffff81166101e0840152506101c083015161020080840152612fae6102408401826128c5565b90506101e0840151603f1984830301610220850152612fcd82826128c5565b9695505050505050565b5f8060408385031215612fe8575f80fd5b8251612ff381612ab7565b6020840151909250612b5781612ab7565b5f8085851115613012575f80fd5b8386111561301e575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561305c576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f80604083850312156130b3575f80fd5b6130bc83612da3565b91506130ca60208401612da3565b90509250929050565b5f82601f8301126130e2575f80fd5b81516130f0612a5182612a0e565b818152846020838601011115613104575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215613130575f80fd5b81516001600160401b03811115613145575f80fd5b820160608185031215613156575f80fd5b604051606081016001600160401b03811182821017156131785761317861297f565b604052815161318681612b17565b8152602082015161319681612b92565b602082015260408201516001600160401b038111156131b3575f80fd5b6131bf868285016130d3565b604083015250949350505050565b5f82601f8301126131dc575f80fd5b81516001600160401b038111156131f5576131f561297f565b8060051b613205602082016129de565b91825260208185018101929081019086841115613220575f80fd5b6020860192505b83831015612fcd57825161323a81612b17565b825260209283019290910190613227565b5f6020828403121561325b575f80fd5b81516001600160401b03811115613270575f80fd5b82016101008185031215613282575f80fd5b61328a612993565b61329382612da3565b81526132a160208301612da3565b60208201526132b260408301612da3565b60408201526132c360608301612e23565b60608201526132d460808301612e23565b60808201526132e560a08301612d40565b60a08201526132f660c08301612d40565b60c082015260e08201516001600160401b03811115613313575f80fd5b61331f868285016131cd565b60e083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613354575f80fd5b61335d83612da3565b9150602083015163ffffffff81168114612b57575f80fd5b5f60208284031215613385575f80fd5b81516001600160401b0381111561339a575f80fd5b820160e081850312156133ab575f80fd5b6133b36129bc565b6133bc82612d40565b81526133ca60208301612d40565b60208201526133db60408301612e23565b60408201526133ec60608301612da3565b60608201526133fd60808301612e49565b608082015261340e60a08301612e49565b60a082015260c08201516001600160401b0381111561342b575f80fd5b613437868285016130d3565b60c083015250949350505050565b601f821115611f2557805f5260205f20601f840160051c8101602085101561346a5750805b601f840160051c820191505b81811015613489575f8155600101613476565b5050505050565b81516001600160401b038111156134a9576134a961297f565b6134bd816134b78454612d6b565b84613445565b6020601f8211600181146134ef575f83156134d85750848201515b5f19600385901b1c1916600184901b178455613489565b5f84815260208120601f198516915b8281101561351e57878501518255602094850194600190920191016134fe565b508482101561353b57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a009b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220700d4fb94202fc73acb0ac0be89e0cf53d651e8d58198dc89faf75e1fc842f6c64736f6c634300081a0033",
703
723
  "linkReferences": {
704
- "contracts/type/Amount.sol": {
705
- "AmountLib": [
724
+ "contracts/shared/ContractLib.sol": {
725
+ "ContractLib": [
706
726
  {
707
727
  "length": 20,
708
- "start": 4543
728
+ "start": 9583
709
729
  },
710
730
  {
711
731
  "length": 20,
712
- "start": 4666
713
- },
714
- {
715
- "length": 20,
716
- "start": 4851
717
- },
732
+ "start": 10385
733
+ }
734
+ ]
735
+ },
736
+ "contracts/type/Amount.sol": {
737
+ "AmountLib": [
718
738
  {
719
739
  "length": 20,
720
- "start": 4974
740
+ "start": 7638
721
741
  },
722
742
  {
723
743
  "length": 20,
724
- "start": 7708
744
+ "start": 7759
725
745
  }
726
746
  ]
727
747
  },
@@ -729,79 +749,85 @@
729
749
  "NftIdLib": [
730
750
  {
731
751
  "length": 20,
732
- "start": 1480
752
+ "start": 1269
733
753
  },
734
754
  {
735
755
  "length": 20,
736
- "start": 3667
756
+ "start": 3160
737
757
  },
738
758
  {
739
759
  "length": 20,
740
- "start": 5527
760
+ "start": 3958
741
761
  },
742
762
  {
743
763
  "length": 20,
744
- "start": 7340
764
+ "start": 7074
745
765
  },
746
766
  {
747
767
  "length": 20,
748
- "start": 8676
768
+ "start": 9430
749
769
  }
750
770
  ]
751
771
  },
752
- "contracts/type/RoleId.sol": {
753
- "RoleIdLib": [
772
+ "contracts/type/ObjectType.sol": {
773
+ "ObjectTypeLib": [
754
774
  {
755
775
  "length": 20,
756
- "start": 3212
776
+ "start": 5161
757
777
  }
758
778
  ]
759
779
  },
760
- "contracts/type/Version.sol": {
761
- "VersionLib": [
780
+ "contracts/type/Referral.sol": {
781
+ "ReferralLib": [
762
782
  {
763
783
  "length": 20,
764
- "start": 1323
765
- },
784
+ "start": 6742
785
+ }
786
+ ]
787
+ },
788
+ "contracts/type/RoleId.sol": {
789
+ "RoleIdLib": [
766
790
  {
767
791
  "length": 20,
768
- "start": 2046
792
+ "start": 2728
769
793
  }
770
- ],
771
- "VersionPartLib": [
794
+ ]
795
+ },
796
+ "contracts/type/Version.sol": {
797
+ "VersionLib": [
772
798
  {
773
799
  "length": 20,
774
- "start": 3260
800
+ "start": 1115
775
801
  },
776
802
  {
777
803
  "length": 20,
778
- "start": 6803
804
+ "start": 1739
779
805
  }
780
806
  ]
781
807
  }
782
808
  },
783
809
  "deployedLinkReferences": {
784
- "contracts/type/Amount.sol": {
785
- "AmountLib": [
810
+ "contracts/shared/ContractLib.sol": {
811
+ "ContractLib": [
786
812
  {
787
813
  "length": 20,
788
- "start": 4313
814
+ "start": 9369
789
815
  },
790
816
  {
791
817
  "length": 20,
792
- "start": 4436
793
- },
794
- {
795
- "length": 20,
796
- "start": 4621
797
- },
818
+ "start": 10171
819
+ }
820
+ ]
821
+ },
822
+ "contracts/type/Amount.sol": {
823
+ "AmountLib": [
798
824
  {
799
825
  "length": 20,
800
- "start": 4744
826
+ "start": 7424
801
827
  },
802
828
  {
803
829
  "length": 20,
804
- "start": 7478
830
+ "start": 7545
805
831
  }
806
832
  ]
807
833
  },
@@ -809,53 +835,59 @@
809
835
  "NftIdLib": [
810
836
  {
811
837
  "length": 20,
812
- "start": 1250
838
+ "start": 1055
813
839
  },
814
840
  {
815
841
  "length": 20,
816
- "start": 3437
842
+ "start": 2946
817
843
  },
818
844
  {
819
845
  "length": 20,
820
- "start": 5297
846
+ "start": 3744
821
847
  },
822
848
  {
823
849
  "length": 20,
824
- "start": 7110
850
+ "start": 6860
825
851
  },
826
852
  {
827
853
  "length": 20,
828
- "start": 8446
854
+ "start": 9216
829
855
  }
830
856
  ]
831
857
  },
832
- "contracts/type/RoleId.sol": {
833
- "RoleIdLib": [
858
+ "contracts/type/ObjectType.sol": {
859
+ "ObjectTypeLib": [
834
860
  {
835
861
  "length": 20,
836
- "start": 2982
862
+ "start": 4947
837
863
  }
838
864
  ]
839
865
  },
840
- "contracts/type/Version.sol": {
841
- "VersionLib": [
866
+ "contracts/type/Referral.sol": {
867
+ "ReferralLib": [
842
868
  {
843
869
  "length": 20,
844
- "start": 1093
845
- },
870
+ "start": 6528
871
+ }
872
+ ]
873
+ },
874
+ "contracts/type/RoleId.sol": {
875
+ "RoleIdLib": [
846
876
  {
847
877
  "length": 20,
848
- "start": 1816
878
+ "start": 2514
849
879
  }
850
- ],
851
- "VersionPartLib": [
880
+ ]
881
+ },
882
+ "contracts/type/Version.sol": {
883
+ "VersionLib": [
852
884
  {
853
885
  "length": 20,
854
- "start": 3030
886
+ "start": 901
855
887
  },
856
888
  {
857
889
  "length": 20,
858
- "start": 6573
890
+ "start": 1525
859
891
  }
860
892
  ]
861
893
  }