@etherisc/gif-next 0.0.2-d408403-475 → 0.0.2-d48ae55-246

Sign up to get free protection for your applications and to get access to all the features.
Files changed (430) hide show
  1. package/README.md +303 -27
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +897 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1142 -114
  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} +292 -224
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +639 -29
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +526 -119
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +512 -69
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1033 -245
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +975 -129
  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 +1430 -1050
  50. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  51. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +674 -0
  52. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  53. package/artifacts/contracts/instance/Instance.sol/Instance.json +2060 -1122
  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 +1260 -0
  60. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +610 -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 +754 -0
  66. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  67. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +27 -158
  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 +37 -245
  71. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  72. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
  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/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  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 +1117 -0
  89. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  90. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1318 -0
  91. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +586 -0
  93. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  94. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +896 -116
  95. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +614 -0
  97. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +638 -0
  99. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +798 -0
  101. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  102. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +372 -41
  103. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  104. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +784 -0
  105. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  106. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +188 -116
  107. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  108. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +185 -266
  109. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  110. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1378 -0
  111. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  112. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +642 -0
  113. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  114. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +532 -118
  115. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  116. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +574 -0
  117. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  118. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +490 -341
  119. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  120. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +574 -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 +1055 -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 +1407 -0
  135. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  136. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +601 -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 +531 -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} +62 -72
  147. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  148. package/artifacts/contracts/{instance/module/component/IComponent.sol/IComponentModule.json → shared/IPolicyHolder.sol/IPolicyHolder.json} +69 -57
  149. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  150. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +125 -32
  151. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  152. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +69 -0
  153. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  154. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +181 -111
  155. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  156. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
  157. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  158. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +303 -0
  159. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  160. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +269 -0
  161. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  162. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +499 -0
  163. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  164. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +318 -24
  165. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  166. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +105 -0
  167. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  168. package/artifacts/contracts/shared/Service.sol/Service.json +627 -0
  169. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  170. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  171. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  172. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  173. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  174. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
  175. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  176. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  177. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  178. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +333 -24
  179. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  180. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  181. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  182. package/artifacts/contracts/test/TestService.sol/TestService.json +436 -56
  183. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  184. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  185. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  186. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  187. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  188. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +103 -23
  189. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  190. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  191. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  192. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  196. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/Fee.sol/FeeLib.json +4 -4
  198. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  199. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  200. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  202. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  203. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  204. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  205. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  206. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  208. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  209. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  210. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  212. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  214. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  215. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  216. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  217. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  218. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  219. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  220. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  221. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  222. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  223. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  224. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  225. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  226. package/contracts/components/Component.sol +236 -0
  227. package/contracts/components/Distribution.sol +230 -46
  228. package/contracts/components/IComponent.sol +50 -0
  229. package/contracts/components/IDistributionComponent.sol +58 -6
  230. package/contracts/components/IPoolComponent.sol +55 -39
  231. package/contracts/components/IProductComponent.sol +10 -9
  232. package/contracts/components/Pool.sol +170 -151
  233. package/contracts/components/Product.sol +118 -67
  234. package/contracts/experiment/cloning/Cloner.sol +47 -0
  235. package/contracts/instance/BundleManager.sol +125 -0
  236. package/contracts/instance/Cloneable.sol +46 -0
  237. package/contracts/instance/IInstance.sol +78 -45
  238. package/contracts/instance/IInstanceService.sol +59 -0
  239. package/contracts/instance/Instance.sol +266 -59
  240. package/contracts/instance/InstanceAccessManager.sol +297 -0
  241. package/contracts/instance/InstanceReader.sol +293 -0
  242. package/contracts/instance/InstanceService.sol +442 -0
  243. package/contracts/instance/InstanceServiceManager.sol +54 -0
  244. package/contracts/instance/ObjectManager.sol +84 -0
  245. package/contracts/instance/base/ComponentService.sol +134 -0
  246. package/contracts/instance/base/IKeyValueStore.sol +13 -14
  247. package/contracts/instance/base/ILifecycle.sol +3 -3
  248. package/contracts/instance/base/KeyValueStore.sol +49 -38
  249. package/contracts/instance/base/Lifecycle.sol +1 -1
  250. package/contracts/instance/module/IAccess.sol +47 -0
  251. package/contracts/instance/module/IBundle.sol +20 -0
  252. package/contracts/instance/module/IDistribution.sol +39 -0
  253. package/contracts/instance/module/IPolicy.sol +45 -0
  254. package/contracts/instance/module/IRisk.sol +11 -0
  255. package/contracts/instance/module/ISetup.sol +47 -0
  256. package/contracts/instance/module/ITreasury.sol +23 -0
  257. package/contracts/instance/service/ApplicationService.sol +268 -0
  258. package/contracts/instance/service/BundleService.sol +298 -0
  259. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  260. package/contracts/instance/service/DistributionService.sol +257 -25
  261. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  262. package/contracts/instance/service/IApplicationService.sol +82 -0
  263. package/contracts/instance/service/IBundleService.sol +54 -0
  264. package/contracts/instance/service/IDistributionService.sol +54 -1
  265. package/contracts/instance/service/IPolicyService.sol +88 -0
  266. package/contracts/instance/service/IPoolService.sol +7 -24
  267. package/contracts/instance/service/IProductService.sol +9 -76
  268. package/contracts/instance/service/PolicyService.sol +524 -0
  269. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  270. package/contracts/instance/service/PoolService.sol +76 -116
  271. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  272. package/contracts/instance/service/ProductService.sol +158 -434
  273. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  274. package/contracts/registry/ChainNft.sol +79 -36
  275. package/contracts/registry/IRegistry.sol +66 -24
  276. package/contracts/registry/IRegistryService.sol +67 -0
  277. package/contracts/registry/ITransferInterceptor.sol +6 -0
  278. package/contracts/registry/Registry.sol +366 -284
  279. package/contracts/registry/RegistryAccessManager.sol +216 -0
  280. package/contracts/registry/RegistryService.sol +277 -0
  281. package/contracts/registry/RegistryServiceManager.sol +62 -0
  282. package/contracts/registry/ReleaseManager.sol +331 -0
  283. package/contracts/registry/TokenRegistry.sol +113 -0
  284. package/contracts/shared/ContractDeployerLib.sol +72 -0
  285. package/contracts/shared/ERC165.sol +13 -8
  286. package/contracts/shared/INftOwnable.sol +28 -0
  287. package/contracts/shared/IPolicyHolder.sol +26 -0
  288. package/contracts/shared/IRegisterable.sol +10 -19
  289. package/contracts/shared/IRegistryLinked.sol +15 -0
  290. package/contracts/shared/IService.sol +16 -0
  291. package/contracts/shared/IVersionable.sol +55 -11
  292. package/contracts/shared/NftOwnable.sol +190 -0
  293. package/contracts/shared/PolicyHolder.sol +81 -0
  294. package/contracts/shared/ProxyManager.sol +95 -0
  295. package/contracts/shared/Registerable.sol +58 -63
  296. package/contracts/shared/RegistryLinked.sol +64 -0
  297. package/contracts/shared/Service.sol +60 -0
  298. package/contracts/shared/TokenHandler.sol +27 -0
  299. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  300. package/contracts/shared/Versionable.sol +113 -54
  301. package/contracts/test/TestFee.sol +2 -2
  302. package/contracts/test/TestRegisterable.sol +5 -6
  303. package/contracts/test/TestRoleId.sol +1 -1
  304. package/contracts/test/TestService.sol +7 -14
  305. package/contracts/types/DistributorType.sol +55 -0
  306. package/contracts/types/Fee.sol +3 -3
  307. package/contracts/types/Key32.sol +8 -3
  308. package/contracts/types/NftIdSet.sol +26 -24
  309. package/contracts/types/NumberId.sol +52 -0
  310. package/contracts/types/ObjectType.sol +40 -15
  311. package/contracts/types/Referral.sol +85 -0
  312. package/contracts/types/RoleId.sol +61 -9
  313. package/contracts/types/StateId.sol +5 -1
  314. package/contracts/types/Timestamp.sol +7 -3
  315. package/contracts/types/UFixed.sol +128 -12
  316. package/contracts/types/Version.sol +13 -1
  317. package/package.json +6 -5
  318. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  319. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  320. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  321. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  322. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  323. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  324. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  325. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  326. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  327. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  328. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  329. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  330. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +0 -376
  331. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  332. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  333. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  334. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  335. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  336. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  337. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.json +0 -10
  338. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  339. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  340. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  341. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  342. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  343. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  344. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  345. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  346. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -117
  347. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  348. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  349. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  350. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  351. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  352. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  353. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  354. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  355. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  356. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  357. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -284
  358. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  359. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -284
  360. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  361. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  362. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  363. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -144
  364. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  365. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -144
  366. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  367. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  368. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  369. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  370. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  371. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  372. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  373. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -511
  374. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  375. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  376. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  377. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -511
  378. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  379. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -531
  380. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  381. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  382. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  383. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  384. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  385. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  386. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  387. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -405
  388. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  389. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -578
  390. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  391. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -575
  392. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  393. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  394. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  395. package/contracts/components/BaseComponent.sol +0 -94
  396. package/contracts/components/IBaseComponent.sol +0 -19
  397. package/contracts/experiment/statemachine/README.md +0 -112
  398. package/contracts/instance/IInstanceLinked.sol +0 -8
  399. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  400. package/contracts/instance/base/IInstanceBase.sol +0 -22
  401. package/contracts/instance/base/IService.sol +0 -15
  402. package/contracts/instance/base/InstanceBase.sol +0 -91
  403. package/contracts/instance/base/ModuleBase.sol +0 -57
  404. package/contracts/instance/base/ServiceBase.sol +0 -37
  405. package/contracts/instance/module/access/Access.sol +0 -149
  406. package/contracts/instance/module/access/IAccess.sol +0 -53
  407. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  408. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  409. package/contracts/instance/module/component/ComponentModule.sol +0 -70
  410. package/contracts/instance/module/component/IComponent.sol +0 -28
  411. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  412. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  413. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  414. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  415. package/contracts/instance/module/pool/IPoolModule.sol +0 -40
  416. package/contracts/instance/module/pool/PoolModule.sol +0 -90
  417. package/contracts/instance/module/risk/IRisk.sol +0 -26
  418. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  419. package/contracts/instance/module/treasury/ITreasury.sol +0 -82
  420. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  421. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -138
  422. package/contracts/instance/service/ComponentOwnerService.sol +0 -157
  423. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  424. package/contracts/registry/IChainNft.sol +0 -21
  425. package/contracts/registry/IRegistryLinked.sol +0 -8
  426. package/contracts/shared/IOwnable.sol +0 -6
  427. package/contracts/test/TestDistribution.sol +0 -21
  428. package/contracts/test/TestPool.sol +0 -25
  429. package/contracts/test/TestProduct.sol +0 -72
  430. package/contracts/types/ReferralId.sol +0 -48
