@etherisc/gif-next 0.0.2-c576a00-897 → 0.0.2-c5c9395-682

Sign up to get free protection for your applications and to get access to all the features.
Files changed (503) hide show
  1. package/README.md +262 -20
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +842 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1329 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +605 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +969 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +823 -115
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +608 -57
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1132 -143
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +967 -105
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +190 -0
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1501 -1151
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +633 -0
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +2094 -1242
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1330 -0
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1289 -0
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1179 -0
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +741 -0
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +607 -0
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  43. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
  44. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  45. package/artifacts/contracts/instance/{module/lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
  46. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  47. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +532 -0
  48. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  49. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +194 -0
  50. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  51. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
  52. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  53. package/artifacts/contracts/{experiment/kvstore → instance/module}/IBundle.sol/IBundle.json +1 -1
  54. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  55. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IComponents.sol/IComponents.json} +2 -2
  56. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  57. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  58. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  59. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  60. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  61. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  62. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  63. package/artifacts/contracts/instance/module/{bundle/IBundle.sol/IBundle.json → ISetup.sol/ISetup.json} +2 -2
  64. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  65. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  66. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1039 -0
  68. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +673 -0
  70. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1231 -0
  72. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +721 -0
  74. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +817 -0
  76. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +641 -0
  78. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1798 -0
  80. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +805 -0
  82. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +622 -0
  84. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  85. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +659 -0
  86. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +475 -0
  88. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +1090 -0
  90. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +606 -0
  92. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +577 -109
  94. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +186 -213
  96. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1092 -0
  98. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +697 -0
  100. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  101. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +965 -199
  102. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +661 -0
  104. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  105. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +460 -293
  106. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  107. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +653 -0
  108. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  109. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +199 -12
  110. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  111. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +485 -34
  112. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  113. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +866 -0
  114. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  115. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
  116. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  117. package/artifacts/contracts/registry/Registry.sol/Registry.json +487 -101
  118. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  119. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  120. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  121. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1158 -0
  122. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +670 -0
  124. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  125. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  126. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  127. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  128. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  129. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  130. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  131. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  132. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  133. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +38 -74
  134. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  135. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  136. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  137. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +100 -33
  138. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  139. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  140. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  141. package/artifacts/contracts/{instance/InstanceBase.sol/InstanceBase.json → shared/IService.sol/IService.json} +164 -142
  142. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  143. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +16 -125
  144. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  145. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +251 -0
  146. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  147. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  148. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  149. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +582 -0
  150. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  151. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +256 -25
  152. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  153. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  154. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  155. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → shared/Service.sol/Service.json} +261 -217
  156. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  157. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  158. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  159. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  160. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  161. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +29 -115
  162. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestFee.sol/TestFee.json +10 -10
  164. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +272 -26
  166. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  167. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +44 -10
  168. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  169. package/artifacts/contracts/test/TestService.sol/TestService.json +347 -130
  170. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  171. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  172. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  173. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +12 -12
  174. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  175. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +38 -140
  176. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  177. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  178. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  179. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +2 -2
  180. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  181. package/artifacts/contracts/types/Amount.sol/AmountLib.json +161 -0
  182. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  183. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -40
  184. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  186. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  187. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  188. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  190. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/Fee.sol/FeeLib.json +84 -14
  192. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  193. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
  194. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +78 -4
  196. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  197. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  198. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  200. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  202. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  203. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  204. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  205. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
  206. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  208. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  209. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  210. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  211. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  212. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  214. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  215. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  216. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  217. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  218. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  219. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  220. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  221. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  222. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  223. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  224. package/contracts/components/Component.sol +253 -0
  225. package/contracts/components/Distribution.sol +280 -0
  226. package/contracts/components/IComponent.sol +76 -0
  227. package/contracts/components/IDistributionComponent.sol +71 -0
  228. package/contracts/components/IPoolComponent.sol +98 -42
  229. package/contracts/components/IProductComponent.sol +30 -9
  230. package/contracts/components/Pool.sol +238 -109
  231. package/contracts/components/Product.sol +218 -42
  232. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  233. package/contracts/instance/BundleManager.sol +127 -0
  234. package/contracts/instance/Cloneable.sol +51 -0
  235. package/contracts/instance/IInstance.sol +87 -42
  236. package/contracts/instance/IInstanceService.sol +72 -0
  237. package/contracts/instance/Instance.sol +311 -50
  238. package/contracts/instance/InstanceAccessManager.sol +527 -0
  239. package/contracts/instance/InstanceReader.sol +291 -0
  240. package/contracts/instance/InstanceService.sol +495 -0
  241. package/contracts/instance/InstanceServiceManager.sol +54 -0
  242. package/contracts/instance/ObjectManager.sol +82 -0
  243. package/contracts/instance/base/ComponentService.sol +121 -0
  244. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  245. package/contracts/instance/base/ILifecycle.sol +30 -0
  246. package/contracts/instance/base/KeyValueStore.sol +180 -0
  247. package/contracts/instance/base/Lifecycle.sol +109 -0
  248. package/contracts/instance/module/IAccess.sol +54 -0
  249. package/contracts/instance/module/IBundle.sol +23 -0
  250. package/contracts/instance/module/IComponents.sol +41 -0
  251. package/contracts/instance/module/IDistribution.sol +41 -0
  252. package/contracts/instance/module/IPolicy.sol +72 -0
  253. package/contracts/instance/module/IRisk.sol +11 -0
  254. package/contracts/instance/module/ISetup.sol +33 -0
  255. package/contracts/instance/module/ITreasury.sol +23 -0
  256. package/contracts/instance/service/ApplicationService.sol +350 -0
  257. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  258. package/contracts/instance/service/BundleService.sol +431 -0
  259. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  260. package/contracts/instance/service/ClaimService.sol +151 -0
  261. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  262. package/contracts/instance/service/DistributionService.sol +435 -0
  263. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  264. package/contracts/instance/service/IApplicationService.sol +82 -0
  265. package/contracts/instance/service/IBundleService.sol +93 -0
  266. package/contracts/instance/service/IClaimService.sol +61 -0
  267. package/contracts/instance/service/IDistributionService.sol +99 -0
  268. package/contracts/instance/service/IPolicyService.sol +72 -0
  269. package/contracts/instance/service/IPoolService.sol +81 -12
  270. package/contracts/instance/service/IProductService.sol +21 -39
  271. package/contracts/instance/service/PolicyService.sol +362 -0
  272. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  273. package/contracts/instance/service/PoolService.sol +249 -69
  274. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  275. package/contracts/instance/service/ProductService.sol +147 -292
  276. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  277. package/contracts/registry/ChainNft.sol +87 -36
  278. package/contracts/registry/IRegistry.sol +68 -24
  279. package/contracts/registry/IRegistryService.sol +68 -0
  280. package/contracts/registry/ITransferInterceptor.sol +7 -0
  281. package/contracts/registry/Registry.sol +372 -286
  282. package/contracts/registry/RegistryAccessManager.sol +216 -0
  283. package/contracts/registry/RegistryService.sol +282 -0
  284. package/contracts/registry/RegistryServiceManager.sol +62 -0
  285. package/contracts/registry/ReleaseManager.sol +324 -0
  286. package/contracts/registry/TokenRegistry.sol +116 -0
  287. package/contracts/shared/ContractDeployerLib.sol +72 -0
  288. package/contracts/shared/ERC165.sol +14 -8
  289. package/contracts/shared/INftOwnable.sol +23 -0
  290. package/contracts/shared/IPolicyHolder.sol +26 -0
  291. package/contracts/shared/IRegisterable.sol +10 -19
  292. package/contracts/shared/IRegistryLinked.sol +12 -0
  293. package/contracts/shared/IService.sol +16 -0
  294. package/contracts/shared/IVersionable.sol +38 -37
  295. package/contracts/shared/NftOwnable.sol +120 -0
  296. package/contracts/shared/PolicyHolder.sol +81 -0
  297. package/contracts/shared/ProxyManager.sol +169 -0
  298. package/contracts/shared/Registerable.sol +54 -66
  299. package/contracts/shared/RegistryLinked.sol +48 -0
  300. package/contracts/shared/Service.sol +72 -0
  301. package/contracts/shared/TokenHandler.sol +33 -0
  302. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  303. package/contracts/shared/Versionable.sol +38 -68
  304. package/contracts/test/TestFee.sol +2 -2
  305. package/contracts/test/TestRegisterable.sol +5 -6
  306. package/contracts/test/TestRoleId.sol +2 -2
  307. package/contracts/test/TestService.sol +7 -14
  308. package/contracts/test/Usdc.sol +26 -0
  309. package/contracts/types/Amount.sol +60 -0
  310. package/contracts/types/Blocknumber.sol +1 -16
  311. package/contracts/types/ClaimId.sol +52 -0
  312. package/contracts/types/DistributorType.sol +55 -0
  313. package/contracts/types/Fee.sol +22 -9
  314. package/contracts/types/Key32.sol +50 -0
  315. package/contracts/types/NftId.sol +24 -1
  316. package/contracts/types/NftIdSet.sol +26 -24
  317. package/contracts/types/NumberId.sol +52 -0
  318. package/contracts/types/ObjectType.sol +53 -15
  319. package/contracts/types/PayoutId.sol +54 -0
  320. package/contracts/types/Referral.sol +89 -0
  321. package/contracts/types/RiskId.sol +24 -7
  322. package/contracts/types/RoleId.sol +72 -11
  323. package/contracts/types/Seconds.sol +54 -0
  324. package/contracts/types/StateId.sol +13 -2
  325. package/contracts/types/Timestamp.sol +17 -13
  326. package/contracts/types/UFixed.sol +145 -25
  327. package/contracts/types/Version.sol +14 -1
  328. package/package.json +9 -5
  329. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  330. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  331. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  334. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  336. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  338. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  340. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  342. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  344. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  346. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  348. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  350. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  351. package/artifacts/contracts/experiment/kvstore/BundleModuleStore.sol/BundleModuleStore.dbg.json +0 -4
  352. package/artifacts/contracts/experiment/kvstore/BundleModuleStore.sol/BundleModuleStore.json +0 -543
  353. package/artifacts/contracts/experiment/kvstore/IBundle.sol/IBundle.dbg.json +0 -4
  354. package/artifacts/contracts/experiment/kvstore/KeyMapper.sol/KeyMapper.dbg.json +0 -4
  355. package/artifacts/contracts/experiment/kvstore/KeyMapper.sol/KeyMapper.json +0 -185
  356. package/artifacts/contracts/experiment/kvstore/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  357. package/artifacts/contracts/experiment/kvstore/KeyValueStore.sol/KeyValueStore.json +0 -383
  358. package/artifacts/contracts/experiment/kvstore/KvStore.sol/KvStore.dbg.json +0 -4
  359. package/artifacts/contracts/experiment/kvstore/KvStore.sol/KvStore.json +0 -1064
  360. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  361. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  362. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  363. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  364. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  365. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  366. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  367. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  368. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  369. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  370. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  371. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  372. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  373. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  374. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  375. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  376. package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.dbg.json +0 -4
  377. package/artifacts/contracts/instance/IServiceLinked.sol/IServiceLinked.json +0 -50
  378. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  379. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  380. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  381. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  382. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  383. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  384. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  385. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -276
  386. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  387. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  388. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -276
  389. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  390. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  391. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  392. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  393. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  394. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  395. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  396. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  397. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  398. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  399. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  400. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  401. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  402. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
  403. package/artifacts/contracts/instance/module/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  404. package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  405. package/artifacts/contracts/instance/module/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  406. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  407. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  408. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  409. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  410. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  411. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  412. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  413. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  414. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  415. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  416. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  417. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  418. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  419. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -167
  420. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  421. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -185
  422. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  423. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  424. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  425. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  426. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  427. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  428. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  429. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  430. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -491
  431. package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  432. package/artifacts/contracts/instance/service/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  433. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  434. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +0 -364
  435. package/artifacts/contracts/instance/service/IService.sol/IService.dbg.json +0 -4
  436. package/artifacts/contracts/instance/service/IService.sol/IService.json +0 -300
  437. package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  438. package/artifacts/contracts/instance/service/ServiceBase.sol/ServiceBase.json +0 -300
  439. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  440. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  441. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  442. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  443. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  444. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  445. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  446. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  447. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  448. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  449. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
  450. package/contracts/components/BaseComponent.sol +0 -89
  451. package/contracts/components/IBaseComponent.sol +0 -19
  452. package/contracts/experiment/errors/Require.sol +0 -38
  453. package/contracts/experiment/errors/Revert.sol +0 -44
  454. package/contracts/experiment/inheritance/A.sol +0 -53
  455. package/contracts/experiment/inheritance/B.sol +0 -28
  456. package/contracts/experiment/inheritance/C.sol +0 -34
  457. package/contracts/experiment/inheritance/IA.sol +0 -13
  458. package/contracts/experiment/inheritance/IB.sol +0 -10
  459. package/contracts/experiment/inheritance/IC.sol +0 -12
  460. package/contracts/experiment/kvstore/BundleModuleStore.sol +0 -93
  461. package/contracts/experiment/kvstore/IBundle.sol +0 -22
  462. package/contracts/experiment/kvstore/KeyMapper.sol +0 -40
  463. package/contracts/experiment/kvstore/KeyValueStore.sol +0 -156
  464. package/contracts/experiment/kvstore/KvStore.sol +0 -195
  465. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  466. package/contracts/experiment/statemachine/ISM.sol +0 -25
  467. package/contracts/experiment/statemachine/README.md +0 -112
  468. package/contracts/experiment/statemachine/SM.sol +0 -57
  469. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  470. package/contracts/experiment/types/TypeA.sol +0 -47
  471. package/contracts/experiment/types/TypeB.sol +0 -29
  472. package/contracts/instance/IInstanceLinked.sol +0 -8
  473. package/contracts/instance/IServiceLinked.sol +0 -12
  474. package/contracts/instance/InstanceBase.sol +0 -71
  475. package/contracts/instance/module/access/Access.sol +0 -149
  476. package/contracts/instance/module/access/IAccess.sol +0 -53
  477. package/contracts/instance/module/bundle/BundleModule.sol +0 -228
  478. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  479. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  480. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  481. package/contracts/instance/module/component/ComponentModule.sol +0 -103
  482. package/contracts/instance/module/component/IComponent.sol +0 -53
  483. package/contracts/instance/module/lifecycle/ILifecycle.sol +0 -47
  484. package/contracts/instance/module/lifecycle/LifecycleModule.sol +0 -89
  485. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  486. package/contracts/instance/module/policy/PolicyModule.sol +0 -84
  487. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  488. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  489. package/contracts/instance/module/risk/IRisk.sol +0 -39
  490. package/contracts/instance/module/risk/RiskModule.sol +0 -55
  491. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  492. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  493. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  494. package/contracts/instance/service/ComponentOwnerService.sol +0 -171
  495. package/contracts/instance/service/ComponentServiceBase.sol +0 -41
  496. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  497. package/contracts/instance/service/IService.sol +0 -15
  498. package/contracts/instance/service/ServiceBase.sol +0 -39
  499. package/contracts/registry/IChainNft.sol +0 -21
  500. package/contracts/registry/IRegistryLinked.sol +0 -8
  501. package/contracts/shared/IOwnable.sol +0 -6
  502. package/contracts/test/TestPool.sol +0 -22
  503. package/contracts/test/TestProduct.sol +0 -44
