@etherisc/gif-next 0.0.2-e1f23dc-329 → 0.0.2-e20063b-144

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