@etherisc/gif-next 0.0.2-e59218b-293 → 0.0.2-e5a6af8-639

Sign up to get free protection for your applications and to get access to all the features.
Files changed (705) hide show
  1. package/README.md +121 -18
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1293 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +414 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1060 -0
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +295 -0
  14. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  16. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/IAccessManagerSimple.sol/IAccessManagerSimple.json → authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json} +125 -11
  18. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  20. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  21. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1402 -0
  22. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +470 -0
  24. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1048 -0
  26. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1439 -0
  28. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +830 -0
  30. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +929 -0
  32. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +961 -0
  34. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  35. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  36. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1538 -0
  38. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +470 -0
  40. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2077 -0
  42. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  44. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  46. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  47. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1471 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1231 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1592 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2095 -0
  54. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  55. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  56. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  57. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +328 -1319
  58. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  59. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +389 -167
  60. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  61. package/artifacts/contracts/instance/Instance.sol/Instance.json +361 -3086
  62. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1653 -0
  64. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +561 -0
  66. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  67. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1025 -379
  68. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +469 -405
  70. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +340 -126
  72. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  73. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3678 -0
  74. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  75. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  76. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  77. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +38 -2
  78. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  79. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  80. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  81. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  82. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  83. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  84. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +30 -112
  86. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  87. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  88. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  89. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  90. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  91. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  92. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  93. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  94. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  95. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1039 -0
  96. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  97. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +478 -0
  98. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  99. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  100. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  101. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → oracle/IOracleComponent.sol/IOracleComponent.json} +400 -372
  102. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  103. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +709 -0
  104. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  105. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +907 -0
  106. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  107. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +966 -0
  108. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +722 -0
  110. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  111. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1299 -0
  112. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  113. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +470 -0
  114. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  115. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1465 -0
  116. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  117. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +834 -0
  118. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  119. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +960 -0
  120. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  121. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +960 -0
  122. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  123. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1283 -0
  124. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  125. package/artifacts/contracts/pool/Pool.sol/Pool.json +1098 -0
  126. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  127. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1625 -0
  128. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  129. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +766 -0
  130. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  131. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +771 -0
  132. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  133. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +710 -0
  134. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  135. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1173 -0
  136. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  137. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +470 -0
  138. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  139. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1431 -0
  140. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  141. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +838 -0
  142. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  143. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → product/IApplicationService.sol/IApplicationService.json} +231 -225
  144. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  145. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +942 -0
  146. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  147. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +925 -0
  148. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  149. package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → product/IPricingService.sol/IPricingService.json} +310 -178
  150. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  151. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1012 -0
  152. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  153. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → product/IRiskService.sol/IRiskService.json} +149 -162
  154. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  155. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1302 -0
  156. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  157. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +782 -0
  158. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  159. package/artifacts/contracts/product/PricingService.sol/PricingService.json +907 -0
  160. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  161. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +762 -0
  162. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  163. package/artifacts/contracts/product/Product.sol/Product.json +1131 -0
  164. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  165. package/artifacts/contracts/product/RiskService.sol/RiskService.json +622 -0
  166. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  167. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +694 -0
  168. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  169. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  170. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  171. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +646 -129
  172. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  173. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +305 -233
  174. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  175. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  176. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  177. package/artifacts/contracts/registry/Registry.sol/Registry.json +974 -155
  178. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  179. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1886 -0
  180. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  181. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +296 -343
  182. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  183. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +329 -133
  184. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  185. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  186. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  187. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1067 -0
  188. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  189. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  190. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  191. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +351 -100
  192. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  193. package/artifacts/contracts/shared/Component.sol/Component.json +725 -0
  194. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  195. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1768 -0
  196. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  197. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +814 -0
  198. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  199. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +209 -201
  200. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  201. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  202. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  203. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → shared/IComponent.sol/IComponent.json} +324 -340
  204. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  205. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1335 -0
  206. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  207. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +723 -0
  208. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  209. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
  210. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  211. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  212. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  213. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +46 -26
  214. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  215. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  216. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  217. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +40 -31
  218. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  219. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  220. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  221. package/artifacts/contracts/shared/IService.sol/IService.json +119 -165
  222. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  223. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  224. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  225. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +829 -0
  226. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  227. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  228. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  229. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  230. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  231. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  232. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  233. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +81 -30
  234. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  235. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  236. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  237. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +96 -48
  238. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  239. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  240. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  241. package/artifacts/contracts/shared/Service.sol/Service.json +150 -176
  242. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  243. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +382 -9
  244. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  245. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  246. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  247. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1465 -0
  248. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  249. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1043 -0
  250. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  251. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  252. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  253. package/artifacts/contracts/staking/Staking.sol/Staking.json +1888 -0
  254. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  255. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  256. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  257. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +776 -0
  258. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  259. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  260. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  261. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1249 -0
  262. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  263. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +710 -0
  264. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  265. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  266. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  267. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  268. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  269. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  270. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  271. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  272. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  273. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  274. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  275. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  276. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  277. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  278. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  279. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  280. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  281. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  282. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  283. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  284. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  285. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  286. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  287. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  288. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  290. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  292. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  293. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  294. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  295. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +142 -0
  296. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  297. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  298. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  300. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  302. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  304. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  306. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  308. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  310. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
  312. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  314. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  316. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  318. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  319. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  320. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  321. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +602 -0
  322. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  323. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  324. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  325. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  326. package/contracts/authorization/AccessAdmin.sol +596 -0
  327. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  328. package/contracts/authorization/Authorization.sol +289 -0
  329. package/contracts/authorization/IAccess.sol +49 -0
  330. package/contracts/authorization/IAccessAdmin.sol +137 -0
  331. package/contracts/authorization/IAuthorization.sol +60 -0
  332. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  333. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  334. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  335. package/contracts/distribution/BasicDistribution.sol +139 -0
  336. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  337. package/contracts/distribution/Distribution.sol +285 -0
  338. package/contracts/distribution/DistributionService.sol +355 -0
  339. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  340. package/contracts/distribution/IDistributionComponent.sol +52 -0
  341. package/contracts/distribution/IDistributionService.sol +101 -0
  342. package/contracts/examples/fire/DamageLevel.sol +59 -0
  343. package/contracts/examples/fire/FirePool.sol +75 -0
  344. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  345. package/contracts/examples/fire/FireProduct.sol +418 -0
  346. package/contracts/examples/fire/FireProductAuthorization.sol +44 -0
  347. package/contracts/examples/fire/FireUSD.sol +26 -0
  348. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  349. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  350. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  351. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  352. package/contracts/instance/BundleSet.sol +126 -0
  353. package/contracts/instance/IInstance.sol +48 -36
  354. package/contracts/instance/IInstanceService.sol +58 -16
  355. package/contracts/instance/Instance.sol +164 -375
  356. package/contracts/instance/InstanceAdmin.sol +277 -0
  357. package/contracts/instance/InstanceAuthorizationV3.sol +194 -0
  358. package/contracts/instance/InstanceReader.sol +264 -84
  359. package/contracts/instance/InstanceService.sol +370 -157
  360. package/contracts/instance/InstanceServiceManager.sol +14 -32
  361. package/contracts/instance/InstanceStore.sol +287 -0
  362. package/contracts/instance/base/BalanceStore.sol +123 -0
  363. package/contracts/instance/base/Cloneable.sol +28 -0
  364. package/contracts/instance/base/ObjectCounter.sol +21 -0
  365. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  366. package/contracts/instance/base/ObjectSet.sol +79 -0
  367. package/contracts/instance/module/IAccess.sol +29 -21
  368. package/contracts/instance/module/IBundle.sol +8 -8
  369. package/contracts/instance/module/IComponents.sol +51 -0
  370. package/contracts/instance/module/IDistribution.sol +6 -4
  371. package/contracts/instance/module/IPolicy.sol +58 -19
  372. package/contracts/instance/module/IRisk.sol +1 -1
  373. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  374. package/contracts/oracle/BasicOracle.sol +47 -0
  375. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  376. package/contracts/oracle/IOracle.sol +36 -0
  377. package/contracts/oracle/IOracleComponent.sol +33 -0
  378. package/contracts/oracle/IOracleService.sol +66 -0
  379. package/contracts/oracle/Oracle.sol +156 -0
  380. package/contracts/oracle/OracleService.sol +291 -0
  381. package/contracts/oracle/OracleServiceManager.sol +39 -0
  382. package/contracts/pool/BasicPool.sol +154 -0
  383. package/contracts/pool/BasicPoolAuthorization.sol +57 -0
  384. package/contracts/pool/BundleService.sol +480 -0
  385. package/contracts/pool/BundleServiceManager.sol +39 -0
  386. package/contracts/pool/IBundleService.sol +143 -0
  387. package/contracts/pool/IPoolComponent.sol +68 -0
  388. package/contracts/pool/IPoolService.sol +167 -0
  389. package/contracts/pool/Pool.sol +335 -0
  390. package/contracts/pool/PoolService.sol +534 -0
  391. package/contracts/pool/PoolServiceManager.sol +39 -0
  392. package/contracts/product/ApplicationService.sol +257 -0
  393. package/contracts/product/ApplicationServiceManager.sol +38 -0
  394. package/contracts/product/BasicProduct.sol +53 -0
  395. package/contracts/product/BasicProductAuthorization.sol +42 -0
  396. package/contracts/product/ClaimService.sol +604 -0
  397. package/contracts/product/ClaimServiceManager.sol +38 -0
  398. package/contracts/product/IApplicationService.sol +63 -0
  399. package/contracts/product/IClaimService.sol +123 -0
  400. package/contracts/product/IPolicyService.sol +80 -0
  401. package/contracts/product/IPricingService.sol +39 -0
  402. package/contracts/product/IProductComponent.sol +59 -0
  403. package/contracts/product/IRiskService.sol +33 -0
  404. package/contracts/product/PolicyService.sol +683 -0
  405. package/contracts/product/PolicyServiceManager.sol +39 -0
  406. package/contracts/product/PricingService.sol +297 -0
  407. package/contracts/product/PricingServiceManager.sol +39 -0
  408. package/contracts/product/Product.sol +455 -0
  409. package/contracts/product/RiskService.sol +96 -0
  410. package/contracts/product/RiskServiceManager.sol +39 -0
  411. package/contracts/registry/ChainNft.sol +78 -33
  412. package/contracts/registry/IRegistry.sol +125 -35
  413. package/contracts/registry/IRegistryService.sol +40 -28
  414. package/contracts/registry/ITransferInterceptor.sol +1 -1
  415. package/contracts/registry/Registry.sol +542 -273
  416. package/contracts/registry/RegistryAdmin.sol +448 -0
  417. package/contracts/registry/RegistryService.sol +116 -233
  418. package/contracts/registry/RegistryServiceManager.sol +26 -53
  419. package/contracts/registry/ReleaseLifecycle.sol +30 -0
  420. package/contracts/registry/ReleaseRegistry.sol +501 -0
  421. package/contracts/registry/ServiceAuthorizationV3.sol +194 -0
  422. package/contracts/registry/TokenRegistry.sol +261 -57
  423. package/contracts/shared/Component.sol +265 -0
  424. package/contracts/shared/ComponentService.sol +735 -0
  425. package/contracts/shared/ComponentServiceManager.sol +38 -0
  426. package/contracts/shared/ComponentVerifyingService.sol +126 -0
  427. package/contracts/shared/ContractLib.sol +38 -0
  428. package/contracts/shared/IComponent.sol +74 -0
  429. package/contracts/shared/IComponentService.sol +120 -0
  430. package/contracts/shared/IInstanceLinkedComponent.sol +41 -0
  431. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  432. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  433. package/contracts/shared/INftOwnable.sol +15 -12
  434. package/contracts/shared/IPolicyHolder.sol +35 -0
  435. package/contracts/shared/IRegisterable.sol +15 -6
  436. package/contracts/shared/IRegistryLinked.sol +11 -0
  437. package/contracts/shared/IService.sol +16 -6
  438. package/contracts/shared/InitializableERC165.sol +27 -0
  439. package/contracts/shared/InstanceLinkedComponent.sol +213 -0
  440. package/contracts/shared/KeyValueStore.sol +131 -0
  441. package/contracts/shared/Lifecycle.sol +88 -0
  442. package/contracts/shared/NftIdSet.sol +65 -0
  443. package/contracts/shared/NftOwnable.sol +71 -82
  444. package/contracts/shared/PolicyHolder.sol +62 -0
  445. package/contracts/shared/Registerable.sol +34 -39
  446. package/contracts/shared/RegistryLinked.sol +44 -0
  447. package/contracts/shared/Service.sol +61 -32
  448. package/contracts/shared/TokenHandler.sol +122 -10
  449. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  450. package/contracts/staking/IStaking.sol +168 -0
  451. package/contracts/staking/IStakingService.sol +157 -0
  452. package/contracts/staking/StakeManagerLib.sol +224 -0
  453. package/contracts/staking/Staking.sol +497 -0
  454. package/contracts/staking/StakingLifecycle.sol +23 -0
  455. package/contracts/staking/StakingManager.sol +52 -0
  456. package/contracts/staking/StakingReader.sol +190 -0
  457. package/contracts/staking/StakingService.sol +393 -0
  458. package/contracts/staking/StakingServiceManager.sol +44 -0
  459. package/contracts/staking/StakingStore.sol +605 -0
  460. package/contracts/staking/TargetManagerLib.sol +211 -0
  461. package/contracts/{types → type}/AddressSet.sol +1 -1
  462. package/contracts/type/Amount.sol +150 -0
  463. package/contracts/{types → type}/Blocknumber.sol +27 -3
  464. package/contracts/type/ClaimId.sol +80 -0
  465. package/contracts/{types → type}/DistributorType.sol +2 -2
  466. package/contracts/{types → type}/Fee.sol +33 -23
  467. package/contracts/{types → type}/NftId.sol +22 -15
  468. package/contracts/type/NftIdSet.sol +62 -0
  469. package/contracts/type/ObjectType.sol +276 -0
  470. package/contracts/type/PayoutId.sol +82 -0
  471. package/contracts/{types → type}/Referral.sol +6 -1
  472. package/contracts/type/RequestId.sol +75 -0
  473. package/contracts/{types → type}/RiskId.sol +16 -2
  474. package/contracts/type/RoleId.sol +162 -0
  475. package/contracts/type/Seconds.sol +101 -0
  476. package/contracts/type/Selector.sol +102 -0
  477. package/contracts/{types → type}/StateId.sol +48 -4
  478. package/contracts/type/String.sol +53 -0
  479. package/contracts/{types → type}/Timestamp.sol +34 -15
  480. package/contracts/{types → type}/UFixed.sol +39 -9
  481. package/contracts/{types → type}/Version.sol +5 -2
  482. package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
  483. package/contracts/upgradeability/ProxyManager.sol +232 -0
  484. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  485. package/contracts/upgradeability/Versionable.sol +59 -0
  486. package/package.json +11 -7
  487. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  488. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  489. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  490. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -618
  491. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  492. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  493. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  494. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  495. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  496. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  497. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  498. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  499. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  500. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -782
  501. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  502. package/artifacts/contracts/components/Product.sol/Product.json +0 -724
  503. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  504. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  505. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  506. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  507. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  508. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  509. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  510. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  511. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  512. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  513. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  514. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  515. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  516. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  517. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  518. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  519. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  520. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  521. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  522. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  523. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  524. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  525. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  526. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  527. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  528. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  529. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  530. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  531. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  532. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  533. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  534. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  535. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  536. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  537. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  538. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  539. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  540. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  541. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  542. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  543. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  544. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  545. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  546. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  547. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -917
  548. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  549. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  550. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  551. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  552. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  553. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  554. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  555. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  556. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  557. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  558. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  559. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  560. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  561. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  562. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -716
  563. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  564. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -444
  565. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  566. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  567. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  568. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  569. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  570. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -926
  571. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  572. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -448
  573. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  574. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -1147
  575. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  576. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -488
  577. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  578. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  579. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  580. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  581. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  582. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  583. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  584. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  585. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  586. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  587. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  588. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  589. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  590. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  591. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  592. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  593. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  594. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  595. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  596. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  597. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  598. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  599. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  600. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  601. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  602. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  603. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  604. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  605. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  606. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  607. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  608. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  609. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  610. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  611. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  612. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  613. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  614. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  615. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  616. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  617. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  618. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  619. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  620. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  621. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  622. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  623. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  624. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  625. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  626. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  627. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  628. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  629. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  630. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  631. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  632. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  633. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  634. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  635. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  636. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  637. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  638. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  639. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  640. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  641. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  642. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  643. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  644. package/contracts/components/BaseComponent.sol +0 -91
  645. package/contracts/components/Distribution.sol +0 -163
  646. package/contracts/components/IBaseComponent.sol +0 -25
  647. package/contracts/components/IDistributionComponent.sol +0 -44
  648. package/contracts/components/IPoolComponent.sol +0 -62
  649. package/contracts/components/IProductComponent.sol +0 -35
  650. package/contracts/components/Pool.sol +0 -246
  651. package/contracts/components/Product.sol +0 -288
  652. package/contracts/experiment/cloning/Cloner.sol +0 -47
  653. package/contracts/experiment/errors/Require.sol +0 -38
  654. package/contracts/experiment/errors/Revert.sol +0 -44
  655. package/contracts/experiment/inheritance/A.sol +0 -53
  656. package/contracts/experiment/inheritance/B.sol +0 -28
  657. package/contracts/experiment/inheritance/C.sol +0 -34
  658. package/contracts/experiment/inheritance/IA.sol +0 -13
  659. package/contracts/experiment/inheritance/IB.sol +0 -10
  660. package/contracts/experiment/inheritance/IC.sol +0 -12
  661. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  662. package/contracts/experiment/statemachine/ISM.sol +0 -25
  663. package/contracts/experiment/statemachine/SM.sol +0 -57
  664. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  665. package/contracts/experiment/types/TypeA.sol +0 -47
  666. package/contracts/experiment/types/TypeB.sol +0 -29
  667. package/contracts/instance/AccessManagedSimple.sol +0 -115
  668. package/contracts/instance/AccessManagerSimple.sol +0 -692
  669. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  670. package/contracts/instance/InstanceAccessManager.sol +0 -288
  671. package/contracts/instance/base/ComponentServiceBase.sol +0 -134
  672. package/contracts/instance/base/IInstanceBase.sol +0 -23
  673. package/contracts/instance/base/KeyValueStore.sol +0 -172
  674. package/contracts/instance/base/Lifecycle.sol +0 -100
  675. package/contracts/instance/module/ISetup.sol +0 -45
  676. package/contracts/instance/module/ITreasury.sol +0 -23
  677. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  678. package/contracts/instance/service/DistributionService.sol +0 -88
  679. package/contracts/instance/service/DistributionServiceManager.sol +0 -54
  680. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  681. package/contracts/instance/service/IDistributionService.sol +0 -12
  682. package/contracts/instance/service/IPoolService.sol +0 -41
  683. package/contracts/instance/service/IProductService.sol +0 -110
  684. package/contracts/instance/service/PoolService.sol +0 -201
  685. package/contracts/instance/service/PoolServiceManager.sol +0 -54
  686. package/contracts/instance/service/ProductService.sol +0 -567
  687. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  688. package/contracts/shared/ContractDeployerLib.sol +0 -72
  689. package/contracts/shared/ERC165.sol +0 -25
  690. package/contracts/shared/ProxyManager.sol +0 -94
  691. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  692. package/contracts/shared/Versionable.sol +0 -147
  693. package/contracts/test/TestFee.sol +0 -25
  694. package/contracts/test/TestRegisterable.sol +0 -18
  695. package/contracts/test/TestRoleId.sol +0 -14
  696. package/contracts/test/TestService.sol +0 -24
  697. package/contracts/test/TestToken.sol +0 -26
  698. package/contracts/test/TestVersion.sol +0 -44
  699. package/contracts/test/TestVersionable.sol +0 -17
  700. package/contracts/types/ChainId.sol +0 -38
  701. package/contracts/types/NftIdSet.sol +0 -60
  702. package/contracts/types/NumberId.sol +0 -52
  703. package/contracts/types/ObjectType.sol +0 -152
  704. package/contracts/types/RoleId.sol +0 -90
  705. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -0,0 +1,1402 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "BasicDistribution",
