@etherisc/gif-next 0.0.2-f9bc4c7-556 → 0.0.2-fbe22f0-239

Sign up to get free protection for your applications and to get access to all the features.
Files changed (419) hide show
  1. package/README.md +314 -2
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +858 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1114 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → components/IComponent.sol/IComponent.json} +281 -226
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +695 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +601 -76
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +582 -61
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1099 -159
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +1030 -84
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
  21. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
  22. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
  23. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
  24. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  36. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  39. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  40. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  41. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  42. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  43. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  44. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  45. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  46. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  47. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  48. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  49. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1150 -1021
  50. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  51. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +591 -0
  52. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  53. package/artifacts/contracts/instance/Instance.sol/Instance.json +2047 -1067
  54. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +984 -0
  56. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  57. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1386 -0
  58. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1164 -0
  60. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +584 -0
  62. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  63. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  64. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +728 -0
  66. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  67. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +45 -127
  68. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  69. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  70. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +55 -245
  71. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  72. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +4 -4
  73. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  74. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
  75. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  76. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  77. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  78. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IDistribution.sol/IDistribution.json} +2 -2
  79. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  80. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  81. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  82. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  83. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  84. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  85. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  86. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  87. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  88. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1091 -0
  89. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  90. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1292 -0
  91. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +560 -0
  93. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +897 -0
  95. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +548 -0
  97. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +625 -0
  99. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +785 -0
  101. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  102. package/artifacts/contracts/instance/{base/InstanceBase.sol/InstanceBase.json → service/IDistributionService.sol/IDistributionService.json} +205 -85
  103. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  104. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +771 -0
  105. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  106. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +203 -80
  107. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  108. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +209 -150
  109. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  110. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1352 -0
  111. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  112. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +616 -0
  113. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  114. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +546 -86
  115. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  116. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +548 -0
  117. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  118. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +521 -213
  119. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  120. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +548 -0
  121. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  122. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +186 -12
  123. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  124. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +466 -34
  125. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  126. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +986 -0
  127. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  128. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  129. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  130. package/artifacts/contracts/registry/Registry.sol/Registry.json +470 -103
  131. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  132. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  133. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  134. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1325 -0
  135. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  136. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +575 -0
  137. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  138. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  139. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  140. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +505 -0
  141. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  142. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  143. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  144. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  145. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  146. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +56 -79
  147. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  148. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  149. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  150. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +116 -36
  151. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  152. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +174 -117
  153. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  154. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
  155. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  156. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +277 -0
  157. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  158. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +172 -0
  159. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  160. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +473 -0
  161. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  162. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +293 -25
  163. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  164. package/artifacts/contracts/shared/Service.sol/Service.json +601 -0
  165. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  166. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  167. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  168. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  169. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  170. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
  171. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  172. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  173. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  174. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +309 -26
  175. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  176. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  177. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  178. package/artifacts/contracts/test/TestService.sol/TestService.json +412 -58
  179. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  180. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  181. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  182. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  183. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  184. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +103 -23
  185. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  186. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  187. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  188. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  191. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  192. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/Fee.sol/FeeLib.json +52 -13
  194. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  195. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  196. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  198. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  199. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  200. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  201. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  202. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  204. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  205. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  206. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  208. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  210. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  212. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  214. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  215. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  216. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  217. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  218. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  219. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  220. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  221. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  222. package/contracts/components/Component.sol +230 -0
  223. package/contracts/components/Distribution.sol +156 -0
  224. package/contracts/components/IComponent.sol +50 -0
  225. package/contracts/components/IDistributionComponent.sol +47 -0
  226. package/contracts/components/IPoolComponent.sol +65 -35
  227. package/contracts/components/IProductComponent.sol +29 -9
  228. package/contracts/components/Pool.sol +180 -100
  229. package/contracts/components/Product.sol +203 -42
  230. package/contracts/experiment/cloning/Cloner.sol +47 -0
  231. package/contracts/instance/BundleManager.sol +125 -0
  232. package/contracts/instance/Cloneable.sol +46 -0
  233. package/contracts/instance/IInstance.sol +65 -45
  234. package/contracts/instance/IInstanceService.sol +41 -0
  235. package/contracts/instance/Instance.sol +253 -53
  236. package/contracts/instance/InstanceAccessManager.sol +297 -0
  237. package/contracts/instance/InstanceReader.sol +293 -0
  238. package/contracts/instance/InstanceService.sol +434 -0
  239. package/contracts/instance/InstanceServiceManager.sol +54 -0
  240. package/contracts/instance/ObjectManager.sol +84 -0
  241. package/contracts/instance/base/ComponentService.sol +134 -0
  242. package/contracts/instance/base/IKeyValueStore.sol +13 -13
  243. package/contracts/instance/base/ILifecycle.sol +3 -3
  244. package/contracts/instance/base/KeyValueStore.sol +53 -37
  245. package/contracts/instance/base/Lifecycle.sol +16 -11
  246. package/contracts/instance/module/IAccess.sol +47 -0
  247. package/contracts/instance/module/IBundle.sol +20 -0
  248. package/contracts/instance/module/IDistribution.sol +39 -0
  249. package/contracts/instance/module/IPolicy.sol +45 -0
  250. package/contracts/instance/module/IRisk.sol +11 -0
  251. package/contracts/instance/module/ISetup.sol +47 -0
  252. package/contracts/instance/module/ITreasury.sol +23 -0
  253. package/contracts/instance/service/ApplicationService.sol +268 -0
  254. package/contracts/instance/service/BundleService.sol +298 -0
  255. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  256. package/contracts/instance/service/DistributionService.sol +105 -0
  257. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  258. package/contracts/instance/service/IApplicationService.sol +82 -0
  259. package/contracts/instance/service/IBundleService.sol +54 -0
  260. package/contracts/instance/service/IDistributionService.sol +12 -0
  261. package/contracts/instance/service/IPolicyService.sol +88 -0
  262. package/contracts/instance/service/IPoolService.sol +8 -18
  263. package/contracts/instance/service/IProductService.sol +21 -39
  264. package/contracts/instance/service/PolicyService.sol +524 -0
  265. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  266. package/contracts/instance/service/PoolService.sol +78 -92
  267. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  268. package/contracts/instance/service/ProductService.sol +168 -289
  269. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  270. package/contracts/registry/ChainNft.sol +79 -36
  271. package/contracts/registry/IRegistry.sol +66 -24
  272. package/contracts/registry/IRegistryService.sol +65 -0
  273. package/contracts/registry/ITransferInterceptor.sol +6 -0
  274. package/contracts/registry/Registry.sol +364 -283
  275. package/contracts/registry/RegistryAccessManager.sol +216 -0
  276. package/contracts/registry/RegistryService.sol +261 -0
  277. package/contracts/registry/RegistryServiceManager.sol +62 -0
  278. package/contracts/registry/ReleaseManager.sol +332 -0
  279. package/contracts/registry/TokenRegistry.sol +113 -0
  280. package/contracts/shared/ContractDeployerLib.sol +72 -0
  281. package/contracts/shared/ERC165.sol +13 -8
  282. package/contracts/shared/INftOwnable.sol +27 -0
  283. package/contracts/shared/IPolicyHolder.sol +26 -0
  284. package/contracts/shared/IRegisterable.sol +10 -19
  285. package/contracts/shared/IService.sol +16 -0
  286. package/contracts/shared/IVersionable.sol +55 -11
  287. package/contracts/shared/NftOwnable.sol +187 -0
  288. package/contracts/shared/PolicyHolder.sol +52 -0
  289. package/contracts/shared/ProxyManager.sol +95 -0
  290. package/contracts/shared/Registerable.sol +58 -63
  291. package/contracts/shared/Service.sol +60 -0
  292. package/contracts/shared/TokenHandler.sol +27 -0
  293. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  294. package/contracts/shared/Versionable.sol +113 -54
  295. package/contracts/test/TestFee.sol +2 -2
  296. package/contracts/test/TestRegisterable.sol +5 -6
  297. package/contracts/test/TestRoleId.sol +1 -1
  298. package/contracts/test/TestService.sol +7 -14
  299. package/contracts/types/DistributorType.sol +55 -0
  300. package/contracts/types/Fee.sol +10 -5
  301. package/contracts/types/Key32.sol +8 -3
  302. package/contracts/types/NftIdSet.sol +26 -24
  303. package/contracts/types/NumberId.sol +52 -0
  304. package/contracts/types/ObjectType.sol +55 -14
  305. package/contracts/types/Referral.sol +85 -0
  306. package/contracts/types/RiskId.sol +43 -0
  307. package/contracts/types/RoleId.sol +62 -10
  308. package/contracts/types/StateId.sol +5 -1
  309. package/contracts/types/Timestamp.sol +7 -3
  310. package/contracts/types/UFixed.sol +128 -12
  311. package/contracts/types/Version.sol +13 -1
  312. package/package.json +6 -5
  313. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  314. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  315. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  316. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  317. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  318. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  319. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  320. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  321. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
  322. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  323. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  324. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  325. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  326. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  327. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  328. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  329. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  330. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  331. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  332. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  333. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  334. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  335. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  336. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  337. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  338. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  339. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  340. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  341. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  342. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  343. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  344. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  345. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  346. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  347. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  348. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  349. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  350. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  351. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  352. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  353. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  354. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  355. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  356. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  357. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  358. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  359. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  360. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  361. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  362. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  363. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  364. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  365. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  366. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  367. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  368. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  369. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  370. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  371. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  372. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  373. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  374. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -523
  375. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  376. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  377. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  378. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  379. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  380. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  381. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  382. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  383. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  384. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  385. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  386. package/contracts/components/BaseComponent.sol +0 -88
  387. package/contracts/components/IBaseComponent.sol +0 -19
  388. package/contracts/experiment/statemachine/README.md +0 -112
  389. package/contracts/instance/IInstanceLinked.sol +0 -8
  390. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  391. package/contracts/instance/base/IInstanceBase.sol +0 -14
  392. package/contracts/instance/base/IService.sol +0 -15
  393. package/contracts/instance/base/InstanceBase.sol +0 -80
  394. package/contracts/instance/base/ModuleBase.sol +0 -52
  395. package/contracts/instance/base/ServiceBase.sol +0 -37
  396. package/contracts/instance/module/access/Access.sol +0 -149
  397. package/contracts/instance/module/access/IAccess.sol +0 -53
  398. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  399. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  400. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  401. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  402. package/contracts/instance/module/component/ComponentModule.sol +0 -95
  403. package/contracts/instance/module/component/IComponent.sol +0 -53
  404. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  405. package/contracts/instance/module/policy/PolicyModule.sol +0 -76
  406. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  407. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  408. package/contracts/instance/module/risk/IRisk.sol +0 -10
  409. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  410. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  411. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  412. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  413. package/contracts/instance/service/ComponentOwnerService.sol +0 -170
  414. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  415. package/contracts/registry/IChainNft.sol +0 -21
  416. package/contracts/registry/IRegistryLinked.sol +0 -8
  417. package/contracts/shared/IOwnable.sol +0 -6
  418. package/contracts/test/TestPool.sol +0 -22
  419. package/contracts/test/TestProduct.sol +0 -44
