@etherisc/gif-next 0.0.2-d5522f6-712 → 0.0.2-d5fac82-078

Sign up to get free protection for your applications and to get access to all the features.
Files changed (536) hide show
  1. package/README.md +10 -14
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1395 -0
  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/distribution/IDistributionComponent.sol/IDistributionComponent.json +1000 -0
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +840 -0
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +73 -83
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +278 -1362
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +264 -218
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +459 -2530
  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 +432 -280
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +415 -380
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +362 -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 +6 -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 +93 -14
  39. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  40. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +38 -13
  41. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  42. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
  43. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  44. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +13 -159
  45. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  47. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  48. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  53. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  54. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1307 -0
  55. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  56. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +767 -0
  57. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  58. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +291 -276
  59. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  60. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/IPoolComponent.sol/IPoolComponent.json} +448 -195
  61. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  62. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1077 -0
  63. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  64. package/artifacts/contracts/pool/Pool.sol/Pool.json +1426 -0
  65. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  66. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1641 -0
  67. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  68. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +779 -0
  69. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  70. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +937 -0
  71. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  72. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +719 -0
  73. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  74. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1405 -0
  75. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  76. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +819 -0
  77. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  78. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IApplicationService.sol/IApplicationService.json} +218 -191
  79. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  80. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +753 -0
  81. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  82. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +182 -302
  83. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  84. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +241 -230
  85. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  86. package/artifacts/contracts/{components/Product.sol/Product.json → product/IProductComponent.sol/IProductComponent.json} +254 -168
  87. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  88. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +72 -166
  89. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1300 -0
  91. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +811 -0
  93. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  94. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1023 -0
  95. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +759 -0
  97. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  98. package/artifacts/contracts/product/Product.sol/Product.json +1217 -0
  99. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  100. package/artifacts/contracts/product/ProductService.sol/ProductService.json +883 -0
  101. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +711 -0
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  104. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  105. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +209 -17
  107. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +225 -230
  109. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  110. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  111. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  112. package/artifacts/contracts/registry/Registry.sol/Registry.json +235 -43
  113. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  114. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +305 -0
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +341 -254
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +351 -84
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  120. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +540 -83
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +148 -62
  123. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
  124. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
  125. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
  126. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1715 -0
  127. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
  128. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1728 -0
  129. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
  130. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1747 -0
  131. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
  132. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1765 -0
  133. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  134. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  135. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  136. package/artifacts/contracts/shared/Component.sol/Component.json +892 -0
  137. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  138. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/ComponentService.sol/ComponentService.json} +294 -126
  139. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  141. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
  142. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
  143. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
  144. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1594 -0
  145. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  146. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/IComponent.sol/IComponent.json} +173 -212
  147. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  148. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  149. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  150. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  151. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  153. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  154. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  155. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  156. package/artifacts/contracts/shared/IService.sol/IService.json +71 -165
  157. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  158. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  159. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  160. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -47
  161. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  162. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  163. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  164. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +342 -61
  165. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  166. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +137 -53
  167. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  168. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  169. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  170. package/artifacts/contracts/shared/Service.sol/Service.json +189 -150
  171. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  172. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
  173. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  174. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  175. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  176. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  177. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  178. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → staking/IStakingService.sol/IStakingService.json} +198 -207
  179. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  180. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +786 -0
  181. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  182. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +699 -0
  183. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  184. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  185. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  186. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  187. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  188. package/artifacts/contracts/{types → type}/Blocknumber.sol/BlocknumberLib.json +3 -3
  189. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  190. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  191. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  192. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  193. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  194. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  195. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  196. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  197. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  198. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +166 -0
  199. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  200. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  201. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  202. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  203. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  204. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  205. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  206. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  207. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  208. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  209. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  210. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  211. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  212. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -0
  213. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  214. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  215. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  216. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
  217. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  218. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  219. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  220. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  221. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  222. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  223. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  224. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  225. package/contracts/distribution/Distribution.sol +285 -0
  226. package/contracts/distribution/DistributionService.sol +351 -0
  227. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  228. package/contracts/distribution/IDistributionComponent.sol +71 -0
  229. package/contracts/distribution/IDistributionService.sol +87 -0
  230. package/contracts/instance/BundleManager.sol +22 -25
  231. package/contracts/instance/IInstance.sol +56 -41
  232. package/contracts/instance/IInstanceService.sol +50 -17
  233. package/contracts/instance/Instance.sol +151 -197
  234. package/contracts/instance/InstanceAdmin.sol +354 -0
  235. package/contracts/instance/InstanceAuthorizationsLib.sol +320 -0
  236. package/contracts/instance/InstanceReader.sol +102 -49
  237. package/contracts/instance/InstanceService.sol +200 -247
  238. package/contracts/instance/InstanceServiceManager.sol +12 -22
  239. package/contracts/instance/InstanceStore.sol +211 -0
  240. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +8 -3
  241. package/contracts/instance/base/IKeyValueStore.sol +14 -10
  242. package/contracts/instance/base/ILifecycle.sol +3 -3
  243. package/contracts/instance/base/KeyValueStore.sol +44 -47
  244. package/contracts/instance/base/Lifecycle.sol +28 -7
  245. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +16 -35
  246. package/contracts/instance/module/IAccess.sol +17 -21
  247. package/contracts/instance/module/IBundle.sol +11 -8
  248. package/contracts/instance/module/IComponents.sol +41 -0
  249. package/contracts/instance/module/IDistribution.sol +7 -4
  250. package/contracts/instance/module/IPolicy.sol +50 -17
  251. package/contracts/instance/module/IRisk.sol +1 -1
  252. package/contracts/instance/module/ISetup.sol +9 -22
  253. package/contracts/instance/module/ITreasury.sol +2 -2
  254. package/contracts/pool/BundleService.sol +384 -0
  255. package/contracts/pool/BundleServiceManager.sol +42 -0
  256. package/contracts/pool/IBundleService.sol +118 -0
  257. package/contracts/pool/IPoolComponent.sol +114 -0
  258. package/contracts/pool/IPoolService.sol +114 -0
  259. package/contracts/pool/Pool.sol +302 -0
  260. package/contracts/pool/PoolService.sol +404 -0
  261. package/contracts/pool/PoolServiceManager.sol +42 -0
  262. package/contracts/product/ApplicationService.sol +187 -0
  263. package/contracts/product/ApplicationServiceManager.sol +38 -0
  264. package/contracts/product/ClaimService.sol +443 -0
  265. package/contracts/product/ClaimServiceManager.sol +38 -0
  266. package/contracts/product/IApplicationService.sol +62 -0
  267. package/contracts/product/IClaimService.sol +93 -0
  268. package/contracts/product/IPolicyService.sol +80 -0
  269. package/contracts/product/IPricingService.sol +37 -0
  270. package/contracts/product/IProductComponent.sol +41 -0
  271. package/contracts/{instance/service → product}/IProductService.sol +10 -10
  272. package/contracts/product/PolicyService.sol +378 -0
  273. package/contracts/product/PolicyServiceManager.sol +42 -0
  274. package/contracts/product/PricingService.sol +276 -0
  275. package/contracts/product/PricingServiceManager.sol +42 -0
  276. package/contracts/product/Product.sol +379 -0
  277. package/contracts/product/ProductService.sol +212 -0
  278. package/contracts/product/ProductServiceManager.sol +42 -0
  279. package/contracts/registry/ChainNft.sol +8 -0
  280. package/contracts/registry/IRegistry.sol +42 -21
  281. package/contracts/registry/IRegistryService.sol +42 -41
  282. package/contracts/registry/ITransferInterceptor.sol +1 -0
  283. package/contracts/registry/Registry.sol +165 -96
  284. package/contracts/registry/RegistryAdmin.sol +143 -0
  285. package/contracts/registry/RegistryService.sol +84 -171
  286. package/contracts/registry/RegistryServiceManager.sol +22 -24
  287. package/contracts/registry/ReleaseManager.sol +317 -202
  288. package/contracts/registry/TokenRegistry.sol +23 -15
  289. package/contracts/shared/AccessManagerCustom.sol +736 -0
  290. package/contracts/shared/AccessManagerExtended.sol +469 -0
  291. package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
  292. package/contracts/shared/AccessManagerExtendedWithDisable.sol +125 -0
  293. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
  294. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  295. package/contracts/shared/Component.sol +271 -0
  296. package/contracts/shared/ComponentService.sol +141 -0
  297. package/contracts/shared/ERC165.sol +14 -12
  298. package/contracts/shared/IAccessManagerExtended.sol +74 -0
  299. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +17 -0
  300. package/contracts/shared/IComponent.sol +90 -0
  301. package/contracts/shared/INftOwnable.sol +12 -11
  302. package/contracts/shared/IPolicyHolder.sol +40 -0
  303. package/contracts/shared/IRegisterable.sol +4 -6
  304. package/contracts/shared/IRegistryLinked.sol +11 -0
  305. package/contracts/shared/IService.sol +6 -4
  306. package/contracts/shared/IVersionable.sol +5 -48
  307. package/contracts/shared/NftOwnable.sol +68 -85
  308. package/contracts/shared/PolicyHolder.sol +94 -0
  309. package/contracts/shared/ProxyManager.sol +131 -25
  310. package/contracts/shared/Registerable.sol +26 -41
  311. package/contracts/shared/RegistryLinked.sol +43 -0
  312. package/contracts/shared/Service.sol +37 -23
  313. package/contracts/shared/TokenHandler.sol +14 -6
  314. package/contracts/shared/Versionable.sol +4 -92
  315. package/contracts/staking/IStakingService.sol +102 -0
  316. package/contracts/staking/StakingService.sol +169 -0
  317. package/contracts/staking/StakingServiceManager.sol +40 -0
  318. package/contracts/type/Amount.sol +109 -0
  319. package/contracts/{types → type}/Blocknumber.sol +1 -0
  320. package/contracts/type/ClaimId.sol +75 -0
  321. package/contracts/{types → type}/DistributorType.sol +2 -2
  322. package/contracts/{types → type}/Fee.sol +17 -8
  323. package/contracts/{types → type}/NftId.sol +8 -0
  324. package/contracts/{types → type}/NftIdSet.sol +1 -1
  325. package/contracts/{types → type}/ObjectType.sol +17 -7
  326. package/contracts/type/PayoutId.sol +82 -0
  327. package/contracts/{types → type}/Referral.sol +4 -0
  328. package/contracts/type/RoleId.sol +139 -0
  329. package/contracts/type/Seconds.sol +54 -0
  330. package/contracts/{types → type}/StateId.sol +7 -2
  331. package/contracts/{types → type}/Timestamp.sol +18 -13
  332. package/contracts/{types → type}/UFixed.sol +1 -0
  333. package/contracts/{types → type}/Version.sol +1 -0
  334. package/package.json +3 -3
  335. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  336. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  337. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  338. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -397
  339. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  340. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  341. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  342. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
  343. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  344. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  345. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  346. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  348. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  349. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  350. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  351. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  352. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  353. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  354. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  355. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  356. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  357. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  358. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  359. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  360. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  361. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  362. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  363. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  364. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  365. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  366. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  367. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  368. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  369. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  370. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  371. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  372. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  373. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  374. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  375. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  376. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  377. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  378. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  379. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  380. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  381. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  382. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  383. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  384. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  385. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  386. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  387. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  388. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  389. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  390. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
  391. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  392. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1047
  393. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  394. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  395. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  396. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -285
  397. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  398. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  399. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  400. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  401. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1031
  402. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  403. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -436
  404. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  405. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -814
  406. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  407. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -693
  408. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  409. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -420
  410. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  411. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  412. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  413. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  414. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  415. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  416. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  417. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  418. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1156
  419. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  420. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -492
  421. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  422. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -727
  423. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  424. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -420
  425. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  426. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -777
  427. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  428. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -420
  429. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  430. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  431. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  432. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  433. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  434. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  435. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  436. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  437. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  438. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  439. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  440. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  441. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  442. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  443. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  444. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  445. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  446. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  447. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  448. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  449. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  450. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  451. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  452. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  453. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  454. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  455. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  456. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  457. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  458. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  459. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  460. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  461. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  462. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  463. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  464. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  465. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  466. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  467. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  468. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  469. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  470. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  471. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  472. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  473. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  474. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  475. package/contracts/components/BaseComponent.sol +0 -159
  476. package/contracts/components/Distribution.sol +0 -164
  477. package/contracts/components/IBaseComponent.sol +0 -34
  478. package/contracts/components/IDistributionComponent.sol +0 -44
  479. package/contracts/components/IPoolComponent.sol +0 -66
  480. package/contracts/components/IProductComponent.sol +0 -35
  481. package/contracts/components/Pool.sol +0 -272
  482. package/contracts/components/Product.sol +0 -301
  483. package/contracts/experiment/cloning/Cloner.sol +0 -47
  484. package/contracts/experiment/errors/Require.sol +0 -38
  485. package/contracts/experiment/errors/Revert.sol +0 -44
  486. package/contracts/experiment/inheritance/A.sol +0 -53
  487. package/contracts/experiment/inheritance/B.sol +0 -28
  488. package/contracts/experiment/inheritance/C.sol +0 -34
  489. package/contracts/experiment/inheritance/IA.sol +0 -13
  490. package/contracts/experiment/inheritance/IB.sol +0 -10
  491. package/contracts/experiment/inheritance/IC.sol +0 -12
  492. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  493. package/contracts/experiment/statemachine/ISM.sol +0 -25
  494. package/contracts/experiment/statemachine/SM.sol +0 -57
  495. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  496. package/contracts/experiment/types/TypeA.sol +0 -47
  497. package/contracts/experiment/types/TypeB.sol +0 -29
  498. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
  499. package/contracts/instance/IInstanceBase.sol +0 -26
  500. package/contracts/instance/InstanceAccessManager.sol +0 -303
  501. package/contracts/instance/InstanceBase.sol +0 -41
  502. package/contracts/instance/base/ComponentServiceBase.sol +0 -76
  503. package/contracts/instance/base/IInstanceBase.sol +0 -23
  504. package/contracts/instance/service/BundleService.sol +0 -294
  505. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  506. package/contracts/instance/service/ComponentOwnerService.sol +0 -315
  507. package/contracts/instance/service/DistributionService.sol +0 -120
  508. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  509. package/contracts/instance/service/IBundleService.sol +0 -44
  510. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  511. package/contracts/instance/service/IDistributionService.sol +0 -12
  512. package/contracts/instance/service/IPolicyService.sol +0 -94
  513. package/contracts/instance/service/IPoolService.sol +0 -20
  514. package/contracts/instance/service/PolicyService.sol +0 -539
  515. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  516. package/contracts/instance/service/PoolService.sol +0 -145
  517. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  518. package/contracts/instance/service/ProductService.sol +0 -213
  519. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  520. package/contracts/registry/RegistryAccessManager.sol +0 -210
  521. package/contracts/shared/ContractDeployerLib.sol +0 -72
  522. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  523. package/contracts/test/TestFee.sol +0 -25
  524. package/contracts/test/TestRegisterable.sol +0 -18
  525. package/contracts/test/TestRoleId.sol +0 -14
  526. package/contracts/test/TestService.sol +0 -25
  527. package/contracts/test/TestToken.sol +0 -26
  528. package/contracts/test/TestVersion.sol +0 -44
  529. package/contracts/test/TestVersionable.sol +0 -17
  530. package/contracts/test/Usdc.sol +0 -26
  531. package/contracts/types/ChainId.sol +0 -38
  532. package/contracts/types/NumberId.sol +0 -52
  533. package/contracts/types/RoleId.sol +0 -90
  534. /package/contracts/{types → type}/AddressSet.sol +0 -0
  535. /package/contracts/{types → type}/Key32.sol +0 -0
  536. /package/contracts/{types → type}/RiskId.sol +0 -0
