@etherisc/gif-next 0.0.2-d4eadee-930 → 0.0.2-d5522f6-712

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