@etherisc/gif-next 0.0.2-d408403-475 → 0.0.2-d48ae55-246

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