@@ -43,18 +43,13 @@
43
43
  },
44
44
  {
45
45
  "inputs": [
46
- {
47
- "internalType": "address",
48
- "name": "registry",
49
- "type": "address"
50
- },
51
46
  {
52
47
  "internalType": "NftId",
53
48
  "name": "nftId",
54
49
  "type": "uint96"
55
50
  }
56
51
  ],
57
- "name": "ErrorAlreadyLinked",
52
+ "name": "ErrorNftOwnableAlreadyLinked",
58
53
  "type": "error"
59
54
  },
60
55
  {
@@ -65,7 +60,12 @@
65
60
  "type": "address"
66
61
  }
67
62
  ],
68
- "name": "ErrorContractNotRegistered",
63
+ "name": "ErrorNftOwnableContractNotRegistered",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [],
68
+ "name": "ErrorNftOwnableInitialOwnerZero",
69
69
  "type": "error"
70
70
  },
71
71
  {
@@ -76,7 +76,7 @@
76
76
  "type": "address"
77
77
  }
78
78
  ],
79
- "name": "ErrorNotOwner",
79
+ "name": "ErrorNftOwnableNotOwner",
80
80
  "type": "error"
81
81
  },
82
82
  {
@@ -94,124 +94,220 @@
94
94
  "inputs": [
95
95
  {
96
96
  "internalType": "address",
97
- "name": "registryAddress",
97
+ "name": "registerableAddress",
98
98
  "type": "address"
99
99
  }
100
100
  ],
101
- "name": "ErrorRegisterableNotRegistry",
101
+ "name": "ErrorRegistryServiceInvalidAddress",
102
102
  "type": "error"
103
103
  },
