@etherisc/gif-next 0.0.2-ce87da3-250 → 0.0.2-ceed5e3-261

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