@etherisc/gif-next 0.0.2-fd4931b-974 → 0.0.2-fd5f17a-625

Sign up to get free protection for your applications and to get access to all the features.
Files changed (499) hide show
  1. package/README.md +51 -5
  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/authorization/IAccess.sol/IAccess.json +10 -0
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1032 -0
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
  14. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
  18. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1342 -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 +1 -1
  27. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +65 -463
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +291 -234
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +88 -100
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +102 -165
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +171 -47
  36. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  37. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1411 -0
  38. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  39. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  40. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  41. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1517 -0
  42. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  43. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +1978 -0
  44. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  45. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  46. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  47. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +77 -78
  48. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  49. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +149 -52
  50. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  51. package/artifacts/contracts/instance/Instance.sol/Instance.json +75 -205
  52. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  53. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1626 -0
  54. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
  56. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  57. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +410 -130
  58. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  59. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +191 -206
  60. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  61. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +60 -92
  62. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  63. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +387 -268
  64. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  65. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  66. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  67. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
  68. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  69. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  70. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  71. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  72. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  73. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  74. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  75. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +8 -116
  76. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  77. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  78. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  79. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  80. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  81. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  82. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  83. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  84. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +979 -0
  85. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  86. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  87. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  88. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  89. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  90. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +765 -0
  91. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  92. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  93. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  94. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +871 -0
  95. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  96. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +922 -0
  97. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  98. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +679 -0
  99. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  100. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1248 -0
  101. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  102. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  103. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  104. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +440 -169
  105. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  106. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +132 -84
  107. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  108. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +225 -2
  109. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  110. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +56 -295
  111. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  112. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +255 -101
  113. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  114. package/artifacts/contracts/pool/Pool.sol/Pool.json +102 -627
  115. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  116. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +309 -251
  117. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +57 -81
  119. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  120. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +72 -160
  121. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  122. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +55 -87
  123. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  124. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1096 -0
  125. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  126. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  127. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  128. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +229 -168
  129. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  130. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +82 -94
  131. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  132. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +25 -1
  133. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  134. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +134 -1
  135. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  136. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +204 -120
  137. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  138. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +63 -44
  139. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  140. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +43 -84
  141. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  142. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +22 -3
  143. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  144. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +273 -301
  145. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  146. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +77 -93
  147. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  148. package/artifacts/contracts/product/PricingService.sol/PricingService.json +134 -243
  149. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +70 -110
  151. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  152. package/artifacts/contracts/product/Product.sol/Product.json +53 -390
  153. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  154. package/artifacts/contracts/product/RiskService.sol/RiskService.json +583 -0
  155. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  156. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +651 -0
  157. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  158. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  159. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  160. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +302 -61
  161. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  162. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +31 -184
  163. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  164. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  165. package/artifacts/contracts/registry/Registry.sol/Registry.json +645 -123
  166. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  167. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1861 -0
  168. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  169. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +66 -124
  170. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  171. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +46 -81
  172. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  173. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  174. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  175. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1169 -0
  176. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  177. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  178. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  179. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +46 -177
  180. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  181. package/artifacts/contracts/shared/Component.sol/Component.json +18 -223
  182. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  183. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +271 -164
  184. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  185. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +83 -95
  186. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  187. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +14 -107
  188. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  189. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +11 -31
  190. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  191. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +180 -1
  192. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  193. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +43 -42
  194. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  195. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +11 -15
  196. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  197. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +0 -5
  198. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  199. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +7 -1
  200. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  201. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +0 -42
  202. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  203. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +7 -1
  204. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  205. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  206. package/artifacts/contracts/shared/IService.sol/IService.json +20 -1
  207. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  208. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  209. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  210. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  211. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  212. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +50 -287
  213. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  214. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +15 -99
  215. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  216. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +4 -65
  217. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  218. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  219. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  220. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +10 -55
  221. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  222. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +4 -136
  223. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  224. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +11 -94
  225. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  226. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  227. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  228. package/artifacts/contracts/shared/Service.sol/Service.json +14 -107
  229. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  230. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +330 -11
  231. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  232. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  233. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  234. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +273 -605
  235. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  236. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +471 -62
  237. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  238. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  239. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  240. package/artifacts/contracts/staking/Staking.sol/Staking.json +332 -1004
  241. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  242. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  243. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  244. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +73 -203
  245. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  246. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +368 -39
  247. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  248. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +484 -213
  249. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  250. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +57 -84
  251. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  252. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2242 -0
  253. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  254. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +318 -19
  255. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  256. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  257. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  258. package/artifacts/contracts/type/Amount.sol/AmountLib.json +97 -4
  259. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  260. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +40 -2
  261. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  262. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +4 -4
  263. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  264. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  265. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  266. package/artifacts/contracts/type/Fee.sol/FeeLib.json +17 -12
  267. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  268. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  269. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  270. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +28 -4
  271. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  272. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  273. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  274. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +149 -2
  275. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  276. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +4 -4
  277. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  278. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  279. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  280. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  281. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  282. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +4 -4
  283. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  284. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +219 -6
  285. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  286. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +100 -2
  287. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  288. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  289. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  290. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  291. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  292. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +2 -2
  293. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  294. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  295. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  296. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +36 -4
  297. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  298. package/artifacts/contracts/type/UFixed.sol/MathLib.json +9 -3
  299. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  300. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +58 -2
  301. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  302. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
  303. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  304. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +21 -2
  305. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  306. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  307. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  308. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +566 -0
  309. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  310. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  311. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  312. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  313. package/contracts/authorization/AccessAdmin.sol +589 -0
  314. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  315. package/contracts/authorization/Authorization.sol +217 -0
  316. package/contracts/authorization/IAccess.sol +48 -0
  317. package/contracts/authorization/IAccessAdmin.sol +136 -0
  318. package/contracts/authorization/IAuthorization.sol +54 -0
  319. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  320. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  321. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  322. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  323. package/contracts/distribution/BasicDistribution.sol +138 -0
  324. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  325. package/contracts/distribution/Distribution.sol +146 -114
  326. package/contracts/distribution/DistributionService.sol +84 -46
  327. package/contracts/distribution/DistributionServiceManager.sol +2 -17
  328. package/contracts/distribution/IDistributionComponent.sol +26 -40
  329. package/contracts/distribution/IDistributionService.sol +24 -4
  330. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  331. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  332. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  333. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  334. package/contracts/instance/{BundleManager.sol → BundleSet.sol} +23 -23
  335. package/contracts/instance/IInstance.sol +29 -43
  336. package/contracts/instance/IInstanceService.sol +36 -27
  337. package/contracts/instance/Instance.sol +117 -116
  338. package/contracts/instance/InstanceAdmin.sol +285 -0
  339. package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
  340. package/contracts/instance/InstanceReader.sol +82 -18
  341. package/contracts/instance/InstanceService.sol +206 -106
  342. package/contracts/instance/InstanceServiceManager.sol +2 -6
  343. package/contracts/instance/InstanceStore.sol +49 -22
  344. package/contracts/instance/base/BalanceStore.sol +11 -6
  345. package/contracts/instance/base/Cloneable.sol +2 -25
  346. package/contracts/instance/base/ObjectCounter.sol +21 -0
  347. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  348. package/contracts/instance/base/{ObjectManager.sol → ObjectSet.sol} +11 -14
  349. package/contracts/instance/module/IAccess.sol +2 -10
  350. package/contracts/instance/module/IBundle.sol +1 -1
  351. package/contracts/instance/module/IComponents.sol +1 -7
  352. package/contracts/instance/module/IDistribution.sol +0 -1
  353. package/contracts/instance/module/IPolicy.sol +22 -22
  354. package/contracts/mock/Dip.sol +1 -1
  355. package/contracts/oracle/BasicOracle.sol +48 -0
  356. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  357. package/contracts/oracle/IOracle.sol +36 -0
  358. package/contracts/oracle/IOracleComponent.sol +33 -0
  359. package/contracts/oracle/IOracleService.sol +65 -0
  360. package/contracts/oracle/Oracle.sol +167 -0
  361. package/contracts/oracle/OracleService.sol +279 -0
  362. package/contracts/oracle/OracleServiceManager.sol +39 -0
  363. package/contracts/pool/BasicPool.sol +166 -0
  364. package/contracts/pool/BasicPoolAuthorization.sol +58 -0
  365. package/contracts/pool/BundleService.sol +211 -69
  366. package/contracts/pool/BundleServiceManager.sol +2 -5
  367. package/contracts/pool/IBundleService.sol +34 -6
  368. package/contracts/pool/IPoolComponent.sol +6 -60
  369. package/contracts/pool/IPoolService.sol +40 -27
  370. package/contracts/pool/Pool.sol +165 -138
  371. package/contracts/pool/PoolService.sol +199 -114
  372. package/contracts/pool/PoolServiceManager.sol +2 -5
  373. package/contracts/product/ApplicationService.sol +59 -65
  374. package/contracts/product/ApplicationServiceManager.sol +2 -2
  375. package/contracts/product/BasicProduct.sol +53 -0
  376. package/contracts/product/BasicProductAuthorization.sol +43 -0
  377. package/contracts/product/ClaimService.sol +132 -82
  378. package/contracts/product/ClaimServiceManager.sol +2 -2
  379. package/contracts/product/IApplicationService.sol +2 -1
  380. package/contracts/product/IClaimService.sol +32 -3
  381. package/contracts/product/IPolicyService.sol +28 -33
  382. package/contracts/product/IPricingService.sol +8 -8
  383. package/contracts/product/IProductComponent.sol +7 -10
  384. package/contracts/product/{IProductService.sol → IRiskService.sol} +2 -2
  385. package/contracts/product/PolicyService.sol +289 -189
  386. package/contracts/product/PolicyServiceManager.sol +2 -5
  387. package/contracts/product/PricingService.sol +52 -52
  388. package/contracts/product/PricingServiceManager.sol +2 -5
  389. package/contracts/product/Product.sol +163 -115
  390. package/contracts/product/{ProductService.sol → RiskService.sol} +18 -45
  391. package/contracts/product/RiskServiceManager.sol +39 -0
  392. package/contracts/registry/ChainNft.sol +65 -31
  393. package/contracts/registry/IRegistry.sol +79 -29
  394. package/contracts/registry/IRegistryService.sol +7 -6
  395. package/contracts/registry/Registry.sol +354 -215
  396. package/contracts/registry/RegistryAdmin.sol +464 -0
  397. package/contracts/registry/RegistryService.sol +14 -90
  398. package/contracts/registry/RegistryServiceManager.sol +3 -22
  399. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  400. package/contracts/registry/ReleaseRegistry.sol +491 -0
  401. package/contracts/registry/ServiceAuthorizationV3.sol +199 -0
  402. package/contracts/registry/TokenRegistry.sol +58 -62
  403. package/contracts/shared/Component.sol +35 -53
  404. package/contracts/shared/ComponentService.sol +127 -81
  405. package/contracts/shared/ComponentServiceManager.sol +2 -2
  406. package/contracts/shared/ComponentVerifyingService.sol +14 -8
  407. package/contracts/shared/IComponent.sol +7 -11
  408. package/contracts/shared/IComponentService.sol +26 -9
  409. package/contracts/shared/IInstanceLinkedComponent.sol +10 -7
  410. package/contracts/shared/IKeyValueStore.sol +2 -1
  411. package/contracts/shared/ILifecycle.sol +1 -2
  412. package/contracts/shared/INftOwnable.sol +1 -1
  413. package/contracts/shared/IPolicyHolder.sol +0 -9
  414. package/contracts/shared/IService.sol +9 -2
  415. package/contracts/shared/InitializableCustom.sol +177 -0
  416. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +4 -4
  417. package/contracts/shared/InstanceLinkedComponent.sol +51 -24
  418. package/contracts/shared/KeyValueStore.sol +7 -6
  419. package/contracts/shared/Lifecycle.sol +16 -60
  420. package/contracts/shared/{NftIdSetManager.sol → NftIdSet.sol} +3 -7
  421. package/contracts/shared/NftOwnable.sol +9 -20
  422. package/contracts/shared/PolicyHolder.sol +8 -53
  423. package/contracts/shared/Registerable.sol +4 -4
  424. package/contracts/shared/RegistryLinked.sol +3 -2
  425. package/contracts/shared/Service.sol +33 -28
  426. package/contracts/shared/TokenHandler.sol +100 -19
  427. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  428. package/contracts/staking/IStaking.sol +96 -41
  429. package/contracts/staking/IStakingService.sol +78 -40
  430. package/contracts/staking/StakeManagerLib.sol +224 -0
  431. package/contracts/staking/Staking.sol +305 -155
  432. package/contracts/staking/StakingLifecycle.sol +23 -0
  433. package/contracts/staking/StakingManager.sol +21 -23
  434. package/contracts/staking/StakingReader.sol +119 -28
  435. package/contracts/staking/StakingService.sol +190 -77
  436. package/contracts/staking/StakingServiceManager.sol +4 -4
  437. package/contracts/staking/StakingStore.sol +605 -0
  438. package/contracts/staking/TargetManagerLib.sol +83 -13
  439. package/contracts/type/AddressSet.sol +1 -1
  440. package/contracts/type/Amount.sol +24 -3
  441. package/contracts/type/Blocknumber.sol +20 -2
  442. package/contracts/type/Fee.sol +1 -1
  443. package/contracts/type/NftId.sol +9 -9
  444. package/contracts/type/NftIdSet.sol +1 -1
  445. package/contracts/type/ObjectType.sol +174 -68
  446. package/contracts/type/Referral.sol +2 -1
  447. package/contracts/type/RequestId.sol +75 -0
  448. package/contracts/type/RiskId.sol +1 -1
  449. package/contracts/type/RoleId.sol +104 -73
  450. package/contracts/type/Seconds.sol +39 -1
  451. package/contracts/type/Selector.sol +102 -0
  452. package/contracts/type/StateId.sol +13 -0
  453. package/contracts/type/String.sol +53 -0
  454. package/contracts/type/Timestamp.sol +17 -3
  455. package/contracts/type/UFixed.sol +34 -9
  456. package/contracts/type/Version.sol +4 -2
  457. package/contracts/{shared → upgradeability}/ProxyManager.sol +9 -6
  458. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  459. package/package.json +8 -5
  460. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  461. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  462. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  463. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  464. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  465. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -132
  466. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  467. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
  468. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  469. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  470. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -673
  471. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  472. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -675
  473. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  474. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -298
  475. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  476. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -1112
  477. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +0 -4
  478. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +0 -137
  479. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  480. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  481. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  482. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  483. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  484. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +0 -4
  485. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +0 -314
  486. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  487. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -598
  488. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  489. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  490. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  491. package/contracts/instance/InstanceAccessManager.sol +0 -543
  492. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -336
  493. package/contracts/product/ProductServiceManager.sol +0 -42
  494. package/contracts/registry/RegistryAccessManager.sol +0 -167
  495. package/contracts/registry/ReleaseManager.sol +0 -530
  496. package/contracts/registry/ServiceAuthorizationsLib.sol +0 -173
  497. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
  498. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
  499. /package/contracts/{shared → upgradeability}/Versionable.sol +0 -0