104
104
  {
105
- "inputs": [],
106
- "name": "ErrorRegistryAddressZero",
105
+ "inputs": [
106
+ {
107
+ "internalType": "address",
108
+ "name": "initialOwner",
109
+ "type": "address"
110
+ }
111
+ ],
112
+ "name": "ErrorRegistryServiceInvalidInitialOwner",
107
113
  "type": "error"
108
114
  },
109
115
  {
110
116
  "inputs": [
111
117
  {
112
118
  "internalType": "address",
113
- "name": "registry",
119
+ "name": "notDistribution",
114
120
  "type": "address"
115
121
  }
116
122
  ],
117
- "name": "ErrorRegistryAlreadyInitialized",
123
+ "name": "ErrorRegistryServiceNotDistribution",
118
124
  "type": "error"
119
125
  },
120
126
  {
121
- "inputs": [],
122
- "name": "ErrorRegistryNotInitialized",
127
+ "inputs": [
128
+ {
129
+ "internalType": "address",
130
+ "name": "notInstance",
131
+ "type": "address"
132
+ }
133
+ ],
134
+ "name": "ErrorRegistryServiceNotInstance",
123
135
  "type": "error"
124
136
  },
125
137
  {
126
138
  "inputs": [
127
139
  {
128
140
  "internalType": "address",
129
- "name": "registerableAddress",
141
+ "name": "notPool",
130
142
  "type": "address"
131
143
  }
132
144
  ],
133
- "name": "InvalidAddress",
145
+ "name": "ErrorRegistryServiceNotPool",
134
146
  "type": "error"
135
147
  },
136
148
  {
137
149
  "inputs": [
138
150
  {
139
151
  "internalType": "address",
140
- "name": "initialOwner",
152
+ "name": "notProduct",
141
153
  "type": "address"
142
154
  }
143
155
  ],
144
- "name": "InvalidInitialOwner",
156
+ "name": "ErrorRegistryServiceNotProduct",
145
157
  "type": "error"
146
158
  },
147
159
  {
148
160
  "inputs": [],
149
- "name": "InvalidInitialization",
161
+ "name": "ErrorRegistryServiceNotRegistryOwner",
150
162
  "type": "error"
151
163
  },
152
164
  {
153
- "inputs": [],
154
- "name": "NotDistribution",
165
+ "inputs": [
166
+ {
167
+ "internalType": "address",
168
+ "name": "notService",
169
+ "type": "address"
170
+ }
171
+ ],
172
+ "name": "ErrorRegistryServiceNotService",
155
173
  "type": "error"
156
174
  },
157
175
  {
158
- "inputs": [],
159
- "name": "NotInitializing",
176
+ "inputs": [
177
+ {
178
+ "internalType": "ObjectType",
179
+ "name": "objectType",
180
+ "type": "uint8"
181
+ }
182
+ ],
183
+ "name": "ErrorRegistryServiceObjectAddressNotZero",
160
184
  "type": "error"
161
185
  },
162
186
  {
163
- "inputs": [],
164
- "name": "NotInstance",
187
+ "inputs": [
188
+ {
189
+ "internalType": "ObjectType",
190
+ "name": "objectType",
191
+ "type": "uint8"
192
+ },
193
+ {
194
+ "internalType": "address",
195
+ "name": "owner",
196
+ "type": "address"
197
+ }
198
+ ],
199
+ "name": "ErrorRegistryServiceObjectOwnerRegistered",
165
200
  "type": "error"
166
201
  },
167
202
  {
168
- "inputs": [],
169
- "name": "NotPool",
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": "NotProduct",
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
230
  "inputs": [
231
+ {
232
+ "internalType": "contract IRegisterable",
233
+ "name": "registerable",
234
+ "type": "address"
235
+ },
179
236
  {
180
237
  "internalType": "address",
181
- "name": "expectedOwner",
238
+ "name": "found",
182
239
  "type": "address"
183
240
  }
184
241
  ],
185
- "name": "NotRegisterableOwner",
242
+ "name": "ErrorRegistryServiceRegisterableAddressInvalid",
186
243
  "type": "error"
187
244
  },
188
245
  {
189
- "inputs": [],
190
- "name": "NotRegistryOwner",
191
- "type": "error"
192
- },
193
- {
194
- "inputs": [],
195
- "name": "NotService",
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",
196
264
  "type": "error"
197
265
  },
198
266
  {
199
- "inputs": [],
200
- "name": "RegisterableOwnerIsRegistered",
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",
201
280
  "type": "error"
202
281
  },
203
282
  {
204
- "inputs": [],
205
- "name": "RegisterableOwnerIsZero",
283
+ "inputs": [
284
+ {
285
+ "internalType": "contract IRegisterable",
286
+ "name": "registerable",
287
+ "type": "address"
288
+ }
289
+ ],
290
+ "name": "ErrorRegistryServiceRegisterableOwnerZero",
206
291
  "type": "error"
207
292
  },
208
293
  {
209
- "inputs": [],
210
- "name": "SelfRegistration",
294
+ "inputs": [
295
+ {
296
+ "internalType": "contract IRegisterable",
297
+ "name": "registerable",
298
+ "type": "address"
299
+ }
300
+ ],
301
+ "name": "ErrorRegistryServiceRegisterableSelfRegistration",
211
302
  "type": "error"
212
303
  },
213
304
  {
214
305
  "inputs": [
306
+ {
307
+ "internalType": "contract IRegisterable",
308
+ "name": "registerable",
309
+ "type": "address"
310
+ },
215
311
  {
216
312
  "internalType": "ObjectType",
217
313
  "name": "expected",
@@ -223,7 +319,22 @@
223
319
  "type": "uint8"
224
320
  }
225
321
  ],
226
- "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",
227
338
  "type": "error"
228
339
  },
229
340
  {
@@ -252,39 +363,14 @@
252
363
  "name": "Initialized",
253
364
  "type": "event"
254
365
  },
255
- {
256
- "anonymous": false,
257
- "inputs": [
258
- {
259
- "indexed": false,
260
- "internalType": "Version",
261
- "name": "version",
262
- "type": "uint24"
263
- },
264
- {
265
- "indexed": false,
266
- "internalType": "address",
267
- "name": "implementation",
268
- "type": "address"
269
- },
270
- {
271
- "indexed": false,
272
- "internalType": "address",
273
- "name": "activatedBy",
274
- "type": "address"
275
- }
276
- ],
277
- "name": "LogVersionableInitialized",
278
- "type": "event"
279
- },
280
366
  {
281
367
  "inputs": [],
282
- "name": "NFT_LOCK_ADDRESS",
368
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
283
369
  "outputs": [
284
370
  {
285
- "internalType": "address",
371
+ "internalType": "bytes32",
286
372
  "name": "",
287
- "type": "address"
373
+ "type": "bytes32"
288
374
  }
289
375
  ],
290
376
  "stateMutability": "view",
@@ -387,37 +473,6 @@
387
473
  "internalType": "struct IRegistry.ObjectInfo",
388
474
  "name": "info",
389
475
  "type": "tuple"
390
- },
391
- {
392
- "internalType": "bytes",
393
- "name": "data",
394
- "type": "bytes"
395
- }
396
- ],
397
- "stateMutability": "view",
398
- "type": "function"
399
- },
400
- {
401
- "inputs": [],
402
- "name": "getInitializedVersion",
403
- "outputs": [
404
- {
405
- "internalType": "uint64",
406
- "name": "",
407
- "type": "uint64"
408
- }
409
- ],
410
- "stateMutability": "view",
411
- "type": "function"
412
- },
413
- {
414
- "inputs": [],
415
- "name": "getMajorVersion",
416
- "outputs": [
417
- {
418
- "internalType": "VersionPart",
419
- "name": "majorVersion",
420
- "type": "uint8"
421
476
  }
422
477
  ],
423
478
  "stateMutability": "view",
@@ -475,91 +530,107 @@
475
530
  "stateMutability": "pure",
476
531
  "type": "function"
477
532
  },
533
+ {
534
+ "inputs": [],
535
+ "name": "initializeERC165",
536
+ "outputs": [],
537
+ "stateMutability": "nonpayable",
538
+ "type": "function"
539
+ },
478
540
  {
479
541
  "inputs": [
480
542
  {
481
- "internalType": "uint256",
482
- "name": "idx",
483
- "type": "uint256"
484
- }
485
- ],
486
- "name": "getVersion",
487
- "outputs": [
543
+ "internalType": "address",
544
+ "name": "initialOwner",
545
+ "type": "address"
546
+ },
488
547
  {
489
- "internalType": "Version",
490
- "name": "",
491
- "type": "uint24"
548
+ "internalType": "address",
549
+ "name": "registryAddress",
550
+ "type": "address"
492
551
  }
493
552
  ],
494
- "stateMutability": "view",
553
+ "name": "initializeNftOwnable",
554
+ "outputs": [],
555
+ "stateMutability": "nonpayable",
495
556
  "type": "function"
496
557
  },
