@etherisc/gif-next 0.0.2-e9148e0-933 → 0.0.2-e922e07-736

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