@@ -0,0 +1,1378 @@
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": "getRegistryAddress",
775
+ "outputs": [
776
+ {
777
+ "internalType": "address",
778
+ "name": "",
779
+ "type": "address"
780
+ }
781
+ ],
782
+ "stateMutability": "view",
783
+ "type": "function"
784
+ },
785
+ {
786
+ "inputs": [],
787
+ "name": "getRegistryService",
788
+ "outputs": [
789
+ {
790
+ "internalType": "contract IRegistryService",
791
+ "name": "",
792
+ "type": "address"
793
+ }
794
+ ],
795
+ "stateMutability": "view",
796
+ "type": "function"
797
+ },
798
+ {
799
+ "inputs": [],
800
+ "name": "getVersion",
801
+ "outputs": [
802
+ {
803
+ "internalType": "Version",
804
+ "name": "",
805
+ "type": "uint24"
806
+ }
807
+ ],
808
+ "stateMutability": "pure",
809
+ "type": "function"
810
+ },
811
+ {
812
+ "inputs": [
813
+ {
814
+ "internalType": "uint256",
815
+ "name": "idx",
816
+ "type": "uint256"
817
+ }
818
+ ],
819
+ "name": "getVersion",
820
+ "outputs": [
821
+ {
822
+ "internalType": "Version",
823
+ "name": "",
824
+ "type": "uint24"
825
+ }
826
+ ],
827
+ "stateMutability": "view",
828
+ "type": "function"
829
+ },
830
+ {
831
+ "inputs": [],
832
+ "name": "getVersionCount",
833
+ "outputs": [
834
+ {
835
+ "internalType": "uint256",
836
+ "name": "",
837
+ "type": "uint256"
838
+ }
839
+ ],
840
+ "stateMutability": "view",
841
+ "type": "function"
842
+ },
843
+ {
844
+ "inputs": [
845
+ {
846
+ "internalType": "Version",
847
+ "name": "_version",
848
+ "type": "uint24"
849
+ }
850
+ ],
851
+ "name": "getVersionInfo",
852
+ "outputs": [
853
+ {
854
+ "components": [
855
+ {
856
+ "internalType": "Version",
857
+ "name": "version",
858
+ "type": "uint24"
859
+ },
860
+ {
861
+ "internalType": "address",
862
+ "name": "implementation",
863
+ "type": "address"
864
+ },
865
+ {
866
+ "internalType": "address",
867
+ "name": "activatedBy",
868
+ "type": "address"
869
+ },
870
+ {
871
+ "internalType": "Timestamp",
872
+ "name": "activatedAt",
873
+ "type": "uint40"
874
+ },
875
+ {
876
+ "internalType": "Blocknumber",
877
+ "name": "activatedIn",
878
+ "type": "uint32"
879
+ }
880
+ ],
881
+ "internalType": "struct IVersionable.VersionInfo",
882
+ "name": "",
883
+ "type": "tuple"
884
+ }
885
+ ],
886
+ "stateMutability": "view",
887
+ "type": "function"
888
+ },
889
+ {
890
+ "inputs": [],
891
+ "name": "initializeERC165",
892
+ "outputs": [],
893
+ "stateMutability": "nonpayable",
894
+ "type": "function"
895
+ },
896
+ {
897
+ "inputs": [
898
+ {
899
+ "internalType": "address",
900
+ "name": "initialOwner",
901
+ "type": "address"
902
+ },
903
+ {
904
+ "internalType": "address",
905
+ "name": "registryAddress",
906
+ "type": "address"
907
+ }
908
+ ],
909
+ "name": "initializeNftOwnable",
910
+ "outputs": [],
911
+ "stateMutability": "nonpayable",
912
+ "type": "function"
913
+ },
914
+ {
915
+ "inputs": [
916
+ {
917
+ "internalType": "address",
918
+ "name": "initialOwner",
919
+ "type": "address"
920
+ }
921
+ ],
922
+ "name": "initializeOwner",
923
+ "outputs": [],
924
+ "stateMutability": "nonpayable",
925
+ "type": "function"
926
+ },
927
+ {
928
+ "inputs": [
929
+ {
930
+ "internalType": "address",
931
+ "name": "registryAddress",
932
+ "type": "address"
933
+ },
934
+ {
935
+ "internalType": "NftId",
936
+ "name": "parentNftId",
937
+ "type": "uint96"
938
+ },
939
+ {
940
+ "internalType": "ObjectType",
941
+ "name": "objectType",
942
+ "type": "uint8"
943
+ },
944
+ {
945
+ "internalType": "bool",
946
+ "name": "isInterceptor",
947
+ "type": "bool"
948
+ },
949
+ {
950
+ "internalType": "address",
951
+ "name": "initialOwner",
952
+ "type": "address"
953
+ },
954
+ {
955
+ "internalType": "bytes",
956
+ "name": "data",
957
+ "type": "bytes"
958
+ }
959
+ ],
960
+ "name": "initializeRegisterable",
961
+ "outputs": [],
962
+ "stateMutability": "nonpayable",
963
+ "type": "function"
964
+ },
965
+ {
966
+ "inputs": [
967
+ {
968
+ "internalType": "address",
969
+ "name": "registryAddress",
970
+ "type": "address"
971
+ }
972
+ ],
973
+ "name": "initializeRegistryLinked",
974
+ "outputs": [],
975
+ "stateMutability": "nonpayable",
976
+ "type": "function"
977
+ },
978
+ {
979
+ "inputs": [
980
+ {
981
+ "internalType": "address",
982
+ "name": "registry",
983
+ "type": "address"
984
+ },
985
+ {
986
+ "internalType": "address",
987
+ "name": "initialOwner",
988
+ "type": "address"
989
+ }
990
+ ],
991
+ "name": "initializeService",
992
+ "outputs": [],
993
+ "stateMutability": "nonpayable",
994
+ "type": "function"
995
+ },
996
+ {
997
+ "inputs": [
998
+ {
999
+ "internalType": "address",
1000
+ "name": "implementation",
1001
+ "type": "address"
1002
+ },
1003
+ {
1004
+ "internalType": "address",
1005
+ "name": "activatedBy",
1006
+ "type": "address"
1007
+ },
1008
+ {
1009
+ "internalType": "bytes",
1010
+ "name": "data",
1011
+ "type": "bytes"
1012
+ }
1013
+ ],
1014
+ "name": "initializeVersionable",
1015
+ "outputs": [],
1016
+ "stateMutability": "nonpayable",
1017
+ "type": "function"
1018
+ },
1019
+ {
1020
+ "inputs": [
1021
+ {
1022
+ "internalType": "Version",
1023
+ "name": "_version",
1024
+ "type": "uint24"
1025
+ }
1026
+ ],
1027
+ "name": "isInitialized",
1028
+ "outputs": [
1029
+ {
1030
+ "internalType": "bool",
1031
+ "name": "",
1032
+ "type": "bool"
1033
+ }
1034
+ ],
1035
+ "stateMutability": "view",
1036
+ "type": "function"
1037
+ },
1038
+ {
1039
+ "inputs": [],
1040
+ "name": "linkToRegisteredNftId",
1041
+ "outputs": [],
1042
+ "stateMutability": "nonpayable",
1043
+ "type": "function"
1044
+ },
1045
+ {
1046
+ "inputs": [
1047
+ {
1048
+ "internalType": "bytes4",
1049
+ "name": "interfaceId",
1050
+ "type": "bytes4"
1051
+ }
1052
+ ],
1053
+ "name": "registerInterface",
1054
+ "outputs": [],
1055
+ "stateMutability": "nonpayable",
1056
+ "type": "function"
1057
+ },
1058
+ {
1059
+ "inputs": [
1060
+ {
1061
+ "internalType": "bytes4",
1062
+ "name": "interfaceId",
1063
+ "type": "bytes4"
1064
+ }
1065
+ ],
1066
+ "name": "supportsInterface",
1067
+ "outputs": [
1068
+ {
1069
+ "internalType": "bool",
1070
+ "name": "",
1071
+ "type": "bool"
1072
+ }
1073
+ ],
1074
+ "stateMutability": "view",
1075
+ "type": "function"
1076
+ },
1077
+ {
1078
+ "inputs": [
1079
+ {
1080
+ "internalType": "NftId",
1081
+ "name": "applicationNftId",
1082
+ "type": "uint96"
1083
+ },
1084
+ {
1085
+ "internalType": "bool",
1086
+ "name": "requirePremiumPayment",
1087
+ "type": "bool"
1088
+ },
1089
+ {
1090
+ "internalType": "Timestamp",
1091
+ "name": "activateAt",
1092
+ "type": "uint40"
1093
+ }
1094
+ ],
1095
+ "name": "underwrite",
1096
+ "outputs": [],
1097
+ "stateMutability": "nonpayable",
1098
+ "type": "function"
1099
+ },
1100
+ {
1101
+ "inputs": [
1102
+ {
1103
+ "internalType": "address",
1104
+ "name": "implementation",
1105
+ "type": "address"
1106
+ },
1107
+ {
1108
+ "internalType": "address",
1109
+ "name": "activatedBy",
1110
+ "type": "address"
1111
+ },
1112
+ {
1113
+ "internalType": "bytes",
1114
+ "name": "data",
1115
+ "type": "bytes"
1116
+ }
1117
+ ],
1118
+ "name": "upgradeVersionable",
1119
+ "outputs": [],
1120
+ "stateMutability": "nonpayable",
1121
+ "type": "function"
1122
+ }
1123
+ ],
1124
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61572780620000e66000396000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c8063675393bf11610130578063b88da759116100b8578063cde749f41161007c578063cde749f414610637578063ea8665721461063f578063f21de1e814610484578063f7c34ee014610652578063fb2cb1011461066557600080fd5b8063b88da759146105ee578063bbfbbfba14610601578063c2c7498714610614578063caf4e3d414610627578063cc9fc59a1461062f57600080fd5b80639cdaa7f9116100ff5780639cdaa7f9146105565780639ffcede914610591578063ada9652e146105a4578063b3c65015146105b9578063b68d1809146105d957600080fd5b8063675393bf14610501578063893d20e8146105145780638c5f36bb1461051c578063946dfcfe1461052f57600080fd5b80632a904018116101b35780634f421333116101825780634f421333146104715780635ab1bd53146104845780635fd1a5f5146104a9578063630361f6146104bc578063644c45e0146104cf57600080fd5b80632a9040181461032a57806336fc697e1461033d5780634d459c90146103455780634d5e16a91461045e57600080fd5b8063138461e0116101fa578063138461e0146102b45780631647f91e146102bc5780631eff4b22146102cf578063214cdb801461030457806327bb7a331461031757600080fd5b806301ffc9a71461022c5780630aaba8e81461026e5780630d8e6e2c146102835780630fec111c1461029f575b600080fd5b61025961023a36600461449c565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61028161027c3660046144db565b61066d565b005b61028b610cab565b60405162ffffff9091168152602001610265565b6102a7610d35565b6040516102659190614548565b610281610ed1565b6102816102ca366004614757565b61111f565b6102f67f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610265565b61028161031236600461449c565b611216565b6102816103253660046147d5565b611243565b610281610338366004614757565b6112df565b610281611427565b61040161035336600461487e565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206156d283398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610265565b61028161046c3660046148ae565b61146d565b61025961047f36600461487e565b6116df565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610265565b6102f66104b73660046148e7565b611792565b6102816104ca366004614909565b61189b565b600080516020615672833981519152546001600160601b03165b6040516001600160601b039091168152602001610265565b61028161050f366004614954565b611efc565b610491611f10565b61028161052a366004614954565b612047565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102f6565b610569610564366004614987565b612149565b604080519586526020860194909452928401919091526060830152608082015260a001610265565b61028161059f3660046144db565b612227565b6102f660008051602061567283398151915281565b6105c1612279565b6040516001600160401b039091168152602001610265565b60d35b60405160ff9091168152602001610265565b61028b6105fc366004614a0f565b61229a565b61028161060f3660046148ae565b6122eb565b6104e9610622366004614a28565b612652565b61049161290a565b6104916129a1565b6105dc6129cb565b61028161064d366004614ac4565b612a4e565b610281610660366004614ac4565b612ac1565b610491612af7565b6000610679606e612b0d565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e09190614af2565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015610733573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261075b9190810190614b8c565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156107bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107df9190614d0b565b1561080d576040516308cbe08b60e21b81526001600160601b03851660048201526024015b60405180910390fd5b604051639096a1f360e01b81526001600160601b03851660048201526000906001600160a01b03841690639096a1f390602401602060405180830381865afa15801561085d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108819190614d33565b905060ff81166064146108bb57604051634de91cf360e11b81526001600160601b038616600482015260ff82166024820152604401610804565b6101e0820151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015610918573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093c9190614d0b565b1561096557604051634b80547760e11b81526001600160601b0386166004820152602401610804565b8160c001518260a00151146109af5760a082015160c0830151604051632b14368360e11b81526001600160601b038816600482015260248101929092526044820152606401610804565b61016082015161ffff16156109f35761016082015160405163a5bb07ed60e01b81526001600160601b038716600482015261ffff9091166024820152604401610804565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610a3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a609190614d50565b6101c0830151604051634a19ad8d60e11b815264ffffffffff92831660048201529116602482015273__$d53880c81dc91c20799140d711e5ab8718$__906394335b1a90604401602060405180830381865af4158015610ac4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae89190614d0b565b8015610afc57508160800151826101800151105b15610b39576101c0820151604051630e79f6e160e21b81526001600160601b038716600482015264ffffffffff9091166024820152604401610804565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba69190614d50565b64ffffffffff166101e0830152600354602083015160808401516040516303c5c06160e41b81526001600160a01b0388811660048301526001600160601b03808b16602484015290931660448201526064810191909152911690633c5c061090608401600060405180830381600087803b158015610c2357600080fd5b505af1158015610c37573d6000803e3d6000fd5b50505050836001600160a01b0316639a960d528684610c5460c890565b6040518463ffffffff1660e01b8152600401610c7293929190614e9c565b600060405180830381600087803b158015610c8c57600080fd5b505af1158015610ca0573d6000803e3d6000fd5b505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610d0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d309190614ed1565b905090565b610d3d6143e0565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191610dcd90614eee565b80601f0160208091040260200160405190810160405280929190818152602001828054610df990614eee565b8015610e465780601f10610e1b57610100808354040283529160200191610e46565b820191906000526020600020905b815481529060010190602001808311610e2957829003601f168201915b50505050508152505090506040518060e00160405280610e64600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610eb5612af7565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061567283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610f40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f649190614d0b565b15610fa15760015481546040516316322c0f60e31b81526001600160a01b0390921660048301526001600160601b03166024820152604401610804565b6000610fb56001546001600160a01b031690565b6001600160a01b031603610fdc5760405163cf29926160e01b815260040160405180910390fd5b30610fef6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611037573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105b9190614d0b565b611083576040516372657a5160e01b81526001600160a01b0382166004820152602401610804565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156110d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110fb9190614f28565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6000805160206156b28339815191528054600160401b810460ff1615906001600160401b03166000811580156111525750825b90506000826001600160401b0316600114801561116e5750303b155b90508115801561117c575080155b1561119a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156111c457845460ff60401b1916600160401b1785555b6111ce8888612d84565b6111d88787613023565b831561120c57845460ff60401b19168555604051600181526000805160206156928339815191529060200160405180910390a15b5050505050505050565b61121e613278565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61124b613278565b6112558287612ac1565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016112c58382614f90565b506112d66303fb044760e21b611216565b50505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611301610cab565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611341573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611365919061504f565b6000805160206156b28339815191528054600160401b900460ff1680611398575080546001600160401b03808416911610155b156113b65760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556113e18585612d84565b6113ea836132b1565b805460ff60401b191681556040516001600160401b0383168152600080516020615692833981519152906020015b60405180910390a15050505050565b61142f613278565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000611479606e612b0d565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e09190614af2565b60405163bd7d9d8560e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015611533573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261155b9190810190614b8c565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156115bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115df9190614d0b565b61162b5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f414354495641544544006044820152606401610804565b64ffffffffff84166101a0820181905260e0820151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015611696573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116ba9190614d50565b64ffffffffff166101c08201526001600160a01b038316639a960d5286836064610c54565b6000806000805160206156d283398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015611767573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061178b9190615078565b1192915050565b6040516322f5db0f60e11b815260048101829052600090819073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af41580156117e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180b9190615078565b9050600061181985836132b9565b604051632255341b60e11b81526004810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561186c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118909190615078565b925050505b92915050565b60008060006118a86143e0565b6118b2606e612b0d565b8095508192505050836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061191c9190614af2565b905160405163bd7d9d8560e01b81526001600160601b038916600482015291935091506000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa158015611973573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261199b9190810190614b8c565b80519091506001600160601b038381169116146119fa5760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d415443480000000000000000006044820152606401610804565b604051639096a1f360e01b81526001600160601b0388166004820152611a78906001600160a01b03851690639096a1f390602401602060405180830381865afa158015611a4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a6f9190614d33565b60ff16600a1490565b611ac45760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c494544006044820152606401610804565b600080600080611b528888878a6001600160a01b03166390af70648b6040518263ffffffff1660e01b8152600401611b0b91906001600160601b0391909116815260200190565b61024060405180830381865afa158015611b29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b4d91906150ea565b6132d5565b93509350935093506000611b64602890565b905064ffffffffff8a1615611c1557606464ffffffffff8b166101a0880181905260e0880151604051631ded81af60e31b81526004810192909252602482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015611be3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c079190614d50565b64ffffffffff166101c08701525b60008b15611c4957611c2d8a898f8a60a00151613456565b90508660a001518760c001818151611c4591906151f7565b9052505b600360009054906101000a90046001600160a01b03166001600160a01b031663a7e0dea78b8f8887866040518663ffffffff1660e01b8152600401611cc79594939291906001600160a01b039590951685526001600160601b0393841660208601529190921660408401526060830191909152608082015260a00190565b6000604051808303816000875af1158015611ce6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d0e919081019061520a565b9350896001600160a01b0316639a960d528e89856040518463ffffffff1660e01b8152600401611d4093929190614e9c565b600060405180830381600087803b158015611d5a57600080fd5b505af1158015611d6e573d6000803e3d6000fd5b50506040516355e343a960e01b81526001600160601b03891660048201526001600160a01b038c1692506355e343a991506024016101c060405180830381865afa158015611dc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611de491906152db565b6080015115611eed576000611e016001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611e50573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e7891908101906153ac565b608001519050806001600160a01b03166338f563788f8a61010001518860400151886040518563ffffffff1660e01b8152600401611eb9949392919061547e565b600060405180830381600087803b158015611ed357600080fd5b505af1158015611ee7573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b611f04613278565b611f0d81613a0e565b50565b60008060008051602061567283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611f80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fa49190614d0b565b15612031576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612007573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061202b9190614af2565b91505090565b54600160601b90046001600160a01b0316919050565b6000805160206156b28339815191528054600160401b810460ff1615906001600160401b031660008115801561207a5750825b90506000826001600160401b031660011480156120965750303b155b9050811580156120a4575080155b156120c25760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156120ec57845460ff60401b1916600160401b1785555b6120f586613b6f565b6120fd611427565b61210d631fdea09d60e31b611216565b831561214157845460ff60401b19168555604051600181526000805160206156928339815191529060200160405180910390a15b505050505050565b60008060008060008061215a613bd4565b90506000816001600160a01b0316635e78426b8d8f8e8e6040518563ffffffff1660e01b815260040161219094939291906154c4565b602060405180830381865afa1580156121ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121d19190615078565b90506121df81838b8b613bf3565b929850909650945092506121f386826151f7565b96506121ff84866151f7565b61220990886151f7565b965061221583886151f7565b96505050965096509650965096915050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233353a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b6064820152608401610804565b6000610d306000805160206156b2833981519152546001600160401b031690565b60006000805160206156d283398151915260010182815481106122bf576122bf6154ff565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000806122f8606e612b0d565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561233c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123609190614af2565b60405163bd7d9d8560e01b81526001600160601b03871660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa1580156123b3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526123db9190810190614b8c565b90508060a001518160c001510361241d5760c081015160405163038a855760e51b81526001600160601b03881660048201526024810191909152604401610804565b60008160c001518260a001516124339190615515565b905060006124478587600001518a85613456565b9050818360c00181815161245b91906151f7565b9052506003546020840151604051639babe3bf60e01b81526001600160a01b0388811660048301526001600160601b03909216602482015260448101849052911690639babe3bf90606401600060405180830381600087803b1580156124c057600080fd5b505af11580156124d4573d6000803e3d6000fd5b50505050846001600160a01b0316639a960d5289856124f160ff90565b6040518463ffffffff1660e01b815260040161250f93929190614e9c565b600060405180830381600087803b15801561252957600080fd5b505af115801561253d573d6000803e3d6000fd5b5050604051638d38cd4b60e01b815264ffffffffff8a16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9250638d38cd4b9150602401602060405180830381865af4158015612597573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125bb9190614d0b565b801561264357506101a083015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561261f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126439190614d0b565b1561120c5761120c888861146d565b60008080612660606e612b0d565b9150915061266c61290a565b6001600160a01b0316635c992fed6040518060e0016040528061268d600090565b6001600160601b039081168252865116602082015260400160d360ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016127069190614548565b6020604051808303816000875af1158015612725573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127499190614f28565b9250600061275b8a8a8a8a8a8a612149565b505050509050600060405180610200016040528085600001516001600160601b03168152602001886001600160601b03168152602001876001600160c01b03191681526020018c6001600160c01b03191681526020018b8152602001838152602001600081526020018a8152602001898152602001604051806020016040528060008152508152602001600061ffff168152602001600061ffff1681526020016000815260200161280a600090565b64ffffffffff168152600060208201819052604091820152516202f23560ee1b81529091506001600160a01b0384169063bc8d4000906128509088908590600401615528565b600060405180830381600087803b15801561286a57600080fd5b505af115801561287e573d6000803e3d6000fd5b50505050826001600160a01b0316635d4345cc8661289a600a90565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b1580156128e357600080fd5b505af11580156128f7573d6000803e3d6000fd5b5050505050505050979650505050505050565b60008061291f6001546001600160a01b031690565b6001600160a01b031663d39e604360285b6129386129cb565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561297d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118959190614af2565b6000806129b66001546001600160a01b031690565b6001600160a01b031663d39e60436046612930565b60006129d5610cab565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612a2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d309190614d33565b612a56613278565b600060d3612a626129cb565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000612a978461428c565b90506000612aaa8583603c848888611243565b612aba637b6a51fd60e01b611216565b5050505050565b612ac9613278565b612ad282613b6f565b612adb81611efc565b612ae3611427565b612af3631fdea09d60e31b611216565b5050565b6000600080516020615672833981519152612031565b612b156143e0565b600080612b2a6001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015612b71573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b9991908101906153ac565b9250612baf83604001518560ff90811691161490565b612bf15760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610804565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015612c47573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612c6f91908101906153ac565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cdc9190614af2565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015612d29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d4d9190614d0b565b15612d7c57608085015160405163d53987e560e01b81526001600160a01b039091166004820152602401610804565b505050915091565b612d8c613278565b6000805160206156d28339815191526000612dbc6000805160206156b2833981519152546001600160401b031690565b90506000612dc8610cab565b9050816001600160401b0316600103612df55760028301805462ffffff191662ffffff8316179055612e43565b600283015462ffffff90811690821611612e435760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610804565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015612ef7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f1b9190614d50565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906114189083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6000805160206156b28339815191528054600160401b810460ff1615906001600160401b03166000811580156130565750825b90506000826001600160401b031660011480156130725750303b155b905081158015613080575080155b1561309e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156130c857845460ff60401b1916600160401b1785555b600080878060200190518101906130df919061554a565b90925090506130ee828a612a4e565b6001546001600160a01b031663d39e6043608c6131096129cb565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561314e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131729190614af2565b600280546001600160a01b0319166001600160a01b039283161790556001541663d39e604360dc6131a16129cb565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156131e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061320a9190614af2565b600380546001600160a01b0319166001600160a01b039290921691909117905561323a63013dc66f60e01b611216565b505083156112d657845460ff60401b19168555604051600181526000805160206156928339815191529060200160405180910390a150505050505050565b6000805160206156b283398151915254600160401b900460ff166132af57604051631afcd79f60e31b815260040160405180910390fd5b565b610227613278565b60006132ce8383670de0b6b3a76400006142f7565b9392505050565b6000806132e061441e565b60608401516020860151604051634793b4ab60e01b81526001600160601b038216600482015291945092506000906001600160a01b03881690634793b4ab90602401600060405180830381865afa15801561333f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613367919081019061520a565b80519092506001600160601b038581169116146133bf5760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b6044820152606401610804565b6040516355e343a960e01b81526001600160601b03851660048201526000906001600160a01b038916906355e343a9906024016101c060405180830381865afa158015613410573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061343491906152db565b90506134488160a001518860800151611792565b915050945094509450949050565b60008115613a06576000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561349e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134c29190614af2565b60405163242bdc1960e21b81526001600160601b03871660048201526001600160a01b0391909116906390af70649060240161024060405180830381865afa158015613512573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061353691906150ea565b602081015190915060006135526001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03881660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156135a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135c59190614af2565b90506000886001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613607573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061362b9190614af2565b60608501516040516355e343a960e01b81526001600160601b0390911660048201526001600160a01b0391909116906355e343a9906024016101c060405180830381865afa158015613681573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136a591906152db565b61014081015160a08601516040516346f0526160e11b8152899850929350909173__$a23651848365a6a5ca15f07b4331037f48$__90638de0a4c2906136ef908490600401615579565b602060405180830381865af415801561370c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137309190614d0b565b1561379c576040516317d5759960e31b81526001600160a01b0386169063beabacc89061376590879086908d90600401615590565b600060405180830381600087803b15801561377f57600080fd5b505af1158015613793573d6000803e3d6000fd5b505050506139ff565b60a086015160405163012ebd8360e21b815281516004820152602090910151602482015260448101889052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015613807573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061382b91906155b4565b91509150600088610160015190508a886001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa158015613878573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061389c9190614af2565b604051636eb1769f60e11b81526001600160a01b038a811660048301528b81166024830152919091169063dd62ed3e90604401602060405180830381865afa1580156138ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139109190615078565b10156139355786888c604051636d675c4360e01b815260040161080493929190615590565b6040516317d5759960e31b81526001600160a01b0389169063beabacc890613965908a9085908890600401615590565b600060405180830381600087803b15801561397f57600080fd5b505af1158015613993573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b038b16925063beabacc891506139c7908a9089908790600401615590565b600060405180830381600087803b1580156139e157600080fd5b505af11580156139f5573d6000803e3d6000fd5b50939b5050505050505b5050505050505b949350505050565b6001546001600160a01b031615613a475760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610804565b6001600160a01b038116613a6e5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003613aa45760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610804565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015613b1e575060408051601f3d908101601f19168201909252613b1b91810190614d0b565b60015b613b465760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610804565b80612af35760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610804565b613b77613278565b6001600160a01b038116613b9e576040516352e2d0c160e01b815260040160405180910390fd5b60008051602061567283398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000613bde6143e0565b613be8606e612b0d565b506080015192915050565b600080600080600080886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015613c3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c5e9190614af2565b9050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613c9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cc29190614af2565b9150506000886001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa158015613d05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d299190614f28565b604051634793b4ab60e01b81526001600160601b038a1660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015613d7c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613da4919081019061520a565b80519091506001600160601b03838116911614613e0e5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a5052532d3033353a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b6064820152608401610804565b6000836001600160a01b03166390af70648c6001600160a01b03166251884a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613e5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e809190614f28565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161024060405180830381865afa158015613ec5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ee991906150ea565b60a081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015613f52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f7691906155b4565b506040516355e343a960e01b81526001600160601b0385166004820152909850600091506001600160a01b038516906355e343a9906024016101c060405180830381865afa158015613fcc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ff091906152db565b60e081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015614059573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061407d91906155b4565b50809750505060008a6001600160a01b031663db6dcc956040518163ffffffff1660e01b8152600401602060405180830381865afa1580156140c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140e79190614f28565b604051639ad69c6760e01b81526001600160601b03821660048201529091506000906001600160a01b03861690639ad69c679060240160a060405180830381865afa15801561413a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061415e91906155d8565b604080820151905163012ebd8360e21b8152815160048201526020909101516024820152604481018f905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af41580156141c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141eb91906155b4565b5060208481015160405163012ebd8360e21b8152815160048201529101516024820152604481018f905290965073__$a23651848365a6a5ca15f07b4331037f48$__92506304baf60c91506064016040805180830381865af4158015614255573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061427991906155b4565b5080955050505050945094509450949050565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa1580156142d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118959190614f28565b6000808060001985870985870292508281108382030391505080600003614331578382816143275761432761565b565b04925050506132ce565b8084116143785760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610804565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60405180610120016040528060006001600160601b03168152602001614457604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6000602082840312156144ae57600080fd5b81356001600160e01b0319811681146132ce57600080fd5b6001600160601b0381168114611f0d57600080fd5b6000602082840312156144ed57600080fd5b81356132ce816144c6565b60005b838110156145135781810151838201526020016144fb565b50506000910152565b600081518084526145348160208601602086016144f8565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516145b160c08401826001600160a01b03169052565b5060c083015160e080840152613a0661010084018261451c565b6001600160a01b0381168114611f0d57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b0381118282101715614619576146196145e0565b60405290565b60405161018081016001600160401b0381118282101715614619576146196145e0565b60405161012081016001600160401b0381118282101715614619576146196145e0565b60405161016081016001600160401b0381118282101715614619576146196145e0565b60405160e081016001600160401b0381118282101715614619576146196145e0565b604051601f8201601f191681016001600160401b03811182821017156146d2576146d26145e0565b604052919050565b60006001600160401b038211156146f3576146f36145e0565b50601f01601f191660200190565b600082601f83011261471257600080fd5b8135614725614720826146da565b6146aa565b81815284602083860101111561473a57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060006060848603121561476c57600080fd5b8335614777816145cb565b92506020840135614787816145cb565b915060408401356001600160401b038111156147a257600080fd5b6147ae86828701614701565b9150509250925092565b60ff81168114611f0d57600080fd5b8015158114611f0d57600080fd5b60008060008060008060c087890312156147ee57600080fd5b86356147f9816145cb565b95506020870135614809816144c6565b94506040870135614819816147b8565b93506060870135614829816147c7565b92506080870135614839816145cb565b915060a08701356001600160401b0381111561485457600080fd5b61486089828a01614701565b9150509295509295509295565b62ffffff81168114611f0d57600080fd5b60006020828403121561489057600080fd5b81356132ce8161486d565b64ffffffffff81168114611f0d57600080fd5b600080604083850312156148c157600080fd5b82356148cc816144c6565b915060208301356148dc8161489b565b809150509250929050565b600080604083850312156148fa57600080fd5b50508035926020909101359150565b60008060006060848603121561491e57600080fd5b8335614929816144c6565b92506020840135614939816147c7565b915060408401356149498161489b565b809150509250925092565b60006020828403121561496657600080fd5b81356132ce816145cb565b6001600160c01b031981168114611f0d57600080fd5b60008060008060008060c087890312156149a057600080fd5b86356149ab81614971565b9550602087013594506040870135935060608701356001600160401b038111156149d457600080fd5b6149e089828a01614701565b93505060808701356149f1816144c6565b915060a0870135614a0181614971565b809150509295509295509295565b600060208284031215614a2157600080fd5b5035919050565b600080600080600080600060e0888a031215614a4357600080fd5b8735614a4e816145cb565b96506020880135614a5e81614971565b9550604088013594506060880135935060808801356001600160401b03811115614a8757600080fd5b614a938a828b01614701565b93505060a0880135614aa4816144c6565b915060c0880135614ab481614971565b8091505092959891949750929550565b60008060408385031215614ad757600080fd5b8235614ae2816145cb565b915060208301356148dc816145cb565b600060208284031215614b0457600080fd5b81516132ce816145cb565b8051614b1a816144c6565b919050565b8051614b1a81614971565b600082601f830112614b3b57600080fd5b8151614b49614720826146da565b818152846020838601011115614b5e57600080fd5b613a068260208301602087016144f8565b805161ffff81168114614b1a57600080fd5b8051614b1a8161489b565b600060208284031215614b9e57600080fd5b81516001600160401b0380821115614bb557600080fd5b908301906102008286031215614bca57600080fd5b614bd26145f6565b614bdb83614b0f565b8152614be960208401614b0f565b6020820152614bfa60408401614b1f565b6040820152614c0b60608401614b1f565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115614c4c57600080fd5b614c5888828701614b2a565b8284015250506101208084015183811115614c7257600080fd5b614c7e88828701614b2a565b8284015250506101409150614c94828401614b6f565b828201526101609150614ca8828401614b6f565b82820152610180915081830151828201526101a09150614cc9828401614b81565b828201526101c09150614cdd828401614b81565b828201526101e09150614cf1828401614b81565b91810191909152949350505050565b8051614b1a816147c7565b600060208284031215614d1d57600080fd5b81516132ce816147c7565b8051614b1a816147b8565b600060208284031215614d4557600080fd5b81516132ce816147b8565b600060208284031215614d6257600080fd5b81516132ce8161489b565b80516001600160601b0316825260006102006020830151614d9960208601826001600160601b03169052565b506040830151614db560408601826001600160c01b0319169052565b506060830151614dd160608601826001600160c01b0319169052565b506080830151608085015260a083015160a085015260c083015160c085015260e083015160e0850152610100808401518282870152614e128387018261451c565b925050506101208084015185830382870152614e2e838261451c565b9250505061014080840151614e488287018261ffff169052565b50506101608381015161ffff169085015261018080840151908501526101a08084015164ffffffffff908116918601919091526101c0808501518216908601526101e0938401511692909301919091525090565b6001600160601b0384168152606060208201526000614ebe6060830185614d6d565b905060ff83166040830152949350505050565b600060208284031215614ee357600080fd5b81516132ce8161486d565b600181811c90821680614f0257607f821691505b602082108103614f2257634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215614f3a57600080fd5b81516132ce816144c6565b601f821115614f8b57600081815260208120601f850160051c81016020861015614f6c5750805b601f850160051c820191505b8181101561214157828155600101614f78565b505050565b81516001600160401b03811115614fa957614fa96145e0565b614fbd81614fb78454614eee565b84614f45565b602080601f831160018114614ff25760008415614fda5750858301515b600019600386901b1c1916600185901b178555612141565b600085815260208120601f198616915b8281101561502157888601518255948401946001909101908401615002565b508582101561503f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561506157600080fd5b81516001600160401b03811681146132ce57600080fd5b60006020828403121561508a57600080fd5b5051919050565b8051614b1a816145cb565b6000604082840312156150ae57600080fd5b604051604081018181106001600160401b03821117156150d0576150d06145e0565b604052825181526020928301519281019290925250919050565b600061024082840312156150fd57600080fd5b61510561461f565b61510e83615091565b815261511c60208401615091565b602082015261512d60408401614b0f565b604082015261513e60608401614b0f565b6060820152615150846080850161509c565b60808201526151628460c0850161509c565b60a08201526101006151768582860161509c565b60c083015261014061518a8682870161509c565b60e084015261519d86610180870161509c565b828401526151af866101c0870161509c565b6101208401526151c26102008601614d00565b90830152506151d46102208401615091565b6101608201529392505050565b634e487b7160e01b600052601160045260246000fd5b80820180821115611895576118956151e1565b60006020828403121561521c57600080fd5b81516001600160401b038082111561523357600080fd5b90830190610140828603121561524857600080fd5b615250614642565b61525983614b0f565b8152615268866020850161509c565b602082015260608301518281111561527f57600080fd5b61528b87828601614b2a565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506152c9828401614b81565b60e0820152614cf16101208401614b81565b60006101c082840312156152ee57600080fd5b6152f6614665565b6152ff83614b0f565b815261530d60208401615091565b602082015261531e60408401614d00565b604082015261532f60608401614d00565b606082015261534060808401614d00565b608082015260a083015160a082015260c083015160c08201526153668460e0850161509c565b60e082015261012061537a8582860161509c565b61010083015261538e85610160860161509c565b9082015261539f6101a08401615091565b6101408201529392505050565b6000602082840312156153be57600080fd5b81516001600160401b03808211156153d557600080fd5b9083019060e082860312156153e957600080fd5b6153f1614688565b6153fa83614b0f565b815261540860208401614b0f565b602082015261541960408401614d28565b604082015261542a60608401614d00565b606082015261543b60808401615091565b608082015261544c60a08401615091565b60a082015260c08301518281111561546357600080fd5b61546f87828601614b2a565b60c08301525095945050505050565b6001600160601b03851681526080602082015260006154a0608083018661451c565b82810360408401526154b2818661451c565b91505082606083015295945050505050565b8481526001600160401b0360c01b841660208201528260408201526080606082015260006154f5608083018461451c565b9695505050505050565b634e487b7160e01b600052603260045260246000fd5b81810381811115611895576118956151e1565b6001600160601b0383168152604060208201526000613a066040830184614d6d565b6000806040838503121561555d57600080fd5b8251615568816145cb565b60208401519092506148dc816145cb565b815181526020808301519082015260408101611895565b6001600160a01b039384168152919092166020820152604081019190915260600190565b600080604083850312156155c757600080fd5b505080516020909101519092909150565b600060a082840312156155ea57600080fd5b604051608081018181106001600160401b038211171561560c5761560c6145e0565b604052825161561a816144c6565b8152602083015161562a816145cb565b602082015261563c846040850161509c565b6040820152608083015161564f816145cb565b60608201529392505050565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00c7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122004768d8f3291a0d555fb7fa5a0401ae8223a2ceda2c58a34e0b60f8779bc85d264736f6c63430008140033",
1125
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102275760003560e01c8063675393bf11610130578063b88da759116100b8578063cde749f41161007c578063cde749f414610637578063ea8665721461063f578063f21de1e814610484578063f7c34ee014610652578063fb2cb1011461066557600080fd5b8063b88da759146105ee578063bbfbbfba14610601578063c2c7498714610614578063caf4e3d414610627578063cc9fc59a1461062f57600080fd5b80639cdaa7f9116100ff5780639cdaa7f9146105565780639ffcede914610591578063ada9652e146105a4578063b3c65015146105b9578063b68d1809146105d957600080fd5b8063675393bf14610501578063893d20e8146105145780638c5f36bb1461051c578063946dfcfe1461052f57600080fd5b80632a904018116101b35780634f421333116101825780634f421333146104715780635ab1bd53146104845780635fd1a5f5146104a9578063630361f6146104bc578063644c45e0146104cf57600080fd5b80632a9040181461032a57806336fc697e1461033d5780634d459c90146103455780634d5e16a91461045e57600080fd5b8063138461e0116101fa578063138461e0146102b45780631647f91e146102bc5780631eff4b22146102cf578063214cdb801461030457806327bb7a331461031757600080fd5b806301ffc9a71461022c5780630aaba8e81461026e5780630d8e6e2c146102835780630fec111c1461029f575b600080fd5b61025961023a36600461449c565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61028161027c3660046144db565b61066d565b005b61028b610cab565b60405162ffffff9091168152602001610265565b6102a7610d35565b6040516102659190614548565b610281610ed1565b6102816102ca366004614757565b61111f565b6102f67f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610265565b61028161031236600461449c565b611216565b6102816103253660046147d5565b611243565b610281610338366004614757565b6112df565b610281611427565b61040161035336600461487e565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206156d283398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610265565b61028161046c3660046148ae565b61146d565b61025961047f36600461487e565b6116df565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610265565b6102f66104b73660046148e7565b611792565b6102816104ca366004614909565b61189b565b600080516020615672833981519152546001600160601b03165b6040516001600160601b039091168152602001610265565b61028161050f366004614954565b611efc565b610491611f10565b61028161052a366004614954565b612047565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102f6565b610569610564366004614987565b612149565b604080519586526020860194909452928401919091526060830152608082015260a001610265565b61028161059f3660046144db565b612227565b6102f660008051602061567283398151915281565b6105c1612279565b6040516001600160401b039091168152602001610265565b60d35b60405160ff9091168152602001610265565b61028b6105fc366004614a0f565b61229a565b61028161060f3660046148ae565b6122eb565b6104e9610622366004614a28565b612652565b61049161290a565b6104916129a1565b6105dc6129cb565b61028161064d366004614ac4565b612a4e565b610281610660366004614ac4565b612ac1565b610491612af7565b6000610679606e612b0d565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e09190614af2565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015610733573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261075b9190810190614b8c565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156107bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107df9190614d0b565b1561080d576040516308cbe08b60e21b81526001600160601b03851660048201526024015b60405180910390fd5b604051639096a1f360e01b81526001600160601b03851660048201526000906001600160a01b03841690639096a1f390602401602060405180830381865afa15801561085d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108819190614d33565b905060ff81166064146108bb57604051634de91cf360e11b81526001600160601b038616600482015260ff82166024820152604401610804565b6101e0820151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015610918573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093c9190614d0b565b1561096557604051634b80547760e11b81526001600160601b0386166004820152602401610804565b8160c001518260a00151146109af5760a082015160c0830151604051632b14368360e11b81526001600160601b038816600482015260248101929092526044820152606401610804565b61016082015161ffff16156109f35761016082015160405163a5bb07ed60e01b81526001600160601b038716600482015261ffff9091166024820152604401610804565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610a3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a609190614d50565b6101c0830151604051634a19ad8d60e11b815264ffffffffff92831660048201529116602482015273__$d53880c81dc91c20799140d711e5ab8718$__906394335b1a90604401602060405180830381865af4158015610ac4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae89190614d0b565b8015610afc57508160800151826101800151105b15610b39576101c0820151604051630e79f6e160e21b81526001600160601b038716600482015264ffffffffff9091166024820152604401610804565b73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610b82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba69190614d50565b64ffffffffff166101e0830152600354602083015160808401516040516303c5c06160e41b81526001600160a01b0388811660048301526001600160601b03808b16602484015290931660448201526064810191909152911690633c5c061090608401600060405180830381600087803b158015610c2357600080fd5b505af1158015610c37573d6000803e3d6000fd5b50505050836001600160a01b0316639a960d528684610c5460c890565b6040518463ffffffff1660e01b8152600401610c7293929190614e9c565b600060405180830381600087803b158015610c8c57600080fd5b505af1158015610ca0573d6000803e3d6000fd5b505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610d0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d309190614ed1565b905090565b610d3d6143e0565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191610dcd90614eee565b80601f0160208091040260200160405190810160405280929190818152602001828054610df990614eee565b8015610e465780601f10610e1b57610100808354040283529160200191610e46565b820191906000526020600020905b815481529060010190602001808311610e2957829003601f168201915b50505050508152505090506040518060e00160405280610e64600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610eb5612af7565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061567283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610f40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f649190614d0b565b15610fa15760015481546040516316322c0f60e31b81526001600160a01b0390921660048301526001600160601b03166024820152604401610804565b6000610fb56001546001600160a01b031690565b6001600160a01b031603610fdc5760405163cf29926160e01b815260040160405180910390fd5b30610fef6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611037573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105b9190614d0b565b611083576040516372657a5160e01b81526001600160a01b0382166004820152602401610804565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156110d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110fb9190614f28565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6000805160206156b28339815191528054600160401b810460ff1615906001600160401b03166000811580156111525750825b90506000826001600160401b0316600114801561116e5750303b155b90508115801561117c575080155b1561119a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156111c457845460ff60401b1916600160401b1785555b6111ce8888612d84565b6111d88787613023565b831561120c57845460ff60401b19168555604051600181526000805160206156928339815191529060200160405180910390a15b5050505050505050565b61121e613278565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61124b613278565b6112558287612ac1565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016112c58382614f90565b506112d66303fb044760e21b611216565b50505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611301610cab565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611341573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611365919061504f565b6000805160206156b28339815191528054600160401b900460ff1680611398575080546001600160401b03808416911610155b156113b65760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556113e18585612d84565b6113ea836132b1565b805460ff60401b191681556040516001600160401b0383168152600080516020615692833981519152906020015b60405180910390a15050505050565b61142f613278565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000611479606e612b0d565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e09190614af2565b60405163bd7d9d8560e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015611533573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261155b9190810190614b8c565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af41580156115bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115df9190614d0b565b61162b5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f414354495641544544006044820152606401610804565b64ffffffffff84166101a0820181905260e0820151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015611696573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116ba9190614d50565b64ffffffffff166101c08201526001600160a01b038316639a960d5286836064610c54565b6000806000805160206156d283398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015611767573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061178b9190615078565b1192915050565b6040516322f5db0f60e11b815260048101829052600090819073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af41580156117e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180b9190615078565b9050600061181985836132b9565b604051632255341b60e11b81526004810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af415801561186c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118909190615078565b925050505b92915050565b60008060006118a86143e0565b6118b2606e612b0d565b8095508192505050836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061191c9190614af2565b905160405163bd7d9d8560e01b81526001600160601b038916600482015291935091506000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa158015611973573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261199b9190810190614b8c565b80519091506001600160601b038381169116146119fa5760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d415443480000000000000000006044820152606401610804565b604051639096a1f360e01b81526001600160601b0388166004820152611a78906001600160a01b03851690639096a1f390602401602060405180830381865afa158015611a4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a6f9190614d33565b60ff16600a1490565b611ac45760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c494544006044820152606401610804565b600080600080611b528888878a6001600160a01b03166390af70648b6040518263ffffffff1660e01b8152600401611b0b91906001600160601b0391909116815260200190565b61024060405180830381865afa158015611b29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b4d91906150ea565b6132d5565b93509350935093506000611b64602890565b905064ffffffffff8a1615611c1557606464ffffffffff8b166101a0880181905260e0880151604051631ded81af60e31b81526004810192909252602482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015611be3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c079190614d50565b64ffffffffff166101c08701525b60008b15611c4957611c2d8a898f8a60a00151613456565b90508660a001518760c001818151611c4591906151f7565b9052505b600360009054906101000a90046001600160a01b03166001600160a01b031663a7e0dea78b8f8887866040518663ffffffff1660e01b8152600401611cc79594939291906001600160a01b039590951685526001600160601b0393841660208601529190921660408401526060830191909152608082015260a00190565b6000604051808303816000875af1158015611ce6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d0e919081019061520a565b9350896001600160a01b0316639a960d528e89856040518463ffffffff1660e01b8152600401611d4093929190614e9c565b600060405180830381600087803b158015611d5a57600080fd5b505af1158015611d6e573d6000803e3d6000fd5b50506040516355e343a960e01b81526001600160601b03891660048201526001600160a01b038c1692506355e343a991506024016101c060405180830381865afa158015611dc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611de491906152db565b6080015115611eed576000611e016001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611e50573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e7891908101906153ac565b608001519050806001600160a01b03166338f563788f8a61010001518860400151886040518563ffffffff1660e01b8152600401611eb9949392919061547e565b600060405180830381600087803b158015611ed357600080fd5b505af1158015611ee7573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b611f04613278565b611f0d81613a0e565b50565b60008060008051602061567283398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611f80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fa49190614d0b565b15612031576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612007573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061202b9190614af2565b91505090565b54600160601b90046001600160a01b0316919050565b6000805160206156b28339815191528054600160401b810460ff1615906001600160401b031660008115801561207a5750825b90506000826001600160401b031660011480156120965750303b155b9050811580156120a4575080155b156120c25760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156120ec57845460ff60401b1916600160401b1785555b6120f586613b6f565b6120fd611427565b61210d631fdea09d60e31b611216565b831561214157845460ff60401b19168555604051600181526000805160206156928339815191529060200160405180910390a15b505050505050565b60008060008060008061215a613bd4565b90506000816001600160a01b0316635e78426b8d8f8e8e6040518563ffffffff1660e01b815260040161219094939291906154c4565b602060405180830381865afa1580156121ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121d19190615078565b90506121df81838b8b613bf3565b929850909650945092506121f386826151f7565b96506121ff84866151f7565b61220990886151f7565b965061221583886151f7565b96505050965096509650965096915050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233353a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b6064820152608401610804565b6000610d306000805160206156b2833981519152546001600160401b031690565b60006000805160206156d283398151915260010182815481106122bf576122bf6154ff565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000806122f8606e612b0d565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561233c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123609190614af2565b60405163bd7d9d8560e01b81526001600160601b03871660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa1580156123b3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526123db9190810190614b8c565b90508060a001518160c001510361241d5760c081015160405163038a855760e51b81526001600160601b03881660048201526024810191909152604401610804565b60008160c001518260a001516124339190615515565b905060006124478587600001518a85613456565b9050818360c00181815161245b91906151f7565b9052506003546020840151604051639babe3bf60e01b81526001600160a01b0388811660048301526001600160601b03909216602482015260448101849052911690639babe3bf90606401600060405180830381600087803b1580156124c057600080fd5b505af11580156124d4573d6000803e3d6000fd5b50505050846001600160a01b0316639a960d5289856124f160ff90565b6040518463ffffffff1660e01b815260040161250f93929190614e9c565b600060405180830381600087803b15801561252957600080fd5b505af115801561253d573d6000803e3d6000fd5b5050604051638d38cd4b60e01b815264ffffffffff8a16600482015273__$d53880c81dc91c20799140d711e5ab8718$__9250638d38cd4b9150602401602060405180830381865af4158015612597573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125bb9190614d0b565b801561264357506101a083015160405163790a38ad60e01b815264ffffffffff909116600482015273__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af415801561261f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126439190614d0b565b1561120c5761120c888861146d565b60008080612660606e612b0d565b9150915061266c61290a565b6001600160a01b0316635c992fed6040518060e0016040528061268d600090565b6001600160601b039081168252865116602082015260400160d360ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016127069190614548565b6020604051808303816000875af1158015612725573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127499190614f28565b9250600061275b8a8a8a8a8a8a612149565b505050509050600060405180610200016040528085600001516001600160601b03168152602001886001600160601b03168152602001876001600160c01b03191681526020018c6001600160c01b03191681526020018b8152602001838152602001600081526020018a8152602001898152602001604051806020016040528060008152508152602001600061ffff168152602001600061ffff1681526020016000815260200161280a600090565b64ffffffffff168152600060208201819052604091820152516202f23560ee1b81529091506001600160a01b0384169063bc8d4000906128509088908590600401615528565b600060405180830381600087803b15801561286a57600080fd5b505af115801561287e573d6000803e3d6000fd5b50505050826001600160a01b0316635d4345cc8661289a600a90565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b1580156128e357600080fd5b505af11580156128f7573d6000803e3d6000fd5b5050505050505050979650505050505050565b60008061291f6001546001600160a01b031690565b6001600160a01b031663d39e604360285b6129386129cb565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561297d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118959190614af2565b6000806129b66001546001600160a01b031690565b6001600160a01b031663d39e60436046612930565b60006129d5610cab565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612a2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d309190614d33565b612a56613278565b600060d3612a626129cb565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000612a978461428c565b90506000612aaa8583603c848888611243565b612aba637b6a51fd60e01b611216565b5050505050565b612ac9613278565b612ad282613b6f565b612adb81611efc565b612ae3611427565b612af3631fdea09d60e31b611216565b5050565b6000600080516020615672833981519152612031565b612b156143e0565b600080612b2a6001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015612b71573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b9991908101906153ac565b9250612baf83604001518560ff90811691161490565b612bf15760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610804565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015612c47573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612c6f91908101906153ac565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cdc9190614af2565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015612d29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d4d9190614d0b565b15612d7c57608085015160405163d53987e560e01b81526001600160a01b039091166004820152602401610804565b505050915091565b612d8c613278565b6000805160206156d28339815191526000612dbc6000805160206156b2833981519152546001600160401b031690565b90506000612dc8610cab565b9050816001600160401b0316600103612df55760028301805462ffffff191662ffffff8316179055612e43565b600283015462ffffff90811690821611612e435760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610804565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015612ef7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f1b9190614d50565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906114189083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6000805160206156b28339815191528054600160401b810460ff1615906001600160401b03166000811580156130565750825b90506000826001600160401b031660011480156130725750303b155b905081158015613080575080155b1561309e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156130c857845460ff60401b1916600160401b1785555b600080878060200190518101906130df919061554a565b90925090506130ee828a612a4e565b6001546001600160a01b031663d39e6043608c6131096129cb565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561314e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131729190614af2565b600280546001600160a01b0319166001600160a01b039283161790556001541663d39e604360dc6131a16129cb565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156131e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061320a9190614af2565b600380546001600160a01b0319166001600160a01b039290921691909117905561323a63013dc66f60e01b611216565b505083156112d657845460ff60401b19168555604051600181526000805160206156928339815191529060200160405180910390a150505050505050565b6000805160206156b283398151915254600160401b900460ff166132af57604051631afcd79f60e31b815260040160405180910390fd5b565b610227613278565b60006132ce8383670de0b6b3a76400006142f7565b9392505050565b6000806132e061441e565b60608401516020860151604051634793b4ab60e01b81526001600160601b038216600482015291945092506000906001600160a01b03881690634793b4ab90602401600060405180830381865afa15801561333f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613367919081019061520a565b80519092506001600160601b038581169116146133bf5760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b6044820152606401610804565b6040516355e343a960e01b81526001600160601b03851660048201526000906001600160a01b038916906355e343a9906024016101c060405180830381865afa158015613410573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061343491906152db565b90506134488160a001518860800151611792565b915050945094509450949050565b60008115613a06576000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561349e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134c29190614af2565b60405163242bdc1960e21b81526001600160601b03871660048201526001600160a01b0391909116906390af70649060240161024060405180830381865afa158015613512573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061353691906150ea565b602081015190915060006135526001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03881660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156135a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135c59190614af2565b90506000886001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613607573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061362b9190614af2565b60608501516040516355e343a960e01b81526001600160601b0390911660048201526001600160a01b0391909116906355e343a9906024016101c060405180830381865afa158015613681573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136a591906152db565b61014081015160a08601516040516346f0526160e11b8152899850929350909173__$a23651848365a6a5ca15f07b4331037f48$__90638de0a4c2906136ef908490600401615579565b602060405180830381865af415801561370c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137309190614d0b565b1561379c576040516317d5759960e31b81526001600160a01b0386169063beabacc89061376590879086908d90600401615590565b600060405180830381600087803b15801561377f57600080fd5b505af1158015613793573d6000803e3d6000fd5b505050506139ff565b60a086015160405163012ebd8360e21b815281516004820152602090910151602482015260448101889052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015613807573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061382b91906155b4565b91509150600088610160015190508a886001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa158015613878573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061389c9190614af2565b604051636eb1769f60e11b81526001600160a01b038a811660048301528b81166024830152919091169063dd62ed3e90604401602060405180830381865afa1580156138ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139109190615078565b10156139355786888c604051636d675c4360e01b815260040161080493929190615590565b6040516317d5759960e31b81526001600160a01b0389169063beabacc890613965908a9085908890600401615590565b600060405180830381600087803b15801561397f57600080fd5b505af1158015613993573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b038b16925063beabacc891506139c7908a9089908790600401615590565b600060405180830381600087803b1580156139e157600080fd5b505af11580156139f5573d6000803e3d6000fd5b50939b5050505050505b5050505050505b949350505050565b6001546001600160a01b031615613a475760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610804565b6001600160a01b038116613a6e5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003613aa45760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610804565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015613b1e575060408051601f3d908101601f19168201909252613b1b91810190614d0b565b60015b613b465760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610804565b80612af35760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610804565b613b77613278565b6001600160a01b038116613b9e576040516352e2d0c160e01b815260040160405180910390fd5b60008051602061567283398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000613bde6143e0565b613be8606e612b0d565b506080015192915050565b600080600080600080886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015613c3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c5e9190614af2565b9050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613c9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cc29190614af2565b9150506000886001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa158015613d05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d299190614f28565b604051634793b4ab60e01b81526001600160601b038a1660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015613d7c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613da4919081019061520a565b80519091506001600160601b03838116911614613e0e5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a5052532d3033353a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b6064820152608401610804565b6000836001600160a01b03166390af70648c6001600160a01b03166251884a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613e5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e809190614f28565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161024060405180830381865afa158015613ec5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ee991906150ea565b60a081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015613f52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f7691906155b4565b506040516355e343a960e01b81526001600160601b0385166004820152909850600091506001600160a01b038516906355e343a9906024016101c060405180830381865afa158015613fcc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613ff091906152db565b60e081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015614059573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061407d91906155b4565b50809750505060008a6001600160a01b031663db6dcc956040518163ffffffff1660e01b8152600401602060405180830381865afa1580156140c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140e79190614f28565b604051639ad69c6760e01b81526001600160601b03821660048201529091506000906001600160a01b03861690639ad69c679060240160a060405180830381865afa15801561413a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061415e91906155d8565b604080820151905163012ebd8360e21b8152815160048201526020909101516024820152604481018f905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af41580156141c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141eb91906155b4565b5060208481015160405163012ebd8360e21b8152815160048201529101516024820152604481018f905290965073__$a23651848365a6a5ca15f07b4331037f48$__92506304baf60c91506064016040805180830381865af4158015614255573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061427991906155b4565b5080955050505050945094509450949050565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa1580156142d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118959190614f28565b6000808060001985870985870292508281108382030391505080600003614331578382816143275761432761565b565b04925050506132ce565b8084116143785760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b6044820152606401610804565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60405180610120016040528060006001600160601b03168152602001614457604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6000602082840312156144ae57600080fd5b81356001600160e01b0319811681146132ce57600080fd5b6001600160601b0381168114611f0d57600080fd5b6000602082840312156144ed57600080fd5b81356132ce816144c6565b60005b838110156145135781810151838201526020016144fb565b50506000910152565b600081518084526145348160208601602086016144f8565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516145b160c08401826001600160a01b03169052565b5060c083015160e080840152613a0661010084018261451c565b6001600160a01b0381168114611f0d57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b0381118282101715614619576146196145e0565b60405290565b60405161018081016001600160401b0381118282101715614619576146196145e0565b60405161012081016001600160401b0381118282101715614619576146196145e0565b60405161016081016001600160401b0381118282101715614619576146196145e0565b60405160e081016001600160401b0381118282101715614619576146196145e0565b604051601f8201601f191681016001600160401b03811182821017156146d2576146d26145e0565b604052919050565b60006001600160401b038211156146f3576146f36145e0565b50601f01601f191660200190565b600082601f83011261471257600080fd5b8135614725614720826146da565b6146aa565b81815284602083860101111561473a57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060006060848603121561476c57600080fd5b8335614777816145cb565b92506020840135614787816145cb565b915060408401356001600160401b038111156147a257600080fd5b6147ae86828701614701565b9150509250925092565b60ff81168114611f0d57600080fd5b8015158114611f0d57600080fd5b60008060008060008060c087890312156147ee57600080fd5b86356147f9816145cb565b95506020870135614809816144c6565b94506040870135614819816147b8565b93506060870135614829816147c7565b92506080870135614839816145cb565b915060a08701356001600160401b0381111561485457600080fd5b61486089828a01614701565b9150509295509295509295565b62ffffff81168114611f0d57600080fd5b60006020828403121561489057600080fd5b81356132ce8161486d565b64ffffffffff81168114611f0d57600080fd5b600080604083850312156148c157600080fd5b82356148cc816144c6565b915060208301356148dc8161489b565b809150509250929050565b600080604083850312156148fa57600080fd5b50508035926020909101359150565b60008060006060848603121561491e57600080fd5b8335614929816144c6565b92506020840135614939816147c7565b915060408401356149498161489b565b809150509250925092565b60006020828403121561496657600080fd5b81356132ce816145cb565b6001600160c01b031981168114611f0d57600080fd5b60008060008060008060c087890312156149a057600080fd5b86356149ab81614971565b9550602087013594506040870135935060608701356001600160401b038111156149d457600080fd5b6149e089828a01614701565b93505060808701356149f1816144c6565b915060a0870135614a0181614971565b809150509295509295509295565b600060208284031215614a2157600080fd5b5035919050565b600080600080600080600060e0888a031215614a4357600080fd5b8735614a4e816145cb565b96506020880135614a5e81614971565b9550604088013594506060880135935060808801356001600160401b03811115614a8757600080fd5b614a938a828b01614701565b93505060a0880135614aa4816144c6565b915060c0880135614ab481614971565b8091505092959891949750929550565b60008060408385031215614ad757600080fd5b8235614ae2816145cb565b915060208301356148dc816145cb565b600060208284031215614b0457600080fd5b81516132ce816145cb565b8051614b1a816144c6565b919050565b8051614b1a81614971565b600082601f830112614b3b57600080fd5b8151614b49614720826146da565b818152846020838601011115614b5e57600080fd5b613a068260208301602087016144f8565b805161ffff81168114614b1a57600080fd5b8051614b1a8161489b565b600060208284031215614b9e57600080fd5b81516001600160401b0380821115614bb557600080fd5b908301906102008286031215614bca57600080fd5b614bd26145f6565b614bdb83614b0f565b8152614be960208401614b0f565b6020820152614bfa60408401614b1f565b6040820152614c0b60608401614b1f565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115614c4c57600080fd5b614c5888828701614b2a565b8284015250506101208084015183811115614c7257600080fd5b614c7e88828701614b2a565b8284015250506101409150614c94828401614b6f565b828201526101609150614ca8828401614b6f565b82820152610180915081830151828201526101a09150614cc9828401614b81565b828201526101c09150614cdd828401614b81565b828201526101e09150614cf1828401614b81565b91810191909152949350505050565b8051614b1a816147c7565b600060208284031215614d1d57600080fd5b81516132ce816147c7565b8051614b1a816147b8565b600060208284031215614d4557600080fd5b81516132ce816147b8565b600060208284031215614d6257600080fd5b81516132ce8161489b565b80516001600160601b0316825260006102006020830151614d9960208601826001600160601b03169052565b506040830151614db560408601826001600160c01b0319169052565b506060830151614dd160608601826001600160c01b0319169052565b506080830151608085015260a083015160a085015260c083015160c085015260e083015160e0850152610100808401518282870152614e128387018261451c565b925050506101208084015185830382870152614e2e838261451c565b9250505061014080840151614e488287018261ffff169052565b50506101608381015161ffff169085015261018080840151908501526101a08084015164ffffffffff908116918601919091526101c0808501518216908601526101e0938401511692909301919091525090565b6001600160601b0384168152606060208201526000614ebe6060830185614d6d565b905060ff83166040830152949350505050565b600060208284031215614ee357600080fd5b81516132ce8161486d565b600181811c90821680614f0257607f821691505b602082108103614f2257634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215614f3a57600080fd5b81516132ce816144c6565b601f821115614f8b57600081815260208120601f850160051c81016020861015614f6c5750805b601f850160051c820191505b8181101561214157828155600101614f78565b505050565b81516001600160401b03811115614fa957614fa96145e0565b614fbd81614fb78454614eee565b84614f45565b602080601f831160018114614ff25760008415614fda5750858301515b600019600386901b1c1916600185901b178555612141565b600085815260208120601f198616915b8281101561502157888601518255948401946001909101908401615002565b508582101561503f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561506157600080fd5b81516001600160401b03811681146132ce57600080fd5b60006020828403121561508a57600080fd5b5051919050565b8051614b1a816145cb565b6000604082840312156150ae57600080fd5b604051604081018181106001600160401b03821117156150d0576150d06145e0565b604052825181526020928301519281019290925250919050565b600061024082840312156150fd57600080fd5b61510561461f565b61510e83615091565b815261511c60208401615091565b602082015261512d60408401614b0f565b604082015261513e60608401614b0f565b6060820152615150846080850161509c565b60808201526151628460c0850161509c565b60a08201526101006151768582860161509c565b60c083015261014061518a8682870161509c565b60e084015261519d86610180870161509c565b828401526151af866101c0870161509c565b6101208401526151c26102008601614d00565b90830152506151d46102208401615091565b6101608201529392505050565b634e487b7160e01b600052601160045260246000fd5b80820180821115611895576118956151e1565b60006020828403121561521c57600080fd5b81516001600160401b038082111561523357600080fd5b90830190610140828603121561524857600080fd5b615250614642565b61525983614b0f565b8152615268866020850161509c565b602082015260608301518281111561527f57600080fd5b61528b87828601614b2a565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c082015261010091506152c9828401614b81565b60e0820152614cf16101208401614b81565b60006101c082840312156152ee57600080fd5b6152f6614665565b6152ff83614b0f565b815261530d60208401615091565b602082015261531e60408401614d00565b604082015261532f60608401614d00565b606082015261534060808401614d00565b608082015260a083015160a082015260c083015160c08201526153668460e0850161509c565b60e082015261012061537a8582860161509c565b61010083015261538e85610160860161509c565b9082015261539f6101a08401615091565b6101408201529392505050565b6000602082840312156153be57600080fd5b81516001600160401b03808211156153d557600080fd5b9083019060e082860312156153e957600080fd5b6153f1614688565b6153fa83614b0f565b815261540860208401614b0f565b602082015261541960408401614d28565b604082015261542a60608401614d00565b606082015261543b60808401615091565b608082015261544c60a08401615091565b60a082015260c08301518281111561546357600080fd5b61546f87828601614b2a565b60c08301525095945050505050565b6001600160601b03851681526080602082015260006154a0608083018661451c565b82810360408401526154b2818661451c565b91505082606083015295945050505050565b8481526001600160401b0360c01b841660208201528260408201526080606082015260006154f5608083018461451c565b9695505050505050565b634e487b7160e01b600052603260045260246000fd5b81810381811115611895576118956151e1565b6001600160601b0383168152604060208201526000613a066040830184614d6d565b6000806040838503121561555d57600080fd5b8251615568816145cb565b60208401519092506148dc816145cb565b815181526020808301519082015260408101611895565b6001600160a01b039384168152919092166020820152604081019190915260600190565b600080604083850312156155c757600080fd5b505080516020909101519092909150565b600060a082840312156155ea57600080fd5b604051608081018181106001600160401b038211171561560c5761560c6145e0565b604052825161561a816144c6565b8152602083015161562a816145cb565b602082015261563c846040850161509c565b6040820152608083015161564f816145cb565b60608201529392505050565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00c7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122004768d8f3291a0d555fb7fa5a0401ae8223a2ceda2c58a34e0b60f8779bc85d264736f6c63430008140033",
1126
+ "linkReferences": {
1127
+ "contracts/types/Blocknumber.sol": {
1128
+ "BlocknumberLib": [
1129
+ {
1130
+ "length": 20,
1131
+ "start": 6163
1132
+ }
1133
+ ]
1134
+ },
1135
+ "contracts/types/Fee.sol": {
1136
+ "FeeLib": [
1137
+ {
1138
+ "length": 20,
1139
+ "start": 14253
1140
+ },
1141
+ {
1142
+ "length": 20,
1143
+ "start": 14516
1144
+ },
1145
+ {
1146
+ "length": 20,
1147
+ "start": 16383
1148
+ },
1149
+ {
1150
+ "length": 20,
1151
+ "start": 16646
1152
+ },
1153
+ {
1154
+ "length": 20,
1155
+ "start": 17012
1156
+ },
1157
+ {
1158
+ "length": 20,
1159
+ "start": 17152
1160
+ }
1161
+ ]
1162
+ },
1163
+ "contracts/types/NftId.sol": {
1164
+ "NftIdLib": [
1165
+ {
1166
+ "length": 20,
1167
+ "start": 4076
1168
+ },
1169
+ {
1170
+ "length": 20,
1171
+ "start": 8236
1172
+ }
1173
+ ]
1174
+ },
1175
+ "contracts/types/Timestamp.sol": {
1176
+ "TimestampLib": [
1177
+ {
1178
+ "length": 20,
1179
+ "start": 2151
1180
+ },
1181
+ {
1182
+ "length": 20,
1183
+ "start": 2500
1184
+ },
1185
+ {
1186
+ "length": 20,
1187
+ "start": 2779
1188
+ },
1189
+ {
1190
+ "length": 20,
1191
+ "start": 2928
1192
+ },
1193
+ {
1194
+ "length": 20,
1195
+ "start": 3105
1196
+ },
1197
+ {
1198
+ "length": 20,
1199
+ "start": 5735
1200
+ },
1201
+ {
1202
+ "length": 20,
1203
+ "start": 5954
1204
+ },
1205
+ {
1206
+ "length": 20,
1207
+ "start": 7311
1208
+ },
1209
+ {
1210
+ "length": 20,
1211
+ "start": 9793
1212
+ },
1213
+ {
1214
+ "length": 20,
1215
+ "start": 9931
1216
+ },
1217
+ {
1218
+ "length": 20,
1219
+ "start": 12195
1220
+ }
1221
+ ]
1222
+ },
1223
+ "contracts/types/UFixed.sol": {
1224
+ "UFixedLib": [
1225
+ {
1226
+ "length": 20,
1227
+ "start": 6291
1228
+ },
1229
+ {
1230
+ "length": 20,
1231
+ "start": 6424
1232
+ }
1233
+ ]
1234
+ },
1235
+ "contracts/types/Version.sol": {
1236
+ "VersionLib": [
1237
+ {
1238
+ "length": 20,
1239
+ "start": 3512
1240
+ },
1241
+ {
1242
+ "length": 20,
1243
+ "start": 5063
1244
+ },
1245
+ {
1246
+ "length": 20,
1247
+ "start": 10966
1248
+ }
1249
+ ]
1250
+ }
1251
+ },
1252
+ "deployedLinkReferences": {
1253
+ "contracts/types/Blocknumber.sol": {
1254
+ "BlocknumberLib": [
1255
+ {
1256
+ "length": 20,
1257
+ "start": 5933
1258
+ }
1259
+ ]
1260
+ },
1261
+ "contracts/types/Fee.sol": {
1262
+ "FeeLib": [
1263
+ {
1264
+ "length": 20,
1265
+ "start": 14023
1266
+ },
1267
+ {
1268
+ "length": 20,
1269
+ "start": 14286
1270
+ },
1271
+ {
1272
+ "length": 20,
1273
+ "start": 16153
1274
+ },
1275
+ {
1276
+ "length": 20,
1277
+ "start": 16416
1278
+ },
1279
+ {
1280
+ "length": 20,
1281
+ "start": 16782
1282
+ },
1283
+ {
1284
+ "length": 20,
1285
+ "start": 16922
1286
+ }
1287
+ ]
1288
+ },
1289
+ "contracts/types/NftId.sol": {
1290
+ "NftIdLib": [
1291
+ {
1292
+ "length": 20,
1293
+ "start": 3846
1294
+ },
1295
+ {
1296
+ "length": 20,
1297
+ "start": 8006
1298
+ }
1299
+ ]
1300
+ },
1301
+ "contracts/types/Timestamp.sol": {
1302
+ "TimestampLib": [
1303
+ {
1304
+ "length": 20,
1305
+ "start": 1921
1306
+ },
1307
+ {
1308
+ "length": 20,
1309
+ "start": 2270
1310
+ },
1311
+ {
1312
+ "length": 20,
1313
+ "start": 2549
1314
+ },
1315
+ {
1316
+ "length": 20,
1317
+ "start": 2698
1318
+ },
1319
+ {
1320
+ "length": 20,
1321
+ "start": 2875
1322
+ },
1323
+ {
1324
+ "length": 20,
1325
+ "start": 5505
1326
+ },
1327
+ {
1328
+ "length": 20,
1329
+ "start": 5724
1330
+ },
1331
+ {
1332
+ "length": 20,
1333
+ "start": 7081
1334
+ },
1335
+ {
1336
+ "length": 20,
1337
+ "start": 9563
1338
+ },
1339
+ {
1340
+ "length": 20,
1341
+ "start": 9701
1342
+ },
1343
+ {
1344
+ "length": 20,
1345
+ "start": 11965
1346
+ }
1347
+ ]
1348
+ },
1349
+ "contracts/types/UFixed.sol": {
1350
+ "UFixedLib": [
1351
+ {
1352
+ "length": 20,
1353
+ "start": 6061
1354
+ },
1355
+ {
1356
+ "length": 20,
1357
+ "start": 6194
1358
+ }
1359
+ ]
1360
+ },
1361
+ "contracts/types/Version.sol": {
1362
+ "VersionLib": [
1363
+ {
1364
+ "length": 20,
1365
+ "start": 3282
1366
+ },
1367
+ {
1368
+ "length": 20,
1369
+ "start": 4833
1370
+ },
1371
+ {
1372
+ "length": 20,
1373
+ "start": 10736
1374
+ }
1375
+ ]
1376
+ }
1377
+ }
1378
+ }