@etherisc/gif-next 0.0.2-ce8407f-016 → 0.0.2-ceb30b2-601

Sign up to get free protection for your applications and to get access to all the features.
Files changed (374) hide show
  1. package/README.md +178 -14
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +829 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1332 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +592 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +956 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +1051 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +817 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +4 -0
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1363 -0
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +4 -0
  17. package/artifacts/contracts/components/Product.sol/Product.json +1154 -0
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +91 -2
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2719 -1
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +600 -0
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +1220 -1347
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +593 -180
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +586 -56
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1014 -32
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +724 -0
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +631 -0
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +0 -77
  44. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -244
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  48. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  51. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  53. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  54. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  58. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  60. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1092 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  62. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +672 -0
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  64. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1313 -0
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  66. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +712 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  68. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1316 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  70. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +724 -0
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  72. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1798 -0
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  74. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +780 -0
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +619 -0
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +701 -0
  79. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +731 -0
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  82. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +1082 -0
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  84. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +651 -0
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +1077 -0
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  88. package/artifacts/contracts/instance/{base/IService.sol/IService.json → service/IProductService.sol/IProductService.json} +178 -157
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1153 -0
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +676 -0
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1598 -0
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +696 -0
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +864 -0
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +640 -0
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  102. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +60 -2
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  104. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +255 -63
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +309 -196
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  108. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  109. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  110. package/artifacts/contracts/registry/Registry.sol/Registry.json +229 -212
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  112. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  114. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +421 -284
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +310 -129
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  118. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  120. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +485 -0
  121. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  123. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  125. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  127. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +165 -0
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  129. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  130. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  131. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  132. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  133. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/IService.sol/IService.json} +115 -29
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  135. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  137. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +107 -27
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  139. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +271 -0
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  141. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +283 -63
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  143. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +116 -51
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  145. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  146. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  147. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/Service.sol/Service.json} +187 -167
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  149. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  151. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  153. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +116 -51
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  159. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +111 -5
  160. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  161. package/artifacts/contracts/test/TestService.sol/TestService.json +204 -216
  162. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  164. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  166. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  167. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  168. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  169. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  170. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  171. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  172. package/artifacts/contracts/types/Amount.sol/AmountLib.json +209 -0
  173. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  175. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  177. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  178. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  179. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  180. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/Fee.sol/FeeLib.json +42 -11
  182. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  183. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  184. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  186. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  187. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  188. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  191. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  192. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  193. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  195. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  197. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  198. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  199. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  200. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  201. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  202. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  203. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  204. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  205. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  206. package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
  207. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  208. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  209. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  210. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  211. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  212. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  213. package/contracts/components/Component.sol +253 -0
  214. package/contracts/components/Distribution.sol +284 -0
  215. package/contracts/components/IComponent.sol +76 -0
  216. package/contracts/components/IDistributionComponent.sol +71 -0
  217. package/contracts/components/IPoolComponent.sol +113 -0
  218. package/contracts/components/IProductComponent.sol +40 -0
  219. package/contracts/components/Pool.sol +302 -0
  220. package/contracts/components/Product.sol +371 -0
  221. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  222. package/contracts/instance/BundleManager.sol +126 -0
  223. package/contracts/instance/Cloneable.sol +51 -0
  224. package/contracts/instance/IInstance.sol +99 -1
  225. package/contracts/instance/IInstanceService.sol +63 -0
  226. package/contracts/instance/Instance.sol +169 -243
  227. package/contracts/instance/InstanceAccessManager.sol +417 -178
  228. package/contracts/instance/InstanceReader.sol +116 -34
  229. package/contracts/instance/InstanceService.sol +462 -23
  230. package/contracts/instance/InstanceServiceManager.sol +54 -0
  231. package/contracts/instance/ObjectManager.sol +82 -0
  232. package/contracts/instance/base/ComponentService.sol +130 -0
  233. package/contracts/instance/base/IKeyValueStore.sol +5 -4
  234. package/contracts/instance/base/KeyValueStore.sol +13 -52
  235. package/contracts/instance/base/Lifecycle.sol +23 -6
  236. package/contracts/instance/module/IAccess.sol +37 -21
  237. package/contracts/instance/module/IBundle.sol +8 -4
  238. package/contracts/instance/module/IComponents.sol +41 -0
  239. package/contracts/instance/module/IDistribution.sol +2 -0
  240. package/contracts/instance/module/IPolicy.sol +42 -9
  241. package/contracts/instance/module/ISetup.sol +10 -18
  242. package/contracts/instance/module/ITreasury.sol +1 -1
  243. package/contracts/instance/service/ApplicationService.sol +356 -0
  244. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  245. package/contracts/instance/service/BundleService.sol +443 -0
  246. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  247. package/contracts/instance/service/ClaimService.sol +361 -0
  248. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  249. package/contracts/instance/service/DistributionService.sol +431 -0
  250. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  251. package/contracts/instance/service/IApplicationService.sol +78 -0
  252. package/contracts/instance/service/IBundleService.sol +102 -0
  253. package/contracts/instance/service/IClaimService.sol +90 -0
  254. package/contracts/instance/service/IDistributionService.sol +99 -0
  255. package/contracts/instance/service/IPolicyService.sol +80 -0
  256. package/contracts/instance/service/IPoolService.sol +144 -0
  257. package/contracts/instance/service/IProductService.sol +40 -0
  258. package/contracts/instance/service/PolicyService.sol +358 -0
  259. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  260. package/contracts/instance/service/PoolService.sol +349 -0
  261. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  262. package/contracts/instance/service/ProductService.sol +210 -0
  263. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  264. package/contracts/registry/ChainNft.sol +49 -26
  265. package/contracts/registry/IRegistry.sol +53 -25
  266. package/contracts/registry/IRegistryService.sol +53 -16
  267. package/contracts/registry/ITransferInterceptor.sol +1 -0
  268. package/contracts/registry/Registry.sol +289 -313
  269. package/contracts/registry/RegistryAccessManager.sol +216 -0
  270. package/contracts/registry/RegistryService.sol +169 -256
  271. package/contracts/registry/RegistryServiceManager.sol +30 -11
  272. package/contracts/registry/ReleaseManager.sol +324 -0
  273. package/contracts/registry/TokenRegistry.sol +116 -0
  274. package/contracts/shared/ERC165.sol +15 -9
  275. package/contracts/shared/INftOwnable.sol +11 -10
  276. package/contracts/shared/IPolicyHolder.sol +38 -0
  277. package/contracts/shared/IRegisterable.sol +4 -6
  278. package/contracts/shared/IRegistryLinked.sol +11 -0
  279. package/contracts/shared/IService.sol +18 -0
  280. package/contracts/shared/IVersionable.sol +4 -47
  281. package/contracts/shared/NftOwnable.sol +65 -83
  282. package/contracts/shared/PolicyHolder.sol +87 -0
  283. package/contracts/shared/ProxyManager.sol +101 -26
  284. package/contracts/shared/Registerable.sol +25 -39
  285. package/contracts/shared/RegistryLinked.sol +43 -0
  286. package/contracts/shared/Service.sol +72 -0
  287. package/contracts/shared/TokenHandler.sol +13 -7
  288. package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
  289. package/contracts/shared/Versionable.sol +5 -93
  290. package/contracts/test/TestFee.sol +2 -2
  291. package/contracts/test/TestRegisterable.sol +1 -1
  292. package/contracts/test/TestRoleId.sol +6 -6
  293. package/contracts/test/TestService.sol +6 -7
  294. package/contracts/types/Amount.sol +70 -0
  295. package/contracts/types/Blocknumber.sol +1 -0
  296. package/contracts/types/ClaimId.sol +75 -0
  297. package/contracts/types/DistributorType.sol +2 -2
  298. package/contracts/types/Fee.sol +15 -7
  299. package/contracts/types/NftId.sol +8 -0
  300. package/contracts/types/NftIdSet.sol +26 -24
  301. package/contracts/types/ObjectType.sol +11 -6
  302. package/contracts/types/PayoutId.sol +82 -0
  303. package/contracts/types/Referral.sol +4 -0
  304. package/contracts/types/RoleId.sol +26 -4
  305. package/contracts/types/Seconds.sol +54 -0
  306. package/contracts/types/StateId.sol +11 -2
  307. package/contracts/types/Timestamp.sol +18 -13
  308. package/contracts/types/UFixed.sol +129 -12
  309. package/contracts/types/Version.sol +5 -1
  310. package/package.json +6 -5
  311. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  312. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  313. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  314. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  315. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  316. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  317. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  318. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  319. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  320. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  322. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  324. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  326. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  327. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  329. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  331. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  333. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  335. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  337. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  339. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  341. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  343. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  344. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  345. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  346. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1119
  347. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  348. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  349. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  350. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  351. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  352. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  353. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  354. package/contracts/components/IBaseComponent.sol +0 -19
  355. package/contracts/experiment/errors/Require.sol +0 -38
  356. package/contracts/experiment/errors/Revert.sol +0 -44
  357. package/contracts/experiment/inheritance/A.sol +0 -53
  358. package/contracts/experiment/inheritance/B.sol +0 -28
  359. package/contracts/experiment/inheritance/C.sol +0 -34
  360. package/contracts/experiment/inheritance/IA.sol +0 -13
  361. package/contracts/experiment/inheritance/IB.sol +0 -10
  362. package/contracts/experiment/inheritance/IC.sol +0 -12
  363. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  364. package/contracts/experiment/statemachine/ISM.sol +0 -25
  365. package/contracts/experiment/statemachine/SM.sol +0 -57
  366. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  367. package/contracts/experiment/types/TypeA.sol +0 -47
  368. package/contracts/experiment/types/TypeB.sol +0 -29
  369. package/contracts/instance/AccessManagedSimple.sol +0 -114
  370. package/contracts/instance/AccessManagerSimple.sol +0 -682
  371. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  372. package/contracts/instance/base/IService.sol +0 -15
  373. package/contracts/instance/base/ServiceBase.sol +0 -44
  374. package/contracts/registry/IChainNft.sol +0 -22
