@etherisc/gif-next 0.0.2-d5b7b78-706 → 0.0.2-d5fac82-078

Sign up to get free protection for your applications and to get access to all the features.
Files changed (453) hide show
  1. package/README.md +8 -84
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +90 -14
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1575 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +851 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +145 -14
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +110 -283
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +6 -6
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +310 -2004
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +104 -55
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +420 -2725
  20. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +746 -0
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +188 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +366 -71
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +179 -214
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +121 -95
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2847 -0
  32. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  33. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -1
  34. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  35. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +49 -0
  36. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  37. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  38. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +61 -12
  39. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  40. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +8 -8
  41. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  42. package/artifacts/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol}/ObjectManager.json +3 -3
  43. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  44. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +1 -130
  45. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  47. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  48. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  52. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  53. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1307 -0
  54. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  55. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +767 -0
  56. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  57. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +234 -129
  58. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  59. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +162 -21
  60. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  61. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1077 -0
  62. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  63. package/artifacts/contracts/{components → pool}/Pool.sol/Pool.json +91 -21
  64. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  65. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1641 -0
  66. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  67. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +779 -0
  68. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  69. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +937 -0
  70. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +719 -0
  72. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  73. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1405 -0
  74. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  75. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +819 -0
  76. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  77. package/artifacts/contracts/{instance/service/IClaimService.sol/IClaimService.json → product/IApplicationService.sol/IApplicationService.json} +184 -100
  78. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +753 -0
  80. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  81. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +211 -100
  82. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  83. package/artifacts/contracts/{instance/service/IApplicationService.sol/IApplicationService.json → product/IPricingService.sol/IPricingService.json} +120 -166
  84. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  85. package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +152 -21
  86. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  87. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +86 -28
  88. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  89. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1300 -0
  90. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +811 -0
  92. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  93. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1023 -0
  94. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  95. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +759 -0
  96. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  97. package/artifacts/contracts/{components → product}/Product.sol/Product.json +82 -22
  98. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  99. package/artifacts/contracts/product/ProductService.sol/ProductService.json +883 -0
  100. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  101. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +711 -0
  102. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  104. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +110 -30
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +165 -84
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +133 -45
  110. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  111. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +305 -0
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +209 -104
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +103 -55
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +542 -86
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +20 -35
  120. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
  121. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
  122. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
  123. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1715 -0
  124. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
  125. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1728 -0
  126. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
  127. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1747 -0
  128. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
  129. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1765 -0
  130. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  131. package/artifacts/contracts/{instance → shared}/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +3 -3
  132. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  133. package/artifacts/contracts/{components → shared}/Component.sol/Component.json +67 -7
  134. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  135. package/artifacts/contracts/{instance/base → shared}/ComponentService.sol/ComponentService.json +133 -35
  136. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  137. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
  138. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
  139. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
  140. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1594 -0
  141. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  142. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +138 -7
  143. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  144. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +0 -13
  145. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  146. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +69 -9
  147. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  148. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +0 -13
  149. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  150. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  151. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  152. package/artifacts/contracts/shared/IService.sol/IService.json +85 -27
  153. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  154. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  155. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +23 -43
  156. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  157. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +80 -26
  158. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  159. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +81 -33
  160. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  161. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +27 -21
  162. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  163. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  164. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  165. package/artifacts/contracts/shared/Service.sol/Service.json +110 -28
  166. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  167. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
  168. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  169. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  170. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  171. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  172. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +523 -0
  173. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  174. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +786 -0
  175. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  176. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +699 -0
  177. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  178. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  179. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  180. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  181. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  182. package/artifacts/contracts/{types → type}/Blocknumber.sol/BlocknumberLib.json +3 -3
  183. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  184. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  185. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  186. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  187. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  188. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  189. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  190. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  191. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  192. package/artifacts/contracts/{types → type}/NftId.sol/NftIdLib.json +5 -5
  193. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  194. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  195. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  196. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  197. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  198. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  199. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  200. package/artifacts/contracts/{types → type}/Referral.sol/ReferralLib.json +5 -5
  201. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  202. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  203. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  204. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  205. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  206. package/artifacts/contracts/{types → type}/Seconds.sol/SecondsLib.json +3 -3
  207. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  208. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  209. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  210. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +20 -7
  211. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  212. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  213. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  214. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  215. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  216. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  217. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  218. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  219. package/contracts/{components → distribution}/Distribution.sol +21 -16
  220. package/contracts/distribution/DistributionService.sol +351 -0
  221. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  222. package/contracts/{components → distribution}/IDistributionComponent.sol +7 -7
  223. package/contracts/{instance/service → distribution}/IDistributionService.sol +19 -30
  224. package/contracts/instance/BundleManager.sol +8 -9
  225. package/contracts/instance/IInstance.sol +45 -66
  226. package/contracts/instance/IInstanceService.sol +21 -20
  227. package/contracts/instance/Instance.sol +121 -218
  228. package/contracts/instance/InstanceAdmin.sol +354 -0
  229. package/contracts/instance/InstanceAuthorizationsLib.sol +320 -0
  230. package/contracts/instance/InstanceReader.sol +96 -18
  231. package/contracts/instance/InstanceService.sol +120 -317
  232. package/contracts/instance/InstanceServiceManager.sol +11 -21
  233. package/contracts/instance/InstanceStore.sol +211 -0
  234. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +1 -1
  235. package/contracts/instance/base/IKeyValueStore.sol +14 -10
  236. package/contracts/instance/base/ILifecycle.sol +3 -3
  237. package/contracts/instance/base/KeyValueStore.sol +39 -45
  238. package/contracts/instance/base/Lifecycle.sol +17 -5
  239. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +7 -7
  240. package/contracts/instance/module/IAccess.sol +3 -13
  241. package/contracts/instance/module/IBundle.sol +10 -8
  242. package/contracts/instance/module/IComponents.sol +11 -5
  243. package/contracts/instance/module/IDistribution.sol +7 -6
  244. package/contracts/instance/module/IPolicy.sol +22 -16
  245. package/contracts/instance/module/IRisk.sol +1 -1
  246. package/contracts/instance/module/ISetup.sol +4 -4
  247. package/contracts/instance/module/ITreasury.sol +2 -2
  248. package/contracts/pool/BundleService.sol +384 -0
  249. package/contracts/pool/BundleServiceManager.sol +42 -0
  250. package/contracts/pool/IBundleService.sol +118 -0
  251. package/contracts/{components → pool}/IPoolComponent.sol +14 -13
  252. package/contracts/pool/IPoolService.sol +114 -0
  253. package/contracts/{components → pool}/Pool.sol +25 -22
  254. package/contracts/pool/PoolService.sol +404 -0
  255. package/contracts/pool/PoolServiceManager.sol +42 -0
  256. package/contracts/product/ApplicationService.sol +187 -0
  257. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +11 -8
  258. package/contracts/product/ClaimService.sol +443 -0
  259. package/contracts/{instance/service → product}/ClaimServiceManager.sol +11 -8
  260. package/contracts/{instance/service → product}/IApplicationService.sol +14 -34
  261. package/contracts/product/IClaimService.sol +93 -0
  262. package/contracts/{instance/service → product}/IPolicyService.sol +34 -26
  263. package/contracts/product/IPricingService.sol +37 -0
  264. package/contracts/{components → product}/IProductComponent.sol +11 -10
  265. package/contracts/{instance/service → product}/IProductService.sol +10 -10
  266. package/contracts/product/PolicyService.sol +378 -0
  267. package/contracts/product/PolicyServiceManager.sol +42 -0
  268. package/contracts/product/PricingService.sol +276 -0
  269. package/contracts/product/PricingServiceManager.sol +42 -0
  270. package/contracts/{components → product}/Product.sol +160 -74
  271. package/contracts/product/ProductService.sol +212 -0
  272. package/contracts/product/ProductServiceManager.sol +42 -0
  273. package/contracts/registry/IRegistry.sol +28 -17
  274. package/contracts/registry/IRegistryService.sol +29 -37
  275. package/contracts/registry/Registry.sol +46 -48
  276. package/contracts/registry/RegistryAdmin.sol +143 -0
  277. package/contracts/registry/RegistryService.sol +37 -88
  278. package/contracts/registry/RegistryServiceManager.sol +21 -23
  279. package/contracts/registry/ReleaseManager.sol +318 -177
  280. package/contracts/registry/TokenRegistry.sol +6 -4
  281. package/contracts/shared/AccessManagerCustom.sol +736 -0
  282. package/contracts/shared/AccessManagerExtended.sol +469 -0
  283. package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
  284. package/contracts/shared/AccessManagerExtendedWithDisable.sol +125 -0
  285. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
  286. package/contracts/{components → shared}/Component.sol +31 -11
  287. package/contracts/shared/ComponentService.sol +141 -0
  288. package/contracts/shared/IAccessManagerExtended.sol +74 -0
  289. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +17 -0
  290. package/contracts/{components → shared}/IComponent.sol +22 -6
  291. package/contracts/shared/INftOwnable.sol +1 -1
  292. package/contracts/shared/IPolicyHolder.sol +24 -10
  293. package/contracts/shared/IRegistryLinked.sol +0 -1
  294. package/contracts/shared/IService.sol +6 -6
  295. package/contracts/shared/IVersionable.sol +1 -1
  296. package/contracts/shared/NftOwnable.sol +13 -16
  297. package/contracts/shared/PolicyHolder.sol +31 -18
  298. package/contracts/shared/ProxyManager.sol +34 -3
  299. package/contracts/shared/Registerable.sol +12 -11
  300. package/contracts/shared/RegistryLinked.sol +0 -5
  301. package/contracts/shared/Service.sol +23 -9
  302. package/contracts/shared/TokenHandler.sol +4 -2
  303. package/contracts/shared/Versionable.sol +1 -1
  304. package/contracts/staking/IStakingService.sol +102 -0
  305. package/contracts/staking/StakingService.sol +169 -0
  306. package/contracts/staking/StakingServiceManager.sol +40 -0
  307. package/contracts/type/Amount.sol +109 -0
  308. package/contracts/{types → type}/ClaimId.sol +25 -2
  309. package/contracts/{types → type}/Fee.sol +16 -8
  310. package/contracts/{types → type}/NftIdSet.sol +1 -1
  311. package/contracts/{types → type}/ObjectType.sol +10 -5
  312. package/contracts/{types → type}/PayoutId.sol +33 -5
  313. package/contracts/{types → type}/RoleId.sol +50 -8
  314. package/contracts/{types → type}/StateId.sol +6 -2
  315. package/contracts/{types → type}/Timestamp.sol +5 -0
  316. package/package.json +1 -1
  317. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  318. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  319. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  320. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  321. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  322. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  323. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  324. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  325. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  326. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  327. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  328. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1311
  329. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  330. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  331. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  332. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -968
  333. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  334. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -665
  335. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  336. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1093
  337. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  338. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -661
  339. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  340. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -754
  341. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  342. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -637
  343. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  344. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1732
  345. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  346. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -805
  347. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  348. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  349. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  350. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  351. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  352. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  353. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -428
  354. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  355. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  356. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1021
  357. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  358. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -689
  359. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  360. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -824
  361. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  362. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -657
  363. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  364. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
  365. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  366. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -649
  367. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  368. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  369. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  370. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  371. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  372. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  373. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  374. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  375. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  376. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  377. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  378. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -521
  379. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  380. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  381. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  382. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  383. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  384. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  385. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  386. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  387. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  388. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  389. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  390. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  391. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  392. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  393. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  394. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  395. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  396. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  397. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  398. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  399. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  400. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  401. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  402. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  403. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  404. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  405. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  406. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  407. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  408. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  409. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  410. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  411. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  412. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  413. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  414. package/contracts/instance/InstanceAccessManager.sol +0 -522
  415. package/contracts/instance/base/ComponentService.sol +0 -134
  416. package/contracts/instance/service/ApplicationService.sol +0 -350
  417. package/contracts/instance/service/BundleService.sol +0 -336
  418. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  419. package/contracts/instance/service/ClaimService.sol +0 -151
  420. package/contracts/instance/service/DistributionService.sol +0 -467
  421. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  422. package/contracts/instance/service/IBundleService.sol +0 -62
  423. package/contracts/instance/service/IClaimService.sol +0 -61
  424. package/contracts/instance/service/IPoolService.sol +0 -35
  425. package/contracts/instance/service/PolicyService.sol +0 -403
  426. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  427. package/contracts/instance/service/PoolService.sol +0 -220
  428. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  429. package/contracts/instance/service/ProductService.sol +0 -241
  430. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  431. package/contracts/registry/RegistryAccessManager.sol +0 -216
  432. package/contracts/shared/ContractDeployerLib.sol +0 -72
  433. package/contracts/test/TestFee.sol +0 -25
  434. package/contracts/test/TestRegisterable.sol +0 -18
  435. package/contracts/test/TestRoleId.sol +0 -14
  436. package/contracts/test/TestService.sol +0 -25
  437. package/contracts/test/TestToken.sol +0 -26
  438. package/contracts/test/TestVersion.sol +0 -44
  439. package/contracts/test/TestVersionable.sol +0 -17
  440. package/contracts/test/Usdc.sol +0 -26
  441. package/contracts/types/ChainId.sol +0 -38
  442. package/contracts/types/NumberId.sol +0 -52
  443. /package/contracts/{instance → shared}/AccessManagerUpgradeableInitializeable.sol +0 -0
  444. /package/contracts/{types → type}/AddressSet.sol +0 -0
  445. /package/contracts/{types → type}/Blocknumber.sol +0 -0
  446. /package/contracts/{types → type}/DistributorType.sol +0 -0
  447. /package/contracts/{types → type}/Key32.sol +0 -0
  448. /package/contracts/{types → type}/NftId.sol +0 -0
  449. /package/contracts/{types → type}/Referral.sol +0 -0
  450. /package/contracts/{types → type}/RiskId.sol +0 -0
  451. /package/contracts/{types → type}/Seconds.sol +0 -0
  452. /package/contracts/{types → type}/UFixed.sol +0 -0
  453. /package/contracts/{types → type}/Version.sol +0 -0
