@etherisc/gif-next 0.0.2-f0d86c2-077 → 0.0.2-f4f92b3-338

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