@etherisc/gif-next 0.0.2-f11de3a-698 → 0.0.2-f12cf4d-104

Sign up to get free protection for your applications and to get access to all the features.
Files changed (450) hide show
  1. package/README.md +9 -7
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +105 -65
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  5. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +67 -11
  7. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  8. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +60 -32
  10. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  11. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +40 -3
  12. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -0
  14. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -0
  16. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
  17. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
  18. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  19. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +136 -360
  20. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  21. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +82 -22
  22. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  23. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +99 -315
  24. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  25. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +206 -292
  26. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +125 -117
  28. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +89 -115
  30. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +78 -62
  32. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  33. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  34. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  35. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1429 -0
  36. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +502 -0
  38. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1979 -0
  40. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  42. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  44. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  45. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1430 -0
  46. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  47. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1177 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1606 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2281 -0
  52. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  53. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +2 -2
  54. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  55. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +53 -31
  56. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  57. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +31 -86
  58. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  59. package/artifacts/contracts/instance/Instance.sol/Instance.json +72 -123
  60. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  61. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +166 -139
  62. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  63. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +57 -97
  64. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  65. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +447 -87
  66. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  67. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +96 -245
  68. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +99 -87
  70. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +337 -138
  72. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  73. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  74. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  75. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  76. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  77. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  78. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  79. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  80. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  81. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  82. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  83. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  84. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  86. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  87. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  88. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  89. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +111 -335
  90. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  91. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +84 -24
  92. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  93. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  94. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +77 -103
  95. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  96. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +43 -9
  97. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  98. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +87 -303
  99. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  100. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +107 -159
  101. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  102. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +99 -83
  103. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  104. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +107 -323
  105. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  106. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +114 -22
  107. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  108. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +215 -256
  109. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  110. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +130 -110
  111. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  112. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +84 -47
  113. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  114. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +98 -135
  115. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  116. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +271 -199
  117. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  118. package/artifacts/contracts/pool/Pool.sol/Pool.json +106 -333
  119. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  120. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +369 -386
  121. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  122. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +112 -100
  123. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  124. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +92 -168
  125. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  126. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +90 -86
  127. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  128. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +149 -319
  129. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  130. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +82 -22
  131. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  132. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +311 -187
  133. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  134. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +139 -103
  135. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  136. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +34 -0
  137. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  138. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +176 -6
  139. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  140. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +267 -141
  141. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  142. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +114 -85
  143. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  144. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +136 -116
  145. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  146. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +31 -2
  147. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  148. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +365 -349
  149. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +119 -99
  151. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  152. package/artifacts/contracts/product/PricingService.sol/PricingService.json +215 -309
  153. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  154. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +117 -117
  155. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  156. package/artifacts/contracts/product/Product.sol/Product.json +147 -317
  157. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  158. package/artifacts/contracts/product/RiskService.sol/RiskService.json +638 -0
  159. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  160. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +718 -0
  161. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  162. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  163. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  164. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +310 -34
  165. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  166. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +114 -35
  167. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  168. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  169. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  170. package/artifacts/contracts/registry/Registry.sol/Registry.json +516 -95
  171. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  172. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +296 -143
  173. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  174. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +94 -284
  175. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  176. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +91 -75
  177. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  178. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  179. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  180. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +131 -223
  181. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  182. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
  183. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  184. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  185. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  186. package/artifacts/contracts/shared/Component.sol/Component.json +73 -274
  187. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  188. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +424 -277
  189. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  190. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +137 -115
  191. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  192. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +47 -112
  193. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  194. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +111 -0
  195. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  196. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +66 -77
  197. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  198. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +388 -19
  199. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  200. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +77 -103
  201. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  202. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  203. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  204. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  205. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  206. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  207. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  208. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  209. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  210. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +29 -0
  211. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  212. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  213. package/artifacts/contracts/shared/IService.sol/IService.json +29 -0
  214. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  215. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -22
  216. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  217. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +87 -303
  218. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  219. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  220. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  221. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  222. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  223. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  224. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  225. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +22 -57
  226. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  227. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  228. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  229. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +58 -89
  230. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  231. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  232. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  233. package/artifacts/contracts/shared/Service.sol/Service.json +47 -112
  234. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  235. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +697 -25
  236. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  237. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +395 -0
  238. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  239. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  240. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  241. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +111 -114
  242. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  243. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +29 -21
  244. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  245. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +63 -93
  246. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  247. package/artifacts/contracts/staking/Staking.sol/Staking.json +190 -379
  248. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  249. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  250. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  251. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +118 -99
  252. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  253. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -11
  254. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  255. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +87 -165
  256. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  257. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +95 -79
  258. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  259. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +169 -128
  260. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  261. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +54 -23
  262. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  263. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  264. package/artifacts/contracts/type/Amount.sol/AmountLib.json +32 -8
  265. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  266. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  267. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  268. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  269. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  270. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  271. package/artifacts/contracts/type/Fee.sol/FeeLib.json +2 -2
  272. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  273. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  274. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  275. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  276. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  277. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  278. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  279. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  280. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  281. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  282. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  283. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  284. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  286. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  287. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +60 -4
  288. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  289. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  290. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  291. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +26 -2
  292. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  293. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  294. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  295. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  296. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  298. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +2 -2
  299. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  300. package/artifacts/contracts/type/UFixed.sol/MathLib.json +2 -2
  301. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  302. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +15 -2
  303. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  304. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  305. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  306. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  307. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +71 -70
  308. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  309. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  310. package/contracts/authorization/AccessAdmin.sol +64 -59
  311. package/contracts/authorization/Authorization.sol +111 -40
  312. package/contracts/authorization/IAccess.sol +1 -0
  313. package/contracts/authorization/IAccessAdmin.sol +4 -3
  314. package/contracts/authorization/IAuthorization.sol +13 -7
  315. package/contracts/authorization/IServiceAuthorization.sol +3 -1
  316. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  317. package/contracts/authorization/ServiceAuthorization.sol +26 -10
  318. package/contracts/distribution/BasicDistribution.sol +2 -1
  319. package/contracts/distribution/Distribution.sol +7 -17
  320. package/contracts/distribution/DistributionService.sol +85 -67
  321. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  322. package/contracts/distribution/IDistributionComponent.sol +1 -1
  323. package/contracts/distribution/IDistributionService.sol +9 -5
  324. package/contracts/examples/fire/DamageLevel.sol +59 -0
  325. package/contracts/examples/fire/FirePool.sol +86 -0
  326. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  327. package/contracts/examples/fire/FireProduct.sol +431 -0
  328. package/contracts/examples/fire/FireProductAuthorization.sol +44 -0
  329. package/contracts/examples/fire/FireUSD.sol +26 -0
  330. package/contracts/examples/unpermissioned/SimpleDistribution.sol +58 -0
  331. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  332. package/contracts/examples/unpermissioned/SimplePool.sol +108 -0
  333. package/contracts/examples/unpermissioned/SimpleProduct.sol +345 -0
  334. package/contracts/instance/IInstance.sol +10 -30
  335. package/contracts/instance/IInstanceService.sol +2 -23
  336. package/contracts/instance/Instance.sol +29 -51
  337. package/contracts/instance/InstanceAdmin.sol +43 -32
  338. package/contracts/instance/InstanceAuthorizationV3.sol +11 -21
  339. package/contracts/instance/InstanceReader.sol +107 -25
  340. package/contracts/instance/InstanceService.sol +75 -104
  341. package/contracts/instance/InstanceServiceManager.sol +6 -7
  342. package/contracts/instance/InstanceStore.sol +11 -1
  343. package/contracts/instance/base/ObjectLifecycle.sol +9 -4
  344. package/contracts/instance/module/IComponents.sol +10 -6
  345. package/contracts/instance/module/IPolicy.sol +26 -25
  346. package/contracts/oracle/BasicOracle.sol +0 -1
  347. package/contracts/oracle/IOracleService.sol +2 -1
  348. package/contracts/oracle/Oracle.sol +6 -16
  349. package/contracts/oracle/OracleService.sol +56 -42
  350. package/contracts/oracle/OracleServiceManager.sol +6 -6
  351. package/contracts/pool/BasicPool.sol +35 -26
  352. package/contracts/pool/BasicPoolAuthorization.sol +13 -3
  353. package/contracts/pool/BundleService.sol +112 -69
  354. package/contracts/pool/BundleServiceManager.sol +6 -6
  355. package/contracts/pool/IBundleService.sol +16 -9
  356. package/contracts/pool/IPoolComponent.sol +19 -15
  357. package/contracts/pool/IPoolService.sol +62 -39
  358. package/contracts/pool/Pool.sol +145 -128
  359. package/contracts/pool/PoolService.sol +283 -189
  360. package/contracts/pool/PoolServiceManager.sol +4 -4
  361. package/contracts/product/ApplicationService.sol +59 -30
  362. package/contracts/product/ApplicationServiceManager.sol +4 -4
  363. package/contracts/product/BasicProduct.sol +9 -12
  364. package/contracts/product/BasicProductAuthorization.sol +0 -1
  365. package/contracts/product/ClaimService.sol +315 -118
  366. package/contracts/product/ClaimServiceManager.sol +4 -4
  367. package/contracts/product/IApplicationService.sol +1 -0
  368. package/contracts/product/IClaimService.sol +31 -7
  369. package/contracts/product/IPolicyService.sol +34 -36
  370. package/contracts/product/IPricingService.sol +10 -10
  371. package/contracts/product/IProductComponent.sol +23 -4
  372. package/contracts/product/{IProductService.sol → IRiskService.sol} +1 -1
  373. package/contracts/product/PolicyService.sol +383 -217
  374. package/contracts/product/PolicyServiceManager.sol +4 -4
  375. package/contracts/product/PricingService.sol +54 -54
  376. package/contracts/product/PricingServiceManager.sol +3 -3
  377. package/contracts/product/Product.sol +110 -89
  378. package/contracts/product/{ProductService.sol → RiskService.sol} +7 -10
  379. package/contracts/product/RiskServiceManager.sol +39 -0
  380. package/contracts/registry/ChainNft.sol +68 -38
  381. package/contracts/registry/IRegistry.sol +57 -18
  382. package/contracts/registry/IRegistryService.sol +5 -12
  383. package/contracts/registry/ITransferInterceptor.sol +1 -2
  384. package/contracts/registry/Registry.sol +350 -201
  385. package/contracts/registry/RegistryAdmin.sol +151 -54
  386. package/contracts/registry/RegistryService.sol +35 -46
  387. package/contracts/registry/RegistryServiceManager.sol +2 -2
  388. package/contracts/registry/ReleaseLifecycle.sol +6 -3
  389. package/contracts/registry/ReleaseRegistry.sol +204 -204
  390. package/contracts/registry/ServiceAuthorizationV3.sol +26 -23
  391. package/contracts/shared/Component.sol +63 -114
  392. package/contracts/shared/ComponentService.sol +296 -168
  393. package/contracts/shared/ComponentServiceManager.sol +8 -5
  394. package/contracts/shared/ComponentVerifyingService.sol +28 -17
  395. package/contracts/shared/ContractLib.sol +54 -0
  396. package/contracts/shared/IComponent.sol +10 -13
  397. package/contracts/shared/IComponentService.sol +38 -16
  398. package/contracts/shared/IInstanceLinkedComponent.sol +7 -22
  399. package/contracts/shared/ILifecycle.sol +3 -1
  400. package/contracts/shared/INftOwnable.sol +2 -0
  401. package/contracts/shared/IPolicyHolder.sol +12 -22
  402. package/contracts/shared/IRegisterable.sol +11 -0
  403. package/contracts/shared/InitializableERC165.sol +2 -2
  404. package/contracts/shared/InstanceLinkedComponent.sol +71 -38
  405. package/contracts/shared/KeyValueStore.sol +1 -1
  406. package/contracts/shared/Lifecycle.sol +15 -4
  407. package/contracts/shared/NftOwnable.sol +27 -7
  408. package/contracts/shared/PolicyHolder.sol +15 -52
  409. package/contracts/shared/Registerable.sol +19 -11
  410. package/contracts/shared/RegistryLinked.sol +9 -14
  411. package/contracts/shared/Service.sol +20 -18
  412. package/contracts/shared/TokenHandler.sol +366 -27
  413. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  414. package/contracts/staking/IStaking.sol +11 -5
  415. package/contracts/staking/IStakingService.sol +0 -3
  416. package/contracts/staking/StakeManagerLib.sol +18 -25
  417. package/contracts/staking/Staking.sol +39 -50
  418. package/contracts/staking/StakingManager.sol +8 -6
  419. package/contracts/staking/StakingReader.sol +12 -5
  420. package/contracts/staking/StakingService.sol +77 -35
  421. package/contracts/staking/StakingServiceManager.sol +2 -2
  422. package/contracts/staking/TargetManagerLib.sol +7 -3
  423. package/contracts/type/Amount.sol +15 -0
  424. package/contracts/type/ClaimId.sol +6 -1
  425. package/contracts/type/NftId.sol +1 -0
  426. package/contracts/type/ObjectType.sol +16 -11
  427. package/contracts/type/PayoutId.sol +10 -10
  428. package/contracts/type/RiskId.sol +16 -2
  429. package/contracts/type/RoleId.sol +0 -12
  430. package/contracts/type/Seconds.sol +8 -0
  431. package/contracts/type/StateId.sol +15 -1
  432. package/contracts/type/UFixed.sol +4 -0
  433. package/contracts/upgradeability/ProxyManager.sol +68 -34
  434. package/contracts/upgradeability/Versionable.sol +2 -2
  435. package/package.json +4 -3
  436. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  437. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  438. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  439. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  440. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  441. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  442. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  443. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  444. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  445. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  446. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  447. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  448. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  449. package/contracts/product/ProductServiceManager.sol +0 -39
  450. package/contracts/shared/InitializableCustom.sol +0 -177