@@ -41,17 +41,6 @@
41
41
  "name": "AccessManagedUnauthorized",
42
42
  "type": "error"
43
43
  },
44
- {
45
- "inputs": [
46
- {
47
- "internalType": "address",
48
- "name": "caller",
49
- "type": "address"
50
- }
51
- ],
52
- "name": "ErrorIServiceCallerUnknown",
53
- "type": "error"
54
- },
55
44
  {
56
45
  "inputs": [
57
46
  {
@@ -109,7 +98,7 @@
109
98
  "type": "address"
110
99
  }
111
100
  ],
112
- "name": "InvalidAddress",
101
+ "name": "ErrorRegistryServiceInvalidAddress",
113
102
  "type": "error"
114
103
  },
115
104
  {
@@ -120,77 +109,205 @@
120
109
  "type": "address"
121
110
  }
122
111
  ],
123
- "name": "InvalidInitialOwner",
112
+ "name": "ErrorRegistryServiceInvalidInitialOwner",
124
113
  "type": "error"
125
114
  },
126
115
  {
127
- "inputs": [],
128
- "name": "InvalidInitialization",
116
+ "inputs": [
117
+ {
118
+ "internalType": "address",
119
+ "name": "notDistribution",
120
+ "type": "address"
121
+ }
122
+ ],
123
+ "name": "ErrorRegistryServiceNotDistribution",
129
124
  "type": "error"
130
125
  },
131
126
  {
132
- "inputs": [],
133
- "name": "NotDistribution",
127
+ "inputs": [
128
+ {
129
+ "internalType": "address",
130
+ "name": "notInstance",
131
+ "type": "address"
132
+ }
133
+ ],
134
+ "name": "ErrorRegistryServiceNotInstance",
134
135
  "type": "error"
135
136
  },
136
137
  {
137
- "inputs": [],
138
- "name": "NotInitializing",
138
+ "inputs": [
139
+ {
140
+ "internalType": "address",
141
+ "name": "notPool",
142
+ "type": "address"
143
+ }
144
+ ],
145
+ "name": "ErrorRegistryServiceNotPool",
139
146
  "type": "error"
140
147
  },
141
148
  {
142
- "inputs": [],
143
- "name": "NotInstance",
149
+ "inputs": [
150
+ {
151
+ "internalType": "address",
152
+ "name": "notProduct",
153
+ "type": "address"
154
+ }
155
+ ],
156
+ "name": "ErrorRegistryServiceNotProduct",
144
157
  "type": "error"
145
158
  },
146
159
  {
147
160
  "inputs": [],
148
- "name": "NotPool",
161
+ "name": "ErrorRegistryServiceNotRegistryOwner",
149
162
  "type": "error"
150
163
  },
151
164
  {
152
- "inputs": [],
153
- "name": "NotProduct",
165
+ "inputs": [
166
+ {
167
+ "internalType": "address",
168
+ "name": "notService",
169
+ "type": "address"
170
+ }
171
+ ],
172
+ "name": "ErrorRegistryServiceNotService",
154
173
  "type": "error"
155
174
  },
156
175
  {
157
176
  "inputs": [
177
+ {
178
+ "internalType": "ObjectType",
179
+ "name": "objectType",
180
+ "type": "uint8"
181
+ }
182
+ ],
183
+ "name": "ErrorRegistryServiceObjectAddressNotZero",
184
+ "type": "error"
185
+ },
186
+ {
187
+ "inputs": [
188
+ {
189
+ "internalType": "ObjectType",
190
+ "name": "objectType",
191
+ "type": "uint8"
192
+ },
158
193
  {
159
194
  "internalType": "address",
160
- "name": "expectedOwner",
195
+ "name": "owner",
161
196
  "type": "address"
162
197
  }
163
198
  ],
164
- "name": "NotRegisterableOwner",
199
+ "name": "ErrorRegistryServiceObjectOwnerRegistered",
165
200
  "type": "error"
166
201
  },
167
202
  {
168
- "inputs": [],
169
- "name": "NotRegistryOwner",
203
+ "inputs": [
204
+ {
205
+ "internalType": "ObjectType",
206
+ "name": "objectType",
207
+ "type": "uint8"
208
+ }
209
+ ],
210
+ "name": "ErrorRegistryServiceObjectOwnerZero",
170
211
  "type": "error"
171
212
  },
172
213
  {
173
- "inputs": [],
174
- "name": "NotService",
214
+ "inputs": [
215
+ {
216
+ "internalType": "ObjectType",
217
+ "name": "expected",
218
+ "type": "uint8"
219
+ },
220
+ {
221
+ "internalType": "ObjectType",
222
+ "name": "found",
223
+ "type": "uint8"
224
+ }
225
+ ],
226
+ "name": "ErrorRegistryServiceObjectTypeInvalid",
175
227
  "type": "error"
176
228
  },
177
229
  {
178
- "inputs": [],
179
- "name": "RegisterableOwnerIsRegistered",
230
+ "inputs": [
231
+ {
232
+ "internalType": "contract IRegisterable",
233
+ "name": "registerable",
234
+ "type": "address"
235
+ },
236
+ {
237
+ "internalType": "address",
238
+ "name": "found",
239
+ "type": "address"
240
+ }
241
+ ],
242
+ "name": "ErrorRegistryServiceRegisterableAddressInvalid",
180
243
  "type": "error"
181
244
  },
182
245
  {
183
- "inputs": [],
184
- "name": "RegisterableOwnerIsZero",
246
+ "inputs": [
247
+ {
248
+ "internalType": "contract IRegisterable",
249
+ "name": "registerable",
250
+ "type": "address"
251
+ },
252
+ {
253
+ "internalType": "address",
254
+ "name": "expected",
255
+ "type": "address"
256
+ },
257
+ {
258
+ "internalType": "address",
259
+ "name": "found",
260
+ "type": "address"
261
+ }
262
+ ],
263
+ "name": "ErrorRegistryServiceRegisterableOwnerInvalid",
185
264
  "type": "error"
186
265
  },
187
266
  {
188
- "inputs": [],
189
- "name": "SelfRegistration",
267
+ "inputs": [
268
+ {
269
+ "internalType": "contract IRegisterable",
270
+ "name": "registerable",
271
+ "type": "address"
272
+ },
273
+ {
274
+ "internalType": "address",
275
+ "name": "owner",
276
+ "type": "address"
277
+ }
278
+ ],
279
+ "name": "ErrorRegistryServiceRegisterableOwnerRegistered",
280
+ "type": "error"
281
+ },
282
+ {
283
+ "inputs": [
284
+ {
285
+ "internalType": "contract IRegisterable",
286
+ "name": "registerable",
287
+ "type": "address"
288
+ }
289
+ ],
290
+ "name": "ErrorRegistryServiceRegisterableOwnerZero",
291
+ "type": "error"
292
+ },
293
+ {
294
+ "inputs": [
295
+ {
296
+ "internalType": "contract IRegisterable",
297
+ "name": "registerable",
298
+ "type": "address"
299
+ }
300
+ ],
301
+ "name": "ErrorRegistryServiceRegisterableSelfRegistration",
190
302
  "type": "error"
191
303
  },
