@etherisc/gif-next 0.0.2-e922e07-736 → 0.0.2-e964d24-516

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