@etherisc/gif-next 0.0.2-d96b9e1-825 → 0.0.2-da0f894-204

Sign up to get free protection for your applications and to get access to all the features.
Files changed (471) hide show
  1. package/README.md +327 -8
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +774 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1279 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → components/IComponent.sol/IComponent.json} +234 -239
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +829 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +804 -131
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +455 -62
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1202 -138
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +881 -87
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  20. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  21. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1595 -1039
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  25. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +509 -0
  26. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  27. package/artifacts/contracts/instance/Instance.sol/Instance.json +2378 -1208
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +984 -0
  30. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1355 -0
  32. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1046 -0
  34. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +693 -0
  36. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  38. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  39. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +552 -0
  40. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  41. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +45 -127
  42. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +55 -245
  45. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +6 -6
  47. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
  49. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  50. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  51. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IDistribution.sol/IDistribution.json} +2 -2
  53. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  54. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  56. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  57. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  58. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  59. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  60. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  61. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  62. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +947 -0
  63. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  64. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
  65. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  66. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1096 -0
  67. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  68. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
  69. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  70. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
  71. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  72. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  73. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  74. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1553 -0
  75. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +793 -0
  77. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +535 -0
  79. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +633 -0
  81. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  82. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +409 -0
  83. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  84. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +858 -0
  85. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +519 -0
  87. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  88. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +136 -165
  89. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +139 -232
  91. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1000 -0
  93. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
  95. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  96. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +416 -160
  97. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +649 -0
  99. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +401 -297
  101. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  104. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +186 -12
  105. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +466 -34
  107. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +890 -0
  109. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  110. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  111. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  112. package/artifacts/contracts/registry/Registry.sol/Registry.json +470 -103
  113. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  114. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1177 -0
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +670 -0
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  120. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  123. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  124. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  125. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  126. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  127. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  128. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +38 -74
  129. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  130. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  131. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +100 -33
  133. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  134. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  135. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  136. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/IService.sol/IService.json} +121 -152
  137. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +16 -125
  139. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  140. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +251 -0
  141. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  142. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  143. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  144. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +582 -0
  145. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +256 -25
  147. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  148. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  149. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  150. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/Service.sol/Service.json} +220 -159
  151. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  152. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  153. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  154. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  155. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  156. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +29 -115
  157. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestFee.sol/TestFee.json +10 -10
  159. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +272 -26
  161. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +44 -10
  163. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestService.sol/TestService.json +281 -139
  165. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  166. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  167. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  168. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +12 -12
  169. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +38 -140
  171. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  172. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  173. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  174. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +2 -2
  175. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  177. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  179. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  180. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  181. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  182. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  183. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/Fee.sol/FeeLib.json +52 -13
  185. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  186. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  187. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +4 -4
  189. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  190. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  191. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  192. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  193. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  195. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  196. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  197. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  198. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  199. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  200. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  201. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  202. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  203. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  204. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  205. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  206. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  207. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  208. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  209. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  210. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  211. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  212. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  213. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  214. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  215. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  216. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  217. package/contracts/components/Component.sol +221 -0
  218. package/contracts/components/Distribution.sol +293 -0
  219. package/contracts/components/IComponent.sol +68 -0
  220. package/contracts/components/IDistributionComponent.sol +79 -0
  221. package/contracts/components/IPoolComponent.sol +136 -42
  222. package/contracts/components/IProductComponent.sol +30 -9
  223. package/contracts/components/Pool.sol +310 -106
  224. package/contracts/components/Product.sol +214 -42
  225. package/contracts/instance/BundleManager.sol +125 -0
  226. package/contracts/instance/Cloneable.sol +46 -0
  227. package/contracts/instance/IInstance.sol +85 -45
  228. package/contracts/instance/IInstanceService.sol +59 -0
  229. package/contracts/instance/Instance.sol +276 -53
  230. package/contracts/instance/InstanceAccessManager.sol +297 -0
  231. package/contracts/instance/InstanceReader.sol +293 -0
  232. package/contracts/instance/InstanceService.sol +490 -0
  233. package/contracts/instance/InstanceServiceManager.sol +54 -0
  234. package/contracts/instance/ObjectManager.sol +84 -0
  235. package/contracts/instance/base/ComponentService.sol +134 -0
  236. package/contracts/instance/base/IKeyValueStore.sol +13 -13
  237. package/contracts/instance/base/ILifecycle.sol +3 -3
  238. package/contracts/instance/base/KeyValueStore.sol +61 -36
  239. package/contracts/instance/base/Lifecycle.sol +16 -11
  240. package/contracts/instance/module/IAccess.sol +47 -0
  241. package/contracts/instance/module/IBundle.sol +21 -0
  242. package/contracts/instance/module/IDistribution.sol +41 -0
  243. package/contracts/instance/module/IPolicy.sol +72 -0
  244. package/contracts/instance/module/IRisk.sol +11 -0
  245. package/contracts/instance/module/ISetup.sol +46 -0
  246. package/contracts/instance/module/ITreasury.sol +23 -0
  247. package/contracts/instance/service/ApplicationService.sol +346 -0
  248. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  249. package/contracts/instance/service/BundleService.sol +299 -0
  250. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  251. package/contracts/instance/service/ClaimService.sol +151 -0
  252. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  253. package/contracts/instance/service/DistributionService.sol +394 -0
  254. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  255. package/contracts/instance/service/IApplicationService.sol +81 -0
  256. package/contracts/instance/service/IBundleService.sol +55 -0
  257. package/contracts/instance/service/IClaimService.sol +61 -0
  258. package/contracts/instance/service/IDistributionService.sol +86 -0
  259. package/contracts/instance/service/IPolicyService.sol +70 -0
  260. package/contracts/instance/service/IPoolService.sol +8 -18
  261. package/contracts/instance/service/IProductService.sol +21 -39
  262. package/contracts/instance/service/PolicyService.sol +404 -0
  263. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  264. package/contracts/instance/service/PoolService.sol +78 -92
  265. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  266. package/contracts/instance/service/ProductService.sol +168 -289
  267. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  268. package/contracts/registry/ChainNft.sol +79 -36
  269. package/contracts/registry/IRegistry.sol +66 -24
  270. package/contracts/registry/IRegistryService.sol +67 -0
  271. package/contracts/registry/ITransferInterceptor.sol +6 -0
  272. package/contracts/registry/Registry.sol +366 -283
  273. package/contracts/registry/RegistryAccessManager.sol +216 -0
  274. package/contracts/registry/RegistryService.sol +283 -0
  275. package/contracts/registry/RegistryServiceManager.sol +62 -0
  276. package/contracts/registry/ReleaseManager.sol +322 -0
  277. package/contracts/registry/TokenRegistry.sol +116 -0
  278. package/contracts/shared/ContractDeployerLib.sol +72 -0
  279. package/contracts/shared/ERC165.sol +14 -8
  280. package/contracts/shared/INftOwnable.sol +23 -0
  281. package/contracts/shared/IPolicyHolder.sol +26 -0
  282. package/contracts/shared/IRegisterable.sol +10 -19
  283. package/contracts/shared/IRegistryLinked.sol +12 -0
  284. package/contracts/shared/IService.sol +18 -0
  285. package/contracts/shared/IVersionable.sol +38 -37
  286. package/contracts/shared/NftOwnable.sol +120 -0
  287. package/contracts/shared/PolicyHolder.sol +81 -0
  288. package/contracts/shared/ProxyManager.sol +169 -0
  289. package/contracts/shared/Registerable.sol +54 -66
  290. package/contracts/shared/RegistryLinked.sol +48 -0
  291. package/contracts/shared/Service.sol +58 -0
  292. package/contracts/shared/TokenHandler.sol +27 -0
  293. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  294. package/contracts/shared/Versionable.sol +38 -68
  295. package/contracts/test/TestFee.sol +2 -2
  296. package/contracts/test/TestRegisterable.sol +5 -6
  297. package/contracts/test/TestRoleId.sol +2 -2
  298. package/contracts/test/TestService.sol +7 -14
  299. package/contracts/test/Usdc.sol +26 -0
  300. package/contracts/types/ClaimId.sol +52 -0
  301. package/contracts/types/DistributorType.sol +55 -0
  302. package/contracts/types/Fee.sol +10 -5
  303. package/contracts/types/Key32.sol +8 -3
  304. package/contracts/types/NftIdSet.sol +26 -24
  305. package/contracts/types/NumberId.sol +52 -0
  306. package/contracts/types/ObjectType.sol +55 -14
  307. package/contracts/types/PayoutId.sol +54 -0
  308. package/contracts/types/Referral.sol +85 -0
  309. package/contracts/types/RiskId.sol +43 -0
  310. package/contracts/types/RoleId.sol +70 -11
  311. package/contracts/types/Seconds.sol +54 -0
  312. package/contracts/types/StateId.sol +5 -1
  313. package/contracts/types/Timestamp.sol +16 -13
  314. package/contracts/types/UFixed.sol +144 -25
  315. package/contracts/types/Version.sol +13 -1
  316. package/package.json +9 -5
  317. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  318. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  319. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  320. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  322. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  324. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  326. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  327. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  328. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  329. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  330. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  332. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  334. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  336. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  339. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  341. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  343. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  344. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  345. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  346. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  347. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  348. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  349. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  350. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  351. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  352. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  353. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  354. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  355. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  356. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  357. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  358. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
  359. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  360. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  361. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  362. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +0 -326
  363. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  364. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  365. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  366. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  367. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  368. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  369. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  370. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  371. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  372. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  373. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  374. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  375. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  376. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  377. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  378. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  379. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  380. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  381. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  382. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  383. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  384. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  385. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  386. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  387. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  388. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  389. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  390. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  391. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  392. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  393. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  394. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  395. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  396. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  397. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  398. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  399. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  400. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  401. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  402. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  403. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  404. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  405. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  406. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  407. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  408. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  409. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  410. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  411. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -491
  412. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  413. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  414. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  415. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  416. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  417. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  418. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  419. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  420. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  421. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  422. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  423. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
  424. package/contracts/components/BaseComponent.sol +0 -88
  425. package/contracts/components/IBaseComponent.sol +0 -19
  426. package/contracts/experiment/errors/Require.sol +0 -38
  427. package/contracts/experiment/errors/Revert.sol +0 -44
  428. package/contracts/experiment/inheritance/A.sol +0 -53
  429. package/contracts/experiment/inheritance/B.sol +0 -28
  430. package/contracts/experiment/inheritance/C.sol +0 -34
  431. package/contracts/experiment/inheritance/IA.sol +0 -13
  432. package/contracts/experiment/inheritance/IB.sol +0 -10
  433. package/contracts/experiment/inheritance/IC.sol +0 -12
  434. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  435. package/contracts/experiment/statemachine/ISM.sol +0 -25
  436. package/contracts/experiment/statemachine/README.md +0 -112
  437. package/contracts/experiment/statemachine/SM.sol +0 -57
  438. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  439. package/contracts/experiment/types/TypeA.sol +0 -47
  440. package/contracts/experiment/types/TypeB.sol +0 -29
  441. package/contracts/instance/IInstanceLinked.sol +0 -8
  442. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  443. package/contracts/instance/base/IInstanceBase.sol +0 -14
  444. package/contracts/instance/base/IService.sol +0 -15
  445. package/contracts/instance/base/InstanceBase.sol +0 -80
  446. package/contracts/instance/base/ModuleBase.sol +0 -52
  447. package/contracts/instance/base/ServiceBase.sol +0 -37
  448. package/contracts/instance/module/access/Access.sol +0 -149
  449. package/contracts/instance/module/access/IAccess.sol +0 -53
  450. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  451. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  452. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  453. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  454. package/contracts/instance/module/component/ComponentModule.sol +0 -95
  455. package/contracts/instance/module/component/IComponent.sol +0 -53
  456. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  457. package/contracts/instance/module/policy/PolicyModule.sol +0 -76
  458. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  459. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  460. package/contracts/instance/module/risk/IRisk.sol +0 -10
  461. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  462. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  463. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  464. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  465. package/contracts/instance/service/ComponentOwnerService.sol +0 -170
  466. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  467. package/contracts/registry/IChainNft.sol +0 -21
  468. package/contracts/registry/IRegistryLinked.sol +0 -8
  469. package/contracts/shared/IOwnable.sol +0 -6
  470. package/contracts/test/TestPool.sol +0 -22
  471. package/contracts/test/TestProduct.sol +0 -44
