@etherisc/gif-next 0.0.2-ee54ca6-863 → 0.0.2-ef15ccf-423

Sign up to get free protection for your applications and to get access to all the features.
Files changed (550) hide show
  1. package/README.md +91 -8
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +673 -262
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +202 -5
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +456 -24
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +549 -209
  19. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +215 -18
  21. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +265 -16
  23. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +473 -17
  25. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +204 -302
  27. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +431 -36
  29. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +123 -186
  31. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +634 -225
  33. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +229 -86
  35. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +102 -160
  37. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +429 -77
  39. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  41. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1484 -0
  43. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  45. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2053 -0
  47. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  49. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +293 -265
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +175 -175
  57. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +363 -233
  59. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +986 -379
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  65. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
  66. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.json +332 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +193 -45
  69. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  70. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.json +304 -0
  71. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  72. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +578 -65
  73. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  74. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +395 -60
  75. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  76. package/artifacts/contracts/instance/Instance.sol/Instance.json +641 -119
  77. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  78. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1022 -364
  79. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  80. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +328 -92
  81. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  82. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1612 -816
  83. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  84. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +421 -131
  85. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  86. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +153 -64
  87. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  88. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +755 -1092
  89. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  90. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +1852 -0
  91. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  92. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  93. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  94. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +8 -8
  95. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  96. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  97. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  98. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  99. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  100. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  101. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +16 -5
  102. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  103. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  104. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  106. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  107. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  108. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  109. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  110. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  111. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +161 -183
  112. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  113. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +429 -37
  114. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  115. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  116. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +116 -109
  117. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  118. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +98 -11
  119. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  120. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +137 -135
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  122. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +201 -81
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  124. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +187 -56
  125. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  126. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +185 -191
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  128. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +430 -35
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  130. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +355 -279
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  132. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +182 -87
  133. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  134. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +247 -121
  135. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  136. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +152 -156
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  138. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +478 -227
  139. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  140. package/artifacts/contracts/pool/Pool.sol/Pool.json +165 -174
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  142. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  144. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +743 -379
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  146. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +237 -66
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  148. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +361 -57
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +176 -53
  151. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  152. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +297 -234
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  154. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +430 -35
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  156. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +370 -159
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  158. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +194 -83
  159. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  160. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +296 -9
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  162. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +242 -24
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  164. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +299 -48
  165. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  166. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +140 -37
  167. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  168. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +270 -202
  169. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
  170. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +286 -21
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  172. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +451 -151
  173. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  174. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  176. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +213 -74
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  178. package/artifacts/contracts/product/PricingService.sol/PricingService.json +201 -129
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  180. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +167 -68
  181. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  182. package/artifacts/contracts/product/Product.sol/Product.json +287 -224
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
  184. package/artifacts/contracts/product/RiskService.sol/RiskService.json +372 -82
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
  186. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +176 -53
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  188. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  190. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +144 -33
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  192. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +169 -37
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  194. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  196. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  197. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  198. package/artifacts/contracts/registry/Registry.sol/Registry.json +188 -69
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  200. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +753 -454
  201. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  202. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  203. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  204. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +139 -181
  205. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  206. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +151 -48
  207. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  208. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  209. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  210. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  211. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  212. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +478 -258
  213. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  214. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +489 -20
  215. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  216. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +120 -60
  217. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  218. package/artifacts/contracts/shared/Component.sol/Component.json +113 -93
  219. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  220. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +502 -519
  221. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  222. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +198 -89
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  231. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  232. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +93 -68
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  234. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +432 -290
  235. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  236. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +116 -109
  237. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  238. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +79 -6
  239. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  240. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  241. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  242. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +35 -0
  243. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  244. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -6
  245. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  246. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +167 -0
  247. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  248. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IService.sol/IService.json +84 -2
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  251. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -2
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  253. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +136 -134
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  255. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +85 -7
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  258. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +37 -2
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  263. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +18 -8
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +171 -38
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  267. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  268. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Service.sol/Service.json +89 -2
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +327 -73
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +88 -24
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1492 -173
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +235 -123
  280. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  281. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  282. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  283. package/artifacts/contracts/staking/Staking.sol/Staking.json +1648 -291
  284. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +202 -69
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +295 -183
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +286 -173
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +154 -55
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1645 -790
  296. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  297. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  298. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  299. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +160 -88
  300. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  301. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  302. package/artifacts/contracts/type/Amount.sol/AmountLib.json +35 -11
  303. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  304. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +45 -19
  305. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  306. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  307. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  308. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  309. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  310. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  311. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  312. package/artifacts/contracts/type/Fee.sol/FeeLib.json +94 -38
  313. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  314. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  315. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  316. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  317. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  318. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  319. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  320. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  321. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  322. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +33 -31
  323. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  324. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  325. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  326. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  327. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  328. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  329. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  330. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  331. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  332. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +42 -157
  333. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  334. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +45 -2
  335. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  336. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +21 -2
  337. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  338. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +2 -2
  339. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  340. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  341. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  342. package/artifacts/contracts/type/String.sol/StrLib.json +50 -2
  343. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  344. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +3 -3
  345. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  346. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +73 -36
  347. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  348. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  349. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  350. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +101 -2
  351. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  352. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +10 -0
  353. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  354. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +128 -38
  355. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  356. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +15 -2
  357. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  358. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +10 -0
  359. package/contracts/accounting/AccountingService.sol +274 -0
  360. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  361. package/contracts/accounting/IAccountingService.sol +47 -0
  362. package/contracts/authorization/AccessAdmin.sol +457 -266
  363. package/contracts/authorization/AccessAdminLib.sol +396 -0
  364. package/contracts/authorization/AccessManagerCloneable.sol +146 -4
  365. package/contracts/authorization/Authorization.sol +159 -207
  366. package/contracts/authorization/IAccess.sol +25 -6
  367. package/contracts/authorization/IAccessAdmin.sol +87 -79
  368. package/contracts/authorization/IAuthorization.sol +9 -37
  369. package/contracts/authorization/IServiceAuthorization.sol +57 -17
  370. package/contracts/authorization/ServiceAuthorization.sol +255 -25
  371. package/contracts/distribution/BasicDistribution.sol +20 -17
  372. package/contracts/distribution/BasicDistributionAuthorization.sol +30 -10
  373. package/contracts/distribution/Distribution.sol +43 -91
  374. package/contracts/distribution/DistributionService.sol +224 -112
  375. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  376. package/contracts/distribution/IDistributionComponent.sol +4 -11
  377. package/contracts/distribution/IDistributionService.sol +38 -24
  378. package/contracts/examples/fire/DamageLevel.sol +59 -0
  379. package/contracts/examples/fire/FirePool.sol +86 -0
  380. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  381. package/contracts/examples/fire/FireProduct.sol +433 -0
  382. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  383. package/contracts/examples/fire/FireUSD.sol +26 -0
  384. package/contracts/examples/unpermissioned/SimpleDistribution.sol +43 -12
  385. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  386. package/contracts/examples/unpermissioned/SimpleOracle.sol +8 -12
  387. package/contracts/examples/unpermissioned/SimplePool.sol +36 -10
  388. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  389. package/contracts/examples/unpermissioned/SimpleProduct.sol +134 -48
  390. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  391. package/contracts/instance/BaseStore.sol +93 -0
  392. package/contracts/instance/BundleSet.sol +42 -38
  393. package/contracts/instance/IBaseStore.sol +37 -0
  394. package/contracts/instance/IInstance.sol +111 -18
  395. package/contracts/instance/IInstanceService.sol +61 -34
  396. package/contracts/instance/Instance.sol +196 -74
  397. package/contracts/instance/InstanceAdmin.sol +276 -182
  398. package/contracts/instance/InstanceAuthorizationV3.sol +145 -74
  399. package/contracts/instance/InstanceReader.sol +473 -270
  400. package/contracts/instance/InstanceService.sol +314 -267
  401. package/contracts/instance/InstanceServiceManager.sol +6 -7
  402. package/contracts/instance/InstanceStore.sol +21 -49
  403. package/contracts/instance/ProductStore.sol +143 -0
  404. package/contracts/instance/RiskSet.sol +126 -0
  405. package/contracts/instance/TargetNames.sol +10 -0
  406. package/contracts/instance/base/BalanceStore.sol +4 -6
  407. package/contracts/instance/base/ObjectCounter.sol +1 -2
  408. package/contracts/instance/base/ObjectLifecycle.sol +6 -8
  409. package/contracts/instance/base/ObjectSet.sol +31 -33
  410. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  411. package/contracts/instance/module/IBundle.sol +6 -5
  412. package/contracts/instance/module/IComponents.sol +29 -13
  413. package/contracts/instance/module/IDistribution.sol +21 -8
  414. package/contracts/instance/module/IPolicy.sol +30 -9
  415. package/contracts/instance/module/IRisk.sol +5 -0
  416. package/contracts/oracle/BasicOracle.sol +2 -5
  417. package/contracts/oracle/BasicOracleAuthorization.sol +15 -8
  418. package/contracts/oracle/IOracle.sol +9 -4
  419. package/contracts/oracle/IOracleService.sol +2 -1
  420. package/contracts/oracle/Oracle.sol +7 -20
  421. package/contracts/oracle/OracleService.sol +117 -86
  422. package/contracts/oracle/OracleServiceManager.sol +6 -6
  423. package/contracts/pool/BasicPool.sol +34 -38
  424. package/contracts/pool/BasicPoolAuthorization.sol +34 -11
  425. package/contracts/pool/BundleService.sol +115 -167
  426. package/contracts/pool/BundleServiceManager.sol +6 -6
  427. package/contracts/pool/IBundleService.sol +28 -46
  428. package/contracts/pool/IPoolComponent.sol +19 -15
  429. package/contracts/pool/IPoolService.sol +77 -67
  430. package/contracts/pool/Pool.sol +140 -133
  431. package/contracts/pool/PoolLib.sol +341 -0
  432. package/contracts/pool/PoolService.sol +355 -250
  433. package/contracts/pool/PoolServiceManager.sol +4 -4
  434. package/contracts/product/ApplicationService.sol +110 -31
  435. package/contracts/product/ApplicationServiceManager.sol +4 -4
  436. package/contracts/product/BasicProduct.sol +10 -14
  437. package/contracts/product/BasicProductAuthorization.sol +32 -12
  438. package/contracts/product/ClaimService.sol +328 -189
  439. package/contracts/product/ClaimServiceManager.sol +4 -4
  440. package/contracts/product/IApplicationService.sol +28 -3
  441. package/contracts/product/IClaimService.sol +21 -7
  442. package/contracts/product/IPolicyService.sol +41 -12
  443. package/contracts/product/IPricingService.sol +10 -9
  444. package/contracts/product/IProductComponent.sol +27 -4
  445. package/contracts/product/IRiskService.sol +25 -10
  446. package/contracts/product/PolicyService.sol +357 -285
  447. package/contracts/product/PolicyServiceLib.sol +139 -0
  448. package/contracts/product/PolicyServiceManager.sol +4 -4
  449. package/contracts/product/PricingService.sol +59 -54
  450. package/contracts/product/PricingServiceManager.sol +4 -4
  451. package/contracts/product/Product.sol +153 -85
  452. package/contracts/product/RiskService.sol +129 -36
  453. package/contracts/product/RiskServiceManager.sol +4 -4
  454. package/contracts/registry/ChainNft.sol +10 -11
  455. package/contracts/registry/IRegistry.sol +31 -27
  456. package/contracts/registry/IRegistryService.sol +5 -12
  457. package/contracts/registry/IRelease.sol +29 -0
  458. package/contracts/registry/ITransferInterceptor.sol +1 -2
  459. package/contracts/registry/Registry.sol +51 -17
  460. package/contracts/registry/RegistryAdmin.sol +107 -380
  461. package/contracts/registry/RegistryAuthorization.sol +336 -0
  462. package/contracts/registry/RegistryService.sol +37 -48
  463. package/contracts/registry/RegistryServiceManager.sol +3 -3
  464. package/contracts/registry/ReleaseAdmin.sol +195 -0
  465. package/contracts/registry/ReleaseLifecycle.sol +8 -3
  466. package/contracts/registry/ReleaseRegistry.sol +278 -244
  467. package/contracts/registry/ServiceAuthorizationV3.sol +204 -61
  468. package/contracts/registry/TokenRegistry.sol +61 -59
  469. package/contracts/shared/Component.sol +65 -119
  470. package/contracts/shared/ComponentService.sol +422 -376
  471. package/contracts/shared/ComponentServiceManager.sol +8 -5
  472. package/contracts/shared/ContractLib.sol +312 -0
  473. package/contracts/shared/IComponent.sol +6 -18
  474. package/contracts/shared/IComponentService.sol +43 -40
  475. package/contracts/shared/IInstanceLinkedComponent.sol +3 -22
  476. package/contracts/shared/IKeyValueStore.sol +9 -1
  477. package/contracts/shared/ILifecycle.sol +3 -1
  478. package/contracts/shared/INftOwnable.sol +4 -0
  479. package/contracts/shared/IPolicyHolder.sol +12 -13
  480. package/contracts/shared/IRegisterable.sol +22 -1
  481. package/contracts/shared/IService.sol +3 -5
  482. package/contracts/shared/InitializableERC165.sol +9 -1
  483. package/contracts/shared/InstanceLinkedComponent.sol +71 -49
  484. package/contracts/shared/KeyValueStore.sol +4 -4
  485. package/contracts/shared/Lifecycle.sol +15 -4
  486. package/contracts/shared/NftOwnable.sol +29 -7
  487. package/contracts/shared/PolicyHolder.sol +15 -8
  488. package/contracts/shared/Registerable.sol +50 -19
  489. package/contracts/shared/RegistryLinked.sol +7 -13
  490. package/contracts/shared/Service.sol +18 -33
  491. package/contracts/shared/TokenHandler.sol +275 -72
  492. package/contracts/shared/TokenHandlerDeployerLib.sol +10 -2
  493. package/contracts/staking/IStaking.sol +271 -72
  494. package/contracts/staking/IStakingService.sol +45 -78
  495. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  496. package/contracts/staking/Staking.sol +523 -223
  497. package/contracts/staking/{StakeManagerLib.sol → StakingLib.sol} +55 -84
  498. package/contracts/staking/StakingManager.sol +12 -9
  499. package/contracts/staking/StakingReader.sol +70 -82
  500. package/contracts/staking/StakingService.sol +62 -148
  501. package/contracts/staking/StakingServiceManager.sol +7 -5
  502. package/contracts/staking/StakingStore.sol +1093 -330
  503. package/contracts/staking/TargetHandler.sol +132 -0
  504. package/contracts/staking/TargetManagerLib.sol +69 -46
  505. package/contracts/type/Amount.sol +19 -0
  506. package/contracts/type/Blocknumber.sol +15 -15
  507. package/contracts/type/ChainId.sol +101 -0
  508. package/contracts/type/ClaimId.sol +6 -1
  509. package/contracts/type/Fee.sol +8 -8
  510. package/contracts/type/Key32.sol +2 -2
  511. package/contracts/type/Key32Set.sol +62 -0
  512. package/contracts/type/NftId.sol +7 -0
  513. package/contracts/type/ObjectType.sol +70 -38
  514. package/contracts/type/PayoutId.sol +10 -10
  515. package/contracts/type/RiskId.sol +38 -6
  516. package/contracts/type/RoleId.sol +61 -55
  517. package/contracts/type/Seconds.sol +19 -0
  518. package/contracts/type/Selector.sol +5 -0
  519. package/contracts/type/StateId.sol +14 -1
  520. package/contracts/type/String.sol +12 -0
  521. package/contracts/type/Timestamp.sol +4 -7
  522. package/contracts/type/UFixed.sol +38 -126
  523. package/contracts/type/Version.sol +54 -5
  524. package/contracts/upgradeability/IVersionable.sol +3 -0
  525. package/contracts/upgradeability/ProxyManager.sol +93 -45
  526. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +12 -2
  527. package/contracts/upgradeability/Versionable.sol +8 -5
  528. package/package.json +5 -4
  529. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  530. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  531. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  532. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  533. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  534. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -129
  535. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +0 -4
  536. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +0 -427
  537. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  538. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  539. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +0 -4
  540. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +0 -440
  541. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +0 -4
  542. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +0 -164
  543. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  544. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
  545. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  546. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  547. package/contracts/instance/module/IAccess.sol +0 -46
  548. package/contracts/shared/ComponentVerifyingService.sol +0 -117
  549. package/contracts/shared/InitializableCustom.sol +0 -177
  550. package/contracts/staking/StakingLifecycle.sol +0 -23
