@etherisc/gif-next 0.0.2-bfb44e0-483 → 0.0.2-c00cf5d-513

Sign up to get free protection for your applications and to get access to all the features.
Files changed (506) 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 +206 -244
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1583 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +855 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +206 -156
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +380 -196
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +68 -54
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +277 -1998
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +172 -230
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +389 -2735
  20. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +692 -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 +443 -255
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +217 -479
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +246 -129
  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 +6 -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 +93 -14
  39. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  40. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +38 -13
  41. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  42. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
  43. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  44. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +25 -150
  45. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  47. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  48. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  53. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  54. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1307 -0
  55. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  56. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +767 -0
  57. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  58. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +273 -336
  59. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  60. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +386 -185
  61. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  62. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1077 -0
  63. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  64. package/artifacts/contracts/{components → pool}/Pool.sol/Pool.json +363 -303
  65. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  66. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1649 -0
  67. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  68. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +783 -0
  69. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  70. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +937 -0
  71. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  72. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +719 -0
  73. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  74. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1405 -0
  75. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  76. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +819 -0
  77. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  78. package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +109 -254
  79. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  80. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +753 -0
  81. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  82. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +174 -307
  83. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  84. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +235 -237
  85. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  86. package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +212 -164
  87. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  88. package/artifacts/contracts/{instance/service → product}/IProductService.sol/IProductService.json +67 -174
  89. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1300 -0
  91. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +811 -0
  93. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  94. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1023 -0
  95. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +759 -0
  97. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  98. package/artifacts/contracts/{components → product}/Product.sol/Product.json +166 -239
  99. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  100. package/artifacts/contracts/product/ProductService.sol/ProductService.json +891 -0
  101. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +715 -0
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  104. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  105. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +123 -19
  107. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +212 -240
  109. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  110. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  111. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  112. package/artifacts/contracts/registry/Registry.sol/Registry.json +146 -34
  113. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  114. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +292 -0
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +245 -314
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +240 -123
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  120. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +597 -86
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +44 -92
  123. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
  124. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
  125. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
  126. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1715 -0
  127. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
  128. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1728 -0
  129. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
  130. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1806 -0
  131. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
  132. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1824 -0
  133. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  134. package/artifacts/contracts/{components → shared}/Component.sol/Component.json +146 -151
  135. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  136. package/artifacts/contracts/{instance/base → shared}/ComponentService.sol/ComponentService.json +118 -222
  137. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  138. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  139. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
  140. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
  141. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
  142. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -0
  143. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  144. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +190 -74
  145. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  146. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +4 -43
  147. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  148. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +69 -9
  149. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  150. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +4 -43
  151. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  152. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -34
  153. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  154. package/artifacts/contracts/shared/IService.sol/IService.json +66 -173
  155. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  156. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -150
  157. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  158. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +19 -91
  159. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  160. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +80 -47
  161. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  162. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +226 -95
  163. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  164. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +32 -89
  165. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  166. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -36
  167. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  168. package/artifacts/contracts/shared/Service.sol/Service.json +92 -212
  169. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  170. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
  171. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  172. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  173. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  174. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -150
  175. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  176. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +523 -0
  177. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  178. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +786 -0
  179. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  180. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +699 -0
  181. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  182. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  183. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  184. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  185. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  186. package/artifacts/contracts/{types → type}/Blocknumber.sol/BlocknumberLib.json +3 -3
  187. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  188. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  189. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  190. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  191. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  192. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  193. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  194. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  195. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  196. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +166 -0
  197. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  198. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  199. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  200. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  201. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  202. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  203. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  204. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  205. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  206. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  207. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  208. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  209. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  210. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -0
  211. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  212. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  213. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  214. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
  215. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  216. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  217. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  218. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  219. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  220. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  221. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  222. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  223. package/contracts/{components → distribution}/Distribution.sol +47 -60
  224. package/contracts/distribution/DistributionService.sol +351 -0
  225. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  226. package/contracts/{components → distribution}/IDistributionComponent.sol +8 -37
  227. package/contracts/distribution/IDistributionService.sol +87 -0
  228. package/contracts/instance/BundleManager.sol +15 -14
  229. package/contracts/instance/IInstance.sol +52 -59
  230. package/contracts/instance/IInstanceService.sol +32 -19
  231. package/contracts/instance/Instance.sol +138 -185
  232. package/contracts/instance/InstanceAdmin.sol +330 -0
  233. package/contracts/instance/InstanceAuthorizationsLib.sol +320 -0
  234. package/contracts/instance/InstanceReader.sol +101 -26
  235. package/contracts/instance/InstanceService.sol +173 -307
  236. package/contracts/instance/InstanceServiceManager.sol +12 -22
  237. package/contracts/instance/InstanceStore.sol +211 -0
  238. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +8 -3
  239. package/contracts/instance/base/IKeyValueStore.sol +14 -10
  240. package/contracts/instance/base/ILifecycle.sol +3 -3
  241. package/contracts/instance/base/KeyValueStore.sol +44 -47
  242. package/contracts/instance/base/Lifecycle.sol +28 -7
  243. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +12 -14
  244. package/contracts/instance/module/IAccess.sol +19 -20
  245. package/contracts/instance/module/IBundle.sol +11 -8
  246. package/contracts/instance/module/IComponents.sol +41 -0
  247. package/contracts/instance/module/IDistribution.sol +7 -4
  248. package/contracts/instance/module/IPolicy.sol +50 -17
  249. package/contracts/instance/module/IRisk.sol +1 -1
  250. package/contracts/instance/module/ISetup.sol +9 -23
  251. package/contracts/instance/module/ITreasury.sol +2 -2
  252. package/contracts/pool/BundleService.sol +384 -0
  253. package/contracts/pool/BundleServiceManager.sol +42 -0
  254. package/contracts/pool/IBundleService.sol +118 -0
  255. package/contracts/pool/IPoolComponent.sol +114 -0
  256. package/contracts/pool/IPoolService.sol +114 -0
  257. package/contracts/pool/Pool.sol +302 -0
  258. package/contracts/pool/PoolService.sol +404 -0
  259. package/contracts/pool/PoolServiceManager.sol +42 -0
  260. package/contracts/product/ApplicationService.sol +187 -0
  261. package/contracts/product/ApplicationServiceManager.sol +38 -0
  262. package/contracts/product/ClaimService.sol +443 -0
  263. package/contracts/product/ClaimServiceManager.sol +38 -0
  264. package/contracts/{instance/service → product}/IApplicationService.sol +16 -36
  265. package/contracts/product/IClaimService.sol +93 -0
  266. package/contracts/product/IPolicyService.sol +80 -0
  267. package/contracts/product/IPricingService.sol +37 -0
  268. package/contracts/{components → product}/IProductComponent.sol +13 -11
  269. package/contracts/{instance/service → product}/IProductService.sol +10 -10
  270. package/contracts/product/PolicyService.sol +378 -0
  271. package/contracts/product/PolicyServiceManager.sol +42 -0
  272. package/contracts/product/PricingService.sol +276 -0
  273. package/contracts/product/PricingServiceManager.sol +42 -0
  274. package/contracts/{components → product}/Product.sol +186 -85
  275. package/contracts/product/ProductService.sol +212 -0
  276. package/contracts/product/ProductServiceManager.sol +42 -0
  277. package/contracts/registry/ChainNft.sol +8 -0
  278. package/contracts/registry/IRegistry.sol +31 -17
  279. package/contracts/registry/IRegistryService.sol +32 -38
  280. package/contracts/registry/ITransferInterceptor.sol +1 -0
  281. package/contracts/registry/Registry.sol +70 -67
  282. package/contracts/registry/RegistryAdmin.sol +141 -0
  283. package/contracts/registry/RegistryService.sol +65 -94
  284. package/contracts/registry/RegistryServiceManager.sol +22 -24
  285. package/contracts/registry/ReleaseManager.sol +318 -188
  286. package/contracts/registry/TokenRegistry.sol +19 -14
  287. package/contracts/shared/AccessManagerCustom.sol +736 -0
  288. package/contracts/shared/AccessManagerExtended.sol +469 -0
  289. package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
  290. package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
  291. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
  292. package/contracts/{components → shared}/Component.sol +121 -86
  293. package/contracts/shared/ComponentService.sol +142 -0
  294. package/contracts/shared/ERC165.sol +2 -1
  295. package/contracts/shared/IAccessManagerExtended.sol +74 -0
  296. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
  297. package/contracts/shared/IComponent.sol +90 -0
  298. package/contracts/shared/INftOwnable.sol +5 -10
  299. package/contracts/shared/IPolicyHolder.sol +24 -10
  300. package/contracts/shared/IRegistryLinked.sol +0 -4
  301. package/contracts/shared/IService.sol +6 -4
  302. package/contracts/shared/IVersionable.sol +5 -48
  303. package/contracts/shared/NftOwnable.sol +20 -93
  304. package/contracts/shared/PolicyHolder.sol +31 -18
  305. package/contracts/shared/ProxyManager.sol +129 -24
  306. package/contracts/shared/Registerable.sol +14 -20
  307. package/contracts/shared/RegistryLinked.sol +5 -26
  308. package/contracts/shared/Service.sol +30 -18
  309. package/contracts/shared/TokenHandler.sol +14 -6
  310. package/contracts/shared/Versionable.sol +1 -90
  311. package/contracts/staking/IStakingService.sol +102 -0
  312. package/contracts/staking/StakingService.sol +169 -0
  313. package/contracts/staking/StakingServiceManager.sol +40 -0
  314. package/contracts/type/Amount.sol +109 -0
  315. package/contracts/{types → type}/Blocknumber.sol +1 -0
  316. package/contracts/type/ClaimId.sol +75 -0
  317. package/contracts/{types → type}/Fee.sol +17 -8
  318. package/contracts/{types → type}/NftId.sol +8 -0
  319. package/contracts/{types → type}/NftIdSet.sol +1 -1
  320. package/contracts/{types → type}/ObjectType.sol +13 -7
  321. package/contracts/type/PayoutId.sol +82 -0
  322. package/contracts/{types → type}/Referral.sol +4 -0
  323. package/contracts/{types → type}/RoleId.sol +62 -13
  324. package/contracts/type/Seconds.sol +54 -0
  325. package/contracts/{types → type}/StateId.sol +7 -2
  326. package/contracts/{types → type}/Timestamp.sol +18 -13
  327. package/contracts/{types → type}/UFixed.sol +1 -0
  328. package/contracts/{types → type}/Version.sol +1 -0
  329. package/package.json +1 -1
  330. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  331. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  332. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  333. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  334. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  335. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  336. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  337. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  340. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  342. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  344. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  346. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  348. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  350. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  352. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  353. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  354. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  355. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  356. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  357. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  358. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  359. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  360. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  361. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  362. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  363. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  364. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  365. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  366. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  367. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  368. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  369. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  370. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  371. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  372. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  373. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  374. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  375. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  376. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  377. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  378. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  379. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  380. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -984
  381. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  382. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
  383. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  384. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  385. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1117
  386. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  387. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1318
  388. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  389. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -586
  390. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  391. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1176
  392. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  393. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -602
  394. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  395. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  396. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  397. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  398. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  399. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  400. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  401. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1378
  402. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  403. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -642
  404. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  405. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -957
  406. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  407. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -574
  408. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  409. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -1007
  410. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  411. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -574
  412. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  413. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  414. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  415. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  416. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  417. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  418. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  419. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -446
  420. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  421. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  422. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  423. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -759
  424. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  425. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  426. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  427. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  428. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  429. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  430. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  431. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  432. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  433. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  434. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  435. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  436. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  437. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  438. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  439. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  440. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  441. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  442. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  443. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  444. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  445. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  446. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  447. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  448. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  449. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  450. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  451. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  452. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  453. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  454. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  455. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  456. package/contracts/components/IComponent.sol +0 -50
  457. package/contracts/components/IPoolComponent.sol +0 -87
  458. package/contracts/components/Pool.sol +0 -254
  459. package/contracts/experiment/cloning/Cloner.sol +0 -47
  460. package/contracts/experiment/errors/Require.sol +0 -38
  461. package/contracts/experiment/errors/Revert.sol +0 -44
  462. package/contracts/experiment/inheritance/A.sol +0 -53
  463. package/contracts/experiment/inheritance/B.sol +0 -28
  464. package/contracts/experiment/inheritance/C.sol +0 -34
  465. package/contracts/experiment/inheritance/IA.sol +0 -13
  466. package/contracts/experiment/inheritance/IB.sol +0 -10
  467. package/contracts/experiment/inheritance/IC.sol +0 -12
  468. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  469. package/contracts/experiment/statemachine/ISM.sol +0 -25
  470. package/contracts/experiment/statemachine/SM.sol +0 -57
  471. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  472. package/contracts/experiment/types/TypeA.sol +0 -47
  473. package/contracts/experiment/types/TypeB.sol +0 -29
  474. package/contracts/instance/InstanceAccessManager.sol +0 -297
  475. package/contracts/instance/base/ComponentService.sol +0 -134
  476. package/contracts/instance/service/ApplicationService.sol +0 -268
  477. package/contracts/instance/service/BundleService.sol +0 -298
  478. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  479. package/contracts/instance/service/DistributionService.sol +0 -274
  480. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  481. package/contracts/instance/service/IBundleService.sol +0 -54
  482. package/contracts/instance/service/IDistributionService.sol +0 -65
  483. package/contracts/instance/service/IPolicyService.sol +0 -88
  484. package/contracts/instance/service/IPoolService.sol +0 -20
  485. package/contracts/instance/service/PolicyService.sol +0 -524
  486. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  487. package/contracts/instance/service/PoolService.sol +0 -109
  488. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  489. package/contracts/instance/service/ProductService.sol +0 -233
  490. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  491. package/contracts/registry/RegistryAccessManager.sol +0 -216
  492. package/contracts/shared/ContractDeployerLib.sol +0 -72
  493. package/contracts/test/TestFee.sol +0 -25
  494. package/contracts/test/TestRegisterable.sol +0 -18
  495. package/contracts/test/TestRoleId.sol +0 -14
  496. package/contracts/test/TestService.sol +0 -25
  497. package/contracts/test/TestToken.sol +0 -26
  498. package/contracts/test/TestVersion.sol +0 -44
  499. package/contracts/test/TestVersionable.sol +0 -17
  500. package/contracts/test/Usdc.sol +0 -26
  501. package/contracts/types/ChainId.sol +0 -38
  502. package/contracts/types/NumberId.sol +0 -52
  503. /package/contracts/{types → type}/AddressSet.sol +0 -0
  504. /package/contracts/{types → type}/DistributorType.sol +0 -0
  505. /package/contracts/{types → type}/Key32.sol +0 -0
  506. /package/contracts/{types → type}/RiskId.sol +0 -0
@@ -45,123 +45,142 @@
45
45
  "inputs": [
46
46
  {
47
47
  "internalType": "address",
48
- "name": "registry",
48
+ "name": "instanceBundleManager",
49
49
  "type": "address"
50
- },
51
- {
52
- "internalType": "NftId",
53
- "name": "nftId",
54
- "type": "uint96"
55
50
  }
56
51
  ],
57
- "name": "ErrorAlreadyLinked",
52
+ "name": "ErrorInstanceBundleManagerAlreadySet",
58
53
  "type": "error"
59
54
  },
60
55
  {
61
56
  "inputs": [
62
57
  {
63
58
  "internalType": "address",
64
- "name": "contractAddress",
59
+ "name": "instanceAuthority",
65
60
  "type": "address"
66
61
  }
67
62
  ],
68
- "name": "ErrorContractNotRegistered",
63
+ "name": "ErrorInstanceBundleManagerAuthorityMismatch",
69
64
  "type": "error"
70
65
  },
71
66
  {
72
- "inputs": [],
73
- "name": "ErrorInitialOwnerZero",
67
+ "inputs": [
68
+ {
69
+ "internalType": "address",
70
+ "name": "instance",
71
+ "type": "address"
72
+ }
73
+ ],
74
+ "name": "ErrorInstanceBundleManagerInstanceMismatch",
74
75
  "type": "error"
75
76
  },
76
77
  {
77
78
  "inputs": [
78
79
  {
79
- "internalType": "ObjectType",
80
- "name": "objectType",
81
- "type": "uint8"
82
- },
83
- {
84
- "internalType": "StateId",
85
- "name": "fromStateId",
86
- "type": "uint8"
87
- },
88
- {
89
- "internalType": "StateId",
90
- "name": "toStateId",
91
- "type": "uint8"
80
+ "internalType": "address",
81
+ "name": "InstanceAdmin",
82
+ "type": "address"
92
83
  }
93
84
  ],
94
- "name": "ErrorInvalidStateTransition",
85
+ "name": "ErrorInstanceInstanceAdminAlreadySet",
95
86
  "type": "error"
96
87
  },
97
88
  {
98
89
  "inputs": [
99
90
  {
100
- "internalType": "NftId",
101
- "name": "nftId",
102
- "type": "uint96"
103
- },
91
+ "internalType": "address",
92
+ "name": "instanceAuthority",
93
+ "type": "address"
94
+ }
95
+ ],
96
+ "name": "ErrorInstanceInstanceAdminAuthorityMismatch",
97
+ "type": "error"
98
+ },
99
+ {
100
+ "inputs": [],
101
+ "name": "ErrorInstanceInstanceAdminZero",
102
+ "type": "error"
103
+ },
104
+ {
105
+ "inputs": [
104
106
  {
105
- "internalType": "ObjectType",
106
- "name": "objectType",
107
- "type": "uint8"
107
+ "internalType": "address",
108
+ "name": "instanceAuthority",
109
+ "type": "address"
108
110
  }
109
111
  ],
110
- "name": "ErrorNoLifecycle",
112
+ "name": "ErrorInstanceInstanceReaderInstanceMismatch",
111
113
  "type": "error"
112
114
  },
113
115
  {
114
116
  "inputs": [
115
117
  {
116
118
  "internalType": "address",
117
- "name": "account",
119
+ "name": "instanceStore",
118
120
  "type": "address"
119
121
  }
120
122
  ],
121
- "name": "ErrorNotOwner",
123
+ "name": "ErrorInstanceInstanceStoreAlreadySet",
122
124
  "type": "error"
123
125
  },
124
126
  {
125
127
  "inputs": [
126
128
  {
127
129
  "internalType": "address",
128
- "name": "registryAddress",
130
+ "name": "instanceAuthority",
129
131
  "type": "address"
130
132
  }
131
133
  ],
132
- "name": "ErrorNotRegistry",
134
+ "name": "ErrorInstanceInstanceStoreAuthorityMismatch",
135
+ "type": "error"
136
+ },
137
+ {
138
+ "inputs": [
139
+ {
140
+ "internalType": "NftId",
141
+ "name": "nftId",
142
+ "type": "uint96"
143
+ }
144
+ ],
145
+ "name": "ErrorNftOwnableAlreadyLinked",
133
146
  "type": "error"
134
147
  },
135
148
  {
136
149
  "inputs": [
137
150
  {
138
151
  "internalType": "address",
139
- "name": "registryAddress",
152
+ "name": "contractAddress",
140
153
  "type": "address"
141
154
  }
142
155
  ],
143
- "name": "ErrorRegisterableNotRegistry",
156
+ "name": "ErrorNftOwnableContractNotRegistered",
144
157
  "type": "error"
145
158
  },
146
159
  {
147
160
  "inputs": [],
148
- "name": "ErrorRegistryAddressZero",
161
+ "name": "ErrorNftOwnableInitialOwnerZero",
149
162
  "type": "error"
150
163
  },
151
164
  {
152
165
  "inputs": [
153
166
  {
154
167
  "internalType": "address",
155
- "name": "registry",
168
+ "name": "account",
156
169
  "type": "address"
157
170
  }
158
171
  ],
159
- "name": "ErrorRegistryAlreadyInitialized",
172
+ "name": "ErrorNftOwnableNotOwner",
160
173
  "type": "error"
161
174
  },
162
175
  {
163
- "inputs": [],
164
- "name": "ErrorRegistryNotInitialized",
176
+ "inputs": [
177
+ {
178
+ "internalType": "address",
179
+ "name": "registryAddress",
180
+ "type": "address"
181
+ }
182
+ ],
183
+ "name": "ErrorNotRegistry",
165
184
  "type": "error"
166
185
  },
167
186
  {
@@ -200,143 +219,14 @@
200
219
  "name": "Initialized",
201
220
  "type": "event"
202
221
  },
203
- {
204
- "anonymous": false,
205
- "inputs": [
206
- {
207
- "indexed": false,
208
- "internalType": "ObjectType",
209
- "name": "objectType",
210
- "type": "uint8"
211
- },
212
- {
213
- "indexed": false,
214
- "internalType": "KeyId",
215
- "name": "keyId",
216
- "type": "bytes31"
217
- },
218
- {
219
- "indexed": false,
220
- "internalType": "StateId",
221
- "name": "state",
222
- "type": "uint8"
223
- },
224
- {
225
- "indexed": false,
226
- "internalType": "address",
227
- "name": "createdBy",
228
- "type": "address"
229
- },
230
- {
231
- "indexed": false,
232
- "internalType": "address",
233
- "name": "txOrigin",
234
- "type": "address"
235
- }
236
- ],
237
- "name": "LogInfoCreated",
238
- "type": "event"
239
- },
240
- {
241
- "anonymous": false,
242
- "inputs": [
243
- {
244
- "indexed": false,
245
- "internalType": "ObjectType",
246
- "name": "objectType",
247
- "type": "uint8"
248
- },
249
- {
250
- "indexed": false,
251
- "internalType": "KeyId",
252
- "name": "keyId",
253
- "type": "bytes31"
254
- },
255
- {
256
- "indexed": false,
257
- "internalType": "StateId",
258
- "name": "state",
259
- "type": "uint8"
260
- },
261
- {
262
- "indexed": false,
263
- "internalType": "address",
264
- "name": "updatedBy",
265
- "type": "address"
266
- },
267
- {
268
- "indexed": false,
269
- "internalType": "address",
270
- "name": "txOrigin",
271
- "type": "address"
272
- },
273
- {
274
- "indexed": false,
275
- "internalType": "Blocknumber",
276
- "name": "lastUpdatedIn",
277
- "type": "uint32"
278
- }
279
- ],
280
- "name": "LogInfoUpdated",
281
- "type": "event"
282
- },
283
- {
284
- "anonymous": false,
285
- "inputs": [
286
- {
287
- "indexed": false,
288
- "internalType": "ObjectType",
289
- "name": "objectType",
290
- "type": "uint8"
291
- },
292
- {
293
- "indexed": false,
294
- "internalType": "KeyId",
295
- "name": "keyId",
296
- "type": "bytes31"
297
- },
298
- {
299
- "indexed": false,
300
- "internalType": "StateId",
301
- "name": "stateOld",
302
- "type": "uint8"
303
- },
304
- {
305
- "indexed": false,
306
- "internalType": "StateId",
307
- "name": "stateNew",
308
- "type": "uint8"
309
- },
310
- {
311
- "indexed": false,
312
- "internalType": "address",
313
- "name": "updatedBy",
314
- "type": "address"
315
- },
316
- {
317
- "indexed": false,
318
- "internalType": "address",
319
- "name": "txOrigin",
320
- "type": "address"
321
- },
322
- {
323
- "indexed": false,
324
- "internalType": "Blocknumber",
325
- "name": "lastUpdatedIn",
326
- "type": "uint32"
327
- }
328
- ],
329
- "name": "LogStateUpdated",
330
- "type": "event"
331
- },
332
222
  {
333
223
  "inputs": [],
334
- "name": "ADMIN_ROLE",
224
+ "name": "GIF_MAJOR_VERSION",
335
225
  "outputs": [
336
226
  {
337
- "internalType": "uint64",
227
+ "internalType": "uint256",
338
228
  "name": "",
339
- "type": "uint64"
229
+ "type": "uint256"
340
230
  }
341
231
  ],
342
232
  "stateMutability": "view",
@@ -344,12 +234,12 @@
344
234
  },
345
235
  {
346
236
  "inputs": [],
347
- "name": "CUSTOM_ROLE_ID_MIN",
237
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
348
238
  "outputs": [
349
239
  {
350
- "internalType": "uint64",
240
+ "internalType": "bytes32",
351
241
  "name": "",
352
- "type": "uint64"
242
+ "type": "bytes32"
353
243
  }
354
244
  ],
355
245
  "stateMutability": "view",
@@ -357,12 +247,12 @@
357
247
  },
358
248
  {
359
249
  "inputs": [],
360
- "name": "EXECUTION_DELAY",
250
+ "name": "REGISTERABLE_LOCATION_V1",
361
251
  "outputs": [
362
252
  {
363
- "internalType": "uint32",
253
+ "internalType": "bytes32",
364
254
  "name": "",
365
- "type": "uint32"
255
+ "type": "bytes32"
366
256
  }
367
257
  ],
368
258
  "stateMutability": "view",
@@ -370,51 +260,72 @@
370
260
  },
371
261
  {
372
262
  "inputs": [],
373
- "name": "GIF_MAJOR_VERSION",
263
+ "name": "authority",
374
264
  "outputs": [
375
265
  {
376
- "internalType": "uint256",
266
+ "internalType": "address",
377
267
  "name": "",
378
- "type": "uint256"
268
+ "type": "address"
379
269
  }
380
270
  ],
381
271
  "stateMutability": "view",
382
272
  "type": "function"
383
273
  },
