@etherisc/gif-next 0.0.2-f11de3a-698 → 0.0.2-f12cf4d-104

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