@etherisc/gif-next 0.0.2-d5b7b78-706 → 0.0.2-d5fac82-078

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