384
274
  {
385
- "inputs": [],
386
- "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
275
+ "inputs": [
276
+ {
277
+ "internalType": "string",
278
+ "name": "roleName",
279
+ "type": "string"
280
+ },
281
+ {
282
+ "internalType": "string",
283
+ "name": "adminName",
284
+ "type": "string"
285
+ }
286
+ ],
287
+ "name": "createRole",
387
288
  "outputs": [
388
289
  {
389
- "internalType": "bytes32",
390
- "name": "",
391
- "type": "bytes32"
290
+ "internalType": "RoleId",
291
+ "name": "roleId",
292
+ "type": "uint64"
293
+ },
294
+ {
295
+ "internalType": "RoleId",
296
+ "name": "admin",
297
+ "type": "uint64"
392
298
  }
393
299
  ],
394
- "stateMutability": "view",
300
+ "stateMutability": "nonpayable",
395
301
  "type": "function"
396
302
  },
397
303
  {
398
- "inputs": [],
399
- "name": "PUBLIC_ROLE",
400
- "outputs": [
304
+ "inputs": [
401
305
  {
402
- "internalType": "uint64",
403
- "name": "",
404
- "type": "uint64"
306
+ "internalType": "address",
307
+ "name": "target",
308
+ "type": "address"
309
+ },
310
+ {
311
+ "internalType": "string",
312
+ "name": "name",
313
+ "type": "string"
405
314
  }
406
315
  ],
407
- "stateMutability": "view",
316
+ "name": "createTarget",
317
+ "outputs": [],
318
+ "stateMutability": "nonpayable",
408
319
  "type": "function"
409
320
  },
410
321
  {
411
322
  "inputs": [],
412
- "name": "REGISTERABLE_LOCATION_V1",
323
+ "name": "getBundleManager",
413
324
  "outputs": [
414
325
  {
415
- "internalType": "bytes32",
326
+ "internalType": "contract BundleManager",
416
327
  "name": "",
417
- "type": "bytes32"
328
+ "type": "address"
418
329
  }
419
330
  ],
420
331
  "stateMutability": "view",
@@ -422,10 +333,10 @@
422
333
  },
423
334
  {
424
335
  "inputs": [],
425
- "name": "authority",
336
+ "name": "getBundleService",
426
337
  "outputs": [
427
338
  {
428
- "internalType": "address",
339
+ "internalType": "contract IBundleService",
429
340
  "name": "",
430
341
  "type": "address"
431
342
  }
@@ -434,285 +345,53 @@
434
345
  "type": "function"
435
346
  },
436
347
  {
437
- "inputs": [
438
- {
439
- "internalType": "ObjectType",
440
- "name": "objectType",
441
- "type": "uint8"
442
- },
443
- {
444
- "internalType": "StateId",
445
- "name": "fromId",
446
- "type": "uint8"
447
- },
348
+ "inputs": [],
349
+ "name": "getDistributionService",
350
+ "outputs": [
448
351
  {
449
- "internalType": "StateId",
450
- "name": "toId",
451
- "type": "uint8"
352
+ "internalType": "contract IDistributionService",
353
+ "name": "",
354
+ "type": "address"
452
355
  }
453
356
  ],
454
- "name": "checkTransition",
455
- "outputs": [],
456
357
  "stateMutability": "view",
457
358
  "type": "function"
458
359
  },
459
360
  {
460
- "inputs": [
461
- {
462
- "internalType": "NftId",
463
- "name": "bundleNftId",
464
- "type": "uint96"
465
- },
361
+ "inputs": [],
362
+ "name": "getInitialInfo",
363
+ "outputs": [
466
364
  {
467
365
  "components": [
468
366
  {
469
367
  "internalType": "NftId",
470
- "name": "poolNftId",
368
+ "name": "nftId",
471
369
  "type": "uint96"
472
370
  },
473
- {
474
- "components": [
475
- {
476
- "internalType": "UFixed",
477
- "name": "fractionalFee",
478
- "type": "uint256"
479
- },
480
- {
481
- "internalType": "uint256",
482
- "name": "fixedFee",
483
- "type": "uint256"
484
- }
485
- ],
486
- "internalType": "struct Fee",
487
- "name": "fee",
488
- "type": "tuple"
489
- },
490
- {
491
- "internalType": "bytes",
492
- "name": "filter",
493
- "type": "bytes"
494
- },
495
- {
496
- "internalType": "uint256",
497
- "name": "capitalAmount",
498
- "type": "uint256"
499
- },
500
- {
501
- "internalType": "uint256",
502
- "name": "lockedAmount",
503
- "type": "uint256"
504
- },
505
- {
506
- "internalType": "uint256",
507
- "name": "balanceAmount",
508
- "type": "uint256"
509
- },
510
- {
511
- "internalType": "uint256",
512
- "name": "lifetime",
513
- "type": "uint256"
514
- },
515
- {
516
- "internalType": "Timestamp",
517
- "name": "expiredAt",
518
- "type": "uint40"
519
- },
520
- {
521
- "internalType": "Timestamp",
522
- "name": "closedAt",
523
- "type": "uint40"
524
- }
525
- ],
526
- "internalType": "struct IBundle.BundleInfo",
527
- "name": "bundle",
528
- "type": "tuple"
529
- }
530
- ],
531
- "name": "createBundle",
532
- "outputs": [],
533
- "stateMutability": "nonpayable",
534
- "type": "function"
535
- },
536
- {
537
- "inputs": [
538
- {
539
- "internalType": "NftId",
540
- "name": "policyNftId",
541
- "type": "uint96"
542
- },
543
- {
544
- "internalType": "NumberId",
545
- "name": "claimId",
546
- "type": "uint32"
547
- },
548
- {
549
- "components": [
550
- {
551
- "internalType": "uint256",
552
- "name": "claimAmount",
553
- "type": "uint256"
554
- },
555
- {
556
- "internalType": "uint256",
557
- "name": "paidAmount",
558
- "type": "uint256"
559
- },
560
- {
561
- "internalType": "bytes",
562
- "name": "data",
563
- "type": "bytes"
564
- },
565
- {
566
- "internalType": "Timestamp",
567
- "name": "closedAt",
568
- "type": "uint40"
569
- }
570
- ],
571
- "internalType": "struct IPolicy.ClaimInfo",
572
- "name": "claim",
573
- "type": "tuple"
574
- }
575
- ],
576
- "name": "createClaim",
577
- "outputs": [],
578
- "stateMutability": "nonpayable",
579
- "type": "function"
580
- },
581
- {
582
- "inputs": [
583
- {
584
- "internalType": "NftId",
585
- "name": "distributionNftId",
586
- "type": "uint96"
587
- },
588
- {
589
- "components": [
590
371
  {
591
372
  "internalType": "NftId",
592
- "name": "productNftId",
373
+ "name": "parentNftId",
593
374
  "type": "uint96"
594
375
  },
595
376
  {
596
- "internalType": "contract TokenHandler",
597
- "name": "tokenHandler",
598
- "type": "address"
599
- },
600
- {
601
- "components": [
602
- {
603
- "internalType": "UFixed",
604
- "name": "fractionalFee",
605
- "type": "uint256"
606
- },
607
- {
608
- "internalType": "uint256",
609
- "name": "fixedFee",
610
- "type": "uint256"
611
- }
612
- ],
613
- "internalType": "struct Fee",
614
- "name": "distributionFee",
615
- "type": "tuple"
616
- },
617
- {
618
- "internalType": "address",
619
- "name": "wallet",
620
- "type": "address"
621
- }
622
- ],
623
- "internalType": "struct ISetup.DistributionSetupInfo",
624
- "name": "setup",
625
- "type": "tuple"
626
- }
627
- ],
628
- "name": "createDistributionSetup",
629
- "outputs": [],
630
- "stateMutability": "nonpayable",
631
- "type": "function"
632
- },
633
- {
634
- "inputs": [
635
- {
636
- "internalType": "NftId",
637
- "name": "nftId",
638
- "type": "uint96"
639
- },
640
- {
641
- "components": [
642
- {
643
- "internalType": "DistributorType",
644
- "name": "distributorType",
645
- "type": "bytes8"
377
+ "internalType": "ObjectType",
378
+ "name": "objectType",
379
+ "type": "uint8"
646
380
  },
647
381
  {
648
382
  "internalType": "bool",
649
- "name": "active",
383
+ "name": "isInterceptor",
650
384
  "type": "bool"
651
385
  },
652
386
  {
653
- "internalType": "bytes",
654
- "name": "data",
655
- "type": "bytes"
656
- }
657
- ],
658
- "internalType": "struct IDistribution.DistributorInfo",
659
- "name": "info",
660
- "type": "tuple"
661
- }
662
- ],
663
- "name": "createDistributor",
664
- "outputs": [],
665
- "stateMutability": "nonpayable",
666
- "type": "function"
667
- },
668
- {
669
- "inputs": [
670
- {
671
- "internalType": "Key32",
672
- "name": "distributorKey",
673
- "type": "bytes32"
674
- },
675
- {
676
- "components": [
677
- {
678
- "internalType": "string",
679
- "name": "name",
680
- "type": "string"
681
- },
682
- {
683
- "internalType": "UFixed",
684
- "name": "minDiscountPercentage",
685
- "type": "uint256"
686
- },
687
- {
688
- "internalType": "UFixed",
689
- "name": "maxDiscountPercentage",
690
- "type": "uint256"
691
- },
692
- {
693
- "internalType": "UFixed",
694
- "name": "commissionPercentage",
695
- "type": "uint256"
696
- },
697
- {
698
- "internalType": "uint32",
699
- "name": "maxReferralCount",
700
- "type": "uint32"
701
- },
702
- {
703
- "internalType": "uint32",
704
- "name": "maxReferralLifetime",
705
- "type": "uint32"
706
- },
707
- {
708
- "internalType": "bool",
709
- "name": "allowSelfReferrals",
710
- "type": "bool"
387
+ "internalType": "address",
388
+ "name": "objectAddress",
389
+ "type": "address"
711
390
  },
712
391
  {
713
- "internalType": "bool",
714
- "name": "allowRenewals",
715
- "type": "bool"
392
+ "internalType": "address",
393
+ "name": "initialOwner",
394
+ "type": "address"
716
395
  },
717
396
  {
718
397
  "internalType": "bytes",
@@ -720,1429 +399,171 @@
720
399
  "type": "bytes"
721
400
  }
722
401
  ],
723
- "internalType": "struct IDistribution.DistributorTypeInfo",
402
+ "internalType": "struct IRegistry.ObjectInfo",
724
403
  "name": "info",
725
404
  "type": "tuple"
726
405
  }
727
406
  ],
728
- "name": "createDistributorType",
729
- "outputs": [],
730
- "stateMutability": "nonpayable",
407
+ "stateMutability": "view",
731
408
  "type": "function"
732
409
  },
733
410
  {
734
- "inputs": [
735
- {
736
- "internalType": "NftId",
737
- "name": "policyNftId",
738
- "type": "uint96"
739
- },
740
- {
741
- "internalType": "NumberId",
742
- "name": "payoutId",
743
- "type": "uint32"
744
- },
411
+ "inputs": [],
412
+ "name": "getInstanceAccessManager",
413
+ "outputs": [
745
414
  {
746
- "components": [
747
- {
748
- "internalType": "NumberId",
749
- "name": "claimId",
750
- "type": "uint32"
751
- },
752
- {
753
- "internalType": "uint256",
754
- "name": "amount",
755
- "type": "uint256"
756
- },
757
- {
758
- "internalType": "bytes",
759
- "name": "data",
760
- "type": "bytes"
761
- },
762
- {
763
- "internalType": "Timestamp",
764
- "name": "paidAt",
765
- "type": "uint40"
766
- }
767
- ],
768
- "internalType": "struct IPolicy.PayoutInfo",
769
- "name": "payout",
770
- "type": "tuple"
415
+ "internalType": "contract AccessManagerExtendedInitializeable",
416
+ "name": "",
417
+ "type": "address"
771
418
  }
772
419
  ],
773
- "name": "createPayout",
774
- "outputs": [],
775
- "stateMutability": "nonpayable",
420
+ "stateMutability": "view",
776
421
  "type": "function"
777
422
  },
778
423
  {
779
- "inputs": [
780
- {
781
- "internalType": "NftId",
782
- "name": "policyNftId",
783
- "type": "uint96"
784
- },
424
+ "inputs": [],
425
+ "name": "getInstanceAdmin",
426
+ "outputs": [
785
427
  {
786
- "components": [
787
- {
788
- "internalType": "NftId",
789
- "name": "productNftId",
790
- "type": "uint96"
791
- },
792
- {
793
- "internalType": "NftId",
794
- "name": "bundleNftId",
795
- "type": "uint96"
796
- },
797
- {
798
- "internalType": "ReferralId",
799
- "name": "referralId",
800
- "type": "bytes8"
801
- },
802
- {
803
- "internalType": "RiskId",
804
- "name": "riskId",
805
- "type": "bytes8"
806
- },
807
- {
808
- "internalType": "uint256",
809
- "name": "sumInsuredAmount",
810
- "type": "uint256"
811
- },
812
- {
813
- "internalType": "uint256",
814
- "name": "premiumAmount",
815
- "type": "uint256"
816
- },
817
- {
818
- "internalType": "uint256",
819
- "name": "premiumPaidAmount",
820
- "type": "uint256"
821
- },
822
- {
823
- "internalType": "uint256",
824
- "name": "lifetime",
825
- "type": "uint256"
826
- },
827
- {
828
- "internalType": "bytes",
829
- "name": "applicationData",
830
- "type": "bytes"
831
- },
832
- {
833
- "internalType": "bytes",
834
- "name": "policyData",
835
- "type": "bytes"
836
- },
837
- {
838
- "internalType": "uint16",
839
- "name": "claimsCount",
840
- "type": "uint16"
841
- },
842
- {
843
- "internalType": "uint16",
844
- "name": "openClaimsCount",
845
- "type": "uint16"
846
- },
847
- {
848
- "internalType": "uint256",
849
- "name": "payoutAmount",
850
- "type": "uint256"
851
- },
852
- {
853
- "internalType": "Timestamp",
854
- "name": "activatedAt",
855
- "type": "uint40"
856
- },
857
- {
858
- "internalType": "Timestamp",
859
- "name": "expiredAt",
860
- "type": "uint40"
861
- },
862
- {
863
- "internalType": "Timestamp",
864
- "name": "closedAt",
865
- "type": "uint40"
866
- }
867
- ],
868
- "internalType": "struct IPolicy.PolicyInfo",
869
- "name": "policy",
870
- "type": "tuple"
428
+ "internalType": "contract InstanceAdmin",
429
+ "name": "",
430
+ "type": "address"
871
431
  }
872
432
  ],
873
- "name": "createPolicy",
874
- "outputs": [],
875
- "stateMutability": "nonpayable",
433
+ "stateMutability": "view",
876
434
  "type": "function"
877
435
  },
878
436
  {
879
- "inputs": [
880
- {
881
- "internalType": "NftId",
882
- "name": "poolNftId",
883
- "type": "uint96"
884
- },
885
- {
886
- "components": [
887
- {
888
- "internalType": "NftId",
889
- "name": "productNftId",
890
- "type": "uint96"
891
- },
892
- {
893
- "internalType": "contract TokenHandler",
894
- "name": "tokenHandler",
895
- "type": "address"
896
- },
897
- {
898
- "internalType": "bool",
899
- "name": "isInterceptingBundleTransfers",
900
- "type": "bool"
901
- },
902
- {
903
- "internalType": "bool",
904
- "name": "isExternallyManaged",
905
- "type": "bool"
906
- },
907
- {
908
- "internalType": "bool",
909
- "name": "isVerifyingApplications",
910
- "type": "bool"
911
- },
912
- {
913
- "internalType": "UFixed",
914
- "name": "collateralizationLevel",
915
- "type": "uint256"
916
- },
917
- {
918
- "internalType": "UFixed",
919
- "name": "retentionLevel",
920
- "type": "uint256"
921
- },
922
- {
923
- "components": [
924
- {
925
- "internalType": "UFixed",
926
- "name": "fractionalFee",
927
- "type": "uint256"
928
- },
929
- {
930
- "internalType": "uint256",
931
- "name": "fixedFee",
932
- "type": "uint256"
933
- }
934
- ],
935
- "internalType": "struct Fee",
936
- "name": "poolFee",
937
- "type": "tuple"
938
- },
939
- {
940
- "components": [
941
- {
942
- "internalType": "UFixed",
943
- "name": "fractionalFee",
944
- "type": "uint256"
945
- },
946
- {
947
- "internalType": "uint256",
948
- "name": "fixedFee",
949
- "type": "uint256"
950
- }
951
- ],
952
- "internalType": "struct Fee",
953
- "name": "stakingFee",
954
- "type": "tuple"
955
- },
956
- {
957
- "components": [
958
- {
959
- "internalType": "UFixed",
960
- "name": "fractionalFee",
961
- "type": "uint256"
962
- },
963
- {
964
- "internalType": "uint256",
965
- "name": "fixedFee",
966
- "type": "uint256"
967
- }
968
- ],
969
- "internalType": "struct Fee",
970
- "name": "performanceFee",
971
- "type": "tuple"
972
- },
973
- {
974
- "internalType": "address",
975
- "name": "wallet",
976
- "type": "address"
977
- }
978
- ],
979
- "internalType": "struct ISetup.PoolSetupInfo",
980
- "name": "setup",
981
- "type": "tuple"
982
- }
983
- ],
984
- "name": "createPoolSetup",
985
- "outputs": [],
986
- "stateMutability": "nonpayable",
987
- "type": "function"
988
- },
989
- {
990
- "inputs": [
991
- {
992
- "internalType": "NftId",
993
- "name": "productNftId",
994
- "type": "uint96"
995
- },
996
- {
997
- "components": [
998
- {
999
- "internalType": "contract IERC20Metadata",
1000
- "name": "token",
1001
- "type": "address"
1002
- },
1003
- {
1004
- "internalType": "contract TokenHandler",
1005
- "name": "tokenHandler",
1006
- "type": "address"
1007
- },
1008
- {
1009
- "internalType": "NftId",
1010
- "name": "distributionNftId",
1011
- "type": "uint96"
1012
- },
1013
- {
1014
- "internalType": "NftId",
1015
- "name": "poolNftId",
1016
- "type": "uint96"
1017
- },
1018
- {
1019
- "components": [
1020
- {
1021
- "internalType": "UFixed",
1022
- "name": "fractionalFee",
1023
- "type": "uint256"
1024
- },
1025
- {
1026
- "internalType": "uint256",
1027
- "name": "fixedFee",
1028
- "type": "uint256"
1029
- }
1030
- ],
1031
- "internalType": "struct Fee",
1032
- "name": "distributionFee",
1033
- "type": "tuple"
1034
- },
1035
- {
1036
- "components": [
1037
- {
1038
- "internalType": "UFixed",
1039
- "name": "fractionalFee",
1040
- "type": "uint256"
1041
- },
1042
- {
1043
- "internalType": "uint256",
1044
- "name": "fixedFee",
1045
- "type": "uint256"
1046
- }
1047
- ],
1048
- "internalType": "struct Fee",
1049
- "name": "productFee",
1050
- "type": "tuple"
1051
- },
1052
- {
1053
- "components": [
1054
- {
1055
- "internalType": "UFixed",
1056
- "name": "fractionalFee",
1057
- "type": "uint256"
1058
- },
1059
- {
1060
- "internalType": "uint256",
1061
- "name": "fixedFee",
1062
- "type": "uint256"
1063
- }
1064
- ],
1065
- "internalType": "struct Fee",
1066
- "name": "processingFee",
1067
- "type": "tuple"
1068
- },
1069
- {
1070
- "components": [
1071
- {
1072
- "internalType": "UFixed",
1073
- "name": "fractionalFee",
1074
- "type": "uint256"
1075
- },
1076
- {
1077
- "internalType": "uint256",
1078
- "name": "fixedFee",
1079
- "type": "uint256"
1080
- }
1081
- ],
1082
- "internalType": "struct Fee",
1083
- "name": "poolFee",
1084
- "type": "tuple"
1085
- },
1086
- {
1087
- "components": [
1088
- {
1089
- "internalType": "UFixed",
1090
- "name": "fractionalFee",
1091
- "type": "uint256"
1092
- },
1093
- {
1094
- "internalType": "uint256",
1095
- "name": "fixedFee",
1096
- "type": "uint256"
1097
- }
1098
- ],
1099
- "internalType": "struct Fee",
1100
- "name": "stakingFee",
1101
- "type": "tuple"
1102
- },
1103
- {
1104
- "components": [
1105
- {
1106
- "internalType": "UFixed",
1107
- "name": "fractionalFee",
1108
- "type": "uint256"
1109
- },
1110
- {
1111
- "internalType": "uint256",
1112
- "name": "fixedFee",
1113
- "type": "uint256"
1114
- }
1115
- ],
1116
- "internalType": "struct Fee",
1117
- "name": "performanceFee",
1118
- "type": "tuple"
1119
- },
1120
- {
1121
- "internalType": "bool",
1122
- "name": "isIntercepting",
1123
- "type": "bool"
1124
- },
1125
- {
1126
- "internalType": "address",
1127
- "name": "wallet",
1128
- "type": "address"
1129
- }
1130
- ],
1131
- "internalType": "struct ISetup.ProductSetupInfo",
1132
- "name": "setup",
1133
- "type": "tuple"
1134
- }
1135
- ],
1136
- "name": "createProductSetup",
1137
- "outputs": [],
1138
- "stateMutability": "nonpayable",
1139
- "type": "function"
1140
- },
1141
- {
1142
- "inputs": [
1143
- {
1144
- "internalType": "Key32",
1145
- "name": "referralKey",
1146
- "type": "bytes32"
1147
- },
1148
- {
1149
- "components": [
1150
- {
1151
- "internalType": "NftId",
1152
- "name": "distributorNftId",
1153
- "type": "uint96"
1154
- },
1155
- {
1156
- "internalType": "string",
1157
- "name": "referralCode",
1158
- "type": "string"
1159
- },
1160
- {
1161
- "internalType": "UFixed",
1162
- "name": "discountPercentage",
1163
- "type": "uint256"
1164
- },
1165
- {
1166
- "internalType": "uint32",
1167
- "name": "maxReferrals",
1168
- "type": "uint32"
1169
- },
1170
- {
1171
- "internalType": "uint32",
1172
- "name": "usedReferrals",
1173
- "type": "uint32"
1174
- },
1175
- {
1176
- "internalType": "Timestamp",
1177
- "name": "expiryAt",
1178
- "type": "uint40"
1179
- },
1180
- {
1181
- "internalType": "bytes",
1182
- "name": "data",
1183
- "type": "bytes"
1184
- }
1185
- ],
1186
- "internalType": "struct IDistribution.ReferralInfo",
1187
- "name": "referralInfo",
1188
- "type": "tuple"
1189
- }
1190
- ],
1191
- "name": "createReferral",
1192
- "outputs": [],
1193
- "stateMutability": "nonpayable",
1194
- "type": "function"
1195
- },
1196
- {
1197
- "inputs": [
1198
- {
1199
- "internalType": "RiskId",
1200
- "name": "riskId",
1201
- "type": "bytes8"
1202
- },
1203
- {
1204
- "components": [
1205
- {
1206
- "internalType": "NftId",
1207
- "name": "productNftId",
1208
- "type": "uint96"
1209
- },
1210
- {
1211
- "internalType": "bytes",
1212
- "name": "data",
1213
- "type": "bytes"
1214
- }
1215
- ],
1216
- "internalType": "struct IRisk.RiskInfo",
1217
- "name": "risk",
1218
- "type": "tuple"
1219
- }
1220
- ],
1221
- "name": "createRisk",
1222
- "outputs": [],
1223
- "stateMutability": "nonpayable",
1224
- "type": "function"
1225
- },
1226
- {
1227
- "inputs": [
1228
- {
1229
- "internalType": "Key32",
1230
- "name": "key32",
1231
- "type": "bytes32"
1232
- }
1233
- ],
1234
- "name": "exists",
1235
- "outputs": [
1236
- {
1237
- "internalType": "bool",
1238
- "name": "",
1239
- "type": "bool"
1240
- }
1241
- ],
1242
- "stateMutability": "view",
1243
- "type": "function"
1244
- },
1245
- {
1246
- "inputs": [
1247
- {
1248
- "internalType": "Key32",
1249
- "name": "key32",
1250
- "type": "bytes32"
1251
- }
1252
- ],
1253
- "name": "get",
1254
- "outputs": [
1255
- {
1256
- "components": [
1257
- {
1258
- "components": [
1259
- {
1260
- "internalType": "ObjectType",
1261
- "name": "objectType",
1262
- "type": "uint8"
1263
- },
1264
- {
1265
- "internalType": "StateId",
1266
- "name": "state",
1267
- "type": "uint8"
1268
- },
1269
- {
1270
- "internalType": "address",
1271
- "name": "updatedBy",
1272
- "type": "address"
1273
- },
1274
- {
1275
- "internalType": "Blocknumber",
1276
- "name": "updatedIn",
1277
- "type": "uint32"
1278
- },
1279
- {
1280
- "internalType": "Blocknumber",
1281
- "name": "createdIn",
1282
- "type": "uint32"
1283
- }
1284
- ],
1285
- "internalType": "struct IKeyValueStore.Metadata",
1286
- "name": "metadata",
1287
- "type": "tuple"
1288
- },
1289
- {
1290
- "internalType": "bytes",
1291
- "name": "data",
1292
- "type": "bytes"
1293
- }
1294
- ],
1295
- "internalType": "struct IKeyValueStore.Value",
1296
- "name": "value",
1297
- "type": "tuple"
1298
- }
1299
- ],
1300
- "stateMutability": "view",
1301
- "type": "function"
1302
- },
1303
- {
1304
- "inputs": [],
1305
- "name": "getBundleManager",
1306
- "outputs": [
1307
- {
1308
- "internalType": "contract BundleManager",
1309
- "name": "",
1310
- "type": "address"
1311
- }
1312
- ],
1313
- "stateMutability": "view",
1314
- "type": "function"
1315
- },
1316
- {
1317
- "inputs": [],
1318
- "name": "getBundleService",
1319
- "outputs": [
1320
- {
1321
- "internalType": "contract IBundleService",
1322
- "name": "",
1323
- "type": "address"
1324
- }
1325
- ],
1326
- "stateMutability": "view",
1327
- "type": "function"
1328
- },
1329
- {
1330
- "inputs": [
1331
- {
1332
- "internalType": "Key32",
1333
- "name": "key32",
1334
- "type": "bytes32"
1335
- }
1336
- ],
1337
- "name": "getData",
1338
- "outputs": [
1339
- {
1340
- "internalType": "bytes",
1341
- "name": "data",
1342
- "type": "bytes"
1343
- }
1344
- ],
1345
- "stateMutability": "view",
1346
- "type": "function"
1347
- },
1348
- {
1349
- "inputs": [],
1350
- "name": "getDistributionService",
1351
- "outputs": [
1352
- {
1353
- "internalType": "contract IDistributionService",
1354
- "name": "",
1355
- "type": "address"
1356
- }
1357
- ],
1358
- "stateMutability": "view",
1359
- "type": "function"
1360
- },
1361
- {
1362
- "inputs": [],
1363
- "name": "getInitialInfo",
1364
- "outputs": [
1365
- {
1366
- "components": [
1367
- {
1368
- "internalType": "NftId",
1369
- "name": "nftId",
1370
- "type": "uint96"
1371
- },
1372
- {
1373
- "internalType": "NftId",
1374
- "name": "parentNftId",
1375
- "type": "uint96"
1376
- },
1377
- {
1378
- "internalType": "ObjectType",
1379
- "name": "objectType",
1380
- "type": "uint8"
1381
- },
1382
- {
1383
- "internalType": "bool",
1384
- "name": "isInterceptor",
1385
- "type": "bool"
1386
- },
1387
- {
1388
- "internalType": "address",
1389
- "name": "objectAddress",
1390
- "type": "address"
1391
- },
1392
- {
1393
- "internalType": "address",
1394
- "name": "initialOwner",
1395
- "type": "address"
1396
- },
1397
- {
1398
- "internalType": "bytes",
1399
- "name": "data",
1400
- "type": "bytes"
1401
- }
1402
- ],
1403
- "internalType": "struct IRegistry.ObjectInfo",
1404
- "name": "info",
1405
- "type": "tuple"
1406
- }
1407
- ],
1408
- "stateMutability": "view",
1409
- "type": "function"
1410
- },
1411
- {
1412
- "inputs": [],
1413
- "name": "getInitialOwner",
1414
- "outputs": [
1415
- {
1416
- "internalType": "address",
1417
- "name": "",
1418
- "type": "address"
1419
- }
1420
- ],
1421
- "stateMutability": "view",
1422
- "type": "function"
1423
- },
1424
- {
1425
- "inputs": [
1426
- {
1427
- "internalType": "ObjectType",
1428
- "name": "objectType",
1429
- "type": "uint8"
1430
- }
1431
- ],
1432
- "name": "getInitialState",
1433
- "outputs": [
1434
- {
1435
- "internalType": "StateId",
1436
- "name": "",
1437
- "type": "uint8"
1438
- }
1439
- ],
1440
- "stateMutability": "view",
1441
- "type": "function"
1442
- },
1443
- {
1444
- "inputs": [],
1445
- "name": "getInstanceReader",
1446
- "outputs": [
1447
- {
1448
- "internalType": "contract InstanceReader",
1449
- "name": "",
1450
- "type": "address"
1451
- }
1452
- ],
1453
- "stateMutability": "view",
1454
- "type": "function"
1455
- },
1456
- {
1457
- "inputs": [],
1458
- "name": "getMajorVersion",
1459
- "outputs": [
1460
- {
1461
- "internalType": "VersionPart",
1462
- "name": "majorVersion",
1463
- "type": "uint8"
1464
- }
1465
- ],
1466
- "stateMutability": "pure",
1467
- "type": "function"
1468
- },
1469
- {
1470
- "inputs": [
1471
- {
1472
- "internalType": "Key32",
1473
- "name": "key32",
1474
- "type": "bytes32"
1475
- }
1476
- ],
1477
- "name": "getMetadata",
1478
- "outputs": [
1479
- {
1480
- "components": [
1481
- {
1482
- "internalType": "ObjectType",
1483
- "name": "objectType",
1484
- "type": "uint8"
1485
- },
1486
- {
1487
- "internalType": "StateId",
1488
- "name": "state",
1489
- "type": "uint8"
1490
- },
1491
- {
1492
- "internalType": "address",
1493
- "name": "updatedBy",
1494
- "type": "address"
1495
- },
1496
- {
1497
- "internalType": "Blocknumber",
1498
- "name": "updatedIn",
1499
- "type": "uint32"
1500
- },
1501
- {
1502
- "internalType": "Blocknumber",
1503
- "name": "createdIn",
1504
- "type": "uint32"
1505
- }
1506
- ],
1507
- "internalType": "struct IKeyValueStore.Metadata",
1508
- "name": "metadata",
1509
- "type": "tuple"
1510
- }
1511
- ],
1512
- "stateMutability": "view",
1513
- "type": "function"
1514
- },
1515
- {
1516
- "inputs": [],
1517
- "name": "getNftId",
1518
- "outputs": [
1519
- {
1520
- "internalType": "NftId",
1521
- "name": "",
1522
- "type": "uint96"
1523
- }
1524
- ],
1525
- "stateMutability": "view",
1526
- "type": "function"
1527
- },
1528
- {
1529
- "inputs": [],
1530
- "name": "getOwner",
1531
- "outputs": [
1532
- {
1533
- "internalType": "address",
1534
- "name": "",
1535
- "type": "address"
1536
- }
1537
- ],
1538
- "stateMutability": "view",
1539
- "type": "function"
1540
- },
1541
- {
1542
- "inputs": [],
1543
- "name": "getPolicyService",
1544
- "outputs": [
1545
- {
1546
- "internalType": "contract IPolicyService",
1547
- "name": "",
1548
- "type": "address"
1549
- }
1550
- ],
1551
- "stateMutability": "view",
1552
- "type": "function"
1553
- },
1554
- {
1555
- "inputs": [],
1556
- "name": "getPoolService",
1557
- "outputs": [
1558
- {
1559
- "internalType": "contract IPoolService",
1560
- "name": "",
1561
- "type": "address"
1562
- }
1563
- ],
1564
- "stateMutability": "view",
1565
- "type": "function"
1566
- },
1567
- {
1568
- "inputs": [],
1569
- "name": "getProductService",
1570
- "outputs": [
1571
- {
1572
- "internalType": "contract IProductService",
1573
- "name": "",
1574
- "type": "address"
1575
- }
1576
- ],
1577
- "stateMutability": "view",
1578
- "type": "function"
1579
- },
1580
- {
1581
- "inputs": [],
1582
- "name": "getRegistry",
1583
- "outputs": [
1584
- {
1585
- "internalType": "contract IRegistry",
1586
- "name": "",
1587
- "type": "address"
1588
- }
1589
- ],
1590
- "stateMutability": "view",
1591
- "type": "function"
1592
- },
1593
- {
1594
- "inputs": [],
1595
- "name": "getRegistryAddress",
1596
- "outputs": [
1597
- {
1598
- "internalType": "address",
1599
- "name": "",
1600
- "type": "address"
1601
- }
1602
- ],
1603
- "stateMutability": "view",
1604
- "type": "function"
1605
- },
1606
- {
1607
- "inputs": [
1608
- {
1609
- "internalType": "Key32",
1610
- "name": "key32",
1611
- "type": "bytes32"
1612
- }
1613
- ],
1614
- "name": "getState",
1615
- "outputs": [
1616
- {
1617
- "internalType": "StateId",
1618
- "name": "state",
1619
- "type": "uint8"
1620
- }
1621
- ],
1622
- "stateMutability": "view",
1623
- "type": "function"
1624
- },
1625
- {
1626
- "inputs": [
1627
- {
1628
- "internalType": "ObjectType",
1629
- "name": "objectType",
1630
- "type": "uint8"
1631
- }
1632
- ],
1633
- "name": "hasLifecycle",
1634
- "outputs": [
1635
- {
1636
- "internalType": "bool",
1637
- "name": "",
1638
- "type": "bool"
1639
- }
1640
- ],
1641
- "stateMutability": "view",
1642
- "type": "function"
1643
- },
1644
- {
1645
- "inputs": [
1646
- {
1647
- "internalType": "address",
1648
- "name": "accessManagerAddress",
1649
- "type": "address"
1650
- },
1651
- {
1652
- "internalType": "address",
1653
- "name": "registryAddress",
1654
- "type": "address"
1655
- },
1656
- {
1657
- "internalType": "NftId",
1658
- "name": "registryNftId",
1659
- "type": "uint96"
1660
- },
1661
- {
1662
- "internalType": "address",
1663
- "name": "initialOwner",
1664
- "type": "address"
1665
- }
1666
- ],
1667
- "name": "initialize",
1668
- "outputs": [],
1669
- "stateMutability": "nonpayable",
1670
- "type": "function"
1671
- },
1672
- {
1673
- "inputs": [],
1674
- "name": "initializeERC165",
1675
- "outputs": [],
1676
- "stateMutability": "nonpayable",
1677
- "type": "function"
1678
- },
1679
- {
1680
- "inputs": [
1681
- {
1682
- "internalType": "address",
1683
- "name": "initialOwner",
1684
- "type": "address"
1685
- },
1686
- {
1687
- "internalType": "address",
1688
- "name": "registryAddress",
1689
- "type": "address"
1690
- }
1691
- ],
1692
- "name": "initializeNftOwnable",
1693
- "outputs": [],
1694
- "stateMutability": "nonpayable",
1695
- "type": "function"
1696
- },
1697
- {
1698
- "inputs": [
1699
- {
1700
- "internalType": "address",
1701
- "name": "initialOwner",
1702
- "type": "address"
1703
- }
1704
- ],
1705
- "name": "initializeOwner",
1706
- "outputs": [],
1707
- "stateMutability": "nonpayable",
1708
- "type": "function"
1709
- },
1710
- {
1711
- "inputs": [
1712
- {
1713
- "internalType": "address",
1714
- "name": "registryAddress",
1715
- "type": "address"
1716
- },
1717
- {
1718
- "internalType": "NftId",
1719
- "name": "parentNftId",
1720
- "type": "uint96"
1721
- },
1722
- {
1723
- "internalType": "ObjectType",
1724
- "name": "objectType",
1725
- "type": "uint8"
1726
- },
1727
- {
1728
- "internalType": "bool",
1729
- "name": "isInterceptor",
1730
- "type": "bool"
1731
- },
1732
- {
1733
- "internalType": "address",
1734
- "name": "initialOwner",
1735
- "type": "address"
1736
- },
1737
- {
1738
- "internalType": "bytes",
1739
- "name": "data",
1740
- "type": "bytes"
1741
- }
1742
- ],
1743
- "name": "initializeRegisterable",
1744
- "outputs": [],
1745
- "stateMutability": "nonpayable",
1746
- "type": "function"
1747
- },
1748
- {
1749
- "inputs": [
1750
- {
1751
- "internalType": "address",
1752
- "name": "registryAddress",
1753
- "type": "address"
1754
- }
1755
- ],
1756
- "name": "initializeRegistryLinked",
1757
- "outputs": [],
1758
- "stateMutability": "nonpayable",
1759
- "type": "function"
1760
- },
1761
- {
1762
- "inputs": [],
1763
- "name": "isConsumingScheduledOp",
1764
- "outputs": [
1765
- {
1766
- "internalType": "bytes4",
1767
- "name": "",
1768
- "type": "bytes4"
1769
- }
1770
- ],
1771
- "stateMutability": "view",
1772
- "type": "function"
1773
- },
1774
- {
1775
- "inputs": [
1776
- {
1777
- "internalType": "ObjectType",
1778
- "name": "objectType",
1779
- "type": "uint8"
1780
- },
1781
- {
1782
- "internalType": "StateId",
1783
- "name": "fromId",
1784
- "type": "uint8"
1785
- },
1786
- {
1787
- "internalType": "StateId",
1788
- "name": "toId",
1789
- "type": "uint8"
1790
- }
1791
- ],
1792
- "name": "isValidTransition",
1793
- "outputs": [
1794
- {
1795
- "internalType": "bool",
1796
- "name": "",
1797
- "type": "bool"
1798
- }
1799
- ],
1800
- "stateMutability": "view",
1801
- "type": "function"
1802
- },
1803
- {
1804
- "inputs": [],
1805
- "name": "linkToRegisteredNftId",
1806
- "outputs": [],
1807
- "stateMutability": "nonpayable",
1808
- "type": "function"
1809
- },
1810
- {
1811
- "inputs": [
1812
- {
1813
- "internalType": "bytes4",
1814
- "name": "interfaceId",
1815
- "type": "bytes4"
1816
- }
1817
- ],
1818
- "name": "registerInterface",
1819
- "outputs": [],
1820
- "stateMutability": "nonpayable",
1821
- "type": "function"
1822
- },
1823
- {
1824
- "inputs": [
1825
- {
1826
- "internalType": "address",
1827
- "name": "newAuthority",
1828
- "type": "address"
1829
- }
1830
- ],
1831
- "name": "setAuthority",
1832
- "outputs": [],
1833
- "stateMutability": "nonpayable",
1834
- "type": "function"
1835
- },
1836
- {
1837
- "inputs": [
1838
- {
1839
- "internalType": "contract BundleManager",
1840
- "name": "bundleManager",
1841
- "type": "address"
1842
- }
1843
- ],
1844
- "name": "setBundleManager",
1845
- "outputs": [],
1846
- "stateMutability": "nonpayable",
1847
- "type": "function"
1848
- },
1849
- {
1850
- "inputs": [
1851
- {
1852
- "internalType": "contract InstanceReader",
1853
- "name": "instanceReader",
1854
- "type": "address"
1855
- }
1856
- ],
1857
- "name": "setInstanceReader",
1858
- "outputs": [],
1859
- "stateMutability": "nonpayable",
1860
- "type": "function"
1861
- },
1862
- {
1863
- "inputs": [
1864
- {
1865
- "internalType": "bytes4",
1866
- "name": "interfaceId",
1867
- "type": "bytes4"
1868
- }
1869
- ],
1870
- "name": "supportsInterface",
1871
- "outputs": [
1872
- {
1873
- "internalType": "bool",
1874
- "name": "",
1875
- "type": "bool"
1876
- }
1877
- ],
1878
- "stateMutability": "view",
1879
- "type": "function"
1880
- },
1881
- {
1882
- "inputs": [
1883
- {
1884
- "internalType": "NftId",
1885
- "name": "bundleNftId",
1886
- "type": "uint96"
1887
- }
1888
- ],
1889
- "name": "toBundleKey32",
1890
- "outputs": [
1891
- {
1892
- "internalType": "Key32",
1893
- "name": "",
1894
- "type": "bytes32"
1895
- }
1896
- ],
1897
- "stateMutability": "pure",
1898
- "type": "function"
1899
- },
1900
- {
1901
- "inputs": [
1902
- {
1903
- "internalType": "NftId",
1904
- "name": "distNftId",
1905
- "type": "uint96"
1906
- }
1907
- ],
1908
- "name": "toDistributionKey32",
437
+ "inputs": [],
438
+ "name": "getInstanceReader",
1909
439
  "outputs": [
1910
440
  {
1911
- "internalType": "Key32",
441
+ "internalType": "contract InstanceReader",
1912
442
  "name": "",
1913
- "type": "bytes32"
443
+ "type": "address"
1914
444
  }
1915
445
  ],
1916
- "stateMutability": "pure",
446
+ "stateMutability": "view",
1917
447
  "type": "function"
1918
448
  },
1919
449
  {
1920
- "inputs": [
450
+ "inputs": [],
451
+ "name": "getInstanceStore",
452
+ "outputs": [
1921
453
  {
1922
- "internalType": "NftId",
1923
- "name": "distNftId",
1924
- "type": "uint96"
454
+ "internalType": "contract InstanceStore",
455
+ "name": "",
456
+ "type": "address"
1925
457
  }
1926
458
  ],
1927
- "name": "toDistributorKey32",
459
+ "stateMutability": "view",
460
+ "type": "function"
461
+ },
462
+ {
463
+ "inputs": [],
464
+ "name": "getMajorVersion",
1928
465
  "outputs": [
1929
466
  {
1930
- "internalType": "Key32",
1931
- "name": "",
1932
- "type": "bytes32"
467
+ "internalType": "VersionPart",
468
+ "name": "majorVersion",
469
+ "type": "uint8"
1933
470
  }
1934
471
  ],
1935
472
  "stateMutability": "pure",
1936
473
  "type": "function"
1937
474
  },
1938
475
  {
1939
- "inputs": [
476
+ "inputs": [],
477
+ "name": "getNftId",
478
+ "outputs": [
1940
479
  {
1941
480
  "internalType": "NftId",
1942
- "name": "distNftId",
481
+ "name": "",
1943
482
  "type": "uint96"
1944
483
  }
1945
484
  ],
1946
- "name": "toDistributorTypeKey32",
485
+ "stateMutability": "view",
486
+ "type": "function"
487
+ },
488
+ {
489
+ "inputs": [],
490
+ "name": "getOwner",
1947
491
  "outputs": [
1948
492
  {
1949
- "internalType": "Key32",
493
+ "internalType": "address",
1950
494
  "name": "",
1951
- "type": "bytes32"
495
+ "type": "address"
1952
496
  }
1953
497
  ],
1954
- "stateMutability": "pure",
498
+ "stateMutability": "view",
1955
499
  "type": "function"
1956
500
  },
1957
501
  {
1958
- "inputs": [
1959
- {
1960
- "internalType": "ObjectType",
1961
- "name": "objectType",
1962
- "type": "uint8"
1963
- },
1964
- {
1965
- "internalType": "KeyId",
1966
- "name": "id",
1967
- "type": "bytes31"
1968
- }
1969
- ],
1970
- "name": "toKey32",
502
+ "inputs": [],
503
+ "name": "getPolicyService",
1971
504
  "outputs": [
1972
505
  {
1973
- "internalType": "Key32",
506
+ "internalType": "contract IPolicyService",
1974
507
  "name": "",
1975
- "type": "bytes32"
508
+ "type": "address"
1976
509
  }
1977
510
  ],
1978
- "stateMutability": "pure",
511
+ "stateMutability": "view",
1979
512
  "type": "function"
1980
513
  },
1981
514
  {
1982
- "inputs": [
1983
- {
1984
- "internalType": "NftId",
1985
- "name": "policyNftId",
1986
- "type": "uint96"
1987
- }
1988
- ],
1989
- "name": "toPolicyKey32",
515
+ "inputs": [],
516
+ "name": "getPoolService",
1990
517
  "outputs": [
1991
518
  {
1992
- "internalType": "Key32",
519
+ "internalType": "contract IPoolService",
1993
520
  "name": "",
1994
- "type": "bytes32"
521
+ "type": "address"
1995
522
  }
1996
523
  ],
1997
- "stateMutability": "pure",
524
+ "stateMutability": "view",
1998
525
  "type": "function"
1999
526
  },
2000
527
  {
2001
- "inputs": [
2002
- {
2003
- "internalType": "NftId",
2004
- "name": "bundleNftId",
2005
- "type": "uint96"
2006
- },
2007
- {
2008
- "components": [
2009
- {
2010
- "internalType": "NftId",
2011
- "name": "poolNftId",
2012
- "type": "uint96"
2013
- },
2014
- {
2015
- "components": [
2016
- {
2017
- "internalType": "UFixed",
2018
- "name": "fractionalFee",
2019
- "type": "uint256"
2020
- },
2021
- {
2022
- "internalType": "uint256",
2023
- "name": "fixedFee",
2024
- "type": "uint256"
2025
- }
2026
- ],
2027
- "internalType": "struct Fee",
2028
- "name": "fee",
2029
- "type": "tuple"
2030
- },
2031
- {
2032
- "internalType": "bytes",
2033
- "name": "filter",
2034
- "type": "bytes"
2035
- },
2036
- {
2037
- "internalType": "uint256",
2038
- "name": "capitalAmount",
2039
- "type": "uint256"
2040
- },
2041
- {
2042
- "internalType": "uint256",
2043
- "name": "lockedAmount",
2044
- "type": "uint256"
2045
- },
2046
- {
2047
- "internalType": "uint256",
2048
- "name": "balanceAmount",
2049
- "type": "uint256"
2050
- },
2051
- {
2052
- "internalType": "uint256",
2053
- "name": "lifetime",
2054
- "type": "uint256"
2055
- },
2056
- {
2057
- "internalType": "Timestamp",
2058
- "name": "expiredAt",
2059
- "type": "uint40"
2060
- },
2061
- {
2062
- "internalType": "Timestamp",
2063
- "name": "closedAt",
2064
- "type": "uint40"
2065
- }
2066
- ],
2067
- "internalType": "struct IBundle.BundleInfo",
2068
- "name": "bundle",
2069
- "type": "tuple"
2070
- },
528
+ "inputs": [],
529
+ "name": "getProductService",
530
+ "outputs": [
2071
531
  {
2072
- "internalType": "StateId",
2073
- "name": "newState",
2074
- "type": "uint8"
532
+ "internalType": "contract IProductService",
533
+ "name": "",
534
+ "type": "address"
2075
535
  }
2076
536
  ],
2077
- "name": "updateBundle",
2078
- "outputs": [],
2079
- "stateMutability": "nonpayable",
537
+ "stateMutability": "view",
2080
538
  "type": "function"
2081
539
  },
2082
540
  {
2083
- "inputs": [
2084
- {
2085
- "internalType": "NftId",
2086
- "name": "bundleNftId",
2087
- "type": "uint96"
2088
- },
541
+ "inputs": [],
542
+ "name": "getRegistry",
543
+ "outputs": [
2089
544
  {
2090
- "internalType": "StateId",
2091
- "name": "newState",
2092
- "type": "uint8"
545
+ "internalType": "contract IRegistry",
546
+ "name": "",
547
+ "type": "address"
2093
548
  }
2094
549
  ],
2095
- "name": "updateBundleState",
2096
- "outputs": [],
2097
- "stateMutability": "nonpayable",
550
+ "stateMutability": "view",
2098
551
  "type": "function"
2099
552
  },
2100
553
  {
2101
554
  "inputs": [
2102
555
  {
2103
- "internalType": "NftId",
2104
- "name": "policyNftId",
2105
- "type": "uint96"
2106
- },
2107
- {
2108
- "internalType": "NumberId",
2109
- "name": "claimId",
2110
- "type": "uint32"
2111
- },
2112
- {
2113
- "components": [
2114
- {
2115
- "internalType": "uint256",
2116
- "name": "claimAmount",
2117
- "type": "uint256"
2118
- },
2119
- {
2120
- "internalType": "uint256",
2121
- "name": "paidAmount",
2122
- "type": "uint256"
2123
- },
2124
- {
2125
- "internalType": "bytes",
2126
- "name": "data",
2127
- "type": "bytes"
2128
- },
2129
- {
2130
- "internalType": "Timestamp",
2131
- "name": "closedAt",
2132
- "type": "uint40"
2133
- }
2134
- ],
2135
- "internalType": "struct IPolicy.ClaimInfo",
2136
- "name": "claim",
2137
- "type": "tuple"
556
+ "internalType": "RoleId",
557
+ "name": "roleId",
558
+ "type": "uint64"
2138
559
  },
2139
560
  {
2140
- "internalType": "StateId",
2141
- "name": "newState",
2142
- "type": "uint8"
561
+ "internalType": "address",
562
+ "name": "account",
563
+ "type": "address"
2143
564
  }
2144
565
  ],
2145
- "name": "updateClaim",
566
+ "name": "grantRole",
2146
567
  "outputs": [],
2147
568
  "stateMutability": "nonpayable",
2148
569
  "type": "function"
@@ -2150,67 +571,29 @@
2150
571
  {
2151
572
  "inputs": [
2152
573
  {
2153
- "internalType": "NftId",
2154
- "name": "policyNftId",
2155
- "type": "uint96"
2156
- },
2157
- {
2158
- "internalType": "NumberId",
2159
- "name": "payoutId",
2160
- "type": "uint32"
574
+ "internalType": "address",
575
+ "name": "authority",
576
+ "type": "address"
2161
577
  },
2162
578
  {
2163
- "components": [
2164
- {
2165
- "internalType": "NumberId",
2166
- "name": "claimId",
2167
- "type": "uint32"
2168
- },
2169
- {
2170
- "internalType": "uint256",
2171
- "name": "amount",
2172
- "type": "uint256"
2173
- },
2174
- {
2175
- "internalType": "bytes",
2176
- "name": "data",
2177
- "type": "bytes"
2178
- },
2179
- {
2180
- "internalType": "Timestamp",
2181
- "name": "paidAt",
2182
- "type": "uint40"
2183
- }
2184
- ],
2185
- "internalType": "struct IPolicy.PayoutInfo",
2186
- "name": "payout",
2187
- "type": "tuple"
579
+ "internalType": "address",
580
+ "name": "registryAddress",
581
+ "type": "address"
2188
582
  },
2189
583
  {
2190
- "internalType": "StateId",
2191
- "name": "newState",
2192
- "type": "uint8"
584
+ "internalType": "address",
585
+ "name": "initialOwner",
586
+ "type": "address"
2193
587
  }
2194
588
  ],
2195
- "name": "updateClaim",
589
+ "name": "initialize",
2196
590
  "outputs": [],
2197
591
  "stateMutability": "nonpayable",
2198
592
  "type": "function"
2199
593
  },
2200
594
  {
2201
- "inputs": [
2202
- {
2203
- "internalType": "NftId",
2204
- "name": "policyNftId",
2205
- "type": "uint96"
2206
- },
2207
- {
2208
- "internalType": "StateId",
2209
- "name": "newState",
2210
- "type": "uint8"
2211
- }
2212
- ],
2213
- "name": "updateClaimState",
595
+ "inputs": [],
596
+ "name": "initializeERC165",
2214
597
  "outputs": [],
2215
598
  "stateMutability": "nonpayable",
2216
599
  "type": "function"
@@ -2218,56 +601,17 @@
2218
601
  {
2219
602
  "inputs": [
2220
603
  {
2221
- "internalType": "NftId",
2222
- "name": "distributionNftId",
2223
- "type": "uint96"
2224
- },
2225
- {
2226
- "components": [
2227
- {
2228
- "internalType": "NftId",
2229
- "name": "productNftId",
2230
- "type": "uint96"
2231
- },
2232
- {
2233
- "internalType": "contract TokenHandler",
2234
- "name": "tokenHandler",
2235
- "type": "address"
2236
- },
2237
- {
2238
- "components": [
2239
- {
2240
- "internalType": "UFixed",
2241
- "name": "fractionalFee",
2242
- "type": "uint256"
2243
- },
2244
- {
2245
- "internalType": "uint256",
2246
- "name": "fixedFee",
2247
- "type": "uint256"
2248
- }
2249
- ],
2250
- "internalType": "struct Fee",
2251
- "name": "distributionFee",
2252
- "type": "tuple"
2253
- },
2254
- {
2255
- "internalType": "address",
2256
- "name": "wallet",
2257
- "type": "address"
2258
- }
2259
- ],
2260
- "internalType": "struct ISetup.DistributionSetupInfo",
2261
- "name": "setup",
2262
- "type": "tuple"
604
+ "internalType": "address",
605
+ "name": "initialOwner",
606
+ "type": "address"
2263
607
  },
2264
608
  {
2265
- "internalType": "StateId",
2266
- "name": "newState",
2267
- "type": "uint8"
609
+ "internalType": "address",
610
+ "name": "registryAddress",
611
+ "type": "address"
2268
612
  }
2269
613
  ],
2270
- "name": "updateDistributionSetup",
614
+ "name": "initializeNftOwnable",
2271
615
  "outputs": [],
2272
616
  "stateMutability": "nonpayable",
2273
617
  "type": "function"
@@ -2275,57 +619,37 @@
2275
619
  {
2276
620
  "inputs": [
2277
621
  {
2278
- "internalType": "NftId",
2279
- "name": "distributionNftId",
2280
- "type": "uint96"
622
+ "internalType": "address",
623
+ "name": "registryAddress",
624
+ "type": "address"
2281
625
  },
2282
- {
2283
- "internalType": "StateId",
2284
- "name": "newState",
2285
- "type": "uint8"
2286
- }
2287
- ],
2288
- "name": "updateDistributionSetupState",
2289
- "outputs": [],
2290
- "stateMutability": "nonpayable",
2291
- "type": "function"
2292
- },
2293
- {
2294
- "inputs": [
2295
626
  {
2296
627
  "internalType": "NftId",
2297
- "name": "nftId",
628
+ "name": "parentNftId",
2298
629
  "type": "uint96"
2299
630
  },
2300
631
  {
2301
- "components": [
2302
- {
2303
- "internalType": "DistributorType",
2304
- "name": "distributorType",
2305
- "type": "bytes8"
2306
- },
2307
- {
2308
- "internalType": "bool",
2309
- "name": "active",
2310
- "type": "bool"
2311
- },
2312
- {
2313
- "internalType": "bytes",
2314
- "name": "data",
2315
- "type": "bytes"
2316
- }
2317
- ],
2318
- "internalType": "struct IDistribution.DistributorInfo",
2319
- "name": "info",
2320
- "type": "tuple"
632
+ "internalType": "ObjectType",
633
+ "name": "objectType",
634
+ "type": "uint8"
2321
635
  },
2322
636
  {
2323
- "internalType": "StateId",
2324
- "name": "newState",
2325
- "type": "uint8"
637
+ "internalType": "bool",
638
+ "name": "isInterceptor",
639
+ "type": "bool"
640
+ },
641
+ {
642
+ "internalType": "address",
643
+ "name": "initialOwner",
644
+ "type": "address"
645
+ },
646
+ {
647
+ "internalType": "bytes",
648
+ "name": "registryData",
649
+ "type": "bytes"
2326
650
  }
2327
651
  ],
2328
- "name": "updateDistributor",
652
+ "name": "initializeRegisterable",
2329
653
  "outputs": [],
2330
654
  "stateMutability": "nonpayable",
2331
655
  "type": "function"
@@ -2333,105 +657,51 @@
2333
657
  {
2334
658
  "inputs": [
2335
659
  {
2336
- "internalType": "NftId",
2337
- "name": "nftId",
2338
- "type": "uint96"
2339
- },
2340
- {
2341
- "internalType": "StateId",
2342
- "name": "newState",
2343
- "type": "uint8"
660
+ "internalType": "address",
661
+ "name": "registryAddress",
662
+ "type": "address"
2344
663
  }
2345
664
  ],
2346
- "name": "updateDistributorState",
665
+ "name": "initializeRegistryLinked",
2347
666
  "outputs": [],
2348
667
  "stateMutability": "nonpayable",
2349
668
  "type": "function"
2350
669
  },
2351
670
  {
2352
- "inputs": [
2353
- {
2354
- "internalType": "Key32",
2355
- "name": "distributorKey",
2356
- "type": "bytes32"
2357
- },
2358
- {
2359
- "components": [
2360
- {
2361
- "internalType": "string",
2362
- "name": "name",
2363
- "type": "string"
2364
- },
2365
- {
2366
- "internalType": "UFixed",
2367
- "name": "minDiscountPercentage",
2368
- "type": "uint256"
2369
- },
2370
- {
2371
- "internalType": "UFixed",
2372
- "name": "maxDiscountPercentage",
2373
- "type": "uint256"
2374
- },
2375
- {
2376
- "internalType": "UFixed",
2377
- "name": "commissionPercentage",
2378
- "type": "uint256"
2379
- },
2380
- {
2381
- "internalType": "uint32",
2382
- "name": "maxReferralCount",
2383
- "type": "uint32"
2384
- },
2385
- {
2386
- "internalType": "uint32",
2387
- "name": "maxReferralLifetime",
2388
- "type": "uint32"
2389
- },
2390
- {
2391
- "internalType": "bool",
2392
- "name": "allowSelfReferrals",
2393
- "type": "bool"
2394
- },
2395
- {
2396
- "internalType": "bool",
2397
- "name": "allowRenewals",
2398
- "type": "bool"
2399
- },
2400
- {
2401
- "internalType": "bytes",
2402
- "name": "data",
2403
- "type": "bytes"
2404
- }
2405
- ],
2406
- "internalType": "struct IDistribution.DistributorTypeInfo",
2407
- "name": "info",
2408
- "type": "tuple"
2409
- },
671
+ "inputs": [],
672
+ "name": "isConsumingScheduledOp",
673
+ "outputs": [
2410
674
  {
2411
- "internalType": "StateId",
2412
- "name": "newState",
2413
- "type": "uint8"
675
+ "internalType": "bytes4",
676
+ "name": "",
677
+ "type": "bytes4"
2414
678
  }
2415
679
  ],
2416
- "name": "updateDistributorType",
2417
- "outputs": [],
2418
- "stateMutability": "nonpayable",
680
+ "stateMutability": "view",
2419
681
  "type": "function"
2420
682
  },
2421
683
  {
2422
684
  "inputs": [
2423
685
  {
2424
- "internalType": "Key32",
2425
- "name": "distributorKey",
2426
- "type": "bytes32"
2427
- },
686
+ "internalType": "address",
687
+ "name": "nftOwnableAddress",
688
+ "type": "address"
689
+ }
690
+ ],
691
+ "name": "linkToNftOwnable",
692
+ "outputs": [
2428
693
  {
2429
- "internalType": "StateId",
2430
- "name": "newState",
2431
- "type": "uint8"
694
+ "internalType": "NftId",
695
+ "name": "",
696
+ "type": "uint96"
2432
697
  }
2433
698
  ],
2434
- "name": "updateDistributorTypeState",
699
+ "stateMutability": "nonpayable",
700
+ "type": "function"
701
+ },
702
+ {
703
+ "inputs": [],
704
+ "name": "linkToRegisteredNftId",
2435
705
  "outputs": [],
2436
706
  "stateMutability": "nonpayable",
2437
707
  "type": "function"
@@ -2439,17 +709,17 @@
2439
709
  {
2440
710
  "inputs": [
2441
711
  {
2442
- "internalType": "NftId",
2443
- "name": "policyNftId",
2444
- "type": "uint96"
712
+ "internalType": "address",
713
+ "name": "to",
714
+ "type": "address"
2445
715
  },
2446
716
  {
2447
- "internalType": "StateId",
2448
- "name": "newState",
2449
- "type": "uint8"
717
+ "internalType": "uint256",
718
+ "name": "tokenId",
719
+ "type": "uint256"
2450
720
  }
2451
721
  ],
2452
- "name": "updatePayoutState",
722
+ "name": "nftMint",
2453
723
  "outputs": [],
2454
724
  "stateMutability": "nonpayable",
2455
725
  "type": "function"
@@ -2457,104 +727,22 @@
2457
727
  {
2458
728
  "inputs": [
2459
729
  {
2460
- "internalType": "NftId",
2461
- "name": "policyNftId",
2462
- "type": "uint96"
730
+ "internalType": "address",
731
+ "name": "from",
732
+ "type": "address"
2463
733
  },
2464
734
  {
2465
- "components": [
2466
- {
2467
- "internalType": "NftId",
2468
- "name": "productNftId",
2469
- "type": "uint96"
2470
- },
2471
- {
2472
- "internalType": "NftId",
2473
- "name": "bundleNftId",
2474
- "type": "uint96"
2475
- },
2476
- {
2477
- "internalType": "ReferralId",
2478
- "name": "referralId",
2479
- "type": "bytes8"
2480
- },
2481
- {
2482
- "internalType": "RiskId",
2483
- "name": "riskId",
2484
- "type": "bytes8"
2485
- },
2486
- {
2487
- "internalType": "uint256",
2488
- "name": "sumInsuredAmount",
2489
- "type": "uint256"
2490
- },
2491
- {
2492
- "internalType": "uint256",
2493
- "name": "premiumAmount",
2494
- "type": "uint256"
2495
- },
2496
- {
2497
- "internalType": "uint256",
2498
- "name": "premiumPaidAmount",
2499
- "type": "uint256"
2500
- },
2501
- {
2502
- "internalType": "uint256",
2503
- "name": "lifetime",
2504
- "type": "uint256"
2505
- },
2506
- {
2507
- "internalType": "bytes",
2508
- "name": "applicationData",
2509
- "type": "bytes"
2510
- },
2511
- {
2512
- "internalType": "bytes",
2513
- "name": "policyData",
2514
- "type": "bytes"
2515
- },
2516
- {
2517
- "internalType": "uint16",
2518
- "name": "claimsCount",
2519
- "type": "uint16"
2520
- },
2521
- {
2522
- "internalType": "uint16",
2523
- "name": "openClaimsCount",
2524
- "type": "uint16"
2525
- },
2526
- {
2527
- "internalType": "uint256",
2528
- "name": "payoutAmount",
2529
- "type": "uint256"
2530
- },
2531
- {
2532
- "internalType": "Timestamp",
2533
- "name": "activatedAt",
2534
- "type": "uint40"
2535
- },
2536
- {
2537
- "internalType": "Timestamp",
2538
- "name": "expiredAt",
2539
- "type": "uint40"
2540
- },
2541
- {
2542
- "internalType": "Timestamp",
2543
- "name": "closedAt",
2544
- "type": "uint40"
2545
- }
2546
- ],
2547
- "internalType": "struct IPolicy.PolicyInfo",
2548
- "name": "policy",
2549
- "type": "tuple"
735
+ "internalType": "address",
736
+ "name": "to",
737
+ "type": "address"
2550
738
  },
2551
739
  {
2552
- "internalType": "StateId",
2553
- "name": "newState",
2554
- "type": "uint8"
740
+ "internalType": "uint256",
741
+ "name": "tokenId",
742
+ "type": "uint256"
2555
743
  }
2556
744
  ],
2557
- "name": "updatePolicy",
745
+ "name": "nftTransferFrom",
2558
746
  "outputs": [],
2559
747
  "stateMutability": "nonpayable",
2560
748
  "type": "function"
@@ -2562,17 +750,12 @@
2562
750
  {
2563
751
  "inputs": [
2564
752
  {
2565
- "internalType": "NftId",
2566
- "name": "policyNftId",
2567
- "type": "uint96"
2568
- },
2569
- {
2570
- "internalType": "StateId",
2571
- "name": "newState",
2572
- "type": "uint8"
753
+ "internalType": "bytes4",
754
+ "name": "interfaceId",
755
+ "type": "bytes4"
2573
756
  }
2574
757
  ],
2575
- "name": "updatePolicyState",
758
+ "name": "registerInterface",
2576
759
  "outputs": [],
2577
760
  "stateMutability": "nonpayable",
2578
761
  "type": "function"
@@ -2580,115 +763,17 @@
2580
763
  {
2581
764
  "inputs": [
2582
765
  {
2583
- "internalType": "NftId",
2584
- "name": "poolNftId",
2585
- "type": "uint96"
2586
- },
2587
- {
2588
- "components": [
2589
- {
2590
- "internalType": "NftId",
2591
- "name": "productNftId",
2592
- "type": "uint96"
2593
- },
2594
- {
2595
- "internalType": "contract TokenHandler",
2596
- "name": "tokenHandler",
2597
- "type": "address"
2598
- },
2599
- {
2600
- "internalType": "bool",
2601
- "name": "isInterceptingBundleTransfers",
2602
- "type": "bool"
2603
- },
2604
- {
2605
- "internalType": "bool",
2606
- "name": "isExternallyManaged",
2607
- "type": "bool"
2608
- },
2609
- {
2610
- "internalType": "bool",
2611
- "name": "isVerifyingApplications",
2612
- "type": "bool"
2613
- },
2614
- {
2615
- "internalType": "UFixed",
2616
- "name": "collateralizationLevel",
2617
- "type": "uint256"
2618
- },
2619
- {
2620
- "internalType": "UFixed",
2621
- "name": "retentionLevel",
2622
- "type": "uint256"
2623
- },
2624
- {
2625
- "components": [
2626
- {
2627
- "internalType": "UFixed",
2628
- "name": "fractionalFee",
2629
- "type": "uint256"
2630
- },
2631
- {
2632
- "internalType": "uint256",
2633
- "name": "fixedFee",
2634
- "type": "uint256"
2635
- }
2636
- ],
2637
- "internalType": "struct Fee",
2638
- "name": "poolFee",
2639
- "type": "tuple"
2640
- },
2641
- {
2642
- "components": [
2643
- {
2644
- "internalType": "UFixed",
2645
- "name": "fractionalFee",
2646
- "type": "uint256"
2647
- },
2648
- {
2649
- "internalType": "uint256",
2650
- "name": "fixedFee",
2651
- "type": "uint256"
2652
- }
2653
- ],
2654
- "internalType": "struct Fee",
2655
- "name": "stakingFee",
2656
- "type": "tuple"
2657
- },
2658
- {
2659
- "components": [
2660
- {
2661
- "internalType": "UFixed",
2662
- "name": "fractionalFee",
2663
- "type": "uint256"
2664
- },
2665
- {
2666
- "internalType": "uint256",
2667
- "name": "fixedFee",
2668
- "type": "uint256"
2669
- }
2670
- ],
2671
- "internalType": "struct Fee",
2672
- "name": "performanceFee",
2673
- "type": "tuple"
2674
- },
2675
- {
2676
- "internalType": "address",
2677
- "name": "wallet",
2678
- "type": "address"
2679
- }
2680
- ],
2681
- "internalType": "struct ISetup.PoolSetupInfo",
2682
- "name": "setup",
2683
- "type": "tuple"
766
+ "internalType": "RoleId",
767
+ "name": "roleId",
768
+ "type": "uint64"
2684
769
  },
2685
770
  {
2686
- "internalType": "StateId",
2687
- "name": "newState",
2688
- "type": "uint8"
771
+ "internalType": "address",
772
+ "name": "account",
773
+ "type": "address"
2689
774
  }
2690
775
  ],
2691
- "name": "updatePoolSetup",
776
+ "name": "revokeRole",
2692
777
  "outputs": [],
2693
778
  "stateMutability": "nonpayable",
2694
779
  "type": "function"
@@ -2696,174 +781,25 @@
2696
781
  {
2697
782
  "inputs": [
2698
783
  {
2699
- "internalType": "NftId",
2700
- "name": "poolNftId",
2701
- "type": "uint96"
2702
- },
2703
- {
2704
- "internalType": "StateId",
2705
- "name": "newState",
2706
- "type": "uint8"
784
+ "internalType": "address",
785
+ "name": "newAuthority",
786
+ "type": "address"
2707
787
  }
2708
788
  ],
2709
- "name": "updatePoolSetupState",
789
+ "name": "setAuthority",
2710
790
  "outputs": [],
2711
791
  "stateMutability": "nonpayable",
2712
- "type": "function"
2713
- },
2714
- {
2715
- "inputs": [
2716
- {
2717
- "internalType": "NftId",
2718
- "name": "productNftId",
2719
- "type": "uint96"
2720
- },
2721
- {
2722
- "components": [
2723
- {
2724
- "internalType": "contract IERC20Metadata",
2725
- "name": "token",
2726
- "type": "address"
2727
- },
2728
- {
2729
- "internalType": "contract TokenHandler",
2730
- "name": "tokenHandler",
2731
- "type": "address"
2732
- },
2733
- {
2734
- "internalType": "NftId",
2735
- "name": "distributionNftId",
2736
- "type": "uint96"
2737
- },
2738
- {
2739
- "internalType": "NftId",
2740
- "name": "poolNftId",
2741
- "type": "uint96"
2742
- },
2743
- {
2744
- "components": [
2745
- {
2746
- "internalType": "UFixed",
2747
- "name": "fractionalFee",
2748
- "type": "uint256"
2749
- },
2750
- {
2751
- "internalType": "uint256",
2752
- "name": "fixedFee",
2753
- "type": "uint256"
2754
- }
2755
- ],
2756
- "internalType": "struct Fee",
2757
- "name": "distributionFee",
2758
- "type": "tuple"
2759
- },
2760
- {
2761
- "components": [
2762
- {
2763
- "internalType": "UFixed",
2764
- "name": "fractionalFee",
2765
- "type": "uint256"
2766
- },
2767
- {
2768
- "internalType": "uint256",
2769
- "name": "fixedFee",
2770
- "type": "uint256"
2771
- }
2772
- ],
2773
- "internalType": "struct Fee",
2774
- "name": "productFee",
2775
- "type": "tuple"
2776
- },
2777
- {
2778
- "components": [
2779
- {
2780
- "internalType": "UFixed",
2781
- "name": "fractionalFee",
2782
- "type": "uint256"
2783
- },
2784
- {
2785
- "internalType": "uint256",
2786
- "name": "fixedFee",
2787
- "type": "uint256"
2788
- }
2789
- ],
2790
- "internalType": "struct Fee",
2791
- "name": "processingFee",
2792
- "type": "tuple"
2793
- },
2794
- {
2795
- "components": [
2796
- {
2797
- "internalType": "UFixed",
2798
- "name": "fractionalFee",
2799
- "type": "uint256"
2800
- },
2801
- {
2802
- "internalType": "uint256",
2803
- "name": "fixedFee",
2804
- "type": "uint256"
2805
- }
2806
- ],
2807
- "internalType": "struct Fee",
2808
- "name": "poolFee",
2809
- "type": "tuple"
2810
- },
2811
- {
2812
- "components": [
2813
- {
2814
- "internalType": "UFixed",
2815
- "name": "fractionalFee",
2816
- "type": "uint256"
2817
- },
2818
- {
2819
- "internalType": "uint256",
2820
- "name": "fixedFee",
2821
- "type": "uint256"
2822
- }
2823
- ],
2824
- "internalType": "struct Fee",
2825
- "name": "stakingFee",
2826
- "type": "tuple"
2827
- },
2828
- {
2829
- "components": [
2830
- {
2831
- "internalType": "UFixed",
2832
- "name": "fractionalFee",
2833
- "type": "uint256"
2834
- },
2835
- {
2836
- "internalType": "uint256",
2837
- "name": "fixedFee",
2838
- "type": "uint256"
2839
- }
2840
- ],
2841
- "internalType": "struct Fee",
2842
- "name": "performanceFee",
2843
- "type": "tuple"
2844
- },
2845
- {
2846
- "internalType": "bool",
2847
- "name": "isIntercepting",
2848
- "type": "bool"
2849
- },
2850
- {
2851
- "internalType": "address",
2852
- "name": "wallet",
2853
- "type": "address"
2854
- }
2855
- ],
2856
- "internalType": "struct ISetup.ProductSetupInfo",
2857
- "name": "setup",
2858
- "type": "tuple"
2859
- },
792
+ "type": "function"
793
+ },
794
+ {
795
+ "inputs": [
2860
796
  {
2861
- "internalType": "StateId",
2862
- "name": "newState",
2863
- "type": "uint8"
797
+ "internalType": "contract BundleManager",
798
+ "name": "bundleManager",
799
+ "type": "address"
2864
800
  }
2865
801
  ],
2866
- "name": "updateProductSetup",
802
+ "name": "setBundleManager",
2867
803
  "outputs": [],
2868
804
  "stateMutability": "nonpayable",
2869
805
  "type": "function"
@@ -2871,17 +807,12 @@
2871
807
  {
2872
808
  "inputs": [
2873
809
  {
2874
- "internalType": "NftId",
2875
- "name": "productNftId",
2876
- "type": "uint96"
2877
- },
2878
- {
2879
- "internalType": "StateId",
2880
- "name": "newState",
2881
- "type": "uint8"
810
+ "internalType": "contract InstanceAdmin",
811
+ "name": "accessManager",
812
+ "type": "address"
2882
813
  }
2883
814
  ],
2884
- "name": "updateProductSetupState",
815
+ "name": "setInstanceAdmin",
2885
816
  "outputs": [],
2886
817
  "stateMutability": "nonpayable",
2887
818
  "type": "function"
@@ -2889,59 +820,12 @@
2889
820
  {
2890
821
  "inputs": [
2891
822
  {
2892
- "internalType": "Key32",
2893
- "name": "referralKey",
2894
- "type": "bytes32"
2895
- },
2896
- {
2897
- "components": [
2898
- {
2899
- "internalType": "NftId",
2900
- "name": "distributorNftId",
2901
- "type": "uint96"
2902
- },
2903
- {
2904
- "internalType": "string",
2905
- "name": "referralCode",
2906
- "type": "string"
2907
- },
2908
- {
2909
- "internalType": "UFixed",
2910
- "name": "discountPercentage",
2911
- "type": "uint256"
2912
- },
2913
- {
2914
- "internalType": "uint32",
2915
- "name": "maxReferrals",
2916
- "type": "uint32"
2917
- },
2918
- {
2919
- "internalType": "uint32",
2920
- "name": "usedReferrals",
2921
- "type": "uint32"
2922
- },
2923
- {
2924
- "internalType": "Timestamp",
2925
- "name": "expiryAt",
2926
- "type": "uint40"
2927
- },
2928
- {
2929
- "internalType": "bytes",
2930
- "name": "data",
2931
- "type": "bytes"
2932
- }
2933
- ],
2934
- "internalType": "struct IDistribution.ReferralInfo",
2935
- "name": "referralInfo",
2936
- "type": "tuple"
2937
- },
2938
- {
2939
- "internalType": "StateId",
2940
- "name": "newState",
2941
- "type": "uint8"
823
+ "internalType": "contract InstanceReader",
824
+ "name": "instanceReader",
825
+ "type": "address"
2942
826
  }
2943
827
  ],
2944
- "name": "updateReferral",
828
+ "name": "setInstanceReader",
2945
829
  "outputs": [],
2946
830
  "stateMutability": "nonpayable",
2947
831
  "type": "function"
@@ -2949,17 +833,12 @@
2949
833
  {
2950
834
  "inputs": [
2951
835
  {
2952
- "internalType": "Key32",
2953
- "name": "referralKey",
2954
- "type": "bytes32"
2955
- },
2956
- {
2957
- "internalType": "StateId",
2958
- "name": "newState",
2959
- "type": "uint8"
836
+ "internalType": "contract InstanceStore",
837
+ "name": "instanceStore",
838
+ "type": "address"
2960
839
  }
2961
840
  ],
2962
- "name": "updateReferralState",
841
+ "name": "setInstanceStore",
2963
842
  "outputs": [],
2964
843
  "stateMutability": "nonpayable",
2965
844
  "type": "function"
@@ -2967,34 +846,22 @@
2967
846
  {
2968
847
  "inputs": [
2969
848
  {
2970
- "internalType": "RiskId",
2971
- "name": "riskId",
2972
- "type": "bytes8"
849
+ "internalType": "string",
850
+ "name": "targetName",
851
+ "type": "string"
2973
852
  },
2974
853
  {
2975
- "components": [
2976
- {
2977
- "internalType": "NftId",
2978
- "name": "productNftId",
2979
- "type": "uint96"
2980
- },
2981
- {
2982
- "internalType": "bytes",
2983
- "name": "data",
2984
- "type": "bytes"
2985
- }
2986
- ],
2987
- "internalType": "struct IRisk.RiskInfo",
2988
- "name": "risk",
2989
- "type": "tuple"
854
+ "internalType": "bytes4[]",
855
+ "name": "selectors",
856
+ "type": "bytes4[]"
2990
857
  },
2991
858
  {
2992
- "internalType": "StateId",
2993
- "name": "newState",
2994
- "type": "uint8"
859
+ "internalType": "RoleId",
860
+ "name": "roleId",
861
+ "type": "uint64"
2995
862
  }
2996
863
  ],
2997
- "name": "updateRisk",
864
+ "name": "setTargetFunctionRole",
2998
865
  "outputs": [],
2999
866
  "stateMutability": "nonpayable",
3000
867
  "type": "function"
@@ -3002,320 +869,107 @@
3002
869
  {
3003
870
  "inputs": [
3004
871
  {
3005
- "internalType": "RiskId",
3006
- "name": "riskId",
3007
- "type": "bytes8"
872
+ "internalType": "address",
873
+ "name": "target",
874
+ "type": "address"
3008
875
  },
3009
876
  {
3010
- "internalType": "StateId",
3011
- "name": "newState",
3012
- "type": "uint8"
877
+ "internalType": "bool",
878
+ "name": "locked",
879
+ "type": "bool"
3013
880
  }
3014
881
  ],
3015
- "name": "updateRiskState",
882
+ "name": "setTargetLocked",
3016
883
  "outputs": [],
3017
884
  "stateMutability": "nonpayable",
3018
885
  "type": "function"
3019
- }
3020
- ],
3021
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000040565b62000026620001f7565b6200003062000331565b6200003a6200059e565b62000717565b60dc600090815260026020527f4bee8dc518469fb8c73831886b94afa96b3ef3e3ee55b9076720259192220ef0805460ff191660641790556001906003906200008760dc90565b60ff1660ff1681526020019081526020016000206000620000ad620006e560201b60201c565b60ff1660ff1681526020019081526020016000206000620000d3620006ef60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906003906200010760dc90565b60ff1660ff16815260200190815260200160002060006200012d620006ef60201b60201c565b60ff1660ff168152602001908152602001600020600062000153620006e560201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906003906200018760dc90565b60ff1660ff1681526020019081526020016000206000620001ad620006ef60201b60201c565b60ff1660ff1681526020019081526020016000206000620001d3620006f460201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a8054606460ff1991821681179092557fa1c69de77e78d12e062170d002ba111ba52c8f452f3b0ca326991b7298fd7aaf8054909116600190811790915560009182526003602052907f6b16ef514f22b74729cbea5cc7babfecbdc2309e530ca716643d11fe929eed2e906200028b606e90565b60ff1660ff1681526020019081526020016000206000620002b1620006e560201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600390620002e5606490565b60ff1660ff16815260200190815260200160002060006200030b620006ef60201b60201c565b60ff1660ff1681526020019081526020016000206000620001d3620006f960201b60201c565b60d3600090815260026020527feb6856e0ae0d71a8a9e0bc42aca98fe96c3be13699c5c2d551c94a190e39043d805460ff1916600a1790556001906003906200037860d390565b60ff1660ff16815260200190815260200160002060006200039e620006fe60201b60201c565b60ff1660ff1681526020019081526020016000206000620003c46200070360201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600390620003f860d390565b60ff1660ff16815260200190815260200160002060006200041e620006fe60201b60201c565b60ff1660ff1681526020019081526020016000206000620004446200070860201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906003906200047860d390565b60ff1660ff16815260200190815260200160002060006200049e620006fe60201b60201c565b60ff1660ff1681526020019081526020016000206000620004c46200070d60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600390620004f860d390565b60ff1660ff16815260200190815260200160002060006200051e6200070d60201b60201c565b60ff1660ff168152602001908152602001600020600062000544620006e560201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906003906200057860d390565b60ff1660ff1681526020019081526020016000206000620001ad620006e560201b60201c565b60c8600090815260026020527fec56eb74d500f9b1bf8f0c5cc42ff5ed51e8d9e3a2ebb6e83a26383f297e0f1e805460ff19166064179055600190600390620005e560c890565b60ff1660ff16815260200190815260200160002060006200060b620006e560201b60201c565b60ff1660ff168152602001908152602001600020600062000631620006ef60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906003906200066560c890565b60ff1660ff16815260200190815260200160002060006200068b620006ef60201b60201c565b60ff1660ff1681526020019081526020016000206000620006b1620006e560201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600390620002e560c890565b606490565b905090565b606e90565b60c890565b60d290565b600a90565b601490565b601e90565b60006028620006ea565b6153ad80620007276000396000f3fe608060405234801561001057600080fd5b50600436106104a15760003560e01c80637b8c388f1161026d578063bf1db3f911610151578063e3aa7f05116100ce578063f651dcac11610092578063f651dcac14610b50578063f7bc431c14610b63578063f7c34ee014610b76578063fb2cb10114610b89578063fe1f18d614610b91578063fed3d63f14610ba457600080fd5b8063e3aa7f0514610aec578063e8951ee614610790578063e9e96c7014610aff578063f21de1e81461077f578063f48016ce14610b3d57600080fd5b8063cf947d2011610115578063cf947d2014610a98578063d2f21a2914610aab578063d5b221bd14610abe578063dee3262314610ad1578063e1033e7d14610ae457600080fd5b8063bf1db3f914610a5a578063bf7e214f14610a6d578063ca600b1c14610a75578063ccdcd37f14610a7d578063cde749f414610a9057600080fd5b80639df0280b116101ea578063a9cea142116101ae578063a9cea142146109f9578063ada9652e14610a0c578063afa5e13014610726578063b3260e9314610a21578063b405b76f14610a34578063bc8d400014610a4757600080fd5b80639df0280b14610790578063a13df2ab1461090f578063a5961b4c14610922578063a76ee018146109d3578063a8989675146109e657600080fd5b80638fb36037116102315780638fb36037146108a257806391ff6eaa146108c3578063976b0a77146108d65780639a960d52146108e95780639d7421f4146108fc57600080fd5b80637b8c388f146108415780637cef484214610854578063893d20e8146108675780638c5f36bb1461086f5780638eaa6ac01461088257600080fd5b80633fc5ab98116103945780635ab1bd5311610311578063644c45e0116102d5578063644c45e0146107d0578063675393bf146107f85780636b9bf08b1461080b57806375b238fc1461081357806375c827761461081b5780637a9e5e4b1461082e57600080fd5b80635ab1bd531461077f5780635d4345cc146107905780635dfa73db146107a35780636071a68e146107ac57806361f5f420146107bf57600080fd5b806351cf2fd01161035857806351cf2fd0146107135780635378cd3c1461072657806354d747a81461073957806354f6127f1461074c578063588cd2811461076c57600080fd5b80633fc5ab98146106bf57806340529b0f146106d2578063422c9d00146106e55780634288121d146106f8578063468a18671461070057600080fd5b80632781d4431161042257806336fc697e116103e657806336fc697e1461064e57806337f135d71461065657806338a699a4146106735780633ca7c02a146106865780633e35aba8146106ac57600080fd5b80632781d443146105fa57806327953f481461060257806327bb7a33146106155780632f61088a1461062857806333bb0a971461063b57600080fd5b80630fec111c116104695780630fec111c14610582578063138461e0146105975780631b38d5f41461059f5780631eff4b22146105c0578063214cdb80146105e757600080fd5b806301ffc9a7146104a657806302cd3071146104e857806309648a9d1461050d5780630d358181146105475780630f526f7d1461056d575b600080fd5b6104d36104b4366004613562565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6006546001600160a01b03165b6040516001600160a01b0390911681526020016104df565b61053561051b36600461358c565b600090815260046020526040902054610100900460ff1690565b60405160ff90911681526020016104df565b6105356105553660046135b4565b60ff9081166000908152600260205260409020541690565b61058061057b3660046135f6565b610bac565b005b61058a610bd1565b6040516104df919061367f565b610580610d80565b6105b26105ad36600461370a565b610fd3565b6040519081526020016104df565b6105b27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6105806105f5366004613562565b611072565b6105b2600381565b6105806106103660046139ca565b61109f565b610580610623366004613a30565b6110d1565b610580610636366004613b43565b61116d565b610580610649366004613c12565b611208565b610580611233565b61065e600081565b60405163ffffffff90911681526020016104df565b6104d361068136600461358c565b611279565b6106946001600160401b0381565b6040516001600160401b0390911681526020016104df565b6105b26106ba36600461370a565b611308565b6105806106cd366004613d5a565b611335565b6105806106e03660046135f6565b611370565b6105806106f3366004613dbd565b611385565b6104f56114c2565b6105b261070e36600461370a565b611555565b610580610721366004613e69565b611582565b610580610734366004613eb0565b6115a8565b610580610747366004613f91565b6115bb565b61075f61075a36600461358c565b6115d9565b6040516104df9190613fcd565b61058061077a3660046140b2565b61167e565b6001546001600160a01b03166104f5565b61058061079e3660046135f6565b6116a6565b61069461271081565b6105806107ba3660046140f3565b6116bb565b6007546001600160a01b03166104f5565b600080516020615338833981519152546040516001600160601b0390911681526020016104df565b610580610806366004613dbd565b6116e1565b6104f56116f5565b610694600081565b61058061082936600461417b565b61171e565b61058061083c366004613dbd565b61174a565b6105b261084f36600461370a565b6117cd565b6105806108623660046141ef565b6117fa565b6104f5611884565b61058061087d366004613dbd565b6119bb565b61089561089036600461358c565b611ae2565b6040516104df9190614257565b6108aa611c23565b6040516001600160e01b031990911681526020016104df565b6105806108d136600461437b565b611c5b565b6105806108e43660046143b2565b611c83565b6105806108f7366004614550565b611dc3565b61058061090a366004614597565b611de9565b6105b261091d36600461370a565b611e0f565b6109c661093036600461358c565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260046020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104df91906145ee565b6105806109e13660046145fc565b611e3c565b6105806109f4366004614643565b611ed7565b610580610a07366004614683565b611fc8565b6105b260008051602061533883398151915281565b610580610a2f3660046146c4565b611ff0565b610580610a42366004614702565b61200e565b610580610a55366004614747565b612034565b6104d3610a683660046135b4565b61205a565b6104f56120a7565b6104f56120c3565b610580610a8b3660046147e8565b6120ec565b610535612114565b610580610aa6366004614827565b61218b565b610580610ab93660046135f6565b6121a9565b610580610acc366004614865565b6121c0565b610580610adf3660046135f6565b6121e6565b6104f56121fd565b610580610afa3660046148bd565b612226565b6104d3610b0d366004614643565b60ff9283166000908152600360209081526040808320948616835293815283822092851682529190915220541690565b6105b2610b4b3660046148fb565b61224e565b610580610b5e366004614929565b6122d9565b610580610b71366004613dbd565b612301565b610580610b84366004614956565b6123ee565b6104f5612420565b610580610b9f3660046135f6565b612436565b6104f561244b565b610bb9335b600036612474565b610bcd610bc783608c612572565b826125be565b5050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610c7c90614984565b80601f0160208091040260200160405190810160405280929190818152602001828054610ca890614984565b8015610cf55780601f10610cca57610100808354040283529160200191610cf5565b820191906000526020600020905b815481529060010190602001808311610cd857829003601f168201915b50505050508152505090506040518060e00160405280610d13600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610d64612420565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061533883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610def573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1391906149be565b15610e555760015481546040516316322c0f60e31b81526001600160a01b0390921660048301526001600160601b031660248201526044015b60405180910390fd5b6000610e696001546001600160a01b031690565b6001600160a01b031603610e905760405163cf29926160e01b815260040160405180910390fd5b30610ea36001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610eeb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0f91906149be565b610f37576040516372657a5160e01b81526001600160a01b0382166004820152602401610e4c565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610f8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610faf91906149db565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660795b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611048573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106c91906149f8565b92915050565b61107a6125c8565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6110a833610bb1565b610bcd82826040516020016110bd9190614a11565b604051602081830303815290604052612613565b6110d96125c8565b6110e382876123ee565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016111538382614b07565b506111646303fb044760e21b611072565b50505050505050565b61117633610bb1565b6040516355ee627560e01b81526001600160c01b031983166004820152610bcd9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af41580156111d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f791906149f8565b826040516020016110bd9190614bc6565b61121133610bb1565b61122e61121d84611555565b826040516020016110bd9190614bf4565b505050565b61123b6125c8565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600081815260046020819052604080832054905163b2466acf60e01b815261010090910460ff169181019190915273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af41580156112e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106c91906149be565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610ffc565b61133e33610bb1565b61122e61134a84611e0f565b8360405160200161135b9190614c47565b6040516020818303038152906040528361261d565b61137933610bb1565b610bcd610bc7836117cd565b61138e33610bb1565b6007546001600160a01b0316156113de5760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610e4c565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611426573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144a9190614cfb565b6001600160a01b0316146114a05760405162461bcd60e51b815260206004820152601f60248201527f42756e646c654d616e6167657220696e7374616e6365206d69736d61746368006044820152606401610e4c565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60006114d66001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa15801561152c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115509190614cfb565b905090565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d3610ffc565b61158b33610bb1565b61122e611597846117cd565b8360405160200161135b9190614d18565b6115b133610bb1565b610bcd82826125be565b6115c433610bb1565b610bcd82826040516020016110bd9190614d55565b60008181526004602052604090206001018054606091906115f990614984565b80601f016020809104026020016040519081016040528092919081815260200182805461162590614984565b80156116725780601f1061164757610100808354040283529160200191611672565b820191906000526020600020905b81548152906001019060200180831161165557829003601f168201915b50505050509050919050565b61168733610bb1565b61122e61169584608c612572565b8360405160200161135b9190614df0565b6116af33610bb1565b610bcd610bc783611555565b6116c433610bb1565b610bcd6116d083611e0f565b826040516020016110bd9190614c47565b6116e96125c8565b6116f281612628565b50565b60006117096001546001600160a01b031690565b6001600160a01b031663d39e6043608c6114e7565b61172733610bb1565b61174461173385611555565b8360405160200161135b9190614edd565b50505050565b336117536120a7565b6001600160a01b0316816001600160a01b03161461178e5760405162d1953b60e31b81526001600160a01b0382166004820152602401610e4c565b816001600160a01b03163b6000036117c4576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e4c565b610bcd82612789565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610ffc565b61180333610bb1565b6040516355ee627560e01b81526001600160c01b031983166004820152610bcd9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611860573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc791906149f8565b60008060008051602061533883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156118f4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061191891906149be565b156119a5576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561197b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061199f9190614cfb565b91505090565b54600160601b90046001600160a01b0316919050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b0316600081158015611a005750825b90506000826001600160401b03166001148015611a1c5750303b155b905081158015611a2a575080155b15611a485760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611a7257845460ff60401b1916600160401b1785555b611a7b866127ea565b611a83611233565b611a93631fdea09d60e31b611072565b8315611ada57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b505050505050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260046020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611b9a90614984565b80601f0160208091040260200160405190810160405280929190818152602001828054611bc690614984565b8015611c135780601f10611be857610100808354040283529160200191611c13565b820191906000526020600020905b815481529060010190602001808311611bf657829003601f168201915b5050505050815250509050919050565b600080516020615358833981519152805460009190600160a01b900460ff16611c4d57600061199f565b638fb3603760e01b91505090565b611c6433610bb1565b610bcd611c7283606e612572565b826040516020016110bd9190614f0d565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b0316600081158015611cc85750825b90506000826001600160401b03166001148015611ce45750303b155b905081158015611cf2575080155b15611d105760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611d3a57845460ff60401b1916600160401b1785555b611d438961284f565b611d628888604660008a604051806020016040528060008152506110d1565b611d72632400caf160e21b611072565b8315611db857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050565b611dcc33610bb1565b61122e611dd884611555565b8360405160200161135b9190615037565b611df233610bb1565b61122e611dfe84611555565b826040516020016110bd9190614edd565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610ffc565b611e4533610bb1565b6040516355ee627560e01b81526001600160c01b03198416600482015261122e9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611ea2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ec691906149f8565b8360405160200161135b9190614bc6565b60ff8381166000908152600260205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611f3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6091906149be565b15611f6a57505050565b60ff80841660009081526003602090815260408083208685168452825280832085851684529091529020541661122e57604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610e4c565b611fd133610bb1565b61122e611fdf84606e612572565b8360405160200161135b9190614f0d565b611ff933610bb1565b61122e838360405160200161135b9190614a11565b61201733610bb1565b610bcd612023836117cd565b826040516020016110bd9190614d18565b61203d33610bb1565b610bcd61204983611555565b826040516020016110bd9190615037565b60ff81811660009081526002602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016112c7565b600080516020615358833981519152546001600160a01b031690565b60006120d76001546001600160a01b031690565b6001600160a01b031663d39e604360786114e7565b6120f533610bb1565b61122e612103846078612572565b8360405160200161135b9190615178565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015612167573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061155091906151c8565b61219433610bb1565b61122e838360405160200161135b9190614d55565b6121b233610bb1565b610bcd610bc7836078612572565b6121c933610bb1565b6117446121d585611555565b8360405160200161135b9190614bf4565b6121ef33610bb1565b610bcd610bc783606e612572565b60006122116001546001600160a01b031690565b6001600160a01b031663d39e604360d36114e7565b61222f33610bb1565b610bcd61223d83608c612572565b826040516020016110bd9190614df0565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156122ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122d291906149f8565b9392505050565b6122e233610bb1565b610bcd6122f0836078612572565b826040516020016110bd9190615178565b61230a33610bb1565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612352573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123769190614cfb565b6001600160a01b0316146123cc5760405162461bcd60e51b815260206004820181905260248201527f496e7374616e636552656164657220696e7374616e6365206d69736d617463686044820152606401610e4c565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6123f66125c8565b6123ff826127ea565b612408816116e1565b612410611233565b610bcd631fdea09d60e31b611072565b60006000805160206153388339815191526119a5565b61243f33610bb1565b610bcd610bc783611e0f565b600061245f6001546001600160a01b031690565b6001600160a01b031663d39e604360dc6114e7565b6000805160206153588339815191526000806124af6124916120a7565b87306124a1600460008a8c6151e5565b6124aa9161520f565b612860565b9150915081611ada5763ffffffff81161561254f57825460ff60a01b1916600160a01b1783556124dd6120a7565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161250c9392919061523f565b600060405180830381600087803b15801561252657600080fd5b505af115801561253a573d6000803e3d6000fd5b5050845460ff60a01b1916855550611ada9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610e4c565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401612291565b610bcd828261296c565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661261157604051631afcd79f60e31b815260040160405180910390fd5b565b610bcd8282612c90565b61122e8383836130b6565b6001546001600160a01b0316156126615760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610e4c565b6001600160a01b0381166126885760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036126be5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e4c565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015612738575060408051601f3d908101601f19168201909252612735918101906149be565b60015b6127605760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e4c565b80610bcd5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610e4c565b60008051602061535883398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6127f26125c8565b6001600160a01b038116612819576040516352e2d0c160e01b815260040160405180910390fd5b60008051602061533883398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6128576125c8565b6116f281613551565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516128cf919061527f565b600060405180830381855afa9150503d806000811461290a576040519150601f19603f3d011682016040523d82523d6000602084013e61290f565b606091505b509150915081156129615760408151106129415780806020019051810190612937919061529b565b9094509250612961565b6020815110612961578080602001905181019061295e91906149be565b93505b505094509492505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156129be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129e291906149be565b612a2e5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610e4c565b6000828152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612abe91906149be565b612b0a5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610e4c565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416612b4e4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612be0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c0491906151c8565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612c54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c7891906152ca565b8786863287604051611ad197969594939291906152e7565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612ce3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d0791906151c8565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612d5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d8091906149be565b612dcc5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610e4c565b6000838152600460208190526040918290208054925163037c8cb160e51b815261010090930460ff16918301919091529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015612e39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e5d91906149be565b612ea95760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610e4c565b33436000612eb68561205a565b612ec1576064612ed7565b60ff808616600090815260026020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600460205260409020909150600101612f618782614b07565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612fd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ff891906151c8565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613048573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061306c91906152ca565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613108573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061312c91906149be565b6131785760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610e4c565b6000838152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156131e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061320891906149be565b6132545760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610e4c565b600085815260046020526040902060010161326f8582614b07565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166132b44390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613346573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061336a91906151c8565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156133ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133de91906152ca565b87868632876040516133f697969594939291906152e7565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613470573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061349491906151c8565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156134e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061350891906152ca565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0016130a5565b6135596125c8565b6116f281612789565b60006020828403121561357457600080fd5b81356001600160e01b0319811681146122d257600080fd5b60006020828403121561359e57600080fd5b5035919050565b60ff811681146116f257600080fd5b6000602082840312156135c657600080fd5b81356122d2816135a5565b6001600160601b03811681146116f257600080fd5b80356135f1816135d1565b919050565b6000806040838503121561360957600080fd5b8235613614816135d1565b91506020830135613624816135a5565b809150509250929050565b60005b8381101561364a578181015183820152602001613632565b50506000910152565b6000815180845261366b81602086016020860161362f565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516136e860c08401826001600160a01b03169052565b5060c083015160e080840152613702610100840182613653565b949350505050565b60006020828403121561371c57600080fd5b81356122d2816135d1565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b038111828210171561376057613760613727565b60405290565b604080519081016001600160401b038111828210171561376057613760613727565b604051608081016001600160401b038111828210171561376057613760613727565b60405160e081016001600160401b038111828210171561376057613760613727565b60405161016081016001600160401b038111828210171561376057613760613727565b60405161018081016001600160401b038111828210171561376057613760613727565b60405161020081016001600160401b038111828210171561376057613760613727565b600082601f83011261384657600080fd5b81356001600160401b038082111561386057613860613727565b604051601f8301601f19908116603f0116810190828211818310171561388857613888613727565b816040528381528660208588010111156138a157600080fd5b836020870160208301376000602085830101528094505050505092915050565b63ffffffff811681146116f257600080fd5b80356135f1816138c1565b80151581146116f257600080fd5b80356135f1816138de565b6000610120828403121561390a57600080fd5b61391261373d565b905081356001600160401b038082111561392b57600080fd5b61393785838601613835565b8352602084013560208401526040840135604084015260608401356060840152613963608085016138d3565b608084015261397460a085016138d3565b60a084015261398560c085016138ec565b60c084015261399660e085016138ec565b60e0840152610100915081840135818111156139b157600080fd5b6139bd86828701613835565b8385015250505092915050565b600080604083850312156139dd57600080fd5b8235915060208301356001600160401b038111156139fa57600080fd5b613a06858286016138f7565b9150509250929050565b6001600160a01b03811681146116f257600080fd5b80356135f181613a10565b60008060008060008060c08789031215613a4957600080fd5b8635613a5481613a10565b95506020870135613a64816135d1565b94506040870135613a74816135a5565b93506060870135613a84816138de565b92506080870135613a9481613a10565b915060a08701356001600160401b03811115613aaf57600080fd5b613abb89828a01613835565b9150509295509295509295565b6001600160c01b0319811681146116f257600080fd5b80356135f181613ac8565b600060408284031215613afb57600080fd5b613b03613766565b90508135613b10816135d1565b815260208201356001600160401b03811115613b2b57600080fd5b613b3784828501613835565b60208301525092915050565b60008060408385031215613b5657600080fd5b8235613b6181613ac8565b915060208301356001600160401b03811115613b7c57600080fd5b613a0685828601613ae9565b803564ffffffffff811681146135f157600080fd5b600060808284031215613baf57600080fd5b613bb7613788565b90508135613bc4816138c1565b81526020828101359082015260408201356001600160401b03811115613be957600080fd5b613bf584828501613835565b604083015250613c0760608301613b88565b606082015292915050565b600080600060608486031215613c2757600080fd5b8335613c32816135d1565b92506020840135613c42816138c1565b915060408401356001600160401b03811115613c5d57600080fd5b613c6986828701613b9d565b9150509250925092565b600060408284031215613c8557600080fd5b613c8d613766565b9050813581526020820135602082015292915050565b60006101408284031215613cb657600080fd5b613cbe61373d565b9050613cc9826135e6565b8152613cd88360208401613c73565b602082015260608201356001600160401b03811115613cf657600080fd5b613d0284828501613835565b6040830152506080820135606082015260a0820135608082015260c082013560a082015260e082013560c0820152610100613d3e818401613b88565b60e0830152613d506101208401613b88565b9082015292915050565b600080600060608486031215613d6f57600080fd5b8335613d7a816135d1565b925060208401356001600160401b03811115613d9557600080fd5b613da186828701613ca3565b9250506040840135613db2816135a5565b809150509250925092565b600060208284031215613dcf57600080fd5b81356122d281613a10565b600060608284031215613dec57600080fd5b604051606081016001600160401b038282108183111715613e0f57613e0f613727565b8160405282935084359150613e2382613ac8565b908252602084013590613e35826138de565b8160208401526040850135915080821115613e4f57600080fd5b50613e5c85828601613835565b6040830152505092915050565b600080600060608486031215613e7e57600080fd5b8335613e89816135d1565b925060208401356001600160401b03811115613ea457600080fd5b613da186828701613dda565b60008060408385031215613ec357600080fd5b823591506020830135613624816135a5565b600060e08284031215613ee757600080fd5b613eef6137aa565b9050613efa826135e6565b815260208201356001600160401b0380821115613f1657600080fd5b613f2285838601613835565b602084015260408401356040840152613f3d606085016138d3565b6060840152613f4e608085016138d3565b6080840152613f5f60a08501613b88565b60a084015260c0840135915080821115613f7857600080fd5b50613f8584828501613835565b60c08301525092915050565b60008060408385031215613fa457600080fd5b8235915060208301356001600160401b03811115613fc157600080fd5b613a0685828601613ed5565b6020815260006122d26020830184613653565b60006101c08284031215613ff357600080fd5b613ffb6137cc565b9050614006826135e6565b815261401460208301613a25565b6020820152614025604083016138ec565b6040820152614036606083016138ec565b6060820152614047608083016138ec565b608082015260a082013560a082015260c082013560c082015261406d8360e08401613c73565b60e082015261012061408184828501613c73565b610100830152614095846101608501613c73565b908201526140a66101a08301613a25565b61014082015292915050565b600080600061020084860312156140c857600080fd5b83356140d3816135d1565b92506140e28560208601613fe0565b91506101e0840135613db2816135a5565b6000806040838503121561410657600080fd5b8235614111816135d1565b915060208301356001600160401b0381111561412c57600080fd5b613a0685828601613ca3565b60006080828403121561414a57600080fd5b614152613788565b9050813581526020820135602082015260408201356001600160401b03811115613be957600080fd5b6000806000806080858703121561419157600080fd5b843561419c816135d1565b935060208501356141ac816138c1565b925060408501356001600160401b038111156141c757600080fd5b6141d387828801614138565b92505060608501356141e4816135a5565b939692955090935050565b6000806040838503121561420257600080fd5b823561361481613ac8565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b6020815261426960208201835161420d565b6000602083015160c08084015261370260e0840182613653565b6000610240828403121561429657600080fd5b61429e6137ef565b90506142a982613a25565b81526142b760208301613a25565b60208201526142c8604083016135e6565b60408201526142d9606083016135e6565b60608201526142eb8360808401613c73565b60808201526142fd8360c08401613c73565b60a082015261010061431184828501613c73565b60c083015261014061432585828601613c73565b60e0840152614338856101808601613c73565b8284015261434a856101c08601613c73565b61012084015261435d61020085016138ec565b908301525061436f6102208301613a25565b61016082015292915050565b600080610260838503121561438f57600080fd5b823561439a816135d1565b91506143a98460208501614283565b90509250929050565b600080600080608085870312156143c857600080fd5b84356143d381613a10565b935060208501356143e381613a10565b925060408501356143f3816135d1565b915060608501356141e481613a10565b803561ffff811681146135f157600080fd5b6000610200828403121561442857600080fd5b614430613812565b905061443b826135e6565b8152614449602083016135e6565b602082015261445a60408301613ade565b604082015261446b60608301613ade565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b03808211156144b457600080fd5b6144c086838701613835565b838501526101209250828501359150808211156144dc57600080fd5b506144e985828601613835565b8284015250506101406144fd818401614403565b9082015261016061450f838201614403565b9082015261018082810135908201526101a061452c818401613b88565b908201526101c061453e838201613b88565b908201526101e0613d50838201613b88565b60008060006060848603121561456557600080fd5b8335614570816135d1565b925060208401356001600160401b0381111561458b57600080fd5b613da186828701614415565b6000806000606084860312156145ac57600080fd5b83356145b7816135d1565b925060208401356145c7816138c1565b915060408401356001600160401b038111156145e257600080fd5b613c6986828701614138565b60a0810161106c828461420d565b60008060006060848603121561461157600080fd5b833561461c81613ac8565b925060208401356001600160401b0381111561463757600080fd5b613da186828701613ae9565b60008060006060848603121561465857600080fd5b8335614663816135a5565b92506020840135614673816135a5565b91506040840135613db2816135a5565b6000806000610280848603121561469957600080fd5b83356146a4816135d1565b92506146b38560208601614283565b9150610260840135613db2816135a5565b6000806000606084860312156146d957600080fd5b8335925060208401356001600160401b038111156146f657600080fd5b613da1868287016138f7565b6000806040838503121561471557600080fd5b8235614720816135d1565b915060208301356001600160401b0381111561473b57600080fd5b613a0685828601613dda565b6000806040838503121561475a57600080fd5b8235614765816135d1565b915060208301356001600160401b0381111561478057600080fd5b613a0685828601614415565b600060a0828403121561479e57600080fd5b6147a6613788565b905081356147b3816135d1565b815260208201356147c381613a10565b60208201526147d58360408401613c73565b60408201526080820135613c0781613a10565b600080600060e084860312156147fd57600080fd5b8335614808816135d1565b9250614817856020860161478c565b915060c0840135613db2816135a5565b60008060006060848603121561483c57600080fd5b8335925060208401356001600160401b0381111561485957600080fd5b613da186828701613ed5565b6000806000806080858703121561487b57600080fd5b8435614886816135d1565b93506020850135614896816138c1565b925060408501356001600160401b038111156148b157600080fd5b6141d387828801613b9d565b6000806101e083850312156148d157600080fd5b82356148dc816135d1565b91506143a98460208501613fe0565b60ff19811681146116f257600080fd5b6000806040838503121561490e57600080fd5b8235614919816135a5565b91506020830135613624816148eb565b60008060c0838503121561493c57600080fd5b8235614947816135d1565b91506143a9846020850161478c565b6000806040838503121561496957600080fd5b823561497481613a10565b9150602083013561362481613a10565b600181811c9082168061499857607f821691505b6020821081036149b857634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156149d057600080fd5b81516122d2816138de565b6000602082840312156149ed57600080fd5b81516122d2816135d1565b600060208284031215614a0a57600080fd5b5051919050565b6020815260008251610120806020850152614a30610140850183613653565b91506020850151604085015260408501516060850152606085015160808501526080850151614a6760a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100614a9d8187018315159052565b860151858403601f1901838701529050614ab78382613653565b9695505050505050565b601f82111561122e57600081815260208120601f850160051c81016020861015614ae85750805b601f850160051c820191505b81811015611ada57828155600101614af4565b81516001600160401b03811115614b2057614b20613727565b614b3481614b2e8454614984565b84614ac1565b602080601f831160018114614b695760008415614b515750858301515b600019600386901b1c1916600185901b178555611ada565b600085815260208120601f198616915b82811015614b9857888601518255948401946001909101908401614b79565b5085821015614bb65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b602081526001600160601b038251166020820152600060208301516040808401526137026060840182613653565b6020815263ffffffff8251166020820152602082015160408201526000604083015160806060840152614c2a60a0840182613653565b905064ffffffffff60608501511660808401528091505092915050565b60208152614c616020820183516001600160601b03169052565b60006020830151614c7f604084018280518252602090810151910152565b506040830151610140806080850152614c9c610160850183613653565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150614ce461012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b600060208284031215614d0d57600080fd5b81516122d281613a10565b602081526001600160401b0360c01b8251166020820152602082015115156040820152600060408301516060808401526137026080840182613653565b602081526001600160601b0382511660208201526000602083015160e06040840152614d85610100840182613653565b90506040840151606084015263ffffffff60608501511660808401526080840151614db860a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152614de78282613653565b95945050505050565b81516001600160601b031681526101c081016020830151614e1c60208401826001600160a01b03169052565b506040830151614e30604084018215159052565b506060830151614e44606084018215159052565b506080830151614e58608084018215159052565b5060a083015160a083015260c083015160c083015260e0830151614e8960e084018280518252602090810151910152565b50610100830151610120614ea98185018380518252602090810151910152565b840151805161016085015260200151610180840152506101408301516001600160a01b0381166101a08401525b5092915050565b6020815281516020820152602082015160408201526000604083015160806060840152614c2a60a0840182613653565b81516001600160a01b0316815261024081016020830151614f3960208401826001600160a01b03169052565b506040830151614f5460408401826001600160601b03169052565b506060830151614f6f60608401826001600160601b03169052565b506080830151614f8c608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100614fc28185018380518252602090810151910152565b60e08501519150610140614fe28186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b038116610220840152614ed6565b602081526150516020820183516001600160601b03169052565b6000602083015161506d60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526150e5610220860184613653565b9250808601519050610140601f1986850301818701526151058483613653565b9350808701519150506101606151208187018361ffff169052565b86015190506101806151378682018361ffff169052565b8601516101a08681019190915286015190506101c061515e8187018364ffffffffff169052565b86015190506101e0614ce48682018364ffffffffff169052565b81516001600160601b031681526020808301516001600160a01b03908116828401526040808501518051918501919091529091015160608084019190915290920151909116608082015260a00190565b6000602082840312156151da57600080fd5b81516122d2816135a5565b600080858511156151f557600080fd5b8386111561520257600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156152375780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b6000825161529181846020870161362f565b9190910192915050565b600080604083850312156152ae57600080fd5b82516152b9816138de565b6020840151909250613624816138c1565b6000602082840312156152dc57600080fd5b81516122d2816148eb565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122028fdc676365ebbd42970ae2b2b3119032bbf0d7d01be7417aa6372e3a00306d264736f6c63430008140033",
3022
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106104a15760003560e01c80637b8c388f1161026d578063bf1db3f911610151578063e3aa7f05116100ce578063f651dcac11610092578063f651dcac14610b50578063f7bc431c14610b63578063f7c34ee014610b76578063fb2cb10114610b89578063fe1f18d614610b91578063fed3d63f14610ba457600080fd5b8063e3aa7f0514610aec578063e8951ee614610790578063e9e96c7014610aff578063f21de1e81461077f578063f48016ce14610b3d57600080fd5b8063cf947d2011610115578063cf947d2014610a98578063d2f21a2914610aab578063d5b221bd14610abe578063dee3262314610ad1578063e1033e7d14610ae457600080fd5b8063bf1db3f914610a5a578063bf7e214f14610a6d578063ca600b1c14610a75578063ccdcd37f14610a7d578063cde749f414610a9057600080fd5b80639df0280b116101ea578063a9cea142116101ae578063a9cea142146109f9578063ada9652e14610a0c578063afa5e13014610726578063b3260e9314610a21578063b405b76f14610a34578063bc8d400014610a4757600080fd5b80639df0280b14610790578063a13df2ab1461090f578063a5961b4c14610922578063a76ee018146109d3578063a8989675146109e657600080fd5b80638fb36037116102315780638fb36037146108a257806391ff6eaa146108c3578063976b0a77146108d65780639a960d52146108e95780639d7421f4146108fc57600080fd5b80637b8c388f146108415780637cef484214610854578063893d20e8146108675780638c5f36bb1461086f5780638eaa6ac01461088257600080fd5b80633fc5ab98116103945780635ab1bd5311610311578063644c45e0116102d5578063644c45e0146107d0578063675393bf146107f85780636b9bf08b1461080b57806375b238fc1461081357806375c827761461081b5780637a9e5e4b1461082e57600080fd5b80635ab1bd531461077f5780635d4345cc146107905780635dfa73db146107a35780636071a68e146107ac57806361f5f420146107bf57600080fd5b806351cf2fd01161035857806351cf2fd0146107135780635378cd3c1461072657806354d747a81461073957806354f6127f1461074c578063588cd2811461076c57600080fd5b80633fc5ab98146106bf57806340529b0f146106d2578063422c9d00146106e55780634288121d146106f8578063468a18671461070057600080fd5b80632781d4431161042257806336fc697e116103e657806336fc697e1461064e57806337f135d71461065657806338a699a4146106735780633ca7c02a146106865780633e35aba8146106ac57600080fd5b80632781d443146105fa57806327953f481461060257806327bb7a33146106155780632f61088a1461062857806333bb0a971461063b57600080fd5b80630fec111c116104695780630fec111c14610582578063138461e0146105975780631b38d5f41461059f5780631eff4b22146105c0578063214cdb80146105e757600080fd5b806301ffc9a7146104a657806302cd3071146104e857806309648a9d1461050d5780630d358181146105475780630f526f7d1461056d575b600080fd5b6104d36104b4366004613562565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6006546001600160a01b03165b6040516001600160a01b0390911681526020016104df565b61053561051b36600461358c565b600090815260046020526040902054610100900460ff1690565b60405160ff90911681526020016104df565b6105356105553660046135b4565b60ff9081166000908152600260205260409020541690565b61058061057b3660046135f6565b610bac565b005b61058a610bd1565b6040516104df919061367f565b610580610d80565b6105b26105ad36600461370a565b610fd3565b6040519081526020016104df565b6105b27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6105806105f5366004613562565b611072565b6105b2600381565b6105806106103660046139ca565b61109f565b610580610623366004613a30565b6110d1565b610580610636366004613b43565b61116d565b610580610649366004613c12565b611208565b610580611233565b61065e600081565b60405163ffffffff90911681526020016104df565b6104d361068136600461358c565b611279565b6106946001600160401b0381565b6040516001600160401b0390911681526020016104df565b6105b26106ba36600461370a565b611308565b6105806106cd366004613d5a565b611335565b6105806106e03660046135f6565b611370565b6105806106f3366004613dbd565b611385565b6104f56114c2565b6105b261070e36600461370a565b611555565b610580610721366004613e69565b611582565b610580610734366004613eb0565b6115a8565b610580610747366004613f91565b6115bb565b61075f61075a36600461358c565b6115d9565b6040516104df9190613fcd565b61058061077a3660046140b2565b61167e565b6001546001600160a01b03166104f5565b61058061079e3660046135f6565b6116a6565b61069461271081565b6105806107ba3660046140f3565b6116bb565b6007546001600160a01b03166104f5565b600080516020615338833981519152546040516001600160601b0390911681526020016104df565b610580610806366004613dbd565b6116e1565b6104f56116f5565b610694600081565b61058061082936600461417b565b61171e565b61058061083c366004613dbd565b61174a565b6105b261084f36600461370a565b6117cd565b6105806108623660046141ef565b6117fa565b6104f5611884565b61058061087d366004613dbd565b6119bb565b61089561089036600461358c565b611ae2565b6040516104df9190614257565b6108aa611c23565b6040516001600160e01b031990911681526020016104df565b6105806108d136600461437b565b611c5b565b6105806108e43660046143b2565b611c83565b6105806108f7366004614550565b611dc3565b61058061090a366004614597565b611de9565b6105b261091d36600461370a565b611e0f565b6109c661093036600461358c565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260046020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104df91906145ee565b6105806109e13660046145fc565b611e3c565b6105806109f4366004614643565b611ed7565b610580610a07366004614683565b611fc8565b6105b260008051602061533883398151915281565b610580610a2f3660046146c4565b611ff0565b610580610a42366004614702565b61200e565b610580610a55366004614747565b612034565b6104d3610a683660046135b4565b61205a565b6104f56120a7565b6104f56120c3565b610580610a8b3660046147e8565b6120ec565b610535612114565b610580610aa6366004614827565b61218b565b610580610ab93660046135f6565b6121a9565b610580610acc366004614865565b6121c0565b610580610adf3660046135f6565b6121e6565b6104f56121fd565b610580610afa3660046148bd565b612226565b6104d3610b0d366004614643565b60ff9283166000908152600360209081526040808320948616835293815283822092851682529190915220541690565b6105b2610b4b3660046148fb565b61224e565b610580610b5e366004614929565b6122d9565b610580610b71366004613dbd565b612301565b610580610b84366004614956565b6123ee565b6104f5612420565b610580610b9f3660046135f6565b612436565b6104f561244b565b610bb9335b600036612474565b610bcd610bc783608c612572565b826125be565b5050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610c7c90614984565b80601f0160208091040260200160405190810160405280929190818152602001828054610ca890614984565b8015610cf55780601f10610cca57610100808354040283529160200191610cf5565b820191906000526020600020905b815481529060010190602001808311610cd857829003601f168201915b50505050508152505090506040518060e00160405280610d13600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610d64612420565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061533883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610def573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1391906149be565b15610e555760015481546040516316322c0f60e31b81526001600160a01b0390921660048301526001600160601b031660248201526044015b60405180910390fd5b6000610e696001546001600160a01b031690565b6001600160a01b031603610e905760405163cf29926160e01b815260040160405180910390fd5b30610ea36001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610eeb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0f91906149be565b610f37576040516372657a5160e01b81526001600160a01b0382166004820152602401610e4c565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610f8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610faf91906149db565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660795b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611048573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106c91906149f8565b92915050565b61107a6125c8565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6110a833610bb1565b610bcd82826040516020016110bd9190614a11565b604051602081830303815290604052612613565b6110d96125c8565b6110e382876123ee565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016111538382614b07565b506111646303fb044760e21b611072565b50505050505050565b61117633610bb1565b6040516355ee627560e01b81526001600160c01b031983166004820152610bcd9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af41580156111d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f791906149f8565b826040516020016110bd9190614bc6565b61121133610bb1565b61122e61121d84611555565b826040516020016110bd9190614bf4565b505050565b61123b6125c8565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600081815260046020819052604080832054905163b2466acf60e01b815261010090910460ff169181019190915273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af41580156112e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106c91906149be565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078610ffc565b61133e33610bb1565b61122e61134a84611e0f565b8360405160200161135b9190614c47565b6040516020818303038152906040528361261d565b61137933610bb1565b610bcd610bc7836117cd565b61138e33610bb1565b6007546001600160a01b0316156113de5760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610e4c565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611426573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144a9190614cfb565b6001600160a01b0316146114a05760405162461bcd60e51b815260206004820152601f60248201527f42756e646c654d616e6167657220696e7374616e6365206d69736d61746368006044820152606401610e4c565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60006114d66001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa15801561152c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115509190614cfb565b905090565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d3610ffc565b61158b33610bb1565b61122e611597846117cd565b8360405160200161135b9190614d18565b6115b133610bb1565b610bcd82826125be565b6115c433610bb1565b610bcd82826040516020016110bd9190614d55565b60008181526004602052604090206001018054606091906115f990614984565b80601f016020809104026020016040519081016040528092919081815260200182805461162590614984565b80156116725780601f1061164757610100808354040283529160200191611672565b820191906000526020600020905b81548152906001019060200180831161165557829003601f168201915b50505050509050919050565b61168733610bb1565b61122e61169584608c612572565b8360405160200161135b9190614df0565b6116af33610bb1565b610bcd610bc783611555565b6116c433610bb1565b610bcd6116d083611e0f565b826040516020016110bd9190614c47565b6116e96125c8565b6116f281612628565b50565b60006117096001546001600160a01b031690565b6001600160a01b031663d39e6043608c6114e7565b61172733610bb1565b61174461173385611555565b8360405160200161135b9190614edd565b50505050565b336117536120a7565b6001600160a01b0316816001600160a01b03161461178e5760405162d1953b60e31b81526001600160a01b0382166004820152602401610e4c565b816001600160a01b03163b6000036117c4576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e4c565b610bcd82612789565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a610ffc565b61180333610bb1565b6040516355ee627560e01b81526001600160c01b031983166004820152610bcd9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611860573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc791906149f8565b60008060008051602061533883398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156118f4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061191891906149be565b156119a5576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561197b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061199f9190614cfb565b91505090565b54600160601b90046001600160a01b0316919050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b0316600081158015611a005750825b90506000826001600160401b03166001148015611a1c5750303b155b905081158015611a2a575080155b15611a485760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611a7257845460ff60401b1916600160401b1785555b611a7b866127ea565b611a83611233565b611a93631fdea09d60e31b611072565b8315611ada57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b505050505050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260046020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611b9a90614984565b80601f0160208091040260200160405190810160405280929190818152602001828054611bc690614984565b8015611c135780601f10611be857610100808354040283529160200191611c13565b820191906000526020600020905b815481529060010190602001808311611bf657829003601f168201915b5050505050815250509050919050565b600080516020615358833981519152805460009190600160a01b900460ff16611c4d57600061199f565b638fb3603760e01b91505090565b611c6433610bb1565b610bcd611c7283606e612572565b826040516020016110bd9190614f0d565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b0316600081158015611cc85750825b90506000826001600160401b03166001148015611ce45750303b155b905081158015611cf2575080155b15611d105760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611d3a57845460ff60401b1916600160401b1785555b611d438961284f565b611d628888604660008a604051806020016040528060008152506110d1565b611d72632400caf160e21b611072565b8315611db857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050565b611dcc33610bb1565b61122e611dd884611555565b8360405160200161135b9190615037565b611df233610bb1565b61122e611dfe84611555565b826040516020016110bd9190614edd565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc610ffc565b611e4533610bb1565b6040516355ee627560e01b81526001600160c01b03198416600482015261122e9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611ea2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ec691906149f8565b8360405160200161135b9190614bc6565b60ff8381166000908152600260205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611f3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6091906149be565b15611f6a57505050565b60ff80841660009081526003602090815260408083208685168452825280832085851684529091529020541661122e57604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610e4c565b611fd133610bb1565b61122e611fdf84606e612572565b8360405160200161135b9190614f0d565b611ff933610bb1565b61122e838360405160200161135b9190614a11565b61201733610bb1565b610bcd612023836117cd565b826040516020016110bd9190614d18565b61203d33610bb1565b610bcd61204983611555565b826040516020016110bd9190615037565b60ff81811660009081526002602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016112c7565b600080516020615358833981519152546001600160a01b031690565b60006120d76001546001600160a01b031690565b6001600160a01b031663d39e604360786114e7565b6120f533610bb1565b61122e612103846078612572565b8360405160200161135b9190615178565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015612167573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061155091906151c8565b61219433610bb1565b61122e838360405160200161135b9190614d55565b6121b233610bb1565b610bcd610bc7836078612572565b6121c933610bb1565b6117446121d585611555565b8360405160200161135b9190614bf4565b6121ef33610bb1565b610bcd610bc783606e612572565b60006122116001546001600160a01b031690565b6001600160a01b031663d39e604360d36114e7565b61222f33610bb1565b610bcd61223d83608c612572565b826040516020016110bd9190614df0565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156122ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122d291906149f8565b9392505050565b6122e233610bb1565b610bcd6122f0836078612572565b826040516020016110bd9190615178565b61230a33610bb1565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612352573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123769190614cfb565b6001600160a01b0316146123cc5760405162461bcd60e51b815260206004820181905260248201527f496e7374616e636552656164657220696e7374616e6365206d69736d617463686044820152606401610e4c565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6123f66125c8565b6123ff826127ea565b612408816116e1565b612410611233565b610bcd631fdea09d60e31b611072565b60006000805160206153388339815191526119a5565b61243f33610bb1565b610bcd610bc783611e0f565b600061245f6001546001600160a01b031690565b6001600160a01b031663d39e604360dc6114e7565b6000805160206153588339815191526000806124af6124916120a7565b87306124a1600460008a8c6151e5565b6124aa9161520f565b612860565b9150915081611ada5763ffffffff81161561254f57825460ff60a01b1916600160a01b1783556124dd6120a7565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161250c9392919061523f565b600060405180830381600087803b15801561252657600080fd5b505af115801561253a573d6000803e3d6000fd5b5050845460ff60a01b1916855550611ada9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610e4c565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401612291565b610bcd828261296c565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661261157604051631afcd79f60e31b815260040160405180910390fd5b565b610bcd8282612c90565b61122e8383836130b6565b6001546001600160a01b0316156126615760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610e4c565b6001600160a01b0381166126885760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036126be5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e4c565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015612738575060408051601f3d908101601f19168201909252612735918101906149be565b60015b6127605760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e4c565b80610bcd5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610e4c565b60008051602061535883398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6127f26125c8565b6001600160a01b038116612819576040516352e2d0c160e01b815260040160405180910390fd5b60008051602061533883398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6128576125c8565b6116f281613551565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516128cf919061527f565b600060405180830381855afa9150503d806000811461290a576040519150601f19603f3d011682016040523d82523d6000602084013e61290f565b606091505b509150915081156129615760408151106129415780806020019051810190612937919061529b565b9094509250612961565b6020815110612961578080602001905181019061295e91906149be565b93505b505094509492505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156129be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129e291906149be565b612a2e5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610e4c565b6000828152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612abe91906149be565b612b0a5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610e4c565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416612b4e4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612be0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c0491906151c8565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612c54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c7891906152ca565b8786863287604051611ad197969594939291906152e7565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612ce3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d0791906151c8565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612d5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d8091906149be565b612dcc5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610e4c565b6000838152600460208190526040918290208054925163037c8cb160e51b815261010090930460ff16918301919091529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015612e39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e5d91906149be565b612ea95760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610e4c565b33436000612eb68561205a565b612ec1576064612ed7565b60ff808616600090815260026020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600460205260409020909150600101612f618782614b07565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612fd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ff891906151c8565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613048573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061306c91906152ca565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613108573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061312c91906149be565b6131785760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610e4c565b6000838152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156131e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061320891906149be565b6132545760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610e4c565b600085815260046020526040902060010161326f8582614b07565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166132b44390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613346573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061336a91906151c8565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156133ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133de91906152ca565b87868632876040516133f697969594939291906152e7565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613470573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061349491906151c8565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156134e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061350891906152ca565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0016130a5565b6135596125c8565b6116f281612789565b60006020828403121561357457600080fd5b81356001600160e01b0319811681146122d257600080fd5b60006020828403121561359e57600080fd5b5035919050565b60ff811681146116f257600080fd5b6000602082840312156135c657600080fd5b81356122d2816135a5565b6001600160601b03811681146116f257600080fd5b80356135f1816135d1565b919050565b6000806040838503121561360957600080fd5b8235613614816135d1565b91506020830135613624816135a5565b809150509250929050565b60005b8381101561364a578181015183820152602001613632565b50506000910152565b6000815180845261366b81602086016020860161362f565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516136e860c08401826001600160a01b03169052565b5060c083015160e080840152613702610100840182613653565b949350505050565b60006020828403121561371c57600080fd5b81356122d2816135d1565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b038111828210171561376057613760613727565b60405290565b604080519081016001600160401b038111828210171561376057613760613727565b604051608081016001600160401b038111828210171561376057613760613727565b60405160e081016001600160401b038111828210171561376057613760613727565b60405161016081016001600160401b038111828210171561376057613760613727565b60405161018081016001600160401b038111828210171561376057613760613727565b60405161020081016001600160401b038111828210171561376057613760613727565b600082601f83011261384657600080fd5b81356001600160401b038082111561386057613860613727565b604051601f8301601f19908116603f0116810190828211818310171561388857613888613727565b816040528381528660208588010111156138a157600080fd5b836020870160208301376000602085830101528094505050505092915050565b63ffffffff811681146116f257600080fd5b80356135f1816138c1565b80151581146116f257600080fd5b80356135f1816138de565b6000610120828403121561390a57600080fd5b61391261373d565b905081356001600160401b038082111561392b57600080fd5b61393785838601613835565b8352602084013560208401526040840135604084015260608401356060840152613963608085016138d3565b608084015261397460a085016138d3565b60a084015261398560c085016138ec565b60c084015261399660e085016138ec565b60e0840152610100915081840135818111156139b157600080fd5b6139bd86828701613835565b8385015250505092915050565b600080604083850312156139dd57600080fd5b8235915060208301356001600160401b038111156139fa57600080fd5b613a06858286016138f7565b9150509250929050565b6001600160a01b03811681146116f257600080fd5b80356135f181613a10565b60008060008060008060c08789031215613a4957600080fd5b8635613a5481613a10565b95506020870135613a64816135d1565b94506040870135613a74816135a5565b93506060870135613a84816138de565b92506080870135613a9481613a10565b915060a08701356001600160401b03811115613aaf57600080fd5b613abb89828a01613835565b9150509295509295509295565b6001600160c01b0319811681146116f257600080fd5b80356135f181613ac8565b600060408284031215613afb57600080fd5b613b03613766565b90508135613b10816135d1565b815260208201356001600160401b03811115613b2b57600080fd5b613b3784828501613835565b60208301525092915050565b60008060408385031215613b5657600080fd5b8235613b6181613ac8565b915060208301356001600160401b03811115613b7c57600080fd5b613a0685828601613ae9565b803564ffffffffff811681146135f157600080fd5b600060808284031215613baf57600080fd5b613bb7613788565b90508135613bc4816138c1565b81526020828101359082015260408201356001600160401b03811115613be957600080fd5b613bf584828501613835565b604083015250613c0760608301613b88565b606082015292915050565b600080600060608486031215613c2757600080fd5b8335613c32816135d1565b92506020840135613c42816138c1565b915060408401356001600160401b03811115613c5d57600080fd5b613c6986828701613b9d565b9150509250925092565b600060408284031215613c8557600080fd5b613c8d613766565b9050813581526020820135602082015292915050565b60006101408284031215613cb657600080fd5b613cbe61373d565b9050613cc9826135e6565b8152613cd88360208401613c73565b602082015260608201356001600160401b03811115613cf657600080fd5b613d0284828501613835565b6040830152506080820135606082015260a0820135608082015260c082013560a082015260e082013560c0820152610100613d3e818401613b88565b60e0830152613d506101208401613b88565b9082015292915050565b600080600060608486031215613d6f57600080fd5b8335613d7a816135d1565b925060208401356001600160401b03811115613d9557600080fd5b613da186828701613ca3565b9250506040840135613db2816135a5565b809150509250925092565b600060208284031215613dcf57600080fd5b81356122d281613a10565b600060608284031215613dec57600080fd5b604051606081016001600160401b038282108183111715613e0f57613e0f613727565b8160405282935084359150613e2382613ac8565b908252602084013590613e35826138de565b8160208401526040850135915080821115613e4f57600080fd5b50613e5c85828601613835565b6040830152505092915050565b600080600060608486031215613e7e57600080fd5b8335613e89816135d1565b925060208401356001600160401b03811115613ea457600080fd5b613da186828701613dda565b60008060408385031215613ec357600080fd5b823591506020830135613624816135a5565b600060e08284031215613ee757600080fd5b613eef6137aa565b9050613efa826135e6565b815260208201356001600160401b0380821115613f1657600080fd5b613f2285838601613835565b602084015260408401356040840152613f3d606085016138d3565b6060840152613f4e608085016138d3565b6080840152613f5f60a08501613b88565b60a084015260c0840135915080821115613f7857600080fd5b50613f8584828501613835565b60c08301525092915050565b60008060408385031215613fa457600080fd5b8235915060208301356001600160401b03811115613fc157600080fd5b613a0685828601613ed5565b6020815260006122d26020830184613653565b60006101c08284031215613ff357600080fd5b613ffb6137cc565b9050614006826135e6565b815261401460208301613a25565b6020820152614025604083016138ec565b6040820152614036606083016138ec565b6060820152614047608083016138ec565b608082015260a082013560a082015260c082013560c082015261406d8360e08401613c73565b60e082015261012061408184828501613c73565b610100830152614095846101608501613c73565b908201526140a66101a08301613a25565b61014082015292915050565b600080600061020084860312156140c857600080fd5b83356140d3816135d1565b92506140e28560208601613fe0565b91506101e0840135613db2816135a5565b6000806040838503121561410657600080fd5b8235614111816135d1565b915060208301356001600160401b0381111561412c57600080fd5b613a0685828601613ca3565b60006080828403121561414a57600080fd5b614152613788565b9050813581526020820135602082015260408201356001600160401b03811115613be957600080fd5b6000806000806080858703121561419157600080fd5b843561419c816135d1565b935060208501356141ac816138c1565b925060408501356001600160401b038111156141c757600080fd5b6141d387828801614138565b92505060608501356141e4816135a5565b939692955090935050565b6000806040838503121561420257600080fd5b823561361481613ac8565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b6020815261426960208201835161420d565b6000602083015160c08084015261370260e0840182613653565b6000610240828403121561429657600080fd5b61429e6137ef565b90506142a982613a25565b81526142b760208301613a25565b60208201526142c8604083016135e6565b60408201526142d9606083016135e6565b60608201526142eb8360808401613c73565b60808201526142fd8360c08401613c73565b60a082015261010061431184828501613c73565b60c083015261014061432585828601613c73565b60e0840152614338856101808601613c73565b8284015261434a856101c08601613c73565b61012084015261435d61020085016138ec565b908301525061436f6102208301613a25565b61016082015292915050565b600080610260838503121561438f57600080fd5b823561439a816135d1565b91506143a98460208501614283565b90509250929050565b600080600080608085870312156143c857600080fd5b84356143d381613a10565b935060208501356143e381613a10565b925060408501356143f3816135d1565b915060608501356141e481613a10565b803561ffff811681146135f157600080fd5b6000610200828403121561442857600080fd5b614430613812565b905061443b826135e6565b8152614449602083016135e6565b602082015261445a60408301613ade565b604082015261446b60608301613ade565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b03808211156144b457600080fd5b6144c086838701613835565b838501526101209250828501359150808211156144dc57600080fd5b506144e985828601613835565b8284015250506101406144fd818401614403565b9082015261016061450f838201614403565b9082015261018082810135908201526101a061452c818401613b88565b908201526101c061453e838201613b88565b908201526101e0613d50838201613b88565b60008060006060848603121561456557600080fd5b8335614570816135d1565b925060208401356001600160401b0381111561458b57600080fd5b613da186828701614415565b6000806000606084860312156145ac57600080fd5b83356145b7816135d1565b925060208401356145c7816138c1565b915060408401356001600160401b038111156145e257600080fd5b613c6986828701614138565b60a0810161106c828461420d565b60008060006060848603121561461157600080fd5b833561461c81613ac8565b925060208401356001600160401b0381111561463757600080fd5b613da186828701613ae9565b60008060006060848603121561465857600080fd5b8335614663816135a5565b92506020840135614673816135a5565b91506040840135613db2816135a5565b6000806000610280848603121561469957600080fd5b83356146a4816135d1565b92506146b38560208601614283565b9150610260840135613db2816135a5565b6000806000606084860312156146d957600080fd5b8335925060208401356001600160401b038111156146f657600080fd5b613da1868287016138f7565b6000806040838503121561471557600080fd5b8235614720816135d1565b915060208301356001600160401b0381111561473b57600080fd5b613a0685828601613dda565b6000806040838503121561475a57600080fd5b8235614765816135d1565b915060208301356001600160401b0381111561478057600080fd5b613a0685828601614415565b600060a0828403121561479e57600080fd5b6147a6613788565b905081356147b3816135d1565b815260208201356147c381613a10565b60208201526147d58360408401613c73565b60408201526080820135613c0781613a10565b600080600060e084860312156147fd57600080fd5b8335614808816135d1565b9250614817856020860161478c565b915060c0840135613db2816135a5565b60008060006060848603121561483c57600080fd5b8335925060208401356001600160401b0381111561485957600080fd5b613da186828701613ed5565b6000806000806080858703121561487b57600080fd5b8435614886816135d1565b93506020850135614896816138c1565b925060408501356001600160401b038111156148b157600080fd5b6141d387828801613b9d565b6000806101e083850312156148d157600080fd5b82356148dc816135d1565b91506143a98460208501613fe0565b60ff19811681146116f257600080fd5b6000806040838503121561490e57600080fd5b8235614919816135a5565b91506020830135613624816148eb565b60008060c0838503121561493c57600080fd5b8235614947816135d1565b91506143a9846020850161478c565b6000806040838503121561496957600080fd5b823561497481613a10565b9150602083013561362481613a10565b600181811c9082168061499857607f821691505b6020821081036149b857634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156149d057600080fd5b81516122d2816138de565b6000602082840312156149ed57600080fd5b81516122d2816135d1565b600060208284031215614a0a57600080fd5b5051919050565b6020815260008251610120806020850152614a30610140850183613653565b91506020850151604085015260408501516060850152606085015160808501526080850151614a6760a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100614a9d8187018315159052565b860151858403601f1901838701529050614ab78382613653565b9695505050505050565b601f82111561122e57600081815260208120601f850160051c81016020861015614ae85750805b601f850160051c820191505b81811015611ada57828155600101614af4565b81516001600160401b03811115614b2057614b20613727565b614b3481614b2e8454614984565b84614ac1565b602080601f831160018114614b695760008415614b515750858301515b600019600386901b1c1916600185901b178555611ada565b600085815260208120601f198616915b82811015614b9857888601518255948401946001909101908401614b79565b5085821015614bb65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b602081526001600160601b038251166020820152600060208301516040808401526137026060840182613653565b6020815263ffffffff8251166020820152602082015160408201526000604083015160806060840152614c2a60a0840182613653565b905064ffffffffff60608501511660808401528091505092915050565b60208152614c616020820183516001600160601b03169052565b60006020830151614c7f604084018280518252602090810151910152565b506040830151610140806080850152614c9c610160850183613653565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e08701519150614ce461012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b600060208284031215614d0d57600080fd5b81516122d281613a10565b602081526001600160401b0360c01b8251166020820152602082015115156040820152600060408301516060808401526137026080840182613653565b602081526001600160601b0382511660208201526000602083015160e06040840152614d85610100840182613653565b90506040840151606084015263ffffffff60608501511660808401526080840151614db860a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152614de78282613653565b95945050505050565b81516001600160601b031681526101c081016020830151614e1c60208401826001600160a01b03169052565b506040830151614e30604084018215159052565b506060830151614e44606084018215159052565b506080830151614e58608084018215159052565b5060a083015160a083015260c083015160c083015260e0830151614e8960e084018280518252602090810151910152565b50610100830151610120614ea98185018380518252602090810151910152565b840151805161016085015260200151610180840152506101408301516001600160a01b0381166101a08401525b5092915050565b6020815281516020820152602082015160408201526000604083015160806060840152614c2a60a0840182613653565b81516001600160a01b0316815261024081016020830151614f3960208401826001600160a01b03169052565b506040830151614f5460408401826001600160601b03169052565b506060830151614f6f60608401826001600160601b03169052565b506080830151614f8c608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100614fc28185018380518252602090810151910152565b60e08501519150610140614fe28186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b038116610220840152614ed6565b602081526150516020820183516001600160601b03169052565b6000602083015161506d60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526150e5610220860184613653565b9250808601519050610140601f1986850301818701526151058483613653565b9350808701519150506101606151208187018361ffff169052565b86015190506101806151378682018361ffff169052565b8601516101a08681019190915286015190506101c061515e8187018364ffffffffff169052565b86015190506101e0614ce48682018364ffffffffff169052565b81516001600160601b031681526020808301516001600160a01b03908116828401526040808501518051918501919091529091015160608084019190915290920151909116608082015260a00190565b6000602082840312156151da57600080fd5b81516122d2816135a5565b600080858511156151f557600080fd5b8386111561520257600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156152375780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b6000825161529181846020870161362f565b9190910192915050565b600080604083850312156152ae57600080fd5b82516152b9816138de565b6020840151909250613624816138c1565b6000602082840312156152dc57600080fd5b81516122d2816148eb565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122028fdc676365ebbd42970ae2b2b3119032bbf0d7d01be7417aa6372e3a00306d264736f6c63430008140033",
3023
- "linkReferences": {
3024
- "contracts/types/Key32.sol": {
3025
- "Key32Lib": [
3026
- {
3027
- "length": 20,
3028
- "start": 10650
3029
- },
3030
- {
3031
- "length": 20,
3032
- "start": 13005
3033
- },
3034
- {
3035
- "length": 20,
3036
- "start": 13121
3037
- },
3038
- {
3039
- "length": 20,
3040
- "start": 13264
3041
- },
3042
- {
3043
- "length": 20,
3044
- "start": 14017
3045
- },
3046
- {
3047
- "length": 20,
3048
- "start": 14133
3049
- },
3050
- {
3051
- "length": 20,
3052
- "start": 14899
3053
- },
3054
- {
3055
- "length": 20,
3056
- "start": 15015
3057
- },
3058
- {
3059
- "length": 20,
3060
- "start": 15197
3061
- },
3062
- {
3063
- "length": 20,
3064
- "start": 15313
3065
- }
3066
- ]
3067
886
  },
3068
- "contracts/types/NftId.sol": {
3069
- "NftIdLib": [
3070
- {
3071
- "length": 20,
3072
- "start": 5340
3073
- },
3074
- {
3075
- "length": 20,
3076
- "start": 5886
3077
- },
3078
- {
3079
- "length": 20,
3080
- "start": 6707
3081
- },
3082
- {
3083
- "length": 20,
3084
- "start": 7296
3085
- },
3086
- {
3087
- "length": 20,
3088
- "start": 7928
3089
- },
3090
- {
3091
- "length": 20,
3092
- "start": 8161
3093
- },
3094
- {
3095
- "length": 20,
3096
- "start": 9530
3097
- },
887
+ {
888
+ "inputs": [
3098
889
  {
3099
- "length": 20,
3100
- "start": 11459
890
+ "internalType": "bytes4",
891
+ "name": "interfaceId",
892
+ "type": "bytes4"
3101
893
  }
3102
- ]
3103
- },
3104
- "contracts/types/ObjectType.sol": {
3105
- "ObjectTypeLib": [
894
+ ],
895
+ "name": "supportsInterface",
896
+ "outputs": [
3106
897
  {
3107
- "length": 20,
3108
- "start": 13385
898
+ "internalType": "bool",
899
+ "name": "",
900
+ "type": "bool"
3109
901
  }
3110
- ]
3111
- },
3112
- "contracts/types/RiskId.sol": {
3113
- "RiskIdLib": [
3114
- {
3115
- "length": 20,
3116
- "start": 6336
3117
- },
902
+ ],
903
+ "stateMutability": "view",
904
+ "type": "function"
905
+ }
906
+ ],
907
+ "bytecode": "0x608060405234801561001057600080fd5b506127dc806100206000396000f3fe608060405234801561001057600080fd5b506004361061025e5760003560e01c8063770ab10211610146578063c0c53b8b116100c3578063e1033e7d11610087578063e1033e7d14610570578063e5f6cd2714610578578063e7f7fb8614610580578063f7bc431c14610593578063f7c34ee0146105a6578063fed3d63f146105b957600080fd5b8063c0c53b8b146104f7578063ca600b1c1461050a578063cde749f414610512578063d2192dbf1461052c578063d4cda0d81461055f57600080fd5b8063ada9652e1161010a578063ada9652e146104a1578063b428b0b0146104b6578063b7d2b162146104c9578063bb1e0e59146104dc578063bf7e214f146104ef57600080fd5b8063770ab1021461043f5780637a9e5e4b146104525780638689231314610465578063893d20e8146104785780638fb360371461048057600080fd5b8063311adb68116101df5780635ab1bd53116101a35780635ab1bd53146103d15780635fa8aad4146103e257806361f5f420146103f5578063644c45e014610406578063675393bf146104245780636b9bf08b1461043757600080fd5b8063311adb681461037257806336fc697e1461038357806340be23761461038b578063422c9d00146103b65780634288121d146103c957600080fd5b8063214cdb8011610226578063214cdb801461031e5780632449aea8146103315780632781d4431461034457806327bb7a331461034c57806329db8c3d1461035f57600080fd5b806301ffc9a71461026357806302cd3071146102a55780630fec111c146102ca578063138461e0146102df5780631eff4b22146102e9575b600080fd5b610290610271366004611e46565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b03909116815260200161029c565b6102d26105c1565b60405161029c9190611eb8565b6102e7610714565b005b6103107f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161029c565b6102e761032c366004611e46565b610720565b6102e761033f366004611f58565b61074d565b610310600381565b6102e761035a366004612032565b610868565b6102e761036d36600461211e565b61090d565b6002546001600160a01b03166102b2565b6102e761097a565b61039e610399366004611f58565b6109c0565b6040516001600160601b03909116815260200161029c565b6102e76103c4366004611f58565b610a0e565b6102b2610bb8565b6001546001600160a01b03166102b2565b6102e76103f03660046121c8565b610c4b565b6004546001600160a01b03166102b2565b600080516020612767833981519152546001600160601b031661039e565b6102e7610432366004611f58565b610cbc565b6102b2610dc9565b6102e761044d366004611f58565b610df2565b6102e7610460366004611f58565b610f04565b6102e7610473366004612217565b610f87565b6102b2610fca565b610488611101565b6040516001600160e01b0319909116815260200161029c565b61031060008051602061276783398151915281565b6102e76104c4366004612250565b611139565b6102e76104d7366004612250565b61121b565b6102e76104ea36600461227e565b6112f6565b6102b26113b9565b6102e76105053660046122aa565b6113d5565b6102b26115a1565b61051a6115ca565b60405160ff909116815260200161029c565b61053f61053a3660046122f5565b611641565b604080516001600160401b0393841681529290911660208301520161029c565b6005546001600160a01b03166102b2565b6102b26116cc565b6102b26116f5565b6102e761058e36600461234e565b6116ff565b6102e76105a1366004611f58565b6117f5565b6102e76105b436600461238f565b6118b5565b6102b261192c565b6040805160e0808201835260008083526020830181905282840181905260608084018290526080840182905260a0840182905260c0840152835191820190935290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300919081906001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610670610fca565b6001600160a01b0316815260200182600101805461068d906123ad565b80601f01602080910402602001604051908101604052809291908181526020018280546106b9906123ad565b80156107065780601f106106db57610100808354040283529160200191610706565b820191906000526020600020905b8154815290600101906020018083116106e957829003601f168201915b505050505081525091505090565b61071d30611955565b50565b610728611b56565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61075a335b600036611ba1565b6005546001600160a01b03161561079857600554604051632e67e2ab60e21b81526001600160a01b0390911660048201526024015b60405180910390fd5b6107a06113b9565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080b91906123e7565b6001600160a01b031614610846576108216113b9565b6040516348263eef60e01b81526001600160a01b03909116600482015260240161078f565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610870611b56565b61087a82876118b5565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610903838261244f565b5050505050505050565b61091633610752565b60025460405163dc85dcb160e01b81526001600160a01b039091169063dc85dcb19061094c90879087908790879060040161250e565b600060405180830381600087803b15801561096657600080fd5b505af1158015610903573d6000803e3d6000fd5b610982611b56565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60006109ca610fca565b6001600160a01b0316336001600160a01b0316146109fd5760405163086391f760e31b815233600482015260240161078f565b610a0682611955565b90505b919050565b610a1733610752565b6004546001600160a01b031615610a53576004805460405163384c2dbd60e11b81526001600160a01b039091169181019190915260240161078f565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abf91906123e7565b6001600160a01b031614610ae85760405163decb98c560e01b815230600482015260240161078f565b610af06113b9565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5b91906123e7565b6001600160a01b031614610b9657610b716113b9565b604051630312205960e41b81526001600160a01b03909116600482015260240161078f565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000610bcc6001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa158015610c22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4691906123e7565b905090565b610c5433610752565b6002546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610c869085908590600401612583565b600060405180830381600087803b158015610ca057600080fd5b505af1158015610cb4573d6000803e3d6000fd5b505050505050565b610cc4611b56565b806001600160a01b03163b600003610cfa5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161078f565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526312da491160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015610d74575060408051601f3d908101601f19168201909252610d71918101906125a7565b60015b610d9c5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161078f565b80610dc55760405163fdeac91f60e01b81526001600160a01b038316600482015260240161078f565b5050565b6000610ddd6001546001600160a01b031690565b6001600160a01b031663d39e6043608c610bdd565b610dfb33610752565b6002546001600160a01b031615610e345760025460405163078a818f60e31b81526001600160a01b03909116600482015260240161078f565b610e3c6113b9565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea791906123e7565b6001600160a01b031614610ee257610ebd6113b9565b60405163021f1e5360e61b81526001600160a01b03909116600482015260240161078f565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b33610f0d6113b9565b6001600160a01b0316816001600160a01b031614610f485760405162d1953b60e31b81526001600160a01b038216600482015260240161078f565b816001600160a01b03163b600003610f7e576040516361798f2f60e11b81526001600160a01b038316600482015260240161078f565b610dc582611c9f565b610f9033610752565b6002546040516308b6d1c760e21b81526001600160a01b0384811660048301528315156024830152909116906322db471c90604401610c86565b60008060008051602061276783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e91906125a7565b156110eb576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156110c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e591906123e7565b91505090565b54600160601b90046001600160a01b0316919050565b600080516020612787833981519152805460009190600160a01b900460ff1661112b5760006110e5565b638fb3603760e01b91505090565b61114233610752565b61114a6113b9565b604051631517388760e21b81526001600160401b03841660048201526001600160a01b0391909116906325c471a09073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af41580156111b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d991906125c4565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038416602482015260006044820152606401610c86565b61122433610752565b61122c6113b9565b604051631517388760e21b81526001600160401b03841660048201526001600160a01b03919091169063b7d2b1629073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015611297573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112bb91906125c4565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0384166024820152604401610c86565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561133f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061136391906123e7565b6001600160a01b0316336001600160a01b03161461138057600080fd5b600254604051632f42b9a560e11b8152600060048201526001600160a01b03848116602483015290911690635e85734a90604401610c86565b600080516020612787833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b031660008115801561141a5750825b90506000826001600160401b031660011480156114365750303b155b905081158015611444575080155b156114625760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561148c57845460ff60401b1916600160401b1785555b6001600160a01b0388166114b3576040516377dbcd1760e01b815260040160405180910390fd5b6114bc88611d00565b600087905061154188826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611503573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152791906125e1565b604660018b60405180602001604052806000815250610868565b611551637344136d60e01b610720565b50831561090357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b60006115b56001546001600160a01b031690565b6001600160a01b031663d39e60436078610bdd565b604051632392b61b60e21b81526003600482015260009073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561161d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4691906125fe565b60008061164d33610752565b60025460405163d2192dbf60e01b81526001600160a01b039091169063d2192dbf9061167f908790879060040161261b565b60408051808303816000875af115801561169d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c19190612649565b909590945092505050565b60006116e06001546001600160a01b031690565b6001600160a01b031663d39e604360d3610bdd565b6000610c466113b9565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611748573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176c91906123e7565b6001600160a01b0316336001600160a01b03161461178957600080fd5b600254604051632f42b9a560e11b81526001600160a01b038581166004830152848116602483015290911690635e85734a90604401600060405180830381600087803b1580156117d857600080fd5b505af11580156117ec573d6000803e3d6000fd5b50505050505050565b6117fe33610752565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611846573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186a91906123e7565b6001600160a01b031614611893576040516345789cf560e01b815230600482015260240161078f565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6118bd611b56565b6118c681610cbc565b6118ce61097a565b6001600160a01b0382166118f55760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061276783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60006119406001546001600160a01b031690565b6001600160a01b031663d39e604360dc610bdd565b60008060008051602061276783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156119c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e991906125a7565b15611a155780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161078f565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611a69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8d91906125a7565b611ab55760405163b9304b0d60e01b81526001600160a01b038416600482015260240161078f565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611b09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2d91906125e1565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611b9f57604051631afcd79f60e31b815260040160405180910390fd5b565b600080516020612787833981519152600080611bdc611bbe6113b9565b8730611bce600460008a8c612678565b611bd7916126a2565b611d11565b9150915081610cb45763ffffffff811615611c7c57825460ff60a01b1916600160a01b178355611c0a6113b9565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c39939291906126d2565b600060405180830381600087803b158015611c5357600080fd5b505af1158015611c67573d6000803e3d6000fd5b5050845460ff60a01b1916855550610cb49050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161078f565b60008051602061278783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611d08611b56565b61071d81611e1d565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611d809190612712565b600060405180830381855afa9150503d8060008114611dbb576040519150601f19603f3d011682016040523d82523d6000602084013e611dc0565b606091505b50915091508115611e12576040815110611df25780806020019051810190611de8919061272e565b9094509250611e12565b6020815110611e125780806020019051810190611e0f91906125a7565b93505b505094509492505050565b611e25611b56565b61071d81611c9f565b80356001600160e01b031981168114610a0957600080fd5b600060208284031215611e5857600080fd5b611e6182611e2e565b9392505050565b60005b83811015611e83578181015183820152602001611e6b565b50506000910152565b60008151808452611ea4816020860160208601611e68565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151611f2160c08401826001600160a01b03169052565b5060c083015160e080840152611f3b610100840182611e8c565b949350505050565b6001600160a01b038116811461071d57600080fd5b600060208284031215611f6a57600080fd5b8135611e6181611f43565b6001600160601b038116811461071d57600080fd5b60ff8116811461071d57600080fd5b801515811461071d57600080fd5b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115611fd757611fd7611fa7565b604051601f8501601f19908116603f01168101908282118183101715611fff57611fff611fa7565b8160405280935085815286868601111561201857600080fd5b858560208301376000602087830101525050509392505050565b60008060008060008060c0878903121561204b57600080fd5b863561205681611f43565b9550602087013561206681611f75565b9450604087013561207681611f8a565b9350606087013561208681611f99565b9250608087013561209681611f43565b915060a08701356001600160401b038111156120b157600080fd5b8701601f810189136120c257600080fd5b6120d189823560208401611fbd565b9150509295509295509295565b600082601f8301126120ef57600080fd5b611e6183833560208501611fbd565b6001600160401b038116811461071d57600080fd5b8035610a09816120fe565b6000806000806060858703121561213457600080fd5b84356001600160401b038082111561214b57600080fd5b612157888389016120de565b9550602087013591508082111561216d57600080fd5b818701915087601f83011261218157600080fd5b81358181111561219057600080fd5b8860208260051b85010111156121a557600080fd5b6020830195508094505050506121bd60408601612113565b905092959194509250565b600080604083850312156121db57600080fd5b82356121e681611f43565b915060208301356001600160401b0381111561220157600080fd5b61220d858286016120de565b9150509250929050565b6000806040838503121561222a57600080fd5b823561223581611f43565b9150602083013561224581611f99565b809150509250929050565b6000806040838503121561226357600080fd5b823561226e816120fe565b9150602083013561224581611f43565b6000806040838503121561229157600080fd5b823561229c81611f43565b946020939093013593505050565b6000806000606084860312156122bf57600080fd5b83356122ca81611f43565b925060208401356122da81611f43565b915060408401356122ea81611f43565b809150509250925092565b6000806040838503121561230857600080fd5b82356001600160401b038082111561231f57600080fd5b61232b868387016120de565b9350602085013591508082111561234157600080fd5b5061220d858286016120de565b60008060006060848603121561236357600080fd5b833561236e81611f43565b9250602084013561237e81611f43565b929592945050506040919091013590565b600080604083850312156123a257600080fd5b823561226e81611f43565b600181811c908216806123c157607f821691505b6020821081036123e157634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156123f957600080fd5b8151611e6181611f43565b601f82111561244a57600081815260208120601f850160051c8101602086101561242b5750805b601f850160051c820191505b81811015610cb457828155600101612437565b505050565b81516001600160401b0381111561246857612468611fa7565b61247c8161247684546123ad565b84612404565b602080601f8311600181146124b157600084156124995750858301515b600019600386901b1c1916600185901b178555610cb4565b600085815260208120601f198616915b828110156124e0578886015182559484019460019091019084016124c1565b50858210156124fe5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6060815260006125216060830187611e8c565b8281036020848101919091528582528691810160005b87811015612564576001600160e01b031961255185611e2e565b1682529282019290820190600101612537565b508093505050506001600160401b038316604083015295945050505050565b6001600160a01b0383168152604060208201819052600090611f3b90830184611e8c565b6000602082840312156125b957600080fd5b8151611e6181611f99565b6000602082840312156125d657600080fd5b8151611e61816120fe565b6000602082840312156125f357600080fd5b8151611e6181611f75565b60006020828403121561261057600080fd5b8151611e6181611f8a565b60408152600061262e6040830185611e8c565b82810360208401526126408185611e8c565b95945050505050565b6000806040838503121561265c57600080fd5b8251612667816120fe565b6020840151909250612245816120fe565b6000808585111561268857600080fd5b8386111561269557600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156126ca5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251612724818460208701611e68565b9190910192915050565b6000806040838503121561274157600080fd5b825161274c81611f99565b602084015190925063ffffffff8116811461224557600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212208b304bf3666b25fdaa4a68b727b8d3b04b69280b9278376835142b95b3d5a50764736f6c63430008140033",
908
+ "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061025e5760003560e01c8063770ab10211610146578063c0c53b8b116100c3578063e1033e7d11610087578063e1033e7d14610570578063e5f6cd2714610578578063e7f7fb8614610580578063f7bc431c14610593578063f7c34ee0146105a6578063fed3d63f146105b957600080fd5b8063c0c53b8b146104f7578063ca600b1c1461050a578063cde749f414610512578063d2192dbf1461052c578063d4cda0d81461055f57600080fd5b8063ada9652e1161010a578063ada9652e146104a1578063b428b0b0146104b6578063b7d2b162146104c9578063bb1e0e59146104dc578063bf7e214f146104ef57600080fd5b8063770ab1021461043f5780637a9e5e4b146104525780638689231314610465578063893d20e8146104785780638fb360371461048057600080fd5b8063311adb68116101df5780635ab1bd53116101a35780635ab1bd53146103d15780635fa8aad4146103e257806361f5f420146103f5578063644c45e014610406578063675393bf146104245780636b9bf08b1461043757600080fd5b8063311adb681461037257806336fc697e1461038357806340be23761461038b578063422c9d00146103b65780634288121d146103c957600080fd5b8063214cdb8011610226578063214cdb801461031e5780632449aea8146103315780632781d4431461034457806327bb7a331461034c57806329db8c3d1461035f57600080fd5b806301ffc9a71461026357806302cd3071146102a55780630fec111c146102ca578063138461e0146102df5780631eff4b22146102e9575b600080fd5b610290610271366004611e46565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b03909116815260200161029c565b6102d26105c1565b60405161029c9190611eb8565b6102e7610714565b005b6103107f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161029c565b6102e761032c366004611e46565b610720565b6102e761033f366004611f58565b61074d565b610310600381565b6102e761035a366004612032565b610868565b6102e761036d36600461211e565b61090d565b6002546001600160a01b03166102b2565b6102e761097a565b61039e610399366004611f58565b6109c0565b6040516001600160601b03909116815260200161029c565b6102e76103c4366004611f58565b610a0e565b6102b2610bb8565b6001546001600160a01b03166102b2565b6102e76103f03660046121c8565b610c4b565b6004546001600160a01b03166102b2565b600080516020612767833981519152546001600160601b031661039e565b6102e7610432366004611f58565b610cbc565b6102b2610dc9565b6102e761044d366004611f58565b610df2565b6102e7610460366004611f58565b610f04565b6102e7610473366004612217565b610f87565b6102b2610fca565b610488611101565b6040516001600160e01b0319909116815260200161029c565b61031060008051602061276783398151915281565b6102e76104c4366004612250565b611139565b6102e76104d7366004612250565b61121b565b6102e76104ea36600461227e565b6112f6565b6102b26113b9565b6102e76105053660046122aa565b6113d5565b6102b26115a1565b61051a6115ca565b60405160ff909116815260200161029c565b61053f61053a3660046122f5565b611641565b604080516001600160401b0393841681529290911660208301520161029c565b6005546001600160a01b03166102b2565b6102b26116cc565b6102b26116f5565b6102e761058e36600461234e565b6116ff565b6102e76105a1366004611f58565b6117f5565b6102e76105b436600461238f565b6118b5565b6102b261192c565b6040805160e0808201835260008083526020830181905282840181905260608084018290526080840182905260a0840182905260c0840152835191820190935290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300919081906001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610670610fca565b6001600160a01b0316815260200182600101805461068d906123ad565b80601f01602080910402602001604051908101604052809291908181526020018280546106b9906123ad565b80156107065780601f106106db57610100808354040283529160200191610706565b820191906000526020600020905b8154815290600101906020018083116106e957829003601f168201915b505050505081525091505090565b61071d30611955565b50565b610728611b56565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61075a335b600036611ba1565b6005546001600160a01b03161561079857600554604051632e67e2ab60e21b81526001600160a01b0390911660048201526024015b60405180910390fd5b6107a06113b9565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080b91906123e7565b6001600160a01b031614610846576108216113b9565b6040516348263eef60e01b81526001600160a01b03909116600482015260240161078f565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610870611b56565b61087a82876118b5565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610903838261244f565b5050505050505050565b61091633610752565b60025460405163dc85dcb160e01b81526001600160a01b039091169063dc85dcb19061094c90879087908790879060040161250e565b600060405180830381600087803b15801561096657600080fd5b505af1158015610903573d6000803e3d6000fd5b610982611b56565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60006109ca610fca565b6001600160a01b0316336001600160a01b0316146109fd5760405163086391f760e31b815233600482015260240161078f565b610a0682611955565b90505b919050565b610a1733610752565b6004546001600160a01b031615610a53576004805460405163384c2dbd60e11b81526001600160a01b039091169181019190915260240161078f565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abf91906123e7565b6001600160a01b031614610ae85760405163decb98c560e01b815230600482015260240161078f565b610af06113b9565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5b91906123e7565b6001600160a01b031614610b9657610b716113b9565b604051630312205960e41b81526001600160a01b03909116600482015260240161078f565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000610bcc6001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa158015610c22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4691906123e7565b905090565b610c5433610752565b6002546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610c869085908590600401612583565b600060405180830381600087803b158015610ca057600080fd5b505af1158015610cb4573d6000803e3d6000fd5b505050505050565b610cc4611b56565b806001600160a01b03163b600003610cfa5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161078f565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526312da491160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015610d74575060408051601f3d908101601f19168201909252610d71918101906125a7565b60015b610d9c5760405163fdeac91f60e01b81526001600160a01b038216600482015260240161078f565b80610dc55760405163fdeac91f60e01b81526001600160a01b038316600482015260240161078f565b5050565b6000610ddd6001546001600160a01b031690565b6001600160a01b031663d39e6043608c610bdd565b610dfb33610752565b6002546001600160a01b031615610e345760025460405163078a818f60e31b81526001600160a01b03909116600482015260240161078f565b610e3c6113b9565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea791906123e7565b6001600160a01b031614610ee257610ebd6113b9565b60405163021f1e5360e61b81526001600160a01b03909116600482015260240161078f565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b33610f0d6113b9565b6001600160a01b0316816001600160a01b031614610f485760405162d1953b60e31b81526001600160a01b038216600482015260240161078f565b816001600160a01b03163b600003610f7e576040516361798f2f60e11b81526001600160a01b038316600482015260240161078f565b610dc582611c9f565b610f9033610752565b6002546040516308b6d1c760e21b81526001600160a01b0384811660048301528315156024830152909116906322db471c90604401610c86565b60008060008051602061276783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e91906125a7565b156110eb576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156110c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e591906123e7565b91505090565b54600160601b90046001600160a01b0316919050565b600080516020612787833981519152805460009190600160a01b900460ff1661112b5760006110e5565b638fb3603760e01b91505090565b61114233610752565b61114a6113b9565b604051631517388760e21b81526001600160401b03841660048201526001600160a01b0391909116906325c471a09073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af41580156111b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d991906125c4565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038416602482015260006044820152606401610c86565b61122433610752565b61122c6113b9565b604051631517388760e21b81526001600160401b03841660048201526001600160a01b03919091169063b7d2b1629073__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015611297573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112bb91906125c4565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0384166024820152604401610c86565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561133f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061136391906123e7565b6001600160a01b0316336001600160a01b03161461138057600080fd5b600254604051632f42b9a560e11b8152600060048201526001600160a01b03848116602483015290911690635e85734a90604401610c86565b600080516020612787833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b031660008115801561141a5750825b90506000826001600160401b031660011480156114365750303b155b905081158015611444575080155b156114625760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561148c57845460ff60401b1916600160401b1785555b6001600160a01b0388166114b3576040516377dbcd1760e01b815260040160405180910390fd5b6114bc88611d00565b600087905061154188826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611503573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152791906125e1565b604660018b60405180602001604052806000815250610868565b611551637344136d60e01b610720565b50831561090357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b60006115b56001546001600160a01b031690565b6001600160a01b031663d39e60436078610bdd565b604051632392b61b60e21b81526003600482015260009073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561161d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4691906125fe565b60008061164d33610752565b60025460405163d2192dbf60e01b81526001600160a01b039091169063d2192dbf9061167f908790879060040161261b565b60408051808303816000875af115801561169d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c19190612649565b909590945092505050565b60006116e06001546001600160a01b031690565b6001600160a01b031663d39e604360d3610bdd565b6000610c466113b9565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611748573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176c91906123e7565b6001600160a01b0316336001600160a01b03161461178957600080fd5b600254604051632f42b9a560e11b81526001600160a01b038581166004830152848116602483015290911690635e85734a90604401600060405180830381600087803b1580156117d857600080fd5b505af11580156117ec573d6000803e3d6000fd5b50505050505050565b6117fe33610752565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611846573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186a91906123e7565b6001600160a01b031614611893576040516345789cf560e01b815230600482015260240161078f565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6118bd611b56565b6118c681610cbc565b6118ce61097a565b6001600160a01b0382166118f55760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061276783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b60006119406001546001600160a01b031690565b6001600160a01b031663d39e604360dc610bdd565b60008060008051602061276783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156119c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e991906125a7565b15611a155780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161078f565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611a69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8d91906125a7565b611ab55760405163b9304b0d60e01b81526001600160a01b038416600482015260240161078f565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611b09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2d91906125e1565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611b9f57604051631afcd79f60e31b815260040160405180910390fd5b565b600080516020612787833981519152600080611bdc611bbe6113b9565b8730611bce600460008a8c612678565b611bd7916126a2565b611d11565b9150915081610cb45763ffffffff811615611c7c57825460ff60a01b1916600160a01b178355611c0a6113b9565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c39939291906126d2565b600060405180830381600087803b158015611c5357600080fd5b505af1158015611c67573d6000803e3d6000fd5b5050845460ff60a01b1916855550610cb49050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161078f565b60008051602061278783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611d08611b56565b61071d81611e1d565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611d809190612712565b600060405180830381855afa9150503d8060008114611dbb576040519150601f19603f3d011682016040523d82523d6000602084013e611dc0565b606091505b50915091508115611e12576040815110611df25780806020019051810190611de8919061272e565b9094509250611e12565b6020815110611e125780806020019051810190611e0f91906125a7565b93505b505094509492505050565b611e25611b56565b61071d81611c9f565b80356001600160e01b031981168114610a0957600080fd5b600060208284031215611e5857600080fd5b611e6182611e2e565b9392505050565b60005b83811015611e83578181015183820152602001611e6b565b50506000910152565b60008151808452611ea4816020860160208601611e68565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151611f2160c08401826001600160a01b03169052565b5060c083015160e080840152611f3b610100840182611e8c565b949350505050565b6001600160a01b038116811461071d57600080fd5b600060208284031215611f6a57600080fd5b8135611e6181611f43565b6001600160601b038116811461071d57600080fd5b60ff8116811461071d57600080fd5b801515811461071d57600080fd5b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115611fd757611fd7611fa7565b604051601f8501601f19908116603f01168101908282118183101715611fff57611fff611fa7565b8160405280935085815286868601111561201857600080fd5b858560208301376000602087830101525050509392505050565b60008060008060008060c0878903121561204b57600080fd5b863561205681611f43565b9550602087013561206681611f75565b9450604087013561207681611f8a565b9350606087013561208681611f99565b9250608087013561209681611f43565b915060a08701356001600160401b038111156120b157600080fd5b8701601f810189136120c257600080fd5b6120d189823560208401611fbd565b9150509295509295509295565b600082601f8301126120ef57600080fd5b611e6183833560208501611fbd565b6001600160401b038116811461071d57600080fd5b8035610a09816120fe565b6000806000806060858703121561213457600080fd5b84356001600160401b038082111561214b57600080fd5b612157888389016120de565b9550602087013591508082111561216d57600080fd5b818701915087601f83011261218157600080fd5b81358181111561219057600080fd5b8860208260051b85010111156121a557600080fd5b6020830195508094505050506121bd60408601612113565b905092959194509250565b600080604083850312156121db57600080fd5b82356121e681611f43565b915060208301356001600160401b0381111561220157600080fd5b61220d858286016120de565b9150509250929050565b6000806040838503121561222a57600080fd5b823561223581611f43565b9150602083013561224581611f99565b809150509250929050565b6000806040838503121561226357600080fd5b823561226e816120fe565b9150602083013561224581611f43565b6000806040838503121561229157600080fd5b823561229c81611f43565b946020939093013593505050565b6000806000606084860312156122bf57600080fd5b83356122ca81611f43565b925060208401356122da81611f43565b915060408401356122ea81611f43565b809150509250925092565b6000806040838503121561230857600080fd5b82356001600160401b038082111561231f57600080fd5b61232b868387016120de565b9350602085013591508082111561234157600080fd5b5061220d858286016120de565b60008060006060848603121561236357600080fd5b833561236e81611f43565b9250602084013561237e81611f43565b929592945050506040919091013590565b600080604083850312156123a257600080fd5b823561226e81611f43565b600181811c908216806123c157607f821691505b6020821081036123e157634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156123f957600080fd5b8151611e6181611f43565b601f82111561244a57600081815260208120601f850160051c8101602086101561242b5750805b601f850160051c820191505b81811015610cb457828155600101612437565b505050565b81516001600160401b0381111561246857612468611fa7565b61247c8161247684546123ad565b84612404565b602080601f8311600181146124b157600084156124995750858301515b600019600386901b1c1916600185901b178555610cb4565b600085815260208120601f198616915b828110156124e0578886015182559484019460019091019084016124c1565b50858210156124fe5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6060815260006125216060830187611e8c565b8281036020848101919091528582528691810160005b87811015612564576001600160e01b031961255185611e2e565b1682529282019290820190600101612537565b508093505050506001600160401b038316604083015295945050505050565b6001600160a01b0383168152604060208201819052600090611f3b90830184611e8c565b6000602082840312156125b957600080fd5b8151611e6181611f99565b6000602082840312156125d657600080fd5b8151611e61816120fe565b6000602082840312156125f357600080fd5b8151611e6181611f75565b60006020828403121561261057600080fd5b8151611e6181611f8a565b60408152600061262e6040830185611e8c565b82810360208401526126408185611e8c565b95945050505050565b6000806040838503121561265c57600080fd5b8251612667816120fe565b6020840151909250612245816120fe565b6000808585111561268857600080fd5b8386111561269557600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156126ca5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251612724818460208701611e68565b9190910192915050565b6000806040838503121561274157600080fd5b825161274c81611f99565b602084015190925063ffffffff8116811461224557600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212208b304bf3666b25fdaa4a68b727b8d3b04b69280b9278376835142b95b3d5a50764736f6c63430008140033",
909
+ "linkReferences": {
910
+ "contracts/type/NftId.sol": {
911
+ "NftIdLib": [
3118
912
  {
3119
913
  "length": 20,
3120
- "start": 8013
914
+ "start": 4128
3121
915
  },
3122
916
  {
3123
917
  "length": 20,
3124
- "start": 9615
918
+ "start": 6571
3125
919
  }
3126
920
  ]
3127
921
  },
3128
- "contracts/types/StateId.sol": {
3129
- "StateIdLib": [
3130
- {
3131
- "length": 20,
3132
- "start": 6608
3133
- },
3134
- {
3135
- "length": 20,
3136
- "start": 9769
3137
- },
922
+ "contracts/type/RoleId.sol": {
923
+ "RoleIdLib": [
3138
924
  {
3139
925
  "length": 20,
3140
- "start": 10156
926
+ "start": 4507
3141
927
  },
3142
928
  {
3143
929
  "length": 20,
3144
- "start": 12459
3145
- },
3146
- {
3147
- "length": 20,
3148
- "start": 12679
3149
- },
3150
- {
3151
- "length": 20,
3152
- "start": 13606
3153
- },
3154
- {
3155
- "length": 20,
3156
- "start": 14325
3157
- },
3158
- {
3159
- "length": 20,
3160
- "start": 14545
930
+ "start": 4733
3161
931
  }
3162
932
  ]
3163
933
  },
3164
- "contracts/types/Version.sol": {
934
+ "contracts/type/Version.sol": {
3165
935
  "VersionPartLib": [
3166
936
  {
3167
937
  "length": 20,
3168
- "start": 10324
938
+ "start": 5635
3169
939
  }
3170
940
  ]
3171
941
  }
3172
942
  },
3173
943
  "deployedLinkReferences": {
3174
- "contracts/types/Key32.sol": {
3175
- "Key32Lib": [
3176
- {
3177
- "length": 20,
3178
- "start": 8819
3179
- },
3180
- {
3181
- "length": 20,
3182
- "start": 11174
3183
- },
3184
- {
3185
- "length": 20,
3186
- "start": 11290
3187
- },
3188
- {
3189
- "length": 20,
3190
- "start": 11433
3191
- },
3192
- {
3193
- "length": 20,
3194
- "start": 12186
3195
- },
3196
- {
3197
- "length": 20,
3198
- "start": 12302
3199
- },
3200
- {
3201
- "length": 20,
3202
- "start": 13068
3203
- },
3204
- {
3205
- "length": 20,
3206
- "start": 13184
3207
- },
3208
- {
3209
- "length": 20,
3210
- "start": 13366
3211
- },
3212
- {
3213
- "length": 20,
3214
- "start": 13482
3215
- }
3216
- ]
3217
- },
3218
- "contracts/types/NftId.sol": {
944
+ "contracts/type/NftId.sol": {
3219
945
  "NftIdLib": [
3220
946
  {
3221
947
  "length": 20,
3222
- "start": 3509
3223
- },
3224
- {
3225
- "length": 20,
3226
- "start": 4055
3227
- },
3228
- {
3229
- "length": 20,
3230
- "start": 4876
3231
- },
3232
- {
3233
- "length": 20,
3234
- "start": 5465
3235
- },
3236
- {
3237
- "length": 20,
3238
- "start": 6097
3239
- },
3240
- {
3241
- "length": 20,
3242
- "start": 6330
3243
- },
3244
- {
3245
- "length": 20,
3246
- "start": 7699
3247
- },
3248
- {
3249
- "length": 20,
3250
- "start": 9628
3251
- }
3252
- ]
3253
- },
3254
- "contracts/types/ObjectType.sol": {
3255
- "ObjectTypeLib": [
3256
- {
3257
- "length": 20,
3258
- "start": 11554
3259
- }
3260
- ]
3261
- },
3262
- "contracts/types/RiskId.sol": {
3263
- "RiskIdLib": [
3264
- {
3265
- "length": 20,
3266
- "start": 4505
3267
- },
3268
- {
3269
- "length": 20,
3270
- "start": 6182
948
+ "start": 4096
3271
949
  },
3272
950
  {
3273
951
  "length": 20,
3274
- "start": 7784
952
+ "start": 6539
3275
953
  }
3276
954
  ]
3277
955
  },
3278
- "contracts/types/StateId.sol": {
3279
- "StateIdLib": [
3280
- {
3281
- "length": 20,
3282
- "start": 4777
3283
- },
3284
- {
3285
- "length": 20,
3286
- "start": 7938
3287
- },
3288
- {
3289
- "length": 20,
3290
- "start": 8325
3291
- },
3292
- {
3293
- "length": 20,
3294
- "start": 10628
3295
- },
3296
- {
3297
- "length": 20,
3298
- "start": 10848
3299
- },
3300
- {
3301
- "length": 20,
3302
- "start": 11775
3303
- },
956
+ "contracts/type/RoleId.sol": {
957
+ "RoleIdLib": [
3304
958
  {
3305
959
  "length": 20,
3306
- "start": 12494
960
+ "start": 4475
3307
961
  },
3308
962
  {
3309
963
  "length": 20,
3310
- "start": 12714
964
+ "start": 4701
3311
965
  }
3312
966
  ]
3313
967
  },
3314
- "contracts/types/Version.sol": {
968
+ "contracts/type/Version.sol": {
3315
969
  "VersionPartLib": [
3316
970
  {
3317
971
  "length": 20,
3318
- "start": 8493
972
+ "start": 5603
3319
973
  }
3320
974
  ]
3321
975
  }