@etherisc/gif-next 0.0.2-d3543ee-345 → 0.0.2-d372e08-980

Sign up to get free protection for your applications and to get access to all the features.
Files changed (394) hide show
  1. package/README.md +268 -7
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +4 -0
  3. package/artifacts/contracts/{instance/component/ComponentModule.sol/ComponentModule.json → components/BaseComponent.sol/BaseComponent.json} +171 -143
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +618 -0
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/{IPool.sol/IPoolComponent.json → IBaseComponent.sol/IBaseComponent.json} +136 -111
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +152 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/policy/IPolicy.sol/IPolicyModule.json → components/IPoolComponent.sol/IPoolComponent.json} +124 -129
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +157 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +536 -77
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +480 -97
  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/Require.sol/Require.json +2 -2
  26. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -2
  28. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
  30. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
  32. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  36. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  39. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  40. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  41. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  42. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  43. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  44. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  45. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  46. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  47. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
  48. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  49. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
  50. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +4 -0
  51. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +101 -0
  52. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +4 -0
  53. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +1132 -0
  54. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +4 -0
  55. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +1082 -0
  56. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  57. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1048 -842
  58. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +480 -0
  60. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  61. package/artifacts/contracts/instance/Instance.sol/Instance.json +2808 -951
  62. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +917 -0
  64. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1422 -0
  66. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +931 -0
  68. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +508 -0
  70. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
  71. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +540 -0
  72. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  73. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +113 -0
  74. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  75. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
  76. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  77. package/artifacts/contracts/instance/{lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
  78. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  79. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +502 -0
  80. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  81. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
  82. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  83. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +211 -0
  84. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  85. package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
  86. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  87. package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IDistribution.sol/IDistribution.json} +2 -2
  88. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  89. package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
  90. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
  92. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  93. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.json +10 -0
  94. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  95. package/artifacts/contracts/instance/{treasury → module}/ITreasury.sol/ITreasury.json +1 -1
  96. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +827 -0
  98. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +716 -0
  100. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +444 -0
  102. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +466 -0
  104. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +446 -0
  106. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  107. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +669 -0
  108. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  109. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +760 -0
  110. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  111. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +971 -0
  112. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  113. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +460 -0
  114. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  115. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +1147 -0
  116. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  117. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +488 -0
  118. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  119. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +239 -2
  120. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  121. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +484 -27
  122. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  123. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +947 -0
  124. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  125. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  126. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  127. package/artifacts/contracts/registry/Registry.sol/Registry.json +623 -43
  128. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  129. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1293 -0
  130. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +517 -0
  132. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  133. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +410 -0
  134. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  135. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  136. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  137. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +35 -0
  138. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  139. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
  140. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  141. package/artifacts/contracts/{components/Component.sol/Component.json → shared/IRegisterable.sol/IRegisterable.json} +98 -102
  142. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  143. package/artifacts/contracts/shared/IService.sol/IService.json +421 -0
  144. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  145. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +205 -0
  146. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  147. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
  148. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  149. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
  150. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  151. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +274 -0
  152. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +4 -0
  153. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +442 -0
  154. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  155. package/artifacts/contracts/shared/Service.sol/Service.json +468 -0
  156. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  157. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  158. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  159. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  160. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  161. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +228 -0
  162. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  163. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  164. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  165. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +305 -0
  166. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  167. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  168. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  169. package/artifacts/contracts/test/TestService.sol/TestService.json +600 -0
  170. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  171. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
  172. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  173. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  174. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  175. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +286 -0
  176. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  177. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  178. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  179. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  180. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  182. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  183. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  184. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  185. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  186. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  187. package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
  188. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  189. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
  190. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
  192. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  193. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +10 -0
  194. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  196. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  198. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  200. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  201. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  202. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  203. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  204. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  206. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +77 -2
  208. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  209. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  210. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  211. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  212. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  213. package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
  214. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  215. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
  216. package/contracts/components/BaseComponent.sol +91 -0
  217. package/contracts/components/Distribution.sol +163 -0
  218. package/contracts/components/IBaseComponent.sol +25 -0
  219. package/contracts/components/IDistributionComponent.sol +44 -0
  220. package/contracts/components/IPoolComponent.sol +62 -0
  221. package/contracts/components/IProductComponent.sol +35 -0
  222. package/contracts/components/Pool.sol +220 -25
  223. package/contracts/components/Product.sol +245 -45
  224. package/contracts/experiment/cloning/Cloner.sol +47 -0
  225. package/contracts/instance/AccessManagedSimple.sol +115 -0
  226. package/contracts/instance/AccessManagerSimple.sol +692 -0
  227. package/contracts/instance/IAccessManagerSimple.sol +391 -0
  228. package/contracts/instance/IInstance.sol +53 -24
  229. package/contracts/instance/IInstanceService.sol +30 -0
  230. package/contracts/instance/Instance.sol +423 -52
  231. package/contracts/instance/InstanceAccessManager.sol +288 -0
  232. package/contracts/instance/InstanceReader.sol +315 -0
  233. package/contracts/instance/InstanceService.sol +198 -0
  234. package/contracts/instance/InstanceServiceManager.sol +57 -0
  235. package/contracts/instance/base/ComponentServiceBase.sol +134 -0
  236. package/contracts/instance/base/IInstanceBase.sol +23 -0
  237. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  238. package/contracts/instance/base/ILifecycle.sol +30 -0
  239. package/contracts/instance/base/KeyValueStore.sol +172 -0
  240. package/contracts/instance/base/Lifecycle.sol +100 -0
  241. package/contracts/instance/module/IAccess.sol +38 -0
  242. package/contracts/instance/module/IBundle.sol +20 -0
  243. package/contracts/instance/module/IDistribution.sol +39 -0
  244. package/contracts/instance/module/IPolicy.sol +45 -0
  245. package/contracts/instance/module/IRisk.sol +11 -0
  246. package/contracts/instance/module/ISetup.sol +47 -0
  247. package/contracts/instance/module/ITreasury.sol +23 -0
  248. package/contracts/instance/service/ComponentOwnerService.sol +317 -0
  249. package/contracts/instance/service/DistributionService.sol +88 -0
  250. package/contracts/instance/service/DistributionServiceManager.sol +54 -0
  251. package/contracts/instance/service/IComponentOwnerService.sol +20 -0
  252. package/contracts/instance/service/IDistributionService.sol +12 -0
  253. package/contracts/instance/service/IPoolService.sol +43 -0
  254. package/contracts/instance/service/IProductService.sol +110 -0
  255. package/contracts/instance/service/PoolService.sol +204 -0
  256. package/contracts/instance/service/PoolServiceManager.sol +54 -0
  257. package/contracts/instance/service/ProductService.sol +561 -0
  258. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  259. package/contracts/registry/ChainNft.sol +129 -62
  260. package/contracts/registry/IRegistry.sol +57 -43
  261. package/contracts/registry/IRegistryService.sol +50 -0
  262. package/contracts/registry/ITransferInterceptor.sol +6 -0
  263. package/contracts/registry/Registry.sol +392 -126
  264. package/contracts/registry/RegistryService.sol +358 -0
  265. package/contracts/registry/RegistryServiceManager.sol +80 -0
  266. package/contracts/registry/TokenRegistry.sol +111 -0
  267. package/contracts/shared/ContractDeployerLib.sol +72 -0
  268. package/contracts/shared/ERC165.sol +25 -0
  269. package/contracts/shared/INftOwnable.sol +22 -0
  270. package/contracts/shared/IRegisterable.sol +17 -0
  271. package/contracts/shared/IService.sol +15 -0
  272. package/contracts/shared/IVersionable.sol +96 -0
  273. package/contracts/shared/NftOwnable.sol +134 -0
  274. package/contracts/shared/ProxyManager.sol +94 -0
  275. package/contracts/shared/Registerable.sol +90 -0
  276. package/contracts/shared/RegisterableUpgradable.sol +16 -0
  277. package/contracts/shared/Service.sol +55 -0
  278. package/contracts/shared/TokenHandler.sol +27 -0
  279. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  280. package/contracts/shared/Versionable.sol +147 -0
  281. package/contracts/test/TestFee.sol +25 -0
  282. package/contracts/test/TestRegisterable.sol +18 -0
  283. package/contracts/test/TestRoleId.sol +14 -0
  284. package/contracts/test/TestService.sol +24 -0
  285. package/contracts/test/TestToken.sol +26 -0
  286. package/contracts/test/TestVersion.sol +44 -0
  287. package/contracts/test/TestVersionable.sol +17 -0
  288. package/contracts/test/Usdc.sol +26 -0
  289. package/contracts/types/AddressSet.sol +58 -0
  290. package/contracts/types/DistributorType.sol +55 -0
  291. package/contracts/types/Fee.sol +44 -20
  292. package/contracts/types/Key32.sol +50 -0
  293. package/contracts/types/NftId.sol +22 -1
  294. package/contracts/types/NftIdSet.sol +60 -0
  295. package/contracts/types/NumberId.sol +52 -0
  296. package/contracts/types/ObjectType.sol +60 -15
  297. package/contracts/types/Referral.sol +85 -0
  298. package/contracts/types/RiskId.sol +43 -0
  299. package/contracts/types/RoleId.sol +90 -0
  300. package/contracts/types/StateId.sol +18 -4
  301. package/contracts/types/Timestamp.sol +29 -4
  302. package/contracts/types/UFixed.sol +150 -31
  303. package/contracts/types/Version.sol +107 -0
  304. package/package.json +14 -5
  305. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  306. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  307. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  308. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  309. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  310. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -74
  311. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  312. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
  313. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  314. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  315. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
  316. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  317. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  318. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  319. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
  320. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  321. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  322. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -202
  323. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  324. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  325. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -205
  326. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  327. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -217
  328. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  329. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -141
  330. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  331. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
  332. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  333. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
  334. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  335. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  336. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  337. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  338. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  339. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  340. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -254
  341. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  342. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  343. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -129
  344. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  345. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -155
  346. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  347. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  348. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  349. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -127
  350. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  351. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  352. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  353. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -196
  354. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  355. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  356. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +0 -490
  357. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  358. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +0 -45
  359. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  360. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +0 -490
  361. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  362. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  363. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  364. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
  365. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  366. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  367. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  368. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
  369. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  370. package/artifacts/contracts/registry/Registry.sol/Registerable.json +0 -166
  371. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  372. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  373. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  374. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
  375. package/contracts/components/Component.sol +0 -77
  376. package/contracts/components/IPool.sol +0 -15
  377. package/contracts/components/IProduct.sol +0 -16
  378. package/contracts/experiment/statemachine/README.md +0 -112
  379. package/contracts/instance/access/Access.sol +0 -165
  380. package/contracts/instance/access/IAccess.sol +0 -63
  381. package/contracts/instance/component/ComponentModule.sol +0 -274
  382. package/contracts/instance/component/IComponent.sol +0 -74
  383. package/contracts/instance/lifecycle/ILifecycle.sol +0 -47
  384. package/contracts/instance/lifecycle/LifecycleModule.sol +0 -88
  385. package/contracts/instance/policy/IPolicy.sol +0 -50
  386. package/contracts/instance/policy/PolicyModule.sol +0 -114
  387. package/contracts/instance/pool/IPoolModule.sol +0 -23
  388. package/contracts/instance/pool/PoolModule.sol +0 -81
  389. package/contracts/instance/product/IProductService.sol +0 -36
  390. package/contracts/instance/product/ProductService.sol +0 -136
  391. package/contracts/instance/treasury/ITreasury.sol +0 -91
  392. package/contracts/instance/treasury/TokenHandler.sol +0 -24
  393. package/contracts/instance/treasury/TreasuryModule.sol +0 -168
  394. package/contracts/registry/IChainNft.sol +0 -21