497
558
  {
498
- "inputs": [],
499
- "name": "getVersionCount",
500
- "outputs": [
559
+ "inputs": [
501
560
  {
502
- "internalType": "uint256",
503
- "name": "",
504
- "type": "uint256"
561
+ "internalType": "address",
562
+ "name": "registryAddress",
563
+ "type": "address"
564
+ },
565
+ {
566
+ "internalType": "NftId",
567
+ "name": "parentNftId",
568
+ "type": "uint96"
569
+ },
570
+ {
571
+ "internalType": "ObjectType",
572
+ "name": "objectType",
573
+ "type": "uint8"
574
+ },
575
+ {
576
+ "internalType": "bool",
577
+ "name": "isInterceptor",
578
+ "type": "bool"
579
+ },
580
+ {
581
+ "internalType": "address",
582
+ "name": "initialOwner",
583
+ "type": "address"
584
+ },
585
+ {
586
+ "internalType": "bytes",
587
+ "name": "registryData",
588
+ "type": "bytes"
505
589
  }
506
590
  ],
507
- "stateMutability": "view",
591
+ "name": "initializeRegisterable",
592
+ "outputs": [],
593
+ "stateMutability": "nonpayable",
508
594
  "type": "function"
509
595
  },
510
596
  {
511
597
  "inputs": [
512
598
  {
513
- "internalType": "Version",
514
- "name": "_version",
515
- "type": "uint24"
516
- }
517
- ],
518
- "name": "getVersionInfo",
519
- "outputs": [
520
- {
521
- "components": [
522
- {
523
- "internalType": "Version",
524
- "name": "version",
525
- "type": "uint24"
526
- },
527
- {
528
- "internalType": "address",
529
- "name": "implementation",
530
- "type": "address"
531
- },
532
- {
533
- "internalType": "address",
534
- "name": "activatedBy",
535
- "type": "address"
536
- },
537
- {
538
- "internalType": "Timestamp",
539
- "name": "activatedAt",
540
- "type": "uint40"
541
- },
542
- {
543
- "internalType": "Blocknumber",
544
- "name": "activatedIn",
545
- "type": "uint32"
546
- }
547
- ],
548
- "internalType": "struct IVersionable.VersionInfo",
549
- "name": "",
550
- "type": "tuple"
599
+ "internalType": "address",
600
+ "name": "registryAddress",
601
+ "type": "address"
551
602
  }
552
603
  ],
553
- "stateMutability": "view",
604
+ "name": "initializeRegistryLinked",
605
+ "outputs": [],
606
+ "stateMutability": "nonpayable",
554
607
  "type": "function"
555
608
  },
556
609
  {
557
610
  "inputs": [
558
611
  {
559
612
  "internalType": "address",
560
- "name": "implementation",
613
+ "name": "registry",
561
614
  "type": "address"
562
615
  },
616
+ {
617
+ "internalType": "address",
618
+ "name": "authority",
619
+ "type": "address"
620
+ },
621
+ {
622
+ "internalType": "address",
623
+ "name": "initialOwner",
624
+ "type": "address"
625
+ }
626
+ ],
627
+ "name": "initializeService",
628
+ "outputs": [],
629
+ "stateMutability": "nonpayable",
630
+ "type": "function"
631
+ },
632
+ {
633
+ "inputs": [
563
634
  {
564
635
  "internalType": "address",
565
636
  "name": "activatedBy",
@@ -571,7 +642,7 @@
571
642
  "type": "bytes"
572
643
  }
573
644
  ],
574
- "name": "initialize",
645
+ "name": "initializeVersionable",
575
646
  "outputs": [],
576
647
  "stateMutability": "nonpayable",
577
648
  "type": "function"
@@ -592,20 +663,20 @@
592
663
  {
593
664
  "inputs": [
594
665
  {
595
- "internalType": "Version",
596
- "name": "_version",
597
- "type": "uint24"
666
+ "internalType": "address",
667
+ "name": "nftOwnableAddress",
668
+ "type": "address"
598
669
  }
599
670
  ],
600
- "name": "isInitialized",
671
+ "name": "linkToNftOwnable",
601
672
  "outputs": [
602
673
  {
603
- "internalType": "bool",
674
+ "internalType": "NftId",
604
675
  "name": "",
605
- "type": "bool"
676
+ "type": "uint96"
606
677
  }
607
678
  ],
608
- "stateMutability": "view",
679
+ "stateMutability": "nonpayable",
609
680
  "type": "function"
610
681
  },
611
682
  {
@@ -674,7 +745,7 @@
674
745
  {
675
746
  "inputs": [
676
747
  {
677
- "internalType": "contract IBaseComponent",
748
+ "internalType": "contract IComponent",
678
749
  "name": "distribution",
679
750
  "type": "address"
680
751
  },
@@ -727,11 +798,62 @@
727
798
  "internalType": "struct IRegistry.ObjectInfo",
728
799
  "name": "info",
729
800
  "type": "tuple"
730
- },
801
+ }
802
+ ],
803
+ "stateMutability": "nonpayable",
804
+ "type": "function"
805
+ },
806
+ {
807
+ "inputs": [
731
808
  {
732
- "internalType": "bytes",
733
- "name": "data",
734
- "type": "bytes"
809
+ "components": [
810
+ {
811
+ "internalType": "NftId",
812
+ "name": "nftId",
813
+ "type": "uint96"
814
+ },
815
+ {
816
+ "internalType": "NftId",
817
+ "name": "parentNftId",
818
+ "type": "uint96"
819
+ },
820
+ {
821
+ "internalType": "ObjectType",
822
+ "name": "objectType",
823
+ "type": "uint8"
824
+ },
825
+ {
826
+ "internalType": "bool",
827
+ "name": "isInterceptor",
828
+ "type": "bool"
829
+ },
830
+ {
831
+ "internalType": "address",
832
+ "name": "objectAddress",
833
+ "type": "address"
834
+ },
835
+ {
836
+ "internalType": "address",
837
+ "name": "initialOwner",
838
+ "type": "address"
839
+ },
840
+ {
841
+ "internalType": "bytes",
842
+ "name": "data",
843
+ "type": "bytes"
844
+ }
845
+ ],
846
+ "internalType": "struct IRegistry.ObjectInfo",
847
+ "name": "info",
848
+ "type": "tuple"
849
+ }
850
+ ],
851
+ "name": "registerDistributor",
852
+ "outputs": [
853
+ {
854
+ "internalType": "NftId",
855
+ "name": "nftId",
856
+ "type": "uint96"
735
857
  }
736
858
  ],
737
859
  "stateMutability": "nonpayable",
@@ -743,6 +865,11 @@
743
865
  "internalType": "contract IRegisterable",
744
866
  "name": "instance",
745
867
  "type": "address"
868
+ },
869
+ {
870
+ "internalType": "address",
871
+ "name": "owner",
872
+ "type": "address"
746
873
  }
747
874
  ],
748
875
  "name": "registerInstance",
@@ -788,13 +915,21 @@
788
915
  "internalType": "struct IRegistry.ObjectInfo",
789
916
  "name": "info",
790
917
  "type": "tuple"
791
- },
918
+ }
919
+ ],
920
+ "stateMutability": "nonpayable",
921
+ "type": "function"
922
+ },
923
+ {
924
+ "inputs": [
792
925
  {
793
- "internalType": "bytes",
794
- "name": "data",
795
- "type": "bytes"
926
+ "internalType": "bytes4",
927
+ "name": "interfaceId",
928
+ "type": "bytes4"
796
929
  }
797
930
  ],
931
+ "name": "registerInterface",
932
+ "outputs": [],
798
933
  "stateMutability": "nonpayable",
799
934
  "type": "function"
800
935
  },
@@ -857,7 +992,7 @@
857
992
  {
858
993
  "inputs": [
859
994
  {
860
- "internalType": "contract IBaseComponent",
995
+ "internalType": "contract IComponent",
861
996
  "name": "pool",
862
997
  "type": "address"
863
998
  },
@@ -910,11 +1045,6 @@
910
1045
  "internalType": "struct IRegistry.ObjectInfo",
911
1046
  "name": "info",
912
1047
  "type": "tuple"
913
- },
914
- {
915
- "internalType": "bytes",
916
- "name": "data",
917
- "type": "bytes"
918
1048
  }
919
1049
  ],
920
1050
  "stateMutability": "nonpayable",
@@ -923,7 +1053,7 @@
923
1053
  {
924
1054
  "inputs": [
925
1055
  {
926
- "internalType": "contract IBaseComponent",
1056
+ "internalType": "contract IComponent",
927
1057
  "name": "product",
928
1058
  "type": "address"
929
1059
  },
@@ -976,11 +1106,6 @@
976
1106
  "internalType": "struct IRegistry.ObjectInfo",
977
1107
  "name": "info",
978
1108
  "type": "tuple"
979
- },
980
- {
981
- "internalType": "bytes",
982
- "name": "data",
983
- "type": "bytes"
984
1109
  }
985
1110
  ],