@@ -41,41 +41,41 @@
41
41
  "name": "AccessManagedUnauthorized",
42
42
  "type": "error"
43
43
  },
44
- {
45
- "inputs": [],
46
- "name": "ErrorComponentNameLengthZero",
47
- "type": "error"
48
- },
49
44
  {
50
45
  "inputs": [
51
46
  {
52
47
  "internalType": "address",
53
- "name": "caller",
48
+ "name": "authority",
54
49
  "type": "address"
55
50
  }
56
51
  ],
57
- "name": "ErrorComponentNotChainNft",
52
+ "name": "ErrorAuthorityInvalid",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [],
57
+ "name": "ErrorComponentNameLengthZero",
58
58
  "type": "error"
59
59
  },
60
60
  {
61
61
  "inputs": [
62
62
  {
63
- "internalType": "NftId",
64
- "name": "instanceNftId",
65
- "type": "uint96"
63
+ "internalType": "address",
64
+ "name": "caller",
65
+ "type": "address"
66
66
  }
67
67
  ],
68
- "name": "ErrorComponentNotInstance",
68
+ "name": "ErrorComponentNotChainNft",
69
69
  "type": "error"
70
70
  },
71
71
  {
72
72
  "inputs": [],
73
- "name": "ErrorComponentProductNftAlreadySet",
73
+ "name": "ErrorComponentProductNftIdNonzero",
74
74
  "type": "error"
75
75
  },
76
76
  {
77
77
  "inputs": [],
78
- "name": "ErrorComponentTokenAddressZero",
78
+ "name": "ErrorComponentProductNftIdZero",
79
79
  "type": "error"
80
80
  },
81
81
  {
@@ -95,29 +95,34 @@
95
95
  },
96
96
  {
97
97
  "inputs": [
98
- {
99
- "internalType": "address",
100
- "name": "distributor",
101
- "type": "address"
102
- },
103
98
  {
104
99
  "internalType": "NftId",
105
- "name": "distributorNftId",
100
+ "name": "nftId",
106
101
  "type": "uint96"
102
+ },
103
+ {
104
+ "internalType": "ObjectType",
105
+ "name": "objectType",
106
+ "type": "uint8"
107
107
  }
108
108
  ],
109
- "name": "ErrorDistributionAlreadyDistributor",
109
+ "name": "ErrorInstanceLinkedComponentNotProduct",
110
110
  "type": "error"
111
111
  },
112
112
  {
113
113
  "inputs": [
114
114
  {
115
- "internalType": "address",
116
- "name": "distributor",
117
- "type": "address"
115
+ "internalType": "ObjectType",
116
+ "name": "requiredType",
117
+ "type": "uint8"
118
+ },
119
+ {
120
+ "internalType": "ObjectType",
121
+ "name": "objectType",
122
+ "type": "uint8"
118
123
  }
119
124
  ],
120
- "name": "ErrorDistributionNotDistributor",
125
+ "name": "ErrorInstanceLinkedComponentTypeMismatch",
121
126
  "type": "error"
122
127
  },
123
128
  {
@@ -147,6 +152,22 @@
147
152
  "name": "ErrorNftOwnableInitialOwnerZero",
148
153
  "type": "error"
149
154
  },