@@ -0,0 +1,1352 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "PolicyService",
4
+ "sourceName": "contracts/instance/service/PolicyService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registry",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "nftId",
16
+ "type": "uint96"
17
+ }
18
+ ],
19
+ "name": "ErrorAlreadyLinked",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "component",
27
+ "type": "address"
28
+ },
29
+ {
30
+ "internalType": "NftId",
31
+ "name": "nftId",
32
+ "type": "uint96"
33
+ }
34
+ ],
35
+ "name": "ErrorComponentServiceAlreadyRegistered",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [
40
+ {
41
+ "internalType": "address",
42
+ "name": "component",
43
+ "type": "address"
44
+ }
45
+ ],
46
+ "name": "ErrorComponentServiceComponentLocked",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "NftId",
53
+ "name": "instanceNftId",
54
+ "type": "uint96"
55
+ },
56
+ {
57
+ "internalType": "RoleId",
58
+ "name": "requiredRole",
59
+ "type": "uint64"
60
+ },
61
+ {
62
+ "internalType": "address",
63
+ "name": "sender",
64
+ "type": "address"
65
+ }
66
+ ],
67
+ "name": "ErrorComponentServiceExpectedRoleMissing",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [
72
+ {
73
+ "internalType": "address",
74
+ "name": "component",
75
+ "type": "address"
76
+ },
77
+ {
78
+ "internalType": "ObjectType",
79
+ "name": "requiredType",
80
+ "type": "uint8"
81
+ },
82
+ {
83
+ "internalType": "ObjectType",
84
+ "name": "componentType",
85
+ "type": "uint8"
86
+ }
87
+ ],
88
+ "name": "ErrorComponentServiceInvalidType",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "inputs": [
93
+ {
94
+ "internalType": "address",
95
+ "name": "component",
96
+ "type": "address"
97
+ }
98
+ ],
99
+ "name": "ErrorComponentServiceNotComponent",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "inputs": [
104
+ {
105
+ "internalType": "address",
106
+ "name": "component",
107
+ "type": "address"
108
+ },
109
+ {
110
+ "internalType": "address",
111
+ "name": "initialOwner",
112
+ "type": "address"
113
+ },
114
+ {
115
+ "internalType": "address",
116
+ "name": "sender",
117
+ "type": "address"
118
+ }
119
+ ],
120
+ "name": "ErrorComponentServiceSenderNotOwner",
121
+ "type": "error"
122
+ },
123
+ {
124
+ "inputs": [
125
+ {
126
+ "internalType": "address",
127
+ "name": "contractAddress",
128
+ "type": "address"
129
+ }
130
+ ],
131
+ "name": "ErrorContractNotRegistered",
132
+ "type": "error"
133
+ },
134
+ {
135
+ "inputs": [
136
+ {
137
+ "internalType": "address",
138
+ "name": "target",
139
+ "type": "address"
140
+ }
141
+ ],
142
+ "name": "ErrorIAccessTargetLocked",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [
147
+ {
148
+ "internalType": "address",
149
+ "name": "customer",
150
+ "type": "address"
151
+ },
152
+ {
153
+ "internalType": "address",
154
+ "name": "tokenHandlerAddress",
155
+ "type": "address"
156
+ },
157
+ {
158
+ "internalType": "uint256",
159
+ "name": "amount",
160
+ "type": "uint256"
161
+ }
162
+ ],
163
+ "name": "ErrorIPolicyServiceInsufficientAllowance",
164
+ "type": "error"
165
+ },
166
+ {
167
+ "inputs": [
168
+ {
169
+ "internalType": "NftId",
170
+ "name": "policyNftId",
171
+ "type": "uint96"
172
+ },
173
+ {
174
+ "internalType": "uint16",
175
+ "name": "openClaimsCount",
176
+ "type": "uint16"
177
+ }
178
+ ],
179
+ "name": "ErrorIPolicyServiceOpenClaims",
180
+ "type": "error"
181
+ },
182
+ {
183
+ "inputs": [
184
+ {
185
+ "internalType": "NftId",
186
+ "name": "policyNftId",
187
+ "type": "uint96"
188
+ }
189
+ ],
190
+ "name": "ErrorIPolicyServicePolicyAlreadyClosed",
191
+ "type": "error"
192
+ },
193
+ {
194
+ "inputs": [
195
+ {
196
+ "internalType": "NftId",
197
+ "name": "policyNftId",
198
+ "type": "uint96"
199
+ },
200
+ {
201
+ "internalType": "Timestamp",
202
+ "name": "expiredAt",
203
+ "type": "uint40"
204
+ }
205
+ ],
206
+ "name": "ErrorIPolicyServicePolicyHasNotExpired",
207
+ "type": "error"
208
+ },
209
+ {
210
+ "inputs": [
211
+ {
212
+ "internalType": "NftId",
213
+ "name": "policyNftId",
214
+ "type": "uint96"
215
+ }
216
+ ],
217
+ "name": "ErrorIPolicyServicePolicyNotActivated",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [
222
+ {
223
+ "internalType": "NftId",
224
+ "name": "policyNftId",
225
+ "type": "uint96"
226
+ },
227
+ {
228
+ "internalType": "StateId",
229
+ "name": "state",
230
+ "type": "uint8"
231
+ }
232
+ ],
233
+ "name": "ErrorIPolicyServicePolicyNotActive",
234
+ "type": "error"
235
+ },
236
+ {
237
+ "inputs": [
238
+ {
239
+ "internalType": "NftId",
240
+ "name": "policyNftId",
241
+ "type": "uint96"
242
+ },
243
+ {
244
+ "internalType": "uint256",
245
+ "name": "premiumPaidAmount",
246
+ "type": "uint256"
247
+ }
248
+ ],
249
+ "name": "ErrorIPolicyServicePremiumAlreadyPaid",
250
+ "type": "error"
251
+ },
252
+ {
253
+ "inputs": [
254
+ {
255
+ "internalType": "NftId",
256
+ "name": "policyNftId",
257
+ "type": "uint96"
258
+ },
259
+ {
260
+ "internalType": "uint256",
261
+ "name": "premiumAmount",
262
+ "type": "uint256"
263
+ },
264
+ {
265
+ "internalType": "uint256",
266
+ "name": "premiumPaidAmount",
267
+ "type": "uint256"
268
+ }
269
+ ],
270
+ "name": "ErrorIPolicyServicePremiumNotFullyPaid",
271
+ "type": "error"
272
+ },
273
+ {
274
+ "inputs": [],
275
+ "name": "ErrorInitialOwnerZero",
276
+ "type": "error"
277
+ },
278
+ {
279
+ "inputs": [
280
+ {
281
+ "internalType": "address",
282
+ "name": "account",
283
+ "type": "address"
284
+ }
285
+ ],
286
+ "name": "ErrorNotOwner",
287
+ "type": "error"
288
+ },
289
+ {
290
+ "inputs": [
291
+ {
292
+ "internalType": "address",
293
+ "name": "registryAddress",
294
+ "type": "address"
295
+ }
296
+ ],
297
+ "name": "ErrorNotRegistry",
298
+ "type": "error"
299
+ },
300
+ {
301
+ "inputs": [
302
+ {
303
+ "internalType": "address",
304
+ "name": "registryAddress",
305
+ "type": "address"
306
+ }
307
+ ],
308
+ "name": "ErrorRegisterableNotRegistry",
309
+ "type": "error"
310
+ },
311
+ {
312
+ "inputs": [],
313
+ "name": "ErrorRegistryAddressZero",
314
+ "type": "error"
315
+ },
316
+ {
317
+ "inputs": [
318
+ {
319
+ "internalType": "address",
320
+ "name": "registry",
321
+ "type": "address"
322
+ }
323
+ ],
324
+ "name": "ErrorRegistryAlreadyInitialized",
325
+ "type": "error"
326
+ },
327
+ {
328
+ "inputs": [],
329
+ "name": "ErrorRegistryNotInitialized",
330
+ "type": "error"
331
+ },
332
+ {
333
+ "inputs": [],
334
+ "name": "InvalidInitialization",
335
+ "type": "error"
336
+ },
337
+ {
338
+ "inputs": [],
339
+ "name": "NotInitializing",
340
+ "type": "error"
341
+ },
342
+ {
343
+ "anonymous": false,
344
+ "inputs": [
345
+ {
346
+ "indexed": false,
347
+ "internalType": "uint64",
348
+ "name": "version",
349
+ "type": "uint64"
350
+ }
351
+ ],
352
+ "name": "Initialized",
353
+ "type": "event"
354
+ },
355
+ {
356
+ "anonymous": false,
357
+ "inputs": [
358
+ {
359
+ "indexed": false,
360
+ "internalType": "address",
361
+ "name": "sender",
362
+ "type": "address"
363
+ }
364
+ ],
365
+ "name": "LogProductServiceSender",
366
+ "type": "event"
367
+ },
368
+ {
369
+ "anonymous": false,
370
+ "inputs": [
371
+ {
372
+ "indexed": false,
373
+ "internalType": "Version",
374
+ "name": "version",
375
+ "type": "uint24"
376
+ },
377
+ {
378
+ "indexed": false,
379
+ "internalType": "address",
380
+ "name": "implementation",
381
+ "type": "address"
382
+ },
383
+ {
384
+ "indexed": false,
385
+ "internalType": "address",
386
+ "name": "activatedBy",
387
+ "type": "address"
388
+ }
389
+ ],
390
+ "name": "LogVersionableInitialized",
391
+ "type": "event"
392
+ },
393
+ {
394
+ "inputs": [],
395
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
396
+ "outputs": [
397
+ {
398
+ "internalType": "bytes32",
399
+ "name": "",
400
+ "type": "bytes32"
401
+ }
402
+ ],
403
+ "stateMutability": "view",
404
+ "type": "function"
405
+ },
406
+ {
407
+ "inputs": [],
408
+ "name": "REGISTERABLE_LOCATION_V1",
409
+ "outputs": [
410
+ {
411
+ "internalType": "bytes32",
412
+ "name": "",
413
+ "type": "bytes32"
414
+ }
415
+ ],
416
+ "stateMutability": "view",
417
+ "type": "function"
418
+ },
419
+ {
420
+ "inputs": [
421
+ {
422
+ "internalType": "NftId",
423
+ "name": "policyNftId",
424
+ "type": "uint96"
425
+ },
426
+ {
427
+ "internalType": "Timestamp",
428
+ "name": "activateAt",
429
+ "type": "uint40"
430
+ }
431
+ ],
432
+ "name": "activate",
433
+ "outputs": [],
434
+ "stateMutability": "nonpayable",
435
+ "type": "function"
436
+ },
437
+ {
438
+ "inputs": [
439
+ {
440
+ "internalType": "RiskId",
441
+ "name": "riskId",
442
+ "type": "bytes8"
443
+ },
444
+ {
445
+ "internalType": "uint256",
446
+ "name": "sumInsuredAmount",
447
+ "type": "uint256"
448
+ },
449
+ {
450
+ "internalType": "uint256",
451
+ "name": "lifetime",
452
+ "type": "uint256"
453
+ },
454
+ {
455
+ "internalType": "bytes",
456
+ "name": "applicationData",
457
+ "type": "bytes"
458
+ },
459
+ {
460
+ "internalType": "NftId",
461
+ "name": "bundleNftId",
462
+ "type": "uint96"
463
+ },
464
+ {
465
+ "internalType": "ReferralId",
466
+ "name": "referralId",
467
+ "type": "bytes8"
468
+ }
469
+ ],
470
+ "name": "calculatePremium",
471
+ "outputs": [
472
+ {
473
+ "internalType": "uint256",
474
+ "name": "premiumAmount",
475
+ "type": "uint256"
476
+ },
477
+ {
478
+ "internalType": "uint256",
479
+ "name": "productFeeAmount",
480
+ "type": "uint256"
481
+ },
482
+ {
483
+ "internalType": "uint256",
484
+ "name": "poolFeeAmount",
485
+ "type": "uint256"
486
+ },
487
+ {
488
+ "internalType": "uint256",
489
+ "name": "bundleFeeAmount",
490
+ "type": "uint256"
491
+ },
492
+ {
493
+ "internalType": "uint256",
494
+ "name": "distributionFeeAmount",
495
+ "type": "uint256"
496
+ }
497
+ ],
498
+ "stateMutability": "view",
499
+ "type": "function"
500
+ },
501
+ {
502
+ "inputs": [
503
+ {
504
+ "internalType": "UFixed",
505
+ "name": "collateralizationLevel",
506
+ "type": "uint256"
507
+ },
508
+ {
509
+ "internalType": "uint256",
510
+ "name": "sumInsuredAmount",
511
+ "type": "uint256"
512
+ }
513
+ ],
514
+ "name": "calculateRequiredCollateral",
515
+ "outputs": [
516
+ {
517
+ "internalType": "uint256",
518
+ "name": "collateralAmount",
519
+ "type": "uint256"
520
+ }
521
+ ],
522
+ "stateMutability": "pure",
523
+ "type": "function"
524
+ },
525
+ {
526
+ "inputs": [
527
+ {
528
+ "internalType": "NftId",
529
+ "name": "policyNftId",
530
+ "type": "uint96"
531
+ }
532
+ ],
533
+ "name": "close",
534
+ "outputs": [],
535
+ "stateMutability": "nonpayable",
536
+ "type": "function"
537
+ },
538
+ {
539
+ "inputs": [
540
+ {
541
+ "internalType": "NftId",
542
+ "name": "policyNftId",
543
+ "type": "uint96"
544
+ },
545
+ {
546
+ "internalType": "Timestamp",
547
+ "name": "activateAt",
548
+ "type": "uint40"
549
+ }
550
+ ],
551
+ "name": "collectPremium",
552
+ "outputs": [],
553
+ "stateMutability": "nonpayable",
554
+ "type": "function"
555
+ },
556
+ {
557
+ "inputs": [
558
+ {
559
+ "internalType": "address",
560
+ "name": "applicationOwner",
561
+ "type": "address"
562
+ },
563
+ {
564
+ "internalType": "RiskId",
565
+ "name": "riskId",
566
+ "type": "bytes8"
567
+ },
568
+ {
569
+ "internalType": "uint256",
570
+ "name": "sumInsuredAmount",
571
+ "type": "uint256"
572
+ },
573
+ {
574
+ "internalType": "uint256",
575
+ "name": "lifetime",
576
+ "type": "uint256"
577
+ },
578
+ {
579
+ "internalType": "bytes",
580
+ "name": "applicationData",
581
+ "type": "bytes"
582
+ },
583
+ {
584
+ "internalType": "NftId",
585
+ "name": "bundleNftId",
586
+ "type": "uint96"
587
+ },
588
+ {
589
+ "internalType": "ReferralId",
590
+ "name": "referralId",
591
+ "type": "bytes8"
592
+ }
593
+ ],
594
+ "name": "createApplication",
595
+ "outputs": [
596
+ {
597
+ "internalType": "NftId",
598
+ "name": "policyNftId",
599
+ "type": "uint96"
600
+ }
601
+ ],
602
+ "stateMutability": "nonpayable",
603
+ "type": "function"
604
+ },
605
+ {
606
+ "inputs": [
607
+ {
608
+ "internalType": "NftId",
609
+ "name": "policyNftId",
610
+ "type": "uint96"
611
+ }
612
+ ],
613
+ "name": "decline",
614
+ "outputs": [],
615
+ "stateMutability": "nonpayable",
616
+ "type": "function"
617
+ },
618
+ {
619
+ "inputs": [],
620
+ "name": "getDomain",
621
+ "outputs": [
622
+ {
623
+ "internalType": "ObjectType",
624
+ "name": "",
625
+ "type": "uint8"
626
+ }
627
+ ],
628
+ "stateMutability": "pure",
629
+ "type": "function"
630
+ },
631
+ {
632
+ "inputs": [],
633
+ "name": "getInitialInfo",
634
+ "outputs": [
635
+ {
636
+ "components": [
637
+ {
638
+ "internalType": "NftId",
639
+ "name": "nftId",
640
+ "type": "uint96"
641
+ },
642
+ {
643
+ "internalType": "NftId",
644
+ "name": "parentNftId",
645
+ "type": "uint96"
646
+ },
647
+ {
648
+ "internalType": "ObjectType",
649
+ "name": "objectType",
650
+ "type": "uint8"
651
+ },
652
+ {
653
+ "internalType": "bool",
654
+ "name": "isInterceptor",
655
+ "type": "bool"
656
+ },
657
+ {
658
+ "internalType": "address",
659
+ "name": "objectAddress",
660
+ "type": "address"
661
+ },
662
+ {
663
+ "internalType": "address",
664
+ "name": "initialOwner",
665
+ "type": "address"
666
+ },
667
+ {
668
+ "internalType": "bytes",
669
+ "name": "data",
670
+ "type": "bytes"
671
+ }
672
+ ],
673
+ "internalType": "struct IRegistry.ObjectInfo",
674
+ "name": "info",
675
+ "type": "tuple"
676
+ }
677
+ ],
678
+ "stateMutability": "view",
679
+ "type": "function"
680
+ },
681
+ {
682
+ "inputs": [],
683
+ "name": "getInitialOwner",
684
+ "outputs": [
685
+ {
686
+ "internalType": "address",
687
+ "name": "",
688
+ "type": "address"
689
+ }
690
+ ],
691
+ "stateMutability": "view",
692
+ "type": "function"
693
+ },
694
+ {
695
+ "inputs": [],
696
+ "name": "getInitializedVersion",
697
+ "outputs": [
698
+ {
699
+ "internalType": "uint64",
700
+ "name": "",
701
+ "type": "uint64"
702
+ }
703
+ ],
704
+ "stateMutability": "view",
705
+ "type": "function"
706
+ },
707
+ {
708
+ "inputs": [],
709
+ "name": "getInstanceService",
710
+ "outputs": [
711
+ {
712
+ "internalType": "contract InstanceService",
713
+ "name": "",
714
+ "type": "address"
715
+ }
716
+ ],
717
+ "stateMutability": "view",
718
+ "type": "function"
719
+ },
720
+ {
721
+ "inputs": [],
722
+ "name": "getMajorVersion",
723
+ "outputs": [
724
+ {
725
+ "internalType": "VersionPart",
726
+ "name": "majorVersion",
727
+ "type": "uint8"
728
+ }
729
+ ],
730
+ "stateMutability": "view",
731
+ "type": "function"
732
+ },
733
+ {
734
+ "inputs": [],
735
+ "name": "getNftId",
736
+ "outputs": [
737
+ {
738
+ "internalType": "NftId",
739
+ "name": "",
740
+ "type": "uint96"
741
+ }
742
+ ],
743
+ "stateMutability": "view",
744
+ "type": "function"
745
+ },
746
+ {
747
+ "inputs": [],
748
+ "name": "getOwner",
749
+ "outputs": [
750
+ {
751
+ "internalType": "address",
752
+ "name": "",
753
+ "type": "address"
754
+ }
755
+ ],
756
+ "stateMutability": "view",
757
+ "type": "function"
758
+ },
759
+ {
760
+ "inputs": [],
761
+ "name": "getRegistry",
762
+ "outputs": [
763
+ {
764
+ "internalType": "contract IRegistry",
765
+ "name": "",
766
+ "type": "address"
767
+ }
768
+ ],
769
+ "stateMutability": "view",
770
+ "type": "function"
771
+ },
772
+ {
773
+ "inputs": [],
774
+ "name": "getRegistryService",
775
+ "outputs": [
776
+ {
777
+ "internalType": "contract IRegistryService",
778
+ "name": "",
779
+ "type": "address"
780
+ }
781
+ ],
782
+ "stateMutability": "view",
783
+ "type": "function"
784
+ },
785
+ {
786
+ "inputs": [],
787
+ "name": "getVersion",
788
+ "outputs": [
789
+ {
790
+ "internalType": "Version",
791
+ "name": "",
792
+ "type": "uint24"
793
+ }
794
+ ],
795
+ "stateMutability": "pure",
796
+ "type": "function"
797
+ },
798
+ {
799
+ "inputs": [
800
+ {
801
+ "internalType": "uint256",
802
+ "name": "idx",
803
+ "type": "uint256"
804
+ }
805
+ ],
806
+ "name": "getVersion",
807
+ "outputs": [
808
+ {
809
+ "internalType": "Version",
810
+ "name": "",
811
+ "type": "uint24"
812
+ }
813
+ ],
814
+ "stateMutability": "view",
815
+ "type": "function"
816
+ },
817
+ {
818
+ "inputs": [],
819
+ "name": "getVersionCount",
820
+ "outputs": [
821
+ {
822
+ "internalType": "uint256",
823
+ "name": "",
824
+ "type": "uint256"
825
+ }
826
+ ],
827
+ "stateMutability": "view",
828
+ "type": "function"
829
+ },
830
+ {
831
+ "inputs": [
832
+ {
833
+ "internalType": "Version",
834
+ "name": "_version",
835
+ "type": "uint24"
836
+ }
837
+ ],
838
+ "name": "getVersionInfo",
839
+ "outputs": [
840
+ {
841
+ "components": [
842
+ {
843
+ "internalType": "Version",
844
+ "name": "version",
845
+ "type": "uint24"
846
+ },
847
+ {
848
+ "internalType": "address",
849
+ "name": "implementation",
850
+ "type": "address"
851
+ },
852
+ {
853
+ "internalType": "address",
854
+ "name": "activatedBy",
855
+ "type": "address"
856
+ },
857
+ {
858
+ "internalType": "Timestamp",
859
+ "name": "activatedAt",
860
+ "type": "uint40"
861
+ },
862
+ {
863
+ "internalType": "Blocknumber",
864
+ "name": "activatedIn",
865
+ "type": "uint32"
866
+ }
867
+ ],
868
+ "internalType": "struct IVersionable.VersionInfo",
869
+ "name": "",
870
+ "type": "tuple"
871
+ }
872
+ ],
873
+ "stateMutability": "view",
874
+ "type": "function"
875
+ },
876
+ {
877
+ "inputs": [],
878
+ "name": "initializeERC165",
879
+ "outputs": [],
880
+ "stateMutability": "nonpayable",
881
+ "type": "function"
882
+ },
883
+ {
884
+ "inputs": [
885
+ {
886
+ "internalType": "address",
887
+ "name": "initialOwner",
888
+ "type": "address"
889
+ },
890
+ {
891
+ "internalType": "address",
892
+ "name": "registryAddress",
893
+ "type": "address"
894
+ }
895
+ ],
896
+ "name": "initializeNftOwnable",
897
+ "outputs": [],
898
+ "stateMutability": "nonpayable",
899
+ "type": "function"
900
+ },
901
+ {
902
+ "inputs": [
903
+ {
904
+ "internalType": "address",
905
+ "name": "initialOwner",
906
+ "type": "address"
907
+ }
908
+ ],
909
+ "name": "initializeOwner",
910
+ "outputs": [],
911
+ "stateMutability": "nonpayable",
912
+ "type": "function"
913
+ },
914
+ {
915
+ "inputs": [
916
+ {
917
+ "internalType": "address",
918
+ "name": "registryAddress",
919
+ "type": "address"
920
+ },
921
+ {
922
+ "internalType": "NftId",
923
+ "name": "parentNftId",
924
+ "type": "uint96"
925
+ },
926
+ {
927
+ "internalType": "ObjectType",
928
+ "name": "objectType",
929
+ "type": "uint8"
930
+ },
931
+ {
932
+ "internalType": "bool",
933
+ "name": "isInterceptor",
934
+ "type": "bool"
935
+ },
936
+ {
937
+ "internalType": "address",
938
+ "name": "initialOwner",
939
+ "type": "address"
940
+ },
941
+ {
942
+ "internalType": "bytes",
943
+ "name": "data",
944
+ "type": "bytes"
945
+ }
946
+ ],
947
+ "name": "initializeRegisterable",
948
+ "outputs": [],
949
+ "stateMutability": "nonpayable",
950
+ "type": "function"
951
+ },
952
+ {
953
+ "inputs": [
954
+ {
955
+ "internalType": "address",
956
+ "name": "registry",
957
+ "type": "address"
958
+ },
959
+ {
960
+ "internalType": "address",
961
+ "name": "initialOwner",
962
+ "type": "address"
963
+ }
964
+ ],
965
+ "name": "initializeService",
966
+ "outputs": [],
967
+ "stateMutability": "nonpayable",
968
+ "type": "function"
969
+ },
970
+ {
971
+ "inputs": [
972
+ {
973
+ "internalType": "address",
974
+ "name": "implementation",
975
+ "type": "address"
976
+ },
977
+ {
978
+ "internalType": "address",
979
+ "name": "activatedBy",
980
+ "type": "address"
981
+ },
982
+ {
983
+ "internalType": "bytes",
984
+ "name": "data",
985
+ "type": "bytes"
986
+ }
987
+ ],
988
+ "name": "initializeVersionable",
989
+ "outputs": [],
990
+ "stateMutability": "nonpayable",
991
+ "type": "function"
992
+ },
993
+ {
994
+ "inputs": [
995
+ {
996
+ "internalType": "Version",
997
+ "name": "_version",
998
+ "type": "uint24"
999
+ }
1000
+ ],
1001
+ "name": "isInitialized",
1002
+ "outputs": [
1003
+ {
1004
+ "internalType": "bool",
1005
+ "name": "",
1006
+ "type": "bool"
1007
+ }
1008
+ ],
1009
+ "stateMutability": "view",
1010
+ "type": "function"
1011
+ },
1012
+ {
1013
+ "inputs": [],
1014
+ "name": "linkToRegisteredNftId",
1015
+ "outputs": [],
1016
+ "stateMutability": "nonpayable",
1017
+ "type": "function"
1018
+ },
1019
+ {
1020
+ "inputs": [
1021
+ {
1022
+ "internalType": "bytes4",
1023
+ "name": "interfaceId",
1024
+ "type": "bytes4"
1025
+ }
1026
+ ],
1027
+ "name": "registerInterface",
1028
+ "outputs": [],
1029
+ "stateMutability": "nonpayable",
1030
+ "type": "function"
1031
+ },
1032
+ {
1033
+ "inputs": [
1034
+ {
1035
+ "internalType": "bytes4",
1036
+ "name": "interfaceId",
1037
+ "type": "bytes4"
1038
+ }
1039
+ ],
1040
+ "name": "supportsInterface",
1041
+ "outputs": [
1042
+ {
1043
+ "internalType": "bool",
1044
+ "name": "",
1045
+ "type": "bool"
1046
+ }
1047
+ ],
1048
+ "stateMutability": "view",
1049
+ "type": "function"
1050
+ },
1051
+ {
1052
+ "inputs": [
1053
+ {
1054
+ "internalType": "NftId",
1055
+ "name": "applicationNftId",
1056
+ "type": "uint96"
1057
+ },
1058
+ {
1059
+ "internalType": "bool",
1060
+ "name": "requirePremiumPayment",
1061
+ "type": "bool"
1062
+ },
1063
+ {
1064
+ "internalType": "Timestamp",
1065
+ "name": "activateAt",
1066
+ "type": "uint40"
1067
+ }
1068
+ ],
1069
+ "name": "underwrite",
1070
+ "outputs": [],
1071
+ "stateMutability": "nonpayable",
1072
+ "type": "function"
1073
+ },
1074
+ {
1075
+ "inputs": [
1076
+ {
1077
+ "internalType": "address",
1078
+ "name": "implementation",
1079
+ "type": "address"
1080
+ },
1081
+ {
1082
+ "internalType": "address",
1083
+ "name": "activatedBy",
1084
+ "type": "address"
1085
+ },
1086
+ {
1087
+ "internalType": "bytes",
1088
+ "name": "data",
1089
+ "type": "bytes"
1090
+ }
1091
+ ],
1092
+ "name": "upgradeVersionable",
1093
+ "outputs": [],
1094
+ "stateMutability": "nonpayable",
1095
+ "type": "function"
1096
+ }
1097
+ ],
1098
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6156d980620000e66000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c8063644c45e011610125578063b88da759116100ad578063cc9fc59a1161007c578063cc9fc59a14610608578063cde749f414610610578063ea86657214610618578063f7c34ee01461062b578063fb2cb1011461063e57600080fd5b8063b88da759146105c7578063bbfbbfba146105da578063c2c74987146105ed578063caf4e3d41461060057600080fd5b80639cdaa7f9116100f45780639cdaa7f91461052f5780639ffcede91461056a578063ada9652e1461057d578063b3c6501514610592578063b68d1809146105b257600080fd5b8063644c45e0146104b4578063893d20e8146104ed5780638c5f36bb146104f5578063946dfcfe1461050857600080fd5b806327bb7a33116101a85780634d5e16a9116101775780634d5e16a9146104485780634f4213331461045b5780635ab1bd531461046e5780635fd1a5f51461048e578063630361f6146104a157600080fd5b806327bb7a33146103015780632a9040181461031457806336fc697e146103275780634d459c901461032f57600080fd5b8063138461e0116101e4578063138461e01461029e5780631647f91e146102a65780631eff4b22146102b9578063214cdb80146102ee57600080fd5b806301ffc9a7146102165780630aaba8e8146102585780630d8e6e2c1461026d5780630fec111c14610289575b600080fd5b610243610224366004614453565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61026b610266366004614492565b610646565b005b610275610c84565b60405162ffffff909116815260200161024f565b610291610d0e565b60405161024f91906144ff565b61026b610eaa565b61026b6102b436600461470e565b6110d3565b6102e07f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161024f565b61026b6102fc366004614453565b6111ca565b61026b61030f36600461478c565b6111f7565b61026b61032236600461470e565b611293565b61026b6113db565b6103eb61033d366004614835565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061568483398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161024f565b61026b610456366004614865565b611421565b610243610469366004614835565b611693565b610476611746565b6040516001600160a01b03909116815260200161024f565b6102e061049c36600461489e565b611762565b61026b6104af3660046148c0565b61186b565b60008051602061562483398151915254600160a01b90046001600160601b03165b6040516001600160601b03909116815260200161024f565b610476611ec2565b61026b61050336600461490b565b611ff3565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102e0565b61054261053d36600461493e565b6120f5565b604080519586526020860194909452928401919091526060830152608082015260a00161024f565b61026b610578366004614492565b6121d3565b6102e060008051602061562483398151915281565b61059a612228565b6040516001600160401b03909116815260200161024f565b60d35b60405160ff909116815260200161024f565b6102756105d53660046149c6565b612249565b61026b6105e8366004614865565b61229a565b6104d56105fb3660046149df565b612601565b6104766128b9565b610476612946565b6105b5612966565b61026b610626366004614a7b565b6129e9565b61026b610639366004614a7b565b612a5c565b610476612a92565b6000610652606e612aa8565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610695573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190614aa9565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa15801561070c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107349190810190614b43565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610794573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b89190614cc2565b156107e6576040516308cbe08b60e21b81526001600160601b03851660048201526024015b60405180910390fd5b604051639096a1f360e01b81526001600160601b03851660048201526000906001600160a01b03841690639096a1f390602401602060405180830381865afa158015610836573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085a9190614cea565b905060ff811660641461089457604051634de91cf360e11b81526001600160601b038616600482015260ff821660248201526044016107dd565b6101e0820151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af41580156108f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109159190614cc2565b1561093e57604051634b80547760e11b81526001600160601b03861660048201526024016107dd565b8160c001518260a00151146109885760a082015160c0830151604051632b14368360e11b81526001600160601b0388166004820152602481019290925260448201526064016107dd565b61016082015161ffff16156109cc5761016082015160405163a5bb07ed60e01b81526001600160601b038716600482015261ffff90911660248201526044016107dd565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610a15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a399190614d07565b6101c0830151604051634a19ad8d60e11b815264ffffffffff92831660048201529116602482015273__$d53880c81dc91c20799140d711e5ab8718$__906394335b1a90604401602060405180830381865af4158015610a9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac19190614cc2565b8015610ad557508160800151826101800151105b15610b12576101c0820151604051630e79f6e160e21b81526001600160601b038716600482015264ffffffffff90911660248201526044016107dd565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7f9190614d07565b64ffffffffff166101e0830152600254602083015160808401516040516303c5c06160e41b81526001600160a01b0388811660048301526001600160601b03808b16602484015290931660448201526064810191909152911690633c5c061090608401600060405180830381600087803b158015610bfc57600080fd5b505af1158015610c10573d6000803e3d6000fd5b50505050836001600160a01b0316639a960d528684610c2d60c890565b6040518463ffffffff1660e01b8152600401610c4b93929190614e53565b600060405180830381600087803b158015610c6557600080fd5b505af1158015610c79573d6000803e3d6000fd5b505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610ce5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d099190614e88565b905090565b610d16614397565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191610da690614ea5565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd290614ea5565b8015610e1f5780601f10610df457610100808354040283529160200191610e1f565b820191906000526020600020905b815481529060010190602001808311610e0257829003601f168201915b50505050508152505090506040518060e00160405280610e3d600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610e8e612a92565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061562483398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610f1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f439190614cc2565b15610f845780546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044016107dd565b80546001600160a01b0316610fac5760405163cf29926160e01b815260040160405180910390fd5b805460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610ff4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110189190614cc2565b611040576040516372657a5160e01b81526001600160a01b03821660048201526024016107dd565b8154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015611089573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ad9190614edf565b82546001600160601b0391909116600160a01b026001600160a01b039091161790915550565b6000805160206156648339815191528054600160401b810460ff1615906001600160401b03166000811580156111065750825b90506000826001600160401b031660011480156111225750303b155b905081158015611130575080155b1561114e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561117857845460ff60401b1916600160401b1785555b6111828888612d15565b61118c8787612fb4565b83156111c057845460ff60401b19168555604051600181526000805160206156448339815191529060200160405180910390a15b5050505050505050565b6111d261321f565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6111ff61321f565b6112098287612a5c565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016112798382614f42565b5061128a6303fb044760e21b6111ca565b50505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6112b5610c84565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156112f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113199190615001565b6000805160206156648339815191528054600160401b900460ff168061134c575080546001600160401b03808416911610155b1561136a5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556113958585612d15565b61139e83613258565b805460ff60401b191681556040516001600160401b0383168152600080516020615644833981519152906020015b60405180910390a15050505050565b6113e361321f565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600061142d606e612aa8565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611470573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114949190614aa9565b60405163bd7d9d8560e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa1580156114e7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261150f9190810190614b43565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561156f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115939190614cc2565b6115df5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f4143544956415445440060448201526064016107dd565b64ffffffffff84166101a0820181905260e0820151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801561164a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166e9190614d07565b64ffffffffff166101c08201526001600160a01b038316639a960d5286836064610c2d565b60008060008051602061568483398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801561171b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061173f919061502a565b1192915050565b600080516020615624833981519152546001600160a01b031690565b6040516322f5db0f60e11b815260048101829052600090819073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af41580156117b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117db919061502a565b905060006117e98583613260565b604051632255341b60e11b81526004810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561183c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611860919061502a565b925050505b92915050565b6000806000611878614397565b611882606e612aa8565b8095508192505050836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ec9190614aa9565b905160405163bd7d9d8560e01b81526001600160601b038916600482015291935091506000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa158015611943573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261196b9190810190614b43565b80519091506001600160601b038381169116146119ca5760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d4154434800000000000000000060448201526064016107dd565b604051639096a1f360e01b81526001600160601b0388166004820152611a48906001600160a01b03851690639096a1f390602401602060405180830381865afa158015611a1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a3f9190614cea565b60ff16600a1490565b611a945760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c4945440060448201526064016107dd565b600080600080611b228888878a6001600160a01b03166390af70648b6040518263ffffffff1660e01b8152600401611adb91906001600160601b0391909116815260200190565b61024060405180830381865afa158015611af9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b1d919061509c565b61327c565b93509350935093506000611b34602890565b905064ffffffffff8a1615611be557606464ffffffffff8b166101a0880181905260e0880151604051631ded81af60e31b81526004810192909252602482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015611bb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bd79190614d07565b64ffffffffff166101c08701525b60008b15611c1957611bfd8a898f8a60a001516133fd565b90508660a001518760c001818151611c1591906151a9565b9052505b600260009054906101000a90046001600160a01b03166001600160a01b031663a7e0dea78b8f8887866040518663ffffffff1660e01b8152600401611c979594939291906001600160a01b039590951685526001600160601b0393841660208601529190921660408401526060830191909152608082015260a00190565b6000604051808303816000875af1158015611cb6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611cde91908101906151bc565b9350896001600160a01b0316639a960d528e89856040518463ffffffff1660e01b8152600401611d1093929190614e53565b600060405180830381600087803b158015611d2a57600080fd5b505af1158015611d3e573d6000803e3d6000fd5b50506040516355e343a960e01b81526001600160601b03891660048201526001600160a01b038c1692506355e343a991506024016101c060405180830381865afa158015611d90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611db4919061528d565b6080015115611eb3576000611dc7611746565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611e16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e3e919081019061535e565b608001519050806001600160a01b03166338f563788f8a61010001518860400151886040518563ffffffff1660e01b8152600401611e7f9493929190615430565b600060405180830381600087803b158015611e9957600080fd5b505af1158015611ead573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b60008060008051602061562483398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611f38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f5c9190614cc2565b15611fe1578054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015611fb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fdb9190614aa9565b91505090565b600101546001600160a01b0316919050565b6000805160206156648339815191528054600160401b810460ff1615906001600160401b03166000811580156120265750825b90506000826001600160401b031660011480156120425750303b155b905081158015612050575080155b1561206e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561209857845460ff60401b1916600160401b1785555b6120a1866139ab565b6120a96113db565b6120b963a444b9bb60e01b6111ca565b83156120ed57845460ff60401b19168555604051600181526000805160206156448339815191529060200160405180910390a15b505050505050565b600080600080600080612106613a1b565b90506000816001600160a01b0316635e78426b8d8f8e8e6040518563ffffffff1660e01b815260040161213c9493929190615476565b602060405180830381865afa158015612159573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061217d919061502a565b905061218b81838b8b613a3a565b9298509096509450925061219f86826151a9565b96506121ab84866151a9565b6121b590886151a9565b96506121c183886151a9565b96505050965096509650965096915050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233353a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b60648201526084016107dd565b50565b6000610d09600080516020615664833981519152546001600160401b031690565b6000600080516020615684833981519152600101828154811061226e5761226e6154b1565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000806122a7606e612aa8565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061230f9190614aa9565b60405163bd7d9d8560e01b81526001600160601b03871660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612362573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261238a9190810190614b43565b90508060a001518160c00151036123cc5760c081015160405163038a855760e51b81526001600160601b038816600482015260248101919091526044016107dd565b60008160c001518260a001516123e291906154c7565b905060006123f68587600001518a856133fd565b9050818360c00181815161240a91906151a9565b9052506002546020840151604051639babe3bf60e01b81526001600160a01b0388811660048301526001600160601b03909216602482015260448101849052911690639babe3bf90606401600060405180830381600087803b15801561246f57600080fd5b505af1158015612483573d6000803e3d6000fd5b50505050846001600160a01b0316639a960d5289856124a060ff90565b6040518463ffffffff1660e01b81526004016124be93929190614e53565b600060405180830381600087803b1580156124d857600080fd5b505af11580156124ec573d6000803e3d6000fd5b5050604051638d38cd4b60e01b815264ffffffffff8a16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9250638d38cd4b9150602401602060405180830381865af4158015612546573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061256a9190614cc2565b80156125f257506101a083015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156125ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f29190614cc2565b156111c0576111c08888611421565b6000808061260f606e612aa8565b9150915061261b6128b9565b6001600160a01b0316635c992fed6040518060e0016040528061263c600090565b6001600160601b039081168252865116602082015260400160d360ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016126b591906144ff565b6020604051808303816000875af11580156126d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126f89190614edf565b9250600061270a8a8a8a8a8a8a6120f5565b505050509050600060405180610200016040528085600001516001600160601b03168152602001886001600160601b03168152602001876001600160c01b03191681526020018c6001600160c01b03191681526020018b8152602001838152602001600081526020018a8152602001898152602001604051806020016040528060008152508152602001600061ffff168152602001600061ffff168152602001600081526020016127b9600090565b64ffffffffff168152600060208201819052604091820152516202f23560ee1b81529091506001600160a01b0384169063bc8d4000906127ff90889085906004016154da565b600060405180830381600087803b15801561281957600080fd5b505af115801561282d573d6000803e3d6000fd5b50505050826001600160a01b0316635d4345cc86612849600a90565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b15801561289257600080fd5b505af11580156128a6573d6000803e3d6000fd5b5050505050505050979650505050505050565b6000806128c4611746565b6001600160a01b031663d39e604360285b6128dd612966565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612922573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118659190614aa9565b600080612951611746565b6001600160a01b031663d39e604360466128d5565b6000612970610c84565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156129c5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d099190614cea565b6129f161321f565b600060d36129fd612966565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000612a32846140d3565b90506000612a458583603c8488886111f7565b612a55637b6a51fd60e01b6111ca565b5050505050565b612a6461321f565b612a6d826139ab565b612a768161413e565b612a7e6113db565b612a8e63a444b9bb60e01b6111ca565b5050565b6000600080516020615624833981519152611fe1565b612ab0614397565b600080612abb611746565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015612b02573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b2a919081019061535e565b9250612b4083604001518560ff90811691161490565b612b825760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016107dd565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015612bd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612c00919081019061535e565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c6d9190614aa9565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015612cba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cde9190614cc2565b15612d0d57608085015160405163d53987e560e01b81526001600160a01b0390911660048201526024016107dd565b505050915091565b612d1d61321f565b6000805160206156848339815191526000612d4d600080516020615664833981519152546001600160401b031690565b90506000612d59610c84565b9050816001600160401b0316600103612d865760028301805462ffffff191662ffffff8316179055612dd4565b600283015462ffffff90811690821611612dd45760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016107dd565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015612e88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eac9190614d07565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906113cc9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6000805160206156648339815191528054600160401b810460ff1615906001600160401b0316600081158015612fe75750825b90506000826001600160401b031660011480156130035750303b155b905081158015613011575080155b1561302f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561305957845460ff60401b1916600160401b1785555b6000808780602001905181019061307091906154fc565b909250905061307f828a6129e9565b613087611746565b6001600160a01b031663d39e6043608c61309f612966565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156130e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131089190614aa9565b600180546001600160a01b0319166001600160a01b0392909216919091179055613130611746565b6001600160a01b031663d39e604360dc613148612966565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561318d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131b19190614aa9565b600280546001600160a01b0319166001600160a01b03929092169190911790556131e163013dc66f60e01b6111ca565b5050831561128a57845460ff60401b19168555604051600181526000805160206156448339815191529060200160405180910390a150505050505050565b60008051602061566483398151915254600160401b900460ff1661325657604051631afcd79f60e31b815260040160405180910390fd5b565b61021161321f565b60006132758383670de0b6b3a76400006142ae565b9392505050565b6000806132876143d5565b60608401516020860151604051634793b4ab60e01b81526001600160601b038216600482015291945092506000906001600160a01b03881690634793b4ab90602401600060405180830381865afa1580156132e6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261330e91908101906151bc565b80519092506001600160601b038581169116146133665760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b60448201526064016107dd565b6040516355e343a960e01b81526001600160601b03851660048201526000906001600160a01b038916906355e343a9906024016101c060405180830381865afa1580156133b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133db919061528d565b90506133ef8160a001518860800151611762565b915050945094509450949050565b600081156139a3576000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613445573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134699190614aa9565b60405163242bdc1960e21b81526001600160601b03871660048201526001600160a01b0391909116906390af70649060240161024060405180830381865afa1580156134b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134dd919061509c565b602081015190915060006134ef611746565b604051631c5da14d60e11b81526001600160601b03881660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561353e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135629190614aa9565b90506000886001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156135a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135c89190614aa9565b60608501516040516355e343a960e01b81526001600160601b0390911660048201526001600160a01b0391909116906355e343a9906024016101c060405180830381865afa15801561361e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613642919061528d565b61014081015160a08601516040516346f0526160e11b8152899850929350909173__$a23651848365a6a5ca15f07b4331037f48$__90638de0a4c29061368c90849060040161552b565b602060405180830381865af41580156136a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136cd9190614cc2565b15613739576040516317d5759960e31b81526001600160a01b0386169063beabacc89061370290879086908d90600401615542565b600060405180830381600087803b15801561371c57600080fd5b505af1158015613730573d6000803e3d6000fd5b5050505061399c565b60a086015160405163012ebd8360e21b815281516004820152602090910151602482015260448101889052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af41580156137a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137c89190615566565b91509150600088610160015190508a886001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa158015613815573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138399190614aa9565b604051636eb1769f60e11b81526001600160a01b038a811660048301528b81166024830152919091169063dd62ed3e90604401602060405180830381865afa158015613889573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138ad919061502a565b10156138d25786888c604051636d675c4360e01b81526004016107dd93929190615542565b6040516317d5759960e31b81526001600160a01b0389169063beabacc890613902908a9085908890600401615542565b600060405180830381600087803b15801561391c57600080fd5b505af1158015613930573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b038b16925063beabacc89150613964908a9089908790600401615542565b600060405180830381600087803b15801561397e57600080fd5b505af1158015613992573d6000803e3d6000fd5b50939b5050505050505b5050505050505b949350505050565b6139b361321f565b6001600160a01b0381166139da576040516352e2d0c160e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0392909216919091179055565b6000613a25614397565b613a2f606e612aa8565b506080015192915050565b600080600080600080886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015613a81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613aa59190614aa9565b9050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613ae5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b099190614aa9565b9150506000886001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa158015613b4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b709190614edf565b604051634793b4ab60e01b81526001600160601b038a1660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015613bc3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613beb91908101906151bc565b80519091506001600160601b03838116911614613c555760405162461bcd60e51b815260206004820152602260248201527f4552524f523a5052532d3033353a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b60648201526084016107dd565b6000836001600160a01b03166390af70648c6001600160a01b03166251884a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613ca3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cc79190614edf565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161024060405180830381865afa158015613d0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d30919061509c565b60a081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015613d99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613dbd9190615566565b506040516355e343a960e01b81526001600160601b0385166004820152909850600091506001600160a01b038516906355e343a9906024016101c060405180830381865afa158015613e13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e37919061528d565b60e081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015613ea0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ec49190615566565b50809750505060008a6001600160a01b031663db6dcc956040518163ffffffff1660e01b8152600401602060405180830381865afa158015613f0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f2e9190614edf565b604051639ad69c6760e01b81526001600160601b03821660048201529091506000906001600160a01b03861690639ad69c679060240160a060405180830381865afa158015613f81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613fa5919061558a565b604080820151905163012ebd8360e21b8152815160048201526020909101516024820152604481018f905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af415801561400e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140329190615566565b5060208481015160405163012ebd8360e21b8152815160048201529101516024820152604481018f905290965073__$a23651848365a6a5ca15f07b4331037f48$__92506304baf60c91506064016040805180830381865af415801561409c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140c09190615566565b5080955050505050945094509450949050565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa15801561411a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118659190614edf565b60008051602061562483398151915280546001600160a01b03161561418457805460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016107dd565b6001600160a01b0382166141ab5760405163f5c4d07d60e01b815260040160405180910390fd5b816001600160a01b03163b6000036141e15760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107dd565b80546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015614258575060408051601f3d908101601f1916820190925261425591810190614cc2565b60015b6142805760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107dd565b806142a95760405163fdeac91f60e01b81526001600160a01b03841660048201526024016107dd565b505050565b60008080600019858709858702925082811083820303915050806000036142e8578382816142de576142de61560d565b0492505050613275565b80841161432f5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b60448201526064016107dd565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60405180610120016040528060006001600160601b0316815260200161440e604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60006020828403121561446557600080fd5b81356001600160e01b03198116811461327557600080fd5b6001600160601b038116811461222557600080fd5b6000602082840312156144a457600080fd5b81356132758161447d565b60005b838110156144ca5781810151838201526020016144b2565b50506000910152565b600081518084526144eb8160208601602086016144af565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161456860c08401826001600160a01b03169052565b5060c083015160e0808401526139a36101008401826144d3565b6001600160a01b038116811461222557600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b03811182821017156145d0576145d0614597565b60405290565b60405161018081016001600160401b03811182821017156145d0576145d0614597565b60405161012081016001600160401b03811182821017156145d0576145d0614597565b60405161016081016001600160401b03811182821017156145d0576145d0614597565b60405160e081016001600160401b03811182821017156145d0576145d0614597565b604051601f8201601f191681016001600160401b038111828210171561468957614689614597565b604052919050565b60006001600160401b038211156146aa576146aa614597565b50601f01601f191660200190565b600082601f8301126146c957600080fd5b81356146dc6146d782614691565b614661565b8181528460208386010111156146f157600080fd5b816020850160208301376000918101602001919091529392505050565b60008060006060848603121561472357600080fd5b833561472e81614582565b9250602084013561473e81614582565b915060408401356001600160401b0381111561475957600080fd5b614765868287016146b8565b9150509250925092565b60ff8116811461222557600080fd5b801515811461222557600080fd5b60008060008060008060c087890312156147a557600080fd5b86356147b081614582565b955060208701356147c08161447d565b945060408701356147d08161476f565b935060608701356147e08161477e565b925060808701356147f081614582565b915060a08701356001600160401b0381111561480b57600080fd5b61481789828a016146b8565b9150509295509295509295565b62ffffff8116811461222557600080fd5b60006020828403121561484757600080fd5b813561327581614824565b64ffffffffff8116811461222557600080fd5b6000806040838503121561487857600080fd5b82356148838161447d565b9150602083013561489381614852565b809150509250929050565b600080604083850312156148b157600080fd5b50508035926020909101359150565b6000806000606084860312156148d557600080fd5b83356148e08161447d565b925060208401356148f08161477e565b9150604084013561490081614852565b809150509250925092565b60006020828403121561491d57600080fd5b813561327581614582565b6001600160c01b03198116811461222557600080fd5b60008060008060008060c0878903121561495757600080fd5b863561496281614928565b9550602087013594506040870135935060608701356001600160401b0381111561498b57600080fd5b61499789828a016146b8565b93505060808701356149a88161447d565b915060a08701356149b881614928565b809150509295509295509295565b6000602082840312156149d857600080fd5b5035919050565b600080600080600080600060e0888a0312156149fa57600080fd5b8735614a0581614582565b96506020880135614a1581614928565b9550604088013594506060880135935060808801356001600160401b03811115614a3e57600080fd5b614a4a8a828b016146b8565b93505060a0880135614a5b8161447d565b915060c0880135614a6b81614928565b8091505092959891949750929550565b60008060408385031215614a8e57600080fd5b8235614a9981614582565b9150602083013561489381614582565b600060208284031215614abb57600080fd5b815161327581614582565b8051614ad18161447d565b919050565b8051614ad181614928565b600082601f830112614af257600080fd5b8151614b006146d782614691565b818152846020838601011115614b1557600080fd5b6139a38260208301602087016144af565b805161ffff81168114614ad157600080fd5b8051614ad181614852565b600060208284031215614b5557600080fd5b81516001600160401b0380821115614b6c57600080fd5b908301906102008286031215614b8157600080fd5b614b896145ad565b614b9283614ac6565b8152614ba060208401614ac6565b6020820152614bb160408401614ad6565b6040820152614bc260608401614ad6565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115614c0357600080fd5b614c0f88828701614ae1565b8284015250506101208084015183811115614c2957600080fd5b614c3588828701614ae1565b8284015250506101409150614c4b828401614b26565b828201526101609150614c5f828401614b26565b82820152610180915081830151828201526101a09150614c80828401614b38565b828201526101c09150614c94828401614b38565b828201526101e09150614ca8828401614b38565b91810191909152949350505050565b8051614ad18161477e565b600060208284031215614cd457600080fd5b81516132758161477e565b8051614ad18161476f565b600060208284031215614cfc57600080fd5b81516132758161476f565b600060208284031215614d1957600080fd5b815161327581614852565b80516001600160601b0316825260006102006020830151614d5060208601826001600160601b03169052565b506040830151614d6c60408601826001600160c01b0319169052565b506060830151614d8860608601826001600160c01b0319169052565b506080830151608085015260a083015160a085015260c083015160c085015260e083015160e0850152610100808401518282870152614dc9838701826144d3565b925050506101208084015185830382870152614de583826144d3565b9250505061014080840151614dff8287018261ffff169052565b50506101608381015161ffff169085015261018080840151908501526101a08084015164ffffffffff908116918601919091526101c0808501518216908601526101e0938401511692909301919091525090565b6001600160601b0384168152606060208201526000614e756060830185614d24565b905060ff83166040830152949350505050565b600060208284031215614e9a57600080fd5b815161327581614824565b600181811c90821680614eb957607f821691505b602082108103614ed957634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215614ef157600080fd5b81516132758161447d565b601f8211156142a957600081815260208120601f850160051c81016020861015614f235750805b601f850160051c820191505b818110156120ed57828155600101614f2f565b81516001600160401b03811115614f5b57614f5b614597565b614f6f81614f698454614ea5565b84614efc565b602080601f831160018114614fa45760008415614f8c5750858301515b600019600386901b1c1916600185901b1785556120ed565b600085815260208120601f198616915b82811015614fd357888601518255948401946001909101908401614fb4565b5085821015614ff15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561501357600080fd5b81516001600160401b038116811461327557600080fd5b60006020828403121561503c57600080fd5b5051919050565b8051614ad181614582565b60006040828403121561506057600080fd5b604051604081018181106001600160401b038211171561508257615082614597565b604052825181526020928301519281019290925250919050565b600061024082840312156150af57600080fd5b6150b76145d6565b6150c083615043565b81526150ce60208401615043565b60208201526150df60408401614ac6565b60408201526150f060608401614ac6565b6060820152615102846080850161504e565b60808201526151148460c0850161504e565b60a08201526101006151288582860161504e565b60c083015261014061513c8682870161504e565b60e084015261514f86610180870161504e565b82840152615161866101c0870161504e565b6101208401526151746102008601614cb7565b90830152506151866102208401615043565b6101608201529392505050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561186557611865615193565b6000602082840312156151ce57600080fd5b81516001600160401b03808211156151e557600080fd5b9083019061014082860312156151fa57600080fd5b6152026145f9565b61520b83614ac6565b815261521a866020850161504e565b602082015260608301518281111561523157600080fd5b61523d87828601614ae1565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c0820152610100915061527b828401614b38565b60e0820152614ca86101208401614b38565b60006101c082840312156152a057600080fd5b6152a861461c565b6152b183614ac6565b81526152bf60208401615043565b60208201526152d060408401614cb7565b60408201526152e160608401614cb7565b60608201526152f260808401614cb7565b608082015260a083015160a082015260c083015160c08201526153188460e0850161504e565b60e082015261012061532c8582860161504e565b61010083015261534085610160860161504e565b908201526153516101a08401615043565b6101408201529392505050565b60006020828403121561537057600080fd5b81516001600160401b038082111561538757600080fd5b9083019060e0828603121561539b57600080fd5b6153a361463f565b6153ac83614ac6565b81526153ba60208401614ac6565b60208201526153cb60408401614cdf565b60408201526153dc60608401614cb7565b60608201526153ed60808401615043565b60808201526153fe60a08401615043565b60a082015260c08301518281111561541557600080fd5b61542187828601614ae1565b60c08301525095945050505050565b6001600160601b038516815260806020820152600061545260808301866144d3565b828103604084015261546481866144d3565b91505082606083015295945050505050565b8481526001600160401b0360c01b841660208201528260408201526080606082015260006154a760808301846144d3565b9695505050505050565b634e487b7160e01b600052603260045260246000fd5b8181038181111561186557611865615193565b6001600160601b03831681526040602082015260006139a36040830184614d24565b6000806040838503121561550f57600080fd5b825161551a81614582565b602084015190925061489381614582565b815181526020808301519082015260408101611865565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6000806040838503121561557957600080fd5b505080516020909101519092909150565b600060a0828403121561559c57600080fd5b604051608081018181106001600160401b03821117156155be576155be614597565b60405282516155cc8161447d565b815260208301516155dc81614582565b60208201526155ee846040850161504e565b6040820152608083015161560181614582565b60608201529392505050565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00c7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122026617cf7243bd53ef6e447b59f86b045b8210c37ae191fa73ede90fc66d9d1d164736f6c63430008140033",
1099
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102115760003560e01c8063644c45e011610125578063b88da759116100ad578063cc9fc59a1161007c578063cc9fc59a14610608578063cde749f414610610578063ea86657214610618578063f7c34ee01461062b578063fb2cb1011461063e57600080fd5b8063b88da759146105c7578063bbfbbfba146105da578063c2c74987146105ed578063caf4e3d41461060057600080fd5b80639cdaa7f9116100f45780639cdaa7f91461052f5780639ffcede91461056a578063ada9652e1461057d578063b3c6501514610592578063b68d1809146105b257600080fd5b8063644c45e0146104b4578063893d20e8146104ed5780638c5f36bb146104f5578063946dfcfe1461050857600080fd5b806327bb7a33116101a85780634d5e16a9116101775780634d5e16a9146104485780634f4213331461045b5780635ab1bd531461046e5780635fd1a5f51461048e578063630361f6146104a157600080fd5b806327bb7a33146103015780632a9040181461031457806336fc697e146103275780634d459c901461032f57600080fd5b8063138461e0116101e4578063138461e01461029e5780631647f91e146102a65780631eff4b22146102b9578063214cdb80146102ee57600080fd5b806301ffc9a7146102165780630aaba8e8146102585780630d8e6e2c1461026d5780630fec111c14610289575b600080fd5b610243610224366004614453565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61026b610266366004614492565b610646565b005b610275610c84565b60405162ffffff909116815260200161024f565b610291610d0e565b60405161024f91906144ff565b61026b610eaa565b61026b6102b436600461470e565b6110d3565b6102e07f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161024f565b61026b6102fc366004614453565b6111ca565b61026b61030f36600461478c565b6111f7565b61026b61032236600461470e565b611293565b61026b6113db565b6103eb61033d366004614835565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061568483398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161024f565b61026b610456366004614865565b611421565b610243610469366004614835565b611693565b610476611746565b6040516001600160a01b03909116815260200161024f565b6102e061049c36600461489e565b611762565b61026b6104af3660046148c0565b61186b565b60008051602061562483398151915254600160a01b90046001600160601b03165b6040516001600160601b03909116815260200161024f565b610476611ec2565b61026b61050336600461490b565b611ff3565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102e0565b61054261053d36600461493e565b6120f5565b604080519586526020860194909452928401919091526060830152608082015260a00161024f565b61026b610578366004614492565b6121d3565b6102e060008051602061562483398151915281565b61059a612228565b6040516001600160401b03909116815260200161024f565b60d35b60405160ff909116815260200161024f565b6102756105d53660046149c6565b612249565b61026b6105e8366004614865565b61229a565b6104d56105fb3660046149df565b612601565b6104766128b9565b610476612946565b6105b5612966565b61026b610626366004614a7b565b6129e9565b61026b610639366004614a7b565b612a5c565b610476612a92565b6000610652606e612aa8565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610695573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b99190614aa9565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa15801561070c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107349190810190614b43565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610794573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b89190614cc2565b156107e6576040516308cbe08b60e21b81526001600160601b03851660048201526024015b60405180910390fd5b604051639096a1f360e01b81526001600160601b03851660048201526000906001600160a01b03841690639096a1f390602401602060405180830381865afa158015610836573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085a9190614cea565b905060ff811660641461089457604051634de91cf360e11b81526001600160601b038616600482015260ff821660248201526044016107dd565b6101e0820151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af41580156108f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109159190614cc2565b1561093e57604051634b80547760e11b81526001600160601b03861660048201526024016107dd565b8160c001518260a00151146109885760a082015160c0830151604051632b14368360e11b81526001600160601b0388166004820152602481019290925260448201526064016107dd565b61016082015161ffff16156109cc5761016082015160405163a5bb07ed60e01b81526001600160601b038716600482015261ffff90911660248201526044016107dd565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610a15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a399190614d07565b6101c0830151604051634a19ad8d60e11b815264ffffffffff92831660048201529116602482015273__$d53880c81dc91c20799140d711e5ab8718$__906394335b1a90604401602060405180830381865af4158015610a9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac19190614cc2565b8015610ad557508160800151826101800151105b15610b12576101c0820151604051630e79f6e160e21b81526001600160601b038716600482015264ffffffffff90911660248201526044016107dd565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7f9190614d07565b64ffffffffff166101e0830152600254602083015160808401516040516303c5c06160e41b81526001600160a01b0388811660048301526001600160601b03808b16602484015290931660448201526064810191909152911690633c5c061090608401600060405180830381600087803b158015610bfc57600080fd5b505af1158015610c10573d6000803e3d6000fd5b50505050836001600160a01b0316639a960d528684610c2d60c890565b6040518463ffffffff1660e01b8152600401610c4b93929190614e53565b600060405180830381600087803b158015610c6557600080fd5b505af1158015610c79573d6000803e3d6000fd5b505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610ce5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d099190614e88565b905090565b610d16614397565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191610da690614ea5565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd290614ea5565b8015610e1f5780601f10610df457610100808354040283529160200191610e1f565b820191906000526020600020905b815481529060010190602001808311610e0257829003601f168201915b50505050508152505090506040518060e00160405280610e3d600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610e8e612a92565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061562483398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610f1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f439190614cc2565b15610f845780546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044016107dd565b80546001600160a01b0316610fac5760405163cf29926160e01b815260040160405180910390fd5b805460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610ff4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110189190614cc2565b611040576040516372657a5160e01b81526001600160a01b03821660048201526024016107dd565b8154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015611089573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ad9190614edf565b82546001600160601b0391909116600160a01b026001600160a01b039091161790915550565b6000805160206156648339815191528054600160401b810460ff1615906001600160401b03166000811580156111065750825b90506000826001600160401b031660011480156111225750303b155b905081158015611130575080155b1561114e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561117857845460ff60401b1916600160401b1785555b6111828888612d15565b61118c8787612fb4565b83156111c057845460ff60401b19168555604051600181526000805160206156448339815191529060200160405180910390a15b5050505050505050565b6111d261321f565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6111ff61321f565b6112098287612a5c565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016112798382614f42565b5061128a6303fb044760e21b6111ca565b50505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6112b5610c84565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156112f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113199190615001565b6000805160206156648339815191528054600160401b900460ff168061134c575080546001600160401b03808416911610155b1561136a5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556113958585612d15565b61139e83613258565b805460ff60401b191681556040516001600160401b0383168152600080516020615644833981519152906020015b60405180910390a15050505050565b6113e361321f565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600061142d606e612aa8565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611470573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114949190614aa9565b60405163bd7d9d8560e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa1580156114e7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261150f9190810190614b43565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561156f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115939190614cc2565b6115df5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f4143544956415445440060448201526064016107dd565b64ffffffffff84166101a0820181905260e0820151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801561164a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166e9190614d07565b64ffffffffff166101c08201526001600160a01b038316639a960d5286836064610c2d565b60008060008051602061568483398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801561171b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061173f919061502a565b1192915050565b600080516020615624833981519152546001600160a01b031690565b6040516322f5db0f60e11b815260048101829052600090819073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af41580156117b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117db919061502a565b905060006117e98583613260565b604051632255341b60e11b81526004810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561183c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611860919061502a565b925050505b92915050565b6000806000611878614397565b611882606e612aa8565b8095508192505050836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ec9190614aa9565b905160405163bd7d9d8560e01b81526001600160601b038916600482015291935091506000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa158015611943573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261196b9190810190614b43565b80519091506001600160601b038381169116146119ca5760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d4154434800000000000000000060448201526064016107dd565b604051639096a1f360e01b81526001600160601b0388166004820152611a48906001600160a01b03851690639096a1f390602401602060405180830381865afa158015611a1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a3f9190614cea565b60ff16600a1490565b611a945760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c4945440060448201526064016107dd565b600080600080611b228888878a6001600160a01b03166390af70648b6040518263ffffffff1660e01b8152600401611adb91906001600160601b0391909116815260200190565b61024060405180830381865afa158015611af9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b1d919061509c565b61327c565b93509350935093506000611b34602890565b905064ffffffffff8a1615611be557606464ffffffffff8b166101a0880181905260e0880151604051631ded81af60e31b81526004810192909252602482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015611bb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bd79190614d07565b64ffffffffff166101c08701525b60008b15611c1957611bfd8a898f8a60a001516133fd565b90508660a001518760c001818151611c1591906151a9565b9052505b600260009054906101000a90046001600160a01b03166001600160a01b031663a7e0dea78b8f8887866040518663ffffffff1660e01b8152600401611c979594939291906001600160a01b039590951685526001600160601b0393841660208601529190921660408401526060830191909152608082015260a00190565b6000604051808303816000875af1158015611cb6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611cde91908101906151bc565b9350896001600160a01b0316639a960d528e89856040518463ffffffff1660e01b8152600401611d1093929190614e53565b600060405180830381600087803b158015611d2a57600080fd5b505af1158015611d3e573d6000803e3d6000fd5b50506040516355e343a960e01b81526001600160601b03891660048201526001600160a01b038c1692506355e343a991506024016101c060405180830381865afa158015611d90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611db4919061528d565b6080015115611eb3576000611dc7611746565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611e16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e3e919081019061535e565b608001519050806001600160a01b03166338f563788f8a61010001518860400151886040518563ffffffff1660e01b8152600401611e7f9493929190615430565b600060405180830381600087803b158015611e9957600080fd5b505af1158015611ead573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b60008060008051602061562483398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611f38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f5c9190614cc2565b15611fe1578054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015611fb7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fdb9190614aa9565b91505090565b600101546001600160a01b0316919050565b6000805160206156648339815191528054600160401b810460ff1615906001600160401b03166000811580156120265750825b90506000826001600160401b031660011480156120425750303b155b905081158015612050575080155b1561206e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561209857845460ff60401b1916600160401b1785555b6120a1866139ab565b6120a96113db565b6120b963a444b9bb60e01b6111ca565b83156120ed57845460ff60401b19168555604051600181526000805160206156448339815191529060200160405180910390a15b505050505050565b600080600080600080612106613a1b565b90506000816001600160a01b0316635e78426b8d8f8e8e6040518563ffffffff1660e01b815260040161213c9493929190615476565b602060405180830381865afa158015612159573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061217d919061502a565b905061218b81838b8b613a3a565b9298509096509450925061219f86826151a9565b96506121ab84866151a9565b6121b590886151a9565b96506121c183886151a9565b96505050965096509650965096915050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233353a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b60648201526084016107dd565b50565b6000610d09600080516020615664833981519152546001600160401b031690565b6000600080516020615684833981519152600101828154811061226e5761226e6154b1565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000806122a7606e612aa8565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061230f9190614aa9565b60405163bd7d9d8560e01b81526001600160601b03871660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612362573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261238a9190810190614b43565b90508060a001518160c00151036123cc5760c081015160405163038a855760e51b81526001600160601b038816600482015260248101919091526044016107dd565b60008160c001518260a001516123e291906154c7565b905060006123f68587600001518a856133fd565b9050818360c00181815161240a91906151a9565b9052506002546020840151604051639babe3bf60e01b81526001600160a01b0388811660048301526001600160601b03909216602482015260448101849052911690639babe3bf90606401600060405180830381600087803b15801561246f57600080fd5b505af1158015612483573d6000803e3d6000fd5b50505050846001600160a01b0316639a960d5289856124a060ff90565b6040518463ffffffff1660e01b81526004016124be93929190614e53565b600060405180830381600087803b1580156124d857600080fd5b505af11580156124ec573d6000803e3d6000fd5b5050604051638d38cd4b60e01b815264ffffffffff8a16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9250638d38cd4b9150602401602060405180830381865af4158015612546573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061256a9190614cc2565b80156125f257506101a083015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156125ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f29190614cc2565b156111c0576111c08888611421565b6000808061260f606e612aa8565b9150915061261b6128b9565b6001600160a01b0316635c992fed6040518060e0016040528061263c600090565b6001600160601b039081168252865116602082015260400160d360ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016126b591906144ff565b6020604051808303816000875af11580156126d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126f89190614edf565b9250600061270a8a8a8a8a8a8a6120f5565b505050509050600060405180610200016040528085600001516001600160601b03168152602001886001600160601b03168152602001876001600160c01b03191681526020018c6001600160c01b03191681526020018b8152602001838152602001600081526020018a8152602001898152602001604051806020016040528060008152508152602001600061ffff168152602001600061ffff168152602001600081526020016127b9600090565b64ffffffffff168152600060208201819052604091820152516202f23560ee1b81529091506001600160a01b0384169063bc8d4000906127ff90889085906004016154da565b600060405180830381600087803b15801561281957600080fd5b505af115801561282d573d6000803e3d6000fd5b50505050826001600160a01b0316635d4345cc86612849600a90565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b15801561289257600080fd5b505af11580156128a6573d6000803e3d6000fd5b5050505050505050979650505050505050565b6000806128c4611746565b6001600160a01b031663d39e604360285b6128dd612966565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612922573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118659190614aa9565b600080612951611746565b6001600160a01b031663d39e604360466128d5565b6000612970610c84565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156129c5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d099190614cea565b6129f161321f565b600060d36129fd612966565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000612a32846140d3565b90506000612a458583603c8488886111f7565b612a55637b6a51fd60e01b6111ca565b5050505050565b612a6461321f565b612a6d826139ab565b612a768161413e565b612a7e6113db565b612a8e63a444b9bb60e01b6111ca565b5050565b6000600080516020615624833981519152611fe1565b612ab0614397565b600080612abb611746565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015612b02573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b2a919081019061535e565b9250612b4083604001518560ff90811691161490565b612b825760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016107dd565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015612bd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612c00919081019061535e565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c6d9190614aa9565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015612cba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cde9190614cc2565b15612d0d57608085015160405163d53987e560e01b81526001600160a01b0390911660048201526024016107dd565b505050915091565b612d1d61321f565b6000805160206156848339815191526000612d4d600080516020615664833981519152546001600160401b031690565b90506000612d59610c84565b9050816001600160401b0316600103612d865760028301805462ffffff191662ffffff8316179055612dd4565b600283015462ffffff90811690821611612dd45760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016107dd565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015612e88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eac9190614d07565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906113cc9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6000805160206156648339815191528054600160401b810460ff1615906001600160401b0316600081158015612fe75750825b90506000826001600160401b031660011480156130035750303b155b905081158015613011575080155b1561302f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561305957845460ff60401b1916600160401b1785555b6000808780602001905181019061307091906154fc565b909250905061307f828a6129e9565b613087611746565b6001600160a01b031663d39e6043608c61309f612966565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156130e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131089190614aa9565b600180546001600160a01b0319166001600160a01b0392909216919091179055613130611746565b6001600160a01b031663d39e604360dc613148612966565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561318d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131b19190614aa9565b600280546001600160a01b0319166001600160a01b03929092169190911790556131e163013dc66f60e01b6111ca565b5050831561128a57845460ff60401b19168555604051600181526000805160206156448339815191529060200160405180910390a150505050505050565b60008051602061566483398151915254600160401b900460ff1661325657604051631afcd79f60e31b815260040160405180910390fd5b565b61021161321f565b60006132758383670de0b6b3a76400006142ae565b9392505050565b6000806132876143d5565b60608401516020860151604051634793b4ab60e01b81526001600160601b038216600482015291945092506000906001600160a01b03881690634793b4ab90602401600060405180830381865afa1580156132e6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261330e91908101906151bc565b80519092506001600160601b038581169116146133665760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b60448201526064016107dd565b6040516355e343a960e01b81526001600160601b03851660048201526000906001600160a01b038916906355e343a9906024016101c060405180830381865afa1580156133b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133db919061528d565b90506133ef8160a001518860800151611762565b915050945094509450949050565b600081156139a3576000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613445573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134699190614aa9565b60405163242bdc1960e21b81526001600160601b03871660048201526001600160a01b0391909116906390af70649060240161024060405180830381865afa1580156134b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134dd919061509c565b602081015190915060006134ef611746565b604051631c5da14d60e11b81526001600160601b03881660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561353e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135629190614aa9565b90506000886001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156135a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135c89190614aa9565b60608501516040516355e343a960e01b81526001600160601b0390911660048201526001600160a01b0391909116906355e343a9906024016101c060405180830381865afa15801561361e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613642919061528d565b61014081015160a08601516040516346f0526160e11b8152899850929350909173__$a23651848365a6a5ca15f07b4331037f48$__90638de0a4c29061368c90849060040161552b565b602060405180830381865af41580156136a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136cd9190614cc2565b15613739576040516317d5759960e31b81526001600160a01b0386169063beabacc89061370290879086908d90600401615542565b600060405180830381600087803b15801561371c57600080fd5b505af1158015613730573d6000803e3d6000fd5b5050505061399c565b60a086015160405163012ebd8360e21b815281516004820152602090910151602482015260448101889052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af41580156137a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137c89190615566565b91509150600088610160015190508a886001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa158015613815573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138399190614aa9565b604051636eb1769f60e11b81526001600160a01b038a811660048301528b81166024830152919091169063dd62ed3e90604401602060405180830381865afa158015613889573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138ad919061502a565b10156138d25786888c604051636d675c4360e01b81526004016107dd93929190615542565b6040516317d5759960e31b81526001600160a01b0389169063beabacc890613902908a9085908890600401615542565b600060405180830381600087803b15801561391c57600080fd5b505af1158015613930573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b038b16925063beabacc89150613964908a9089908790600401615542565b600060405180830381600087803b15801561397e57600080fd5b505af1158015613992573d6000803e3d6000fd5b50939b5050505050505b5050505050505b949350505050565b6139b361321f565b6001600160a01b0381166139da576040516352e2d0c160e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0392909216919091179055565b6000613a25614397565b613a2f606e612aa8565b506080015192915050565b600080600080600080886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015613a81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613aa59190614aa9565b9050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613ae5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b099190614aa9565b9150506000886001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa158015613b4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b709190614edf565b604051634793b4ab60e01b81526001600160601b038a1660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015613bc3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613beb91908101906151bc565b80519091506001600160601b03838116911614613c555760405162461bcd60e51b815260206004820152602260248201527f4552524f523a5052532d3033353a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b60648201526084016107dd565b6000836001600160a01b03166390af70648c6001600160a01b03166251884a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613ca3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cc79190614edf565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161024060405180830381865afa158015613d0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d30919061509c565b60a081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015613d99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613dbd9190615566565b506040516355e343a960e01b81526001600160601b0385166004820152909850600091506001600160a01b038516906355e343a9906024016101c060405180830381865afa158015613e13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e37919061528d565b60e081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015613ea0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ec49190615566565b50809750505060008a6001600160a01b031663db6dcc956040518163ffffffff1660e01b8152600401602060405180830381865afa158015613f0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f2e9190614edf565b604051639ad69c6760e01b81526001600160601b03821660048201529091506000906001600160a01b03861690639ad69c679060240160a060405180830381865afa158015613f81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613fa5919061558a565b604080820151905163012ebd8360e21b8152815160048201526020909101516024820152604481018f905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af415801561400e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140329190615566565b5060208481015160405163012ebd8360e21b8152815160048201529101516024820152604481018f905290965073__$a23651848365a6a5ca15f07b4331037f48$__92506304baf60c91506064016040805180830381865af415801561409c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140c09190615566565b5080955050505050945094509450949050565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa15801561411a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118659190614edf565b60008051602061562483398151915280546001600160a01b03161561418457805460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016107dd565b6001600160a01b0382166141ab5760405163f5c4d07d60e01b815260040160405180910390fd5b816001600160a01b03163b6000036141e15760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107dd565b80546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015614258575060408051601f3d908101601f1916820190925261425591810190614cc2565b60015b6142805760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107dd565b806142a95760405163fdeac91f60e01b81526001600160a01b03841660048201526024016107dd565b505050565b60008080600019858709858702925082811083820303915050806000036142e8578382816142de576142de61560d565b0492505050613275565b80841161432f5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b60448201526064016107dd565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60405180610120016040528060006001600160601b0316815260200161440e604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60006020828403121561446557600080fd5b81356001600160e01b03198116811461327557600080fd5b6001600160601b038116811461222557600080fd5b6000602082840312156144a457600080fd5b81356132758161447d565b60005b838110156144ca5781810151838201526020016144b2565b50506000910152565b600081518084526144eb8160208601602086016144af565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161456860c08401826001600160a01b03169052565b5060c083015160e0808401526139a36101008401826144d3565b6001600160a01b038116811461222557600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b03811182821017156145d0576145d0614597565b60405290565b60405161018081016001600160401b03811182821017156145d0576145d0614597565b60405161012081016001600160401b03811182821017156145d0576145d0614597565b60405161016081016001600160401b03811182821017156145d0576145d0614597565b60405160e081016001600160401b03811182821017156145d0576145d0614597565b604051601f8201601f191681016001600160401b038111828210171561468957614689614597565b604052919050565b60006001600160401b038211156146aa576146aa614597565b50601f01601f191660200190565b600082601f8301126146c957600080fd5b81356146dc6146d782614691565b614661565b8181528460208386010111156146f157600080fd5b816020850160208301376000918101602001919091529392505050565b60008060006060848603121561472357600080fd5b833561472e81614582565b9250602084013561473e81614582565b915060408401356001600160401b0381111561475957600080fd5b614765868287016146b8565b9150509250925092565b60ff8116811461222557600080fd5b801515811461222557600080fd5b60008060008060008060c087890312156147a557600080fd5b86356147b081614582565b955060208701356147c08161447d565b945060408701356147d08161476f565b935060608701356147e08161477e565b925060808701356147f081614582565b915060a08701356001600160401b0381111561480b57600080fd5b61481789828a016146b8565b9150509295509295509295565b62ffffff8116811461222557600080fd5b60006020828403121561484757600080fd5b813561327581614824565b64ffffffffff8116811461222557600080fd5b6000806040838503121561487857600080fd5b82356148838161447d565b9150602083013561489381614852565b809150509250929050565b600080604083850312156148b157600080fd5b50508035926020909101359150565b6000806000606084860312156148d557600080fd5b83356148e08161447d565b925060208401356148f08161477e565b9150604084013561490081614852565b809150509250925092565b60006020828403121561491d57600080fd5b813561327581614582565b6001600160c01b03198116811461222557600080fd5b60008060008060008060c0878903121561495757600080fd5b863561496281614928565b9550602087013594506040870135935060608701356001600160401b0381111561498b57600080fd5b61499789828a016146b8565b93505060808701356149a88161447d565b915060a08701356149b881614928565b809150509295509295509295565b6000602082840312156149d857600080fd5b5035919050565b600080600080600080600060e0888a0312156149fa57600080fd5b8735614a0581614582565b96506020880135614a1581614928565b9550604088013594506060880135935060808801356001600160401b03811115614a3e57600080fd5b614a4a8a828b016146b8565b93505060a0880135614a5b8161447d565b915060c0880135614a6b81614928565b8091505092959891949750929550565b60008060408385031215614a8e57600080fd5b8235614a9981614582565b9150602083013561489381614582565b600060208284031215614abb57600080fd5b815161327581614582565b8051614ad18161447d565b919050565b8051614ad181614928565b600082601f830112614af257600080fd5b8151614b006146d782614691565b818152846020838601011115614b1557600080fd5b6139a38260208301602087016144af565b805161ffff81168114614ad157600080fd5b8051614ad181614852565b600060208284031215614b5557600080fd5b81516001600160401b0380821115614b6c57600080fd5b908301906102008286031215614b8157600080fd5b614b896145ad565b614b9283614ac6565b8152614ba060208401614ac6565b6020820152614bb160408401614ad6565b6040820152614bc260608401614ad6565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115614c0357600080fd5b614c0f88828701614ae1565b8284015250506101208084015183811115614c2957600080fd5b614c3588828701614ae1565b8284015250506101409150614c4b828401614b26565b828201526101609150614c5f828401614b26565b82820152610180915081830151828201526101a09150614c80828401614b38565b828201526101c09150614c94828401614b38565b828201526101e09150614ca8828401614b38565b91810191909152949350505050565b8051614ad18161477e565b600060208284031215614cd457600080fd5b81516132758161477e565b8051614ad18161476f565b600060208284031215614cfc57600080fd5b81516132758161476f565b600060208284031215614d1957600080fd5b815161327581614852565b80516001600160601b0316825260006102006020830151614d5060208601826001600160601b03169052565b506040830151614d6c60408601826001600160c01b0319169052565b506060830151614d8860608601826001600160c01b0319169052565b506080830151608085015260a083015160a085015260c083015160c085015260e083015160e0850152610100808401518282870152614dc9838701826144d3565b925050506101208084015185830382870152614de583826144d3565b9250505061014080840151614dff8287018261ffff169052565b50506101608381015161ffff169085015261018080840151908501526101a08084015164ffffffffff908116918601919091526101c0808501518216908601526101e0938401511692909301919091525090565b6001600160601b0384168152606060208201526000614e756060830185614d24565b905060ff83166040830152949350505050565b600060208284031215614e9a57600080fd5b815161327581614824565b600181811c90821680614eb957607f821691505b602082108103614ed957634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215614ef157600080fd5b81516132758161447d565b601f8211156142a957600081815260208120601f850160051c81016020861015614f235750805b601f850160051c820191505b818110156120ed57828155600101614f2f565b81516001600160401b03811115614f5b57614f5b614597565b614f6f81614f698454614ea5565b84614efc565b602080601f831160018114614fa45760008415614f8c5750858301515b600019600386901b1c1916600185901b1785556120ed565b600085815260208120601f198616915b82811015614fd357888601518255948401946001909101908401614fb4565b5085821015614ff15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561501357600080fd5b81516001600160401b038116811461327557600080fd5b60006020828403121561503c57600080fd5b5051919050565b8051614ad181614582565b60006040828403121561506057600080fd5b604051604081018181106001600160401b038211171561508257615082614597565b604052825181526020928301519281019290925250919050565b600061024082840312156150af57600080fd5b6150b76145d6565b6150c083615043565b81526150ce60208401615043565b60208201526150df60408401614ac6565b60408201526150f060608401614ac6565b6060820152615102846080850161504e565b60808201526151148460c0850161504e565b60a08201526101006151288582860161504e565b60c083015261014061513c8682870161504e565b60e084015261514f86610180870161504e565b82840152615161866101c0870161504e565b6101208401526151746102008601614cb7565b90830152506151866102208401615043565b6101608201529392505050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561186557611865615193565b6000602082840312156151ce57600080fd5b81516001600160401b03808211156151e557600080fd5b9083019061014082860312156151fa57600080fd5b6152026145f9565b61520b83614ac6565b815261521a866020850161504e565b602082015260608301518281111561523157600080fd5b61523d87828601614ae1565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c0820152610100915061527b828401614b38565b60e0820152614ca86101208401614b38565b60006101c082840312156152a057600080fd5b6152a861461c565b6152b183614ac6565b81526152bf60208401615043565b60208201526152d060408401614cb7565b60408201526152e160608401614cb7565b60608201526152f260808401614cb7565b608082015260a083015160a082015260c083015160c08201526153188460e0850161504e565b60e082015261012061532c8582860161504e565b61010083015261534085610160860161504e565b908201526153516101a08401615043565b6101408201529392505050565b60006020828403121561537057600080fd5b81516001600160401b038082111561538757600080fd5b9083019060e0828603121561539b57600080fd5b6153a361463f565b6153ac83614ac6565b81526153ba60208401614ac6565b60208201526153cb60408401614cdf565b60408201526153dc60608401614cb7565b60608201526153ed60808401615043565b60808201526153fe60a08401615043565b60a082015260c08301518281111561541557600080fd5b61542187828601614ae1565b60c08301525095945050505050565b6001600160601b038516815260806020820152600061545260808301866144d3565b828103604084015261546481866144d3565b91505082606083015295945050505050565b8481526001600160401b0360c01b841660208201528260408201526080606082015260006154a760808301846144d3565b9695505050505050565b634e487b7160e01b600052603260045260246000fd5b8181038181111561186557611865615193565b6001600160601b03831681526040602082015260006139a36040830184614d24565b6000806040838503121561550f57600080fd5b825161551a81614582565b602084015190925061489381614582565b815181526020808301519082015260408101611865565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6000806040838503121561557957600080fd5b505080516020909101519092909150565b600060a0828403121561559c57600080fd5b604051608081018181106001600160401b03821117156155be576155be614597565b60405282516155cc8161447d565b815260208301516155dc81614582565b60208201526155ee846040850161504e565b6040820152608083015161560181614582565b60608201529392505050565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00c7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122026617cf7243bd53ef6e447b59f86b045b8210c37ae191fa73ede90fc66d9d1d164736f6c63430008140033",
1100
+ "linkReferences": {
1101
+ "contracts/types/Blocknumber.sol": {
1102
+ "BlocknumberLib": [
1103
+ {
1104
+ "length": 20,
1105
+ "start": 6087
1106
+ }
1107
+ ]
1108
+ },
1109
+ "contracts/types/Fee.sol": {
1110
+ "FeeLib": [
1111
+ {
1112
+ "length": 20,
1113
+ "start": 14154
1114
+ },
1115
+ {
1116
+ "length": 20,
1117
+ "start": 14417
1118
+ },
1119
+ {
1120
+ "length": 20,
1121
+ "start": 15942
1122
+ },
1123
+ {
1124
+ "length": 20,
1125
+ "start": 16205
1126
+ },
1127
+ {
1128
+ "length": 20,
1129
+ "start": 16571
1130
+ },
1131
+ {
1132
+ "length": 20,
1133
+ "start": 16711
1134
+ }
1135
+ ]
1136
+ },
1137
+ "contracts/types/NftId.sol": {
1138
+ "NftIdLib": [
1139
+ {
1140
+ "length": 20,
1141
+ "start": 4043
1142
+ },
1143
+ {
1144
+ "length": 20,
1145
+ "start": 8164
1146
+ }
1147
+ ]
1148
+ },
1149
+ "contracts/types/Timestamp.sol": {
1150
+ "TimestampLib": [
1151
+ {
1152
+ "length": 20,
1153
+ "start": 2112
1154
+ },
1155
+ {
1156
+ "length": 20,
1157
+ "start": 2461
1158
+ },
1159
+ {
1160
+ "length": 20,
1161
+ "start": 2740
1162
+ },
1163
+ {
1164
+ "length": 20,
1165
+ "start": 2889
1166
+ },
1167
+ {
1168
+ "length": 20,
1169
+ "start": 3066
1170
+ },
1171
+ {
1172
+ "length": 20,
1173
+ "start": 5659
1174
+ },
1175
+ {
1176
+ "length": 20,
1177
+ "start": 5878
1178
+ },
1179
+ {
1180
+ "length": 20,
1181
+ "start": 7263
1182
+ },
1183
+ {
1184
+ "length": 20,
1185
+ "start": 9712
1186
+ },
1187
+ {
1188
+ "length": 20,
1189
+ "start": 9850
1190
+ },
1191
+ {
1192
+ "length": 20,
1193
+ "start": 12084
1194
+ }
1195
+ ]
1196
+ },
1197
+ "contracts/types/UFixed.sol": {
1198
+ "UFixedLib": [
1199
+ {
1200
+ "length": 20,
1201
+ "start": 6243
1202
+ },
1203
+ {
1204
+ "length": 20,
1205
+ "start": 6376
1206
+ }
1207
+ ]
1208
+ },
1209
+ "contracts/types/Version.sol": {
1210
+ "VersionLib": [
1211
+ {
1212
+ "length": 20,
1213
+ "start": 3473
1214
+ },
1215
+ {
1216
+ "length": 20,
1217
+ "start": 4987
1218
+ },
1219
+ {
1220
+ "length": 20,
1221
+ "start": 10865
1222
+ }
1223
+ ]
1224
+ }
1225
+ },
1226
+ "deployedLinkReferences": {
1227
+ "contracts/types/Blocknumber.sol": {
1228
+ "BlocknumberLib": [
1229
+ {
1230
+ "length": 20,
1231
+ "start": 5857
1232
+ }
1233
+ ]
1234
+ },
1235
+ "contracts/types/Fee.sol": {
1236
+ "FeeLib": [
1237
+ {
1238
+ "length": 20,
1239
+ "start": 13924
1240
+ },
1241
+ {
1242
+ "length": 20,
1243
+ "start": 14187
1244
+ },
1245
+ {
1246
+ "length": 20,
1247
+ "start": 15712
1248
+ },
1249
+ {
1250
+ "length": 20,
1251
+ "start": 15975
1252
+ },
1253
+ {
1254
+ "length": 20,
1255
+ "start": 16341
1256
+ },
1257
+ {
1258
+ "length": 20,
1259
+ "start": 16481
1260
+ }
1261
+ ]
1262
+ },
1263
+ "contracts/types/NftId.sol": {
1264
+ "NftIdLib": [
1265
+ {
1266
+ "length": 20,
1267
+ "start": 3813
1268
+ },
1269
+ {
1270
+ "length": 20,
1271
+ "start": 7934
1272
+ }
1273
+ ]
1274
+ },
1275
+ "contracts/types/Timestamp.sol": {
1276
+ "TimestampLib": [
1277
+ {
1278
+ "length": 20,
1279
+ "start": 1882
1280
+ },
1281
+ {
1282
+ "length": 20,
1283
+ "start": 2231
1284
+ },
1285
+ {
1286
+ "length": 20,
1287
+ "start": 2510
1288
+ },
1289
+ {
1290
+ "length": 20,
1291
+ "start": 2659
1292
+ },
1293
+ {
1294
+ "length": 20,
1295
+ "start": 2836
1296
+ },
1297
+ {
1298
+ "length": 20,
1299
+ "start": 5429
1300
+ },
1301
+ {
1302
+ "length": 20,
1303
+ "start": 5648
1304
+ },
1305
+ {
1306
+ "length": 20,
1307
+ "start": 7033
1308
+ },
1309
+ {
1310
+ "length": 20,
1311
+ "start": 9482
1312
+ },
1313
+ {
1314
+ "length": 20,
1315
+ "start": 9620
1316
+ },
1317
+ {
1318
+ "length": 20,
1319
+ "start": 11854
1320
+ }
1321
+ ]
1322
+ },
1323
+ "contracts/types/UFixed.sol": {
1324
+ "UFixedLib": [
1325
+ {
1326
+ "length": 20,
1327
+ "start": 6013
1328
+ },
1329
+ {
1330
+ "length": 20,
1331
+ "start": 6146
1332
+ }
1333
+ ]
1334
+ },
1335
+ "contracts/types/Version.sol": {
1336
+ "VersionLib": [
1337
+ {
1338
+ "length": 20,
1339
+ "start": 3243
1340
+ },
1341
+ {
1342
+ "length": 20,
1343
+ "start": 4757
1344
+ },
1345
+ {
1346
+ "length": 20,
1347
+ "start": 10635
1348
+ }
1349
+ ]
1350
+ }
1351
+ }
1352
+ }