986
1111
  "stateMutability": "nonpayable",
@@ -1076,118 +1201,80 @@
1076
1201
  },
1077
1202
  {
1078
1203
  "inputs": [
1079
- {
1080
- "internalType": "address",
1081
- "name": "implementation",
1082
- "type": "address"
1083
- },
1084
- {
1085
- "internalType": "address",
1086
- "name": "activatedBy",
1087
- "type": "address"
1088
- },
1089
1204
  {
1090
1205
  "internalType": "bytes",
1091
1206
  "name": "data",
1092
1207
  "type": "bytes"
1093
1208
  }
1094
1209
  ],
1095
- "name": "upgrade",
1210
+ "name": "upgradeVersionable",
1096
1211
  "outputs": [],
1097
1212
  "stateMutability": "nonpayable",
1098
1213
  "type": "function"
1099
1214
  }
1100
1215
  ],
1101
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612f00806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c8063834af15311610104578063b68d1809116100a2578063cde749f411610071578063cde749f414610547578063cf7a1d771461054f578063e285c9c414610562578063ed841d0c1461056a57600080fd5b8063b68d180914610504578063b88da75914610519578063bf7e214f1461052c578063c2bf08c81461053457600080fd5b80638fbc2d81116100de5780638fbc2d8114610497578063946dfcfe146104aa578063a745e3df146104d1578063b3c65015146104e457600080fd5b8063834af15314610467578063893d20e81461047a5780638fb360371461048257600080fd5b80635ab1bd5311610171578063644c45e01161014b578063644c45e0146104165780637286e5e51461042e5780637a9e5e4b146104415780638105cc7f1461045457600080fd5b80635ab1bd53146103b35780635c992fed146103d85780635d9662891461040357600080fd5b8063138461e0116101ad578063138461e0146102485780631eff4b22146102525780634d459c90146102875780634f421333146103a057600080fd5b806301ffc9a7146101d45780630d8e6e2c146102165780630fec111c14610232575b600080fd5b6102016101e23660046124b6565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021e610572565b60405162ffffff909116815260200161020d565b61023a6105fc565b60405161020d9291906125b0565b6102506108ea565b005b6102797f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161020d565b6103436102953660046125ef565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612eab83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161020d565b6102016103ae3660046125ef565b610b0c565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161020d565b6103eb6103e636600461276f565b610bbf565b6040516001600160601b03909116815260200161020d565b61023a610411366004612841565b610c52565b600154600160a01b90046001600160601b03166103eb565b61023a61043c366004612841565b610d8c565b61025061044f36600461287a565b610e3b565b6103eb61046236600461276f565b610ec2565b61023a61047536600461287a565b610ed8565b6103c061105f565b61048a611178565b60405161020d9190612897565b61023a6104a5366004612841565b6111b1565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610279565b6102506104df3660046128ac565b611260565b6104ec6113ba565b6040516001600160401b03909116815260200161020d565b60285b60405160ff909116815260200161020d565b61021e61052736600461290d565b6113db565b6103c061142c565b6103eb61054236600461276f565b611448565b61050761145e565b61025061055d3660046128ac565b6114e1565b6103c0600181565b610279600081565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f79190612926565b905090565b610604612478565b606061060e6115ea565b60408051600680825260e0820190925292945090925060009190816020015b604080518082019091526000808252602082015281526020019060019003908161062d57905050905061065e604690565b8160008151811061067157610671612943565b602090810291909101015160ff9091169052805163834af15360e01b90829060009061069f5761069f612943565b6020908102919091018101516001600160e01b03199092169101526106c2608c90565b816001815181106106d5576106d5612943565b602090810291909101015160ff90911690528051637286e5e560e01b908290600190811061070557610705612943565b6020908102919091018101516001600160e01b0319909216910152610728607890565b8160028151811061073b5761073b612943565b602090810291909101015160ff90911690528051638fbc2d8160e01b908290600290811061076b5761076b612943565b6020908102919091018101516001600160e01b031990921691015261078e606e90565b816003815181106107a1576107a1612943565b602090810291909101015160ff90911690528051635d96628960e01b90829060039081106107d1576107d1612943565b6020908102919091018101516001600160e01b03199092169101526107f460d290565b8160048151811061080757610807612943565b602090810291909101015160ff90911690528051635c992fed60e01b908290600490811061083757610837612943565b6020908102919091018101516001600160e01b031990921691015261085a60dc90565b8160058151811061086d5761086d612943565b602090810291909101015160ff90911690528051631857e11960e31b908290600590811061089d5761089d612943565b6020026020010151602001906001600160e01b03191690816001600160e01b03191681525050806040516020016108d49190612959565b6040516020818303038152906040529150509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561094c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097091906129c0565b156109b7576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166109e05760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4d91906129c0565b610a75576040516372657a5160e01b81526001600160a01b03821660048201526024016109ae565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610abf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae391906129e8565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020612eab83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610b94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb89190612a05565b1192915050565b6000610bce335b60003661173d565b610bd98260d2611843565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610c09908590600401612a1e565b6020604051808303816000875af1158015610c28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4c91906129e8565b92915050565b610c5a612478565b6060610c6533610bc6565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a790610c9890633ad74e8160e01b90600401612897565b602060405180830381865afa158015610cb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd991906129c0565b610cf657604051637a71998760e01b815260040160405180910390fd5b610d0384606e5b8561194e565b6001546040516352efcf2760e11b81529294509092506001600160a01b03169063a5df9e4e90610d37908590600401612a1e565b6020604051808303816000875af1158015610d56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d7a91906129e8565b6001600160601b031682529250929050565b610d94612478565b6060610d9f33610bc6565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a790610dd290634ce2a6c760e11b90600401612897565b602060405180830381865afa158015610def573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1391906129c0565b610e3057604051636f61f64160e01b815260040160405180910390fd5b610d0384608c610cfd565b33610e4461142c565b6001600160a01b0316816001600160a01b031614610e7f5760405162d1953b60e31b81526001600160a01b03821660048201526024016109ae565b816001600160a01b03163b600003610eb5576040516361798f2f60e11b81526001600160a01b03831660048201526024016109ae565b610ebe82611b54565b5050565b6000610ecd33610bc6565b610bd9826050611843565b610ee0612478565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a790610f16906318da1e1f60e11b90600401612897565b602060405180830381865afa158015610f33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5791906129c0565b610f7457604051636795c76360e01b815260040160405180910390fd5b610f808360463361194e565b6001546040516352efcf2760e11b81529294509092506001600160a01b03169063a5df9e4e90610fb4908590600401612a1e565b6020604051808303816000875af1158015610fd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff791906129e8565b6001600160601b0316825260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561104257600080fd5b505af1158015611056573d6000803e3d6000fd5b50505050915091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156110c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e891906129c0565b1561116857600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015611144573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f79190612a3c565b506002546001600160a01b031690565b600080516020612e6b833981519152805460009190600160a01b900460ff166111a25760006111ab565b638fb3603760e01b5b91505090565b6111b9612478565b60606111c433610bc6565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a7906111f79063c8ea96c560e01b90600401612897565b602060405180830381865afa158015611214573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123891906129c0565b611255576040516308707e3160e41b815260040160405180910390fd5b610d03846078610cfd565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611282610572565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156112c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e69190612a59565b600080516020612e8b8339815191528054600160401b900460ff1680611319575080546001600160401b03808416911610155b156113375760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556113628585611bb5565b61136b83611e54565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006105f7600080516020612e8b833981519152546001600160401b031690565b6000600080516020612eab833981519152600101828154811061140057611400612943565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080516020612e6b833981519152546001600160a01b031690565b600061145333610bc6565b610bd98260dc611843565b6000611468610572565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156114bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f79190612a8d565b600080516020612e8b8339815191528054600160401b810460ff1615906001600160401b03166000811580156115145750825b90506000826001600160401b031660011480156115305750303b155b90508115801561153e575080155b1561155c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561158657845460ff60401b1916600160401b1785555b6115908888611bb5565b61159a8787611e5c565b83156115e057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6115f2612478565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061163e6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161168661105f565b6001600160a01b031681526020018260010180546116a390612aaa565b80601f01602080910402602001604051908101604052809291908181526020018280546116cf90612aaa565b801561171c5780601f106116f15761010080835404028352916020019161171c565b820191906000526020600020905b8154815290600101906020018083116116ff57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b600080516020612e6b83398151915260008061177861175a61142c565b873061176a600460008a8c612ae4565b61177391612b0e565b611f90565b915091508161183b5763ffffffff81161561181857825460ff60a01b1916600160a01b1783556117a661142c565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016117d593929190612b3e565b600060405180830381600087803b1580156117ef57600080fd5b505af1158015611803573d6000803e3d6000fd5b5050845460ff60a01b191685555061183b9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016109ae565b505050505050565b60006080830152604082015160ff828116911614611887576040808301519051632208245760e11b815260ff808416600483015290911660248201526044016109ae565b60a08201516001600160a01b0381166118b357604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611907573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061192b91906129c0565b1561194957604051637142ceb360e11b815260040160405180910390fd5b505050565b611956612478565b6060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611996573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119be9190810190612bc3565b6001600160a01b03871660808301526040820151919350915060ff858116911614611a0f576040808301519051632208245760e11b815260ff808716600483015290911660248201526044016109ae565b60a082015160ff8516604614611a5c57836001600160a01b0316816001600160a01b031614611a5c5760405163dfc430cb60e01b81526001600160a01b03851660048201526024016109ae565b856001600160a01b0316816001600160a01b031603611a8e576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611ab557604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611b09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2d91906129c0565b15611b4b57604051637142ceb360e11b815260040160405180910390fd5b50935093915050565b600080516020612e6b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611bbd61209c565b600080516020612eab8339815191526000611bed600080516020612e8b833981519152546001600160401b031690565b90506000611bf9610572565b9050816001600160401b0316600103611c265760028301805462ffffff191662ffffff8316179055611c74565b600283015462ffffff90811690821611611c745760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016109ae565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611d28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4c9190612cbb565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906113ab9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101cf61209c565b600080516020612e8b8339815191528054600160401b810460ff1615906001600160401b0316600081158015611e8f5750825b90506000826001600160401b03166001148015611eab5750303b155b905081158015611eb9575080155b15611ed75760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611f0157845460ff60401b1916600160401b1785555b60008087806020019051810190611f189190612ce2565b91509150611f25826120d5565b611f2f818a6120e9565b611f3f63bdc07c9b60e01b612154565b50508315611f8757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611fff9190612d11565b600060405180830381855afa9150503d806000811461203a576040519150601f19603f3d011682016040523d82523d6000602084013e61203f565b606091505b5091509150811561209157604081511061207157808060200190518101906120679190612d2d565b9094509250612091565b6020815110612091578080602001905181019061208e91906129c0565b93505b505094509492505050565b600080516020612e8b83398151915254600160401b900460ff166120d357604051631afcd79f60e31b815260040160405180910390fd5b565b6120dd61209c565b6120e681612179565b50565b600060286120f561145e565b6040805160ff938416602082015292909116908201526060016040516020818303038152906040529050600061212a8461218a565b9050600061213d8583603c8488886121d1565b61214d637b6a51fd60e01b612154565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61218161209c565b6120e681611b54565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015610c28573d6000803e3d6000fd5b6122126301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61221c828761229d565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161228c8382612dab565b50611f876303fb044760e21b612154565b6001600160a01b0382166122f35760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016109ae565b600280546001600160a01b0319166001600160a01b038416179055610ebe816001546001600160a01b03161561234b5760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016109ae565b6001600160a01b0381166123725760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036123a85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109ae565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a7906123ee9063102da10360e01b90600401612897565b602060405180830381865afa925050508015612427575060408051601f3d908101601f19168201909252612424918101906129c0565b60015b61244f5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109ae565b80610ebe5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016109ae565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156124c857600080fd5b81356001600160e01b0319811681146124e057600080fd5b9392505050565b60005b838110156125025781810151838201526020016124ea565b50506000910152565b600081518084526125238160208601602086016124e7565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c08501526125a860e085018261250b565b949350505050565b6040815260006125c36040830185612537565b82810360208401526125d5818561250b565b95945050505050565b62ffffff811681146120e657600080fd5b60006020828403121561260157600080fd5b81356124e0816125de565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156126445761264461260c565b60405290565b604051601f8201601f191681016001600160401b03811182821017156126725761267261260c565b604052919050565b6001600160601b03811681146120e657600080fd5b803561269a8161267a565b919050565b60ff811681146120e657600080fd5b803561269a8161269f565b80151581146120e657600080fd5b803561269a816126b9565b6001600160a01b03811681146120e657600080fd5b803561269a816126d2565b60006001600160401b0382111561270b5761270b61260c565b50601f01601f191660200190565b600082601f83011261272a57600080fd5b813561273d612738826126f2565b61264a565b81815284602083860101111561275257600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561278157600080fd5b81356001600160401b038082111561279857600080fd5b9083019060e082860312156127ac57600080fd5b6127b4612622565b6127bd8361268f565b81526127cb6020840161268f565b60208201526127dc604084016126ae565b60408201526127ed606084016126c7565b60608201526127fe608084016126e7565b608082015261280f60a084016126e7565b60a082015260c08301358281111561282657600080fd5b61283287828601612719565b60c08301525095945050505050565b6000806040838503121561285457600080fd5b823561285f816126d2565b9150602083013561286f816126d2565b809150509250929050565b60006020828403121561288c57600080fd5b81356124e0816126d2565b6001600160e01b031991909116815260200190565b6000806000606084860312156128c157600080fd5b83356128cc816126d2565b925060208401356128dc816126d2565b915060408401356001600160401b038111156128f757600080fd5b61290386828701612719565b9150509250925092565b60006020828403121561291f57600080fd5b5035919050565b60006020828403121561293857600080fd5b81516124e0816125de565b634e487b7160e01b600052603260045260246000fd5b602080825282518282018190526000919060409081850190868401855b828110156129a8578151805160ff1685528601516001600160e01b031916868501529284019290850190600101612976565b5091979650505050505050565b805161269a816126b9565b6000602082840312156129d257600080fd5b81516124e0816126b9565b805161269a8161267a565b6000602082840312156129fa57600080fd5b81516124e08161267a565b600060208284031215612a1757600080fd5b5051919050565b6020815260006124e06020830184612537565b805161269a816126d2565b600060208284031215612a4e57600080fd5b81516124e0816126d2565b600060208284031215612a6b57600080fd5b81516001600160401b03811681146124e057600080fd5b805161269a8161269f565b600060208284031215612a9f57600080fd5b81516124e08161269f565b600181811c90821680612abe57607f821691505b602082108103612ade57634e487b7160e01b600052602260045260246000fd5b50919050565b60008085851115612af457600080fd5b83861115612b0157600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612b365780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612b8f57600080fd5b8151612b9d612738826126f2565b818152846020838601011115612bb257600080fd5b6125a88260208301602087016124e7565b60008060408385031215612bd657600080fd5b82516001600160401b0380821115612bed57600080fd5b9084019060e08287031215612c0157600080fd5b612c09612622565b612c12836129dd565b8152612c20602084016129dd565b6020820152612c3160408401612a82565b6040820152612c42606084016129b5565b6060820152612c5360808401612a31565b6080820152612c6460a08401612a31565b60a082015260c083015182811115612c7b57600080fd5b612c8788828601612b7e565b60c0830152506020860151909450915080821115612ca457600080fd5b50612cb185828601612b7e565b9150509250929050565b600060208284031215612ccd57600080fd5b815164ffffffffff811681146124e057600080fd5b60008060408385031215612cf557600080fd5b8251612d00816126d2565b602084015190925061286f816126d2565b60008251612d238184602087016124e7565b9190910192915050565b60008060408385031215612d4057600080fd5b8251612d4b816126b9565b602084015190925063ffffffff8116811461286f57600080fd5b601f82111561194957600081815260208120601f850160051c81016020861015612d8c5750805b601f850160051c820191505b8181101561183b57828155600101612d98565b81516001600160401b03811115612dc457612dc461260c565b612dd881612dd28454612aaa565b84612d65565b602080601f831160018114612e0d5760008415612df55750858301515b600019600386901b1c1916600185901b17855561183b565b600085815260208120601f198616915b82811015612e3c57888601518255948401946001909101908401612e1d565b5085821015612e5a5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212208d621859455d9bd088ede21526e857b80e9cf645225adfee805ae4bf7f9494b264736f6c63430008140033",
1102
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c8063834af15311610104578063b68d1809116100a2578063cde749f411610071578063cde749f414610547578063cf7a1d771461054f578063e285c9c414610562578063ed841d0c1461056a57600080fd5b8063b68d180914610504578063b88da75914610519578063bf7e214f1461052c578063c2bf08c81461053457600080fd5b80638fbc2d81116100de5780638fbc2d8114610497578063946dfcfe146104aa578063a745e3df146104d1578063b3c65015146104e457600080fd5b8063834af15314610467578063893d20e81461047a5780638fb360371461048257600080fd5b80635ab1bd5311610171578063644c45e01161014b578063644c45e0146104165780637286e5e51461042e5780637a9e5e4b146104415780638105cc7f1461045457600080fd5b80635ab1bd53146103b35780635c992fed146103d85780635d9662891461040357600080fd5b8063138461e0116101ad578063138461e0146102485780631eff4b22146102525780634d459c90146102875780634f421333146103a057600080fd5b806301ffc9a7146101d45780630d8e6e2c146102165780630fec111c14610232575b600080fd5b6102016101e23660046124b6565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021e610572565b60405162ffffff909116815260200161020d565b61023a6105fc565b60405161020d9291906125b0565b6102506108ea565b005b6102797f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161020d565b6103436102953660046125ef565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612eab83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161020d565b6102016103ae3660046125ef565b610b0c565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161020d565b6103eb6103e636600461276f565b610bbf565b6040516001600160601b03909116815260200161020d565b61023a610411366004612841565b610c52565b600154600160a01b90046001600160601b03166103eb565b61023a61043c366004612841565b610d8c565b61025061044f36600461287a565b610e3b565b6103eb61046236600461276f565b610ec2565b61023a61047536600461287a565b610ed8565b6103c061105f565b61048a611178565b60405161020d9190612897565b61023a6104a5366004612841565b6111b1565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610279565b6102506104df3660046128ac565b611260565b6104ec6113ba565b6040516001600160401b03909116815260200161020d565b60285b60405160ff909116815260200161020d565b61021e61052736600461290d565b6113db565b6103c061142c565b6103eb61054236600461276f565b611448565b61050761145e565b61025061055d3660046128ac565b6114e1565b6103c0600181565b610279600081565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f79190612926565b905090565b610604612478565b606061060e6115ea565b60408051600680825260e0820190925292945090925060009190816020015b604080518082019091526000808252602082015281526020019060019003908161062d57905050905061065e604690565b8160008151811061067157610671612943565b602090810291909101015160ff9091169052805163834af15360e01b90829060009061069f5761069f612943565b6020908102919091018101516001600160e01b03199092169101526106c2608c90565b816001815181106106d5576106d5612943565b602090810291909101015160ff90911690528051637286e5e560e01b908290600190811061070557610705612943565b6020908102919091018101516001600160e01b0319909216910152610728607890565b8160028151811061073b5761073b612943565b602090810291909101015160ff90911690528051638fbc2d8160e01b908290600290811061076b5761076b612943565b6020908102919091018101516001600160e01b031990921691015261078e606e90565b816003815181106107a1576107a1612943565b602090810291909101015160ff90911690528051635d96628960e01b90829060039081106107d1576107d1612943565b6020908102919091018101516001600160e01b03199092169101526107f460d290565b8160048151811061080757610807612943565b602090810291909101015160ff90911690528051635c992fed60e01b908290600490811061083757610837612943565b6020908102919091018101516001600160e01b031990921691015261085a60dc90565b8160058151811061086d5761086d612943565b602090810291909101015160ff90911690528051631857e11960e31b908290600590811061089d5761089d612943565b6020026020010151602001906001600160e01b03191690816001600160e01b03191681525050806040516020016108d49190612959565b6040516020818303038152906040529150509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561094c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097091906129c0565b156109b7576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166109e05760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4d91906129c0565b610a75576040516372657a5160e01b81526001600160a01b03821660048201526024016109ae565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610abf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae391906129e8565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020612eab83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610b94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb89190612a05565b1192915050565b6000610bce335b60003661173d565b610bd98260d2611843565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610c09908590600401612a1e565b6020604051808303816000875af1158015610c28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4c91906129e8565b92915050565b610c5a612478565b6060610c6533610bc6565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a790610c9890633ad74e8160e01b90600401612897565b602060405180830381865afa158015610cb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd991906129c0565b610cf657604051637a71998760e01b815260040160405180910390fd5b610d0384606e5b8561194e565b6001546040516352efcf2760e11b81529294509092506001600160a01b03169063a5df9e4e90610d37908590600401612a1e565b6020604051808303816000875af1158015610d56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d7a91906129e8565b6001600160601b031682529250929050565b610d94612478565b6060610d9f33610bc6565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a790610dd290634ce2a6c760e11b90600401612897565b602060405180830381865afa158015610def573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1391906129c0565b610e3057604051636f61f64160e01b815260040160405180910390fd5b610d0384608c610cfd565b33610e4461142c565b6001600160a01b0316816001600160a01b031614610e7f5760405162d1953b60e31b81526001600160a01b03821660048201526024016109ae565b816001600160a01b03163b600003610eb5576040516361798f2f60e11b81526001600160a01b03831660048201526024016109ae565b610ebe82611b54565b5050565b6000610ecd33610bc6565b610bd9826050611843565b610ee0612478565b6040516301ffc9a760e01b81526060906001600160a01b038416906301ffc9a790610f16906318da1e1f60e11b90600401612897565b602060405180830381865afa158015610f33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5791906129c0565b610f7457604051636795c76360e01b815260040160405180910390fd5b610f808360463361194e565b6001546040516352efcf2760e11b81529294509092506001600160a01b03169063a5df9e4e90610fb4908590600401612a1e565b6020604051808303816000875af1158015610fd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff791906129e8565b6001600160601b0316825260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561104257600080fd5b505af1158015611056573d6000803e3d6000fd5b50505050915091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156110c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e891906129c0565b1561116857600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015611144573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f79190612a3c565b506002546001600160a01b031690565b600080516020612e6b833981519152805460009190600160a01b900460ff166111a25760006111ab565b638fb3603760e01b5b91505090565b6111b9612478565b60606111c433610bc6565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a7906111f79063c8ea96c560e01b90600401612897565b602060405180830381865afa158015611214573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123891906129c0565b611255576040516308707e3160e41b815260040160405180910390fd5b610d03846078610cfd565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611282610572565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156112c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e69190612a59565b600080516020612e8b8339815191528054600160401b900460ff1680611319575080546001600160401b03808416911610155b156113375760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556113628585611bb5565b61136b83611e54565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006105f7600080516020612e8b833981519152546001600160401b031690565b6000600080516020612eab833981519152600101828154811061140057611400612943565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080516020612e6b833981519152546001600160a01b031690565b600061145333610bc6565b610bd98260dc611843565b6000611468610572565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156114bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f79190612a8d565b600080516020612e8b8339815191528054600160401b810460ff1615906001600160401b03166000811580156115145750825b90506000826001600160401b031660011480156115305750303b155b90508115801561153e575080155b1561155c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561158657845460ff60401b1916600160401b1785555b6115908888611bb5565b61159a8787611e5c565b83156115e057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6115f2612478565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061163e6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161168661105f565b6001600160a01b031681526020018260010180546116a390612aaa565b80601f01602080910402602001604051908101604052809291908181526020018280546116cf90612aaa565b801561171c5780601f106116f15761010080835404028352916020019161171c565b820191906000526020600020905b8154815290600101906020018083116116ff57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b600080516020612e6b83398151915260008061177861175a61142c565b873061176a600460008a8c612ae4565b61177391612b0e565b611f90565b915091508161183b5763ffffffff81161561181857825460ff60a01b1916600160a01b1783556117a661142c565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016117d593929190612b3e565b600060405180830381600087803b1580156117ef57600080fd5b505af1158015611803573d6000803e3d6000fd5b5050845460ff60a01b191685555061183b9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016109ae565b505050505050565b60006080830152604082015160ff828116911614611887576040808301519051632208245760e11b815260ff808416600483015290911660248201526044016109ae565b60a08201516001600160a01b0381166118b357604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611907573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061192b91906129c0565b1561194957604051637142ceb360e11b815260040160405180910390fd5b505050565b611956612478565b6060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611996573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119be9190810190612bc3565b6001600160a01b03871660808301526040820151919350915060ff858116911614611a0f576040808301519051632208245760e11b815260ff808716600483015290911660248201526044016109ae565b60a082015160ff8516604614611a5c57836001600160a01b0316816001600160a01b031614611a5c5760405163dfc430cb60e01b81526001600160a01b03851660048201526024016109ae565b856001600160a01b0316816001600160a01b031603611a8e576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611ab557604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611b09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2d91906129c0565b15611b4b57604051637142ceb360e11b815260040160405180910390fd5b50935093915050565b600080516020612e6b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611bbd61209c565b600080516020612eab8339815191526000611bed600080516020612e8b833981519152546001600160401b031690565b90506000611bf9610572565b9050816001600160401b0316600103611c265760028301805462ffffff191662ffffff8316179055611c74565b600283015462ffffff90811690821611611c745760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016109ae565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611d28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4c9190612cbb565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906113ab9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101cf61209c565b600080516020612e8b8339815191528054600160401b810460ff1615906001600160401b0316600081158015611e8f5750825b90506000826001600160401b03166001148015611eab5750303b155b905081158015611eb9575080155b15611ed75760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611f0157845460ff60401b1916600160401b1785555b60008087806020019051810190611f189190612ce2565b91509150611f25826120d5565b611f2f818a6120e9565b611f3f63bdc07c9b60e01b612154565b50508315611f8757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611fff9190612d11565b600060405180830381855afa9150503d806000811461203a576040519150601f19603f3d011682016040523d82523d6000602084013e61203f565b606091505b5091509150811561209157604081511061207157808060200190518101906120679190612d2d565b9094509250612091565b6020815110612091578080602001905181019061208e91906129c0565b93505b505094509492505050565b600080516020612e8b83398151915254600160401b900460ff166120d357604051631afcd79f60e31b815260040160405180910390fd5b565b6120dd61209c565b6120e681612179565b50565b600060286120f561145e565b6040805160ff938416602082015292909116908201526060016040516020818303038152906040529050600061212a8461218a565b9050600061213d8583603c8488886121d1565b61214d637b6a51fd60e01b612154565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61218161209c565b6120e681611b54565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015610c28573d6000803e3d6000fd5b6122126301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61221c828761229d565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161228c8382612dab565b50611f876303fb044760e21b612154565b6001600160a01b0382166122f35760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016109ae565b600280546001600160a01b0319166001600160a01b038416179055610ebe816001546001600160a01b03161561234b5760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016109ae565b6001600160a01b0381166123725760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036123a85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109ae565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a7906123ee9063102da10360e01b90600401612897565b602060405180830381865afa925050508015612427575060408051601f3d908101601f19168201909252612424918101906129c0565b60015b61244f5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109ae565b80610ebe5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016109ae565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156124c857600080fd5b81356001600160e01b0319811681146124e057600080fd5b9392505050565b60005b838110156125025781810151838201526020016124ea565b50506000910152565b600081518084526125238160208601602086016124e7565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c08501526125a860e085018261250b565b949350505050565b6040815260006125c36040830185612537565b82810360208401526125d5818561250b565b95945050505050565b62ffffff811681146120e657600080fd5b60006020828403121561260157600080fd5b81356124e0816125de565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156126445761264461260c565b60405290565b604051601f8201601f191681016001600160401b03811182821017156126725761267261260c565b604052919050565b6001600160601b03811681146120e657600080fd5b803561269a8161267a565b919050565b60ff811681146120e657600080fd5b803561269a8161269f565b80151581146120e657600080fd5b803561269a816126b9565b6001600160a01b03811681146120e657600080fd5b803561269a816126d2565b60006001600160401b0382111561270b5761270b61260c565b50601f01601f191660200190565b600082601f83011261272a57600080fd5b813561273d612738826126f2565b61264a565b81815284602083860101111561275257600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561278157600080fd5b81356001600160401b038082111561279857600080fd5b9083019060e082860312156127ac57600080fd5b6127b4612622565b6127bd8361268f565b81526127cb6020840161268f565b60208201526127dc604084016126ae565b60408201526127ed606084016126c7565b60608201526127fe608084016126e7565b608082015261280f60a084016126e7565b60a082015260c08301358281111561282657600080fd5b61283287828601612719565b60c08301525095945050505050565b6000806040838503121561285457600080fd5b823561285f816126d2565b9150602083013561286f816126d2565b809150509250929050565b60006020828403121561288c57600080fd5b81356124e0816126d2565b6001600160e01b031991909116815260200190565b6000806000606084860312156128c157600080fd5b83356128cc816126d2565b925060208401356128dc816126d2565b915060408401356001600160401b038111156128f757600080fd5b61290386828701612719565b9150509250925092565b60006020828403121561291f57600080fd5b5035919050565b60006020828403121561293857600080fd5b81516124e0816125de565b634e487b7160e01b600052603260045260246000fd5b602080825282518282018190526000919060409081850190868401855b828110156129a8578151805160ff1685528601516001600160e01b031916868501529284019290850190600101612976565b5091979650505050505050565b805161269a816126b9565b6000602082840312156129d257600080fd5b81516124e0816126b9565b805161269a8161267a565b6000602082840312156129fa57600080fd5b81516124e08161267a565b600060208284031215612a1757600080fd5b5051919050565b6020815260006124e06020830184612537565b805161269a816126d2565b600060208284031215612a4e57600080fd5b81516124e0816126d2565b600060208284031215612a6b57600080fd5b81516001600160401b03811681146124e057600080fd5b805161269a8161269f565b600060208284031215612a9f57600080fd5b81516124e08161269f565b600181811c90821680612abe57607f821691505b602082108103612ade57634e487b7160e01b600052602260045260246000fd5b50919050565b60008085851115612af457600080fd5b83861115612b0157600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612b365780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612b8f57600080fd5b8151612b9d612738826126f2565b818152846020838601011115612bb257600080fd5b6125a88260208301602087016124e7565b60008060408385031215612bd657600080fd5b82516001600160401b0380821115612bed57600080fd5b9084019060e08287031215612c0157600080fd5b612c09612622565b612c12836129dd565b8152612c20602084016129dd565b6020820152612c3160408401612a82565b6040820152612c42606084016129b5565b6060820152612c5360808401612a31565b6080820152612c6460a08401612a31565b60a082015260c083015182811115612c7b57600080fd5b612c8788828601612b7e565b60c0830152506020860151909450915080821115612ca457600080fd5b50612cb185828601612b7e565b9150509250929050565b600060208284031215612ccd57600080fd5b815164ffffffffff811681146124e057600080fd5b60008060408385031215612cf557600080fd5b8251612d00816126d2565b602084015190925061286f816126d2565b60008251612d238184602087016124e7565b9190910192915050565b60008060408385031215612d4057600080fd5b8251612d4b816126b9565b602084015190925063ffffffff8116811461286f57600080fd5b601f82111561194957600081815260208120601f850160051c81016020861015612d8c5750805b601f850160051c820191505b8181101561183b57828155600101612d98565b81516001600160401b03811115612dc457612dc461260c565b612dd881612dd28454612aaa565b84612d65565b602080601f831160018114612e0d5760008415612df55750858301515b600019600386901b1c1916600185901b17855561183b565b600085815260208120601f198616915b82811015612e3c57888601518255948401946001909101908401612e1d565b5085821015612e5a5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212208d621859455d9bd088ede21526e857b80e9cf645225adfee805ae4bf7f9494b264736f6c63430008140033",
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",
1103
1218
  "linkReferences": {
1104
- "contracts/types/Blocknumber.sol": {
1105
- "BlocknumberLib": [
1106
- {
1107
- "length": 20,
1108
- "start": 3220
1109
- }
1110
- ]
1111
- },
1112
- "contracts/types/NftId.sol": {
1219
+ "contracts/type/NftId.sol": {
1113
1220
  "NftIdLib": [
1114
1221
  {
1115
1222
  "length": 20,
1116
- "start": 2636
1223
+ "start": 4371
1117
1224
  },
1118
1225
  {
1119
1226
  "length": 20,
1120
- "start": 4548
1121
- }
1122
- ]
1123
- },
1124
- "contracts/types/Timestamp.sol": {
1125
- "TimestampLib": [
1126
- {
1127
- "length": 20,
1128
- "start": 7720
1227
+ "start": 6553
1129
1228
  }
1130
1229
  ]
1131
1230
  },
1132
- "contracts/types/Version.sol": {
1231
+ "contracts/type/Version.sol": {
1133
1232
  "VersionLib": [
1134
1233
  {
1135
1234
  "length": 20,
1136
- "start": 1747
1235
+ "start": 1870
1137
1236
  },
1138
1237
  {
1139
1238
  "length": 20,
1140
- "start": 5020
1141
- },
1239
+ "start": 2482
1240
+ }
1241
+ ],
1242
+ "VersionPartLib": [
1142
1243
  {
1143
1244
  "length": 20,
1144
- "start": 5565
1245
+ "start": 4851
1145
1246
  }
1146
1247
  ]
1147
1248
  }
1148
1249
  },
1149
1250
  "deployedLinkReferences": {
1150
- "contracts/types/Blocknumber.sol": {
1151
- "BlocknumberLib": [
1152
- {
1153
- "length": 20,
1154
- "start": 2906
1155
- }
1156
- ]
1157
- },
1158
- "contracts/types/NftId.sol": {
1251
+ "contracts/type/NftId.sol": {
1159
1252
  "NftIdLib": [
1160
1253
  {
1161
1254
  "length": 20,
1162
- "start": 2322
1255
+ "start": 4141
1163
1256
  },
1164
1257
  {
1165
1258
  "length": 20,
1166
- "start": 4234
1259
+ "start": 6323
1167
1260
  }
1168
1261
  ]
1169
1262
  },
1170
- "contracts/types/Timestamp.sol": {
1171
- "TimestampLib": [
1172
- {
1173
- "length": 20,
1174
- "start": 7406
1175
- }
1176
- ]
1177
- },
1178
- "contracts/types/Version.sol": {
1263
+ "contracts/type/Version.sol": {
1179
1264
  "VersionLib": [
1180
1265
  {
1181
1266
  "length": 20,
1182
- "start": 1433
1267
+ "start": 1640
1183
1268
  },
1184
1269
  {
1185
1270
  "length": 20,
1186
- "start": 4706
1187
- },
1271
+ "start": 2252
1272
+ }
1273
+ ],
1274
+ "VersionPartLib": [
1188
1275
  {
1189
1276
  "length": 20,
1190
- "start": 5251
1277
+ "start": 4621
1191
1278
  }
1192
1279
  ]
1193
1280
  }