@@ -68,6 +68,22 @@
68
68
  "name": "ErrorNftOwnableInitialOwnerZero",
69
69
  "type": "error"
70
70
  },
71
+ {
72
+ "inputs": [
73
+ {
74
+ "internalType": "NftId",
75
+ "name": "nftId",
76
+ "type": "uint96"
77
+ },
78
+ {
79
+ "internalType": "ObjectType",
80
+ "name": "expectedObjectType",
81
+ "type": "uint8"
82
+ }
83
+ ],
84
+ "name": "ErrorNftOwnableInvalidType",
85
+ "type": "error"
86
+ },
71
87
  {
72
88
  "inputs": [
73
89
  {
@@ -123,17 +139,6 @@
123
139
  "name": "ErrorRegistryServiceNotComponent",
124
140
  "type": "error"
125
141
  },
126
- {
127
- "inputs": [
128
- {
129
- "internalType": "address",
130
- "name": "notDistribution",
131
- "type": "address"
132
- }
133
- ],
134
- "name": "ErrorRegistryServiceNotDistribution",
135
- "type": "error"
136
- },
137
142
  {
138
143
  "inputs": [
139
144
  {
@@ -149,22 +154,22 @@
149
154
  "inputs": [
150
155
  {
151
156
  "internalType": "address",
152
- "name": "notPool",
157
+ "name": "notProduct",
153
158
  "type": "address"
154
159
  }
155
160
  ],
156
- "name": "ErrorRegistryServiceNotPool",
161
+ "name": "ErrorRegistryServiceNotProduct",
157
162
  "type": "error"
158
163
  },
159
164
  {
160
165
  "inputs": [
161
166
  {
162
167
  "internalType": "address",
163
- "name": "notProduct",
168
+ "name": "notProductLinkedComponent",
164
169
  "type": "address"
165
170
  }
166
171
  ],
167
- "name": "ErrorRegistryServiceNotProduct",
172
+ "name": "ErrorRegistryServiceNotProductLinkedComponent",
168
173
  "type": "error"
169
174
  },
170
175
  {
@@ -348,6 +353,11 @@
348
353
  "name": "NotInitializing",
349
354
  "type": "error"
350
355
  },
356
+ {
357
+ "inputs": [],
358
+ "name": "ReentrancyGuardReentrantCall",
359
+ "type": "error"
360
+ },
351
361
  {
352
362
  "anonymous": false,
353
363
  "inputs": [
@@ -374,6 +384,19 @@
374
384
  "name": "Initialized",
375
385
  "type": "event"
376
386
  },
387
+ {
388
+ "inputs": [],
389
+ "name": "GIF_RELEASE",
390
+ "outputs": [
391
+ {
392
+ "internalType": "uint256",
393
+ "name": "",
394
+ "type": "uint256"
395
+ }
396
+ ],
397
+ "stateMutability": "view",
398
+ "type": "function"
399
+ },
377
400
  {
378
401
  "inputs": [],
379
402
  "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
@@ -528,6 +551,19 @@
528
551
  "stateMutability": "view",
529
552
  "type": "function"
530
553
  },
554
+ {
555
+ "inputs": [],
556
+ "name": "getRelease",
557
+ "outputs": [
558
+ {
559
+ "internalType": "VersionPart",
560
+ "name": "release",
561
+ "type": "uint8"
562
+ }
563
+ ],
564
+ "stateMutability": "pure",
565
+ "type": "function"
566
+ },
531
567
  {
532
568
  "inputs": [],
533
569
  "name": "getRoleId",
@@ -554,105 +590,6 @@
554
590
  "stateMutability": "pure",
555
591
  "type": "function"
556
592
  },
557
- {
558
- "inputs": [],
559
- "name": "initializeERC165",
560
- "outputs": [],
561
- "stateMutability": "nonpayable",
562
- "type": "function"
563
- },
564
- {
565
- "inputs": [
566
- {
567
- "internalType": "address",
568
- "name": "initialOwner",
569
- "type": "address"
570
- },
571
- {
572
- "internalType": "address",
573
- "name": "registryAddress",
574
- "type": "address"
575
- }
576
- ],
577
- "name": "initializeNftOwnable",
578
- "outputs": [],
579
- "stateMutability": "nonpayable",
580
- "type": "function"
581
- },
582
- {
583
- "inputs": [
584
- {
585
- "internalType": "address",
586
- "name": "registryAddress",
587
- "type": "address"
588
- },
589
- {
590
- "internalType": "NftId",
591
- "name": "parentNftId",
592
- "type": "uint96"
593
- },
594
- {
595
- "internalType": "ObjectType",
596
- "name": "objectType",
597
- "type": "uint8"
598
- },
599
- {
600
- "internalType": "bool",
601
- "name": "isInterceptor",
602
- "type": "bool"
603
- },
604
- {
605
- "internalType": "address",
606
- "name": "initialOwner",
607
- "type": "address"
608
- },
609
- {
610
- "internalType": "bytes",
611
- "name": "registryData",
612
- "type": "bytes"
613
- }
614
- ],
615
- "name": "initializeRegisterable",
616
- "outputs": [],
617
- "stateMutability": "nonpayable",
618
- "type": "function"
619
- },
620
- {
621
- "inputs": [
622
- {
623
- "internalType": "address",
624
- "name": "registryAddress",
625
- "type": "address"
626
- }
627
- ],
628
- "name": "initializeRegistryLinked",
629
- "outputs": [],
630
- "stateMutability": "nonpayable",
631
- "type": "function"
632
- },
633
- {
634
- "inputs": [
635
- {
636
- "internalType": "address",
637
- "name": "registry",
638
- "type": "address"
639
- },
640
- {
641
- "internalType": "address",
642
- "name": "authority",
643
- "type": "address"
644
- },
645
- {
646
- "internalType": "address",
647
- "name": "initialOwner",
648
- "type": "address"
649
- }
650
- ],
651
- "name": "initializeService",
652
- "outputs": [],
653
- "stateMutability": "nonpayable",
654
- "type": "function"
655
- },
656
593
  {
657
594
  "inputs": [
658
595
  {
@@ -753,133 +690,6 @@
753
690
  "stateMutability": "nonpayable",
754
691
  "type": "function"
755
692
  },
756
- {
757
- "inputs": [
758
- {
759
- "internalType": "contract IComponent",
760
- "name": "component",
761
- "type": "address"
762
- },
763
- {
764
- "internalType": "ObjectType",
765
- "name": "objectType",
766
- "type": "uint8"
767
- },
768
- {
769
- "internalType": "address",
770
- "name": "initialOwner",
771
- "type": "address"
772
- }
773
- ],
774
- "name": "registerComponent",
775
- "outputs": [
776
- {
777
- "components": [
778
- {
779
- "internalType": "NftId",
780
- "name": "nftId",
781
- "type": "uint96"
782
- },
783
- {
784
- "internalType": "NftId",
785
- "name": "parentNftId",
786
- "type": "uint96"
787
- },
788
- {
789
- "internalType": "ObjectType",
790
- "name": "objectType",
791
- "type": "uint8"
792
- },
793
- {
794
- "internalType": "bool",
795
- "name": "isInterceptor",
796
- "type": "bool"
797
- },
798
- {
799
- "internalType": "address",
800
- "name": "objectAddress",
801
- "type": "address"
802
- },
803
- {
804
- "internalType": "address",
805
- "name": "initialOwner",
806
- "type": "address"
807
- },
808
- {
809
- "internalType": "bytes",
810
- "name": "data",
811
- "type": "bytes"
812
- }
813
- ],
814
- "internalType": "struct IRegistry.ObjectInfo",
815
- "name": "info",
816
- "type": "tuple"
817
- }
818
- ],
819
- "stateMutability": "nonpayable",
820
- "type": "function"
821
- },
822
- {
823
- "inputs": [
824
- {
825
- "internalType": "contract IComponent",
826
- "name": "distribution",
827
- "type": "address"
828
- },
829
- {
830
- "internalType": "address",
831
- "name": "owner",
832
- "type": "address"
833
- }
834
- ],
835
- "name": "registerDistribution",
836
- "outputs": [
837
- {
838
- "components": [
839
- {
840
- "internalType": "NftId",
841
- "name": "nftId",
842
- "type": "uint96"
843
- },
844
- {
845
- "internalType": "NftId",
846
- "name": "parentNftId",
847
- "type": "uint96"
848
- },
849
- {
850
- "internalType": "ObjectType",
851
- "name": "objectType",
852
- "type": "uint8"
853
- },
854
- {
855
- "internalType": "bool",
856
- "name": "isInterceptor",
857
- "type": "bool"
858
- },
859
- {
860
- "internalType": "address",
861
- "name": "objectAddress",
862
- "type": "address"
863
- },
864
- {
865
- "internalType": "address",
866
- "name": "initialOwner",
867
- "type": "address"
868
- },
869
- {
870
- "internalType": "bytes",
871
- "name": "data",
872
- "type": "bytes"
873
- }
874
- ],
875
- "internalType": "struct IRegistry.ObjectInfo",
876
- "name": "info",
877
- "type": "tuple"
878
- }
879
- ],
880
- "stateMutability": "nonpayable",
881
- "type": "function"
882
- },
883
693
  {
884
694
  "inputs": [
885
695
  {
@@ -997,19 +807,6 @@
997
807
  "stateMutability": "nonpayable",
998
808
  "type": "function"
999
809
  },
1000
- {
1001
- "inputs": [
1002
- {
1003
- "internalType": "bytes4",
1004
- "name": "interfaceId",
1005
- "type": "bytes4"
1006
- }
1007
- ],
1008
- "name": "registerInterface",
1009
- "outputs": [],
1010
- "stateMutability": "nonpayable",
1011
- "type": "function"
1012
- },
1013
810
  {
1014
811
  "inputs": [
1015
812
  {
@@ -1070,16 +867,16 @@
1070
867
  "inputs": [
1071
868
  {
1072
869
  "internalType": "contract IComponent",
1073
- "name": "pool",
870
+ "name": "product",
1074
871
  "type": "address"
1075
872
  },
1076
873
  {
1077
874
  "internalType": "address",
1078
- "name": "owner",
875
+ "name": "initialOwner",
1079
876
  "type": "address"
1080
877
  }
1081
878
  ],
1082
- "name": "registerPool",
879
+ "name": "registerProduct",
1083
880
  "outputs": [
1084
881
  {
1085
882
  "components": [
@@ -1131,16 +928,21 @@
1131
928
  "inputs": [
1132
929
  {
1133
930
  "internalType": "contract IComponent",
1134
- "name": "product",
931
+ "name": "component",
1135
932
  "type": "address"
1136
933
  },
934
+ {
935
+ "internalType": "ObjectType",
936
+ "name": "objectType",
937
+ "type": "uint8"
938
+ },
1137
939
  {
1138
940
  "internalType": "address",
1139
- "name": "owner",
941
+ "name": "initialOwner",
1140
942
  "type": "address"
1141
943
  }
1142
944
  ],
1143
- "name": "registerProduct",
945
+ "name": "registerProductLinkedComponent",
1144
946
  "outputs": [
1145
947
  {
1146
948
  "components": [
@@ -1351,22 +1153,30 @@
1351
1153
  "type": "function"
1352
1154
  }
1353
1155
  ],
1354
- "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612b63806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101f2575f3560e01c8063675393bf116101145780638fbc2d81116100a9578063c2bf08c811610079578063c2bf08c81461047b578063c4c79d8b1461048e578063d943342d146104a1578063ed841d0c146104b4578063f7c34ee0146104bb575f80fd5b80638fbc2d811461043d578063ada9652e14610450578063b68d180914610464578063bf7e214f14610473575f80fd5b80638105cc7f116100e45780638105cc7f146103fa578063893d20e81461040d5780638e32e979146104155780638fb3603714610428575f80fd5b8063675393bf146103a15780636c741e78146103b45780637286e5e5146103d45780637a9e5e4b146103e7575f80fd5b8063329d6e741161018a5780635ab1bd531161015a5780635ab1bd53146103395780635c992fed1461035e5780635d96628914610371578063644c45e014610384575f80fd5b8063329d6e74146102f857806336fc697e1461030b57806349bb9e4b1461031357806357a8fba714610326575f80fd5b8063138461e0116101c5578063138461e01461027b5780631eff4b221461029b578063214cdb80146102d057806327bb7a33146102e5575f80fd5b806301ffc9a7146101f6578063026bc43b146102375780630d8e6e2c146102575780630fec111c14610273575b5f80fd5b610222610204366004612180565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61024a6102453660046121d2565b6104ce565b60405161022e9190612237565b61025f610686565b60405162ffffff909116815260200161022e565b61024a61070d565b610283610899565b6040516001600160601b03909116815260200161022e565b6102c27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b6102e36102de366004612180565b6108a3565b005b6102e36102f33660046123ff565b6108cf565b6102e3610306366004612492565b610974565b6102e3610abe565b6102e36103213660046124c3565b610b03565b61028361033436600461250f565b610bff565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161022e565b61028361036c36600461250f565b610c8a565b61024a61037f3660046121d2565b610c9f565b5f80516020612ace833981519152546001600160601b0316610283565b6102e36103af3660046125df565b610de5565b6103bc610ef7565b6040516001600160401b03909116815260200161022e565b61024a6103e23660046121d2565b610fed565b6102e36103f53660046125df565b6110a3565b61028361040836600461250f565b611125565b61034661113a565b6102e36104233660046125fa565b61126b565b6104306113a8565b60405161022e9190612642565b61024a61044b3660046121d2565b6113dd565b6102c25f80516020612ace83398151915281565b6040516002815260200161022e565b610346611493565b61028361048936600461250f565b6114ae565b61024a61049c3660046121d2565b6114c3565b61024a6104af366004612657565b6114df565b6102c25f81565b6102e36104c93660046121d2565b611626565b6104d6612143565b6104e2335b5f3661169c565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061051590632b1cb34b60e11b90600401612642565b602060405180830381865afa158015610530573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610554919061268f565b61058157604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b61058e83600a5b8461179a565b90506105a26001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105cd9190612237565b6020604051808303815f875af11580156105e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060d91906126b5565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192602092919082900301815f875af115801561065b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067f91906126b5565b5092915050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156106e4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061070891906126d0565b905090565b610715612143565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561078b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107af91906126b5565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107f761113a565b6001600160a01b03168152602001826001018054610814906126f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610840906126f2565b801561088b5780601f106108625761010080835404028352916020019161088b565b820191905f5260205f20905b81548152906001019060200180831161086e57829003601f168201915b505050505081525091505090565b5f61070830611a0b565b6108ab611c04565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6108d7611c04565b6108e18287611626565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161096a8382612775565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610996610686565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f89190612843565b5f80516020612b0e8339815191528054600160401b900460ff1680610a2a575080546001600160401b03808416911610155b15610a485760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a7283611c3c565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610ac6611c04565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f80516020612b0e8339815191528054600160401b810460ff1615906001600160401b03165f81158015610b345750825b90505f826001600160401b03166001148015610b4f5750303b155b905081158015610b5d575080155b15610b7b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ba557845460ff60401b1916600160401b1785555b610baf8787611c44565b8315610bf657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f610c09336104db565b610c1482601c611d5f565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610c44908590600401612237565b6020604051808303815f875af1158015610c60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c8491906126b5565b92915050565b5f610c94336104db565b610c14826015611d5f565b610ca7612143565b610cb0336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610ce39063a388186360e01b90600401612642565b602060405180830381865afa158015610cfe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d22919061268f565b610d4a5760405163704b6c6d60e11b81526001600160a01b0384166004820152602401610578565b610d5583600c610588565b9050610d696001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610d949190612237565b6020604051808303815f875af1158015610db0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dd491906126b5565b6001600160601b0316815292915050565b610ded611c04565b806001600160a01b03163b5f03610e225760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610578565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a790610e68906318788cbb60e11b90600401612642565b602060405180830381865afa925050508015610ea1575060408051601f3d908101601f19168201909252610e9e9181019061268f565b60015b610ec95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610578565b80610ef25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610578565b505b50565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36002604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610f62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f869190612869565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610fc9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107089190612843565b610ff5612143565b610ffe336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061103190636ec6c77160e11b90600401612642565b602060405180830381865afa15801561104c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611070919061268f565b611098576040516304c983f360e41b81526001600160a01b0384166004820152602401610578565b610d5583600f610588565b336110ac611493565b6001600160a01b0316816001600160a01b0316146110e75760405162d1953b60e31b81526001600160a01b0382166004820152602401610578565b816001600160a01b03163b5f0361111c576040516361798f2f60e11b81526001600160a01b0383166004820152602401610578565b610ef282611eb8565b5f61112f336104db565b610c14826020611d5f565b5f805f80516020612ace83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156111a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ca919061268f565b15611255576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561122b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124f919061288f565b91505090565b54600160601b90046001600160a01b0316919050565b611273611c04565b6112ef83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112d791906126b5565b60085f8560405180602001604052805f8152506108cf565b6001600160a01b0382161561130c5761130782611f18565b611383565b5f6113176002611f29565b9050611381816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611358573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061137c919061288f565b611f18565b505b611393634a531f3360e01b6108a3565b6113a363daf9067160e01b6108a3565b505050565b5f80516020612aee83398151915280545f9190600160a01b900460ff166113cf575f61124f565b638fb3603760e01b91505090565b6113e5612143565b6113ee336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790611421906301a39f4760e01b90600401612642565b602060405180830381865afa15801561143c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611460919061268f565b611488576040516367237f5b60e11b81526001600160a01b0384166004820152602401610578565b610d5583600e610588565b5f80516020612aee833981519152546001600160a01b031690565b5f6114b8336104db565b610c1482601e611d5f565b6114cb612143565b6114d4336104db565b610d55836003610588565b6114e7612143565b6114f0336104db565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a79061152390632986755f60e11b90600401612642565b602060405180830381865afa15801561153e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611562919061268f565b61158a57604051632624ae7760e01b81526001600160a01b0385166004820152602401610578565b61159584848461179a565b90506115a96001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016115d49190612237565b6020604051808303815f875af11580156115f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061161491906126b5565b6001600160601b031681529392505050565b61162e611c04565b61163781610de5565b61163f610abe565b6001600160a01b0382166116665760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020612ace83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b5f80516020612aee8339815191525f806116d46116b7611493565b87306116c660045f8a8c6128aa565b6116cf916128d1565b61202a565b91509150816117925763ffffffff81161561176f57825460ff60a01b1916600160a01b178355611702611493565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161173193929190612907565b5f604051808303815f87803b158015611748575f80fd5b505af115801561175a573d5f803e3d5ffd5b5050845460ff60a01b19168555506117929050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610578565b505050505050565b6117a2612143565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa1580156117dd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118049190810190612993565b9050836001600160a01b031681608001516001600160a01b0316146118555760808101516040516306704ad960e11b81526001600160a01b0380871660048301529091166024820152604401610578565b604081015160ff8481169116146118a157604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff80861660248301529091166044820152606401610578565b60a08101516001600160a01b03808216908416146118ed576040516335ce70c360e21b81526001600160a01b038087166004830152808516602483015282166044820152606401610578565b846001600160a01b0316816001600160a01b03160361192a57604051638e80a3f960e01b81526001600160a01b0386166004820152602401610578565b6001600160a01b03811661195c576040516343e40cb560e01b81526001600160a01b0386166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156119ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119d2919061268f565b15611a03576040516309ad872b60e41b81526001600160a01b03808716600483015282166024820152604401610578565b509392505050565b5f805f80516020612ace83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611a77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a9b919061268f565b15611ac75780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611b19573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b3d919061268f565b611b655760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610578565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611bb7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bdb91906126b5565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80516020612b0e83398151915254600160401b900460ff16611c3a57604051631afcd79f60e31b815260040160405180910390fd5b565b6101f2611c04565b5f80516020612b0e8339815191528054600160401b810460ff1615906001600160401b03165f81158015611c755750825b90505f826001600160401b03166001148015611c905750303b155b905081158015611c9e575080155b15611cbc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611ce657845460ff60401b1916600160401b1785555b5f8087806020019051810190611cfc9190612a55565b91509150611d0b82828b61126b565b611d1b6393a3e0eb60e01b6108a3565b50508315610bf657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610bed565b60808201516001600160a01b031615611d965760408083015190516340fda83160e11b815260ff9091166004820152602401610578565b604082015160ff828116911614611dd3576040808301519051632e5fbed960e21b815260ff80841660048301529091166024820152604401610578565b60a08201516001600160a01b038116611e0a576040808401519051633312954f60e21b815260ff9091166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e80919061268f565b156113a357604080840151905163b4139d2560e01b815260ff90911660048201526001600160a01b0382166024820152604401610578565b5f80516020612aee83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611f20611c04565b610ef481612132565b5f611f3c6001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611f9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fc39190612869565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612006573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c84919061288f565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516120989190612a82565b5f60405180830381855afa9150503d805f81146120d0576040519150601f19603f3d011682016040523d82523d5f602084013e6120d5565b606091505b5091509150811561212757604081511061210757808060200190518101906120fd9190612a98565b9094509250612127565b60208151106121275780806020019051810190612124919061268f565b93505b505094509492505050565b61213a611c04565b610ef481611eb8565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215612190575f80fd5b81356001600160e01b0319811681146121a7575f80fd5b9392505050565b6001600160a01b0381168114610ef4575f80fd5b80356121cd816121ae565b919050565b5f80604083850312156121e3575f80fd5b82356121ee816121ae565b915060208301356121fe816121ae565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161227f608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526122c3610100840182612209565b949350505050565b6001600160601b0381168114610ef4575f80fd5b80356121cd816122cb565b60ff81168114610ef4575f80fd5b80356121cd816122ea565b8015158114610ef4575f80fd5b80356121cd81612303565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156123515761235161231b565b60405290565b604051601f8201601f191681016001600160401b038111828210171561237f5761237f61231b565b604052919050565b5f6001600160401b0382111561239f5761239f61231b565b50601f01601f191660200190565b5f82601f8301126123bc575f80fd5b81356123cf6123ca82612387565b612357565b8181528460208386010111156123e3575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f8060c08789031215612414575f80fd5b863561241f816121ae565b9550602087013561242f816122cb565b9450604087013561243f816122ea565b9350606087013561244f81612303565b9250608087013561245f816121ae565b915060a08701356001600160401b03811115612479575f80fd5b61248589828a016123ad565b9150509295509295509295565b5f602082840312156124a2575f80fd5b81356001600160401b038111156124b7575f80fd5b6122c3848285016123ad565b5f80604083850312156124d4575f80fd5b82356124df816121ae565b915060208301356001600160401b038111156124f9575f80fd5b612505858286016123ad565b9150509250929050565b5f6020828403121561251f575f80fd5b81356001600160401b03811115612534575f80fd5b820160e08185031215612545575f80fd5b61254d61232f565b612556826122df565b8152612564602083016122df565b6020820152612575604083016122f8565b604082015261258660608301612310565b6060820152612597608083016121c2565b60808201526125a860a083016121c2565b60a082015260c08201356001600160401b038111156125c5575f80fd5b6125d1868285016123ad565b60c083015250949350505050565b5f602082840312156125ef575f80fd5b81356121a7816121ae565b5f805f6060848603121561260c575f80fd5b8335612617816121ae565b92506020840135612627816121ae565b91506040840135612637816121ae565b809150509250925092565b6001600160e01b031991909116815260200190565b5f805f60608486031215612669575f80fd5b8335612674816121ae565b92506020840135612627816122ea565b80516121cd81612303565b5f6020828403121561269f575f80fd5b81516121a781612303565b80516121cd816122cb565b5f602082840312156126c5575f80fd5b81516121a7816122cb565b5f602082840312156126e0575f80fd5b815162ffffff811681146121a7575f80fd5b600181811c9082168061270657607f821691505b60208210810361272457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156113a357805f5260205f20601f840160051c8101602085101561274f5750805b601f840160051c820191505b8181101561276e575f815560010161275b565b5050505050565b81516001600160401b0381111561278e5761278e61231b565b6127a28161279c84546126f2565b8461272a565b6020601f8211600181146127d4575f83156127bd5750848201515b5f19600385901b1c1916600184901b17845561276e565b5f84815260208120601f198516915b8281101561280357878501518255602094850194600190920191016127e3565b508482101561282057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160401b0381168114610ef4575f80fd5b5f60208284031215612853575f80fd5b81516121a78161282f565b80516121cd816122ea565b5f60208284031215612879575f80fd5b81516121a7816122ea565b80516121cd816121ae565b5f6020828403121561289f575f80fd5b81516121a7816121ae565b5f80858511156128b8575f80fd5b838611156128c4575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561067f576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82601f830112612955575f80fd5b81516129636123ca82612387565b818152846020838601011115612977575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156129a3575f80fd5b81516001600160401b038111156129b8575f80fd5b820160e081850312156129c9575f80fd5b6129d161232f565b6129da826126aa565b81526129e8602083016126aa565b60208201526129f96040830161285e565b6040820152612a0a60608301612684565b6060820152612a1b60808301612884565b6080820152612a2c60a08301612884565b60a082015260c08201516001600160401b03811115612a49575f80fd5b6125d186828501612946565b5f8060408385031215612a66575f80fd5b8251612a71816121ae565b60208401519092506121fe816121ae565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612aa9575f80fd5b8251612ab481612303565b602084015190925063ffffffff811681146121fe575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212202c387903415544ed6a6a7e94cd378181bdde03217a7ef90f8b38bae76e4efd4764736f6c634300081a0033",
1355
- "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101f2575f3560e01c8063675393bf116101145780638fbc2d81116100a9578063c2bf08c811610079578063c2bf08c81461047b578063c4c79d8b1461048e578063d943342d146104a1578063ed841d0c146104b4578063f7c34ee0146104bb575f80fd5b80638fbc2d811461043d578063ada9652e14610450578063b68d180914610464578063bf7e214f14610473575f80fd5b80638105cc7f116100e45780638105cc7f146103fa578063893d20e81461040d5780638e32e979146104155780638fb3603714610428575f80fd5b8063675393bf146103a15780636c741e78146103b45780637286e5e5146103d45780637a9e5e4b146103e7575f80fd5b8063329d6e741161018a5780635ab1bd531161015a5780635ab1bd53146103395780635c992fed1461035e5780635d96628914610371578063644c45e014610384575f80fd5b8063329d6e74146102f857806336fc697e1461030b57806349bb9e4b1461031357806357a8fba714610326575f80fd5b8063138461e0116101c5578063138461e01461027b5780631eff4b221461029b578063214cdb80146102d057806327bb7a33146102e5575f80fd5b806301ffc9a7146101f6578063026bc43b146102375780630d8e6e2c146102575780630fec111c14610273575b5f80fd5b610222610204366004612180565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61024a6102453660046121d2565b6104ce565b60405161022e9190612237565b61025f610686565b60405162ffffff909116815260200161022e565b61024a61070d565b610283610899565b6040516001600160601b03909116815260200161022e565b6102c27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161022e565b6102e36102de366004612180565b6108a3565b005b6102e36102f33660046123ff565b6108cf565b6102e3610306366004612492565b610974565b6102e3610abe565b6102e36103213660046124c3565b610b03565b61028361033436600461250f565b610bff565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161022e565b61028361036c36600461250f565b610c8a565b61024a61037f3660046121d2565b610c9f565b5f80516020612ace833981519152546001600160601b0316610283565b6102e36103af3660046125df565b610de5565b6103bc610ef7565b6040516001600160401b03909116815260200161022e565b61024a6103e23660046121d2565b610fed565b6102e36103f53660046125df565b6110a3565b61028361040836600461250f565b611125565b61034661113a565b6102e36104233660046125fa565b61126b565b6104306113a8565b60405161022e9190612642565b61024a61044b3660046121d2565b6113dd565b6102c25f80516020612ace83398151915281565b6040516002815260200161022e565b610346611493565b61028361048936600461250f565b6114ae565b61024a61049c3660046121d2565b6114c3565b61024a6104af366004612657565b6114df565b6102c25f81565b6102e36104c93660046121d2565b611626565b6104d6612143565b6104e2335b5f3661169c565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061051590632b1cb34b60e11b90600401612642565b602060405180830381865afa158015610530573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610554919061268f565b61058157604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b61058e83600a5b8461179a565b90506105a26001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105cd9190612237565b6020604051808303815f875af11580156105e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060d91906126b5565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192602092919082900301815f875af115801561065b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067f91906126b5565b5092915050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156106e4573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061070891906126d0565b905090565b610715612143565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561078b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107af91906126b5565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107f761113a565b6001600160a01b03168152602001826001018054610814906126f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610840906126f2565b801561088b5780601f106108625761010080835404028352916020019161088b565b820191905f5260205f20905b81548152906001019060200180831161086e57829003601f168201915b505050505081525091505090565b5f61070830611a0b565b6108ab611c04565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6108d7611c04565b6108e18287611626565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161096a8382612775565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610996610686565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f89190612843565b5f80516020612b0e8339815191528054600160401b900460ff1680610a2a575080546001600160401b03808416911610155b15610a485760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a7283611c3c565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610ac6611c04565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b5f80516020612b0e8339815191528054600160401b810460ff1615906001600160401b03165f81158015610b345750825b90505f826001600160401b03166001148015610b4f5750303b155b905081158015610b5d575080155b15610b7b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ba557845460ff60401b1916600160401b1785555b610baf8787611c44565b8315610bf657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f610c09336104db565b610c1482601c611d5f565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610c44908590600401612237565b6020604051808303815f875af1158015610c60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c8491906126b5565b92915050565b5f610c94336104db565b610c14826015611d5f565b610ca7612143565b610cb0336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610ce39063a388186360e01b90600401612642565b602060405180830381865afa158015610cfe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d22919061268f565b610d4a5760405163704b6c6d60e11b81526001600160a01b0384166004820152602401610578565b610d5583600c610588565b9050610d696001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610d949190612237565b6020604051808303815f875af1158015610db0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dd491906126b5565b6001600160601b0316815292915050565b610ded611c04565b806001600160a01b03163b5f03610e225760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610578565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a790610e68906318788cbb60e11b90600401612642565b602060405180830381865afa925050508015610ea1575060408051601f3d908101601f19168201909252610e9e9181019061268f565b60015b610ec95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610578565b80610ef25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610578565b505b50565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36002604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610f62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f869190612869565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610fc9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107089190612843565b610ff5612143565b610ffe336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061103190636ec6c77160e11b90600401612642565b602060405180830381865afa15801561104c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611070919061268f565b611098576040516304c983f360e41b81526001600160a01b0384166004820152602401610578565b610d5583600f610588565b336110ac611493565b6001600160a01b0316816001600160a01b0316146110e75760405162d1953b60e31b81526001600160a01b0382166004820152602401610578565b816001600160a01b03163b5f0361111c576040516361798f2f60e11b81526001600160a01b0383166004820152602401610578565b610ef282611eb8565b5f61112f336104db565b610c14826020611d5f565b5f805f80516020612ace83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156111a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111ca919061268f565b15611255576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561122b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124f919061288f565b91505090565b54600160601b90046001600160a01b0316919050565b611273611c04565b6112ef83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112b3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112d791906126b5565b60085f8560405180602001604052805f8152506108cf565b6001600160a01b0382161561130c5761130782611f18565b611383565b5f6113176002611f29565b9050611381816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611358573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061137c919061288f565b611f18565b505b611393634a531f3360e01b6108a3565b6113a363daf9067160e01b6108a3565b505050565b5f80516020612aee83398151915280545f9190600160a01b900460ff166113cf575f61124f565b638fb3603760e01b91505090565b6113e5612143565b6113ee336104db565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790611421906301a39f4760e01b90600401612642565b602060405180830381865afa15801561143c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611460919061268f565b611488576040516367237f5b60e11b81526001600160a01b0384166004820152602401610578565b610d5583600e610588565b5f80516020612aee833981519152546001600160a01b031690565b5f6114b8336104db565b610c1482601e611d5f565b6114cb612143565b6114d4336104db565b610d55836003610588565b6114e7612143565b6114f0336104db565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a79061152390632986755f60e11b90600401612642565b602060405180830381865afa15801561153e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611562919061268f565b61158a57604051632624ae7760e01b81526001600160a01b0385166004820152602401610578565b61159584848461179a565b90506115a96001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016115d49190612237565b6020604051808303815f875af11580156115f0573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061161491906126b5565b6001600160601b031681529392505050565b61162e611c04565b61163781610de5565b61163f610abe565b6001600160a01b0382166116665760405163f17ef42d60e01b815260040160405180910390fd5b505f80516020612ace83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b5f80516020612aee8339815191525f806116d46116b7611493565b87306116c660045f8a8c6128aa565b6116cf916128d1565b61202a565b91509150816117925763ffffffff81161561176f57825460ff60a01b1916600160a01b178355611702611493565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161173193929190612907565b5f604051808303815f87803b158015611748575f80fd5b505af115801561175a573d5f803e3d5ffd5b5050845460ff60a01b19168555506117929050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610578565b505050505050565b6117a2612143565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa1580156117dd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526118049190810190612993565b9050836001600160a01b031681608001516001600160a01b0316146118555760808101516040516306704ad960e11b81526001600160a01b0380871660048301529091166024820152604401610578565b604081015160ff8481169116146118a157604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff80861660248301529091166044820152606401610578565b60a08101516001600160a01b03808216908416146118ed576040516335ce70c360e21b81526001600160a01b038087166004830152808516602483015282166044820152606401610578565b846001600160a01b0316816001600160a01b03160361192a57604051638e80a3f960e01b81526001600160a01b0386166004820152602401610578565b6001600160a01b03811661195c576040516343e40cb560e01b81526001600160a01b0386166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156119ae573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119d2919061268f565b15611a03576040516309ad872b60e41b81526001600160a01b03808716600483015282166024820152604401610578565b509392505050565b5f805f80516020612ace83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611a77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a9b919061268f565b15611ac75780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611b19573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b3d919061268f565b611b655760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610578565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611bb7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bdb91906126b5565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80516020612b0e83398151915254600160401b900460ff16611c3a57604051631afcd79f60e31b815260040160405180910390fd5b565b6101f2611c04565b5f80516020612b0e8339815191528054600160401b810460ff1615906001600160401b03165f81158015611c755750825b90505f826001600160401b03166001148015611c905750303b155b905081158015611c9e575080155b15611cbc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611ce657845460ff60401b1916600160401b1785555b5f8087806020019051810190611cfc9190612a55565b91509150611d0b82828b61126b565b611d1b6393a3e0eb60e01b6108a3565b50508315610bf657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610bed565b60808201516001600160a01b031615611d965760408083015190516340fda83160e11b815260ff9091166004820152602401610578565b604082015160ff828116911614611dd3576040808301519051632e5fbed960e21b815260ff80841660048301529091166024820152604401610578565b60a08201516001600160a01b038116611e0a576040808401519051633312954f60e21b815260ff9091166004820152602401610578565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e80919061268f565b156113a357604080840151905163b4139d2560e01b815260ff90911660048201526001600160a01b0382166024820152604401610578565b5f80516020612aee83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611f20611c04565b610ef481612132565b5f611f3c6001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611f9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fc39190612869565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612006573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c84919061288f565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516120989190612a82565b5f60405180830381855afa9150503d805f81146120d0576040519150601f19603f3d011682016040523d82523d5f602084013e6120d5565b606091505b5091509150811561212757604081511061210757808060200190518101906120fd9190612a98565b9094509250612127565b60208151106121275780806020019051810190612124919061268f565b93505b505094509492505050565b61213a611c04565b610ef481611eb8565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215612190575f80fd5b81356001600160e01b0319811681146121a7575f80fd5b9392505050565b6001600160a01b0381168114610ef4575f80fd5b80356121cd816121ae565b919050565b5f80604083850312156121e3575f80fd5b82356121ee816121ae565b915060208301356121fe816121ae565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f606083015161227f608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526122c3610100840182612209565b949350505050565b6001600160601b0381168114610ef4575f80fd5b80356121cd816122cb565b60ff81168114610ef4575f80fd5b80356121cd816122ea565b8015158114610ef4575f80fd5b80356121cd81612303565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156123515761235161231b565b60405290565b604051601f8201601f191681016001600160401b038111828210171561237f5761237f61231b565b604052919050565b5f6001600160401b0382111561239f5761239f61231b565b50601f01601f191660200190565b5f82601f8301126123bc575f80fd5b81356123cf6123ca82612387565b612357565b8181528460208386010111156123e3575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f8060c08789031215612414575f80fd5b863561241f816121ae565b9550602087013561242f816122cb565b9450604087013561243f816122ea565b9350606087013561244f81612303565b9250608087013561245f816121ae565b915060a08701356001600160401b03811115612479575f80fd5b61248589828a016123ad565b9150509295509295509295565b5f602082840312156124a2575f80fd5b81356001600160401b038111156124b7575f80fd5b6122c3848285016123ad565b5f80604083850312156124d4575f80fd5b82356124df816121ae565b915060208301356001600160401b038111156124f9575f80fd5b612505858286016123ad565b9150509250929050565b5f6020828403121561251f575f80fd5b81356001600160401b03811115612534575f80fd5b820160e08185031215612545575f80fd5b61254d61232f565b612556826122df565b8152612564602083016122df565b6020820152612575604083016122f8565b604082015261258660608301612310565b6060820152612597608083016121c2565b60808201526125a860a083016121c2565b60a082015260c08201356001600160401b038111156125c5575f80fd5b6125d1868285016123ad565b60c083015250949350505050565b5f602082840312156125ef575f80fd5b81356121a7816121ae565b5f805f6060848603121561260c575f80fd5b8335612617816121ae565b92506020840135612627816121ae565b91506040840135612637816121ae565b809150509250925092565b6001600160e01b031991909116815260200190565b5f805f60608486031215612669575f80fd5b8335612674816121ae565b92506020840135612627816122ea565b80516121cd81612303565b5f6020828403121561269f575f80fd5b81516121a781612303565b80516121cd816122cb565b5f602082840312156126c5575f80fd5b81516121a7816122cb565b5f602082840312156126e0575f80fd5b815162ffffff811681146121a7575f80fd5b600181811c9082168061270657607f821691505b60208210810361272457634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156113a357805f5260205f20601f840160051c8101602085101561274f5750805b601f840160051c820191505b8181101561276e575f815560010161275b565b5050505050565b81516001600160401b0381111561278e5761278e61231b565b6127a28161279c84546126f2565b8461272a565b6020601f8211600181146127d4575f83156127bd5750848201515b5f19600385901b1c1916600184901b17845561276e565b5f84815260208120601f198516915b8281101561280357878501518255602094850194600190920191016127e3565b508482101561282057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160401b0381168114610ef4575f80fd5b5f60208284031215612853575f80fd5b81516121a78161282f565b80516121cd816122ea565b5f60208284031215612879575f80fd5b81516121a7816122ea565b80516121cd816121ae565b5f6020828403121561289f575f80fd5b81516121a7816121ae565b5f80858511156128b8575f80fd5b838611156128c4575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561067f576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82601f830112612955575f80fd5b81516129636123ca82612387565b818152846020838601011115612977575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f602082840312156129a3575f80fd5b81516001600160401b038111156129b8575f80fd5b820160e081850312156129c9575f80fd5b6129d161232f565b6129da826126aa565b81526129e8602083016126aa565b60208201526129f96040830161285e565b6040820152612a0a60608301612684565b6060820152612a1b60808301612884565b6080820152612a2c60a08301612884565b60a082015260c08201516001600160401b03811115612a49575f80fd5b6125d186828501612946565b5f8060408385031215612a66575f80fd5b8251612a71816121ae565b60208401519092506121fe816121ae565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612aa9575f80fd5b8251612ab481612303565b602084015190925063ffffffff811681146121fe575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212202c387903415544ed6a6a7e94cd378181bdde03217a7ef90f8b38bae76e4efd4764736f6c634300081a0033",
1156
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612934806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101a1575f3560e01c8063644c45e0116100f35780638fb3603711610093578063bf7e214f1161006e578063bf7e214f146103e1578063c2bf08c8146103e9578063c4c79d8b146103fc578063ed841d0c1461040f575f80fd5b80638fb36037146103a5578063ada9652e146103c6578063b68d1809146103da575f80fd5b80637a9e5e4b116100ce5780637a9e5e4b1461036f5780638105cc7f146103825780638899278a14610395578063893d20e81461039d575f80fd5b8063644c45e0146103185780636c741e781461033557806376b707b714610355575f80fd5b8063329d6e741161015e57806357a8fba71161013957806357a8fba7146102ba5780635ab1bd53146102cd5780635c992fed146102f25780635d96628914610305575f80fd5b8063329d6e741461027f5780633f429c921461029457806349bb9e4b146102a7575f80fd5b806301ffc9a7146101a5578063026bc43b146101e65780630d8e6e2c146102065780630fec111c14610222578063138461e01461022a5780631eff4b221461024a575b5f80fd5b6101d16101b3366004612026565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f96101f4366004612078565b610416565b6040516101dd91906120dd565b61020e6105c9565b60405162ffffff90911681526020016101dd565b6101f9610650565b6102326107dc565b6040516001600160601b0390911681526020016101dd565b6102717f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101dd565b61029261028d366004612255565b6107e6565b005b6101f96102a236600461229f565b610930565b6102926102b53660046122e7565b610abd565b6102326102c836600461236a565b610bb9565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101dd565b61023261030036600461236a565b610c44565b6101f9610313366004612078565b610c59565b5f8051602061289f833981519152546001600160601b0316610232565b61033d610d9a565b6040516001600160401b0390911681526020016101dd565b61035d610e26565b60405160ff90911681526020016101dd565b61029261037d36600461243a565b610e9a565b61023261039036600461236a565b610f20565b610271600381565b6102da610f35565b6103ad611066565b6040516001600160e01b031990911681526020016101dd565b6102715f8051602061289f83398151915281565b600261035d565b6102da61109b565b6102326103f736600461236a565b6110b6565b6101f961040a366004612078565b6110cb565b6102715f81565b61041e611fe9565b61042a335b5f366110e7565b6040516301ffc9a760e01b815263b698dabd60e01b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015610473573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104979190612460565b6104c457604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b6104d183600a5b846111e5565b90506104e56001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b815260040161051091906120dd565b6020604051808303815f875af115801561052c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105509190612486565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192602092919082900301815f875af115801561059e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c29190612486565b5092915050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610627573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064b91906124a1565b905090565b610658611fe9565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106f29190612486565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161073a610f35565b6001600160a01b03168152602001826001018054610757906124c3565b80601f0160208091040260200160405190810160405280929190818152602001828054610783906124c3565b80156107ce5780601f106107a5576101008083540402835291602001916107ce565b820191905f5260205f20905b8154815290600101906020018083116107b157829003601f168201915b505050505081525091505090565b5f61064b30611456565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6108086105c9565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610846573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061086a919061250f565b5f805160206128df8339815191528054600160401b900460ff168061089c575080546001600160401b03808416911610155b156108ba5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556108e48361164f565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610938611fe9565b61094133610423565b6040516301ffc9a760e01b8152633b6f5c0360e11b60048201526001600160a01b038516906301ffc9a790602401602060405180830381865afa15801561098a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ae9190612460565b6109d657604051632624ae7760e01b81526001600160a01b03851660048201526024016104bb565b60ff8316600e14806109eb575060ff8316600d145b806109f9575060ff8316600f145b610a21576040516329e5065360e11b81526001600160a01b03851660048201526024016104bb565b610a2c8484846111e5565b9050610a406001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610a6b91906120dd565b6020604051808303815f875af1158015610a87573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aab9190612486565b6001600160601b031681529392505050565b5f805160206128df8339815191528054600160401b810460ff1615906001600160401b03165f81158015610aee5750825b90505f826001600160401b03166001148015610b095750303b155b905081158015610b17575080155b15610b355760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b5f57845460ff60401b1916600160401b1785555b610b698787611657565b8315610bb057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f610bc333610423565b610bce82601d611772565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610bfe9085906004016120dd565b6020604051808303815f875af1158015610c1a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c3e9190612486565b92915050565b5f610c4e33610423565b610bce826015611772565b610c61611fe9565b610c6a33610423565b6040516301ffc9a760e01b8152631c56415960e31b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015610cb3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd79190612460565b610cff5760405163704b6c6d60e11b81526001600160a01b03841660048201526024016104bb565b610d0a83600c6104cb565b9050610d1e6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610d4991906120dd565b6020604051808303815f875af1158015610d65573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d899190612486565b6001600160601b0316815292915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36002610dbf610e26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610e02573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064b919061250f565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610e76573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064b9190612535565b33610ea361109b565b6001600160a01b0316816001600160a01b031614610ede5760405162d1953b60e31b81526001600160a01b03821660048201526024016104bb565b816001600160a01b03163b5f03610f13576040516361798f2f60e11b81526001600160a01b03831660048201526024016104bb565b610f1c826119c1565b5050565b5f610f2a33610423565b610bce826021611772565b5f805f8051602061289f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610fa1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc59190612460565b15611050576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611026573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061104a919061255b565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206128bf83398151915280545f9190600160a01b900460ff1661108d575f61104a565b638fb3603760e01b91505090565b5f805160206128bf833981519152546001600160a01b031690565b5f6110c033610423565b610bce82601f611772565b6110d3611fe9565b6110dc33610423565b610d0a8360036104cb565b5f805160206128bf8339815191525f8061111f61110261109b565b873061111160045f8a8c612576565b61111a9161259d565b611a21565b91509150816111dd5763ffffffff8116156111ba57825460ff60a01b1916600160a01b17835561114d61109b565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161117c939291906125d3565b5f604051808303815f87803b158015611193575f80fd5b505af11580156111a5573d5f803e3d5ffd5b5050845460ff60a01b19168555506111dd9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016104bb565b505050505050565b6111ed611fe9565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa158015611228573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261124f919081019061265f565b9050836001600160a01b031681608001516001600160a01b0316146112a05760808101516040516306704ad960e11b81526001600160a01b03808716600483015290911660248201526044016104bb565b604081015160ff8481169116146112ec57604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff808616602483015290911660448201526064016104bb565b60a08101516001600160a01b0380821690841614611338576040516335ce70c360e21b81526001600160a01b0380871660048301528085166024830152821660448201526064016104bb565b846001600160a01b0316816001600160a01b03160361137557604051638e80a3f960e01b81526001600160a01b03861660048201526024016104bb565b6001600160a01b0381166113a7576040516343e40cb560e01b81526001600160a01b03861660048201526024016104bb565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156113f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061141d9190612460565b1561144e576040516309ad872b60e41b81526001600160a01b038087166004830152821660248201526044016104bb565b509392505050565b5f805f8051602061289f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156114c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114e69190612460565b156115125780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016104bb565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611564573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115889190612460565b6115b05760405163b9304b0d60e01b81526001600160a01b03841660048201526024016104bb565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611602573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116269190612486565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6101a1611b29565b5f805160206128df8339815191528054600160401b810460ff1615906001600160401b03165f811580156116885750825b90505f826001600160401b031660011480156116a35750303b155b9050811580156116b1575080155b156116cf5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156116f957845460ff60401b1916600160401b1785555b5f808780602001905181019061170f9190612721565b9150915061171e82828b611b61565b61172e6328342add60e01b611c9d565b50508315610bb057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610ba7565b60808201516001600160a01b0316156117a95760408083015190516340fda83160e11b815260ff90911660048201526024016104bb565b604082015160ff8281169116146117e6576040808301519051632e5fbed960e21b815260ff808416600483015290911660248201526044016104bb565b60a08201516001600160a01b03811661181d576040808401519051633312954f60e21b815260ff90911660048201526024016104bb565b336001600160a01b0382160361185157604051633bb3291360e01b81526001600160a01b03821660048201526024016104bb565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156118a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118c79190612460565b156119bc575f6118df6001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b0384811660048301529190911690638b09a5f0906024015f60405180830381865afa158015611924573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261194b919081019061265f565b60400151905060ff811660021480611966575060ff81166003145b80611974575060ff81166008145b80611982575060ff8116600a145b156119ba57604080850151905163b4139d2560e01b815260ff90911660048201526001600160a01b03831660248201526044016104bb565b505b505050565b5f805160206128bf83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611a8f919061274e565b5f60405180830381855afa9150503d805f8114611ac7576040519150601f19603f3d011682016040523d82523d5f602084013e611acc565b606091505b50915091508115611b1e576040815110611afe5780806020019051810190611af49190612764565b9094509250611b1e565b6020815110611b1e5780806020019051810190611b1b9190612460565b93505b505094509492505050565b5f805160206128df83398151915254600160401b900460ff16611b5f57604051631afcd79f60e31b815260040160405180910390fd5b565b611b69611b29565b611b71611cc9565b6001600160a01b03821615611b8e57611b8982611cd9565b611c05565b5f611b996002611ced565b9050611c03816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bfe919061255b565b611cd9565b505b611c8183846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c45573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c699190612486565b60085f8560405180602001604052805f815250611d7e565b611c91634a531f3360e01b611c9d565b6119bc63daf9067160e01b5b611ca5611b29565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b611cd1611b29565b611b5f611e23565b611ce1611b29565b611cea81611e51565b50565b5f611d006001546001600160a01b031690565b6001600160a01b031663d39e604383611d17610e26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611d5a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c3e919061255b565b611d86611b29565b611d908683611e62565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301611e1983826127e4565b5050505050505050565b611e2b611b29565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b611e59611b29565b611cea816119c1565b611e6a611b29565b611e7382611ed8565b611e7b611fa4565b6001600160a01b038116611ea25760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061289f83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b611ee0611b29565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015611f36573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f5a9190612460565b611f825760405163fdeac91f60e01b81526001600160a01b03821660048201526024016104bb565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b611fac611b29565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215612036575f80fd5b81356001600160e01b03198116811461204d575f80fd5b9392505050565b6001600160a01b0381168114611cea575f80fd5b803561207381612054565b919050565b5f8060408385031215612089575f80fd5b823561209481612054565b915060208301356120a481612054565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612125608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526121696101008401826120af565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156121a7576121a7612171565b60405290565b604051601f8201601f191681016001600160401b03811182821017156121d5576121d5612171565b604052919050565b5f6001600160401b038211156121f5576121f5612171565b50601f01601f191660200190565b5f82601f830112612212575f80fd5b8135612225612220826121dd565b6121ad565b818152846020838601011115612239575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612265575f80fd5b81356001600160401b0381111561227a575f80fd5b61216984828501612203565b60ff81168114611cea575f80fd5b803561207381612286565b5f805f606084860312156122b1575f80fd5b83356122bc81612054565b925060208401356122cc81612286565b915060408401356122dc81612054565b809150509250925092565b5f80604083850312156122f8575f80fd5b823561230381612054565b915060208301356001600160401b0381111561231d575f80fd5b61232985828601612203565b9150509250929050565b6001600160601b0381168114611cea575f80fd5b803561207381612333565b8015158114611cea575f80fd5b803561207381612352565b5f6020828403121561237a575f80fd5b81356001600160401b0381111561238f575f80fd5b820160e081850312156123a0575f80fd5b6123a8612185565b6123b182612347565b81526123bf60208301612347565b60208201526123d060408301612294565b60408201526123e16060830161235f565b60608201526123f260808301612068565b608082015261240360a08301612068565b60a082015260c08201356001600160401b03811115612420575f80fd5b61242c86828501612203565b60c083015250949350505050565b5f6020828403121561244a575f80fd5b813561204d81612054565b805161207381612352565b5f60208284031215612470575f80fd5b815161204d81612352565b805161207381612333565b5f60208284031215612496575f80fd5b815161204d81612333565b5f602082840312156124b1575f80fd5b815162ffffff8116811461204d575f80fd5b600181811c908216806124d757607f821691505b6020821081036124f557634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160401b0381168114611cea575f80fd5b5f6020828403121561251f575f80fd5b815161204d816124fb565b805161207381612286565b5f60208284031215612545575f80fd5b815161204d81612286565b805161207381612054565b5f6020828403121561256b575f80fd5b815161204d81612054565b5f8085851115612584575f80fd5b83861115612590575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156105c2576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82601f830112612621575f80fd5b815161262f612220826121dd565b818152846020838601011115612643575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f6020828403121561266f575f80fd5b81516001600160401b03811115612684575f80fd5b820160e08185031215612695575f80fd5b61269d612185565b6126a68261247b565b81526126b46020830161247b565b60208201526126c56040830161252a565b60408201526126d660608301612455565b60608201526126e760808301612550565b60808201526126f860a08301612550565b60a082015260c08201516001600160401b03811115612715575f80fd5b61242c86828501612612565b5f8060408385031215612732575f80fd5b825161273d81612054565b60208401519092506120a481612054565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612775575f80fd5b825161278081612352565b602084015190925063ffffffff811681146120a4575f80fd5b601f8211156119bc57805f5260205f20601f840160051c810160208510156127be5750805b601f840160051c820191505b818110156127dd575f81556001016127ca565b5050505050565b81516001600160401b038111156127fd576127fd612171565b6128118161280b84546124c3565b84612799565b6020601f821160018114612843575f831561282c5750848201515b5f19600385901b1c1916600184901b1784556127dd565b5f84815260208120601f198516915b828110156128725787850151825560209485019460019092019101612852565b508482101561288f57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220b3b8a854708ea694f07571918fd4663f961d3a46930a7bd64d550da098990d9c64736f6c634300081a0033",
1157
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101a1575f3560e01c8063644c45e0116100f35780638fb3603711610093578063bf7e214f1161006e578063bf7e214f146103e1578063c2bf08c8146103e9578063c4c79d8b146103fc578063ed841d0c1461040f575f80fd5b80638fb36037146103a5578063ada9652e146103c6578063b68d1809146103da575f80fd5b80637a9e5e4b116100ce5780637a9e5e4b1461036f5780638105cc7f146103825780638899278a14610395578063893d20e81461039d575f80fd5b8063644c45e0146103185780636c741e781461033557806376b707b714610355575f80fd5b8063329d6e741161015e57806357a8fba71161013957806357a8fba7146102ba5780635ab1bd53146102cd5780635c992fed146102f25780635d96628914610305575f80fd5b8063329d6e741461027f5780633f429c921461029457806349bb9e4b146102a7575f80fd5b806301ffc9a7146101a5578063026bc43b146101e65780630d8e6e2c146102065780630fec111c14610222578063138461e01461022a5780631eff4b221461024a575b5f80fd5b6101d16101b3366004612026565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f96101f4366004612078565b610416565b6040516101dd91906120dd565b61020e6105c9565b60405162ffffff90911681526020016101dd565b6101f9610650565b6102326107dc565b6040516001600160601b0390911681526020016101dd565b6102717f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101dd565b61029261028d366004612255565b6107e6565b005b6101f96102a236600461229f565b610930565b6102926102b53660046122e7565b610abd565b6102326102c836600461236a565b610bb9565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101dd565b61023261030036600461236a565b610c44565b6101f9610313366004612078565b610c59565b5f8051602061289f833981519152546001600160601b0316610232565b61033d610d9a565b6040516001600160401b0390911681526020016101dd565b61035d610e26565b60405160ff90911681526020016101dd565b61029261037d36600461243a565b610e9a565b61023261039036600461236a565b610f20565b610271600381565b6102da610f35565b6103ad611066565b6040516001600160e01b031990911681526020016101dd565b6102715f8051602061289f83398151915281565b600261035d565b6102da61109b565b6102326103f736600461236a565b6110b6565b6101f961040a366004612078565b6110cb565b6102715f81565b61041e611fe9565b61042a335b5f366110e7565b6040516301ffc9a760e01b815263b698dabd60e01b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015610473573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104979190612460565b6104c457604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b6104d183600a5b846111e5565b90506104e56001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b815260040161051091906120dd565b6020604051808303815f875af115801561052c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105509190612486565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192602092919082900301815f875af115801561059e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c29190612486565b5092915050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610627573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064b91906124a1565b905090565b610658611fe9565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106f29190612486565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161073a610f35565b6001600160a01b03168152602001826001018054610757906124c3565b80601f0160208091040260200160405190810160405280929190818152602001828054610783906124c3565b80156107ce5780601f106107a5576101008083540402835291602001916107ce565b820191905f5260205f20905b8154815290600101906020018083116107b157829003601f168201915b505050505081525091505090565b5f61064b30611456565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6108086105c9565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610846573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061086a919061250f565b5f805160206128df8339815191528054600160401b900460ff168061089c575080546001600160401b03808416911610155b156108ba5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556108e48361164f565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610938611fe9565b61094133610423565b6040516301ffc9a760e01b8152633b6f5c0360e11b60048201526001600160a01b038516906301ffc9a790602401602060405180830381865afa15801561098a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ae9190612460565b6109d657604051632624ae7760e01b81526001600160a01b03851660048201526024016104bb565b60ff8316600e14806109eb575060ff8316600d145b806109f9575060ff8316600f145b610a21576040516329e5065360e11b81526001600160a01b03851660048201526024016104bb565b610a2c8484846111e5565b9050610a406001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610a6b91906120dd565b6020604051808303815f875af1158015610a87573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aab9190612486565b6001600160601b031681529392505050565b5f805160206128df8339815191528054600160401b810460ff1615906001600160401b03165f81158015610aee5750825b90505f826001600160401b03166001148015610b095750303b155b905081158015610b17575080155b15610b355760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b5f57845460ff60401b1916600160401b1785555b610b698787611657565b8315610bb057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f610bc333610423565b610bce82601d611772565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610bfe9085906004016120dd565b6020604051808303815f875af1158015610c1a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c3e9190612486565b92915050565b5f610c4e33610423565b610bce826015611772565b610c61611fe9565b610c6a33610423565b6040516301ffc9a760e01b8152631c56415960e31b60048201526001600160a01b038416906301ffc9a790602401602060405180830381865afa158015610cb3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cd79190612460565b610cff5760405163704b6c6d60e11b81526001600160a01b03841660048201526024016104bb565b610d0a83600c6104cb565b9050610d1e6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610d4991906120dd565b6020604051808303815f875af1158015610d65573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d899190612486565b6001600160601b0316815292915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36002610dbf610e26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015610e02573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064b919061250f565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610e76573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064b9190612535565b33610ea361109b565b6001600160a01b0316816001600160a01b031614610ede5760405162d1953b60e31b81526001600160a01b03821660048201526024016104bb565b816001600160a01b03163b5f03610f13576040516361798f2f60e11b81526001600160a01b03831660048201526024016104bb565b610f1c826119c1565b5050565b5f610f2a33610423565b610bce826021611772565b5f805f8051602061289f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610fa1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fc59190612460565b15611050576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611026573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061104a919061255b565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206128bf83398151915280545f9190600160a01b900460ff1661108d575f61104a565b638fb3603760e01b91505090565b5f805160206128bf833981519152546001600160a01b031690565b5f6110c033610423565b610bce82601f611772565b6110d3611fe9565b6110dc33610423565b610d0a8360036104cb565b5f805160206128bf8339815191525f8061111f61110261109b565b873061111160045f8a8c612576565b61111a9161259d565b611a21565b91509150816111dd5763ffffffff8116156111ba57825460ff60a01b1916600160a01b17835561114d61109b565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161117c939291906125d3565b5f604051808303815f87803b158015611193575f80fd5b505af11580156111a5573d5f803e3d5ffd5b5050845460ff60a01b19168555506111dd9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016104bb565b505050505050565b6111ed611fe9565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b81526004015f60405180830381865afa158015611228573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261124f919081019061265f565b9050836001600160a01b031681608001516001600160a01b0316146112a05760808101516040516306704ad960e11b81526001600160a01b03808716600483015290911660248201526044016104bb565b604081015160ff8481169116146112ec57604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff808616602483015290911660448201526064016104bb565b60a08101516001600160a01b0380821690841614611338576040516335ce70c360e21b81526001600160a01b0380871660048301528085166024830152821660448201526064016104bb565b846001600160a01b0316816001600160a01b03160361137557604051638e80a3f960e01b81526001600160a01b03861660048201526024016104bb565b6001600160a01b0381166113a7576040516343e40cb560e01b81526001600160a01b03861660048201526024016104bb565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156113f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061141d9190612460565b1561144e576040516309ad872b60e41b81526001600160a01b038087166004830152821660248201526044016104bb565b509392505050565b5f805f8051602061289f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156114c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114e69190612460565b156115125780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016104bb565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611564573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115889190612460565b6115b05760405163b9304b0d60e01b81526001600160a01b03841660048201526024016104bb565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611602573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116269190612486565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6101a1611b29565b5f805160206128df8339815191528054600160401b810460ff1615906001600160401b03165f811580156116885750825b90505f826001600160401b031660011480156116a35750303b155b9050811580156116b1575080155b156116cf5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156116f957845460ff60401b1916600160401b1785555b5f808780602001905181019061170f9190612721565b9150915061171e82828b611b61565b61172e6328342add60e01b611c9d565b50508315610bb057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610ba7565b60808201516001600160a01b0316156117a95760408083015190516340fda83160e11b815260ff90911660048201526024016104bb565b604082015160ff8281169116146117e6576040808301519051632e5fbed960e21b815260ff808416600483015290911660248201526044016104bb565b60a08201516001600160a01b03811661181d576040808401519051633312954f60e21b815260ff90911660048201526024016104bb565b336001600160a01b0382160361185157604051633bb3291360e01b81526001600160a01b03821660048201526024016104bb565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156118a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118c79190612460565b156119bc575f6118df6001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b0384811660048301529190911690638b09a5f0906024015f60405180830381865afa158015611924573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261194b919081019061265f565b60400151905060ff811660021480611966575060ff81166003145b80611974575060ff81166008145b80611982575060ff8116600a145b156119ba57604080850151905163b4139d2560e01b815260ff90911660048201526001600160a01b03831660248201526044016104bb565b505b505050565b5f805160206128bf83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611a8f919061274e565b5f60405180830381855afa9150503d805f8114611ac7576040519150601f19603f3d011682016040523d82523d5f602084013e611acc565b606091505b50915091508115611b1e576040815110611afe5780806020019051810190611af49190612764565b9094509250611b1e565b6020815110611b1e5780806020019051810190611b1b9190612460565b93505b505094509492505050565b5f805160206128df83398151915254600160401b900460ff16611b5f57604051631afcd79f60e31b815260040160405180910390fd5b565b611b69611b29565b611b71611cc9565b6001600160a01b03821615611b8e57611b8982611cd9565b611c05565b5f611b996002611ced565b9050611c03816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bfe919061255b565b611cd9565b505b611c8183846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c45573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c699190612486565b60085f8560405180602001604052805f815250611d7e565b611c91634a531f3360e01b611c9d565b6119bc63daf9067160e01b5b611ca5611b29565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b611cd1611b29565b611b5f611e23565b611ce1611b29565b611cea81611e51565b50565b5f611d006001546001600160a01b031690565b6001600160a01b031663d39e604383611d17610e26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611d5a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c3e919061255b565b611d86611b29565b611d908683611e62565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301611e1983826127e4565b5050505050505050565b611e2b611b29565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b611e59611b29565b611cea816119c1565b611e6a611b29565b611e7382611ed8565b611e7b611fa4565b6001600160a01b038116611ea25760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061289f83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b611ee0611b29565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015611f36573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f5a9190612460565b611f825760405163fdeac91f60e01b81526001600160a01b03821660048201526024016104bb565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b611fac611b29565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215612036575f80fd5b81356001600160e01b03198116811461204d575f80fd5b9392505050565b6001600160a01b0381168114611cea575f80fd5b803561207381612054565b919050565b5f8060408385031215612089575f80fd5b823561209481612054565b915060208301356120a481612054565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612125608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526121696101008401826120af565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156121a7576121a7612171565b60405290565b604051601f8201601f191681016001600160401b03811182821017156121d5576121d5612171565b604052919050565b5f6001600160401b038211156121f5576121f5612171565b50601f01601f191660200190565b5f82601f830112612212575f80fd5b8135612225612220826121dd565b6121ad565b818152846020838601011115612239575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215612265575f80fd5b81356001600160401b0381111561227a575f80fd5b61216984828501612203565b60ff81168114611cea575f80fd5b803561207381612286565b5f805f606084860312156122b1575f80fd5b83356122bc81612054565b925060208401356122cc81612286565b915060408401356122dc81612054565b809150509250925092565b5f80604083850312156122f8575f80fd5b823561230381612054565b915060208301356001600160401b0381111561231d575f80fd5b61232985828601612203565b9150509250929050565b6001600160601b0381168114611cea575f80fd5b803561207381612333565b8015158114611cea575f80fd5b803561207381612352565b5f6020828403121561237a575f80fd5b81356001600160401b0381111561238f575f80fd5b820160e081850312156123a0575f80fd5b6123a8612185565b6123b182612347565b81526123bf60208301612347565b60208201526123d060408301612294565b60408201526123e16060830161235f565b60608201526123f260808301612068565b608082015261240360a08301612068565b60a082015260c08201356001600160401b03811115612420575f80fd5b61242c86828501612203565b60c083015250949350505050565b5f6020828403121561244a575f80fd5b813561204d81612054565b805161207381612352565b5f60208284031215612470575f80fd5b815161204d81612352565b805161207381612333565b5f60208284031215612496575f80fd5b815161204d81612333565b5f602082840312156124b1575f80fd5b815162ffffff8116811461204d575f80fd5b600181811c908216806124d757607f821691505b6020821081036124f557634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160401b0381168114611cea575f80fd5b5f6020828403121561251f575f80fd5b815161204d816124fb565b805161207381612286565b5f60208284031215612545575f80fd5b815161204d81612286565b805161207381612054565b5f6020828403121561256b575f80fd5b815161204d81612054565b5f8085851115612584575f80fd5b83861115612590575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156105c2576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f82601f830112612621575f80fd5b815161262f612220826121dd565b818152846020838601011115612643575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f6020828403121561266f575f80fd5b81516001600160401b03811115612684575f80fd5b820160e08185031215612695575f80fd5b61269d612185565b6126a68261247b565b81526126b46020830161247b565b60208201526126c56040830161252a565b60408201526126d660608301612455565b60608201526126e760808301612550565b60808201526126f860a08301612550565b60a082015260c08201516001600160401b03811115612715575f80fd5b61242c86828501612612565b5f8060408385031215612732575f80fd5b825161273d81612054565b60208401519092506120a481612054565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612775575f80fd5b825161278081612352565b602084015190925063ffffffff811681146120a4575f80fd5b601f8211156119bc57805f5260205f20601f840160051c810160208510156127be5750805b601f840160051c820191505b818110156127dd575f81556001016127ca565b5050505050565b81516001600160401b038111156127fd576127fd612171565b6128118161280b84546124c3565b84612799565b6020601f821160018114612843575f831561282c5750848201515b5f19600385901b1c1916600184901b1784556127dd565b5f84815260208120601f198516915b828110156128725787850151825560209485019460019092019101612852565b508482101561288f57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220b3b8a854708ea694f07571918fd4663f961d3a46930a7bd64d550da098990d9c64736f6c634300081a0033",
1356
1158
  "linkReferences": {
1159
+ "contracts/shared/ContractLib.sol": {
1160
+ "ContractLib": [
1161
+ {
1162
+ "length": 20,
1163
+ "start": 8148
1164
+ }
1165
+ ]
1166
+ },
1357
1167
  "contracts/type/NftId.sol": {
1358
1168
  "NftIdLib": [
1359
1169
  {
1360
1170
  "length": 20,
1361
- "start": 2076
1171
+ "start": 1887
1362
1172
  },
1363
1173
  {
1364
1174
  "length": 20,
1365
- "start": 4676
1175
+ "start": 4159
1366
1176
  },
1367
1177
  {
1368
1178
  "length": 20,
1369
- "start": 6933
1179
+ "start": 5472
1370
1180
  }
1371
1181
  ]
1372
1182
  },
@@ -1374,7 +1184,7 @@
1374
1184
  "RoleIdLib": [
1375
1185
  {
1376
1186
  "length": 20,
1377
- "start": 4048
1187
+ "start": 3699
1378
1188
  }
1379
1189
  ]
1380
1190
  },
@@ -1382,39 +1192,43 @@
1382
1192
  "VersionLib": [
1383
1193
  {
1384
1194
  "length": 20,
1385
- "start": 1922
1195
+ "start": 1733
1386
1196
  },
1387
1197
  {
1388
1198
  "length": 20,
1389
- "start": 2636
1199
+ "start": 2238
1390
1200
  }
1391
1201
  ],
1392
1202
  "VersionPartLib": [
1393
1203
  {
1394
1204
  "length": 20,
1395
- "start": 4096
1396
- },
1397
- {
1398
- "length": 20,
1399
- "start": 8253
1205
+ "start": 3860
1400
1206
  }
1401
1207
  ]
1402
1208
  }
1403
1209
  },
1404
1210
  "deployedLinkReferences": {
1211
+ "contracts/shared/ContractLib.sol": {
1212
+ "ContractLib": [
1213
+ {
1214
+ "length": 20,
1215
+ "start": 7934
1216
+ }
1217
+ ]
1218
+ },
1405
1219
  "contracts/type/NftId.sol": {
1406
1220
  "NftIdLib": [
1407
1221
  {
1408
1222
  "length": 20,
1409
- "start": 1862
1223
+ "start": 1673
1410
1224
  },
1411
1225
  {
1412
1226
  "length": 20,
1413
- "start": 4462
1227
+ "start": 3945
1414
1228
  },
1415
1229
  {
1416
1230
  "length": 20,
1417
- "start": 6719
1231
+ "start": 5258
1418
1232
  }
1419
1233
  ]
1420
1234
  },
@@ -1422,7 +1236,7 @@
1422
1236
  "RoleIdLib": [
1423
1237
  {
1424
1238
  "length": 20,
1425
- "start": 3834
1239
+ "start": 3485
1426
1240
  }
1427
1241
  ]
1428
1242
  },
@@ -1430,21 +1244,17 @@
1430
1244
  "VersionLib": [
1431
1245
  {
1432
1246
  "length": 20,
1433
- "start": 1708
1247
+ "start": 1519
1434
1248
  },
1435
1249
  {
1436
1250
  "length": 20,
1437
- "start": 2422
1251
+ "start": 2024
1438
1252
  }
1439
1253
  ],
1440
1254
  "VersionPartLib": [
1441
1255
  {
1442
1256
  "length": 20,
1443
- "start": 3882
1444
- },
1445
- {
1446
- "length": 20,
1447
- "start": 8039
1257
+ "start": 3646
1448
1258
  }
1449
1259
  ]
1450
1260
  }