155
+ {
156
+ "inputs": [
157
+ {
158
+ "internalType": "NftId",
159
+ "name": "nftId",
160
+ "type": "uint96"
161
+ },
162
+ {
163
+ "internalType": "ObjectType",
164
+ "name": "expectedObjectType",
165
+ "type": "uint8"
166
+ }
167
+ ],
168
+ "name": "ErrorNftOwnableInvalidType",
169
+ "type": "error"
170
+ },
150
171
  {
151
172
  "inputs": [
152
173
  {
@@ -169,6 +190,11 @@
169
190
  "name": "ErrorNotRegistry",
170
191
  "type": "error"
171
192
  },
193
+ {
194
+ "inputs": [],
195
+ "name": "ErrorRegisterableNotActive",
196
+ "type": "error"
197
+ },
172
198
  {
173
199
  "inputs": [],
174
200
  "name": "InvalidInitialization",
@@ -208,6 +234,12 @@
208
234
  {
209
235
  "anonymous": false,
210
236
  "inputs": [
237
+ {
238
+ "indexed": false,
239
+ "internalType": "address",
240
+ "name": "tokenHandler",
241
+ "type": "address"
242
+ },
211
243
  {
212
244
  "indexed": false,
213
245
  "internalType": "address",
@@ -219,6 +251,12 @@
219
251
  "internalType": "Amount",
220
252
  "name": "limit",
221
253
  "type": "uint96"
254
+ },
255
+ {
256
+ "indexed": false,
257
+ "internalType": "bool",
258
+ "name": "isMaxAmount",
259
+ "type": "bool"
222
260
  }
223
261
  ],
224
262
  "name": "LogComponentTokenHandlerApproved",
@@ -280,13 +318,32 @@
280
318
  {
281
319
  "indexed": false,
282
320
  "internalType": "address",
283
- "name": "caller",
321
+ "name": "operator",
284
322
  "type": "address"
285
323
  }
286
324
  ],
287
325
  "name": "LogDistributorUpdated",
288
326
  "type": "event"
289
327
  },
328
+ {
329
+ "anonymous": false,
330
+ "inputs": [
331
+ {
332
+ "indexed": false,
333
+ "internalType": "NftId",
334
+ "name": "nftId",
335
+ "type": "uint96"
336
+ },
337
+ {
338
+ "indexed": false,
339
+ "internalType": "address",
340
+ "name": "owner",
341
+ "type": "address"
342
+ }
343
+ ],
344
+ "name": "LogNftOwnableNftLinkedToAddress",
345
+ "type": "event"
346
+ },
290
347
  {
291
348
  "inputs": [],
292
349
  "name": "COMPONENT_LOCATION_V1",
@@ -352,37 +409,6 @@
352
409
  "stateMutability": "view",
353
410
  "type": "function"
354
411
  },
355
- {
356
- "inputs": [
357
- {
358
- "internalType": "address",
359
- "name": "token",
360
- "type": "address"
361
- },
362
- {
363
- "internalType": "Amount",
364
- "name": "spendingLimitAmount",
365
- "type": "uint96"
366
- }
367
- ],
368
- "name": "approveTokenHandler",
369
- "outputs": [],
370
- "stateMutability": "nonpayable",
371
- "type": "function"
372
- },
373
- {
374
- "inputs": [
375
- {
376
- "internalType": "Amount",
377
- "name": "spendingLimitAmount",
378
- "type": "uint96"
379
- }
380
- ],
381
- "name": "approveTokenHandler",
382
- "outputs": [],
383
- "stateMutability": "nonpayable",
384
- "type": "function"
385
- },
386
412
  {
387
413
  "inputs": [],
388
414
  "name": "authority",
@@ -400,7 +426,7 @@
400
426
  "inputs": [
401
427
  {
402
428
  "internalType": "ReferralId",
403
- "name": "referralId",
429
+ "name": "",
404
430
  "type": "bytes8"
405
431
  },
406
432
  {
@@ -420,6 +446,29 @@
420
446
  "stateMutability": "view",
421
447
  "type": "function"
422
448
  },
449
+ {
450
+ "inputs": [
451
+ {
452
+ "internalType": "NftId",
453
+ "name": "distributorNftId",
454
+ "type": "uint96"
455
+ },
456
+ {
457
+ "internalType": "DistributorType",
458
+ "name": "distributorType",
459
+ "type": "bytes8"
460
+ },
461
+ {
462
+ "internalType": "bytes",
463
+ "name": "data",
464
+ "type": "bytes"
465
+ }
466
+ ],
467
+ "name": "changeDistributorType",
468
+ "outputs": [],
469
+ "stateMutability": "nonpayable",
470
+ "type": "function"
471
+ },
423
472
  {
424
473
  "inputs": [
425
474
  {
@@ -459,17 +508,17 @@
459
508
  {
460
509
  "internalType": "UFixed",
461
510
  "name": "minDiscountPercentage",
462
- "type": "uint256"
511
+ "type": "uint160"
463
512
  },
464
513
  {
465
514
  "internalType": "UFixed",
466
515
  "name": "maxDiscountPercentage",
467
- "type": "uint256"
516
+ "type": "uint160"
468
517
  },
469
518
  {
470
519
  "internalType": "UFixed",
471
520
  "name": "commissionPercentage",
472
- "type": "uint256"
521
+ "type": "uint160"
473
522
  },
474
523
  {
475
524
  "internalType": "uint32",
@@ -477,9 +526,9 @@
477
526
  "type": "uint32"
478
527
  },
479
528
  {
480
- "internalType": "uint32",
529
+ "internalType": "Seconds",
481
530
  "name": "maxReferralLifetime",
482
- "type": "uint32"
531
+ "type": "uint40"
483
532
  },
484
533
  {
485
534
  "internalType": "bool",
@@ -510,6 +559,11 @@
510
559
  },
511
560
  {
512
561
  "inputs": [
562
+ {
563
+ "internalType": "NftId",
564
+ "name": "distributorNftId",
565
+ "type": "uint96"
566
+ },
513
567
  {
514
568
  "internalType": "string",
515
569
  "name": "code",
@@ -518,7 +572,7 @@
518
572
  {
519
573
  "internalType": "UFixed",
520
574
  "name": "discountPercentage",
521
- "type": "uint256"
575
+ "type": "uint160"
522
576
  },
523
577
  {
524
578
  "internalType": "uint32",
@@ -571,26 +625,11 @@
571
625
  "name": "name",
572
626
  "type": "string"
573
627
  },
574
- {
575
- "internalType": "NftId",
576
- "name": "productNftId",
577
- "type": "uint96"
578
- },
579
- {
580
- "internalType": "contract IERC20Metadata",
581
- "name": "token",
582
- "type": "address"
583
- },
584
628
  {
585
629
  "internalType": "contract TokenHandler",
586
630
  "name": "tokenHandler",
587
631
  "type": "address"
588
632
  },
589
- {
590
- "internalType": "address",
591
- "name": "wallet",
592
- "type": "address"
593
- },
594
633
  {
595
634
  "internalType": "bytes",
596
635
  "name": "data",
@@ -618,7 +657,7 @@
618
657
  {
619
658
  "internalType": "UFixed",
620
659
  "name": "discountPercentage",
621
- "type": "uint256"
660
+ "type": "uint160"
622
661
  },
623
662
  {
624
663
  "internalType": "ReferralStatus",
@@ -629,25 +668,6 @@
629
668
  "stateMutability": "view",
630
669
  "type": "function"
631
670
  },
632
- {
633
- "inputs": [
634
- {
635
- "internalType": "address",
636
- "name": "distributor",
637
- "type": "address"
638
- }
639
- ],
640
- "name": "getDistributorNftId",
641
- "outputs": [
642
- {
643
- "internalType": "NftId",
644
- "name": "distributorNftId",
645
- "type": "uint96"
646
- }
647
- ],
648
- "stateMutability": "view",
649
- "type": "function"
650
- },
651
671
  {
652
672
  "inputs": [],
653
673
  "name": "getInitialComponentInfo",
@@ -659,26 +679,11 @@
659
679
  "name": "name",
660
680
  "type": "string"
661
681
  },
662
- {
663
- "internalType": "NftId",
664
- "name": "productNftId",
665
- "type": "uint96"
666
- },
667
- {
668
- "internalType": "contract IERC20Metadata",
669
- "name": "token",
670
- "type": "address"
671
- },
672
682
  {
673
683
  "internalType": "contract TokenHandler",
674
684
  "name": "tokenHandler",
675
685
  "type": "address"
676
686
  },
677
- {
678
- "internalType": "address",
679
- "name": "wallet",
680
- "type": "address"
681
- },
682
687
  {
683
688
  "internalType": "bytes",
684
689
  "name": "data",
@@ -795,19 +800,6 @@
795
800
  "stateMutability": "view",
796
801
  "type": "function"
797
802
  },
798
- {
799
- "inputs": [],
800
- "name": "getProductNftId",
801
- "outputs": [
802
- {
803
- "internalType": "NftId",
804
- "name": "productNftId",
805
- "type": "uint96"
806
- }
807
- ],
808
- "stateMutability": "view",
809
- "type": "function"
810
- },
811
803
  {
812
804
  "inputs": [
813
805
  {
@@ -840,6 +832,19 @@
840
832
  "stateMutability": "view",
841
833
  "type": "function"
842
834
  },
835
+ {
836
+ "inputs": [],
837
+ "name": "getRelease",
838
+ "outputs": [
839
+ {
840
+ "internalType": "VersionPart",
841
+ "name": "release",
842
+ "type": "uint8"
843
+ }
844
+ ],
845
+ "stateMutability": "view",
846
+ "type": "function"
847
+ },
843
848
  {
844
849
  "inputs": [],
845
850
  "name": "getToken",
@@ -866,6 +871,19 @@
866
871
  "stateMutability": "view",
867
872
  "type": "function"
868
873
  },
874
+ {
875
+ "inputs": [],
876
+ "name": "getVersion",
877
+ "outputs": [
878
+ {
879
+ "internalType": "Version",
880
+ "name": "version",
881
+ "type": "uint24"
882
+ }
883
+ ],
884
+ "stateMutability": "view",
885
+ "type": "function"
886
+ },
869
887
  {
870
888
  "inputs": [],
871
889
  "name": "getWallet",
@@ -881,31 +899,25 @@
881
899
  },
882
900
  {
883
901
  "inputs": [],
884
- "name": "isConsumingScheduledOp",
902
+ "name": "isActive",
885
903
  "outputs": [
886
904
  {
887
- "internalType": "bytes4",
888
- "name": "",
889
- "type": "bytes4"
905
+ "internalType": "bool",
906
+ "name": "active",
907
+ "type": "bool"
890
908
  }
891
909
  ],
892
910
  "stateMutability": "view",
893
911
  "type": "function"
894
912
  },
895
913
  {
896
- "inputs": [
897
- {
898
- "internalType": "address",
899
- "name": "candidate",
900
- "type": "address"
901
- }
902
- ],
903
- "name": "isDistributor",
914
+ "inputs": [],
915
+ "name": "isConsumingScheduledOp",
904
916
  "outputs": [
905
917
  {
906
- "internalType": "bool",
918
+ "internalType": "bytes4",
907
919
  "name": "",
908
- "type": "bool"
920
+ "type": "bytes4"
909
921
  }
910
922
  ],
911
923
  "stateMutability": "view",
@@ -963,31 +975,6 @@
963
975
  "stateMutability": "nonpayable",
964
976
  "type": "function"
965
977
  },
966
- {
967
- "inputs": [],
968
- "name": "lock",
969
- "outputs": [],
970
- "stateMutability": "nonpayable",
971
- "type": "function"
972
- },
973
- {
974
- "inputs": [
975
- {
976
- "internalType": "address",
977
- "name": "to",
978
- "type": "address"
979
- },
980
- {
981
- "internalType": "uint256",
982
- "name": "tokenId",
983
- "type": "uint256"
984
- }
985
- ],
986
- "name": "nftMint",
987
- "outputs": [],
988
- "stateMutability": "nonpayable",
989
- "type": "function"
990
- },
991
978
  {
992
979
  "inputs": [
993
980
  {
@@ -1004,6 +991,11 @@
1004
991
  "internalType": "uint256",
1005
992
  "name": "tokenId",
1006
993
  "type": "uint256"
994
+ },
995
+ {
996
+ "internalType": "address",
997
+ "name": "operator",
998
+ "type": "address"
1007
999
  }
1008
1000
  ],
1009
1001
  "name": "nftTransferFrom",
@@ -1029,13 +1021,6 @@
1029
1021
  "stateMutability": "nonpayable",
1030
1022
  "type": "function"
1031
1023
  },
1032
- {
1033
- "inputs": [],
1034
- "name": "register",
1035
- "outputs": [],
1036
- "stateMutability": "nonpayable",
1037
- "type": "function"
1038
- },
1039
1024
  {
1040
1025
  "inputs": [
1041
1026
  {
@@ -1056,12 +1041,12 @@
1056
1041
  {
1057
1042
  "internalType": "UFixed",
1058
1043
  "name": "fractionalFee",
1059
- "type": "uint256"
1044
+ "type": "uint160"
1060
1045
  },
1061
1046
  {
1062
- "internalType": "uint256",
1047
+ "internalType": "Amount",
1063
1048
  "name": "fixedFee",
1064
- "type": "uint256"
1049
+ "type": "uint96"
1065
1050
  }
1066
1051
  ],
1067
1052
  "internalType": "struct Fee",
@@ -1073,12 +1058,12 @@
1073
1058
  {
1074
1059
  "internalType": "UFixed",
1075
1060
  "name": "fractionalFee",
1076
- "type": "uint256"
1061
+ "type": "uint160"
1077
1062
  },
1078
1063
  {
1079
- "internalType": "uint256",
1064
+ "internalType": "Amount",
1080
1065
  "name": "fixedFee",
1081
- "type": "uint256"
1066
+ "type": "uint96"
1082
1067
  }
1083
1068
  ],
1084
1069
  "internalType": "struct Fee",
@@ -1091,19 +1076,6 @@
1091
1076
  "stateMutability": "nonpayable",
1092
1077
  "type": "function"
1093
1078
  },
1094
- {
1095
- "inputs": [
1096
- {
1097
- "internalType": "address",
1098
- "name": "newWallet",
1099
- "type": "address"
1100
- }
1101
- ],
1102
- "name": "setWallet",
1103
- "outputs": [],
1104
- "stateMutability": "nonpayable",
1105
- "type": "function"
1106
- },
1107
1079
  {
1108
1080
  "inputs": [
1109
1081
  {
@@ -1123,36 +1095,6 @@
1123
1095
  "stateMutability": "view",
1124
1096
  "type": "function"
1125
1097
  },
1126
- {
1127
- "inputs": [],
1128
- "name": "unlock",
1129
- "outputs": [],
1130
- "stateMutability": "nonpayable",
1131
- "type": "function"
1132
- },
1133
- {
1134
- "inputs": [
1135
- {
1136
- "internalType": "NftId",
1137
- "name": "distributorNftId",
1138
- "type": "uint96"
1139
- },
1140
- {
1141
- "internalType": "DistributorType",
1142
- "name": "distributorType",
1143
- "type": "bytes8"
1144
- },
1145
- {
1146
- "internalType": "bytes",
1147
- "name": "data",
1148
- "type": "bytes"
1149
- }
1150
- ],
1151
- "name": "updateDistributorType",
1152
- "outputs": [],
1153
- "stateMutability": "nonpayable",
1154
- "type": "function"
1155
- },
1156
1098
  {
1157
1099
  "inputs": [
1158
1100
  {
@@ -1197,66 +1139,38 @@
1197
1139
  "type": "function"
1198
1140
  }
1199
1141
  ],
1200
- "bytecode": "0x6080604052348015600e575f80fd5b506136c58061001c5f395ff3fe608060405234801561000f575f80fd5b506004361061028b575f3560e01c80637427d7a811610161578063bae99c99116100ca578063e145d46c11610084578063e145d46c146105d5578063e7f7fb86146105ff578063ea15869f14610612578063f5860e1a14610639578063f80e20721461064d578063f83d08ba14610660575f80fd5b8063bae99c9914610564578063bb1e0e5914610577578063bf7e214f1461058a578063d16d0fe814610592578063de7b5d14146105a5578063deaa59df146105c2575f80fd5b806390edbd351161011b57806390edbd3514610505578063a69df4b51461051a578063ada9652e14610522578063b2a6b42d14610536578063b423086c14610549578063b6b412ba14610551575f80fd5b80637427d7a81461049c5780637a9e5e4b146104af57806387ef9ba0146104c2578063893d20e8146104c95780638f0c86fa146104d15780638fb36037146104e4575f80fd5b806322366844116102035780635741e5e9116101bd5780635741e5e91461042557806359660bea1461042d5780635ab1bd53146104405780635dcb3bae14610451578063644c45e0146104645780636bd1c0eb1461046c575f80fd5b806322366844146103af5780632b5198b1146103b75780632eb3e6f4146103e35780633d683fd9146103f7578063419197fe1461040a57806343d752d31461041d575f80fd5b8063138461e011610254578063138461e01461033857806317d7de7c146103405780631aa3a008146103555780631c6b21901461035f5780631eff4b221461037257806321df0da7146103a7575f80fd5b806251884a1461028f57806301ffc9a7146102b457806307e71a6e146102f05780630fec111c146103035780631329960414610318575b5f80fd5b610297610668565b6040516001600160601b0390911681526020015b60405180910390f35b6102e06102c2366004612a08565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020016102ab565b6102976102fe366004612a43565b61067a565b61030b61077f565b6040516102ab9190612aa8565b61032061093d565b6040516001600160a01b0390911681526020016102ab565b61029761094f565b61034861095e565b6040516102ab9190612b34565b61035d61096e565b005b61029761036d366004612b46565b610a1b565b6103997f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102ab565b610320610a71565b6102e0610a83565b6103ca6103c5366004612c9d565b610b79565b6040516001600160c01b031990911681526020016102ab565b6103995f8051602061367083398151915281565b61035d610405366004612d73565b610bdd565b61035d610418366004612de4565b610c31565b610320610dec565b6102e0610dfe565b6103ca61043b366004612e00565b610eb2565b6001546001600160a01b0316610320565b61029761045f366004612e99565b610f09565b610297610f63565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610320565b6103ca6104aa366004612eb6565b610f7e565b61035d6104bd366004612ee7565b610ffe565b60016102e0565b610320611084565b6102e06104df366004612ee7565b6111b5565b6104ec61127a565b6040516001600160e01b031990911681526020016102ab565b61050d6112af565b6040516102ab9190612f02565b61035d6112d4565b6103995f8051602061361083398151915281565b610297610544366004612ee7565b611372565b61050d6113b4565b61035d61055f366004612fe1565b6113c4565b61035d610572366004612b46565b611412565b61035d610585366004613014565b611461565b6103206114fe565b6103996105a036600461303e565b611519565b5f80516020613670833981519152546001600160a01b0316610320565b61035d6105d0366004612ee7565b61152d565b6105e86105e3366004612eb6565b6117a3565b6040805192835260ff9091166020830152016102ab565b61035d61060d36600461305a565b61185d565b6103997fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103995f8051602061365083398151915281565b61035d61065b36600461303e565b611905565b61035d61190e565b5f6106716112af565b60200151905090565b5f610687335b5f36611982565b610690336111b5565b6106b45760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b826106c76001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610714573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073891906130a3565b6001600160a01b0316336001600160a01b03161461076b5760405163086391f760e31b81523360048201526024016106ab565b6107758484611a80565b91505b5092915050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561082f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085391906130c9565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161089b611084565b6001600160a01b031681526020018260010180546108b8906130e4565b80601f01602080910402602001604051908101604052809291908181526020018280546108e4906130e4565b801561092f5780601f106109065761010080835404028352916020019161092f565b820191905f5260205f20905b81548152906001019060200180831161091257829003601f168201915b505050505081525091505090565b5f6109466112af565b60800151905090565b5f61095930611b0c565b905090565b60606109686112af565b51919050565b610976611084565b6001600160a01b0316336001600160a01b0316146109a95760405163086391f760e31b81523360048201526024016106ab565b5f80516020613650833981519152546040805163be495be560e01b815290516001600160a01b039092169163be495be5916004808201925f9290919082900301818387803b1580156109f9575f80fd5b505af1158015610a0b573d5f803e3d5ffd5b50505050610a195f19611d00565b565b5f610a24611084565b6001600160a01b0316336001600160a01b031614610a575760405163086391f760e31b81523360048201526024016106ab565b610a6033610680565b610a6982611d91565b90505b919050565b5f610a7a6112af565b60400151905090565b5f610a966001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ada573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610afe91906130c9565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b55573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109599190613127565b5f610b82611084565b6001600160a01b0316336001600160a01b031614610bb55760405163086391f760e31b81523360048201526024016106ab565b610bbe33610680565b610bcf8a8a8a8a8a8a8a8a8a611e15565b9a9950505050505050505050565b610be5611084565b6001600160a01b0316336001600160a01b031614610c185760405163086391f760e31b81523360048201526024016106ab565b610c2133610680565b610c2c838383611ed4565b505050565b610c39611084565b6001600160a01b0316336001600160a01b031614610c6c5760405163086391f760e31b81523360048201526024016106ab565b30610c7561093d565b6001600160a01b031614610c9c5760405163b6d7537f60e01b815260040160405180910390fd5b7ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610cc5610dec565b604080516001600160a01b0390921682526001600160601b03841660208301520160405180910390a1816001600160a01b031663095ea7b3610d05610dec565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610d5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190613142565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015b6020604051808303815f875af1158015610dc8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c2c9190613127565b5f610df56112af565b60600151905090565b5f610e07610a83565b15610e82576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610e5b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610df591908101906131c1565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f610ebc336111b5565b610edb5760405163637c41bb60e01b81523360048201526024016106ab565b610ee433610680565b5f610eee33611372565b9050610efe818888888888611eeb565b979650505050505050565b5f610f12611084565b6001600160a01b0316336001600160a01b031614610f455760405163086391f760e31b81523360048201526024016106ab565b610f4e33610680565b610f59848484611fa1565b90505b9392505050565b5f80516020613610833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610fa1610f63565b846040518363ffffffff1660e01b8152600401610fbf929190613291565b602060405180830381865af4158015610fda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6991906132b2565b336110076114fe565b6001600160a01b0316816001600160a01b0316146110425760405162d1953b60e31b81526001600160a01b03821660048201526024016106ab565b816001600160a01b03163b5f03611077576040516361798f2f60e11b81526001600160a01b03831660048201526024016106ab565b61108082612165565b5050565b5f805f8051602061361083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156110f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111149190613127565b1561119f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611175573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061119991906130a3565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206136508339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611256573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5c9190613127565b5f8051602061363083398151915280545f9190600160a01b900460ff166112a1575f611199565b638fb3603760e01b91505090565b6112b76129b2565b6112bf610a83565b156112cc576109596121c5565b6109596113b4565b6112dc611084565b6001600160a01b0316336001600160a01b03161461130f5760405163086391f760e31b81523360048201526024016106ab565b611319600a61238c565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b15801561135a575f80fd5b505af115801561136c573d5f803e3d5ffd5b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6113bc6129b2565b6109596121c5565b6113cc611084565b6001600160a01b0316336001600160a01b0316146113ff5760405163086391f760e31b81523360048201526024016106ab565b61140833610680565b611080828261248d565b61141a611084565b6001600160a01b0316336001600160a01b03161461144d5760405163086391f760e31b81523360048201526024016106ab565b61145e611458610a71565b82610c31565b50565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114cc91906130a3565b6001600160a01b0316336001600160a01b0316146110805760405162f0630960e01b81523360048201526024016106ab565b5f80516020613630833981519152546001600160a01b031690565b5f61152482826132cd565b90505b92915050565b611535611084565b6001600160a01b0316336001600160a01b0316146115685760405163086391f760e31b81523360048201526024016106ab565b5f61157161093d565b90505f61157c610a71565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa1580156115c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e69190613142565b90506115f1836124f4565b8015610c2c57604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b038316036117525761165a610dec565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116a391815260200190565b602060405180830381865af41580156116be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116e291906130c9565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b158015611737575f80fd5b505af1158015611749573d5f803e3d5ffd5b50505050505050565b61175a610dec565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116a391815260200190565b5f805f6117af84610f7e565b90506117e27fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa15801561182f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061185391906132f0565b9250925050915091565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118c891906130a3565b6001600160a01b0316336001600160a01b0316146118fa5760405162f0630960e01b81523360048201526024016106ab565b610c2c83838361258d565b61108033610680565b611916611084565b6001600160a01b0316336001600160a01b0316146119495760405163086391f760e31b81523360048201526024016106ab565b611953600a61238c565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e90602401611343565b5f805160206136308339815191525f806119ba61199d6114fe565b87306119ac60045f8a8c613314565b6119b59161333b565b612733565b9150915081611a785763ffffffff811615611a5557825460ff60a01b1916600160a01b1783556119e86114fe565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611a1793929190613371565b5f604051808303815f87803b158015611a2e575f80fd5b505af1158015611a40573d5f803e3d5ffd5b5050845460ff60a01b1916855550611a789050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106ab565b505050505050565b5f5f80516020613650833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611ae8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061152491906130c9565b5f805f8051602061361083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611b78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b9c9190613127565b15611bc85780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106ab565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611c1a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c3e9190613127565b611c665760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106ab565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611cb8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cdc91906130c9565b81546001600160601b0319166001600160601b039190911690811790915592915050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f01547fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00906001600160a01b031663095ea7b3611d5a6112af565b606001516040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401610dac565b5f5f80516020613670833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611df1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6991906130c9565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020613650833981519152916001600160a01b0390911690632b5198b190611e85908e908e908e908e908e908e908e908e908e906004016133b0565b6020604051808303815f875af1158015611ea1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ec591906132b2565b9b9a5050505050505050505050565b5f5f805160206136508339815191525b5050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020613650833981519152916001600160a01b0390911690638dd2b78190611f55908b908b908b908b908b908b90600401613421565b6020604051808303815f875af1158015611f71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f9591906132b2565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206136508339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015612042573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120669190613127565b156120b1576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b031660248201526044016106ab565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae906120e790889088908890600401613480565b6020604051808303815f875af1158015612103573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061212791906130c9565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f8051602061363083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6121cd6129b2565b5f6121e06001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612224573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061224891906130c9565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156122a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122c59190613127565b15612384577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3612302610f63565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612343573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261236a91908101906134b3565b60808101519092506001600160a01b031615612384575090565b61119961283b565b5f805f805160206136708339815191525460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156123e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612406919061358b565b905061241a6001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa158015612469573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5c91906130a3565b5f8051602061365083398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906124cb90859085906004016135a6565b5f604051808303815f87803b1580156124e2575f80fd5b505af1158015611a78573d5f803e3d5ffd5b6124fc611084565b6001600160a01b0316336001600160a01b03161461252f5760405163086391f760e31b81523360048201526024016106ab565b612539600b61238c565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b15801561257b575f80fd5b505af1158015611ee4573d5f803e3d5ffd5b604080516001600160a01b03841681523360208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020613650833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612626573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061264a91906130c9565b6001600160a01b0385165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810183905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156126d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126f491906130c9565b6001600160a01b03939093165f9081526002919091016020526040902080546001600160601b0319166001600160601b03909316929092179091555050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516127a191906135cc565b5f60405180830381855afa9150503d805f81146127d9576040519150601f19603f3d011682016040523d82523d5f602084013e6127de565b606091505b50915091508115612830576040815110612810578080602001905181019061280691906135e2565b9094509250612830565b6020815110612830578080602001905181019061282d9190613127565b93505b505094509492505050565b6128436129b2565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060c00160405280825f018054612880906130e4565b80601f01602080910402602001604051908101604052809291908181526020018280546128ac906130e4565b80156128f75780601f106128ce576101008083540402835291602001916128f7565b820191905f5260205f20905b8154815290600101906020018083116128da57829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612948573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061296c91906130c9565b6001600160601b0316815260018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916108b8906130e4565b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612a18575f80fd5b81356001600160e01b031981168114610f5c575f80fd5b6001600160601b038116811461145e575f80fd5b5f8060408385031215612a54575f80fd5b8235612a5f81612a2f565b91506020830135612a6f81612a2f565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612af0608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610775610100840182612a7a565b602081525f6115246020830184612a7a565b5f60208284031215612b56575f80fd5b8135610f5c81612a2f565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612b9757612b97612b61565b60405290565b60405160c081016001600160401b0381118282101715612b9757612b97612b61565b604051601f8201601f191681016001600160401b0381118282101715612be757612be7612b61565b604052919050565b5f6001600160401b03821115612c0757612c07612b61565b50601f01601f191660200190565b5f82601f830112612c24575f80fd5b8135602083015f612c3c612c3784612bef565b612bbf565b9050828152858383011115612c4f575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff8116811461145e575f80fd5b8035610a6c81612c69565b801515811461145e575f80fd5b8035610a6c81612c85565b5f805f805f805f805f6101208a8c031215612cb6575f80fd5b89356001600160401b03811115612ccb575f80fd5b612cd78c828d01612c15565b99505060208a0135975060408a0135965060608a0135955060808a0135612cfd81612c69565b9450612d0b60a08b01612c7a565b9350612d1960c08b01612c92565b9250612d2760e08b01612c92565b91506101008a01356001600160401b03811115612d42575f80fd5b612d4e8c828d01612c15565b9150509295985092959850929598565b6001600160c01b03198116811461145e575f80fd5b5f805f60608486031215612d85575f80fd5b8335612d9081612a2f565b92506020840135612da081612d5e565b915060408401356001600160401b03811115612dba575f80fd5b612dc686828701612c15565b9150509250925092565b6001600160a01b038116811461145e575f80fd5b5f8060408385031215612df5575f80fd5b8235612a5f81612dd0565b5f805f805f60a08688031215612e14575f80fd5b85356001600160401b03811115612e29575f80fd5b612e3588828901612c15565b955050602086013593506040860135612e4d81612c69565b9250606086013564ffffffffff81168114612e66575f80fd5b915060808601356001600160401b03811115612e80575f80fd5b612e8c88828901612c15565b9150509295509295909350565b5f805f60608486031215612eab575f80fd5b8335612d9081612dd0565b5f60208284031215612ec6575f80fd5b81356001600160401b03811115612edb575f80fd5b61077584828501612c15565b5f60208284031215612ef7575f80fd5b8135610f5c81612dd0565b602081525f825160c06020840152612f1d60e0840182612a7a565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b0360608501511660808401526080840151612f7060a08501826001600160a01b03169052565b5060a0840151838203601f190160c0850152612f8c8282612a7a565b95945050505050565b5f60408284031215612fa5575f80fd5b604080519081016001600160401b0381118282101715612fc757612fc7612b61565b604052823581526020928301359281019290925250919050565b5f8060808385031215612ff2575f80fd5b612ffc8484612f95565b915061300b8460408501612f95565b90509250929050565b5f8060408385031215613025575f80fd5b823561303081612dd0565b946020939093013593505050565b5f806040838503121561304f575f80fd5b823561303081612d5e565b5f805f6060848603121561306c575f80fd5b833561307781612dd0565b9250602084013561308781612dd0565b929592945050506040919091013590565b8051610a6c81612dd0565b5f602082840312156130b3575f80fd5b8151610f5c81612dd0565b8051610a6c81612a2f565b5f602082840312156130d9575f80fd5b8151610f5c81612a2f565b600181811c908216806130f857607f821691505b60208210810361311657634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a6c81612c85565b5f60208284031215613137575f80fd5b8151610f5c81612c85565b5f60208284031215613152575f80fd5b5051919050565b60ff8116811461145e575f80fd5b8051610a6c81613159565b5f82601f830112613181575f80fd5b8151602083015f613194612c3784612bef565b90508281528583830111156131a7575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f602082840312156131d1575f80fd5b81516001600160401b038111156131e6575f80fd5b820160e081850312156131f7575f80fd5b6131ff612b75565b613208826130be565b8152613216602083016130be565b602082015261322760408301613167565b60408201526132386060830161311c565b606082015261324960808301613098565b608082015261325a60a08301613098565b60a082015260c08201516001600160401b03811115613277575f80fd5b61328386828501613172565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610f596040830184612a7a565b5f602082840312156132c2575f80fd5b8151610f5c81612d5e565b808202811582820484141761152757634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613301575f80fd5b82516020840151909250612a6f81613159565b5f8085851115613322575f80fd5b8386111561332e575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015610778576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f6133c461012083018c612a7a565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e08401528281036101008401526134118185612a7a565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f61344260c0830188612a7a565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a08401526134738185612a7a565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90612f8c90830184612a7a565b5f602082840312156134c3575f80fd5b81516001600160401b038111156134d8575f80fd5b820160c081850312156134e9575f80fd5b6134f1612b9d565b81516001600160401b03811115613506575f80fd5b61351286828501613172565b825250613521602083016130be565b602082015261353260408301613098565b604082015261354360608301613098565b606082015261355460808301613098565b608082015260a08201516001600160401b03811115613571575f80fd5b61357d86828501613172565b60a083015250949350505050565b5f6020828403121561359b575f80fd5b8151610f5c81613159565b825181526020808401518183015282516040830152820151606082015260808101610f5c565b5f82518060208501845e5f920191825250919050565b5f80604083850312156135f3575f80fd5b82516135fe81612c85565b6020840151909250612a6f81612c6956fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220ab5164184ee5afb2bbce14d190970e480f760d81637006a79007e0dc87a47b4364736f6c634300081a0033",
1201
- "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061028b575f3560e01c80637427d7a811610161578063bae99c99116100ca578063e145d46c11610084578063e145d46c146105d5578063e7f7fb86146105ff578063ea15869f14610612578063f5860e1a14610639578063f80e20721461064d578063f83d08ba14610660575f80fd5b8063bae99c9914610564578063bb1e0e5914610577578063bf7e214f1461058a578063d16d0fe814610592578063de7b5d14146105a5578063deaa59df146105c2575f80fd5b806390edbd351161011b57806390edbd3514610505578063a69df4b51461051a578063ada9652e14610522578063b2a6b42d14610536578063b423086c14610549578063b6b412ba14610551575f80fd5b80637427d7a81461049c5780637a9e5e4b146104af57806387ef9ba0146104c2578063893d20e8146104c95780638f0c86fa146104d15780638fb36037146104e4575f80fd5b806322366844116102035780635741e5e9116101bd5780635741e5e91461042557806359660bea1461042d5780635ab1bd53146104405780635dcb3bae14610451578063644c45e0146104645780636bd1c0eb1461046c575f80fd5b806322366844146103af5780632b5198b1146103b75780632eb3e6f4146103e35780633d683fd9146103f7578063419197fe1461040a57806343d752d31461041d575f80fd5b8063138461e011610254578063138461e01461033857806317d7de7c146103405780631aa3a008146103555780631c6b21901461035f5780631eff4b221461037257806321df0da7146103a7575f80fd5b806251884a1461028f57806301ffc9a7146102b457806307e71a6e146102f05780630fec111c146103035780631329960414610318575b5f80fd5b610297610668565b6040516001600160601b0390911681526020015b60405180910390f35b6102e06102c2366004612a08565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020016102ab565b6102976102fe366004612a43565b61067a565b61030b61077f565b6040516102ab9190612aa8565b61032061093d565b6040516001600160a01b0390911681526020016102ab565b61029761094f565b61034861095e565b6040516102ab9190612b34565b61035d61096e565b005b61029761036d366004612b46565b610a1b565b6103997f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102ab565b610320610a71565b6102e0610a83565b6103ca6103c5366004612c9d565b610b79565b6040516001600160c01b031990911681526020016102ab565b6103995f8051602061367083398151915281565b61035d610405366004612d73565b610bdd565b61035d610418366004612de4565b610c31565b610320610dec565b6102e0610dfe565b6103ca61043b366004612e00565b610eb2565b6001546001600160a01b0316610320565b61029761045f366004612e99565b610f09565b610297610f63565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610320565b6103ca6104aa366004612eb6565b610f7e565b61035d6104bd366004612ee7565b610ffe565b60016102e0565b610320611084565b6102e06104df366004612ee7565b6111b5565b6104ec61127a565b6040516001600160e01b031990911681526020016102ab565b61050d6112af565b6040516102ab9190612f02565b61035d6112d4565b6103995f8051602061361083398151915281565b610297610544366004612ee7565b611372565b61050d6113b4565b61035d61055f366004612fe1565b6113c4565b61035d610572366004612b46565b611412565b61035d610585366004613014565b611461565b6103206114fe565b6103996105a036600461303e565b611519565b5f80516020613670833981519152546001600160a01b0316610320565b61035d6105d0366004612ee7565b61152d565b6105e86105e3366004612eb6565b6117a3565b6040805192835260ff9091166020830152016102ab565b61035d61060d36600461305a565b61185d565b6103997fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103995f8051602061365083398151915281565b61035d61065b36600461303e565b611905565b61035d61190e565b5f6106716112af565b60200151905090565b5f610687335b5f36611982565b610690336111b5565b6106b45760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b826106c76001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610714573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073891906130a3565b6001600160a01b0316336001600160a01b03161461076b5760405163086391f760e31b81523360048201526024016106ab565b6107758484611a80565b91505b5092915050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561082f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085391906130c9565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161089b611084565b6001600160a01b031681526020018260010180546108b8906130e4565b80601f01602080910402602001604051908101604052809291908181526020018280546108e4906130e4565b801561092f5780601f106109065761010080835404028352916020019161092f565b820191905f5260205f20905b81548152906001019060200180831161091257829003601f168201915b505050505081525091505090565b5f6109466112af565b60800151905090565b5f61095930611b0c565b905090565b60606109686112af565b51919050565b610976611084565b6001600160a01b0316336001600160a01b0316146109a95760405163086391f760e31b81523360048201526024016106ab565b5f80516020613650833981519152546040805163be495be560e01b815290516001600160a01b039092169163be495be5916004808201925f9290919082900301818387803b1580156109f9575f80fd5b505af1158015610a0b573d5f803e3d5ffd5b50505050610a195f19611d00565b565b5f610a24611084565b6001600160a01b0316336001600160a01b031614610a575760405163086391f760e31b81523360048201526024016106ab565b610a6033610680565b610a6982611d91565b90505b919050565b5f610a7a6112af565b60400151905090565b5f610a966001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ada573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610afe91906130c9565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b55573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109599190613127565b5f610b82611084565b6001600160a01b0316336001600160a01b031614610bb55760405163086391f760e31b81523360048201526024016106ab565b610bbe33610680565b610bcf8a8a8a8a8a8a8a8a8a611e15565b9a9950505050505050505050565b610be5611084565b6001600160a01b0316336001600160a01b031614610c185760405163086391f760e31b81523360048201526024016106ab565b610c2133610680565b610c2c838383611ed4565b505050565b610c39611084565b6001600160a01b0316336001600160a01b031614610c6c5760405163086391f760e31b81523360048201526024016106ab565b30610c7561093d565b6001600160a01b031614610c9c5760405163b6d7537f60e01b815260040160405180910390fd5b7ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610cc5610dec565b604080516001600160a01b0390921682526001600160601b03841660208301520160405180910390a1816001600160a01b031663095ea7b3610d05610dec565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610d5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190613142565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015b6020604051808303815f875af1158015610dc8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c2c9190613127565b5f610df56112af565b60600151905090565b5f610e07610a83565b15610e82576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610e5b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610df591908101906131c1565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f610ebc336111b5565b610edb5760405163637c41bb60e01b81523360048201526024016106ab565b610ee433610680565b5f610eee33611372565b9050610efe818888888888611eeb565b979650505050505050565b5f610f12611084565b6001600160a01b0316336001600160a01b031614610f455760405163086391f760e31b81523360048201526024016106ab565b610f4e33610680565b610f59848484611fa1565b90505b9392505050565b5f80516020613610833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610fa1610f63565b846040518363ffffffff1660e01b8152600401610fbf929190613291565b602060405180830381865af4158015610fda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6991906132b2565b336110076114fe565b6001600160a01b0316816001600160a01b0316146110425760405162d1953b60e31b81526001600160a01b03821660048201526024016106ab565b816001600160a01b03163b5f03611077576040516361798f2f60e11b81526001600160a01b03831660048201526024016106ab565b61108082612165565b5050565b5f805f8051602061361083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156110f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111149190613127565b1561119f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611175573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061119991906130a3565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206136508339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611256573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5c9190613127565b5f8051602061363083398151915280545f9190600160a01b900460ff166112a1575f611199565b638fb3603760e01b91505090565b6112b76129b2565b6112bf610a83565b156112cc576109596121c5565b6109596113b4565b6112dc611084565b6001600160a01b0316336001600160a01b03161461130f5760405163086391f760e31b81523360048201526024016106ab565b611319600a61238c565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b15801561135a575f80fd5b505af115801561136c573d5f803e3d5ffd5b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6113bc6129b2565b6109596121c5565b6113cc611084565b6001600160a01b0316336001600160a01b0316146113ff5760405163086391f760e31b81523360048201526024016106ab565b61140833610680565b611080828261248d565b61141a611084565b6001600160a01b0316336001600160a01b03161461144d5760405163086391f760e31b81523360048201526024016106ab565b61145e611458610a71565b82610c31565b50565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114cc91906130a3565b6001600160a01b0316336001600160a01b0316146110805760405162f0630960e01b81523360048201526024016106ab565b5f80516020613630833981519152546001600160a01b031690565b5f61152482826132cd565b90505b92915050565b611535611084565b6001600160a01b0316336001600160a01b0316146115685760405163086391f760e31b81523360048201526024016106ab565b5f61157161093d565b90505f61157c610a71565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa1580156115c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e69190613142565b90506115f1836124f4565b8015610c2c57604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b038316036117525761165a610dec565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116a391815260200190565b602060405180830381865af41580156116be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116e291906130c9565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b158015611737575f80fd5b505af1158015611749573d5f803e3d5ffd5b50505050505050565b61175a610dec565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116a391815260200190565b5f805f6117af84610f7e565b90506117e27fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa15801561182f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061185391906132f0565b9250925050915091565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118c891906130a3565b6001600160a01b0316336001600160a01b0316146118fa5760405162f0630960e01b81523360048201526024016106ab565b610c2c83838361258d565b61108033610680565b611916611084565b6001600160a01b0316336001600160a01b0316146119495760405163086391f760e31b81523360048201526024016106ab565b611953600a61238c565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e90602401611343565b5f805160206136308339815191525f806119ba61199d6114fe565b87306119ac60045f8a8c613314565b6119b59161333b565b612733565b9150915081611a785763ffffffff811615611a5557825460ff60a01b1916600160a01b1783556119e86114fe565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611a1793929190613371565b5f604051808303815f87803b158015611a2e575f80fd5b505af1158015611a40573d5f803e3d5ffd5b5050845460ff60a01b1916855550611a789050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106ab565b505050505050565b5f5f80516020613650833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611ae8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061152491906130c9565b5f805f8051602061361083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611b78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b9c9190613127565b15611bc85780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106ab565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611c1a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c3e9190613127565b611c665760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106ab565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611cb8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cdc91906130c9565b81546001600160601b0319166001600160601b039190911690811790915592915050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f01547fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00906001600160a01b031663095ea7b3611d5a6112af565b606001516040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401610dac565b5f5f80516020613670833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611df1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6991906130c9565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020613650833981519152916001600160a01b0390911690632b5198b190611e85908e908e908e908e908e908e908e908e908e906004016133b0565b6020604051808303815f875af1158015611ea1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ec591906132b2565b9b9a5050505050505050505050565b5f5f805160206136508339815191525b5050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020613650833981519152916001600160a01b0390911690638dd2b78190611f55908b908b908b908b908b908b90600401613421565b6020604051808303815f875af1158015611f71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f9591906132b2565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206136508339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015612042573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120669190613127565b156120b1576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b031660248201526044016106ab565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae906120e790889088908890600401613480565b6020604051808303815f875af1158015612103573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061212791906130c9565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f8051602061363083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6121cd6129b2565b5f6121e06001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612224573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061224891906130c9565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156122a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122c59190613127565b15612384577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3612302610f63565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612343573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261236a91908101906134b3565b60808101519092506001600160a01b031615612384575090565b61119961283b565b5f805f805160206136708339815191525460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156123e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612406919061358b565b905061241a6001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa158015612469573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5c91906130a3565b5f8051602061365083398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906124cb90859085906004016135a6565b5f604051808303815f87803b1580156124e2575f80fd5b505af1158015611a78573d5f803e3d5ffd5b6124fc611084565b6001600160a01b0316336001600160a01b03161461252f5760405163086391f760e31b81523360048201526024016106ab565b612539600b61238c565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b15801561257b575f80fd5b505af1158015611ee4573d5f803e3d5ffd5b604080516001600160a01b03841681523360208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020613650833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612626573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061264a91906130c9565b6001600160a01b0385165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810183905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156126d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126f491906130c9565b6001600160a01b03939093165f9081526002919091016020526040902080546001600160601b0319166001600160601b03909316929092179091555050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516127a191906135cc565b5f60405180830381855afa9150503d805f81146127d9576040519150601f19603f3d011682016040523d82523d5f602084013e6127de565b606091505b50915091508115612830576040815110612810578080602001905181019061280691906135e2565b9094509250612830565b6020815110612830578080602001905181019061282d9190613127565b93505b505094509492505050565b6128436129b2565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060c00160405280825f018054612880906130e4565b80601f01602080910402602001604051908101604052809291908181526020018280546128ac906130e4565b80156128f75780601f106128ce576101008083540402835291602001916128f7565b820191905f5260205f20905b8154815290600101906020018083116128da57829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612948573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061296c91906130c9565b6001600160601b0316815260018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916108b8906130e4565b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612a18575f80fd5b81356001600160e01b031981168114610f5c575f80fd5b6001600160601b038116811461145e575f80fd5b5f8060408385031215612a54575f80fd5b8235612a5f81612a2f565b91506020830135612a6f81612a2f565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612af0608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610775610100840182612a7a565b602081525f6115246020830184612a7a565b5f60208284031215612b56575f80fd5b8135610f5c81612a2f565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612b9757612b97612b61565b60405290565b60405160c081016001600160401b0381118282101715612b9757612b97612b61565b604051601f8201601f191681016001600160401b0381118282101715612be757612be7612b61565b604052919050565b5f6001600160401b03821115612c0757612c07612b61565b50601f01601f191660200190565b5f82601f830112612c24575f80fd5b8135602083015f612c3c612c3784612bef565b612bbf565b9050828152858383011115612c4f575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff8116811461145e575f80fd5b8035610a6c81612c69565b801515811461145e575f80fd5b8035610a6c81612c85565b5f805f805f805f805f6101208a8c031215612cb6575f80fd5b89356001600160401b03811115612ccb575f80fd5b612cd78c828d01612c15565b99505060208a0135975060408a0135965060608a0135955060808a0135612cfd81612c69565b9450612d0b60a08b01612c7a565b9350612d1960c08b01612c92565b9250612d2760e08b01612c92565b91506101008a01356001600160401b03811115612d42575f80fd5b612d4e8c828d01612c15565b9150509295985092959850929598565b6001600160c01b03198116811461145e575f80fd5b5f805f60608486031215612d85575f80fd5b8335612d9081612a2f565b92506020840135612da081612d5e565b915060408401356001600160401b03811115612dba575f80fd5b612dc686828701612c15565b9150509250925092565b6001600160a01b038116811461145e575f80fd5b5f8060408385031215612df5575f80fd5b8235612a5f81612dd0565b5f805f805f60a08688031215612e14575f80fd5b85356001600160401b03811115612e29575f80fd5b612e3588828901612c15565b955050602086013593506040860135612e4d81612c69565b9250606086013564ffffffffff81168114612e66575f80fd5b915060808601356001600160401b03811115612e80575f80fd5b612e8c88828901612c15565b9150509295509295909350565b5f805f60608486031215612eab575f80fd5b8335612d9081612dd0565b5f60208284031215612ec6575f80fd5b81356001600160401b03811115612edb575f80fd5b61077584828501612c15565b5f60208284031215612ef7575f80fd5b8135610f5c81612dd0565b602081525f825160c06020840152612f1d60e0840182612a7a565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b0360608501511660808401526080840151612f7060a08501826001600160a01b03169052565b5060a0840151838203601f190160c0850152612f8c8282612a7a565b95945050505050565b5f60408284031215612fa5575f80fd5b604080519081016001600160401b0381118282101715612fc757612fc7612b61565b604052823581526020928301359281019290925250919050565b5f8060808385031215612ff2575f80fd5b612ffc8484612f95565b915061300b8460408501612f95565b90509250929050565b5f8060408385031215613025575f80fd5b823561303081612dd0565b946020939093013593505050565b5f806040838503121561304f575f80fd5b823561303081612d5e565b5f805f6060848603121561306c575f80fd5b833561307781612dd0565b9250602084013561308781612dd0565b929592945050506040919091013590565b8051610a6c81612dd0565b5f602082840312156130b3575f80fd5b8151610f5c81612dd0565b8051610a6c81612a2f565b5f602082840312156130d9575f80fd5b8151610f5c81612a2f565b600181811c908216806130f857607f821691505b60208210810361311657634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a6c81612c85565b5f60208284031215613137575f80fd5b8151610f5c81612c85565b5f60208284031215613152575f80fd5b5051919050565b60ff8116811461145e575f80fd5b8051610a6c81613159565b5f82601f830112613181575f80fd5b8151602083015f613194612c3784612bef565b90508281528583830111156131a7575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f602082840312156131d1575f80fd5b81516001600160401b038111156131e6575f80fd5b820160e081850312156131f7575f80fd5b6131ff612b75565b613208826130be565b8152613216602083016130be565b602082015261322760408301613167565b60408201526132386060830161311c565b606082015261324960808301613098565b608082015261325a60a08301613098565b60a082015260c08201516001600160401b03811115613277575f80fd5b61328386828501613172565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610f596040830184612a7a565b5f602082840312156132c2575f80fd5b8151610f5c81612d5e565b808202811582820484141761152757634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613301575f80fd5b82516020840151909250612a6f81613159565b5f8085851115613322575f80fd5b8386111561332e575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015610778576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f6133c461012083018c612a7a565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e08401528281036101008401526134118185612a7a565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f61344260c0830188612a7a565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a08401526134738185612a7a565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90612f8c90830184612a7a565b5f602082840312156134c3575f80fd5b81516001600160401b038111156134d8575f80fd5b820160c081850312156134e9575f80fd5b6134f1612b9d565b81516001600160401b03811115613506575f80fd5b61351286828501613172565b825250613521602083016130be565b602082015261353260408301613098565b604082015261354360608301613098565b606082015261355460808301613098565b608082015260a08201516001600160401b03811115613571575f80fd5b61357d86828501613172565b60a083015250949350505050565b5f6020828403121561359b575f80fd5b8151610f5c81613159565b825181526020808401518183015282516040830152820151606082015260808101610f5c565b5f82518060208501845e5f920191825250919050565b5f80604083850312156135f3575f80fd5b82516135fe81612c85565b6020840151909250612a6f81612c6956fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220ab5164184ee5afb2bbce14d190970e480f760d81637006a79007e0dc87a47b4364736f6c634300081a0033",
1142
+ "bytecode": "0x6080604052348015600e575f80fd5b50612d358061001c5f395ff3fe608060405234801561000f575f80fd5b506004361061023f575f3560e01c80637427d7a811610135578063ada9652e116100b4578063e145d46c11610079578063e145d46c14610563578063ea15869f14610597578063f322c70a146105be578063f5860e1a146105d1578063f80e2072146105e5575f80fd5b8063ada9652e146104fc578063b423086c14610510578063bf7e214f14610518578063d16d0fe814610520578063de7b5d1414610533575f80fd5b80638fb36037116100fa5780638fb360371461048d57806390edbd35146104ae578063987cb161146104c3578063ab3fc75f146104d6578063ad12ad60146104e9575f80fd5b80637427d7a81461043c57806376b707b71461044f5780637a9e5e4b1461046957806387ef9ba01461047e578063893d20e814610485575f80fd5b806321df0da7116101c15780635741e5e9116101865780635741e5e9146103d85780635ab1bd53146103e05780635dcb3bae146103f1578063644c45e0146104045780636bd1c0eb1461040c575f80fd5b806321df0da714610391578063223668441461039957806322f3e2d4146103a15780632eb3e6f4146103a957806343d752d3146103d0575f80fd5b8063138461e011610207578063138461e01461030057806317d7de7c146103085780631bda5efa1461031d5780631c6b2190146103495780631eff4b221461035c575f80fd5b806301ffc9a71461024357806307e71a6e146102845780630d8e6e2c146102af5780630fec111c146102cb57806313299604146102e0575b5f80fd5b61026f610251366004611fe7565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610297610292366004612025565b6105f8565b6040516001600160601b03909116815260200161027b565b6102b76106c9565b60405162ffffff909116815260200161027b565b6102d3610750565b60405161027b919061208a565b6102e861090a565b6040516001600160a01b03909116815260200161027b565b610297610972565b61031061097c565b60405161027b919061211e565b61033061032b3660046122a8565b61098c565b6040516001600160c01b0319909116815260200161027b565b61029761035736600461237e565b6109f0565b6103837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161027b565b6102e8610a46565b61026f610a8a565b61026f610b80565b6103837fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102e8610bf7565b61026f610c09565b6001546001600160a01b03166102e8565b6102976103ff3660046123ae565b610cbf565b610297610d19565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102e8565b61033061044a36600461240b565b610d34565b610457610db4565b60405160ff909116815260200161027b565b61047c61047736600461243c565b610e1c565b005b600161026f565b6102e8610ea2565b610495610fd3565b6040516001600160e01b0319909116815260200161027b565b6104b6611008565b60405161027b9190612457565b6103306104d13660046124a5565b61102d565b61047c6104e436600461254f565b6110fa565b61047c6104f736600461256c565b61115d565b6103835f80516020612c8083398151915281565b6104b6611200565b6102e8611210565b61038361052e3660046125bc565b61122b565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102e8565b61057661057136600461240b565b61123f565b604080516001600160a01b03909316835260ff90911660208301520161027b565b6103837fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61047c6105cc366004612646565b6112f9565b6103835f80516020612ce083398151915281565b61047c6105f33660046125bc565b611347565b5f610605335b5f36611350565b826017610612828261144e565b846106256001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b8152600401610652929190612679565b602060405180830381865afa15801561066d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061069191906126a6565b6106b55760405163086391f760e31b81523360048201526024015b60405180910390fd5b6106bf8686611582565b9695505050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610727573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b91906126c1565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082091906126ee565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610868610ea2565b6001600160a01b0316815260200182600101805461088590612709565b80601f01602080910402602001604051908101604052809291908181526020018280546108b190612709565b80156108fc5780601f106108d3576101008083540402835291602001916108fc565b820191905f5260205f20905b8154815290600101906020018083116108df57829003601f168201915b505050505081525091505090565b5f610913610bf7565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b919061274c565b5f61074b3061160e565b6060610986611008565b51919050565b5f610996336105fe565b61099e610ea2565b6001600160a01b0316336001600160a01b0316146109d15760405163086391f760e31b81523360048201526024016106ac565b6109e28a8a8a8a8a8a8a8a8a611850565b9a9950505050505050505050565b5f6109fa336105fe565b610a02610ea2565b6001600160a01b0316336001600160a01b031614610a355760405163086391f760e31b81523360048201526024016106ac565b610a3e826118fc565b90505b919050565b5f610a4f610bf7565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094e573d5f803e3d5ffd5b5f610a9d6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ae1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0591906126ee565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b5c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b91906126a6565b5f610b89611210565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610bcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf191906126a6565b15905090565b5f610c00611008565b60200151905090565b5f610c12610a8a565b15610c96576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610c66573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c8d91908101906127d4565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610cc9336105fe565b610cd1610ea2565b6001600160a01b0316336001600160a01b031614610d045760405163086391f760e31b81523360048201526024016106ac565b610d0f848484611993565b90505b9392505050565b5f80516020612c80833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610d57610d19565b846040518363ffffffff1660e01b8152600401610d759291906128a4565b602060405180830381865af4158015610d90573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3e91906128c5565b5f610dbd611210565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610df8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b91906128e0565b33610e25611210565b6001600160a01b0316816001600160a01b031614610e605760405162d1953b60e31b81526001600160a01b03821660048201526024016106ac565b816001600160a01b03163b5f03610e95576040516361798f2f60e11b81526001600160a01b03831660048201526024016106ac565b610e9e82611a2d565b5050565b5f805f80516020612c8083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3291906126a6565b15610fbd576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fb7919061274c565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612ca083398151915280545f9190600160a01b900460ff16610ffa575f610fb7565b638fb3603760e01b91505090565b611010611fbe565b611018610a8a565b156110255761074b611a8d565b61074b611200565b5f611037336105fe565b8661104a6001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b8152600401611077929190612679565b602060405180830381865afa158015611092573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110b691906126a6565b6110d55760405163086391f760e31b81523360048201526024016106ac565b6110e088601761144e565b6110ee888888888888611c54565b98975050505050505050565b611103336105fe565b61110b610ea2565b6001600160a01b0316336001600160a01b03161461113e5760405163086391f760e31b81523360048201526024016106ac565b82601761114b828261144e565b611156858585611ceb565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111c8919061274c565b6001600160a01b0316336001600160a01b0316146111fa5760405162f0630960e01b81523360048201526024016106ac565b50505050565b611208611fbe565b61074b611a8d565b5f80516020612ca0833981519152546001600160a01b031690565b5f61123682826128fb565b90505b92915050565b5f805f61124b84610d34565b905061127e7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156112cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112ef919061291e565b9250925050915091565b611301610ea2565b6001600160a01b0316336001600160a01b0316146113345760405163086391f760e31b81523360048201526024016106ac565b61133d336105fe565b610e9e8282611d6b565b610e9e336105fe565b5f80516020612ca08339815191525f8061138861136b611210565b873061137a60045f8a8c61294b565b61138391612972565b611dd2565b91509150816114465763ffffffff81161561142357825460ff60a01b1916600160a01b1783556113b6611210565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016113e5939291906129aa565b5f604051808303815f87803b1580156113fc575f80fd5b505af115801561140e573d5f803e3d5ffd5b5050845460ff60a01b19168555506114469050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106ac565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af415801561149e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c291906126a6565b8061155057506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561152a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061154e91906126a6565b155b15610e9e5760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016106ac565b5f5f80516020612ce0833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af11580156115ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061123691906126ee565b5f805f80516020612c8083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561167a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169e91906126a6565b156116ca5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106ac565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561171c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061174091906126a6565b6117685760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106ac565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156117ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117de91906126ee565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061182a610ea2565b604051611838929190612679565b60405180910390a1546001600160601b031692915050565b5f80516020612cc083398151915254604051630ded2f7d60e11b81525f915f80516020612ce0833981519152916001600160a01b0390911690631bda5efa906118ad908e908e908e908e908e908e908e908e908e906004016129e9565b6020604051808303815f875af11580156118c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118ed91906128c5565b9b9a5050505050505050505050565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af115801561196f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3e91906126ee565b5f80516020612cc083398151915254604051632ee59dd760e11b81525f915f80516020612ce0833981519152916001600160a01b0390911690635dcb3bae906119e490889088908890600401612a68565b6020604051808303815f875af1158015611a00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a2491906126ee565b95945050505050565b5f80516020612ca083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611a95611fbe565b5f611aa86001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611aec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b1091906126ee565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611b69573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b8d91906126a6565b15611c4c577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611bca610d19565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611c0b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c329190810190612a9b565b60208101519092506001600160a01b031615611c4c575090565b610fb7611eda565b5f80516020612cc08339815191525460405163987cb16160e01b81525f915f80516020612ce0833981519152916001600160a01b039091169063987cb16190611cab908b908b908b908b908b908b90600401612b55565b6020604051808303815f875af1158015611cc7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110ee91906128c5565b5f80516020612cc08339815191525460405163ab3fc75f60e01b81525f80516020612ce0833981519152916001600160a01b03169063ab3fc75f90611d3890879087908790600401612bbd565b5f604051808303815f87803b158015611d4f575f80fd5b505af1158015611d61573d5f803e3d5ffd5b5050505050505050565b5f80516020612ce08339815191525460405163feff0c9160e01b81526001600160a01b039091169063feff0c9190611da99085908590600401612bf0565b5f604051808303815f87803b158015611dc0575f80fd5b505af1158015611446573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611e409190612c3c565b5f60405180830381855afa9150503d805f8114611e78576040519150601f19603f3d011682016040523d82523d5f602084013e611e7d565b606091505b50915091508115611ecf576040815110611eaf5780806020019051810190611ea59190612c52565b9094509250611ecf565b6020815110611ecf5780806020019051810190611ecc91906126a6565b93505b505094509492505050565b611ee2611fbe565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060600160405280825f018054611f1f90612709565b80601f0160208091040260200160405190810160405280929190818152602001828054611f4b90612709565b8015611f965780601f10611f6d57610100808354040283529160200191611f96565b820191905f5260205f20905b815481529060010190602001808311611f7957829003601f168201915b505050505081526020015f6001600160a01b0316815260200182600201805461088590612709565b6040518060600160405280606081526020015f6001600160a01b03168152602001606081525090565b5f60208284031215611ff7575f80fd5b81356001600160e01b031981168114610d12575f80fd5b6001600160601b0381168114612022575f80fd5b50565b5f8060408385031215612036575f80fd5b82356120418161200e565b915060208301356120518161200e565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516120d2608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261211661010084018261205c565b949350505050565b602081525f611236602083018461205c565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561216657612166612130565b60405290565b604051606081016001600160401b038111828210171561216657612166612130565b604051601f8201601f191681016001600160401b03811182821017156121b6576121b6612130565b604052919050565b5f6001600160401b038211156121d6576121d6612130565b50601f01601f191660200190565b5f82601f8301126121f3575f80fd5b8135602083015f61220b612206846121be565b61218e565b905082815285838301111561221e575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160a01b0381168114612022575f80fd5b8035610a4181612238565b63ffffffff81168114612022575f80fd5b8035610a4181612257565b64ffffffffff81168114612022575f80fd5b8035610a4181612273565b8015158114612022575f80fd5b8035610a4181612290565b5f805f805f805f805f6101208a8c0312156122c1575f80fd5b89356001600160401b038111156122d6575f80fd5b6122e28c828d016121e4565b99505060208a01356122f381612238565b975061230160408b0161224c565b965061230f60608b0161224c565b955061231d60808b01612268565b945061232b60a08b01612285565b935061233960c08b0161229d565b925061234760e08b0161229d565b91506101008a01356001600160401b03811115612362575f80fd5b61236e8c828d016121e4565b9150509295985092959850929598565b5f6020828403121561238e575f80fd5b8135610d128161200e565b6001600160c01b031981168114612022575f80fd5b5f805f606084860312156123c0575f80fd5b83356123cb81612238565b925060208401356123db81612399565b915060408401356001600160401b038111156123f5575f80fd5b612401868287016121e4565b9150509250925092565b5f6020828403121561241b575f80fd5b81356001600160401b03811115612430575f80fd5b612116848285016121e4565b5f6020828403121561244c575f80fd5b8135610d1281612238565b602081525f825160606020840152612472608084018261205c565b60208501516001600160a01b0316604085810191909152850151848203601f19016060860152909150611a24828261205c565b5f805f805f8060c087890312156124ba575f80fd5b86356124c58161200e565b955060208701356001600160401b038111156124df575f80fd5b6124eb89828a016121e4565b95505060408701356124fc81612238565b9350606087013561250c81612257565b9250608087013561251c81612273565b915060a08701356001600160401b03811115612536575f80fd5b61254289828a016121e4565b9150509295509295509295565b5f805f60608486031215612561575f80fd5b83356123cb8161200e565b5f805f806080858703121561257f575f80fd5b843561258a81612238565b9350602085013561259a81612238565b92506040850135915060608501356125b181612238565b939692955090935050565b5f80604083850312156125cd575f80fd5b82356125d881612399565b946020939093013593505050565b5f604082840312156125f6575f80fd5b604080519081016001600160401b038111828210171561261857612618612130565b604052905080823561262981612238565b815260208301356126398161200e565b6020919091015292915050565b5f8060808385031215612657575f80fd5b61266184846125e6565b915061267084604085016125e6565b90509250929050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b8051610a4181612290565b5f602082840312156126b6575f80fd5b8151610d1281612290565b5f602082840312156126d1575f80fd5b815162ffffff81168114610d12575f80fd5b8051610a418161200e565b5f602082840312156126fe575f80fd5b8151610d128161200e565b600181811c9082168061271d57607f821691505b60208210810361273b57634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a4181612238565b5f6020828403121561275c575f80fd5b8151610d1281612238565b60ff81168114612022575f80fd5b8051610a4181612767565b5f61278d612206846121be565b90508281528383830111156127a0575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f8301126127c5575f80fd5b61123683835160208501612780565b5f602082840312156127e4575f80fd5b81516001600160401b038111156127f9575f80fd5b820160e0818503121561280a575f80fd5b612812612144565b61281b826126e3565b8152612829602083016126e3565b602082015261283a60408301612775565b604082015261284b6060830161269b565b606082015261285c60808301612741565b608082015261286d60a08301612741565b60a082015260c08201516001600160401b0381111561288a575f80fd5b612896868285016127b6565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610d0f604083018461205c565b5f602082840312156128d5575f80fd5b8151610d1281612399565b5f602082840312156128f0575f80fd5b8151610d1281612767565b808202811582820484141761123957634e487b7160e01b5f52601160045260245ffd5b5f806040838503121561292f575f80fd5b825161293a81612238565b602084015190925061205181612767565b5f8085851115612959575f80fd5b83861115612965575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156129a3576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f6129fd61012083018c61205c565b6001600160a01b038b811660208501528a811660408501528916606084015263ffffffff8816608084015264ffffffffff871660a084015285151560c084015284151560e0840152828103610100840152612a58818561205c565b9c9b505050505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90611a249083018461205c565b5f60208284031215612aab575f80fd5b81516001600160401b03811115612ac0575f80fd5b820160608185031215612ad1575f80fd5b612ad961216c565b81516001600160401b03811115612aee575f80fd5b8201601f81018613612afe575f80fd5b612b0d86825160208401612780565b8252506020820151612b1e81612238565b602082015260408201516001600160401b03811115612b3b575f80fd5b612b47868285016127b6565b604083015250949350505050565b6001600160601b038716815260c060208201525f612b7660c083018861205c565b6001600160a01b038716604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152612bb0818561205c565b9998505050505050505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f611a24606083018461205c565b82516001600160a01b031681526020808401516001600160601b0316908201526080810182516001600160a01b0316604083015260208301516001600160601b03166060830152610d12565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612c63575f80fd5b8251612c6e81612290565b60208401519092506120518161225756fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f901aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900a26469706673582212207250dc1f29ca70b13f263ccb7cb0ced6082f40cccfca718fce85aaa1ea81eda364736f6c634300081a0033",
1143
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061023f575f3560e01c80637427d7a811610135578063ada9652e116100b4578063e145d46c11610079578063e145d46c14610563578063ea15869f14610597578063f322c70a146105be578063f5860e1a146105d1578063f80e2072146105e5575f80fd5b8063ada9652e146104fc578063b423086c14610510578063bf7e214f14610518578063d16d0fe814610520578063de7b5d1414610533575f80fd5b80638fb36037116100fa5780638fb360371461048d57806390edbd35146104ae578063987cb161146104c3578063ab3fc75f146104d6578063ad12ad60146104e9575f80fd5b80637427d7a81461043c57806376b707b71461044f5780637a9e5e4b1461046957806387ef9ba01461047e578063893d20e814610485575f80fd5b806321df0da7116101c15780635741e5e9116101865780635741e5e9146103d85780635ab1bd53146103e05780635dcb3bae146103f1578063644c45e0146104045780636bd1c0eb1461040c575f80fd5b806321df0da714610391578063223668441461039957806322f3e2d4146103a15780632eb3e6f4146103a957806343d752d3146103d0575f80fd5b8063138461e011610207578063138461e01461030057806317d7de7c146103085780631bda5efa1461031d5780631c6b2190146103495780631eff4b221461035c575f80fd5b806301ffc9a71461024357806307e71a6e146102845780630d8e6e2c146102af5780630fec111c146102cb57806313299604146102e0575b5f80fd5b61026f610251366004611fe7565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610297610292366004612025565b6105f8565b6040516001600160601b03909116815260200161027b565b6102b76106c9565b60405162ffffff909116815260200161027b565b6102d3610750565b60405161027b919061208a565b6102e861090a565b6040516001600160a01b03909116815260200161027b565b610297610972565b61031061097c565b60405161027b919061211e565b61033061032b3660046122a8565b61098c565b6040516001600160c01b0319909116815260200161027b565b61029761035736600461237e565b6109f0565b6103837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161027b565b6102e8610a46565b61026f610a8a565b61026f610b80565b6103837fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b6102e8610bf7565b61026f610c09565b6001546001600160a01b03166102e8565b6102976103ff3660046123ae565b610cbf565b610297610d19565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b03166102e8565b61033061044a36600461240b565b610d34565b610457610db4565b60405160ff909116815260200161027b565b61047c61047736600461243c565b610e1c565b005b600161026f565b6102e8610ea2565b610495610fd3565b6040516001600160e01b0319909116815260200161027b565b6104b6611008565b60405161027b9190612457565b6103306104d13660046124a5565b61102d565b61047c6104e436600461254f565b6110fa565b61047c6104f736600461256c565b61115d565b6103835f80516020612c8083398151915281565b6104b6611200565b6102e8611210565b61038361052e3660046125bc565b61122b565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b03166102e8565b61057661057136600461240b565b61123f565b604080516001600160a01b03909316835260ff90911660208301520161027b565b6103837fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61047c6105cc366004612646565b6112f9565b6103835f80516020612ce083398151915281565b61047c6105f33660046125bc565b611347565b5f610605335b5f36611350565b826017610612828261144e565b846106256001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b8152600401610652929190612679565b602060405180830381865afa15801561066d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061069191906126a6565b6106b55760405163086391f760e31b81523360048201526024015b60405180910390fd5b6106bf8686611582565b9695505050505050565b604051632efe011360e01b8152600160048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610727573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b91906126c1565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061082091906126ee565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610868610ea2565b6001600160a01b0316815260200182600101805461088590612709565b80601f01602080910402602001604051908101604052809291908181526020018280546108b190612709565b80156108fc5780601f106108d3576101008083540402835291602001916108fc565b820191905f5260205f20905b8154815290600101906020018083116108df57829003601f168201915b505050505081525091505090565b5f610913610bf7565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b919061274c565b5f61074b3061160e565b6060610986611008565b51919050565b5f610996336105fe565b61099e610ea2565b6001600160a01b0316336001600160a01b0316146109d15760405163086391f760e31b81523360048201526024016106ac565b6109e28a8a8a8a8a8a8a8a8a611850565b9a9950505050505050505050565b5f6109fa336105fe565b610a02610ea2565b6001600160a01b0316336001600160a01b031614610a355760405163086391f760e31b81523360048201526024016106ac565b610a3e826118fc565b90505b919050565b5f610a4f610bf7565b6001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561094e573d5f803e3d5ffd5b5f610a9d6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ae1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0591906126ee565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b5c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b91906126a6565b5f610b89611210565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610bcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf191906126a6565b15905090565b5f610c00611008565b60200151905090565b5f610c12610a8a565b15610c96576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610c66573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610c8d91908101906127d4565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f015460ff1690565b5f610cc9336105fe565b610cd1610ea2565b6001600160a01b0316336001600160a01b031614610d045760405163086391f760e31b81523360048201526024016106ac565b610d0f848484611993565b90505b9392505050565b5f80516020612c80833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610d57610d19565b846040518363ffffffff1660e01b8152600401610d759291906128a4565b602060405180830381865af4158015610d90573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3e91906128c5565b5f610dbd611210565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610df8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061074b91906128e0565b33610e25611210565b6001600160a01b0316816001600160a01b031614610e605760405162d1953b60e31b81526001600160a01b03821660048201526024016106ac565b816001600160a01b03163b5f03610e95576040516361798f2f60e11b81526001600160a01b03831660048201526024016106ac565b610e9e82611a2d565b5050565b5f805f80516020612c8083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610f0e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3291906126a6565b15610fbd576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f93573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fb7919061274c565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612ca083398151915280545f9190600160a01b900460ff16610ffa575f610fb7565b638fb3603760e01b91505090565b611010611fbe565b611018610a8a565b156110255761074b611a8d565b61074b611200565b5f611037336105fe565b8661104a6001546001600160a01b031690565b6001600160a01b031663b303aaf882336040518363ffffffff1660e01b8152600401611077929190612679565b602060405180830381865afa158015611092573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110b691906126a6565b6110d55760405163086391f760e31b81523360048201526024016106ac565b6110e088601761144e565b6110ee888888888888611c54565b98975050505050505050565b611103336105fe565b61110b610ea2565b6001600160a01b0316336001600160a01b03161461113e5760405163086391f760e31b81523360048201526024016106ac565b82601761114b828261144e565b611156858585611ceb565b5050505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111c8919061274c565b6001600160a01b0316336001600160a01b0316146111fa5760405162f0630960e01b81523360048201526024016106ac565b50505050565b611208611fbe565b61074b611a8d565b5f80516020612ca0833981519152546001600160a01b031690565b5f61123682826128fb565b90505b92915050565b5f805f61124b84610d34565b905061127e7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156112cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112ef919061291e565b9250925050915091565b611301610ea2565b6001600160a01b0316336001600160a01b0316146113345760405163086391f760e31b81523360048201526024016106ac565b61133d336105fe565b610e9e8282611d6b565b610e9e336105fe565b5f80516020612ca08339815191525f8061138861136b611210565b873061137a60045f8a8c61294b565b61138391612972565b611dd2565b91509150816114465763ffffffff81161561142357825460ff60a01b1916600160a01b1783556113b6611210565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016113e5939291906129aa565b5f604051808303815f87803b1580156113fc575f80fd5b505af115801561140e573d5f803e3d5ffd5b5050845460ff60a01b19168555506114469050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106ac565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af415801561149e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114c291906126a6565b8061155057506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561152a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061154e91906126a6565b155b15610e9e5760405163d711af7560e01b81526001600160601b038316600482015260ff821660248201526044016106ac565b5f5f80516020612ce0833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af11580156115ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061123691906126ee565b5f805f80516020612c8083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561167a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061169e91906126a6565b156116ca5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106ac565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa15801561171c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061174091906126a6565b6117685760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106ac565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156117ba573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117de91906126ee565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b549061182a610ea2565b604051611838929190612679565b60405180910390a1546001600160601b031692915050565b5f80516020612cc083398151915254604051630ded2f7d60e11b81525f915f80516020612ce0833981519152916001600160a01b0390911690631bda5efa906118ad908e908e908e908e908e908e908e908e908e906004016129e9565b6020604051808303815f875af11580156118c9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118ed91906128c5565b9b9a5050505050505050505050565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af115801561196f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a3e91906126ee565b5f80516020612cc083398151915254604051632ee59dd760e11b81525f915f80516020612ce0833981519152916001600160a01b0390911690635dcb3bae906119e490889088908890600401612a68565b6020604051808303815f875af1158015611a00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a2491906126ee565b95945050505050565b5f80516020612ca083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611a95611fbe565b5f611aa86001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611aec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b1091906126ee565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611b69573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b8d91906126a6565b15611c4c577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3611bca610d19565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611c0b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c329190810190612a9b565b60208101519092506001600160a01b031615611c4c575090565b610fb7611eda565b5f80516020612cc08339815191525460405163987cb16160e01b81525f915f80516020612ce0833981519152916001600160a01b039091169063987cb16190611cab908b908b908b908b908b908b90600401612b55565b6020604051808303815f875af1158015611cc7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110ee91906128c5565b5f80516020612cc08339815191525460405163ab3fc75f60e01b81525f80516020612ce0833981519152916001600160a01b03169063ab3fc75f90611d3890879087908790600401612bbd565b5f604051808303815f87803b158015611d4f575f80fd5b505af1158015611d61573d5f803e3d5ffd5b5050505050505050565b5f80516020612ce08339815191525460405163feff0c9160e01b81526001600160a01b039091169063feff0c9190611da99085908590600401612bf0565b5f604051808303815f87803b158015611dc0575f80fd5b505af1158015611446573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611e409190612c3c565b5f60405180830381855afa9150503d805f8114611e78576040519150601f19603f3d011682016040523d82523d5f602084013e611e7d565b606091505b50915091508115611ecf576040815110611eaf5780806020019051810190611ea59190612c52565b9094509250611ecf565b6020815110611ecf5780806020019051810190611ecc91906126a6565b93505b505094509492505050565b611ee2611fbe565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060600160405280825f018054611f1f90612709565b80601f0160208091040260200160405190810160405280929190818152602001828054611f4b90612709565b8015611f965780601f10611f6d57610100808354040283529160200191611f96565b820191905f5260205f20905b815481529060010190602001808311611f7957829003601f168201915b505050505081526020015f6001600160a01b0316815260200182600201805461088590612709565b6040518060600160405280606081526020015f6001600160a01b03168152602001606081525090565b5f60208284031215611ff7575f80fd5b81356001600160e01b031981168114610d12575f80fd5b6001600160601b0381168114612022575f80fd5b50565b5f8060408385031215612036575f80fd5b82356120418161200e565b915060208301356120518161200e565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f60608301516120d2608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e08084015261211661010084018261205c565b949350505050565b602081525f611236602083018461205c565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b038111828210171561216657612166612130565b60405290565b604051606081016001600160401b038111828210171561216657612166612130565b604051601f8201601f191681016001600160401b03811182821017156121b6576121b6612130565b604052919050565b5f6001600160401b038211156121d6576121d6612130565b50601f01601f191660200190565b5f82601f8301126121f3575f80fd5b8135602083015f61220b612206846121be565b61218e565b905082815285838301111561221e575f80fd5b828260208301375f92810160200192909252509392505050565b6001600160a01b0381168114612022575f80fd5b8035610a4181612238565b63ffffffff81168114612022575f80fd5b8035610a4181612257565b64ffffffffff81168114612022575f80fd5b8035610a4181612273565b8015158114612022575f80fd5b8035610a4181612290565b5f805f805f805f805f6101208a8c0312156122c1575f80fd5b89356001600160401b038111156122d6575f80fd5b6122e28c828d016121e4565b99505060208a01356122f381612238565b975061230160408b0161224c565b965061230f60608b0161224c565b955061231d60808b01612268565b945061232b60a08b01612285565b935061233960c08b0161229d565b925061234760e08b0161229d565b91506101008a01356001600160401b03811115612362575f80fd5b61236e8c828d016121e4565b9150509295985092959850929598565b5f6020828403121561238e575f80fd5b8135610d128161200e565b6001600160c01b031981168114612022575f80fd5b5f805f606084860312156123c0575f80fd5b83356123cb81612238565b925060208401356123db81612399565b915060408401356001600160401b038111156123f5575f80fd5b612401868287016121e4565b9150509250925092565b5f6020828403121561241b575f80fd5b81356001600160401b03811115612430575f80fd5b612116848285016121e4565b5f6020828403121561244c575f80fd5b8135610d1281612238565b602081525f825160606020840152612472608084018261205c565b60208501516001600160a01b0316604085810191909152850151848203601f19016060860152909150611a24828261205c565b5f805f805f8060c087890312156124ba575f80fd5b86356124c58161200e565b955060208701356001600160401b038111156124df575f80fd5b6124eb89828a016121e4565b95505060408701356124fc81612238565b9350606087013561250c81612257565b9250608087013561251c81612273565b915060a08701356001600160401b03811115612536575f80fd5b61254289828a016121e4565b9150509295509295509295565b5f805f60608486031215612561575f80fd5b83356123cb8161200e565b5f805f806080858703121561257f575f80fd5b843561258a81612238565b9350602085013561259a81612238565b92506040850135915060608501356125b181612238565b939692955090935050565b5f80604083850312156125cd575f80fd5b82356125d881612399565b946020939093013593505050565b5f604082840312156125f6575f80fd5b604080519081016001600160401b038111828210171561261857612618612130565b604052905080823561262981612238565b815260208301356126398161200e565b6020919091015292915050565b5f8060808385031215612657575f80fd5b61266184846125e6565b915061267084604085016125e6565b90509250929050565b6001600160601b039290921682526001600160a01b0316602082015260400190565b8051610a4181612290565b5f602082840312156126b6575f80fd5b8151610d1281612290565b5f602082840312156126d1575f80fd5b815162ffffff81168114610d12575f80fd5b8051610a418161200e565b5f602082840312156126fe575f80fd5b8151610d128161200e565b600181811c9082168061271d57607f821691505b60208210810361273b57634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a4181612238565b5f6020828403121561275c575f80fd5b8151610d1281612238565b60ff81168114612022575f80fd5b8051610a4181612767565b5f61278d612206846121be565b90508281528383830111156127a0575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f8301126127c5575f80fd5b61123683835160208501612780565b5f602082840312156127e4575f80fd5b81516001600160401b038111156127f9575f80fd5b820160e0818503121561280a575f80fd5b612812612144565b61281b826126e3565b8152612829602083016126e3565b602082015261283a60408301612775565b604082015261284b6060830161269b565b606082015261285c60808301612741565b608082015261286d60a08301612741565b60a082015260c08201516001600160401b0381111561288a575f80fd5b612896868285016127b6565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610d0f604083018461205c565b5f602082840312156128d5575f80fd5b8151610d1281612399565b5f602082840312156128f0575f80fd5b8151610d1281612767565b808202811582820484141761123957634e487b7160e01b5f52601160045260245ffd5b5f806040838503121561292f575f80fd5b825161293a81612238565b602084015190925061205181612767565b5f8085851115612959575f80fd5b83861115612965575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156129a3576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f6129fd61012083018c61205c565b6001600160a01b038b811660208501528a811660408501528916606084015263ffffffff8816608084015264ffffffffff871660a084015285151560c084015284151560e0840152828103610100840152612a58818561205c565b9c9b505050505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90611a249083018461205c565b5f60208284031215612aab575f80fd5b81516001600160401b03811115612ac0575f80fd5b820160608185031215612ad1575f80fd5b612ad961216c565b81516001600160401b03811115612aee575f80fd5b8201601f81018613612afe575f80fd5b612b0d86825160208401612780565b8252506020820151612b1e81612238565b602082015260408201516001600160401b03811115612b3b575f80fd5b612b47868285016127b6565b604083015250949350505050565b6001600160601b038716815260c060208201525f612b7660c083018861205c565b6001600160a01b038716604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a0840152612bb0818561205c565b9998505050505050505050565b6001600160601b03841681526001600160401b0360c01b83166020820152606060408201525f611a24606083018461205c565b82516001600160a01b031681526020808401516001600160601b0316908201526080810182516001600160a01b0316604083015260208301516001600160601b03166060830152610d12565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612c63575f80fd5b8251612c6e81612290565b60208401519092506120518161225756fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f901aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900a26469706673582212207250dc1f29ca70b13f263ccb7cb0ced6082f40cccfca718fce85aaa1ea81eda364736f6c634300081a0033",
1202
1144
  "linkReferences": {
1203
- "contracts/type/Amount.sol": {
1204
- "AmountLib": [
1205
- {
1206
- "length": 20,
1207
- "start": 3391
1208
- },
1209
- {
1210
- "length": 20,
1211
- "start": 5768
1212
- },
1213
- {
1214
- "length": 20,
1215
- "start": 6024
1216
- }
1217
- ]
1218
- },
1219
1145
  "contracts/type/NftId.sol": {
1220
1146
  "NftIdLib": [
1221
1147
  {
1222
1148
  "length": 20,
1223
- "start": 2054
1149
+ "start": 2003
1224
1150
  },
1225
1151
  {
1226
1152
  "length": 20,
1227
- "start": 2873
1153
+ "start": 2880
1228
1154
  },
1229
1155
  {
1230
1156
  "length": 20,
1231
- "start": 4308
1157
+ "start": 3826
1232
1158
  },
1233
1159
  {
1234
1160
  "length": 20,
1235
- "start": 4666
1161
+ "start": 5726
1236
1162
  },
1237
1163
  {
1238
1164
  "length": 20,
1239
- "start": 7004
1240
- },
1241
- {
1242
- "length": 20,
1243
- "start": 8230
1244
- },
1245
- {
1246
- "length": 20,
1247
- "start": 8837
1248
- },
1249
- {
1250
- "length": 20,
1251
- "start": 9725
1252
- },
1253
- {
1254
- "length": 20,
1255
- "start": 9908
1256
- },
1165
+ "start": 6989
1166
+ }
1167
+ ]
1168
+ },
1169
+ "contracts/type/ObjectType.sol": {
1170
+ "ObjectTypeLib": [
1257
1171
  {
1258
1172
  "length": 20,
1259
- "start": 10527
1173
+ "start": 5250
1260
1174
  }
1261
1175
  ]
1262
1176
  },
@@ -1264,69 +1178,49 @@
1264
1178
  "ReferralLib": [
1265
1179
  {
1266
1180
  "length": 20,
1267
- "start": 3997
1181
+ "start": 3411
1268
1182
  }
1269
1183
  ]
1270
- }
1271
- },
1272
- "deployedLinkReferences": {
1273
- "contracts/type/Amount.sol": {
1274
- "AmountLib": [
1275
- {
1276
- "length": 20,
1277
- "start": 3363
1278
- },
1279
- {
1280
- "length": 20,
1281
- "start": 5740
1282
- },
1184
+ },
1185
+ "contracts/type/Version.sol": {
1186
+ "VersionLib": [
1283
1187
  {
1284
1188
  "length": 20,
1285
- "start": 5996
1189
+ "start": 1803
1286
1190
  }
1287
1191
  ]
1288
- },
1192
+ }
1193
+ },
1194
+ "deployedLinkReferences": {
1289
1195
  "contracts/type/NftId.sol": {
1290
1196
  "NftIdLib": [
1291
1197
  {
1292
1198
  "length": 20,
1293
- "start": 2026
1294
- },
1295
- {
1296
- "length": 20,
1297
- "start": 2845
1298
- },
1299
- {
1300
- "length": 20,
1301
- "start": 4280
1302
- },
1303
- {
1304
- "length": 20,
1305
- "start": 4638
1199
+ "start": 1975
1306
1200
  },
1307
1201
  {
1308
1202
  "length": 20,
1309
- "start": 6976
1203
+ "start": 2852
1310
1204
  },
1311
1205
  {
1312
1206
  "length": 20,
1313
- "start": 8202
1207
+ "start": 3798
1314
1208
  },
1315
1209
  {
1316
1210
  "length": 20,
1317
- "start": 8809
1211
+ "start": 5698
1318
1212
  },
1319
1213
  {
1320
1214
  "length": 20,
1321
- "start": 9697
1322
- },
1323
- {
1324
- "length": 20,
1325
- "start": 9880
1326
- },
1215
+ "start": 6961
1216
+ }
1217
+ ]
1218
+ },
1219
+ "contracts/type/ObjectType.sol": {
1220
+ "ObjectTypeLib": [
1327
1221
  {
1328
1222
  "length": 20,
1329
- "start": 10499
1223
+ "start": 5222
1330
1224
  }
1331
1225
  ]
1332
1226
  },
@@ -1334,7 +1228,15 @@
1334
1228
  "ReferralLib": [
1335
1229
  {
1336
1230
  "length": 20,
1337
- "start": 3969
1231
+ "start": 3383
1232
+ }
1233
+ ]
1234
+ },
1235
+ "contracts/type/Version.sol": {
1236
+ "VersionLib": [
1237
+ {
1238
+ "length": 20,
1239
+ "start": 1775
1338
1240
  }
1339
1241
  ]
1340
1242
  }