192
304
  {
193
305
  "inputs": [
306
+ {
307
+ "internalType": "contract IRegisterable",
308
+ "name": "registerable",
309
+ "type": "address"
310
+ },
194
311
  {
195
312
  "internalType": "ObjectType",
196
313
  "name": "expected",
@@ -202,7 +319,22 @@
202
319
  "type": "uint8"
203
320
  }
204
321
  ],
205
- "name": "UnexpectedRegisterableType",
322
+ "name": "ErrorRegistryServiceRegisterableTypeInvalid",
323
+ "type": "error"
324
+ },
325
+ {
326
+ "inputs": [],
327
+ "name": "ErrorServiceNotImplemented",
328
+ "type": "error"
329
+ },
330
+ {
331
+ "inputs": [],
332
+ "name": "InvalidInitialization",
333
+ "type": "error"
334
+ },
335
+ {
336
+ "inputs": [],
337
+ "name": "NotInitializing",
206
338
  "type": "error"
207
339
  },
208
340
  {
@@ -296,31 +428,6 @@
296
428
  "stateMutability": "pure",
297
429
  "type": "function"
298
430
  },
299
- {
300
- "inputs": [],
301
- "name": "getFunctionConfigs",
302
- "outputs": [
303
- {
304
- "components": [
305
- {
306
- "internalType": "ObjectType",
307
- "name": "serviceDomain",
308
- "type": "uint8"
309
- },
310
- {
311
- "internalType": "bytes4[]",
312
- "name": "selectors",
313
- "type": "bytes4[]"
314
- }
315
- ],
316
- "internalType": "struct IRegistryService.FunctionConfig[]",
317
- "name": "config",
318
- "type": "tuple[]"
319
- }
320
- ],
321
- "stateMutability": "pure",
322
- "type": "function"
323
- },
324
431
  {
325
432
  "inputs": [],
326
433
  "name": "getInitialInfo",
@@ -371,19 +478,6 @@
371
478
  "stateMutability": "view",
372
479
  "type": "function"
373
480
  },
374
- {
375
- "inputs": [],
376
- "name": "getMajorVersion",
377
- "outputs": [
378
- {
379
- "internalType": "VersionPart",
380
- "name": "majorVersion",
381
- "type": "uint8"
382
- }
383
- ],
384
- "stateMutability": "view",
385
- "type": "function"
386
- },
387
481
  {
388
482
  "inputs": [],
389
483
  "name": "getNftId",
@@ -423,19 +517,6 @@
423
517
  "stateMutability": "view",
424
518
  "type": "function"
425
519
  },
426
- {
427
- "inputs": [],
428
- "name": "getRegistryAddress",
429
- "outputs": [
430
- {
431
- "internalType": "address",
432
- "name": "",
433
- "type": "address"
434
- }
435
- ],
436
- "stateMutability": "view",
437
- "type": "function"
438
- },
439
520
  {
440
521
  "inputs": [],
441
522
  "name": "getVersion",
@@ -532,6 +613,11 @@
532
613
  "name": "registry",
533
614
  "type": "address"
534
615
  },
616
+ {
617
+ "internalType": "address",
618
+ "name": "authority",
619
+ "type": "address"
620
+ },
535
621
  {
536
622
  "internalType": "address",
537
623
  "name": "initialOwner",
@@ -574,6 +660,25 @@
574
660
  "stateMutability": "view",
575
661
  "type": "function"
576
662
  },
663
+ {
664
+ "inputs": [
665
+ {
666
+ "internalType": "address",
667
+ "name": "nftOwnableAddress",
668
+ "type": "address"
669
+ }
670
+ ],
671
+ "name": "linkToNftOwnable",
672
+ "outputs": [
673
+ {
674
+ "internalType": "NftId",
675
+ "name": "",
676
+ "type": "uint96"
677
+ }
678
+ ],
679
+ "stateMutability": "nonpayable",
680
+ "type": "function"
681
+ },
577
682
  {
578
683
  "inputs": [],
579
684
  "name": "linkToRegisteredNftId",
@@ -1108,68 +1213,68 @@
1108
1213
  "type": "function"
1109
1214
  }
1110
1215
  ],