@@ -0,0 +1,1147 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ProductService",
4
+ "sourceName": "contracts/instance/service/ProductService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "ObjectType",
10
+ "name": "componentType",
11
+ "type": "uint8"
12
+ }
13
+ ],
14
+ "name": "ComponentTypeInvalid",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "registry",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "NftId",
26
+ "name": "nftId",
27
+ "type": "uint96"
28
+ }
29
+ ],
30
+ "name": "ErrorAlreadyLinked",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "contractAddress",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "ErrorContractNotRegistered",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "customer",
49
+ "type": "address"
50
+ },
51
+ {
52
+ "internalType": "address",
53
+ "name": "tokenHandlerAddress",
54
+ "type": "address"
55
+ },
56
+ {
57
+ "internalType": "uint256",
58
+ "name": "amount",
59
+ "type": "uint256"
60
+ }
61
+ ],
62
+ "name": "ErrorIProductServiceInsufficientAllowance",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "address",
69
+ "name": "account",
70
+ "type": "address"
71
+ }
72
+ ],
73
+ "name": "ErrorNotOwner",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "registryAddress",
81
+ "type": "address"
82
+ }
83
+ ],
84
+ "name": "ErrorNotRegistry",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [
89
+ {
90
+ "internalType": "address",
91
+ "name": "registryAddress",
92
+ "type": "address"
93
+ }
94
+ ],
95
+ "name": "ErrorRegisterableNotRegistry",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [],
100
+ "name": "ErrorRegistryAddressZero",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [
105
+ {
106
+ "internalType": "address",
107
+ "name": "registry",
108
+ "type": "address"
109
+ }
110
+ ],
111
+ "name": "ErrorRegistryAlreadyInitialized",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [],
116
+ "name": "ErrorRegistryNotInitialized",
117
+ "type": "error"
118
+ },
119
+ {
120
+ "inputs": [
121
+ {
122
+ "internalType": "RoleId",
123
+ "name": "expected",
124
+ "type": "uint64"
125
+ },
126
+ {
127
+ "internalType": "address",
128
+ "name": "caller",
129
+ "type": "address"
130
+ }
131
+ ],
132
+ "name": "ExpectedRoleMissing",
133
+ "type": "error"
134
+ },
135
+ {
136
+ "inputs": [],
137
+ "name": "InvalidInitialization",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [],
142
+ "name": "NotInitializing",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "anonymous": false,
147
+ "inputs": [
148
+ {
149
+ "indexed": false,
150
+ "internalType": "uint64",
151
+ "name": "version",
152
+ "type": "uint64"
153
+ }
154
+ ],
155
+ "name": "Initialized",
156
+ "type": "event"
157
+ },
158
+ {
159
+ "anonymous": false,
160
+ "inputs": [
161
+ {
162
+ "indexed": false,
163
+ "internalType": "address",
164
+ "name": "sender",
165
+ "type": "address"
166
+ }
167
+ ],
168
+ "name": "LogProductServiceSender",
169
+ "type": "event"
170
+ },
171
+ {
172
+ "anonymous": false,
173
+ "inputs": [
174
+ {
175
+ "indexed": false,
176
+ "internalType": "Version",
177
+ "name": "version",
178
+ "type": "uint24"
179
+ },
180
+ {
181
+ "indexed": false,
182
+ "internalType": "address",
183
+ "name": "implementation",
184
+ "type": "address"
185
+ },
186
+ {
187
+ "indexed": false,
188
+ "internalType": "address",
189
+ "name": "activatedBy",
190
+ "type": "address"
191
+ }
192
+ ],
193
+ "name": "LogVersionableInitialized",
194
+ "type": "event"
195
+ },
196
+ {
197
+ "inputs": [],
198
+ "name": "NAME",
199
+ "outputs": [
200
+ {
201
+ "internalType": "string",
202
+ "name": "",
203
+ "type": "string"
204
+ }
205
+ ],
206
+ "stateMutability": "view",
207
+ "type": "function"
208
+ },
209
+ {
210
+ "inputs": [],
211
+ "name": "REGISTERABLE_LOCATION_V1",
212
+ "outputs": [
213
+ {
214
+ "internalType": "bytes32",
215
+ "name": "",
216
+ "type": "bytes32"
217
+ }
218
+ ],
219
+ "stateMutability": "view",
220
+ "type": "function"
221
+ },
222
+ {
223
+ "inputs": [
224
+ {
225
+ "internalType": "NftId",
226
+ "name": "policyNftId",
227
+ "type": "uint96"
228
+ },
229
+ {
230
+ "internalType": "Timestamp",
231
+ "name": "activateAt",
232
+ "type": "uint40"
233
+ }
234
+ ],
235
+ "name": "activate",
236
+ "outputs": [],
237
+ "stateMutability": "nonpayable",
238
+ "type": "function"
239
+ },
240
+ {
241
+ "inputs": [
242
+ {
243
+ "internalType": "RiskId",
244
+ "name": "riskId",
245
+ "type": "bytes8"
246
+ },
247
+ {
248
+ "internalType": "uint256",
249
+ "name": "sumInsuredAmount",
250
+ "type": "uint256"
251
+ },
252
+ {
253
+ "internalType": "uint256",
254
+ "name": "lifetime",
255
+ "type": "uint256"
256
+ },
257
+ {
258
+ "internalType": "bytes",
259
+ "name": "applicationData",
260
+ "type": "bytes"
261
+ },
262
+ {
263
+ "internalType": "NftId",
264
+ "name": "bundleNftId",
265
+ "type": "uint96"
266
+ },
267
+ {
268
+ "internalType": "ReferralId",
269
+ "name": "referralId",
270
+ "type": "bytes8"
271
+ }
272
+ ],
273
+ "name": "calculatePremium",
274
+ "outputs": [
275
+ {
276
+ "internalType": "uint256",
277
+ "name": "premiumAmount",
278
+ "type": "uint256"
279
+ },
280
+ {
281
+ "internalType": "uint256",
282
+ "name": "productFeeAmount",
283
+ "type": "uint256"
284
+ },
285
+ {
286
+ "internalType": "uint256",
287
+ "name": "poolFeeAmount",
288
+ "type": "uint256"
289
+ },
290
+ {
291
+ "internalType": "uint256",
292
+ "name": "bundleFeeAmount",
293
+ "type": "uint256"
294
+ },
295
+ {
296
+ "internalType": "uint256",
297
+ "name": "distributionFeeAmount",
298
+ "type": "uint256"
299
+ }
300
+ ],
301
+ "stateMutability": "view",
302
+ "type": "function"
303
+ },
304
+ {
305
+ "inputs": [
306
+ {
307
+ "internalType": "UFixed",
308
+ "name": "collateralizationLevel",
309
+ "type": "uint256"
310
+ },
311
+ {
312
+ "internalType": "uint256",
313
+ "name": "sumInsuredAmount",
314
+ "type": "uint256"
315
+ }
316
+ ],
317
+ "name": "calculateRequiredCollateral",
318
+ "outputs": [
319
+ {
320
+ "internalType": "uint256",
321
+ "name": "collateralAmount",
322
+ "type": "uint256"
323
+ }
324
+ ],
325
+ "stateMutability": "pure",
326
+ "type": "function"
327
+ },
328
+ {
329
+ "inputs": [
330
+ {
331
+ "internalType": "NftId",
332
+ "name": "policyNftId",
333
+ "type": "uint96"
334
+ }
335
+ ],
336
+ "name": "close",
337
+ "outputs": [],
338
+ "stateMutability": "nonpayable",
339
+ "type": "function"
340
+ },
341
+ {
342
+ "inputs": [
343
+ {
344
+ "internalType": "NftId",
345
+ "name": "policyNftId",
346
+ "type": "uint96"
347
+ },
348
+ {
349
+ "internalType": "Timestamp",
350
+ "name": "activateAt",
351
+ "type": "uint40"
352
+ }
353
+ ],
354
+ "name": "collectPremium",
355
+ "outputs": [],
356
+ "stateMutability": "nonpayable",
357
+ "type": "function"
358
+ },
359
+ {
360
+ "inputs": [
361
+ {
362
+ "internalType": "address",
363
+ "name": "applicationOwner",
364
+ "type": "address"
365
+ },
366
+ {
367
+ "internalType": "RiskId",
368
+ "name": "riskId",
369
+ "type": "bytes8"
370
+ },
371
+ {
372
+ "internalType": "uint256",
373
+ "name": "sumInsuredAmount",
374
+ "type": "uint256"
375
+ },
376
+ {
377
+ "internalType": "uint256",
378
+ "name": "lifetime",
379
+ "type": "uint256"
380
+ },
381
+ {
382
+ "internalType": "bytes",
383
+ "name": "applicationData",
384
+ "type": "bytes"
385
+ },
386
+ {
387
+ "internalType": "NftId",
388
+ "name": "bundleNftId",
389
+ "type": "uint96"
390
+ },
391
+ {
392
+ "internalType": "ReferralId",
393
+ "name": "referralId",
394
+ "type": "bytes8"
395
+ }
396
+ ],
397
+ "name": "createApplication",
398
+ "outputs": [
399
+ {
400
+ "internalType": "NftId",
401
+ "name": "policyNftId",
402
+ "type": "uint96"
403
+ }
404
+ ],
405
+ "stateMutability": "nonpayable",
406
+ "type": "function"
407
+ },
408
+ {
409
+ "inputs": [
410
+ {
411
+ "internalType": "RiskId",
412
+ "name": "riskId",
413
+ "type": "bytes8"
414
+ },
415
+ {
416
+ "internalType": "bytes",
417
+ "name": "data",
418
+ "type": "bytes"
419
+ }
420
+ ],
421
+ "name": "createRisk",
422
+ "outputs": [],
423
+ "stateMutability": "nonpayable",
424
+ "type": "function"
425
+ },
426
+ {
427
+ "inputs": [],
428
+ "name": "getInitialInfo",
429
+ "outputs": [
430
+ {
431
+ "components": [
432
+ {
433
+ "internalType": "NftId",
434
+ "name": "nftId",
435
+ "type": "uint96"
436
+ },
437
+ {
438
+ "internalType": "NftId",
439
+ "name": "parentNftId",
440
+ "type": "uint96"
441
+ },
442
+ {
443
+ "internalType": "ObjectType",
444
+ "name": "objectType",
445
+ "type": "uint8"
446
+ },
447
+ {
448
+ "internalType": "bool",
449
+ "name": "isInterceptor",
450
+ "type": "bool"
451
+ },
452
+ {
453
+ "internalType": "address",
454
+ "name": "objectAddress",
455
+ "type": "address"
456
+ },
457
+ {
458
+ "internalType": "address",
459
+ "name": "initialOwner",
460
+ "type": "address"
461
+ },
462
+ {
463
+ "internalType": "bytes",
464
+ "name": "data",
465
+ "type": "bytes"
466
+ }
467
+ ],
468
+ "internalType": "struct IRegistry.ObjectInfo",
469
+ "name": "",
470
+ "type": "tuple"
471
+ },
472
+ {
473
+ "internalType": "bytes",
474
+ "name": "data",
475
+ "type": "bytes"
476
+ }
477
+ ],
478
+ "stateMutability": "view",
479
+ "type": "function"
480
+ },
481
+ {
482
+ "inputs": [],
483
+ "name": "getInitializedVersion",
484
+ "outputs": [
485
+ {
486
+ "internalType": "uint64",
487
+ "name": "",
488
+ "type": "uint64"
489
+ }
490
+ ],
491
+ "stateMutability": "view",
492
+ "type": "function"
493
+ },
494
+ {
495
+ "inputs": [],
496
+ "name": "getInstanceService",
497
+ "outputs": [
498
+ {
499
+ "internalType": "contract InstanceService",
500
+ "name": "",
501
+ "type": "address"
502
+ }
503
+ ],
504
+ "stateMutability": "view",
505
+ "type": "function"
506
+ },
507
+ {
508
+ "inputs": [],
509
+ "name": "getMajorVersion",
510
+ "outputs": [
511
+ {
512
+ "internalType": "VersionPart",
513
+ "name": "majorVersion",
514
+ "type": "uint8"
515
+ }
516
+ ],
517
+ "stateMutability": "view",
518
+ "type": "function"
519
+ },
520
+ {
521
+ "inputs": [],
522
+ "name": "getName",
523
+ "outputs": [
524
+ {
525
+ "internalType": "string",
526
+ "name": "name",
527
+ "type": "string"
528
+ }
529
+ ],
530
+ "stateMutability": "pure",
531
+ "type": "function"
532
+ },
533
+ {
534
+ "inputs": [],
535
+ "name": "getNftId",
536
+ "outputs": [
537
+ {
538
+ "internalType": "NftId",
539
+ "name": "",
540
+ "type": "uint96"
541
+ }
542
+ ],
543
+ "stateMutability": "view",
544
+ "type": "function"
545
+ },
546
+ {
547
+ "inputs": [],
548
+ "name": "getOwner",
549
+ "outputs": [
550
+ {
551
+ "internalType": "address",
552
+ "name": "",
553
+ "type": "address"
554
+ }
555
+ ],
556
+ "stateMutability": "view",
557
+ "type": "function"
558
+ },
559
+ {
560
+ "inputs": [],
561
+ "name": "getRegistry",
562
+ "outputs": [
563
+ {
564
+ "internalType": "contract IRegistry",
565
+ "name": "",
566
+ "type": "address"
567
+ }
568
+ ],
569
+ "stateMutability": "view",
570
+ "type": "function"
571
+ },
572
+ {
573
+ "inputs": [],
574
+ "name": "getRegistryService",
575
+ "outputs": [
576
+ {
577
+ "internalType": "contract IRegistryService",
578
+ "name": "",
579
+ "type": "address"
580
+ }
581
+ ],
582
+ "stateMutability": "view",
583
+ "type": "function"
584
+ },
585
+ {
586
+ "inputs": [],
587
+ "name": "getVersion",
588
+ "outputs": [
589
+ {
590
+ "internalType": "Version",
591
+ "name": "",
592
+ "type": "uint24"
593
+ }
594
+ ],
595
+ "stateMutability": "pure",
596
+ "type": "function"
597
+ },
598
+ {
599
+ "inputs": [
600
+ {
601
+ "internalType": "uint256",
602
+ "name": "idx",
603
+ "type": "uint256"
604
+ }
605
+ ],
606
+ "name": "getVersion",
607
+ "outputs": [
608
+ {
609
+ "internalType": "Version",
610
+ "name": "",
611
+ "type": "uint24"
612
+ }
613
+ ],
614
+ "stateMutability": "view",
615
+ "type": "function"
616
+ },
617
+ {
618
+ "inputs": [],
619
+ "name": "getVersionCount",
620
+ "outputs": [
621
+ {
622
+ "internalType": "uint256",
623
+ "name": "",
624
+ "type": "uint256"
625
+ }
626
+ ],
627
+ "stateMutability": "view",
628
+ "type": "function"
629
+ },
630
+ {
631
+ "inputs": [
632
+ {
633
+ "internalType": "Version",
634
+ "name": "_version",
635
+ "type": "uint24"
636
+ }
637
+ ],
638
+ "name": "getVersionInfo",
639
+ "outputs": [
640
+ {
641
+ "components": [
642
+ {
643
+ "internalType": "Version",
644
+ "name": "version",
645
+ "type": "uint24"
646
+ },
647
+ {
648
+ "internalType": "address",
649
+ "name": "implementation",
650
+ "type": "address"
651
+ },
652
+ {
653
+ "internalType": "address",
654
+ "name": "activatedBy",
655
+ "type": "address"
656
+ },
657
+ {
658
+ "internalType": "Timestamp",
659
+ "name": "activatedAt",
660
+ "type": "uint40"
661
+ },
662
+ {
663
+ "internalType": "Blocknumber",
664
+ "name": "activatedIn",
665
+ "type": "uint32"
666
+ }
667
+ ],
668
+ "internalType": "struct IVersionable.VersionInfo",
669
+ "name": "",
670
+ "type": "tuple"
671
+ }
672
+ ],
673
+ "stateMutability": "view",
674
+ "type": "function"
675
+ },
676
+ {
677
+ "inputs": [
678
+ {
679
+ "internalType": "address",
680
+ "name": "implementation",
681
+ "type": "address"
682
+ },
683
+ {
684
+ "internalType": "address",
685
+ "name": "activatedBy",
686
+ "type": "address"
687
+ },
688
+ {
689
+ "internalType": "bytes",
690
+ "name": "data",
691
+ "type": "bytes"
692
+ }
693
+ ],
694
+ "name": "initialize",
695
+ "outputs": [],
696
+ "stateMutability": "nonpayable",
697
+ "type": "function"
698
+ },
699
+ {
700
+ "inputs": [
701
+ {
702
+ "internalType": "Version",
703
+ "name": "_version",
704
+ "type": "uint24"
705
+ }
706
+ ],
707
+ "name": "isInitialized",
708
+ "outputs": [
709
+ {
710
+ "internalType": "bool",
711
+ "name": "",
712
+ "type": "bool"
713
+ }
714
+ ],
715
+ "stateMutability": "view",
716
+ "type": "function"
717
+ },
718
+ {
719
+ "inputs": [],
720
+ "name": "linkToRegisteredNftId",
721
+ "outputs": [],
722
+ "stateMutability": "nonpayable",
723
+ "type": "function"
724
+ },
725
+ {
726
+ "inputs": [
727
+ {
728
+ "internalType": "address",
729
+ "name": "componentAddress",
730
+ "type": "address"
731
+ }
732
+ ],
733
+ "name": "register",
734
+ "outputs": [
735
+ {
736
+ "internalType": "NftId",
737
+ "name": "componentNftId",
738
+ "type": "uint96"
739
+ }
740
+ ],
741
+ "stateMutability": "nonpayable",
742
+ "type": "function"
743
+ },
744
+ {
745
+ "inputs": [
746
+ {
747
+ "internalType": "NftId",
748
+ "name": "policyNftId",
749
+ "type": "uint96"
750
+ }
751
+ ],
752
+ "name": "revoke",
753
+ "outputs": [],
754
+ "stateMutability": "nonpayable",
755
+ "type": "function"
756
+ },
757
+ {
758
+ "inputs": [
759
+ {
760
+ "components": [
761
+ {
762
+ "internalType": "UFixed",
763
+ "name": "fractionalFee",
764
+ "type": "uint256"
765
+ },
766
+ {
767
+ "internalType": "uint256",
768
+ "name": "fixedFee",
769
+ "type": "uint256"
770
+ }
771
+ ],
772
+ "internalType": "struct Fee",
773
+ "name": "productFee",
774
+ "type": "tuple"
775
+ },
776
+ {
777
+ "components": [
778
+ {
779
+ "internalType": "UFixed",
780
+ "name": "fractionalFee",
781
+ "type": "uint256"
782
+ },
783
+ {
784
+ "internalType": "uint256",
785
+ "name": "fixedFee",
786
+ "type": "uint256"
787
+ }
788
+ ],
789
+ "internalType": "struct Fee",
790
+ "name": "processingFee",
791
+ "type": "tuple"
792
+ }
793
+ ],
794
+ "name": "setFees",
795
+ "outputs": [],
796
+ "stateMutability": "nonpayable",
797
+ "type": "function"
798
+ },
799
+ {
800
+ "inputs": [
801
+ {
802
+ "internalType": "bytes4",
803
+ "name": "interfaceId",
804
+ "type": "bytes4"
805
+ }
806
+ ],
807
+ "name": "supportsInterface",
808
+ "outputs": [
809
+ {
810
+ "internalType": "bool",
811
+ "name": "",
812
+ "type": "bool"
813
+ }
814
+ ],
815
+ "stateMutability": "view",
816
+ "type": "function"
817
+ },
818
+ {
819
+ "inputs": [
820
+ {
821
+ "internalType": "NftId",
822
+ "name": "policyNftId",
823
+ "type": "uint96"
824
+ },
825
+ {
826
+ "internalType": "bool",
827
+ "name": "requirePremiumPayment",
828
+ "type": "bool"
829
+ },
830
+ {
831
+ "internalType": "Timestamp",
832
+ "name": "activateAt",
833
+ "type": "uint40"
834
+ }
835
+ ],
836
+ "name": "underwrite",
837
+ "outputs": [],
838
+ "stateMutability": "nonpayable",
839
+ "type": "function"
840
+ },
841
+ {
842
+ "inputs": [
843
+ {
844
+ "internalType": "RiskId",
845
+ "name": "riskId",
846
+ "type": "bytes8"
847
+ },
848
+ {
849
+ "internalType": "bytes",
850
+ "name": "data",
851
+ "type": "bytes"
852
+ }
853
+ ],
854
+ "name": "updateRisk",
855
+ "outputs": [],
856
+ "stateMutability": "nonpayable",
857
+ "type": "function"
858
+ },
859
+ {
860
+ "inputs": [
861
+ {
862
+ "internalType": "RiskId",
863
+ "name": "riskId",
864
+ "type": "bytes8"
865
+ },
866
+ {
867
+ "internalType": "StateId",
868
+ "name": "state",
869
+ "type": "uint8"
870
+ }
871
+ ],
872
+ "name": "updateRiskState",
873
+ "outputs": [],
874
+ "stateMutability": "nonpayable",
875
+ "type": "function"
876
+ },
877
+ {
878
+ "inputs": [
879
+ {
880
+ "internalType": "address",
881
+ "name": "implementation",
882
+ "type": "address"
883
+ },
884
+ {
885
+ "internalType": "address",
886
+ "name": "activatedBy",
887
+ "type": "address"
888
+ },
889
+ {
890
+ "internalType": "bytes",
891
+ "name": "data",
892
+ "type": "bytes"
893
+ }
894
+ ],
895
+ "name": "upgrade",
896
+ "outputs": [],
897
+ "stateMutability": "nonpayable",
898
+ "type": "function"
899
+ }
900
+ ],
901
+ "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615b8d806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063644c45e01161011a578063b3c65015116100ad578063c2c749871161007c578063c2c7498714610613578063caf4e3d414610626578063cc9fc59a1461062e578063cde749f414610636578063cf7a1d771461065057600080fd5b8063b3c65015146105ba578063b6b412ba146105da578063b88da759146105ed578063bbfbbfba1461060057600080fd5b8063946dfcfe116100e9578063946dfcfe146105185780639cdaa7f91461053f578063a3f4df7e1461057a578063a745e3df146105a757600080fd5b8063644c45e0146104d25780637cef4842146104ea578063893d20e8146104fd5780638f997f6d1461050557600080fd5b80634420e486116101925780635ab1bd53116101615780635ab1bd53146104745780635fd1a5f514610499578063603ccaad146104ac578063630361f6146104bf57600080fd5b80634420e4861461030a5780634d459c90146103355780634d5e16a91461044e5780634f4213331461046157600080fd5b80630fec111c116101ce5780630fec111c14610284578063138461e01461029a57806317d7de7c146102a25780631eff4b22146102d557600080fd5b806301ffc9a714610200578063095e2b72146102425780630aaba8e8146102575780630d8e6e2c14610268575b600080fd5b61022d61020e366004614560565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610255610250366004614716565b610663565b005b61025561026536600461477a565b50565b6102706106fc565b60405162ffffff9091168152602001610239565b61028c610786565b604051610239929190614858565b6102556108d9565b60408051808201909152600e81526d50726f647563745365727669636560901b60208201525b604051610239919061487d565b6102fc7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b61031d6103183660046148a5565b610afb565b6040516001600160601b039091168152602001610239565b6103f16103433660046148d3565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020615b3883398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610239565b61025561045c366004614903565b610e62565b61022d61046f3660046148d3565b611126565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610239565b6102fc6104a736600461493c565b6111d9565b6102556104ba36600461477a565b6112e2565b6102556104cd36600461496c565b611334565b600154600160a01b90046001600160601b031661031d565b6102556104f83660046149c6565b61186a565b6104816118eb565b610255610513366004614716565b611a05565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102fc565b61055261054d3660046149f4565b611b2f565b604080519586526020860194909452928401919091526060830152608082015260a001610239565b6102c86040518060400160405280600e81526020016d50726f647563745365727669636560901b81525081565b6102556105b5366004614a7c565b611c0d565b6105c2611d67565b6040516001600160401b039091168152602001610239565b6102556105e8366004614b0d565b611d88565b6102706105fb366004614b42565b611ef5565b61025561060e366004614903565b611f46565b61031d610621366004614b5b565b611fc3565b61048161227b565b610481612330565b61063e6123a8565b60405160ff9091168152602001610239565b61025561065e366004614a7c565b61242b565b600080610670606e612534565b81516040805180820182526001600160601b03831681526020810188905290516317b0844560e11b8152939550919350916001600160a01b03841690632f61088a906106c29089908590600401614c1f565b600060405180830381600087803b1580156106dc57600080fd5b505af11580156106f0573d6000803e3d6000fd5b50505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561075d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107819190614c44565b905090565b61078e6144a4565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806107da6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016108226118eb565b6001600160a01b0316815260200182600101805461083f90614c61565b80601f016020809104026020016040519081016040528092919081815260200182805461086b90614c61565b80156108b85780601f1061088d576101008083540402835291602001916108b8565b820191906000526020600020905b81548152906001019060200180831161089b57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561093b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095f9190614cab565b156109a6576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166109cf5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3c9190614cab565b610a64576040516372657a5160e01b81526001600160a01b038216600482015260240161099d565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610aae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad29190614cd3565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000818082610b09826127f2565b60ff8116600090815260036020908152604080832054815163379ed74560e21b815291519495506001600160401b0316933393926001600160a01b0388169263de7b5d1492600480830193928290030181865afa158015610b6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b929190614cf0565b9050610b9c612330565b6001600160a01b0316639c12c9c78385846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0e9190614cd3565b6040516001600160e01b031960e086901b1681526001600160a01b0390931660048401526001600160401b0390911660248301526001600160601b03166044820152606401602060405180830381865afa158015610c70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c949190614cab565b610ccb576040516351302f8160e01b81526001600160401b03841660048201526001600160a01b038316602482015260440161099d565b33886000610cd8826127f2565b90506000610ce461227b565b9050610cee6144a4565b6060610d028460785b60ff90811691161490565b15610d8a57604051638fbc2d8160e01b81526001600160a01b0386811660048301528781166024830152841690638fbc2d81906044015b6000604051808303816000875af1158015610d58573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d809190810190614e15565b9092509050610e34565b610d9584606e610cf7565b15610dd057604051635d96628960e01b81526001600160a01b0386811660048301528781166024830152841690635d96628990604401610d39565b610ddb84608c610cf7565b15610e1657604051637286e5e560e01b81526001600160a01b0386811660048301528781166024830152841690637286e5e590604401610d39565b60405163062839b560e01b815260ff8516600482015260240161099d565b81519c506000610e4383612867565b9050610e508e8383612909565b50505050505050505050505050919050565b6000610e6e606e612534565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed59190614cf0565b60405163bd7d9d8560e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015610f28573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f509190810190614e96565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610fb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd49190614cab565b6110205760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f41435449564154454400604482015260640161099d565b64ffffffffff84166101a0820181905260e0820151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801561108b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110af919061500a565b64ffffffffff166101c0820152604051634d4b06a960e11b81526001600160a01b03841690639a960d52906110ed9088908590606490600401615156565b600060405180830381600087803b15801561110757600080fd5b505af115801561111b573d6000803e3d6000fd5b505050505050505050565b600080600080516020615b3883398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156111ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d2919061518b565b1192915050565b6040516322f5db0f60e11b815260048101829052600090819073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af415801561122e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611252919061518b565b90506000611260858361297e565b604051632255341b60e11b81526004810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156112b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d7919061518b565b925050505b92915050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233343a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b606482015260840161099d565b600080611341606e612534565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611385573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a99190614cf0565b835160405163bd7d9d8560e01b81526001600160601b0389166004820152919250906000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa1580156113ff573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114279190810190614e96565b80519091506001600160601b038381169116146114865760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d41544348000000000000000000604482015260640161099d565b604051639096a1f360e01b81526001600160601b0389166004820152611502906001600160a01b03851690639096a1f390602401602060405180830381865afa1580156114d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114fb91906151a4565b600a610cf7565b61154e5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c49454400604482015260640161099d565b60006115586144e2565b60405163242bdc1960e21b81526001600160601b038516600482015260009081906001600160a01b038816906390af70649060240161024060405180830381865afa1580156115ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115cf91906151f1565b90506115dd8888878461299a565b919550935091506115f390508784848e85612b1d565b9150602864ffffffffff8a16156116a657606464ffffffffff8b166101a0870181905260e0870151604051631ded81af60e31b81526004810192909252602482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015611674573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611698919061500a565b64ffffffffff166101c08601525b8a156116f65760006116c2898b600001518f8960a00151612b47565b90508560a001518660c0018181516116da91906152e8565b90525060a0840180518291906116f19083906152e8565b905250505b604051634d4b06a960e11b81526001600160a01b03891690639a960d5290611726908f9089908690600401615156565b600060405180830381600087803b15801561174057600080fd5b505af1158015611754573d6000803e3d6000fd5b505060055460208c01516040516319efcbb760e31b81526001600160a01b03909216935063cf7e5db89250611792918890889060ff90600401615309565b600060405180830381600087803b1580156117ac57600080fd5b505af11580156117c0573d6000803e3d6000fd5b505084516040516355e343a960e01b81526001600160601b0382166004820152909250600091506001600160a01b038a16906355e343a99060240161018060405180830381865afa158015611819573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061183d91906153e3565b90508060e001511561185a5761185a828f898860400151886130ff565b5050505050505050505050505050565b6000611876606e612534565b604051633e77a42160e11b81526001600160c01b03198616600482015260ff851660248201529092506001600160a01b0383169150637cef484290604401600060405180830381600087803b1580156118ce57600080fd5b505af11580156118e2573d6000803e3d6000fd5b50505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611950573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119749190614cab565b156119f557600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a906024015b602060405180830381865afa1580156119d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107819190614cf0565b506002546001600160a01b031690565b6000611a11606e612534565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a789190614cf0565b60405163887b1fa960e01b81526001600160c01b0319861660048201529091506000906001600160a01b0383169063887b1fa990602401600060405180830381865afa158015611acc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611af49190810190615498565b602081018590526040516314eddc0360e31b81529091506001600160a01b0384169063a76ee018906110ed908890859060ff90600401615517565b600080600080600080611b406131c9565b90506000816001600160a01b0316635e78426b8d8f8e8e6040518563ffffffff1660e01b8152600401611b76949392919061553c565b602060405180830381865afa158015611b93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bb7919061518b565b9050611bc581838b8b6131e8565b92985090965094509250611bd986826152e8565b9650611be584866152e8565b611bef90886152e8565b9650611bfb83886152e8565b96505050965096509650965096915050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611c2f6106fc565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611c6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c93919061558c565b600080516020615b188339815191528054600160401b900460ff1680611cc6575080546001600160401b03808416911610155b15611ce45760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611d0f8585613881565b611d1883613b20565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610781600080516020615b18833981519152546001600160401b031690565b600080611d95606e612534565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611dd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dfd9190614cf0565b835160405163242bdc1960e21b81526001600160601b0382166004820152919250906000906001600160a01b038416906390af70649060240161024060405180830381865afa158015611e54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e7891906151f1565b60a0810188905260c081018790526040516354e750a160e11b81529091506001600160a01b0385169063a9cea14290611eba908590859060ff906004016156cf565b600060405180830381600087803b158015611ed457600080fd5b505af1158015611ee8573d6000803e3d6000fd5b5050505050505050505050565b6000600080516020615b388339815191526001018281548110611f1a57611f1a6156ff565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080611f53606e612534565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fbb9190614cf0565b505050505050565b60008080611fd1606e612534565b91509150611fdd61227b565b6001600160a01b0316635c992fed6040518060e00160405280611ffe600090565b6001600160601b039081168252865116602082015260400160d260ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016120779190615715565b6020604051808303816000875af1158015612096573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120ba9190614cd3565b925060006120cc8a8a8a8a8a8a611b2f565b505050509050600060405180610200016040528085600001516001600160601b03168152602001886001600160601b03168152602001876001600160c01b03191681526020018c6001600160c01b03191681526020018b8152602001838152602001600081526020018a8152602001898152602001604051806020016040528060008152508152602001600061ffff168152602001600061ffff1681526020016000815260200161217b600090565b64ffffffffff168152600060208201819052604091820152516202f23560ee1b81529091506001600160a01b0384169063bc8d4000906121c19088908590600401615728565b600060405180830381600087803b1580156121db57600080fd5b505af11580156121ef573d6000803e3d6000fd5b50505050826001600160a01b0316635d4345cc8661220b600a90565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b15801561225457600080fd5b505af1158015612268573d6000803e3d6000fd5b5050505050505050979650505050505050565b6000806122906001546001600160a01b031690565b6001600160a01b031663a3bcd81d6122a66123a8565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa15801561230c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112dc9190614cf0565b60006123446001546001600160a01b031690565b6001600160a01b031663a3bcd81d61235a6123a8565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e496e7374616e63655365727669636560881b606482015260ff90911660248201526084016119b4565b60006123b26106fc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612407573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078191906151a4565b600080516020615b188339815191528054600160401b810460ff1615906001600160401b031660008115801561245e5750825b90506000826001600160401b0316600114801561247a5750303b155b905081158015612488575080155b156124a65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156124d057845460ff60401b1916600160401b1785555b6124da8888613881565b6124e48787613b28565b831561252a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b61253c6144a4565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015612589573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125ad9190614cd3565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612608573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061262c9190614cab565b6126785760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e000000000000000000604482015260640161099d565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156126d3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526126fb919081019061574a565b925061271183604001518560ff90811691161490565b6127535760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161099d565b60006127676001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156127bc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526127e4919081019061574a565b608001519395939450505050565b600080826001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015612833573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261285b9190810190614e15565b50604001519392505050565b60008061287c6001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa1580156128d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526128fd919081019061574a565b60800151949350505050565b60008280602001905181019061291f91906151f1565b6040516348ffb75560e11b81529091506001600160a01b038316906391ff6eaa90612950908790859060040161577e565b600060405180830381600087803b15801561296a57600080fd5b505af115801561252a573d6000803e3d6000fd5b60006129938383670de0b6b3a7640000613d3a565b9392505050565b60006129a46144e2565b6020840151604051634793b4ab60e01b81526001600160601b03821660048201529092506000906001600160a01b03871690634793b4ab90602401600060405180830381865afa1580156129fc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612a24919081019061579c565b805160608601519193506001600160601b03908116911614612a815760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b604482015260640161099d565b60608401516040516355e343a960e01b81526001600160601b03821660048201526000906001600160a01b038916906355e343a99060240161018060405180830381865afa158015612ad7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612afb91906153e3565b9050612b0f816040015188608001516111d9565b925050509450945094915050565b612b256144e2565b8184608001818151612b3791906152e8565b9052508390505b95945050505050565b600081156130f7576000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612b8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bb39190614cf0565b60405163242bdc1960e21b81526001600160601b03871660048201526001600160a01b0391909116906390af70649060240161024060405180830381865afa158015612c03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c2791906151f1565b60208101519091506000612c436001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03881660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612c92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cb69190614cf0565b90506000886001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cf8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d1c9190614cf0565b60608501516040516355e343a960e01b81526001600160601b0390911660048201526001600160a01b0391909116906355e343a99060240161018060405180830381865afa158015612d72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d9691906153e3565b61010081015160a08601516040516346f0526160e11b8152899850929350909173__$a23651848365a6a5ca15f07b4331037f48$__90638de0a4c290612de090849060040161586d565b602060405180830381865af4158015612dfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e219190614cab565b15612e8d576040516317d5759960e31b81526001600160a01b0386169063beabacc890612e5690879086908d90600401615884565b600060405180830381600087803b158015612e7057600080fd5b505af1158015612e84573d6000803e3d6000fd5b505050506130f0565b60a086015160405163012ebd8360e21b815281516004820152602090910151602482015260448101889052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612ef8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f1c91906158a8565b91509150600088610160015190508a886001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f8d9190614cf0565b604051636eb1769f60e11b81526001600160a01b038a811660048301528b81166024830152919091169063dd62ed3e90604401602060405180830381865afa158015612fdd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613001919061518b565b10156130265786888c6040516333ac6f1760e11b815260040161099d93929190615884565b6040516317d5759960e31b81526001600160a01b0389169063beabacc890613056908a9085908890600401615884565b600060405180830381600087803b15801561307057600080fd5b505af1158015613084573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b038b16925063beabacc891506130b8908a9089908790600401615884565b600060405180830381600087803b1580156130d257600080fd5b505af11580156130e6573d6000803e3d6000fd5b50939b5050505050505b5050505050505b949350505050565b60006131136001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613162573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261318a919081019061574a565b608001516101008501516040516332f7fe0d60e11b815291925082916001600160a01b038316916365effc1a91611eba918a91899089906004016158cc565b60006131d36144a4565b6131dd606e612534565b506080015192915050565b600080600080600080886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561322f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132539190614cf0565b9050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613293573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132b79190614cf0565b9150506000886001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa1580156132fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061331e9190614cd3565b604051634793b4ab60e01b81526001600160601b038a1660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015613371573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613399919081019061579c565b80519091506001600160601b038381169116146134035760405162461bcd60e51b815260206004820152602260248201527f4552524f523a5052532d3033353a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b606482015260840161099d565b6000836001600160a01b03166390af70648c6001600160a01b03166251884a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613451573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134759190614cd3565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161024060405180830381865afa1580156134ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134de91906151f1565b60a081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015613547573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061356b91906158a8565b506040516355e343a960e01b81526001600160601b0385166004820152909850600091506001600160a01b038516906355e343a99060240161018060405180830381865afa1580156135c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135e591906153e3565b606081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af415801561364e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061367291906158a8565b50809750505060008a6001600160a01b031663db6dcc956040518163ffffffff1660e01b8152600401602060405180830381865afa1580156136b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136dc9190614cd3565b604051639ad69c6760e01b81526001600160601b03821660048201529091506000906001600160a01b03861690639ad69c679060240160c060405180830381865afa15801561372f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137539190615912565b604080820151905163012ebd8360e21b8152815160048201526020909101516024820152604481018f905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af41580156137bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137e091906158a8565b5060208481015160405163012ebd8360e21b8152815160048201529101516024820152604481018f905290965073__$a23651848365a6a5ca15f07b4331037f48$__92506304baf60c91506064016040805180830381865af415801561384a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061386e91906158a8565b5080955050505050945094509450949050565b613889613e23565b600080516020615b3883398151915260006138b9600080516020615b18833981519152546001600160401b031690565b905060006138c56106fc565b9050816001600160401b03166001036138f25760028301805462ffffff191662ffffff8316179055613940565b600283015462ffffff908116908216116139405760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161099d565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af41580156139f4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a18919061500a565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890611d589083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101fb613e23565b600080516020615b188339815191528054600160401b810460ff1615906001600160401b0316600081158015613b5b5750825b90506000826001600160401b03166001148015613b775750303b155b905081158015613b85575080155b15613ba35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315613bcd57845460ff60401b1916600160401b1785555b600086806020019051810190613be391906159a8565b600480546001600160a01b039093166001600160a01b0319909316831790559150613c0e9089613e5c565b60015460408051808201909152600b81526a506f6f6c5365727669636560a81b60208201526001600160a01b039091169063a3bcd81d90613c4d6123a8565b6040518363ffffffff1660e01b8152600401613c6a9291906159d7565b602060405180830381865afa158015613c87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cab9190614cf0565b600580546001600160a01b0319166001600160a01b0392909216919091179055613cdb631b4612f160e31b613fb2565b613ceb632c987bf360e21b613fb2565b5083156118e257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a150505050505050565b6000808060001985870985870292508281108382030391505080600003613d7457838281613d6a57613d6a6159fc565b0492505050612993565b808411613dbb5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640161099d565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b600080516020615b1883398151915254600160401b900460ff16613e5a57604051631afcd79f60e31b815260040160405180910390fd5b565b613e668282613fd7565b613e6e614063565b606e60005260036020527f0de2b21138735878e0660eef23d1131fad23d66157bfa1c473a82b60c5169926805467ffffffffffffffff19166001600160401b0392909216919091179055613ec06140dc565b608c60005260036020527f83339eadc78535e76a031a9a544cf6fa252296becf88992d49fad5f832544a38805467ffffffffffffffff19166001600160401b0392909216919091179055613f12614118565b607860005260036020527fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c805467ffffffffffffffff19166001600160401b0392909216919091179055613f64614153565b608260005260036020527fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc5805467ffffffffffffffff19166001600160401b03929092169190911790555050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b600061400460408051808201909152600e81526d50726f647563745365727669636560901b602082015290565b61400c6123a8565b60405160200161401d9291906159d7565b604051602081830303815290604052905060006140398461418e565b9050600061404c8583603c8488886141f9565b61405c631b4612f160e31b613fb2565b5050505050565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156140b8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610781919061558c565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161409b565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161409b565b6040516368aebf7b60e01b815260c8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161409b565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa1580156141d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112dc9190614cd3565b61423a6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61424482876142c5565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016142b48382615a58565b506118e26303fb044760e21b613fb2565b6001600160a01b03821661431b5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e657220697320300000604482015260640161099d565b600280546001600160a01b0319166001600160a01b03841617905561433f81614343565b5050565b6001546001600160a01b03161561437c5760015460405163fcdbf2d960e01b81526001600160a01b03909116600482015260240161099d565b6001600160a01b0381166143a35760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036143d95760405163fdeac91f60e01b81526001600160a01b038216600482015260240161099d565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015614453575060408051601f3d908101601f1916820190925261445091810190614cab565b60015b61447b5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161099d565b8061433f5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161099d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60405180610120016040528060006001600160601b0316815260200161451b604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60006020828403121561457257600080fd5b81356001600160e01b03198116811461299357600080fd5b6001600160c01b03198116811461026557600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156145d8576145d86145a0565b60405290565b60405160e081016001600160401b03811182821017156145d8576145d86145a0565b60405161020081016001600160401b03811182821017156145d8576145d86145a0565b60405161018081016001600160401b03811182821017156145d8576145d86145a0565b60405161012081016001600160401b03811182821017156145d8576145d86145a0565b604051601f8201601f191681016001600160401b0381118282101715614691576146916145a0565b604052919050565b60006001600160401b038211156146b2576146b26145a0565b50601f01601f191660200190565b600082601f8301126146d157600080fd5b81356146e46146df82614699565b614669565b8181528460208386010111156146f957600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561472957600080fd5b82356147348161458a565b915060208301356001600160401b0381111561474f57600080fd5b61475b858286016146c0565b9150509250929050565b6001600160601b038116811461026557600080fd5b60006020828403121561478c57600080fd5b813561299381614765565b60005b838110156147b257818101518382015260200161479a565b50506000910152565b600081518084526147d3816020860160208601614797565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c08501526130f760e08501826147bb565b60408152600061486b60408301856147e7565b8281036020840152612b3e81856147bb565b60208152600061299360208301846147bb565b6001600160a01b038116811461026557600080fd5b6000602082840312156148b757600080fd5b813561299381614890565b62ffffff8116811461026557600080fd5b6000602082840312156148e557600080fd5b8135612993816148c2565b64ffffffffff8116811461026557600080fd5b6000806040838503121561491657600080fd5b823561492181614765565b91506020830135614931816148f0565b809150509250929050565b6000806040838503121561494f57600080fd5b50508035926020909101359150565b801515811461026557600080fd5b60008060006060848603121561498157600080fd5b833561498c81614765565b9250602084013561499c8161495e565b915060408401356149ac816148f0565b809150509250925092565b60ff8116811461026557600080fd5b600080604083850312156149d957600080fd5b82356149e48161458a565b91506020830135614931816149b7565b60008060008060008060c08789031215614a0d57600080fd5b8635614a188161458a565b9550602087013594506040870135935060608701356001600160401b03811115614a4157600080fd5b614a4d89828a016146c0565b9350506080870135614a5e81614765565b915060a0870135614a6e8161458a565b809150509295509295509295565b600080600060608486031215614a9157600080fd5b8335614a9c81614890565b92506020840135614aac81614890565b915060408401356001600160401b03811115614ac757600080fd5b614ad3868287016146c0565b9150509250925092565b600060408284031215614aef57600080fd5b614af76145b6565b9050813581526020820135602082015292915050565b60008060808385031215614b2057600080fd5b614b2a8484614add565b9150614b398460408501614add565b90509250929050565b600060208284031215614b5457600080fd5b5035919050565b600080600080600080600060e0888a031215614b7657600080fd5b8735614b8181614890565b96506020880135614b918161458a565b9550604088013594506060880135935060808801356001600160401b03811115614bba57600080fd5b614bc68a828b016146c0565b93505060a0880135614bd781614765565b915060c0880135614be78161458a565b8091505092959891949750929550565b6001600160601b03815116825260006020820151604060208501526130f760408501826147bb565b6001600160401b0360c01b831681526040602082015260006130f76040830184614bf7565b600060208284031215614c5657600080fd5b8151612993816148c2565b600181811c90821680614c7557607f821691505b602082108103614c9557634e487b7160e01b600052602260045260246000fd5b50919050565b8051614ca68161495e565b919050565b600060208284031215614cbd57600080fd5b81516129938161495e565b8051614ca681614765565b600060208284031215614ce557600080fd5b815161299381614765565b600060208284031215614d0257600080fd5b815161299381614890565b8051614ca6816149b7565b8051614ca681614890565b600082601f830112614d3457600080fd5b8151614d426146df82614699565b818152846020838601011115614d5757600080fd5b6130f7826020830160208701614797565b600060e08284031215614d7a57600080fd5b614d826145de565b9050614d8d82614cc8565b8152614d9b60208301614cc8565b6020820152614dac60408301614d0d565b6040820152614dbd60608301614c9b565b6060820152614dce60808301614d18565b6080820152614ddf60a08301614d18565b60a082015260c08201516001600160401b03811115614dfd57600080fd5b614e0984828501614d23565b60c08301525092915050565b60008060408385031215614e2857600080fd5b82516001600160401b0380821115614e3f57600080fd5b614e4b86838701614d68565b93506020850151915080821115614e6157600080fd5b5061475b85828601614d23565b8051614ca68161458a565b805161ffff81168114614ca657600080fd5b8051614ca6816148f0565b600060208284031215614ea857600080fd5b81516001600160401b0380821115614ebf57600080fd5b908301906102008286031215614ed457600080fd5b614edc614600565b614ee583614cc8565b8152614ef360208401614cc8565b6020820152614f0460408401614e6e565b6040820152614f1560608401614e6e565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115614f5657600080fd5b614f6288828701614d23565b8284015250506101208084015183811115614f7c57600080fd5b614f8888828701614d23565b8284015250506101409150614f9e828401614e79565b828201526101609150614fb2828401614e79565b82820152610180915081830151828201526101a09150614fd3828401614e8b565b828201526101c09150614fe7828401614e8b565b828201526101e09150614ffb828401614e8b565b91810191909152949350505050565b60006020828403121561501c57600080fd5b8151612993816148f0565b80516001600160601b031682526000610200602083015161505360208601826001600160601b03169052565b50604083015161506f60408601826001600160c01b0319169052565b50606083015161508b60608601826001600160c01b0319169052565b506080830151608085015260a083015160a085015260c083015160c085015260e083015160e08501526101008084015182828701526150cc838701826147bb565b9250505061012080840151858303828701526150e883826147bb565b92505050610140808401516151028287018261ffff169052565b50506101608381015161ffff169085015261018080840151908501526101a08084015164ffffffffff908116918601919091526101c0808501518216908601526101e0938401511692909301919091525090565b6001600160601b03841681526060602082015260006151786060830185615027565b905060ff83166040830152949350505050565b60006020828403121561519d57600080fd5b5051919050565b6000602082840312156151b657600080fd5b8151612993816149b7565b6000604082840312156151d357600080fd5b6151db6145b6565b9050815181526020820151602082015292915050565b6000610240828403121561520457600080fd5b61520c614623565b61521583614d18565b815261522360208401614d18565b602082015261523460408401614cc8565b604082015261524560608401614cc8565b606082015261525784608085016151c1565b60808201526152698460c085016151c1565b60a082015261010061527d858286016151c1565b60c0830152610140615291868287016151c1565b60e08401526152a48661018087016151c1565b828401526152b6866101c087016151c1565b6101208401526152c96102008601614c9b565b90830152506152db6102208401614d18565b6101608201529392505050565b808201808211156112dc57634e487b7160e01b600052601160045260246000fd5b60006001600160601b0380871683528086166020840152506080604083015261533e6080830185516001600160601b03169052565b602084810151805160a0850152015160c0830152604084015161014060e0840181905261536f6101c08501836147bb565b915060608601516101008181870152608088015161012087015260a08801518387015260c088015161016087015260e088015192506153b861018087018464ffffffffff169052565b87015164ffffffffff81166101a087015291506153d29050565b5060ff841660608401529050612b3e565b600061018082840312156153f657600080fd5b6153fe614646565b61540783614cc8565b815261541560208401614d18565b60208201526040830151604082015261543184606085016151c1565b60608201526154438460a085016151c1565b60808201526154558460e085016151c1565b60a08201526154676101208401614c9b565b60c08201526154796101408401614c9b565b60e082015261548b6101608401614d18565b6101008201529392505050565b6000602082840312156154aa57600080fd5b81516001600160401b03808211156154c157600080fd5b90830190604082860312156154d557600080fd5b6154dd6145b6565b82516154e881614765565b81526020830151828111156154fc57600080fd5b61550887828601614d23565b60208301525095945050505050565b6001600160401b0360c01b841681526060602082015260006151786060830185614bf7565b8481526001600160401b0360c01b8416602082015282604082015260806060820152600061556d60808301846147bb565b9695505050505050565b6001600160401b038116811461026557600080fd5b60006020828403121561559e57600080fd5b815161299381615577565b80516001600160a01b0316825260208101516155d060208401826001600160a01b03169052565b5060408101516155eb60408401826001600160601b03169052565b50606081015161560660608401826001600160601b03169052565b506080810151615623608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c08101516101006156598185018380518252602090810151910152565b60e083015191506101406156798186018480518252602090810151910152565b9083015180516101808601526020908101516101a086015261012084015180516101c087015201516101e085015282015115156102008401525061016001516001600160a01b031661022090910152565b505050565b6001600160601b038416815261028081016156ed60208301856155a9565b60ff8316610260830152949350505050565b634e487b7160e01b600052603260045260246000fd5b60208152600061299360208301846147e7565b6001600160601b03831681526040602082015260006130f76040830184615027565b60006020828403121561575c57600080fd5b81516001600160401b0381111561577257600080fd5b6130f784828501614d68565b6001600160601b0383168152610260810161299360208301846155a9565b6000602082840312156157ae57600080fd5b81516001600160401b03808211156157c557600080fd5b9083019061014082860312156157da57600080fd5b6157e2614646565b6157eb83614cc8565b81526157fa86602085016151c1565b602082015260608301518281111561581157600080fd5b61581d87828601614d23565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c0820152610100915061585b828401614e8b565b60e0820152614ffb6101208401614e8b565b8151815260208083015190820152604081016112dc565b6001600160a01b039384168152919092166020820152604081019190915260600190565b600080604083850312156158bb57600080fd5b505080516020909101519092909150565b6001600160601b03851681526080602082015260006158ee60808301866147bb565b828103604084015261590081866147bb565b91505082606083015295945050505050565b600060c0828403121561592457600080fd5b60405160a081018181106001600160401b0382111715615946576159466145a0565b604052825161595481614765565b8152602083015161596481614890565b602082015261597684604085016151c1565b604082015260808301516159898161495e565b606082015260a083015161599c81614890565b60808201529392505050565b600080604083850312156159bb57600080fd5b82516159c681614890565b602084015190925061493181614890565b6040815260006159ea60408301856147bb565b905060ff831660208301529392505050565b634e487b7160e01b600052601260045260246000fd5b601f8211156156ca57600081815260208120601f850160051c81016020861015615a395750805b601f850160051c820191505b81811015611fbb57828155600101615a45565b81516001600160401b03811115615a7157615a716145a0565b615a8581615a7f8454614c61565b84615a12565b602080601f831160018114615aba5760008415615aa25750858301515b600019600386901b1c1916600185901b178555611fbb565b600085815260208120601f198616915b82811015615ae957888601518255948401946001909101908401615aca565b5085821015615b075787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212204c0fa5e34217ed6da02382083ceec3e5a4f1eac80a2cc87d1277b886384edb2764736f6c63430008140033",
902
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063644c45e01161011a578063b3c65015116100ad578063c2c749871161007c578063c2c7498714610613578063caf4e3d414610626578063cc9fc59a1461062e578063cde749f414610636578063cf7a1d771461065057600080fd5b8063b3c65015146105ba578063b6b412ba146105da578063b88da759146105ed578063bbfbbfba1461060057600080fd5b8063946dfcfe116100e9578063946dfcfe146105185780639cdaa7f91461053f578063a3f4df7e1461057a578063a745e3df146105a757600080fd5b8063644c45e0146104d25780637cef4842146104ea578063893d20e8146104fd5780638f997f6d1461050557600080fd5b80634420e486116101925780635ab1bd53116101615780635ab1bd53146104745780635fd1a5f514610499578063603ccaad146104ac578063630361f6146104bf57600080fd5b80634420e4861461030a5780634d459c90146103355780634d5e16a91461044e5780634f4213331461046157600080fd5b80630fec111c116101ce5780630fec111c14610284578063138461e01461029a57806317d7de7c146102a25780631eff4b22146102d557600080fd5b806301ffc9a714610200578063095e2b72146102425780630aaba8e8146102575780630d8e6e2c14610268575b600080fd5b61022d61020e366004614560565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610255610250366004614716565b610663565b005b61025561026536600461477a565b50565b6102706106fc565b60405162ffffff9091168152602001610239565b61028c610786565b604051610239929190614858565b6102556108d9565b60408051808201909152600e81526d50726f647563745365727669636560901b60208201525b604051610239919061487d565b6102fc7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b61031d6103183660046148a5565b610afb565b6040516001600160601b039091168152602001610239565b6103f16103433660046148d3565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020615b3883398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610239565b61025561045c366004614903565b610e62565b61022d61046f3660046148d3565b611126565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610239565b6102fc6104a736600461493c565b6111d9565b6102556104ba36600461477a565b6112e2565b6102556104cd36600461496c565b611334565b600154600160a01b90046001600160601b031661031d565b6102556104f83660046149c6565b61186a565b6104816118eb565b610255610513366004614716565b611a05565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102fc565b61055261054d3660046149f4565b611b2f565b604080519586526020860194909452928401919091526060830152608082015260a001610239565b6102c86040518060400160405280600e81526020016d50726f647563745365727669636560901b81525081565b6102556105b5366004614a7c565b611c0d565b6105c2611d67565b6040516001600160401b039091168152602001610239565b6102556105e8366004614b0d565b611d88565b6102706105fb366004614b42565b611ef5565b61025561060e366004614903565b611f46565b61031d610621366004614b5b565b611fc3565b61048161227b565b610481612330565b61063e6123a8565b60405160ff9091168152602001610239565b61025561065e366004614a7c565b61242b565b600080610670606e612534565b81516040805180820182526001600160601b03831681526020810188905290516317b0844560e11b8152939550919350916001600160a01b03841690632f61088a906106c29089908590600401614c1f565b600060405180830381600087803b1580156106dc57600080fd5b505af11580156106f0573d6000803e3d6000fd5b50505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561075d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107819190614c44565b905090565b61078e6144a4565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806107da6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016108226118eb565b6001600160a01b0316815260200182600101805461083f90614c61565b80601f016020809104026020016040519081016040528092919081815260200182805461086b90614c61565b80156108b85780601f1061088d576101008083540402835291602001916108b8565b820191906000526020600020905b81548152906001019060200180831161089b57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561093b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095f9190614cab565b156109a6576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166109cf5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3c9190614cab565b610a64576040516372657a5160e01b81526001600160a01b038216600482015260240161099d565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610aae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad29190614cd3565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000818082610b09826127f2565b60ff8116600090815260036020908152604080832054815163379ed74560e21b815291519495506001600160401b0316933393926001600160a01b0388169263de7b5d1492600480830193928290030181865afa158015610b6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b929190614cf0565b9050610b9c612330565b6001600160a01b0316639c12c9c78385846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0e9190614cd3565b6040516001600160e01b031960e086901b1681526001600160a01b0390931660048401526001600160401b0390911660248301526001600160601b03166044820152606401602060405180830381865afa158015610c70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c949190614cab565b610ccb576040516351302f8160e01b81526001600160401b03841660048201526001600160a01b038316602482015260440161099d565b33886000610cd8826127f2565b90506000610ce461227b565b9050610cee6144a4565b6060610d028460785b60ff90811691161490565b15610d8a57604051638fbc2d8160e01b81526001600160a01b0386811660048301528781166024830152841690638fbc2d81906044015b6000604051808303816000875af1158015610d58573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d809190810190614e15565b9092509050610e34565b610d9584606e610cf7565b15610dd057604051635d96628960e01b81526001600160a01b0386811660048301528781166024830152841690635d96628990604401610d39565b610ddb84608c610cf7565b15610e1657604051637286e5e560e01b81526001600160a01b0386811660048301528781166024830152841690637286e5e590604401610d39565b60405163062839b560e01b815260ff8516600482015260240161099d565b81519c506000610e4383612867565b9050610e508e8383612909565b50505050505050505050505050919050565b6000610e6e606e612534565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed59190614cf0565b60405163bd7d9d8560e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015610f28573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f509190810190614e96565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610fb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd49190614cab565b6110205760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f41435449564154454400604482015260640161099d565b64ffffffffff84166101a0820181905260e0820151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801561108b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110af919061500a565b64ffffffffff166101c0820152604051634d4b06a960e11b81526001600160a01b03841690639a960d52906110ed9088908590606490600401615156565b600060405180830381600087803b15801561110757600080fd5b505af115801561111b573d6000803e3d6000fd5b505050505050505050565b600080600080516020615b3883398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156111ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d2919061518b565b1192915050565b6040516322f5db0f60e11b815260048101829052600090819073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af415801561122e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611252919061518b565b90506000611260858361297e565b604051632255341b60e11b81526004810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156112b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d7919061518b565b925050505b92915050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233343a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b606482015260840161099d565b600080611341606e612534565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611385573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a99190614cf0565b835160405163bd7d9d8560e01b81526001600160601b0389166004820152919250906000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa1580156113ff573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114279190810190614e96565b80519091506001600160601b038381169116146114865760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d41544348000000000000000000604482015260640161099d565b604051639096a1f360e01b81526001600160601b0389166004820152611502906001600160a01b03851690639096a1f390602401602060405180830381865afa1580156114d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114fb91906151a4565b600a610cf7565b61154e5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c49454400604482015260640161099d565b60006115586144e2565b60405163242bdc1960e21b81526001600160601b038516600482015260009081906001600160a01b038816906390af70649060240161024060405180830381865afa1580156115ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115cf91906151f1565b90506115dd8888878461299a565b919550935091506115f390508784848e85612b1d565b9150602864ffffffffff8a16156116a657606464ffffffffff8b166101a0870181905260e0870151604051631ded81af60e31b81526004810192909252602482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015611674573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611698919061500a565b64ffffffffff166101c08601525b8a156116f65760006116c2898b600001518f8960a00151612b47565b90508560a001518660c0018181516116da91906152e8565b90525060a0840180518291906116f19083906152e8565b905250505b604051634d4b06a960e11b81526001600160a01b03891690639a960d5290611726908f9089908690600401615156565b600060405180830381600087803b15801561174057600080fd5b505af1158015611754573d6000803e3d6000fd5b505060055460208c01516040516319efcbb760e31b81526001600160a01b03909216935063cf7e5db89250611792918890889060ff90600401615309565b600060405180830381600087803b1580156117ac57600080fd5b505af11580156117c0573d6000803e3d6000fd5b505084516040516355e343a960e01b81526001600160601b0382166004820152909250600091506001600160a01b038a16906355e343a99060240161018060405180830381865afa158015611819573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061183d91906153e3565b90508060e001511561185a5761185a828f898860400151886130ff565b5050505050505050505050505050565b6000611876606e612534565b604051633e77a42160e11b81526001600160c01b03198616600482015260ff851660248201529092506001600160a01b0383169150637cef484290604401600060405180830381600087803b1580156118ce57600080fd5b505af11580156118e2573d6000803e3d6000fd5b50505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611950573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119749190614cab565b156119f557600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a906024015b602060405180830381865afa1580156119d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107819190614cf0565b506002546001600160a01b031690565b6000611a11606e612534565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a789190614cf0565b60405163887b1fa960e01b81526001600160c01b0319861660048201529091506000906001600160a01b0383169063887b1fa990602401600060405180830381865afa158015611acc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611af49190810190615498565b602081018590526040516314eddc0360e31b81529091506001600160a01b0384169063a76ee018906110ed908890859060ff90600401615517565b600080600080600080611b406131c9565b90506000816001600160a01b0316635e78426b8d8f8e8e6040518563ffffffff1660e01b8152600401611b76949392919061553c565b602060405180830381865afa158015611b93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bb7919061518b565b9050611bc581838b8b6131e8565b92985090965094509250611bd986826152e8565b9650611be584866152e8565b611bef90886152e8565b9650611bfb83886152e8565b96505050965096509650965096915050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611c2f6106fc565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611c6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c93919061558c565b600080516020615b188339815191528054600160401b900460ff1680611cc6575080546001600160401b03808416911610155b15611ce45760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611d0f8585613881565b611d1883613b20565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610781600080516020615b18833981519152546001600160401b031690565b600080611d95606e612534565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611dd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dfd9190614cf0565b835160405163242bdc1960e21b81526001600160601b0382166004820152919250906000906001600160a01b038416906390af70649060240161024060405180830381865afa158015611e54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e7891906151f1565b60a0810188905260c081018790526040516354e750a160e11b81529091506001600160a01b0385169063a9cea14290611eba908590859060ff906004016156cf565b600060405180830381600087803b158015611ed457600080fd5b505af1158015611ee8573d6000803e3d6000fd5b5050505050505050505050565b6000600080516020615b388339815191526001018281548110611f1a57611f1a6156ff565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080611f53606e612534565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fbb9190614cf0565b505050505050565b60008080611fd1606e612534565b91509150611fdd61227b565b6001600160a01b0316635c992fed6040518060e00160405280611ffe600090565b6001600160601b039081168252865116602082015260400160d260ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b81526004016120779190615715565b6020604051808303816000875af1158015612096573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120ba9190614cd3565b925060006120cc8a8a8a8a8a8a611b2f565b505050509050600060405180610200016040528085600001516001600160601b03168152602001886001600160601b03168152602001876001600160c01b03191681526020018c6001600160c01b03191681526020018b8152602001838152602001600081526020018a8152602001898152602001604051806020016040528060008152508152602001600061ffff168152602001600061ffff1681526020016000815260200161217b600090565b64ffffffffff168152600060208201819052604091820152516202f23560ee1b81529091506001600160a01b0384169063bc8d4000906121c19088908590600401615728565b600060405180830381600087803b1580156121db57600080fd5b505af11580156121ef573d6000803e3d6000fd5b50505050826001600160a01b0316635d4345cc8661220b600a90565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b15801561225457600080fd5b505af1158015612268573d6000803e3d6000fd5b5050505050505050979650505050505050565b6000806122906001546001600160a01b031690565b6001600160a01b031663a3bcd81d6122a66123a8565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa15801561230c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112dc9190614cf0565b60006123446001546001600160a01b031690565b6001600160a01b031663a3bcd81d61235a6123a8565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e496e7374616e63655365727669636560881b606482015260ff90911660248201526084016119b4565b60006123b26106fc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612407573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078191906151a4565b600080516020615b188339815191528054600160401b810460ff1615906001600160401b031660008115801561245e5750825b90506000826001600160401b0316600114801561247a5750303b155b905081158015612488575080155b156124a65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156124d057845460ff60401b1916600160401b1785555b6124da8888613881565b6124e48787613b28565b831561252a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b61253c6144a4565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015612589573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125ad9190614cd3565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612608573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061262c9190614cab565b6126785760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e000000000000000000604482015260640161099d565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156126d3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526126fb919081019061574a565b925061271183604001518560ff90811691161490565b6127535760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b604482015260640161099d565b60006127676001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156127bc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526127e4919081019061574a565b608001519395939450505050565b600080826001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015612833573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261285b9190810190614e15565b50604001519392505050565b60008061287c6001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa1580156128d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526128fd919081019061574a565b60800151949350505050565b60008280602001905181019061291f91906151f1565b6040516348ffb75560e11b81529091506001600160a01b038316906391ff6eaa90612950908790859060040161577e565b600060405180830381600087803b15801561296a57600080fd5b505af115801561252a573d6000803e3d6000fd5b60006129938383670de0b6b3a7640000613d3a565b9392505050565b60006129a46144e2565b6020840151604051634793b4ab60e01b81526001600160601b03821660048201529092506000906001600160a01b03871690634793b4ab90602401600060405180830381865afa1580156129fc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612a24919081019061579c565b805160608601519193506001600160601b03908116911614612a815760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b604482015260640161099d565b60608401516040516355e343a960e01b81526001600160601b03821660048201526000906001600160a01b038916906355e343a99060240161018060405180830381865afa158015612ad7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612afb91906153e3565b9050612b0f816040015188608001516111d9565b925050509450945094915050565b612b256144e2565b8184608001818151612b3791906152e8565b9052508390505b95945050505050565b600081156130f7576000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612b8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bb39190614cf0565b60405163242bdc1960e21b81526001600160601b03871660048201526001600160a01b0391909116906390af70649060240161024060405180830381865afa158015612c03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c2791906151f1565b60208101519091506000612c436001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03881660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612c92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cb69190614cf0565b90506000886001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cf8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d1c9190614cf0565b60608501516040516355e343a960e01b81526001600160601b0390911660048201526001600160a01b0391909116906355e343a99060240161018060405180830381865afa158015612d72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d9691906153e3565b61010081015160a08601516040516346f0526160e11b8152899850929350909173__$a23651848365a6a5ca15f07b4331037f48$__90638de0a4c290612de090849060040161586d565b602060405180830381865af4158015612dfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e219190614cab565b15612e8d576040516317d5759960e31b81526001600160a01b0386169063beabacc890612e5690879086908d90600401615884565b600060405180830381600087803b158015612e7057600080fd5b505af1158015612e84573d6000803e3d6000fd5b505050506130f0565b60a086015160405163012ebd8360e21b815281516004820152602090910151602482015260448101889052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612ef8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f1c91906158a8565b91509150600088610160015190508a886001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f8d9190614cf0565b604051636eb1769f60e11b81526001600160a01b038a811660048301528b81166024830152919091169063dd62ed3e90604401602060405180830381865afa158015612fdd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613001919061518b565b10156130265786888c6040516333ac6f1760e11b815260040161099d93929190615884565b6040516317d5759960e31b81526001600160a01b0389169063beabacc890613056908a9085908890600401615884565b600060405180830381600087803b15801561307057600080fd5b505af1158015613084573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b038b16925063beabacc891506130b8908a9089908790600401615884565b600060405180830381600087803b1580156130d257600080fd5b505af11580156130e6573d6000803e3d6000fd5b50939b5050505050505b5050505050505b949350505050565b60006131136001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015613162573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261318a919081019061574a565b608001516101008501516040516332f7fe0d60e11b815291925082916001600160a01b038316916365effc1a91611eba918a91899089906004016158cc565b60006131d36144a4565b6131dd606e612534565b506080015192915050565b600080600080600080886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561322f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132539190614cf0565b9050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613293573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132b79190614cf0565b9150506000886001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa1580156132fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061331e9190614cd3565b604051634793b4ab60e01b81526001600160601b038a1660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015613371573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052613399919081019061579c565b80519091506001600160601b038381169116146134035760405162461bcd60e51b815260206004820152602260248201527f4552524f523a5052532d3033353a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b606482015260840161099d565b6000836001600160a01b03166390af70648c6001600160a01b03166251884a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613451573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134759190614cd3565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161024060405180830381865afa1580156134ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134de91906151f1565b60a081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015613547573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061356b91906158a8565b506040516355e343a960e01b81526001600160601b0385166004820152909850600091506001600160a01b038516906355e343a99060240161018060405180830381865afa1580156135c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135e591906153e3565b606081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af415801561364e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061367291906158a8565b50809750505060008a6001600160a01b031663db6dcc956040518163ffffffff1660e01b8152600401602060405180830381865afa1580156136b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136dc9190614cd3565b604051639ad69c6760e01b81526001600160601b03821660048201529091506000906001600160a01b03861690639ad69c679060240160c060405180830381865afa15801561372f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137539190615912565b604080820151905163012ebd8360e21b8152815160048201526020909101516024820152604481018f905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af41580156137bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137e091906158a8565b5060208481015160405163012ebd8360e21b8152815160048201529101516024820152604481018f905290965073__$a23651848365a6a5ca15f07b4331037f48$__92506304baf60c91506064016040805180830381865af415801561384a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061386e91906158a8565b5080955050505050945094509450949050565b613889613e23565b600080516020615b3883398151915260006138b9600080516020615b18833981519152546001600160401b031690565b905060006138c56106fc565b9050816001600160401b03166001036138f25760028301805462ffffff191662ffffff8316179055613940565b600283015462ffffff908116908216116139405760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b604482015260640161099d565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af41580156139f4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a18919061500a565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890611d589083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101fb613e23565b600080516020615b188339815191528054600160401b810460ff1615906001600160401b0316600081158015613b5b5750825b90506000826001600160401b03166001148015613b775750303b155b905081158015613b85575080155b15613ba35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315613bcd57845460ff60401b1916600160401b1785555b600086806020019051810190613be391906159a8565b600480546001600160a01b039093166001600160a01b0319909316831790559150613c0e9089613e5c565b60015460408051808201909152600b81526a506f6f6c5365727669636560a81b60208201526001600160a01b039091169063a3bcd81d90613c4d6123a8565b6040518363ffffffff1660e01b8152600401613c6a9291906159d7565b602060405180830381865afa158015613c87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cab9190614cf0565b600580546001600160a01b0319166001600160a01b0392909216919091179055613cdb631b4612f160e31b613fb2565b613ceb632c987bf360e21b613fb2565b5083156118e257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a150505050505050565b6000808060001985870985870292508281108382030391505080600003613d7457838281613d6a57613d6a6159fc565b0492505050612993565b808411613dbb5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b604482015260640161099d565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b600080516020615b1883398151915254600160401b900460ff16613e5a57604051631afcd79f60e31b815260040160405180910390fd5b565b613e668282613fd7565b613e6e614063565b606e60005260036020527f0de2b21138735878e0660eef23d1131fad23d66157bfa1c473a82b60c5169926805467ffffffffffffffff19166001600160401b0392909216919091179055613ec06140dc565b608c60005260036020527f83339eadc78535e76a031a9a544cf6fa252296becf88992d49fad5f832544a38805467ffffffffffffffff19166001600160401b0392909216919091179055613f12614118565b607860005260036020527fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c805467ffffffffffffffff19166001600160401b0392909216919091179055613f64614153565b608260005260036020527fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc5805467ffffffffffffffff19166001600160401b03929092169190911790555050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b600061400460408051808201909152600e81526d50726f647563745365727669636560901b602082015290565b61400c6123a8565b60405160200161401d9291906159d7565b604051602081830303815290604052905060006140398461418e565b9050600061404c8583603c8488886141f9565b61405c631b4612f160e31b613fb2565b5050505050565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156140b8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610781919061558c565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161409b565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161409b565b6040516368aebf7b60e01b815260c8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161409b565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa1580156141d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112dc9190614cd3565b61423a6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61424482876142c5565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016142b48382615a58565b506118e26303fb044760e21b613fb2565b6001600160a01b03821661431b5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e657220697320300000604482015260640161099d565b600280546001600160a01b0319166001600160a01b03841617905561433f81614343565b5050565b6001546001600160a01b03161561437c5760015460405163fcdbf2d960e01b81526001600160a01b03909116600482015260240161099d565b6001600160a01b0381166143a35760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036143d95760405163fdeac91f60e01b81526001600160a01b038216600482015260240161099d565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015614453575060408051601f3d908101601f1916820190925261445091810190614cab565b60015b61447b5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161099d565b8061433f5760405163fdeac91f60e01b81526001600160a01b038316600482015260240161099d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60405180610120016040528060006001600160601b0316815260200161451b604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60006020828403121561457257600080fd5b81356001600160e01b03198116811461299357600080fd5b6001600160c01b03198116811461026557600080fd5b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156145d8576145d86145a0565b60405290565b60405160e081016001600160401b03811182821017156145d8576145d86145a0565b60405161020081016001600160401b03811182821017156145d8576145d86145a0565b60405161018081016001600160401b03811182821017156145d8576145d86145a0565b60405161012081016001600160401b03811182821017156145d8576145d86145a0565b604051601f8201601f191681016001600160401b0381118282101715614691576146916145a0565b604052919050565b60006001600160401b038211156146b2576146b26145a0565b50601f01601f191660200190565b600082601f8301126146d157600080fd5b81356146e46146df82614699565b614669565b8181528460208386010111156146f957600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561472957600080fd5b82356147348161458a565b915060208301356001600160401b0381111561474f57600080fd5b61475b858286016146c0565b9150509250929050565b6001600160601b038116811461026557600080fd5b60006020828403121561478c57600080fd5b813561299381614765565b60005b838110156147b257818101518382015260200161479a565b50506000910152565b600081518084526147d3816020860160208601614797565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c08501526130f760e08501826147bb565b60408152600061486b60408301856147e7565b8281036020840152612b3e81856147bb565b60208152600061299360208301846147bb565b6001600160a01b038116811461026557600080fd5b6000602082840312156148b757600080fd5b813561299381614890565b62ffffff8116811461026557600080fd5b6000602082840312156148e557600080fd5b8135612993816148c2565b64ffffffffff8116811461026557600080fd5b6000806040838503121561491657600080fd5b823561492181614765565b91506020830135614931816148f0565b809150509250929050565b6000806040838503121561494f57600080fd5b50508035926020909101359150565b801515811461026557600080fd5b60008060006060848603121561498157600080fd5b833561498c81614765565b9250602084013561499c8161495e565b915060408401356149ac816148f0565b809150509250925092565b60ff8116811461026557600080fd5b600080604083850312156149d957600080fd5b82356149e48161458a565b91506020830135614931816149b7565b60008060008060008060c08789031215614a0d57600080fd5b8635614a188161458a565b9550602087013594506040870135935060608701356001600160401b03811115614a4157600080fd5b614a4d89828a016146c0565b9350506080870135614a5e81614765565b915060a0870135614a6e8161458a565b809150509295509295509295565b600080600060608486031215614a9157600080fd5b8335614a9c81614890565b92506020840135614aac81614890565b915060408401356001600160401b03811115614ac757600080fd5b614ad3868287016146c0565b9150509250925092565b600060408284031215614aef57600080fd5b614af76145b6565b9050813581526020820135602082015292915050565b60008060808385031215614b2057600080fd5b614b2a8484614add565b9150614b398460408501614add565b90509250929050565b600060208284031215614b5457600080fd5b5035919050565b600080600080600080600060e0888a031215614b7657600080fd5b8735614b8181614890565b96506020880135614b918161458a565b9550604088013594506060880135935060808801356001600160401b03811115614bba57600080fd5b614bc68a828b016146c0565b93505060a0880135614bd781614765565b915060c0880135614be78161458a565b8091505092959891949750929550565b6001600160601b03815116825260006020820151604060208501526130f760408501826147bb565b6001600160401b0360c01b831681526040602082015260006130f76040830184614bf7565b600060208284031215614c5657600080fd5b8151612993816148c2565b600181811c90821680614c7557607f821691505b602082108103614c9557634e487b7160e01b600052602260045260246000fd5b50919050565b8051614ca68161495e565b919050565b600060208284031215614cbd57600080fd5b81516129938161495e565b8051614ca681614765565b600060208284031215614ce557600080fd5b815161299381614765565b600060208284031215614d0257600080fd5b815161299381614890565b8051614ca6816149b7565b8051614ca681614890565b600082601f830112614d3457600080fd5b8151614d426146df82614699565b818152846020838601011115614d5757600080fd5b6130f7826020830160208701614797565b600060e08284031215614d7a57600080fd5b614d826145de565b9050614d8d82614cc8565b8152614d9b60208301614cc8565b6020820152614dac60408301614d0d565b6040820152614dbd60608301614c9b565b6060820152614dce60808301614d18565b6080820152614ddf60a08301614d18565b60a082015260c08201516001600160401b03811115614dfd57600080fd5b614e0984828501614d23565b60c08301525092915050565b60008060408385031215614e2857600080fd5b82516001600160401b0380821115614e3f57600080fd5b614e4b86838701614d68565b93506020850151915080821115614e6157600080fd5b5061475b85828601614d23565b8051614ca68161458a565b805161ffff81168114614ca657600080fd5b8051614ca6816148f0565b600060208284031215614ea857600080fd5b81516001600160401b0380821115614ebf57600080fd5b908301906102008286031215614ed457600080fd5b614edc614600565b614ee583614cc8565b8152614ef360208401614cc8565b6020820152614f0460408401614e6e565b6040820152614f1560608401614e6e565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015183811115614f5657600080fd5b614f6288828701614d23565b8284015250506101208084015183811115614f7c57600080fd5b614f8888828701614d23565b8284015250506101409150614f9e828401614e79565b828201526101609150614fb2828401614e79565b82820152610180915081830151828201526101a09150614fd3828401614e8b565b828201526101c09150614fe7828401614e8b565b828201526101e09150614ffb828401614e8b565b91810191909152949350505050565b60006020828403121561501c57600080fd5b8151612993816148f0565b80516001600160601b031682526000610200602083015161505360208601826001600160601b03169052565b50604083015161506f60408601826001600160c01b0319169052565b50606083015161508b60608601826001600160c01b0319169052565b506080830151608085015260a083015160a085015260c083015160c085015260e083015160e08501526101008084015182828701526150cc838701826147bb565b9250505061012080840151858303828701526150e883826147bb565b92505050610140808401516151028287018261ffff169052565b50506101608381015161ffff169085015261018080840151908501526101a08084015164ffffffffff908116918601919091526101c0808501518216908601526101e0938401511692909301919091525090565b6001600160601b03841681526060602082015260006151786060830185615027565b905060ff83166040830152949350505050565b60006020828403121561519d57600080fd5b5051919050565b6000602082840312156151b657600080fd5b8151612993816149b7565b6000604082840312156151d357600080fd5b6151db6145b6565b9050815181526020820151602082015292915050565b6000610240828403121561520457600080fd5b61520c614623565b61521583614d18565b815261522360208401614d18565b602082015261523460408401614cc8565b604082015261524560608401614cc8565b606082015261525784608085016151c1565b60808201526152698460c085016151c1565b60a082015261010061527d858286016151c1565b60c0830152610140615291868287016151c1565b60e08401526152a48661018087016151c1565b828401526152b6866101c087016151c1565b6101208401526152c96102008601614c9b565b90830152506152db6102208401614d18565b6101608201529392505050565b808201808211156112dc57634e487b7160e01b600052601160045260246000fd5b60006001600160601b0380871683528086166020840152506080604083015261533e6080830185516001600160601b03169052565b602084810151805160a0850152015160c0830152604084015161014060e0840181905261536f6101c08501836147bb565b915060608601516101008181870152608088015161012087015260a08801518387015260c088015161016087015260e088015192506153b861018087018464ffffffffff169052565b87015164ffffffffff81166101a087015291506153d29050565b5060ff841660608401529050612b3e565b600061018082840312156153f657600080fd5b6153fe614646565b61540783614cc8565b815261541560208401614d18565b60208201526040830151604082015261543184606085016151c1565b60608201526154438460a085016151c1565b60808201526154558460e085016151c1565b60a08201526154676101208401614c9b565b60c08201526154796101408401614c9b565b60e082015261548b6101608401614d18565b6101008201529392505050565b6000602082840312156154aa57600080fd5b81516001600160401b03808211156154c157600080fd5b90830190604082860312156154d557600080fd5b6154dd6145b6565b82516154e881614765565b81526020830151828111156154fc57600080fd5b61550887828601614d23565b60208301525095945050505050565b6001600160401b0360c01b841681526060602082015260006151786060830185614bf7565b8481526001600160401b0360c01b8416602082015282604082015260806060820152600061556d60808301846147bb565b9695505050505050565b6001600160401b038116811461026557600080fd5b60006020828403121561559e57600080fd5b815161299381615577565b80516001600160a01b0316825260208101516155d060208401826001600160a01b03169052565b5060408101516155eb60408401826001600160601b03169052565b50606081015161560660608401826001600160601b03169052565b506080810151615623608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c08101516101006156598185018380518252602090810151910152565b60e083015191506101406156798186018480518252602090810151910152565b9083015180516101808601526020908101516101a086015261012084015180516101c087015201516101e085015282015115156102008401525061016001516001600160a01b031661022090910152565b505050565b6001600160601b038416815261028081016156ed60208301856155a9565b60ff8316610260830152949350505050565b634e487b7160e01b600052603260045260246000fd5b60208152600061299360208301846147e7565b6001600160601b03831681526040602082015260006130f76040830184615027565b60006020828403121561575c57600080fd5b81516001600160401b0381111561577257600080fd5b6130f784828501614d68565b6001600160601b0383168152610260810161299360208301846155a9565b6000602082840312156157ae57600080fd5b81516001600160401b03808211156157c557600080fd5b9083019061014082860312156157da57600080fd5b6157e2614646565b6157eb83614cc8565b81526157fa86602085016151c1565b602082015260608301518281111561581157600080fd5b61581d87828601614d23565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c0820152610100915061585b828401614e8b565b60e0820152614ffb6101208401614e8b565b8151815260208083015190820152604081016112dc565b6001600160a01b039384168152919092166020820152604081019190915260600190565b600080604083850312156158bb57600080fd5b505080516020909101519092909150565b6001600160601b03851681526080602082015260006158ee60808301866147bb565b828103604084015261590081866147bb565b91505082606083015295945050505050565b600060c0828403121561592457600080fd5b60405160a081018181106001600160401b0382111715615946576159466145a0565b604052825161595481614765565b8152602083015161596481614890565b602082015261597684604085016151c1565b604082015260808301516159898161495e565b606082015260a083015161599c81614890565b60808201529392505050565b600080604083850312156159bb57600080fd5b82516159c681614890565b602084015190925061493181614890565b6040815260006159ea60408301856147bb565b905060ff831660208301529392505050565b634e487b7160e01b600052601260045260246000fd5b601f8211156156ca57600081815260208120601f850160051c81016020861015615a395750805b601f850160051c820191505b81811015611fbb57828155600101615a45565b81516001600160401b03811115615a7157615a716145a0565b615a8581615a7f8454614c61565b84615a12565b602080601f831160018114615aba5760008415615aa25750858301515b600019600386901b1c1916600185901b178555611fbb565b600085815260208120601f198616915b82811015615ae957888601518255948401946001909101908401615aca565b5085821015615b075787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212204c0fa5e34217ed6da02382083ceec3e5a4f1eac80a2cc87d1277b886384edb2764736f6c63430008140033",
903
+ "linkReferences": {
904
+ "contracts/types/Blocknumber.sol": {
905
+ "BlocknumberLib": [
906
+ {
907
+ "length": 20,
908
+ "start": 4782
909
+ }
910
+ ]
911
+ },
912
+ "contracts/types/Fee.sol": {
913
+ "FeeLib": [
914
+ {
915
+ "length": 20,
916
+ "start": 12018
917
+ },
918
+ {
919
+ "length": 20,
920
+ "start": 12281
921
+ },
922
+ {
923
+ "length": 20,
924
+ "start": 13896
925
+ },
926
+ {
927
+ "length": 20,
928
+ "start": 14159
929
+ },
930
+ {
931
+ "length": 20,
932
+ "start": 14525
933
+ },
934
+ {
935
+ "length": 20,
936
+ "start": 14665
937
+ }
938
+ ]
939
+ },
940
+ "contracts/types/NftId.sol": {
941
+ "NftIdLib": [
942
+ {
943
+ "length": 20,
944
+ "start": 2619
945
+ },
946
+ {
947
+ "length": 20,
948
+ "start": 6736
949
+ },
950
+ {
951
+ "length": 20,
952
+ "start": 9992
953
+ }
954
+ ]
955
+ },
956
+ "contracts/types/RoleId.sol": {
957
+ "RoleIdLib": [
958
+ {
959
+ "length": 20,
960
+ "start": 16823
961
+ },
962
+ {
963
+ "length": 20,
964
+ "start": 16944
965
+ },
966
+ {
967
+ "length": 20,
968
+ "start": 17003
969
+ },
970
+ {
971
+ "length": 20,
972
+ "start": 17062
973
+ }
974
+ ]
975
+ },
976
+ "contracts/types/Timestamp.sol": {
977
+ "TimestampLib": [
978
+ {
979
+ "length": 20,
980
+ "start": 4272
981
+ },
982
+ {
983
+ "length": 20,
984
+ "start": 4491
985
+ },
986
+ {
987
+ "length": 20,
988
+ "start": 6004
989
+ },
990
+ {
991
+ "length": 20,
992
+ "start": 15092
993
+ }
994
+ ]
995
+ },
996
+ "contracts/types/UFixed.sol": {
997
+ "UFixedLib": [
998
+ {
999
+ "length": 20,
1000
+ "start": 4910
1001
+ },
1002
+ {
1003
+ "length": 20,
1004
+ "start": 5043
1005
+ }
1006
+ ]
1007
+ },
1008
+ "contracts/types/Version.sol": {
1009
+ "VersionLib": [
1010
+ {
1011
+ "length": 20,
1012
+ "start": 2141
1013
+ },
1014
+ {
1015
+ "length": 20,
1016
+ "start": 7497
1017
+ },
1018
+ {
1019
+ "length": 20,
1020
+ "start": 9479
1021
+ }
1022
+ ]
1023
+ }
1024
+ },
1025
+ "deployedLinkReferences": {
1026
+ "contracts/types/Blocknumber.sol": {
1027
+ "BlocknumberLib": [
1028
+ {
1029
+ "length": 20,
1030
+ "start": 4468
1031
+ }
1032
+ ]
1033
+ },
1034
+ "contracts/types/Fee.sol": {
1035
+ "FeeLib": [
1036
+ {
1037
+ "length": 20,
1038
+ "start": 11704
1039
+ },
1040
+ {
1041
+ "length": 20,
1042
+ "start": 11967
1043
+ },
1044
+ {
1045
+ "length": 20,
1046
+ "start": 13582
1047
+ },
1048
+ {
1049
+ "length": 20,
1050
+ "start": 13845
1051
+ },
1052
+ {
1053
+ "length": 20,
1054
+ "start": 14211
1055
+ },
1056
+ {
1057
+ "length": 20,
1058
+ "start": 14351
1059
+ }
1060
+ ]
1061
+ },
1062
+ "contracts/types/NftId.sol": {
1063
+ "NftIdLib": [
1064
+ {
1065
+ "length": 20,
1066
+ "start": 2305
1067
+ },
1068
+ {
1069
+ "length": 20,
1070
+ "start": 6422
1071
+ },
1072
+ {
1073
+ "length": 20,
1074
+ "start": 9678
1075
+ }
1076
+ ]
1077
+ },
1078
+ "contracts/types/RoleId.sol": {
1079
+ "RoleIdLib": [
1080
+ {
1081
+ "length": 20,
1082
+ "start": 16509
1083
+ },
1084
+ {
1085
+ "length": 20,
1086
+ "start": 16630
1087
+ },
1088
+ {
1089
+ "length": 20,
1090
+ "start": 16689
1091
+ },
1092
+ {
1093
+ "length": 20,
1094
+ "start": 16748
1095
+ }
1096
+ ]
1097
+ },
1098
+ "contracts/types/Timestamp.sol": {
1099
+ "TimestampLib": [
1100
+ {
1101
+ "length": 20,
1102
+ "start": 3958
1103
+ },
1104
+ {
1105
+ "length": 20,
1106
+ "start": 4177
1107
+ },
1108
+ {
1109
+ "length": 20,
1110
+ "start": 5690
1111
+ },
1112
+ {
1113
+ "length": 20,
1114
+ "start": 14778
1115
+ }
1116
+ ]
1117
+ },
1118
+ "contracts/types/UFixed.sol": {
1119
+ "UFixedLib": [
1120
+ {
1121
+ "length": 20,
1122
+ "start": 4596
1123
+ },
1124
+ {
1125
+ "length": 20,
1126
+ "start": 4729
1127
+ }
1128
+ ]
1129
+ },
1130
+ "contracts/types/Version.sol": {
1131
+ "VersionLib": [
1132
+ {
1133
+ "length": 20,
1134
+ "start": 1827
1135
+ },
1136
+ {
1137
+ "length": 20,
1138
+ "start": 7183
1139
+ },
1140
+ {
1141
+ "length": 20,
1142
+ "start": 9165
1143
+ }
1144
+ ]
1145
+ }
1146
+ }
1147
+ }