@@ -1,1064 +0,0 @@
1
- {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "KvStore",
4
- "sourceName": "contracts/experiment/kvstore/KvStore.sol",
5
- "abi": [
6
- {
7
- "inputs": [],
8
- "name": "ID_MASK",
9
- "outputs": [
10
- {
11
- "internalType": "bytes32",
12
- "name": "",
13
- "type": "bytes32"
14
- }
15
- ],
16
- "stateMutability": "view",
17
- "type": "function"
18
- },
19
- {
20
- "inputs": [],
21
- "name": "TYPE_MASK",
22
- "outputs": [
23
- {
24
- "internalType": "bytes32",
25
- "name": "",
26
- "type": "bytes32"
27
- }
28
- ],
29
- "stateMutability": "view",
30
- "type": "function"
31
- },
32
- {
33
- "inputs": [],
34
- "name": "TYPE_SHIFT",
35
- "outputs": [
36
- {
37
- "internalType": "uint8",
38
- "name": "",
39
- "type": "uint8"
40
- }
41
- ],
42
- "stateMutability": "view",
43
- "type": "function"
44
- },
45
- {
46
- "inputs": [
47
- {
48
- "internalType": "bytes",
49
- "name": "b",
50
- "type": "bytes"
51
- }
52
- ],
53
- "name": "b2s",
54
- "outputs": [
55
- {
56
- "internalType": "string",
57
- "name": "s",
58
- "type": "string"
59
- }
60
- ],
61
- "stateMutability": "pure",
62
- "type": "function"
63
- },
64
- {
65
- "inputs": [
66
- {
67
- "internalType": "VersionPart",
68
- "name": "majorVersion",
69
- "type": "uint8"
70
- },
71
- {
72
- "components": [
73
- {
74
- "internalType": "NftId",
75
- "name": "nftId",
76
- "type": "uint96"
77
- },
78
- {
79
- "internalType": "NftId",
80
- "name": "poolNftId",
81
- "type": "uint96"
82
- },
83
- {
84
- "internalType": "StateId",
85
- "name": "state",
86
- "type": "uint8"
87
- },
88
- {
89
- "internalType": "bytes",
90
- "name": "filter",
91
- "type": "bytes"
92
- },
93
- {
94
- "internalType": "uint256",
95
- "name": "capitalAmount",
96
- "type": "uint256"
97
- },
98
- {
99
- "internalType": "uint256",
100
- "name": "lockedAmount",
101
- "type": "uint256"
102
- },
103
- {
104
- "internalType": "uint256",
105
- "name": "balanceAmount",
106
- "type": "uint256"
107
- },
108
- {
109
- "internalType": "Timestamp",
110
- "name": "expiredAt",
111
- "type": "uint40"
112
- },
113
- {
114
- "internalType": "Timestamp",
115
- "name": "closedAt",
116
- "type": "uint40"
117
- }
118
- ],
119
- "internalType": "struct IBundle.BundleInfo",
120
- "name": "info",
121
- "type": "tuple"
122
- }
123
- ],
124
- "name": "bundleInfoToValue",
125
- "outputs": [
126
- {
127
- "components": [
128
- {
129
- "internalType": "VersionPart",
130
- "name": "majorVersion",
131
- "type": "uint8"
132
- },
133
- {
134
- "internalType": "bytes",
135
- "name": "data",
136
- "type": "bytes"
137
- }
138
- ],
139
- "internalType": "struct KvStore.Value",
140
- "name": "value",
141
- "type": "tuple"
142
- }
143
- ],
144
- "stateMutability": "pure",
145
- "type": "function"
146
- },
147
- {
148
- "inputs": [
149
- {
150
- "internalType": "bytes32",
151
- "name": "key",
152
- "type": "bytes32"
153
- },
154
- {
155
- "components": [
156
- {
157
- "internalType": "VersionPart",
158
- "name": "majorVersion",
159
- "type": "uint8"
160
- },
161
- {
162
- "internalType": "bytes",
163
- "name": "data",
164
- "type": "bytes"
165
- }
166
- ],
167
- "internalType": "struct KvStore.Value",
168
- "name": "value",
169
- "type": "tuple"
170
- }
171
- ],
172
- "name": "create",
173
- "outputs": [],
174
- "stateMutability": "nonpayable",
175
- "type": "function"
176
- },
177
- {
178
- "inputs": [
179
- {
180
- "internalType": "NftId",
181
- "name": "bundleNftId",
182
- "type": "uint96"
183
- },
184
- {
185
- "internalType": "uint256",
186
- "name": "amount",
187
- "type": "uint256"
188
- },
189
- {
190
- "internalType": "bytes",
191
- "name": "filter",
192
- "type": "bytes"
193
- }
194
- ],
195
- "name": "createBundleInfo",
196
- "outputs": [
197
- {
198
- "components": [
199
- {
200
- "internalType": "NftId",
201
- "name": "nftId",
202
- "type": "uint96"
203
- },
204
- {
205
- "internalType": "NftId",
206
- "name": "poolNftId",
207
- "type": "uint96"
208
- },
209
- {
210
- "internalType": "StateId",
211
- "name": "state",
212
- "type": "uint8"
213
- },
214
- {
215
- "internalType": "bytes",
216
- "name": "filter",
217
- "type": "bytes"
218
- },
219
- {
220
- "internalType": "uint256",
221
- "name": "capitalAmount",
222
- "type": "uint256"
223
- },
224
- {
225
- "internalType": "uint256",
226
- "name": "lockedAmount",
227
- "type": "uint256"
228
- },
229
- {
230
- "internalType": "uint256",
231
- "name": "balanceAmount",
232
- "type": "uint256"
233
- },
234
- {
235
- "internalType": "Timestamp",
236
- "name": "expiredAt",
237
- "type": "uint40"
238
- },
239
- {
240
- "internalType": "Timestamp",
241
- "name": "closedAt",
242
- "type": "uint40"
243
- }
244
- ],
245
- "internalType": "struct IBundle.BundleInfo",
246
- "name": "info",
247
- "type": "tuple"
248
- }
249
- ],
250
- "stateMutability": "view",
251
- "type": "function"
252
- },
253
- {
254
- "inputs": [
255
- {
256
- "internalType": "bytes",
257
- "name": "specification",
258
- "type": "bytes"
259
- }
260
- ],
261
- "name": "createRiskInfo",
262
- "outputs": [
263
- {
264
- "components": [
265
- {
266
- "internalType": "RiskId",
267
- "name": "id",
268
- "type": "bytes12"
269
- },
270
- {
271
- "internalType": "StateId",
272
- "name": "state",
273
- "type": "uint8"
274
- },
275
- {
276
- "internalType": "bytes",
277
- "name": "specification",
278
- "type": "bytes"
279
- },
280
- {
281
- "internalType": "Timestamp",
282
- "name": "createdAt",
283
- "type": "uint40"
284
- },
285
- {
286
- "internalType": "Blocknumber",
287
- "name": "updatedIn",
288
- "type": "uint32"
289
- }
290
- ],
291
- "internalType": "struct IRisk.RiskInfo",
292
- "name": "info",
293
- "type": "tuple"
294
- }
295
- ],
296
- "stateMutability": "view",
297
- "type": "function"
298
- },
299
- {
300
- "inputs": [
301
- {
302
- "internalType": "bytes",
303
- "name": "data",
304
- "type": "bytes"
305
- }
306
- ],
307
- "name": "decodeBundleInfo",
308
- "outputs": [
309
- {
310
- "components": [
311
- {
312
- "internalType": "NftId",
313
- "name": "nftId",
314
- "type": "uint96"
315
- },
316
- {
317
- "internalType": "NftId",
318
- "name": "poolNftId",
319
- "type": "uint96"
320
- },
321
- {
322
- "internalType": "StateId",
323
- "name": "state",
324
- "type": "uint8"
325
- },
326
- {
327
- "internalType": "bytes",
328
- "name": "filter",
329
- "type": "bytes"
330
- },
331
- {
332
- "internalType": "uint256",
333
- "name": "capitalAmount",
334
- "type": "uint256"
335
- },
336
- {
337
- "internalType": "uint256",
338
- "name": "lockedAmount",
339
- "type": "uint256"
340
- },
341
- {
342
- "internalType": "uint256",
343
- "name": "balanceAmount",
344
- "type": "uint256"
345
- },
346
- {
347
- "internalType": "Timestamp",
348
- "name": "expiredAt",
349
- "type": "uint40"
350
- },
351
- {
352
- "internalType": "Timestamp",
353
- "name": "closedAt",
354
- "type": "uint40"
355
- }
356
- ],
357
- "internalType": "struct IBundle.BundleInfo",
358
- "name": "info",
359
- "type": "tuple"
360
- }
361
- ],
362
- "stateMutability": "pure",
363
- "type": "function"
364
- },
365
- {
366
- "inputs": [
367
- {
368
- "internalType": "bytes",
369
- "name": "data",
370
- "type": "bytes"
371
- }
372
- ],
373
- "name": "decodeRiskInfo",
374
- "outputs": [
375
- {
376
- "components": [
377
- {
378
- "internalType": "RiskId",
379
- "name": "id",
380
- "type": "bytes12"
381
- },
382
- {
383
- "internalType": "StateId",
384
- "name": "state",
385
- "type": "uint8"
386
- },
387
- {
388
- "internalType": "bytes",
389
- "name": "specification",
390
- "type": "bytes"
391
- },
392
- {
393
- "internalType": "Timestamp",
394
- "name": "createdAt",
395
- "type": "uint40"
396
- },
397
- {
398
- "internalType": "Blocknumber",
399
- "name": "updatedIn",
400
- "type": "uint32"
401
- }
402
- ],
403
- "internalType": "struct IRisk.RiskInfo",
404
- "name": "info",
405
- "type": "tuple"
406
- }
407
- ],
408
- "stateMutability": "pure",
409
- "type": "function"
410
- },
411
- {
412
- "inputs": [
413
- {
414
- "components": [
415
- {
416
- "internalType": "NftId",
417
- "name": "nftId",
418
- "type": "uint96"
419
- },
420
- {
421
- "internalType": "NftId",
422
- "name": "poolNftId",
423
- "type": "uint96"
424
- },
425
- {
426
- "internalType": "StateId",
427
- "name": "state",
428
- "type": "uint8"
429
- },
430
- {
431
- "internalType": "bytes",
432
- "name": "filter",
433
- "type": "bytes"
434
- },
435
- {
436
- "internalType": "uint256",
437
- "name": "capitalAmount",
438
- "type": "uint256"
439
- },
440
- {
441
- "internalType": "uint256",
442
- "name": "lockedAmount",
443
- "type": "uint256"
444
- },
445
- {
446
- "internalType": "uint256",
447
- "name": "balanceAmount",
448
- "type": "uint256"
449
- },
450
- {
451
- "internalType": "Timestamp",
452
- "name": "expiredAt",
453
- "type": "uint40"
454
- },
455
- {
456
- "internalType": "Timestamp",
457
- "name": "closedAt",
458
- "type": "uint40"
459
- }
460
- ],
461
- "internalType": "struct IBundle.BundleInfo",
462
- "name": "info",
463
- "type": "tuple"
464
- }
465
- ],
466
- "name": "encodeBundleInfo",
467
- "outputs": [
468
- {
469
- "internalType": "bytes",
470
- "name": "data",
471
- "type": "bytes"
472
- }
473
- ],
474
- "stateMutability": "pure",
475
- "type": "function"
476
- },
477
- {
478
- "inputs": [
479
- {
480
- "components": [
481
- {
482
- "internalType": "RiskId",
483
- "name": "id",
484
- "type": "bytes12"
485
- },
486
- {
487
- "internalType": "StateId",
488
- "name": "state",
489
- "type": "uint8"
490
- },
491
- {
492
- "internalType": "bytes",
493
- "name": "specification",
494
- "type": "bytes"
495
- },
496
- {
497
- "internalType": "Timestamp",
498
- "name": "createdAt",
499
- "type": "uint40"
500
- },
501
- {
502
- "internalType": "Blocknumber",
503
- "name": "updatedIn",
504
- "type": "uint32"
505
- }
506
- ],
507
- "internalType": "struct IRisk.RiskInfo",
508
- "name": "info",
509
- "type": "tuple"
510
- }
511
- ],
512
- "name": "encodeRiskInfo",
513
- "outputs": [
514
- {
515
- "internalType": "bytes",
516
- "name": "data",
517
- "type": "bytes"
518
- }
519
- ],
520
- "stateMutability": "pure",
521
- "type": "function"
522
- },
523
- {
524
- "inputs": [
525
- {
526
- "internalType": "bytes32",
527
- "name": "key",
528
- "type": "bytes32"
529
- }
530
- ],
531
- "name": "exists",
532
- "outputs": [
533
- {
534
- "internalType": "bool",
535
- "name": "",
536
- "type": "bool"
537
- }
538
- ],
539
- "stateMutability": "view",
540
- "type": "function"
541
- },
542
- {
543
- "inputs": [
544
- {
545
- "internalType": "bytes32",
546
- "name": "key",
547
- "type": "bytes32"
548
- }
549
- ],
550
- "name": "get",
551
- "outputs": [
552
- {
553
- "components": [
554
- {
555
- "internalType": "VersionPart",
556
- "name": "majorVersion",
557
- "type": "uint8"
558
- },
559
- {
560
- "internalType": "bytes",
561
- "name": "data",
562
- "type": "bytes"
563
- }
564
- ],
565
- "internalType": "struct KvStore.Value",
566
- "name": "value",
567
- "type": "tuple"
568
- }
569
- ],
570
- "stateMutability": "view",
571
- "type": "function"
572
- },
573
- {
574
- "inputs": [],
575
- "name": "getIdMask",
576
- "outputs": [
577
- {
578
- "internalType": "bytes32",
579
- "name": "",
580
- "type": "bytes32"
581
- }
582
- ],
583
- "stateMutability": "pure",
584
- "type": "function"
585
- },
586
- {
587
- "inputs": [
588
- {
589
- "internalType": "uint256",
590
- "name": "index",
591
- "type": "uint256"
592
- }
593
- ],
594
- "name": "getKey",
595
- "outputs": [
596
- {
597
- "internalType": "bytes32",
598
- "name": "key",
599
- "type": "bytes32"
600
- }
601
- ],
602
- "stateMutability": "view",
603
- "type": "function"
604
- },
605
- {
606
- "inputs": [],
607
- "name": "getKeyCount",
608
- "outputs": [
609
- {
610
- "internalType": "uint256",
611
- "name": "keyCount",
612
- "type": "uint256"
613
- }
614
- ],
615
- "stateMutability": "view",
616
- "type": "function"
617
- },
618
- {
619
- "inputs": [],
620
- "name": "getTypeMask",
621
- "outputs": [
622
- {
623
- "internalType": "bytes32",
624
- "name": "",
625
- "type": "bytes32"
626
- }
627
- ],
628
- "stateMutability": "pure",
629
- "type": "function"
630
- },
631
- {
632
- "inputs": [
633
- {
634
- "components": [
635
- {
636
- "internalType": "ObjectType",
637
- "name": "objectType",
638
- "type": "uint8"
639
- },
640
- {
641
- "internalType": "KeyId",
642
- "name": "id",
643
- "type": "bytes31"
644
- }
645
- ],
646
- "internalType": "struct KvStore.Key",
647
- "name": "key",
648
- "type": "tuple"
649
- }
650
- ],
651
- "name": "keyToRiskId",
652
- "outputs": [
653
- {
654
- "internalType": "RiskId",
655
- "name": "id",
656
- "type": "bytes12"
657
- }
658
- ],
659
- "stateMutability": "pure",
660
- "type": "function"
661
- },
662
- {
663
- "inputs": [
664
- {
665
- "internalType": "NftId",
666
- "name": "nftId",
667
- "type": "uint96"
668
- }
669
- ],
670
- "name": "nftIdToKey",
671
- "outputs": [
672
- {
673
- "internalType": "bytes32",
674
- "name": "key",
675
- "type": "bytes32"
676
- }
677
- ],
678
- "stateMutability": "pure",
679
- "type": "function"
680
- },
681
- {
682
- "inputs": [
683
- {
684
- "internalType": "NftId",
685
- "name": "nftId",
686
- "type": "uint96"
687
- }
688
- ],
689
- "name": "nftIdToKeyPacked",
690
- "outputs": [
691
- {
692
- "internalType": "bytes32",
693
- "name": "key",
694
- "type": "bytes32"
695
- }
696
- ],
697
- "stateMutability": "pure",
698
- "type": "function"
699
- },
700
- {
701
- "inputs": [
702
- {
703
- "internalType": "RiskId",
704
- "name": "riskId",
705
- "type": "bytes12"
706
- }
707
- ],
708
- "name": "riskIdToKey",
709
- "outputs": [
710
- {
711
- "internalType": "bytes32",
712
- "name": "key",
713
- "type": "bytes32"
714
- }
715
- ],
716
- "stateMutability": "pure",
717
- "type": "function"
718
- },
719
- {
720
- "inputs": [
721
- {
722
- "internalType": "VersionPart",
723
- "name": "majorVersion",
724
- "type": "uint8"
725
- },
726
- {
727
- "components": [
728
- {
729
- "internalType": "RiskId",
730
- "name": "id",
731
- "type": "bytes12"
732
- },
733
- {
734
- "internalType": "StateId",
735
- "name": "state",
736
- "type": "uint8"
737
- },
738
- {
739
- "internalType": "bytes",
740
- "name": "specification",
741
- "type": "bytes"
742
- },
743
- {
744
- "internalType": "Timestamp",
745
- "name": "createdAt",
746
- "type": "uint40"
747
- },
748
- {
749
- "internalType": "Blocknumber",
750
- "name": "updatedIn",
751
- "type": "uint32"
752
- }
753
- ],
754
- "internalType": "struct IRisk.RiskInfo",
755
- "name": "info",
756
- "type": "tuple"
757
- }
758
- ],
759
- "name": "riskInfoToKeyValue",
760
- "outputs": [
761
- {
762
- "internalType": "bytes32",
763
- "name": "key",
764
- "type": "bytes32"
765
- },
766
- {
767
- "components": [
768
- {
769
- "internalType": "VersionPart",
770
- "name": "majorVersion",
771
- "type": "uint8"
772
- },
773
- {
774
- "internalType": "bytes",
775
- "name": "data",
776
- "type": "bytes"
777
- }
778
- ],
779
- "internalType": "struct KvStore.Value",
780
- "name": "value",
781
- "type": "tuple"
782
- }
783
- ],
784
- "stateMutability": "pure",
785
- "type": "function"
786
- },
787
- {
788
- "inputs": [
789
- {
790
- "internalType": "string",
791
- "name": "s",
792
- "type": "string"
793
- }
794
- ],
795
- "name": "s2b",
796
- "outputs": [
797
- {
798
- "internalType": "bytes",
799
- "name": "b",
800
- "type": "bytes"
801
- }
802
- ],
803
- "stateMutability": "pure",
804
- "type": "function"
805
- },
806
- {
807
- "inputs": [
808
- {
809
- "internalType": "uint256",
810
- "name": "value",
811
- "type": "uint256"
812
- }
813
- ],
814
- "name": "toBytes32",
815
- "outputs": [
816
- {
817
- "internalType": "bytes32",
818
- "name": "",
819
- "type": "bytes32"
820
- }
821
- ],
822
- "stateMutability": "pure",
823
- "type": "function"
824
- },
825
- {
826
- "inputs": [
827
- {
828
- "internalType": "bytes32",
829
- "name": "key32",
830
- "type": "bytes32"
831
- }
832
- ],
833
- "name": "toKey",
834
- "outputs": [
835
- {
836
- "components": [
837
- {
838
- "internalType": "ObjectType",
839
- "name": "objectType",
840
- "type": "uint8"
841
- },
842
- {
843
- "internalType": "KeyId",
844
- "name": "id",
845
- "type": "bytes31"
846
- }
847
- ],
848
- "internalType": "struct KvStore.Key",
849
- "name": "key",
850
- "type": "tuple"
851
- }
852
- ],
853
- "stateMutability": "pure",
854
- "type": "function"
855
- },
856
- {
857
- "inputs": [
858
- {
859
- "internalType": "RiskId",
860
- "name": "riskId",
861
- "type": "bytes12"
862
- }
863
- ],
864
- "name": "toKey32",
865
- "outputs": [
866
- {
867
- "internalType": "bytes32",
868
- "name": "key",
869
- "type": "bytes32"
870
- }
871
- ],
872
- "stateMutability": "pure",
873
- "type": "function"
874
- },
875
- {
876
- "inputs": [
877
- {
878
- "internalType": "bytes32",
879
- "name": "key",
880
- "type": "bytes32"
881
- },
882
- {
883
- "components": [
884
- {
885
- "internalType": "VersionPart",
886
- "name": "majorVersion",
887
- "type": "uint8"
888
- },
889
- {
890
- "internalType": "bytes",
891
- "name": "data",
892
- "type": "bytes"
893
- }
894
- ],
895
- "internalType": "struct KvStore.Value",
896
- "name": "value",
897
- "type": "tuple"
898
- }
899
- ],
900
- "name": "update",
901
- "outputs": [],
902
- "stateMutability": "nonpayable",
903
- "type": "function"
904
- },
905
- {
906
- "inputs": [
907
- {
908
- "components": [
909
- {
910
- "internalType": "VersionPart",
911
- "name": "majorVersion",
912
- "type": "uint8"
913
- },
914
- {
915
- "internalType": "bytes",
916
- "name": "data",
917
- "type": "bytes"
918
- }
919
- ],
920
- "internalType": "struct KvStore.Value",
921
- "name": "value",
922
- "type": "tuple"
923
- }
924
- ],
925
- "name": "valueToBundleInfo",
926
- "outputs": [
927
- {
928
- "components": [
929
- {
930
- "internalType": "NftId",
931
- "name": "nftId",
932
- "type": "uint96"
933
- },
934
- {
935
- "internalType": "NftId",
936
- "name": "poolNftId",
937
- "type": "uint96"
938
- },
939
- {
940
- "internalType": "StateId",
941
- "name": "state",
942
- "type": "uint8"
943
- },
944
- {
945
- "internalType": "bytes",
946
- "name": "filter",
947
- "type": "bytes"
948
- },
949
- {
950
- "internalType": "uint256",
951
- "name": "capitalAmount",
952
- "type": "uint256"
953
- },
954
- {
955
- "internalType": "uint256",
956
- "name": "lockedAmount",
957
- "type": "uint256"
958
- },
959
- {
960
- "internalType": "uint256",
961
- "name": "balanceAmount",
962
- "type": "uint256"
963
- },
964
- {
965
- "internalType": "Timestamp",
966
- "name": "expiredAt",
967
- "type": "uint40"
968
- },
969
- {
970
- "internalType": "Timestamp",
971
- "name": "closedAt",
972
- "type": "uint40"
973
- }
974
- ],
975
- "internalType": "struct IBundle.BundleInfo",
976
- "name": "info",
977
- "type": "tuple"
978
- }
979
- ],
980
- "stateMutability": "pure",
981
- "type": "function"
982
- },
983
- {
984
- "inputs": [
985
- {
986
- "components": [
987
- {
988
- "internalType": "VersionPart",
989
- "name": "majorVersion",
990
- "type": "uint8"
991
- },
992
- {
993
- "internalType": "bytes",
994
- "name": "data",
995
- "type": "bytes"
996
- }
997
- ],
998
- "internalType": "struct KvStore.Value",
999
- "name": "value",
1000
- "type": "tuple"
1001
- }
1002
- ],
1003
- "name": "valueToRiskInfo",
1004
- "outputs": [
1005
- {
1006
- "components": [
1007
- {
1008
- "internalType": "RiskId",
1009
- "name": "id",
1010
- "type": "bytes12"
1011
- },
1012
- {
1013
- "internalType": "StateId",
1014
- "name": "state",
1015
- "type": "uint8"
1016
- },
1017
- {
1018
- "internalType": "bytes",
1019
- "name": "specification",
1020
- "type": "bytes"
1021
- },
1022
- {
1023
- "internalType": "Timestamp",
1024
- "name": "createdAt",
1025
- "type": "uint40"
1026
- },
1027
- {
1028
- "internalType": "Blocknumber",
1029
- "name": "updatedIn",
1030
- "type": "uint32"
1031
- }
1032
- ],
1033
- "internalType": "struct IRisk.RiskInfo",
1034
- "name": "info",
1035
- "type": "tuple"
1036
- }
1037
- ],
1038
- "stateMutability": "pure",
1039
- "type": "function"
1040
- }
1041
- ],
1042
- "bytecode": "0x608060405234801561001057600080fd5b50612d58806100206000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c806373aafb5311610104578063bb5b27e1116100a2578063d546ecf411610071578063d546ecf414610662578063d92bb60d14610680578063ea27fd501461069e578063ee1ce841146106ce576101da565b8063bb5b27e1146105b4578063bc2d00a7146105e4578063c3b6d3d714610614578063d238106f14610632576101da565b8063904d2c5f116100de578063904d2c5f146104f4578063a4dc7d8614610524578063b028ee1314610554578063ba0d69f614610584576101da565b806373aafb5314610464578063772391f3146104945780638eaa6ac0146104c4576101da565b806326b416c71161017c57806345414df11161014b57806345414df1146103b857806345d5c235146103e85780635e464ef7146104045780636f93bf6d14610434576101da565b806326b416c71461031e578063277ec8fb1461033a57806329e9b2261461036a57806338a699a414610388576101da565b806317181d3b116101b857806317181d3b1461025e5780631784cac91461028e57806318f08d24146102be57806322917a30146102ee576101da565b80630140cb3c146101df5780630b76bb6e146102105780630f94cc5014610240575b600080fd5b6101f960048036038101906101f49190611534565b6106ec565b6040516102079291906116a0565b60405180910390f35b61022a600480360381019061022591906116d0565b610745565b6040516102379190611763565b60405180910390f35b61024861076e565b6040516102559190611785565b60405180910390f35b6102786004803603810190610273919061187a565b610798565b6040516102859190611a33565b60405180910390f35b6102a860048036038101906102a39190611b29565b610907565b6040516102b59190611b77565b60405180910390f35b6102d860048036038101906102d39190611c8e565b610969565b6040516102e59190611763565b60405180910390f35b61030860048036038101906103039190611cd7565b610992565b6040516103159190611785565b60405180910390f35b61033860048036038101906103339190611d9c565b6109cb565b005b610354600480360381019061034f9190611df8565b610aad565b6040516103619190611ef7565b60405180910390f35b610372610ad4565b60405161037f9190611f28565b60405180910390f35b6103a2600480360381019061039d9190611f43565b610ad9565b6040516103af9190611f8b565b60405180910390f35b6103d260048036038101906103cd9190611fa6565b610b0a565b6040516103df9190612044565b60405180910390f35b61040260048036038101906103fd9190611d9c565b610b27565b005b61041e60048036038101906104199190611fa6565b610be0565b60405161042b9190611a33565b60405180910390f35b61044e60048036038101906104499190611fa6565b610c03565b60405161045b9190611ef7565b60405180910390f35b61047e60048036038101906104799190612066565b610c26565b60405161048b9190611785565b60405180910390f35b6104ae60048036038101906104a99190612093565b610c33565b6040516104bb9190611785565b60405180910390f35b6104de60048036038101906104d99190611f43565b610c6c565b6040516104eb91906120c0565b60405180910390f35b61050e60048036038101906105099190611df8565b610d47565b60405161051b9190611a33565b60405180910390f35b61053e60048036038101906105399190611f43565b610d6e565b60405161054b9190612141565b60405180910390f35b61056e600480360381019061056991906121fd565b610e00565b60405161057b9190611763565b60405180910390f35b61059e60048036038101906105999190611fa6565b610e29565b6040516105ab9190611ef7565b60405180910390f35b6105ce60048036038101906105c99190612066565b610ea9565b6040516105db9190611785565b60405180910390f35b6105fe60048036038101906105f99190611cd7565b610ed1565b60405161060b9190611785565b60405180910390f35b61061c610f16565b6040516106299190611785565b60405180910390f35b61064c60048036038101906106479190612093565b610f44565b6040516106599190611785565b60405180910390f35b61066a610f7d565b6040516106779190611785565b60405180910390f35b610688610fac565b6040516106959190611785565b60405180910390f35b6106b860048036038101906106b39190612246565b610fd7565b6040516106c591906120c0565b60405180910390f35b6106d661101e565b6040516106e391906122b1565b60405180910390f35b60006106f66110e5565b6107038360000151610ed1565b60405180604001604052808660ff168152602001856040516020016107289190611ef7565b604051602081830303815290604052815250915091509250929050565b6060816040516020016107589190611ef7565b6040516020818303038152906040529050919050565b60ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681565b6107a0611102565b600062278d009050604051806101200160405280876bffffffffffffffffffffffff1681526020016107d46201e24061102b565b6bffffffffffffffffffffffff1681526020016107ef611035565b60ff16815260200185858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505081526020018681526020016000815260200186815260200161085c611046565b64ffffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63ef6c0d789091856040518363ffffffff1660e01b815260040161089d9291906122ea565b602060405180830381865af41580156108ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108de9190612328565b64ffffffffff1681526020016108f2611056565b64ffffffffff16815250915050949350505050565b600061091e8260000151610919611067565b611078565b61095d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610954906123a1565b60405180910390fd5b81602001519050919050565b60608160405160200161097c9190611a33565b6040516020818303038152906040529050919050565b600061099c611067565b826040516020016109ae9291906123d0565b604051602081830303815290604052805190602001209050919050565b600080600084815260200190815260200160002060000160009054906101000a900460ff1660ff1614610a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2a90612445565b60405180910390fd5b8060008084815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff1602179055506020820151816001019081610a7c9190612667565b5090505060018290806001815401808255809150506001900390600052602060002001600090919091909150555050565b610ab561117b565b8160200151806020019051810190610acd9190612890565b9050919050565b60f881565b60008060008084815260200190815260200160002060000160009054906101000a900460ff1660ff16119050919050565b606081806020019051810190610b209190612949565b9050919050565b600080600084815260200190815260200160002060000160009054906101000a900460ff1660ff1611610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b86906129de565b60405180910390fd5b8060008084815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff1602179055506020820151816001019081610bd89190612667565b509050505050565b610be8611102565b81806020019051810190610bfc9190612b24565b9050919050565b610c0b61117b565b81806020019051810190610c1f9190612890565b9050919050565b60008160001b9050919050565b6000610c3d61108b565b82604051602001610c4f929190612bd9565b604051602081830303815290604052805190602001209050919050565b610c746110e5565b6000808381526020019081526020016000206040518060400160405290816000820160009054906101000a900460ff1660ff1660ff168152602001600182018054610cbe90612494565b80601f0160208091040260200160405190810160405280929190818152602001828054610cea90612494565b8015610d375780601f10610d0c57610100808354040283529160200191610d37565b820191906000526020600020905b815481529060010190602001808311610d1a57829003601f168201915b5050505050815250509050919050565b610d4f611102565b8160200151806020019051810190610d679190612b24565b9050919050565b610d766111d1565b600060f860ff1660ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916841660001c901c9050600060ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916198416905060405180604001604052808360ff1681526020018260ff191681525092505050919050565b606081604051602001610e139190612c41565b6040516020818303038152906040529050919050565b610e3161117b565b6000610e3c8361109c565b90506040518060a001604052808273ffffffffffffffffffffffffffffffffffffffff19168152602001610e6e611035565b60ff168152602001848152602001610e84611046565b64ffffffffff168152602001610e986110ad565b63ffffffff16815250915050919050565b600060018281548110610ebf57610ebe612c58565b5b90600052602060002001549050919050565b600080610edc611067565b60ff16905060008360a01c6bffffffffffffffffffffffff1690508060f860ff16610f079190612cb6565b82901b60001b92505050919050565b600060ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916905090565b6000610f4e61108b565b82604051602001610f60929190612cf9565b604051602081830303815290604052805190602001209050919050565b600060ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191619905090565b60ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161981565b610fdf6110e5565b60405180604001604052808460ff168152602001836040516020016110049190611a33565b604051602081830303815290604052815250905092915050565b6000600180549050905090565b6000819050919050565b600061104160646110bd565b905090565b6000611051426110c7565b905090565b600061106260006110c7565b905090565b600061107360656110d1565b905090565b60008160ff168360ff1614905092915050565b600061109760d26110d1565b905090565b600081805190602001209050919050565b60006110b8436110db565b905090565b6000819050919050565b6000819050919050565b6000819050919050565b6000819050919050565b6040518060400160405280600060ff168152602001606081525090565b60405180610120016040528060006bffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff168152602001600060ff16815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6040518060a00160405280600073ffffffffffffffffffffffffffffffffffffffff19168152602001600060ff16815260200160608152602001600064ffffffffff168152602001600063ffffffff1681525090565b6040518060400160405280600060ff168152602001600060ff191681525090565b6000604051905090565b600080fd5b600080fd5b600060ff82169050919050565b61121c81611206565b811461122757600080fd5b50565b60008135905061123981611213565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61128d82611244565b810181811067ffffffffffffffff821117156112ac576112ab611255565b5b80604052505050565b60006112bf6111f2565b90506112cb8282611284565b919050565b600080fd5b60007fffffffffffffffffffffffff000000000000000000000000000000000000000082169050919050565b61130a816112d5565b811461131557600080fd5b50565b60008135905061132781611301565b92915050565b61133681611206565b811461134157600080fd5b50565b6000813590506113538161132d565b92915050565b600080fd5b600080fd5b600067ffffffffffffffff82111561137e5761137d611255565b5b61138782611244565b9050602081019050919050565b82818337600083830152505050565b60006113b66113b184611363565b6112b5565b9050828152602081018484840111156113d2576113d161135e565b5b6113dd848285611394565b509392505050565b600082601f8301126113fa576113f9611359565b5b813561140a8482602086016113a3565b91505092915050565b600064ffffffffff82169050919050565b61142d81611413565b811461143857600080fd5b50565b60008135905061144a81611424565b92915050565b600063ffffffff82169050919050565b61146981611450565b811461147457600080fd5b50565b60008135905061148681611460565b92915050565b600060a082840312156114a2576114a161123f565b5b6114ac60a06112b5565b905060006114bc84828501611318565b60008301525060206114d084828501611344565b602083015250604082013567ffffffffffffffff8111156114f4576114f36112d0565b5b611500848285016113e5565b60408301525060606115148482850161143b565b606083015250608061152884828501611477565b60808301525092915050565b6000806040838503121561154b5761154a6111fc565b5b60006115598582860161122a565b925050602083013567ffffffffffffffff81111561157a57611579611201565b5b6115868582860161148c565b9150509250929050565b6000819050919050565b6115a381611590565b82525050565b6000819050919050565b60006115ce6115c96115c484611206565b6115a9565b611206565b9050919050565b6115de816115b3565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561161e578082015181840152602081019050611603565b60008484015250505050565b6000611635826115e4565b61163f81856115ef565b935061164f818560208601611600565b61165881611244565b840191505092915050565b600060408301600083015161167b60008601826115d5565b5060208301518482036020860152611693828261162a565b9150508091505092915050565b60006040820190506116b5600083018561159a565b81810360208301526116c78184611663565b90509392505050565b6000602082840312156116e6576116e56111fc565b5b600082013567ffffffffffffffff81111561170457611703611201565b5b6117108482850161148c565b91505092915050565b600082825260208201905092915050565b6000611735826115e4565b61173f8185611719565b935061174f818560208601611600565b61175881611244565b840191505092915050565b6000602082019050818103600083015261177d818461172a565b905092915050565b600060208201905061179a600083018461159a565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6117c1816117a0565b81146117cc57600080fd5b50565b6000813590506117de816117b8565b92915050565b6000819050919050565b6117f7816117e4565b811461180257600080fd5b50565b600081359050611814816117ee565b92915050565b600080fd5b600080fd5b60008083601f84011261183a57611839611359565b5b8235905067ffffffffffffffff8111156118575761185661181a565b5b6020830191508360018202830111156118735761187261181f565b5b9250929050565b60008060008060608587031215611894576118936111fc565b5b60006118a2878288016117cf565b94505060206118b387828801611805565b935050604085013567ffffffffffffffff8111156118d4576118d3611201565b5b6118e087828801611824565b925092505092959194509250565b60006119096119046118ff846117a0565b6115a9565b6117a0565b9050919050565b611919816118ee565b82525050565b611928816115b3565b82525050565b611937816117e4565b82525050565b600061195861195361194e84611413565b6115a9565b611413565b9050919050565b6119688161193d565b82525050565b6000610120830160008301516119876000860182611910565b50602083015161199a6020860182611910565b5060408301516119ad604086018261191f565b50606083015184820360608601526119c5828261162a565b91505060808301516119da608086018261192e565b5060a08301516119ed60a086018261192e565b5060c0830151611a0060c086018261192e565b5060e0830151611a1360e086018261195f565b50610100830151611a2861010086018261195f565b508091505092915050565b60006020820190508181036000830152611a4d818461196e565b905092915050565b611a5e81611206565b8114611a6957600080fd5b50565b600081359050611a7b81611a55565b92915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082169050919050565b611ab681611a81565b8114611ac157600080fd5b50565b600081359050611ad381611aad565b92915050565b600060408284031215611aef57611aee61123f565b5b611af960406112b5565b90506000611b0984828501611a6c565b6000830152506020611b1d84828501611ac4565b60208301525092915050565b600060408284031215611b3f57611b3e6111fc565b5b6000611b4d84828501611ad9565b91505092915050565b6000611b61826112d5565b9050919050565b611b7181611b56565b82525050565b6000602082019050611b8c6000830184611b68565b92915050565b60006101208284031215611ba957611ba861123f565b5b611bb46101206112b5565b90506000611bc4848285016117cf565b6000830152506020611bd8848285016117cf565b6020830152506040611bec84828501611344565b604083015250606082013567ffffffffffffffff811115611c1057611c0f6112d0565b5b611c1c848285016113e5565b6060830152506080611c3084828501611805565b60808301525060a0611c4484828501611805565b60a08301525060c0611c5884828501611805565b60c08301525060e0611c6c8482850161143b565b60e083015250610100611c818482850161143b565b6101008301525092915050565b600060208284031215611ca457611ca36111fc565b5b600082013567ffffffffffffffff811115611cc257611cc1611201565b5b611cce84828501611b92565b91505092915050565b600060208284031215611ced57611cec6111fc565b5b6000611cfb84828501611318565b91505092915050565b611d0d81611590565b8114611d1857600080fd5b50565b600081359050611d2a81611d04565b92915050565b600060408284031215611d4657611d4561123f565b5b611d5060406112b5565b90506000611d608482850161122a565b600083015250602082013567ffffffffffffffff811115611d8457611d836112d0565b5b611d90848285016113e5565b60208301525092915050565b60008060408385031215611db357611db26111fc565b5b6000611dc185828601611d1b565b925050602083013567ffffffffffffffff811115611de257611de1611201565b5b611dee85828601611d30565b9150509250929050565b600060208284031215611e0e57611e0d6111fc565b5b600082013567ffffffffffffffff811115611e2c57611e2b611201565b5b611e3884828501611d30565b91505092915050565b611e4a81611b56565b82525050565b6000611e6b611e66611e6184611450565b6115a9565b611450565b9050919050565b611e7b81611e50565b82525050565b600060a083016000830151611e996000860182611e41565b506020830151611eac602086018261191f565b5060408301518482036040860152611ec4828261162a565b9150506060830151611ed9606086018261195f565b506080830151611eec6080860182611e72565b508091505092915050565b60006020820190508181036000830152611f118184611e81565b905092915050565b611f2281611206565b82525050565b6000602082019050611f3d6000830184611f19565b92915050565b600060208284031215611f5957611f586111fc565b5b6000611f6784828501611d1b565b91505092915050565b60008115159050919050565b611f8581611f70565b82525050565b6000602082019050611fa06000830184611f7c565b92915050565b600060208284031215611fbc57611fbb6111fc565b5b600082013567ffffffffffffffff811115611fda57611fd9611201565b5b611fe6848285016113e5565b91505092915050565b600081519050919050565b600082825260208201905092915050565b600061201682611fef565b6120208185611ffa565b9350612030818560208601611600565b61203981611244565b840191505092915050565b6000602082019050818103600083015261205e818461200b565b905092915050565b60006020828403121561207c5761207b6111fc565b5b600061208a84828501611805565b91505092915050565b6000602082840312156120a9576120a86111fc565b5b60006120b7848285016117cf565b91505092915050565b600060208201905081810360008301526120da8184611663565b905092915050565b6120eb816115b3565b82525050565b60006120fc82611a81565b9050919050565b61210c816120f1565b82525050565b60408201600082015161212860008501826120e2565b50602082015161213b6020850182612103565b50505050565b60006040820190506121566000830184612112565b92915050565b600067ffffffffffffffff82111561217757612176611255565b5b61218082611244565b9050602081019050919050565b60006121a061219b8461215c565b6112b5565b9050828152602081018484840111156121bc576121bb61135e565b5b6121c7848285611394565b509392505050565b600082601f8301126121e4576121e3611359565b5b81356121f484826020860161218d565b91505092915050565b600060208284031215612213576122126111fc565b5b600082013567ffffffffffffffff81111561223157612230611201565b5b61223d848285016121cf565b91505092915050565b6000806040838503121561225d5761225c6111fc565b5b600061226b8582860161122a565b925050602083013567ffffffffffffffff81111561228c5761228b611201565b5b61229885828601611b92565b9150509250929050565b6122ab816117e4565b82525050565b60006020820190506122c660008301846122a2565b92915050565b6122d58161193d565b82525050565b6122e4816117e4565b82525050565b60006040820190506122ff60008301856122cc565b61230c60208301846122db565b9392505050565b60008151905061232281611424565b92915050565b60006020828403121561233e5761233d6111fc565b5b600061234c84828501612313565b91505092915050565b7f4552524f525f4e4f545f5249534b5f4b45590000000000000000000000000000600082015250565b600061238b601283611ffa565b915061239682612355565b602082019050919050565b600060208201905081810360008301526123ba8161237e565b9050919050565b6123ca816115b3565b82525050565b60006040820190506123e560008301856123c1565b6123f26020830184611b68565b9392505050565b7f4552524f525f4b45595f55534544000000000000000000000000000000000000600082015250565b600061242f600e83611ffa565b915061243a826123f9565b602082019050919050565b6000602082019050818103600083015261245e81612422565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806124ac57607f821691505b6020821081036124bf576124be612465565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026125277fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826124ea565b61253186836124ea565b95508019841693508086168417925050509392505050565b600061256461255f61255a846117e4565b6115a9565b6117e4565b9050919050565b6000819050919050565b61257e83612549565b61259261258a8261256b565b8484546124f7565b825550505050565b600090565b6125a761259a565b6125b2818484612575565b505050565b5b818110156125d6576125cb60008261259f565b6001810190506125b8565b5050565b601f82111561261b576125ec816124c5565b6125f5846124da565b81016020851015612604578190505b612618612610856124da565b8301826125b7565b50505b505050565b600082821c905092915050565b600061263e60001984600802612620565b1980831691505092915050565b6000612657838361262d565b9150826002028217905092915050565b612670826115e4565b67ffffffffffffffff81111561268957612688611255565b5b6126938254612494565b61269e8282856125da565b600060209050601f8311600181146126d157600084156126bf578287015190505b6126c9858261264b565b865550612731565b601f1984166126df866124c5565b60005b82811015612707578489015182556001820191506020850194506020810190506126e2565b868310156127245784890151612720601f89168261262d565b8355505b6001600288020188555050505b505050505050565b60008151905061274881611301565b92915050565b60008151905061275d8161132d565b92915050565b600061277661277184611363565b6112b5565b9050828152602081018484840111156127925761279161135e565b5b61279d848285611600565b509392505050565b600082601f8301126127ba576127b9611359565b5b81516127ca848260208601612763565b91505092915050565b6000815190506127e281611460565b92915050565b600060a082840312156127fe576127fd61123f565b5b61280860a06112b5565b9050600061281884828501612739565b600083015250602061282c8482850161274e565b602083015250604082015167ffffffffffffffff8111156128505761284f6112d0565b5b61285c848285016127a5565b604083015250606061287084828501612313565b6060830152506080612884848285016127d3565b60808301525092915050565b6000602082840312156128a6576128a56111fc565b5b600082015167ffffffffffffffff8111156128c4576128c3611201565b5b6128d0848285016127e8565b91505092915050565b60006128ec6128e78461215c565b6112b5565b9050828152602081018484840111156129085761290761135e565b5b612913848285611600565b509392505050565b600082601f8301126129305761292f611359565b5b81516129408482602086016128d9565b91505092915050565b60006020828403121561295f5761295e6111fc565b5b600082015167ffffffffffffffff81111561297d5761297c611201565b5b6129898482850161291b565b91505092915050565b7f4552524f525f4b45595f554e4b4e4f574e000000000000000000000000000000600082015250565b60006129c8601183611ffa565b91506129d382612992565b602082019050919050565b600060208201905081810360008301526129f7816129bb565b9050919050565b600081519050612a0d816117b8565b92915050565b600081519050612a22816117ee565b92915050565b60006101208284031215612a3f57612a3e61123f565b5b612a4a6101206112b5565b90506000612a5a848285016129fe565b6000830152506020612a6e848285016129fe565b6020830152506040612a828482850161274e565b604083015250606082015167ffffffffffffffff811115612aa657612aa56112d0565b5b612ab2848285016127a5565b6060830152506080612ac684828501612a13565b60808301525060a0612ada84828501612a13565b60a08301525060c0612aee84828501612a13565b60c08301525060e0612b0284828501612313565b60e083015250610100612b1784828501612313565b6101008301525092915050565b600060208284031215612b3a57612b396111fc565b5b600082015167ffffffffffffffff811115612b5857612b57611201565b5b612b6484828501612a28565b91505092915050565b60008160f81b9050919050565b6000612b8582612b6d565b9050919050565b612b9d612b98826115b3565b612b7a565b82525050565b60008160a01b9050919050565b6000612bbb82612ba3565b9050919050565b612bd3612bce826118ee565b612bb0565b82525050565b6000612be58285612b8c565b600182019150612bf58284612bc2565b600c820191508190509392505050565b600081905092915050565b6000612c1b82611fef565b612c258185612c05565b9350612c35818560208601611600565b80840191505092915050565b6000612c4d8284612c10565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612cc1826117e4565b9150612ccc836117e4565b9250828201905080821115612ce457612ce3612c87565b5b92915050565b612cf3816118ee565b82525050565b6000604082019050612d0e60008301856123c1565b612d1b6020830184612cea565b939250505056fea26469706673582212202163ec94fb595dbbd39b56337074a1424c037605b8317f2e0bc513c734e071d364736f6c63430008140033",
1043
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101da5760003560e01c806373aafb5311610104578063bb5b27e1116100a2578063d546ecf411610071578063d546ecf414610662578063d92bb60d14610680578063ea27fd501461069e578063ee1ce841146106ce576101da565b8063bb5b27e1146105b4578063bc2d00a7146105e4578063c3b6d3d714610614578063d238106f14610632576101da565b8063904d2c5f116100de578063904d2c5f146104f4578063a4dc7d8614610524578063b028ee1314610554578063ba0d69f614610584576101da565b806373aafb5314610464578063772391f3146104945780638eaa6ac0146104c4576101da565b806326b416c71161017c57806345414df11161014b57806345414df1146103b857806345d5c235146103e85780635e464ef7146104045780636f93bf6d14610434576101da565b806326b416c71461031e578063277ec8fb1461033a57806329e9b2261461036a57806338a699a414610388576101da565b806317181d3b116101b857806317181d3b1461025e5780631784cac91461028e57806318f08d24146102be57806322917a30146102ee576101da565b80630140cb3c146101df5780630b76bb6e146102105780630f94cc5014610240575b600080fd5b6101f960048036038101906101f49190611534565b6106ec565b6040516102079291906116a0565b60405180910390f35b61022a600480360381019061022591906116d0565b610745565b6040516102379190611763565b60405180910390f35b61024861076e565b6040516102559190611785565b60405180910390f35b6102786004803603810190610273919061187a565b610798565b6040516102859190611a33565b60405180910390f35b6102a860048036038101906102a39190611b29565b610907565b6040516102b59190611b77565b60405180910390f35b6102d860048036038101906102d39190611c8e565b610969565b6040516102e59190611763565b60405180910390f35b61030860048036038101906103039190611cd7565b610992565b6040516103159190611785565b60405180910390f35b61033860048036038101906103339190611d9c565b6109cb565b005b610354600480360381019061034f9190611df8565b610aad565b6040516103619190611ef7565b60405180910390f35b610372610ad4565b60405161037f9190611f28565b60405180910390f35b6103a2600480360381019061039d9190611f43565b610ad9565b6040516103af9190611f8b565b60405180910390f35b6103d260048036038101906103cd9190611fa6565b610b0a565b6040516103df9190612044565b60405180910390f35b61040260048036038101906103fd9190611d9c565b610b27565b005b61041e60048036038101906104199190611fa6565b610be0565b60405161042b9190611a33565b60405180910390f35b61044e60048036038101906104499190611fa6565b610c03565b60405161045b9190611ef7565b60405180910390f35b61047e60048036038101906104799190612066565b610c26565b60405161048b9190611785565b60405180910390f35b6104ae60048036038101906104a99190612093565b610c33565b6040516104bb9190611785565b60405180910390f35b6104de60048036038101906104d99190611f43565b610c6c565b6040516104eb91906120c0565b60405180910390f35b61050e60048036038101906105099190611df8565b610d47565b60405161051b9190611a33565b60405180910390f35b61053e60048036038101906105399190611f43565b610d6e565b60405161054b9190612141565b60405180910390f35b61056e600480360381019061056991906121fd565b610e00565b60405161057b9190611763565b60405180910390f35b61059e60048036038101906105999190611fa6565b610e29565b6040516105ab9190611ef7565b60405180910390f35b6105ce60048036038101906105c99190612066565b610ea9565b6040516105db9190611785565b60405180910390f35b6105fe60048036038101906105f99190611cd7565b610ed1565b60405161060b9190611785565b60405180910390f35b61061c610f16565b6040516106299190611785565b60405180910390f35b61064c60048036038101906106479190612093565b610f44565b6040516106599190611785565b60405180910390f35b61066a610f7d565b6040516106779190611785565b60405180910390f35b610688610fac565b6040516106959190611785565b60405180910390f35b6106b860048036038101906106b39190612246565b610fd7565b6040516106c591906120c0565b60405180910390f35b6106d661101e565b6040516106e391906122b1565b60405180910390f35b60006106f66110e5565b6107038360000151610ed1565b60405180604001604052808660ff168152602001856040516020016107289190611ef7565b604051602081830303815290604052815250915091509250929050565b6060816040516020016107589190611ef7565b6040516020818303038152906040529050919050565b60ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681565b6107a0611102565b600062278d009050604051806101200160405280876bffffffffffffffffffffffff1681526020016107d46201e24061102b565b6bffffffffffffffffffffffff1681526020016107ef611035565b60ff16815260200185858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505081526020018681526020016000815260200186815260200161085c611046565b64ffffffffff1673__$d53880c81dc91c20799140d711e5ab8718$__63ef6c0d789091856040518363ffffffff1660e01b815260040161089d9291906122ea565b602060405180830381865af41580156108ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108de9190612328565b64ffffffffff1681526020016108f2611056565b64ffffffffff16815250915050949350505050565b600061091e8260000151610919611067565b611078565b61095d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610954906123a1565b60405180910390fd5b81602001519050919050565b60608160405160200161097c9190611a33565b6040516020818303038152906040529050919050565b600061099c611067565b826040516020016109ae9291906123d0565b604051602081830303815290604052805190602001209050919050565b600080600084815260200190815260200160002060000160009054906101000a900460ff1660ff1614610a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2a90612445565b60405180910390fd5b8060008084815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff1602179055506020820151816001019081610a7c9190612667565b5090505060018290806001815401808255809150506001900390600052602060002001600090919091909150555050565b610ab561117b565b8160200151806020019051810190610acd9190612890565b9050919050565b60f881565b60008060008084815260200190815260200160002060000160009054906101000a900460ff1660ff16119050919050565b606081806020019051810190610b209190612949565b9050919050565b600080600084815260200190815260200160002060000160009054906101000a900460ff1660ff1611610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b86906129de565b60405180910390fd5b8060008084815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff1602179055506020820151816001019081610bd89190612667565b509050505050565b610be8611102565b81806020019051810190610bfc9190612b24565b9050919050565b610c0b61117b565b81806020019051810190610c1f9190612890565b9050919050565b60008160001b9050919050565b6000610c3d61108b565b82604051602001610c4f929190612bd9565b604051602081830303815290604052805190602001209050919050565b610c746110e5565b6000808381526020019081526020016000206040518060400160405290816000820160009054906101000a900460ff1660ff1660ff168152602001600182018054610cbe90612494565b80601f0160208091040260200160405190810160405280929190818152602001828054610cea90612494565b8015610d375780601f10610d0c57610100808354040283529160200191610d37565b820191906000526020600020905b815481529060010190602001808311610d1a57829003601f168201915b5050505050815250509050919050565b610d4f611102565b8160200151806020019051810190610d679190612b24565b9050919050565b610d766111d1565b600060f860ff1660ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916841660001c901c9050600060ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916198416905060405180604001604052808360ff1681526020018260ff191681525092505050919050565b606081604051602001610e139190612c41565b6040516020818303038152906040529050919050565b610e3161117b565b6000610e3c8361109c565b90506040518060a001604052808273ffffffffffffffffffffffffffffffffffffffff19168152602001610e6e611035565b60ff168152602001848152602001610e84611046565b64ffffffffff168152602001610e986110ad565b63ffffffff16815250915050919050565b600060018281548110610ebf57610ebe612c58565b5b90600052602060002001549050919050565b600080610edc611067565b60ff16905060008360a01c6bffffffffffffffffffffffff1690508060f860ff16610f079190612cb6565b82901b60001b92505050919050565b600060ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916905090565b6000610f4e61108b565b82604051602001610f60929190612cf9565b604051602081830303815290604052805190602001209050919050565b600060ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191619905090565b60ff60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161981565b610fdf6110e5565b60405180604001604052808460ff168152602001836040516020016110049190611a33565b604051602081830303815290604052815250905092915050565b6000600180549050905090565b6000819050919050565b600061104160646110bd565b905090565b6000611051426110c7565b905090565b600061106260006110c7565b905090565b600061107360656110d1565b905090565b60008160ff168360ff1614905092915050565b600061109760d26110d1565b905090565b600081805190602001209050919050565b60006110b8436110db565b905090565b6000819050919050565b6000819050919050565b6000819050919050565b6000819050919050565b6040518060400160405280600060ff168152602001606081525090565b60405180610120016040528060006bffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff168152602001600060ff16815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b6040518060a00160405280600073ffffffffffffffffffffffffffffffffffffffff19168152602001600060ff16815260200160608152602001600064ffffffffff168152602001600063ffffffff1681525090565b6040518060400160405280600060ff168152602001600060ff191681525090565b6000604051905090565b600080fd5b600080fd5b600060ff82169050919050565b61121c81611206565b811461122757600080fd5b50565b60008135905061123981611213565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61128d82611244565b810181811067ffffffffffffffff821117156112ac576112ab611255565b5b80604052505050565b60006112bf6111f2565b90506112cb8282611284565b919050565b600080fd5b60007fffffffffffffffffffffffff000000000000000000000000000000000000000082169050919050565b61130a816112d5565b811461131557600080fd5b50565b60008135905061132781611301565b92915050565b61133681611206565b811461134157600080fd5b50565b6000813590506113538161132d565b92915050565b600080fd5b600080fd5b600067ffffffffffffffff82111561137e5761137d611255565b5b61138782611244565b9050602081019050919050565b82818337600083830152505050565b60006113b66113b184611363565b6112b5565b9050828152602081018484840111156113d2576113d161135e565b5b6113dd848285611394565b509392505050565b600082601f8301126113fa576113f9611359565b5b813561140a8482602086016113a3565b91505092915050565b600064ffffffffff82169050919050565b61142d81611413565b811461143857600080fd5b50565b60008135905061144a81611424565b92915050565b600063ffffffff82169050919050565b61146981611450565b811461147457600080fd5b50565b60008135905061148681611460565b92915050565b600060a082840312156114a2576114a161123f565b5b6114ac60a06112b5565b905060006114bc84828501611318565b60008301525060206114d084828501611344565b602083015250604082013567ffffffffffffffff8111156114f4576114f36112d0565b5b611500848285016113e5565b60408301525060606115148482850161143b565b606083015250608061152884828501611477565b60808301525092915050565b6000806040838503121561154b5761154a6111fc565b5b60006115598582860161122a565b925050602083013567ffffffffffffffff81111561157a57611579611201565b5b6115868582860161148c565b9150509250929050565b6000819050919050565b6115a381611590565b82525050565b6000819050919050565b60006115ce6115c96115c484611206565b6115a9565b611206565b9050919050565b6115de816115b3565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561161e578082015181840152602081019050611603565b60008484015250505050565b6000611635826115e4565b61163f81856115ef565b935061164f818560208601611600565b61165881611244565b840191505092915050565b600060408301600083015161167b60008601826115d5565b5060208301518482036020860152611693828261162a565b9150508091505092915050565b60006040820190506116b5600083018561159a565b81810360208301526116c78184611663565b90509392505050565b6000602082840312156116e6576116e56111fc565b5b600082013567ffffffffffffffff81111561170457611703611201565b5b6117108482850161148c565b91505092915050565b600082825260208201905092915050565b6000611735826115e4565b61173f8185611719565b935061174f818560208601611600565b61175881611244565b840191505092915050565b6000602082019050818103600083015261177d818461172a565b905092915050565b600060208201905061179a600083018461159a565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6117c1816117a0565b81146117cc57600080fd5b50565b6000813590506117de816117b8565b92915050565b6000819050919050565b6117f7816117e4565b811461180257600080fd5b50565b600081359050611814816117ee565b92915050565b600080fd5b600080fd5b60008083601f84011261183a57611839611359565b5b8235905067ffffffffffffffff8111156118575761185661181a565b5b6020830191508360018202830111156118735761187261181f565b5b9250929050565b60008060008060608587031215611894576118936111fc565b5b60006118a2878288016117cf565b94505060206118b387828801611805565b935050604085013567ffffffffffffffff8111156118d4576118d3611201565b5b6118e087828801611824565b925092505092959194509250565b60006119096119046118ff846117a0565b6115a9565b6117a0565b9050919050565b611919816118ee565b82525050565b611928816115b3565b82525050565b611937816117e4565b82525050565b600061195861195361194e84611413565b6115a9565b611413565b9050919050565b6119688161193d565b82525050565b6000610120830160008301516119876000860182611910565b50602083015161199a6020860182611910565b5060408301516119ad604086018261191f565b50606083015184820360608601526119c5828261162a565b91505060808301516119da608086018261192e565b5060a08301516119ed60a086018261192e565b5060c0830151611a0060c086018261192e565b5060e0830151611a1360e086018261195f565b50610100830151611a2861010086018261195f565b508091505092915050565b60006020820190508181036000830152611a4d818461196e565b905092915050565b611a5e81611206565b8114611a6957600080fd5b50565b600081359050611a7b81611a55565b92915050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082169050919050565b611ab681611a81565b8114611ac157600080fd5b50565b600081359050611ad381611aad565b92915050565b600060408284031215611aef57611aee61123f565b5b611af960406112b5565b90506000611b0984828501611a6c565b6000830152506020611b1d84828501611ac4565b60208301525092915050565b600060408284031215611b3f57611b3e6111fc565b5b6000611b4d84828501611ad9565b91505092915050565b6000611b61826112d5565b9050919050565b611b7181611b56565b82525050565b6000602082019050611b8c6000830184611b68565b92915050565b60006101208284031215611ba957611ba861123f565b5b611bb46101206112b5565b90506000611bc4848285016117cf565b6000830152506020611bd8848285016117cf565b6020830152506040611bec84828501611344565b604083015250606082013567ffffffffffffffff811115611c1057611c0f6112d0565b5b611c1c848285016113e5565b6060830152506080611c3084828501611805565b60808301525060a0611c4484828501611805565b60a08301525060c0611c5884828501611805565b60c08301525060e0611c6c8482850161143b565b60e083015250610100611c818482850161143b565b6101008301525092915050565b600060208284031215611ca457611ca36111fc565b5b600082013567ffffffffffffffff811115611cc257611cc1611201565b5b611cce84828501611b92565b91505092915050565b600060208284031215611ced57611cec6111fc565b5b6000611cfb84828501611318565b91505092915050565b611d0d81611590565b8114611d1857600080fd5b50565b600081359050611d2a81611d04565b92915050565b600060408284031215611d4657611d4561123f565b5b611d5060406112b5565b90506000611d608482850161122a565b600083015250602082013567ffffffffffffffff811115611d8457611d836112d0565b5b611d90848285016113e5565b60208301525092915050565b60008060408385031215611db357611db26111fc565b5b6000611dc185828601611d1b565b925050602083013567ffffffffffffffff811115611de257611de1611201565b5b611dee85828601611d30565b9150509250929050565b600060208284031215611e0e57611e0d6111fc565b5b600082013567ffffffffffffffff811115611e2c57611e2b611201565b5b611e3884828501611d30565b91505092915050565b611e4a81611b56565b82525050565b6000611e6b611e66611e6184611450565b6115a9565b611450565b9050919050565b611e7b81611e50565b82525050565b600060a083016000830151611e996000860182611e41565b506020830151611eac602086018261191f565b5060408301518482036040860152611ec4828261162a565b9150506060830151611ed9606086018261195f565b506080830151611eec6080860182611e72565b508091505092915050565b60006020820190508181036000830152611f118184611e81565b905092915050565b611f2281611206565b82525050565b6000602082019050611f3d6000830184611f19565b92915050565b600060208284031215611f5957611f586111fc565b5b6000611f6784828501611d1b565b91505092915050565b60008115159050919050565b611f8581611f70565b82525050565b6000602082019050611fa06000830184611f7c565b92915050565b600060208284031215611fbc57611fbb6111fc565b5b600082013567ffffffffffffffff811115611fda57611fd9611201565b5b611fe6848285016113e5565b91505092915050565b600081519050919050565b600082825260208201905092915050565b600061201682611fef565b6120208185611ffa565b9350612030818560208601611600565b61203981611244565b840191505092915050565b6000602082019050818103600083015261205e818461200b565b905092915050565b60006020828403121561207c5761207b6111fc565b5b600061208a84828501611805565b91505092915050565b6000602082840312156120a9576120a86111fc565b5b60006120b7848285016117cf565b91505092915050565b600060208201905081810360008301526120da8184611663565b905092915050565b6120eb816115b3565b82525050565b60006120fc82611a81565b9050919050565b61210c816120f1565b82525050565b60408201600082015161212860008501826120e2565b50602082015161213b6020850182612103565b50505050565b60006040820190506121566000830184612112565b92915050565b600067ffffffffffffffff82111561217757612176611255565b5b61218082611244565b9050602081019050919050565b60006121a061219b8461215c565b6112b5565b9050828152602081018484840111156121bc576121bb61135e565b5b6121c7848285611394565b509392505050565b600082601f8301126121e4576121e3611359565b5b81356121f484826020860161218d565b91505092915050565b600060208284031215612213576122126111fc565b5b600082013567ffffffffffffffff81111561223157612230611201565b5b61223d848285016121cf565b91505092915050565b6000806040838503121561225d5761225c6111fc565b5b600061226b8582860161122a565b925050602083013567ffffffffffffffff81111561228c5761228b611201565b5b61229885828601611b92565b9150509250929050565b6122ab816117e4565b82525050565b60006020820190506122c660008301846122a2565b92915050565b6122d58161193d565b82525050565b6122e4816117e4565b82525050565b60006040820190506122ff60008301856122cc565b61230c60208301846122db565b9392505050565b60008151905061232281611424565b92915050565b60006020828403121561233e5761233d6111fc565b5b600061234c84828501612313565b91505092915050565b7f4552524f525f4e4f545f5249534b5f4b45590000000000000000000000000000600082015250565b600061238b601283611ffa565b915061239682612355565b602082019050919050565b600060208201905081810360008301526123ba8161237e565b9050919050565b6123ca816115b3565b82525050565b60006040820190506123e560008301856123c1565b6123f26020830184611b68565b9392505050565b7f4552524f525f4b45595f55534544000000000000000000000000000000000000600082015250565b600061242f600e83611ffa565b915061243a826123f9565b602082019050919050565b6000602082019050818103600083015261245e81612422565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806124ac57607f821691505b6020821081036124bf576124be612465565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026125277fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826124ea565b61253186836124ea565b95508019841693508086168417925050509392505050565b600061256461255f61255a846117e4565b6115a9565b6117e4565b9050919050565b6000819050919050565b61257e83612549565b61259261258a8261256b565b8484546124f7565b825550505050565b600090565b6125a761259a565b6125b2818484612575565b505050565b5b818110156125d6576125cb60008261259f565b6001810190506125b8565b5050565b601f82111561261b576125ec816124c5565b6125f5846124da565b81016020851015612604578190505b612618612610856124da565b8301826125b7565b50505b505050565b600082821c905092915050565b600061263e60001984600802612620565b1980831691505092915050565b6000612657838361262d565b9150826002028217905092915050565b612670826115e4565b67ffffffffffffffff81111561268957612688611255565b5b6126938254612494565b61269e8282856125da565b600060209050601f8311600181146126d157600084156126bf578287015190505b6126c9858261264b565b865550612731565b601f1984166126df866124c5565b60005b82811015612707578489015182556001820191506020850194506020810190506126e2565b868310156127245784890151612720601f89168261262d565b8355505b6001600288020188555050505b505050505050565b60008151905061274881611301565b92915050565b60008151905061275d8161132d565b92915050565b600061277661277184611363565b6112b5565b9050828152602081018484840111156127925761279161135e565b5b61279d848285611600565b509392505050565b600082601f8301126127ba576127b9611359565b5b81516127ca848260208601612763565b91505092915050565b6000815190506127e281611460565b92915050565b600060a082840312156127fe576127fd61123f565b5b61280860a06112b5565b9050600061281884828501612739565b600083015250602061282c8482850161274e565b602083015250604082015167ffffffffffffffff8111156128505761284f6112d0565b5b61285c848285016127a5565b604083015250606061287084828501612313565b6060830152506080612884848285016127d3565b60808301525092915050565b6000602082840312156128a6576128a56111fc565b5b600082015167ffffffffffffffff8111156128c4576128c3611201565b5b6128d0848285016127e8565b91505092915050565b60006128ec6128e78461215c565b6112b5565b9050828152602081018484840111156129085761290761135e565b5b612913848285611600565b509392505050565b600082601f8301126129305761292f611359565b5b81516129408482602086016128d9565b91505092915050565b60006020828403121561295f5761295e6111fc565b5b600082015167ffffffffffffffff81111561297d5761297c611201565b5b6129898482850161291b565b91505092915050565b7f4552524f525f4b45595f554e4b4e4f574e000000000000000000000000000000600082015250565b60006129c8601183611ffa565b91506129d382612992565b602082019050919050565b600060208201905081810360008301526129f7816129bb565b9050919050565b600081519050612a0d816117b8565b92915050565b600081519050612a22816117ee565b92915050565b60006101208284031215612a3f57612a3e61123f565b5b612a4a6101206112b5565b90506000612a5a848285016129fe565b6000830152506020612a6e848285016129fe565b6020830152506040612a828482850161274e565b604083015250606082015167ffffffffffffffff811115612aa657612aa56112d0565b5b612ab2848285016127a5565b6060830152506080612ac684828501612a13565b60808301525060a0612ada84828501612a13565b60a08301525060c0612aee84828501612a13565b60c08301525060e0612b0284828501612313565b60e083015250610100612b1784828501612313565b6101008301525092915050565b600060208284031215612b3a57612b396111fc565b5b600082015167ffffffffffffffff811115612b5857612b57611201565b5b612b6484828501612a28565b91505092915050565b60008160f81b9050919050565b6000612b8582612b6d565b9050919050565b612b9d612b98826115b3565b612b7a565b82525050565b60008160a01b9050919050565b6000612bbb82612ba3565b9050919050565b612bd3612bce826118ee565b612bb0565b82525050565b6000612be58285612b8c565b600182019150612bf58284612bc2565b600c820191508190509392505050565b600081905092915050565b6000612c1b82611fef565b612c258185612c05565b9350612c35818560208601611600565b80840191505092915050565b6000612c4d8284612c10565b915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612cc1826117e4565b9150612ccc836117e4565b9250828201905080821115612ce457612ce3612c87565b5b92915050565b612cf3816118ee565b82525050565b6000604082019050612d0e60008301856123c1565b612d1b6020830184612cea565b939250505056fea26469706673582212202163ec94fb595dbbd39b56337074a1424c037605b8317f2e0bc513c734e071d364736f6c63430008140033",
1044
- "linkReferences": {
1045
- "contracts/types/Timestamp.sol": {
1046
- "TimestampLib": [
1047
- {
1048
- "length": 20,
1049
- "start": 2181
1050
- }
1051
- ]
1052
- }
1053
- },
1054
- "deployedLinkReferences": {
1055
- "contracts/types/Timestamp.sol": {
1056
- "TimestampLib": [
1057
- {
1058
- "length": 20,
1059
- "start": 2149
1060
- }
1061
- ]
1062
- }
1063
- }
1064
- }