@etherisc/gif-next 0.0.2-b9366f5-670 → 0.0.2-b95860d-028

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