@etherisc/gif-next 0.0.2-d2fd9d7-008 → 0.0.2-d30275e-758

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