@etherisc/gif-next 0.0.2-fe34d97-357 → 0.0.2-fe88ad7-208

Sign up to get free protection for your applications and to get access to all the features.
Files changed (410) hide show
  1. package/README.md +231 -27
  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 +520 -133
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +540 -113
  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 +946 -1214
  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 +1852 -1184
  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 +33 -1
  74. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  75. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +27 -158
  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 +37 -245
  79. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  80. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
  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 +945 -0
  97. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +432 -0
  99. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +380 -89
  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 +669 -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/IService.sol/IService.json → service/IDistributionService.sol/IDistributionService.json} +206 -60
  111. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  112. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +664 -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 +184 -196
  117. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  118. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +993 -0
  119. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  120. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +464 -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 +300 -267
  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/InstanceBase.sol/InstanceBase.json → shared/IService.sol/IService.json} +172 -95
  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/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +442 -0
  169. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  170. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/Service.sol/Service.json} +224 -56
  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 +14 -14
  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 +1 -1
  213. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  214. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  215. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  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 -39
  229. package/contracts/components/Distribution.sol +163 -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 +126 -46
  235. package/contracts/components/Product.sol +172 -61
  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 -44
  241. package/contracts/instance/IInstanceBase.sol +26 -0
  242. package/contracts/instance/IInstanceService.sol +40 -0
  243. package/contracts/instance/Instance.sol +261 -56
  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 +350 -0
  248. package/contracts/instance/InstanceServiceManager.sol +54 -0
  249. package/contracts/instance/ObjectManager.sol +101 -0
  250. package/contracts/instance/base/ComponentServiceBase.sol +57 -17
  251. package/contracts/instance/base/IInstanceBase.sol +6 -2
  252. package/contracts/instance/base/IKeyValueStore.sol +13 -14
  253. package/contracts/instance/base/ILifecycle.sol +3 -3
  254. package/contracts/instance/base/KeyValueStore.sol +49 -38
  255. package/contracts/instance/base/Lifecycle.sol +1 -1
  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 +260 -0
  264. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  265. package/contracts/instance/service/ComponentOwnerService.sol +238 -78
  266. package/contracts/instance/service/DistributionService.sol +113 -0
  267. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  268. package/contracts/instance/service/IBundleService.sol +45 -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 +87 -0
  272. package/contracts/instance/service/IPoolService.sol +8 -18
  273. package/contracts/instance/service/IProductService.sol +12 -50
  274. package/contracts/instance/service/PolicyService.sol +503 -0
  275. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  276. package/contracts/instance/service/PoolService.sol +87 -92
  277. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  278. package/contracts/instance/service/ProductService.sol +103 -339
  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 +323 -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 +1 -1
  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 +32 -7
  314. package/contracts/types/Referral.sol +85 -0
  315. package/contracts/types/RoleId.sol +62 -10
  316. package/contracts/types/StateId.sol +5 -1
  317. package/contracts/types/Timestamp.sol +7 -3
  318. package/contracts/types/UFixed.sol +128 -12
  319. package/contracts/types/Version.sol +13 -1
  320. package/package.json +4 -3
  321. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  322. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  323. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  324. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  325. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  326. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  327. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  328. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  329. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  330. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  331. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  332. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  333. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -265
  334. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  335. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  336. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -265
  337. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  338. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  339. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  340. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  341. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  342. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  343. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  344. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -136
  345. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  346. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  347. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  348. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -136
  349. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  350. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  351. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -288
  352. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  353. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -288
  354. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  355. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  356. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  357. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -144
  358. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  359. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -144
  360. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  361. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  362. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -132
  363. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  364. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -150
  365. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  366. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  367. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -531
  368. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  369. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  370. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  371. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -531
  372. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  373. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  374. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  375. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  376. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  377. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  378. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  379. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -455
  380. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  381. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -479
  382. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  383. package/contracts/experiment/statemachine/README.md +0 -112
  384. package/contracts/instance/IInstanceLinked.sol +0 -8
  385. package/contracts/instance/base/IService.sol +0 -15
  386. package/contracts/instance/base/InstanceBase.sol +0 -84
  387. package/contracts/instance/base/ModuleBase.sol +0 -53
  388. package/contracts/instance/base/ServiceBase.sol +0 -37
  389. package/contracts/instance/module/access/Access.sol +0 -149
  390. package/contracts/instance/module/access/IAccess.sol +0 -53
  391. package/contracts/instance/module/bundle/BundleModule.sol +0 -135
  392. package/contracts/instance/module/bundle/IBundle.sol +0 -51
  393. package/contracts/instance/module/compensation/CompensationModule.sol +0 -17
  394. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  395. package/contracts/instance/module/component/ComponentModule.sol +0 -81
  396. package/contracts/instance/module/component/IComponent.sol +0 -29
  397. package/contracts/instance/module/policy/IPolicy.sol +0 -62
  398. package/contracts/instance/module/policy/PolicyModule.sol +0 -92
  399. package/contracts/instance/module/pool/IPoolModule.sol +0 -40
  400. package/contracts/instance/module/pool/PoolModule.sol +0 -90
  401. package/contracts/instance/module/risk/IRisk.sol +0 -27
  402. package/contracts/instance/module/risk/RiskModule.sol +0 -70
  403. package/contracts/instance/module/treasury/ITreasury.sol +0 -96
  404. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  405. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -171
  406. package/contracts/registry/IChainNft.sol +0 -21
  407. package/contracts/registry/IRegistryLinked.sol +0 -8
  408. package/contracts/shared/IOwnable.sol +0 -6
  409. package/contracts/test/TestPool.sol +0 -24
  410. package/contracts/test/TestProduct.sol +0 -66