1111
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612d7080620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063675393bf1161011a578063b68d1809116100ad578063cde749f41161007c578063cde749f414610483578063ea8665721461048b578063ed841d0c1461049e578063f21de1e814610344578063f7c34ee0146104a657600080fd5b8063b68d18091461043e578063bf7e214f14610453578063c13de9971461045b578063c2bf08c81461047057600080fd5b8063893d20e8116100e9578063893d20e8146103f95780638fb36037146104015780638fbc2d8114610416578063ada9652e1461042957600080fd5b8063675393bf146103ad5780637286e5e5146103c05780637a9e5e4b146103d35780638105cc7f146103e657600080fd5b8063329d6e74116101925780635ab1bd53116101615780635ab1bd53146103445780635c992fed146103695780635d9662891461037c578063644c45e01461038f57600080fd5b8063329d6e74146102eb57806336fc697e146102fe57806349bb9e4b1461030657806357a8fba71461031957600080fd5b8063138461e0116101ce578063138461e0146102865780631eff4b2214610290578063214cdb80146102c557806327bb7a33146102d857600080fd5b806301ffc9a714610200578063026bc43b146102425780630d8e6e2c146102625780630fec111c1461027e575b600080fd5b61022d61020e3660046122fe565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610255610250366004612354565b6104b9565b60405161023991906123dd565b61026a610657565b60405162ffffff9091168152602001610239565b6102556106e1565b61028e61087d565b005b6102b77f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b61028e6102d33660046122fe565b610a84565b61028e6102e63660046125a6565b610ab1565b61028e6102f936600461263e565b610b3d565b61028e610c8a565b61028e610314366004612672565b610cd0565b61032c6103273660046126c1565b610dcf565b6040516001600160601b039091168152602001610239565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610239565b61032c6103773660046126c1565b610e5e565b61025561038a366004612354565b610e74565b600080516020612cdb833981519152546001600160601b031661032c565b61028e6103bb366004612793565b610fb4565b6102556103ce366004612354565b6110c7565b61028e6103e1366004612793565b611174565b61032c6103f43660046126c1565b6111f7565b61035161120d565b610409611344565b60405161023991906127b0565b610255610424366004612354565b61137c565b6102b7600080516020612cdb83398151915281565b60285b60405160ff9091168152602001610239565b610351611429565b610463611445565b60405161023991906127c5565b61032c61047e3660046126c1565b611a31565b610441611a47565b61028e610499366004612354565b611abe565b6102b7600081565b61028e6104b4366004612354565b611b56565b6104c16122c0565b6104ce335b600036611bcd565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906105019063200c173160e01b906004016127b0565b602060405180830381865afa15801561051e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610542919061287d565b61055f57604051636795c76360e01b815260040160405180910390fd5b61056c8360465b84611cd3565b90506105806001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105ab91906123dd565b6020604051808303816000875af11580156105ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ee91906128a5565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561063957600080fd5b505af115801561064d573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156106b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106dc91906128c2565b905090565b6106e96122c0565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191610779906128e7565b80601f01602080910402602001604051908101604052809291908181526020018280546107a5906128e7565b80156107f25780601f106107c7576101008083540402835291602001916107f2565b820191906000526020600020905b8154815290600101906020018083116107d557829003601f168201915b50505050508152505090506040518060e00160405280610810600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b0316815260200161086161120d565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020612cdb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610910919061287d565b156109415780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306109546001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561099c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c0919061287d565b6109e85760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610938565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610a3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6091906128a5565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610a8c611ec3565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610ab9611ec3565b610ac38287611b56565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610b338382612967565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610b5f610657565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc39190612a26565b600080516020612d1b8339815191528054600160401b900460ff1680610bf6575080546001600160401b03808416911610155b15610c145760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610c3e83611efc565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610c92611ec3565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020612d1b8339815191528054600160401b810460ff1615906001600160401b0316600081158015610d035750825b90506000826001600160401b03166001148015610d1f5750303b155b905081158015610d2d575080155b15610d4b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d7557845460ff60401b1916600160401b1785555b610d7f8787611f04565b8315610dc657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610dda336104c6565b610de582607a61202b565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610e159085906004016123dd565b6020604051808303816000875af1158015610e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5891906128a5565b92915050565b6000610e69336104c6565b610de58260d361202b565b610e7c6122c0565b610e85336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610eb890631e63cf4560e01b906004016127b0565b602060405180830381865afa158015610ed5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef9919061287d565b610f1657604051637a71998760e01b815260040160405180910390fd5b610f2183606e610566565b9050610f356001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610f6091906123dd565b6020604051808303816000875af1158015610f7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa391906128a5565b6001600160601b0316815292915050565b610fbc611ec3565b806001600160a01b03163b600003610ff25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610938565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a79061103890630a3888e560e31b906004016127b0565b602060405180830381865afa925050508015611071575060408051601f3d908101601f1916820190925261106e9181019061287d565b60015b6110995760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610938565b806110c25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610938565b505b50565b6110cf6122c0565b6110d8336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061110b9063f20236f360e01b906004016127b0565b602060405180830381865afa158015611128573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114c919061287d565b61116957604051636f61f64160e01b815260040160405180910390fd5b610f2183608c610566565b3361117d611429565b6001600160a01b0316816001600160a01b0316146111b85760405162d1953b60e31b81526001600160a01b0382166004820152602401610938565b816001600160a01b03163b6000036111ee576040516361798f2f60e11b81526001600160a01b0383166004820152602401610938565b6110c282612136565b6000611202336104c6565b610de582605061202b565b600080600080516020612cdb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561127d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a1919061287d565b1561132e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611304573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113289190612a5a565b91505090565b54600160601b90046001600160a01b0316919050565b600080516020612cfb833981519152805460009190600160a01b900460ff1661136e576000611328565b638fb3603760e01b91505090565b6113846122c0565b61138d336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906113c090637895d0ed60e01b906004016127b0565b602060405180830381865afa1580156113dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611401919061287d565b61141e576040516308707e3160e41b815260040160405180910390fd5b610f21836078610566565b600080516020612cfb833981519152546001600160a01b031690565b6040805160088082526101208201909252606091816020015b60408051808201909152600081526060602082015281526020019060019003908161145e57905050905061149060d390565b816000815181106114a3576114a3612a77565b60209081029190910181015160ff929092169091526040805160008082529281019091529050816000815181106114dc576114dc612a77565b6020026020010151602001819052506114f360d290565b8160018151811061150657611506612a77565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160018151811061154c5761154c612a77565b602002602001015160200181905250635c992fed60e01b8160018151811061157657611576612a77565b60200260200101516020015160008151811061159457611594612a77565b6001600160e01b0319909216602092830291909101909101526115b560d490565b816002815181106115c8576115c8612a77565b60209081029190910181015160ff92909216909152604080516000815291820190528151829060029081106115ff576115ff612a77565b60200260200101516020018190525061161660dc90565b8160038151811061162957611629612a77565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160038151811061166f5761166f612a77565b60200260200101516020018190525063c2bf08c860e01b8160038151811061169957611699612a77565b6020026020010151602001516000815181106116b7576116b7612a77565b6001600160e01b0319909216602092830291909101909101526116d8606e90565b816004815181106116eb576116eb612a77565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160048151811061173157611731612a77565b602002602001015160200181905250635d96628960e01b8160048151811061175b5761175b612a77565b60200260200101516020015160008151811061177957611779612a77565b6001600160e01b03199092166020928302919091019091015261179a608c90565b816005815181106117ad576117ad612a77565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816005815181106117f3576117f3612a77565b602002602001015160200181905250637286e5e560e01b8160058151811061181d5761181d612a77565b60200260200101516020015160008151811061183b5761183b612a77565b6001600160e01b03199092166020928302919091019091015261185c607890565b8160068151811061186f5761186f612a77565b602090810291909101015160ff919091169052604080516002808252606082019092529081602001602082028036833701905050816006815181106118b6576118b6612a77565b602002602001015160200181905250638fbc2d8160e01b816006815181106118e0576118e0612a77565b6020026020010151602001516000815181106118fe576118fe612a77565b6001600160e01b03199092166020928302919091019091015280516357a8fba760e01b908290600690811061193557611935612a77565b60200260200101516020015160018151811061195357611953612a77565b6001600160e01b031990921660209283029190910190910152611974604690565b8160078151811061198757611987612a77565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816007815181106119cd576119cd612a77565b60200260200101516020018190525063026bc43b60e01b816007815181106119f7576119f7612a77565b602002602001015160200151600081518110611a1557611a15612a77565b6001600160e01b03199092166020928302919091019091015290565b6000611a3c336104c6565b610de58260dc61202b565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611a9a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106dc9190612a98565b611ac6611ec3565b611b4682836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2c91906128a5565b603c60008560405180602001604052806000815250610ab1565b6110c2637b6a51fd60e01b610a84565b611b5e611ec3565b611b6781610fb4565b611b6f610c8a565b6001600160a01b038216611b965760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612cdb83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020612cfb833981519152600080611c08611bea611429565b8730611bfa600460008a8c612ab5565b611c0391612adf565b612197565b9150915081611ccb5763ffffffff811615611ca857825460ff60a01b1916600160a01b178355611c36611429565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c6593929190612b0f565b600060405180830381600087803b158015611c7f57600080fd5b505af1158015611c93573d6000803e3d6000fd5b5050845460ff60a01b1916855550611ccb9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610938565b505050505050565b611cdb6122c0565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611d19573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d419190810190612b94565b6001600160a01b0385166080820152604081015190915060ff848116911614611d90576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610938565b60a08101516001600160a01b0380821690841614611dcc5760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610938565b846001600160a01b0316816001600160a01b031603611dfe576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611e2557604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e9d919061287d565b15611ebb57604051637142ceb360e11b815260040160405180910390fd5b509392505050565b600080516020612d1b83398151915254600160401b900460ff16611efa57604051631afcd79f60e31b815260040160405180910390fd5b565b6101fb611ec3565b600080516020612d1b8339815191528054600160401b810460ff1615906001600160401b0316600081158015611f375750825b90506000826001600160401b03166001148015611f535750303b155b905081158015611f61575080155b15611f7f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611fa957845460ff60401b1916600160401b1785555b60008087806020019051810190611fc09190612c57565b91509150611fcd816122a3565b611fd7828a611abe565b611fe763aa745bc360e01b610a84565b50508315610dc657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610dbd565b60006080830152604082015160ff82811691161461206f576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610938565b60a08201516001600160a01b03811661209b57604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156120ef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612113919061287d565b1561213157604051637142ceb360e11b815260040160405180910390fd5b505050565b600080516020612cfb83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516122069190612c86565b600060405180830381855afa9150503d8060008114612241576040519150601f19603f3d011682016040523d82523d6000602084013e612246565b606091505b50915091508115612298576040815110612278578080602001905181019061226e9190612ca2565b9094509250612298565b60208151106122985780806020019051810190612295919061287d565b93505b505094509492505050565b6122ab611ec3565b6110c4816122b7611ec3565b6110c481612136565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561231057600080fd5b81356001600160e01b03198116811461232857600080fd5b9392505050565b6001600160a01b03811681146110c457600080fd5b803561234f8161232f565b919050565b6000806040838503121561236757600080fd5b82356123728161232f565b915060208301356123828161232f565b809150509250929050565b60005b838110156123a8578181015183820152602001612390565b50506000910152565b600081518084526123c981602086016020860161238d565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161244660c08401826001600160a01b03169052565b5060c083015160e0808401526124606101008401826123b1565b949350505050565b6001600160601b03811681146110c457600080fd5b803561234f81612468565b60ff811681146110c457600080fd5b803561234f81612488565b80151581146110c457600080fd5b803561234f816124a2565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156124f3576124f36124bb565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612521576125216124bb565b604052919050565b60006001600160401b03821115612542576125426124bb565b50601f01601f191660200190565b600082601f83011261256157600080fd5b813561257461256f82612529565b6124f9565b81815284602083860101111561258957600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156125bf57600080fd5b86356125ca8161232f565b955060208701356125da81612468565b945060408701356125ea81612488565b935060608701356125fa816124a2565b9250608087013561260a8161232f565b915060a08701356001600160401b0381111561262557600080fd5b61263189828a01612550565b9150509295509295509295565b60006020828403121561265057600080fd5b81356001600160401b0381111561266657600080fd5b61246084828501612550565b6000806040838503121561268557600080fd5b82356126908161232f565b915060208301356001600160401b038111156126ab57600080fd5b6126b785828601612550565b9150509250929050565b6000602082840312156126d357600080fd5b81356001600160401b03808211156126ea57600080fd5b9083019060e082860312156126fe57600080fd5b6127066124d1565b61270f8361247d565b815261271d6020840161247d565b602082015261272e60408401612497565b604082015261273f606084016124b0565b606082015261275060808401612344565b608082015261276160a08401612344565b60a082015260c08301358281111561277857600080fd5b61278487828601612550565b60c08301525095945050505050565b6000602082840312156127a557600080fd5b81356123288161232f565b6001600160e01b031991909116815260200190565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561286357898403603f190186528251805160ff168552880151888501889052805188860181905290890190839060608701905b8083101561284e5783516001600160e01b0319168252928b019260019290920191908b0190612824565b50978a019795505050918701916001016127ed565b50919998505050505050505050565b805161234f816124a2565b60006020828403121561288f57600080fd5b8151612328816124a2565b805161234f81612468565b6000602082840312156128b757600080fd5b815161232881612468565b6000602082840312156128d457600080fd5b815162ffffff8116811461232857600080fd5b600181811c908216806128fb57607f821691505b60208210810361291b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561213157600081815260208120601f850160051c810160208610156129485750805b601f850160051c820191505b81811015611ccb57828155600101612954565b81516001600160401b03811115612980576129806124bb565b6129948161298e84546128e7565b84612921565b602080601f8311600181146129c957600084156129b15750858301515b600019600386901b1c1916600185901b178555611ccb565b600085815260208120601f198616915b828110156129f8578886015182559484019460019091019084016129d9565b5085821015612a165787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612a3857600080fd5b81516001600160401b038116811461232857600080fd5b805161234f8161232f565b600060208284031215612a6c57600080fd5b81516123288161232f565b634e487b7160e01b600052603260045260246000fd5b805161234f81612488565b600060208284031215612aaa57600080fd5b815161232881612488565b60008085851115612ac557600080fd5b83861115612ad257600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612b075780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612b6057600080fd5b8151612b6e61256f82612529565b818152846020838601011115612b8357600080fd5b61246082602083016020870161238d565b600060208284031215612ba657600080fd5b81516001600160401b0380821115612bbd57600080fd5b9083019060e08286031215612bd157600080fd5b612bd96124d1565b612be28361289a565b8152612bf06020840161289a565b6020820152612c0160408401612a8d565b6040820152612c1260608401612872565b6060820152612c2360808401612a4f565b6080820152612c3460a08401612a4f565b60a082015260c083015182811115612c4b57600080fd5b61278487828601612b4f565b60008060408385031215612c6a57600080fd5b8251612c758161232f565b60208401519092506123828161232f565b60008251612c9881846020870161238d565b9190910192915050565b60008060408385031215612cb557600080fd5b8251612cc0816124a2565b602084015190925063ffffffff8116811461238257600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220940b34c78eb07352021b38627d1690d2b589a29e696eeb65f217b0ceaef7004964736f6c63430008140033",
1112
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063675393bf1161011a578063b68d1809116100ad578063cde749f41161007c578063cde749f414610483578063ea8665721461048b578063ed841d0c1461049e578063f21de1e814610344578063f7c34ee0146104a657600080fd5b8063b68d18091461043e578063bf7e214f14610453578063c13de9971461045b578063c2bf08c81461047057600080fd5b8063893d20e8116100e9578063893d20e8146103f95780638fb36037146104015780638fbc2d8114610416578063ada9652e1461042957600080fd5b8063675393bf146103ad5780637286e5e5146103c05780637a9e5e4b146103d35780638105cc7f146103e657600080fd5b8063329d6e74116101925780635ab1bd53116101615780635ab1bd53146103445780635c992fed146103695780635d9662891461037c578063644c45e01461038f57600080fd5b8063329d6e74146102eb57806336fc697e146102fe57806349bb9e4b1461030657806357a8fba71461031957600080fd5b8063138461e0116101ce578063138461e0146102865780631eff4b2214610290578063214cdb80146102c557806327bb7a33146102d857600080fd5b806301ffc9a714610200578063026bc43b146102425780630d8e6e2c146102625780630fec111c1461027e575b600080fd5b61022d61020e3660046122fe565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610255610250366004612354565b6104b9565b60405161023991906123dd565b61026a610657565b60405162ffffff9091168152602001610239565b6102556106e1565b61028e61087d565b005b6102b77f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b61028e6102d33660046122fe565b610a84565b61028e6102e63660046125a6565b610ab1565b61028e6102f936600461263e565b610b3d565b61028e610c8a565b61028e610314366004612672565b610cd0565b61032c6103273660046126c1565b610dcf565b6040516001600160601b039091168152602001610239565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610239565b61032c6103773660046126c1565b610e5e565b61025561038a366004612354565b610e74565b600080516020612cdb833981519152546001600160601b031661032c565b61028e6103bb366004612793565b610fb4565b6102556103ce366004612354565b6110c7565b61028e6103e1366004612793565b611174565b61032c6103f43660046126c1565b6111f7565b61035161120d565b610409611344565b60405161023991906127b0565b610255610424366004612354565b61137c565b6102b7600080516020612cdb83398151915281565b60285b60405160ff9091168152602001610239565b610351611429565b610463611445565b60405161023991906127c5565b61032c61047e3660046126c1565b611a31565b610441611a47565b61028e610499366004612354565b611abe565b6102b7600081565b61028e6104b4366004612354565b611b56565b6104c16122c0565b6104ce335b600036611bcd565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906105019063200c173160e01b906004016127b0565b602060405180830381865afa15801561051e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610542919061287d565b61055f57604051636795c76360e01b815260040160405180910390fd5b61056c8360465b84611cd3565b90506105806001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105ab91906123dd565b6020604051808303816000875af11580156105ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ee91906128a5565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561063957600080fd5b505af115801561064d573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156106b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106dc91906128c2565b905090565b6106e96122c0565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191610779906128e7565b80601f01602080910402602001604051908101604052809291908181526020018280546107a5906128e7565b80156107f25780601f106107c7576101008083540402835291602001916107f2565b820191906000526020600020905b8154815290600101906020018083116107d557829003601f168201915b50505050508152505090506040518060e00160405280610810600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b0316815260200161086161120d565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020612cdb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610910919061287d565b156109415780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306109546001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561099c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c0919061287d565b6109e85760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610938565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610a3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6091906128a5565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610a8c611ec3565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610ab9611ec3565b610ac38287611b56565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610b338382612967565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610b5f610657565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc39190612a26565b600080516020612d1b8339815191528054600160401b900460ff1680610bf6575080546001600160401b03808416911610155b15610c145760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610c3e83611efc565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610c92611ec3565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020612d1b8339815191528054600160401b810460ff1615906001600160401b0316600081158015610d035750825b90506000826001600160401b03166001148015610d1f5750303b155b905081158015610d2d575080155b15610d4b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d7557845460ff60401b1916600160401b1785555b610d7f8787611f04565b8315610dc657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610dda336104c6565b610de582607a61202b565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610e159085906004016123dd565b6020604051808303816000875af1158015610e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5891906128a5565b92915050565b6000610e69336104c6565b610de58260d361202b565b610e7c6122c0565b610e85336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610eb890631e63cf4560e01b906004016127b0565b602060405180830381865afa158015610ed5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef9919061287d565b610f1657604051637a71998760e01b815260040160405180910390fd5b610f2183606e610566565b9050610f356001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610f6091906123dd565b6020604051808303816000875af1158015610f7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa391906128a5565b6001600160601b0316815292915050565b610fbc611ec3565b806001600160a01b03163b600003610ff25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610938565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a79061103890630a3888e560e31b906004016127b0565b602060405180830381865afa925050508015611071575060408051601f3d908101601f1916820190925261106e9181019061287d565b60015b6110995760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610938565b806110c25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610938565b505b50565b6110cf6122c0565b6110d8336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061110b9063f20236f360e01b906004016127b0565b602060405180830381865afa158015611128573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114c919061287d565b61116957604051636f61f64160e01b815260040160405180910390fd5b610f2183608c610566565b3361117d611429565b6001600160a01b0316816001600160a01b0316146111b85760405162d1953b60e31b81526001600160a01b0382166004820152602401610938565b816001600160a01b03163b6000036111ee576040516361798f2f60e11b81526001600160a01b0383166004820152602401610938565b6110c282612136565b6000611202336104c6565b610de582605061202b565b600080600080516020612cdb83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561127d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a1919061287d565b1561132e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611304573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113289190612a5a565b91505090565b54600160601b90046001600160a01b0316919050565b600080516020612cfb833981519152805460009190600160a01b900460ff1661136e576000611328565b638fb3603760e01b91505090565b6113846122c0565b61138d336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906113c090637895d0ed60e01b906004016127b0565b602060405180830381865afa1580156113dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611401919061287d565b61141e576040516308707e3160e41b815260040160405180910390fd5b610f21836078610566565b600080516020612cfb833981519152546001600160a01b031690565b6040805160088082526101208201909252606091816020015b60408051808201909152600081526060602082015281526020019060019003908161145e57905050905061149060d390565b816000815181106114a3576114a3612a77565b60209081029190910181015160ff929092169091526040805160008082529281019091529050816000815181106114dc576114dc612a77565b6020026020010151602001819052506114f360d290565b8160018151811061150657611506612a77565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160018151811061154c5761154c612a77565b602002602001015160200181905250635c992fed60e01b8160018151811061157657611576612a77565b60200260200101516020015160008151811061159457611594612a77565b6001600160e01b0319909216602092830291909101909101526115b560d490565b816002815181106115c8576115c8612a77565b60209081029190910181015160ff92909216909152604080516000815291820190528151829060029081106115ff576115ff612a77565b60200260200101516020018190525061161660dc90565b8160038151811061162957611629612a77565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160038151811061166f5761166f612a77565b60200260200101516020018190525063c2bf08c860e01b8160038151811061169957611699612a77565b6020026020010151602001516000815181106116b7576116b7612a77565b6001600160e01b0319909216602092830291909101909101526116d8606e90565b816004815181106116eb576116eb612a77565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160048151811061173157611731612a77565b602002602001015160200181905250635d96628960e01b8160048151811061175b5761175b612a77565b60200260200101516020015160008151811061177957611779612a77565b6001600160e01b03199092166020928302919091019091015261179a608c90565b816005815181106117ad576117ad612a77565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816005815181106117f3576117f3612a77565b602002602001015160200181905250637286e5e560e01b8160058151811061181d5761181d612a77565b60200260200101516020015160008151811061183b5761183b612a77565b6001600160e01b03199092166020928302919091019091015261185c607890565b8160068151811061186f5761186f612a77565b602090810291909101015160ff919091169052604080516002808252606082019092529081602001602082028036833701905050816006815181106118b6576118b6612a77565b602002602001015160200181905250638fbc2d8160e01b816006815181106118e0576118e0612a77565b6020026020010151602001516000815181106118fe576118fe612a77565b6001600160e01b03199092166020928302919091019091015280516357a8fba760e01b908290600690811061193557611935612a77565b60200260200101516020015160018151811061195357611953612a77565b6001600160e01b031990921660209283029190910190910152611974604690565b8160078151811061198757611987612a77565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816007815181106119cd576119cd612a77565b60200260200101516020018190525063026bc43b60e01b816007815181106119f7576119f7612a77565b602002602001015160200151600081518110611a1557611a15612a77565b6001600160e01b03199092166020928302919091019091015290565b6000611a3c336104c6565b610de58260dc61202b565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611a9a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106dc9190612a98565b611ac6611ec3565b611b4682836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2c91906128a5565b603c60008560405180602001604052806000815250610ab1565b6110c2637b6a51fd60e01b610a84565b611b5e611ec3565b611b6781610fb4565b611b6f610c8a565b6001600160a01b038216611b965760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612cdb83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020612cfb833981519152600080611c08611bea611429565b8730611bfa600460008a8c612ab5565b611c0391612adf565b612197565b9150915081611ccb5763ffffffff811615611ca857825460ff60a01b1916600160a01b178355611c36611429565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c6593929190612b0f565b600060405180830381600087803b158015611c7f57600080fd5b505af1158015611c93573d6000803e3d6000fd5b5050845460ff60a01b1916855550611ccb9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610938565b505050505050565b611cdb6122c0565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611d19573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d419190810190612b94565b6001600160a01b0385166080820152604081015190915060ff848116911614611d90576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610938565b60a08101516001600160a01b0380821690841614611dcc5760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610938565b846001600160a01b0316816001600160a01b031603611dfe576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611e2557604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e9d919061287d565b15611ebb57604051637142ceb360e11b815260040160405180910390fd5b509392505050565b600080516020612d1b83398151915254600160401b900460ff16611efa57604051631afcd79f60e31b815260040160405180910390fd5b565b6101fb611ec3565b600080516020612d1b8339815191528054600160401b810460ff1615906001600160401b0316600081158015611f375750825b90506000826001600160401b03166001148015611f535750303b155b905081158015611f61575080155b15611f7f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611fa957845460ff60401b1916600160401b1785555b60008087806020019051810190611fc09190612c57565b91509150611fcd816122a3565b611fd7828a611abe565b611fe763aa745bc360e01b610a84565b50508315610dc657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610dbd565b60006080830152604082015160ff82811691161461206f576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610938565b60a08201516001600160a01b03811661209b57604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156120ef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612113919061287d565b1561213157604051637142ceb360e11b815260040160405180910390fd5b505050565b600080516020612cfb83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516122069190612c86565b600060405180830381855afa9150503d8060008114612241576040519150601f19603f3d011682016040523d82523d6000602084013e612246565b606091505b50915091508115612298576040815110612278578080602001905181019061226e9190612ca2565b9094509250612298565b60208151106122985780806020019051810190612295919061287d565b93505b505094509492505050565b6122ab611ec3565b6110c4816122b7611ec3565b6110c481612136565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561231057600080fd5b81356001600160e01b03198116811461232857600080fd5b9392505050565b6001600160a01b03811681146110c457600080fd5b803561234f8161232f565b919050565b6000806040838503121561236757600080fd5b82356123728161232f565b915060208301356123828161232f565b809150509250929050565b60005b838110156123a8578181015183820152602001612390565b50506000910152565b600081518084526123c981602086016020860161238d565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161244660c08401826001600160a01b03169052565b5060c083015160e0808401526124606101008401826123b1565b949350505050565b6001600160601b03811681146110c457600080fd5b803561234f81612468565b60ff811681146110c457600080fd5b803561234f81612488565b80151581146110c457600080fd5b803561234f816124a2565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156124f3576124f36124bb565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612521576125216124bb565b604052919050565b60006001600160401b03821115612542576125426124bb565b50601f01601f191660200190565b600082601f83011261256157600080fd5b813561257461256f82612529565b6124f9565b81815284602083860101111561258957600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156125bf57600080fd5b86356125ca8161232f565b955060208701356125da81612468565b945060408701356125ea81612488565b935060608701356125fa816124a2565b9250608087013561260a8161232f565b915060a08701356001600160401b0381111561262557600080fd5b61263189828a01612550565b9150509295509295509295565b60006020828403121561265057600080fd5b81356001600160401b0381111561266657600080fd5b61246084828501612550565b6000806040838503121561268557600080fd5b82356126908161232f565b915060208301356001600160401b038111156126ab57600080fd5b6126b785828601612550565b9150509250929050565b6000602082840312156126d357600080fd5b81356001600160401b03808211156126ea57600080fd5b9083019060e082860312156126fe57600080fd5b6127066124d1565b61270f8361247d565b815261271d6020840161247d565b602082015261272e60408401612497565b604082015261273f606084016124b0565b606082015261275060808401612344565b608082015261276160a08401612344565b60a082015260c08301358281111561277857600080fd5b61278487828601612550565b60c08301525095945050505050565b6000602082840312156127a557600080fd5b81356123288161232f565b6001600160e01b031991909116815260200190565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561286357898403603f190186528251805160ff168552880151888501889052805188860181905290890190839060608701905b8083101561284e5783516001600160e01b0319168252928b019260019290920191908b0190612824565b50978a019795505050918701916001016127ed565b50919998505050505050505050565b805161234f816124a2565b60006020828403121561288f57600080fd5b8151612328816124a2565b805161234f81612468565b6000602082840312156128b757600080fd5b815161232881612468565b6000602082840312156128d457600080fd5b815162ffffff8116811461232857600080fd5b600181811c908216806128fb57607f821691505b60208210810361291b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561213157600081815260208120601f850160051c810160208610156129485750805b601f850160051c820191505b81811015611ccb57828155600101612954565b81516001600160401b03811115612980576129806124bb565b6129948161298e84546128e7565b84612921565b602080601f8311600181146129c957600084156129b15750858301515b600019600386901b1c1916600185901b178555611ccb565b600085815260208120601f198616915b828110156129f8578886015182559484019460019091019084016129d9565b5085821015612a165787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612a3857600080fd5b81516001600160401b038116811461232857600080fd5b805161234f8161232f565b600060208284031215612a6c57600080fd5b81516123288161232f565b634e487b7160e01b600052603260045260246000fd5b805161234f81612488565b600060208284031215612aaa57600080fd5b815161232881612488565b60008085851115612ac557600080fd5b83861115612ad257600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612b075780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612b6057600080fd5b8151612b6e61256f82612529565b818152846020838601011115612b8357600080fd5b61246082602083016020870161238d565b600060208284031215612ba657600080fd5b81516001600160401b0380821115612bbd57600080fd5b9083019060e08286031215612bd157600080fd5b612bd96124d1565b612be28361289a565b8152612bf06020840161289a565b6020820152612c0160408401612a8d565b6040820152612c1260608401612872565b6060820152612c2360808401612a4f565b6080820152612c3460a08401612a4f565b60a082015260c083015182811115612c4b57600080fd5b61278487828601612b4f565b60008060408385031215612c6a57600080fd5b8251612c758161232f565b60208401519092506123828161232f565b60008251612c9881846020870161238d565b9190910192915050565b60008060408385031215612cb557600080fd5b8251612cc0816124a2565b602084015190925063ffffffff8116811461238257600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220940b34c78eb07352021b38627d1690d2b589a29e696eeb65f217b0ceaef7004964736f6c63430008140033",
1216
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61291580620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80635d9662891161010f5780638fb36037116100a2578063bf7e214f11610071578063bf7e214f1461045d578063c2bf08c814610465578063ed841d0c14610478578063f7c34ee01461048057600080fd5b80638fb36037146104115780638fbc2d8114610426578063ada9652e14610439578063b68d18091461044e57600080fd5b80637a9e5e4b116100de5780637a9e5e4b146103d05780638105cc7f146103e3578063893d20e8146103f65780638e32e979146103fe57600080fd5b80635d96628914610379578063644c45e01461038c578063675393bf146103aa5780637286e5e5146103bd57600080fd5b806327bb7a331161018757806349bb9e4b1161015657806349bb9e4b1461031b57806357a8fba71461032e5780635ab1bd53146103415780635c992fed1461036657600080fd5b806327bb7a33146102c2578063329d6e74146102d557806336fc697e146102e857806340be2376146102f057600080fd5b80630fec111c116101c35780630fec111c14610268578063138461e0146102705780631eff4b221461027a578063214cdb80146102af57600080fd5b806301ffc9a7146101ea578063026bc43b1461022c5780630d8e6e2c1461024c575b600080fd5b6102176101f8366004611f0d565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a366004611f5e565b610493565b6040516102239190611fe7565b610254610641565b60405162ffffff9091168152602001610223565b61023f6106cb565b6102786107ec565b005b6102a17f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102786102bd366004611f0d565b6107f8565b6102786102d03660046121b0565b610825565b6102786102e3366004612248565b6108ca565b610278610a17565b6103036102fe36600461227c565b610a5d565b6040516001600160601b039091168152602001610223565b610278610329366004612299565b610aab565b61030361033c3660046122e8565b610baa565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6103036103743660046122e8565b610c33565b61023f610387366004611f5e565b610c49565b600080516020612880833981519152546001600160601b0316610303565b6102786103b836600461227c565b610d94565b61023f6103cb366004611f5e565b610ea6565b6102786103de36600461227c565b610f5e565b6103036103f13660046122e8565b610fe1565b61034e610ff7565b61027861040c3660046123ba565b61112e565b610419611367565b6040516102239190612405565b61023f610434366004611f5e565b61139f565b6102a160008051602061288083398151915281565b60405160288152602001610223565b61034e611457565b6103036104733660046122e8565b611473565b6102a1600081565b61027861048e366004611f5e565b611489565b61049b611ecf565b6104a8335b600036611500565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906104db90634b596f2560e11b90600401612405565b602060405180830381865afa1580156104f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051c9190612425565b61054957604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b6105568360465b84611606565b905061056a6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105959190611fe7565b6020604051808303816000875af11580156105b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d8919061244d565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561062357600080fd5b505af1158015610637573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156106a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c6919061246a565b905090565b6106d3611ecf565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a08101610748610ff7565b6001600160a01b031681526020018260010180546107659061248f565b80601f01602080910402602001604051908101604052809291908181526020018280546107919061248f565b80156107de5780601f106107b3576101008083540402835291602001916107de565b820191906000526020600020905b8154815290600101906020018083116107c157829003601f168201915b505050505081525091505090565b6107f53061187d565b50565b610800611a7e565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61082d611a7e565b6108378287611489565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016108c0838261250f565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6108ec610641565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801561092c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095091906125ce565b6000805160206128c08339815191528054600160401b900460ff1680610983575080546001600160401b03808416911610155b156109a15760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556109cb83611ab7565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610a1f611a7e565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000610a67610ff7565b6001600160a01b0316336001600160a01b031614610a9a5760405163086391f760e31b8152336004820152602401610540565b610aa38261187d565b90505b919050565b6000805160206128c08339815191528054600160401b810460ff1615906001600160401b0316600081158015610ade5750825b90506000826001600160401b03166001148015610afa5750303b155b905081158015610b08575080155b15610b265760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b5057845460ff60401b1916600160401b1785555b610b5a8787611abf565b8315610ba157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610bb5336104a0565b610bc082607a611be5565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610bf0908590600401611fe7565b6020604051808303816000875af1158015610c0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa3919061244d565b6000610c3e336104a0565b610bc08260d3611be5565b610c51611ecf565b610c5a336104a0565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610c8d9063058d03e760e21b90600401612405565b602060405180830381865afa158015610caa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cce9190612425565b610cf65760405163704b6c6d60e11b81526001600160a01b0384166004820152602401610540565b610d0183606e610550565b9050610d156001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610d409190611fe7565b6020604051808303816000875af1158015610d5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d83919061244d565b6001600160601b0316815292915050565b610d9c611a7e565b806001600160a01b03163b600003610dd25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610540565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a790610e18906312da491160e01b90600401612405565b602060405180830381865afa925050508015610e51575060408051601f3d908101601f19168201909252610e4e91810190612425565b60015b610e795760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610540565b80610ea25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610540565b5050565b610eae611ecf565b610eb7336104a0565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610eea90630d02010f60e31b90600401612405565b602060405180830381865afa158015610f07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2b9190612425565b610f53576040516304c983f360e41b81526001600160a01b0384166004820152602401610540565b610d0183608c610550565b33610f67611457565b6001600160a01b0316816001600160a01b031614610fa25760405162d1953b60e31b81526001600160a01b0382166004820152602401610540565b816001600160a01b03163b600003610fd8576040516361798f2f60e11b81526001600160a01b0383166004820152602401610540565b610ea282611d40565b6000610fec336104a0565b610bc0826050611be5565b60008060008051602061288083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611067573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108b9190612425565b15611118576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156110ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111129190612602565b91505090565b54600160601b90046001600160a01b0316919050565b611136611a7e565b6111b683846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611178573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119c919061244d565b603c60008560405180602001604052806000815250610825565b6001600160a01b038216156111d3576111ce82611da1565b611342565b60006111e76001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611247573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126b919061262a565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156112b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d49190612602565b9050611340816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611317573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133b9190612602565b611da1565b505b611352634a531f3360e01b6107f8565b61136263b68d180960e01b6107f8565b505050565b6000805160206128a0833981519152805460009190600160a01b900460ff16611391576000611112565b638fb3603760e01b91505090565b6113a7611ecf565b6113b0336104a0565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906113e390637895d0ed60e01b90600401612405565b602060405180830381865afa158015611400573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114249190612425565b61144c576040516367237f5b60e11b81526001600160a01b0384166004820152602401610540565b610d01836078610550565b6000805160206128a0833981519152546001600160a01b031690565b600061147e336104a0565b610bc08260dc611be5565b611491611a7e565b61149a81610d94565b6114a2610a17565b6001600160a01b0382166114c95760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061288083398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000805160206128a083398151915260008061153b61151d611457565b873061152d600460008a8c612647565b61153691612671565b611db2565b91509150816115fe5763ffffffff8116156115db57825460ff60a01b1916600160a01b178355611569611457565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611598939291906126a1565b600060405180830381600087803b1580156115b257600080fd5b505af11580156115c6573d6000803e3d6000fd5b5050845460ff60a01b19168555506115fe9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610540565b505050505050565b61160e611ecf565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561164c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116749190810190612726565b9050836001600160a01b031681608001516001600160a01b0316146116c55760808101516040516306704ad960e11b81526001600160a01b0380871660048301529091166024820152604401610540565b604081015160ff84811691161461171157604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff80861660248301529091166044820152606401610540565b60a08101516001600160a01b038082169084161461175d576040516335ce70c360e21b81526001600160a01b038087166004830152808516602483015282166044820152606401610540565b846001600160a01b0316816001600160a01b03160361179a57604051638e80a3f960e01b81526001600160a01b0386166004820152602401610540565b6001600160a01b0381166117cc576040516343e40cb560e01b81526001600160a01b0386166004820152602401610540565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611820573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118449190612425565b15611875576040516309ad872b60e41b81526001600160a01b03808716600483015282166024820152604401610540565b509392505050565b60008060008051602061288083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156118ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119119190612425565b1561193d5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610540565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611991573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b59190612425565b6119dd5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610540565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611a31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a55919061244d565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6000805160206128c083398151915254600160401b900460ff16611ab557604051631afcd79f60e31b815260040160405180910390fd5b565b6101e5611a7e565b6000805160206128c08339815191528054600160401b810460ff1615906001600160401b0316600081158015611af25750825b90506000826001600160401b03166001148015611b0e5750303b155b905081158015611b1c575080155b15611b3a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611b6457845460ff60401b1916600160401b1785555b600080600088806020019051810190611b7d91906127e9565b9094509092509050611b9082828c61112e565b611ba0631ad26c9560e21b6107f8565b5050508315610ba157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610b98565b60808201516001600160a01b031615611c1c5760408083015190516340fda83160e11b815260ff9091166004820152602401610540565b604082015160ff828116911614611c59576040808301519051632e5fbed960e21b815260ff80841660048301529091166024820152604401610540565b60a08201516001600160a01b038116611c90576040808401519051633312954f60e21b815260ff9091166004820152602401610540565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611ce4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d089190612425565b1561136257604080840151905163b4139d2560e01b815260ff90911660048201526001600160a01b0382166024820152604401610540565b6000805160206128a083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611da9611a7e565b6107f581611ebe565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611e21919061282b565b600060405180830381855afa9150503d8060008114611e5c576040519150601f19603f3d011682016040523d82523d6000602084013e611e61565b606091505b50915091508115611eb3576040815110611e935780806020019051810190611e899190612847565b9094509250611eb3565b6020815110611eb35780806020019051810190611eb09190612425565b93505b505094509492505050565b611ec6611a7e565b6107f581611d40565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b600060208284031215611f1f57600080fd5b81356001600160e01b031981168114611f3757600080fd5b9392505050565b6001600160a01b03811681146107f557600080fd5b8035610aa681611f3e565b60008060408385031215611f7157600080fd5b8235611f7c81611f3e565b91506020830135611f8c81611f3e565b809150509250929050565b60005b83811015611fb2578181015183820152602001611f9a565b50506000910152565b60008151808452611fd3816020860160208601611f97565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161205060c08401826001600160a01b03169052565b5060c083015160e08084015261206a610100840182611fbb565b949350505050565b6001600160601b03811681146107f557600080fd5b8035610aa681612072565b60ff811681146107f557600080fd5b8035610aa681612092565b80151581146107f557600080fd5b8035610aa6816120ac565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156120fd576120fd6120c5565b60405290565b604051601f8201601f191681016001600160401b038111828210171561212b5761212b6120c5565b604052919050565b60006001600160401b0382111561214c5761214c6120c5565b50601f01601f191660200190565b600082601f83011261216b57600080fd5b813561217e61217982612133565b612103565b81815284602083860101111561219357600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156121c957600080fd5b86356121d481611f3e565b955060208701356121e481612072565b945060408701356121f481612092565b93506060870135612204816120ac565b9250608087013561221481611f3e565b915060a08701356001600160401b0381111561222f57600080fd5b61223b89828a0161215a565b9150509295509295509295565b60006020828403121561225a57600080fd5b81356001600160401b0381111561227057600080fd5b61206a8482850161215a565b60006020828403121561228e57600080fd5b8135611f3781611f3e565b600080604083850312156122ac57600080fd5b82356122b781611f3e565b915060208301356001600160401b038111156122d257600080fd5b6122de8582860161215a565b9150509250929050565b6000602082840312156122fa57600080fd5b81356001600160401b038082111561231157600080fd5b9083019060e0828603121561232557600080fd5b61232d6120db565b61233683612087565b815261234460208401612087565b6020820152612355604084016120a1565b6040820152612366606084016120ba565b606082015261237760808401611f53565b608082015261238860a08401611f53565b60a082015260c08301358281111561239f57600080fd5b6123ab8782860161215a565b60c08301525095945050505050565b6000806000606084860312156123cf57600080fd5b83356123da81611f3e565b925060208401356123ea81611f3e565b915060408401356123fa81611f3e565b809150509250925092565b6001600160e01b031991909116815260200190565b8051610aa6816120ac565b60006020828403121561243757600080fd5b8151611f37816120ac565b8051610aa681612072565b60006020828403121561245f57600080fd5b8151611f3781612072565b60006020828403121561247c57600080fd5b815162ffffff81168114611f3757600080fd5b600181811c908216806124a357607f821691505b6020821081036124c357634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561136257600081815260208120601f850160051c810160208610156124f05750805b601f850160051c820191505b818110156115fe578281556001016124fc565b81516001600160401b03811115612528576125286120c5565b61253c81612536845461248f565b846124c9565b602080601f83116001811461257157600084156125595750858301515b600019600386901b1c1916600185901b1785556115fe565b600085815260208120601f198616915b828110156125a057888601518255948401946001909101908401612581565b50858210156125be5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156125e057600080fd5b81516001600160401b0381168114611f3757600080fd5b8051610aa681611f3e565b60006020828403121561261457600080fd5b8151611f3781611f3e565b8051610aa681612092565b60006020828403121561263c57600080fd5b8151611f3781612092565b6000808585111561265757600080fd5b8386111561266457600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156126995780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f8301126126f257600080fd5b815161270061217982612133565b81815284602083860101111561271557600080fd5b61206a826020830160208701611f97565b60006020828403121561273857600080fd5b81516001600160401b038082111561274f57600080fd5b9083019060e0828603121561276357600080fd5b61276b6120db565b61277483612442565b815261278260208401612442565b60208201526127936040840161261f565b60408201526127a46060840161241a565b60608201526127b5608084016125f7565b60808201526127c660a084016125f7565b60a082015260c0830151828111156127dd57600080fd5b6123ab878286016126e1565b6000806000606084860312156127fe57600080fd5b835161280981611f3e565b602085015190935061281a81611f3e565b60408501519092506123fa81611f3e565b6000825161283d818460208701611f97565b9190910192915050565b6000806040838503121561285a57600080fd5b8251612865816120ac565b602084015190925063ffffffff81168114611f8c57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212204bdac01d51f233ea294b530c6591ded3c296824ebff0e2704e61b813894710cc64736f6c63430008140033",
1217
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80635d9662891161010f5780638fb36037116100a2578063bf7e214f11610071578063bf7e214f1461045d578063c2bf08c814610465578063ed841d0c14610478578063f7c34ee01461048057600080fd5b80638fb36037146104115780638fbc2d8114610426578063ada9652e14610439578063b68d18091461044e57600080fd5b80637a9e5e4b116100de5780637a9e5e4b146103d05780638105cc7f146103e3578063893d20e8146103f65780638e32e979146103fe57600080fd5b80635d96628914610379578063644c45e01461038c578063675393bf146103aa5780637286e5e5146103bd57600080fd5b806327bb7a331161018757806349bb9e4b1161015657806349bb9e4b1461031b57806357a8fba71461032e5780635ab1bd53146103415780635c992fed1461036657600080fd5b806327bb7a33146102c2578063329d6e74146102d557806336fc697e146102e857806340be2376146102f057600080fd5b80630fec111c116101c35780630fec111c14610268578063138461e0146102705780631eff4b221461027a578063214cdb80146102af57600080fd5b806301ffc9a7146101ea578063026bc43b1461022c5780630d8e6e2c1461024c575b600080fd5b6102176101f8366004611f0d565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a366004611f5e565b610493565b6040516102239190611fe7565b610254610641565b60405162ffffff9091168152602001610223565b61023f6106cb565b6102786107ec565b005b6102a17f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b6102786102bd366004611f0d565b6107f8565b6102786102d03660046121b0565b610825565b6102786102e3366004612248565b6108ca565b610278610a17565b6103036102fe36600461227c565b610a5d565b6040516001600160601b039091168152602001610223565b610278610329366004612299565b610aab565b61030361033c3660046122e8565b610baa565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b6103036103743660046122e8565b610c33565b61023f610387366004611f5e565b610c49565b600080516020612880833981519152546001600160601b0316610303565b6102786103b836600461227c565b610d94565b61023f6103cb366004611f5e565b610ea6565b6102786103de36600461227c565b610f5e565b6103036103f13660046122e8565b610fe1565b61034e610ff7565b61027861040c3660046123ba565b61112e565b610419611367565b6040516102239190612405565b61023f610434366004611f5e565b61139f565b6102a160008051602061288083398151915281565b60405160288152602001610223565b61034e611457565b6103036104733660046122e8565b611473565b6102a1600081565b61027861048e366004611f5e565b611489565b61049b611ecf565b6104a8335b600036611500565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906104db90634b596f2560e11b90600401612405565b602060405180830381865afa1580156104f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051c9190612425565b61054957604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b6105568360465b84611606565b905061056a6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105959190611fe7565b6020604051808303816000875af11580156105b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d8919061244d565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561062357600080fd5b505af1158015610637573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156106a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c6919061246a565b905090565b6106d3611ecf565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a08101610748610ff7565b6001600160a01b031681526020018260010180546107659061248f565b80601f01602080910402602001604051908101604052809291908181526020018280546107919061248f565b80156107de5780601f106107b3576101008083540402835291602001916107de565b820191906000526020600020905b8154815290600101906020018083116107c157829003601f168201915b505050505081525091505090565b6107f53061187d565b50565b610800611a7e565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61082d611a7e565b6108378287611489565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016108c0838261250f565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6108ec610641565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801561092c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095091906125ce565b6000805160206128c08339815191528054600160401b900460ff1680610983575080546001600160401b03808416911610155b156109a15760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556109cb83611ab7565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610a1f611a7e565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000610a67610ff7565b6001600160a01b0316336001600160a01b031614610a9a5760405163086391f760e31b8152336004820152602401610540565b610aa38261187d565b90505b919050565b6000805160206128c08339815191528054600160401b810460ff1615906001600160401b0316600081158015610ade5750825b90506000826001600160401b03166001148015610afa5750303b155b905081158015610b08575080155b15610b265760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b5057845460ff60401b1916600160401b1785555b610b5a8787611abf565b8315610ba157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610bb5336104a0565b610bc082607a611be5565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610bf0908590600401611fe7565b6020604051808303816000875af1158015610c0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa3919061244d565b6000610c3e336104a0565b610bc08260d3611be5565b610c51611ecf565b610c5a336104a0565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610c8d9063058d03e760e21b90600401612405565b602060405180830381865afa158015610caa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cce9190612425565b610cf65760405163704b6c6d60e11b81526001600160a01b0384166004820152602401610540565b610d0183606e610550565b9050610d156001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610d409190611fe7565b6020604051808303816000875af1158015610d5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d83919061244d565b6001600160601b0316815292915050565b610d9c611a7e565b806001600160a01b03163b600003610dd25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610540565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a790610e18906312da491160e01b90600401612405565b602060405180830381865afa925050508015610e51575060408051601f3d908101601f19168201909252610e4e91810190612425565b60015b610e795760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610540565b80610ea25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610540565b5050565b610eae611ecf565b610eb7336104a0565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610eea90630d02010f60e31b90600401612405565b602060405180830381865afa158015610f07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2b9190612425565b610f53576040516304c983f360e41b81526001600160a01b0384166004820152602401610540565b610d0183608c610550565b33610f67611457565b6001600160a01b0316816001600160a01b031614610fa25760405162d1953b60e31b81526001600160a01b0382166004820152602401610540565b816001600160a01b03163b600003610fd8576040516361798f2f60e11b81526001600160a01b0383166004820152602401610540565b610ea282611d40565b6000610fec336104a0565b610bc0826050611be5565b60008060008051602061288083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611067573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108b9190612425565b15611118576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156110ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111129190612602565b91505090565b54600160601b90046001600160a01b0316919050565b611136611a7e565b6111b683846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611178573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119c919061244d565b603c60008560405180602001604052806000815250610825565b6001600160a01b038216156111d3576111ce82611da1565b611342565b60006111e76001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611247573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126b919061262a565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156112b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d49190612602565b9050611340816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611317573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133b9190612602565b611da1565b505b611352634a531f3360e01b6107f8565b61136263b68d180960e01b6107f8565b505050565b6000805160206128a0833981519152805460009190600160a01b900460ff16611391576000611112565b638fb3603760e01b91505090565b6113a7611ecf565b6113b0336104a0565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906113e390637895d0ed60e01b90600401612405565b602060405180830381865afa158015611400573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114249190612425565b61144c576040516367237f5b60e11b81526001600160a01b0384166004820152602401610540565b610d01836078610550565b6000805160206128a0833981519152546001600160a01b031690565b600061147e336104a0565b610bc08260dc611be5565b611491611a7e565b61149a81610d94565b6114a2610a17565b6001600160a01b0382166114c95760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061288083398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000805160206128a083398151915260008061153b61151d611457565b873061152d600460008a8c612647565b61153691612671565b611db2565b91509150816115fe5763ffffffff8116156115db57825460ff60a01b1916600160a01b178355611569611457565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611598939291906126a1565b600060405180830381600087803b1580156115b257600080fd5b505af11580156115c6573d6000803e3d6000fd5b5050845460ff60a01b19168555506115fe9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610540565b505050505050565b61160e611ecf565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561164c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116749190810190612726565b9050836001600160a01b031681608001516001600160a01b0316146116c55760808101516040516306704ad960e11b81526001600160a01b0380871660048301529091166024820152604401610540565b604081015160ff84811691161461171157604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff80861660248301529091166044820152606401610540565b60a08101516001600160a01b038082169084161461175d576040516335ce70c360e21b81526001600160a01b038087166004830152808516602483015282166044820152606401610540565b846001600160a01b0316816001600160a01b03160361179a57604051638e80a3f960e01b81526001600160a01b0386166004820152602401610540565b6001600160a01b0381166117cc576040516343e40cb560e01b81526001600160a01b0386166004820152602401610540565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611820573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118449190612425565b15611875576040516309ad872b60e41b81526001600160a01b03808716600483015282166024820152604401610540565b509392505050565b60008060008051602061288083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156118ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119119190612425565b1561193d5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610540565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611991573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b59190612425565b6119dd5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610540565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611a31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a55919061244d565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6000805160206128c083398151915254600160401b900460ff16611ab557604051631afcd79f60e31b815260040160405180910390fd5b565b6101e5611a7e565b6000805160206128c08339815191528054600160401b810460ff1615906001600160401b0316600081158015611af25750825b90506000826001600160401b03166001148015611b0e5750303b155b905081158015611b1c575080155b15611b3a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611b6457845460ff60401b1916600160401b1785555b600080600088806020019051810190611b7d91906127e9565b9094509092509050611b9082828c61112e565b611ba0631ad26c9560e21b6107f8565b5050508315610ba157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610b98565b60808201516001600160a01b031615611c1c5760408083015190516340fda83160e11b815260ff9091166004820152602401610540565b604082015160ff828116911614611c59576040808301519051632e5fbed960e21b815260ff80841660048301529091166024820152604401610540565b60a08201516001600160a01b038116611c90576040808401519051633312954f60e21b815260ff9091166004820152602401610540565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611ce4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d089190612425565b1561136257604080840151905163b4139d2560e01b815260ff90911660048201526001600160a01b0382166024820152604401610540565b6000805160206128a083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611da9611a7e565b6107f581611ebe565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611e21919061282b565b600060405180830381855afa9150503d8060008114611e5c576040519150601f19603f3d011682016040523d82523d6000602084013e611e61565b606091505b50915091508115611eb3576040815110611e935780806020019051810190611e899190612847565b9094509250611eb3565b6020815110611eb35780806020019051810190611eb09190612425565b93505b505094509492505050565b611ec6611a7e565b6107f581611d40565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b600060208284031215611f1f57600080fd5b81356001600160e01b031981168114611f3757600080fd5b9392505050565b6001600160a01b03811681146107f557600080fd5b8035610aa681611f3e565b60008060408385031215611f7157600080fd5b8235611f7c81611f3e565b91506020830135611f8c81611f3e565b809150509250929050565b60005b83811015611fb2578181015183820152602001611f9a565b50506000910152565b60008151808452611fd3816020860160208601611f97565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161205060c08401826001600160a01b03169052565b5060c083015160e08084015261206a610100840182611fbb565b949350505050565b6001600160601b03811681146107f557600080fd5b8035610aa681612072565b60ff811681146107f557600080fd5b8035610aa681612092565b80151581146107f557600080fd5b8035610aa6816120ac565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156120fd576120fd6120c5565b60405290565b604051601f8201601f191681016001600160401b038111828210171561212b5761212b6120c5565b604052919050565b60006001600160401b0382111561214c5761214c6120c5565b50601f01601f191660200190565b600082601f83011261216b57600080fd5b813561217e61217982612133565b612103565b81815284602083860101111561219357600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156121c957600080fd5b86356121d481611f3e565b955060208701356121e481612072565b945060408701356121f481612092565b93506060870135612204816120ac565b9250608087013561221481611f3e565b915060a08701356001600160401b0381111561222f57600080fd5b61223b89828a0161215a565b9150509295509295509295565b60006020828403121561225a57600080fd5b81356001600160401b0381111561227057600080fd5b61206a8482850161215a565b60006020828403121561228e57600080fd5b8135611f3781611f3e565b600080604083850312156122ac57600080fd5b82356122b781611f3e565b915060208301356001600160401b038111156122d257600080fd5b6122de8582860161215a565b9150509250929050565b6000602082840312156122fa57600080fd5b81356001600160401b038082111561231157600080fd5b9083019060e0828603121561232557600080fd5b61232d6120db565b61233683612087565b815261234460208401612087565b6020820152612355604084016120a1565b6040820152612366606084016120ba565b606082015261237760808401611f53565b608082015261238860a08401611f53565b60a082015260c08301358281111561239f57600080fd5b6123ab8782860161215a565b60c08301525095945050505050565b6000806000606084860312156123cf57600080fd5b83356123da81611f3e565b925060208401356123ea81611f3e565b915060408401356123fa81611f3e565b809150509250925092565b6001600160e01b031991909116815260200190565b8051610aa6816120ac565b60006020828403121561243757600080fd5b8151611f37816120ac565b8051610aa681612072565b60006020828403121561245f57600080fd5b8151611f3781612072565b60006020828403121561247c57600080fd5b815162ffffff81168114611f3757600080fd5b600181811c908216806124a357607f821691505b6020821081036124c357634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561136257600081815260208120601f850160051c810160208610156124f05750805b601f850160051c820191505b818110156115fe578281556001016124fc565b81516001600160401b03811115612528576125286120c5565b61253c81612536845461248f565b846124c9565b602080601f83116001811461257157600084156125595750858301515b600019600386901b1c1916600185901b1785556115fe565b600085815260208120601f198616915b828110156125a057888601518255948401946001909101908401612581565b50858210156125be5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156125e057600080fd5b81516001600160401b0381168114611f3757600080fd5b8051610aa681611f3e565b60006020828403121561261457600080fd5b8151611f3781611f3e565b8051610aa681612092565b60006020828403121561263c57600080fd5b8151611f3781612092565b6000808585111561265757600080fd5b8386111561266457600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156126995780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f8301126126f257600080fd5b815161270061217982612133565b81815284602083860101111561271557600080fd5b61206a826020830160208701611f97565b60006020828403121561273857600080fd5b81516001600160401b038082111561274f57600080fd5b9083019060e0828603121561276357600080fd5b61276b6120db565b61277483612442565b815261278260208401612442565b60208201526127936040840161261f565b60408201526127a46060840161241a565b60608201526127b5608084016125f7565b60808201526127c660a084016125f7565b60a082015260c0830151828111156127dd57600080fd5b6123ab878286016126e1565b6000806000606084860312156127fe57600080fd5b835161280981611f3e565b602085015190935061281a81611f3e565b60408501519092506123fa81611f3e565b6000825161283d818460208701611f97565b9190910192915050565b6000806040838503121561285a57600080fd5b8251612865816120ac565b602084015190925063ffffffff81168114611f8c57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212204bdac01d51f233ea294b530c6591ded3c296824ebff0e2704e61b813894710cc64736f6c63430008140033",
1113
1218
  "linkReferences": {
1114
- "contracts/types/NftId.sol": {
1219
+ "contracts/type/NftId.sol": {
1115
1220
  "NftIdLib": [
1116
1221
  {
1117
1222
  "length": 20,
1118
- "start": 2456
1223
+ "start": 4371
1119
1224
  },
1120
1225
  {
1121
1226
  "length": 20,
1122
- "start": 4905
1227
+ "start": 6553
1123
1228
  }
1124
1229
  ]
1125
1230
  },
1126
- "contracts/types/Version.sol": {
1231
+ "contracts/type/Version.sol": {
1127
1232
  "VersionLib": [
1128
1233
  {
1129
1234
  "length": 20,
1130
- "start": 1892
1235
+ "start": 1870
1131
1236
  },
1132
1237
  {
1133
1238
  "length": 20,
1134
- "start": 3109
1239
+ "start": 2482
1135
1240
  }
1136
1241
  ],
1137
1242
  "VersionPartLib": [
1138
1243
  {
1139
1244
  "length": 20,
1140
- "start": 6982
1245
+ "start": 4851
1141
1246
  }
1142
1247
  ]
1143
1248
  }
1144
1249
  },
1145
1250
  "deployedLinkReferences": {
1146
- "contracts/types/NftId.sol": {
1251
+ "contracts/type/NftId.sol": {
1147
1252
  "NftIdLib": [
1148
1253
  {
1149
1254
  "length": 20,
1150
- "start": 2226
1255
+ "start": 4141
1151
1256
  },
1152
1257
  {
1153
1258
  "length": 20,
1154
- "start": 4675
1259
+ "start": 6323
1155
1260
  }
1156
1261
  ]
1157
1262
  },
1158
- "contracts/types/Version.sol": {
1263
+ "contracts/type/Version.sol": {
1159
1264
  "VersionLib": [
1160
1265
  {
1161
1266
  "length": 20,
1162
- "start": 1662
1267
+ "start": 1640
1163
1268
  },
1164
1269
  {
1165
1270
  "length": 20,
1166
- "start": 2879
1271
+ "start": 2252
1167
1272
  }
1168
1273
  ],
1169
1274
  "VersionPartLib": [
1170
1275
  {
1171
1276
  "length": 20,
1172
- "start": 6752
1277
+ "start": 4621
1173
1278
  }
1174
1279
  ]
1175
1280
  }