@@ -0,0 +1,1342 @@
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
+ "name": "isConsumingScheduledOp",
885
+ "outputs": [
886
+ {
887
+ "internalType": "bytes4",
888
+ "name": "",
889
+ "type": "bytes4"
890
+ }
891
+ ],
892
+ "stateMutability": "view",
893
+ "type": "function"
894
+ },
895
+ {
896
+ "inputs": [
897
+ {
898
+ "internalType": "address",
899
+ "name": "candidate",
900
+ "type": "address"
901
+ }
902
+ ],
903
+ "name": "isDistributor",
904
+ "outputs": [
905
+ {
906
+ "internalType": "bool",
907
+ "name": "",
908
+ "type": "bool"
909
+ }
910
+ ],
911
+ "stateMutability": "view",
912
+ "type": "function"
913
+ },
914
+ {
915
+ "inputs": [],
916
+ "name": "isNftInterceptor",
917
+ "outputs": [
918
+ {
919
+ "internalType": "bool",
920
+ "name": "isInterceptor",
921
+ "type": "bool"
922
+ }
923
+ ],
924
+ "stateMutability": "view",
925
+ "type": "function"
926
+ },
927
+ {
928
+ "inputs": [],
929
+ "name": "isRegistered",
930
+ "outputs": [
931
+ {
932
+ "internalType": "bool",
933
+ "name": "",
934
+ "type": "bool"
935
+ }
936
+ ],
937
+ "stateMutability": "view",
938
+ "type": "function"
939
+ },
940
+ {
941
+ "inputs": [],
942
+ "name": "isVerifying",
943
+ "outputs": [
944
+ {
945
+ "internalType": "bool",
946
+ "name": "verifying",
947
+ "type": "bool"
948
+ }
949
+ ],
950
+ "stateMutability": "pure",
951
+ "type": "function"
952
+ },
953
+ {
954
+ "inputs": [],
955
+ "name": "linkToRegisteredNftId",
956
+ "outputs": [
957
+ {
958
+ "internalType": "NftId",
959
+ "name": "nftId",
960
+ "type": "uint96"
961
+ }
962
+ ],
963
+ "stateMutability": "nonpayable",
964
+ "type": "function"
965
+ },
966
+ {
967
+ "inputs": [],
968
+ "name": "lock",
969
+ "outputs": [],
970
+ "stateMutability": "nonpayable",
971
+ "type": "function"
972
+ },
973
+ {
974
+ "inputs": [
975
+ {
976
+ "internalType": "address",
977
+ "name": "to",
978
+ "type": "address"
979
+ },
980
+ {
981
+ "internalType": "uint256",
982
+ "name": "tokenId",
983
+ "type": "uint256"
984
+ }
985
+ ],
986
+ "name": "nftMint",
987
+ "outputs": [],
988
+ "stateMutability": "nonpayable",
989
+ "type": "function"
990
+ },
991
+ {
992
+ "inputs": [
993
+ {
994
+ "internalType": "address",
995
+ "name": "from",
996
+ "type": "address"
997
+ },
998
+ {
999
+ "internalType": "address",
1000
+ "name": "to",
1001
+ "type": "address"
1002
+ },
1003
+ {
1004
+ "internalType": "uint256",
1005
+ "name": "tokenId",
1006
+ "type": "uint256"
1007
+ }
1008
+ ],
1009
+ "name": "nftTransferFrom",
1010
+ "outputs": [],
1011
+ "stateMutability": "nonpayable",
1012
+ "type": "function"
1013
+ },
1014
+ {
1015
+ "inputs": [
1016
+ {
1017
+ "internalType": "ReferralId",
1018
+ "name": "referralId",
1019
+ "type": "bytes8"
1020
+ },
1021
+ {
1022
+ "internalType": "uint256",
1023
+ "name": "feeAmount",
1024
+ "type": "uint256"
1025
+ }
1026
+ ],
1027
+ "name": "processRenewal",
1028
+ "outputs": [],
1029
+ "stateMutability": "nonpayable",
1030
+ "type": "function"
1031
+ },
1032
+ {
1033
+ "inputs": [],
1034
+ "name": "register",
1035
+ "outputs": [],
1036
+ "stateMutability": "nonpayable",
1037
+ "type": "function"
1038
+ },
1039
+ {
1040
+ "inputs": [
1041
+ {
1042
+ "internalType": "address",
1043
+ "name": "newAuthority",
1044
+ "type": "address"
1045
+ }
1046
+ ],
1047
+ "name": "setAuthority",
1048
+ "outputs": [],
1049
+ "stateMutability": "nonpayable",
1050
+ "type": "function"
1051
+ },
1052
+ {
1053
+ "inputs": [
1054
+ {
1055
+ "components": [
1056
+ {
1057
+ "internalType": "UFixed",
1058
+ "name": "fractionalFee",
1059
+ "type": "uint256"
1060
+ },
1061
+ {
1062
+ "internalType": "uint256",
1063
+ "name": "fixedFee",
1064
+ "type": "uint256"
1065
+ }
1066
+ ],
1067
+ "internalType": "struct Fee",
1068
+ "name": "distributionFee",
1069
+ "type": "tuple"
1070
+ },
1071
+ {
1072
+ "components": [
1073
+ {
1074
+ "internalType": "UFixed",
1075
+ "name": "fractionalFee",
1076
+ "type": "uint256"
1077
+ },
1078
+ {
1079
+ "internalType": "uint256",
1080
+ "name": "fixedFee",
1081
+ "type": "uint256"
1082
+ }
1083
+ ],
1084
+ "internalType": "struct Fee",
1085
+ "name": "minDistributionOwnerFee",
1086
+ "type": "tuple"
1087
+ }
1088
+ ],
1089
+ "name": "setFees",
1090
+ "outputs": [],
1091
+ "stateMutability": "nonpayable",
1092
+ "type": "function"
1093
+ },
1094
+ {
1095
+ "inputs": [
1096
+ {
1097
+ "internalType": "address",
1098
+ "name": "newWallet",
1099
+ "type": "address"
1100
+ }
1101
+ ],
1102
+ "name": "setWallet",
1103
+ "outputs": [],
1104
+ "stateMutability": "nonpayable",
1105
+ "type": "function"
1106
+ },
1107
+ {
1108
+ "inputs": [
1109
+ {
1110
+ "internalType": "bytes4",
1111
+ "name": "interfaceId",
1112
+ "type": "bytes4"
1113
+ }
1114
+ ],
1115
+ "name": "supportsInterface",
1116
+ "outputs": [
1117
+ {
1118
+ "internalType": "bool",
1119
+ "name": "",
1120
+ "type": "bool"
1121
+ }
1122
+ ],
1123
+ "stateMutability": "view",
1124
+ "type": "function"
1125
+ },
1126
+ {
1127
+ "inputs": [],
1128
+ "name": "unlock",
1129
+ "outputs": [],
1130
+ "stateMutability": "nonpayable",
1131
+ "type": "function"
1132
+ },
1133
+ {
1134
+ "inputs": [
1135
+ {
1136
+ "internalType": "NftId",
1137
+ "name": "distributorNftId",
1138
+ "type": "uint96"
1139
+ },
1140
+ {
1141
+ "internalType": "DistributorType",
1142
+ "name": "distributorType",
1143
+ "type": "bytes8"
1144
+ },
1145
+ {
1146
+ "internalType": "bytes",
1147
+ "name": "data",
1148
+ "type": "bytes"
1149
+ }
1150
+ ],
1151
+ "name": "updateDistributorType",
1152
+ "outputs": [],
1153
+ "stateMutability": "nonpayable",
1154
+ "type": "function"
1155
+ },
1156
+ {
1157
+ "inputs": [
1158
+ {
1159
+ "internalType": "NftId",
1160
+ "name": "distributorNftId",
1161
+ "type": "uint96"
1162
+ },
1163
+ {
1164
+ "internalType": "Amount",
1165
+ "name": "amount",
1166
+ "type": "uint96"
1167
+ }
1168
+ ],
1169
+ "name": "withdrawCommission",
1170
+ "outputs": [
1171
+ {
1172
+ "internalType": "Amount",
1173
+ "name": "withdrawnAmount",
1174
+ "type": "uint96"
1175
+ }
1176
+ ],
1177
+ "stateMutability": "nonpayable",
1178
+ "type": "function"
1179
+ },
1180
+ {
1181
+ "inputs": [
1182
+ {
1183
+ "internalType": "Amount",
1184
+ "name": "amount",
1185
+ "type": "uint96"
1186
+ }
1187
+ ],
1188
+ "name": "withdrawFees",
1189
+ "outputs": [
1190
+ {
1191
+ "internalType": "Amount",
1192
+ "name": "withdrawnAmount",
1193
+ "type": "uint96"
1194
+ }
1195
+ ],
1196
+ "stateMutability": "nonpayable",
1197
+ "type": "function"
1198
+ }
1199
+ ],
1200
+ "bytecode": "0x6080604052348015600e575f80fd5b506136c58061001c5f395ff3fe608060405234801561000f575f80fd5b506004361061028b575f3560e01c80637427d7a811610161578063bae99c99116100ca578063e145d46c11610084578063e145d46c146105d5578063e7f7fb86146105ff578063ea15869f14610612578063f5860e1a14610639578063f80e20721461064d578063f83d08ba14610660575f80fd5b8063bae99c9914610564578063bb1e0e5914610577578063bf7e214f1461058a578063d16d0fe814610592578063de7b5d14146105a5578063deaa59df146105c2575f80fd5b806390edbd351161011b57806390edbd3514610505578063a69df4b51461051a578063ada9652e14610522578063b2a6b42d14610536578063b423086c14610549578063b6b412ba14610551575f80fd5b80637427d7a81461049c5780637a9e5e4b146104af57806387ef9ba0146104c2578063893d20e8146104c95780638f0c86fa146104d15780638fb36037146104e4575f80fd5b806322366844116102035780635741e5e9116101bd5780635741e5e91461042557806359660bea1461042d5780635ab1bd53146104405780635dcb3bae14610451578063644c45e0146104645780636bd1c0eb1461046c575f80fd5b806322366844146103af5780632b5198b1146103b75780632eb3e6f4146103e35780633d683fd9146103f7578063419197fe1461040a57806343d752d31461041d575f80fd5b8063138461e011610254578063138461e01461033857806317d7de7c146103405780631aa3a008146103555780631c6b21901461035f5780631eff4b221461037257806321df0da7146103a7575f80fd5b806251884a1461028f57806301ffc9a7146102b457806307e71a6e146102f05780630fec111c146103035780631329960414610318575b5f80fd5b610297610668565b6040516001600160601b0390911681526020015b60405180910390f35b6102e06102c2366004612a08565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020016102ab565b6102976102fe366004612a43565b61067a565b61030b61077f565b6040516102ab9190612aa8565b61032061093d565b6040516001600160a01b0390911681526020016102ab565b61029761094f565b61034861095e565b6040516102ab9190612b34565b61035d61096e565b005b61029761036d366004612b46565b610a1b565b6103997f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102ab565b610320610a71565b6102e0610a83565b6103ca6103c5366004612c9d565b610b79565b6040516001600160c01b031990911681526020016102ab565b6103995f8051602061367083398151915281565b61035d610405366004612d73565b610bdd565b61035d610418366004612de4565b610c31565b610320610dec565b6102e0610dfe565b6103ca61043b366004612e00565b610eb2565b6001546001600160a01b0316610320565b61029761045f366004612e99565b610f09565b610297610f63565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610320565b6103ca6104aa366004612eb6565b610f7e565b61035d6104bd366004612ee7565b610ffe565b60016102e0565b610320611084565b6102e06104df366004612ee7565b6111b5565b6104ec61127a565b6040516001600160e01b031990911681526020016102ab565b61050d6112af565b6040516102ab9190612f02565b61035d6112d4565b6103995f8051602061361083398151915281565b610297610544366004612ee7565b611372565b61050d6113b4565b61035d61055f366004612fe1565b6113c4565b61035d610572366004612b46565b611412565b61035d610585366004613014565b611461565b6103206114fe565b6103996105a036600461303e565b611519565b5f80516020613670833981519152546001600160a01b0316610320565b61035d6105d0366004612ee7565b61152d565b6105e86105e3366004612eb6565b6117a3565b6040805192835260ff9091166020830152016102ab565b61035d61060d36600461305a565b61185d565b6103997fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103995f8051602061365083398151915281565b61035d61065b36600461303e565b611905565b61035d61190e565b5f6106716112af565b60200151905090565b5f610687335b5f36611982565b610690336111b5565b6106b45760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b826106c76001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610714573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073891906130a3565b6001600160a01b0316336001600160a01b03161461076b5760405163086391f760e31b81523360048201526024016106ab565b6107758484611a80565b91505b5092915050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561082f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085391906130c9565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161089b611084565b6001600160a01b031681526020018260010180546108b8906130e4565b80601f01602080910402602001604051908101604052809291908181526020018280546108e4906130e4565b801561092f5780601f106109065761010080835404028352916020019161092f565b820191905f5260205f20905b81548152906001019060200180831161091257829003601f168201915b505050505081525091505090565b5f6109466112af565b60800151905090565b5f61095930611b0c565b905090565b60606109686112af565b51919050565b610976611084565b6001600160a01b0316336001600160a01b0316146109a95760405163086391f760e31b81523360048201526024016106ab565b5f80516020613650833981519152546040805163be495be560e01b815290516001600160a01b039092169163be495be5916004808201925f9290919082900301818387803b1580156109f9575f80fd5b505af1158015610a0b573d5f803e3d5ffd5b50505050610a195f19611d00565b565b5f610a24611084565b6001600160a01b0316336001600160a01b031614610a575760405163086391f760e31b81523360048201526024016106ab565b610a6033610680565b610a6982611d91565b90505b919050565b5f610a7a6112af565b60400151905090565b5f610a966001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ada573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610afe91906130c9565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b55573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109599190613127565b5f610b82611084565b6001600160a01b0316336001600160a01b031614610bb55760405163086391f760e31b81523360048201526024016106ab565b610bbe33610680565b610bcf8a8a8a8a8a8a8a8a8a611e15565b9a9950505050505050505050565b610be5611084565b6001600160a01b0316336001600160a01b031614610c185760405163086391f760e31b81523360048201526024016106ab565b610c2133610680565b610c2c838383611ed4565b505050565b610c39611084565b6001600160a01b0316336001600160a01b031614610c6c5760405163086391f760e31b81523360048201526024016106ab565b30610c7561093d565b6001600160a01b031614610c9c5760405163b6d7537f60e01b815260040160405180910390fd5b7ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610cc5610dec565b604080516001600160a01b0390921682526001600160601b03841660208301520160405180910390a1816001600160a01b031663095ea7b3610d05610dec565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610d5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190613142565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015b6020604051808303815f875af1158015610dc8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c2c9190613127565b5f610df56112af565b60600151905090565b5f610e07610a83565b15610e82576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610e5b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610df591908101906131c1565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f610ebc336111b5565b610edb5760405163637c41bb60e01b81523360048201526024016106ab565b610ee433610680565b5f610eee33611372565b9050610efe818888888888611eeb565b979650505050505050565b5f610f12611084565b6001600160a01b0316336001600160a01b031614610f455760405163086391f760e31b81523360048201526024016106ab565b610f4e33610680565b610f59848484611fa1565b90505b9392505050565b5f80516020613610833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610fa1610f63565b846040518363ffffffff1660e01b8152600401610fbf929190613291565b602060405180830381865af4158015610fda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6991906132b2565b336110076114fe565b6001600160a01b0316816001600160a01b0316146110425760405162d1953b60e31b81526001600160a01b03821660048201526024016106ab565b816001600160a01b03163b5f03611077576040516361798f2f60e11b81526001600160a01b03831660048201526024016106ab565b61108082612165565b5050565b5f805f8051602061361083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156110f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111149190613127565b1561119f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611175573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061119991906130a3565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206136508339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611256573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5c9190613127565b5f8051602061363083398151915280545f9190600160a01b900460ff166112a1575f611199565b638fb3603760e01b91505090565b6112b76129b2565b6112bf610a83565b156112cc576109596121c5565b6109596113b4565b6112dc611084565b6001600160a01b0316336001600160a01b03161461130f5760405163086391f760e31b81523360048201526024016106ab565b611319600a61238c565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b15801561135a575f80fd5b505af115801561136c573d5f803e3d5ffd5b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6113bc6129b2565b6109596121c5565b6113cc611084565b6001600160a01b0316336001600160a01b0316146113ff5760405163086391f760e31b81523360048201526024016106ab565b61140833610680565b611080828261248d565b61141a611084565b6001600160a01b0316336001600160a01b03161461144d5760405163086391f760e31b81523360048201526024016106ab565b61145e611458610a71565b82610c31565b50565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114cc91906130a3565b6001600160a01b0316336001600160a01b0316146110805760405162f0630960e01b81523360048201526024016106ab565b5f80516020613630833981519152546001600160a01b031690565b5f61152482826132cd565b90505b92915050565b611535611084565b6001600160a01b0316336001600160a01b0316146115685760405163086391f760e31b81523360048201526024016106ab565b5f61157161093d565b90505f61157c610a71565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa1580156115c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e69190613142565b90506115f1836124f4565b8015610c2c57604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b038316036117525761165a610dec565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116a391815260200190565b602060405180830381865af41580156116be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116e291906130c9565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b158015611737575f80fd5b505af1158015611749573d5f803e3d5ffd5b50505050505050565b61175a610dec565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116a391815260200190565b5f805f6117af84610f7e565b90506117e27fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa15801561182f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061185391906132f0565b9250925050915091565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118c891906130a3565b6001600160a01b0316336001600160a01b0316146118fa5760405162f0630960e01b81523360048201526024016106ab565b610c2c83838361258d565b61108033610680565b611916611084565b6001600160a01b0316336001600160a01b0316146119495760405163086391f760e31b81523360048201526024016106ab565b611953600a61238c565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e90602401611343565b5f805160206136308339815191525f806119ba61199d6114fe565b87306119ac60045f8a8c613314565b6119b59161333b565b612733565b9150915081611a785763ffffffff811615611a5557825460ff60a01b1916600160a01b1783556119e86114fe565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611a1793929190613371565b5f604051808303815f87803b158015611a2e575f80fd5b505af1158015611a40573d5f803e3d5ffd5b5050845460ff60a01b1916855550611a789050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106ab565b505050505050565b5f5f80516020613650833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611ae8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061152491906130c9565b5f805f8051602061361083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611b78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b9c9190613127565b15611bc85780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106ab565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611c1a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c3e9190613127565b611c665760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106ab565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611cb8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cdc91906130c9565b81546001600160601b0319166001600160601b039190911690811790915592915050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f01547fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00906001600160a01b031663095ea7b3611d5a6112af565b606001516040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401610dac565b5f5f80516020613670833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611df1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6991906130c9565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020613650833981519152916001600160a01b0390911690632b5198b190611e85908e908e908e908e908e908e908e908e908e906004016133b0565b6020604051808303815f875af1158015611ea1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ec591906132b2565b9b9a5050505050505050505050565b5f5f805160206136508339815191525b5050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020613650833981519152916001600160a01b0390911690638dd2b78190611f55908b908b908b908b908b908b90600401613421565b6020604051808303815f875af1158015611f71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f9591906132b2565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206136508339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015612042573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120669190613127565b156120b1576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b031660248201526044016106ab565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae906120e790889088908890600401613480565b6020604051808303815f875af1158015612103573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061212791906130c9565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f8051602061363083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6121cd6129b2565b5f6121e06001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612224573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061224891906130c9565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156122a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122c59190613127565b15612384577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3612302610f63565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612343573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261236a91908101906134b3565b60808101519092506001600160a01b031615612384575090565b61119961283b565b5f805f805160206136708339815191525460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156123e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612406919061358b565b905061241a6001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa158015612469573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5c91906130a3565b5f8051602061365083398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906124cb90859085906004016135a6565b5f604051808303815f87803b1580156124e2575f80fd5b505af1158015611a78573d5f803e3d5ffd5b6124fc611084565b6001600160a01b0316336001600160a01b03161461252f5760405163086391f760e31b81523360048201526024016106ab565b612539600b61238c565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b15801561257b575f80fd5b505af1158015611ee4573d5f803e3d5ffd5b604080516001600160a01b03841681523360208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020613650833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612626573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061264a91906130c9565b6001600160a01b0385165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810183905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156126d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126f491906130c9565b6001600160a01b03939093165f9081526002919091016020526040902080546001600160601b0319166001600160601b03909316929092179091555050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516127a191906135cc565b5f60405180830381855afa9150503d805f81146127d9576040519150601f19603f3d011682016040523d82523d5f602084013e6127de565b606091505b50915091508115612830576040815110612810578080602001905181019061280691906135e2565b9094509250612830565b6020815110612830578080602001905181019061282d9190613127565b93505b505094509492505050565b6128436129b2565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060c00160405280825f018054612880906130e4565b80601f01602080910402602001604051908101604052809291908181526020018280546128ac906130e4565b80156128f75780601f106128ce576101008083540402835291602001916128f7565b820191905f5260205f20905b8154815290600101906020018083116128da57829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612948573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061296c91906130c9565b6001600160601b0316815260018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916108b8906130e4565b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612a18575f80fd5b81356001600160e01b031981168114610f5c575f80fd5b6001600160601b038116811461145e575f80fd5b5f8060408385031215612a54575f80fd5b8235612a5f81612a2f565b91506020830135612a6f81612a2f565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612af0608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610775610100840182612a7a565b602081525f6115246020830184612a7a565b5f60208284031215612b56575f80fd5b8135610f5c81612a2f565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612b9757612b97612b61565b60405290565b60405160c081016001600160401b0381118282101715612b9757612b97612b61565b604051601f8201601f191681016001600160401b0381118282101715612be757612be7612b61565b604052919050565b5f6001600160401b03821115612c0757612c07612b61565b50601f01601f191660200190565b5f82601f830112612c24575f80fd5b8135602083015f612c3c612c3784612bef565b612bbf565b9050828152858383011115612c4f575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff8116811461145e575f80fd5b8035610a6c81612c69565b801515811461145e575f80fd5b8035610a6c81612c85565b5f805f805f805f805f6101208a8c031215612cb6575f80fd5b89356001600160401b03811115612ccb575f80fd5b612cd78c828d01612c15565b99505060208a0135975060408a0135965060608a0135955060808a0135612cfd81612c69565b9450612d0b60a08b01612c7a565b9350612d1960c08b01612c92565b9250612d2760e08b01612c92565b91506101008a01356001600160401b03811115612d42575f80fd5b612d4e8c828d01612c15565b9150509295985092959850929598565b6001600160c01b03198116811461145e575f80fd5b5f805f60608486031215612d85575f80fd5b8335612d9081612a2f565b92506020840135612da081612d5e565b915060408401356001600160401b03811115612dba575f80fd5b612dc686828701612c15565b9150509250925092565b6001600160a01b038116811461145e575f80fd5b5f8060408385031215612df5575f80fd5b8235612a5f81612dd0565b5f805f805f60a08688031215612e14575f80fd5b85356001600160401b03811115612e29575f80fd5b612e3588828901612c15565b955050602086013593506040860135612e4d81612c69565b9250606086013564ffffffffff81168114612e66575f80fd5b915060808601356001600160401b03811115612e80575f80fd5b612e8c88828901612c15565b9150509295509295909350565b5f805f60608486031215612eab575f80fd5b8335612d9081612dd0565b5f60208284031215612ec6575f80fd5b81356001600160401b03811115612edb575f80fd5b61077584828501612c15565b5f60208284031215612ef7575f80fd5b8135610f5c81612dd0565b602081525f825160c06020840152612f1d60e0840182612a7a565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b0360608501511660808401526080840151612f7060a08501826001600160a01b03169052565b5060a0840151838203601f190160c0850152612f8c8282612a7a565b95945050505050565b5f60408284031215612fa5575f80fd5b604080519081016001600160401b0381118282101715612fc757612fc7612b61565b604052823581526020928301359281019290925250919050565b5f8060808385031215612ff2575f80fd5b612ffc8484612f95565b915061300b8460408501612f95565b90509250929050565b5f8060408385031215613025575f80fd5b823561303081612dd0565b946020939093013593505050565b5f806040838503121561304f575f80fd5b823561303081612d5e565b5f805f6060848603121561306c575f80fd5b833561307781612dd0565b9250602084013561308781612dd0565b929592945050506040919091013590565b8051610a6c81612dd0565b5f602082840312156130b3575f80fd5b8151610f5c81612dd0565b8051610a6c81612a2f565b5f602082840312156130d9575f80fd5b8151610f5c81612a2f565b600181811c908216806130f857607f821691505b60208210810361311657634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a6c81612c85565b5f60208284031215613137575f80fd5b8151610f5c81612c85565b5f60208284031215613152575f80fd5b5051919050565b60ff8116811461145e575f80fd5b8051610a6c81613159565b5f82601f830112613181575f80fd5b8151602083015f613194612c3784612bef565b90508281528583830111156131a7575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f602082840312156131d1575f80fd5b81516001600160401b038111156131e6575f80fd5b820160e081850312156131f7575f80fd5b6131ff612b75565b613208826130be565b8152613216602083016130be565b602082015261322760408301613167565b60408201526132386060830161311c565b606082015261324960808301613098565b608082015261325a60a08301613098565b60a082015260c08201516001600160401b03811115613277575f80fd5b61328386828501613172565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610f596040830184612a7a565b5f602082840312156132c2575f80fd5b8151610f5c81612d5e565b808202811582820484141761152757634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613301575f80fd5b82516020840151909250612a6f81613159565b5f8085851115613322575f80fd5b8386111561332e575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015610778576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f6133c461012083018c612a7a565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e08401528281036101008401526134118185612a7a565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f61344260c0830188612a7a565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a08401526134738185612a7a565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90612f8c90830184612a7a565b5f602082840312156134c3575f80fd5b81516001600160401b038111156134d8575f80fd5b820160c081850312156134e9575f80fd5b6134f1612b9d565b81516001600160401b03811115613506575f80fd5b61351286828501613172565b825250613521602083016130be565b602082015261353260408301613098565b604082015261354360608301613098565b606082015261355460808301613098565b608082015260a08201516001600160401b03811115613571575f80fd5b61357d86828501613172565b60a083015250949350505050565b5f6020828403121561359b575f80fd5b8151610f5c81613159565b825181526020808401518183015282516040830152820151606082015260808101610f5c565b5f82518060208501845e5f920191825250919050565b5f80604083850312156135f3575f80fd5b82516135fe81612c85565b6020840151909250612a6f81612c6956fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220ab5164184ee5afb2bbce14d190970e480f760d81637006a79007e0dc87a47b4364736f6c634300081a0033",
1201
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061028b575f3560e01c80637427d7a811610161578063bae99c99116100ca578063e145d46c11610084578063e145d46c146105d5578063e7f7fb86146105ff578063ea15869f14610612578063f5860e1a14610639578063f80e20721461064d578063f83d08ba14610660575f80fd5b8063bae99c9914610564578063bb1e0e5914610577578063bf7e214f1461058a578063d16d0fe814610592578063de7b5d14146105a5578063deaa59df146105c2575f80fd5b806390edbd351161011b57806390edbd3514610505578063a69df4b51461051a578063ada9652e14610522578063b2a6b42d14610536578063b423086c14610549578063b6b412ba14610551575f80fd5b80637427d7a81461049c5780637a9e5e4b146104af57806387ef9ba0146104c2578063893d20e8146104c95780638f0c86fa146104d15780638fb36037146104e4575f80fd5b806322366844116102035780635741e5e9116101bd5780635741e5e91461042557806359660bea1461042d5780635ab1bd53146104405780635dcb3bae14610451578063644c45e0146104645780636bd1c0eb1461046c575f80fd5b806322366844146103af5780632b5198b1146103b75780632eb3e6f4146103e35780633d683fd9146103f7578063419197fe1461040a57806343d752d31461041d575f80fd5b8063138461e011610254578063138461e01461033857806317d7de7c146103405780631aa3a008146103555780631c6b21901461035f5780631eff4b221461037257806321df0da7146103a7575f80fd5b806251884a1461028f57806301ffc9a7146102b457806307e71a6e146102f05780630fec111c146103035780631329960414610318575b5f80fd5b610297610668565b6040516001600160601b0390911681526020015b60405180910390f35b6102e06102c2366004612a08565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020016102ab565b6102976102fe366004612a43565b61067a565b61030b61077f565b6040516102ab9190612aa8565b61032061093d565b6040516001600160a01b0390911681526020016102ab565b61029761094f565b61034861095e565b6040516102ab9190612b34565b61035d61096e565b005b61029761036d366004612b46565b610a1b565b6103997f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102ab565b610320610a71565b6102e0610a83565b6103ca6103c5366004612c9d565b610b79565b6040516001600160c01b031990911681526020016102ab565b6103995f8051602061367083398151915281565b61035d610405366004612d73565b610bdd565b61035d610418366004612de4565b610c31565b610320610dec565b6102e0610dfe565b6103ca61043b366004612e00565b610eb2565b6001546001600160a01b0316610320565b61029761045f366004612e99565b610f09565b610297610f63565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610320565b6103ca6104aa366004612eb6565b610f7e565b61035d6104bd366004612ee7565b610ffe565b60016102e0565b610320611084565b6102e06104df366004612ee7565b6111b5565b6104ec61127a565b6040516001600160e01b031990911681526020016102ab565b61050d6112af565b6040516102ab9190612f02565b61035d6112d4565b6103995f8051602061361083398151915281565b610297610544366004612ee7565b611372565b61050d6113b4565b61035d61055f366004612fe1565b6113c4565b61035d610572366004612b46565b611412565b61035d610585366004613014565b611461565b6103206114fe565b6103996105a036600461303e565b611519565b5f80516020613670833981519152546001600160a01b0316610320565b61035d6105d0366004612ee7565b61152d565b6105e86105e3366004612eb6565b6117a3565b6040805192835260ff9091166020830152016102ab565b61035d61060d36600461305a565b61185d565b6103997fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6103995f8051602061365083398151915281565b61035d61065b36600461303e565b611905565b61035d61190e565b5f6106716112af565b60200151905090565b5f610687335b5f36611982565b610690336111b5565b6106b45760405163637c41bb60e01b81523360048201526024015b60405180910390fd5b826106c76001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610714573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061073891906130a3565b6001600160a01b0316336001600160a01b03161461076b5760405163086391f760e31b81523360048201526024016106ab565b6107758484611a80565b91505b5092915050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561082f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085391906130c9565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161089b611084565b6001600160a01b031681526020018260010180546108b8906130e4565b80601f01602080910402602001604051908101604052809291908181526020018280546108e4906130e4565b801561092f5780601f106109065761010080835404028352916020019161092f565b820191905f5260205f20905b81548152906001019060200180831161091257829003601f168201915b505050505081525091505090565b5f6109466112af565b60800151905090565b5f61095930611b0c565b905090565b60606109686112af565b51919050565b610976611084565b6001600160a01b0316336001600160a01b0316146109a95760405163086391f760e31b81523360048201526024016106ab565b5f80516020613650833981519152546040805163be495be560e01b815290516001600160a01b039092169163be495be5916004808201925f9290919082900301818387803b1580156109f9575f80fd5b505af1158015610a0b573d5f803e3d5ffd5b50505050610a195f19611d00565b565b5f610a24611084565b6001600160a01b0316336001600160a01b031614610a575760405163086391f760e31b81523360048201526024016106ab565b610a6033610680565b610a6982611d91565b90505b919050565b5f610a7a6112af565b60400151905090565b5f610a966001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610ada573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610afe91906130c9565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b55573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109599190613127565b5f610b82611084565b6001600160a01b0316336001600160a01b031614610bb55760405163086391f760e31b81523360048201526024016106ab565b610bbe33610680565b610bcf8a8a8a8a8a8a8a8a8a611e15565b9a9950505050505050505050565b610be5611084565b6001600160a01b0316336001600160a01b031614610c185760405163086391f760e31b81523360048201526024016106ab565b610c2133610680565b610c2c838383611ed4565b505050565b610c39611084565b6001600160a01b0316336001600160a01b031614610c6c5760405163086391f760e31b81523360048201526024016106ab565b30610c7561093d565b6001600160a01b031614610c9c5760405163b6d7537f60e01b815260040160405180910390fd5b7ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610cc5610dec565b604080516001600160a01b0390921682526001600160601b03841660208301520160405180910390a1816001600160a01b031663095ea7b3610d05610dec565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610d5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7f9190613142565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015b6020604051808303815f875af1158015610dc8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c2c9190613127565b5f610df56112af565b60600151905090565b5f610e07610a83565b15610e82576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610e5b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610df591908101906131c1565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f610ebc336111b5565b610edb5760405163637c41bb60e01b81523360048201526024016106ab565b610ee433610680565b5f610eee33611372565b9050610efe818888888888611eeb565b979650505050505050565b5f610f12611084565b6001600160a01b0316336001600160a01b031614610f455760405163086391f760e31b81523360048201526024016106ab565b610f4e33610680565b610f59848484611fa1565b90505b9392505050565b5f80516020613610833981519152546001600160601b031690565b5f73__$05887d5853069c88bcd4c0a2107db45f29$__633f093cd6610fa1610f63565b846040518363ffffffff1660e01b8152600401610fbf929190613291565b602060405180830381865af4158015610fda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6991906132b2565b336110076114fe565b6001600160a01b0316816001600160a01b0316146110425760405162d1953b60e31b81526001600160a01b03821660048201526024016106ab565b816001600160a01b03163b5f03611077576040516361798f2f60e11b81526001600160a01b03831660048201526024016106ab565b61108082612165565b5050565b5f805f8051602061361083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156110f0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111149190613127565b1561119f576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611175573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061119991906130a3565b91505090565b54600160601b90046001600160a01b0316919050565b6001600160a01b0381165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206136508339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015611256573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5c9190613127565b5f8051602061363083398151915280545f9190600160a01b900460ff166112a1575f611199565b638fb3603760e01b91505090565b6112b76129b2565b6112bf610a83565b156112cc576109596121c5565b6109596113b4565b6112dc611084565b6001600160a01b0316336001600160a01b03161461130f5760405163086391f760e31b81523360048201526024016106ab565b611319600a61238c565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b15801561135a575f80fd5b505af115801561136c573d5f803e3d5ffd5b50505050565b6001600160a01b03165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90260205260409020546001600160601b031690565b6113bc6129b2565b6109596121c5565b6113cc611084565b6001600160a01b0316336001600160a01b0316146113ff5760405163086391f760e31b81523360048201526024016106ab565b61140833610680565b611080828261248d565b61141a611084565b6001600160a01b0316336001600160a01b03161461144d5760405163086391f760e31b81523360048201526024016106ab565b61145e611458610a71565b82610c31565b50565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114cc91906130a3565b6001600160a01b0316336001600160a01b0316146110805760405162f0630960e01b81523360048201526024016106ab565b5f80516020613630833981519152546001600160a01b031690565b5f61152482826132cd565b90505b92915050565b611535611084565b6001600160a01b0316336001600160a01b0316146115685760405163086391f760e31b81523360048201526024016106ab565b5f61157161093d565b90505f61157c610a71565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa1580156115c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115e69190613142565b90506115f1836124f4565b8015610c2c57604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b038316036117525761165a610dec565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116a391815260200190565b602060405180830381865af41580156116be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116e291906130c9565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b158015611737575f80fd5b505af1158015611749573d5f803e3d5ffd5b50505050505050565b61175a610dec565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016116a391815260200190565b5f805f6117af84610f7e565b90506117e27fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031690565b60405163b82d7ef560e01b81526001600160c01b0319831660048201526001600160a01b03919091169063b82d7ef5906024016040805180830381865afa15801561182f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061185391906132f0565b9250925050915091565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118a4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118c891906130a3565b6001600160a01b0316336001600160a01b0316146118fa5760405162f0630960e01b81523360048201526024016106ab565b610c2c83838361258d565b61108033610680565b611916611084565b6001600160a01b0316336001600160a01b0316146119495760405163086391f760e31b81523360048201526024016106ab565b611953600a61238c565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e90602401611343565b5f805160206136308339815191525f806119ba61199d6114fe565b87306119ac60045f8a8c613314565b6119b59161333b565b612733565b9150915081611a785763ffffffff811615611a5557825460ff60a01b1916600160a01b1783556119e86114fe565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611a1793929190613371565b5f604051808303815f87803b158015611a2e575f80fd5b505af1158015611a40573d5f803e3d5ffd5b5050845460ff60a01b1916855550611a789050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016106ab565b505050505050565b5f5f80516020613650833981519152600101546040516303f38d3760e11b81526001600160601b038086166004830152841660248201526001600160a01b03909116906307e71a6e906044016020604051808303815f875af1158015611ae8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061152491906130c9565b5f805f8051602061361083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611b78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b9c9190613127565b15611bc85780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016106ab565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611c1a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c3e9190613127565b611c665760405163b9304b0d60e01b81526001600160a01b03841660048201526024016106ab565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611cb8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cdc91906130c9565b81546001600160601b0319166001600160601b039190911690811790915592915050565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f01547fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00906001600160a01b031663095ea7b3611d5a6112af565b606001516040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401610dac565b5f5f80516020613670833981519152600301546040516301c6b21960e41b81526001600160601b03841660048201526001600160a01b0390911690631c6b2190906024016020604051808303815f875af1158015611df1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6991906130c9565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051632b5198b160e01b81525f915f80516020613650833981519152916001600160a01b0390911690632b5198b190611e85908e908e908e908e908e908e908e908e908e906004016133b0565b6020604051808303815f875af1158015611ea1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ec591906132b2565b9b9a5050505050505050505050565b5f5f805160206136508339815191525b5050505050565b7faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f90154604051638dd2b78160e01b81525f915f80516020613650833981519152916001600160a01b0390911690638dd2b78190611f55908b908b908b908b908b908b90600401613421565b6020604051808303815f875af1158015611f71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f9591906132b2565b98975050505050505050565b6001600160a01b0383165f9081527faab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f902602090815260408083205481516330b8415f60e01b81526001600160601b03909116600482015290515f805160206136508339815191529273__$94a2c899be079b00d952d0d84fffaa5c34$__926330b8415f92602480830193928290030181865af4158015612042573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120669190613127565b156120b1576001600160a01b0385165f8181526002830160205260409081902054905163d56c930160e01b815260048101929092526001600160601b031660248201526044016106ab565b6001810154604051632ee59dd760e11b81526001600160a01b0390911690635dcb3bae906120e790889088908890600401613480565b6020604051808303815f875af1158015612103573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061212791906130c9565b6001600160a01b039095165f90815260029091016020526040902080546001600160601b0386166001600160601b0319909116179055509192915050565b5f8051602061363083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6121cd6129b2565b5f6121e06001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612224573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061224891906130c9565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156122a1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122c59190613127565b15612384577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c3612302610f63565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612343573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261236a91908101906134b3565b60808101519092506001600160a01b031615612384575090565b61119961283b565b5f805f805160206136708339815191525460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156123e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612406919061358b565b905061241a6001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa158015612469573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5c91906130a3565b5f8051602061365083398151915254604051631bd44bf760e11b81526001600160a01b03909116906337a897ee906124cb90859085906004016135a6565b5f604051808303815f87803b1580156124e2575f80fd5b505af1158015611a78573d5f803e3d5ffd5b6124fc611084565b6001600160a01b0316336001600160a01b03161461252f5760405163086391f760e31b81523360048201526024016106ab565b612539600b61238c565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b15801561257b575f80fd5b505af1158015611ee4573d5f803e3d5ffd5b604080516001600160a01b03841681523360208201527f04d7077d43765a828a5b0398e13ddca074c675aba69101b22c5d0176d8689434910160405180910390a15f5f80516020613650833981519152905073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612626573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061264a91906130c9565b6001600160a01b0385165f9081526002830160205260409081902080546001600160601b0319166001600160601b0393909316929092179091555163efac97cf60e01b81526004810183905273__$94a2c899be079b00d952d0d84fffaa5c34$__9063efac97cf90602401602060405180830381865af41580156126d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126f491906130c9565b6001600160a01b03939093165f9081526002919091016020526040902080546001600160601b0319166001600160601b03909316929092179091555050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516127a191906135cc565b5f60405180830381855afa9150503d805f81146127d9576040519150601f19603f3d011682016040523d82523d5f602084013e6127de565b606091505b50915091508115612830576040815110612810578080602001905181019061280691906135e2565b9094509250612830565b6020815110612830578080602001905181019061282d9190613127565b93505b505094509492505050565b6128436129b2565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060c00160405280825f018054612880906130e4565b80601f01602080910402602001604051908101604052809291908181526020018280546128ac906130e4565b80156128f75780601f106128ce576101008083540402835291602001916128f7565b820191905f5260205f20905b8154815290600101906020018083116128da57829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612948573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061296c91906130c9565b6001600160601b0316815260018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916108b8906130e4565b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612a18575f80fd5b81356001600160e01b031981168114610f5c575f80fd5b6001600160601b038116811461145e575f80fd5b5f8060408385031215612a54575f80fd5b8235612a5f81612a2f565b91506020830135612a6f81612a2f565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612af0608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610775610100840182612a7a565b602081525f6115246020830184612a7a565b5f60208284031215612b56575f80fd5b8135610f5c81612a2f565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612b9757612b97612b61565b60405290565b60405160c081016001600160401b0381118282101715612b9757612b97612b61565b604051601f8201601f191681016001600160401b0381118282101715612be757612be7612b61565b604052919050565b5f6001600160401b03821115612c0757612c07612b61565b50601f01601f191660200190565b5f82601f830112612c24575f80fd5b8135602083015f612c3c612c3784612bef565b612bbf565b9050828152858383011115612c4f575f80fd5b828260208301375f92810160200192909252509392505050565b63ffffffff8116811461145e575f80fd5b8035610a6c81612c69565b801515811461145e575f80fd5b8035610a6c81612c85565b5f805f805f805f805f6101208a8c031215612cb6575f80fd5b89356001600160401b03811115612ccb575f80fd5b612cd78c828d01612c15565b99505060208a0135975060408a0135965060608a0135955060808a0135612cfd81612c69565b9450612d0b60a08b01612c7a565b9350612d1960c08b01612c92565b9250612d2760e08b01612c92565b91506101008a01356001600160401b03811115612d42575f80fd5b612d4e8c828d01612c15565b9150509295985092959850929598565b6001600160c01b03198116811461145e575f80fd5b5f805f60608486031215612d85575f80fd5b8335612d9081612a2f565b92506020840135612da081612d5e565b915060408401356001600160401b03811115612dba575f80fd5b612dc686828701612c15565b9150509250925092565b6001600160a01b038116811461145e575f80fd5b5f8060408385031215612df5575f80fd5b8235612a5f81612dd0565b5f805f805f60a08688031215612e14575f80fd5b85356001600160401b03811115612e29575f80fd5b612e3588828901612c15565b955050602086013593506040860135612e4d81612c69565b9250606086013564ffffffffff81168114612e66575f80fd5b915060808601356001600160401b03811115612e80575f80fd5b612e8c88828901612c15565b9150509295509295909350565b5f805f60608486031215612eab575f80fd5b8335612d9081612dd0565b5f60208284031215612ec6575f80fd5b81356001600160401b03811115612edb575f80fd5b61077584828501612c15565b5f60208284031215612ef7575f80fd5b8135610f5c81612dd0565b602081525f825160c06020840152612f1d60e0840182612a7a565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b0360608501511660808401526080840151612f7060a08501826001600160a01b03169052565b5060a0840151838203601f190160c0850152612f8c8282612a7a565b95945050505050565b5f60408284031215612fa5575f80fd5b604080519081016001600160401b0381118282101715612fc757612fc7612b61565b604052823581526020928301359281019290925250919050565b5f8060808385031215612ff2575f80fd5b612ffc8484612f95565b915061300b8460408501612f95565b90509250929050565b5f8060408385031215613025575f80fd5b823561303081612dd0565b946020939093013593505050565b5f806040838503121561304f575f80fd5b823561303081612d5e565b5f805f6060848603121561306c575f80fd5b833561307781612dd0565b9250602084013561308781612dd0565b929592945050506040919091013590565b8051610a6c81612dd0565b5f602082840312156130b3575f80fd5b8151610f5c81612dd0565b8051610a6c81612a2f565b5f602082840312156130d9575f80fd5b8151610f5c81612a2f565b600181811c908216806130f857607f821691505b60208210810361311657634e487b7160e01b5f52602260045260245ffd5b50919050565b8051610a6c81612c85565b5f60208284031215613137575f80fd5b8151610f5c81612c85565b5f60208284031215613152575f80fd5b5051919050565b60ff8116811461145e575f80fd5b8051610a6c81613159565b5f82601f830112613181575f80fd5b8151602083015f613194612c3784612bef565b90508281528583830111156131a7575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f602082840312156131d1575f80fd5b81516001600160401b038111156131e6575f80fd5b820160e081850312156131f7575f80fd5b6131ff612b75565b613208826130be565b8152613216602083016130be565b602082015261322760408301613167565b60408201526132386060830161311c565b606082015261324960808301613098565b608082015261325a60a08301613098565b60a082015260c08201516001600160401b03811115613277575f80fd5b61328386828501613172565b60c083015250949350505050565b6001600160601b0383168152604060208201525f610f596040830184612a7a565b5f602082840312156132c2575f80fd5b8151610f5c81612d5e565b808202811582820484141761152757634e487b7160e01b5f52601160045260245ffd5b5f8060408385031215613301575f80fd5b82516020840151909250612a6f81613159565b5f8085851115613322575f80fd5b8386111561332e575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015610778576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b61012081525f6133c461012083018c612a7a565b8a602084015289604084015288606084015263ffffffff8816608084015263ffffffff871660a084015285151560c084015284151560e08401528281036101008401526134118185612a7a565b9c9b505050505050505050505050565b6001600160601b038716815260c060208201525f61344260c0830188612a7a565b86604084015263ffffffff8616606084015264ffffffffff8516608084015282810360a08401526134738185612a7a565b9998505050505050505050565b6001600160a01b03841681526001600160c01b0319831660208201526060604082018190525f90612f8c90830184612a7a565b5f602082840312156134c3575f80fd5b81516001600160401b038111156134d8575f80fd5b820160c081850312156134e9575f80fd5b6134f1612b9d565b81516001600160401b03811115613506575f80fd5b61351286828501613172565b825250613521602083016130be565b602082015261353260408301613098565b604082015261354360608301613098565b606082015261355460808301613098565b608082015260a08201516001600160401b03811115613571575f80fd5b61357d86828501613172565b60a083015250949350505050565b5f6020828403121561359b575f80fd5b8151610f5c81613159565b825181526020808401518183015282516040830152820151606082015260808101610f5c565b5f82518060208501845e5f920191825250919050565b5f80604083850312156135f3575f80fd5b82516135fe81612c85565b6020840151909250612a6f81612c6956fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00aab7c5ea03d290056d6c060e0833d3ebcbe647f7694616a2ec52738a64b2f900ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a2646970667358221220ab5164184ee5afb2bbce14d190970e480f760d81637006a79007e0dc87a47b4364736f6c634300081a0033",
1202
+ "linkReferences": {
1203
+ "contracts/type/Amount.sol": {
1204
+ "AmountLib": [
1205
+ {
1206
+ "length": 20,
1207
+ "start": 3391
1208
+ },
1209
+ {
1210
+ "length": 20,
1211
+ "start": 5768
1212
+ },
1213
+ {
1214
+ "length": 20,
1215
+ "start": 6024
1216
+ }
1217
+ ]
1218
+ },
1219
+ "contracts/type/NftId.sol": {
1220
+ "NftIdLib": [
1221
+ {
1222
+ "length": 20,
1223
+ "start": 2054
1224
+ },
1225
+ {
1226
+ "length": 20,
1227
+ "start": 2873
1228
+ },
1229
+ {
1230
+ "length": 20,
1231
+ "start": 4308
1232
+ },
1233
+ {
1234
+ "length": 20,
1235
+ "start": 4666
1236
+ },
1237
+ {
1238
+ "length": 20,
1239
+ "start": 7004
1240
+ },
1241
+ {
1242
+ "length": 20,
1243
+ "start": 8230
1244
+ },
1245
+ {
1246
+ "length": 20,
1247
+ "start": 8837
1248
+ },
1249
+ {
1250
+ "length": 20,
1251
+ "start": 9725
1252
+ },
1253
+ {
1254
+ "length": 20,
1255
+ "start": 9908
1256
+ },
1257
+ {
1258
+ "length": 20,
1259
+ "start": 10527
1260
+ }
1261
+ ]
1262
+ },
1263
+ "contracts/type/Referral.sol": {
1264
+ "ReferralLib": [
1265
+ {
1266
+ "length": 20,
1267
+ "start": 3997
1268
+ }
1269
+ ]
1270
+ }
1271
+ },
1272
+ "deployedLinkReferences": {
1273
+ "contracts/type/Amount.sol": {
1274
+ "AmountLib": [
1275
+ {
1276
+ "length": 20,
1277
+ "start": 3363
1278
+ },
1279
+ {
1280
+ "length": 20,
1281
+ "start": 5740
1282
+ },
1283
+ {
1284
+ "length": 20,
1285
+ "start": 5996
1286
+ }
1287
+ ]
1288
+ },
1289
+ "contracts/type/NftId.sol": {
1290
+ "NftIdLib": [
1291
+ {
1292
+ "length": 20,
1293
+ "start": 2026
1294
+ },
1295
+ {
1296
+ "length": 20,
1297
+ "start": 2845
1298
+ },
1299
+ {
1300
+ "length": 20,
1301
+ "start": 4280
1302
+ },
1303
+ {
1304
+ "length": 20,
1305
+ "start": 4638
1306
+ },
1307
+ {
1308
+ "length": 20,
1309
+ "start": 6976
1310
+ },
1311
+ {
1312
+ "length": 20,
1313
+ "start": 8202
1314
+ },
1315
+ {
1316
+ "length": 20,
1317
+ "start": 8809
1318
+ },
1319
+ {
1320
+ "length": 20,
1321
+ "start": 9697
1322
+ },
1323
+ {
1324
+ "length": 20,
1325
+ "start": 9880
1326
+ },
1327
+ {
1328
+ "length": 20,
1329
+ "start": 10499
1330
+ }
1331
+ ]
1332
+ },
1333
+ "contracts/type/Referral.sol": {
1334
+ "ReferralLib": [
1335
+ {
1336
+ "length": 20,
1337
+ "start": 3969
1338
+ }
1339
+ ]
1340
+ }
1341
+ }
1342
+ }