@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,1023 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "PricingService",
4
+ "sourceName": "contracts/product/PricingService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "component",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorComponentServiceComponentLocked",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "component",
60
+ "type": "address"
61
+ },
62
+ {
63
+ "internalType": "ObjectType",
64
+ "name": "expectedType",
65
+ "type": "uint8"
66
+ },
67
+ {
68
+ "internalType": "ObjectType",
69
+ "name": "foundType",
70
+ "type": "uint8"
71
+ }
72
+ ],
73
+ "name": "ErrorComponentServiceComponentTypeInvalid",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "NftId",
80
+ "name": "instanceNftId",
81
+ "type": "uint96"
82
+ },
83
+ {
84
+ "internalType": "RoleId",
85
+ "name": "requiredRole",
86
+ "type": "uint64"
87
+ },
88
+ {
89
+ "internalType": "address",
90
+ "name": "sender",
91
+ "type": "address"
92
+ }
93
+ ],
94
+ "name": "ErrorComponentServiceExpectedRoleMissing",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "address",
101
+ "name": "component",
102
+ "type": "address"
103
+ },
104
+ {
105
+ "internalType": "ObjectType",
106
+ "name": "requiredType",
107
+ "type": "uint8"
108
+ },
109
+ {
110
+ "internalType": "ObjectType",
111
+ "name": "componentType",
112
+ "type": "uint8"
113
+ }
114
+ ],
115
+ "name": "ErrorComponentServiceInvalidType",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [
120
+ {
121
+ "internalType": "address",
122
+ "name": "component",
123
+ "type": "address"
124
+ }
125
+ ],
126
+ "name": "ErrorComponentServiceNotComponent",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "address",
133
+ "name": "component",
134
+ "type": "address"
135
+ },
136
+ {
137
+ "internalType": "address",
138
+ "name": "initialOwner",
139
+ "type": "address"
140
+ },
141
+ {
142
+ "internalType": "address",
143
+ "name": "sender",
144
+ "type": "address"
145
+ }
146
+ ],
147
+ "name": "ErrorComponentServiceSenderNotOwner",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "internalType": "address",
154
+ "name": "sender",
155
+ "type": "address"
156
+ }
157
+ ],
158
+ "name": "ErrorComponentServiceSenderNotService",
159
+ "type": "error"
160
+ },
161
+ {
162
+ "inputs": [
163
+ {
164
+ "internalType": "NftId",
165
+ "name": "bundleNftId",
166
+ "type": "uint96"
167
+ },
168
+ {
169
+ "internalType": "NftId",
170
+ "name": "bundlePoolNftId",
171
+ "type": "uint96"
172
+ },
173
+ {
174
+ "internalType": "NftId",
175
+ "name": "poolNftId",
176
+ "type": "uint96"
177
+ }
178
+ ],
179
+ "name": "ErrorIPricingServiceBundlePoolMismatch",
180
+ "type": "error"
181
+ },
182
+ {
183
+ "inputs": [
184
+ {
185
+ "internalType": "uint256",
186
+ "name": "distributionFeeFixAmount",
187
+ "type": "uint256"
188
+ },
189
+ {
190
+ "internalType": "uint256",
191
+ "name": "distributionFeeVarAmount",
192
+ "type": "uint256"
193
+ },
194
+ {
195
+ "internalType": "uint256",
196
+ "name": "distributionOwnerFeeFixAmount",
197
+ "type": "uint256"
198
+ },
199
+ {
200
+ "internalType": "uint256",
201
+ "name": "distributionOwnerFeeVarAmount",
202
+ "type": "uint256"
203
+ },
204
+ {
205
+ "internalType": "uint256",
206
+ "name": "commissionAmount",
207
+ "type": "uint256"
208
+ },
209
+ {
210
+ "internalType": "uint256",
211
+ "name": "discountAmount",
212
+ "type": "uint256"
213
+ }
214
+ ],
215
+ "name": "ErrorIPricingServiceFeeCalculationMismatch",
216
+ "type": "error"
217
+ },
218
+ {
219
+ "inputs": [
220
+ {
221
+ "internalType": "NftId",
222
+ "name": "nftId",
223
+ "type": "uint96"
224
+ }
225
+ ],
226
+ "name": "ErrorNftOwnableAlreadyLinked",
227
+ "type": "error"
228
+ },
229
+ {
230
+ "inputs": [
231
+ {
232
+ "internalType": "address",
233
+ "name": "contractAddress",
234
+ "type": "address"
235
+ }
236
+ ],
237
+ "name": "ErrorNftOwnableContractNotRegistered",
238
+ "type": "error"
239
+ },
240
+ {
241
+ "inputs": [],
242
+ "name": "ErrorNftOwnableInitialOwnerZero",
243
+ "type": "error"
244
+ },
245
+ {
246
+ "inputs": [
247
+ {
248
+ "internalType": "address",
249
+ "name": "account",
250
+ "type": "address"
251
+ }
252
+ ],
253
+ "name": "ErrorNftOwnableNotOwner",
254
+ "type": "error"
255
+ },
256
+ {
257
+ "inputs": [
258
+ {
259
+ "internalType": "address",
260
+ "name": "registryAddress",
261
+ "type": "address"
262
+ }
263
+ ],
264
+ "name": "ErrorNotRegistry",
265
+ "type": "error"
266
+ },
267
+ {
268
+ "inputs": [],
269
+ "name": "ErrorServiceNotImplemented",
270
+ "type": "error"
271
+ },
272
+ {
273
+ "inputs": [],
274
+ "name": "InvalidInitialization",
275
+ "type": "error"
276
+ },
277
+ {
278
+ "inputs": [],
279
+ "name": "NotInitializing",
280
+ "type": "error"
281
+ },
282
+ {
283
+ "anonymous": false,
284
+ "inputs": [
285
+ {
286
+ "indexed": false,
287
+ "internalType": "address",
288
+ "name": "authority",
289
+ "type": "address"
290
+ }
291
+ ],
292
+ "name": "AuthorityUpdated",
293
+ "type": "event"
294
+ },
295
+ {
296
+ "anonymous": false,
297
+ "inputs": [
298
+ {
299
+ "indexed": false,
300
+ "internalType": "uint64",
301
+ "name": "version",
302
+ "type": "uint64"
303
+ }
304
+ ],
305
+ "name": "Initialized",
306
+ "type": "event"
307
+ },
308
+ {
309
+ "inputs": [],
310
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
311
+ "outputs": [
312
+ {
313
+ "internalType": "bytes32",
314
+ "name": "",
315
+ "type": "bytes32"
316
+ }
317
+ ],
318
+ "stateMutability": "view",
319
+ "type": "function"
320
+ },
321
+ {
322
+ "inputs": [],
323
+ "name": "REGISTERABLE_LOCATION_V1",
324
+ "outputs": [
325
+ {
326
+ "internalType": "bytes32",
327
+ "name": "",
328
+ "type": "bytes32"
329
+ }
330
+ ],
331
+ "stateMutability": "view",
332
+ "type": "function"
333
+ },
334
+ {
335
+ "inputs": [],
336
+ "name": "authority",
337
+ "outputs": [
338
+ {
339
+ "internalType": "address",
340
+ "name": "",
341
+ "type": "address"
342
+ }
343
+ ],
344
+ "stateMutability": "view",
345
+ "type": "function"
346
+ },
347
+ {
348
+ "inputs": [
349
+ {
350
+ "internalType": "NftId",
351
+ "name": "productNftId",
352
+ "type": "uint96"
353
+ },
354
+ {
355
+ "internalType": "RiskId",
356
+ "name": "riskId",
357
+ "type": "bytes8"
358
+ },
359
+ {
360
+ "internalType": "Amount",
361
+ "name": "sumInsuredAmount",
362
+ "type": "uint96"
363
+ },
364
+ {
365
+ "internalType": "Seconds",
366
+ "name": "lifetime",
367
+ "type": "uint40"
368
+ },
369
+ {
370
+ "internalType": "bytes",
371
+ "name": "applicationData",
372
+ "type": "bytes"
373
+ },
374
+ {
375
+ "internalType": "NftId",
376
+ "name": "bundleNftId",
377
+ "type": "uint96"
378
+ },
379
+ {
380
+ "internalType": "ReferralId",
381
+ "name": "referralId",
382
+ "type": "bytes8"
383
+ }
384
+ ],
385
+ "name": "calculatePremium",
386
+ "outputs": [
387
+ {
388
+ "components": [
389
+ {
390
+ "internalType": "uint256",
391
+ "name": "netPremiumAmount",
392
+ "type": "uint256"
393
+ },
394
+ {
395
+ "internalType": "uint256",
396
+ "name": "fullPremiumAmount",
397
+ "type": "uint256"
398
+ },
399
+ {
400
+ "internalType": "uint256",
401
+ "name": "premiumAmount",
402
+ "type": "uint256"
403
+ },
404
+ {
405
+ "internalType": "uint256",
406
+ "name": "productFeeFixAmount",
407
+ "type": "uint256"
408
+ },
409
+ {
410
+ "internalType": "uint256",
411
+ "name": "poolFeeFixAmount",
412
+ "type": "uint256"
413
+ },
414
+ {
415
+ "internalType": "uint256",
416
+ "name": "bundleFeeFixAmount",
417
+ "type": "uint256"
418
+ },
419
+ {
420
+ "internalType": "uint256",
421
+ "name": "distributionFeeFixAmount",
422
+ "type": "uint256"
423
+ },
424
+ {
425
+ "internalType": "uint256",
426
+ "name": "productFeeVarAmount",
427
+ "type": "uint256"
428
+ },
429
+ {
430
+ "internalType": "uint256",
431
+ "name": "poolFeeVarAmount",
432
+ "type": "uint256"
433
+ },
434
+ {
435
+ "internalType": "uint256",
436
+ "name": "bundleFeeVarAmount",
437
+ "type": "uint256"
438
+ },
439
+ {
440
+ "internalType": "uint256",
441
+ "name": "distributionFeeVarAmount",
442
+ "type": "uint256"
443
+ },
444
+ {
445
+ "internalType": "uint256",
446
+ "name": "distributionOwnerFeeFixAmount",
447
+ "type": "uint256"
448
+ },
449
+ {
450
+ "internalType": "uint256",
451
+ "name": "distributionOwnerFeeVarAmount",
452
+ "type": "uint256"
453
+ },
454
+ {
455
+ "internalType": "uint256",
456
+ "name": "commissionAmount",
457
+ "type": "uint256"
458
+ },
459
+ {
460
+ "internalType": "uint256",
461
+ "name": "discountAmount",
462
+ "type": "uint256"
463
+ }
464
+ ],
465
+ "internalType": "struct IPolicy.Premium",
466
+ "name": "premium",
467
+ "type": "tuple"
468
+ }
469
+ ],
470
+ "stateMutability": "view",
471
+ "type": "function"
472
+ },
473
+ {
474
+ "inputs": [],
475
+ "name": "getDomain",
476
+ "outputs": [
477
+ {
478
+ "internalType": "ObjectType",
479
+ "name": "",
480
+ "type": "uint8"
481
+ }
482
+ ],
483
+ "stateMutability": "pure",
484
+ "type": "function"
485
+ },
486
+ {
487
+ "inputs": [],
488
+ "name": "getInitialInfo",
489
+ "outputs": [
490
+ {
491
+ "components": [
492
+ {
493
+ "internalType": "NftId",
494
+ "name": "nftId",
495
+ "type": "uint96"
496
+ },
497
+ {
498
+ "internalType": "NftId",
499
+ "name": "parentNftId",
500
+ "type": "uint96"
501
+ },
502
+ {
503
+ "internalType": "ObjectType",
504
+ "name": "objectType",
505
+ "type": "uint8"
506
+ },
507
+ {
508
+ "internalType": "bool",
509
+ "name": "isInterceptor",
510
+ "type": "bool"
511
+ },
512
+ {
513
+ "internalType": "address",
514
+ "name": "objectAddress",
515
+ "type": "address"
516
+ },
517
+ {
518
+ "internalType": "address",
519
+ "name": "initialOwner",
520
+ "type": "address"
521
+ },
522
+ {
523
+ "internalType": "bytes",
524
+ "name": "data",
525
+ "type": "bytes"
526
+ }
527
+ ],
528
+ "internalType": "struct IRegistry.ObjectInfo",
529
+ "name": "info",
530
+ "type": "tuple"
531
+ }
532
+ ],
533
+ "stateMutability": "view",
534
+ "type": "function"
535
+ },
536
+ {
537
+ "inputs": [],
538
+ "name": "getInstanceService",
539
+ "outputs": [
540
+ {
541
+ "internalType": "contract InstanceService",
542
+ "name": "",
543
+ "type": "address"
544
+ }
545
+ ],
546
+ "stateMutability": "view",
547
+ "type": "function"
548
+ },
549
+ {
550
+ "inputs": [],
551
+ "name": "getNftId",
552
+ "outputs": [
553
+ {
554
+ "internalType": "NftId",
555
+ "name": "",
556
+ "type": "uint96"
557
+ }
558
+ ],
559
+ "stateMutability": "view",
560
+ "type": "function"
561
+ },
562
+ {
563
+ "inputs": [],
564
+ "name": "getOwner",
565
+ "outputs": [
566
+ {
567
+ "internalType": "address",
568
+ "name": "",
569
+ "type": "address"
570
+ }
571
+ ],
572
+ "stateMutability": "view",
573
+ "type": "function"
574
+ },
575
+ {
576
+ "inputs": [],
577
+ "name": "getRegistry",
578
+ "outputs": [
579
+ {
580
+ "internalType": "contract IRegistry",
581
+ "name": "",
582
+ "type": "address"
583
+ }
584
+ ],
585
+ "stateMutability": "view",
586
+ "type": "function"
587
+ },
588
+ {
589
+ "inputs": [],
590
+ "name": "getRegistryService",
591
+ "outputs": [
592
+ {
593
+ "internalType": "contract IRegistryService",
594
+ "name": "",
595
+ "type": "address"
596
+ }
597
+ ],
598
+ "stateMutability": "view",
599
+ "type": "function"
600
+ },
601
+ {
602
+ "inputs": [],
603
+ "name": "getVersion",
604
+ "outputs": [
605
+ {
606
+ "internalType": "Version",
607
+ "name": "",
608
+ "type": "uint24"
609
+ }
610
+ ],
611
+ "stateMutability": "pure",
612
+ "type": "function"
613
+ },
614
+ {
615
+ "inputs": [],
616
+ "name": "initializeERC165",
617
+ "outputs": [],
618
+ "stateMutability": "nonpayable",
619
+ "type": "function"
620
+ },
621
+ {
622
+ "inputs": [
623
+ {
624
+ "internalType": "address",
625
+ "name": "initialOwner",
626
+ "type": "address"
627
+ },
628
+ {
629
+ "internalType": "address",
630
+ "name": "registryAddress",
631
+ "type": "address"
632
+ }
633
+ ],
634
+ "name": "initializeNftOwnable",
635
+ "outputs": [],
636
+ "stateMutability": "nonpayable",
637
+ "type": "function"
638
+ },
639
+ {
640
+ "inputs": [
641
+ {
642
+ "internalType": "address",
643
+ "name": "registryAddress",
644
+ "type": "address"
645
+ },
646
+ {
647
+ "internalType": "NftId",
648
+ "name": "parentNftId",
649
+ "type": "uint96"
650
+ },
651
+ {
652
+ "internalType": "ObjectType",
653
+ "name": "objectType",
654
+ "type": "uint8"
655
+ },
656
+ {
657
+ "internalType": "bool",
658
+ "name": "isInterceptor",
659
+ "type": "bool"
660
+ },
661
+ {
662
+ "internalType": "address",
663
+ "name": "initialOwner",
664
+ "type": "address"
665
+ },
666
+ {
667
+ "internalType": "bytes",
668
+ "name": "registryData",
669
+ "type": "bytes"
670
+ }
671
+ ],
672
+ "name": "initializeRegisterable",
673
+ "outputs": [],
674
+ "stateMutability": "nonpayable",
675
+ "type": "function"
676
+ },
677
+ {
678
+ "inputs": [
679
+ {
680
+ "internalType": "address",
681
+ "name": "registryAddress",
682
+ "type": "address"
683
+ }
684
+ ],
685
+ "name": "initializeRegistryLinked",
686
+ "outputs": [],
687
+ "stateMutability": "nonpayable",
688
+ "type": "function"
689
+ },
690
+ {
691
+ "inputs": [
692
+ {
693
+ "internalType": "address",
694
+ "name": "registry",
695
+ "type": "address"
696
+ },
697
+ {
698
+ "internalType": "address",
699
+ "name": "authority",
700
+ "type": "address"
701
+ },
702
+ {
703
+ "internalType": "address",
704
+ "name": "initialOwner",
705
+ "type": "address"
706
+ }
707
+ ],
708
+ "name": "initializeService",
709
+ "outputs": [],
710
+ "stateMutability": "nonpayable",
711
+ "type": "function"
712
+ },
713
+ {
714
+ "inputs": [
715
+ {
716
+ "internalType": "address",
717
+ "name": "activatedBy",
718
+ "type": "address"
719
+ },
720
+ {
721
+ "internalType": "bytes",
722
+ "name": "data",
723
+ "type": "bytes"
724
+ }
725
+ ],
726
+ "name": "initializeVersionable",
727
+ "outputs": [],
728
+ "stateMutability": "nonpayable",
729
+ "type": "function"
730
+ },
731
+ {
732
+ "inputs": [],
733
+ "name": "isConsumingScheduledOp",
734
+ "outputs": [
735
+ {
736
+ "internalType": "bytes4",
737
+ "name": "",
738
+ "type": "bytes4"
739
+ }
740
+ ],
741
+ "stateMutability": "view",
742
+ "type": "function"
743
+ },
744
+ {
745
+ "inputs": [
746
+ {
747
+ "internalType": "address",
748
+ "name": "nftOwnableAddress",
749
+ "type": "address"
750
+ }
751
+ ],
752
+ "name": "linkToNftOwnable",
753
+ "outputs": [
754
+ {
755
+ "internalType": "NftId",
756
+ "name": "",
757
+ "type": "uint96"
758
+ }
759
+ ],
760
+ "stateMutability": "nonpayable",
761
+ "type": "function"
762
+ },
763
+ {
764
+ "inputs": [],
765
+ "name": "linkToRegisteredNftId",
766
+ "outputs": [],
767
+ "stateMutability": "nonpayable",
768
+ "type": "function"
769
+ },
770
+ {
771
+ "inputs": [
772
+ {
773
+ "internalType": "bytes4",
774
+ "name": "interfaceId",
775
+ "type": "bytes4"
776
+ }
777
+ ],
778
+ "name": "registerInterface",
779
+ "outputs": [],
780
+ "stateMutability": "nonpayable",
781
+ "type": "function"
782
+ },
783
+ {
784
+ "inputs": [
785
+ {
786
+ "internalType": "address",
787
+ "name": "newAuthority",
788
+ "type": "address"
789
+ }
790
+ ],
791
+ "name": "setAuthority",
792
+ "outputs": [],
793
+ "stateMutability": "nonpayable",
794
+ "type": "function"
795
+ },
796
+ {
797
+ "inputs": [
798
+ {
799
+ "internalType": "bytes4",
800
+ "name": "interfaceId",
801
+ "type": "bytes4"
802
+ }
803
+ ],
804
+ "name": "supportsInterface",
805
+ "outputs": [
806
+ {
807
+ "internalType": "bool",
808
+ "name": "",
809
+ "type": "bool"
810
+ }
811
+ ],
812
+ "stateMutability": "view",
813
+ "type": "function"
814
+ },
815
+ {
816
+ "inputs": [
817
+ {
818
+ "internalType": "bytes",
819
+ "name": "data",
820
+ "type": "bytes"
821
+ }
822
+ ],
823
+ "name": "upgradeVersionable",
824
+ "outputs": [],
825
+ "stateMutability": "nonpayable",
826
+ "type": "function"
827
+ }
828
+ ],
829
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61386e80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c8063644c45e0116100de578063ada9652e11610097578063caf4e3d411610071578063caf4e3d414610390578063cc9fc59a14610398578063f4bfe53a146103a0578063f7c34ee01461045c57600080fd5b8063ada9652e1461034e578063b68d180914610363578063bf7e214f1461037257600080fd5b8063644c45e0146102ce578063675393bf146102ec5780637a9e5e4b146102ff578063893d20e8146103125780638e32e9791461031a5780638fb360371461032d57600080fd5b806327bb7a331161013057806327bb7a331461023d578063329d6e741461025057806336fc697e1461026357806340be23761461026b57806349bb9e4b146102965780635ab1bd53146102a957600080fd5b806301ffc9a7146101785780630d8e6e2c146101ba5780630fec111c146101d6578063138461e0146101eb5780631eff4b22146101f5578063214cdb801461022a575b600080fd5b6101a5610186366004612776565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101c261046f565b60405162ffffff90911681526020016101b1565b6101de6104f9565b6040516101b191906127f0565b6101f3610650565b005b61021c7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101b1565b6101f3610238366004612776565b61065c565b6101f361024b366004612a38565b610689565b6101f361025e366004612ad0565b61072e565b6101f361087b565b61027e610279366004612b04565b6108c1565b6040516001600160601b0390911681526020016101b1565b6101f36102a4366004612b21565b610914565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101b1565b6000805160206137d9833981519152546001600160601b031661027e565b6101f36102fa366004612b04565b610a13565b6101f361030d366004612b04565b610b20565b6102b6610bba565b6101f3610328366004612b70565b610cf1565b610335610f2a565b6040516001600160e01b031990911681526020016101b1565b61021c6000805160206137d983398151915281565b60405160e681526020016101b1565b6000805160206137f9833981519152546001600160a01b03166102b6565b6102b6610f62565b6102b6610f6e565b6103b36103ae366004612be4565b610f7a565b6040516101b19190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e08083015190820152610100808301519082015261012080830151908201526101408083015190820152610160808301519082015261018080830151908201526101a080830151908201526101c091820151918101919091526101e00190565b6101f361046a366004612c92565b611418565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f49190612ccb565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526040805160e081019091527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300908060006001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105ac610bba565b6001600160a01b031681526020018260010180546105c990612cf0565b80601f01602080910402602001604051908101604052809291908181526020018280546105f590612cf0565b80156106425780601f1061061757610100808354040283529160200191610642565b820191906000526020600020905b81548152906001019060200180831161062557829003601f168201915b505050505081525091505090565b6106593061148f565b50565b610664611690565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610691611690565b61069b8287611418565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016107248382612d78565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61075061046f565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610790573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b49190612e57565b6000805160206138198339815191528054600160401b900460ff16806107e7575080546001600160401b03808416911610155b156108055760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561082f836116c9565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610883611690565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60006108cb610bba565b6001600160a01b0316336001600160a01b0316146109035760405163086391f760e31b81523360048201526024015b60405180910390fd5b61090c8261148f565b90505b919050565b6000805160206138198339815191528054600160401b810460ff1615906001600160401b03166000811580156109475750825b90506000826001600160401b031660011480156109635750303b155b905081158015610971575080155b1561098f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156109b957845460ff60401b1916600160401b1785555b6109c387876116d1565b8315610a0a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610a1b611690565b806001600160a01b03163b600003610a515760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108fa565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526312da491160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015610acb575060408051601f3d908101601f19168201909252610ac891810190612e7f565b60015b610af35760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108fa565b80610b1c5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016108fa565b5050565b33610b406000805160206137f9833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610b7b5760405162d1953b60e31b81526001600160a01b03821660048201526024016108fa565b816001600160a01b03163b600003610bb1576040516361798f2f60e11b81526001600160a01b03831660048201526024016108fa565b610b1c8261181b565b6000806000805160206137d983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4e9190612e7f565b15610cdb576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610cb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd59190612ea7565b91505090565b54600160601b90046001600160a01b0316919050565b610cf9611690565b610d7983846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5f9190612ecf565b603c60008560405180602001604052806000815250610689565b6001600160a01b03821615610d9657610d918261187c565b610f05565b6000610daa6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610e0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2e9190612ef7565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610e73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e979190612ea7565b9050610f03816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610efe9190612ea7565b61187c565b505b610f15634a531f3360e01b61065c565b610f2563b68d180960e01b61065c565b505050565b6000805160206137f9833981519152805460009190600160a01b900460ff16610f54576000610cd5565b638fb3603760e01b91505090565b60006104f4602861188d565b60006104f4604661188d565b610f82612700565b6000808080610f928c606e61199a565b91509150806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff89190612ea7565b6080830151604051633c5e741960e21b81529195506001600160a01b03169063f179d06490611031908d908f908e908e90600401612f14565b602060405180830381865afa15801561104e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110729190612ecf565b60405163242bdc1960e21b81526001600160601b038e166004820152909350600092506001600160a01b03851691506390af70649060240161014060405180830381865afa1580156110c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ec9190612fad565b606081015160405163f0ea17c360e01b81526001600160601b0390911660048201529091506000906001600160a01b0385169063f0ea17c390602401600060405180830381865afa158015611145573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261116d919081019061309a565b60c001519050600081806020019051810190611189919061317f565b604051634793b4ab60e01b81526001600160601b038a1660048201529091506000906001600160a01b03871690634793b4ab90602401600060405180830381865afa1580156111dc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611204919081019061327e565b905061121881600001518560600151611ac8565b1561125857805160608501516040516311db892d60e01b81526001600160601b03808d1660048301529283166024820152911660448201526064016108fa565b6040848101519051639ad69c6760e01b81526001600160601b03821660048201526000906001600160a01b03891690639ad69c679060240161010060405180830381865afa1580156112ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d2919061337a565b90506112e18787868487611adf565b98506112f08987868487611c90565b98506112ff89828c858c611fc7565b985080604001516020015189610160015110156113755760c08901516101408a01516101608b01516101808c01516101a08d01516101c08e0151604051637bee97c760e11b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c4016108fa565b886101a001518961018001518a6101c001516113919190613431565b61139b9190613431565b896101400151146114055760c08901516101408a01516101608b01516101808c01516101a08d01516101c08e0151604051637bee97c760e11b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c4016108fa565b5050505050505050979650505050505050565b611420611690565b61142981610a13565b61143161087b565b6001600160a01b0382166114585760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206137d983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000806000805160206137d983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156114ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115239190612e7f565b1561154f5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016108fa565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156115a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c79190612e7f565b6115ef5760405163b9304b0d60e01b81526001600160a01b03841660048201526024016108fa565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611643573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116679190612ecf565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b60008051602061381983398151915254600160401b900460ff166116c757604051631afcd79f60e31b815260040160405180910390fd5b565b610173611690565b6000805160206138198339815191528054600160401b810460ff1615906001600160401b03166000811580156117045750825b90506000826001600160401b031660011480156117205750303b155b90508115801561172e575080155b1561174c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561177657845460ff60401b1916600160401b1785555b6000808780602001905181019061178d9190613444565b925050915061179d82828b610cf1565b6117ad637a5ff29d60e11b61065c565b6117b7607861188d565b600280546001600160a01b0319166001600160a01b039290921691909117905550508315610a0a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610a01565b6000805160206137f983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611884611690565b61065981612555565b60006118a16001546001600160a01b031690565b6001600160a01b031663d39e6043836118b861046f565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af415801561190d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119319190612ef7565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611976573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090c9190612ea7565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611a2f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a579190810190613486565b9150611a6e82604001518460ff9081169116141590565b15611ab257608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff80861660248401521660448201526064016108fa565b611abf8260200151612566565b90509250929050565b6001600160601b0382811690821614155b92915050565b611ae7612700565b60405163046e44af60e11b81526001600160601b038716600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015611b3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b639190613526565b815260405163046e44af60e11b81526001600160601b038716600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015611bbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611be19190613526565b60208083018281526080880151909101516060840181905291829190611c08908390613431565b90525050610140840151602090810151608083018190529082018051829190611c32908390613431565b9052505060208083015181015160a083018190529082018051829190611c59908390613431565b90525050606083015160209081015160c083018190529082018051829190611c82908390613431565b905250909695505050505050565b611c98612700565b85516040516322f5db0f60e11b815260009173__$bf7bc340cbb9229ef1de2c568356e67902$__916345ebb61e91611cd69160040190815260200190565b602060405180830381865af4158015611cf3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d179190613526565b90506000611d2d828860800151600001516125fb565b604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611d7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da29190613526565b60e089018190526020890180519192508291611dbf908390613431565b90525061014086015151611dd49083906125fb565b604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611e25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e499190613526565b61010089018190526020890180519192508291611e67908390613431565b905250602084015151611e7b9083906125fb565b604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611ecc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef09190613526565b61012089018190526020890180519192508291611f0e908390613431565b905250606085015151611f229083906125fb565b604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611f73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f979190613526565b61014089018190526020890180519192508291611fb5908390613431565b90525087925050505b95945050505050565b611fcf612700565b6002546040516309741ce160e21b81526001600160601b03851660048201526001600160c01b0319861660248201526001600160a01b03909116906325d0738490604401602060405180830381865afa158015612030573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120549190612e7f565b612080575060c08501516101608601526101408501516101808601526020850151604086015284611fbe565b6040858101519051631d3be47760e01b81526001600160c01b0319861660048201526000906001600160a01b03851690631d3be47790602401600060405180830381865afa1580156120d6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120fe9190810190613553565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038616906327b1d79290602401600060405180830381865afa158015612154573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261217c91908101906135ff565b80516040516368322c6360e11b81526001600160c01b031990911660048201529091506000906001600160a01b0387169063d06458c690602401600060405180830381865afa1580156121d3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526121fb91908101906136b8565b8a516040516322f5db0f60e11b8152600481019190915290915060009073__$bf7bc340cbb9229ef1de2c568356e67902$__906345ebb61e90602401602060405180830381865af4158015612254573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122789190613526565b60608301516040516332292b2760e21b815273__$bf7bc340cbb9229ef1de2c568356e67902$__9263c8a4ac9c926122bb92600401918252602082015260400190565b602060405180830381865af41580156122d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122fc9190613526565b604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af415801561234d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123719190613526565b6101a08c0181905260208c01516040516322f5db0f60e11b815291925073__$bf7bc340cbb9229ef1de2c568356e67902$__916345ebb61e916123ba9160040190815260200190565b602060405180830381865af41580156123d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123fb9190613526565b60408086015190516332292b2760e21b815273__$bf7bc340cbb9229ef1de2c568356e67902$__9263c8a4ac9c9261243e92600401918252602082015260400190565b602060405180830381865af415801561245b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061247f9190613526565b604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af41580156124d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124f49190613526565b6101c08c0181905260408b0151602001516101608d01526101408c015161251c9083906137af565b61252691906137af565b6101808c01526101c08b015160208c015161254191906137af565b60408c015250989998505050505050505050565b61255d611690565b6106598161181b565b600061257a6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156125c9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526125f19190810190613486565b6080015192915050565b60006126108383670de0b6b3a7640000612617565b9392505050565b600080806000198587098587029250828110838203039150508060000361265157838281612647576126476137c2565b0492505050612610565b8084116126985760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b60448201526064016108fa565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b60006020828403121561278857600080fd5b81356001600160e01b03198116811461261057600080fd5b60005b838110156127bb5781810151838201526020016127a3565b50506000910152565b600081518084526127dc8160208601602086016127a0565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161285960c08401826001600160a01b03169052565b5060c083015160e0808401526128736101008401826127c4565b949350505050565b6001600160a01b038116811461065957600080fd5b6001600160601b038116811461065957600080fd5b60ff8116811461065957600080fd5b801515811461065957600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161010081016001600160401b03811182821017156128fb576128fb6128c2565b60405290565b60405160e081016001600160401b03811182821017156128fb576128fb6128c2565b6040516101a081016001600160401b03811182821017156128fb576128fb6128c2565b60405161012081016001600160401b03811182821017156128fb576128fb6128c2565b60405160a081016001600160401b03811182821017156128fb576128fb6128c2565b604051601f8201601f191681016001600160401b03811182821017156129b3576129b36128c2565b604052919050565b60006001600160401b038211156129d4576129d46128c2565b50601f01601f191660200190565b600082601f8301126129f357600080fd5b8135612a06612a01826129bb565b61298b565b818152846020838601011115612a1b57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215612a5157600080fd5b8635612a5c8161287b565b95506020870135612a6c81612890565b94506040870135612a7c816128a5565b93506060870135612a8c816128b4565b92506080870135612a9c8161287b565b915060a08701356001600160401b03811115612ab757600080fd5b612ac389828a016129e2565b9150509295509295509295565b600060208284031215612ae257600080fd5b81356001600160401b03811115612af857600080fd5b612873848285016129e2565b600060208284031215612b1657600080fd5b81356126108161287b565b60008060408385031215612b3457600080fd5b8235612b3f8161287b565b915060208301356001600160401b03811115612b5a57600080fd5b612b66858286016129e2565b9150509250929050565b600080600060608486031215612b8557600080fd5b8335612b908161287b565b92506020840135612ba08161287b565b91506040840135612bb08161287b565b809150509250925092565b6001600160c01b03198116811461065957600080fd5b64ffffffffff8116811461065957600080fd5b600080600080600080600060e0888a031215612bff57600080fd5b8735612c0a81612890565b96506020880135612c1a81612bbb565b95506040880135612c2a81612890565b94506060880135612c3a81612bd1565b935060808801356001600160401b03811115612c5557600080fd5b612c618a828b016129e2565b93505060a0880135612c7281612890565b915060c0880135612c8281612bbb565b8091505092959891949750929550565b60008060408385031215612ca557600080fd5b8235612cb08161287b565b91506020830135612cc08161287b565b809150509250929050565b600060208284031215612cdd57600080fd5b815162ffffff8116811461261057600080fd5b600181811c90821680612d0457607f821691505b602082108103612d2457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610f2557600081815260208120601f850160051c81016020861015612d515750805b601f850160051c820191505b81811015612d7057828155600101612d5d565b505050505050565b81516001600160401b03811115612d9157612d916128c2565b612da581612d9f8454612cf0565b84612d2a565b602080601f831160018114612dda5760008415612dc25750858301515b600019600386901b1c1916600185901b178555612d70565b600085815260208120601f198616915b82811015612e0957888601518255948401946001909101908401612dea565b5085821015612e275787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b038116811461065957600080fd5b805161090f81612e37565b600060208284031215612e6957600080fd5b815161261081612e37565b805161090f816128b4565b600060208284031215612e9157600080fd5b8151612610816128b4565b805161090f8161287b565b600060208284031215612eb957600080fd5b81516126108161287b565b805161090f81612890565b600060208284031215612ee157600080fd5b815161261081612890565b805161090f816128a5565b600060208284031215612f0957600080fd5b8151612610816128a5565b6001600160601b03851681526001600160401b0360c01b8416602082015264ffffffffff83166040820152608060608201526000612f5560808301846127c4565b9695505050505050565b600060408284031215612f7157600080fd5b604051604081018181106001600160401b0382111715612f9357612f936128c2565b604052825181526020928301519281019290925250919050565b60006101408284031215612fc057600080fd5b612fc86128d8565b612fd183612e9c565b8152612fdf60208401612e9c565b6020820152612ff060408401612ec4565b604082015261300160608401612ec4565b60608201526130138460808501612f5f565b60808201526130258460c08501612f5f565b60a08201526130376101008401612e74565b60c08201526130496101208401612e9c565b60e08201529392505050565b600082601f83011261306657600080fd5b8151613074612a01826129bb565b81815284602083860101111561308957600080fd5b6128738260208301602087016127a0565b6000602082840312156130ac57600080fd5b81516001600160401b03808211156130c357600080fd5b9083019060e082860312156130d757600080fd5b6130df612901565b8251828111156130ee57600080fd5b6130fa87828601613055565b82525061310960208401612e9c565b602082015261311a60408401612e9c565b604082015261312b60608401612e9c565b606082015261313c60808401612ec4565b608082015261314d60a08401612ec4565b60a082015260c08301518281111561316457600080fd5b61317087828601613055565b60c08301525095945050505050565b6000610200828403121561319257600080fd5b61319a612923565b6131a383612ec4565b81526131b160208401612e4c565b60208201526131c260408401612ec4565b60408201526131d360608401612ec4565b60608201526131e460808401612ec4565b60808201526131f560a08401612e74565b60a082015261320660c08401612e74565b60c082015261321760e08401612e74565b60e08201526101008381015190820152610120808401519082015261014061324185828601612f5f565b9082015261018061325485858301612f5f565b610160830152613268856101c08601612f5f565b908201529392505050565b805161090f81612bd1565b60006020828403121561329057600080fd5b81516001600160401b03808211156132a757600080fd5b9083019061014082860312156132bc57600080fd5b6132c4612946565b6132cd83612ec4565b81526132dc8660208501612f5f565b60208201526060830151828111156132f357600080fd5b6132ff87828601613055565b60408301525061331160808401612ec4565b606082015261332260a08401612ec4565b608082015261333360c08401612ec4565b60a082015261334460e08401613273565b60c08201526101009150613359828401613273565b60e082015261336b6101208401613273565b91810191909152949350505050565b6000610100828403121561338d57600080fd5b60405160c081018181106001600160401b03821117156133af576133af6128c2565b60405282516133bd81612890565b815260208301516133cd8161287b565b60208201526133df8460408501612f5f565b60408201526133f18460808501612f5f565b606082015260c08301516134048161287b565b608082015260e0929092015160a083015250919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115611ad957611ad961341b565b60008060006060848603121561345957600080fd5b83516134648161287b565b60208501519093506134758161287b565b6040850151909250612bb08161287b565b60006020828403121561349857600080fd5b81516001600160401b03808211156134af57600080fd5b9083019060e082860312156134c357600080fd5b6134cb612901565b6134d483612ec4565b81526134e260208401612ec4565b60208201526134f360408401612eec565b604082015261350460608401612e74565b606082015261351560808401612e9c565b608082015261314d60a08401612e9c565b60006020828403121561353857600080fd5b5051919050565b805163ffffffff8116811461090f57600080fd5b60006020828403121561356557600080fd5b81516001600160401b038082111561357c57600080fd5b9083019060e0828603121561359057600080fd5b613598612901565b6135a183612ec4565b81526020830151828111156135b557600080fd5b6135c187828601613055565b602083015250604083015160408201526135dd6060840161353f565b60608201526135ee6080840161353f565b608082015261314d60a08401613273565b60006020828403121561361157600080fd5b81516001600160401b038082111561362857600080fd5b9083019060a0828603121561363c57600080fd5b613644612969565b825161364f81612bbb565b8152602083015161365f816128b4565b602082015260408301518281111561367657600080fd5b61368287828601613055565b6040830152506060830151915061369882612890565b8160608201526136aa6080840161353f565b608082015295945050505050565b6000602082840312156136ca57600080fd5b81516001600160401b03808211156136e157600080fd5b9083019061012082860312156136f657600080fd5b6136fe612946565b82518281111561370d57600080fd5b61371987828601613055565b8252506020830151602082015260408301516040820152606083015160608201526137466080840161353f565b608082015261375760a0840161353f565b60a082015261376860c08401612e74565b60c082015261377960e08401612e74565b60e0820152610100808401518381111561379257600080fd5b61379e88828701613055565b918301919091525095945050505050565b81810381811115611ad957611ad961341b565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212201e64514311b67af434d3476a39aa5ef0eb49e916abbf204528974210206072c764736f6c63430008140033",
830
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101735760003560e01c8063644c45e0116100de578063ada9652e11610097578063caf4e3d411610071578063caf4e3d414610390578063cc9fc59a14610398578063f4bfe53a146103a0578063f7c34ee01461045c57600080fd5b8063ada9652e1461034e578063b68d180914610363578063bf7e214f1461037257600080fd5b8063644c45e0146102ce578063675393bf146102ec5780637a9e5e4b146102ff578063893d20e8146103125780638e32e9791461031a5780638fb360371461032d57600080fd5b806327bb7a331161013057806327bb7a331461023d578063329d6e741461025057806336fc697e1461026357806340be23761461026b57806349bb9e4b146102965780635ab1bd53146102a957600080fd5b806301ffc9a7146101785780630d8e6e2c146101ba5780630fec111c146101d6578063138461e0146101eb5780631eff4b22146101f5578063214cdb801461022a575b600080fd5b6101a5610186366004612776565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101c261046f565b60405162ffffff90911681526020016101b1565b6101de6104f9565b6040516101b191906127f0565b6101f3610650565b005b61021c7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101b1565b6101f3610238366004612776565b61065c565b6101f361024b366004612a38565b610689565b6101f361025e366004612ad0565b61072e565b6101f361087b565b61027e610279366004612b04565b6108c1565b6040516001600160601b0390911681526020016101b1565b6101f36102a4366004612b21565b610914565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101b1565b6000805160206137d9833981519152546001600160601b031661027e565b6101f36102fa366004612b04565b610a13565b6101f361030d366004612b04565b610b20565b6102b6610bba565b6101f3610328366004612b70565b610cf1565b610335610f2a565b6040516001600160e01b031990911681526020016101b1565b61021c6000805160206137d983398151915281565b60405160e681526020016101b1565b6000805160206137f9833981519152546001600160a01b03166102b6565b6102b6610f62565b6102b6610f6e565b6103b36103ae366004612be4565b610f7a565b6040516101b19190815181526020808301519082015260408083015190820152606080830151908201526080808301519082015260a0808301519082015260c0808301519082015260e08083015190820152610100808301519082015261012080830151908201526101408083015190820152610160808301519082015261018080830151908201526101a080830151908201526101c091820151918101919091526101e00190565b6101f361046a366004612c92565b611418565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f49190612ccb565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526040805160e081019091527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300908060006001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016105ac610bba565b6001600160a01b031681526020018260010180546105c990612cf0565b80601f01602080910402602001604051908101604052809291908181526020018280546105f590612cf0565b80156106425780601f1061061757610100808354040283529160200191610642565b820191906000526020600020905b81548152906001019060200180831161062557829003601f168201915b505050505081525091505090565b6106593061148f565b50565b610664611690565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610691611690565b61069b8287611418565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016107248382612d78565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61075061046f565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610790573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b49190612e57565b6000805160206138198339815191528054600160401b900460ff16806107e7575080546001600160401b03808416911610155b156108055760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561082f836116c9565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610883611690565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60006108cb610bba565b6001600160a01b0316336001600160a01b0316146109035760405163086391f760e31b81523360048201526024015b60405180910390fd5b61090c8261148f565b90505b919050565b6000805160206138198339815191528054600160401b810460ff1615906001600160401b03166000811580156109475750825b90506000826001600160401b031660011480156109635750303b155b905081158015610971575080155b1561098f5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156109b957845460ff60401b1916600160401b1785555b6109c387876116d1565b8315610a0a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610a1b611690565b806001600160a01b03163b600003610a515760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108fa565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526312da491160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015610acb575060408051601f3d908101601f19168201909252610ac891810190612e7f565b60015b610af35760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108fa565b80610b1c5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016108fa565b5050565b33610b406000805160206137f9833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b031614610b7b5760405162d1953b60e31b81526001600160a01b03821660048201526024016108fa565b816001600160a01b03163b600003610bb1576040516361798f2f60e11b81526001600160a01b03831660048201526024016108fa565b610b1c8261181b565b6000806000805160206137d983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4e9190612e7f565b15610cdb576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610cb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd59190612ea7565b91505090565b54600160601b90046001600160a01b0316919050565b610cf9611690565b610d7983846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5f9190612ecf565b603c60008560405180602001604052806000815250610689565b6001600160a01b03821615610d9657610d918261187c565b610f05565b6000610daa6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610e0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2e9190612ef7565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610e73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e979190612ea7565b9050610f03816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610efe9190612ea7565b61187c565b505b610f15634a531f3360e01b61065c565b610f2563b68d180960e01b61065c565b505050565b6000805160206137f9833981519152805460009190600160a01b900460ff16610f54576000610cd5565b638fb3603760e01b91505090565b60006104f4602861188d565b60006104f4604661188d565b610f82612700565b6000808080610f928c606e61199a565b91509150806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff89190612ea7565b6080830151604051633c5e741960e21b81529195506001600160a01b03169063f179d06490611031908d908f908e908e90600401612f14565b602060405180830381865afa15801561104e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110729190612ecf565b60405163242bdc1960e21b81526001600160601b038e166004820152909350600092506001600160a01b03851691506390af70649060240161014060405180830381865afa1580156110c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ec9190612fad565b606081015160405163f0ea17c360e01b81526001600160601b0390911660048201529091506000906001600160a01b0385169063f0ea17c390602401600060405180830381865afa158015611145573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261116d919081019061309a565b60c001519050600081806020019051810190611189919061317f565b604051634793b4ab60e01b81526001600160601b038a1660048201529091506000906001600160a01b03871690634793b4ab90602401600060405180830381865afa1580156111dc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611204919081019061327e565b905061121881600001518560600151611ac8565b1561125857805160608501516040516311db892d60e01b81526001600160601b03808d1660048301529283166024820152911660448201526064016108fa565b6040848101519051639ad69c6760e01b81526001600160601b03821660048201526000906001600160a01b03891690639ad69c679060240161010060405180830381865afa1580156112ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d2919061337a565b90506112e18787868487611adf565b98506112f08987868487611c90565b98506112ff89828c858c611fc7565b985080604001516020015189610160015110156113755760c08901516101408a01516101608b01516101808c01516101a08d01516101c08e0151604051637bee97c760e11b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c4016108fa565b886101a001518961018001518a6101c001516113919190613431565b61139b9190613431565b896101400151146114055760c08901516101408a01516101608b01516101808c01516101a08d01516101c08e0151604051637bee97c760e11b81526004810196909652602486019490945260448501929092526064840152608483015260a482015260c4016108fa565b5050505050505050979650505050505050565b611420611690565b61142981610a13565b61143161087b565b6001600160a01b0382166114585760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206137d983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000806000805160206137d983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156114ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115239190612e7f565b1561154f5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016108fa565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156115a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115c79190612e7f565b6115ef5760405163b9304b0d60e01b81526001600160a01b03841660048201526024016108fa565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611643573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116679190612ecf565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b60008051602061381983398151915254600160401b900460ff166116c757604051631afcd79f60e31b815260040160405180910390fd5b565b610173611690565b6000805160206138198339815191528054600160401b810460ff1615906001600160401b03166000811580156117045750825b90506000826001600160401b031660011480156117205750303b155b90508115801561172e575080155b1561174c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561177657845460ff60401b1916600160401b1785555b6000808780602001905181019061178d9190613444565b925050915061179d82828b610cf1565b6117ad637a5ff29d60e11b61065c565b6117b7607861188d565b600280546001600160a01b0319166001600160a01b039290921691909117905550508315610a0a57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610a01565b6000805160206137f983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611884611690565b61065981612555565b60006118a16001546001600160a01b031690565b6001600160a01b031663d39e6043836118b861046f565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af415801561190d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119319190612ef7565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611976573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090c9190612ea7565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611a2f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a579190810190613486565b9150611a6e82604001518460ff9081169116141590565b15611ab257608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff80861660248401521660448201526064016108fa565b611abf8260200151612566565b90509250929050565b6001600160601b0382811690821614155b92915050565b611ae7612700565b60405163046e44af60e11b81526001600160601b038716600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015611b3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b639190613526565b815260405163046e44af60e11b81526001600160601b038716600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015611bbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611be19190613526565b60208083018281526080880151909101516060840181905291829190611c08908390613431565b90525050610140840151602090810151608083018190529082018051829190611c32908390613431565b9052505060208083015181015160a083018190529082018051829190611c59908390613431565b90525050606083015160209081015160c083018190529082018051829190611c82908390613431565b905250909695505050505050565b611c98612700565b85516040516322f5db0f60e11b815260009173__$bf7bc340cbb9229ef1de2c568356e67902$__916345ebb61e91611cd69160040190815260200190565b602060405180830381865af4158015611cf3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d179190613526565b90506000611d2d828860800151600001516125fb565b604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611d7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da29190613526565b60e089018190526020890180519192508291611dbf908390613431565b90525061014086015151611dd49083906125fb565b604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611e25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e499190613526565b61010089018190526020890180519192508291611e67908390613431565b905250602084015151611e7b9083906125fb565b604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611ecc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef09190613526565b61012089018190526020890180519192508291611f0e908390613431565b905250606085015151611f229083906125fb565b604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af4158015611f73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f979190613526565b61014089018190526020890180519192508291611fb5908390613431565b90525087925050505b95945050505050565b611fcf612700565b6002546040516309741ce160e21b81526001600160601b03851660048201526001600160c01b0319861660248201526001600160a01b03909116906325d0738490604401602060405180830381865afa158015612030573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120549190612e7f565b612080575060c08501516101608601526101408501516101808601526020850151604086015284611fbe565b6040858101519051631d3be47760e01b81526001600160c01b0319861660048201526000906001600160a01b03851690631d3be47790602401600060405180830381865afa1580156120d6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120fe9190810190613553565b80516040516313d8ebc960e11b81526001600160601b0390911660048201529091506000906001600160a01b038616906327b1d79290602401600060405180830381865afa158015612154573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261217c91908101906135ff565b80516040516368322c6360e11b81526001600160c01b031990911660048201529091506000906001600160a01b0387169063d06458c690602401600060405180830381865afa1580156121d3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526121fb91908101906136b8565b8a516040516322f5db0f60e11b8152600481019190915290915060009073__$bf7bc340cbb9229ef1de2c568356e67902$__906345ebb61e90602401602060405180830381865af4158015612254573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122789190613526565b60608301516040516332292b2760e21b815273__$bf7bc340cbb9229ef1de2c568356e67902$__9263c8a4ac9c926122bb92600401918252602082015260400190565b602060405180830381865af41580156122d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122fc9190613526565b604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af415801561234d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123719190613526565b6101a08c0181905260208c01516040516322f5db0f60e11b815291925073__$bf7bc340cbb9229ef1de2c568356e67902$__916345ebb61e916123ba9160040190815260200190565b602060405180830381865af41580156123d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123fb9190613526565b60408086015190516332292b2760e21b815273__$bf7bc340cbb9229ef1de2c568356e67902$__9263c8a4ac9c9261243e92600401918252602082015260400190565b602060405180830381865af415801561245b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061247f9190613526565b604051632255341b60e11b8152600481019190915273__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401602060405180830381865af41580156124d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124f49190613526565b6101c08c0181905260408b0151602001516101608d01526101408c015161251c9083906137af565b61252691906137af565b6101808c01526101c08b015160208c015161254191906137af565b60408c015250989998505050505050505050565b61255d611690565b6106598161181b565b600061257a6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156125c9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526125f19190810190613486565b6080015192915050565b60006126108383670de0b6b3a7640000612617565b9392505050565b600080806000198587098587029250828110838203039150508060000361265157838281612647576126476137c2565b0492505050612610565b8084116126985760405162461bcd60e51b81526020600482015260156024820152744d6174683a206d756c446976206f766572666c6f7760581b60448201526064016108fa565b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b604051806101e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b60006020828403121561278857600080fd5b81356001600160e01b03198116811461261057600080fd5b60005b838110156127bb5781810151838201526020016127a3565b50506000910152565b600081518084526127dc8160208601602086016127a0565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161285960c08401826001600160a01b03169052565b5060c083015160e0808401526128736101008401826127c4565b949350505050565b6001600160a01b038116811461065957600080fd5b6001600160601b038116811461065957600080fd5b60ff8116811461065957600080fd5b801515811461065957600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161010081016001600160401b03811182821017156128fb576128fb6128c2565b60405290565b60405160e081016001600160401b03811182821017156128fb576128fb6128c2565b6040516101a081016001600160401b03811182821017156128fb576128fb6128c2565b60405161012081016001600160401b03811182821017156128fb576128fb6128c2565b60405160a081016001600160401b03811182821017156128fb576128fb6128c2565b604051601f8201601f191681016001600160401b03811182821017156129b3576129b36128c2565b604052919050565b60006001600160401b038211156129d4576129d46128c2565b50601f01601f191660200190565b600082601f8301126129f357600080fd5b8135612a06612a01826129bb565b61298b565b818152846020838601011115612a1b57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215612a5157600080fd5b8635612a5c8161287b565b95506020870135612a6c81612890565b94506040870135612a7c816128a5565b93506060870135612a8c816128b4565b92506080870135612a9c8161287b565b915060a08701356001600160401b03811115612ab757600080fd5b612ac389828a016129e2565b9150509295509295509295565b600060208284031215612ae257600080fd5b81356001600160401b03811115612af857600080fd5b612873848285016129e2565b600060208284031215612b1657600080fd5b81356126108161287b565b60008060408385031215612b3457600080fd5b8235612b3f8161287b565b915060208301356001600160401b03811115612b5a57600080fd5b612b66858286016129e2565b9150509250929050565b600080600060608486031215612b8557600080fd5b8335612b908161287b565b92506020840135612ba08161287b565b91506040840135612bb08161287b565b809150509250925092565b6001600160c01b03198116811461065957600080fd5b64ffffffffff8116811461065957600080fd5b600080600080600080600060e0888a031215612bff57600080fd5b8735612c0a81612890565b96506020880135612c1a81612bbb565b95506040880135612c2a81612890565b94506060880135612c3a81612bd1565b935060808801356001600160401b03811115612c5557600080fd5b612c618a828b016129e2565b93505060a0880135612c7281612890565b915060c0880135612c8281612bbb565b8091505092959891949750929550565b60008060408385031215612ca557600080fd5b8235612cb08161287b565b91506020830135612cc08161287b565b809150509250929050565b600060208284031215612cdd57600080fd5b815162ffffff8116811461261057600080fd5b600181811c90821680612d0457607f821691505b602082108103612d2457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610f2557600081815260208120601f850160051c81016020861015612d515750805b601f850160051c820191505b81811015612d7057828155600101612d5d565b505050505050565b81516001600160401b03811115612d9157612d916128c2565b612da581612d9f8454612cf0565b84612d2a565b602080601f831160018114612dda5760008415612dc25750858301515b600019600386901b1c1916600185901b178555612d70565b600085815260208120601f198616915b82811015612e0957888601518255948401946001909101908401612dea565b5085821015612e275787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b038116811461065957600080fd5b805161090f81612e37565b600060208284031215612e6957600080fd5b815161261081612e37565b805161090f816128b4565b600060208284031215612e9157600080fd5b8151612610816128b4565b805161090f8161287b565b600060208284031215612eb957600080fd5b81516126108161287b565b805161090f81612890565b600060208284031215612ee157600080fd5b815161261081612890565b805161090f816128a5565b600060208284031215612f0957600080fd5b8151612610816128a5565b6001600160601b03851681526001600160401b0360c01b8416602082015264ffffffffff83166040820152608060608201526000612f5560808301846127c4565b9695505050505050565b600060408284031215612f7157600080fd5b604051604081018181106001600160401b0382111715612f9357612f936128c2565b604052825181526020928301519281019290925250919050565b60006101408284031215612fc057600080fd5b612fc86128d8565b612fd183612e9c565b8152612fdf60208401612e9c565b6020820152612ff060408401612ec4565b604082015261300160608401612ec4565b60608201526130138460808501612f5f565b60808201526130258460c08501612f5f565b60a08201526130376101008401612e74565b60c08201526130496101208401612e9c565b60e08201529392505050565b600082601f83011261306657600080fd5b8151613074612a01826129bb565b81815284602083860101111561308957600080fd5b6128738260208301602087016127a0565b6000602082840312156130ac57600080fd5b81516001600160401b03808211156130c357600080fd5b9083019060e082860312156130d757600080fd5b6130df612901565b8251828111156130ee57600080fd5b6130fa87828601613055565b82525061310960208401612e9c565b602082015261311a60408401612e9c565b604082015261312b60608401612e9c565b606082015261313c60808401612ec4565b608082015261314d60a08401612ec4565b60a082015260c08301518281111561316457600080fd5b61317087828601613055565b60c08301525095945050505050565b6000610200828403121561319257600080fd5b61319a612923565b6131a383612ec4565b81526131b160208401612e4c565b60208201526131c260408401612ec4565b60408201526131d360608401612ec4565b60608201526131e460808401612ec4565b60808201526131f560a08401612e74565b60a082015261320660c08401612e74565b60c082015261321760e08401612e74565b60e08201526101008381015190820152610120808401519082015261014061324185828601612f5f565b9082015261018061325485858301612f5f565b610160830152613268856101c08601612f5f565b908201529392505050565b805161090f81612bd1565b60006020828403121561329057600080fd5b81516001600160401b03808211156132a757600080fd5b9083019061014082860312156132bc57600080fd5b6132c4612946565b6132cd83612ec4565b81526132dc8660208501612f5f565b60208201526060830151828111156132f357600080fd5b6132ff87828601613055565b60408301525061331160808401612ec4565b606082015261332260a08401612ec4565b608082015261333360c08401612ec4565b60a082015261334460e08401613273565b60c08201526101009150613359828401613273565b60e082015261336b6101208401613273565b91810191909152949350505050565b6000610100828403121561338d57600080fd5b60405160c081018181106001600160401b03821117156133af576133af6128c2565b60405282516133bd81612890565b815260208301516133cd8161287b565b60208201526133df8460408501612f5f565b60408201526133f18460808501612f5f565b606082015260c08301516134048161287b565b608082015260e0929092015160a083015250919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115611ad957611ad961341b565b60008060006060848603121561345957600080fd5b83516134648161287b565b60208501519093506134758161287b565b6040850151909250612bb08161287b565b60006020828403121561349857600080fd5b81516001600160401b03808211156134af57600080fd5b9083019060e082860312156134c357600080fd5b6134cb612901565b6134d483612ec4565b81526134e260208401612ec4565b60208201526134f360408401612eec565b604082015261350460608401612e74565b606082015261351560808401612e9c565b608082015261314d60a08401612e9c565b60006020828403121561353857600080fd5b5051919050565b805163ffffffff8116811461090f57600080fd5b60006020828403121561356557600080fd5b81516001600160401b038082111561357c57600080fd5b9083019060e0828603121561359057600080fd5b613598612901565b6135a183612ec4565b81526020830151828111156135b557600080fd5b6135c187828601613055565b602083015250604083015160408201526135dd6060840161353f565b60608201526135ee6080840161353f565b608082015261314d60a08401613273565b60006020828403121561361157600080fd5b81516001600160401b038082111561362857600080fd5b9083019060a0828603121561363c57600080fd5b613644612969565b825161364f81612bbb565b8152602083015161365f816128b4565b602082015260408301518281111561367657600080fd5b61368287828601613055565b6040830152506060830151915061369882612890565b8160608201526136aa6080840161353f565b608082015295945050505050565b6000602082840312156136ca57600080fd5b81516001600160401b03808211156136e157600080fd5b9083019061012082860312156136f657600080fd5b6136fe612946565b82518281111561370d57600080fd5b61371987828601613055565b8252506020830151602082015260408301516040820152606083015160608201526137466080840161353f565b608082015261375760a0840161353f565b60a082015261376860c08401612e74565b60c082015261377960e08401612e74565b60e0820152610100808401518381111561379257600080fd5b61379e88828701613055565b918301919091525095945050505050565b81810381811115611ad957611ad961341b565b634e487b7160e01b600052601260045260246000fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212201e64514311b67af434d3476a39aa5ef0eb49e916abbf204528974210206072c764736f6c63430008140033",
831
+ "linkReferences": {
832
+ "contracts/type/Amount.sol": {
833
+ "AmountLib": [
834
+ {
835
+ "length": 20,
836
+ "start": 7147
837
+ },
838
+ {
839
+ "length": 20,
840
+ "start": 7273
841
+ }
842
+ ]
843
+ },
844
+ "contracts/type/NftId.sol": {
845
+ "NftIdLib": [
846
+ {
847
+ "length": 20,
848
+ "start": 3286
849
+ },
850
+ {
851
+ "length": 20,
852
+ "start": 5547
853
+ }
854
+ ]
855
+ },
856
+ "contracts/type/UFixed.sol": {
857
+ "UFixedLib": [
858
+ {
859
+ "length": 20,
860
+ "start": 7570
861
+ },
862
+ {
863
+ "length": 20,
864
+ "start": 7722
865
+ },
866
+ {
867
+ "length": 20,
868
+ "start": 7889
869
+ },
870
+ {
871
+ "length": 20,
872
+ "start": 8056
873
+ },
874
+ {
875
+ "length": 20,
876
+ "start": 8223
877
+ },
878
+ {
879
+ "length": 20,
880
+ "start": 8960
881
+ },
882
+ {
883
+ "length": 20,
884
+ "start": 9074
885
+ },
886
+ {
887
+ "length": 20,
888
+ "start": 9209
889
+ },
890
+ {
891
+ "length": 20,
892
+ "start": 9334
893
+ },
894
+ {
895
+ "length": 20,
896
+ "start": 9461
897
+ },
898
+ {
899
+ "length": 20,
900
+ "start": 9596
901
+ }
902
+ ]
903
+ },
904
+ "contracts/type/Version.sol": {
905
+ "VersionLib": [
906
+ {
907
+ "length": 20,
908
+ "start": 1404
909
+ },
910
+ {
911
+ "length": 20,
912
+ "start": 2070
913
+ },
914
+ {
915
+ "length": 20,
916
+ "start": 6585
917
+ }
918
+ ],
919
+ "VersionPartLib": [
920
+ {
921
+ "length": 20,
922
+ "start": 3766
923
+ }
924
+ ]
925
+ }
926
+ },
927
+ "deployedLinkReferences": {
928
+ "contracts/type/Amount.sol": {
929
+ "AmountLib": [
930
+ {
931
+ "length": 20,
932
+ "start": 6917
933
+ },
934
+ {
935
+ "length": 20,
936
+ "start": 7043
937
+ }
938
+ ]
939
+ },
940
+ "contracts/type/NftId.sol": {
941
+ "NftIdLib": [
942
+ {
943
+ "length": 20,
944
+ "start": 3056
945
+ },
946
+ {
947
+ "length": 20,
948
+ "start": 5317
949
+ }
950
+ ]
951
+ },
952
+ "contracts/type/UFixed.sol": {
953
+ "UFixedLib": [
954
+ {
955
+ "length": 20,
956
+ "start": 7340
957
+ },
958
+ {
959
+ "length": 20,
960
+ "start": 7492
961
+ },
962
+ {
963
+ "length": 20,
964
+ "start": 7659
965
+ },
966
+ {
967
+ "length": 20,
968
+ "start": 7826
969
+ },
970
+ {
971
+ "length": 20,
972
+ "start": 7993
973
+ },
974
+ {
975
+ "length": 20,
976
+ "start": 8730
977
+ },
978
+ {
979
+ "length": 20,
980
+ "start": 8844
981
+ },
982
+ {
983
+ "length": 20,
984
+ "start": 8979
985
+ },
986
+ {
987
+ "length": 20,
988
+ "start": 9104
989
+ },
990
+ {
991
+ "length": 20,
992
+ "start": 9231
993
+ },
994
+ {
995
+ "length": 20,
996
+ "start": 9366
997
+ }
998
+ ]
999
+ },
1000
+ "contracts/type/Version.sol": {
1001
+ "VersionLib": [
1002
+ {
1003
+ "length": 20,
1004
+ "start": 1174
1005
+ },
1006
+ {
1007
+ "length": 20,
1008
+ "start": 1840
1009
+ },
1010
+ {
1011
+ "length": 20,
1012
+ "start": 6355
1013
+ }
1014
+ ],
1015
+ "VersionPartLib": [
1016
+ {
1017
+ "length": 20,
1018
+ "start": 3536
1019
+ }
1020
+ ]
1021
+ }
1022
+ }
1023
+ }