@etherisc/gif-next 0.0.2-d48ae55-246 → 0.0.2-d53bd1e-732

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