@@ -0,0 +1,993 @@
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": "address",
91
+ "name": "account",
92
+ "type": "address"
93
+ }
94
+ ],
95
+ "name": "ErrorNotOwner",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "address",
102
+ "name": "registryAddress",
103
+ "type": "address"
104
+ }
105
+ ],
106
+ "name": "ErrorNotRegistry",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [
111
+ {
112
+ "internalType": "address",
113
+ "name": "registryAddress",
114
+ "type": "address"
115
+ }
116
+ ],
117
+ "name": "ErrorRegisterableNotRegistry",
118
+ "type": "error"
119
+ },
120
+ {
121
+ "inputs": [],
122
+ "name": "ErrorRegistryAddressZero",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [
127
+ {
128
+ "internalType": "address",
129
+ "name": "registry",
130
+ "type": "address"
131
+ }
132
+ ],
133
+ "name": "ErrorRegistryAlreadyInitialized",
134
+ "type": "error"
135
+ },
136
+ {
137
+ "inputs": [],
138
+ "name": "ErrorRegistryNotInitialized",
139
+ "type": "error"
140
+ },
141
+ {
142
+ "inputs": [
143
+ {
144
+ "internalType": "RoleId",
145
+ "name": "expected",
146
+ "type": "uint64"
147
+ },
148
+ {
149
+ "internalType": "address",
150
+ "name": "caller",
151
+ "type": "address"
152
+ }
153
+ ],
154
+ "name": "ExpectedRoleMissing",
155
+ "type": "error"
156
+ },
157
+ {
158
+ "inputs": [],
159
+ "name": "InvalidInitialization",
160
+ "type": "error"
161
+ },
162
+ {
163
+ "inputs": [],
164
+ "name": "NotInitializing",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "anonymous": false,
169
+ "inputs": [
170
+ {
171
+ "indexed": false,
172
+ "internalType": "uint64",
173
+ "name": "version",
174
+ "type": "uint64"
175
+ }
176
+ ],
177
+ "name": "Initialized",
178
+ "type": "event"
179
+ },
180
+ {
181
+ "anonymous": false,
182
+ "inputs": [
183
+ {
184
+ "indexed": false,
185
+ "internalType": "address",
186
+ "name": "sender",
187
+ "type": "address"
188
+ }
189
+ ],
190
+ "name": "LogProductServiceSender",
191
+ "type": "event"
192
+ },
193
+ {
194
+ "anonymous": false,
195
+ "inputs": [
196
+ {
197
+ "indexed": false,
198
+ "internalType": "Version",
199
+ "name": "version",
200
+ "type": "uint24"
201
+ },
202
+ {
203
+ "indexed": false,
204
+ "internalType": "address",
205
+ "name": "implementation",
206
+ "type": "address"
207
+ },
208
+ {
209
+ "indexed": false,
210
+ "internalType": "address",
211
+ "name": "activatedBy",
212
+ "type": "address"
213
+ }
214
+ ],
215
+ "name": "LogVersionableInitialized",
216
+ "type": "event"
217
+ },
218
+ {
219
+ "inputs": [],
220
+ "name": "REGISTERABLE_LOCATION_V1",
221
+ "outputs": [
222
+ {
223
+ "internalType": "bytes32",
224
+ "name": "",
225
+ "type": "bytes32"
226
+ }
227
+ ],
228
+ "stateMutability": "view",
229
+ "type": "function"
230
+ },
231
+ {
232
+ "inputs": [
233
+ {
234
+ "internalType": "NftId",
235
+ "name": "policyNftId",
236
+ "type": "uint96"
237
+ },
238
+ {
239
+ "internalType": "Timestamp",
240
+ "name": "activateAt",
241
+ "type": "uint40"
242
+ }
243
+ ],
244
+ "name": "activate",
245
+ "outputs": [],
246
+ "stateMutability": "nonpayable",
247
+ "type": "function"
248
+ },
249
+ {
250
+ "inputs": [
251
+ {
252
+ "internalType": "RiskId",
253
+ "name": "riskId",
254
+ "type": "bytes8"
255
+ },
256
+ {
257
+ "internalType": "uint256",
258
+ "name": "sumInsuredAmount",
259
+ "type": "uint256"
260
+ },
261
+ {
262
+ "internalType": "uint256",
263
+ "name": "lifetime",
264
+ "type": "uint256"
265
+ },
266
+ {
267
+ "internalType": "bytes",
268
+ "name": "applicationData",
269
+ "type": "bytes"
270
+ },
271
+ {
272
+ "internalType": "NftId",
273
+ "name": "bundleNftId",
274
+ "type": "uint96"
275
+ },
276
+ {
277
+ "internalType": "ReferralId",
278
+ "name": "referralId",
279
+ "type": "bytes8"
280
+ }
281
+ ],
282
+ "name": "calculatePremium",
283
+ "outputs": [
284
+ {
285
+ "internalType": "uint256",
286
+ "name": "premiumAmount",
287
+ "type": "uint256"
288
+ },
289
+ {
290
+ "internalType": "uint256",
291
+ "name": "productFeeAmount",
292
+ "type": "uint256"
293
+ },
294
+ {
295
+ "internalType": "uint256",
296
+ "name": "poolFeeAmount",
297
+ "type": "uint256"
298
+ },
299
+ {
300
+ "internalType": "uint256",
301
+ "name": "bundleFeeAmount",
302
+ "type": "uint256"
303
+ },
304
+ {
305
+ "internalType": "uint256",
306
+ "name": "distributionFeeAmount",
307
+ "type": "uint256"
308
+ }
309
+ ],
310
+ "stateMutability": "view",
311
+ "type": "function"
312
+ },
313
+ {
314
+ "inputs": [
315
+ {
316
+ "internalType": "UFixed",
317
+ "name": "collateralizationLevel",
318
+ "type": "uint256"
319
+ },
320
+ {
321
+ "internalType": "uint256",
322
+ "name": "sumInsuredAmount",
323
+ "type": "uint256"
324
+ }
325
+ ],
326
+ "name": "calculateRequiredCollateral",
327
+ "outputs": [
328
+ {
329
+ "internalType": "uint256",
330
+ "name": "collateralAmount",
331
+ "type": "uint256"
332
+ }
333
+ ],
334
+ "stateMutability": "pure",
335
+ "type": "function"
336
+ },
337
+ {
338
+ "inputs": [
339
+ {
340
+ "internalType": "NftId",
341
+ "name": "policyNftId",
342
+ "type": "uint96"
343
+ }
344
+ ],
345
+ "name": "close",
346
+ "outputs": [],
347
+ "stateMutability": "nonpayable",
348
+ "type": "function"
349
+ },
350
+ {
351
+ "inputs": [
352
+ {
353
+ "internalType": "NftId",
354
+ "name": "policyNftId",
355
+ "type": "uint96"
356
+ },
357
+ {
358
+ "internalType": "Timestamp",
359
+ "name": "activateAt",
360
+ "type": "uint40"
361
+ }
362
+ ],
363
+ "name": "collectPremium",
364
+ "outputs": [],
365
+ "stateMutability": "nonpayable",
366
+ "type": "function"
367
+ },
368
+ {
369
+ "inputs": [
370
+ {
371
+ "internalType": "address",
372
+ "name": "applicationOwner",
373
+ "type": "address"
374
+ },
375
+ {
376
+ "internalType": "RiskId",
377
+ "name": "riskId",
378
+ "type": "bytes8"
379
+ },
380
+ {
381
+ "internalType": "uint256",
382
+ "name": "sumInsuredAmount",
383
+ "type": "uint256"
384
+ },
385
+ {
386
+ "internalType": "uint256",
387
+ "name": "lifetime",
388
+ "type": "uint256"
389
+ },
390
+ {
391
+ "internalType": "bytes",
392
+ "name": "applicationData",
393
+ "type": "bytes"
394
+ },
395
+ {
396
+ "internalType": "NftId",
397
+ "name": "bundleNftId",
398
+ "type": "uint96"
399
+ },
400
+ {
401
+ "internalType": "ReferralId",
402
+ "name": "referralId",
403
+ "type": "bytes8"
404
+ }
405
+ ],
406
+ "name": "createApplication",
407
+ "outputs": [
408
+ {
409
+ "internalType": "NftId",
410
+ "name": "policyNftId",
411
+ "type": "uint96"
412
+ }
413
+ ],
414
+ "stateMutability": "nonpayable",
415
+ "type": "function"
416
+ },
417
+ {
418
+ "inputs": [],
419
+ "name": "getDomain",
420
+ "outputs": [
421
+ {
422
+ "internalType": "ObjectType",
423
+ "name": "",
424
+ "type": "uint8"
425
+ }
426
+ ],
427
+ "stateMutability": "pure",
428
+ "type": "function"
429
+ },
430
+ {
431
+ "inputs": [],
432
+ "name": "getInitialInfo",
433
+ "outputs": [
434
+ {
435
+ "components": [
436
+ {
437
+ "internalType": "NftId",
438
+ "name": "nftId",
439
+ "type": "uint96"
440
+ },
441
+ {
442
+ "internalType": "NftId",
443
+ "name": "parentNftId",
444
+ "type": "uint96"
445
+ },
446
+ {
447
+ "internalType": "ObjectType",
448
+ "name": "objectType",
449
+ "type": "uint8"
450
+ },
451
+ {
452
+ "internalType": "bool",
453
+ "name": "isInterceptor",
454
+ "type": "bool"
455
+ },
456
+ {
457
+ "internalType": "address",
458
+ "name": "objectAddress",
459
+ "type": "address"
460
+ },
461
+ {
462
+ "internalType": "address",
463
+ "name": "initialOwner",
464
+ "type": "address"
465
+ },
466
+ {
467
+ "internalType": "bytes",
468
+ "name": "data",
469
+ "type": "bytes"
470
+ }
471
+ ],
472
+ "internalType": "struct IRegistry.ObjectInfo",
473
+ "name": "",
474
+ "type": "tuple"
475
+ },
476
+ {
477
+ "internalType": "bytes",
478
+ "name": "data",
479
+ "type": "bytes"
480
+ }
481
+ ],
482
+ "stateMutability": "view",
483
+ "type": "function"
484
+ },
485
+ {
486
+ "inputs": [],
487
+ "name": "getInitializedVersion",
488
+ "outputs": [
489
+ {
490
+ "internalType": "uint64",
491
+ "name": "",
492
+ "type": "uint64"
493
+ }
494
+ ],
495
+ "stateMutability": "view",
496
+ "type": "function"
497
+ },
498
+ {
499
+ "inputs": [],
500
+ "name": "getInstanceService",
501
+ "outputs": [
502
+ {
503
+ "internalType": "contract InstanceService",
504
+ "name": "",
505
+ "type": "address"
506
+ }
507
+ ],
508
+ "stateMutability": "view",
509
+ "type": "function"
510
+ },
511
+ {
512
+ "inputs": [],
513
+ "name": "getMajorVersion",
514
+ "outputs": [
515
+ {
516
+ "internalType": "VersionPart",
517
+ "name": "majorVersion",
518
+ "type": "uint8"
519
+ }
520
+ ],
521
+ "stateMutability": "view",
522
+ "type": "function"
523
+ },
524
+ {
525
+ "inputs": [],
526
+ "name": "getNftId",
527
+ "outputs": [
528
+ {
529
+ "internalType": "NftId",
530
+ "name": "",
531
+ "type": "uint96"
532
+ }
533
+ ],
534
+ "stateMutability": "view",
535
+ "type": "function"
536
+ },
537
+ {
538
+ "inputs": [],
539
+ "name": "getOwner",
540
+ "outputs": [
541
+ {
542
+ "internalType": "address",
543
+ "name": "",
544
+ "type": "address"
545
+ }
546
+ ],
547
+ "stateMutability": "view",
548
+ "type": "function"
549
+ },
550
+ {
551
+ "inputs": [],
552
+ "name": "getRegistry",
553
+ "outputs": [
554
+ {
555
+ "internalType": "contract IRegistry",
556
+ "name": "",
557
+ "type": "address"
558
+ }
559
+ ],
560
+ "stateMutability": "view",
561
+ "type": "function"
562
+ },
563
+ {
564
+ "inputs": [],
565
+ "name": "getRegistryService",
566
+ "outputs": [
567
+ {
568
+ "internalType": "contract IRegistryService",
569
+ "name": "",
570
+ "type": "address"
571
+ }
572
+ ],
573
+ "stateMutability": "view",
574
+ "type": "function"
575
+ },
576
+ {
577
+ "inputs": [],
578
+ "name": "getVersion",
579
+ "outputs": [
580
+ {
581
+ "internalType": "Version",
582
+ "name": "",
583
+ "type": "uint24"
584
+ }
585
+ ],
586
+ "stateMutability": "pure",
587
+ "type": "function"
588
+ },
589
+ {
590
+ "inputs": [
591
+ {
592
+ "internalType": "uint256",
593
+ "name": "idx",
594
+ "type": "uint256"
595
+ }
596
+ ],
597
+ "name": "getVersion",
598
+ "outputs": [
599
+ {
600
+ "internalType": "Version",
601
+ "name": "",
602
+ "type": "uint24"
603
+ }
604
+ ],
605
+ "stateMutability": "view",
606
+ "type": "function"
607
+ },
608
+ {
609
+ "inputs": [],
610
+ "name": "getVersionCount",
611
+ "outputs": [
612
+ {
613
+ "internalType": "uint256",
614
+ "name": "",
615
+ "type": "uint256"
616
+ }
617
+ ],
618
+ "stateMutability": "view",
619
+ "type": "function"
620
+ },
621
+ {
622
+ "inputs": [
623
+ {
624
+ "internalType": "Version",
625
+ "name": "_version",
626
+ "type": "uint24"
627
+ }
628
+ ],
629
+ "name": "getVersionInfo",
630
+ "outputs": [
631
+ {
632
+ "components": [
633
+ {
634
+ "internalType": "Version",
635
+ "name": "version",
636
+ "type": "uint24"
637
+ },
638
+ {
639
+ "internalType": "address",
640
+ "name": "implementation",
641
+ "type": "address"
642
+ },
643
+ {
644
+ "internalType": "address",
645
+ "name": "activatedBy",
646
+ "type": "address"
647
+ },
648
+ {
649
+ "internalType": "Timestamp",
650
+ "name": "activatedAt",
651
+ "type": "uint40"
652
+ },
653
+ {
654
+ "internalType": "Blocknumber",
655
+ "name": "activatedIn",
656
+ "type": "uint32"
657
+ }
658
+ ],
659
+ "internalType": "struct IVersionable.VersionInfo",
660
+ "name": "",
661
+ "type": "tuple"
662
+ }
663
+ ],
664
+ "stateMutability": "view",
665
+ "type": "function"
666
+ },
667
+ {
668
+ "inputs": [
669
+ {
670
+ "internalType": "address",
671
+ "name": "implementation",
672
+ "type": "address"
673
+ },
674
+ {
675
+ "internalType": "address",
676
+ "name": "activatedBy",
677
+ "type": "address"
678
+ },
679
+ {
680
+ "internalType": "bytes",
681
+ "name": "data",
682
+ "type": "bytes"
683
+ }
684
+ ],
685
+ "name": "initialize",
686
+ "outputs": [],
687
+ "stateMutability": "nonpayable",
688
+ "type": "function"
689
+ },
690
+ {
691
+ "inputs": [
692
+ {
693
+ "internalType": "Version",
694
+ "name": "_version",
695
+ "type": "uint24"
696
+ }
697
+ ],
698
+ "name": "isInitialized",
699
+ "outputs": [
700
+ {
701
+ "internalType": "bool",
702
+ "name": "",
703
+ "type": "bool"
704
+ }
705
+ ],
706
+ "stateMutability": "view",
707
+ "type": "function"
708
+ },
709
+ {
710
+ "inputs": [],
711
+ "name": "linkToRegisteredNftId",
712
+ "outputs": [],
713
+ "stateMutability": "nonpayable",
714
+ "type": "function"
715
+ },
716
+ {
717
+ "inputs": [
718
+ {
719
+ "internalType": "NftId",
720
+ "name": "policyNftId",
721
+ "type": "uint96"
722
+ }
723
+ ],
724
+ "name": "revoke",
725
+ "outputs": [],
726
+ "stateMutability": "nonpayable",
727
+ "type": "function"
728
+ },
729
+ {
730
+ "inputs": [
731
+ {
732
+ "internalType": "bytes4",
733
+ "name": "interfaceId",
734
+ "type": "bytes4"
735
+ }
736
+ ],
737
+ "name": "supportsInterface",
738
+ "outputs": [
739
+ {
740
+ "internalType": "bool",
741
+ "name": "",
742
+ "type": "bool"
743
+ }
744
+ ],
745
+ "stateMutability": "view",
746
+ "type": "function"
747
+ },
748
+ {
749
+ "inputs": [
750
+ {
751
+ "internalType": "NftId",
752
+ "name": "policyNftId",
753
+ "type": "uint96"
754
+ },
755
+ {
756
+ "internalType": "bool",
757
+ "name": "requirePremiumPayment",
758
+ "type": "bool"
759
+ },
760
+ {
761
+ "internalType": "Timestamp",
762
+ "name": "activateAt",
763
+ "type": "uint40"
764
+ }
765
+ ],
766
+ "name": "underwrite",
767
+ "outputs": [],
768
+ "stateMutability": "nonpayable",
769
+ "type": "function"
770
+ },
771
+ {
772
+ "inputs": [
773
+ {
774
+ "internalType": "address",
775
+ "name": "implementation",
776
+ "type": "address"
777
+ },
778
+ {
779
+ "internalType": "address",
780
+ "name": "activatedBy",
781
+ "type": "address"
782
+ },
783
+ {
784
+ "internalType": "bytes",
785
+ "name": "data",
786
+ "type": "bytes"
787
+ }
788
+ ],
789
+ "name": "upgrade",
790
+ "outputs": [],
791
+ "stateMutability": "nonpayable",
792
+ "type": "function"
793
+ }
794
+ ],
795
+ "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b614a74806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063644c45e0116100f9578063b88da75911610097578063caf4e3d411610071578063caf4e3d414610526578063cc9fc59a1461052e578063cde749f414610536578063cf7a1d771461053e57600080fd5b8063b88da759146104ed578063bbfbbfba14610500578063c2c749871461051357600080fd5b80639cdaa7f9116100d35780639cdaa7f91461046a578063a745e3df146104a5578063b3c65015146104b8578063b68d1809146104d857600080fd5b8063644c45e01461040f578063893d20e81461043b578063946dfcfe1461044357600080fd5b80634d459c90116101665780635ab1bd53116101405780635ab1bd53146103b15780635fd1a5f5146103d6578063603ccaad146103e9578063630361f6146103fc57600080fd5b80634d459c90146102725780634d5e16a91461038b5780634f4213331461039e57600080fd5b806301ffc9a7146101ae5780630aaba8e8146101f05780630d8e6e2c146102035780630fec111c1461021f578063138461e0146102355780631eff4b221461023d575b600080fd5b6101db6101bc366004613924565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102016101fe366004613963565b50565b005b61020b610551565b60405162ffffff90911681526020016101e7565b6102276105db565b6040516101e7929190613a41565b61020161072e565b6102647f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b61032e610280366004613a80565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020614a1f83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101e7565b610201610399366004613ab0565b610950565b6101db6103ac366004613a80565b610c14565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b6102646103e4366004613ae9565b610cc7565b6102016103f7366004613963565b610dd0565b61020161040a366004613b19565b610e22565b600154600160a01b90046001600160601b03165b6040516001600160601b0390911681526020016101e7565b6103be611394565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610264565b61047d610478366004613cce565b6114ad565b604080519586526020860194909452928401919091526060830152608082015260a0016101e7565b6102016104b3366004613d6b565b61158b565b6104c06116e5565b6040516001600160401b0390911681526020016101e7565b60d25b60405160ff90911681526020016101e7565b61020b6104fb366004613dcc565b611706565b61020161050e366004613ab0565b611757565b610423610521366004613de5565b6117d4565b6103be611a8c565b6103be611b23565b6104db611b4d565b61020161054c366004613d6b565b611bd0565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d69190613e81565b905090565b6105e3613868565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061062f6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610677611394565b6001600160a01b0316815260200182600101805461069490613e9e565b80601f01602080910402602001604051908101604052809291908181526020018280546106c090613e9e565b801561070d5780601f106106e25761010080835404028352916020019161070d565b820191906000526020600020905b8154815290600101906020018083116106f057829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610790573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b49190613ee8565b156107fb576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108245760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa15801561086d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108919190613ee8565b6108b9576040516372657a5160e01b81526001600160a01b03821660048201526024016107f2565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610903573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109279190613f10565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600061095c606e611cd9565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561099f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c39190613f2d565b60405163bd7d9d8560e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015610a16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a3e9190810190613fb7565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610a9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac29190613ee8565b610b0e5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f4143544956415445440060448201526064016107f2565b64ffffffffff84166101a0820181905260e0820151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015610b79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9d919061412b565b64ffffffffff166101c0820152604051634d4b06a960e11b81526001600160a01b03841690639a960d5290610bdb9088908590606490600401614277565b600060405180830381600087803b158015610bf557600080fd5b505af1158015610c09573d6000803e3d6000fd5b505050505050505050565b600080600080516020614a1f83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610c9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc091906142ac565b1192915050565b6040516322f5db0f60e11b815260048101829052600090819073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610d1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4091906142ac565b90506000610d4e8583611f50565b604051632255341b60e11b81526004810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610da1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc591906142ac565b925050505b92915050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233343a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b60648201526084016107f2565b600080610e2f606e611cd9565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e979190613f2d565b835160405163bd7d9d8560e01b81526001600160601b0389166004820152919250906000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa158015610eed573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f159190810190613fb7565b80519091506001600160601b03838116911614610f745760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d4154434800000000000000000060448201526064016107f2565b604051639096a1f360e01b81526001600160601b0389166004820152610ff2906001600160a01b03851690639096a1f390602401602060405180830381865afa158015610fc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe991906142df565b60ff16600a1490565b61103e5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c4945440060448201526064016107f2565b60006110486138a6565b60405163242bdc1960e21b81526001600160601b0385166004820152600090819081906001600160a01b038916906390af70649060240161024060405180830381865afa15801561109d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c19190614355565b90506110cb6138a6565b6110d78a8a8985611f6c565b9197509094506110f092508a9150869050858f866120ef565b9250602864ffffffffff8b16156111a357606464ffffffffff8c166101a0880181905260e0880151604051631ded81af60e31b81526004810192909252602482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015611171573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611195919061412b565b64ffffffffff166101c08701525b8b156111d9576111bd898b600001518f8960a00151612116565b91508560a001518660c0018181516111d5919061444c565b9052505b600460009054906101000a90046001600160a01b03166001600160a01b03166332e6f9228a8f8887876040518663ffffffff1660e01b81526004016112579594939291906001600160a01b039590951685526001600160601b0393841660208601529190921660408401526060830191909152608082015260a00190565b600060405180830381600087803b15801561127157600080fd5b505af1158015611285573d6000803e3d6000fd5b50505050886001600160a01b0316639a960d528e88846040518463ffffffff1660e01b81526004016112b993929190614277565b600060405180830381600087803b1580156112d357600080fd5b505af11580156112e7573d6000803e3d6000fd5b505085516040516355e343a960e01b81526001600160601b039091166004820152600092506001600160a01b038b1691506355e343a99060240161018060405180830381865afa15801561133f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611363919061446d565b90508060e00151156113845761138485600001518f898860400151886126ce565b5050505050505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156113f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141d9190613ee8565b1561149d57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015611479573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d69190613f2d565b506002546001600160a01b031690565b6000806000806000806114be6127d3565b90506000816001600160a01b0316635e78426b8d8f8e8e6040518563ffffffff1660e01b81526004016114f49493929190614522565b602060405180830381865afa158015611511573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061153591906142ac565b905061154381838b8b6127f2565b92985090965094509250611557868261444c565b9650611563848661444c565b61156d908861444c565b9650611579838861444c565b96505050965096509650965096915050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6115ad610551565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156115ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611611919061455d565b6000805160206149ff8339815191528054600160401b900460ff1680611644575080546001600160401b03808416911610155b156116625760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561168d8585612e8b565b6116968361312a565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006105d66000805160206149ff833981519152546001600160401b031690565b6000600080516020614a1f833981519152600101828154811061172b5761172b614586565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080611764606e611cd9565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117cc9190613f2d565b505050505050565b600080806117e2606e611cd9565b915091506117ee611a8c565b6001600160a01b0316635c992fed6040518060e0016040528061180f600090565b6001600160601b039081168252865116602082015260400160d260ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b8152600401611888919061459c565b6020604051808303816000875af11580156118a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118cb9190613f10565b925060006118dd8a8a8a8a8a8a6114ad565b505050509050600060405180610200016040528085600001516001600160601b03168152602001886001600160601b03168152602001876001600160c01b03191681526020018c6001600160c01b03191681526020018b8152602001838152602001600081526020018a8152602001898152602001604051806020016040528060008152508152602001600061ffff168152602001600061ffff1681526020016000815260200161198c600090565b64ffffffffff168152600060208201819052604091820152516202f23560ee1b81529091506001600160a01b0384169063bc8d4000906119d290889085906004016145af565b600060405180830381600087803b1580156119ec57600080fd5b505af1158015611a00573d6000803e3d6000fd5b50505050826001600160a01b0316635d4345cc86611a1c600a90565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015611a6557600080fd5b505af1158015611a79573d6000803e3d6000fd5b5050505050505050979650505050505050565b600080611aa16001546001600160a01b031690565b6001600160a01b031663d39e604360285b611aba611b4d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611aff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dca9190613f2d565b600080611b386001546001600160a01b031690565b6001600160a01b031663d39e60436046611ab2565b6000611b57610551565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611bac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d691906142df565b6000805160206149ff8339815191528054600160401b810460ff1615906001600160401b0316600081158015611c035750825b90506000826001600160401b03166001148015611c1f5750303b155b905081158015611c2d575080155b15611c4b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611c7557845460ff60401b1916600160401b1785555b611c7f8888612e8b565b611c898787613132565b8315611ccf57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b611ce1613868565b600080611cf66001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015611d3d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d6591908101906145d1565b9250611d7b83604001518560ff90811691161490565b611dbd5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016107f2565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611e13573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e3b91908101906145d1565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e84573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea89190613f2d565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015611ef5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f199190613ee8565b15611f4857608085015160405163d53987e560e01b81526001600160a01b0390911660048201526024016107f2565b505050915091565b6000611f658383670de0b6b3a76400006133a0565b9392505050565b6000611f766138a6565b6020840151604051634793b4ab60e01b81526001600160601b03821660048201529092506000906001600160a01b03871690634793b4ab90602401600060405180830381865afa158015611fce573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ff691908101906146a3565b805160608601519193506001600160601b039081169116146120535760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b60448201526064016107f2565b60608401516040516355e343a960e01b81526001600160601b03821660048201526000906001600160a01b038916906355e343a99060240161018060405180830381865afa1580156120a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120cd919061446d565b90506120e181604001518860800151610cc7565b925050509450945094915050565b6120f76138a6565b8184608001818151612109919061444c565b9052509295945050505050565b600081156126c6576000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561215e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121829190613f2d565b60405163242bdc1960e21b81526001600160601b03871660048201526001600160a01b0391909116906390af70649060240161024060405180830381865afa1580156121d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121f69190614355565b602081015190915060006122126001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03881660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612261573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122859190613f2d565b90506000886001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122eb9190613f2d565b60608501516040516355e343a960e01b81526001600160601b0390911660048201526001600160a01b0391909116906355e343a99060240161018060405180830381865afa158015612341573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612365919061446d565b61010081015160a08601516040516346f0526160e11b8152899850929350909173__$a23651848365a6a5ca15f07b4331037f48$__90638de0a4c2906123af908490600401614774565b602060405180830381865af41580156123cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123f09190613ee8565b1561245c576040516317d5759960e31b81526001600160a01b0386169063beabacc89061242590879086908d9060040161478b565b600060405180830381600087803b15801561243f57600080fd5b505af1158015612453573d6000803e3d6000fd5b505050506126bf565b60a086015160405163012ebd8360e21b815281516004820152602090910151602482015260448101889052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af41580156124c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124eb91906147af565b91509150600088610160015190508a886001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612538573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061255c9190613f2d565b604051636eb1769f60e11b81526001600160a01b038a811660048301528b81166024830152919091169063dd62ed3e90604401602060405180830381865afa1580156125ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125d091906142ac565b10156125f55786888c604051636d675c4360e01b81526004016107f29392919061478b565b6040516317d5759960e31b81526001600160a01b0389169063beabacc890612625908a908590889060040161478b565b600060405180830381600087803b15801561263f57600080fd5b505af1158015612653573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b038b16925063beabacc89150612687908a908990879060040161478b565b600060405180830381600087803b1580156126a157600080fd5b505af11580156126b5573d6000803e3d6000fd5b50939b5050505050505b5050505050505b949350505050565b60006126e26001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612731573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261275991908101906145d1565b608001516101008501516040516332f7fe0d60e11b815291925082916001600160a01b038316916365effc1a91612798918a91899089906004016147d3565b600060405180830381600087803b1580156127b257600080fd5b505af11580156127c6573d6000803e3d6000fd5b5050505050505050505050565b60006127dd613868565b6127e7606e611cd9565b506080015192915050565b600080600080600080886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612839573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061285d9190613f2d565b9050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561289d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128c19190613f2d565b9150506000886001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa158015612904573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129289190613f10565b604051634793b4ab60e01b81526001600160601b038a1660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa15801561297b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129a391908101906146a3565b80519091506001600160601b03838116911614612a0d5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a5052532d3033353a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b60648201526084016107f2565b6000836001600160a01b03166390af70648c6001600160a01b03166251884a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a7f9190613f10565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161024060405180830381865afa158015612ac4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ae89190614355565b60a081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612b51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b7591906147af565b506040516355e343a960e01b81526001600160601b0385166004820152909850600091506001600160a01b038516906355e343a99060240161018060405180830381865afa158015612bcb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bef919061446d565b606081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612c58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c7c91906147af565b50809750505060008a6001600160a01b031663db6dcc956040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cc2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ce69190613f10565b604051639ad69c6760e01b81526001600160601b03821660048201529091506000906001600160a01b03861690639ad69c679060240160c060405180830381865afa158015612d39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d5d9190614819565b604080820151905163012ebd8360e21b8152815160048201526020909101516024820152604481018f905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612dc6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dea91906147af565b5060208481015160405163012ebd8360e21b8152815160048201529101516024820152604481018f905290965073__$a23651848365a6a5ca15f07b4331037f48$__92506304baf60c91506064016040805180830381865af4158015612e54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e7891906147af565b5080955050505050945094509450949050565b612e93613489565b600080516020614a1f8339815191526000612ec36000805160206149ff833981519152546001600160401b031690565b90506000612ecf610551565b9050816001600160401b0316600103612efc5760028301805462ffffff191662ffffff8316179055612f4a565b600283015462ffffff90811690821611612f4a5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016107f2565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015612ffe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613022919061412b565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906116d69083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101a9613489565b6000805160206149ff8339815191528054600160401b810460ff1615906001600160401b03166000811580156131655750825b90506000826001600160401b031660011480156131815750303b155b90508115801561318f575080155b156131ad5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156131d757845460ff60401b1916600160401b1785555b600080878060200190518101906131ee91906148af565b90925090506131fd828a6134c2565b6001546001600160a01b031663d39e6043608c613218611b4d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561325d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132819190613f2d565b600380546001600160a01b0319166001600160a01b039283161790556001541663d39e60436132ae60dc90565b6132b6611b4d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156132fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061331f9190613f2d565b600480546001600160a01b0319166001600160a01b039290921691909117905561334f63fefde12b60e01b61352d565b5050831561339757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b60008080600019858709858702925082811083820303915050806000036133da578382816133d0576133d06148de565b0492505050611f65565b8084116134215760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b60448201526064016107f2565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b6000805160206149ff83398151915254600160401b900460ff166134c057604051631afcd79f60e31b815260040160405180910390fd5b565b600060d26134ce611b4d565b6040805160ff938416602082015292909116908201526060016040516020818303038152906040529050600061350384613552565b905060006135168583603c8488886135bd565b613526637b6a51fd60e01b61352d565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015613599573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dca9190613f10565b6135fe6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6136088287613689565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613678838261493f565b506133976303fb044760e21b61352d565b6001600160a01b0382166136df5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016107f2565b600280546001600160a01b0319166001600160a01b03841617905561370381613707565b5050565b6001546001600160a01b0316156137405760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016107f2565b6001600160a01b0381166137675760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b60000361379d5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107f2565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263102da10360e01b60048201526301ffc9a790602401602060405180830381865afa925050508015613817575060408051601f3d908101601f1916820190925261381491810190613ee8565b60015b61383f5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107f2565b806137035760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107f2565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60405180610120016040528060006001600160601b031681526020016138df604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60006020828403121561393657600080fd5b81356001600160e01b031981168114611f6557600080fd5b6001600160601b03811681146101fe57600080fd5b60006020828403121561397557600080fd5b8135611f658161394e565b60005b8381101561399b578181015183820152602001613983565b50506000910152565b600081518084526139bc816020860160208601613980565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c08501526126c660e08501826139a4565b604081526000613a5460408301856139d0565b8281036020840152613a6681856139a4565b95945050505050565b62ffffff811681146101fe57600080fd5b600060208284031215613a9257600080fd5b8135611f6581613a6f565b64ffffffffff811681146101fe57600080fd5b60008060408385031215613ac357600080fd5b8235613ace8161394e565b91506020830135613ade81613a9d565b809150509250929050565b60008060408385031215613afc57600080fd5b50508035926020909101359150565b80151581146101fe57600080fd5b600080600060608486031215613b2e57600080fd5b8335613b398161394e565b92506020840135613b4981613b0b565b91506040840135613b5981613a9d565b809150509250925092565b6001600160c01b0319811681146101fe57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b0381118282101715613bb357613bb3613b7a565b60405290565b60405161018081016001600160401b0381118282101715613bb357613bb3613b7a565b60405161012081016001600160401b0381118282101715613bb357613bb3613b7a565b60405160e081016001600160401b0381118282101715613bb357613bb3613b7a565b604051601f8201601f191681016001600160401b0381118282101715613c4957613c49613b7a565b604052919050565b60006001600160401b03821115613c6a57613c6a613b7a565b50601f01601f191660200190565b600082601f830112613c8957600080fd5b8135613c9c613c9782613c51565b613c21565b818152846020838601011115613cb157600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215613ce757600080fd5b8635613cf281613b64565b9550602087013594506040870135935060608701356001600160401b03811115613d1b57600080fd5b613d2789828a01613c78565b9350506080870135613d388161394e565b915060a0870135613d4881613b64565b809150509295509295509295565b6001600160a01b03811681146101fe57600080fd5b600080600060608486031215613d8057600080fd5b8335613d8b81613d56565b92506020840135613d9b81613d56565b915060408401356001600160401b03811115613db657600080fd5b613dc286828701613c78565b9150509250925092565b600060208284031215613dde57600080fd5b5035919050565b600080600080600080600060e0888a031215613e0057600080fd5b8735613e0b81613d56565b96506020880135613e1b81613b64565b9550604088013594506060880135935060808801356001600160401b03811115613e4457600080fd5b613e508a828b01613c78565b93505060a0880135613e618161394e565b915060c0880135613e7181613b64565b8091505092959891949750929550565b600060208284031215613e9357600080fd5b8151611f6581613a6f565b600181811c90821680613eb257607f821691505b602082108103613ed257634e487b7160e01b600052602260045260246000fd5b50919050565b8051613ee381613b0b565b919050565b600060208284031215613efa57600080fd5b8151611f6581613b0b565b8051613ee38161394e565b600060208284031215613f2257600080fd5b8151611f658161394e565b600060208284031215613f3f57600080fd5b8151611f6581613d56565b8051613ee381613b64565b600082601f830112613f6657600080fd5b8151613f74613c9782613c51565b818152846020838601011115613f8957600080fd5b6126c6826020830160208701613980565b805161ffff81168114613ee357600080fd5b8051613ee381613a9d565b600060208284031215613fc957600080fd5b81516001600160401b0380821115613fe057600080fd5b908301906102008286031215613ff557600080fd5b613ffd613b90565b61400683613f05565b815261401460208401613f05565b602082015261402560408401613f4a565b604082015261403660608401613f4a565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e0820152610100808401518381111561407757600080fd5b61408388828701613f55565b828401525050610120808401518381111561409d57600080fd5b6140a988828701613f55565b82840152505061014091506140bf828401613f9a565b8282015261016091506140d3828401613f9a565b82820152610180915081830151828201526101a091506140f4828401613fac565b828201526101c09150614108828401613fac565b828201526101e0915061411c828401613fac565b91810191909152949350505050565b60006020828403121561413d57600080fd5b8151611f6581613a9d565b80516001600160601b031682526000610200602083015161417460208601826001600160601b03169052565b50604083015161419060408601826001600160c01b0319169052565b5060608301516141ac60608601826001600160c01b0319169052565b506080830151608085015260a083015160a085015260c083015160c085015260e083015160e08501526101008084015182828701526141ed838701826139a4565b92505050610120808401518583038287015261420983826139a4565b92505050610140808401516142238287018261ffff169052565b50506101608381015161ffff169085015261018080840151908501526101a08084015164ffffffffff908116918601919091526101c0808501518216908601526101e0938401511692909301919091525090565b6001600160601b03841681526060602082015260006142996060830185614148565b905060ff83166040830152949350505050565b6000602082840312156142be57600080fd5b5051919050565b60ff811681146101fe57600080fd5b8051613ee3816142c5565b6000602082840312156142f157600080fd5b8151611f65816142c5565b8051613ee381613d56565b60006040828403121561431957600080fd5b604051604081018181106001600160401b038211171561433b5761433b613b7a565b604052825181526020928301519281019290925250919050565b6000610240828403121561436857600080fd5b614370613bb9565b614379836142fc565b8152614387602084016142fc565b602082015261439860408401613f05565b60408201526143a960608401613f05565b60608201526143bb8460808501614307565b60808201526143cd8460c08501614307565b60a08201526101006143e185828601614307565b60c08301526101406143f586828701614307565b60e0840152614408866101808701614307565b8284015261441a866101c08701614307565b61012084015261442d6102008601613ed8565b908301525061443f61022084016142fc565b6101608201529392505050565b80820180821115610dca57634e487b7160e01b600052601160045260246000fd5b6000610180828403121561448057600080fd5b614488613bdc565b61449183613f05565b815261449f602084016142fc565b6020820152604083015160408201526144bb8460608501614307565b60608201526144cd8460a08501614307565b60808201526144df8460e08501614307565b60a08201526144f16101208401613ed8565b60c08201526145036101408401613ed8565b60e082015261451561016084016142fc565b6101008201529392505050565b8481526001600160401b0360c01b8416602082015282604082015260806060820152600061455360808301846139a4565b9695505050505050565b60006020828403121561456f57600080fd5b81516001600160401b0381168114611f6557600080fd5b634e487b7160e01b600052603260045260246000fd5b602081526000611f6560208301846139d0565b6001600160601b03831681526040602082015260006126c66040830184614148565b6000602082840312156145e357600080fd5b81516001600160401b03808211156145fa57600080fd5b9083019060e0828603121561460e57600080fd5b614616613bff565b61461f83613f05565b815261462d60208401613f05565b602082015261463e604084016142d4565b604082015261464f60608401613ed8565b6060820152614660608084016142fc565b608082015261467160a084016142fc565b60a082015260c08301518281111561468857600080fd5b61469487828601613f55565b60c08301525095945050505050565b6000602082840312156146b557600080fd5b81516001600160401b03808211156146cc57600080fd5b9083019061014082860312156146e157600080fd5b6146e9613bdc565b6146f283613f05565b81526147018660208501614307565b602082015260608301518281111561471857600080fd5b61472487828601613f55565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c08201526101009150614762828401613fac565b60e082015261411c6101208401613fac565b815181526020808301519082015260408101610dca565b6001600160a01b039384168152919092166020820152604081019190915260600190565b600080604083850312156147c257600080fd5b505080516020909101519092909150565b6001600160601b03851681526080602082015260006147f560808301866139a4565b828103604084015261480781866139a4565b91505082606083015295945050505050565b600060c0828403121561482b57600080fd5b60405160a081018181106001600160401b038211171561484d5761484d613b7a565b604052825161485b8161394e565b8152602083015161486b81613d56565b602082015261487d8460408501614307565b6040820152608083015161489081613b0b565b606082015260a08301516148a381613d56565b60808201529392505050565b600080604083850312156148c257600080fd5b82516148cd81613d56565b6020840151909250613ade81613d56565b634e487b7160e01b600052601260045260246000fd5b601f82111561493a57600081815260208120601f850160051c8101602086101561491b5750805b601f850160051c820191505b818110156117cc57828155600101614927565b505050565b81516001600160401b0381111561495857614958613b7a565b61496c816149668454613e9e565b846148f4565b602080601f8311600181146149a157600084156149895750858301515b600019600386901b1c1916600185901b1785556117cc565b600085815260208120601f198616915b828110156149d0578886015182559484019460019091019084016149b1565b50858210156149ee5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220da74fb77e5607fef0e3f5f7b865448dbc67199719aeae3aa4ab6518f05e73f5164736f6c63430008140033",
796
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063644c45e0116100f9578063b88da75911610097578063caf4e3d411610071578063caf4e3d414610526578063cc9fc59a1461052e578063cde749f414610536578063cf7a1d771461053e57600080fd5b8063b88da759146104ed578063bbfbbfba14610500578063c2c749871461051357600080fd5b80639cdaa7f9116100d35780639cdaa7f91461046a578063a745e3df146104a5578063b3c65015146104b8578063b68d1809146104d857600080fd5b8063644c45e01461040f578063893d20e81461043b578063946dfcfe1461044357600080fd5b80634d459c90116101665780635ab1bd53116101405780635ab1bd53146103b15780635fd1a5f5146103d6578063603ccaad146103e9578063630361f6146103fc57600080fd5b80634d459c90146102725780634d5e16a91461038b5780634f4213331461039e57600080fd5b806301ffc9a7146101ae5780630aaba8e8146101f05780630d8e6e2c146102035780630fec111c1461021f578063138461e0146102355780631eff4b221461023d575b600080fd5b6101db6101bc366004613924565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102016101fe366004613963565b50565b005b61020b610551565b60405162ffffff90911681526020016101e7565b6102276105db565b6040516101e7929190613a41565b61020161072e565b6102647f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b61032e610280366004613a80565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020614a1f83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101e7565b610201610399366004613ab0565b610950565b6101db6103ac366004613a80565b610c14565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b6102646103e4366004613ae9565b610cc7565b6102016103f7366004613963565b610dd0565b61020161040a366004613b19565b610e22565b600154600160a01b90046001600160601b03165b6040516001600160601b0390911681526020016101e7565b6103be611394565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610264565b61047d610478366004613cce565b6114ad565b604080519586526020860194909452928401919091526060830152608082015260a0016101e7565b6102016104b3366004613d6b565b61158b565b6104c06116e5565b6040516001600160401b0390911681526020016101e7565b60d25b60405160ff90911681526020016101e7565b61020b6104fb366004613dcc565b611706565b61020161050e366004613ab0565b611757565b610423610521366004613de5565b6117d4565b6103be611a8c565b6103be611b23565b6104db611b4d565b61020161054c366004613d6b565b611bd0565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d69190613e81565b905090565b6105e3613868565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061062f6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610677611394565b6001600160a01b0316815260200182600101805461069490613e9e565b80601f01602080910402602001604051908101604052809291908181526020018280546106c090613e9e565b801561070d5780601f106106e25761010080835404028352916020019161070d565b820191906000526020600020905b8154815290600101906020018083116106f057829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610790573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b49190613ee8565b156107fb576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108245760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa15801561086d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108919190613ee8565b6108b9576040516372657a5160e01b81526001600160a01b03821660048201526024016107f2565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610903573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109279190613f10565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600061095c606e611cd9565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561099f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c39190613f2d565b60405163bd7d9d8560e01b81526001600160601b03861660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015610a16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a3e9190810190613fb7565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610a9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac29190613ee8565b610b0e5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032303a414c52454144595f4143544956415445440060448201526064016107f2565b64ffffffffff84166101a0820181905260e0820151604051631ded81af60e31b81526004810192909252602482015273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015610b79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9d919061412b565b64ffffffffff166101c0820152604051634d4b06a960e11b81526001600160a01b03841690639a960d5290610bdb9088908590606490600401614277565b600060405180830381600087803b158015610bf557600080fd5b505af1158015610c09573d6000803e3d6000fd5b505050505050505050565b600080600080516020614a1f83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610c9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc091906142ac565b1192915050565b6040516322f5db0f60e11b815260048101829052600090819073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af4158015610d1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4091906142ac565b90506000610d4e8583611f50565b604051632255341b60e11b81526004810182905290915073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015610da1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc591906142ac565b925050505b92915050565b60405162461bcd60e51b815260206004820152602160248201527f4552524f523a5052532d3233343a4e4f545f5945545f494d504c454d454e54456044820152601160fa1b60648201526084016107f2565b600080610e2f606e611cd9565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e979190613f2d565b835160405163bd7d9d8560e01b81526001600160601b0389166004820152919250906000906001600160a01b0384169063bd7d9d8590602401600060405180830381865afa158015610eed573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f159190810190613fb7565b80519091506001600160601b03838116911614610f745760405162461bcd60e51b815260206004820152601760248201527f504f4c4943595f50524f445543545f4d49534d4154434800000000000000000060448201526064016107f2565b604051639096a1f360e01b81526001600160601b0389166004820152610ff2906001600160a01b03851690639096a1f390602401602060405180830381865afa158015610fc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe991906142df565b60ff16600a1490565b61103e5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a5052532d3032313a53544154455f4e4f545f4150504c4945440060448201526064016107f2565b60006110486138a6565b60405163242bdc1960e21b81526001600160601b0385166004820152600090819081906001600160a01b038916906390af70649060240161024060405180830381865afa15801561109d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c19190614355565b90506110cb6138a6565b6110d78a8a8985611f6c565b9197509094506110f092508a9150869050858f866120ef565b9250602864ffffffffff8b16156111a357606464ffffffffff8c166101a0880181905260e0880151604051631ded81af60e31b81526004810192909252602482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af4158015611171573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611195919061412b565b64ffffffffff166101c08701525b8b156111d9576111bd898b600001518f8960a00151612116565b91508560a001518660c0018181516111d5919061444c565b9052505b600460009054906101000a90046001600160a01b03166001600160a01b03166332e6f9228a8f8887876040518663ffffffff1660e01b81526004016112579594939291906001600160a01b039590951685526001600160601b0393841660208601529190921660408401526060830191909152608082015260a00190565b600060405180830381600087803b15801561127157600080fd5b505af1158015611285573d6000803e3d6000fd5b50505050886001600160a01b0316639a960d528e88846040518463ffffffff1660e01b81526004016112b993929190614277565b600060405180830381600087803b1580156112d357600080fd5b505af11580156112e7573d6000803e3d6000fd5b505085516040516355e343a960e01b81526001600160601b039091166004820152600092506001600160a01b038b1691506355e343a99060240161018060405180830381865afa15801561133f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611363919061446d565b90508060e00151156113845761138485600001518f898860400151886126ce565b5050505050505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156113f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061141d9190613ee8565b1561149d57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015611479573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d69190613f2d565b506002546001600160a01b031690565b6000806000806000806114be6127d3565b90506000816001600160a01b0316635e78426b8d8f8e8e6040518563ffffffff1660e01b81526004016114f49493929190614522565b602060405180830381865afa158015611511573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061153591906142ac565b905061154381838b8b6127f2565b92985090965094509250611557868261444c565b9650611563848661444c565b61156d908861444c565b9650611579838861444c565b96505050965096509650965096915050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6115ad610551565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156115ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611611919061455d565b6000805160206149ff8339815191528054600160401b900460ff1680611644575080546001600160401b03808416911610155b156116625760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561168d8585612e8b565b6116968361312a565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006105d66000805160206149ff833981519152546001600160401b031690565b6000600080516020614a1f833981519152600101828154811061172b5761172b614586565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080611764606e611cd9565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117cc9190613f2d565b505050505050565b600080806117e2606e611cd9565b915091506117ee611a8c565b6001600160a01b0316635c992fed6040518060e0016040528061180f600090565b6001600160601b039081168252865116602082015260400160d260ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b8152600401611888919061459c565b6020604051808303816000875af11580156118a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118cb9190613f10565b925060006118dd8a8a8a8a8a8a6114ad565b505050509050600060405180610200016040528085600001516001600160601b03168152602001886001600160601b03168152602001876001600160c01b03191681526020018c6001600160c01b03191681526020018b8152602001838152602001600081526020018a8152602001898152602001604051806020016040528060008152508152602001600061ffff168152602001600061ffff1681526020016000815260200161198c600090565b64ffffffffff168152600060208201819052604091820152516202f23560ee1b81529091506001600160a01b0384169063bc8d4000906119d290889085906004016145af565b600060405180830381600087803b1580156119ec57600080fd5b505af1158015611a00573d6000803e3d6000fd5b50505050826001600160a01b0316635d4345cc86611a1c600a90565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015611a6557600080fd5b505af1158015611a79573d6000803e3d6000fd5b5050505050505050979650505050505050565b600080611aa16001546001600160a01b031690565b6001600160a01b031663d39e604360285b611aba611b4d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611aff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dca9190613f2d565b600080611b386001546001600160a01b031690565b6001600160a01b031663d39e60436046611ab2565b6000611b57610551565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611bac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d691906142df565b6000805160206149ff8339815191528054600160401b810460ff1615906001600160401b0316600081158015611c035750825b90506000826001600160401b03166001148015611c1f5750303b155b905081158015611c2d575080155b15611c4b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611c7557845460ff60401b1916600160401b1785555b611c7f8888612e8b565b611c898787613132565b8315611ccf57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b611ce1613868565b600080611cf66001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015611d3d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d6591908101906145d1565b9250611d7b83604001518560ff90811691161490565b611dbd5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016107f2565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611e13573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e3b91908101906145d1565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e84573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea89190613f2d565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015611ef5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f199190613ee8565b15611f4857608085015160405163d53987e560e01b81526001600160a01b0390911660048201526024016107f2565b505050915091565b6000611f658383670de0b6b3a76400006133a0565b9392505050565b6000611f766138a6565b6020840151604051634793b4ab60e01b81526001600160601b03821660048201529092506000906001600160a01b03871690634793b4ab90602401600060405180830381865afa158015611fce573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ff691908101906146a3565b805160608601519193506001600160601b039081169116146120535760405162461bcd60e51b81526020600482015260166024820152750a09e989286b2be84aa9c88988abe9a92a69a82a886960531b60448201526064016107f2565b60608401516040516355e343a960e01b81526001600160601b03821660048201526000906001600160a01b038916906355e343a99060240161018060405180830381865afa1580156120a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120cd919061446d565b90506120e181604001518860800151610cc7565b925050509450945094915050565b6120f76138a6565b8184608001818151612109919061444c565b9052509295945050505050565b600081156126c6576000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561215e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121829190613f2d565b60405163242bdc1960e21b81526001600160601b03871660048201526001600160a01b0391909116906390af70649060240161024060405180830381865afa1580156121d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121f69190614355565b602081015190915060006122126001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03881660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612261573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122859190613f2d565b90506000886001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122eb9190613f2d565b60608501516040516355e343a960e01b81526001600160601b0390911660048201526001600160a01b0391909116906355e343a99060240161018060405180830381865afa158015612341573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612365919061446d565b61010081015160a08601516040516346f0526160e11b8152899850929350909173__$a23651848365a6a5ca15f07b4331037f48$__90638de0a4c2906123af908490600401614774565b602060405180830381865af41580156123cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123f09190613ee8565b1561245c576040516317d5759960e31b81526001600160a01b0386169063beabacc89061242590879086908d9060040161478b565b600060405180830381600087803b15801561243f57600080fd5b505af1158015612453573d6000803e3d6000fd5b505050506126bf565b60a086015160405163012ebd8360e21b815281516004820152602090910151602482015260448101889052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af41580156124c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124eb91906147af565b91509150600088610160015190508a886001600160a01b03166321df0da76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612538573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061255c9190613f2d565b604051636eb1769f60e11b81526001600160a01b038a811660048301528b81166024830152919091169063dd62ed3e90604401602060405180830381865afa1580156125ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125d091906142ac565b10156125f55786888c604051636d675c4360e01b81526004016107f29392919061478b565b6040516317d5759960e31b81526001600160a01b0389169063beabacc890612625908a908590889060040161478b565b600060405180830381600087803b15801561263f57600080fd5b505af1158015612653573d6000803e3d6000fd5b50506040516317d5759960e31b81526001600160a01b038b16925063beabacc89150612687908a908990879060040161478b565b600060405180830381600087803b1580156126a157600080fd5b505af11580156126b5573d6000803e3d6000fd5b50939b5050505050505b5050505050505b949350505050565b60006126e26001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015612731573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261275991908101906145d1565b608001516101008501516040516332f7fe0d60e11b815291925082916001600160a01b038316916365effc1a91612798918a91899089906004016147d3565b600060405180830381600087803b1580156127b257600080fd5b505af11580156127c6573d6000803e3d6000fd5b5050505050505050505050565b60006127dd613868565b6127e7606e611cd9565b506080015192915050565b600080600080600080886001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612839573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061285d9190613f2d565b9050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561289d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128c19190613f2d565b9150506000886001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa158015612904573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129289190613f10565b604051634793b4ab60e01b81526001600160601b038a1660048201529091506000906001600160a01b03841690634793b4ab90602401600060405180830381865afa15801561297b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526129a391908101906146a3565b80519091506001600160601b03838116911614612a0d5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a5052532d3033353a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b60648201526084016107f2565b6000836001600160a01b03166390af70648c6001600160a01b03166251884a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a7f9190613f10565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161024060405180830381865afa158015612ac4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ae89190614355565b60a081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612b51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b7591906147af565b506040516355e343a960e01b81526001600160601b0385166004820152909850600091506001600160a01b038516906355e343a99060240161018060405180830381865afa158015612bcb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bef919061446d565b606081015160405163012ebd8360e21b8152815160048201526020909101516024820152604481018e905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612c58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c7c91906147af565b50809750505060008a6001600160a01b031663db6dcc956040518163ffffffff1660e01b8152600401602060405180830381865afa158015612cc2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ce69190613f10565b604051639ad69c6760e01b81526001600160601b03821660048201529091506000906001600160a01b03861690639ad69c679060240160c060405180830381865afa158015612d39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d5d9190614819565b604080820151905163012ebd8360e21b8152815160048201526020909101516024820152604481018f905290915073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612dc6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dea91906147af565b5060208481015160405163012ebd8360e21b8152815160048201529101516024820152604481018f905290965073__$a23651848365a6a5ca15f07b4331037f48$__92506304baf60c91506064016040805180830381865af4158015612e54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e7891906147af565b5080955050505050945094509450949050565b612e93613489565b600080516020614a1f8339815191526000612ec36000805160206149ff833981519152546001600160401b031690565b90506000612ecf610551565b9050816001600160401b0316600103612efc5760028301805462ffffff191662ffffff8316179055612f4a565b600283015462ffffff90811690821611612f4a5760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016107f2565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015612ffe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613022919061412b565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906116d69083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101a9613489565b6000805160206149ff8339815191528054600160401b810460ff1615906001600160401b03166000811580156131655750825b90506000826001600160401b031660011480156131815750303b155b90508115801561318f575080155b156131ad5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156131d757845460ff60401b1916600160401b1785555b600080878060200190518101906131ee91906148af565b90925090506131fd828a6134c2565b6001546001600160a01b031663d39e6043608c613218611b4d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561325d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132819190613f2d565b600380546001600160a01b0319166001600160a01b039283161790556001541663d39e60436132ae60dc90565b6132b6611b4d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156132fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061331f9190613f2d565b600480546001600160a01b0319166001600160a01b039290921691909117905561334f63fefde12b60e01b61352d565b5050831561339757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b60008080600019858709858702925082811083820303915050806000036133da578382816133d0576133d06148de565b0492505050611f65565b8084116134215760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b60448201526064016107f2565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b6000805160206149ff83398151915254600160401b900460ff166134c057604051631afcd79f60e31b815260040160405180910390fd5b565b600060d26134ce611b4d565b6040805160ff938416602082015292909116908201526060016040516020818303038152906040529050600061350384613552565b905060006135168583603c8488886135bd565b613526637b6a51fd60e01b61352d565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015613599573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dca9190613f10565b6135fe6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6136088287613689565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613678838261493f565b506133976303fb044760e21b61352d565b6001600160a01b0382166136df5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016107f2565b600280546001600160a01b0319166001600160a01b03841617905561370381613707565b5050565b6001546001600160a01b0316156137405760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016107f2565b6001600160a01b0381166137675760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b60000361379d5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107f2565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263102da10360e01b60048201526301ffc9a790602401602060405180830381865afa925050508015613817575060408051601f3d908101601f1916820190925261381491810190613ee8565b60015b61383f5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107f2565b806137035760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107f2565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60405180610120016040528060006001600160601b031681526020016138df604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60006020828403121561393657600080fd5b81356001600160e01b031981168114611f6557600080fd5b6001600160601b03811681146101fe57600080fd5b60006020828403121561397557600080fd5b8135611f658161394e565b60005b8381101561399b578181015183820152602001613983565b50506000910152565b600081518084526139bc816020860160208601613980565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c08501526126c660e08501826139a4565b604081526000613a5460408301856139d0565b8281036020840152613a6681856139a4565b95945050505050565b62ffffff811681146101fe57600080fd5b600060208284031215613a9257600080fd5b8135611f6581613a6f565b64ffffffffff811681146101fe57600080fd5b60008060408385031215613ac357600080fd5b8235613ace8161394e565b91506020830135613ade81613a9d565b809150509250929050565b60008060408385031215613afc57600080fd5b50508035926020909101359150565b80151581146101fe57600080fd5b600080600060608486031215613b2e57600080fd5b8335613b398161394e565b92506020840135613b4981613b0b565b91506040840135613b5981613a9d565b809150509250925092565b6001600160c01b0319811681146101fe57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161020081016001600160401b0381118282101715613bb357613bb3613b7a565b60405290565b60405161018081016001600160401b0381118282101715613bb357613bb3613b7a565b60405161012081016001600160401b0381118282101715613bb357613bb3613b7a565b60405160e081016001600160401b0381118282101715613bb357613bb3613b7a565b604051601f8201601f191681016001600160401b0381118282101715613c4957613c49613b7a565b604052919050565b60006001600160401b03821115613c6a57613c6a613b7a565b50601f01601f191660200190565b600082601f830112613c8957600080fd5b8135613c9c613c9782613c51565b613c21565b818152846020838601011115613cb157600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215613ce757600080fd5b8635613cf281613b64565b9550602087013594506040870135935060608701356001600160401b03811115613d1b57600080fd5b613d2789828a01613c78565b9350506080870135613d388161394e565b915060a0870135613d4881613b64565b809150509295509295509295565b6001600160a01b03811681146101fe57600080fd5b600080600060608486031215613d8057600080fd5b8335613d8b81613d56565b92506020840135613d9b81613d56565b915060408401356001600160401b03811115613db657600080fd5b613dc286828701613c78565b9150509250925092565b600060208284031215613dde57600080fd5b5035919050565b600080600080600080600060e0888a031215613e0057600080fd5b8735613e0b81613d56565b96506020880135613e1b81613b64565b9550604088013594506060880135935060808801356001600160401b03811115613e4457600080fd5b613e508a828b01613c78565b93505060a0880135613e618161394e565b915060c0880135613e7181613b64565b8091505092959891949750929550565b600060208284031215613e9357600080fd5b8151611f6581613a6f565b600181811c90821680613eb257607f821691505b602082108103613ed257634e487b7160e01b600052602260045260246000fd5b50919050565b8051613ee381613b0b565b919050565b600060208284031215613efa57600080fd5b8151611f6581613b0b565b8051613ee38161394e565b600060208284031215613f2257600080fd5b8151611f658161394e565b600060208284031215613f3f57600080fd5b8151611f6581613d56565b8051613ee381613b64565b600082601f830112613f6657600080fd5b8151613f74613c9782613c51565b818152846020838601011115613f8957600080fd5b6126c6826020830160208701613980565b805161ffff81168114613ee357600080fd5b8051613ee381613a9d565b600060208284031215613fc957600080fd5b81516001600160401b0380821115613fe057600080fd5b908301906102008286031215613ff557600080fd5b613ffd613b90565b61400683613f05565b815261401460208401613f05565b602082015261402560408401613f4a565b604082015261403660608401613f4a565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e0820152610100808401518381111561407757600080fd5b61408388828701613f55565b828401525050610120808401518381111561409d57600080fd5b6140a988828701613f55565b82840152505061014091506140bf828401613f9a565b8282015261016091506140d3828401613f9a565b82820152610180915081830151828201526101a091506140f4828401613fac565b828201526101c09150614108828401613fac565b828201526101e0915061411c828401613fac565b91810191909152949350505050565b60006020828403121561413d57600080fd5b8151611f6581613a9d565b80516001600160601b031682526000610200602083015161417460208601826001600160601b03169052565b50604083015161419060408601826001600160c01b0319169052565b5060608301516141ac60608601826001600160c01b0319169052565b506080830151608085015260a083015160a085015260c083015160c085015260e083015160e08501526101008084015182828701526141ed838701826139a4565b92505050610120808401518583038287015261420983826139a4565b92505050610140808401516142238287018261ffff169052565b50506101608381015161ffff169085015261018080840151908501526101a08084015164ffffffffff908116918601919091526101c0808501518216908601526101e0938401511692909301919091525090565b6001600160601b03841681526060602082015260006142996060830185614148565b905060ff83166040830152949350505050565b6000602082840312156142be57600080fd5b5051919050565b60ff811681146101fe57600080fd5b8051613ee3816142c5565b6000602082840312156142f157600080fd5b8151611f65816142c5565b8051613ee381613d56565b60006040828403121561431957600080fd5b604051604081018181106001600160401b038211171561433b5761433b613b7a565b604052825181526020928301519281019290925250919050565b6000610240828403121561436857600080fd5b614370613bb9565b614379836142fc565b8152614387602084016142fc565b602082015261439860408401613f05565b60408201526143a960608401613f05565b60608201526143bb8460808501614307565b60808201526143cd8460c08501614307565b60a08201526101006143e185828601614307565b60c08301526101406143f586828701614307565b60e0840152614408866101808701614307565b8284015261441a866101c08701614307565b61012084015261442d6102008601613ed8565b908301525061443f61022084016142fc565b6101608201529392505050565b80820180821115610dca57634e487b7160e01b600052601160045260246000fd5b6000610180828403121561448057600080fd5b614488613bdc565b61449183613f05565b815261449f602084016142fc565b6020820152604083015160408201526144bb8460608501614307565b60608201526144cd8460a08501614307565b60808201526144df8460e08501614307565b60a08201526144f16101208401613ed8565b60c08201526145036101408401613ed8565b60e082015261451561016084016142fc565b6101008201529392505050565b8481526001600160401b0360c01b8416602082015282604082015260806060820152600061455360808301846139a4565b9695505050505050565b60006020828403121561456f57600080fd5b81516001600160401b0381168114611f6557600080fd5b634e487b7160e01b600052603260045260246000fd5b602081526000611f6560208301846139d0565b6001600160601b03831681526040602082015260006126c66040830184614148565b6000602082840312156145e357600080fd5b81516001600160401b03808211156145fa57600080fd5b9083019060e0828603121561460e57600080fd5b614616613bff565b61461f83613f05565b815261462d60208401613f05565b602082015261463e604084016142d4565b604082015261464f60608401613ed8565b6060820152614660608084016142fc565b608082015261467160a084016142fc565b60a082015260c08301518281111561468857600080fd5b61469487828601613f55565b60c08301525095945050505050565b6000602082840312156146b557600080fd5b81516001600160401b03808211156146cc57600080fd5b9083019061014082860312156146e157600080fd5b6146e9613bdc565b6146f283613f05565b81526147018660208501614307565b602082015260608301518281111561471857600080fd5b61472487828601613f55565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c08201526101009150614762828401613fac565b60e082015261411c6101208401613fac565b815181526020808301519082015260408101610dca565b6001600160a01b039384168152919092166020820152604081019190915260600190565b600080604083850312156147c257600080fd5b505080516020909101519092909150565b6001600160601b03851681526080602082015260006147f560808301866139a4565b828103604084015261480781866139a4565b91505082606083015295945050505050565b600060c0828403121561482b57600080fd5b60405160a081018181106001600160401b038211171561484d5761484d613b7a565b604052825161485b8161394e565b8152602083015161486b81613d56565b602082015261487d8460408501614307565b6040820152608083015161489081613b0b565b606082015260a08301516148a381613d56565b60808201529392505050565b600080604083850312156148c257600080fd5b82516148cd81613d56565b6020840151909250613ade81613d56565b634e487b7160e01b600052601260045260246000fd5b601f82111561493a57600081815260208120601f850160051c8101602086101561491b5750805b601f850160051c820191505b818110156117cc57828155600101614927565b505050565b81516001600160401b0381111561495857614958613b7a565b61496c816149668454613e9e565b846148f4565b602080601f8311600181146149a157600084156149895750858301515b600019600386901b1c1916600185901b1785556117cc565b600085815260208120601f198616915b828110156149d0578886015182559484019460019091019084016149b1565b50858210156149ee5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220da74fb77e5607fef0e3f5f7b865448dbc67199719aeae3aa4ab6518f05e73f5164736f6c63430008140033",
797
+ "linkReferences": {
798
+ "contracts/types/Blocknumber.sol": {
799
+ "BlocknumberLib": [
800
+ {
801
+ "length": 20,
802
+ "start": 3484
803
+ }
804
+ ]
805
+ },
806
+ "contracts/types/Fee.sol": {
807
+ "FeeLib": [
808
+ {
809
+ "length": 20,
810
+ "start": 9409
811
+ },
812
+ {
813
+ "length": 20,
814
+ "start": 9672
815
+ },
816
+ {
817
+ "length": 20,
818
+ "start": 11346
819
+ },
820
+ {
821
+ "length": 20,
822
+ "start": 11609
823
+ },
824
+ {
825
+ "length": 20,
826
+ "start": 11975
827
+ },
828
+ {
829
+ "length": 20,
830
+ "start": 12115
831
+ }
832
+ ]
833
+ },
834
+ "contracts/types/NftId.sol": {
835
+ "NftIdLib": [
836
+ {
837
+ "length": 20,
838
+ "start": 2192
839
+ },
840
+ {
841
+ "length": 20,
842
+ "start": 5369
843
+ }
844
+ ]
845
+ },
846
+ "contracts/types/Timestamp.sol": {
847
+ "TimestampLib": [
848
+ {
849
+ "length": 20,
850
+ "start": 2974
851
+ },
852
+ {
853
+ "length": 20,
854
+ "start": 3193
855
+ },
856
+ {
857
+ "length": 20,
858
+ "start": 4721
859
+ },
860
+ {
861
+ "length": 20,
862
+ "start": 12542
863
+ }
864
+ ]
865
+ },
866
+ "contracts/types/UFixed.sol": {
867
+ "UFixedLib": [
868
+ {
869
+ "length": 20,
870
+ "start": 3612
871
+ },
872
+ {
873
+ "length": 20,
874
+ "start": 3745
875
+ }
876
+ ]
877
+ },
878
+ "contracts/types/Version.sol": {
879
+ "VersionLib": [
880
+ {
881
+ "length": 20,
882
+ "start": 1714
883
+ },
884
+ {
885
+ "length": 20,
886
+ "start": 5831
887
+ },
888
+ {
889
+ "length": 20,
890
+ "start": 7340
891
+ }
892
+ ]
893
+ }
894
+ },
895
+ "deployedLinkReferences": {
896
+ "contracts/types/Blocknumber.sol": {
897
+ "BlocknumberLib": [
898
+ {
899
+ "length": 20,
900
+ "start": 3170
901
+ }
902
+ ]
903
+ },
904
+ "contracts/types/Fee.sol": {
905
+ "FeeLib": [
906
+ {
907
+ "length": 20,
908
+ "start": 9095
909
+ },
910
+ {
911
+ "length": 20,
912
+ "start": 9358
913
+ },
914
+ {
915
+ "length": 20,
916
+ "start": 11032
917
+ },
918
+ {
919
+ "length": 20,
920
+ "start": 11295
921
+ },
922
+ {
923
+ "length": 20,
924
+ "start": 11661
925
+ },
926
+ {
927
+ "length": 20,
928
+ "start": 11801
929
+ }
930
+ ]
931
+ },
932
+ "contracts/types/NftId.sol": {
933
+ "NftIdLib": [
934
+ {
935
+ "length": 20,
936
+ "start": 1878
937
+ },
938
+ {
939
+ "length": 20,
940
+ "start": 5055
941
+ }
942
+ ]
943
+ },
944
+ "contracts/types/Timestamp.sol": {
945
+ "TimestampLib": [
946
+ {
947
+ "length": 20,
948
+ "start": 2660
949
+ },
950
+ {
951
+ "length": 20,
952
+ "start": 2879
953
+ },
954
+ {
955
+ "length": 20,
956
+ "start": 4407
957
+ },
958
+ {
959
+ "length": 20,
960
+ "start": 12228
961
+ }
962
+ ]
963
+ },
964
+ "contracts/types/UFixed.sol": {
965
+ "UFixedLib": [
966
+ {
967
+ "length": 20,
968
+ "start": 3298
969
+ },
970
+ {
971
+ "length": 20,
972
+ "start": 3431
973
+ }
974
+ ]
975
+ },
976
+ "contracts/types/Version.sol": {
977
+ "VersionLib": [
978
+ {
979
+ "length": 20,
980
+ "start": 1400
981
+ },
982
+ {
983
+ "length": 20,
984
+ "start": 5517
985
+ },
986
+ {
987
+ "length": 20,
988
+ "start": 7026
989
+ }
990
+ ]
991
+ }
992
+ }
993
+ }