@etherisc/gif-next 0.0.2-de0a1d3-009 → 0.0.2-e1e92ab-754

Sign up to get free protection for your applications and to get access to all the features.
Files changed (263) hide show
  1. package/README.md +51 -25
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +166 -39
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +212 -60
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +119 -39
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -163
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +6 -185
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -163
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +257 -119
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +220 -50
  18. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  35. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  36. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +247 -355
  37. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +1 -1
  38. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  39. package/artifacts/contracts/instance/Instance.sol/Instance.json +369 -507
  40. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  41. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +144 -50
  42. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +1 -1
  44. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/IService.sol/IService.json +120 -40
  48. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +1 -1
  49. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +147 -66
  50. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  51. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  52. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +1 -1
  53. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +1 -1
  54. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +140 -59
  55. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +1 -1
  58. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
  59. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +1 -1
  60. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +1 -1
  61. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +1 -1
  62. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +2 -2
  63. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +1 -1
  64. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +1 -1
  65. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
  66. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -13
  68. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -13
  70. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +29 -9
  73. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
  74. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +28 -8
  75. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +1 -1
  76. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +1 -1
  77. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +1 -1
  78. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +2 -2
  79. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +1 -1
  80. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +1 -1
  81. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +138 -11
  82. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  83. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +2 -2
  84. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +138 -11
  86. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +288 -79
  88. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +188 -65
  90. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +122 -61
  92. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +120 -40
  94. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +120 -40
  96. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +120 -40
  98. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +190 -67
  100. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  101. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +220 -97
  102. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +141 -12
  104. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +5 -0
  106. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  107. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +190 -51
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  109. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +872 -0
  110. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  111. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  112. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  113. package/artifacts/contracts/registry/Registry.sol/Registry.json +380 -139
  114. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1245 -0
  116. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +490 -0
  118. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  119. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  120. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  122. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  123. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
  124. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  125. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +117 -37
  126. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  127. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -2
  128. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  129. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
  130. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  131. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
  132. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  133. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +190 -37
  134. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  135. package/artifacts/contracts/shared/{Proxy.sol/ProxyWithProxyAdminGetter.json → UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json} +4 -4
  136. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  137. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +4 -27
  138. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +1 -1
  139. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +212 -60
  140. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  141. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  142. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +1 -1
  143. package/artifacts/contracts/test/TestPool.sol/TestPool.json +257 -119
  144. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +1 -1
  145. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +225 -56
  146. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  147. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +204 -36
  148. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  149. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  150. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  151. package/artifacts/contracts/test/TestService.sol/TestService.json +187 -69
  152. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  153. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  154. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  156. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +15 -38
  158. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  159. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  160. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  161. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  162. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  163. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  164. package/artifacts/contracts/types/Fee.sol/FeeLib.json +4 -4
  165. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  166. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  167. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  169. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +1 -1
  170. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  172. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  173. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  175. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  176. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  177. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  178. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  179. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  181. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  183. package/contracts/components/BaseComponent.sol +11 -26
  184. package/contracts/components/Distribution.sol +29 -6
  185. package/contracts/components/IBaseComponent.sol +1 -1
  186. package/contracts/components/IDistributionComponent.sol +1 -2
  187. package/contracts/components/IPoolComponent.sol +3 -10
  188. package/contracts/components/IProductComponent.sol +2 -3
  189. package/contracts/components/Pool.sol +84 -73
  190. package/contracts/components/Product.sol +85 -13
  191. package/contracts/instance/IInstance.sol +6 -7
  192. package/contracts/instance/Instance.sol +18 -9
  193. package/contracts/instance/base/ComponentServiceBase.sol +13 -6
  194. package/contracts/instance/base/IInstanceBase.sol +3 -2
  195. package/contracts/instance/base/InstanceBase.sol +6 -8
  196. package/contracts/instance/base/ServiceBase.sol +20 -13
  197. package/contracts/instance/module/component/ComponentModule.sol +4 -3
  198. package/contracts/instance/module/component/IComponent.sol +1 -1
  199. package/contracts/instance/module/policy/IPolicy.sol +1 -1
  200. package/contracts/instance/module/pool/IPoolModule.sol +4 -3
  201. package/contracts/instance/module/pool/PoolModule.sol +12 -7
  202. package/contracts/instance/module/treasury/ITreasury.sol +6 -4
  203. package/contracts/instance/module/treasury/TokenHandler.sol +1 -1
  204. package/contracts/instance/module/treasury/TreasuryModule.sol +23 -30
  205. package/contracts/instance/service/ComponentOwnerService.sol +224 -66
  206. package/contracts/instance/service/DistributionService.sol +6 -11
  207. package/contracts/instance/service/IComponentOwnerService.sol +0 -2
  208. package/contracts/instance/service/PoolService.sol +19 -19
  209. package/contracts/instance/service/ProductService.sol +27 -26
  210. package/contracts/registry/ChainNft.sol +42 -14
  211. package/contracts/registry/IChainNft.sol +2 -1
  212. package/contracts/registry/IRegistry.sol +27 -27
  213. package/contracts/registry/IRegistryService.sol +35 -0
  214. package/contracts/registry/ITransferInterceptor.sol +6 -0
  215. package/contracts/registry/Registry.sol +312 -267
  216. package/contracts/registry/RegistryService.sol +441 -0
  217. package/contracts/registry/RegistryServiceManager.sol +63 -0
  218. package/contracts/shared/ContractDeployerLib.sol +72 -0
  219. package/contracts/shared/INftOwnable.sol +22 -0
  220. package/contracts/shared/IRegisterable.sol +8 -15
  221. package/contracts/shared/IVersionable.sol +40 -9
  222. package/contracts/shared/NftOwnable.sol +136 -0
  223. package/contracts/shared/ProxyManager.sol +94 -0
  224. package/contracts/shared/Registerable.sol +62 -59
  225. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  226. package/contracts/shared/Versionable.sol +109 -61
  227. package/contracts/test/TestDistribution.sol +3 -2
  228. package/contracts/test/TestFee.sol +2 -2
  229. package/contracts/test/TestPool.sol +4 -2
  230. package/contracts/test/TestProduct.sol +4 -2
  231. package/contracts/test/TestRegisterable.sol +5 -6
  232. package/contracts/test/TestService.sol +5 -11
  233. package/contracts/types/Fee.sol +3 -3
  234. package/contracts/types/RoleId.sol +7 -0
  235. package/contracts/types/UFixed.sol +128 -12
  236. package/contracts/types/Version.sol +1 -0
  237. package/package.json +4 -3
  238. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  239. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  240. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  241. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.json +0 -10
  242. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  243. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  244. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  245. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  246. package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.dbg.json +0 -4
  247. package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.json +0 -724
  248. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  249. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  250. package/artifacts/contracts/shared/Proxy.sol/ProxyDeployer.dbg.json +0 -4
  251. package/artifacts/contracts/shared/Proxy.sol/ProxyDeployer.json +0 -248
  252. package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.dbg.json +0 -4
  253. package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.dbg.json +0 -4
  254. package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.json +0 -228
  255. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  256. package/contracts/experiment/statemachine/README.md +0 -112
  257. package/contracts/instance/module/access/Access.sol +0 -149
  258. package/contracts/instance/module/access/IAccess.sol +0 -53
  259. package/contracts/registry/IRegistryLinked.sol +0 -8
  260. package/contracts/registry/RegistryUpgradeable.sol +0 -473
  261. package/contracts/shared/IOwnable.sol +0 -6
  262. package/contracts/shared/Proxy.sol +0 -94
  263. package/contracts/shared/VersionableUpgradeable.sol +0 -133
@@ -20,6 +20,11 @@
20
20
  "name": "token",
21
21
  "type": "address"
22
22
  },
23
+ {
24
+ "internalType": "bool",
25
+ "name": "isInterceptor",
26
+ "type": "bool"
27
+ },
23
28
  {
24
29
  "internalType": "address",
25
30
  "name": "pool",
@@ -63,11 +68,120 @@
63
68
  "internalType": "struct Fee",
64
69
  "name": "processingFee",
65
70
  "type": "tuple"
71
+ },
72
+ {
73
+ "internalType": "address",
74
+ "name": "initialOwner",
75
+ "type": "address"
66
76
  }
67
77
  ],
68
78
  "stateMutability": "nonpayable",
69
79
  "type": "constructor"
70
80
  },