@@ -0,0 +1,947 @@
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": "component",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "nftId",
16
+ "type": "uint96"
17
+ }
18
+ ],
19
+ "name": "ErrorComponentServiceAlreadyRegistered",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "component",
27
+ "type": "address"
28
+ }
29
+ ],
30
+ "name": "ErrorComponentServiceComponentLocked",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "NftId",
37
+ "name": "instanceNftId",
38
+ "type": "uint96"
39
+ },
40
+ {
41
+ "internalType": "RoleId",
42
+ "name": "requiredRole",
43
+ "type": "uint64"
44
+ },
45
+ {
46
+ "internalType": "address",
47
+ "name": "sender",
48
+ "type": "address"
49
+ }
50
+ ],
51
+ "name": "ErrorComponentServiceExpectedRoleMissing",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "address",
58
+ "name": "component",
59
+ "type": "address"
60
+ },
61
+ {
62
+ "internalType": "ObjectType",
63
+ "name": "requiredType",
64
+ "type": "uint8"
65
+ },
66
+ {
67
+ "internalType": "ObjectType",
68
+ "name": "componentType",
69
+ "type": "uint8"
70
+ }
71
+ ],
72
+ "name": "ErrorComponentServiceInvalidType",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [
77
+ {
78
+ "internalType": "address",
79
+ "name": "component",
80
+ "type": "address"
81
+ }
82
+ ],
83
+ "name": "ErrorComponentServiceNotComponent",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [
88
+ {
89
+ "internalType": "address",
90
+ "name": "component",
91
+ "type": "address"
92
+ },
93
+ {
94
+ "internalType": "address",
95
+ "name": "initialOwner",
96
+ "type": "address"
97
+ },
98
+ {
99
+ "internalType": "address",
100
+ "name": "sender",
101
+ "type": "address"
102
+ }
103
+ ],
104
+ "name": "ErrorComponentServiceSenderNotOwner",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [
109
+ {
110
+ "internalType": "address",
111
+ "name": "target",
112
+ "type": "address"
113
+ }
114
+ ],
115
+ "name": "ErrorIAccessTargetLocked",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [
120
+ {
121
+ "internalType": "address",
122
+ "name": "caller",
123
+ "type": "address"
124
+ }
125
+ ],
126
+ "name": "ErrorIServiceCallerUnknown",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "NftId",
133
+ "name": "nftId",
134
+ "type": "uint96"
135
+ }
136
+ ],
137
+ "name": "ErrorNftOwnableAlreadyLinked",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [
142
+ {
143
+ "internalType": "address",
144
+ "name": "contractAddress",
145
+ "type": "address"
146
+ }
147
+ ],
148
+ "name": "ErrorNftOwnableContractNotRegistered",
149
+ "type": "error"
150
+ },
151
+ {
152
+ "inputs": [],
153
+ "name": "ErrorNftOwnableInitialOwnerZero",
154
+ "type": "error"
155
+ },
156
+ {
157
+ "inputs": [
158
+ {
159
+ "internalType": "address",
160
+ "name": "account",
161
+ "type": "address"
162
+ }
163
+ ],
164
+ "name": "ErrorNftOwnableNotOwner",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [
169
+ {
170
+ "internalType": "address",
171
+ "name": "registryAddress",
172
+ "type": "address"
173
+ }
174
+ ],
175
+ "name": "ErrorNotRegistry",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [
180
+ {
181
+ "internalType": "NftId",
182
+ "name": "applicationNftId",
183
+ "type": "uint96"
184
+ }
185
+ ],
186
+ "name": "IApplicationServicePolicyNotApplied",
187
+ "type": "error"
188
+ },
189
+ {
190
+ "inputs": [],
191
+ "name": "InvalidInitialization",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [],
196
+ "name": "NotInitializing",
197
+ "type": "error"
198
+ },
199
+ {
200
+ "anonymous": false,
201
+ "inputs": [
202
+ {
203
+ "indexed": false,
204
+ "internalType": "uint64",
205
+ "name": "version",
206
+ "type": "uint64"
207
+ }
208
+ ],
209
+ "name": "Initialized",
210
+ "type": "event"
211
+ },
212
+ {
213
+ "inputs": [],
214
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
215
+ "outputs": [
216
+ {
217
+ "internalType": "bytes32",
218
+ "name": "",
219
+ "type": "bytes32"
220
+ }
221
+ ],
222
+ "stateMutability": "view",
223
+ "type": "function"
224
+ },
225
+ {
226
+ "inputs": [],
227
+ "name": "REGISTERABLE_LOCATION_V1",
228
+ "outputs": [
229
+ {
230
+ "internalType": "bytes32",
231
+ "name": "",
232
+ "type": "bytes32"
233
+ }
234
+ ],
235
+ "stateMutability": "view",
236
+ "type": "function"
237
+ },
238
+ {
239
+ "inputs": [
240
+ {
241
+ "internalType": "NftId",
242
+ "name": "applicationNftId",
243
+ "type": "uint96"
244
+ },
245
+ {
246
+ "internalType": "RiskId",
247
+ "name": "riskId",
248
+ "type": "bytes8"
249
+ },
250
+ {
251
+ "internalType": "NftId",
252
+ "name": "bundleNftId",
253
+ "type": "uint96"
254
+ },
255
+ {
256
+ "internalType": "ReferralId",
257
+ "name": "referralId",
258
+ "type": "bytes8"
259
+ },
260
+ {
261
+ "internalType": "uint256",
262
+ "name": "sumInsuredAmount",
263
+ "type": "uint256"
264
+ },
265
+ {
266
+ "internalType": "uint256",
267
+ "name": "lifetime",
268
+ "type": "uint256"
269
+ },
270
+ {
271
+ "internalType": "bytes",
272
+ "name": "applicationData",
273
+ "type": "bytes"
274
+ }
275
+ ],
276
+ "name": "adjust",
277
+ "outputs": [],
278
+ "stateMutability": "nonpayable",
279
+ "type": "function"
280
+ },
281
+ {
282
+ "inputs": [
283
+ {
284
+ "internalType": "NftId",
285
+ "name": "productNftId",
286
+ "type": "uint96"
287
+ },
288
+ {
289
+ "internalType": "RiskId",
290
+ "name": "riskId",
291
+ "type": "bytes8"
292
+ },
293
+ {
294
+ "internalType": "uint256",
295
+ "name": "sumInsuredAmount",
296
+ "type": "uint256"
297
+ },
298
+ {
299
+ "internalType": "Seconds",
300
+ "name": "lifetime",
301
+ "type": "uint40"
302
+ },
303
+ {
304
+ "internalType": "bytes",
305
+ "name": "applicationData",
306
+ "type": "bytes"
307
+ },
308
+ {
309
+ "internalType": "NftId",
310
+ "name": "bundleNftId",
311
+ "type": "uint96"
312
+ },
313
+ {
314
+ "internalType": "ReferralId",
315
+ "name": "referralId",
316
+ "type": "bytes8"
317
+ }
318
+ ],
319
+ "name": "calculatePremium",
320
+ "outputs": [
321
+ {
322
+ "components": [
323
+ {
324
+ "internalType": "uint256",
325
+ "name": "netPremiumAmount",
326
+ "type": "uint256"
327
+ },
328
+ {
329
+ "internalType": "uint256",
330
+ "name": "fullPremiumAmount",
331
+ "type": "uint256"
332
+ },
333
+ {
334
+ "internalType": "uint256",
335
+ "name": "premiumAmount",
336
+ "type": "uint256"
337
+ },
338
+ {
339
+ "internalType": "uint256",
340
+ "name": "productFeeFixAmount",
341
+ "type": "uint256"
342
+ },
343
+ {
344
+ "internalType": "uint256",
345
+ "name": "poolFeeFixAmount",
346
+ "type": "uint256"
347
+ },
348
+ {
349
+ "internalType": "uint256",
350
+ "name": "bundleFeeFixAmount",
351
+ "type": "uint256"
352
+ },
353
+ {
354
+ "internalType": "uint256",
355
+ "name": "distributionFeeFixAmount",
356
+ "type": "uint256"
357
+ },
358
+ {
359
+ "internalType": "uint256",
360
+ "name": "productFeeVarAmount",
361
+ "type": "uint256"
362
+ },
363
+ {
364
+ "internalType": "uint256",
365
+ "name": "poolFeeVarAmount",
366
+ "type": "uint256"
367
+ },
368
+ {
369
+ "internalType": "uint256",
370
+ "name": "bundleFeeVarAmount",
371
+ "type": "uint256"
372
+ },
373
+ {
374
+ "internalType": "uint256",
375
+ "name": "distributionFeeVarAmount",
376
+ "type": "uint256"
377
+ },
378
+ {
379
+ "internalType": "uint256",
380
+ "name": "distributionOwnerFeeFixAmount",
381
+ "type": "uint256"
382
+ },
383
+ {
384
+ "internalType": "uint256",
385
+ "name": "distributionOwnerFeeVarAmount",
386
+ "type": "uint256"
387
+ },
388
+ {
389
+ "internalType": "uint256",
390
+ "name": "commissionAmount",
391
+ "type": "uint256"
392
+ },
393
+ {
394
+ "internalType": "uint256",
395
+ "name": "discountAmount",
396
+ "type": "uint256"
397
+ }
398
+ ],
399
+ "internalType": "struct IPolicy.Premium",
400
+ "name": "premium",
401
+ "type": "tuple"
402
+ }
403
+ ],
404
+ "stateMutability": "view",
405
+ "type": "function"
406
+ },
407
+ {
408
+ "inputs": [
409
+ {
410
+ "internalType": "address",
411
+ "name": "applicationOwner",
412
+ "type": "address"
413
+ },
414
+ {
415
+ "internalType": "RiskId",
416
+ "name": "riskId",
417
+ "type": "bytes8"
418
+ },
419
+ {
420
+ "internalType": "uint256",
421
+ "name": "sumInsuredAmount",
422
+ "type": "uint256"
423
+ },
424
+ {
425
+ "internalType": "Seconds",
426
+ "name": "lifetime",
427
+ "type": "uint40"
428
+ },
429
+ {
430
+ "internalType": "NftId",
431
+ "name": "bundleNftId",
432
+ "type": "uint96"
433
+ },
434
+ {
435
+ "internalType": "ReferralId",
436
+ "name": "referralId",
437
+ "type": "bytes8"
438
+ },
439
+ {
440
+ "internalType": "bytes",
441
+ "name": "applicationData",
442
+ "type": "bytes"
443
+ }
444
+ ],
445
+ "name": "create",
446
+ "outputs": [
447
+ {
448
+ "internalType": "NftId",
449
+ "name": "applicationNftId",
450
+ "type": "uint96"
451
+ }
452
+ ],
453
+ "stateMutability": "nonpayable",
454
+ "type": "function"
455
+ },
456
+ {
457
+ "inputs": [],
458
+ "name": "getDomain",
459
+ "outputs": [
460
+ {
461
+ "internalType": "ObjectType",
462
+ "name": "",
463
+ "type": "uint8"
464
+ }
465
+ ],
466
+ "stateMutability": "pure",
467
+ "type": "function"
468
+ },
469
+ {
470
+ "inputs": [],
471
+ "name": "getInitialInfo",
472
+ "outputs": [
473
+ {
474
+ "components": [
475
+ {
476
+ "internalType": "NftId",
477
+ "name": "nftId",
478
+ "type": "uint96"
479
+ },
480
+ {
481
+ "internalType": "NftId",
482
+ "name": "parentNftId",
483
+ "type": "uint96"
484
+ },
485
+ {
486
+ "internalType": "ObjectType",
487
+ "name": "objectType",
488
+ "type": "uint8"
489
+ },
490
+ {
491
+ "internalType": "bool",
492
+ "name": "isInterceptor",
493
+ "type": "bool"
494
+ },
495
+ {
496
+ "internalType": "address",
497
+ "name": "objectAddress",
498
+ "type": "address"
499
+ },
500
+ {
501
+ "internalType": "address",
502
+ "name": "initialOwner",
503
+ "type": "address"
504
+ },
505
+ {
506
+ "internalType": "bytes",
507
+ "name": "data",
508
+ "type": "bytes"
509
+ }
510
+ ],
511
+ "internalType": "struct IRegistry.ObjectInfo",
512
+ "name": "info",
513
+ "type": "tuple"
514
+ }
515
+ ],
516
+ "stateMutability": "view",
517
+ "type": "function"
518
+ },
519
+ {
520
+ "inputs": [],
521
+ "name": "getInstanceService",
522
+ "outputs": [
523
+ {
524
+ "internalType": "contract InstanceService",
525
+ "name": "",
526
+ "type": "address"
527
+ }
528
+ ],
529
+ "stateMutability": "view",
530
+ "type": "function"
531
+ },
532
+ {
533
+ "inputs": [],
534
+ "name": "getMajorVersion",
535
+ "outputs": [
536
+ {
537
+ "internalType": "VersionPart",
538
+ "name": "majorVersion",
539
+ "type": "uint8"
540
+ }
541
+ ],
542
+ "stateMutability": "view",
543
+ "type": "function"
544
+ },
545
+ {
546
+ "inputs": [],
547
+ "name": "getNftId",
548
+ "outputs": [
549
+ {
550
+ "internalType": "NftId",
551
+ "name": "",
552
+ "type": "uint96"
553
+ }
554
+ ],
555
+ "stateMutability": "view",
556
+ "type": "function"
557
+ },
558
+ {
559
+ "inputs": [],
560
+ "name": "getOwner",
561
+ "outputs": [
562
+ {
563
+ "internalType": "address",
564
+ "name": "",
565
+ "type": "address"
566
+ }
567
+ ],
568
+ "stateMutability": "view",
569
+ "type": "function"
570
+ },
571
+ {
572
+ "inputs": [],
573
+ "name": "getRegistry",
574
+ "outputs": [
575
+ {
576
+ "internalType": "contract IRegistry",
577
+ "name": "",
578
+ "type": "address"
579
+ }
580
+ ],
581
+ "stateMutability": "view",
582
+ "type": "function"
583
+ },
584
+ {
585
+ "inputs": [],
586
+ "name": "getRegistryAddress",
587
+ "outputs": [
588
+ {
589
+ "internalType": "address",
590
+ "name": "",
591
+ "type": "address"
592
+ }
593
+ ],
594
+ "stateMutability": "view",
595
+ "type": "function"
596
+ },
597
+ {
598
+ "inputs": [],
599
+ "name": "getRegistryService",
600
+ "outputs": [
601
+ {
602
+ "internalType": "contract IRegistryService",
603
+ "name": "",
604
+ "type": "address"
605
+ }
606
+ ],
607
+ "stateMutability": "view",
608
+ "type": "function"
609
+ },
610
+ {
611
+ "inputs": [],
612
+ "name": "getVersion",
613
+ "outputs": [
614
+ {
615
+ "internalType": "Version",
616
+ "name": "",
617
+ "type": "uint24"
618
+ }
619
+ ],
620
+ "stateMutability": "pure",
621
+ "type": "function"
622
+ },
623
+ {
624
+ "inputs": [],
625
+ "name": "initializeERC165",
626
+ "outputs": [],
627
+ "stateMutability": "nonpayable",
628
+ "type": "function"
629
+ },
630
+ {
631
+ "inputs": [
632
+ {
633
+ "internalType": "address",
634
+ "name": "initialOwner",
635
+ "type": "address"
636
+ },
637
+ {
638
+ "internalType": "address",
639
+ "name": "registryAddress",
640
+ "type": "address"
641
+ }
642
+ ],
643
+ "name": "initializeNftOwnable",
644
+ "outputs": [],
645
+ "stateMutability": "nonpayable",
646
+ "type": "function"
647
+ },
648
+ {
649
+ "inputs": [
650
+ {
651
+ "internalType": "address",
652
+ "name": "registryAddress",
653
+ "type": "address"
654
+ },
655
+ {
656
+ "internalType": "NftId",
657
+ "name": "parentNftId",
658
+ "type": "uint96"
659
+ },
660
+ {
661
+ "internalType": "ObjectType",
662
+ "name": "objectType",
663
+ "type": "uint8"
664
+ },
665
+ {
666
+ "internalType": "bool",
667
+ "name": "isInterceptor",
668
+ "type": "bool"
669
+ },
670
+ {
671
+ "internalType": "address",
672
+ "name": "initialOwner",
673
+ "type": "address"
674
+ },
675
+ {
676
+ "internalType": "bytes",
677
+ "name": "registryData",
678
+ "type": "bytes"
679
+ }
680
+ ],
681
+ "name": "initializeRegisterable",
682
+ "outputs": [],
683
+ "stateMutability": "nonpayable",
684
+ "type": "function"
685
+ },
686
+ {
687
+ "inputs": [
688
+ {
689
+ "internalType": "address",
690
+ "name": "registryAddress",
691
+ "type": "address"
692
+ }
693
+ ],
694
+ "name": "initializeRegistryLinked",
695
+ "outputs": [],
696
+ "stateMutability": "nonpayable",
697
+ "type": "function"
698
+ },
699
+ {
700
+ "inputs": [
701
+ {
702
+ "internalType": "address",
703
+ "name": "registry",
704
+ "type": "address"
705
+ },
706
+ {
707
+ "internalType": "address",
708
+ "name": "initialOwner",
709
+ "type": "address"
710
+ }
711
+ ],
712
+ "name": "initializeService",
713
+ "outputs": [],
714
+ "stateMutability": "nonpayable",
715
+ "type": "function"
716
+ },
717
+ {
718
+ "inputs": [
719
+ {
720
+ "internalType": "address",
721
+ "name": "activatedBy",
722
+ "type": "address"
723
+ },
724
+ {
725
+ "internalType": "bytes",
726
+ "name": "data",
727
+ "type": "bytes"
728
+ }
729
+ ],
730
+ "name": "initializeVersionable",
731
+ "outputs": [],
732
+ "stateMutability": "nonpayable",
733
+ "type": "function"
734
+ },
735
+ {
736
+ "inputs": [],
737
+ "name": "linkToRegisteredNftId",
738
+ "outputs": [],
739
+ "stateMutability": "nonpayable",
740
+ "type": "function"
741
+ },
742
+ {
743
+ "inputs": [
744
+ {
745
+ "internalType": "bytes4",
746
+ "name": "interfaceId",
747
+ "type": "bytes4"
748
+ }
749
+ ],
750
+ "name": "registerInterface",
751
+ "outputs": [],
752
+ "stateMutability": "nonpayable",
753
+ "type": "function"
754
+ },
755
+ {
756
+ "inputs": [
757
+ {
758
+ "internalType": "NftId",
759
+ "name": "policyNftId",
760
+ "type": "uint96"
761
+ },
762
+ {
763
+ "internalType": "NftId",
764
+ "name": "bundleNftId",
765
+ "type": "uint96"
766
+ }
767
+ ],
768
+ "name": "renew",
769
+ "outputs": [
770
+ {
771
+ "internalType": "NftId",
772
+ "name": "applicationNftId",
773
+ "type": "uint96"
774
+ }
775
+ ],
776
+ "stateMutability": "nonpayable",
777
+ "type": "function"
778
+ },
779
+ {
780
+ "inputs": [
781
+ {
782
+ "internalType": "NftId",
783
+ "name": "applicationNftId",
784
+ "type": "uint96"
785
+ }
786
+ ],
787
+ "name": "revoke",
788
+ "outputs": [],
789
+ "stateMutability": "nonpayable",
790
+ "type": "function"
791
+ },
792
+ {
793
+ "inputs": [
794
+ {
795
+ "internalType": "bytes4",
796
+ "name": "interfaceId",
797
+ "type": "bytes4"
798
+ }
799
+ ],
800
+ "name": "supportsInterface",
801
+ "outputs": [
802
+ {
803
+ "internalType": "bool",
804
+ "name": "",
805
+ "type": "bool"
806
+ }
807
+ ],
808
+ "stateMutability": "view",
809
+ "type": "function"
810
+ },
811
+ {
812
+ "inputs": [
813
+ {
814
+ "internalType": "bytes",
815
+ "name": "data",
816
+ "type": "bytes"
817
+ }
818
+ ],
819
+ "name": "upgradeVersionable",
820
+ "outputs": [],
821
+ "stateMutability": "nonpayable",
822
+ "type": "function"
823
+ }
824
+ ],
825
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6139b480620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063644c45e0116100f9578063cc9fc59a11610097578063e6eea2c511610071578063e6eea2c5146103c8578063ea866572146103df578063f21de1e8146102e2578063f7c34ee0146103f257600080fd5b8063cc9fc59a146103a5578063cde749f4146103ad578063d8396c6b146103b557600080fd5b8063893d20e8116100d3578063893d20e81461036b578063ada9652e14610373578063b68d180914610388578063caf4e3d41461039d57600080fd5b8063644c45e01461031a578063675393bf1461033857806370e314e81461034b57600080fd5b806327bb7a331161016657806349bb9e4b1161014057806349bb9e4b146102a1578063536ef74b146102b45780635ab1bd53146102e2578063603ccaad1461030757600080fd5b806327bb7a3314610273578063329d6e741461028657806336fc697e1461029957600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063138461e0146102215780631eff4b221461022b578063214cdb8014610260575b600080fd5b6101db6101bc36600461281b565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f8610405565b60405162ffffff90911681526020016101e7565b61021461048f565b6040516101e79190612895565b610229610643565b005b6102527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b61022961026e36600461281b565b61084a565b610229610281366004612ad6565b610877565b610229610294366004612b6e565b610903565b610229610a50565b6102296102af366004612ba2565b610a96565b6102ca6102c2366004612bf1565b600092915050565b6040516001600160601b0390911681526020016101e7565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b610229610315366004612c2a565b610b94565b60008051602061393f833981519152546001600160601b03166102ca565b610229610346366004612c47565b610c1a565b61035e610359366004612c8d565b610d28565b6040516101e79190612dca565b6102ef610de6565b61025260008051602061393f83398151915281565b60d25b60405160ff90911681526020016101e7565b6102ef610f1d565b6102ef610fba565b61038b610fe4565b6102ca6103c3366004612dd9565b61105b565b6102296103d6366004612e7c565b50505050505050565b6102296103ed366004612efb565b611320565b610229610400366004612efb565b6113b8565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610466573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061048a9190612f29565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061053f90612f4e565b80601f016020809104026020016040519081016040528092919081815260200182805461056b90612f4e565b80156105b85780601f1061058d576101008083540402835291602001916105b8565b820191906000526020600020905b81548152906001019060200180831161059b57829003601f168201915b50505050508152505090506040518060e001604052806105d6600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610627610de6565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061393f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156106b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d69190612f98565b156107075780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061071a6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610762573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107869190612f98565b6107ae5760405163b9304b0d60e01b81526001600160a01b03821660048201526024016106fe565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610802573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108269190612fc0565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61085261142f565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61087f61142f565b61088982876113b8565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016108f98382613028565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610925610405565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610965573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098991906130e7565b60008051602061395f8339815191528054600160401b900460ff16806109bc575080546001600160401b03808416911610155b156109da5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a0483611468565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610a5861142f565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008051602061395f8339815191528054600160401b810460ff1615906001600160401b0316600081158015610ac95750825b90506000826001600160401b03166001148015610ae55750303b155b905081158015610af3575080155b15610b115760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b3b57845460ff60401b1916600160401b1785555b610b458787611470565b83156103d657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b6000610ba0606e611633565b9150506001600160a01b038116630fad0eb18360146040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015610bfe57600080fd5b505af1158015610c12573d6000803e3d6000fd5b505050505050565b610c2261142f565b806001600160a01b03163b600003610c585760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106fe565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610cd2575060408051601f3d908101601f19168201909252610ccf91810190612f98565b60015b610cfa5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106fe565b80610d235760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106fe565b505b50565b610d306127a5565b6000610d3b896118d5565b6001600160a01b0316632f0e8dd3888a89896040518563ffffffff1660e01b8152600401610d6c9493929190613110565b602060405180830381865afa158015610d89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dad9190613152565b9050610dc381610dbc8b6118d5565b86866119cf565b9150610dd982610dd28b6118d5565b8686611f17565b9998505050505050505050565b60008060008051602061393f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7a9190612f98565b15610f07576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610edd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f019190613176565b91505090565b54600160601b90046001600160a01b0316919050565b600080610f326001546001600160a01b031690565b6001600160a01b031663d39e604360285b610f4b610fe4565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610f90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb49190613176565b92915050565b600080610fcf6001546001600160a01b031690565b6001600160a01b031663d39e60436046610f43565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611037573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061048a919061319e565b60008080611069606e611633565b91509150611075610f1d565b6001600160a01b0316635c992fed6040518060e00160405280611096600090565b6001600160601b039081168252865116602082015260400160d360ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b815260040161110f9190612895565b6020604051808303816000875af115801561112e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111529190612fc0565b9250600061116983600001518b8b8b898c8c610d28565b9050600060405180610200016040528085600001516001600160601b03168152602001896001600160601b03168152602001886001600160c01b03191681526020018c6001600160c01b03191681526020018b815260200183604001518152602001600081526020018a64ffffffffff168152602001878152602001604051806020016040528060008152508152602001600061ffff168152602001600061ffff1681526020016000815260200161121f600090565b64ffffffffff1681526000602082018190526040918201525163afcc743960e01b81529091506001600160a01b0384169063afcc74399061126690889085906004016131bb565b600060405180830381600087803b15801561128057600080fd5b505af1158015611294573d6000803e3d6000fd5b50505050826001600160a01b0316630fad0eb1866112b0600a90565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b1580156112f957600080fd5b505af115801561130d573d6000803e3d6000fd5b5050505050505050979650505050505050565b61132861142f565b6113a882836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561136a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138e9190612fc0565b603c60008560405180602001604052806000815250610877565b610d23637b6a51fd60e01b61084a565b6113c061142f565b6113c981610c1a565b6113d1610a50565b6001600160a01b0382166113f85760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061393f83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60008051602061395f83398151915254600160401b900460ff1661146657604051631afcd79f60e31b815260040160405180910390fd5b565b6101a961142f565b60008051602061395f8339815191528054600160401b810460ff1615906001600160401b03166000811580156114a35750825b90506000826001600160401b031660011480156114bf5750303b155b9050811580156114cd575080155b156114eb5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561151557845460ff60401b1916600160401b1785555b6000808780602001905181019061152c9190613331565b909250905061153b828a611320565b61154b6303eb373d60e51b61084a565b6001546001600160a01b031663d39e60436078611566610fe4565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156115ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115cf9190613176565b600280546001600160a01b0319166001600160a01b0392909216919091179055505083156103d657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610b83565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa1580156116c2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116ea91908101906133a5565b925061170083604001518560ff90811691161490565b6117425760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016106fe565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611798573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117c091908101906133a5565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611809573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061182d9190613176565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa15801561187a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189e9190612f98565b156118cd57608085015160405163d53987e560e01b81526001600160a01b0390911660048201526024016106fe565b505050915091565b6000806118ea6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561193d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261196591908101906133a5565b90506119828160400151611977606e90565b60ff90811691161490565b6119c45760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016106fe565b608001519392505050565b6119d76127a5565b600080856001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a3c9190613176565b9050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aa09190613176565b9150506000856001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ae3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b079190612fc0565b9050604051806101e00160405280888152602001888152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525092506000826001600160a01b03166390af7064886001600160a01b03166251884a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bee9190612fc0565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161014060405180830381865afa158015611c33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5791906134c5565b905060008160800151602001519050808560600181815250508085602001818151611c82919061356d565b905250506040516355e343a960e01b81526001600160601b0383166004820152600091506001600160a01b038416906355e343a9906024016101e060405180830381865afa158015611cd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cfc919061358e565b90506000816101000151602001519050808560800181815250508085602001818151611d28919061356d565b90525050604051634793b4ab60e01b81526001600160601b0387166004820152600091506001600160a01b03841690634793b4ab90602401600060405180830381865afa158015611d7d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611da59190810190613675565b80519091506001600160601b03838116911614611dd45760405162461bcd60e51b81526004016106fe9061375c565b60208082015181015160a086018190529085018051829190611df790839061356d565b9150818152505050506000826001600160a01b0316639ad69c67886001600160a01b031663db6dcc956040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e739190612fc0565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161010060405180830381865afa158015611eb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611edc919061379e565b905060008160600151602001519050808560c00181815250508085602001818151611f07919061356d565b9052509398975050505050505050565b611f1f6127a5565b600080856001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f849190613176565b9050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fe89190613176565b9150506000856001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa15801561202b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061204f9190612fc0565b90506000876000015190506000836001600160a01b03166390af7064896001600160a01b03166251884a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120cc9190612fc0565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161014060405180830381865afa158015612111573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061213591906134c5565b905060006121c173__$5ac3274b8cf1e01ea223bf093142af05b0$__6345ebb61e856040518263ffffffff1660e01b815260040161217591815260200190565b602060405180830381865af4158015612192573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121b69190613152565b6080840151516126a0565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612212573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122369190613152565b60e08b0181905260208b018051919250829161225390839061356d565b905250506040516355e343a960e01b81526001600160601b0384166004820152600091506001600160a01b038516906355e343a9906024016101e060405180830381865afa1580156122a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122cd919061358e565b9050600061235a73__$5ac3274b8cf1e01ea223bf093142af05b0$__6345ebb61e856040518263ffffffff1660e01b815260040161230d91815260200190565b602060405180830381865af415801561232a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061234e9190613152565b610100840151516126a0565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156123ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123cf9190613152565b6101008b0181905260208b01805191925082916123ed90839061356d565b90525050604051634793b4ab60e01b81526001600160601b0388166004820152600091506001600160a01b03851690634793b4ab90602401600060405180830381865afa158015612442573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261246a9190810190613675565b80519091506001600160601b038481169116146124995760405162461bcd60e51b81526004016106fe9061375c565b6040516322f5db0f60e11b81526004810183905260009061251f9073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af41580156124f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125149190613152565b6020840151516126a0565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612570573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125949190613152565b6101208b0181905260208b01805191925082916125b290839061356d565b905250506002546040805163db6dcc9560e01b815290516001600160a01b03928316935063219a3195928b169163db6dcc959160048083019260209291908290030181865afa158015612609573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061262d9190612fc0565b878b6040518463ffffffff1660e01b815260040161264d9392919061383f565b6101e060405180830381865afa15801561266b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061268f919061386d565b97508793505050505b949350505050565b60006126b58383670de0b6b3a76400006126bc565b9392505050565b60008080600019858709858702925082811083820303915050806000036126f6578382816126ec576126ec613928565b04925050506126b5565b80841161273d5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b60448201526064016106fe565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b60006020828403121561282d57600080fd5b81356001600160e01b0319811681146126b557600080fd5b60005b83811015612860578181015183820152602001612848565b50506000910152565b60008151808452612881816020860160208601612845565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516128fe60c08401826001600160a01b03169052565b5060c083015160e080840152612698610100840182612869565b6001600160a01b0381168114610d2557600080fd5b6001600160601b0381168114610d2557600080fd5b60ff81168114610d2557600080fd5b8015158114610d2557600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156129975761299761295f565b60405290565b60405161010081016001600160401b03811182821017156129975761299761295f565b60405161018081016001600160401b03811182821017156129975761299761295f565b60405161012081016001600160401b03811182821017156129975761299761295f565b6040516101e081016001600160401b03811182821017156129975761299761295f565b604051601f8201601f191681016001600160401b0381118282101715612a5157612a5161295f565b604052919050565b60006001600160401b03821115612a7257612a7261295f565b50601f01601f191660200190565b600082601f830112612a9157600080fd5b8135612aa4612a9f82612a59565b612a29565b818152846020838601011115612ab957600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215612aef57600080fd5b8635612afa81612918565b95506020870135612b0a8161292d565b94506040870135612b1a81612942565b93506060870135612b2a81612951565b92506080870135612b3a81612918565b915060a08701356001600160401b03811115612b5557600080fd5b612b6189828a01612a80565b9150509295509295509295565b600060208284031215612b8057600080fd5b81356001600160401b03811115612b9657600080fd5b61269884828501612a80565b60008060408385031215612bb557600080fd5b8235612bc081612918565b915060208301356001600160401b03811115612bdb57600080fd5b612be785828601612a80565b9150509250929050565b60008060408385031215612c0457600080fd5b8235612c0f8161292d565b91506020830135612c1f8161292d565b809150509250929050565b600060208284031215612c3c57600080fd5b81356126b58161292d565b600060208284031215612c5957600080fd5b81356126b581612918565b6001600160c01b031981168114610d2557600080fd5b64ffffffffff81168114610d2557600080fd5b600080600080600080600060e0888a031215612ca857600080fd5b8735612cb38161292d565b96506020880135612cc381612c64565b9550604088013594506060880135612cda81612c7a565b935060808801356001600160401b03811115612cf557600080fd5b612d018a828b01612a80565b93505060a0880135612d128161292d565b915060c0880135612d2281612c64565b8091505092959891949750929550565b805182526020808201519083015260408082015190830152606080820151908301526080808201519083015260a0808201519083015260c0808201519083015260e08082015190830152610100808201519083015261012080820151908301526101408082015190830152610160808201519083015261018080820151908301526101a080820151908301526101c090810151910152565b6101e08101610fb48284612d32565b600080600080600080600060e0888a031215612df457600080fd5b8735612dff81612918565b96506020880135612e0f81612c64565b9550604088013594506060880135612e2681612c7a565b93506080880135612e368161292d565b925060a0880135612e4681612c64565b915060c08801356001600160401b03811115612e6157600080fd5b612e6d8a828b01612a80565b91505092959891949750929550565b600080600080600080600060e0888a031215612e9757600080fd5b8735612ea28161292d565b96506020880135612eb281612c64565b95506040880135612ec28161292d565b94506060880135612ed281612c64565b93506080880135925060a0880135915060c08801356001600160401b03811115612e6157600080fd5b60008060408385031215612f0e57600080fd5b8235612f1981612918565b91506020830135612c1f81612918565b600060208284031215612f3b57600080fd5b815162ffffff811681146126b557600080fd5b600181811c90821680612f6257607f821691505b602082108103612f8257634e487b7160e01b600052602260045260246000fd5b50919050565b8051612f9381612951565b919050565b600060208284031215612faa57600080fd5b81516126b581612951565b8051612f938161292d565b600060208284031215612fd257600080fd5b81516126b58161292d565b601f82111561302357600081815260208120601f850160051c810160208610156130045750805b601f850160051c820191505b81811015610c1257828155600101613010565b505050565b81516001600160401b038111156130415761304161295f565b6130558161304f8454612f4e565b84612fdd565b602080601f83116001811461308a57600084156130725750858301515b600019600386901b1c1916600185901b178555610c12565b600085815260208120601f198616915b828110156130b95788860151825594840194600190910190840161309a565b50858210156130d75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156130f957600080fd5b81516001600160401b03811681146126b557600080fd5b8481526001600160401b0360c01b8416602082015264ffffffffff831660408201526080606082015260006131486080830184612869565b9695505050505050565b60006020828403121561316457600080fd5b5051919050565b8051612f9381612918565b60006020828403121561318857600080fd5b81516126b581612918565b8051612f9381612942565b6000602082840312156131b057600080fd5b81516126b581612942565b6001600160601b0383168152604060208201526131e46040820183516001600160601b03169052565b6000602083015161320060608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160c01b0319811660a084015250608083015160c083015260a083015160e083015260c0830151610100818185015260e0850151915061012061326a8186018464ffffffffff169052565b8186015192506102009150610140828187015261328b610240870185612869565b9350818701519150610160603f1987860301818801526132ab8584612869565b945081880151925061018091506132c78288018461ffff169052565b87015191506101a06132de8782018461ffff169052565b908701516101c0878101919091529087015191506101e06133078188018464ffffffffff169052565b9087015164ffffffffff908116938701939093528601519182166102208601525050949350505050565b6000806040838503121561334457600080fd5b825161334f81612918565b6020840151909250612c1f81612918565b600082601f83011261337157600080fd5b815161337f612a9f82612a59565b81815284602083860101111561339457600080fd5b612698826020830160208701612845565b6000602082840312156133b757600080fd5b81516001600160401b03808211156133ce57600080fd5b9083019060e082860312156133e257600080fd5b6133ea612975565b6133f383612fb5565b815261340160208401612fb5565b602082015261341260408401613193565b604082015261342360608401612f88565b60608201526134346080840161316b565b608082015261344560a0840161316b565b60a082015260c08301518281111561345c57600080fd5b61346887828601613360565b60c08301525095945050505050565b60006040828403121561348957600080fd5b604051604081018181106001600160401b03821117156134ab576134ab61295f565b604052825181526020928301519281019290925250919050565b600061014082840312156134d857600080fd5b6134e061299d565b6134e98361316b565b81526134f76020840161316b565b602082015261350860408401612fb5565b604082015261351960608401612fb5565b606082015261352b8460808501613477565b608082015261353d8460c08501613477565b60a082015261354f6101008401612f88565b60c0820152613561610120840161316b565b60e08201529392505050565b80820180821115610fb457634e487b7160e01b600052601160045260246000fd5b60006101e082840312156135a157600080fd5b6135a96129c0565b6135b283612fb5565b81526135c06020840161316b565b6020820152604083015160408201526135db60608401612f88565b60608201526135ec60808401612f88565b60808201526135fd60a08401612f88565b60a082015260c083015160c082015260e083015160e082015261010061362585828601613477565b9082015261014061363885858301613477565b61012083015261364c856101808601613477565b9082015261365d6101c0840161316b565b6101608201529392505050565b8051612f9381612c7a565b60006020828403121561368757600080fd5b81516001600160401b038082111561369e57600080fd5b9083019061014082860312156136b357600080fd5b6136bb6129e3565b6136c483612fb5565b81526136d38660208501613477565b60208201526060830151828111156136ea57600080fd5b6136f687828601613360565b6040830152506080830151606082015260a0830151608082015260c083015160a082015261372660e0840161366a565b60c0820152610100915061373b82840161366a565b60e082015261374d610120840161366a565b91810191909152949350505050565b60208082526022908201527f4552524f523a5052532d3033353a42554e444c455f504f4f4c5f4d49534d4154604082015261086960f31b606082015260800190565b600061010082840312156137b157600080fd5b60405160c081018181106001600160401b03821117156137d3576137d361295f565b60405282516137e18161292d565b815260208301516137f181612918565b60208201526138038460408501613477565b60408201526138158460808501613477565b606082015260c083015161382881612918565b608082015260e0929092015160a083015250919050565b6001600160601b03841681526001600160c01b03198316602082015261022081016126986040830184612d32565b60006101e0828403121561388057600080fd5b613888612a06565b825181526020808401519082015260408084015190820152606080840151908201526080808401519082015260a0808401519082015260c0808401519082015260e08084015190820152610100808401519082015261012080840151908201526101408084015190820152610160808401519082015261018080840151908201526101a080840151908201526101c0928301519281019290925250919050565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122037f3b423283ab022da2dfb0751dc7cf2eff12ea374eb0cfd154ed0f01c7f94fa64736f6c63430008140033",
826
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063644c45e0116100f9578063cc9fc59a11610097578063e6eea2c511610071578063e6eea2c5146103c8578063ea866572146103df578063f21de1e8146102e2578063f7c34ee0146103f257600080fd5b8063cc9fc59a146103a5578063cde749f4146103ad578063d8396c6b146103b557600080fd5b8063893d20e8116100d3578063893d20e81461036b578063ada9652e14610373578063b68d180914610388578063caf4e3d41461039d57600080fd5b8063644c45e01461031a578063675393bf1461033857806370e314e81461034b57600080fd5b806327bb7a331161016657806349bb9e4b1161014057806349bb9e4b146102a1578063536ef74b146102b45780635ab1bd53146102e2578063603ccaad1461030757600080fd5b806327bb7a3314610273578063329d6e741461028657806336fc697e1461029957600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063138461e0146102215780631eff4b221461022b578063214cdb8014610260575b600080fd5b6101db6101bc36600461281b565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f8610405565b60405162ffffff90911681526020016101e7565b61021461048f565b6040516101e79190612895565b610229610643565b005b6102527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b61022961026e36600461281b565b61084a565b610229610281366004612ad6565b610877565b610229610294366004612b6e565b610903565b610229610a50565b6102296102af366004612ba2565b610a96565b6102ca6102c2366004612bf1565b600092915050565b6040516001600160601b0390911681526020016101e7565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b610229610315366004612c2a565b610b94565b60008051602061393f833981519152546001600160601b03166102ca565b610229610346366004612c47565b610c1a565b61035e610359366004612c8d565b610d28565b6040516101e79190612dca565b6102ef610de6565b61025260008051602061393f83398151915281565b60d25b60405160ff90911681526020016101e7565b6102ef610f1d565b6102ef610fba565b61038b610fe4565b6102ca6103c3366004612dd9565b61105b565b6102296103d6366004612e7c565b50505050505050565b6102296103ed366004612efb565b611320565b610229610400366004612efb565b6113b8565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610466573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061048a9190612f29565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061053f90612f4e565b80601f016020809104026020016040519081016040528092919081815260200182805461056b90612f4e565b80156105b85780601f1061058d576101008083540402835291602001916105b8565b820191906000526020600020905b81548152906001019060200180831161059b57829003601f168201915b50505050508152505090506040518060e001604052806105d6600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610627610de6565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061393f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156106b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d69190612f98565b156107075780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061071a6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610762573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107869190612f98565b6107ae5760405163b9304b0d60e01b81526001600160a01b03821660048201526024016106fe565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610802573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108269190612fc0565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61085261142f565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61087f61142f565b61088982876113b8565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016108f98382613028565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610925610405565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610965573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098991906130e7565b60008051602061395f8339815191528054600160401b900460ff16806109bc575080546001600160401b03808416911610155b156109da5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a0483611468565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610a5861142f565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008051602061395f8339815191528054600160401b810460ff1615906001600160401b0316600081158015610ac95750825b90506000826001600160401b03166001148015610ae55750303b155b905081158015610af3575080155b15610b115760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b3b57845460ff60401b1916600160401b1785555b610b458787611470565b83156103d657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b6000610ba0606e611633565b9150506001600160a01b038116630fad0eb18360146040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015610bfe57600080fd5b505af1158015610c12573d6000803e3d6000fd5b505050505050565b610c2261142f565b806001600160a01b03163b600003610c585760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106fe565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610cd2575060408051601f3d908101601f19168201909252610ccf91810190612f98565b60015b610cfa5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016106fe565b80610d235760405163fdeac91f60e01b81526001600160a01b03831660048201526024016106fe565b505b50565b610d306127a5565b6000610d3b896118d5565b6001600160a01b0316632f0e8dd3888a89896040518563ffffffff1660e01b8152600401610d6c9493929190613110565b602060405180830381865afa158015610d89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dad9190613152565b9050610dc381610dbc8b6118d5565b86866119cf565b9150610dd982610dd28b6118d5565b8686611f17565b9998505050505050505050565b60008060008051602061393f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7a9190612f98565b15610f07576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610edd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f019190613176565b91505090565b54600160601b90046001600160a01b0316919050565b600080610f326001546001600160a01b031690565b6001600160a01b031663d39e604360285b610f4b610fe4565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610f90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb49190613176565b92915050565b600080610fcf6001546001600160a01b031690565b6001600160a01b031663d39e60436046610f43565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611037573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061048a919061319e565b60008080611069606e611633565b91509150611075610f1d565b6001600160a01b0316635c992fed6040518060e00160405280611096600090565b6001600160601b039081168252865116602082015260400160d360ff16815260200160001515815260200160006001600160a01b031681526020018d6001600160a01b03168152602001604051806020016040528060008152508152506040518263ffffffff1660e01b815260040161110f9190612895565b6020604051808303816000875af115801561112e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111529190612fc0565b9250600061116983600001518b8b8b898c8c610d28565b9050600060405180610200016040528085600001516001600160601b03168152602001896001600160601b03168152602001886001600160c01b03191681526020018c6001600160c01b03191681526020018b815260200183604001518152602001600081526020018a64ffffffffff168152602001878152602001604051806020016040528060008152508152602001600061ffff168152602001600061ffff1681526020016000815260200161121f600090565b64ffffffffff1681526000602082018190526040918201525163afcc743960e01b81529091506001600160a01b0384169063afcc74399061126690889085906004016131bb565b600060405180830381600087803b15801561128057600080fd5b505af1158015611294573d6000803e3d6000fd5b50505050826001600160a01b0316630fad0eb1866112b0600a90565b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b1580156112f957600080fd5b505af115801561130d573d6000803e3d6000fd5b5050505050505050979650505050505050565b61132861142f565b6113a882836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561136a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138e9190612fc0565b603c60008560405180602001604052806000815250610877565b610d23637b6a51fd60e01b61084a565b6113c061142f565b6113c981610c1a565b6113d1610a50565b6001600160a01b0382166113f85760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061393f83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60008051602061395f83398151915254600160401b900460ff1661146657604051631afcd79f60e31b815260040160405180910390fd5b565b6101a961142f565b60008051602061395f8339815191528054600160401b810460ff1615906001600160401b03166000811580156114a35750825b90506000826001600160401b031660011480156114bf5750303b155b9050811580156114cd575080155b156114eb5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561151557845460ff60401b1916600160401b1785555b6000808780602001905181019061152c9190613331565b909250905061153b828a611320565b61154b6303eb373d60e51b61084a565b6001546001600160a01b031663d39e60436078611566610fe4565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156115ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115cf9190613176565b600280546001600160a01b0319166001600160a01b0392909216919091179055505083156103d657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610b83565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa1580156116c2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116ea91908101906133a5565b925061170083604001518560ff90811691161490565b6117425760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016106fe565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611798573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117c091908101906133a5565b6080015190508092506000836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611809573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061182d9190613176565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa15801561187a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189e9190612f98565b156118cd57608085015160405163d53987e560e01b81526001600160a01b0390911660048201526024016106fe565b505050915091565b6000806118ea6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561193d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261196591908101906133a5565b90506119828160400151611977606e90565b60ff90811691161490565b6119c45760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016106fe565b608001519392505050565b6119d76127a5565b600080856001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a3c9190613176565b9050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aa09190613176565b9150506000856001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ae3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b079190612fc0565b9050604051806101e00160405280888152602001888152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525092506000826001600160a01b03166390af7064886001600160a01b03166251884a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611bca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bee9190612fc0565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161014060405180830381865afa158015611c33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5791906134c5565b905060008160800151602001519050808560600181815250508085602001818151611c82919061356d565b905250506040516355e343a960e01b81526001600160601b0383166004820152600091506001600160a01b038416906355e343a9906024016101e060405180830381865afa158015611cd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cfc919061358e565b90506000816101000151602001519050808560800181815250508085602001818151611d28919061356d565b90525050604051634793b4ab60e01b81526001600160601b0387166004820152600091506001600160a01b03841690634793b4ab90602401600060405180830381865afa158015611d7d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611da59190810190613675565b80519091506001600160601b03838116911614611dd45760405162461bcd60e51b81526004016106fe9061375c565b60208082015181015160a086018190529085018051829190611df790839061356d565b9150818152505050506000826001600160a01b0316639ad69c67886001600160a01b031663db6dcc956040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e739190612fc0565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161010060405180830381865afa158015611eb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611edc919061379e565b905060008160600151602001519050808560c00181815250508085602001818151611f07919061356d565b9052509398975050505050505050565b611f1f6127a5565b600080856001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f849190613176565b9050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fe89190613176565b9150506000856001600160a01b0316631bdd6b766040518163ffffffff1660e01b8152600401602060405180830381865afa15801561202b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061204f9190612fc0565b90506000876000015190506000836001600160a01b03166390af7064896001600160a01b03166251884a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120cc9190612fc0565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161014060405180830381865afa158015612111573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061213591906134c5565b905060006121c173__$5ac3274b8cf1e01ea223bf093142af05b0$__6345ebb61e856040518263ffffffff1660e01b815260040161217591815260200190565b602060405180830381865af4158015612192573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121b69190613152565b6080840151516126a0565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612212573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122369190613152565b60e08b0181905260208b018051919250829161225390839061356d565b905250506040516355e343a960e01b81526001600160601b0384166004820152600091506001600160a01b038516906355e343a9906024016101e060405180830381865afa1580156122a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122cd919061358e565b9050600061235a73__$5ac3274b8cf1e01ea223bf093142af05b0$__6345ebb61e856040518263ffffffff1660e01b815260040161230d91815260200190565b602060405180830381865af415801561232a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061234e9190613152565b610100840151516126a0565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af41580156123ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123cf9190613152565b6101008b0181905260208b01805191925082916123ed90839061356d565b90525050604051634793b4ab60e01b81526001600160601b0388166004820152600091506001600160a01b03851690634793b4ab90602401600060405180830381865afa158015612442573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261246a9190810190613675565b80519091506001600160601b038481169116146124995760405162461bcd60e51b81526004016106fe9061375c565b6040516322f5db0f60e11b81526004810183905260009061251f9073__$5ac3274b8cf1e01ea223bf093142af05b0$__906345ebb61e90602401602060405180830381865af41580156124f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125149190613152565b6020840151516126a0565b604051632255341b60e11b8152600481019190915273__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401602060405180830381865af4158015612570573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125949190613152565b6101208b0181905260208b01805191925082916125b290839061356d565b905250506002546040805163db6dcc9560e01b815290516001600160a01b03928316935063219a3195928b169163db6dcc959160048083019260209291908290030181865afa158015612609573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061262d9190612fc0565b878b6040518463ffffffff1660e01b815260040161264d9392919061383f565b6101e060405180830381865afa15801561266b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061268f919061386d565b97508793505050505b949350505050565b60006126b58383670de0b6b3a76400006126bc565b9392505050565b60008080600019858709858702925082811083820303915050806000036126f6578382816126ec576126ec613928565b04925050506126b5565b80841161273d5760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b60448201526064016106fe565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b60006020828403121561282d57600080fd5b81356001600160e01b0319811681146126b557600080fd5b60005b83811015612860578181015183820152602001612848565b50506000910152565b60008151808452612881816020860160208601612845565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516128fe60c08401826001600160a01b03169052565b5060c083015160e080840152612698610100840182612869565b6001600160a01b0381168114610d2557600080fd5b6001600160601b0381168114610d2557600080fd5b60ff81168114610d2557600080fd5b8015158114610d2557600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156129975761299761295f565b60405290565b60405161010081016001600160401b03811182821017156129975761299761295f565b60405161018081016001600160401b03811182821017156129975761299761295f565b60405161012081016001600160401b03811182821017156129975761299761295f565b6040516101e081016001600160401b03811182821017156129975761299761295f565b604051601f8201601f191681016001600160401b0381118282101715612a5157612a5161295f565b604052919050565b60006001600160401b03821115612a7257612a7261295f565b50601f01601f191660200190565b600082601f830112612a9157600080fd5b8135612aa4612a9f82612a59565b612a29565b818152846020838601011115612ab957600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215612aef57600080fd5b8635612afa81612918565b95506020870135612b0a8161292d565b94506040870135612b1a81612942565b93506060870135612b2a81612951565b92506080870135612b3a81612918565b915060a08701356001600160401b03811115612b5557600080fd5b612b6189828a01612a80565b9150509295509295509295565b600060208284031215612b8057600080fd5b81356001600160401b03811115612b9657600080fd5b61269884828501612a80565b60008060408385031215612bb557600080fd5b8235612bc081612918565b915060208301356001600160401b03811115612bdb57600080fd5b612be785828601612a80565b9150509250929050565b60008060408385031215612c0457600080fd5b8235612c0f8161292d565b91506020830135612c1f8161292d565b809150509250929050565b600060208284031215612c3c57600080fd5b81356126b58161292d565b600060208284031215612c5957600080fd5b81356126b581612918565b6001600160c01b031981168114610d2557600080fd5b64ffffffffff81168114610d2557600080fd5b600080600080600080600060e0888a031215612ca857600080fd5b8735612cb38161292d565b96506020880135612cc381612c64565b9550604088013594506060880135612cda81612c7a565b935060808801356001600160401b03811115612cf557600080fd5b612d018a828b01612a80565b93505060a0880135612d128161292d565b915060c0880135612d2281612c64565b8091505092959891949750929550565b805182526020808201519083015260408082015190830152606080820151908301526080808201519083015260a0808201519083015260c0808201519083015260e08082015190830152610100808201519083015261012080820151908301526101408082015190830152610160808201519083015261018080820151908301526101a080820151908301526101c090810151910152565b6101e08101610fb48284612d32565b600080600080600080600060e0888a031215612df457600080fd5b8735612dff81612918565b96506020880135612e0f81612c64565b9550604088013594506060880135612e2681612c7a565b93506080880135612e368161292d565b925060a0880135612e4681612c64565b915060c08801356001600160401b03811115612e6157600080fd5b612e6d8a828b01612a80565b91505092959891949750929550565b600080600080600080600060e0888a031215612e9757600080fd5b8735612ea28161292d565b96506020880135612eb281612c64565b95506040880135612ec28161292d565b94506060880135612ed281612c64565b93506080880135925060a0880135915060c08801356001600160401b03811115612e6157600080fd5b60008060408385031215612f0e57600080fd5b8235612f1981612918565b91506020830135612c1f81612918565b600060208284031215612f3b57600080fd5b815162ffffff811681146126b557600080fd5b600181811c90821680612f6257607f821691505b602082108103612f8257634e487b7160e01b600052602260045260246000fd5b50919050565b8051612f9381612951565b919050565b600060208284031215612faa57600080fd5b81516126b581612951565b8051612f938161292d565b600060208284031215612fd257600080fd5b81516126b58161292d565b601f82111561302357600081815260208120601f850160051c810160208610156130045750805b601f850160051c820191505b81811015610c1257828155600101613010565b505050565b81516001600160401b038111156130415761304161295f565b6130558161304f8454612f4e565b84612fdd565b602080601f83116001811461308a57600084156130725750858301515b600019600386901b1c1916600185901b178555610c12565b600085815260208120601f198616915b828110156130b95788860151825594840194600190910190840161309a565b50858210156130d75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156130f957600080fd5b81516001600160401b03811681146126b557600080fd5b8481526001600160401b0360c01b8416602082015264ffffffffff831660408201526080606082015260006131486080830184612869565b9695505050505050565b60006020828403121561316457600080fd5b5051919050565b8051612f9381612918565b60006020828403121561318857600080fd5b81516126b581612918565b8051612f9381612942565b6000602082840312156131b057600080fd5b81516126b581612942565b6001600160601b0383168152604060208201526131e46040820183516001600160601b03169052565b6000602083015161320060608401826001600160601b03169052565b5060408301516001600160c01b0319811660808401525060608301516001600160c01b0319811660a084015250608083015160c083015260a083015160e083015260c0830151610100818185015260e0850151915061012061326a8186018464ffffffffff169052565b8186015192506102009150610140828187015261328b610240870185612869565b9350818701519150610160603f1987860301818801526132ab8584612869565b945081880151925061018091506132c78288018461ffff169052565b87015191506101a06132de8782018461ffff169052565b908701516101c0878101919091529087015191506101e06133078188018464ffffffffff169052565b9087015164ffffffffff908116938701939093528601519182166102208601525050949350505050565b6000806040838503121561334457600080fd5b825161334f81612918565b6020840151909250612c1f81612918565b600082601f83011261337157600080fd5b815161337f612a9f82612a59565b81815284602083860101111561339457600080fd5b612698826020830160208701612845565b6000602082840312156133b757600080fd5b81516001600160401b03808211156133ce57600080fd5b9083019060e082860312156133e257600080fd5b6133ea612975565b6133f383612fb5565b815261340160208401612fb5565b602082015261341260408401613193565b604082015261342360608401612f88565b60608201526134346080840161316b565b608082015261344560a0840161316b565b60a082015260c08301518281111561345c57600080fd5b61346887828601613360565b60c08301525095945050505050565b60006040828403121561348957600080fd5b604051604081018181106001600160401b03821117156134ab576134ab61295f565b604052825181526020928301519281019290925250919050565b600061014082840312156134d857600080fd5b6134e061299d565b6134e98361316b565b81526134f76020840161316b565b602082015261350860408401612fb5565b604082015261351960608401612fb5565b606082015261352b8460808501613477565b608082015261353d8460c08501613477565b60a082015261354f6101008401612f88565b60c0820152613561610120840161316b565b60e08201529392505050565b80820180821115610fb457634e487b7160e01b600052601160045260246000fd5b60006101e082840312156135a157600080fd5b6135a96129c0565b6135b283612fb5565b81526135c06020840161316b565b6020820152604083015160408201526135db60608401612f88565b60608201526135ec60808401612f88565b60808201526135fd60a08401612f88565b60a082015260c083015160c082015260e083015160e082015261010061362585828601613477565b9082015261014061363885858301613477565b61012083015261364c856101808601613477565b9082015261365d6101c0840161316b565b6101608201529392505050565b8051612f9381612c7a565b60006020828403121561368757600080fd5b81516001600160401b038082111561369e57600080fd5b9083019061014082860312156136b357600080fd5b6136bb6129e3565b6136c483612fb5565b81526136d38660208501613477565b60208201526060830151828111156136ea57600080fd5b6136f687828601613360565b6040830152506080830151606082015260a0830151608082015260c083015160a082015261372660e0840161366a565b60c0820152610100915061373b82840161366a565b60e082015261374d610120840161366a565b91810191909152949350505050565b60208082526022908201527f4552524f523a5052532d3033353a42554e444c455f504f4f4c5f4d49534d4154604082015261086960f31b606082015260800190565b600061010082840312156137b157600080fd5b60405160c081018181106001600160401b03821117156137d3576137d361295f565b60405282516137e18161292d565b815260208301516137f181612918565b60208201526138038460408501613477565b60408201526138158460808501613477565b606082015260c083015161382881612918565b608082015260e0929092015160a083015250919050565b6001600160601b03841681526001600160c01b03198316602082015261022081016126986040830184612d32565b60006101e0828403121561388057600080fd5b613888612a06565b825181526020808401519082015260408084015190820152606080840151908201526080808401519082015260a0808401519082015260c0808401519082015260e08084015190820152610100808401519082015261012080840151908201526101408084015190820152610160808401519082015261018080840151908201526101a080840151908201526101c0928301519281019290925250919050565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122037f3b423283ab022da2dfb0751dc7cf2eff12ea374eb0cfd154ed0f01c7f94fa64736f6c63430008140033",
827
+ "linkReferences": {
828
+ "contracts/types/NftId.sol": {
829
+ "NftIdLib": [
830
+ {
831
+ "length": 20,
832
+ "start": 1886
833
+ },
834
+ {
835
+ "length": 20,
836
+ "start": 3842
837
+ }
838
+ ]
839
+ },
840
+ "contracts/types/UFixed.sol": {
841
+ "UFixedLib": [
842
+ {
843
+ "length": 20,
844
+ "start": 8740
845
+ },
846
+ {
847
+ "length": 20,
848
+ "start": 8894
849
+ },
850
+ {
851
+ "length": 20,
852
+ "start": 9148
853
+ },
854
+ {
855
+ "length": 20,
856
+ "start": 9303
857
+ },
858
+ {
859
+ "length": 20,
860
+ "start": 9628
861
+ },
862
+ {
863
+ "length": 20,
864
+ "start": 9756
865
+ }
866
+ ]
867
+ },
868
+ "contracts/types/Version.sol": {
869
+ "VersionLib": [
870
+ {
871
+ "length": 20,
872
+ "start": 1298
873
+ },
874
+ {
875
+ "length": 20,
876
+ "start": 2539
877
+ }
878
+ ],
879
+ "VersionPartLib": [
880
+ {
881
+ "length": 20,
882
+ "start": 4323
883
+ }
884
+ ]
885
+ }
886
+ },
887
+ "deployedLinkReferences": {
888
+ "contracts/types/NftId.sol": {
889
+ "NftIdLib": [
890
+ {
891
+ "length": 20,
892
+ "start": 1656
893
+ },
894
+ {
895
+ "length": 20,
896
+ "start": 3612
897
+ }
898
+ ]
899
+ },
900
+ "contracts/types/UFixed.sol": {
901
+ "UFixedLib": [
902
+ {
903
+ "length": 20,
904
+ "start": 8510
905
+ },
906
+ {
907
+ "length": 20,
908
+ "start": 8664
909
+ },
910
+ {
911
+ "length": 20,
912
+ "start": 8918
913
+ },
914
+ {
915
+ "length": 20,
916
+ "start": 9073
917
+ },
918
+ {
919
+ "length": 20,
920
+ "start": 9398
921
+ },
922
+ {
923
+ "length": 20,
924
+ "start": 9526
925
+ }
926
+ ]
927
+ },
928
+ "contracts/types/Version.sol": {
929
+ "VersionLib": [
930
+ {
931
+ "length": 20,
932
+ "start": 1068
933
+ },
934
+ {
935
+ "length": 20,
936
+ "start": 2309
937
+ }
938
+ ],
939
+ "VersionPartLib": [
940
+ {
941
+ "length": 20,
942
+ "start": 4093
943
+ }
944
+ ]
945
+ }
946
+ }
947
+ }