@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
@@ -1,1093 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "BundleService",
4
- "sourceName": "contracts/instance/service/BundleService.sol",
5
- "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "NftId",
10
- "name": "policyNftId",
11
- "type": "uint96"
12
- }
13
- ],
14
- "name": "ErrorBundleManagerPolicyAlreadyActivated",
15
- "type": "error"
16
- },
17
- {
18
- "inputs": [
19
- {
20
- "internalType": "NftId",
21
- "name": "policyNftId",
22
- "type": "uint96"
23
- }
24
- ],
25
- "name": "ErrorBundleManagerPolicyNotCloseable",
26
- "type": "error"
27
- },
28
- {
29
- "inputs": [
30
- {
31
- "internalType": "NftId",
32
- "name": "policyNftId",
33
- "type": "uint96"
34
- },
35
- {
36
- "internalType": "uint256",
37
- "name": "openClaimsCount",
38
- "type": "uint256"
39
- }
40
- ],
41
- "name": "ErrorBundleManagerPolicyWithOpenClaims",
42
- "type": "error"
43
- },
44
- {
45
- "inputs": [
46
- {
47
- "internalType": "NftId",
48
- "name": "bundleNftId",
49
- "type": "uint96"
50
- },
51
- {
52
- "internalType": "StateId",
53
- "name": "state",
54
- "type": "uint8"
55
- }
56
- ],
57
- "name": "ErrorBundleServiceBundleNotOpen",
58
- "type": "error"
59
- },
60
- {
61
- "inputs": [
62
- {
63
- "internalType": "NftId",
64
- "name": "bundleNftId",
65
- "type": "uint96"
66
- },
67
- {
68
- "internalType": "uint256",
69
- "name": "openPoliciesCount",
70
- "type": "uint256"
71
- }
72
- ],
73
- "name": "ErrorBundleServiceBundleWithOpenPolicies",
74
- "type": "error"
75
- },
76
- {
77
- "inputs": [
78
- {
79
- "internalType": "address",
80
- "name": "bundleOwner",
81
- "type": "address"
82
- },
83
- {
84
- "internalType": "address",
85
- "name": "tokenHandlerAddress",
86
- "type": "address"
87
- },
88
- {
89
- "internalType": "uint256",
90
- "name": "amount",
91
- "type": "uint256"
92
- }
93
- ],
94
- "name": "ErrorBundleServiceInsufficientAllowance",
95
- "type": "error"
96
- },
97
- {
98
- "inputs": [
99
- {
100
- "internalType": "address",
101
- "name": "component",
102
- "type": "address"
103
- },
104
- {
105
- "internalType": "NftId",
106
- "name": "nftId",
107
- "type": "uint96"
108
- }
109
- ],
110
- "name": "ErrorComponentServiceAlreadyRegistered",
111
- "type": "error"
112
- },
113
- {
114
- "inputs": [
115
- {
116
- "internalType": "address",
117
- "name": "component",
118
- "type": "address"
119
- }
120
- ],
121
- "name": "ErrorComponentServiceComponentLocked",
122
- "type": "error"
123
- },
124
- {
125
- "inputs": [
126
- {
127
- "internalType": "NftId",
128
- "name": "instanceNftId",
129
- "type": "uint96"
130
- },
131
- {
132
- "internalType": "RoleId",
133
- "name": "requiredRole",
134
- "type": "uint64"
135
- },
136
- {
137
- "internalType": "address",
138
- "name": "sender",
139
- "type": "address"
140
- }
141
- ],
142
- "name": "ErrorComponentServiceExpectedRoleMissing",
143
- "type": "error"
144
- },
145
- {
146
- "inputs": [
147
- {
148
- "internalType": "address",
149
- "name": "component",
150
- "type": "address"
151
- },
152
- {
153
- "internalType": "ObjectType",
154
- "name": "requiredType",
155
- "type": "uint8"
156
- },
157
- {
158
- "internalType": "ObjectType",
159
- "name": "componentType",
160
- "type": "uint8"
161
- }
162
- ],
163
- "name": "ErrorComponentServiceInvalidType",
164
- "type": "error"
165
- },
166
- {
167
- "inputs": [
168
- {
169
- "internalType": "address",
170
- "name": "component",
171
- "type": "address"
172
- }
173
- ],
174
- "name": "ErrorComponentServiceNotComponent",
175
- "type": "error"
176
- },
177
- {
178
- "inputs": [
179
- {
180
- "internalType": "address",
181
- "name": "component",
182
- "type": "address"
183
- },
184
- {
185
- "internalType": "address",
186
- "name": "initialOwner",
187
- "type": "address"
188
- },
189
- {
190
- "internalType": "address",
191
- "name": "sender",
192
- "type": "address"
193
- }
194
- ],
195
- "name": "ErrorComponentServiceSenderNotOwner",
196
- "type": "error"
197
- },
198
- {
199
- "inputs": [
200
- {
201
- "internalType": "address",
202
- "name": "target",
203
- "type": "address"
204
- }
205
- ],
206
- "name": "ErrorIAccessTargetLocked",
207
- "type": "error"
208
- },
209
- {
210
- "inputs": [
211
- {
212
- "internalType": "address",
213
- "name": "caller",
214
- "type": "address"
215
- }
216
- ],
217
- "name": "ErrorIServiceCallerUnknown",
218
- "type": "error"
219
- },
220
- {
221
- "inputs": [
222
- {
223
- "internalType": "NftId",
224
- "name": "nftId",
225
- "type": "uint96"
226
- }
227
- ],
228
- "name": "ErrorNftOwnableAlreadyLinked",
229
- "type": "error"
230
- },
231
- {
232
- "inputs": [
233
- {
234
- "internalType": "address",
235
- "name": "contractAddress",
236
- "type": "address"
237
- }
238
- ],
239
- "name": "ErrorNftOwnableContractNotRegistered",
240
- "type": "error"
241
- },
242
- {
243
- "inputs": [],
244
- "name": "ErrorNftOwnableInitialOwnerZero",
245
- "type": "error"
246
- },
247
- {
248
- "inputs": [
249
- {
250
- "internalType": "address",
251
- "name": "account",
252
- "type": "address"
253
- }
254
- ],
255
- "name": "ErrorNftOwnableNotOwner",
256
- "type": "error"
257
- },
258
- {
259
- "inputs": [
260
- {
261
- "internalType": "address",
262
- "name": "registryAddress",
263
- "type": "address"
264
- }
265
- ],
266
- "name": "ErrorNotRegistry",
267
- "type": "error"
268
- },
269
- {
270
- "inputs": [],
271
- "name": "InvalidInitialization",
272
- "type": "error"
273
- },
274
- {
275
- "inputs": [],
276
- "name": "NotInitializing",
277
- "type": "error"
278
- },
279
- {
280
- "anonymous": false,
281
- "inputs": [
282
- {
283
- "indexed": false,
284
- "internalType": "uint64",
285
- "name": "version",
286
- "type": "uint64"
287
- }
288
- ],
289
- "name": "Initialized",
290
- "type": "event"
291
- },
292
- {
293
- "anonymous": false,
294
- "inputs": [
295
- {
296
- "indexed": false,
297
- "internalType": "NftId",
298
- "name": "bundleNftId",
299
- "type": "uint96"
300
- }
301
- ],
302
- "name": "LogBundleServiceBundleActivated",
303
- "type": "event"
304
- },
305
- {
306
- "anonymous": false,
307
- "inputs": [
308
- {
309
- "indexed": false,
310
- "internalType": "NftId",
311
- "name": "bundleNftId",
312
- "type": "uint96"
313
- }
314
- ],
315
- "name": "LogBundleServiceBundleClosed",
316
- "type": "event"
317
- },
318
- {
319
- "anonymous": false,
320
- "inputs": [
321
- {
322
- "indexed": false,
323
- "internalType": "NftId",
324
- "name": "bundleNftId",
325
- "type": "uint96"
326
- }
327
- ],
328
- "name": "LogBundleServiceBundleLocked",
329
- "type": "event"
330
- },
331
- {
332
- "inputs": [],
333
- "name": "NAME",
334
- "outputs": [
335
- {
336
- "internalType": "string",
337
- "name": "",
338
- "type": "string"
339
- }
340
- ],
341
- "stateMutability": "view",
342
- "type": "function"
343
- },
344
- {
345
- "inputs": [],
346
- "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
347
- "outputs": [
348
- {
349
- "internalType": "bytes32",
350
- "name": "",
351
- "type": "bytes32"
352
- }
353
- ],
354
- "stateMutability": "view",
355
- "type": "function"
356
- },
357
- {
358
- "inputs": [],
359
- "name": "REGISTERABLE_LOCATION_V1",
360
- "outputs": [
361
- {
362
- "internalType": "bytes32",
363
- "name": "",
364
- "type": "bytes32"
365
- }
366
- ],
367
- "stateMutability": "view",
368
- "type": "function"
369
- },
370
- {
371
- "inputs": [
372
- {
373
- "internalType": "NftId",
374
- "name": "bundleNftId",
375
- "type": "uint96"
376
- }
377
- ],
378
- "name": "close",
379
- "outputs": [],
380
- "stateMutability": "nonpayable",
381
- "type": "function"
382
- },
383
- {
384
- "inputs": [
385
- {
386
- "internalType": "contract IInstance",
387
- "name": "instance",
388
- "type": "address"
389
- },
390
- {
391
- "internalType": "NftId",
392
- "name": "policyNftId",
393
- "type": "uint96"
394
- },
395
- {
396
- "internalType": "NftId",
397
- "name": "bundleNftId",
398
- "type": "uint96"
399
- },
400
- {
401
- "internalType": "uint256",
402
- "name": "collateralAmount",
403
- "type": "uint256"
404
- }
405
- ],
406
- "name": "closePolicy",
407
- "outputs": [],
408
- "stateMutability": "nonpayable",
409
- "type": "function"
410
- },
411
- {
412
- "inputs": [
413
- {
414
- "internalType": "address",
415
- "name": "owner",
416
- "type": "address"
417
- },
418
- {
419
- "components": [
420
- {
421
- "internalType": "UFixed",
422
- "name": "fractionalFee",
423
- "type": "uint256"
424
- },
425
- {
426
- "internalType": "uint256",
427
- "name": "fixedFee",
428
- "type": "uint256"
429
- }
430
- ],
431
- "internalType": "struct Fee",
432
- "name": "fee",
433
- "type": "tuple"
434
- },
435
- {
436
- "internalType": "uint256",
437
- "name": "stakingAmount",
438
- "type": "uint256"
439
- },
440
- {
441
- "internalType": "Seconds",
442
- "name": "lifetime",
443
- "type": "uint40"
444
- },
445
- {
446
- "internalType": "bytes",
447
- "name": "filter",
448
- "type": "bytes"
449
- }
450
- ],
451
- "name": "create",
452
- "outputs": [
453
- {
454
- "internalType": "NftId",
455
- "name": "bundleNftId",
456
- "type": "uint96"
457
- }
458
- ],
459
- "stateMutability": "nonpayable",
460
- "type": "function"
461
- },
462
- {
463
- "inputs": [],
464
- "name": "getDomain",
465
- "outputs": [
466
- {
467
- "internalType": "ObjectType",
468
- "name": "",
469
- "type": "uint8"
470
- }
471
- ],
472
- "stateMutability": "pure",
473
- "type": "function"
474
- },
475
- {
476
- "inputs": [],
477
- "name": "getInitialInfo",
478
- "outputs": [
479
- {
480
- "components": [
481
- {
482
- "internalType": "NftId",
483
- "name": "nftId",
484
- "type": "uint96"
485
- },
486
- {
487
- "internalType": "NftId",
488
- "name": "parentNftId",
489
- "type": "uint96"
490
- },
491
- {
492
- "internalType": "ObjectType",
493
- "name": "objectType",
494
- "type": "uint8"
495
- },
496
- {
497
- "internalType": "bool",
498
- "name": "isInterceptor",
499
- "type": "bool"
500
- },
501
- {
502
- "internalType": "address",
503
- "name": "objectAddress",
504
- "type": "address"
505
- },
506
- {
507
- "internalType": "address",
508
- "name": "initialOwner",
509
- "type": "address"
510
- },
511
- {
512
- "internalType": "bytes",
513
- "name": "data",
514
- "type": "bytes"
515
- }
516
- ],
517
- "internalType": "struct IRegistry.ObjectInfo",
518
- "name": "info",
519
- "type": "tuple"
520
- }
521
- ],
522
- "stateMutability": "view",
523
- "type": "function"
524
- },
525
- {
526
- "inputs": [],
527
- "name": "getInstanceService",
528
- "outputs": [
529
- {
530
- "internalType": "contract InstanceService",
531
- "name": "",
532
- "type": "address"
533
- }
534
- ],
535
- "stateMutability": "view",
536
- "type": "function"
537
- },
538
- {
539
- "inputs": [],
540
- "name": "getMajorVersion",
541
- "outputs": [
542
- {
543
- "internalType": "VersionPart",
544
- "name": "majorVersion",
545
- "type": "uint8"
546
- }
547
- ],
548
- "stateMutability": "view",
549
- "type": "function"
550
- },
551
- {
552
- "inputs": [],
553
- "name": "getNftId",
554
- "outputs": [
555
- {
556
- "internalType": "NftId",
557
- "name": "",
558
- "type": "uint96"
559
- }
560
- ],
561
- "stateMutability": "view",
562
- "type": "function"
563
- },
564
- {
565
- "inputs": [],
566
- "name": "getOwner",
567
- "outputs": [
568
- {
569
- "internalType": "address",
570
- "name": "",
571
- "type": "address"
572
- }
573
- ],
574
- "stateMutability": "view",
575
- "type": "function"
576
- },
577
- {
578
- "inputs": [],
579
- "name": "getRegistry",
580
- "outputs": [
581
- {
582
- "internalType": "contract IRegistry",
583
- "name": "",
584
- "type": "address"
585
- }
586
- ],
587
- "stateMutability": "view",
588
- "type": "function"
589
- },
590
- {
591
- "inputs": [],
592
- "name": "getRegistryAddress",
593
- "outputs": [
594
- {
595
- "internalType": "address",
596
- "name": "",
597
- "type": "address"
598
- }
599
- ],
600
- "stateMutability": "view",
601
- "type": "function"
602
- },
603
- {
604
- "inputs": [],
605
- "name": "getRegistryService",
606
- "outputs": [
607
- {
608
- "internalType": "contract IRegistryService",
609
- "name": "",
610
- "type": "address"
611
- }
612
- ],
613
- "stateMutability": "view",
614
- "type": "function"
615
- },
616
- {
617
- "inputs": [],
618
- "name": "getVersion",
619
- "outputs": [
620
- {
621
- "internalType": "Version",
622
- "name": "",
623
- "type": "uint24"
624
- }
625
- ],
626
- "stateMutability": "pure",
627
- "type": "function"
628
- },
629
- {
630
- "inputs": [
631
- {
632
- "internalType": "contract IInstance",
633
- "name": "instance",
634
- "type": "address"
635
- },
636
- {
637
- "internalType": "NftId",
638
- "name": "bundleNftId",
639
- "type": "uint96"
640
- },
641
- {
642
- "internalType": "uint256",
643
- "name": "amount",
644
- "type": "uint256"
645
- }
646
- ],
647
- "name": "increaseBalance",
648
- "outputs": [],
649
- "stateMutability": "nonpayable",
650
- "type": "function"
651
- },
652
- {
653
- "inputs": [],
654
- "name": "initializeERC165",
655
- "outputs": [],
656
- "stateMutability": "nonpayable",
657
- "type": "function"
658
- },
659
- {
660
- "inputs": [
661
- {
662
- "internalType": "address",
663
- "name": "initialOwner",
664
- "type": "address"
665
- },
666
- {
667
- "internalType": "address",
668
- "name": "registryAddress",
669
- "type": "address"
670
- }
671
- ],
672
- "name": "initializeNftOwnable",
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
- "internalType": "NftId",
686
- "name": "parentNftId",
687
- "type": "uint96"
688
- },
689
- {
690
- "internalType": "ObjectType",
691
- "name": "objectType",
692
- "type": "uint8"
693
- },
694
- {
695
- "internalType": "bool",
696
- "name": "isInterceptor",
697
- "type": "bool"
698
- },
699
- {
700
- "internalType": "address",
701
- "name": "initialOwner",
702
- "type": "address"
703
- },
704
- {
705
- "internalType": "bytes",
706
- "name": "registryData",
707
- "type": "bytes"
708
- }
709
- ],
710
- "name": "initializeRegisterable",
711
- "outputs": [],
712
- "stateMutability": "nonpayable",
713
- "type": "function"
714
- },
715
- {
716
- "inputs": [
717
- {
718
- "internalType": "address",
719
- "name": "registryAddress",
720
- "type": "address"
721
- }
722
- ],
723
- "name": "initializeRegistryLinked",
724
- "outputs": [],
725
- "stateMutability": "nonpayable",
726
- "type": "function"
727
- },
728
- {
729
- "inputs": [
730
- {
731
- "internalType": "address",
732
- "name": "registry",
733
- "type": "address"
734
- },
735
- {
736
- "internalType": "address",
737
- "name": "initialOwner",
738
- "type": "address"
739
- }
740
- ],
741
- "name": "initializeService",
742
- "outputs": [],
743
- "stateMutability": "nonpayable",
744
- "type": "function"
745
- },
746
- {
747
- "inputs": [
748
- {
749
- "internalType": "address",
750
- "name": "activatedBy",
751
- "type": "address"
752
- },
753
- {
754
- "internalType": "bytes",
755
- "name": "data",
756
- "type": "bytes"
757
- }
758
- ],
759
- "name": "initializeVersionable",
760
- "outputs": [],
761
- "stateMutability": "nonpayable",
762
- "type": "function"
763
- },
764
- {
765
- "inputs": [],
766
- "name": "linkToRegisteredNftId",
767
- "outputs": [],
768
- "stateMutability": "nonpayable",
769
- "type": "function"
770
- },
771
- {
772
- "inputs": [
773
- {
774
- "internalType": "NftId",
775
- "name": "bundleNftId",
776
- "type": "uint96"
777
- }
778
- ],
779
- "name": "lock",
780
- "outputs": [],
781
- "stateMutability": "nonpayable",
782
- "type": "function"
783
- },
784
- {
785
- "inputs": [
786
- {
787
- "internalType": "contract IInstance",
788
- "name": "instance",
789
- "type": "address"
790
- },
791
- {
792
- "internalType": "NftId",
793
- "name": "policyNftId",
794
- "type": "uint96"
795
- },
796
- {
797
- "internalType": "NftId",
798
- "name": "bundleNftId",
799
- "type": "uint96"
800
- },
801
- {
802
- "internalType": "uint256",
803
- "name": "collateralAmount",
804
- "type": "uint256"
805
- },
806
- {
807
- "internalType": "uint256",
808
- "name": "netPremiumAmount",
809
- "type": "uint256"
810
- }
811
- ],
812
- "name": "lockCollateral",
813
- "outputs": [
814
- {
815
- "components": [
816
- {
817
- "internalType": "NftId",
818
- "name": "poolNftId",
819
- "type": "uint96"
820
- },
821
- {
822
- "components": [
823
- {
824
- "internalType": "UFixed",
825
- "name": "fractionalFee",
826
- "type": "uint256"
827
- },
828
- {
829
- "internalType": "uint256",
830
- "name": "fixedFee",
831
- "type": "uint256"
832
- }
833
- ],
834
- "internalType": "struct Fee",
835
- "name": "fee",
836
- "type": "tuple"
837
- },
838
- {
839
- "internalType": "bytes",
840
- "name": "filter",
841
- "type": "bytes"
842
- },
843
- {
844
- "internalType": "uint256",
845
- "name": "capitalAmount",
846
- "type": "uint256"
847
- },
848
- {
849
- "internalType": "uint256",
850
- "name": "lockedAmount",
851
- "type": "uint256"
852
- },
853
- {
854
- "internalType": "uint256",
855
- "name": "balanceAmount",
856
- "type": "uint256"
857
- },
858
- {
859
- "internalType": "Seconds",
860
- "name": "lifetime",
861
- "type": "uint40"
862
- },
863
- {
864
- "internalType": "Timestamp",
865
- "name": "expiredAt",
866
- "type": "uint40"
867
- },
868
- {
869
- "internalType": "Timestamp",
870
- "name": "closedAt",
871
- "type": "uint40"
872
- }
873
- ],
874
- "internalType": "struct IBundle.BundleInfo",
875
- "name": "bundleInfo",
876
- "type": "tuple"
877
- }
878
- ],
879
- "stateMutability": "nonpayable",
880
- "type": "function"
881
- },
882
- {
883
- "inputs": [
884
- {
885
- "internalType": "bytes4",
886
- "name": "interfaceId",
887
- "type": "bytes4"
888
- }
889
- ],
890
- "name": "registerInterface",
891
- "outputs": [],
892
- "stateMutability": "nonpayable",
893
- "type": "function"
894
- },
895
- {
896
- "inputs": [
897
- {
898
- "internalType": "NftId",
899
- "name": "bundleNftId",
900
- "type": "uint96"
901
- },
902
- {
903
- "components": [
904
- {
905
- "internalType": "UFixed",
906
- "name": "fractionalFee",
907
- "type": "uint256"
908
- },
909
- {
910
- "internalType": "uint256",
911
- "name": "fixedFee",
912
- "type": "uint256"
913
- }
914
- ],
915
- "internalType": "struct Fee",
916
- "name": "fee",
917
- "type": "tuple"
918
- }
919
- ],
920
- "name": "setFee",
921
- "outputs": [],
922
- "stateMutability": "nonpayable",
923
- "type": "function"
924
- },
925
- {
926
- "inputs": [
927
- {
928
- "internalType": "bytes4",
929
- "name": "interfaceId",
930
- "type": "bytes4"
931
- }
932
- ],
933
- "name": "supportsInterface",
934
- "outputs": [
935
- {
936
- "internalType": "bool",
937
- "name": "",
938
- "type": "bool"
939
- }
940
- ],
941
- "stateMutability": "view",
942
- "type": "function"
943
- },
944
- {
945
- "inputs": [
946
- {
947
- "internalType": "NftId",
948
- "name": "bundleNftId",
949
- "type": "uint96"
950
- }
951
- ],
952
- "name": "unlock",
953
- "outputs": [],
954
- "stateMutability": "nonpayable",
955
- "type": "function"
956
- },
957
- {
958
- "inputs": [
959
- {
960
- "internalType": "bytes",
961
- "name": "data",
962
- "type": "bytes"
963
- }
964
- ],
965
- "name": "upgradeVersionable",
966
- "outputs": [],
967
- "stateMutability": "nonpayable",
968
- "type": "function"
969
- }
970
- ],
971
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61405280620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063644c45e01161010f578063b5346af5116100a2578063cde749f411610071578063cde749f41461047a578063ea86657214610482578063f21de1e81461033c578063f7c34ee01461049557600080fd5b8063b5346af514610442578063b68d180914610455578063caf4e3d41461046a578063cc9fc59a1461047257600080fd5b8063a3f4df7e116100de578063a3f4df7e146103c1578063a7e0dea7146103fa578063ada9652e1461041a578063b2a382d31461042f57600080fd5b8063644c45e014610361578063675393bf14610393578063893d20e8146103a65780639babe3bf146103ae57600080fd5b80631f8e8f361161018757806336fc697e1161015657806336fc697e1461030e5780633c5c06101461031657806349bb9e4b146103295780635ab1bd531461033c57600080fd5b80631f8e8f36146102c2578063214cdb80146102d557806327bb7a33146102e8578063329d6e74146102fb57600080fd5b80630d8e6e2c116101c35780630d8e6e2c146102545780630fec111c14610270578063138461e0146102855780631eff4b221461028d57600080fd5b806301ffc9a7146101ea57806306fa45651461022c5780630aaba8e814610241575b600080fd5b6102176101f8366004612f51565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a366004612f97565b6104a8565b005b61023f61024f366004612f97565b610636565b61025c610870565b60405162ffffff9091168152602001610223565b6102786108fa565b6040516102239190613004565b61023f610aae565b6102b47f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b61023f6102d03660046131da565b610cb0565b61023f6102e3366004612f51565b610f4b565b61023f6102f63660046132bf565b610f78565b61023f610309366004613357565b611004565b61023f611149565b61023f61032436600461338b565b61118f565b61023f6103373660046133dc565b611396565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b600080516020613fdd833981519152546001600160601b03165b6040516001600160601b039091168152602001610223565b61023f6103a136600461342b565b611494565b6103496115a2565b61023f6103bc366004613448565b6116d9565b6103ed6040518060400160405280600d81526020016c42756e646c655365727669636560981b81525081565b6040516102239190613489565b61040d61040836600461349c565b6118d5565b60405161022391906135a5565b6102b4600080516020613fdd83398151915281565b61037b61043d3660046135cb565b611afa565b61023f610450366004612f97565b611e5c565b60dc5b60405160ff9091168152602001610223565b610349611fe1565b61034961207e565b6104586120a8565b61023f61049036600461367c565b61211f565b61023f6104a336600461367c565b6121b7565b60006104b4608c61222e565b9150506001600160a01b03811663fe1f18d68360646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b15801561051257600080fd5b505af1158015610526573d6000803e3d6000fd5b505050506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa15801561056a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058e91906136b5565b6040516306fa456560e01b81526001600160601b03851660048201529091506001600160a01b038216906306fa456590602401600060405180830381600087803b1580156105db57600080fd5b505af11580156105ef573d6000803e3d6000fd5b50506040516001600160601b03861681527f87cfb697b5d649751f13ba6e2e51778a1fd0a1f260df7281952986c453708e71925060200190505b60405180910390a1505050565b6000610642608c61222e565b9150506001600160a01b03811663fe1f18d68360c86040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b1580156106a057600080fd5b505af11580156106b4573d6000803e3d6000fd5b505050506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071c91906136b5565b6040516322cc1d4560e11b81526001600160601b03851660048201529091506000906001600160a01b038316906345983a8a90602401602060405180830381865afa15801561076f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079391906136d2565b905080156107cb576040516356a410b760e01b81526001600160601b0385166004820152602481018290526044015b60405180910390fd5b60405163b5346af560e01b81526001600160601b03851660048201526001600160a01b0383169063b5346af590602401600060405180830381600087803b15801561081557600080fd5b505af1158015610829573d6000803e3d6000fd5b50506040516001600160601b03871681527f3a12bd8160a5ced8b160505cad1dedc4066b23192a8769aa61df7cc0048e7e7f9250602001905060405180910390a150505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156108d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f591906136eb565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906109aa90613710565b80601f01602080910402602001604051908101604052809291908181526020018280546109d690613710565b8015610a235780601f106109f857610100808354040283529160200191610a23565b820191906000526020600020905b815481529060010190602001808311610a0657829003601f168201915b50505050508152505090506040518060e00160405280610a41600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610a926115a2565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020613fdd83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610b1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b41919061375a565b15610b6d5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016107c2565b30610b806001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610bc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bec919061375a565b610c145760405163b9304b0d60e01b81526001600160a01b03821660048201526024016107c2565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610c68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8c9190613782565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b600080610cbd608c61222e565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2591906136b5565b8351604051634793b4ab60e01b81526001600160601b0388166004820152919250906000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015610d7b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610da3919081019061382a565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e25919061375a565b610e715760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c532d3031303a42554e444c455f554e4b4e4f574e0000000060448201526064016107c2565b80516001600160601b03808416911614610ed85760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c532d3031313a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b60648201526084016107c2565b60208101869052604051631204b55360e01b81526001600160a01b03851690631204b55390610f10908a90859060ff90600401613911565b600060405180830381600087803b158015610f2a57600080fd5b505af1158015610f3e573d6000803e3d6000fd5b5050505050505050505050565b610f536124d0565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610f806124d0565b610f8a82876121b7565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610ffa8382613995565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611026610870565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611066573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108a9190613a74565b600080516020613ffd8339815191528054600160401b900460ff16806110bd575080546001600160401b03808416911610155b156110db5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561110583612509565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610629565b6111516124d0565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b336111a26001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156111ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120e919061375a565b61122a5760405162461bcd60e51b81526004016107c290613a91565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561126a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128e91906136b5565b604051634793b4ab60e01b81526001600160601b03861660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa1580156112e1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611309919081019061382a565b9050838160800181815161131d9190613ad2565b905250604051631204b55360e01b81526001600160a01b03881690631204b55390611351908890859060ff90600401613911565b600060405180830381600087803b15801561136b57600080fd5b505af115801561137f573d6000803e3d6000fd5b5050505061138d8787612511565b50505050505050565b600080516020613ffd8339815191528054600160401b810460ff1615906001600160401b03166000811580156113c95750825b90506000826001600160401b031660011480156113e55750303b155b9050811580156113f3575080155b156114115760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561143b57845460ff60401b1916600160401b1785555b6114458787612830565b831561138d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b61149c6124d0565b806001600160a01b03163b6000036114d25760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107c2565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa92505050801561154c575060408051601f3d908101601f191682019092526115499181019061375a565b60015b6115745760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107c2565b8061159d5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107c2565b505b50565b600080600080516020613fdd83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611612573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611636919061375a565b156116c3576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611699573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116bd91906136b5565b91505090565b54600160601b90046001600160a01b0316919050565b336116ec6001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611734573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611758919061375a565b6117745760405162461bcd60e51b81526004016107c290613a91565b6000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d891906136b5565b604051634793b4ab60e01b81526001600160601b03861660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa15801561182b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611853919081019061382a565b9050838160a0018181516118679190613af0565b905250604051631204b55360e01b81526001600160a01b03871690631204b5539061189b908890859060ff90600401613911565b600060405180830381600087803b1580156118b557600080fd5b505af11580156118c9573d6000803e3d6000fd5b50505050505050505050565b6118dd612ecc565b336118f06001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611938573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061195c919061375a565b6119785760405162461bcd60e51b81526004016107c290613a91565b6000876001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119dc91906136b5565b604051634793b4ab60e01b81526001600160601b03881660048201529091506001600160a01b03821690634793b4ab90602401600060405180830381865afa158015611a2c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a54919081019061382a565b92508483608001818151611a689190613af0565b90525060a083018051859190611a7f908390613af0565b905250604051631204b55360e01b81526001600160a01b03891690631204b55390611ab3908990879060ff90600401613911565b600060405180830381600087803b158015611acd57600080fd5b505af1158015611ae1573d6000803e3d6000fd5b50505050611aef888861294f565b505095945050505050565b60008080611b08608c61222e565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b7091906136b5565b90506000836000015190506000604051806101200160405280836001600160601b031681526020018c815260200189898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602082018d90526040820152606081018c905264ffffffffff8b16608082015260a001611c01600090565b64ffffffffff16815260006020909101529050611c1c611fe1565b6001600160a01b031663c2bf08c86040518060e00160405280611c3d600090565b6001600160601b03168152602001856001600160601b03168152602001611c6260dc90565b60ff16815260200160001515815260200160006001600160a01b031681526020018f6001600160a01b0316815260200184604051602001611ca391906135a5565b6040516020818303038152906040528152506040518263ffffffff1660e01b8152600401611cd19190613004565b6020604051808303816000875af1158015611cf0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d149190613782565b6040516307818a2560e11b81529096506001600160a01b03851690630f03144a90611d459089908590600401613b03565b600060405180830381600087803b158015611d5f57600080fd5b505af1158015611d73573d6000803e3d6000fd5b505050506000846001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611db7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ddb91906136b5565b6040516346f0e8a760e11b81526001600160601b03891660048201529091506001600160a01b03821690638de1d14e90602401600060405180830381600087803b158015611e2857600080fd5b505af1158015611e3c573d6000803e3d6000fd5b50505050611e4c8484898e612c12565b5050505050509695505050505050565b6000611e68608c61222e565b9150506001600160a01b03811663fe1f18d683606e6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015611ec657600080fd5b505af1158015611eda573d6000803e3d6000fd5b505050506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f4291906136b5565b60405163b5346af560e01b81526001600160601b03851660048201529091506001600160a01b0382169063b5346af590602401600060405180830381600087803b158015611f8f57600080fd5b505af1158015611fa3573d6000803e3d6000fd5b50506040516001600160601b03861681527f6764112d27879e5bb12f07fde08a48629ec22e603c75c9942ba62a06c95a55f492506020019050610629565b600080611ff66001546001600160a01b031690565b6001600160a01b031663d39e604360285b61200f6120a8565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612054573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061207891906136b5565b92915050565b6000806120936001546001600160a01b031690565b6001600160a01b031663d39e60436046612007565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156120fb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f59190613b30565b6121276124d0565b6121a782836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612169573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061218d9190613782565b603c60008560405180602001604052806000815250610f78565b61159d637b6a51fd60e01b610f4b565b6121bf6124d0565b6121c881611494565b6121d0611149565b6001600160a01b0382166121f75760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020613fdd83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa1580156122bd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526122e59190810190613b4d565b92506122fb83604001518560ff90811691161490565b61233d5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016107c2565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015612393573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526123bb9190810190613b4d565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015612404573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061242891906136b5565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015612475573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612499919061375a565b156124c857608085015160405163d53987e560e01b81526001600160a01b0390911660048201526024016107c2565b505050915091565b600080516020613ffd83398151915254600160401b900460ff1661250757604051631afcd79f60e31b815260040160405180910390fd5b565b6101e56124d0565b336125246001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa15801561256c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612590919061375a565b6125ac5760405162461bcd60e51b81526004016107c290613a91565b6000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125ec573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061261091906136b5565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612663573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261268b9190810190613c49565b61016081015190915061ffff16156126d2576101608101516040516309fa740360e41b81526001600160601b038616600482015261ffff90911660248201526044016107c2565b61275773__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561271e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127429190613db5565b826101c0015164ffffffffff90811691161090565b801561276b57508060800151816101800151105b15612794576040516389670e9b60e01b81526001600160601b03851660048201526024016107c2565b6000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156127d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127f891906136b5565b604051631351fccf60e31b81526001600160601b03871660048201529091506001600160a01b03821690639a8fe6789060240161189b565b600080516020613ffd8339815191528054600160401b810460ff1615906001600160401b03166000811580156128635750825b90506000826001600160401b0316600114801561287f5750303b155b90508115801561288d575080155b156128ab5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156128d557845460ff60401b1916600160401b1785555b600080878060200190518101906128ec9190613dd2565b90925090506128fb828a61211f565b61290b63145fb19560e01b610f4b565b5050831561138d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611483565b336129626001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156129aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129ce919061375a565b6129ea5760405162461bcd60e51b81526004016107c290613a91565b6000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a4e91906136b5565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612aa1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612ac99190810190613c49565b6101a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015612b29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b4d919061375a565b15612b7657604051630cd0c0b560e31b81526001600160601b03851660048201526024016107c2565b6000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015612bb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bda91906136b5565b604051630331f98560e21b81526001600160601b03871660048201529091506001600160a01b03821690630cc7e6149060240161189b565b8015612ec65760405163f0ea17c360e01b81526001600160601b03841660048201526000906001600160a01b0386169063f0ea17c390602401600060405180830381865afa158015612c68573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612c909190810190613e01565b905060008160800151806020019051810190612cac9190613ed8565b60408301519091506000612cc86001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03881660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612d17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d3b91906136b5565b61012084015160608601516040516317d5759960e31b81526001600160a01b03808516600483015291821660248201526044810189905292935090919084169063beabacc890606401600060405180830381600087803b158015612d9e57600080fd5b505af1158015612db2573d6000803e3d6000fd5b50506040516346f0526160e11b815273__$a23651848365a6a5ca15f07b4331037f48$__9250638de0a4c29150612ded908490600401613fa1565b602060405180830381865af4158015612e0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e2e919061375a565b612ec05760405163012ebd8360e21b8152815160048201526020820151602482015260448101879052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612e97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ebb9190613fb8565b505050505b50505050505b50505050565b60405180610120016040528060006001600160601b03168152602001612f05604051806040016040528060008152602001600081525090565b815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff1681525090565b600060208284031215612f6357600080fd5b81356001600160e01b031981168114612f7b57600080fd5b9392505050565b6001600160601b038116811461159f57600080fd5b600060208284031215612fa957600080fd5b8135612f7b81612f82565b60005b83811015612fcf578181015183820152602001612fb7565b50506000910152565b60008151808452612ff0816020860160208601612fb4565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161306d60c08401826001600160a01b03169052565b5060c083015160e080840152613087610100840182612fd8565b949350505050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156130c7576130c761308f565b60405290565b60405161012081016001600160401b03811182821017156130c7576130c761308f565b60405160e081016001600160401b03811182821017156130c7576130c761308f565b60405161020081016001600160401b03811182821017156130c7576130c761308f565b60405160a081016001600160401b03811182821017156130c7576130c761308f565b60405161016081016001600160401b03811182821017156130c7576130c761308f565b604051601f8201601f191681016001600160401b03811182821017156131a2576131a261308f565b604052919050565b6000604082840312156131bc57600080fd5b6131c46130a5565b9050813581526020820135602082015292915050565b600080606083850312156131ed57600080fd5b82356131f881612f82565b915061320784602085016131aa565b90509250929050565b6001600160a01b038116811461159f57600080fd5b60ff8116811461159f57600080fd5b801515811461159f57600080fd5b60006001600160401b0382111561325b5761325b61308f565b50601f01601f191660200190565b600082601f83011261327a57600080fd5b813561328d61328882613242565b61317a565b8181528460208386010111156132a257600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156132d857600080fd5b86356132e381613210565b955060208701356132f381612f82565b9450604087013561330381613225565b9350606087013561331381613234565b9250608087013561332381613210565b915060a08701356001600160401b0381111561333e57600080fd5b61334a89828a01613269565b9150509295509295509295565b60006020828403121561336957600080fd5b81356001600160401b0381111561337f57600080fd5b61308784828501613269565b600080600080608085870312156133a157600080fd5b84356133ac81613210565b935060208501356133bc81612f82565b925060408501356133cc81612f82565b9396929550929360600135925050565b600080604083850312156133ef57600080fd5b82356133fa81613210565b915060208301356001600160401b0381111561341557600080fd5b61342185828601613269565b9150509250929050565b60006020828403121561343d57600080fd5b8135612f7b81613210565b60008060006060848603121561345d57600080fd5b833561346881613210565b9250602084013561347881612f82565b929592945050506040919091013590565b602081526000612f7b6020830184612fd8565b600080600080600060a086880312156134b457600080fd5b85356134bf81613210565b945060208601356134cf81612f82565b935060408601356134df81612f82565b94979396509394606081013594506080013592915050565b80516001600160601b03168252600061014060208381015180518683015290810151604086015250604083015181606086015261353682860182612fd8565b91505060608301516080850152608083015160a085015260a083015160c085015260c083015161356f60e086018264ffffffffff169052565b5060e083015161010061358a8187018364ffffffffff169052565b84015164ffffffffff81166101208701529050509392505050565b602081526000612f7b60208301846134f7565b64ffffffffff8116811461159f57600080fd5b60008060008060008060c087890312156135e457600080fd5b86356135ef81613210565b95506135fe88602089016131aa565b9450606087013593506080870135613615816135b8565b925060a08701356001600160401b038082111561363157600080fd5b818901915089601f83011261364557600080fd5b81358181111561365457600080fd5b8a602082850101111561366657600080fd5b6020830194508093505050509295509295509295565b6000806040838503121561368f57600080fd5b823561369a81613210565b915060208301356136aa81613210565b809150509250929050565b6000602082840312156136c757600080fd5b8151612f7b81613210565b6000602082840312156136e457600080fd5b5051919050565b6000602082840312156136fd57600080fd5b815162ffffff81168114612f7b57600080fd5b600181811c9082168061372457607f821691505b60208210810361374457634e487b7160e01b600052602260045260246000fd5b50919050565b805161375581613234565b919050565b60006020828403121561376c57600080fd5b8151612f7b81613234565b805161375581612f82565b60006020828403121561379457600080fd5b8151612f7b81612f82565b6000604082840312156137b157600080fd5b6137b96130a5565b9050815181526020820151602082015292915050565b60006137dd61328884613242565b90508281528383830111156137f157600080fd5b612f7b836020830184612fb4565b600082601f83011261381057600080fd5b612f7b838351602085016137cf565b8051613755816135b8565b60006020828403121561383c57600080fd5b81516001600160401b038082111561385357600080fd5b90830190610140828603121561386857600080fd5b6138706130cd565b61387983613777565b8152613888866020850161379f565b602082015260608301518281111561389f57600080fd5b6138ab878286016137ff565b6040830152506080830151606082015260a0830151608082015260c083015160a08201526138db60e0840161381f565b60c082015261010091506138f082840161381f565b60e0820152613902610120840161381f565b91810191909152949350505050565b6001600160601b038416815260606020820152600061393360608301856134f7565b905060ff83166040830152949350505050565b601f82111561399057600081815260208120601f850160051c8101602086101561396d5750805b601f850160051c820191505b8181101561398c57828155600101613979565b5050505b505050565b81516001600160401b038111156139ae576139ae61308f565b6139c2816139bc8454613710565b84613946565b602080601f8311600181146139f757600084156139df5750858301515b600019600386901b1c1916600185901b17855561398c565b600085815260208120601f198616915b82811015613a2657888601518255948401946001909101908401613a07565b5085821015613a445787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b038116811461159f57600080fd5b805161375581613a54565b600060208284031215613a8657600080fd5b8151612f7b81613a54565b6020808252601190820152704552524f525f4e4f545f5345525649434560781b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8181038181111561207857612078613abc565b805161375581613210565b8082018082111561207857612078613abc565b6001600160601b038316815260406020820152600061308760408301846134f7565b805161375581613225565b600060208284031215613b4257600080fd5b8151612f7b81613225565b600060208284031215613b5f57600080fd5b81516001600160401b0380821115613b7657600080fd5b9083019060e08286031215613b8a57600080fd5b613b926130f0565b613b9b83613777565b8152613ba960208401613777565b6020820152613bba60408401613b25565b6040820152613bcb6060840161374a565b6060820152613bdc60808401613ae5565b6080820152613bed60a08401613ae5565b60a082015260c083015182811115613c0457600080fd5b613c10878286016137ff565b60c08301525095945050505050565b80516001600160c01b03198116811461375557600080fd5b805161ffff8116811461375557600080fd5b600060208284031215613c5b57600080fd5b81516001600160401b0380821115613c7257600080fd5b908301906102008286031215613c8757600080fd5b613c8f613112565b613c9883613777565b8152613ca660208401613777565b6020820152613cb760408401613c1f565b6040820152613cc860608401613c1f565b60608201526080830151608082015260a083015160a082015260c083015160c0820152613cf760e0840161381f565b60e08201526101008084015183811115613d1057600080fd5b613d1c888287016137ff565b8284015250506101208084015183811115613d3657600080fd5b613d42888287016137ff565b8284015250506101409150613d58828401613c37565b828201526101609150613d6c828401613c37565b82820152610180915081830151828201526101a09150613d8d82840161381f565b828201526101c09150613da182840161381f565b828201526101e0915061390282840161381f565b600060208284031215613dc757600080fd5b8151612f7b816135b8565b60008060408385031215613de557600080fd5b8251613df081613210565b60208401519092506136aa81613210565b600060208284031215613e1357600080fd5b81516001600160401b0380821115613e2a57600080fd5b9083019060a08286031215613e3e57600080fd5b613e46613135565b825182811115613e5557600080fd5b8301601f81018713613e6657600080fd5b613e75878251602084016137cf565b825250613e8460208401613ae5565b6020820152613e9560408401613ae5565b6040820152613ea660608401613ae5565b6060820152608083015182811115613ebd57600080fd5b613ec9878286016137ff565b60808301525095945050505050565b60006101c08284031215613eeb57600080fd5b613ef3613157565b613efc83613777565b8152613f0a60208401613a69565b602082015260408301516040820152613f256060840161374a565b6060820152613f366080840161374a565b6080820152613f4760a0840161374a565b60a082015260c083015160c082015260e083015160e0820152610100613f6f8582860161379f565b90820152610140613f828585830161379f565b610120830152613f9685610180860161379f565b908201529392505050565b815181526020808301519082015260408101612078565b60008060408385031215613fcb57600080fd5b50508051602090910151909290915056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220237e99709a2c40a07f13fa151df6f2e3354e16f817b148116991fb6482af702164736f6c63430008140033",
972
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101e55760003560e01c8063644c45e01161010f578063b5346af5116100a2578063cde749f411610071578063cde749f41461047a578063ea86657214610482578063f21de1e81461033c578063f7c34ee01461049557600080fd5b8063b5346af514610442578063b68d180914610455578063caf4e3d41461046a578063cc9fc59a1461047257600080fd5b8063a3f4df7e116100de578063a3f4df7e146103c1578063a7e0dea7146103fa578063ada9652e1461041a578063b2a382d31461042f57600080fd5b8063644c45e014610361578063675393bf14610393578063893d20e8146103a65780639babe3bf146103ae57600080fd5b80631f8e8f361161018757806336fc697e1161015657806336fc697e1461030e5780633c5c06101461031657806349bb9e4b146103295780635ab1bd531461033c57600080fd5b80631f8e8f36146102c2578063214cdb80146102d557806327bb7a33146102e8578063329d6e74146102fb57600080fd5b80630d8e6e2c116101c35780630d8e6e2c146102545780630fec111c14610270578063138461e0146102855780631eff4b221461028d57600080fd5b806301ffc9a7146101ea57806306fa45651461022c5780630aaba8e814610241575b600080fd5b6102176101f8366004612f51565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61023f61023a366004612f97565b6104a8565b005b61023f61024f366004612f97565b610636565b61025c610870565b60405162ffffff9091168152602001610223565b6102786108fa565b6040516102239190613004565b61023f610aae565b6102b47f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610223565b61023f6102d03660046131da565b610cb0565b61023f6102e3366004612f51565b610f4b565b61023f6102f63660046132bf565b610f78565b61023f610309366004613357565b611004565b61023f611149565b61023f61032436600461338b565b61118f565b61023f6103373660046133dc565b611396565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610223565b600080516020613fdd833981519152546001600160601b03165b6040516001600160601b039091168152602001610223565b61023f6103a136600461342b565b611494565b6103496115a2565b61023f6103bc366004613448565b6116d9565b6103ed6040518060400160405280600d81526020016c42756e646c655365727669636560981b81525081565b6040516102239190613489565b61040d61040836600461349c565b6118d5565b60405161022391906135a5565b6102b4600080516020613fdd83398151915281565b61037b61043d3660046135cb565b611afa565b61023f610450366004612f97565b611e5c565b60dc5b60405160ff9091168152602001610223565b610349611fe1565b61034961207e565b6104586120a8565b61023f61049036600461367c565b61211f565b61023f6104a336600461367c565b6121b7565b60006104b4608c61222e565b9150506001600160a01b03811663fe1f18d68360646040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b15801561051257600080fd5b505af1158015610526573d6000803e3d6000fd5b505050506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa15801561056a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058e91906136b5565b6040516306fa456560e01b81526001600160601b03851660048201529091506001600160a01b038216906306fa456590602401600060405180830381600087803b1580156105db57600080fd5b505af11580156105ef573d6000803e3d6000fd5b50506040516001600160601b03861681527f87cfb697b5d649751f13ba6e2e51778a1fd0a1f260df7281952986c453708e71925060200190505b60405180910390a1505050565b6000610642608c61222e565b9150506001600160a01b03811663fe1f18d68360c86040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b1580156106a057600080fd5b505af11580156106b4573d6000803e3d6000fd5b505050506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071c91906136b5565b6040516322cc1d4560e11b81526001600160601b03851660048201529091506000906001600160a01b038316906345983a8a90602401602060405180830381865afa15801561076f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079391906136d2565b905080156107cb576040516356a410b760e01b81526001600160601b0385166004820152602481018290526044015b60405180910390fd5b60405163b5346af560e01b81526001600160601b03851660048201526001600160a01b0383169063b5346af590602401600060405180830381600087803b15801561081557600080fd5b505af1158015610829573d6000803e3d6000fd5b50506040516001600160601b03871681527f3a12bd8160a5ced8b160505cad1dedc4066b23192a8769aa61df7cc0048e7e7f9250602001905060405180910390a150505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156108d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f591906136eb565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906109aa90613710565b80601f01602080910402602001604051908101604052809291908181526020018280546109d690613710565b8015610a235780601f106109f857610100808354040283529160200191610a23565b820191906000526020600020905b815481529060010190602001808311610a0657829003601f168201915b50505050508152505090506040518060e00160405280610a41600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610a926115a2565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020613fdd83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610b1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b41919061375a565b15610b6d5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016107c2565b30610b806001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610bc8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bec919061375a565b610c145760405163b9304b0d60e01b81526001600160a01b03821660048201526024016107c2565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610c68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8c9190613782565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b600080610cbd608c61222e565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2591906136b5565b8351604051634793b4ab60e01b81526001600160601b0388166004820152919250906000906001600160a01b03841690634793b4ab90602401600060405180830381865afa158015610d7b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610da3919081019061382a565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e25919061375a565b610e715760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c532d3031303a42554e444c455f554e4b4e4f574e0000000060448201526064016107c2565b80516001600160601b03808416911614610ed85760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c532d3031313a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b60648201526084016107c2565b60208101869052604051631204b55360e01b81526001600160a01b03851690631204b55390610f10908a90859060ff90600401613911565b600060405180830381600087803b158015610f2a57600080fd5b505af1158015610f3e573d6000803e3d6000fd5b5050505050505050505050565b610f536124d0565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610f806124d0565b610f8a82876121b7565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610ffa8382613995565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611026610870565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611066573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108a9190613a74565b600080516020613ffd8339815191528054600160401b900460ff16806110bd575080546001600160401b03808416911610155b156110db5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561110583612509565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610629565b6111516124d0565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b336111a26001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156111ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120e919061375a565b61122a5760405162461bcd60e51b81526004016107c290613a91565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561126a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128e91906136b5565b604051634793b4ab60e01b81526001600160601b03861660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa1580156112e1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611309919081019061382a565b9050838160800181815161131d9190613ad2565b905250604051631204b55360e01b81526001600160a01b03881690631204b55390611351908890859060ff90600401613911565b600060405180830381600087803b15801561136b57600080fd5b505af115801561137f573d6000803e3d6000fd5b5050505061138d8787612511565b50505050505050565b600080516020613ffd8339815191528054600160401b810460ff1615906001600160401b03166000811580156113c95750825b90506000826001600160401b031660011480156113e55750303b155b9050811580156113f3575080155b156114115760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561143b57845460ff60401b1916600160401b1785555b6114458787612830565b831561138d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a150505050505050565b61149c6124d0565b806001600160a01b03163b6000036114d25760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107c2565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa92505050801561154c575060408051601f3d908101601f191682019092526115499181019061375a565b60015b6115745760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107c2565b8061159d5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107c2565b505b50565b600080600080516020613fdd83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611612573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611636919061375a565b156116c3576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611699573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116bd91906136b5565b91505090565b54600160601b90046001600160a01b0316919050565b336116ec6001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611734573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611758919061375a565b6117745760405162461bcd60e51b81526004016107c290613a91565b6000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d891906136b5565b604051634793b4ab60e01b81526001600160601b03861660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa15801561182b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611853919081019061382a565b9050838160a0018181516118679190613af0565b905250604051631204b55360e01b81526001600160a01b03871690631204b5539061189b908890859060ff90600401613911565b600060405180830381600087803b1580156118b557600080fd5b505af11580156118c9573d6000803e3d6000fd5b50505050505050505050565b6118dd612ecc565b336118f06001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611938573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061195c919061375a565b6119785760405162461bcd60e51b81526004016107c290613a91565b6000876001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119dc91906136b5565b604051634793b4ab60e01b81526001600160601b03881660048201529091506001600160a01b03821690634793b4ab90602401600060405180830381865afa158015611a2c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a54919081019061382a565b92508483608001818151611a689190613af0565b90525060a083018051859190611a7f908390613af0565b905250604051631204b55360e01b81526001600160a01b03891690631204b55390611ab3908990879060ff90600401613911565b600060405180830381600087803b158015611acd57600080fd5b505af1158015611ae1573d6000803e3d6000fd5b50505050611aef888861294f565b505095945050505050565b60008080611b08608c61222e565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b7091906136b5565b90506000836000015190506000604051806101200160405280836001600160601b031681526020018c815260200189898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602082018d90526040820152606081018c905264ffffffffff8b16608082015260a001611c01600090565b64ffffffffff16815260006020909101529050611c1c611fe1565b6001600160a01b031663c2bf08c86040518060e00160405280611c3d600090565b6001600160601b03168152602001856001600160601b03168152602001611c6260dc90565b60ff16815260200160001515815260200160006001600160a01b031681526020018f6001600160a01b0316815260200184604051602001611ca391906135a5565b6040516020818303038152906040528152506040518263ffffffff1660e01b8152600401611cd19190613004565b6020604051808303816000875af1158015611cf0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d149190613782565b6040516307818a2560e11b81529096506001600160a01b03851690630f03144a90611d459089908590600401613b03565b600060405180830381600087803b158015611d5f57600080fd5b505af1158015611d73573d6000803e3d6000fd5b505050506000846001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611db7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ddb91906136b5565b6040516346f0e8a760e11b81526001600160601b03891660048201529091506001600160a01b03821690638de1d14e90602401600060405180830381600087803b158015611e2857600080fd5b505af1158015611e3c573d6000803e3d6000fd5b50505050611e4c8484898e612c12565b5050505050509695505050505050565b6000611e68608c61222e565b9150506001600160a01b03811663fe1f18d683606e6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401600060405180830381600087803b158015611ec657600080fd5b505af1158015611eda573d6000803e3d6000fd5b505050506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f4291906136b5565b60405163b5346af560e01b81526001600160601b03851660048201529091506001600160a01b0382169063b5346af590602401600060405180830381600087803b158015611f8f57600080fd5b505af1158015611fa3573d6000803e3d6000fd5b50506040516001600160601b03861681527f6764112d27879e5bb12f07fde08a48629ec22e603c75c9942ba62a06c95a55f492506020019050610629565b600080611ff66001546001600160a01b031690565b6001600160a01b031663d39e604360285b61200f6120a8565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015612054573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061207891906136b5565b92915050565b6000806120936001546001600160a01b031690565b6001600160a01b031663d39e60436046612007565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156120fb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f59190613b30565b6121276124d0565b6121a782836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612169573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061218d9190613782565b603c60008560405180602001604052806000815250610f78565b61159d637b6a51fd60e01b610f4b565b6121bf6124d0565b6121c881611494565b6121d0611149565b6001600160a01b0382166121f75760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020613fdd83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa1580156122bd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526122e59190810190613b4d565b92506122fb83604001518560ff90811691161490565b61233d5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016107c2565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015612393573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526123bb9190810190613b4d565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015612404573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061242891906136b5565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015612475573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612499919061375a565b156124c857608085015160405163d53987e560e01b81526001600160a01b0390911660048201526024016107c2565b505050915091565b600080516020613ffd83398151915254600160401b900460ff1661250757604051631afcd79f60e31b815260040160405180910390fd5b565b6101e56124d0565b336125246001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa15801561256c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612590919061375a565b6125ac5760405162461bcd60e51b81526004016107c290613a91565b6000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125ec573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061261091906136b5565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612663573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261268b9190810190613c49565b61016081015190915061ffff16156126d2576101608101516040516309fa740360e41b81526001600160601b038616600482015261ffff90911660248201526044016107c2565b61275773__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561271e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127429190613db5565b826101c0015164ffffffffff90811691161090565b801561276b57508060800151816101800151105b15612794576040516389670e9b60e01b81526001600160601b03851660048201526024016107c2565b6000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156127d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127f891906136b5565b604051631351fccf60e31b81526001600160601b03871660048201529091506001600160a01b03821690639a8fe6789060240161189b565b600080516020613ffd8339815191528054600160401b810460ff1615906001600160401b03166000811580156128635750825b90506000826001600160401b0316600114801561287f5750303b155b90508115801561288d575080155b156128ab5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156128d557845460ff60401b1916600160401b1785555b600080878060200190518101906128ec9190613dd2565b90925090506128fb828a61211f565b61290b63145fb19560e01b610f4b565b5050831561138d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611483565b336129626001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156129aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129ce919061375a565b6129ea5760405162461bcd60e51b81526004016107c290613a91565b6000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a4e91906136b5565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612aa1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612ac99190810190613c49565b6101a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af4158015612b29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b4d919061375a565b15612b7657604051630cd0c0b560e31b81526001600160601b03851660048201526024016107c2565b6000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015612bb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bda91906136b5565b604051630331f98560e21b81526001600160601b03871660048201529091506001600160a01b03821690630cc7e6149060240161189b565b8015612ec65760405163f0ea17c360e01b81526001600160601b03841660048201526000906001600160a01b0386169063f0ea17c390602401600060405180830381865afa158015612c68573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612c909190810190613e01565b905060008160800151806020019051810190612cac9190613ed8565b60408301519091506000612cc86001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03881660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612d17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d3b91906136b5565b61012084015160608601516040516317d5759960e31b81526001600160a01b03808516600483015291821660248201526044810189905292935090919084169063beabacc890606401600060405180830381600087803b158015612d9e57600080fd5b505af1158015612db2573d6000803e3d6000fd5b50506040516346f0526160e11b815273__$a23651848365a6a5ca15f07b4331037f48$__9250638de0a4c29150612ded908490600401613fa1565b602060405180830381865af4158015612e0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e2e919061375a565b612ec05760405163012ebd8360e21b8152815160048201526020820151602482015260448101879052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612e97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ebb9190613fb8565b505050505b50505050505b50505050565b60405180610120016040528060006001600160601b03168152602001612f05604051806040016040528060008152602001600081525090565b815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff1681525090565b600060208284031215612f6357600080fd5b81356001600160e01b031981168114612f7b57600080fd5b9392505050565b6001600160601b038116811461159f57600080fd5b600060208284031215612fa957600080fd5b8135612f7b81612f82565b60005b83811015612fcf578181015183820152602001612fb7565b50506000910152565b60008151808452612ff0816020860160208601612fb4565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161306d60c08401826001600160a01b03169052565b5060c083015160e080840152613087610100840182612fd8565b949350505050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156130c7576130c761308f565b60405290565b60405161012081016001600160401b03811182821017156130c7576130c761308f565b60405160e081016001600160401b03811182821017156130c7576130c761308f565b60405161020081016001600160401b03811182821017156130c7576130c761308f565b60405160a081016001600160401b03811182821017156130c7576130c761308f565b60405161016081016001600160401b03811182821017156130c7576130c761308f565b604051601f8201601f191681016001600160401b03811182821017156131a2576131a261308f565b604052919050565b6000604082840312156131bc57600080fd5b6131c46130a5565b9050813581526020820135602082015292915050565b600080606083850312156131ed57600080fd5b82356131f881612f82565b915061320784602085016131aa565b90509250929050565b6001600160a01b038116811461159f57600080fd5b60ff8116811461159f57600080fd5b801515811461159f57600080fd5b60006001600160401b0382111561325b5761325b61308f565b50601f01601f191660200190565b600082601f83011261327a57600080fd5b813561328d61328882613242565b61317a565b8181528460208386010111156132a257600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156132d857600080fd5b86356132e381613210565b955060208701356132f381612f82565b9450604087013561330381613225565b9350606087013561331381613234565b9250608087013561332381613210565b915060a08701356001600160401b0381111561333e57600080fd5b61334a89828a01613269565b9150509295509295509295565b60006020828403121561336957600080fd5b81356001600160401b0381111561337f57600080fd5b61308784828501613269565b600080600080608085870312156133a157600080fd5b84356133ac81613210565b935060208501356133bc81612f82565b925060408501356133cc81612f82565b9396929550929360600135925050565b600080604083850312156133ef57600080fd5b82356133fa81613210565b915060208301356001600160401b0381111561341557600080fd5b61342185828601613269565b9150509250929050565b60006020828403121561343d57600080fd5b8135612f7b81613210565b60008060006060848603121561345d57600080fd5b833561346881613210565b9250602084013561347881612f82565b929592945050506040919091013590565b602081526000612f7b6020830184612fd8565b600080600080600060a086880312156134b457600080fd5b85356134bf81613210565b945060208601356134cf81612f82565b935060408601356134df81612f82565b94979396509394606081013594506080013592915050565b80516001600160601b03168252600061014060208381015180518683015290810151604086015250604083015181606086015261353682860182612fd8565b91505060608301516080850152608083015160a085015260a083015160c085015260c083015161356f60e086018264ffffffffff169052565b5060e083015161010061358a8187018364ffffffffff169052565b84015164ffffffffff81166101208701529050509392505050565b602081526000612f7b60208301846134f7565b64ffffffffff8116811461159f57600080fd5b60008060008060008060c087890312156135e457600080fd5b86356135ef81613210565b95506135fe88602089016131aa565b9450606087013593506080870135613615816135b8565b925060a08701356001600160401b038082111561363157600080fd5b818901915089601f83011261364557600080fd5b81358181111561365457600080fd5b8a602082850101111561366657600080fd5b6020830194508093505050509295509295509295565b6000806040838503121561368f57600080fd5b823561369a81613210565b915060208301356136aa81613210565b809150509250929050565b6000602082840312156136c757600080fd5b8151612f7b81613210565b6000602082840312156136e457600080fd5b5051919050565b6000602082840312156136fd57600080fd5b815162ffffff81168114612f7b57600080fd5b600181811c9082168061372457607f821691505b60208210810361374457634e487b7160e01b600052602260045260246000fd5b50919050565b805161375581613234565b919050565b60006020828403121561376c57600080fd5b8151612f7b81613234565b805161375581612f82565b60006020828403121561379457600080fd5b8151612f7b81612f82565b6000604082840312156137b157600080fd5b6137b96130a5565b9050815181526020820151602082015292915050565b60006137dd61328884613242565b90508281528383830111156137f157600080fd5b612f7b836020830184612fb4565b600082601f83011261381057600080fd5b612f7b838351602085016137cf565b8051613755816135b8565b60006020828403121561383c57600080fd5b81516001600160401b038082111561385357600080fd5b90830190610140828603121561386857600080fd5b6138706130cd565b61387983613777565b8152613888866020850161379f565b602082015260608301518281111561389f57600080fd5b6138ab878286016137ff565b6040830152506080830151606082015260a0830151608082015260c083015160a08201526138db60e0840161381f565b60c082015261010091506138f082840161381f565b60e0820152613902610120840161381f565b91810191909152949350505050565b6001600160601b038416815260606020820152600061393360608301856134f7565b905060ff83166040830152949350505050565b601f82111561399057600081815260208120601f850160051c8101602086101561396d5750805b601f850160051c820191505b8181101561398c57828155600101613979565b5050505b505050565b81516001600160401b038111156139ae576139ae61308f565b6139c2816139bc8454613710565b84613946565b602080601f8311600181146139f757600084156139df5750858301515b600019600386901b1c1916600185901b17855561398c565b600085815260208120601f198616915b82811015613a2657888601518255948401946001909101908401613a07565b5085821015613a445787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b038116811461159f57600080fd5b805161375581613a54565b600060208284031215613a8657600080fd5b8151612f7b81613a54565b6020808252601190820152704552524f525f4e4f545f5345525649434560781b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8181038181111561207857612078613abc565b805161375581613210565b8082018082111561207857612078613abc565b6001600160601b038316815260406020820152600061308760408301846134f7565b805161375581613225565b600060208284031215613b4257600080fd5b8151612f7b81613225565b600060208284031215613b5f57600080fd5b81516001600160401b0380821115613b7657600080fd5b9083019060e08286031215613b8a57600080fd5b613b926130f0565b613b9b83613777565b8152613ba960208401613777565b6020820152613bba60408401613b25565b6040820152613bcb6060840161374a565b6060820152613bdc60808401613ae5565b6080820152613bed60a08401613ae5565b60a082015260c083015182811115613c0457600080fd5b613c10878286016137ff565b60c08301525095945050505050565b80516001600160c01b03198116811461375557600080fd5b805161ffff8116811461375557600080fd5b600060208284031215613c5b57600080fd5b81516001600160401b0380821115613c7257600080fd5b908301906102008286031215613c8757600080fd5b613c8f613112565b613c9883613777565b8152613ca660208401613777565b6020820152613cb760408401613c1f565b6040820152613cc860608401613c1f565b60608201526080830151608082015260a083015160a082015260c083015160c0820152613cf760e0840161381f565b60e08201526101008084015183811115613d1057600080fd5b613d1c888287016137ff565b8284015250506101208084015183811115613d3657600080fd5b613d42888287016137ff565b8284015250506101409150613d58828401613c37565b828201526101609150613d6c828401613c37565b82820152610180915081830151828201526101a09150613d8d82840161381f565b828201526101c09150613da182840161381f565b828201526101e0915061390282840161381f565b600060208284031215613dc757600080fd5b8151612f7b816135b8565b60008060408385031215613de557600080fd5b8251613df081613210565b60208401519092506136aa81613210565b600060208284031215613e1357600080fd5b81516001600160401b0380821115613e2a57600080fd5b9083019060a08286031215613e3e57600080fd5b613e46613135565b825182811115613e5557600080fd5b8301601f81018713613e6657600080fd5b613e75878251602084016137cf565b825250613e8460208401613ae5565b6020820152613e9560408401613ae5565b6040820152613ea660608401613ae5565b6060820152608083015182811115613ebd57600080fd5b613ec9878286016137ff565b60808301525095945050505050565b60006101c08284031215613eeb57600080fd5b613ef3613157565b613efc83613777565b8152613f0a60208401613a69565b602082015260408301516040820152613f256060840161374a565b6060820152613f366080840161374a565b6080820152613f4760a0840161374a565b60a082015260c083015160c082015260e083015160e0820152610100613f6f8582860161379f565b90820152610140613f828585830161379f565b610120830152613f9685610180860161379f565b908201529392505050565b815181526020808301519082015260408101612078565b60008060408385031215613fcb57600080fd5b50508051602090910151909290915056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220237e99709a2c40a07f13fa151df6f2e3354e16f817b148116991fb6482af702164736f6c63430008140033",
973
- "linkReferences": {
974
- "contracts/types/Fee.sol": {
975
- "FeeLib": [
976
- {
977
- "length": 20,
978
- "start": 11945
979
- },
980
- {
981
- "length": 20,
982
- "start": 12100
983
- }
984
- ]
985
- },
986
- "contracts/types/NftId.sol": {
987
- "NftIdLib": [
988
- {
989
- "length": 20,
990
- "start": 3017
991
- },
992
- {
993
- "length": 20,
994
- "start": 3757
995
- },
996
- {
997
- "length": 20,
998
- "start": 5822
999
- }
1000
- ]
1001
- },
1002
- "contracts/types/Timestamp.sol": {
1003
- "TimestampLib": [
1004
- {
1005
- "length": 20,
1006
- "start": 10173
1007
- },
1008
- {
1009
- "length": 20,
1010
- "start": 11221
1011
- }
1012
- ]
1013
- },
1014
- "contracts/types/Version.sol": {
1015
- "VersionLib": [
1016
- {
1017
- "length": 20,
1018
- "start": 2429
1019
- },
1020
- {
1021
- "length": 20,
1022
- "start": 4332
1023
- }
1024
- ],
1025
- "VersionPartLib": [
1026
- {
1027
- "length": 20,
1028
- "start": 8615
1029
- }
1030
- ]
1031
- }
1032
- },
1033
- "deployedLinkReferences": {
1034
- "contracts/types/Fee.sol": {
1035
- "FeeLib": [
1036
- {
1037
- "length": 20,
1038
- "start": 11715
1039
- },
1040
- {
1041
- "length": 20,
1042
- "start": 11870
1043
- }
1044
- ]
1045
- },
1046
- "contracts/types/NftId.sol": {
1047
- "NftIdLib": [
1048
- {
1049
- "length": 20,
1050
- "start": 2787
1051
- },
1052
- {
1053
- "length": 20,
1054
- "start": 3527
1055
- },
1056
- {
1057
- "length": 20,
1058
- "start": 5592
1059
- }
1060
- ]
1061
- },
1062
- "contracts/types/Timestamp.sol": {
1063
- "TimestampLib": [
1064
- {
1065
- "length": 20,
1066
- "start": 9943
1067
- },
1068
- {
1069
- "length": 20,
1070
- "start": 10991
1071
- }
1072
- ]
1073
- },
1074
- "contracts/types/Version.sol": {
1075
- "VersionLib": [
1076
- {
1077
- "length": 20,
1078
- "start": 2199
1079
- },
1080
- {
1081
- "length": 20,
1082
- "start": 4102
1083
- }
1084
- ],
1085
- "VersionPartLib": [
1086
- {
1087
- "length": 20,
1088
- "start": 8385
1089
- }
1090
- ]
1091
- }
1092
- }
1093
- }