4
+ "sourceName": "contracts/distribution/BasicDistribution.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [],
46
+ "name": "ErrorComponentNameLengthZero",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "address",
53
+ "name": "caller",
54
+ "type": "address"
55
+ }
56
+ ],
57
+ "name": "ErrorComponentNotChainNft",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "ErrorComponentProductNftIdNonzero",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [],
67
+ "name": "ErrorComponentProductNftIdZero",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [],
72
+ "name": "ErrorComponentTokenAddressNonzero",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [],
77
+ "name": "ErrorComponentTokenAddressZero",
78
+ "type": "error"
79
+ },
80
+ {
81
+ "inputs": [],
82
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
83
+ "type": "error"
84
+ },
85
+ {
86
+ "inputs": [],
87
+ "name": "ErrorComponentWalletAddressZero",
88
+ "type": "error"
89
+ },
90
+ {
91
+ "inputs": [],
92
+ "name": "ErrorComponentWalletNotComponent",
93
+ "type": "error"
94
+ },
95
+ {
96
+ "inputs": [
97
+ {
98
+ "internalType": "address",
99
+ "name": "distributor",
100
+ "type": "address"
101
+ },
102
+ {
103
+ "internalType": "NftId",
104
+ "name": "distributorNftId",
105
+ "type": "uint96"
106
+ }
107
+ ],
108
+ "name": "ErrorDistributionAlreadyDistributor",
109
+ "type": "error"
110
+ },
111
+ {
112
+ "inputs": [
113
+ {
114
+ "internalType": "address",
115
+ "name": "distributor",
116
+ "type": "address"
117
+ }
118
+ ],
119
+ "name": "ErrorDistributionNotDistributor",
120
+ "type": "error"
121
+ },
122
+ {
123
+ "inputs": [
124
+ {
125
+ "internalType": "NftId",
126
+ "name": "nftId",
127
+ "type": "uint96"
128
+ },
129
+ {
130
+ "internalType": "ObjectType",
131
+ "name": "objectType",
132
+ "type": "uint8"
133
+ }
134
+ ],
135
+ "name": "ErrorInstanceLinkedComponentNotProduct",
136
+ "type": "error"
137
+ },
138
+ {
139
+ "inputs": [
140
+ {
141
+ "internalType": "ObjectType",
142
+ "name": "requiredType",
143
+ "type": "uint8"
144
+ },
145
+ {
146
+ "internalType": "ObjectType",
147
+ "name": "objectType",
148
+ "type": "uint8"
149
+ }
150
+ ],
151
+ "name": "ErrorInstanceLinkedComponentTypeMismatch",
152
+ "type": "error"
153
+ },
154
+ {
155
+ "inputs": [
156
+ {
157
+ "internalType": "NftId",
158
+ "name": "nftId",
159
+ "type": "uint96"
160
+ }
161
+ ],
162
+ "name": "ErrorNftOwnableAlreadyLinked",
163
+ "type": "error"
164
+ },
165
+ {
166
+ "inputs": [
167
+ {
168
+ "internalType": "address",
169
+ "name": "contractAddress",
170
+ "type": "address"
171
+ }
172
+ ],
173
+ "name": "ErrorNftOwnableContractNotRegistered",
174
+ "type": "error"
175
+ },
176
+ {
177
+ "inputs": [],
178
+ "name": "ErrorNftOwnableInitialOwnerZero",
179
+ "type": "error"
180
+ },
181
+ {
182
+ "inputs": [
183
+ {
184
+ "internalType": "NftId",
185
+ "name": "nftId",
186
+ "type": "uint96"
187
+ },
188
+ {
189
+ "internalType": "ObjectType",
190
+ "name": "expectedObjectType",
191
+ "type": "uint8"
192
+ }
193
+ ],
194
+ "name": "ErrorNftOwnableInvalidType",
195
+ "type": "error"
196
+ },
197
+ {
198
+ "inputs": [
199
+ {
200
+ "internalType": "address",
201
+ "name": "account",
202
+ "type": "address"
203
+ }
204
+ ],
205
+ "name": "ErrorNftOwnableNotOwner",
206
+ "type": "error"
207
+ },
208
+ {
209
+ "inputs": [
210
+ {
211
+ "internalType": "address",
212
+ "name": "registryAddress",
213
+ "type": "address"
214
+ }
215
+ ],
216
+ "name": "ErrorNotRegistry",
217
+ "type": "error"
218
+ },
219
+ {
220
+ "inputs": [],
221
+ "name": "InvalidInitialization",
222
+ "type": "error"
223
+ },
224
+ {
225
+ "inputs": [],
226
+ "name": "NotInitializing",
227
+ "type": "error"
228
+ },
229
+ {
230
+ "anonymous": false,
231
+ "inputs": [
232
+ {
233
+ "indexed": false,
234
+ "internalType": "address",
235
+ "name": "authority",
236
+ "type": "address"
237
+ }
238
+ ],
239
+ "name": "AuthorityUpdated",
240
+ "type": "event"
241
+ },
242
+ {
243
+ "anonymous": false,
244
+ "inputs": [
245
+ {
246
+ "indexed": false,
247
+ "internalType": "uint64",
248
+ "name": "version",
249
+ "type": "uint64"
250
+ }
251
+ ],
252
+ "name": "Initialized",
253
+ "type": "event"
254
+ },
255
+ {
256
+ "anonymous": false,
257
+ "inputs": [
258
+ {
259
+ "indexed": false,
260
+ "internalType": "address",
261
+ "name": "token",
262
+ "type": "address"
263
+ },
264
+ {
265
+ "indexed": false,
266
+ "internalType": "Amount",
267
+ "name": "limit",
268
+ "type": "uint96"
269
+ },
270
+ {
271
+ "indexed": false,
272
+ "internalType": "bool",
273
+ "name": "isMaxAmount",
274
+ "type": "bool"
275
+ }
276
+ ],
277
+ "name": "LogComponentTokenHandlerApproved",
278
+ "type": "event"
279
+ },
280
+ {
281
+ "anonymous": false,
282
+ "inputs": [
283
+ {
284
+ "indexed": false,
285
+ "internalType": "address",
286
+ "name": "oldWallet",
287
+ "type": "address"
288
+ },
289
+ {
290
+ "indexed": false,
291
+ "internalType": "address",
292
+ "name": "newWallet",
293
+ "type": "address"
294
+ }
295
+ ],
296
+ "name": "LogComponentWalletAddressChanged",
297
+ "type": "event"
298
+ },
299
+ {
300
+ "anonymous": false,
301
+ "inputs": [
302
+ {
303
+ "indexed": false,
304
+ "internalType": "address",
305
+ "name": "from",
306
+ "type": "address"
307
+ },
308
+ {
309
+ "indexed": false,
310
+ "internalType": "address",
311
+ "name": "to",
312
+ "type": "address"
313
+ },
314
+ {
315
+ "indexed": false,
316
+ "internalType": "uint256",
317
+ "name": "amount",
318
+ "type": "uint256"
319
+ }
320
+ ],
321
+ "name": "LogComponentWalletTokensTransferred",
322
+ "type": "event"
323
+ },
324
+ {
325
+ "anonymous": false,
326
+ "inputs": [
327
+ {
328
+ "indexed": false,
329
+ "internalType": "address",
330
+ "name": "to",
331
+ "type": "address"
332
+ },
333
+ {
334
+ "indexed": false,
335
+ "internalType": "address",
336
+ "name": "operator",
337
+ "type": "address"
338
+ }
339
+ ],
340
+ "name": "LogDistributorUpdated",
341
+ "type": "event"
342
+ },
343
+ {
344
+ "inputs": [],
345
+ "name": "COMPONENT_LOCATION_V1",
346
+ "outputs": [
347
+ {
348
+ "internalType": "bytes32",
349
+ "name": "",
350
+ "type": "bytes32"
351
+ }
352
+ ],
353
+ "stateMutability": "view",
354
+ "type": "function"
355
+ },
356
+ {
357
+ "inputs": [],
358
+ "name": "DISTRIBUTION_STORAGE_LOCATION_V1",
359
+ "outputs": [
360
+ {
361
+ "internalType": "bytes32",
362
+ "name": "",
363
+ "type": "bytes32"
364
+ }
365
+ ],
366
+ "stateMutability": "view",
367
+ "type": "function"
368
+ },
369
+ {
370
+ "inputs": [],
371
+ "name": "GIF_RELEASE",
372
+ "outputs": [
373
+ {
374
+ "internalType": "uint256",
375
+ "name": "",
376
+ "type": "uint256"
377
+ }
378
+ ],
379
+ "stateMutability": "view",
380
+ "type": "function"
381
+ },
382
+ {
383
+ "inputs": [],
384
+ "name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
385
+ "outputs": [
386
+ {
387
+ "internalType": "bytes32",
388
+ "name": "",
389
+ "type": "bytes32"
390
+ }
391
+ ],
392
+ "stateMutability": "view",
393
+ "type": "function"
394
+ },
395
+ {
396
+ "inputs": [],
397
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
398
+ "outputs": [
399
+ {
400
+ "internalType": "bytes32",
401
+ "name": "",
402
+ "type": "bytes32"
403
+ }
404
+ ],
405
+ "stateMutability": "view",
406
+ "type": "function"
407
+ },
408
+ {
409
+ "inputs": [],
410
+ "name": "REGISTERABLE_LOCATION_V1",
411
+ "outputs": [
412
+ {
413
+ "internalType": "bytes32",
414
+ "name": "",
415
+ "type": "bytes32"
416
+ }
417
+ ],
418
+ "stateMutability": "view",
419
+ "type": "function"
420
+ },
421
+ {
422
+ "inputs": [
423
+ {
424
+ "internalType": "address",
425
+ "name": "token",
426
+ "type": "address"
427
+ },
428
+ {
429
+ "internalType": "Amount",
430
+ "name": "spendingLimitAmount",
431
+ "type": "uint96"
432
+ }
433
+ ],
434
+ "name": "approveTokenHandler",
435
+ "outputs": [],
436
+ "stateMutability": "nonpayable",
437
+ "type": "function"
438
+ },
439
+ {
440
+ "inputs": [
441
+ {
442
+ "internalType": "Amount",
443
+ "name": "spendingLimitAmount",
444
+ "type": "uint96"
445
+ }
446
+ ],
447
+ "name": "approveTokenHandler",
448
+ "outputs": [],
449
+ "stateMutability": "nonpayable",
450
+ "type": "function"
451
+ },
452
+ {
453
+ "inputs": [],
454
+ "name": "authority",
455
+ "outputs": [
456
+ {
457
+ "internalType": "address",
458
+ "name": "",
459
+ "type": "address"
460
+ }
461
+ ],
462
+ "stateMutability": "view",
463
+ "type": "function"
464
+ },
465
+ {
466
+ "inputs": [
467
+ {
468
+ "internalType": "ReferralId",
469
+ "name": "referralId",
470
+ "type": "bytes8"
471
+ },
472
+ {
473
+ "internalType": "uint256",
474
+ "name": "netPremiumAmount",
475
+ "type": "uint256"
476
+ }
477
+ ],
478
+ "name": "calculateRenewalFeeAmount",
479
+ "outputs": [
480
+ {
481
+ "internalType": "uint256",
482
+ "name": "feeAmount",
483
+ "type": "uint256"
484
+ }
485
+ ],
486
+ "stateMutability": "view",
487
+ "type": "function"
488
+ },
489
+ {
490
+ "inputs": [
491
+ {
492
+ "internalType": "address",
493
+ "name": "distributor",
494
+ "type": "address"
495
+ },
496
+ {
497
+ "internalType": "DistributorType",
498
+ "name": "distributorType",
499
+ "type": "bytes8"
500
+ },
501
+ {
502
+ "internalType": "bytes",
503
+ "name": "data",
504
+ "type": "bytes"
505
+ }
506
+ ],
507
+ "name": "createDistributor",
508
+ "outputs": [
509
+ {
510
+ "internalType": "NftId",
511
+ "name": "distributorNftId",
512
+ "type": "uint96"
513
+ }
514
+ ],
515
+ "stateMutability": "nonpayable",
516
+ "type": "function"
517
+ },
518
+ {
519
+ "inputs": [
520
+ {
521
+ "internalType": "string",
522
+ "name": "name",
523
+ "type": "string"
524
+ },
525
+ {
526
+ "internalType": "UFixed",
527
+ "name": "minDiscountPercentage",
528
+ "type": "uint256"
529
+ },
530
+ {
531
+ "internalType": "UFixed",
532
+ "name": "maxDiscountPercentage",
533
+ "type": "uint256"
534
+ },
535
+ {
536
+ "internalType": "UFixed",
537
+ "name": "commissionPercentage",
538
+ "type": "uint256"
539
+ },
540
+ {
541
+ "internalType": "uint32",
542
+ "name": "maxReferralCount",
543
+ "type": "uint32"
544
+ },
545
+ {
546
+ "internalType": "uint32",
547
+ "name": "maxReferralLifetime",
548
+ "type": "uint32"
549
+ },
550
+ {
551
+ "internalType": "bool",
552
+ "name": "allowSelfReferrals",
553
+ "type": "bool"
554
+ },
555
+ {
556
+ "internalType": "bool",
557
+ "name": "allowRenewals",
558
+ "type": "bool"
559
+ },
560
+ {
561
+ "internalType": "bytes",
562
+ "name": "data",
563
+ "type": "bytes"
564
+ }
565
+ ],
566
+ "name": "createDistributorType",
567
+ "outputs": [
568
+ {
569
+ "internalType": "DistributorType",
570
+ "name": "distributorType",
571
+ "type": "bytes8"
572
+ }
573
+ ],
574
+ "stateMutability": "nonpayable",
575
+ "type": "function"
576
+ },
577
+ {
578
+ "inputs": [
579
+ {
580
+ "internalType": "string",
581
+ "name": "code",
582
+ "type": "string"
583
+ },
584
+ {
585
+ "internalType": "UFixed",
586
+ "name": "discountPercentage",
587
+ "type": "uint256"
588
+ },
589
+ {
590
+ "internalType": "uint32",
591
+ "name": "maxReferrals",
592
+ "type": "uint32"
593
+ },
594
+ {
595
+ "internalType": "Timestamp",
596
+ "name": "expiryAt",
597
+ "type": "uint40"
598
+ },
599
+ {
600
+ "internalType": "bytes",
601
+ "name": "data",
602
+ "type": "bytes"
603
+ }
604
+ ],
605
+ "name": "createReferral",
606
+ "outputs": [
607
+ {
608
+ "internalType": "ReferralId",
609
+ "name": "referralId",
610
+ "type": "bytes8"
611
+ }
612
+ ],
613
+ "stateMutability": "nonpayable",
614
+ "type": "function"
615
+ },
616
+ {
617
+ "inputs": [],
618
+ "name": "getAuthorization",
619
+ "outputs": [
620
+ {
621
+ "internalType": "contract IAuthorization",
622
+ "name": "authorization",
623
+ "type": "address"
624
+ }
625
+ ],
626
+ "stateMutability": "view",
627
+ "type": "function"
628
+ },
629
+ {
630
+ "inputs": [],
631
+ "name": "getComponentInfo",
632
+ "outputs": [
633
+ {
634
+ "components": [
635
+ {
636
+ "internalType": "string",
637
+ "name": "name",
638
+ "type": "string"
639
+ },
640
+ {
641
+ "internalType": "contract IERC20Metadata",
642
+ "name": "token",
643
+ "type": "address"
644
+ },
645
+ {
646
+ "internalType": "contract TokenHandler",
647
+ "name": "tokenHandler",
648
+ "type": "address"
649
+ },
650
+ {
651
+ "internalType": "address",
652
+ "name": "wallet",
653
+ "type": "address"
654
+ },
655
+ {
656
+ "internalType": "bytes",
657
+ "name": "data",
658
+ "type": "bytes"
659
+ }
660
+ ],
661
+ "internalType": "struct IComponents.ComponentInfo",
662
+ "name": "info",
663
+ "type": "tuple"
664
+ }
665
+ ],
666
+ "stateMutability": "view",
667
+ "type": "function"
668
+ },
669
+ {
670
+ "inputs": [
671
+ {
672
+ "internalType": "string",
673
+ "name": "referralCode",
674
+ "type": "string"
675
+ }
676
+ ],
677
+ "name": "getDiscountPercentage",
678
+ "outputs": [
679
+ {
680
+ "internalType": "UFixed",
681
+ "name": "discountPercentage",
682
+ "type": "uint256"
683
+ },
684
+ {
685
+ "internalType": "ReferralStatus",
686
+ "name": "status",
687
+ "type": "uint8"
688
+ }
689
+ ],
690
+ "stateMutability": "view",
691
+ "type": "function"
692
+ },
693
+ {
694
+ "inputs": [
695
+ {
696
+ "internalType": "address",
697
+ "name": "distributor",
698
+ "type": "address"
699
+ }
700
+ ],
701
+ "name": "getDistributorNftId",
702
+ "outputs": [
703
+ {
704
+ "internalType": "NftId",
705
+ "name": "distributorNftId",
706
+ "type": "uint96"
707
+ }
708
+ ],
709
+ "stateMutability": "view",
710
+ "type": "function"
711
+ },
712
+ {
713
+ "inputs": [],
714
+ "name": "getInitialComponentInfo",
715
+ "outputs": [
716
+ {
717
+ "components": [
718
+ {
719
+ "internalType": "string",
720
+ "name": "name",
721
+ "type": "string"
722
+ },
723
+ {
724
+ "internalType": "contract IERC20Metadata",
725
+ "name": "token",
726
+ "type": "address"
727
+ },
728
+ {
729
+ "internalType": "contract TokenHandler",
730
+ "name": "tokenHandler",
731
+ "type": "address"
732
+ },
733
+ {
734
+ "internalType": "address",
735
+ "name": "wallet",
736
+ "type": "address"
737
+ },
738
+ {
739
+ "internalType": "bytes",
740
+ "name": "data",
741
+ "type": "bytes"
742
+ }
743
+ ],
744
+ "internalType": "struct IComponents.ComponentInfo",
745
+ "name": "info",
746
+ "type": "tuple"
747
+ }
748
+ ],
749
+ "stateMutability": "view",
750
+ "type": "function"
751
+ },
752
+ {
753
+ "inputs": [],
754
+ "name": "getInitialInfo",
755
+ "outputs": [
756
+ {
757
+ "components": [
758
+ {
759
+ "internalType": "NftId",
760
+ "name": "nftId",
761
+ "type": "uint96"
762
+ },
763
+ {
764
+ "internalType": "NftId",
765
+ "name": "parentNftId",
766
+ "type": "uint96"
767
+ },
768
+ {
769
+ "internalType": "ObjectType",
770
+ "name": "objectType",
771
+ "type": "uint8"
772
+ },
773
+ {
774
+ "internalType": "bool",
775
+ "name": "isInterceptor",
776
+ "type": "bool"
777
+ },
778
+ {
779
+ "internalType": "address",
780
+ "name": "objectAddress",
781
+ "type": "address"
782
+ },
783
+ {
784
+ "internalType": "address",
785
+ "name": "initialOwner",
786
+ "type": "address"
787
+ },
788
+ {
789
+ "internalType": "bytes",
790
+ "name": "data",
791
+ "type": "bytes"
792
+ }
793
+ ],
794
+ "internalType": "struct IRegistry.ObjectInfo",
795
+ "name": "info",
796
+ "type": "tuple"
797
+ }
798
+ ],
799
+ "stateMutability": "view",
800
+ "type": "function"
801
+ },
802
+ {
803
+ "inputs": [],
804
+ "name": "getInstance",
805
+ "outputs": [
806
+ {
807
+ "internalType": "contract IInstance",
808
+ "name": "instance",
809
+ "type": "address"
810
+ }
811
+ ],
812
+ "stateMutability": "view",
813
+ "type": "function"
814
+ },
815
+ {
816
+ "inputs": [],
817
+ "name": "getName",
818
+ "outputs": [
819
+ {
820
+ "internalType": "string",
821
+ "name": "name",
822
+ "type": "string"
823
+ }
824
+ ],
825
+ "stateMutability": "view",
826
+ "type": "function"
827
+ },
828
+ {
829
+ "inputs": [],
830
+ "name": "getNftId",
831
+ "outputs": [
832
+ {
833
+ "internalType": "NftId",
834
+ "name": "",
835
+ "type": "uint96"
836
+ }
837
+ ],
838
+ "stateMutability": "view",
839
+ "type": "function"
840
+ },
841
+ {
842
+ "inputs": [],
843
+ "name": "getOwner",
844
+ "outputs": [
845
+ {
846
+ "internalType": "address",
847
+ "name": "",
848
+ "type": "address"
849
+ }
850
+ ],
851
+ "stateMutability": "view",
852
+ "type": "function"
853
+ },
854
+ {
855
+ "inputs": [
856
+ {
857
+ "internalType": "string",
858
+ "name": "referralCode",
859
+ "type": "string"
860
+ }
861
+ ],
862
+ "name": "getReferralId",
863
+ "outputs": [
864
+ {
865
+ "internalType": "ReferralId",
866
+ "name": "referralId",
867
+ "type": "bytes8"
868
+ }
869
+ ],
870
+ "stateMutability": "view",
871
+ "type": "function"
872
+ },
873
+ {
874
+ "inputs": [],
875
+ "name": "getRegistry",
876
+ "outputs": [
877
+ {
878
+ "internalType": "contract IRegistry",
879
+ "name": "",
880
+ "type": "address"
881
+ }
882
+ ],
883
+ "stateMutability": "view",
884
+ "type": "function"
885
+ },
886
+ {
887
+ "inputs": [],
888
+ "name": "getRelease",
889
+ "outputs": [
890
+ {
891
+ "internalType": "VersionPart",
892
+ "name": "release",
893
+ "type": "uint8"
894
+ }
895
+ ],
896
+ "stateMutability": "pure",
897
+ "type": "function"
898
+ },
899
+ {
900
+ "inputs": [],
901
+ "name": "getToken",
902
+ "outputs": [
903
+ {
904
+ "internalType": "contract IERC20Metadata",
905
+ "name": "token",
906
+ "type": "address"
907
+ }
908
+ ],
909
+ "stateMutability": "view",
910
+ "type": "function"
911
+ },
912
+ {
913
+ "inputs": [],
914
+ "name": "getTokenHandler",
915
+ "outputs": [
916
+ {
917
+ "internalType": "contract TokenHandler",
918
+ "name": "tokenHandler",
919
+ "type": "address"
920
+ }
921
+ ],
922
+ "stateMutability": "view",
923
+ "type": "function"
924
+ },
925
+ {
926
+ "inputs": [],
927
+ "name": "getWallet",
928
+ "outputs": [
929
+ {
930
+ "internalType": "address",
931
+ "name": "walletAddress",
932
+ "type": "address"
933
+ }
934
+ ],
935
+ "stateMutability": "view",
936
+ "type": "function"
937
+ },
938
+ {
939
+ "inputs": [],
940
+ "name": "isConsumingScheduledOp",
941
+ "outputs": [
942
+ {
943
+ "internalType": "bytes4",
944
+ "name": "",
945
+ "type": "bytes4"
946
+ }
947
+ ],
948
+ "stateMutability": "view",
949
+ "type": "function"
950
+ },
951
+ {
952
+ "inputs": [
953
+ {
954
+ "internalType": "address",
955
+ "name": "candidate",
956
+ "type": "address"
957
+ }
958
+ ],
959
+ "name": "isDistributor",
960
+ "outputs": [
961
+ {
962
+ "internalType": "bool",
963
+ "name": "",
964
+ "type": "bool"
965
+ }
966
+ ],
967
+ "stateMutability": "view",
968
+ "type": "function"
969
+ },
970
+ {
971
+ "inputs": [],
972
+ "name": "isNftInterceptor",
973
+ "outputs": [
974
+ {
975
+ "internalType": "bool",
976
+ "name": "isInterceptor",
977
+ "type": "bool"
978
+ }
979
+ ],
980
+ "stateMutability": "view",
981
+ "type": "function"
982
+ },
983
+ {
984
+ "inputs": [],
985
+ "name": "isRegistered",
986
+ "outputs": [
987
+ {
988
+ "internalType": "bool",
989
+ "name": "",
990
+ "type": "bool"
991
+ }
992
+ ],
993
+ "stateMutability": "view",
994
+ "type": "function"
995
+ },
996
+ {
997
+ "inputs": [],
998
+ "name": "isVerifying",
999
+ "outputs": [
1000
+ {
1001
+ "internalType": "bool",
1002
+ "name": "verifying",
1003
+ "type": "bool"
1004
+ }
1005
+ ],
1006
+ "stateMutability": "pure",
1007
+ "type": "function"
1008
+ },
1009
+ {
1010
+ "inputs": [],
1011
+ "name": "linkToRegisteredNftId",
1012
+ "outputs": [
1013
+ {
1014
+ "internalType": "NftId",
1015
+ "name": "nftId",
1016
+ "type": "uint96"
1017
+ }
1018
+ ],
1019
+ "stateMutability": "nonpayable",
1020
+ "type": "function"
1021
+ },
1022
+ {
1023
+ "inputs": [],
1024
+ "name": "lock",
1025
+ "outputs": [],
1026
+ "stateMutability": "nonpayable",
1027
+ "type": "function"
1028
+ },
1029
+ {
1030
+ "inputs": [
1031
+ {
1032
+ "internalType": "address",
1033
+ "name": "from",
1034
+ "type": "address"
1035
+ },
1036
+ {
1037
+ "internalType": "address",
1038
+ "name": "to",
1039
+ "type": "address"
1040
+ },
1041
+ {
1042
+ "internalType": "uint256",
1043
+ "name": "tokenId",
1044
+ "type": "uint256"
1045
+ },
1046
+ {
1047
+ "internalType": "address",
1048
+ "name": "operator",
1049
+ "type": "address"
1050
+ }
1051
+ ],
1052
+ "name": "nftTransferFrom",
1053
+ "outputs": [],
1054
+ "stateMutability": "nonpayable",
1055
+ "type": "function"
1056
+ },
1057
+ {
1058
+ "inputs": [
1059
+ {
1060
+ "internalType": "ReferralId",
1061
+ "name": "referralId",
1062
+ "type": "bytes8"
1063
+ },
1064
+ {
1065
+ "internalType": "uint256",
1066
+ "name": "feeAmount",
1067
+ "type": "uint256"
1068
+ }
1069
+ ],
1070
+ "name": "processRenewal",
1071
+ "outputs": [],
1072
+ "stateMutability": "nonpayable",
1073
+ "type": "function"
1074
+ },
1075
+ {
1076
+ "inputs": [
1077
+ {
1078
+ "internalType": "address",
1079
+ "name": "newAuthority",
1080
+ "type": "address"
1081
+ }
1082
+ ],
1083
+ "name": "setAuthority",
1084
+ "outputs": [],
1085
+ "stateMutability": "nonpayable",
1086
+ "type": "function"
1087
+ },
1088
+ {
1089
+ "inputs": [
1090
+ {
1091
+ "components": [
1092
+ {
1093
+ "internalType": "UFixed",
1094
+ "name": "fractionalFee",
1095
+ "type": "uint256"
1096
+ },
1097
+ {
1098
+ "internalType": "uint256",
1099
+ "name": "fixedFee",
1100
+ "type": "uint256"
1101
+ }
1102
+ ],
1103
+ "internalType": "struct Fee",
1104
+ "name": "distributionFee",
1105
+ "type": "tuple"
1106
+ },
1107
+ {
1108
+ "components": [
1109
+ {
1110
+ "internalType": "UFixed",
1111
+ "name": "fractionalFee",
1112
+ "type": "uint256"
1113
+ },
1114
+ {
1115
+ "internalType": "uint256",
1116
+ "name": "fixedFee",
1117
+ "type": "uint256"
1118
+ }
1119
+ ],
1120
+ "internalType": "struct Fee",
1121
+ "name": "minDistributionOwnerFee",
1122
+ "type": "tuple"
1123
+ }
1124
+ ],
1125
+ "name": "setFees",
1126
+ "outputs": [],
1127
+ "stateMutability": "nonpayable",
1128
+ "type": "function"
1129
+ },
1130
+ {
1131
+ "inputs": [
1132
+ {
1133
+ "internalType": "address",
1134
+ "name": "newWallet",
1135
+ "type": "address"
1136
+ }
1137
+ ],
1138
+ "name": "setWallet",
1139
+ "outputs": [],
1140
+ "stateMutability": "nonpayable",
1141
+ "type": "function"
1142
+ },
1143
+ {
1144
+ "inputs": [
1145
+ {
1146
+ "internalType": "bytes4",
1147
+ "name": "interfaceId",
1148
+ "type": "bytes4"
1149
+ }
1150
+ ],
1151
+ "name": "supportsInterface",
1152
+ "outputs": [
1153
+ {
1154
+ "internalType": "bool",
1155
+ "name": "",
1156
+ "type": "bool"
1157
+ }
1158
+ ],
1159
+ "stateMutability": "view",
1160
+ "type": "function"
1161
+ },
1162
+ {
1163
+ "inputs": [],
1164
+ "name": "unlock",
1165
+ "outputs": [],
1166
+ "stateMutability": "nonpayable",
1167
+ "type": "function"
1168
+ },
1169
+ {
1170
+ "inputs": [
1171
+ {
1172
+ "internalType": "NftId",
1173
+ "name": "distributorNftId",
1174
+ "type": "uint96"
1175
+ },
1176
+ {
1177
+ "internalType": "DistributorType",
1178
+ "name": "distributorType",
1179
+ "type": "bytes8"
1180
+ },
1181
+ {
1182
+ "internalType": "bytes",
1183
+ "name": "data",
1184
+ "type": "bytes"
1185
+ }
1186
+ ],
1187
+ "name": "updateDistributorType",
1188
+ "outputs": [],
1189
+ "stateMutability": "nonpayable",
1190
+ "type": "function"
1191
+ },
1192
+ {
1193
+ "inputs": [
1194
+ {
1195
+ "internalType": "NftId",
1196
+ "name": "distributorNftId",
1197
+ "type": "uint96"
1198
+ },
1199
+ {
1200
+ "internalType": "Amount",
1201
+ "name": "amount",
1202
+ "type": "uint96"
1203
+ }
1204
+ ],
1205
+ "name": "withdrawCommission",
1206
+ "outputs": [
1207
+ {
1208
+ "internalType": "Amount",
1209
+ "name": "withdrawnAmount",
1210
+ "type": "uint96"
1211
+ }
1212
+ ],
1213
+ "stateMutability": "nonpayable",
1214
+ "type": "function"
1215
+ },
1216
+ {
1217
+ "inputs": [
1218
+ {
1219
+ "internalType": "Amount",
1220
+ "name": "amount",
1221
+ "type": "uint96"
1222
+ }
1223
+ ],
1224
+ "name": "withdrawFees",
1225
+ "outputs": [
1226
+ {
1227
+ "internalType": "Amount",
1228
+ "name": "withdrawnAmount",
1229
+ "type": "uint96"
1230
+ }
1231
+ ],
1232
+ "stateMutability": "nonpayable",
1233
+ "type": "function"
1234
+ }
1235
+ ],
1236
+ "bytecode": "0x6080604052348015600e575f80fd5b506137248061001c5f395ff3fe608060405234801561000f575f80fd5b5060043610610281575f3560e01c80637a9e5e4b11610156578063b423086c116100ca578063deaa59df11610084578063deaa59df146105ca578063e145d46c146105dd578063ea15869f14610607578063f5860e1a1461062e578063f80e207214610642578063f83d08ba14610655575f80fd5b8063b423086c14610564578063b6b412ba1461056c578063bae99c991461057f578063bf7e214f14610592578063d16d0fe81461059a578063de7b5d14146105ad575f80fd5b80638fb360371161011b5780638fb36037146104ec57806390edbd351461050d578063a69df4b514610522578063ad12ad601461052a578063ada9652e1461053d578063b2a6b42d14610551575f80fd5b80637a9e5e4b146104af57806387ef9ba0146104c25780638899278a146104c9578063893d20e8146104d15780638f0c86fa146104d9575f80fd5b80632eb3e6f4116101f85780635ab1bd53116101b25780635ab1bd53146104265780635dcb3bae14610437578063644c45e01461044a5780636bd1c0eb146104525780637427d7a81461048257806376b707b714610495575f80fd5b80632eb3e6f4146103c75780633d683fd9146103db578063419197fe146103f057806343d752d3146104035780635741e5e91461040b57806359660bea14610413575f80fd5b806317d7de7c1161024957806317d7de7c1461032e5780631c6b2190146103435780631eff4b221461035657806321df0da71461038b57806322366844146103935780632b5198b11461039b575f80fd5b806301ffc9a71461028557806307e71a6e146102c65780630fec111c146102f15780631329960414610306578063138461e014610326575b5f80fd5b6102b1610293366004612a7f565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102d96102d4366004612aba565b61065d565b6040516001600160601b0390911681526020016102bd565b6102f961080e565b6040516102bd9190612b1f565b61030e6109cc565b6040516001600160a01b0390911681526020016102bd565b6102d96109de565b6103366109ed565b6040516102bd9190612bb3565b6102d9610351366004612bc5565b6109fd565b61037d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102bd565b61030e610a53565b6102b1610a65565b6103ae6103a9366004612d1c565b610b5b565b6040516001600160c01b031990911681526020016102bd565b61037d5f805160206136cf83398151915281565b6103ee6103e9366004612df2565b610bbf565b005b6103ee6103fe366004612e63565b610ccf565b61030e610f1a565b6102b1610f2c565b6103ae610421366004612e7f565b610fe0565b6001546001600160a01b031661030e565b6102d9610445366004612f18565b611037565b6102d9611091565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661030e565b6103ae610490366004612f35565b6110ac565b61049d61112c565b60405160ff90911681526020016102bd565b6103ee6104bd366004612f66565b6111a0565b60016102b1565b61037d600381565b61030e611226565b6102b16104e7366004612f66565b611357565b6104f461141c565b6040516001600160e01b031990911681526020016102bd565b610515611451565b6040516102bd9190612f81565b6103ee611476565b6103ee610538366004612ff5565b611514565b61037d5f8051602061366f83398151915281565b6102d961055f366004612f66565b6115bd565b6105156115ff565b6103ee61057a366004613091565b61160f565b6103ee61058d366004612bc5565b61165d565b61030e6116ac565b61037d6105a83660046130c4565b6116c7565b5f805160206136cf833981519152546001600160a01b031661030e565b6103ee6105d8366004612f66565b6116db565b6105f06105eb366004612f35565b611956565b6040805192835260ff9091166020830152016102bd565b61037d7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61037d5f805160206136af83398151915281565b6103ee6106503660046130c4565b611a10565b6103ee611a19565b5f61066a335b5f36611a8d565b61067333611357565b6106975760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b82601d6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156106fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061072091906130f9565b6107515760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161068e565b846107646001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa1580156107b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107db91906130f9565b6107fa5760405163086391f760e31b815233600482015260240161068e565b6108048686611b8b565b9695505050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156108be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e2919061311f565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161092a611226565b6001600160a01b031681526020018260010180546109479061313a565b80601f01602080910402602001604051908101604052809291908181526020018280546109739061313a565b80156109be5780601f10610995576101008083540402835291602001916109be565b820191905f5260205f20905b8154815290600101906020018083116109a157829003601f168201915b505050505081525091505090565b5f6109d5611451565b60600151905090565b5f6109e830611c17565b905090565b60606109f7611451565b51919050565b5f610a06611226565b6001600160a01b0316336001600160a01b031614610a395760405163086391f760e31b815233600482015260240161068e565b610a4233610663565b610a4b82611e0b565b90505b919050565b5f610a5c611451565b60200151905090565b5f610a786001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610abc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ae0919061311f565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b37573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e891906130f9565b5f610b64611226565b6001600160a01b0316336001600160a01b031614610b975760405163086391f760e31b815233600482015260240161068e565b610ba033610663565b610bb18a8a8a8a8a8a8a8a8a611e8f565b9a9950505050505050505050565b610bc7611226565b6001600160a01b0316336001600160a01b031614610bfa5760405163086391f760e31b815233600482015260240161068e565b82601d6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015610c5f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c8391906130f9565b610cb45760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161068e565b610cbd33610663565b610cc8858585611f4e565b5050505050565b610cd7611226565b6001600160a01b0316336001600160a01b031614610d0a5760405163086391f760e31b815233600482015260240161068e565b30610d136109cc565b6001600160a01b031614610d3a5760405163b6d7537f60e01b815260040160405180910390fd5b60405163046e44af60e11b81526001600160601b03821660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610d92573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610db69190613172565b90505f610e2d8373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610e04573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e28919061311f565b611f62565b15610e3a57505f19905060015b7f99d7b1d3869e469ab19cd2c6e66718a63bca93dc1a2d27d375cb4bebbf5348ce610e63610f1a565b604080516001600160a01b0390921682526001600160601b03861660208301528315159082015260600160405180910390a1836001600160a01b031663095ea7b3610eac610f1a565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018590526044016020604051808303815f875af1158015610ef6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cc891906130f9565b5f610f23611451565b60400151905090565b5f610f35610a65565b15610fb0576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610f89573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526109d59190810190613201565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f610fea33611357565b6110095760405163637c41bb60e01b815233600482015260240161068e565b61101233610663565b5f61101c336115bd565b905061102c818888888888611fe6565b979650505050505050565b5f611040611226565b6001600160a01b0316336001600160a01b0316146110735760405163086391f760e31b815233600482015260240161068e565b61107c33610663565b61108784848461209c565b90505b9392505050565b5f8051602061366f833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd66110cf611091565b846040518363ffffffff1660e01b81526004016110ed9291906132d1565b602060405180830381865af4158015611108573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4b91906132f2565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561117c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e8919061330d565b336111a96116ac565b6001600160a01b0316816001600160a01b0316146111e45760405162d1953b60e31b81526001600160a01b038216600482015260240161068e565b816001600160a01b03163b5f03611219576040516361798f2f60e11b81526001600160a01b038316600482015260240161068e565b61122282612260565b5050565b5f805f8051602061366f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611292573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112b691906130f9565b15611341576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611317573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061133b9190613328565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206136af8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af41580156113f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061108a91906130f9565b5f8051602061368f83398151915280545f9190600160a01b900460ff16611443575f61133b565b638fb3603760e01b91505090565b611459612a38565b611461610a65565b1561146e576109e86122c0565b6109e86115ff565b61147e611226565b6001600160a01b0316336001600160a01b0316146114b15760405163086391f760e31b815233600482015260240161068e565b6114bb600a612487565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b1580156114fc575f80fd5b505af115801561150e573d5f803e3d5ffd5b50505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561155b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061157f9190613328565b6001600160a01b0316336001600160a01b0316146115b15760405162f0630960e01b815233600482015260240161068e565b61150e84848484612588565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b611607612a38565b6109e86122c0565b611617611226565b6001600160a01b0316336001600160a01b03161461164a5760405163086391f760e31b815233600482015260240161068e565b61165333610663565b6112228282612731565b611665611226565b6001600160a01b0316336001600160a01b0316146116985760405163086391f760e31b815233600482015260240161068e565b6116a96116a3610a53565b82610ccf565b50565b5f8051602061368f833981519152546001600160a01b031690565b5f6116d28282613343565b90505b92915050565b6116e3611226565b6001600160a01b0316336001600160a01b0316146117165760405163086391f760e31b815233600482015260240161068e565b5f61171f6109cc565b90505f61172a610a53565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa158015611770573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117949190613172565b905061179f83612798565b801561195157604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b0383160361190057611808610f1a565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161185191815260200190565b602060405180830381865af415801561186c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611890919061311f565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b1580156118e5575f80fd5b505af11580156118f7573d5f803e3d5ffd5b50505050505050565b611908610f1a565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161185191815260200190565b505050565b5f805f611962846110ac565b90506119957fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156119e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a069190613366565b9250925050915091565b61122233610663565b611a21611226565b6001600160a01b0316336001600160a01b031614611a545760405163086391f760e31b815233600482015260240161068e565b611a5e600a612487565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e906024016114e5565b5f8051602061368f8339815191525f80611ac5611aa86116ac565b8730611ab760045f8a8c61338a565b611ac0916133b1565b612831565b9150915081611b835763ffffffff811615611b6057825460ff60a01b1916600160a01b178355611af36116ac565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611b22939291906133e9565b5f604051808303815f87803b158015611b39575f80fd5b505af1158015611b4b573d5f803e3d5ffd5b5050845460ff60a01b1916855550611b839050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161068e565b505050505050565b5f5f805160206136af833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611bf3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116d2919061311f565b5f805f8051602061366f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611c83573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ca791906130f9565b15611cd35780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161068e565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611d25573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d4991906130f9565b611d715760405163b9304b0d60e01b81526001600160a01b038416600482015260240161068e565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611dc3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611de7919061311f565b81546001600160601b0319166001600160601b039190911690811790915592915050565b5f5f805160206136cf833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611e6b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4b919061311f565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f805160206136af833981519152916001600160a01b0390911690632b5198b190611eff908e908e908e908e908e908e908e908e908e90600401613428565b6020604051808303815f875af1158015611f1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f3f91906132f2565b9b9a5050505050505050505050565b5f5f805160206136af833981519152610cc8565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611fc2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116d291906130f9565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f805160206136af833981519152916001600160a01b0390911690638dd2b78190612050908b908b908b908b908b908b90600401613499565b6020604051808303815f875af115801561206c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061209091906132f2565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206136af8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af415801561213d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061216191906130f9565b156121ac576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b0316602482015260440161068e565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae906121e2908890889088906004016134f8565b6020604051808303815f875af11580156121fe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612222919061311f565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f8051602061368f83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6122c8612a38565b5f6122db6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561231f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612343919061311f565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561239c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123c091906130f9565b1561247f577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c36123fd611091565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa15801561243e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612465919081019061352b565b60608101519092506001600160a01b03161561247f575090565b61133b612939565b5f805f805160206136cf83398151915254604080516376b707b760e01b815290516001600160a01b03909216916376b707b7916004808201926020929091908290030181865afa1580156124dd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612501919061330d565b90506125156001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa158015612564573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061108a9190613328565b604080516001600160a01b038086168252831660208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f805160206136af833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612623573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612647919061311f565b6001600160a01b0386165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810184905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156126cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126f1919061311f565b6001600160a01b03949094165f9081526002919091016020526040902080546001600160601b0319166001600160601b0390941693909317909255505050565b5f805160206136af83398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee9061276f9085908590600401613605565b5f604051808303815f87803b158015612786575f80fd5b505af1158015611b83573d5f803e3d5ffd5b6127a0611226565b6001600160a01b0316336001600160a01b0316146127d35760405163086391f760e31b815233600482015260240161068e565b6127dd600b612487565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b15801561281f575f80fd5b505af1158015610cc8573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161289f919061362b565b5f60405180830381855afa9150503d805f81146128d7576040519150601f19603f3d011682016040523d82523d5f602084013e6128dc565b606091505b5091509150811561292e57604081511061290e57808060200190518101906129049190613641565b909450925061292e565b602081511061292e578080602001905181019061292b91906130f9565b93505b505094509492505050565b612941612a38565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060a00160405280825f01805461297e9061313a565b80601f01602080910402602001604051908101604052809291908181526020018280546129aa9061313a565b80156129f55780601f106129cc576101008083540402835291602001916129f5565b820191905f5260205f20905b8154815290600101906020018083116129d857829003601f168201915b505050918352505060018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916109479061313a565b6040518060a00160405280606081526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612a8f575f80fd5b81356001600160e01b03198116811461108a575f80fd5b6001600160601b03811681146116a9575f80fd5b5f8060408385031215612acb575f80fd5b8235612ad681612aa6565b91506020830135612ae681612aa6565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612b67608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612bab610100840182612af1565b949350505050565b602081525f6116d26020830184612af1565b5f60208284031215612bd5575f80fd5b813561108a81612aa6565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612c1657612c16612be0565b60405290565b60405160a081016001600160401b0381118282101715612c1657612c16612be0565b604051601f8201601f191681016001600160401b0381118282101715612c6657612c66612be0565b604052919050565b5f6001600160401b03821115612c8657612c86612be0565b50601f01601f191660200190565b5f82601f830112612ca3575f80fd5b8135602083015f612cbb612cb684612c6e565b612c3e565b9050828152858383011115612cce575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff811681146116a9575f80fd5b8035610a4e81612ce8565b80151581146116a9575f80fd5b8035610a4e81612d04565b5f805f805f805f805f6101208a8c031215612d35575f80fd5b89356001600160401b03811115612d4a575f80fd5b612d568c828d01612c94565b99505060208a0135975060408a0135965060608a0135955060808a0135612d7c81612ce8565b9450612d8a60a08b01612cf9565b9350612d9860c08b01612d11565b9250612da660e08b01612d11565b91506101008a01356001600160401b03811115612dc1575f80fd5b612dcd8c828d01612c94565b9150509295985092959850929598565b6001600160c01b0319811681146116a9575f80fd5b5f805f60608486031215612e04575f80fd5b8335612e0f81612aa6565b92506020840135612e1f81612ddd565b915060408401356001600160401b03811115612e39575f80fd5b612e4586828701612c94565b9150509250925092565b6001600160a01b03811681146116a9575f80fd5b5f8060408385031215612e74575f80fd5b8235612ad681612e4f565b5f805f805f60a08688031215612e93575f80fd5b85356001600160401b03811115612ea8575f80fd5b612eb488828901612c94565b955050602086013593506040860135612ecc81612ce8565b9250606086013564ffffffffff81168114612ee5575f80fd5b915060808601356001600160401b03811115612eff575f80fd5b612f0b88828901612c94565b9150509295509295909350565b5f805f60608486031215612f2a575f80fd5b8335612e0f81612e4f565b5f60208284031215612f45575f80fd5b81356001600160401b03811115612f5a575f80fd5b612bab84828501612c94565b5f60208284031215612f76575f80fd5b813561108a81612e4f565b602081525f825160a06020840152612f9c60c0840182612af1565b60208501516001600160a01b03908116604086810191909152860151811660608087019190915286015116608080860191909152850151848203601f190160a0860152909150612fec8282612af1565b95945050505050565b5f805f8060808587031215613008575f80fd5b843561301381612e4f565b9350602085013561302381612e4f565b925060408501359150606085013561303a81612e4f565b939692955090935050565b5f60408284031215613055575f80fd5b604080519081016001600160401b038111828210171561307757613077612be0565b604052823581526020928301359281019290925250919050565b5f80608083850312156130a2575f80fd5b6130ac8484613045565b91506130bb8460408501613045565b90509250929050565b5f80604083850312156130d5575f80fd5b82356130e081612ddd565b946020939093013593505050565b8051610a4e81612d04565b5f60208284031215613109575f80fd5b815161108a81612d04565b8051610a4e81612aa6565b5f6020828403121561312f575f80fd5b815161108a81612aa6565b600181811c9082168061314e57607f821691505b60208210810361316c57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215613182575f80fd5b5051919050565b60ff811681146116a9575f80fd5b8051610a4e81613189565b8051610a4e81612e4f565b5f6131ba612cb684612c6e565b90508281528383830111156131cd575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f8301126131f2575f80fd5b6116d2838351602085016131ad565b5f60208284031215613211575f80fd5b81516001600160401b03811115613226575f80fd5b820160e08185031215613237575f80fd5b61323f612bf4565b61324882613114565b815261325660208301613114565b602082015261326760408301613197565b6040820152613278606083016130ee565b6060820152613289608083016131a2565b608082015261329a60a083016131a2565b60a082015260c08201516001600160401b038111156132b7575f80fd5b6132c3868285016131e3565b60c083015250949350505050565b6001600160601b0383168152604060208201525f6110876040830184612af1565b5f60208284031215613302575f80fd5b815161108a81612ddd565b5f6020828403121561331d575f80fd5b815161108a81613189565b5f60208284031215613338575f80fd5b815161108a81612e4f565b80820281158282048414176116d557634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613377575f80fd5b82516020840151909250612ae681613189565b5f8085851115613398575f80fd5b838611156133a4575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156133e2576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f61343c61012083018c612af1565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e08401528281036101008401526134898185612af1565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f6134ba60c0830188612af1565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a08401526134eb8185612af1565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90612fec90830184612af1565b5f6020828403121561353b575f80fd5b81516001600160401b03811115613550575f80fd5b820160a08185031215613561575f80fd5b613569612c1c565b81516001600160401b0381111561357e575f80fd5b8201601f8101861361358e575f80fd5b61359d868251602084016131ad565b8252506135ac602083016131a2565b60208201526135bd604083016131a2565b60408201526135ce606083016131a2565b606082015260808201516001600160401b038111156135eb575f80fd5b6135f7868285016131e3565b608083015250949350505050565b82518152602080840151818301528251604083015282015160608201526080810161108a565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613652575f80fd5b825161365d81612d04565b6020840151909250612ae681612ce856fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220e0ce635aa08c1c1d69e2ebb976d1d45178ef010e09c134d53aa050c58304cc3d64736f6c634300081a0033",
1237
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610281575f3560e01c80637a9e5e4b11610156578063b423086c116100ca578063deaa59df11610084578063deaa59df146105ca578063e145d46c146105dd578063ea15869f14610607578063f5860e1a1461062e578063f80e207214610642578063f83d08ba14610655575f80fd5b8063b423086c14610564578063b6b412ba1461056c578063bae99c991461057f578063bf7e214f14610592578063d16d0fe81461059a578063de7b5d14146105ad575f80fd5b80638fb360371161011b5780638fb36037146104ec57806390edbd351461050d578063a69df4b514610522578063ad12ad601461052a578063ada9652e1461053d578063b2a6b42d14610551575f80fd5b80637a9e5e4b146104af57806387ef9ba0146104c25780638899278a146104c9578063893d20e8146104d15780638f0c86fa146104d9575f80fd5b80632eb3e6f4116101f85780635ab1bd53116101b25780635ab1bd53146104265780635dcb3bae14610437578063644c45e01461044a5780636bd1c0eb146104525780637427d7a81461048257806376b707b714610495575f80fd5b80632eb3e6f4146103c75780633d683fd9146103db578063419197fe146103f057806343d752d3146104035780635741e5e91461040b57806359660bea14610413575f80fd5b806317d7de7c1161024957806317d7de7c1461032e5780631c6b2190146103435780631eff4b221461035657806321df0da71461038b57806322366844146103935780632b5198b11461039b575f80fd5b806301ffc9a71461028557806307e71a6e146102c65780630fec111c146102f15780631329960414610306578063138461e014610326575b5f80fd5b6102b1610293366004612a7f565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102d96102d4366004612aba565b61065d565b6040516001600160601b0390911681526020016102bd565b6102f961080e565b6040516102bd9190612b1f565b61030e6109cc565b6040516001600160a01b0390911681526020016102bd565b6102d96109de565b6103366109ed565b6040516102bd9190612bb3565b6102d9610351366004612bc5565b6109fd565b61037d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102bd565b61030e610a53565b6102b1610a65565b6103ae6103a9366004612d1c565b610b5b565b6040516001600160c01b031990911681526020016102bd565b61037d5f805160206136cf83398151915281565b6103ee6103e9366004612df2565b610bbf565b005b6103ee6103fe366004612e63565b610ccf565b61030e610f1a565b6102b1610f2c565b6103ae610421366004612e7f565b610fe0565b6001546001600160a01b031661030e565b6102d9610445366004612f18565b611037565b6102d9611091565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661030e565b6103ae610490366004612f35565b6110ac565b61049d61112c565b60405160ff90911681526020016102bd565b6103ee6104bd366004612f66565b6111a0565b60016102b1565b61037d600381565b61030e611226565b6102b16104e7366004612f66565b611357565b6104f461141c565b6040516001600160e01b031990911681526020016102bd565b610515611451565b6040516102bd9190612f81565b6103ee611476565b6103ee610538366004612ff5565b611514565b61037d5f8051602061366f83398151915281565b6102d961055f366004612f66565b6115bd565b6105156115ff565b6103ee61057a366004613091565b61160f565b6103ee61058d366004612bc5565b61165d565b61030e6116ac565b61037d6105a83660046130c4565b6116c7565b5f805160206136cf833981519152546001600160a01b031661030e565b6103ee6105d8366004612f66565b6116db565b6105f06105eb366004612f35565b611956565b6040805192835260ff9091166020830152016102bd565b61037d7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61037d5f805160206136af83398151915281565b6103ee6106503660046130c4565b611a10565b6103ee611a19565b5f61066a335b5f36611a8d565b61067333611357565b6106975760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b82601d6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156106fc573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061072091906130f9565b6107515760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161068e565b846107646001546001600160a01b031690565b604051631660755f60e31b81526001600160601b03831660048201523360248201526001600160a01b03919091169063b303aaf890604401602060405180830381865afa1580156107b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107db91906130f9565b6107fa5760405163086391f760e31b815233600482015260240161068e565b6108048686611b8b565b9695505050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156108be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e2919061311f565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161092a611226565b6001600160a01b031681526020018260010180546109479061313a565b80601f01602080910402602001604051908101604052809291908181526020018280546109739061313a565b80156109be5780601f10610995576101008083540402835291602001916109be565b820191905f5260205f20905b8154815290600101906020018083116109a157829003601f168201915b505050505081525091505090565b5f6109d5611451565b60600151905090565b5f6109e830611c17565b905090565b60606109f7611451565b51919050565b5f610a06611226565b6001600160a01b0316336001600160a01b031614610a395760405163086391f760e31b815233600482015260240161068e565b610a4233610663565b610a4b82611e0b565b90505b919050565b5f610a5c611451565b60200151905090565b5f610a786001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610abc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ae0919061311f565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b37573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e891906130f9565b5f610b64611226565b6001600160a01b0316336001600160a01b031614610b975760405163086391f760e31b815233600482015260240161068e565b610ba033610663565b610bb18a8a8a8a8a8a8a8a8a611e8f565b9a9950505050505050505050565b610bc7611226565b6001600160a01b0316336001600160a01b031614610bfa5760405163086391f760e31b815233600482015260240161068e565b82601d6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015610c5f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c8391906130f9565b610cb45760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161068e565b610cbd33610663565b610cc8858585611f4e565b5050505050565b610cd7611226565b6001600160a01b0316336001600160a01b031614610d0a5760405163086391f760e31b815233600482015260240161068e565b30610d136109cc565b6001600160a01b031614610d3a5760405163b6d7537f60e01b815260040160405180910390fd5b60405163046e44af60e11b81526001600160601b03821660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610d92573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610db69190613172565b90505f610e2d8373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015610e04573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e28919061311f565b611f62565b15610e3a57505f19905060015b7f99d7b1d3869e469ab19cd2c6e66718a63bca93dc1a2d27d375cb4bebbf5348ce610e63610f1a565b604080516001600160a01b0390921682526001600160601b03861660208301528315159082015260600160405180910390a1836001600160a01b031663095ea7b3610eac610f1a565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018590526044016020604051808303815f875af1158015610ef6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cc891906130f9565b5f610f23611451565b60400151905090565b5f610f35610a65565b15610fb0576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610f89573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526109d59190810190613201565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f610fea33611357565b6110095760405163637c41bb60e01b815233600482015260240161068e565b61101233610663565b5f61101c336115bd565b905061102c818888888888611fe6565b979650505050505050565b5f611040611226565b6001600160a01b0316336001600160a01b0316146110735760405163086391f760e31b815233600482015260240161068e565b61107c33610663565b61108784848461209c565b90505b9392505050565b5f8051602061366f833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd66110cf611091565b846040518363ffffffff1660e01b81526004016110ed9291906132d1565b602060405180830381865af4158015611108573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4b91906132f2565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561117c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e8919061330d565b336111a96116ac565b6001600160a01b0316816001600160a01b0316146111e45760405162d1953b60e31b81526001600160a01b038216600482015260240161068e565b816001600160a01b03163b5f03611219576040516361798f2f60e11b81526001600160a01b038316600482015260240161068e565b61122282612260565b5050565b5f805f8051602061366f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611292573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112b691906130f9565b15611341576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611317573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061133b9190613328565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206136af8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af41580156113f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061108a91906130f9565b5f8051602061368f83398151915280545f9190600160a01b900460ff16611443575f61133b565b638fb3603760e01b91505090565b611459612a38565b611461610a65565b1561146e576109e86122c0565b6109e86115ff565b61147e611226565b6001600160a01b0316336001600160a01b0316146114b15760405163086391f760e31b815233600482015260240161068e565b6114bb600a612487565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b1580156114fc575f80fd5b505af115801561150e573d5f803e3d5ffd5b50505050565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa15801561155b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061157f9190613328565b6001600160a01b0316336001600160a01b0316146115b15760405162f0630960e01b815233600482015260240161068e565b61150e84848484612588565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b611607612a38565b6109e86122c0565b611617611226565b6001600160a01b0316336001600160a01b03161461164a5760405163086391f760e31b815233600482015260240161068e565b61165333610663565b6112228282612731565b611665611226565b6001600160a01b0316336001600160a01b0316146116985760405163086391f760e31b815233600482015260240161068e565b6116a96116a3610a53565b82610ccf565b50565b5f8051602061368f833981519152546001600160a01b031690565b5f6116d28282613343565b90505b92915050565b6116e3611226565b6001600160a01b0316336001600160a01b0316146117165760405163086391f760e31b815233600482015260240161068e565b5f61171f6109cc565b90505f61172a610a53565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa158015611770573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117949190613172565b905061179f83612798565b801561195157604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b0383160361190057611808610f1a565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161185191815260200190565b602060405180830381865af415801561186c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611890919061311f565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b1580156118e5575f80fd5b505af11580156118f7573d5f803e3d5ffd5b50505050505050565b611908610f1a565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161185191815260200190565b505050565b5f805f611962846110ac565b90506119957fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa1580156119e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a069190613366565b9250925050915091565b61122233610663565b611a21611226565b6001600160a01b0316336001600160a01b031614611a545760405163086391f760e31b815233600482015260240161068e565b611a5e600a612487565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e906024016114e5565b5f8051602061368f8339815191525f80611ac5611aa86116ac565b8730611ab760045f8a8c61338a565b611ac0916133b1565b612831565b9150915081611b835763ffffffff811615611b6057825460ff60a01b1916600160a01b178355611af36116ac565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611b22939291906133e9565b5f604051808303815f87803b158015611b39575f80fd5b505af1158015611b4b573d5f803e3d5ffd5b5050845460ff60a01b1916855550611b839050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161068e565b505050505050565b5f5f805160206136af833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611bf3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116d2919061311f565b5f805f8051602061366f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611c83573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ca791906130f9565b15611cd35780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161068e565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611d25573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d4991906130f9565b611d715760405163b9304b0d60e01b81526001600160a01b038416600482015260240161068e565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611dc3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611de7919061311f565b81546001600160601b0319166001600160601b039190911690811790915592915050565b5f5f805160206136cf833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611e6b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4b919061311f565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f805160206136af833981519152916001600160a01b0390911690632b5198b190611eff908e908e908e908e908e908e908e908e908e90600401613428565b6020604051808303815f875af1158015611f1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f3f91906132f2565b9b9a5050505050505050505050565b5f5f805160206136af833981519152610cc8565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611fc2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116d291906130f9565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f805160206136af833981519152916001600160a01b0390911690638dd2b78190612050908b908b908b908b908b908b90600401613499565b6020604051808303815f875af115801561206c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061209091906132f2565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206136af8339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af415801561213d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061216191906130f9565b156121ac576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b0316602482015260440161068e565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae906121e2908890889088906004016134f8565b6020604051808303815f875af11580156121fe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612222919061311f565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f8051602061368f83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6122c8612a38565b5f6122db6001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561231f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612343919061311f565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561239c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123c091906130f9565b1561247f577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c36123fd611091565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa15801561243e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612465919081019061352b565b60608101519092506001600160a01b03161561247f575090565b61133b612939565b5f805f805160206136cf83398151915254604080516376b707b760e01b815290516001600160a01b03909216916376b707b7916004808201926020929091908290030181865afa1580156124dd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612501919061330d565b90506125156001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa158015612564573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061108a9190613328565b604080516001600160a01b038086168252831660208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f805160206136af833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612623573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612647919061311f565b6001600160a01b0386165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810184905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156126cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126f1919061311f565b6001600160a01b03949094165f9081526002919091016020526040902080546001600160601b0319166001600160601b0390941693909317909255505050565b5f805160206136af83398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee9061276f9085908590600401613605565b5f604051808303815f87803b158015612786575f80fd5b505af1158015611b83573d5f803e3d5ffd5b6127a0611226565b6001600160a01b0316336001600160a01b0316146127d35760405163086391f760e31b815233600482015260240161068e565b6127dd600b612487565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b15801561281f575f80fd5b505af1158015610cc8573d5f803e3d5ffd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161289f919061362b565b5f60405180830381855afa9150503d805f81146128d7576040519150601f19603f3d011682016040523d82523d5f602084013e6128dc565b606091505b5091509150811561292e57604081511061290e57808060200190518101906129049190613641565b909450925061292e565b602081511061292e578080602001905181019061292b91906130f9565b93505b505094509492505050565b612941612a38565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060a00160405280825f01805461297e9061313a565b80601f01602080910402602001604051908101604052809291908181526020018280546129aa9061313a565b80156129f55780601f106129cc576101008083540402835291602001916129f5565b820191905f5260205f20905b8154815290600101906020018083116129d857829003601f168201915b505050918352505060018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916109479061313a565b6040518060a00160405280606081526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612a8f575f80fd5b81356001600160e01b03198116811461108a575f80fd5b6001600160601b03811681146116a9575f80fd5b5f8060408385031215612acb575f80fd5b8235612ad681612aa6565b91506020830135612ae681612aa6565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612b67608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612bab610100840182612af1565b949350505050565b602081525f6116d26020830184612af1565b5f60208284031215612bd5575f80fd5b813561108a81612aa6565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612c1657612c16612be0565b60405290565b60405160a081016001600160401b0381118282101715612c1657612c16612be0565b604051601f8201601f191681016001600160401b0381118282101715612c6657612c66612be0565b604052919050565b5f6001600160401b03821115612c8657612c86612be0565b50601f01601f191660200190565b5f82601f830112612ca3575f80fd5b8135602083015f612cbb612cb684612c6e565b612c3e565b9050828152858383011115612cce575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff811681146116a9575f80fd5b8035610a4e81612ce8565b80151581146116a9575f80fd5b8035610a4e81612d04565b5f805f805f805f805f6101208a8c031215612d35575f80fd5b89356001600160401b03811115612d4a575f80fd5b612d568c828d01612c94565b99505060208a0135975060408a0135965060608a0135955060808a0135612d7c81612ce8565b9450612d8a60a08b01612cf9565b9350612d9860c08b01612d11565b9250612da660e08b01612d11565b91506101008a01356001600160401b03811115612dc1575f80fd5b612dcd8c828d01612c94565b9150509295985092959850929598565b6001600160c01b0319811681146116a9575f80fd5b5f805f60608486031215612e04575f80fd5b8335612e0f81612aa6565b92506020840135612e1f81612ddd565b915060408401356001600160401b03811115612e39575f80fd5b612e4586828701612c94565b9150509250925092565b6001600160a01b03811681146116a9575f80fd5b5f8060408385031215612e74575f80fd5b8235612ad681612e4f565b5f805f805f60a08688031215612e93575f80fd5b85356001600160401b03811115612ea8575f80fd5b612eb488828901612c94565b955050602086013593506040860135612ecc81612ce8565b9250606086013564ffffffffff81168114612ee5575f80fd5b915060808601356001600160401b03811115612eff575f80fd5b612f0b88828901612c94565b9150509295509295909350565b5f805f60608486031215612f2a575f80fd5b8335612e0f81612e4f565b5f60208284031215612f45575f80fd5b81356001600160401b03811115612f5a575f80fd5b612bab84828501612c94565b5f60208284031215612f76575f80fd5b813561108a81612e4f565b602081525f825160a06020840152612f9c60c0840182612af1565b60208501516001600160a01b03908116604086810191909152860151811660608087019190915286015116608080860191909152850151848203601f190160a0860152909150612fec8282612af1565b95945050505050565b5f805f8060808587031215613008575f80fd5b843561301381612e4f565b9350602085013561302381612e4f565b925060408501359150606085013561303a81612e4f565b939692955090935050565b5f60408284031215613055575f80fd5b604080519081016001600160401b038111828210171561307757613077612be0565b604052823581526020928301359281019290925250919050565b5f80608083850312156130a2575f80fd5b6130ac8484613045565b91506130bb8460408501613045565b90509250929050565b5f80604083850312156130d5575f80fd5b82356130e081612ddd565b946020939093013593505050565b8051610a4e81612d04565b5f60208284031215613109575f80fd5b815161108a81612d04565b8051610a4e81612aa6565b5f6020828403121561312f575f80fd5b815161108a81612aa6565b600181811c9082168061314e57607f821691505b60208210810361316c57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215613182575f80fd5b5051919050565b60ff811681146116a9575f80fd5b8051610a4e81613189565b8051610a4e81612e4f565b5f6131ba612cb684612c6e565b90508281528383830111156131cd575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f8301126131f2575f80fd5b6116d2838351602085016131ad565b5f60208284031215613211575f80fd5b81516001600160401b03811115613226575f80fd5b820160e08185031215613237575f80fd5b61323f612bf4565b61324882613114565b815261325660208301613114565b602082015261326760408301613197565b6040820152613278606083016130ee565b6060820152613289608083016131a2565b608082015261329a60a083016131a2565b60a082015260c08201516001600160401b038111156132b7575f80fd5b6132c3868285016131e3565b60c083015250949350505050565b6001600160601b0383168152604060208201525f6110876040830184612af1565b5f60208284031215613302575f80fd5b815161108a81612ddd565b5f6020828403121561331d575f80fd5b815161108a81613189565b5f60208284031215613338575f80fd5b815161108a81612e4f565b80820281158282048414176116d557634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613377575f80fd5b82516020840151909250612ae681613189565b5f8085851115613398575f80fd5b838611156133a4575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156133e2576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f61343c61012083018c612af1565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e08401528281036101008401526134898185612af1565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f6134ba60c0830188612af1565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a08401526134eb8185612af1565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90612fec90830184612af1565b5f6020828403121561353b575f80fd5b81516001600160401b03811115613550575f80fd5b820160a08185031215613561575f80fd5b613569612c1c565b81516001600160401b0381111561357e575f80fd5b8201601f8101861361358e575f80fd5b61359d868251602084016131ad565b8252506135ac602083016131a2565b60208201526135bd604083016131a2565b60408201526135ce606083016131a2565b606082015260808201516001600160401b038111156135eb575f80fd5b6135f7868285016131e3565b608083015250949350505050565b82518152602080840151818301528251604083015282015160608201526080810161108a565b5f82518060208501845e5f920191825250919050565b5f8060408385031215613652575f80fd5b825161365d81612d04565b6020840151909250612ae681612ce856fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220e0ce635aa08c1c1d69e2ebb976d1d45178ef010e09c134d53aa050c58304cc3d64736f6c634300081a0033",
1238
+ "linkReferences": {
1239
+ "contracts/type/Amount.sol": {
1240
+ "AmountLib": [
1241
+ {
1242
+ "length": 20,
1243
+ "start": 3446
1244
+ },
1245
+ {
1246
+ "length": 20,
1247
+ "start": 3547
1248
+ },
1249
+ {
1250
+ "length": 20,
1251
+ "start": 6198
1252
+ },
1253
+ {
1254
+ "length": 20,
1255
+ "start": 6454
1256
+ },
1257
+ {
1258
+ "length": 20,
1259
+ "start": 8102
1260
+ }
1261
+ ]
1262
+ },
1263
+ "contracts/type/NftId.sol": {
1264
+ "NftIdLib": [
1265
+ {
1266
+ "length": 20,
1267
+ "start": 2197
1268
+ },
1269
+ {
1270
+ "length": 20,
1271
+ "start": 2843
1272
+ },
1273
+ {
1274
+ "length": 20,
1275
+ "start": 4726
1276
+ },
1277
+ {
1278
+ "length": 20,
1279
+ "start": 5084
1280
+ },
1281
+ {
1282
+ "length": 20,
1283
+ "start": 7271
1284
+ },
1285
+ {
1286
+ "length": 20,
1287
+ "start": 8481
1288
+ },
1289
+ {
1290
+ "length": 20,
1291
+ "start": 9088
1292
+ },
1293
+ {
1294
+ "length": 20,
1295
+ "start": 9722
1296
+ },
1297
+ {
1298
+ "length": 20,
1299
+ "start": 9905
1300
+ }
1301
+ ]
1302
+ },
1303
+ "contracts/type/Referral.sol": {
1304
+ "ReferralLib": [
1305
+ {
1306
+ "length": 20,
1307
+ "start": 4299
1308
+ }
1309
+ ]
1310
+ },
1311
+ "contracts/type/Version.sol": {
1312
+ "VersionPartLib": [
1313
+ {
1314
+ "length": 20,
1315
+ "start": 4448
1316
+ }
1317
+ ]
1318
+ }
1319
+ },
1320
+ "deployedLinkReferences": {
1321
+ "contracts/type/Amount.sol": {
1322
+ "AmountLib": [
1323
+ {
1324
+ "length": 20,
1325
+ "start": 3418
1326
+ },
1327
+ {
1328
+ "length": 20,
1329
+ "start": 3519
1330
+ },
1331
+ {
1332
+ "length": 20,
1333
+ "start": 6170
1334
+ },
1335
+ {
1336
+ "length": 20,
1337
+ "start": 6426
1338
+ },
1339
+ {
1340
+ "length": 20,
1341
+ "start": 8074
1342
+ }
1343
+ ]
1344
+ },
1345
+ "contracts/type/NftId.sol": {
1346
+ "NftIdLib": [
1347
+ {
1348
+ "length": 20,
1349
+ "start": 2169
1350
+ },
1351
+ {
1352
+ "length": 20,
1353
+ "start": 2815
1354
+ },
1355
+ {
1356
+ "length": 20,
1357
+ "start": 4698
1358
+ },
1359
+ {
1360
+ "length": 20,
1361
+ "start": 5056
1362
+ },
1363
+ {
1364
+ "length": 20,
1365
+ "start": 7243
1366
+ },
1367
+ {
1368
+ "length": 20,
1369
+ "start": 8453
1370
+ },
1371
+ {
1372
+ "length": 20,
1373
+ "start": 9060
1374
+ },
1375
+ {
1376
+ "length": 20,
1377
+ "start": 9694
1378
+ },
1379
+ {
1380
+ "length": 20,
1381
+ "start": 9877
1382
+ }
1383
+ ]
1384
+ },
1385
+ "contracts/type/Referral.sol": {
1386
+ "ReferralLib": [
1387
+ {
1388
+ "length": 20,
1389
+ "start": 4271
1390
+ }
1391
+ ]
1392
+ },
1393
+ "contracts/type/Version.sol": {
1394
+ "VersionPartLib": [
1395
+ {
1396
+ "length": 20,
1397
+ "start": 4420
1398
+ }
1399
+ ]
1400
+ }
1401
+ }
1402
+ }