@etherisc/gif-next 0.0.2-fd275d2-234 → 0.0.2-fd4931b-974

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