@etherisc/gif-next 0.0.2-e1f23dc-329 → 0.0.2-e200f36-952

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