@etherisc/gif-next 0.0.2-fbe22f0-239 → 0.0.2-fbe6493-116

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