@etherisc/gif-next 0.0.2-cff6256-424 → 0.0.2-d086e6d-456

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