81
+ {
82
+ "inputs": [
83
+ {
84
+ "internalType": "address",
85
+ "name": "registry",
86
+ "type": "address"
87
+ },
88
+ {
89
+ "internalType": "NftId",
90
+ "name": "nftId",
91
+ "type": "uint96"
92
+ }
93
+ ],
94
+ "name": "ErrorAlreadyLinked",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "address",
101
+ "name": "contractAddress",
102
+ "type": "address"
103
+ }
104
+ ],
105
+ "name": "ErrorContractNotRegistered",
106
+ "type": "error"
107
+ },
108
+ {
109
+ "inputs": [
110
+ {
111
+ "internalType": "address",
112
+ "name": "account",
113
+ "type": "address"
114
+ }
115
+ ],
116
+ "name": "ErrorNotOwner",
117
+ "type": "error"
118
+ },
119
+ {
120
+ "inputs": [
121
+ {
122
+ "internalType": "address",
123
+ "name": "registryAddress",
124
+ "type": "address"
125
+ }
126
+ ],
127
+ "name": "ErrorNotRegistry",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [
132
+ {
133
+ "internalType": "address",
134
+ "name": "registryAddress",
135
+ "type": "address"
136
+ }
137
+ ],
138
+ "name": "ErrorRegisterableNotRegistry",
139
+ "type": "error"
140
+ },
141
+ {
142
+ "inputs": [],
143
+ "name": "ErrorRegistryAddressZero",
144
+ "type": "error"
145
+ },
146
+ {
147
+ "inputs": [
148
+ {
149
+ "internalType": "address",
150
+ "name": "registry",
151
+ "type": "address"
152
+ }
153
+ ],
154
+ "name": "ErrorRegistryAlreadyInitialized",
155
+ "type": "error"
156
+ },
157
+ {
158
+ "inputs": [],
159
+ "name": "ErrorRegistryNotInitialized",
160
+ "type": "error"
161
+ },
162
+ {
163
+ "inputs": [],
164
+ "name": "InvalidInitialization",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [],
169
+ "name": "NotInitializing",
170
+ "type": "error"
171
+ },
172
+ {
173
+ "anonymous": false,
174
+ "inputs": [
175
+ {
176
+ "indexed": false,
177
+ "internalType": "uint64",
178
+ "name": "version",
179
+ "type": "uint64"
180
+ }
181
+ ],
182
+ "name": "Initialized",
183
+ "type": "event"
184
+ },
71
185
  {
72
186
  "anonymous": false,
73
187
  "inputs": [
@@ -94,6 +208,19 @@
94
208
  "stateMutability": "view",
95
209
  "type": "function"
96
210
  },
211
+ {
212
+ "inputs": [],
213
+ "name": "REGISTERABLE_LOCATION_V1",
214
+ "outputs": [
215
+ {
216
+ "internalType": "bytes32",
217
+ "name": "",
218
+ "type": "bytes32"
219
+ }
220
+ ],
221
+ "stateMutability": "view",
222
+ "type": "function"
223
+ },
97
224
  {
98
225
  "inputs": [
99
226
  {
@@ -224,19 +351,6 @@
224
351
  "stateMutability": "nonpayable",
225
352
  "type": "function"
226
353
  },
227
- {
228
- "inputs": [],
229
- "name": "getData",
230
- "outputs": [
231
- {
232
- "internalType": "bytes",
233
- "name": "data",
234
- "type": "bytes"
235
- }
236
- ],
237
- "stateMutability": "view",
238
- "type": "function"
239
- },
240
354
  {
241
355
  "inputs": [],
242
356
  "name": "getDefaultRiskId",
@@ -263,6 +377,61 @@
263
377
  "stateMutability": "view",
264
378
  "type": "function"
265
379
  },
380
+ {
381
+ "inputs": [],
382
+ "name": "getInitialInfo",
383
+ "outputs": [
384
+ {
385
+ "components": [
386
+ {
387
+ "internalType": "NftId",
388
+ "name": "nftId",
389
+ "type": "uint96"
390
+ },
391
+ {
392
+ "internalType": "NftId",
393
+ "name": "parentNftId",
394
+ "type": "uint96"
395
+ },
396
+ {
397
+ "internalType": "ObjectType",
398
+ "name": "objectType",
399
+ "type": "uint8"
400
+ },
401
+ {
402
+ "internalType": "bool",
403
+ "name": "isInterceptor",
404
+ "type": "bool"
405
+ },
406
+ {
407
+ "internalType": "address",
408
+ "name": "objectAddress",
409
+ "type": "address"
410
+ },
411
+ {
412
+ "internalType": "address",
413
+ "name": "initialOwner",
414
+ "type": "address"
415
+ },
416
+ {
417
+ "internalType": "bytes",
418
+ "name": "data",
419
+ "type": "bytes"
420
+ }
421
+ ],
422
+ "internalType": "struct IRegistry.ObjectInfo",
423
+ "name": "",
424
+ "type": "tuple"
425
+ },
426
+ {
427
+ "internalType": "bytes",
428
+ "name": "",
429
+ "type": "bytes"
430
+ }
431
+ ],
432
+ "stateMutability": "view",
433
+ "type": "function"
434
+ },
266
435
  {
267
436
  "inputs": [],
268
437
  "name": "getInstance",
@@ -282,7 +451,7 @@
282
451
  "outputs": [
283
452
  {
284
453
  "internalType": "NftId",
285
- "name": "nftId",
454
+ "name": "",
286
455
  "type": "uint96"
287
456
  }
288
457
  ],
@@ -295,26 +464,13 @@
295
464
  "outputs": [
296
465
  {
297
466
  "internalType": "address",
298
- "name": "owner",
467
+ "name": "",
299
468
  "type": "address"
300
469
  }
301
470
  ],
302
471
  "stateMutability": "view",
303
472
  "type": "function"
304
473
  },
305
- {
306
- "inputs": [],
307
- "name": "getParentNftId",
308
- "outputs": [
309
- {
310
- "internalType": "NftId",
311
- "name": "nftId",
312
- "type": "uint96"
313
- }
314
- ],
315
- "stateMutability": "view",
316
- "type": "function"
317
- },
318
474
  {
319
475
  "inputs": [],
320
476
  "name": "getPoolNftId",
@@ -384,7 +540,7 @@
384
540
  "outputs": [
385
541
  {
386
542
  "internalType": "contract IRegistry",
387
- "name": "registry",
543
+ "name": "",
388
544
  "type": "address"
389
545
  }
390
546
  ],
@@ -404,19 +560,6 @@
404
560
  "stateMutability": "view",
405
561
  "type": "function"
406
562
  },
407
- {
408
- "inputs": [],
409
- "name": "getType",
410
- "outputs": [
411
- {
412
- "internalType": "ObjectType",
413
- "name": "",
414
- "type": "uint8"
415
- }
416
- ],
417
- "stateMutability": "pure",
418
- "type": "function"
419
- },
420
563
  {
421
564
  "inputs": [],
422
565
  "name": "getWallet",
@@ -432,21 +575,15 @@
432
575
  },
433
576
  {
434
577
  "inputs": [],
435
- "name": "lock",
578
+ "name": "linkToRegisteredNftId",
436
579
  "outputs": [],
437
580
  "stateMutability": "nonpayable",
438
581
  "type": "function"
439
582
  },
440
583
  {
441
584
  "inputs": [],
442
- "name": "register",
443
- "outputs": [
444
- {
445
- "internalType": "NftId",
446
- "name": "componentId",
447
- "type": "uint96"
448
- }
449
- ],
585
+ "name": "lock",
586
+ "outputs": [],
450
587
  "stateMutability": "nonpayable",
451
588
  "type": "function"
452
589
  },
@@ -542,14 +679,26 @@
542
679
  "type": "function"
543
680
  }
544
681
  ],
545
- "bytecode": "0x60e06040523480156200001157600080fd5b506040516200213d3803806200213d833981016040819052620000349162000711565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558686868686868686868682826001600160a01b038216620000d85760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa15801562000128573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200014e9190620007b3565b6200019c5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000cf565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021a9190620007b3565b620002745760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000cf565b3360c052631dfba64760e11b60009081526020527f95e5a2564f7af40498dc043c6da135e06324c5edb1f60c2bf4dcdf2da207fa45805460ff1916600117905550506080516040516305247a1760e51b81526001600160601b03841660048201526000916001600160a01b03169063a48f42e090602401600060405180830381865afa15801562000309573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200033391908101906200086b565b6060810151600580546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152630de7806f60e41b6004820152919250906301ffc9a790602401602060405180830381865afa1580156200039b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003c19190620007b3565b620003e95760405162461bcd60e51b81526020600482015260006024820152604401620000cf565b600560009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200043d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000463919062000945565b600180546001600160a01b039283166001600160a01b0319918216179091556003805482163017905560048054928516929091169190911781556005805460ff60a01b1916905560408051632bd182d360e01b8152815173__$a23651848365a6a5ca15f07b4331037f48$__93632bd182d39383820193909291908290030181865af4158015620004f8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200051e919062000965565b805160065560209081015160075560055460408051634288121d60e01b815290516001600160a01b039092169650634288121d9550600480820195509293509091908290030181865afa1580156200057a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005a0919062000945565b600880546001600160a01b03199081166001600160a01b039384161790915560098054821696831696909617909555600a80549095169316929092179092558151600b55602091820151600c558051600d550151600e55506200098498505050505050505050565b6001600160a01b03811681146200061e57600080fd5b50565b80516200062e8162000608565b919050565b80516001600160601b03811681146200062e57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b03811182821017156200068657620006866200064b565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620006b757620006b76200064b565b604052919050565b600060408284031215620006d257600080fd5b604080519081016001600160401b0381118282101715620006f757620006f76200064b565b604052825181526020928301519281019290925250919050565b6000806000806000806000610120888a0312156200072e57600080fd5b87516200073b8162000608565b96506200074b6020890162000633565b955060408801516200075d8162000608565b6060890151909550620007708162000608565b6080890151909450620007838162000608565b9250620007948960a08a01620006bf565b9150620007a58960e08a01620006bf565b905092959891949750929550565b600060208284031215620007c657600080fd5b81518015158114620007d757600080fd5b9392505050565b600082601f830112620007f057600080fd5b81516001600160401b038111156200080c576200080c6200064b565b602062000822601f8301601f191682016200068c565b82815285828487010111156200083757600080fd5b60005b83811015620008575785810183015182820184015282016200083a565b506000928101909101919091529392505050565b6000602082840312156200087e57600080fd5b81516001600160401b03808211156200089657600080fd5b9083019060c08286031215620008ab57600080fd5b620008b562000661565b620008c08362000633565b8152620008d06020840162000633565b6020820152604083015160ff81168114620008ea57600080fd5b6040820152620008fd6060840162000621565b6060820152620009106080840162000621565b608082015260a0830151828111156200092857600080fd5b6200093687828601620007de565b60a08301525095945050505050565b6000602082840312156200095857600080fd5b8151620007d78162000608565b6000604082840312156200097857600080fd5b620007d78383620006bf565b60805160a05160c051611758620009e560003960006109be0152600061025f0152600081816102b5015281816105c50152818161065b015281816107c4015281816108e60152818161093f01528181610a010152610d4901526117586000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80635e78426b116100de578063abd732ef11610097578063daafed4011610071578063daafed401461038b578063db6dcc9514610393578063de7b5d141461039b578063f83d08ba146103ac57600080fd5b8063abd732ef1461033a578063b6b412ba14610365578063bbfbbfba1461037857600080fd5b80635e78426b146102d9578063630361f6146102ec578063644c45e014610301578063893d20e814610309578063955fd78214610311578063a69df4b51461033257600080fd5b80631bdd6b76116101305780631bdd6b761461024457806321df0da71461024c57806331b62a3b1461025d5780633bc5de30146102835780633f28c2ec146102a05780635ab1bd53146102b357600080fd5b806301ffc9a71461017857806312abb9b3146101ba57806313299604146101db5780631380bf231461020057806315dae03e146102155780631aa3a00814610224575b600080fd5b6101a5610186366004610ff5565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101cd6101c8366004611144565b6103b4565b6040519081526020016101b1565b6003546001600160a01b03165b6040516001600160a01b0390911681526020016101b1565b610208610440565b6040516101b191906111cd565b604051606e81526020016101b1565b61022c61057a565b6040516001600160601b0390911681526020016101b1565b61022c61079f565b6004546001600160a01b03166101e8565b7f000000000000000000000000000000000000000000000000000000000000000061022c565b6040805160208101909152600081525b6040516101b1919061122a565b61022c6102ae36600461123d565b61080c565b7f00000000000000000000000000000000000000000000000000000000000000006101e8565b6101cd6102e7366004611287565b610875565b6102ff6102fa366004611312565b61088b565b005b61022c6108ce565b6101e861091d565b610319610a7a565b6040516001600160c01b031990911681526020016101b1565b6102ff610aa9565b6102936040518060400160405280600c81526020016b44454641554c545f5249534b60a01b81525081565b6102ff610373366004611389565b610b41565b6102ff6103863660046113be565b610be1565b610208610bef565b61022c610d24565b6005546001600160a01b03166101e8565b6102ff610d78565b600854604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906103ef9089908b908a908a9089908b906004016113ea565b60a060405180830381865afa15801561040c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104309190611441565b50929a9950505050505050505050565b6040805180820190915260008082526020820152600061045e6108ce565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa1580156104b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d49190611481565b156105595760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa15801561052b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054f91906114f9565b6060015191505090565b505060408051808201909152600b548152600c54602082015290565b905090565b600061058461091d565b6001600160a01b0316336001600160a01b0316146105c35760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166106395760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a434f422d3030313a52454749535452595f5a45524f000000000060448201526064016105ba565b60055460405163c3c5a54760e01b81526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091169063c3c5a54790602401602060405180830381865afa1580156106a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c89190611481565b61071e5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a434f423a494e5354414e43455f4e4f545f5245474953544552456044820152601160fa1b60648201526084016105ba565b6005805460ff60a01b1916600160a01b179055600154604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af115801561077b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057591906115b8565b600954604051636939560f60e11b81526001600160a01b0391821660048201526000917f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e906024015b602060405180830381865afa15801561077b573d6000803e3d6000fd5b600080610817610a7a565b604080516020810190915260008152600f549192509060ff1661085b5761084d8260405180602001604052806000815250610de0565b600f805460ff191660011790555b61086a33838989858a8a610e12565b979650505050505050565b6000610882600a866115d5565b95945050505050565b6040513381527fb00037f8426b35b13d3428bd0d8bb6059e05f90d0da23ee636f827aee1718e489060200160405180910390a16108c9838383610e9e565b505050565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e906024016107ef565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa158015610986573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109aa91906115b8565b90506109b7816000610f1e565b156109e3577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa158015610a50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7491906115f7565b91505090565b60006105756040518060400160405280600c81526020016b44454641554c545f5249534b60a01b815250610f34565b610ab161091d565b6001600160a01b0316336001600160a01b031614610ae15760405162461bcd60e51b81526004016105ba90611614565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610b2757600080fd5b505af1158015610b3b573d6000803e3d6000fd5b50505050565b610b4961091d565b6001600160a01b0316336001600160a01b031614610b795760405162461bcd60e51b81526004016105ba90611614565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610bab908590859060040161164b565b600060405180830381600087803b158015610bc557600080fd5b505af1158015610bd9573d6000803e3d6000fd5b505050505050565b610beb8282610faf565b5050565b60408051808201909152600080825260208201526000610c0d6108ce565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610c5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c839190611481565b15610d085760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610cda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfe91906114f9565b6080015191505090565b505060408051808201909152600d548152600e54602082015290565b600a54604051636939560f60e11b81526001600160a01b0391821660048201526000917f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e906024016107ef565b610d8061091d565b6001600160a01b0316336001600160a01b031614610db05760405162461bcd60e51b81526004016105ba90611614565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b0d565b6008546040516304af15b960e11b81526001600160a01b039091169063095e2b7290610bab9085908590600401611671565b60085460405163c2c7498760e01b81526000916001600160a01b03169063c2c7498790610e4f908b908b908b908b908b908b908b9060040161169f565b6020604051808303816000875af1158015610e6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9291906115b8565b98975050505050505050565b600854604051633181b0fb60e11b81526001600160601b0385166004820152831515602482015264ffffffffff831660448201526001600160a01b039091169063630361f690606401600060405180830381600087803b158015610f0157600080fd5b505af1158015610f15573d6000803e3d6000fd5b50505050505050565b6001600160601b03828116908216145b92915050565b60405163253a42dd60e11b815260009073__$19a201e37be2e25dc57bd4aa563a0edb25$__90634a7485ba90610f6e90859060040161122a565b602060405180830381865af4158015610f8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2e9190611705565b600854604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba90604401610bab565b60006020828403121561100757600080fd5b81356001600160e01b03198116811461101f57600080fd5b9392505050565b6001600160c01b03198116811461103c57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156110785761107861103f565b60405290565b604051610120810167ffffffffffffffff811182821017156110785761107861103f565b600082601f8301126110b357600080fd5b813567ffffffffffffffff808211156110ce576110ce61103f565b604051601f8301601f19908116603f011681019082821181831017156110f6576110f661103f565b8160405283815286602085880101111561110f57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6001600160601b038116811461103c57600080fd5b60008060008060008060c0878903121561115d57600080fd5b86359550602087013561116f81611026565b945060408701359350606087013567ffffffffffffffff81111561119257600080fd5b61119e89828a016110a2565b93505060808701356111af81611026565b915060a08701356111bf8161112f565b809150509295509295509295565b815181526020808301519082015260408101610f2e565b6000815180845260005b8181101561120a576020818501810151868301820152016111ee565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061101f60208301846111e4565b6000806000806080858703121561125357600080fd5b8435935060208501359250604085013561126c8161112f565b9150606085013561127c81611026565b939692955090935050565b6000806000806080858703121561129d57600080fd5b8435935060208501356112af81611026565b925060408501359150606085013567ffffffffffffffff8111156112d257600080fd5b6112de878288016110a2565b91505092959194509250565b801515811461103c57600080fd5b803564ffffffffff8116811461130d57600080fd5b919050565b60008060006060848603121561132757600080fd5b83356113328161112f565b92506020840135611342816112ea565b9150611350604085016112f8565b90509250925092565b60006040828403121561136b57600080fd5b611373611055565b9050813581526020820135602082015292915050565b6000806080838503121561139c57600080fd5b6113a68484611359565b91506113b58460408501611359565b90509250929050565b600080604083850312156113d157600080fd5b82356113dc8161112f565b91506113b5602084016112f8565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c0606084015261141d60c08401876111e4565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a0868803121561145957600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b60006020828403121561149357600080fd5b815161101f816112ea565b805161130d8161112f565b6001600160a01b038116811461103c57600080fd5b805161130d816114a9565b6000604082840312156114db57600080fd5b6114e3611055565b9050815181526020820151602082015292915050565b60006101e0828403121561150c57600080fd5b61151461107e565b61151d8361149e565b815261152b6020840161149e565b602082015261153c604084016114be565b604082015261154e84606085016114c9565b60608201526115608460a085016114c9565b60808201526115728460e085016114c9565b60a08201526115858461012085016114c9565b60c08201526115988461016085016114c9565b60e08201526115ab846101a085016114c9565b6101008201529392505050565b6000602082840312156115ca57600080fd5b815161101f8161112f565b6000826115f257634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561160957600080fd5b815161101f816114a9565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b82518152602080840151818301528251604083015282015160608201526080810161101f565b67ffffffffffffffff60c01b8316815260406020820152600061169760408301846111e4565b949350505050565b60018060a01b0388168152600067ffffffffffffffff60c01b808916602084015287604084015286606084015260e060808401526116e060e08401876111e4565b6001600160601b039590951660a08401529290921660c0909101525095945050505050565b60006020828403121561171757600080fd5b815161101f8161102656fea264697066735822122054e8378e69c48ed05237df4ae76d3d7e180fe03ef9ce25712885fbc65a540f5964736f6c63430008140033",
546
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101735760003560e01c80635e78426b116100de578063abd732ef11610097578063daafed4011610071578063daafed401461038b578063db6dcc9514610393578063de7b5d141461039b578063f83d08ba146103ac57600080fd5b8063abd732ef1461033a578063b6b412ba14610365578063bbfbbfba1461037857600080fd5b80635e78426b146102d9578063630361f6146102ec578063644c45e014610301578063893d20e814610309578063955fd78214610311578063a69df4b51461033257600080fd5b80631bdd6b76116101305780631bdd6b761461024457806321df0da71461024c57806331b62a3b1461025d5780633bc5de30146102835780633f28c2ec146102a05780635ab1bd53146102b357600080fd5b806301ffc9a71461017857806312abb9b3146101ba57806313299604146101db5780631380bf231461020057806315dae03e146102155780631aa3a00814610224575b600080fd5b6101a5610186366004610ff5565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101cd6101c8366004611144565b6103b4565b6040519081526020016101b1565b6003546001600160a01b03165b6040516001600160a01b0390911681526020016101b1565b610208610440565b6040516101b191906111cd565b604051606e81526020016101b1565b61022c61057a565b6040516001600160601b0390911681526020016101b1565b61022c61079f565b6004546001600160a01b03166101e8565b7f000000000000000000000000000000000000000000000000000000000000000061022c565b6040805160208101909152600081525b6040516101b1919061122a565b61022c6102ae36600461123d565b61080c565b7f00000000000000000000000000000000000000000000000000000000000000006101e8565b6101cd6102e7366004611287565b610875565b6102ff6102fa366004611312565b61088b565b005b61022c6108ce565b6101e861091d565b610319610a7a565b6040516001600160c01b031990911681526020016101b1565b6102ff610aa9565b6102936040518060400160405280600c81526020016b44454641554c545f5249534b60a01b81525081565b6102ff610373366004611389565b610b41565b6102ff6103863660046113be565b610be1565b610208610bef565b61022c610d24565b6005546001600160a01b03166101e8565b6102ff610d78565b600854604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906103ef9089908b908a908a9089908b906004016113ea565b60a060405180830381865afa15801561040c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104309190611441565b50929a9950505050505050505050565b6040805180820190915260008082526020820152600061045e6108ce565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa1580156104b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d49190611481565b156105595760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa15801561052b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054f91906114f9565b6060015191505090565b505060408051808201909152600b548152600c54602082015290565b905090565b600061058461091d565b6001600160a01b0316336001600160a01b0316146105c35760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166106395760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a434f422d3030313a52454749535452595f5a45524f000000000060448201526064016105ba565b60055460405163c3c5a54760e01b81526001600160a01b0391821660048201527f00000000000000000000000000000000000000000000000000000000000000009091169063c3c5a54790602401602060405180830381865afa1580156106a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c89190611481565b61071e5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a434f423a494e5354414e43455f4e4f545f5245474953544552456044820152601160fa1b60648201526084016105ba565b6005805460ff60a01b1916600160a01b179055600154604051632210724360e11b81523060048201526001600160a01b0390911690634420e486906024016020604051808303816000875af115801561077b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057591906115b8565b600954604051636939560f60e11b81526001600160a01b0391821660048201526000917f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e906024015b602060405180830381865afa15801561077b573d6000803e3d6000fd5b600080610817610a7a565b604080516020810190915260008152600f549192509060ff1661085b5761084d8260405180602001604052806000815250610de0565b600f805460ff191660011790555b61086a33838989858a8a610e12565b979650505050505050565b6000610882600a866115d5565b95945050505050565b6040513381527fb00037f8426b35b13d3428bd0d8bb6059e05f90d0da23ee636f827aee1718e489060200160405180910390a16108c9838383610e9e565b505050565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e906024016107ef565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa158015610986573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109aa91906115b8565b90506109b7816000610f1e565b156109e3577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa158015610a50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7491906115f7565b91505090565b60006105756040518060400160405280600c81526020016b44454641554c545f5249534b60a01b815250610f34565b610ab161091d565b6001600160a01b0316336001600160a01b031614610ae15760405162461bcd60e51b81526004016105ba90611614565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610b2757600080fd5b505af1158015610b3b573d6000803e3d6000fd5b50505050565b610b4961091d565b6001600160a01b0316336001600160a01b031614610b795760405162461bcd60e51b81526004016105ba90611614565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610bab908590859060040161164b565b600060405180830381600087803b158015610bc557600080fd5b505af1158015610bd9573d6000803e3d6000fd5b505050505050565b610beb8282610faf565b5050565b60408051808201909152600080825260208201526000610c0d6108ce565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610c5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c839190611481565b15610d085760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610cda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfe91906114f9565b6080015191505090565b505060408051808201909152600d548152600e54602082015290565b600a54604051636939560f60e11b81526001600160a01b0391821660048201526000917f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e906024016107ef565b610d8061091d565b6001600160a01b0316336001600160a01b031614610db05760405162461bcd60e51b81526004016105ba90611614565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b0d565b6008546040516304af15b960e11b81526001600160a01b039091169063095e2b7290610bab9085908590600401611671565b60085460405163c2c7498760e01b81526000916001600160a01b03169063c2c7498790610e4f908b908b908b908b908b908b908b9060040161169f565b6020604051808303816000875af1158015610e6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9291906115b8565b98975050505050505050565b600854604051633181b0fb60e11b81526001600160601b0385166004820152831515602482015264ffffffffff831660448201526001600160a01b039091169063630361f690606401600060405180830381600087803b158015610f0157600080fd5b505af1158015610f15573d6000803e3d6000fd5b50505050505050565b6001600160601b03828116908216145b92915050565b60405163253a42dd60e11b815260009073__$19a201e37be2e25dc57bd4aa563a0edb25$__90634a7485ba90610f6e90859060040161122a565b602060405180830381865af4158015610f8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2e9190611705565b600854604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba90604401610bab565b60006020828403121561100757600080fd5b81356001600160e01b03198116811461101f57600080fd5b9392505050565b6001600160c01b03198116811461103c57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156110785761107861103f565b60405290565b604051610120810167ffffffffffffffff811182821017156110785761107861103f565b600082601f8301126110b357600080fd5b813567ffffffffffffffff808211156110ce576110ce61103f565b604051601f8301601f19908116603f011681019082821181831017156110f6576110f661103f565b8160405283815286602085880101111561110f57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6001600160601b038116811461103c57600080fd5b60008060008060008060c0878903121561115d57600080fd5b86359550602087013561116f81611026565b945060408701359350606087013567ffffffffffffffff81111561119257600080fd5b61119e89828a016110a2565b93505060808701356111af81611026565b915060a08701356111bf8161112f565b809150509295509295509295565b815181526020808301519082015260408101610f2e565b6000815180845260005b8181101561120a576020818501810151868301820152016111ee565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061101f60208301846111e4565b6000806000806080858703121561125357600080fd5b8435935060208501359250604085013561126c8161112f565b9150606085013561127c81611026565b939692955090935050565b6000806000806080858703121561129d57600080fd5b8435935060208501356112af81611026565b925060408501359150606085013567ffffffffffffffff8111156112d257600080fd5b6112de878288016110a2565b91505092959194509250565b801515811461103c57600080fd5b803564ffffffffff8116811461130d57600080fd5b919050565b60008060006060848603121561132757600080fd5b83356113328161112f565b92506020840135611342816112ea565b9150611350604085016112f8565b90509250925092565b60006040828403121561136b57600080fd5b611373611055565b9050813581526020820135602082015292915050565b6000806080838503121561139c57600080fd5b6113a68484611359565b91506113b58460408501611359565b90509250929050565b600080604083850312156113d157600080fd5b82356113dc8161112f565b91506113b5602084016112f8565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c0606084015261141d60c08401876111e4565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a0868803121561145957600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b60006020828403121561149357600080fd5b815161101f816112ea565b805161130d8161112f565b6001600160a01b038116811461103c57600080fd5b805161130d816114a9565b6000604082840312156114db57600080fd5b6114e3611055565b9050815181526020820151602082015292915050565b60006101e0828403121561150c57600080fd5b61151461107e565b61151d8361149e565b815261152b6020840161149e565b602082015261153c604084016114be565b604082015261154e84606085016114c9565b60608201526115608460a085016114c9565b60808201526115728460e085016114c9565b60a08201526115858461012085016114c9565b60c08201526115988461016085016114c9565b60e08201526115ab846101a085016114c9565b6101008201529392505050565b6000602082840312156115ca57600080fd5b815161101f8161112f565b6000826115f257634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561160957600080fd5b815161101f816114a9565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b82518152602080840151818301528251604083015282015160608201526080810161101f565b67ffffffffffffffff60c01b8316815260406020820152600061169760408301846111e4565b949350505050565b60018060a01b0388168152600067ffffffffffffffff60c01b808916602084015287604084015286606084015260e060808401526116e060e08401876111e4565b6001600160601b039590951660a08401529290921660c0909101525095945050505050565b60006020828403121561171757600080fd5b815161101f8161102656fea264697066735822122054e8378e69c48ed05237df4ae76d3d7e180fe03ef9ce25712885fbc65a540f5964736f6c63430008140033",
682
+ "bytecode": "0x60806040523480156200001157600080fd5b5060405162002ba738038062002ba78339810160408190526200003491620008de565b888888888888888888888888606e6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558985600280546001600160a01b03191633179055604080516020810190915260008152620000b18787868686866200055c565b6000620000c66001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000116573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000140919081019062000a48565b6080810151600780546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152630de7806f60e41b6004820152919250906301ffc9a790602401602060405180830381865afa158015620001a8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ce919062000b2e565b620001fa5760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200024e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000274919062000b53565b600380546001600160a01b03199081166001600160a01b0393841617909155600580543090831617905560068054909116918816919091179055631b1599eb60e21b60009081526020527f82dc1aafdf8e16d475718790c9464a2912866acb395e292abd1ea37be80f5b28805460ff191660011790555050505050505050600760009054906101000a90046001600160a01b03166001600160a01b0316634288121d6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000346573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200036c919062000b53565b600880546001600160a01b03199081166001600160a01b0393841617909155600980548216888416179055600a80549091168683161790558351600b55602080850151600c558351600d55830151600e5560015416600954604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa1580156200040b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000431919062000b73565b600f80546001600160601b0319166001600160601b0392909216919091179055620004646001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa158015620004ae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004d4919062000b73565b600f80546001600160601b03929092166c0100000000000000000000000002600160601b600160c01b03199092169190911790556379fc0e7160e11b60009081526020527fae37458bb8945ae7571d1722238fea83f3c5619cf829a972c67f136a0bac29d2805460ff1916600117905550505050505050505050505050505050505062000cec565b6200056882876200062d565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d010000000000000000000000000086151502178155905060018101620005e7838262000c20565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b600280546001600160a01b0319166001600160a01b038416179055620006538162000657565b5050565b6001546001600160a01b031615620006925760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001f1565b6001600160a01b038116620006ba5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620006f25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001f1565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263350fb35160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156200076f575060408051601f3d908101601f191682019092526200076c9181019062000b2e565b60015b620007995760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001f1565b80620006535760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001f1565b50565b6001600160a01b0381168114620007c457600080fd5b8051620007ea81620007c7565b919050565b80516001600160601b0381168114620007ea57600080fd5b80518015158114620007ea57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171562000853576200085362000818565b60405290565b604051601f8201601f191681016001600160401b038111828210171562000884576200088462000818565b604052919050565b6000604082840312156200089f57600080fd5b604080519081016001600160401b0381118282101715620008c457620008c462000818565b604052825181526020928301519281019290925250919050565b60008060008060008060008060006101608a8c031215620008fe57600080fd5b89516200090b81620007c7565b98506200091b60208b01620007ef565b975060408a01516200092d81620007c7565b96506200093d60608b0162000807565b955060808a01516200094f81620007c7565b60a08b01519095506200096281620007c7565b9350620009738b60c08c016200088c565b9250620009858b6101008c016200088c565b91506101408a01516200099881620007c7565b809150509295985092959850929598565b805160ff81168114620007ea57600080fd5b600082601f830112620009cd57600080fd5b81516001600160401b03811115620009e957620009e962000818565b6020620009ff601f8301601f1916820162000859565b828152858284870101111562000a1457600080fd5b60005b8381101562000a3457858101830151828201840152820162000a17565b506000928101909101919091529392505050565b60006020828403121562000a5b57600080fd5b81516001600160401b038082111562000a7357600080fd5b9083019060e0828603121562000a8857600080fd5b62000a926200082e565b62000a9d83620007ef565b815262000aad60208401620007ef565b602082015262000ac060408401620009a9565b604082015262000ad36060840162000807565b606082015262000ae660808401620007dd565b608082015262000af960a08401620007dd565b60a082015260c08301518281111562000b1157600080fd5b62000b1f87828601620009bb565b60c08301525095945050505050565b60006020828403121562000b4157600080fd5b62000b4c8262000807565b9392505050565b60006020828403121562000b6657600080fd5b815162000b4c81620007c7565b60006020828403121562000b8657600080fd5b62000b4c82620007ef565b600181811c9082168062000ba657607f821691505b60208210810362000bc757634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000c1b57600081815260208120601f850160051c8101602086101562000bf65750805b601f850160051c820191505b8181101562000c175782815560010162000c02565b5050505b505050565b81516001600160401b0381111562000c3c5762000c3c62000818565b62000c548162000c4d845462000b91565b8462000bcd565b602080601f83116001811462000c8c576000841562000c735750858301515b600019600386901b1c1916600185901b17855562000c17565b600085815260208120601f198616915b8281101562000cbd5788860151825594840194600190910190840162000c9c565b508582101562000cdc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611eab8062000cfc6000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c8063630361f6116100c3578063b6b412ba1161007c578063b6b412ba1461033d578063bbfbbfba14610350578063daafed4014610363578063db6dcc951461036b578063de7b5d1414610373578063f83d08ba1461038457600080fd5b8063630361f6146102a9578063644c45e0146102bc578063893d20e8146102d4578063955fd782146102dc578063a69df4b5146102fd578063abd732ef1461030557600080fd5b80631bdd6b76116101155780631bdd6b761461021a5780631eff4b221461023a57806321df0da7146102615780633f28c2ec146102725780635ab1bd53146102855780635e78426b1461029657600080fd5b806301ffc9a71461015d5780630fec111c1461019f57806312abb9b3146101b557806313299604146101d65780631380bf23146101fb578063138461e014610210575b600080fd5b61018a61016b366004611347565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101a761038c565b6040516101969291906113c8565b6101c86101c33660046115c9565b6105b6565b604051908152602001610196565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610196565b610203610642565b6040516101969190611652565b610218610783565b005b6102226109a5565b6040516001600160601b039091168152602001610196565b6101c87f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6006546001600160a01b03166101e3565b610222610280366004611669565b610a2c565b6001546001600160a01b03166101e3565b6101c86102a43660046116b3565b610aa2565b6102186102b736600461173e565b610ab8565b600154600160a01b90046001600160601b0316610222565b6101e3610afb565b6102e4610c14565b6040516001600160c01b03199091168152602001610196565b610218610c43565b6103306040518060400160405280600c81526020016b44454641554c545f5249534b60a01b81525081565b6040516101969190611785565b61021861034b3660046117c8565b610cf1565b61021861035e3660046117fd565b610da7565b610203610db5565b610222610ef6565b6007546001600160a01b03166101e3565b610218610f3b565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091806103d0610fb8565b91509150600080600960009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561042a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261045291908101906118bd565b9150915060008060008380602001905181019061046f91906119e6565b6040805161012081018252600f546001600160601b038082168352600160601b909104166020808301919091526006546001600160a01b03168284015282518084018452600b548152600c5481830152606083015282518084018452600d548152600e5491810191909152608082015260a0810185905260c0810184905260e081018390528151632bd182d360e01b81528251959b509399509197508d96509094506101008501935073__$a23651848365a6a5ca15f07b4331037f48$__92632bd182d39260048082019392918290030181865af4158015610555573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105799190611a8b565b905260055460405161059892916001600160a01b031690602001611aa7565b60405160208183030381529060405298509850505050505050509091565b600854604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105f19089908b908a908a9089908b90600401611b9d565b60a060405180830381865afa15801561060e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106329190611bf4565b50929a9950505050505050505050565b6040805180820190915260008082526020820152600154600090600160a01b90046001600160601b031660075460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa1580156106be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e29190611c34565b156107675760075460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075d9190611c51565b6060015191505090565b505060408051808201909152600b548152600c54602082015290565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108099190611c34565b15610850576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108795760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e69190611c34565b61090e576040516372657a5160e01b81526001600160a01b0382166004820152602401610847565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610958573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097c9190611d10565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60006109b96001546001600160a01b031690565b600954604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa158015610a03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a279190611d10565b905090565b600080610a37610c14565b604080516020810190915260008152600f5491925090600160c01b900460ff16610a8857610a74826040518060200160405280600081525061113e565b600f805460ff60c01b1916600160c01b1790555b610a9733838989858a8a6111a6565b979650505050505050565b6000610aaf600a86611d2d565b95945050505050565b6040513381527fb00037f8426b35b13d3428bd0d8bb6059e05f90d0da23ee636f827aee1718e489060200160405180910390a1610af6838383611232565b505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610b60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b849190611c34565b15610c0457600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610be0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a279190611d4f565b506002546001600160a01b031690565b6000610a276040518060400160405280600c81526020016b44454641554c545f5249534b60a01b815250611280565b6000610c4d610afb565b90506001600160a01b03811615801590610c705750336001600160a01b03821614155b15610c905760405163700dd81160e01b8152336004820152602401610847565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610cd657600080fd5b505af1158015610cea573d6000803e3d6000fd5b5050505050565b6000610cfb610afb565b90506001600160a01b03811615801590610d1e5750336001600160a01b03821614155b15610d3e5760405163700dd81160e01b8152336004820152602401610847565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610d709086908690600401611d6c565b600060405180830381600087803b158015610d8a57600080fd5b505af1158015610d9e573d6000803e3d6000fd5b50505050505050565b610db18282611301565b5050565b6040805180820190915260008082526020820152600154600090600160a01b90046001600160601b031660075460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610e31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e559190611c34565b15610eda5760075460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed09190611c51565b6080015191505090565b505060408051808201909152600d548152600e54602082015290565b6000610f0a6001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024016109e6565b6000610f45610afb565b90506001600160a01b03811615801590610f685750336001600160a01b03821614155b15610f885760405163700dd81160e01b8152336004820152602401610847565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610cbc565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061103f6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001611087610afb565b6001600160a01b031681526020018260010180546110a490611d92565b80601f01602080910402602001604051908101604052809291908181526020018280546110d090611d92565b801561111d5780601f106110f25761010080835404028352916020019161111d565b820191906000526020600020905b81548152906001019060200180831161110057829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6008546040516304af15b960e11b81526001600160a01b039091169063095e2b72906111709085908590600401611dcc565b600060405180830381600087803b15801561118a57600080fd5b505af115801561119e573d6000803e3d6000fd5b505050505050565b60085460405163c2c7498760e01b81526000916001600160a01b03169063c2c74987906111e3908b908b908b908b908b908b908b90600401611df2565b6020604051808303816000875af1158015611202573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112269190611d10565b98975050505050505050565b600854604051633181b0fb60e11b81526001600160601b0385166004820152831515602482015264ffffffffff831660448201526001600160a01b039091169063630361f690606401610d70565b60405163253a42dd60e11b815260009073__$19a201e37be2e25dc57bd4aa563a0edb25$__90634a7485ba906112ba908590600401611785565b602060405180830381865af41580156112d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112fb9190611e58565b92915050565b600854604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba90604401611170565b60006020828403121561135957600080fd5b81356001600160e01b03198116811461137157600080fd5b9392505050565b60005b8381101561139357818101518382015260200161137b565b50506000910152565b600081518084526113b4816020860160208601611378565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161140c60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261145261012084018261139c565b90508281036020840152610aaf818561139c565b6001600160c01b03198116811461147c57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156114b8576114b861147f565b60405290565b60405160e0810167ffffffffffffffff811182821017156114b8576114b861147f565b604051610120810167ffffffffffffffff811182821017156114b8576114b861147f565b604051601f8201601f1916810167ffffffffffffffff8111828210171561152e5761152e61147f565b604052919050565b600067ffffffffffffffff8211156115505761155061147f565b50601f01601f191660200190565b600082601f83011261156f57600080fd5b813561158261157d82611536565b611505565b81815284602083860101111561159757600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b038116811461147c57600080fd5b60008060008060008060c087890312156115e257600080fd5b8635955060208701356115f481611466565b945060408701359350606087013567ffffffffffffffff81111561161757600080fd5b61162389828a0161155e565b935050608087013561163481611466565b915060a0870135611644816115b4565b809150509295509295509295565b8151815260208083015190820152604081016112fb565b6000806000806080858703121561167f57600080fd5b84359350602085013592506040850135611698816115b4565b915060608501356116a881611466565b939692955090935050565b600080600080608085870312156116c957600080fd5b8435935060208501356116db81611466565b925060408501359150606085013567ffffffffffffffff8111156116fe57600080fd5b61170a8782880161155e565b91505092959194509250565b801515811461147c57600080fd5b803564ffffffffff8116811461173957600080fd5b919050565b60008060006060848603121561175357600080fd5b833561175e816115b4565b9250602084013561176e81611716565b915061177c60408501611724565b90509250925092565b602081526000611371602083018461139c565b6000604082840312156117aa57600080fd5b6117b2611495565b9050813581526020820135602082015292915050565b600080608083850312156117db57600080fd5b6117e58484611798565b91506117f48460408501611798565b90509250929050565b6000806040838503121561181057600080fd5b823561181b816115b4565b91506117f460208401611724565b8051611739816115b4565b805160ff8116811461173957600080fd5b805161173981611716565b6001600160a01b038116811461147c57600080fd5b805161173981611850565b600082601f83011261188157600080fd5b815161188f61157d82611536565b8181528460208386010111156118a457600080fd5b6118b5826020830160208701611378565b949350505050565b600080604083850312156118d057600080fd5b825167ffffffffffffffff808211156118e857600080fd5b9084019060e082870312156118fc57600080fd5b6119046114be565b61190d83611829565b815261191b60208401611829565b602082015261192c60408401611834565b604082015261193d60608401611845565b606082015261194e60808401611865565b608082015261195f60a08401611865565b60a082015260c08301518281111561197657600080fd5b61198288828601611870565b60c083015250602086015190945091508082111561199f57600080fd5b506119ac85828601611870565b9150509250929050565b6000604082840312156119c857600080fd5b6119d0611495565b9050815181526020820151602082015292915050565b600080600080600080868803610140811215611a0157600080fd5b6040811215611a0f57600080fd5b50611a18611495565b8751611a2381611716565b8152602088810151908201526040880151909650611a4081611850565b6060880151909550611a5181611850565b9350611a6088608089016119b6565b9250611a6f8860c089016119b6565b9150611a7f8861010089016119b6565b90509295509295509295565b600060408284031215611a9d57600080fd5b61137183836119b6565b82516001600160601b03168152602080840151610200830191611ad4908401826001600160601b03169052565b506040840151611aef60408401826001600160a01b03169052565b506060840151611b0c606084018280518252602090810151910152565b506080840151805160a0840152602081015160c08401525060a0840151805160e084015260208101516101008401525060c0840151805161012084015260208101516101408401525060e0840151805161016084015260208101516101808401525061010084015180516101a084015260208101516101c0840152506001600160a01b0383166101e0830152611371565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c06060840152611bd060c084018761139c565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a08688031215611c0c57600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b600060208284031215611c4657600080fd5b815161137181611716565b60006101e08284031215611c6457600080fd5b611c6c6114e1565b611c7583611829565b8152611c8360208401611829565b6020820152611c9460408401611865565b6040820152611ca684606085016119b6565b6060820152611cb88460a085016119b6565b6080820152611cca8460e085016119b6565b60a0820152611cdd8461012085016119b6565b60c0820152611cf08461016085016119b6565b60e0820152611d03846101a085016119b6565b6101008201529392505050565b600060208284031215611d2257600080fd5b8151611371816115b4565b600082611d4a57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611d6157600080fd5b815161137181611850565b825181526020808401518183015282516040830152820151606082015260808101611371565b600181811c90821680611da657607f821691505b602082108103611dc657634e487b7160e01b600052602260045260246000fd5b50919050565b67ffffffffffffffff60c01b831681526040602082015260006118b5604083018461139c565b60018060a01b0388168152600067ffffffffffffffff60c01b808916602084015287604084015286606084015260e06080840152611e3360e084018761139c565b6001600160601b039590951660a08401529290921660c0909101525095945050505050565b600060208284031215611e6a57600080fd5b81516113718161146656fea2646970667358221220465de4e40914a2d1afbce354255a31f830cda7b58a6b6e66f022ee386d960a3064736f6c63430008140033",
683
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101585760003560e01c8063630361f6116100c3578063b6b412ba1161007c578063b6b412ba1461033d578063bbfbbfba14610350578063daafed4014610363578063db6dcc951461036b578063de7b5d1414610373578063f83d08ba1461038457600080fd5b8063630361f6146102a9578063644c45e0146102bc578063893d20e8146102d4578063955fd782146102dc578063a69df4b5146102fd578063abd732ef1461030557600080fd5b80631bdd6b76116101155780631bdd6b761461021a5780631eff4b221461023a57806321df0da7146102615780633f28c2ec146102725780635ab1bd53146102855780635e78426b1461029657600080fd5b806301ffc9a71461015d5780630fec111c1461019f57806312abb9b3146101b557806313299604146101d65780631380bf23146101fb578063138461e014610210575b600080fd5b61018a61016b366004611347565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101a761038c565b6040516101969291906113c8565b6101c86101c33660046115c9565b6105b6565b604051908152602001610196565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610196565b610203610642565b6040516101969190611652565b610218610783565b005b6102226109a5565b6040516001600160601b039091168152602001610196565b6101c87f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6006546001600160a01b03166101e3565b610222610280366004611669565b610a2c565b6001546001600160a01b03166101e3565b6101c86102a43660046116b3565b610aa2565b6102186102b736600461173e565b610ab8565b600154600160a01b90046001600160601b0316610222565b6101e3610afb565b6102e4610c14565b6040516001600160c01b03199091168152602001610196565b610218610c43565b6103306040518060400160405280600c81526020016b44454641554c545f5249534b60a01b81525081565b6040516101969190611785565b61021861034b3660046117c8565b610cf1565b61021861035e3660046117fd565b610da7565b610203610db5565b610222610ef6565b6007546001600160a01b03166101e3565b610218610f3b565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091806103d0610fb8565b91509150600080600960009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561042a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261045291908101906118bd565b9150915060008060008380602001905181019061046f91906119e6565b6040805161012081018252600f546001600160601b038082168352600160601b909104166020808301919091526006546001600160a01b03168284015282518084018452600b548152600c5481830152606083015282518084018452600d548152600e5491810191909152608082015260a0810185905260c0810184905260e081018390528151632bd182d360e01b81528251959b509399509197508d96509094506101008501935073__$a23651848365a6a5ca15f07b4331037f48$__92632bd182d39260048082019392918290030181865af4158015610555573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105799190611a8b565b905260055460405161059892916001600160a01b031690602001611aa7565b60405160208183030381529060405298509850505050505050509091565b600854604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105f19089908b908a908a9089908b90600401611b9d565b60a060405180830381865afa15801561060e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106329190611bf4565b50929a9950505050505050505050565b6040805180820190915260008082526020820152600154600090600160a01b90046001600160601b031660075460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa1580156106be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e29190611c34565b156107675760075460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075d9190611c51565b6060015191505090565b505060408051808201909152600b548152600c54602082015290565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108099190611c34565b15610850576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108795760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e69190611c34565b61090e576040516372657a5160e01b81526001600160a01b0382166004820152602401610847565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610958573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097c9190611d10565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60006109b96001546001600160a01b031690565b600954604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa158015610a03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a279190611d10565b905090565b600080610a37610c14565b604080516020810190915260008152600f5491925090600160c01b900460ff16610a8857610a74826040518060200160405280600081525061113e565b600f805460ff60c01b1916600160c01b1790555b610a9733838989858a8a6111a6565b979650505050505050565b6000610aaf600a86611d2d565b95945050505050565b6040513381527fb00037f8426b35b13d3428bd0d8bb6059e05f90d0da23ee636f827aee1718e489060200160405180910390a1610af6838383611232565b505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610b60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b849190611c34565b15610c0457600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610be0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a279190611d4f565b506002546001600160a01b031690565b6000610a276040518060400160405280600c81526020016b44454641554c545f5249534b60a01b815250611280565b6000610c4d610afb565b90506001600160a01b03811615801590610c705750336001600160a01b03821614155b15610c905760405163700dd81160e01b8152336004820152602401610847565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610cd657600080fd5b505af1158015610cea573d6000803e3d6000fd5b5050505050565b6000610cfb610afb565b90506001600160a01b03811615801590610d1e5750336001600160a01b03821614155b15610d3e5760405163700dd81160e01b8152336004820152602401610847565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610d709086908690600401611d6c565b600060405180830381600087803b158015610d8a57600080fd5b505af1158015610d9e573d6000803e3d6000fd5b50505050505050565b610db18282611301565b5050565b6040805180820190915260008082526020820152600154600090600160a01b90046001600160601b031660075460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610e31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e559190611c34565b15610eda5760075460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed09190611c51565b6080015191505090565b505060408051808201909152600d548152600e54602082015290565b6000610f0a6001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024016109e6565b6000610f45610afb565b90506001600160a01b03811615801590610f685750336001600160a01b03821614155b15610f885760405163700dd81160e01b8152336004820152602401610847565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610cbc565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061103f6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001611087610afb565b6001600160a01b031681526020018260010180546110a490611d92565b80601f01602080910402602001604051908101604052809291908181526020018280546110d090611d92565b801561111d5780601f106110f25761010080835404028352916020019161111d565b820191906000526020600020905b81548152906001019060200180831161110057829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6008546040516304af15b960e11b81526001600160a01b039091169063095e2b72906111709085908590600401611dcc565b600060405180830381600087803b15801561118a57600080fd5b505af115801561119e573d6000803e3d6000fd5b505050505050565b60085460405163c2c7498760e01b81526000916001600160a01b03169063c2c74987906111e3908b908b908b908b908b908b908b90600401611df2565b6020604051808303816000875af1158015611202573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112269190611d10565b98975050505050505050565b600854604051633181b0fb60e11b81526001600160601b0385166004820152831515602482015264ffffffffff831660448201526001600160a01b039091169063630361f690606401610d70565b60405163253a42dd60e11b815260009073__$19a201e37be2e25dc57bd4aa563a0edb25$__90634a7485ba906112ba908590600401611785565b602060405180830381865af41580156112d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112fb9190611e58565b92915050565b600854604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba90604401611170565b60006020828403121561135957600080fd5b81356001600160e01b03198116811461137157600080fd5b9392505050565b60005b8381101561139357818101518382015260200161137b565b50506000910152565b600081518084526113b4816020860160208601611378565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161140c60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261145261012084018261139c565b90508281036020840152610aaf818561139c565b6001600160c01b03198116811461147c57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156114b8576114b861147f565b60405290565b60405160e0810167ffffffffffffffff811182821017156114b8576114b861147f565b604051610120810167ffffffffffffffff811182821017156114b8576114b861147f565b604051601f8201601f1916810167ffffffffffffffff8111828210171561152e5761152e61147f565b604052919050565b600067ffffffffffffffff8211156115505761155061147f565b50601f01601f191660200190565b600082601f83011261156f57600080fd5b813561158261157d82611536565b611505565b81815284602083860101111561159757600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b038116811461147c57600080fd5b60008060008060008060c087890312156115e257600080fd5b8635955060208701356115f481611466565b945060408701359350606087013567ffffffffffffffff81111561161757600080fd5b61162389828a0161155e565b935050608087013561163481611466565b915060a0870135611644816115b4565b809150509295509295509295565b8151815260208083015190820152604081016112fb565b6000806000806080858703121561167f57600080fd5b84359350602085013592506040850135611698816115b4565b915060608501356116a881611466565b939692955090935050565b600080600080608085870312156116c957600080fd5b8435935060208501356116db81611466565b925060408501359150606085013567ffffffffffffffff8111156116fe57600080fd5b61170a8782880161155e565b91505092959194509250565b801515811461147c57600080fd5b803564ffffffffff8116811461173957600080fd5b919050565b60008060006060848603121561175357600080fd5b833561175e816115b4565b9250602084013561176e81611716565b915061177c60408501611724565b90509250925092565b602081526000611371602083018461139c565b6000604082840312156117aa57600080fd5b6117b2611495565b9050813581526020820135602082015292915050565b600080608083850312156117db57600080fd5b6117e58484611798565b91506117f48460408501611798565b90509250929050565b6000806040838503121561181057600080fd5b823561181b816115b4565b91506117f460208401611724565b8051611739816115b4565b805160ff8116811461173957600080fd5b805161173981611716565b6001600160a01b038116811461147c57600080fd5b805161173981611850565b600082601f83011261188157600080fd5b815161188f61157d82611536565b8181528460208386010111156118a457600080fd5b6118b5826020830160208701611378565b949350505050565b600080604083850312156118d057600080fd5b825167ffffffffffffffff808211156118e857600080fd5b9084019060e082870312156118fc57600080fd5b6119046114be565b61190d83611829565b815261191b60208401611829565b602082015261192c60408401611834565b604082015261193d60608401611845565b606082015261194e60808401611865565b608082015261195f60a08401611865565b60a082015260c08301518281111561197657600080fd5b61198288828601611870565b60c083015250602086015190945091508082111561199f57600080fd5b506119ac85828601611870565b9150509250929050565b6000604082840312156119c857600080fd5b6119d0611495565b9050815181526020820151602082015292915050565b600080600080600080868803610140811215611a0157600080fd5b6040811215611a0f57600080fd5b50611a18611495565b8751611a2381611716565b8152602088810151908201526040880151909650611a4081611850565b6060880151909550611a5181611850565b9350611a6088608089016119b6565b9250611a6f8860c089016119b6565b9150611a7f8861010089016119b6565b90509295509295509295565b600060408284031215611a9d57600080fd5b61137183836119b6565b82516001600160601b03168152602080840151610200830191611ad4908401826001600160601b03169052565b506040840151611aef60408401826001600160a01b03169052565b506060840151611b0c606084018280518252602090810151910152565b506080840151805160a0840152602081015160c08401525060a0840151805160e084015260208101516101008401525060c0840151805161012084015260208101516101408401525060e0840151805161016084015260208101516101808401525061010084015180516101a084015260208101516101c0840152506001600160a01b0383166101e0830152611371565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c06060840152611bd060c084018761139c565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a08688031215611c0c57600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b600060208284031215611c4657600080fd5b815161137181611716565b60006101e08284031215611c6457600080fd5b611c6c6114e1565b611c7583611829565b8152611c8360208401611829565b6020820152611c9460408401611865565b6040820152611ca684606085016119b6565b6060820152611cb88460a085016119b6565b6080820152611cca8460e085016119b6565b60a0820152611cdd8461012085016119b6565b60c0820152611cf08461016085016119b6565b60e0820152611d03846101a085016119b6565b6101008201529392505050565b600060208284031215611d2257600080fd5b8151611371816115b4565b600082611d4a57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611d6157600080fd5b815161137181611850565b825181526020808401518183015282516040830152820151606082015260808101611371565b600181811c90821680611da657607f821691505b602082108103611dc657634e487b7160e01b600052602260045260246000fd5b50919050565b67ffffffffffffffff60c01b831681526040602082015260006118b5604083018461139c565b60018060a01b0388168152600067ffffffffffffffff60c01b808916602084015287604084015286606084015260e06080840152611e3360e084018761139c565b6001600160601b039590951660a08401529290921660c0909101525095945050505050565b600060208284031215611e6a57600080fd5b81516113718161146656fea2646970667358221220465de4e40914a2d1afbce354255a31f830cda7b58a6b6e66f022ee386d960a3064736f6c63430008140033",
547
684
  "linkReferences": {
548
685
  "contracts/types/Fee.sol": {
549
686
  "FeeLib": [
550
687
  {
551
688
  "length": 20,
552
- "start": 1212
689
+ "start": 4630
690
+ }
691
+ ]
692
+ },
693
+ "contracts/types/NftId.sol": {
694
+ "NftIdLib": [
695
+ {
696
+ "length": 20,
697
+ "start": 5287
698
+ },
699
+ {
700
+ "length": 20,
701
+ "start": 6178
553
702
  }
554
703
  ]
555
704
  },
@@ -557,17 +706,37 @@
557
706
  "RiskIdLib": [
558
707
  {
559
708
  "length": 20,
560
- "start": 6443
709
+ "start": 8078
561
710
  }
562
711
  ]
563
712
  }
564
713
  },
565
714
  "deployedLinkReferences": {
715
+ "contracts/types/Fee.sol": {
716
+ "FeeLib": [
717
+ {
718
+ "length": 20,
719
+ "start": 1306
720
+ }
721
+ ]
722
+ },
723
+ "contracts/types/NftId.sol": {
724
+ "NftIdLib": [
725
+ {
726
+ "length": 20,
727
+ "start": 1963
728
+ },
729
+ {
730
+ "length": 20,
731
+ "start": 2854
732
+ }
733
+ ]
734
+ },
566
735
  "contracts/types/RiskId.sol": {
567
736
  "RiskIdLib": [
568
737
  {
569
738
  "length": 20,
570
- "start": 3910
739
+ "start": 4754
571
740
  }
572
741
  ]
573
742
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/ddc9b0b487d1eff0b437a694ef8bc6d1.json"
3
+ "buildInfo": "../../../build-info/b012f4ed156d977fd771c60cd60f52df.json"
4
4
  }