@etherisc/gif-next 0.0.2-fb8d07b-779 → 0.0.2-fbe22f0-239

Sign up to get free protection for your applications and to get access to all the features.
Files changed (284) hide show
  1. package/README.md +136 -2
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +858 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +588 -92
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → components/IComponent.sol/IComponent.json} +208 -143
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +543 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +663 -31
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +648 -5
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +818 -273
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +657 -181
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  33. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  36. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  39. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  40. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  41. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  42. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +86 -2
  43. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  44. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1371 -129
  45. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  46. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +132 -21
  47. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  48. package/artifacts/contracts/instance/Instance.sol/Instance.json +293 -656
  49. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  50. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +211 -144
  51. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  52. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +89 -91
  53. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  54. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +395 -122
  55. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  56. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +149 -57
  57. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  58. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  59. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  60. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +243 -55
  61. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  62. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  63. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  64. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +2 -2
  65. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  66. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
  67. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  68. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +59 -16
  69. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  70. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  74. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  75. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1091 -0
  77. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1292 -0
  79. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +560 -0
  81. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  82. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +272 -91
  83. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  84. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +140 -40
  85. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +217 -58
  87. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  88. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +785 -0
  89. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +20 -20
  91. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +771 -0
  93. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  94. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +22 -84
  95. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  96. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +32 -247
  97. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1352 -0
  99. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +616 -0
  101. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  102. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +256 -180
  103. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  104. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +140 -52
  105. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  106. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +981 -0
  107. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  108. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +548 -0
  109. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  110. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  111. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  112. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +208 -224
  113. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  114. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +228 -95
  115. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  116. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  117. package/artifacts/contracts/registry/Registry.sol/Registry.json +222 -330
  118. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  119. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  120. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  121. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +197 -109
  122. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  123. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +162 -112
  124. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  125. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  126. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  127. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +124 -29
  128. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  129. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  130. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  131. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  132. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +24 -0
  133. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  134. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  135. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +5 -5
  137. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  138. package/artifacts/contracts/shared/IService.sol/IService.json +20 -20
  139. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  140. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -2
  141. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +130 -11
  143. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  144. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +172 -0
  145. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  146. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +130 -6
  147. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  148. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +126 -11
  149. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  150. package/artifacts/contracts/shared/Service.sol/Service.json +153 -20
  151. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  152. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  153. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  154. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  155. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -2
  156. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +126 -11
  159. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  161. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestService.sol/TestService.json +171 -38
  163. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  166. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -8
  167. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  168. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  169. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  170. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  172. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  173. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  175. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  176. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  177. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  178. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  179. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  180. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  183. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +2 -2
  185. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  187. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  189. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  195. package/contracts/components/Component.sol +230 -0
  196. package/contracts/components/Distribution.sol +53 -57
  197. package/contracts/components/IComponent.sol +50 -0
  198. package/contracts/components/IDistributionComponent.sol +5 -2
  199. package/contracts/components/IPoolComponent.sol +54 -29
  200. package/contracts/components/IProductComponent.sol +7 -3
  201. package/contracts/components/Pool.sol +153 -142
  202. package/contracts/components/Product.sol +109 -128
  203. package/contracts/instance/BundleManager.sol +125 -0
  204. package/contracts/instance/Cloneable.sol +46 -0
  205. package/contracts/instance/IInstance.sol +41 -8
  206. package/contracts/instance/IInstanceService.sol +15 -4
  207. package/contracts/instance/Instance.sol +65 -240
  208. package/contracts/instance/InstanceAccessManager.sol +87 -78
  209. package/contracts/instance/InstanceReader.sol +12 -25
  210. package/contracts/instance/InstanceService.sol +347 -95
  211. package/contracts/instance/InstanceServiceManager.sol +10 -12
  212. package/contracts/instance/ObjectManager.sol +84 -0
  213. package/contracts/instance/base/ComponentService.sol +134 -0
  214. package/contracts/instance/module/IAccess.sol +27 -18
  215. package/contracts/instance/module/ISetup.sol +7 -4
  216. package/contracts/instance/service/ApplicationService.sol +268 -0
  217. package/contracts/instance/service/BundleService.sol +298 -0
  218. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  219. package/contracts/instance/service/DistributionService.sol +45 -27
  220. package/contracts/instance/service/DistributionServiceManager.sol +10 -12
  221. package/contracts/instance/service/IApplicationService.sol +82 -0
  222. package/contracts/instance/service/IBundleService.sol +54 -0
  223. package/contracts/instance/service/IPolicyService.sol +88 -0
  224. package/contracts/instance/service/IPoolService.sol +6 -23
  225. package/contracts/instance/service/IProductService.sol +6 -73
  226. package/contracts/instance/service/PolicyService.sol +524 -0
  227. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  228. package/contracts/instance/service/PoolService.sol +40 -124
  229. package/contracts/instance/service/PoolServiceManager.sol +10 -12
  230. package/contracts/instance/service/ProductService.sol +233 -0
  231. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  232. package/contracts/registry/ChainNft.sol +1 -1
  233. package/contracts/registry/IRegistry.sol +38 -33
  234. package/contracts/registry/IRegistryService.sol +45 -13
  235. package/contracts/registry/Registry.sol +223 -250
  236. package/contracts/registry/RegistryAccessManager.sol +216 -0
  237. package/contracts/registry/RegistryService.sol +86 -224
  238. package/contracts/registry/RegistryServiceManager.sol +18 -36
  239. package/contracts/registry/ReleaseManager.sol +332 -0
  240. package/contracts/registry/TokenRegistry.sol +11 -9
  241. package/contracts/shared/ERC165.sol +12 -11
  242. package/contracts/shared/INftOwnable.sol +6 -1
  243. package/contracts/shared/IPolicyHolder.sol +26 -0
  244. package/contracts/shared/IRegisterable.sol +4 -6
  245. package/contracts/shared/IService.sol +2 -1
  246. package/contracts/shared/IVersionable.sol +2 -2
  247. package/contracts/shared/NftOwnable.sol +93 -42
  248. package/contracts/shared/PolicyHolder.sol +52 -0
  249. package/contracts/shared/ProxyManager.sol +6 -5
  250. package/contracts/shared/Registerable.sol +15 -24
  251. package/contracts/shared/Service.sol +18 -13
  252. package/contracts/shared/Versionable.sol +3 -2
  253. package/contracts/test/TestRegisterable.sol +1 -1
  254. package/contracts/test/TestService.sol +4 -3
  255. package/contracts/types/NftIdSet.sol +26 -24
  256. package/contracts/types/ObjectType.sol +5 -1
  257. package/contracts/types/RoleId.sol +10 -9
  258. package/package.json +3 -3
  259. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  260. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  261. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  262. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  263. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  264. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  265. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  266. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  267. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  268. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  269. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  270. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  271. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  272. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  273. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  274. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  275. package/contracts/components/BaseComponent.sol +0 -91
  276. package/contracts/components/IBaseComponent.sol +0 -25
  277. package/contracts/instance/AccessManagedSimple.sol +0 -115
  278. package/contracts/instance/AccessManagerSimple.sol +0 -692
  279. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  280. package/contracts/instance/base/ComponentServiceBase.sol +0 -125
  281. package/contracts/instance/base/IInstanceBase.sol +0 -23
  282. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  283. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  284. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -0,0 +1,1292 @@
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
+ "name": "ErrorInitialOwnerZero",
207
+ "type": "error"
208
+ },
209
+ {
210
+ "inputs": [
211
+ {
212
+ "internalType": "address",
213
+ "name": "account",
214
+ "type": "address"
215
+ }
216
+ ],
217
+ "name": "ErrorNotOwner",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [
222
+ {
223
+ "internalType": "address",
224
+ "name": "registryAddress",
225
+ "type": "address"
226
+ }
227
+ ],
228
+ "name": "ErrorNotRegistry",
229
+ "type": "error"
230
+ },
231
+ {
232
+ "inputs": [
233
+ {
234
+ "internalType": "address",
235
+ "name": "registryAddress",
236
+ "type": "address"
237
+ }
238
+ ],
239
+ "name": "ErrorRegisterableNotRegistry",
240
+ "type": "error"
241
+ },
242
+ {
243
+ "inputs": [],
244
+ "name": "ErrorRegistryAddressZero",
245
+ "type": "error"
246
+ },
247
+ {
248
+ "inputs": [
249
+ {
250
+ "internalType": "address",
251
+ "name": "registry",
252
+ "type": "address"
253
+ }
254
+ ],
255
+ "name": "ErrorRegistryAlreadyInitialized",
256
+ "type": "error"
257
+ },
258
+ {
259
+ "inputs": [],
260
+ "name": "ErrorRegistryNotInitialized",
261
+ "type": "error"
262
+ },
263
+ {
264
+ "inputs": [],
265
+ "name": "InvalidInitialization",
266
+ "type": "error"
267
+ },
268
+ {
269
+ "inputs": [],
270
+ "name": "NotInitializing",
271
+ "type": "error"
272
+ },
273
+ {
274
+ "anonymous": false,
275
+ "inputs": [
276
+ {
277
+ "indexed": false,
278
+ "internalType": "uint64",
279
+ "name": "version",
280
+ "type": "uint64"
281
+ }
282
+ ],
283
+ "name": "Initialized",
284
+ "type": "event"
285
+ },
286
+ {
287
+ "anonymous": false,
288
+ "inputs": [
289
+ {
290
+ "indexed": false,
291
+ "internalType": "Version",
292
+ "name": "version",
293
+ "type": "uint24"
294
+ },
295
+ {
296
+ "indexed": false,
297
+ "internalType": "address",
298
+ "name": "implementation",
299
+ "type": "address"
300
+ },
301
+ {
302
+ "indexed": false,
303
+ "internalType": "address",
304
+ "name": "activatedBy",
305
+ "type": "address"
306
+ }
307
+ ],
308
+ "name": "LogVersionableInitialized",
309
+ "type": "event"
310
+ },
311
+ {
312
+ "inputs": [],
313
+ "name": "NAME",
314
+ "outputs": [
315
+ {
316
+ "internalType": "string",
317
+ "name": "",
318
+ "type": "string"
319
+ }
320
+ ],
321
+ "stateMutability": "view",
322
+ "type": "function"
323
+ },
324
+ {
325
+ "inputs": [],
326
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
327
+ "outputs": [
328
+ {
329
+ "internalType": "bytes32",
330
+ "name": "",
331
+ "type": "bytes32"
332
+ }
333
+ ],
334
+ "stateMutability": "view",
335
+ "type": "function"
336
+ },
337
+ {
338
+ "inputs": [],
339
+ "name": "REGISTERABLE_LOCATION_V1",
340
+ "outputs": [
341
+ {
342
+ "internalType": "bytes32",
343
+ "name": "",
344
+ "type": "bytes32"
345
+ }
346
+ ],
347
+ "stateMutability": "view",
348
+ "type": "function"
349
+ },
350
+ {
351
+ "inputs": [
352
+ {
353
+ "internalType": "contract IInstance",
354
+ "name": "instance",
355
+ "type": "address"
356
+ },
357
+ {
358
+ "internalType": "NftId",
359
+ "name": "policyNftId",
360
+ "type": "uint96"
361
+ },
362
+ {
363
+ "internalType": "NftId",
364
+ "name": "bundleNftId",
365
+ "type": "uint96"
366
+ },
367
+ {
368
+ "internalType": "uint256",
369
+ "name": "collateralAmount",
370
+ "type": "uint256"
371
+ }
372
+ ],
373
+ "name": "closePolicy",
374
+ "outputs": [],
375
+ "stateMutability": "nonpayable",
376
+ "type": "function"
377
+ },
378
+ {
379
+ "inputs": [
380
+ {
381
+ "internalType": "address",
382
+ "name": "owner",
383
+ "type": "address"
384
+ },
385
+ {
386
+ "components": [
387
+ {
388
+ "internalType": "UFixed",
389
+ "name": "fractionalFee",
390
+ "type": "uint256"
391
+ },
392
+ {
393
+ "internalType": "uint256",
394
+ "name": "fixedFee",
395
+ "type": "uint256"
396
+ }
397
+ ],
398
+ "internalType": "struct Fee",
399
+ "name": "fee",
400
+ "type": "tuple"
401
+ },
402
+ {
403
+ "internalType": "uint256",
404
+ "name": "stakingAmount",
405
+ "type": "uint256"
406
+ },
407
+ {
408
+ "internalType": "uint256",
409
+ "name": "lifetime",
410
+ "type": "uint256"
411
+ },
412
+ {
413
+ "internalType": "bytes",
414
+ "name": "filter",
415
+ "type": "bytes"
416
+ }
417
+ ],
418
+ "name": "createBundle",
419
+ "outputs": [
420
+ {
421
+ "internalType": "NftId",
422
+ "name": "bundleNftId",
423
+ "type": "uint96"
424
+ }
425
+ ],
426
+ "stateMutability": "nonpayable",
427
+ "type": "function"
428
+ },
429
+ {
430
+ "inputs": [],
431
+ "name": "getDomain",
432
+ "outputs": [
433
+ {
434
+ "internalType": "ObjectType",
435
+ "name": "",
436
+ "type": "uint8"
437
+ }
438
+ ],
439
+ "stateMutability": "pure",
440
+ "type": "function"
441
+ },
442
+ {
443
+ "inputs": [],
444
+ "name": "getInitialInfo",
445
+ "outputs": [
446
+ {
447
+ "components": [
448
+ {
449
+ "internalType": "NftId",
450
+ "name": "nftId",
451
+ "type": "uint96"
452
+ },
453
+ {
454
+ "internalType": "NftId",
455
+ "name": "parentNftId",
456
+ "type": "uint96"
457
+ },
458
+ {
459
+ "internalType": "ObjectType",
460
+ "name": "objectType",
461
+ "type": "uint8"
462
+ },
463
+ {
464
+ "internalType": "bool",
465
+ "name": "isInterceptor",
466
+ "type": "bool"
467
+ },
468
+ {
469
+ "internalType": "address",
470
+ "name": "objectAddress",
471
+ "type": "address"
472
+ },
473
+ {
474
+ "internalType": "address",
475
+ "name": "initialOwner",
476
+ "type": "address"
477
+ },
478
+ {
479
+ "internalType": "bytes",
480
+ "name": "data",
481
+ "type": "bytes"
482
+ }
483
+ ],
484
+ "internalType": "struct IRegistry.ObjectInfo",
485
+ "name": "info",
486
+ "type": "tuple"
487
+ }
488
+ ],
489
+ "stateMutability": "view",
490
+ "type": "function"
491
+ },
492
+ {
493
+ "inputs": [],
494
+ "name": "getInitialOwner",
495
+ "outputs": [
496
+ {
497
+ "internalType": "address",
498
+ "name": "",
499
+ "type": "address"
500
+ }
501
+ ],
502
+ "stateMutability": "view",
503
+ "type": "function"
504
+ },
505
+ {
506
+ "inputs": [],
507
+ "name": "getInitializedVersion",
508
+ "outputs": [
509
+ {
510
+ "internalType": "uint64",
511
+ "name": "",
512
+ "type": "uint64"
513
+ }
514
+ ],
515
+ "stateMutability": "view",
516
+ "type": "function"
517
+ },
518
+ {
519
+ "inputs": [],
520
+ "name": "getInstanceService",
521
+ "outputs": [
522
+ {
523
+ "internalType": "contract InstanceService",
524
+ "name": "",
525
+ "type": "address"
526
+ }
527
+ ],
528
+ "stateMutability": "view",
529
+ "type": "function"
530
+ },
531
+ {
532
+ "inputs": [],
533
+ "name": "getMajorVersion",
534
+ "outputs": [
535
+ {
536
+ "internalType": "VersionPart",
537
+ "name": "majorVersion",
538
+ "type": "uint8"
539
+ }
540
+ ],
541
+ "stateMutability": "view",
542
+ "type": "function"
543
+ },
544
+ {
545
+ "inputs": [],
546
+ "name": "getNftId",
547
+ "outputs": [
548
+ {
549
+ "internalType": "NftId",
550
+ "name": "",
551
+ "type": "uint96"
552
+ }
553
+ ],
554
+ "stateMutability": "view",
555
+ "type": "function"
556
+ },
557
+ {
558
+ "inputs": [],
559
+ "name": "getOwner",
560
+ "outputs": [
561
+ {
562
+ "internalType": "address",
563
+ "name": "",
564
+ "type": "address"
565
+ }
566
+ ],
567
+ "stateMutability": "view",
568
+ "type": "function"
569
+ },
570
+ {
571
+ "inputs": [],
572
+ "name": "getRegistry",
573
+ "outputs": [
574
+ {
575
+ "internalType": "contract IRegistry",
576
+ "name": "",
577
+ "type": "address"
578
+ }
579
+ ],
580
+ "stateMutability": "view",
581
+ "type": "function"
582
+ },
583
+ {
584
+ "inputs": [],
585
+ "name": "getRegistryService",
586
+ "outputs": [
587
+ {
588
+ "internalType": "contract IRegistryService",
589
+ "name": "",
590
+ "type": "address"
591
+ }
592
+ ],
593
+ "stateMutability": "view",
594
+ "type": "function"
595
+ },
596
+ {
597
+ "inputs": [],
598
+ "name": "getVersion",
599
+ "outputs": [
600
+ {
601
+ "internalType": "Version",
602
+ "name": "",
603
+ "type": "uint24"
604
+ }
605
+ ],
606
+ "stateMutability": "pure",
607
+ "type": "function"
608
+ },
609
+ {
610
+ "inputs": [
611
+ {
612
+ "internalType": "uint256",
613
+ "name": "idx",
614
+ "type": "uint256"
615
+ }
616
+ ],
617
+ "name": "getVersion",
618
+ "outputs": [
619
+ {
620
+ "internalType": "Version",
621
+ "name": "",
622
+ "type": "uint24"
623
+ }
624
+ ],
625
+ "stateMutability": "view",
626
+ "type": "function"
627
+ },
628
+ {
629
+ "inputs": [],
630
+ "name": "getVersionCount",
631
+ "outputs": [
632
+ {
633
+ "internalType": "uint256",
634
+ "name": "",
635
+ "type": "uint256"
636
+ }
637
+ ],
638
+ "stateMutability": "view",
639
+ "type": "function"
640
+ },
641
+ {
642
+ "inputs": [
643
+ {
644
+ "internalType": "Version",
645
+ "name": "_version",
646
+ "type": "uint24"
647
+ }
648
+ ],
649
+ "name": "getVersionInfo",
650
+ "outputs": [
651
+ {
652
+ "components": [
653
+ {
654
+ "internalType": "Version",
655
+ "name": "version",
656
+ "type": "uint24"
657
+ },
658
+ {
659
+ "internalType": "address",
660
+ "name": "implementation",
661
+ "type": "address"
662
+ },
663
+ {
664
+ "internalType": "address",
665
+ "name": "activatedBy",
666
+ "type": "address"
667
+ },
668
+ {
669
+ "internalType": "Timestamp",
670
+ "name": "activatedAt",
671
+ "type": "uint40"
672
+ },
673
+ {
674
+ "internalType": "Blocknumber",
675
+ "name": "activatedIn",
676
+ "type": "uint32"
677
+ }
678
+ ],
679
+ "internalType": "struct IVersionable.VersionInfo",
680
+ "name": "",
681
+ "type": "tuple"
682
+ }
683
+ ],
684
+ "stateMutability": "view",
685
+ "type": "function"
686
+ },
687
+ {
688
+ "inputs": [
689
+ {
690
+ "internalType": "contract IInstance",
691
+ "name": "instance",
692
+ "type": "address"
693
+ },
694
+ {
695
+ "internalType": "NftId",
696
+ "name": "bundleNftId",
697
+ "type": "uint96"
698
+ },
699
+ {
700
+ "internalType": "uint256",
701
+ "name": "amount",
702
+ "type": "uint256"
703
+ }
704
+ ],
705
+ "name": "increaseBalance",
706
+ "outputs": [],
707
+ "stateMutability": "nonpayable",
708
+ "type": "function"
709
+ },
710
+ {
711
+ "inputs": [],
712
+ "name": "initializeERC165",
713
+ "outputs": [],
714
+ "stateMutability": "nonpayable",
715
+ "type": "function"
716
+ },
717
+ {
718
+ "inputs": [
719
+ {
720
+ "internalType": "address",
721
+ "name": "initialOwner",
722
+ "type": "address"
723
+ },
724
+ {
725
+ "internalType": "address",
726
+ "name": "registryAddress",
727
+ "type": "address"
728
+ }
729
+ ],
730
+ "name": "initializeNftOwnable",
731
+ "outputs": [],
732
+ "stateMutability": "nonpayable",
733
+ "type": "function"
734
+ },
735
+ {
736
+ "inputs": [
737
+ {
738
+ "internalType": "address",
739
+ "name": "initialOwner",
740
+ "type": "address"
741
+ }
742
+ ],
743
+ "name": "initializeOwner",
744
+ "outputs": [],
745
+ "stateMutability": "nonpayable",
746
+ "type": "function"
747
+ },
748
+ {
749
+ "inputs": [
750
+ {
751
+ "internalType": "address",
752
+ "name": "registryAddress",
753
+ "type": "address"
754
+ },
755
+ {
756
+ "internalType": "NftId",
757
+ "name": "parentNftId",
758
+ "type": "uint96"
759
+ },
760
+ {
761
+ "internalType": "ObjectType",
762
+ "name": "objectType",
763
+ "type": "uint8"
764
+ },
765
+ {
766
+ "internalType": "bool",
767
+ "name": "isInterceptor",
768
+ "type": "bool"
769
+ },
770
+ {
771
+ "internalType": "address",
772
+ "name": "initialOwner",
773
+ "type": "address"
774
+ },
775
+ {
776
+ "internalType": "bytes",
777
+ "name": "data",
778
+ "type": "bytes"
779
+ }
780
+ ],
781
+ "name": "initializeRegisterable",
782
+ "outputs": [],
783
+ "stateMutability": "nonpayable",
784
+ "type": "function"
785
+ },
786
+ {
787
+ "inputs": [
788
+ {
789
+ "internalType": "address",
790
+ "name": "registry",
791
+ "type": "address"
792
+ },
793
+ {
794
+ "internalType": "address",
795
+ "name": "initialOwner",
796
+ "type": "address"
797
+ }
798
+ ],
799
+ "name": "initializeService",
800
+ "outputs": [],
801
+ "stateMutability": "nonpayable",
802
+ "type": "function"
803
+ },
804
+ {
805
+ "inputs": [
806
+ {
807
+ "internalType": "address",
808
+ "name": "implementation",
809
+ "type": "address"
810
+ },
811
+ {
812
+ "internalType": "address",
813
+ "name": "activatedBy",
814
+ "type": "address"
815
+ },
816
+ {
817
+ "internalType": "bytes",
818
+ "name": "data",
819
+ "type": "bytes"
820
+ }
821
+ ],
822
+ "name": "initializeVersionable",
823
+ "outputs": [],
824
+ "stateMutability": "nonpayable",
825
+ "type": "function"
826
+ },
827
+ {
828
+ "inputs": [
829
+ {
830
+ "internalType": "Version",
831
+ "name": "_version",
832
+ "type": "uint24"
833
+ }
834
+ ],
835
+ "name": "isInitialized",
836
+ "outputs": [
837
+ {
838
+ "internalType": "bool",
839
+ "name": "",
840
+ "type": "bool"
841
+ }
842
+ ],
843
+ "stateMutability": "view",
844
+ "type": "function"
845
+ },
846
+ {
847
+ "inputs": [],
848
+ "name": "linkToRegisteredNftId",
849
+ "outputs": [],
850
+ "stateMutability": "nonpayable",
851
+ "type": "function"
852
+ },
853
+ {
854
+ "inputs": [
855
+ {
856
+ "internalType": "NftId",
857
+ "name": "bundleNftId",
858
+ "type": "uint96"
859
+ }
860
+ ],
861
+ "name": "lockBundle",
862
+ "outputs": [],
863
+ "stateMutability": "nonpayable",
864
+ "type": "function"
865
+ },
866
+ {
867
+ "inputs": [
868
+ {
869
+ "internalType": "contract IInstance",
870
+ "name": "instance",
871
+ "type": "address"
872
+ },
873
+ {
874
+ "internalType": "NftId",
875
+ "name": "policyNftId",
876
+ "type": "uint96"
877
+ },
878
+ {
879
+ "internalType": "NftId",
880
+ "name": "bundleNftId",
881
+ "type": "uint96"
882
+ },
883
+ {
884
+ "internalType": "uint256",
885
+ "name": "collateralAmount",
886
+ "type": "uint256"
887
+ },
888
+ {
889
+ "internalType": "uint256",
890
+ "name": "netPremiumAmount",
891
+ "type": "uint256"
892
+ }
893
+ ],
894
+ "name": "lockCollateral",
895
+ "outputs": [
896
+ {
897
+ "components": [
898
+ {
899
+ "internalType": "NftId",
900
+ "name": "poolNftId",
901
+ "type": "uint96"
902
+ },
903
+ {
904
+ "components": [
905
+ {
906
+ "internalType": "UFixed",
907
+ "name": "fractionalFee",
908
+ "type": "uint256"
909
+ },
910
+ {
911
+ "internalType": "uint256",
912
+ "name": "fixedFee",
913
+ "type": "uint256"
914
+ }
915
+ ],
916
+ "internalType": "struct Fee",
917
+ "name": "fee",
918
+ "type": "tuple"
919
+ },
920
+ {
921
+ "internalType": "bytes",
922
+ "name": "filter",
923
+ "type": "bytes"
924
+ },
925
+ {
926
+ "internalType": "uint256",
927
+ "name": "capitalAmount",
928
+ "type": "uint256"
929
+ },
930
+ {
931
+ "internalType": "uint256",
932
+ "name": "lockedAmount",
933
+ "type": "uint256"
934
+ },
935
+ {
936
+ "internalType": "uint256",
937
+ "name": "balanceAmount",
938
+ "type": "uint256"
939
+ },
940
+ {
941
+ "internalType": "uint256",
942
+ "name": "lifetime",
943
+ "type": "uint256"
944
+ },
945
+ {
946
+ "internalType": "Timestamp",
947
+ "name": "expiredAt",
948
+ "type": "uint40"
949
+ },
950
+ {
951
+ "internalType": "Timestamp",
952
+ "name": "closedAt",
953
+ "type": "uint40"
954
+ }
955
+ ],
956
+ "internalType": "struct IBundle.BundleInfo",
957
+ "name": "bundleInfo",
958
+ "type": "tuple"
959
+ }
960
+ ],
961
+ "stateMutability": "nonpayable",
962
+ "type": "function"
963
+ },
964
+ {
965
+ "inputs": [
966
+ {
967
+ "internalType": "bytes4",
968
+ "name": "interfaceId",
969
+ "type": "bytes4"
970
+ }
971
+ ],
972
+ "name": "registerInterface",
973
+ "outputs": [],
974
+ "stateMutability": "nonpayable",
975
+ "type": "function"
976
+ },
977
+ {
978
+ "inputs": [
979
+ {
980
+ "internalType": "NftId",
981
+ "name": "bundleNftId",
982
+ "type": "uint96"
983
+ },
984
+ {
985
+ "components": [
986
+ {
987
+ "internalType": "UFixed",
988
+ "name": "fractionalFee",
989
+ "type": "uint256"
990
+ },
991
+ {
992
+ "internalType": "uint256",
993
+ "name": "fixedFee",
994
+ "type": "uint256"
995
+ }
996
+ ],
997
+ "internalType": "struct Fee",
998
+ "name": "fee",
999
+ "type": "tuple"
1000
+ }
1001
+ ],
1002
+ "name": "setBundleFee",
1003
+ "outputs": [],
1004
+ "stateMutability": "nonpayable",
1005
+ "type": "function"
1006
+ },
1007
+ {
1008
+ "inputs": [
1009
+ {
1010
+ "internalType": "bytes4",
1011
+ "name": "interfaceId",
1012
+ "type": "bytes4"
1013
+ }
1014
+ ],
1015
+ "name": "supportsInterface",
1016
+ "outputs": [
1017
+ {
1018
+ "internalType": "bool",
1019
+ "name": "",
1020
+ "type": "bool"
1021
+ }
1022
+ ],
1023
+ "stateMutability": "view",
1024
+ "type": "function"
1025
+ },
1026
+ {
1027
+ "inputs": [
1028
+ {
1029
+ "internalType": "NftId",
1030
+ "name": "bundleNftId",
1031
+ "type": "uint96"
1032
+ }
1033
+ ],
1034
+ "name": "unlockBundle",
1035
+ "outputs": [],
1036
+ "stateMutability": "nonpayable",
1037
+ "type": "function"
1038
+ },
1039
+ {
1040
+ "inputs": [
1041
+ {
1042
+ "internalType": "NftId",
1043
+ "name": "instanceNftId",
1044
+ "type": "uint96"
1045
+ },
1046
+ {
1047
+ "internalType": "NftId",
1048
+ "name": "bundleNftId",
1049
+ "type": "uint96"
1050
+ },
1051
+ {
1052
+ "components": [
1053
+ {
1054
+ "internalType": "NftId",
1055
+ "name": "poolNftId",
1056
+ "type": "uint96"
1057
+ },
1058
+ {
1059
+ "components": [
1060
+ {
1061
+ "internalType": "UFixed",
1062
+ "name": "fractionalFee",
1063
+ "type": "uint256"
1064
+ },
1065
+ {
1066
+ "internalType": "uint256",
1067
+ "name": "fixedFee",
1068
+ "type": "uint256"
1069
+ }
1070
+ ],
1071
+ "internalType": "struct Fee",
1072
+ "name": "fee",
1073
+ "type": "tuple"
1074
+ },
1075
+ {
1076
+ "internalType": "bytes",
1077
+ "name": "filter",
1078
+ "type": "bytes"
1079
+ },
1080
+ {
1081
+ "internalType": "uint256",
1082
+ "name": "capitalAmount",
1083
+ "type": "uint256"
1084
+ },
1085
+ {
1086
+ "internalType": "uint256",
1087
+ "name": "lockedAmount",
1088
+ "type": "uint256"
1089
+ },
1090
+ {
1091
+ "internalType": "uint256",
1092
+ "name": "balanceAmount",
1093
+ "type": "uint256"
1094
+ },
1095
+ {
1096
+ "internalType": "uint256",
1097
+ "name": "lifetime",
1098
+ "type": "uint256"
1099
+ },
1100
+ {
1101
+ "internalType": "Timestamp",
1102
+ "name": "expiredAt",
1103
+ "type": "uint40"
1104
+ },
1105
+ {
1106
+ "internalType": "Timestamp",
1107
+ "name": "closedAt",
1108
+ "type": "uint40"
1109
+ }
1110
+ ],
1111
+ "internalType": "struct IBundle.BundleInfo",
1112
+ "name": "bundleInfo",
1113
+ "type": "tuple"
1114
+ },
1115
+ {
1116
+ "internalType": "StateId",
1117
+ "name": "state",
1118
+ "type": "uint8"
1119
+ }
1120
+ ],
1121
+ "name": "updateBundle",
1122
+ "outputs": [],
1123
+ "stateMutability": "nonpayable",
1124
+ "type": "function"
1125
+ },
1126
+ {
1127
+ "inputs": [
1128
+ {
1129
+ "internalType": "address",
1130
+ "name": "implementation",
1131
+ "type": "address"
1132
+ },
1133
+ {
1134
+ "internalType": "address",
1135
+ "name": "activatedBy",
1136
+ "type": "address"
1137
+ },
1138
+ {
1139
+ "internalType": "bytes",
1140
+ "name": "data",
1141
+ "type": "bytes"
1142
+ }
1143
+ ],
1144
+ "name": "upgradeVersionable",
1145
+ "outputs": [],
1146
+ "stateMutability": "nonpayable",
1147
+ "type": "function"
1148
+ }
1149
+ ],
1150
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61457f80620000e66000396000f3fe608060405234801561001057600080fd5b506004361061021c5760003560e01c80638c5f36bb11610125578063caf4e3d4116100ad578063e3458d531161007c578063e3458d531461061b578063ea8665721461062e578063f7c34ee014610641578063fb2cb10114610654578063fde0a3cd1461065c57600080fd5b8063caf4e3d4146105f0578063cc9fc59a146105f8578063cde749f414610600578063cf7e5db81461060857600080fd5b8063a7e0dea7116100f4578063a7e0dea714610573578063ada9652e14610593578063b3c65015146105a8578063b68d1809146105c8578063b88da759146105dd57600080fd5b80638c5f36bb146104ed578063946dfcfe146105005780639babe3bf14610527578063a3f4df7e1461053a57600080fd5b806336fc697e116101a85780635ab1bd53116101775780635ab1bd5314610466578063636450f514610486578063644c45e0146104995780636f10e8a0146104d2578063893d20e8146104e557600080fd5b806336fc697e1461031f5780633c5c0610146103275780634d459c901461033a5780634f4213331461045357600080fd5b80631647f91e116101ef5780631647f91e1461029e5780631eff4b22146102b1578063214cdb80146102e657806327bb7a33146102f95780632a9040181461030c57600080fd5b806301ffc9a7146102215780630d8e6e2c146102635780630fec111c1461027f578063138461e014610294575b600080fd5b61024e61022f366004613410565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61026b61066f565b60405162ffffff909116815260200161025a565b6102876106f9565b60405161025a9190613491565b61029c6108ad565b005b61029c6102ac3660046136aa565b610adb565b6102d87f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161025a565b61029c6102f4366004613410565b610bd2565b61029c610307366004613758565b610bff565b61029c61031a3660046136aa565b610c9b565b61029c610de3565b61029c6103353660046137f0565b610e29565b6103f6610348366004613852565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061452a83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161025a565b61024e610461366004613852565b61101d565b61046e6110d0565b6040516001600160a01b03909116815260200161025a565b61029c61049436600461389f565b6110ec565b6000805160206144ca83398151915254600160a01b90046001600160601b03165b6040516001600160601b03909116815260200161025a565b61029c6104e03660046138d5565b611387565b61046e61145c565b61029c6104fb3660046138f2565b61158d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102d8565b61029c61053536600461390f565b61168f565b6105666040518060400160405280600d81526020016c42756e646c655365727669636560981b81525081565b60405161025a9190613950565b610586610581366004613963565b611881565b60405161025a9190613a5d565b6102d86000805160206144ca83398151915281565b6105b0611a9c565b6040516001600160401b03909116815260200161025a565b60dc5b60405160ff909116815260200161025a565b61026b6105eb366004613a70565b611abd565b61046e611b0e565b61046e611ba1565b6105cb611bc1565b61029c610616366004613aa7565b611c44565b6104ba610629366004613bbd565b611d8f565b61029c61063c366004613c65565b6120eb565b61029c61064f366004613c65565b61215e565b61046e612194565b61029c61066a3660046138d5565b6121aa565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156106d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f49190613c9e565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906107a990613cbb565b80601f01602080910402602001604051908101604052809291908181526020018280546107d590613cbb565b80156108225780601f106107f757610100808354040283529160200191610822565b820191906000526020600020905b81548152906001019060200180831161080557829003601f168201915b50505050508152505090506040518060e00160405280610840600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610891612194565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206144ca83398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610922573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109469190613d00565b1561098c5780546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b80546001600160a01b03166109b45760405163cf29926160e01b815260040160405180910390fd5b805460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156109fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a209190613d00565b610a48576040516372657a5160e01b81526001600160a01b0382166004820152602401610983565b8154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610a91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab59190613d28565b82546001600160601b0391909116600160a01b026001600160a01b039091161790915550565b60008051602061450a8339815191528054600160401b810460ff1615906001600160401b0316600081158015610b0e5750825b90506000826001600160401b03166001148015610b2a5750303b155b905081158015610b38575080155b15610b565760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b8057845460ff60401b1916600160401b1785555b610b8a8888612255565b610b9487876124f4565b8315610bc857845460ff60401b19168555604051600181526000805160206144ea8339815191529060200160405180910390a15b5050505050505050565b610bda61260d565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610c0761260d565b610c11828761215e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610c818382613d8b565b50610c926303fb044760e21b610bd2565b50505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610cbd61066f565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610cfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d219190613e4a565b60008051602061450a8339815191528054600160401b900460ff1680610d54575080546001600160401b03808416911610155b15610d725760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d9d8585612255565b610da683612646565b805460ff60401b191681556040516001600160401b03831681526000805160206144ea833981519152906020015b60405180910390a15050505050565b610deb61260d565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b33610e326110d0565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015610e7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9e9190613d00565b610eba5760405162461bcd60e51b815260040161098390613e73565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610efa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1e9190613e9e565b604051634793b4ab60e01b81526001600160601b03861660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa158015610f71573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f999190810190613f3b565b90508381608001818151610fad9190614031565b9052506040516307f8b57360e31b81526001600160a01b03881690633fc5ab9890610fe1908890859060ff90600401614044565b600060405180830381600087803b158015610ffb57600080fd5b505af115801561100f573d6000803e3d6000fd5b50505050610c92878761264e565b60008060008051602061452a83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156110a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c99190614079565b1192915050565b6000805160206144ca833981519152546001600160a01b031690565b6000806110f9608c612963565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561113d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111619190613e9e565b8351604051634793b4ab60e01b81526001600160601b0388166004820152919250906000906001600160a01b03841690634793b4ab90602401600060405180830381865afa1580156111b7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111df9190810190613f3b565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561123d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112619190613d00565b6112ad5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c532d3031303a42554e444c455f554e4b4e4f574e000000006044820152606401610983565b80516001600160601b038084169116146113145760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c532d3031313a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b6064820152608401610983565b602081018690526040516307f8b57360e31b81526001600160a01b03851690633fc5ab989061134c908a90859060ff90600401614044565b600060405180830381600087803b15801561136657600080fd5b505af115801561137a573d6000803e3d6000fd5b5050505050505050505050565b6000611393608c612963565b9150506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fa9190613e9e565b6040516306fa456560e01b81526001600160601b03851660048201529091506001600160a01b038216906306fa4565906024015b600060405180830381600087803b15801561144857600080fd5b505af1158015610c92573d6000803e3d6000fd5b6000806000805160206144ca83398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156114d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f69190613d00565b1561157b578054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015611551573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115759190613e9e565b91505090565b600101546001600160a01b0316919050565b60008051602061450a8339815191528054600160401b810460ff1615906001600160401b03166000811580156115c05750825b90506000826001600160401b031660011480156115dc5750303b155b9050811580156115ea575080155b156116085760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561163257845460ff60401b1916600160401b1785555b61163b86612bfe565b611643610de3565b61165363a444b9bb60e01b610bd2565b831561168757845460ff60401b19168555604051600181526000805160206144ea8339815191529060200160405180910390a15b505050505050565b336116986110d0565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156116e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117049190613d00565b6117205760405162461bcd60e51b815260040161098390613e73565b6000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611760573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117849190613e9e565b604051634793b4ab60e01b81526001600160601b03861660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa1580156117d7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117ff9190810190613f3b565b9050838160a001818151611813919061409d565b9052506040516307f8b57360e31b81526001600160a01b03871690633fc5ab9890611847908890859060ff90600401614044565b600060405180830381600087803b15801561186157600080fd5b505af1158015611875573d6000803e3d6000fd5b50505050505050505050565b611889613392565b336118926110d0565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156118da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118fe9190613d00565b61191a5760405162461bcd60e51b815260040161098390613e73565b6000876001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561195a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197e9190613e9e565b604051634793b4ab60e01b81526001600160601b03881660048201529091506001600160a01b03821690634793b4ab90602401600060405180830381865afa1580156119ce573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119f69190810190613f3b565b92508483608001818151611a0a919061409d565b90525060a083018051859190611a2190839061409d565b9052506040516307f8b57360e31b81526001600160a01b03891690633fc5ab9890611a55908990879060ff90600401614044565b600060405180830381600087803b158015611a6f57600080fd5b505af1158015611a83573d6000803e3d6000fd5b50505050611a918888612c6e565b505095945050505050565b60006106f460008051602061450a833981519152546001600160401b031690565b600060008051602061452a8339815191526001018281548110611ae257611ae26140b0565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080611b196110d0565b6001600160a01b031663d39e604360285b611b32611bc1565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611b77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9b9190613e9e565b92915050565b600080611bac6110d0565b6001600160a01b031663d39e60436046611b2a565b6000611bcb61066f565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611c20573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f491906140d1565b33611c4d6110d0565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611c95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cb99190613d00565b611cd55760405162461bcd60e51b815260040161098390613e73565b6000611cdf6110d0565b6040516305247a1760e51b81526001600160601b03881660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611d2e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d5691908101906140ee565b60808101516040516307f8b57360e31b8152919250906001600160a01b03821690633fc5ab989061134c90899089908990600401614044565b60008080611d9d608c612963565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611de1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e059190613e9e565b90506000836000015190506000604051806101200160405280836001600160601b031681526020018c815260200189898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602082018d90526040820152606081018c9052608081018b905260a001611e90600090565b64ffffffffff16815260006020909101529050611eab611b0e565b6001600160a01b031663c2bf08c86040518060e00160405280611ecc600090565b6001600160601b03168152602001856001600160601b03168152602001611ef160dc90565b60ff16815260200160001515815260200160006001600160a01b031681526020018f6001600160a01b0316815260200184604051602001611f329190613a5d565b6040516020818303038152906040528152506040518263ffffffff1660e01b8152600401611f609190613491565b6020604051808303816000875af1158015611f7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fa39190613d28565b604051633038d34760e11b81529096506001600160a01b03851690636071a68e90611fd490899085906004016141c0565b600060405180830381600087803b158015611fee57600080fd5b505af1158015612002573d6000803e3d6000fd5b505050506000846001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015612046573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061206a9190613e9e565b6040516346f0e8a760e11b81526001600160601b03891660048201529091506001600160a01b03821690638de1d14e90602401600060405180830381600087803b1580156120b757600080fd5b505af11580156120cb573d6000803e3d6000fd5b505050506120db8484898e612f27565b5050505050509695505050505050565b6120f361260d565b600060dc6120ff611bc1565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000612134846131b7565b905060006121478583603c848888610bff565b612157637b6a51fd60e01b610bd2565b5050505050565b61216661260d565b61216f82612bfe565b61217881613222565b612180610de3565b61219063a444b9bb60e01b610bd2565b5050565b60006000805160206144ca83398151915261157b565b60006121b6608c612963565b9150506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061221d9190613e9e565b60405163b5346af560e01b81526001600160601b03851660048201529091506001600160a01b0382169063b5346af59060240161142e565b61225d61260d565b60008051602061452a833981519152600061228d60008051602061450a833981519152546001600160401b031690565b9050600061229961066f565b9050816001600160401b03166001036122c65760028301805462ffffff191662ffffff8316179055612314565b600283015462ffffff908116908216116123145760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610983565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af41580156123c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123ec91906141e2565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610dd49083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60008051602061450a8339815191528054600160401b810460ff1615906001600160401b03166000811580156125275750825b90506000826001600160401b031660011480156125435750303b155b905081158015612551575080155b1561256f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561259957845460ff60401b1916600160401b1785555b600080878060200190518101906125b091906141ff565b90925090506125bf828a6120eb565b6125cf63ddb8f07b60e01b610bd2565b50508315610c9257845460ff60401b19168555604051600181526000805160206144ea8339815191529060200160405180910390a150505050505050565b60008051602061450a83398151915254600160401b900460ff1661264457604051631afcd79f60e31b815260040160405180910390fd5b565b61021c61260d565b336126576110d0565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa15801561269f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126c39190613d00565b6126df5760405162461bcd60e51b815260040161098390613e73565b6000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561271f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127439190613e9e565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612796573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526127be9190810190614258565b61016081015190915061ffff1615612805576101608101516040516309fa740360e41b81526001600160601b038616600482015261ffff9091166024820152604401610983565b61288a73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612851573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061287591906141e2565b826101c0015164ffffffffff90811691161090565b801561289e57508060800151816101800151105b156128c7576040516389670e9b60e01b81526001600160601b0385166004820152602401610983565b6000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015612907573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061292b9190613e9e565b604051631351fccf60e31b81526001600160601b03871660048201529091506001600160a01b03821690639a8fe67890602401611847565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015290806129a46110d0565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa1580156129eb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612a1391908101906140ee565b9250612a2983604001518560ff90811691161490565b612a6b5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610983565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015612ac1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612ae991908101906140ee565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612b32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b569190613e9e565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015612ba3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bc79190613d00565b15612bf657608085015160405163d53987e560e01b81526001600160a01b039091166004820152602401610983565b505050915091565b612c0661260d565b6001600160a01b038116612c2d576040516352e2d0c160e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0392909216919091179055565b33612c776110d0565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015612cbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ce39190613d00565b612cff5760405162461bcd60e51b815260040161098390613e73565b6000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d639190613e9e565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612db6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612dde9190810190614258565b6101a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015612e3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e629190613d00565b15612e8b57604051639218a15160e01b81526001600160601b0385166004820152602401610983565b6000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ecb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eef9190613e9e565b604051630331f98560e21b81526001600160601b03871660048201529091506001600160a01b03821690630cc7e61490602401611847565b80156131b1576040516355e343a960e01b81526001600160601b03841660048201526000906001600160a01b038616906355e343a9906024016101c060405180830381865afa158015612f7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa291906143bd565b60208101519091506000612fb46110d0565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015613003573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130279190613e9e565b6101008401516101408501516040516317d5759960e31b81526001600160a01b03808516600483015291821660248201526044810188905292935090919084169063beabacc890606401600060405180830381600087803b15801561308b57600080fd5b505af115801561309f573d6000803e3d6000fd5b50506040516346f0526160e11b815273__$a23651848365a6a5ca15f07b4331037f48$__9250638de0a4c291506130da90849060040161448e565b602060405180830381865af41580156130f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061311b9190613d00565b610bc85760405163012ebd8360e21b8152815160048201526020820151602482015260448101869052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015613184573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131a891906144a5565b50505050505050505b50505050565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa1580156131fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9b9190613d28565b6000805160206144ca83398151915280546001600160a01b03161561326857805460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610983565b6001600160a01b03821661328f5760405163f5c4d07d60e01b815260040160405180910390fd5b816001600160a01b03163b6000036132c55760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610983565b80546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa92505050801561333c575060408051601f3d908101601f1916820190925261333991810190613d00565b60015b6133645760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610983565b8061338d5760405163fdeac91f60e01b81526001600160a01b0384166004820152602401610983565b505050565b60405180610120016040528060006001600160601b031681526020016133cb604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60006020828403121561342257600080fd5b81356001600160e01b03198116811461343a57600080fd5b9392505050565b60005b8381101561345c578181015183820152602001613444565b50506000910152565b6000815180845261347d816020860160208601613441565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516134fa60c08401826001600160a01b03169052565b5060c083015160e080840152613514610100840182613465565b949350505050565b6001600160a01b038116811461353157600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561356c5761356c613534565b60405290565b60405161012081016001600160401b038111828210171561356c5761356c613534565b60405160e081016001600160401b038111828210171561356c5761356c613534565b60405161020081016001600160401b038111828210171561356c5761356c613534565b60405161016081016001600160401b038111828210171561356c5761356c613534565b604051601f8201601f191681016001600160401b038111828210171561362557613625613534565b604052919050565b60006001600160401b0382111561364657613646613534565b50601f01601f191660200190565b600082601f83011261366557600080fd5b81356136786136738261362d565b6135fd565b81815284602083860101111561368d57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156136bf57600080fd5b83356136ca8161351c565b925060208401356136da8161351c565b915060408401356001600160401b038111156136f557600080fd5b61370186828701613654565b9150509250925092565b6001600160601b038116811461353157600080fd5b803561372b8161370b565b919050565b60ff8116811461353157600080fd5b803561372b81613730565b801515811461353157600080fd5b60008060008060008060c0878903121561377157600080fd5b863561377c8161351c565b9550602087013561378c8161370b565b9450604087013561379c81613730565b935060608701356137ac8161374a565b925060808701356137bc8161351c565b915060a08701356001600160401b038111156137d757600080fd5b6137e389828a01613654565b9150509295509295509295565b6000806000806080858703121561380657600080fd5b84356138118161351c565b935060208501356138218161370b565b925060408501356138318161370b565b9396929550929360600135925050565b62ffffff8116811461353157600080fd5b60006020828403121561386457600080fd5b813561343a81613841565b60006040828403121561388157600080fd5b61388961354a565b9050813581526020820135602082015292915050565b600080606083850312156138b257600080fd5b82356138bd8161370b565b91506138cc846020850161386f565b90509250929050565b6000602082840312156138e757600080fd5b813561343a8161370b565b60006020828403121561390457600080fd5b813561343a8161351c565b60008060006060848603121561392457600080fd5b833561392f8161351c565b9250602084013561393f8161370b565b929592945050506040919091013590565b60208152600061343a6020830184613465565b600080600080600060a0868803121561397b57600080fd5b85356139868161351c565b945060208601356139968161370b565b935060408601356139a68161370b565b94979396509394606081013594506080013592915050565b80516001600160601b0316825260006101406020838101518051868301529081015160408601525060408301518160608601526139fd82860182613465565b91505060608301516080850152608083015160a085015260a083015160c085015260c083015160e085015260e0830151610100613a428187018364ffffffffff169052565b84015164ffffffffff81166101208701529050509392505050565b60208152600061343a60208301846139be565b600060208284031215613a8257600080fd5b5035919050565b64ffffffffff8116811461353157600080fd5b803561372b81613a89565b60008060008060808587031215613abd57600080fd5b8435613ac88161370b565b93506020850135613ad88161370b565b925060408501356001600160401b0380821115613af457600080fd5b908601906101408289031215613b0957600080fd5b613b11613572565b613b1a83613720565b8152613b29896020850161386f565b6020820152606083013582811115613b4057600080fd5b613b4c8a828601613654565b6040830152506080830135606082015260a0830135608082015260c083013560a082015260e083013560c08201526101009150613b8a828401613a9c565b60e0820152613b9c6101208401613a9c565b82820152809450505050613bb26060860161373f565b905092959194509250565b60008060008060008060c08789031215613bd657600080fd5b8635613be18161351c565b9550613bf0886020890161386f565b9450606087013593506080870135925060a08701356001600160401b0380821115613c1a57600080fd5b818901915089601f830112613c2e57600080fd5b813581811115613c3d57600080fd5b8a6020828501011115613c4f57600080fd5b6020830194508093505050509295509295509295565b60008060408385031215613c7857600080fd5b8235613c838161351c565b91506020830135613c938161351c565b809150509250929050565b600060208284031215613cb057600080fd5b815161343a81613841565b600181811c90821680613ccf57607f821691505b602082108103613cef57634e487b7160e01b600052602260045260246000fd5b50919050565b805161372b8161374a565b600060208284031215613d1257600080fd5b815161343a8161374a565b805161372b8161370b565b600060208284031215613d3a57600080fd5b815161343a8161370b565b601f82111561338d57600081815260208120601f850160051c81016020861015613d6c5750805b601f850160051c820191505b8181101561168757828155600101613d78565b81516001600160401b03811115613da457613da4613534565b613db881613db28454613cbb565b84613d45565b602080601f831160018114613ded5760008415613dd55750858301515b600019600386901b1c1916600185901b178555611687565b600085815260208120601f198616915b82811015613e1c57888601518255948401946001909101908401613dfd565b5085821015613e3a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613e5c57600080fd5b81516001600160401b038116811461343a57600080fd5b6020808252601190820152704552524f525f4e4f545f5345525649434560781b604082015260600190565b600060208284031215613eb057600080fd5b815161343a8161351c565b600060408284031215613ecd57600080fd5b613ed561354a565b9050815181526020820151602082015292915050565b600082601f830112613efc57600080fd5b8151613f0a6136738261362d565b818152846020838601011115613f1f57600080fd5b613514826020830160208701613441565b805161372b81613a89565b600060208284031215613f4d57600080fd5b81516001600160401b0380821115613f6457600080fd5b908301906101408286031215613f7957600080fd5b613f81613572565b613f8a83613d1d565b8152613f998660208501613ebb565b6020820152606083015182811115613fb057600080fd5b613fbc87828601613eeb565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c08201526101009150613ffa828401613f30565b60e082015261400c6101208401613f30565b91810191909152949350505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115611b9b57611b9b61401b565b6001600160601b038416815260606020820152600061406660608301856139be565b905060ff83166040830152949350505050565b60006020828403121561408b57600080fd5b5051919050565b805161372b8161351c565b80820180821115611b9b57611b9b61401b565b634e487b7160e01b600052603260045260246000fd5b805161372b81613730565b6000602082840312156140e357600080fd5b815161343a81613730565b60006020828403121561410057600080fd5b81516001600160401b038082111561411757600080fd5b9083019060e0828603121561412b57600080fd5b614133613595565b61413c83613d1d565b815261414a60208401613d1d565b602082015261415b604084016140c6565b604082015261416c60608401613cf5565b606082015261417d60808401614092565b608082015261418e60a08401614092565b60a082015260c0830151828111156141a557600080fd5b6141b187828601613eeb565b60c08301525095945050505050565b6001600160601b038316815260406020820152600061351460408301846139be565b6000602082840312156141f457600080fd5b815161343a81613a89565b6000806040838503121561421257600080fd5b825161421d8161351c565b6020840151909250613c938161351c565b80516001600160c01b03198116811461372b57600080fd5b805161ffff8116811461372b57600080fd5b60006020828403121561426a57600080fd5b81516001600160401b038082111561428157600080fd5b90830190610200828603121561429657600080fd5b61429e6135b7565b6142a783613d1d565b81526142b560208401613d1d565b60208201526142c66040840161422e565b60408201526142d76060840161422e565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e0820152610100808401518381111561431857600080fd5b61432488828701613eeb565b828401525050610120808401518381111561433e57600080fd5b61434a88828701613eeb565b8284015250506101409150614360828401614246565b828201526101609150614374828401614246565b82820152610180915081830151828201526101a09150614395828401613f30565b828201526101c091506143a9828401613f30565b828201526101e0915061400c828401613f30565b60006101c082840312156143d057600080fd5b6143d86135da565b6143e183613d1d565b81526143ef60208401614092565b602082015261440060408401613cf5565b604082015261441160608401613cf5565b606082015261442260808401613cf5565b608082015260a083015160a082015260c083015160c08201526144488460e08501613ebb565b60e082015261012061445c85828601613ebb565b610100830152614470856101608601613ebb565b908201526144816101a08401614092565b6101408201529392505050565b815181526020808301519082015260408101611b9b565b600080604083850312156144b857600080fd5b50508051602090910151909290915056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00c7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212202f56c8bc0cc53fa985f13f690cebcdba01298f84e60b49d3ba798b21be0e373064736f6c63430008140033",
1151
+ "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061021c5760003560e01c80638c5f36bb11610125578063caf4e3d4116100ad578063e3458d531161007c578063e3458d531461061b578063ea8665721461062e578063f7c34ee014610641578063fb2cb10114610654578063fde0a3cd1461065c57600080fd5b8063caf4e3d4146105f0578063cc9fc59a146105f8578063cde749f414610600578063cf7e5db81461060857600080fd5b8063a7e0dea7116100f4578063a7e0dea714610573578063ada9652e14610593578063b3c65015146105a8578063b68d1809146105c8578063b88da759146105dd57600080fd5b80638c5f36bb146104ed578063946dfcfe146105005780639babe3bf14610527578063a3f4df7e1461053a57600080fd5b806336fc697e116101a85780635ab1bd53116101775780635ab1bd5314610466578063636450f514610486578063644c45e0146104995780636f10e8a0146104d2578063893d20e8146104e557600080fd5b806336fc697e1461031f5780633c5c0610146103275780634d459c901461033a5780634f4213331461045357600080fd5b80631647f91e116101ef5780631647f91e1461029e5780631eff4b22146102b1578063214cdb80146102e657806327bb7a33146102f95780632a9040181461030c57600080fd5b806301ffc9a7146102215780630d8e6e2c146102635780630fec111c1461027f578063138461e014610294575b600080fd5b61024e61022f366004613410565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61026b61066f565b60405162ffffff909116815260200161025a565b6102876106f9565b60405161025a9190613491565b61029c6108ad565b005b61029c6102ac3660046136aa565b610adb565b6102d87f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161025a565b61029c6102f4366004613410565b610bd2565b61029c610307366004613758565b610bff565b61029c61031a3660046136aa565b610c9b565b61029c610de3565b61029c6103353660046137f0565b610e29565b6103f6610348366004613852565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061452a83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161025a565b61024e610461366004613852565b61101d565b61046e6110d0565b6040516001600160a01b03909116815260200161025a565b61029c61049436600461389f565b6110ec565b6000805160206144ca83398151915254600160a01b90046001600160601b03165b6040516001600160601b03909116815260200161025a565b61029c6104e03660046138d5565b611387565b61046e61145c565b61029c6104fb3660046138f2565b61158d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102d8565b61029c61053536600461390f565b61168f565b6105666040518060400160405280600d81526020016c42756e646c655365727669636560981b81525081565b60405161025a9190613950565b610586610581366004613963565b611881565b60405161025a9190613a5d565b6102d86000805160206144ca83398151915281565b6105b0611a9c565b6040516001600160401b03909116815260200161025a565b60dc5b60405160ff909116815260200161025a565b61026b6105eb366004613a70565b611abd565b61046e611b0e565b61046e611ba1565b6105cb611bc1565b61029c610616366004613aa7565b611c44565b6104ba610629366004613bbd565b611d8f565b61029c61063c366004613c65565b6120eb565b61029c61064f366004613c65565b61215e565b61046e612194565b61029c61066a3660046138d5565b6121aa565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156106d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f49190613c9e565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906107a990613cbb565b80601f01602080910402602001604051908101604052809291908181526020018280546107d590613cbb565b80156108225780601f106107f757610100808354040283529160200191610822565b820191906000526020600020905b81548152906001019060200180831161080557829003601f168201915b50505050508152505090506040518060e00160405280610840600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610891612194565b6001600160a01b03168152602001826060015181525091505090565b60006000805160206144ca83398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610922573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109469190613d00565b1561098c5780546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b80546001600160a01b03166109b45760405163cf29926160e01b815260040160405180910390fd5b805460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156109fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a209190613d00565b610a48576040516372657a5160e01b81526001600160a01b0382166004820152602401610983565b8154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610a91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab59190613d28565b82546001600160601b0391909116600160a01b026001600160a01b039091161790915550565b60008051602061450a8339815191528054600160401b810460ff1615906001600160401b0316600081158015610b0e5750825b90506000826001600160401b03166001148015610b2a5750303b155b905081158015610b38575080155b15610b565760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b8057845460ff60401b1916600160401b1785555b610b8a8888612255565b610b9487876124f4565b8315610bc857845460ff60401b19168555604051600181526000805160206144ea8339815191529060200160405180910390a15b5050505050505050565b610bda61260d565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610c0761260d565b610c11828761215e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610c818382613d8b565b50610c926303fb044760e21b610bd2565b50505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610cbd61066f565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610cfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d219190613e4a565b60008051602061450a8339815191528054600160401b900460ff1680610d54575080546001600160401b03808416911610155b15610d725760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d9d8585612255565b610da683612646565b805460ff60401b191681556040516001600160401b03831681526000805160206144ea833981519152906020015b60405180910390a15050505050565b610deb61260d565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b33610e326110d0565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015610e7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9e9190613d00565b610eba5760405162461bcd60e51b815260040161098390613e73565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610efa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1e9190613e9e565b604051634793b4ab60e01b81526001600160601b03861660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa158015610f71573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f999190810190613f3b565b90508381608001818151610fad9190614031565b9052506040516307f8b57360e31b81526001600160a01b03881690633fc5ab9890610fe1908890859060ff90600401614044565b600060405180830381600087803b158015610ffb57600080fd5b505af115801561100f573d6000803e3d6000fd5b50505050610c92878761264e565b60008060008051602061452a83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156110a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c99190614079565b1192915050565b6000805160206144ca833981519152546001600160a01b031690565b6000806110f9608c612963565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561113d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111619190613e9e565b8351604051634793b4ab60e01b81526001600160601b0388166004820152919250906000906001600160a01b03841690634793b4ab90602401600060405180830381865afa1580156111b7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111df9190810190613f3b565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561123d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112619190613d00565b6112ad5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c532d3031303a42554e444c455f554e4b4e4f574e000000006044820152606401610983565b80516001600160601b038084169116146113145760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c532d3031313a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b6064820152608401610983565b602081018690526040516307f8b57360e31b81526001600160a01b03851690633fc5ab989061134c908a90859060ff90600401614044565b600060405180830381600087803b15801561136657600080fd5b505af115801561137a573d6000803e3d6000fd5b5050505050505050505050565b6000611393608c612963565b9150506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fa9190613e9e565b6040516306fa456560e01b81526001600160601b03851660048201529091506001600160a01b038216906306fa4565906024015b600060405180830381600087803b15801561144857600080fd5b505af1158015610c92573d6000803e3d6000fd5b6000806000805160206144ca83398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156114d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f69190613d00565b1561157b578054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015611551573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115759190613e9e565b91505090565b600101546001600160a01b0316919050565b60008051602061450a8339815191528054600160401b810460ff1615906001600160401b03166000811580156115c05750825b90506000826001600160401b031660011480156115dc5750303b155b9050811580156115ea575080155b156116085760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561163257845460ff60401b1916600160401b1785555b61163b86612bfe565b611643610de3565b61165363a444b9bb60e01b610bd2565b831561168757845460ff60401b19168555604051600181526000805160206144ea8339815191529060200160405180910390a15b505050505050565b336116986110d0565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156116e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117049190613d00565b6117205760405162461bcd60e51b815260040161098390613e73565b6000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611760573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117849190613e9e565b604051634793b4ab60e01b81526001600160601b03861660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa1580156117d7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117ff9190810190613f3b565b9050838160a001818151611813919061409d565b9052506040516307f8b57360e31b81526001600160a01b03871690633fc5ab9890611847908890859060ff90600401614044565b600060405180830381600087803b15801561186157600080fd5b505af1158015611875573d6000803e3d6000fd5b50505050505050505050565b611889613392565b336118926110d0565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156118da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118fe9190613d00565b61191a5760405162461bcd60e51b815260040161098390613e73565b6000876001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561195a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197e9190613e9e565b604051634793b4ab60e01b81526001600160601b03881660048201529091506001600160a01b03821690634793b4ab90602401600060405180830381865afa1580156119ce573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119f69190810190613f3b565b92508483608001818151611a0a919061409d565b90525060a083018051859190611a2190839061409d565b9052506040516307f8b57360e31b81526001600160a01b03891690633fc5ab9890611a55908990879060ff90600401614044565b600060405180830381600087803b158015611a6f57600080fd5b505af1158015611a83573d6000803e3d6000fd5b50505050611a918888612c6e565b505095945050505050565b60006106f460008051602061450a833981519152546001600160401b031690565b600060008051602061452a8339815191526001018281548110611ae257611ae26140b0565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080611b196110d0565b6001600160a01b031663d39e604360285b611b32611bc1565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611b77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9b9190613e9e565b92915050565b600080611bac6110d0565b6001600160a01b031663d39e60436046611b2a565b6000611bcb61066f565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611c20573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f491906140d1565b33611c4d6110d0565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611c95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cb99190613d00565b611cd55760405162461bcd60e51b815260040161098390613e73565b6000611cdf6110d0565b6040516305247a1760e51b81526001600160601b03881660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611d2e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d5691908101906140ee565b60808101516040516307f8b57360e31b8152919250906001600160a01b03821690633fc5ab989061134c90899089908990600401614044565b60008080611d9d608c612963565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611de1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e059190613e9e565b90506000836000015190506000604051806101200160405280836001600160601b031681526020018c815260200189898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602082018d90526040820152606081018c9052608081018b905260a001611e90600090565b64ffffffffff16815260006020909101529050611eab611b0e565b6001600160a01b031663c2bf08c86040518060e00160405280611ecc600090565b6001600160601b03168152602001856001600160601b03168152602001611ef160dc90565b60ff16815260200160001515815260200160006001600160a01b031681526020018f6001600160a01b0316815260200184604051602001611f329190613a5d565b6040516020818303038152906040528152506040518263ffffffff1660e01b8152600401611f609190613491565b6020604051808303816000875af1158015611f7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fa39190613d28565b604051633038d34760e11b81529096506001600160a01b03851690636071a68e90611fd490899085906004016141c0565b600060405180830381600087803b158015611fee57600080fd5b505af1158015612002573d6000803e3d6000fd5b505050506000846001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015612046573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061206a9190613e9e565b6040516346f0e8a760e11b81526001600160601b03891660048201529091506001600160a01b03821690638de1d14e90602401600060405180830381600087803b1580156120b757600080fd5b505af11580156120cb573d6000803e3d6000fd5b505050506120db8484898e612f27565b5050505050509695505050505050565b6120f361260d565b600060dc6120ff611bc1565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000612134846131b7565b905060006121478583603c848888610bff565b612157637b6a51fd60e01b610bd2565b5050505050565b61216661260d565b61216f82612bfe565b61217881613222565b612180610de3565b61219063a444b9bb60e01b610bd2565b5050565b60006000805160206144ca83398151915261157b565b60006121b6608c612963565b9150506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061221d9190613e9e565b60405163b5346af560e01b81526001600160601b03851660048201529091506001600160a01b0382169063b5346af59060240161142e565b61225d61260d565b60008051602061452a833981519152600061228d60008051602061450a833981519152546001600160401b031690565b9050600061229961066f565b9050816001600160401b03166001036122c65760028301805462ffffff191662ffffff8316179055612314565b600283015462ffffff908116908216116123145760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610983565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af41580156123c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123ec91906141e2565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610dd49083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60008051602061450a8339815191528054600160401b810460ff1615906001600160401b03166000811580156125275750825b90506000826001600160401b031660011480156125435750303b155b905081158015612551575080155b1561256f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561259957845460ff60401b1916600160401b1785555b600080878060200190518101906125b091906141ff565b90925090506125bf828a6120eb565b6125cf63ddb8f07b60e01b610bd2565b50508315610c9257845460ff60401b19168555604051600181526000805160206144ea8339815191529060200160405180910390a150505050505050565b60008051602061450a83398151915254600160401b900460ff1661264457604051631afcd79f60e31b815260040160405180910390fd5b565b61021c61260d565b336126576110d0565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa15801561269f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126c39190613d00565b6126df5760405162461bcd60e51b815260040161098390613e73565b6000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561271f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127439190613e9e565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612796573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526127be9190810190614258565b61016081015190915061ffff1615612805576101608101516040516309fa740360e41b81526001600160601b038616600482015261ffff9091166024820152604401610983565b61288a73__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612851573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061287591906141e2565b826101c0015164ffffffffff90811691161090565b801561289e57508060800151816101800151105b156128c7576040516389670e9b60e01b81526001600160601b0385166004820152602401610983565b6000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015612907573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061292b9190613e9e565b604051631351fccf60e31b81526001600160601b03871660048201529091506001600160a01b03821690639a8fe67890602401611847565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015290806129a46110d0565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa1580156129eb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612a1391908101906140ee565b9250612a2983604001518560ff90811691161490565b612a6b5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610983565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015612ac1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612ae991908101906140ee565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612b32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b569190613e9e565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015612ba3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bc79190613d00565b15612bf657608085015160405163d53987e560e01b81526001600160a01b039091166004820152602401610983565b505050915091565b612c0661260d565b6001600160a01b038116612c2d576040516352e2d0c160e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0392909216919091179055565b33612c776110d0565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015612cbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ce39190613d00565b612cff5760405162461bcd60e51b815260040161098390613e73565b6000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d639190613e9e565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612db6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612dde9190810190614258565b6101a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015612e3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e629190613d00565b15612e8b57604051639218a15160e01b81526001600160601b0385166004820152602401610983565b6000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015612ecb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eef9190613e9e565b604051630331f98560e21b81526001600160601b03871660048201529091506001600160a01b03821690630cc7e61490602401611847565b80156131b1576040516355e343a960e01b81526001600160601b03841660048201526000906001600160a01b038616906355e343a9906024016101c060405180830381865afa158015612f7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa291906143bd565b60208101519091506000612fb46110d0565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015613003573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130279190613e9e565b6101008401516101408501516040516317d5759960e31b81526001600160a01b03808516600483015291821660248201526044810188905292935090919084169063beabacc890606401600060405180830381600087803b15801561308b57600080fd5b505af115801561309f573d6000803e3d6000fd5b50506040516346f0526160e11b815273__$a23651848365a6a5ca15f07b4331037f48$__9250638de0a4c291506130da90849060040161448e565b602060405180830381865af41580156130f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061311b9190613d00565b610bc85760405163012ebd8360e21b8152815160048201526020820151602482015260448101869052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015613184573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131a891906144a5565b50505050505050505b50505050565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa1580156131fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b9b9190613d28565b6000805160206144ca83398151915280546001600160a01b03161561326857805460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610983565b6001600160a01b03821661328f5760405163f5c4d07d60e01b815260040160405180910390fd5b816001600160a01b03163b6000036132c55760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610983565b80546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa92505050801561333c575060408051601f3d908101601f1916820190925261333991810190613d00565b60015b6133645760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610983565b8061338d5760405163fdeac91f60e01b81526001600160a01b0384166004820152602401610983565b505050565b60405180610120016040528060006001600160601b031681526020016133cb604051806040016040528060008152602001600081525090565b81526020016060815260200160008152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b60006020828403121561342257600080fd5b81356001600160e01b03198116811461343a57600080fd5b9392505050565b60005b8381101561345c578181015183820152602001613444565b50506000910152565b6000815180845261347d816020860160208601613441565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516134fa60c08401826001600160a01b03169052565b5060c083015160e080840152613514610100840182613465565b949350505050565b6001600160a01b038116811461353157600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561356c5761356c613534565b60405290565b60405161012081016001600160401b038111828210171561356c5761356c613534565b60405160e081016001600160401b038111828210171561356c5761356c613534565b60405161020081016001600160401b038111828210171561356c5761356c613534565b60405161016081016001600160401b038111828210171561356c5761356c613534565b604051601f8201601f191681016001600160401b038111828210171561362557613625613534565b604052919050565b60006001600160401b0382111561364657613646613534565b50601f01601f191660200190565b600082601f83011261366557600080fd5b81356136786136738261362d565b6135fd565b81815284602083860101111561368d57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156136bf57600080fd5b83356136ca8161351c565b925060208401356136da8161351c565b915060408401356001600160401b038111156136f557600080fd5b61370186828701613654565b9150509250925092565b6001600160601b038116811461353157600080fd5b803561372b8161370b565b919050565b60ff8116811461353157600080fd5b803561372b81613730565b801515811461353157600080fd5b60008060008060008060c0878903121561377157600080fd5b863561377c8161351c565b9550602087013561378c8161370b565b9450604087013561379c81613730565b935060608701356137ac8161374a565b925060808701356137bc8161351c565b915060a08701356001600160401b038111156137d757600080fd5b6137e389828a01613654565b9150509295509295509295565b6000806000806080858703121561380657600080fd5b84356138118161351c565b935060208501356138218161370b565b925060408501356138318161370b565b9396929550929360600135925050565b62ffffff8116811461353157600080fd5b60006020828403121561386457600080fd5b813561343a81613841565b60006040828403121561388157600080fd5b61388961354a565b9050813581526020820135602082015292915050565b600080606083850312156138b257600080fd5b82356138bd8161370b565b91506138cc846020850161386f565b90509250929050565b6000602082840312156138e757600080fd5b813561343a8161370b565b60006020828403121561390457600080fd5b813561343a8161351c565b60008060006060848603121561392457600080fd5b833561392f8161351c565b9250602084013561393f8161370b565b929592945050506040919091013590565b60208152600061343a6020830184613465565b600080600080600060a0868803121561397b57600080fd5b85356139868161351c565b945060208601356139968161370b565b935060408601356139a68161370b565b94979396509394606081013594506080013592915050565b80516001600160601b0316825260006101406020838101518051868301529081015160408601525060408301518160608601526139fd82860182613465565b91505060608301516080850152608083015160a085015260a083015160c085015260c083015160e085015260e0830151610100613a428187018364ffffffffff169052565b84015164ffffffffff81166101208701529050509392505050565b60208152600061343a60208301846139be565b600060208284031215613a8257600080fd5b5035919050565b64ffffffffff8116811461353157600080fd5b803561372b81613a89565b60008060008060808587031215613abd57600080fd5b8435613ac88161370b565b93506020850135613ad88161370b565b925060408501356001600160401b0380821115613af457600080fd5b908601906101408289031215613b0957600080fd5b613b11613572565b613b1a83613720565b8152613b29896020850161386f565b6020820152606083013582811115613b4057600080fd5b613b4c8a828601613654565b6040830152506080830135606082015260a0830135608082015260c083013560a082015260e083013560c08201526101009150613b8a828401613a9c565b60e0820152613b9c6101208401613a9c565b82820152809450505050613bb26060860161373f565b905092959194509250565b60008060008060008060c08789031215613bd657600080fd5b8635613be18161351c565b9550613bf0886020890161386f565b9450606087013593506080870135925060a08701356001600160401b0380821115613c1a57600080fd5b818901915089601f830112613c2e57600080fd5b813581811115613c3d57600080fd5b8a6020828501011115613c4f57600080fd5b6020830194508093505050509295509295509295565b60008060408385031215613c7857600080fd5b8235613c838161351c565b91506020830135613c938161351c565b809150509250929050565b600060208284031215613cb057600080fd5b815161343a81613841565b600181811c90821680613ccf57607f821691505b602082108103613cef57634e487b7160e01b600052602260045260246000fd5b50919050565b805161372b8161374a565b600060208284031215613d1257600080fd5b815161343a8161374a565b805161372b8161370b565b600060208284031215613d3a57600080fd5b815161343a8161370b565b601f82111561338d57600081815260208120601f850160051c81016020861015613d6c5750805b601f850160051c820191505b8181101561168757828155600101613d78565b81516001600160401b03811115613da457613da4613534565b613db881613db28454613cbb565b84613d45565b602080601f831160018114613ded5760008415613dd55750858301515b600019600386901b1c1916600185901b178555611687565b600085815260208120601f198616915b82811015613e1c57888601518255948401946001909101908401613dfd565b5085821015613e3a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613e5c57600080fd5b81516001600160401b038116811461343a57600080fd5b6020808252601190820152704552524f525f4e4f545f5345525649434560781b604082015260600190565b600060208284031215613eb057600080fd5b815161343a8161351c565b600060408284031215613ecd57600080fd5b613ed561354a565b9050815181526020820151602082015292915050565b600082601f830112613efc57600080fd5b8151613f0a6136738261362d565b818152846020838601011115613f1f57600080fd5b613514826020830160208701613441565b805161372b81613a89565b600060208284031215613f4d57600080fd5b81516001600160401b0380821115613f6457600080fd5b908301906101408286031215613f7957600080fd5b613f81613572565b613f8a83613d1d565b8152613f998660208501613ebb565b6020820152606083015182811115613fb057600080fd5b613fbc87828601613eeb565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c08201526101009150613ffa828401613f30565b60e082015261400c6101208401613f30565b91810191909152949350505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115611b9b57611b9b61401b565b6001600160601b038416815260606020820152600061406660608301856139be565b905060ff83166040830152949350505050565b60006020828403121561408b57600080fd5b5051919050565b805161372b8161351c565b80820180821115611b9b57611b9b61401b565b634e487b7160e01b600052603260045260246000fd5b805161372b81613730565b6000602082840312156140e357600080fd5b815161343a81613730565b60006020828403121561410057600080fd5b81516001600160401b038082111561411757600080fd5b9083019060e0828603121561412b57600080fd5b614133613595565b61413c83613d1d565b815261414a60208401613d1d565b602082015261415b604084016140c6565b604082015261416c60608401613cf5565b606082015261417d60808401614092565b608082015261418e60a08401614092565b60a082015260c0830151828111156141a557600080fd5b6141b187828601613eeb565b60c08301525095945050505050565b6001600160601b038316815260406020820152600061351460408301846139be565b6000602082840312156141f457600080fd5b815161343a81613a89565b6000806040838503121561421257600080fd5b825161421d8161351c565b6020840151909250613c938161351c565b80516001600160c01b03198116811461372b57600080fd5b805161ffff8116811461372b57600080fd5b60006020828403121561426a57600080fd5b81516001600160401b038082111561428157600080fd5b90830190610200828603121561429657600080fd5b61429e6135b7565b6142a783613d1d565b81526142b560208401613d1d565b60208201526142c66040840161422e565b60408201526142d76060840161422e565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e0820152610100808401518381111561431857600080fd5b61432488828701613eeb565b828401525050610120808401518381111561433e57600080fd5b61434a88828701613eeb565b8284015250506101409150614360828401614246565b828201526101609150614374828401614246565b82820152610180915081830151828201526101a09150614395828401613f30565b828201526101c091506143a9828401613f30565b828201526101e0915061400c828401613f30565b60006101c082840312156143d057600080fd5b6143d86135da565b6143e183613d1d565b81526143ef60208401614092565b602082015261440060408401613cf5565b604082015261441160608401613cf5565b606082015261442260808401613cf5565b608082015260a083015160a082015260c083015160c08201526144488460e08501613ebb565b60e082015261012061445c85828601613ebb565b610100830152614470856101608601613ebb565b908201526144816101a08401614092565b6101408201529392505050565b815181526020808301519082015260408101611b9b565b600080604083850312156144b857600080fd5b50508051602090910151909290915056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00c7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212202f56c8bc0cc53fa985f13f690cebcdba01298f84e60b49d3ba798b21be0e373064736f6c63430008140033",
1152
+ "linkReferences": {
1153
+ "contracts/types/Blocknumber.sol": {
1154
+ "BlocknumberLib": [
1155
+ {
1156
+ "length": 20,
1157
+ "start": 4433
1158
+ }
1159
+ ]
1160
+ },
1161
+ "contracts/types/Fee.sol": {
1162
+ "FeeLib": [
1163
+ {
1164
+ "length": 20,
1165
+ "start": 12694
1166
+ },
1167
+ {
1168
+ "length": 20,
1169
+ "start": 12849
1170
+ }
1171
+ ]
1172
+ },
1173
+ "contracts/types/NftId.sol": {
1174
+ "NftIdLib": [
1175
+ {
1176
+ "length": 20,
1177
+ "start": 2510
1178
+ },
1179
+ {
1180
+ "length": 20,
1181
+ "start": 4841
1182
+ },
1183
+ {
1184
+ "length": 20,
1185
+ "start": 5502
1186
+ }
1187
+ ]
1188
+ },
1189
+ "contracts/types/Timestamp.sol": {
1190
+ "TimestampLib": [
1191
+ {
1192
+ "length": 20,
1193
+ "start": 9332
1194
+ },
1195
+ {
1196
+ "length": 20,
1197
+ "start": 10480
1198
+ },
1199
+ {
1200
+ "length": 20,
1201
+ "start": 12010
1202
+ }
1203
+ ]
1204
+ },
1205
+ "contracts/types/Version.sol": {
1206
+ "VersionLib": [
1207
+ {
1208
+ "length": 20,
1209
+ "start": 1916
1210
+ },
1211
+ {
1212
+ "length": 20,
1213
+ "start": 3459
1214
+ },
1215
+ {
1216
+ "length": 20,
1217
+ "start": 7372
1218
+ }
1219
+ ]
1220
+ }
1221
+ },
1222
+ "deployedLinkReferences": {
1223
+ "contracts/types/Blocknumber.sol": {
1224
+ "BlocknumberLib": [
1225
+ {
1226
+ "length": 20,
1227
+ "start": 4203
1228
+ }
1229
+ ]
1230
+ },
1231
+ "contracts/types/Fee.sol": {
1232
+ "FeeLib": [
1233
+ {
1234
+ "length": 20,
1235
+ "start": 12464
1236
+ },
1237
+ {
1238
+ "length": 20,
1239
+ "start": 12619
1240
+ }
1241
+ ]
1242
+ },
1243
+ "contracts/types/NftId.sol": {
1244
+ "NftIdLib": [
1245
+ {
1246
+ "length": 20,
1247
+ "start": 2280
1248
+ },
1249
+ {
1250
+ "length": 20,
1251
+ "start": 4611
1252
+ },
1253
+ {
1254
+ "length": 20,
1255
+ "start": 5272
1256
+ }
1257
+ ]
1258
+ },
1259
+ "contracts/types/Timestamp.sol": {
1260
+ "TimestampLib": [
1261
+ {
1262
+ "length": 20,
1263
+ "start": 9102
1264
+ },
1265
+ {
1266
+ "length": 20,
1267
+ "start": 10250
1268
+ },
1269
+ {
1270
+ "length": 20,
1271
+ "start": 11780
1272
+ }
1273
+ ]
1274
+ },
1275
+ "contracts/types/Version.sol": {
1276
+ "VersionLib": [
1277
+ {
1278
+ "length": 20,
1279
+ "start": 1686
1280
+ },
1281
+ {
1282
+ "length": 20,
1283
+ "start": 3229
1284
+ },
1285
+ {
1286
+ "length": 20,
1287
+ "start": 7142
1288
+ }
1289
+ ]
1290
+ }
1291
+ }
1292
+ }