@etherisc/gif-next 0.0.2-b89a442-717 → 0.0.2-b9366f5-670

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