@@ -0,0 +1,1092 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ApplicationService",
4
+ "sourceName": "contracts/instance/service/ApplicationService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "NftId",
48
+ "name": "bundleNftId",
49
+ "type": "uint96"
50
+ },
51
+ {
52
+ "internalType": "NftId",
53
+ "name": "bundlePoolNftId",
54
+ "type": "uint96"
55
+ },
56
+ {
57
+ "internalType": "NftId",
58
+ "name": "poolNftId",
59
+ "type": "uint96"
60
+ }
61
+ ],
62
+ "name": "ErrorApplicationServiceBundlePoolMismatch",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "NftId",
69
+ "name": "callerNftId",
70
+ "type": "uint96"
71
+ },
72
+ {
73
+ "internalType": "ObjectType",
74
+ "name": "callerType",
75
+ "type": "uint8"
76
+ }
77
+ ],
78
+ "name": "ErrorApplicationServiceNotProduct",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [
83
+ {
84
+ "internalType": "address",
85
+ "name": "component",
86
+ "type": "address"
87
+ }
88
+ ],
89
+ "name": "ErrorComponentServiceComponentLocked",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "address",
96
+ "name": "component",
97
+ "type": "address"
98
+ },
99
+ {
100
+ "internalType": "ObjectType",
101
+ "name": "expectedType",
102
+ "type": "uint8"
103
+ },
104
+ {
105
+ "internalType": "ObjectType",
106
+ "name": "foundType",
107
+ "type": "uint8"
108
+ }
109
+ ],
110
+ "name": "ErrorComponentServiceComponentTypeInvalid",
111
+ "type": "error"
112
+ },
113
+ {
114
+ "inputs": [
115
+ {
116
+ "internalType": "NftId",
117
+ "name": "instanceNftId",
118
+ "type": "uint96"
119
+ },
120
+ {
121
+ "internalType": "RoleId",
122
+ "name": "requiredRole",
123
+ "type": "uint64"
124
+ },
125
+ {
126
+ "internalType": "address",
127
+ "name": "sender",
128
+ "type": "address"
129
+ }
130
+ ],
131
+ "name": "ErrorComponentServiceExpectedRoleMissing",
132
+ "type": "error"
133
+ },
134
+ {
135
+ "inputs": [
136
+ {
137
+ "internalType": "address",
138
+ "name": "component",
139
+ "type": "address"
140
+ },
141
+ {
142
+ "internalType": "ObjectType",
143
+ "name": "requiredType",
144
+ "type": "uint8"
145
+ },
146
+ {
147
+ "internalType": "ObjectType",
148
+ "name": "componentType",
149
+ "type": "uint8"
150
+ }
151
+ ],
152
+ "name": "ErrorComponentServiceInvalidType",
153
+ "type": "error"
154
+ },
155
+ {
156
+ "inputs": [
157
+ {
158
+ "internalType": "address",
159
+ "name": "component",
160
+ "type": "address"
161
+ }
162
+ ],
163
+ "name": "ErrorComponentServiceNotComponent",
164
+ "type": "error"
165
+ },
166
+ {
167
+ "inputs": [
168
+ {
169
+ "internalType": "address",
170
+ "name": "component",
171
+ "type": "address"
172
+ },
173
+ {
174
+ "internalType": "address",
175
+ "name": "initialOwner",
176
+ "type": "address"
177
+ },
178
+ {
179
+ "internalType": "address",
180
+ "name": "sender",
181
+ "type": "address"
182
+ }
183
+ ],
184
+ "name": "ErrorComponentServiceSenderNotOwner",
185
+ "type": "error"
186
+ },
187
+ {
188
+ "inputs": [
189
+ {
190
+ "internalType": "address",
191
+ "name": "sender",
192
+ "type": "address"
193
+ }
194
+ ],
195
+ "name": "ErrorComponentServiceSenderNotService",
196
+ "type": "error"
197
+ },
198
+ {
199
+ "inputs": [
200
+ {
201
+ "internalType": "address",
202
+ "name": "target",
203
+ "type": "address"
204
+ }
205
+ ],
206
+ "name": "ErrorIAccessTargetLocked",
207
+ "type": "error"
208
+ },
209
+ {
210
+ "inputs": [
211
+ {
212
+ "internalType": "NftId",
213
+ "name": "nftId",
214
+ "type": "uint96"
215
+ }
216
+ ],
217
+ "name": "ErrorNftOwnableAlreadyLinked",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [
222
+ {
223
+ "internalType": "address",
224
+ "name": "contractAddress",
225
+ "type": "address"
226
+ }
227
+ ],
228
+ "name": "ErrorNftOwnableContractNotRegistered",
229
+ "type": "error"
230
+ },
231
+ {
232
+ "inputs": [],
233
+ "name": "ErrorNftOwnableInitialOwnerZero",
234
+ "type": "error"
235
+ },
236
+ {
237
+ "inputs": [
238
+ {
239
+ "internalType": "address",
240
+ "name": "account",
241
+ "type": "address"
242
+ }
243
+ ],
244
+ "name": "ErrorNftOwnableNotOwner",
245
+ "type": "error"
246
+ },
247
+ {
248
+ "inputs": [
249
+ {
250
+ "internalType": "address",
251
+ "name": "registryAddress",
252
+ "type": "address"
253
+ }
254
+ ],
255
+ "name": "ErrorNotRegistry",
256
+ "type": "error"
257
+ },
258
+ {
259
+ "inputs": [],
260
+ "name": "ErrorServiceNotImplemented",
261
+ "type": "error"
262
+ },
263
+ {
264
+ "inputs": [],
265
+ "name": "InvalidInitialization",
266
+ "type": "error"
267
+ },
268
+ {
269
+ "inputs": [],
270
+ "name": "NotInitializing",
271
+ "type": "error"
272
+ },
273
+ {
274
+ "anonymous": false,
275
+ "inputs": [
276
+ {
277
+ "indexed": false,
278
+ "internalType": "address",
279
+ "name": "authority",
280
+ "type": "address"
281
+ }
282
+ ],
283
+ "name": "AuthorityUpdated",
284
+ "type": "event"
285
+ },
286
+ {
287
+ "anonymous": false,
288
+ "inputs": [
289
+ {
290
+ "indexed": false,
291
+ "internalType": "uint64",
292
+ "name": "version",
293
+ "type": "uint64"
294
+ }
295
+ ],
296
+ "name": "Initialized",
297
+ "type": "event"
298
+ },
299
+ {
300
+ "inputs": [],
301
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
302
+ "outputs": [
303
+ {
304
+ "internalType": "bytes32",
305
+ "name": "",
306
+ "type": "bytes32"
307
+ }
308
+ ],
309
+ "stateMutability": "view",
310
+ "type": "function"
311
+ },
312
+ {
313
+ "inputs": [],
314
+ "name": "REGISTERABLE_LOCATION_V1",
315
+ "outputs": [
316
+ {
317
+ "internalType": "bytes32",
318
+ "name": "",
319
+ "type": "bytes32"
320
+ }
321
+ ],
322
+ "stateMutability": "view",
323
+ "type": "function"
324
+ },
325
+ {
326
+ "inputs": [
327
+ {
328
+ "internalType": "NftId",
329
+ "name": "applicationNftId",
330
+ "type": "uint96"
331
+ },
332
+ {
333
+ "internalType": "RiskId",
334
+ "name": "riskId",
335
+ "type": "bytes8"
336
+ },
337
+ {
338
+ "internalType": "NftId",
339
+ "name": "bundleNftId",
340
+ "type": "uint96"
341
+ },
342
+ {
343
+ "internalType": "ReferralId",
344
+ "name": "referralId",
345
+ "type": "bytes8"
346
+ },
347
+ {
348
+ "internalType": "uint256",
349
+ "name": "sumInsuredAmount",
350
+ "type": "uint256"
351
+ },
352
+ {
353
+ "internalType": "uint256",
354
+ "name": "lifetime",
355
+ "type": "uint256"
356
+ },
357
+ {
358
+ "internalType": "bytes",
359
+ "name": "applicationData",
360
+ "type": "bytes"
361
+ }
362
+ ],
363
+ "name": "adjust",
364
+ "outputs": [],
365
+ "stateMutability": "nonpayable",
366
+ "type": "function"
367
+ },
368
+ {
369
+ "inputs": [],
370
+ "name": "authority",
371
+ "outputs": [
372
+ {
373
+ "internalType": "address",
374
+ "name": "",
375
+ "type": "address"
376
+ }
377
+ ],
378
+ "stateMutability": "view",
379
+ "type": "function"
380
+ },
381
+ {
382
+ "inputs": [
383
+ {
384
+ "internalType": "NftId",
385
+ "name": "productNftId",
386
+ "type": "uint96"
387
+ },
388
+ {
389
+ "internalType": "RiskId",
390
+ "name": "riskId",
391
+ "type": "bytes8"
392
+ },
393
+ {
394
+ "internalType": "uint256",
395
+ "name": "sumInsuredAmount",
396
+ "type": "uint256"
397
+ },
398
+ {
399
+ "internalType": "Seconds",
400
+ "name": "lifetime",
401
+ "type": "uint40"
402
+ },
403
+ {
404
+ "internalType": "bytes",
405
+ "name": "applicationData",
406
+ "type": "bytes"
407
+ },
408
+ {
409
+ "internalType": "NftId",
410
+ "name": "bundleNftId",
411
+ "type": "uint96"
412
+ },
413
+ {
414
+ "internalType": "ReferralId",
415
+ "name": "referralId",
416
+ "type": "bytes8"
417
+ }
418
+ ],
419
+ "name": "calculatePremium",
420
+ "outputs": [
421
+ {
422
+ "components": [
423
+ {
424
+ "internalType": "uint256",
425
+ "name": "netPremiumAmount",
426
+ "type": "uint256"
427
+ },
428
+ {
429
+ "internalType": "uint256",
430
+ "name": "fullPremiumAmount",
431
+ "type": "uint256"
432
+ },
433
+ {
434
+ "internalType": "uint256",
435
+ "name": "premiumAmount",
436
+ "type": "uint256"
437
+ },
438
+ {
439
+ "internalType": "uint256",
440
+ "name": "productFeeFixAmount",
441
+ "type": "uint256"
442
+ },
443
+ {
444
+ "internalType": "uint256",
445
+ "name": "poolFeeFixAmount",
446
+ "type": "uint256"
447
+ },
448
+ {
449
+ "internalType": "uint256",
450
+ "name": "bundleFeeFixAmount",
451
+ "type": "uint256"
452
+ },
453
+ {
454
+ "internalType": "uint256",
455
+ "name": "distributionFeeFixAmount",
456
+ "type": "uint256"
457
+ },
458
+ {
459
+ "internalType": "uint256",
460
+ "name": "productFeeVarAmount",
461
+ "type": "uint256"
462
+ },
463
+ {
464
+ "internalType": "uint256",
465
+ "name": "poolFeeVarAmount",
466
+ "type": "uint256"
467
+ },
468
+ {
469
+ "internalType": "uint256",
470
+ "name": "bundleFeeVarAmount",
471
+ "type": "uint256"
472
+ },
473
+ {
474
+ "internalType": "uint256",
475
+ "name": "distributionFeeVarAmount",
476
+ "type": "uint256"
477
+ },
478
+ {
479
+ "internalType": "uint256",
480
+ "name": "distributionOwnerFeeFixAmount",
481
+ "type": "uint256"
482
+ },
483
+ {
484
+ "internalType": "uint256",
485
+ "name": "distributionOwnerFeeVarAmount",
486
+ "type": "uint256"
487
+ },
488
+ {
489
+ "internalType": "uint256",
490
+ "name": "commissionAmount",
491
+ "type": "uint256"
492
+ },
493
+ {
494
+ "internalType": "uint256",
495
+ "name": "discountAmount",
496
+ "type": "uint256"
497
+ }
498
+ ],
499
+ "internalType": "struct IPolicy.Premium",
500
+ "name": "premium",
501
+ "type": "tuple"
502
+ }
503
+ ],
504
+ "stateMutability": "view",
505
+ "type": "function"
506
+ },
507
+ {
508
+ "inputs": [
509
+ {
510
+ "internalType": "address",
511
+ "name": "applicationOwner",
512
+ "type": "address"
513
+ },
514
+ {
515
+ "internalType": "RiskId",
516
+ "name": "riskId",
517
+ "type": "bytes8"
518
+ },
519
+ {
520
+ "internalType": "uint256",
521
+ "name": "sumInsuredAmount",
522
+ "type": "uint256"
523
+ },
524
+ {
525
+ "internalType": "Seconds",
526
+ "name": "lifetime",
527
+ "type": "uint40"
528
+ },
529
+ {
530
+ "internalType": "NftId",
531
+ "name": "bundleNftId",
532
+ "type": "uint96"
533
+ },
534
+ {
535
+ "internalType": "ReferralId",
536
+ "name": "referralId",
537
+ "type": "bytes8"
538
+ },
539
+ {
540
+ "internalType": "bytes",
541
+ "name": "applicationData",
542
+ "type": "bytes"
543
+ }
544
+ ],
545
+ "name": "create",
546
+ "outputs": [
547
+ {
548
+ "internalType": "NftId",
549
+ "name": "applicationNftId",
550
+ "type": "uint96"
551
+ }
552
+ ],
553
+ "stateMutability": "nonpayable",
554
+ "type": "function"
555
+ },
556
+ {
557
+ "inputs": [],
558
+ "name": "getDomain",
559
+ "outputs": [
560
+ {
561
+ "internalType": "ObjectType",
562
+ "name": "",
563
+ "type": "uint8"
564
+ }
565
+ ],
566
+ "stateMutability": "pure",
567
+ "type": "function"
568
+ },
569
+ {
570
+ "inputs": [],
571
+ "name": "getInitialInfo",
572
+ "outputs": [
573
+ {
574
+ "components": [
575
+ {
576
+ "internalType": "NftId",
577
+ "name": "nftId",
578
+ "type": "uint96"
579
+ },
580
+ {
581
+ "internalType": "NftId",
582
+ "name": "parentNftId",
583
+ "type": "uint96"
584
+ },
585
+ {
586
+ "internalType": "ObjectType",
587
+ "name": "objectType",
588
+ "type": "uint8"
589
+ },
590
+ {
591
+ "internalType": "bool",
592
+ "name": "isInterceptor",
593
+ "type": "bool"
594
+ },
595
+ {
596
+ "internalType": "address",
597
+ "name": "objectAddress",
598
+ "type": "address"
599
+ },
600
+ {
601
+ "internalType": "address",
602
+ "name": "initialOwner",
603
+ "type": "address"
604
+ },
605
+ {
606
+ "internalType": "bytes",
607
+ "name": "data",
608
+ "type": "bytes"
609
+ }
610
+ ],
611
+ "internalType": "struct IRegistry.ObjectInfo",
612
+ "name": "info",
613
+ "type": "tuple"
614
+ }
615
+ ],
616
+ "stateMutability": "view",
617
+ "type": "function"
618
+ },
619
+ {
620
+ "inputs": [],
621
+ "name": "getInstanceService",
622
+ "outputs": [
623
+ {
624
+ "internalType": "contract InstanceService",
625
+ "name": "",
626
+ "type": "address"
627
+ }
628
+ ],
629
+ "stateMutability": "view",
630
+ "type": "function"
631
+ },
632
+ {
633
+ "inputs": [],
634
+ "name": "getNftId",
635
+ "outputs": [
636
+ {
637
+ "internalType": "NftId",
638
+ "name": "",
639
+ "type": "uint96"
640
+ }
641
+ ],
642
+ "stateMutability": "view",
643
+ "type": "function"
644
+ },
645
+ {
646
+ "inputs": [],
647
+ "name": "getOwner",
648
+ "outputs": [
649
+ {
650
+ "internalType": "address",
651
+ "name": "",
652
+ "type": "address"
653
+ }
654
+ ],
655
+ "stateMutability": "view",
656
+ "type": "function"
657
+ },
658
+ {
659
+ "inputs": [],
660
+ "name": "getRegistry",
661
+ "outputs": [
662
+ {
663
+ "internalType": "contract IRegistry",
664
+ "name": "",
665
+ "type": "address"
666
+ }
667
+ ],
668
+ "stateMutability": "view",
669
+ "type": "function"
670
+ },
671
+ {
672
+ "inputs": [],
673
+ "name": "getRegistryService",
674
+ "outputs": [
675
+ {
676
+ "internalType": "contract IRegistryService",
677
+ "name": "",
678
+ "type": "address"
679
+ }
680
+ ],
681
+ "stateMutability": "view",
682
+ "type": "function"
683
+ },
684
+ {
685
+ "inputs": [],
686
+ "name": "getVersion",
687
+ "outputs": [
688
+ {
689
+ "internalType": "Version",
690
+ "name": "",
691
+ "type": "uint24"
692
+ }
693
+ ],
694
+ "stateMutability": "pure",
695
+ "type": "function"
696
+ },
697
+ {
698
+ "inputs": [],
699
+ "name": "initializeERC165",
700
+ "outputs": [],
701
+ "stateMutability": "nonpayable",
702
+ "type": "function"
703
+ },
704
+ {
705
+ "inputs": [
706
+ {
707
+ "internalType": "address",
708
+ "name": "initialOwner",
709
+ "type": "address"
710
+ },
711
+ {
712
+ "internalType": "address",
713
+ "name": "registryAddress",
714
+ "type": "address"
715
+ }
716
+ ],
717
+ "name": "initializeNftOwnable",
718
+ "outputs": [],
719
+ "stateMutability": "nonpayable",
720
+ "type": "function"
721
+ },
722
+ {
723
+ "inputs": [
724
+ {
725
+ "internalType": "address",
726
+ "name": "registryAddress",
727
+ "type": "address"
728
+ },
729
+ {
730
+ "internalType": "NftId",
731
+ "name": "parentNftId",
732
+ "type": "uint96"
733
+ },
734
+ {
735
+ "internalType": "ObjectType",
736
+ "name": "objectType",
737
+ "type": "uint8"
738
+ },
739
+ {
740
+ "internalType": "bool",
741
+ "name": "isInterceptor",
742
+ "type": "bool"
743
+ },
744
+ {
745
+ "internalType": "address",
746
+ "name": "initialOwner",
747
+ "type": "address"
748
+ },
749
+ {
750
+ "internalType": "bytes",
751
+ "name": "registryData",
752
+ "type": "bytes"
753
+ }
754
+ ],
755
+ "name": "initializeRegisterable",
756
+ "outputs": [],
757
+ "stateMutability": "nonpayable",
758
+ "type": "function"
759
+ },
760
+ {
761
+ "inputs": [
762
+ {
763
+ "internalType": "address",
764
+ "name": "registryAddress",
765
+ "type": "address"
766
+ }
767
+ ],
768
+ "name": "initializeRegistryLinked",
769
+ "outputs": [],
770
+ "stateMutability": "nonpayable",
771
+ "type": "function"
772
+ },
773
+ {
774
+ "inputs": [
775
+ {
776
+ "internalType": "address",
777
+ "name": "registry",
778
+ "type": "address"
779
+ },
780
+ {
781
+ "internalType": "address",
782
+ "name": "authority",
783
+ "type": "address"
784
+ },
785
+ {
786
+ "internalType": "address",
787
+ "name": "initialOwner",
788
+ "type": "address"
789
+ }
790
+ ],
791
+ "name": "initializeService",
792
+ "outputs": [],
793
+ "stateMutability": "nonpayable",
794
+ "type": "function"
795
+ },
796
+ {
797
+ "inputs": [
798
+ {
799
+ "internalType": "address",
800
+ "name": "activatedBy",
801
+ "type": "address"
802
+ },
803
+ {
804
+ "internalType": "bytes",
805
+ "name": "data",
806
+ "type": "bytes"
807
+ }
808
+ ],
809
+ "name": "initializeVersionable",
810
+ "outputs": [],
811
+ "stateMutability": "nonpayable",
812
+ "type": "function"
813
+ },
814
+ {
815
+ "inputs": [],
816
+ "name": "isConsumingScheduledOp",
817
+ "outputs": [
818
+ {
819
+ "internalType": "bytes4",
820
+ "name": "",
821
+ "type": "bytes4"
822
+ }
823
+ ],
824
+ "stateMutability": "view",
825
+ "type": "function"
826
+ },
827
+ {
828
+ "inputs": [],
829
+ "name": "linkToRegisteredNftId",
830
+ "outputs": [],
831
+ "stateMutability": "nonpayable",
832
+ "type": "function"
833
+ },
834
+ {
835
+ "inputs": [
836
+ {
837
+ "internalType": "bytes4",
838
+ "name": "interfaceId",
839
+ "type": "bytes4"
840
+ }
841
+ ],
842
+ "name": "registerInterface",
843
+ "outputs": [],
844
+ "stateMutability": "nonpayable",
845
+ "type": "function"
846
+ },
847
+ {
848
+ "inputs": [
849
+ {
850
+ "internalType": "NftId",
851
+ "name": "policyNftId",
852
+ "type": "uint96"
853
+ },
854
+ {
855
+ "internalType": "NftId",
856
+ "name": "bundleNftId",
857
+ "type": "uint96"
858
+ }
859
+ ],
860
+ "name": "renew",
861
+ "outputs": [
862
+ {
863
+ "internalType": "NftId",
864
+ "name": "applicationNftId",
865
+ "type": "uint96"
866
+ }
867
+ ],
868
+ "stateMutability": "nonpayable",
869
+ "type": "function"
870
+ },
871
+ {
872
+ "inputs": [
873
+ {
874
+ "internalType": "NftId",
875
+ "name": "applicationNftId",
876
+ "type": "uint96"
877
+ }
878
+ ],
879
+ "name": "revoke",
880
+ "outputs": [],
881
+ "stateMutability": "nonpayable",
882
+ "type": "function"
883
+ },
884
+ {
885
+ "inputs": [
886
+ {
887
+ "internalType": "address",
888
+ "name": "newAuthority",
889
+ "type": "address"
890
+ }
891
+ ],
892
+ "name": "setAuthority",
893
+ "outputs": [],
894
+ "stateMutability": "nonpayable",
895
+ "type": "function"
896
+ },
897
+ {
898
+ "inputs": [
899
+ {
900
+ "internalType": "bytes4",
901
+ "name": "interfaceId",
902
+ "type": "bytes4"
903
+ }
904
+ ],
905
+ "name": "supportsInterface",
906
+ "outputs": [
907
+ {
908
+ "internalType": "bool",
909
+ "name": "",
910
+ "type": "bool"
911
+ }
912
+ ],
913
+ "stateMutability": "view",
914
+ "type": "function"
915
+ },
916
+ {
917
+ "inputs": [
918
+ {
919
+ "internalType": "bytes",
920
+ "name": "data",
921
+ "type": "bytes"
922
+ }
923
+ ],
924
+ "name": "upgradeVersionable",
925
+ "outputs": [],
926
+ "stateMutability": "nonpayable",
927
+ "type": "function"
928
+ }
929
+ ],
930
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b613f6380620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063675393bf116100f9578063b68d180911610097578063cc9fc59a11610071578063cc9fc59a1461041f578063d8396c6b14610427578063e6eea2c51461043a578063f7c34ee01461045157600080fd5b8063b68d1809146103ea578063bf7e214f146103f9578063caf4e3d41461041757600080fd5b8063893d20e8116100d3578063893d20e8146103995780638e32e979146103a15780638fb36037146103b4578063ada9652e146103d557600080fd5b8063675393bf1461035357806370e314e8146103665780637a9e5e4b1461038657600080fd5b8063329d6e7411610166578063536ef74b11610140578063536ef74b146102cf5780635ab1bd53146102fd578063603ccaad14610322578063644c45e01461033557600080fd5b8063329d6e74146102a157806336fc697e146102b457806349bb9e4b146102bc57600080fd5b8063138461e0116101a2578063138461e01461023c5780631eff4b2214610246578063214cdb801461027b57806327bb7a331461028e57600080fd5b806301ffc9a7146101c95780630d8e6e2c1461020b5780630fec111c14610227575b600080fd5b6101f66101d7366004612c9b565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610213610464565b60405162ffffff9091168152602001610202565b61022f6104ee565b6040516102029190612d15565b610244610645565b005b61026d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610202565b610244610289366004612c9b565b61084c565b61024461029c366004612f56565b610879565b6102446102af366004612fee565b61091e565b610244610a6b565b6102446102ca366004613022565b610ab1565b6102e56102dd366004613071565b600092915050565b6040516001600160601b039091168152602001610202565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610202565b6102446103303660046130aa565b610baf565b600080516020613ece833981519152546001600160601b03166102e5565b6102446103613660046130c7565b610c3c565b61037961037436600461310d565b610d4a565b604051610202919061324a565b6102446103943660046130c7565b610e08565b61030a610ea2565b6102446103af366004613259565b610fd9565b6103bc611212565b6040516001600160e01b03199091168152602001610202565b61026d600080516020613ece83398151915281565b60405160d28152602001610202565b600080516020613eee833981519152546001600160a01b031661030a565b61030a61124a565b61030a611256565b6102e56104353660046132a4565b611262565b610244610448366004613347565b50505050505050565b61024461045f3660046133c6565b611595565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e991906133f4565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526040805160e081019091527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300908060006001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105a1610ea2565b6001600160a01b031681526020018260010180546105be90613419565b80601f01602080910402602001604051908101604052809291908181526020018280546105ea90613419565b80156106375780601f1061060c57610100808354040283529160200191610637565b820191906000526020600020905b81548152906001019060200180831161061a57829003601f168201915b505050505081525091505090565b6000600080516020613ece83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156106b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d89190613463565b156107095780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061071c6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610764573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107889190613463565b6107b05760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610700565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610804573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610828919061348b565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61085461160c565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61088161160c565b61088b8287611595565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161091483826134ee565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610940610464565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610980573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a491906135cd565b600080516020613f0e8339815191528054600160401b900460ff16806109d7575080546001600160401b03808416911610155b156109f55760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a1f83611645565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610a7361160c565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020613f0e8339815191528054600160401b810460ff1615906001600160401b0316600081158015610ae45750825b90506000826001600160401b03166001148015610b005750303b155b905081158015610b0e575080155b15610b2c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b5657845460ff60401b1916600160401b1785555b610b60878761164d565b831561044857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b6000610bbb606e61188b565b92505050806001600160a01b0316630fad0eb183610bd7601490565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015610c2057600080fd5b505af1158015610c34573d6000803e3d6000fd5b505050505050565b610c4461160c565b806001600160a01b03163b600003610c7a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610700565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610cf4575060408051601f3d908101601f19168201909252610cf191810190613463565b60015b610d1c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610700565b80610d455760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610700565b505b50565b610d52612c25565b6000610d5d89611abe565b6001600160a01b0316632f0e8dd3888a89896040518563ffffffff1660e01b8152600401610d8e94939291906135ea565b602060405180830381865afa158015610dab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dcf919061362c565b9050610de581610dde8b611abe565b8686611baf565b9150610dfb82610df48b611abe565b8686612130565b9998505050505050505050565b33610e28600080516020613eee833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610e635760405162d1953b60e31b81526001600160a01b0382166004820152602401610700565b816001600160a01b03163b600003610e99576040516361798f2f60e11b81526001600160a01b0383166004820152602401610700565b610d45826128f5565b600080600080516020613ece83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610f12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f369190613463565b15610fc3576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fbd9190613650565b91505090565b54600160601b90046001600160a01b0316919050565b610fe161160c565b61106183846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611023573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611047919061348b565b603c60008560405180602001604052806000815250610879565b6001600160a01b0382161561107e5761107982612956565b6111ed565b60006110926001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156110f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111169190613678565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561115b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061117f9190613650565b90506111eb816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e69190613650565b612956565b505b6111fd634a531f3360e01b61084c565b61120d63b68d180960e01b61084c565b505050565b600080516020613eee833981519152805460009190600160a01b900460ff1661123c576000610fbd565b638fb3603760e01b91505090565b60006104e96028612967565b60006104e96046612967565b60008080611270606e61188b565b925050915061127d61124a565b6001600160a01b0316635c992fed6040518060e0016040528061129e600090565b6001600160601b03168152602001856001600160601b031681526020016112c360d390565b60ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016113229190612d15565b6020604051808303816000875af1158015611341573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611365919061348b565b92506000611378838b8b8b898c8c610d4a565b90506000604051806102200160405280856001600160601b03168152602001896001600160601b03168152602001886001600160c01b03191681526020018c6001600160c01b03191681526020018b815260200183604001518152602001600081526020018a64ffffffffff168152602001878152602001604051806020016040528060008152508152602001600061ffff168152602001600061ffff16815260200173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611464573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611488919061348b565b6001600160601b0316815260200173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156114df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611503919061348b565b6001600160601b03168152600060208201819052604080830182905260609092015251633facd2d160e21b81529091506001600160a01b0384169063feb34b44906115549088908590600401613695565b600060405180830381600087803b15801561156e57600080fd5b505af1158015611582573d6000803e3d6000fd5b5050505050505050979650505050505050565b61159d61160c565b6115a681610c3c565b6115ae610a6b565b6001600160a01b0382166115d55760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020613ece83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020613f0e83398151915254600160401b900460ff1661164357604051631afcd79f60e31b815260040160405180910390fd5b565b6101c461160c565b600080516020613f0e8339815191528054600160401b810460ff1615906001600160401b03166000811580156116805750825b90506000826001600160401b0316600114801561169c5750303b155b9050811580156116aa575080155b156116c85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156116f257845460ff60401b1916600160401b1785555b600080878060200190518101906117099190613837565b909250905061171a8260008b610fd9565b61172a6303eb373d60e51b61084c565b6001546001600160a01b031663d39e60436078611745610464565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561179a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117be9190613678565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611803573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118279190613650565b600280546001600160a01b0319166001600160a01b03929092169190911790555050831561044857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610b9e565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201526000806118d76001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa15801561191e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261194691908101906138ab565b925061195d83604001518660ff9081169116141590565b156119a157608083015160408085015190516304081d4960e41b81526001600160a01b03909216600483015260ff8088166024840152166044820152606401610700565b826000015193506119b58360200151612a7a565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119f5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a199190613650565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015611a63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a879190613463565b15611ab657608083015160405163d53987e560e01b81526001600160a01b039091166004820152602401610700565b509193909250565b600080611ad36001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611b26573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b4e91908101906138ab565b9050611b6c8160400151611b60606e90565b60ff9081169116141590565b15611ba457604080820151905163071e34f560e21b81526001600160601b038616600482015260ff9091166024820152604401610700565b608001519392505050565b611bb7612c25565b600080856001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bf8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c1c9190613650565b9050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c809190613650565b9150506000856001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ce7919061348b565b9050604051806101e00160405280888152602001888152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525092506000826001600160a01b03166390af7064886001600160a01b03166251884a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611daa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dce919061348b565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161014060405180830381865afa158015611e13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e3791906139cb565b905060008160800151602001519050808560600181815250508085602001818151611e629190613a73565b9052505060405163f0ea17c360e01b81526001600160601b0383166004820152600091506001600160a01b0384169063f0ea17c390602401600060405180830381865afa158015611eb7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611edf9190810190613a94565b60c001519050600081806020019051810190611efb9190613b47565b6101400151602001519050808560800181815250508085602001818151611f229190613a73565b90525050604051634793b4ab60e01b81526001600160601b0387166004820152600091506001600160a01b03841690634793b4ab90602401600060405180830381865afa158015611f77573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f9f9190810190613c31565b80519091506001600160601b03838116911614611fed5780516040516319c01eff60e01b81526001600160601b03808916600483015291821660248201529083166044820152606401610700565b60208082015181015160a086018190529085018051829190612010908390613a73565b9150818152505050506000826001600160a01b0316639ad69c67886001600160a01b031663db6dcc956040518163ffffffff1660e01b8152600401602060405180830381865afa158015612068573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061208c919061348b565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161010060405180830381865afa1580156120d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120f59190613d2d565b905060008160600151602001519050808560c001818152505080856020018181516121209190613a73565b9052509398975050505050505050565b612138612c25565b600080856001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612179573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061219d9190613650565b9050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122019190613650565b9150506000856001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa158015612244573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612268919061348b565b90506000876000015190506000836001600160a01b03166390af7064896001600160a01b03166251884a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e5919061348b565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161014060405180830381865afa15801561232a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061234e91906139cb565b905060006123da73__$5ac3274b8cf1e01ea223bf093142af05b0$__6345ebb61e856040518263ffffffff1660e01b815260040161238e91815260200190565b602060405180830381865af41580156123ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123cf919061362c565b608084015151612b0f565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561242b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061244f919061362c565b60e08b0181905260208b018051919250829161246c908390613a73565b9052505060405163f0ea17c360e01b81526001600160601b0384166004820152600091506001600160a01b0385169063f0ea17c390602401600060405180830381865afa1580156124c1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526124e99190810190613a94565b60c0015190506000818060200190518101906125059190613b47565b6101400151516040516322f5db0f60e11b81526004810185905290915060009061258f9073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015612565573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612589919061362c565b83612b0f565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156125e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612604919061362c565b6101008c0181905260208c0180519192508291612622908390613a73565b90525050604051634793b4ab60e01b81526001600160601b0389166004820152600092506001600160a01b0386169150634793b4ab90602401600060405180830381865afa158015612678573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526126a09190810190613c31565b80519091506001600160601b038481169116146126ee5780516040516319c01eff60e01b81526001600160601b03808a16600483015291821660248201529084166044820152606401610700565b6040516322f5db0f60e11b8152600481018390526000906127749073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015612745573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612769919061362c565b602084015151612b0f565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156127c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127e9919061362c565b6101208b0181905260208b0180519192508291612807908390613a73565b905250506002546040805163db6dcc9560e01b815290516001600160a01b03928316935063219a3195928b169163db6dcc959160048083019260209291908290030181865afa15801561285e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612882919061348b565b878b6040518463ffffffff1660e01b81526004016128a293929190613dce565b6101e060405180830381865afa1580156128c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128e49190613dfc565b97508793505050505b949350505050565b600080516020613eee83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61295e61160c565b610d4781612b2b565b600061297b6001546001600160a01b031690565b6001600160a01b031663d39e604383612992610464565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156129e7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a0b9190613678565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612a50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a749190613650565b92915050565b6000612a8e6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612add573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b0591908101906138ab565b6080015192915050565b6000612b248383670de0b6b3a7640000612b3c565b9392505050565b612b3361160c565b610d47816128f5565b6000808060001985870985870292508281108382030391505080600003612b7657838281612b6c57612b6c613eb7565b0492505050612b24565b808411612bbd5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610700565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b600060208284031215612cad57600080fd5b81356001600160e01b031981168114612b2457600080fd5b60005b83811015612ce0578181015183820152602001612cc8565b50506000910152565b60008151808452612d01816020860160208601612cc5565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151612d7e60c08401826001600160a01b03169052565b5060c083015160e0808401526128ed610100840182612ce9565b6001600160a01b0381168114610d4757600080fd5b6001600160601b0381168114610d4757600080fd5b60ff81168114610d4757600080fd5b8015158114610d4757600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715612e1757612e17612ddf565b60405290565b60405161010081016001600160401b0381118282101715612e1757612e17612ddf565b6040516101a081016001600160401b0381118282101715612e1757612e17612ddf565b60405161012081016001600160401b0381118282101715612e1757612e17612ddf565b6040516101e081016001600160401b0381118282101715612e1757612e17612ddf565b604051601f8201601f191681016001600160401b0381118282101715612ed157612ed1612ddf565b604052919050565b60006001600160401b03821115612ef257612ef2612ddf565b50601f01601f191660200190565b600082601f830112612f1157600080fd5b8135612f24612f1f82612ed9565b612ea9565b818152846020838601011115612f3957600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215612f6f57600080fd5b8635612f7a81612d98565b95506020870135612f8a81612dad565b94506040870135612f9a81612dc2565b93506060870135612faa81612dd1565b92506080870135612fba81612d98565b915060a08701356001600160401b03811115612fd557600080fd5b612fe189828a01612f00565b9150509295509295509295565b60006020828403121561300057600080fd5b81356001600160401b0381111561301657600080fd5b6128ed84828501612f00565b6000806040838503121561303557600080fd5b823561304081612d98565b915060208301356001600160401b0381111561305b57600080fd5b61306785828601612f00565b9150509250929050565b6000806040838503121561308457600080fd5b823561308f81612dad565b9150602083013561309f81612dad565b809150509250929050565b6000602082840312156130bc57600080fd5b8135612b2481612dad565b6000602082840312156130d957600080fd5b8135612b2481612d98565b6001600160c01b031981168114610d4757600080fd5b64ffffffffff81168114610d4757600080fd5b600080600080600080600060e0888a03121561312857600080fd5b873561313381612dad565b96506020880135613143816130e4565b955060408801359450606088013561315a816130fa565b935060808801356001600160401b0381111561317557600080fd5b6131818a828b01612f00565b93505060a088013561319281612dad565b915060c08801356131a2816130e4565b8091505092959891949750929550565b805182526020808201519083015260408082015190830152606080820151908301526080808201519083015260a0808201519083015260c0808201519083015260e08082015190830152610100808201519083015261012080820151908301526101408082015190830152610160808201519083015261018080820151908301526101a080820151908301526101c090810151910152565b6101e08101612a7482846131b2565b60008060006060848603121561326e57600080fd5b833561327981612d98565b9250602084013561328981612d98565b9150604084013561329981612d98565b809150509250925092565b600080600080600080600060e0888a0312156132bf57600080fd5b87356132ca81612d98565b965060208801356132da816130e4565b95506040880135945060608801356132f1816130fa565b9350608088013561330181612dad565b925060a0880135613311816130e4565b915060c08801356001600160401b0381111561332c57600080fd5b6133388a828b01612f00565b91505092959891949750929550565b600080600080600080600060e0888a03121561336257600080fd5b873561336d81612dad565b9650602088013561337d816130e4565b9550604088013561338d81612dad565b9450606088013561339d816130e4565b93506080880135925060a0880135915060c08801356001600160401b0381111561332c57600080fd5b600080604083850312156133d957600080fd5b82356133e481612d98565b9150602083013561309f81612d98565b60006020828403121561340657600080fd5b815162ffffff81168114612b2457600080fd5b600181811c9082168061342d57607f821691505b60208210810361344d57634e487b7160e01b600052602260045260246000fd5b50919050565b805161345e81612dd1565b919050565b60006020828403121561347557600080fd5b8151612b2481612dd1565b805161345e81612dad565b60006020828403121561349d57600080fd5b8151612b2481612dad565b601f82111561120d57600081815260208120601f850160051c810160208610156134cf5750805b601f850160051c820191505b81811015610c34578281556001016134db565b81516001600160401b0381111561350757613507612ddf565b61351b816135158454613419565b846134a8565b602080601f83116001811461355057600084156135385750858301515b600019600386901b1c1916600185901b178555610c34565b600085815260208120601f198616915b8281101561357f57888601518255948401946001909101908401613560565b508582101561359d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b0381168114610d4757600080fd5b805161345e816135ad565b6000602082840312156135df57600080fd5b8151612b24816135ad565b8481526001600160401b0360c01b8416602082015264ffffffffff831660408201526080606082015260006136226080830184612ce9565b9695505050505050565b60006020828403121561363e57600080fd5b5051919050565b805161345e81612d98565b60006020828403121561366257600080fd5b8151612b2481612d98565b805161345e81612dc2565b60006020828403121561368a57600080fd5b8151612b2481612dc2565b6001600160601b0383168152604060208201526136be6040820183516001600160601b03169052565b600060208301516136da60608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160c01b0319811660a084015250608083015160c083015260a083015160e083015260c0830151610100818185015260e085015191506101206137448186018464ffffffffff169052565b81860151925061022091506101408281870152613765610260870185612ce9565b9350818701519150610160603f1987860301818801526137858584612ce9565b945081880151925061018091506137a18288018461ffff169052565b87015191506101a06137b88782018461ffff169052565b9087015191506101c0906137d6878301846001600160601b03169052565b87015191506101e06137f2878201846001600160601b03169052565b9087015191506102009061380e8783018464ffffffffff169052565b87015164ffffffffff908116938701939093528601519182166102408601525050949350505050565b6000806040838503121561384a57600080fd5b825161385581612d98565b602084015190925061309f81612d98565b600082601f83011261387757600080fd5b8151613885612f1f82612ed9565b81815284602083860101111561389a57600080fd5b6128ed826020830160208701612cc5565b6000602082840312156138bd57600080fd5b81516001600160401b03808211156138d457600080fd5b9083019060e082860312156138e857600080fd5b6138f0612df5565b6138f983613480565b815261390760208401613480565b60208201526139186040840161366d565b604082015261392960608401613453565b606082015261393a60808401613645565b608082015261394b60a08401613645565b60a082015260c08301518281111561396257600080fd5b61396e87828601613866565b60c08301525095945050505050565b60006040828403121561398f57600080fd5b604051604081018181106001600160401b03821117156139b1576139b1612ddf565b604052825181526020928301519281019290925250919050565b600061014082840312156139de57600080fd5b6139e6612e1d565b6139ef83613645565b81526139fd60208401613645565b6020820152613a0e60408401613480565b6040820152613a1f60608401613480565b6060820152613a31846080850161397d565b6080820152613a438460c0850161397d565b60a0820152613a556101008401613453565b60c0820152613a676101208401613645565b60e08201529392505050565b80820180821115612a7457634e487b7160e01b600052601160045260246000fd5b600060208284031215613aa657600080fd5b81516001600160401b0380821115613abd57600080fd5b9083019060e08286031215613ad157600080fd5b613ad9612df5565b825182811115613ae857600080fd5b613af487828601613866565b825250613b0360208401613645565b6020820152613b1460408401613645565b6040820152613b2560608401613645565b6060820152613b3660808401613480565b608082015261394b60a08401613480565b60006102008284031215613b5a57600080fd5b613b62612e40565b613b6b83613480565b8152613b79602084016135c2565b6020820152604083015160408201526060830151606082015260808301516080820152613ba860a08401613453565b60a0820152613bb960c08401613453565b60c0820152613bca60e08401613453565b60e082015261010083810151908201526101208084015190820152610140613bf48582860161397d565b90820152610180613c078585830161397d565b610160830152613c1b856101c0860161397d565b908201529392505050565b805161345e816130fa565b600060208284031215613c4357600080fd5b81516001600160401b0380821115613c5a57600080fd5b908301906101408286031215613c6f57600080fd5b613c77612e63565b613c8083613480565b8152613c8f866020850161397d565b6020820152606083015182811115613ca657600080fd5b613cb287828601613866565b604083015250613cc460808401613480565b6060820152613cd560a08401613480565b6080820152613ce660c08401613480565b60a0820152613cf760e08401613c26565b60c08201526101009150613d0c828401613c26565b60e0820152613d1e6101208401613c26565b91810191909152949350505050565b60006101008284031215613d4057600080fd5b60405160c081018181106001600160401b0382111715613d6257613d62612ddf565b6040528251613d7081612dad565b81526020830151613d8081612d98565b6020820152613d92846040850161397d565b6040820152613da4846080850161397d565b606082015260c0830151613db781612d98565b608082015260e0929092015160a083015250919050565b6001600160601b03841681526001600160c01b03198316602082015261022081016128ed60408301846131b2565b60006101e08284031215613e0f57600080fd5b613e17612e86565b825181526020808401519082015260408084015190820152606080840151908201526080808401519082015260a0808401519082015260c0808401519082015260e08084015190820152610100808401519082015261012080840151908201526101408084015190820152610160808401519082015261018080840151908201526101a080840151908201526101c0928301519281019290925250919050565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212201b7246a805530641fb497a24afefc69ed15c81d1c8385cab790e7e73e459dffb64736f6c63430008140033",
931
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101c45760003560e01c8063675393bf116100f9578063b68d180911610097578063cc9fc59a11610071578063cc9fc59a1461041f578063d8396c6b14610427578063e6eea2c51461043a578063f7c34ee01461045157600080fd5b8063b68d1809146103ea578063bf7e214f146103f9578063caf4e3d41461041757600080fd5b8063893d20e8116100d3578063893d20e8146103995780638e32e979146103a15780638fb36037146103b4578063ada9652e146103d557600080fd5b8063675393bf1461035357806370e314e8146103665780637a9e5e4b1461038657600080fd5b8063329d6e7411610166578063536ef74b11610140578063536ef74b146102cf5780635ab1bd53146102fd578063603ccaad14610322578063644c45e01461033557600080fd5b8063329d6e74146102a157806336fc697e146102b457806349bb9e4b146102bc57600080fd5b8063138461e0116101a2578063138461e01461023c5780631eff4b2214610246578063214cdb801461027b57806327bb7a331461028e57600080fd5b806301ffc9a7146101c95780630d8e6e2c1461020b5780630fec111c14610227575b600080fd5b6101f66101d7366004612c9b565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610213610464565b60405162ffffff9091168152602001610202565b61022f6104ee565b6040516102029190612d15565b610244610645565b005b61026d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610202565b610244610289366004612c9b565b61084c565b61024461029c366004612f56565b610879565b6102446102af366004612fee565b61091e565b610244610a6b565b6102446102ca366004613022565b610ab1565b6102e56102dd366004613071565b600092915050565b6040516001600160601b039091168152602001610202565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610202565b6102446103303660046130aa565b610baf565b600080516020613ece833981519152546001600160601b03166102e5565b6102446103613660046130c7565b610c3c565b61037961037436600461310d565b610d4a565b604051610202919061324a565b6102446103943660046130c7565b610e08565b61030a610ea2565b6102446103af366004613259565b610fd9565b6103bc611212565b6040516001600160e01b03199091168152602001610202565b61026d600080516020613ece83398151915281565b60405160d28152602001610202565b600080516020613eee833981519152546001600160a01b031661030a565b61030a61124a565b61030a611256565b6102e56104353660046132a4565b611262565b610244610448366004613347565b50505050505050565b61024461045f3660046133c6565b611595565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e991906133f4565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526040805160e081019091527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300908060006001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105a1610ea2565b6001600160a01b031681526020018260010180546105be90613419565b80601f01602080910402602001604051908101604052809291908181526020018280546105ea90613419565b80156106375780601f1061060c57610100808354040283529160200191610637565b820191906000526020600020905b81548152906001019060200180831161061a57829003601f168201915b505050505081525091505090565b6000600080516020613ece83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156106b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d89190613463565b156107095780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061071c6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610764573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107889190613463565b6107b05760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610700565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610804573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610828919061348b565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61085461160c565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61088161160c565b61088b8287611595565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161091483826134ee565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610940610464565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610980573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a491906135cd565b600080516020613f0e8339815191528054600160401b900460ff16806109d7575080546001600160401b03808416911610155b156109f55760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a1f83611645565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610a7361160c565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020613f0e8339815191528054600160401b810460ff1615906001600160401b0316600081158015610ae45750825b90506000826001600160401b03166001148015610b005750303b155b905081158015610b0e575080155b15610b2c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b5657845460ff60401b1916600160401b1785555b610b60878761164d565b831561044857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b6000610bbb606e61188b565b92505050806001600160a01b0316630fad0eb183610bd7601490565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015610c2057600080fd5b505af1158015610c34573d6000803e3d6000fd5b505050505050565b610c4461160c565b806001600160a01b03163b600003610c7a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610700565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610cf4575060408051601f3d908101601f19168201909252610cf191810190613463565b60015b610d1c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610700565b80610d455760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610700565b505b50565b610d52612c25565b6000610d5d89611abe565b6001600160a01b0316632f0e8dd3888a89896040518563ffffffff1660e01b8152600401610d8e94939291906135ea565b602060405180830381865afa158015610dab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dcf919061362c565b9050610de581610dde8b611abe565b8686611baf565b9150610dfb82610df48b611abe565b8686612130565b9998505050505050505050565b33610e28600080516020613eee833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610e635760405162d1953b60e31b81526001600160a01b0382166004820152602401610700565b816001600160a01b03163b600003610e99576040516361798f2f60e11b81526001600160a01b0383166004820152602401610700565b610d45826128f5565b600080600080516020613ece83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610f12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f369190613463565b15610fc3576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fbd9190613650565b91505090565b54600160601b90046001600160a01b0316919050565b610fe161160c565b61106183846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611023573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611047919061348b565b603c60008560405180602001604052806000815250610879565b6001600160a01b0382161561107e5761107982612956565b6111ed565b60006110926001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156110f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111169190613678565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561115b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061117f9190613650565b90506111eb816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e69190613650565b612956565b505b6111fd634a531f3360e01b61084c565b61120d63b68d180960e01b61084c565b505050565b600080516020613eee833981519152805460009190600160a01b900460ff1661123c576000610fbd565b638fb3603760e01b91505090565b60006104e96028612967565b60006104e96046612967565b60008080611270606e61188b565b925050915061127d61124a565b6001600160a01b0316635c992fed6040518060e0016040528061129e600090565b6001600160601b03168152602001856001600160601b031681526020016112c360d390565b60ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016113229190612d15565b6020604051808303816000875af1158015611341573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611365919061348b565b92506000611378838b8b8b898c8c610d4a565b90506000604051806102200160405280856001600160601b03168152602001896001600160601b03168152602001886001600160c01b03191681526020018c6001600160c01b03191681526020018b815260200183604001518152602001600081526020018a64ffffffffff168152602001878152602001604051806020016040528060008152508152602001600061ffff168152602001600061ffff16815260200173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611464573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611488919061348b565b6001600160601b0316815260200173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156114df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611503919061348b565b6001600160601b03168152600060208201819052604080830182905260609092015251633facd2d160e21b81529091506001600160a01b0384169063feb34b44906115549088908590600401613695565b600060405180830381600087803b15801561156e57600080fd5b505af1158015611582573d6000803e3d6000fd5b5050505050505050979650505050505050565b61159d61160c565b6115a681610c3c565b6115ae610a6b565b6001600160a01b0382166115d55760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020613ece83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020613f0e83398151915254600160401b900460ff1661164357604051631afcd79f60e31b815260040160405180910390fd5b565b6101c461160c565b600080516020613f0e8339815191528054600160401b810460ff1615906001600160401b03166000811580156116805750825b90506000826001600160401b0316600114801561169c5750303b155b9050811580156116aa575080155b156116c85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156116f257845460ff60401b1916600160401b1785555b600080878060200190518101906117099190613837565b909250905061171a8260008b610fd9565b61172a6303eb373d60e51b61084c565b6001546001600160a01b031663d39e60436078611745610464565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561179a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117be9190613678565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611803573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118279190613650565b600280546001600160a01b0319166001600160a01b03929092169190911790555050831561044857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610b9e565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201526000806118d76001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa15801561191e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261194691908101906138ab565b925061195d83604001518660ff9081169116141590565b156119a157608083015160408085015190516304081d4960e41b81526001600160a01b03909216600483015260ff8088166024840152166044820152606401610700565b826000015193506119b58360200151612a7a565b9150816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119f5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a199190613650565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015611a63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a879190613463565b15611ab657608083015160405163d53987e560e01b81526001600160a01b039091166004820152602401610700565b509193909250565b600080611ad36001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611b26573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b4e91908101906138ab565b9050611b6c8160400151611b60606e90565b60ff9081169116141590565b15611ba457604080820151905163071e34f560e21b81526001600160601b038616600482015260ff9091166024820152604401610700565b608001519392505050565b611bb7612c25565b600080856001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bf8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c1c9190613650565b9050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c809190613650565b9150506000856001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ce7919061348b565b9050604051806101e00160405280888152602001888152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525092506000826001600160a01b03166390af7064886001600160a01b03166251884a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611daa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dce919061348b565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161014060405180830381865afa158015611e13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e3791906139cb565b905060008160800151602001519050808560600181815250508085602001818151611e629190613a73565b9052505060405163f0ea17c360e01b81526001600160601b0383166004820152600091506001600160a01b0384169063f0ea17c390602401600060405180830381865afa158015611eb7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611edf9190810190613a94565b60c001519050600081806020019051810190611efb9190613b47565b6101400151602001519050808560800181815250508085602001818151611f229190613a73565b90525050604051634793b4ab60e01b81526001600160601b0387166004820152600091506001600160a01b03841690634793b4ab90602401600060405180830381865afa158015611f77573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f9f9190810190613c31565b80519091506001600160601b03838116911614611fed5780516040516319c01eff60e01b81526001600160601b03808916600483015291821660248201529083166044820152606401610700565b60208082015181015160a086018190529085018051829190612010908390613a73565b9150818152505050506000826001600160a01b0316639ad69c67886001600160a01b031663db6dcc956040518163ffffffff1660e01b8152600401602060405180830381865afa158015612068573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061208c919061348b565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161010060405180830381865afa1580156120d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120f59190613d2d565b905060008160600151602001519050808560c001818152505080856020018181516121209190613a73565b9052509398975050505050505050565b612138612c25565b600080856001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612179573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061219d9190613650565b9050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122019190613650565b9150506000856001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa158015612244573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612268919061348b565b90506000876000015190506000836001600160a01b03166390af7064896001600160a01b03166251884a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e5919061348b565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161014060405180830381865afa15801561232a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061234e91906139cb565b905060006123da73__$5ac3274b8cf1e01ea223bf093142af05b0$__6345ebb61e856040518263ffffffff1660e01b815260040161238e91815260200190565b602060405180830381865af41580156123ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123cf919061362c565b608084015151612b0f565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561242b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061244f919061362c565b60e08b0181905260208b018051919250829161246c908390613a73565b9052505060405163f0ea17c360e01b81526001600160601b0384166004820152600091506001600160a01b0385169063f0ea17c390602401600060405180830381865afa1580156124c1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526124e99190810190613a94565b60c0015190506000818060200190518101906125059190613b47565b6101400151516040516322f5db0f60e11b81526004810185905290915060009061258f9073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015612565573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612589919061362c565b83612b0f565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156125e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612604919061362c565b6101008c0181905260208c0180519192508291612622908390613a73565b90525050604051634793b4ab60e01b81526001600160601b0389166004820152600092506001600160a01b0386169150634793b4ab90602401600060405180830381865afa158015612678573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526126a09190810190613c31565b80519091506001600160601b038481169116146126ee5780516040516319c01eff60e01b81526001600160601b03808a16600483015291821660248201529084166044820152606401610700565b6040516322f5db0f60e11b8152600481018390526000906127749073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015612745573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612769919061362c565b602084015151612b0f565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156127c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127e9919061362c565b6101208b0181905260208b0180519192508291612807908390613a73565b905250506002546040805163db6dcc9560e01b815290516001600160a01b03928316935063219a3195928b169163db6dcc959160048083019260209291908290030181865afa15801561285e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612882919061348b565b878b6040518463ffffffff1660e01b81526004016128a293929190613dce565b6101e060405180830381865afa1580156128c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128e49190613dfc565b97508793505050505b949350505050565b600080516020613eee83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61295e61160c565b610d4781612b2b565b600061297b6001546001600160a01b031690565b6001600160a01b031663d39e604383612992610464565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156129e7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a0b9190613678565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612a50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a749190613650565b92915050565b6000612a8e6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612add573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b0591908101906138ab565b6080015192915050565b6000612b248383670de0b6b3a7640000612b3c565b9392505050565b612b3361160c565b610d47816128f5565b6000808060001985870985870292508281108382030391505080600003612b7657838281612b6c57612b6c613eb7565b0492505050612b24565b808411612bbd5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610700565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b600060208284031215612cad57600080fd5b81356001600160e01b031981168114612b2457600080fd5b60005b83811015612ce0578181015183820152602001612cc8565b50506000910152565b60008151808452612d01816020860160208601612cc5565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151612d7e60c08401826001600160a01b03169052565b5060c083015160e0808401526128ed610100840182612ce9565b6001600160a01b0381168114610d4757600080fd5b6001600160601b0381168114610d4757600080fd5b60ff81168114610d4757600080fd5b8015158114610d4757600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715612e1757612e17612ddf565b60405290565b60405161010081016001600160401b0381118282101715612e1757612e17612ddf565b6040516101a081016001600160401b0381118282101715612e1757612e17612ddf565b60405161012081016001600160401b0381118282101715612e1757612e17612ddf565b6040516101e081016001600160401b0381118282101715612e1757612e17612ddf565b604051601f8201601f191681016001600160401b0381118282101715612ed157612ed1612ddf565b604052919050565b60006001600160401b03821115612ef257612ef2612ddf565b50601f01601f191660200190565b600082601f830112612f1157600080fd5b8135612f24612f1f82612ed9565b612ea9565b818152846020838601011115612f3957600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215612f6f57600080fd5b8635612f7a81612d98565b95506020870135612f8a81612dad565b94506040870135612f9a81612dc2565b93506060870135612faa81612dd1565b92506080870135612fba81612d98565b915060a08701356001600160401b03811115612fd557600080fd5b612fe189828a01612f00565b9150509295509295509295565b60006020828403121561300057600080fd5b81356001600160401b0381111561301657600080fd5b6128ed84828501612f00565b6000806040838503121561303557600080fd5b823561304081612d98565b915060208301356001600160401b0381111561305b57600080fd5b61306785828601612f00565b9150509250929050565b6000806040838503121561308457600080fd5b823561308f81612dad565b9150602083013561309f81612dad565b809150509250929050565b6000602082840312156130bc57600080fd5b8135612b2481612dad565b6000602082840312156130d957600080fd5b8135612b2481612d98565b6001600160c01b031981168114610d4757600080fd5b64ffffffffff81168114610d4757600080fd5b600080600080600080600060e0888a03121561312857600080fd5b873561313381612dad565b96506020880135613143816130e4565b955060408801359450606088013561315a816130fa565b935060808801356001600160401b0381111561317557600080fd5b6131818a828b01612f00565b93505060a088013561319281612dad565b915060c08801356131a2816130e4565b8091505092959891949750929550565b805182526020808201519083015260408082015190830152606080820151908301526080808201519083015260a0808201519083015260c0808201519083015260e08082015190830152610100808201519083015261012080820151908301526101408082015190830152610160808201519083015261018080820151908301526101a080820151908301526101c090810151910152565b6101e08101612a7482846131b2565b60008060006060848603121561326e57600080fd5b833561327981612d98565b9250602084013561328981612d98565b9150604084013561329981612d98565b809150509250925092565b600080600080600080600060e0888a0312156132bf57600080fd5b87356132ca81612d98565b965060208801356132da816130e4565b95506040880135945060608801356132f1816130fa565b9350608088013561330181612dad565b925060a0880135613311816130e4565b915060c08801356001600160401b0381111561332c57600080fd5b6133388a828b01612f00565b91505092959891949750929550565b600080600080600080600060e0888a03121561336257600080fd5b873561336d81612dad565b9650602088013561337d816130e4565b9550604088013561338d81612dad565b9450606088013561339d816130e4565b93506080880135925060a0880135915060c08801356001600160401b0381111561332c57600080fd5b600080604083850312156133d957600080fd5b82356133e481612d98565b9150602083013561309f81612d98565b60006020828403121561340657600080fd5b815162ffffff81168114612b2457600080fd5b600181811c9082168061342d57607f821691505b60208210810361344d57634e487b7160e01b600052602260045260246000fd5b50919050565b805161345e81612dd1565b919050565b60006020828403121561347557600080fd5b8151612b2481612dd1565b805161345e81612dad565b60006020828403121561349d57600080fd5b8151612b2481612dad565b601f82111561120d57600081815260208120601f850160051c810160208610156134cf5750805b601f850160051c820191505b81811015610c34578281556001016134db565b81516001600160401b0381111561350757613507612ddf565b61351b816135158454613419565b846134a8565b602080601f83116001811461355057600084156135385750858301515b600019600386901b1c1916600185901b178555610c34565b600085815260208120601f198616915b8281101561357f57888601518255948401946001909101908401613560565b508582101561359d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b0381168114610d4757600080fd5b805161345e816135ad565b6000602082840312156135df57600080fd5b8151612b24816135ad565b8481526001600160401b0360c01b8416602082015264ffffffffff831660408201526080606082015260006136226080830184612ce9565b9695505050505050565b60006020828403121561363e57600080fd5b5051919050565b805161345e81612d98565b60006020828403121561366257600080fd5b8151612b2481612d98565b805161345e81612dc2565b60006020828403121561368a57600080fd5b8151612b2481612dc2565b6001600160601b0383168152604060208201526136be6040820183516001600160601b03169052565b600060208301516136da60608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160c01b0319811660a084015250608083015160c083015260a083015160e083015260c0830151610100818185015260e085015191506101206137448186018464ffffffffff169052565b81860151925061022091506101408281870152613765610260870185612ce9565b9350818701519150610160603f1987860301818801526137858584612ce9565b945081880151925061018091506137a18288018461ffff169052565b87015191506101a06137b88782018461ffff169052565b9087015191506101c0906137d6878301846001600160601b03169052565b87015191506101e06137f2878201846001600160601b03169052565b9087015191506102009061380e8783018464ffffffffff169052565b87015164ffffffffff908116938701939093528601519182166102408601525050949350505050565b6000806040838503121561384a57600080fd5b825161385581612d98565b602084015190925061309f81612d98565b600082601f83011261387757600080fd5b8151613885612f1f82612ed9565b81815284602083860101111561389a57600080fd5b6128ed826020830160208701612cc5565b6000602082840312156138bd57600080fd5b81516001600160401b03808211156138d457600080fd5b9083019060e082860312156138e857600080fd5b6138f0612df5565b6138f983613480565b815261390760208401613480565b60208201526139186040840161366d565b604082015261392960608401613453565b606082015261393a60808401613645565b608082015261394b60a08401613645565b60a082015260c08301518281111561396257600080fd5b61396e87828601613866565b60c08301525095945050505050565b60006040828403121561398f57600080fd5b604051604081018181106001600160401b03821117156139b1576139b1612ddf565b604052825181526020928301519281019290925250919050565b600061014082840312156139de57600080fd5b6139e6612e1d565b6139ef83613645565b81526139fd60208401613645565b6020820152613a0e60408401613480565b6040820152613a1f60608401613480565b6060820152613a31846080850161397d565b6080820152613a438460c0850161397d565b60a0820152613a556101008401613453565b60c0820152613a676101208401613645565b60e08201529392505050565b80820180821115612a7457634e487b7160e01b600052601160045260246000fd5b600060208284031215613aa657600080fd5b81516001600160401b0380821115613abd57600080fd5b9083019060e08286031215613ad157600080fd5b613ad9612df5565b825182811115613ae857600080fd5b613af487828601613866565b825250613b0360208401613645565b6020820152613b1460408401613645565b6040820152613b2560608401613645565b6060820152613b3660808401613480565b608082015261394b60a08401613480565b60006102008284031215613b5a57600080fd5b613b62612e40565b613b6b83613480565b8152613b79602084016135c2565b6020820152604083015160408201526060830151606082015260808301516080820152613ba860a08401613453565b60a0820152613bb960c08401613453565b60c0820152613bca60e08401613453565b60e082015261010083810151908201526101208084015190820152610140613bf48582860161397d565b90820152610180613c078585830161397d565b610160830152613c1b856101c0860161397d565b908201529392505050565b805161345e816130fa565b600060208284031215613c4357600080fd5b81516001600160401b0380821115613c5a57600080fd5b908301906101408286031215613c6f57600080fd5b613c77612e63565b613c8083613480565b8152613c8f866020850161397d565b6020820152606083015182811115613ca657600080fd5b613cb287828601613866565b604083015250613cc460808401613480565b6060820152613cd560a08401613480565b6080820152613ce660c08401613480565b60a0820152613cf760e08401613c26565b60c08201526101009150613d0c828401613c26565b60e0820152613d1e6101208401613c26565b91810191909152949350505050565b60006101008284031215613d4057600080fd5b60405160c081018181106001600160401b0382111715613d6257613d62612ddf565b6040528251613d7081612dad565b81526020830151613d8081612d98565b6020820152613d92846040850161397d565b6040820152613da4846080850161397d565b606082015260c0830151613db781612d98565b608082015260e0929092015160a083015250919050565b6001600160601b03841681526001600160c01b03198316602082015261022081016128ed60408301846131b2565b60006101e08284031215613e0f57600080fd5b613e17612e86565b825181526020808401519082015260408084015190820152606080840151908201526080808401519082015260a0808401519082015260c0808401519082015260e08084015190820152610100808401519082015261012080840151908201526101408084015190820152610160808401519082015261018080840151908201526101a080840151908201526101c0928301519281019290925250919050565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212201b7246a805530641fb497a24afefc69ed15c81d1c8385cab790e7e73e459dffb64736f6c63430008140033",
932
+ "linkReferences": {
933
+ "contracts/types/Amount.sol": {
934
+ "AmountLib": [
935
+ {
936
+ "length": 20,
937
+ "start": 5379
938
+ },
939
+ {
940
+ "length": 20,
941
+ "start": 5502
942
+ }
943
+ ]
944
+ },
945
+ "contracts/types/NftId.sol": {
946
+ "NftIdLib": [
947
+ {
948
+ "length": 20,
949
+ "start": 1888
950
+ },
951
+ {
952
+ "length": 20,
953
+ "start": 4030
954
+ }
955
+ ]
956
+ },
957
+ "contracts/types/UFixed.sol": {
958
+ "UFixedLib": [
959
+ {
960
+ "length": 20,
961
+ "start": 9277
962
+ },
963
+ {
964
+ "length": 20,
965
+ "start": 9431
966
+ },
967
+ {
968
+ "length": 20,
969
+ "start": 9745
970
+ },
971
+ {
972
+ "length": 20,
973
+ "start": 9868
974
+ },
975
+ {
976
+ "length": 20,
977
+ "start": 10225
978
+ },
979
+ {
980
+ "length": 20,
981
+ "start": 10353
982
+ }
983
+ ]
984
+ },
985
+ "contracts/types/Version.sol": {
986
+ "VersionLib": [
987
+ {
988
+ "length": 20,
989
+ "start": 1393
990
+ },
991
+ {
992
+ "length": 20,
993
+ "start": 2566
994
+ },
995
+ {
996
+ "length": 20,
997
+ "start": 6214
998
+ },
999
+ {
1000
+ "length": 20,
1001
+ "start": 10899
1002
+ }
1003
+ ],
1004
+ "VersionPartLib": [
1005
+ {
1006
+ "length": 20,
1007
+ "start": 4510
1008
+ }
1009
+ ]
1010
+ }
1011
+ },
1012
+ "deployedLinkReferences": {
1013
+ "contracts/types/Amount.sol": {
1014
+ "AmountLib": [
1015
+ {
1016
+ "length": 20,
1017
+ "start": 5149
1018
+ },
1019
+ {
1020
+ "length": 20,
1021
+ "start": 5272
1022
+ }
1023
+ ]
1024
+ },
1025
+ "contracts/types/NftId.sol": {
1026
+ "NftIdLib": [
1027
+ {
1028
+ "length": 20,
1029
+ "start": 1658
1030
+ },
1031
+ {
1032
+ "length": 20,
1033
+ "start": 3800
1034
+ }
1035
+ ]
1036
+ },
1037
+ "contracts/types/UFixed.sol": {
1038
+ "UFixedLib": [
1039
+ {
1040
+ "length": 20,
1041
+ "start": 9047
1042
+ },
1043
+ {
1044
+ "length": 20,
1045
+ "start": 9201
1046
+ },
1047
+ {
1048
+ "length": 20,
1049
+ "start": 9515
1050
+ },
1051
+ {
1052
+ "length": 20,
1053
+ "start": 9638
1054
+ },
1055
+ {
1056
+ "length": 20,
1057
+ "start": 9995
1058
+ },
1059
+ {
1060
+ "length": 20,
1061
+ "start": 10123
1062
+ }
1063
+ ]
1064
+ },
1065
+ "contracts/types/Version.sol": {
1066
+ "VersionLib": [
1067
+ {
1068
+ "length": 20,
1069
+ "start": 1163
1070
+ },
1071
+ {
1072
+ "length": 20,
1073
+ "start": 2336
1074
+ },
1075
+ {
1076
+ "length": 20,
1077
+ "start": 5984
1078
+ },
1079
+ {
1080
+ "length": 20,
1081
+ "start": 10669
1082
+ }
1083
+ ],
1084
+ "VersionPartLib": [
1085
+ {
1086
+ "length": 20,
1087
+ "start": 4280
1088
+ }
1089
+ ]
1090
+ }
1091
+ }
1092
+ }