@etherisc/gif-next 0.0.2-e37834a-021 → 0.0.2-e46206a-486

Sign up to get free protection for your applications and to get access to all the features.
Files changed (257) hide show
  1. package/README.md +104 -1
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +90 -2
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +118 -6
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +80 -3
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  10. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  12. package/artifacts/contracts/components/Pool.sol/Pool.json +120 -6
  13. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  14. package/artifacts/contracts/components/Product.sol/Product.json +118 -6
  15. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
  16. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
  17. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
  21. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  33. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  36. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  37. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  39. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  40. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  41. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  42. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +54 -286
  43. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +1 -1
  44. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  45. package/artifacts/contracts/instance/Instance.sol/Instance.json +171 -396
  46. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +90 -2
  48. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  49. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  50. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +1 -1
  52. package/artifacts/contracts/instance/base/IService.sol/IService.json +80 -3
  53. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +1 -1
  54. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +90 -2
  55. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  56. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +22 -14
  57. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  58. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
  59. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +1 -1
  60. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +1 -1
  61. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +90 -2
  62. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +1 -1
  63. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +1 -1
  64. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +1 -1
  65. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
  66. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +1 -1
  68. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +2 -2
  70. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
  74. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -13
  75. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
  76. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -13
  77. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +1 -1
  78. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
  79. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
  80. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +1 -1
  81. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +1 -1
  82. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +1 -1
  83. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +2 -2
  84. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +1 -1
  86. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  87. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +2 -2
  88. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +194 -41
  91. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  92. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +136 -16
  93. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  94. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +81 -4
  95. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  96. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +80 -3
  97. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  98. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +80 -3
  99. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +80 -3
  101. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  102. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +138 -18
  103. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  104. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +154 -42
  105. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  106. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +47 -2
  107. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  108. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +42 -156
  109. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  110. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +214 -10
  111. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  112. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  113. package/artifacts/contracts/registry/Registry.sol/Registry.json +62 -184
  114. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +410 -34
  116. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +86 -42
  118. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  119. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  120. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  121. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  122. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
  123. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +80 -3
  125. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  126. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  127. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +32 -6
  128. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  129. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +21 -16
  130. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  131. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +120 -6
  132. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  133. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  134. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  135. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +1 -1
  136. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +118 -6
  137. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  138. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  139. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +1 -1
  140. package/artifacts/contracts/test/TestPool.sol/TestPool.json +120 -6
  141. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +1 -1
  142. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +120 -8
  143. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  144. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +120 -6
  145. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  146. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  147. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  148. package/artifacts/contracts/test/TestService.sol/TestService.json +142 -14
  149. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  150. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  151. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  152. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  153. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +18 -2
  154. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  155. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  156. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  157. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  158. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  159. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  160. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  161. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  162. package/artifacts/contracts/types/Fee.sol/FeeLib.json +4 -4
  163. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  164. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  165. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  166. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  167. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  169. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  170. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  171. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  172. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  173. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  174. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  175. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  177. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  179. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  181. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  183. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  184. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  185. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  186. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  187. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  189. package/contracts/components/BaseComponent.sol +1 -1
  190. package/contracts/components/Distribution.sol +1 -1
  191. package/contracts/components/IBaseComponent.sol +1 -1
  192. package/contracts/components/IDistributionComponent.sol +1 -1
  193. package/contracts/components/IProductComponent.sol +1 -1
  194. package/contracts/components/Product.sol +2 -2
  195. package/contracts/experiment/cloning/Cloner.sol +47 -0
  196. package/contracts/instance/IInstance.sol +4 -6
  197. package/contracts/instance/Instance.sol +4 -6
  198. package/contracts/instance/base/KeyValueStore.sol +3 -2
  199. package/contracts/instance/base/ModuleBase.sol +1 -1
  200. package/contracts/instance/base/ServiceBase.sol +1 -0
  201. package/contracts/instance/module/bundle/BundleModule.sol +2 -2
  202. package/contracts/instance/module/component/ComponentModule.sol +1 -1
  203. package/contracts/instance/module/component/IComponent.sol +1 -1
  204. package/contracts/instance/module/policy/IPolicy.sol +2 -2
  205. package/contracts/instance/module/policy/PolicyModule.sol +2 -2
  206. package/contracts/instance/module/treasury/ITreasury.sol +1 -1
  207. package/contracts/instance/module/treasury/TokenHandler.sol +1 -1
  208. package/contracts/instance/module/treasury/TreasuryModule.sol +4 -4
  209. package/contracts/instance/service/ComponentOwnerService.sol +73 -30
  210. package/contracts/instance/service/IProductService.sol +1 -1
  211. package/contracts/instance/service/ProductService.sol +3 -3
  212. package/contracts/registry/ChainNft.sol +40 -25
  213. package/contracts/registry/IRegistry.sol +9 -25
  214. package/contracts/registry/IRegistryService.sol +9 -3
  215. package/contracts/registry/Registry.sol +90 -157
  216. package/contracts/registry/RegistryService.sol +167 -101
  217. package/contracts/registry/RegistryServiceManager.sol +22 -10
  218. package/contracts/shared/ERC165.sol +1 -1
  219. package/contracts/shared/INftOwnable.sol +22 -0
  220. package/contracts/shared/IRegisterable.sol +3 -8
  221. package/contracts/shared/NftOwnable.sol +83 -34
  222. package/contracts/shared/ProxyManager.sol +3 -12
  223. package/contracts/shared/Registerable.sol +14 -42
  224. package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
  225. package/contracts/shared/Versionable.sol +3 -3
  226. package/contracts/test/TestFee.sol +2 -2
  227. package/contracts/test/TestProduct.sol +2 -2
  228. package/contracts/test/TestRoleId.sol +1 -1
  229. package/contracts/types/DistributorType.sol +55 -0
  230. package/contracts/types/Fee.sol +3 -3
  231. package/contracts/types/Key32.sol +8 -3
  232. package/contracts/types/NumberId.sol +52 -0
  233. package/contracts/types/ObjectType.sol +35 -14
  234. package/contracts/types/Referral.sol +85 -0
  235. package/contracts/types/RoleId.sol +53 -9
  236. package/contracts/types/StateId.sol +1 -1
  237. package/contracts/types/Timestamp.sol +7 -3
  238. package/contracts/types/UFixed.sol +128 -12
  239. package/package.json +4 -3
  240. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  241. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  242. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  243. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.json +0 -10
  244. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  245. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  246. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  247. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  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/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  251. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  252. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  253. package/contracts/instance/module/access/Access.sol +0 -149
  254. package/contracts/instance/module/access/IAccess.sol +0 -53
  255. package/contracts/registry/IChainNft.sol +0 -22
  256. package/contracts/shared/IOwnable.sol +0 -6
  257. package/contracts/types/ReferralId.sol +0 -48
@@ -95,6 +95,87 @@
95
95
  "stateMutability": "nonpayable",
96
96
  "type": "constructor"
97
97
  },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "address",
102
+ "name": "registry",
103
+ "type": "address"
104
+ },
105
+ {
106
+ "internalType": "NftId",
107
+ "name": "nftId",
108
+ "type": "uint96"
109
+ }
110
+ ],
111
+ "name": "ErrorAlreadyLinked",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "address",
118
+ "name": "contractAddress",
119
+ "type": "address"
120
+ }
121
+ ],
122
+ "name": "ErrorContractNotRegistered",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [
127
+ {
128
+ "internalType": "address",
129
+ "name": "account",
130
+ "type": "address"
131
+ }
132
+ ],
133
+ "name": "ErrorNotOwner",
134
+ "type": "error"
135
+ },
136
+ {
137
+ "inputs": [
138
+ {
139
+ "internalType": "address",
140
+ "name": "registryAddress",
141
+ "type": "address"
142
+ }
143
+ ],
144
+ "name": "ErrorNotRegistry",
145
+ "type": "error"
146
+ },
147
+ {
148
+ "inputs": [
149
+ {
150
+ "internalType": "address",
151
+ "name": "registryAddress",
152
+ "type": "address"
153
+ }
154
+ ],
155
+ "name": "ErrorRegisterableNotRegistry",
156
+ "type": "error"
157
+ },
158
+ {
159
+ "inputs": [],
160
+ "name": "ErrorRegistryAddressZero",
161
+ "type": "error"
162
+ },
163
+ {
164
+ "inputs": [
165
+ {
166
+ "internalType": "address",
167
+ "name": "registry",
168
+ "type": "address"
169
+ }
170
+ ],
171
+ "name": "ErrorRegistryAlreadyInitialized",
172
+ "type": "error"
173
+ },
174
+ {
175
+ "inputs": [],
176
+ "name": "ErrorRegistryNotInitialized",
177
+ "type": "error"
178
+ },
98
179
  {
99
180
  "inputs": [],
100
181
  "name": "InvalidInitialization",
@@ -348,7 +429,7 @@
348
429
  "outputs": [
349
430
  {
350
431
  "internalType": "NftId",
351
- "name": "nftId",
432
+ "name": "",
352
433
  "type": "uint96"
353
434
  }
354
435
  ],
@@ -374,7 +455,7 @@
374
455
  "outputs": [
375
456
  {
376
457
  "internalType": "contract IRegistry",
377
- "name": "registry",
458
+ "name": "",
378
459
  "type": "address"
379
460
  }
380
461
  ],
@@ -420,6 +501,13 @@
420
501
  "stateMutability": "view",
421
502
  "type": "function"
422
503
  },
504
+ {
505
+ "inputs": [],
506
+ "name": "linkToRegisteredNftId",
507
+ "outputs": [],
508
+ "stateMutability": "nonpayable",
509
+ "type": "function"
510
+ },
423
511
  {
424
512
  "inputs": [],
425
513
  "name": "lock",
@@ -595,8 +683,34 @@
595
683
  "type": "function"
596
684
  }
597
685
  ],
598
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162001e0438038062001e04833981016040819052620000349162000801565b89898989898989898989898989608c6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558a85604080516020810190915260008152620000a0878786868686620004b6565b6000620000d47f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000124573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200014e919081019062000972565b6080810151600580546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152630de7806f60e41b6004820152919250906301ffc9a790602401602060405180830381865afa158015620001b6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001dc919062000a58565b620002085760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600560009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200025c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000282919062000a7d565b600180546001600160a01b03199081166001600160a01b0393841617825560038054309083161790556004805490911692891692909217909155631b1599eb60e21b60009081526020527f82dc1aafdf8e16d475718790c9464a2912866acb395e292abd1ea37be80f5b28805460ff191690911790555050600580548d1515600160a01b0260ff60a01b198216811790925560068d90558b516007556020808d01516008558b516009558b810151600a558a51600b558a810151600c5560408051636b9bf08b60e01b815290516001600160a01b0394851694909316939093179850636b9bf08b9750600480840197509095509093509083900301905081865afa15801562000395573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003bb919062000a7d565b600d80546001600160a01b0319166001600160a01b0392831617905560055460408051634288121d60e01b815290519190921691634288121d9160048083019260209291908290030181865afa1580156200041a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000440919062000a7d565b600e80546001600160a01b0319166001600160a01b0392909216919091179055638165cf9760e01b60009081526020527fdbb0e9856bd1e431ccdf71c70f456d2f44178629ace27e773b679a35c573f774805460ff19166001179055505050505050505050505050505050505050505062000bf8565b6001600160a01b0386166200050e5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f00000000006044820152606401620001ff565b6040516301ffc9a760e01b8152636882e63f60e11b600482015286906001600160a01b038216906301ffc9a790602401602060405180830381865afa1580156200055c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000582919062000a58565b620005d05760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620001ff565b6001600160a01b03818116600160a01b6001600160601b0389168102919091177f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3009081557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30180546001600160a01b031961ffff60a01b1990911660ff8b1690940260ff60a81b191693909317600160a81b8915150217929092169286169290921790557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa302620006a0848262000b2c565b5063a6d3826560e01b60009081526020527f164a5a3a3a16df858f794c5fc01b962add2c2151ae53ddb31581eabdf1156730805460ff191660011790555050505050505050565b6001600160a01b0381168114620006fd57600080fd5b50565b80516200070d81620006e7565b919050565b80516001600160601b03811681146200070d57600080fd5b805180151581146200070d57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156200077657620007766200073b565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620007a757620007a76200073b565b604052919050565b600060408284031215620007c257600080fd5b604080519081016001600160401b0381118282101715620007e757620007e76200073b565b604052825181526020928301519281019290925250919050565b6000806000806000806000806000806101a08b8d0312156200082257600080fd5b8a516200082f81620006e7565b99506200083f60208c0162000712565b985060408b01516200085181620006e7565b97506200086160608c016200072a565b96506200087160808c016200072a565b955060a08b01519450620008898c60c08d01620007af565b93506200089b8c6101008d01620007af565b9250620008ad8c6101408d01620007af565b91506101808b0151620008c081620006e7565b809150509295989b9194979a5092959850565b805160ff811681146200070d57600080fd5b600082601f830112620008f757600080fd5b81516001600160401b038111156200091357620009136200073b565b602062000929601f8301601f191682016200077c565b82815285828487010111156200093e57600080fd5b60005b838110156200095e57858101830151828201840152820162000941565b506000928101909101919091529392505050565b6000602082840312156200098557600080fd5b81516001600160401b03808211156200099d57600080fd5b9083019060e08286031215620009b257600080fd5b620009bc62000751565b620009c78362000712565b8152620009d76020840162000712565b6020820152620009ea60408401620008d3565b6040820152620009fd606084016200072a565b606082015262000a106080840162000700565b608082015262000a2360a0840162000700565b60a082015260c08301518281111562000a3b57600080fd5b62000a4987828601620008e5565b60c08301525095945050505050565b60006020828403121562000a6b57600080fd5b62000a76826200072a565b9392505050565b60006020828403121562000a9057600080fd5b815162000a7681620006e7565b600181811c9082168062000ab257607f821691505b60208210810362000ad357634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000b2757600081815260208120601f850160051c8101602086101562000b025750805b601f850160051c820191505b8181101562000b235782815560010162000b0e565b5050505b505050565b81516001600160401b0381111562000b485762000b486200073b565b62000b608162000b59845462000a9d565b8462000ad9565b602080601f83116001811462000b98576000841562000b7f5750858301515b600019600386901b1c1916600185901b17855562000b23565b600085815260208120601f198616915b8281101562000bc95788860151825594840194600190910190840162000ba8565b508582101562000be85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6111fc8062000c086000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806365effc1a116100ad578063d7f5e60911610071578063d7f5e6091461027a578063dab123251461028d578063db8d55f1146102a3578063de7b5d14146102e9578063f83d08ba146102fa57600080fd5b806365effc1a14610232578063826787661461024557806387ef9ba014610258578063893d20e81461026a578063a69df4b51461027257600080fd5b806321df0da7116100f457806321df0da7146101c657806354afef63146101d75780635ab1bd53146101df578063636450f5146101fd578063644c45e01461021257600080fd5b806301ffc9a7146101265780630fec111c14610168578063132996041461017e5780631eff4b22146101a3575b600080fd5b610153610134366004610aed565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610170610302565b60405161015f929190610b64565b6003546001600160a01b03165b6040516001600160a01b03909116815260200161015f565b6101b86000805160206111a783398151915281565b60405190815260200161015f565b6004546001600160a01b031661018b565b6006546101b8565b6000805160206111a7833981519152546001600160a01b031661018b565b61021061020b366004610cb6565b6103b8565b005b61021a610420565b6040516001600160601b03909116815260200161015f565b610210610240366004610d79565b6104a0565b610210610253366004610df7565b61051b565b600554600160a01b900460ff16610153565b61018b6105e0565b61021061065b565b61021a610288366004610e3d565b6106ed565b61015361029b366004610e9f565b600192915050565b6102ab610777565b60405161015f93929190835181526020938401518482015282516040820152918301516060830152805160808301529091015160a082015260c00190565b6005546001600160a01b031661018b565b6102106108d0565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610346610938565b604080518082018252600554600160a01b900460ff16151581526006546020808301919091526003546004549351959750939550869461039f9492936001600160a01b03938416931691600791600991600b9101610f03565b6040516020818303038152906040529350935050509091565b600d5460405163636450f560e01b81526001600160a01b039091169063636450f5906103ea9085908590600401610f70565b600060405180830381600087803b15801561040457600080fd5b505af1158015610418573d6000803e3d6000fd5b505050505050565b60006000805160206111a783398151915254604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610477573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049b9190610fa7565b905090565b600e546001600160a01b031633146105095760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084015b60405180910390fd5b61051584848484610a9f565b50505050565b6105236105e0565b6001600160a01b0316336001600160a01b0316146105535760405162461bcd60e51b815260040161050090610fc4565b600d54604051634133c3b360e11b8152845160048201526020808601516024830152845160448301528085015160648301528351608483015283015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b1580156105c357600080fd5b505af11580156105d7573d6000803e3d6000fd5b50505050505050565b60006000805160206111a783398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610637573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049b9190611010565b6106636105e0565b6001600160a01b0316336001600160a01b0316146106935760405162461bcd60e51b815260040161050090610fc4565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b1580156106d957600080fd5b505af1158015610515573d6000803e3d6000fd5b600d5460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d539061072a9084908a908a908a908a9060040161102d565b6020604051808303816000875af1158015610749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076d9190610fa7565b9695505050505050565b6040805180820190915260008082526020820152604080518082019091526000808252602082015260408051808201909152600080825260208201526005546000906001600160a01b0316639ae31ff56107cf610420565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610813573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108379190610fa7565b60055460405163f2b246c360e01b81526001600160601b03831660048201529192506000916001600160a01b039091169063f2b246c3906024016101e060405180830381865afa15801561088f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b391906110ad565b60a081015160c082015160e0909201519097919650945092505050565b6108d86105e0565b6001600160a01b0316336001600160a01b0316146109085760405162461bcd60e51b815260040161050090610fc4565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016106bf565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060006000805160206111a783398151915290506040518060e0016040528061099b600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610a059061116c565b80601f0160208091040260200160405190810160405280929190818152602001828054610a319061116c565b8015610a7e5780601f10610a5357610100808354040283529160200191610a7e565b820191906000526020600020905b815481529060010190602001808311610a6157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610aff57600080fd5b81356001600160e01b031981168114610b1757600080fd5b9392505050565b6000815180845260005b81811015610b4457602081850181015186830182015201610b28565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151610ba860a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152610bee610120840182610b1e565b90508281036020840152610c028185610b1e565b95945050505050565b6001600160601b0381168114610c2057600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715610c5c57610c5c610c23565b60405290565b604051610120810167ffffffffffffffff81118282101715610c5c57610c5c610c23565b600060408284031215610c9857600080fd5b610ca0610c39565b9050813581526020820135602082015292915050565b60008060608385031215610cc957600080fd5b8235610cd481610c0b565b9150610ce38460208501610c86565b90509250929050565b600082601f830112610cfd57600080fd5b813567ffffffffffffffff80821115610d1857610d18610c23565b604051601f8301601f19908116603f01168101908282118183101715610d4057610d40610c23565b81604052838152866020858801011115610d5957600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060808587031215610d8f57600080fd5b8435610d9a81610c0b565b9350602085013567ffffffffffffffff80821115610db757600080fd5b610dc388838901610cec565b94506040870135915080821115610dd957600080fd5b50610de687828801610cec565b949793965093946060013593505050565b600080600060c08486031215610e0c57600080fd5b610e168585610c86565b9250610e258560408601610c86565b9150610e348560808601610c86565b90509250925092565b60008060008060a08587031215610e5357600080fd5b610e5d8686610c86565b93506040850135925060608501359150608085013567ffffffffffffffff811115610e8757600080fd5b610e9387828801610cec565b91505092959194509250565b60008060408385031215610eb257600080fd5b823567ffffffffffffffff80821115610eca57600080fd5b610ed686838701610cec565b93506020850135915080821115610eec57600080fd5b50610ef985828601610cec565b9150509250929050565b865115158152602080880151908201526001600160a01b0386811660408301528516606082015283546080820152600184015460a08201526101408101835460c0830152600184015460e0830152825461010083015260018301546101208301525b979650505050505050565b6001600160601b038316815260608101610b17602083018480518252602090810151910152565b8051610fa281610c0b565b919050565b600060208284031215610fb957600080fd5b8151610b1781610c0b565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b6001600160a01b0381168114610c2057600080fd5b60006020828403121561102257600080fd5b8151610b1781610ffb565b6001600160a01b0386168152611050602082018680518252602090810151910152565b83606082015282608082015260c060a08201526000610f6560c0830184610b1e565b8051610fa281610ffb565b60006040828403121561108f57600080fd5b611097610c39565b9050815181526020820151602082015292915050565b60006101e082840312156110c057600080fd5b6110c8610c62565b6110d183610f97565b81526110df60208401610f97565b60208201526110f060408401611072565b6040820152611102846060850161107d565b60608201526111148460a0850161107d565b60808201526111268460e0850161107d565b60a082015261113984610120850161107d565b60c082015261114c84610160850161107d565b60e082015261115f846101a0850161107d565b6101008201529392505050565b600181811c9082168061118057607f821691505b6020821081036111a057634e487b7160e01b600052602260045260246000fd5b5091905056fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300a2646970667358221220621eca4966d5788c3e268ab4b71dc516a03671dca103b0669e04221e2fdb75b664736f6c63430008140033",
599
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101215760003560e01c806365effc1a116100ad578063d7f5e60911610071578063d7f5e6091461027a578063dab123251461028d578063db8d55f1146102a3578063de7b5d14146102e9578063f83d08ba146102fa57600080fd5b806365effc1a14610232578063826787661461024557806387ef9ba014610258578063893d20e81461026a578063a69df4b51461027257600080fd5b806321df0da7116100f457806321df0da7146101c657806354afef63146101d75780635ab1bd53146101df578063636450f5146101fd578063644c45e01461021257600080fd5b806301ffc9a7146101265780630fec111c14610168578063132996041461017e5780631eff4b22146101a3575b600080fd5b610153610134366004610aed565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610170610302565b60405161015f929190610b64565b6003546001600160a01b03165b6040516001600160a01b03909116815260200161015f565b6101b86000805160206111a783398151915281565b60405190815260200161015f565b6004546001600160a01b031661018b565b6006546101b8565b6000805160206111a7833981519152546001600160a01b031661018b565b61021061020b366004610cb6565b6103b8565b005b61021a610420565b6040516001600160601b03909116815260200161015f565b610210610240366004610d79565b6104a0565b610210610253366004610df7565b61051b565b600554600160a01b900460ff16610153565b61018b6105e0565b61021061065b565b61021a610288366004610e3d565b6106ed565b61015361029b366004610e9f565b600192915050565b6102ab610777565b60405161015f93929190835181526020938401518482015282516040820152918301516060830152805160808301529091015160a082015260c00190565b6005546001600160a01b031661018b565b6102106108d0565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610346610938565b604080518082018252600554600160a01b900460ff16151581526006546020808301919091526003546004549351959750939550869461039f9492936001600160a01b03938416931691600791600991600b9101610f03565b6040516020818303038152906040529350935050509091565b600d5460405163636450f560e01b81526001600160a01b039091169063636450f5906103ea9085908590600401610f70565b600060405180830381600087803b15801561040457600080fd5b505af1158015610418573d6000803e3d6000fd5b505050505050565b60006000805160206111a783398151915254604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610477573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049b9190610fa7565b905090565b600e546001600160a01b031633146105095760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084015b60405180910390fd5b61051584848484610a9f565b50505050565b6105236105e0565b6001600160a01b0316336001600160a01b0316146105535760405162461bcd60e51b815260040161050090610fc4565b600d54604051634133c3b360e11b8152845160048201526020808601516024830152845160448301528085015160648301528351608483015283015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b1580156105c357600080fd5b505af11580156105d7573d6000803e3d6000fd5b50505050505050565b60006000805160206111a783398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610637573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049b9190611010565b6106636105e0565b6001600160a01b0316336001600160a01b0316146106935760405162461bcd60e51b815260040161050090610fc4565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b1580156106d957600080fd5b505af1158015610515573d6000803e3d6000fd5b600d5460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d539061072a9084908a908a908a908a9060040161102d565b6020604051808303816000875af1158015610749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076d9190610fa7565b9695505050505050565b6040805180820190915260008082526020820152604080518082019091526000808252602082015260408051808201909152600080825260208201526005546000906001600160a01b0316639ae31ff56107cf610420565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610813573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108379190610fa7565b60055460405163f2b246c360e01b81526001600160601b03831660048201529192506000916001600160a01b039091169063f2b246c3906024016101e060405180830381865afa15801561088f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b391906110ad565b60a081015160c082015160e0909201519097919650945092505050565b6108d86105e0565b6001600160a01b0316336001600160a01b0316146109085760405162461bcd60e51b815260040161050090610fc4565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016106bf565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060006000805160206111a783398151915290506040518060e0016040528061099b600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610a059061116c565b80601f0160208091040260200160405190810160405280929190818152602001828054610a319061116c565b8015610a7e5780601f10610a5357610100808354040283529160200191610a7e565b820191906000526020600020905b815481529060010190602001808311610a6157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610aff57600080fd5b81356001600160e01b031981168114610b1757600080fd5b9392505050565b6000815180845260005b81811015610b4457602081850181015186830182015201610b28565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151610ba860a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152610bee610120840182610b1e565b90508281036020840152610c028185610b1e565b95945050505050565b6001600160601b0381168114610c2057600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715610c5c57610c5c610c23565b60405290565b604051610120810167ffffffffffffffff81118282101715610c5c57610c5c610c23565b600060408284031215610c9857600080fd5b610ca0610c39565b9050813581526020820135602082015292915050565b60008060608385031215610cc957600080fd5b8235610cd481610c0b565b9150610ce38460208501610c86565b90509250929050565b600082601f830112610cfd57600080fd5b813567ffffffffffffffff80821115610d1857610d18610c23565b604051601f8301601f19908116603f01168101908282118183101715610d4057610d40610c23565b81604052838152866020858801011115610d5957600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060808587031215610d8f57600080fd5b8435610d9a81610c0b565b9350602085013567ffffffffffffffff80821115610db757600080fd5b610dc388838901610cec565b94506040870135915080821115610dd957600080fd5b50610de687828801610cec565b949793965093946060013593505050565b600080600060c08486031215610e0c57600080fd5b610e168585610c86565b9250610e258560408601610c86565b9150610e348560808601610c86565b90509250925092565b60008060008060a08587031215610e5357600080fd5b610e5d8686610c86565b93506040850135925060608501359150608085013567ffffffffffffffff811115610e8757600080fd5b610e9387828801610cec565b91505092959194509250565b60008060408385031215610eb257600080fd5b823567ffffffffffffffff80821115610eca57600080fd5b610ed686838701610cec565b93506020850135915080821115610eec57600080fd5b50610ef985828601610cec565b9150509250929050565b865115158152602080880151908201526001600160a01b0386811660408301528516606082015283546080820152600184015460a08201526101408101835460c0830152600184015460e0830152825461010083015260018301546101208301525b979650505050505050565b6001600160601b038316815260608101610b17602083018480518252602090810151910152565b8051610fa281610c0b565b919050565b600060208284031215610fb957600080fd5b8151610b1781610c0b565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b6001600160a01b0381168114610c2057600080fd5b60006020828403121561102257600080fd5b8151610b1781610ffb565b6001600160a01b0386168152611050602082018680518252602090810151910152565b83606082015282608082015260c060a08201526000610f6560c0830184610b1e565b8051610fa281610ffb565b60006040828403121561108f57600080fd5b611097610c39565b9050815181526020820151602082015292915050565b60006101e082840312156110c057600080fd5b6110c8610c62565b6110d183610f97565b81526110df60208401610f97565b60208201526110f060408401611072565b6040820152611102846060850161107d565b60608201526111148460a0850161107d565b60808201526111268460e0850161107d565b60a082015261113984610120850161107d565b60c082015261114c84610160850161107d565b60e082015261115f846101a0850161107d565b6101008201529392505050565b600181811c9082168061118057607f821691505b6020821081036111a057634e487b7160e01b600052602260045260246000fd5b5091905056fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300a2646970667358221220621eca4966d5788c3e268ab4b71dc516a03671dca103b0669e04221e2fdb75b664736f6c63430008140033",
600
- "linkReferences": {},
601
- "deployedLinkReferences": {}
686
+ "bytecode": "0x60806040523480156200001157600080fd5b50604051620020d5380380620020d583398101604081905262000034916200082b565b89898989898989898989898989608c6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558a85600280546001600160a01b03191633179055604080516020810190915260008152620000b2878786868686620004a9565b6000620000c76001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000117573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200014191908101906200099c565b6080810151600780546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152630de7806f60e41b6004820152919250906301ffc9a790602401602060405180830381865afa158015620001a9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001cf919062000a82565b620001fb5760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200024f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000275919062000aa7565b600380546001600160a01b03199081166001600160a01b0393841617909155600580543090831617905560068054909116918816919091179055631b1599eb60e21b60009081526020527f82dc1aafdf8e16d475718790c9464a2912866acb395e292abd1ea37be80f5b28805460ff191660011790555050600780548d1515600160a01b0260ff60a01b198216811790925560088d90558b516009556020808d0151600a558b51600b558b810151600c558a51600d558a810151600e5560408051636b9bf08b60e01b815290516001600160a01b0394851694909316939093179850636b9bf08b9750600480840197509095509093509083900301905081865afa15801562000388573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003ae919062000aa7565b600f80546001600160a01b0319166001600160a01b0392831617905560075460408051634288121d60e01b815290519190921691634288121d9160048083019260209291908290030181865afa1580156200040d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000433919062000aa7565b601080546001600160a01b0319166001600160a01b0392909216919091179055638165cf9760e01b60009081526020527fdbb0e9856bd1e431ccdf71c70f456d2f44178629ace27e773b679a35c573f774805460ff19166001179055505050505050505050505050505050505050505062000c22565b620004b582876200057a565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d01000000000000000000000000008615150217815590506001810162000534838262000b56565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b600280546001600160a01b0319166001600160a01b038416179055620005a081620005a4565b5050565b6001546001600160a01b031615620005df5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001f2565b6001600160a01b038116620006075760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036200063f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001f2565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263350fb35160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015620006bc575060408051601f3d908101601f19168201909252620006b99181019062000a82565b60015b620006e65760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001f2565b80620005a05760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001f2565b50565b6001600160a01b03811681146200071157600080fd5b8051620007378162000714565b919050565b80516001600160601b03811681146200073757600080fd5b805180151581146200073757600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620007a057620007a062000765565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620007d157620007d162000765565b604052919050565b600060408284031215620007ec57600080fd5b604080519081016001600160401b038111828210171562000811576200081162000765565b604052825181526020928301519281019290925250919050565b6000806000806000806000806000806101a08b8d0312156200084c57600080fd5b8a51620008598162000714565b99506200086960208c016200073c565b985060408b01516200087b8162000714565b97506200088b60608c0162000754565b96506200089b60808c0162000754565b955060a08b01519450620008b38c60c08d01620007d9565b9350620008c58c6101008d01620007d9565b9250620008d78c6101408d01620007d9565b91506101808b0151620008ea8162000714565b809150509295989b9194979a5092959850565b805160ff811681146200073757600080fd5b600082601f8301126200092157600080fd5b81516001600160401b038111156200093d576200093d62000765565b602062000953601f8301601f19168201620007a6565b82815285828487010111156200096857600080fd5b60005b83811015620009885785810183015182820184015282016200096b565b506000928101909101919091529392505050565b600060208284031215620009af57600080fd5b81516001600160401b0380821115620009c757600080fd5b9083019060e08286031215620009dc57600080fd5b620009e66200077b565b620009f1836200073c565b815262000a01602084016200073c565b602082015262000a1460408401620008fd565b604082015262000a276060840162000754565b606082015262000a3a608084016200072a565b608082015262000a4d60a084016200072a565b60a082015260c08301518281111562000a6557600080fd5b62000a73878286016200090f565b60c08301525095945050505050565b60006020828403121562000a9557600080fd5b62000aa08262000754565b9392505050565b60006020828403121562000aba57600080fd5b815162000aa08162000714565b600181811c9082168062000adc57607f821691505b60208210810362000afd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000b5157600081815260208120601f850160051c8101602086101562000b2c5750805b601f850160051c820191505b8181101562000b4d5782815560010162000b38565b5050505b505050565b81516001600160401b0381111562000b725762000b7262000765565b62000b8a8162000b83845462000ac7565b8462000b03565b602080601f83116001811462000bc2576000841562000ba95750858301515b600019600386901b1c1916600185901b17855562000b4d565b600085815260208120601f198616915b8281101562000bf35788860151825594840194600190910190840162000bd2565b508582101562000c125787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6114a38062000c326000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c806365effc1a116100ad578063d7f5e60911610071578063d7f5e6091461029e578063dab12325146102b1578063db8d55f1146102c7578063de7b5d141461030d578063f83d08ba1461031e57600080fd5b806365effc1a14610256578063826787661461026957806387ef9ba01461027c578063893d20e81461028e578063a69df4b51461029657600080fd5b806321df0da7116100f457806321df0da7146101ed57806354afef63146101fe5780635ab1bd5314610206578063636450f514610217578063644c45e01461022a57600080fd5b806301ffc9a7146101315780630fec111c146101735780631329960414610189578063138461e0146101ae5780631eff4b22146101b8575b600080fd5b61015e61013f366004610dc9565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61017b610326565b60405161016a929190610e40565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161016a565b6101b66103dc565b005b6101df7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161016a565b6006546001600160a01b0316610196565b6008546101df565b6001546001600160a01b0316610196565b6101b6610225366004610f92565b6105fe565b600154600160a01b90046001600160601b03165b6040516001600160601b03909116815260200161016a565b6101b6610264366004611055565b610666565b6101b66102773660046110d3565b6106dc565b600754600160a01b900460ff1661015e565b6101966107b7565b6101b66108d5565b61023e6102ac366004611119565b610983565b61015e6102bf36600461117b565b600192915050565b6102cf610a0d565b60405161016a93929190835181526020938401518482015282516040820152918301516060830152805160808301529091015160a082015260c00190565b6007546001600160a01b0316610196565b6101b6610b78565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290918061036a610bf5565b604080518082018252600754600160a01b900460ff1615158152600854602080830191909152600554600654935195975093955086946103c39492936001600160a01b03938416931691600991600b91600d91016111df565b6040516020818303038152906040529350935050509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561043e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610462919061124c565b156104a9576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166104d25760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa15801561051b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053f919061124c565b610567576040516372657a5160e01b81526001600160a01b03821660048201526024016104a0565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156105b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d5919061127e565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600f5460405163636450f560e01b81526001600160a01b039091169063636450f590610630908590859060040161129b565b600060405180830381600087803b15801561064a57600080fd5b505af115801561065e573d6000803e3d6000fd5b505050505050565b6010546001600160a01b031633146106ca5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084016104a0565b6106d684848484610d7b565b50505050565b60006106e66107b7565b90506001600160a01b038116158015906107095750336001600160a01b03821614155b156107295760405163700dd81160e01b81523360048201526024016104a0565b600f54604051634133c3b360e11b8152855160048201526020808701516024830152855160448301528086015160648301528451608483015284015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b15801561079957600080fd5b505af11580156107ad573d6000803e3d6000fd5b5050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561081c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610840919061124c565b156108c557600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561089c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c091906112d7565b905090565b506002546001600160a01b031690565b60006108df6107b7565b90506001600160a01b038116158015906109025750336001600160a01b03821614155b156109225760405163700dd81160e01b81523360048201526024016104a0565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b15801561096857600080fd5b505af115801561097c573d6000803e3d6000fd5b5050505050565b600f5460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d53906109c09084908a908a908a908a906004016112f4565b6020604051808303816000875af11580156109df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a03919061127e565b9695505050505050565b6040805180820190915260008082526020820152604080518082019091526000808252602082015260408051808201909152600080825260208201526007546000906001600160a01b0316639ae31ff5610a776001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610abb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610adf919061127e565b60075460405163f2b246c360e01b81526001600160601b03831660048201529192506000916001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610b37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5b9190611374565b60a081015160c082015160e0909201519097919650945092505050565b6000610b826107b7565b90506001600160a01b03811615801590610ba55750336001600160a01b03821614155b15610bc55760405163700dd81160e01b81523360048201526024016104a0565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a79060240161094e565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610c7c6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610cc46107b7565b6001600160a01b03168152602001826001018054610ce190611433565b80601f0160208091040260200160405190810160405280929190818152602001828054610d0d90611433565b8015610d5a5780601f10610d2f57610100808354040283529160200191610d5a565b820191906000526020600020905b815481529060010190602001808311610d3d57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610ddb57600080fd5b81356001600160e01b031981168114610df357600080fd5b9392505050565b6000815180845260005b81811015610e2057602081850181015186830182015201610e04565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151610e8460a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152610eca610120840182610dfa565b90508281036020840152610ede8185610dfa565b95945050505050565b6001600160601b0381168114610efc57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715610f3857610f38610eff565b60405290565b604051610120810167ffffffffffffffff81118282101715610f3857610f38610eff565b600060408284031215610f7457600080fd5b610f7c610f15565b9050813581526020820135602082015292915050565b60008060608385031215610fa557600080fd5b8235610fb081610ee7565b9150610fbf8460208501610f62565b90509250929050565b600082601f830112610fd957600080fd5b813567ffffffffffffffff80821115610ff457610ff4610eff565b604051601f8301601f19908116603f0116810190828211818310171561101c5761101c610eff565b8160405283815286602085880101111561103557600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806080858703121561106b57600080fd5b843561107681610ee7565b9350602085013567ffffffffffffffff8082111561109357600080fd5b61109f88838901610fc8565b945060408701359150808211156110b557600080fd5b506110c287828801610fc8565b949793965093946060013593505050565b600080600060c084860312156110e857600080fd5b6110f28585610f62565b92506111018560408601610f62565b91506111108560808601610f62565b90509250925092565b60008060008060a0858703121561112f57600080fd5b6111398686610f62565b93506040850135925060608501359150608085013567ffffffffffffffff81111561116357600080fd5b61116f87828801610fc8565b91505092959194509250565b6000806040838503121561118e57600080fd5b823567ffffffffffffffff808211156111a657600080fd5b6111b286838701610fc8565b935060208501359150808211156111c857600080fd5b506111d585828601610fc8565b9150509250929050565b865115158152602080880151908201526001600160a01b0386811660408301528516606082015283546080820152600184015460a08201526101408101835460c0830152600184015460e0830152825461010083015260018301546101208301525b979650505050505050565b60006020828403121561125e57600080fd5b81518015158114610df357600080fd5b805161127981610ee7565b919050565b60006020828403121561129057600080fd5b8151610df381610ee7565b6001600160601b038316815260608101610df3602083018480518252602090810151910152565b6001600160a01b0381168114610efc57600080fd5b6000602082840312156112e957600080fd5b8151610df3816112c2565b6001600160a01b0386168152611317602082018680518252602090810151910152565b83606082015282608082015260c060a0820152600061124160c0830184610dfa565b8051611279816112c2565b60006040828403121561135657600080fd5b61135e610f15565b9050815181526020820151602082015292915050565b60006101e0828403121561138757600080fd5b61138f610f3e565b6113988361126e565b81526113a66020840161126e565b60208201526113b760408401611339565b60408201526113c98460608501611344565b60608201526113db8460a08501611344565b60808201526113ed8460e08501611344565b60a0820152611400846101208501611344565b60c0820152611413846101608501611344565b60e0820152611426846101a08501611344565b6101008201529392505050565b600181811c9082168061144757607f821691505b60208210810361146757634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220dd15f1a0110678e857c9033c385b805424f00417ca1dbb972f1e3ebed35c5beb64736f6c63430008140033",
687
+ "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061012c5760003560e01c806365effc1a116100ad578063d7f5e60911610071578063d7f5e6091461029e578063dab12325146102b1578063db8d55f1146102c7578063de7b5d141461030d578063f83d08ba1461031e57600080fd5b806365effc1a14610256578063826787661461026957806387ef9ba01461027c578063893d20e81461028e578063a69df4b51461029657600080fd5b806321df0da7116100f457806321df0da7146101ed57806354afef63146101fe5780635ab1bd5314610206578063636450f514610217578063644c45e01461022a57600080fd5b806301ffc9a7146101315780630fec111c146101735780631329960414610189578063138461e0146101ae5780631eff4b22146101b8575b600080fd5b61015e61013f366004610dc9565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61017b610326565b60405161016a929190610e40565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161016a565b6101b66103dc565b005b6101df7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161016a565b6006546001600160a01b0316610196565b6008546101df565b6001546001600160a01b0316610196565b6101b6610225366004610f92565b6105fe565b600154600160a01b90046001600160601b03165b6040516001600160601b03909116815260200161016a565b6101b6610264366004611055565b610666565b6101b66102773660046110d3565b6106dc565b600754600160a01b900460ff1661015e565b6101966107b7565b6101b66108d5565b61023e6102ac366004611119565b610983565b61015e6102bf36600461117b565b600192915050565b6102cf610a0d565b60405161016a93929190835181526020938401518482015282516040820152918301516060830152805160808301529091015160a082015260c00190565b6007546001600160a01b0316610196565b6101b6610b78565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290918061036a610bf5565b604080518082018252600754600160a01b900460ff1615158152600854602080830191909152600554600654935195975093955086946103c39492936001600160a01b03938416931691600991600b91600d91016111df565b6040516020818303038152906040529350935050509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561043e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610462919061124c565b156104a9576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166104d25760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa15801561051b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053f919061124c565b610567576040516372657a5160e01b81526001600160a01b03821660048201526024016104a0565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156105b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d5919061127e565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600f5460405163636450f560e01b81526001600160a01b039091169063636450f590610630908590859060040161129b565b600060405180830381600087803b15801561064a57600080fd5b505af115801561065e573d6000803e3d6000fd5b505050505050565b6010546001600160a01b031633146106ca5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084016104a0565b6106d684848484610d7b565b50505050565b60006106e66107b7565b90506001600160a01b038116158015906107095750336001600160a01b03821614155b156107295760405163700dd81160e01b81523360048201526024016104a0565b600f54604051634133c3b360e11b8152855160048201526020808701516024830152855160448301528086015160648301528451608483015284015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b15801561079957600080fd5b505af11580156107ad573d6000803e3d6000fd5b5050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561081c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610840919061124c565b156108c557600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561089c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c091906112d7565b905090565b506002546001600160a01b031690565b60006108df6107b7565b90506001600160a01b038116158015906109025750336001600160a01b03821614155b156109225760405163700dd81160e01b81523360048201526024016104a0565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b15801561096857600080fd5b505af115801561097c573d6000803e3d6000fd5b5050505050565b600f5460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d53906109c09084908a908a908a908a906004016112f4565b6020604051808303816000875af11580156109df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a03919061127e565b9695505050505050565b6040805180820190915260008082526020820152604080518082019091526000808252602082015260408051808201909152600080825260208201526007546000906001600160a01b0316639ae31ff5610a776001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610abb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610adf919061127e565b60075460405163f2b246c360e01b81526001600160601b03831660048201529192506000916001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610b37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5b9190611374565b60a081015160c082015160e0909201519097919650945092505050565b6000610b826107b7565b90506001600160a01b03811615801590610ba55750336001600160a01b03821614155b15610bc55760405163700dd81160e01b81523360048201526024016104a0565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a79060240161094e565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610c7c6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610cc46107b7565b6001600160a01b03168152602001826001018054610ce190611433565b80601f0160208091040260200160405190810160405280929190818152602001828054610d0d90611433565b8015610d5a5780601f10610d2f57610100808354040283529160200191610d5a565b820191906000526020600020905b815481529060010190602001808311610d3d57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610ddb57600080fd5b81356001600160e01b031981168114610df357600080fd5b9392505050565b6000815180845260005b81811015610e2057602081850181015186830182015201610e04565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151610e8460a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152610eca610120840182610dfa565b90508281036020840152610ede8185610dfa565b95945050505050565b6001600160601b0381168114610efc57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715610f3857610f38610eff565b60405290565b604051610120810167ffffffffffffffff81118282101715610f3857610f38610eff565b600060408284031215610f7457600080fd5b610f7c610f15565b9050813581526020820135602082015292915050565b60008060608385031215610fa557600080fd5b8235610fb081610ee7565b9150610fbf8460208501610f62565b90509250929050565b600082601f830112610fd957600080fd5b813567ffffffffffffffff80821115610ff457610ff4610eff565b604051601f8301601f19908116603f0116810190828211818310171561101c5761101c610eff565b8160405283815286602085880101111561103557600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806080858703121561106b57600080fd5b843561107681610ee7565b9350602085013567ffffffffffffffff8082111561109357600080fd5b61109f88838901610fc8565b945060408701359150808211156110b557600080fd5b506110c287828801610fc8565b949793965093946060013593505050565b600080600060c084860312156110e857600080fd5b6110f28585610f62565b92506111018560408601610f62565b91506111108560808601610f62565b90509250925092565b60008060008060a0858703121561112f57600080fd5b6111398686610f62565b93506040850135925060608501359150608085013567ffffffffffffffff81111561116357600080fd5b61116f87828801610fc8565b91505092959194509250565b6000806040838503121561118e57600080fd5b823567ffffffffffffffff808211156111a657600080fd5b6111b286838701610fc8565b935060208501359150808211156111c857600080fd5b506111d585828601610fc8565b9150509250929050565b865115158152602080880151908201526001600160a01b0386811660408301528516606082015283546080820152600184015460a08201526101408101835460c0830152600184015460e0830152825461010083015260018301546101208301525b979650505050505050565b60006020828403121561125e57600080fd5b81518015158114610df357600080fd5b805161127981610ee7565b919050565b60006020828403121561129057600080fd5b8151610df381610ee7565b6001600160601b038316815260608101610df3602083018480518252602090810151910152565b6001600160a01b0381168114610efc57600080fd5b6000602082840312156112e957600080fd5b8151610df3816112c2565b6001600160a01b0386168152611317602082018680518252602090810151910152565b83606082015282608082015260c060a0820152600061124160c0830184610dfa565b8051611279816112c2565b60006040828403121561135657600080fd5b61135e610f15565b9050815181526020820151602082015292915050565b60006101e0828403121561138757600080fd5b61138f610f3e565b6113988361126e565b81526113a66020840161126e565b60208201526113b760408401611339565b60408201526113c98460608501611344565b60608201526113db8460a08501611344565b60808201526113ed8460e08501611344565b60a0820152611400846101208501611344565b60c0820152611413846101608501611344565b60e0820152611426846101a08501611344565b6101008201529392505050565b600181811c9082168061144757607f821691505b60208210810361146757634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220dd15f1a0110678e857c9033c385b805424f00417ca1dbb972f1e3ebed35c5beb64736f6c63430008140033",
688
+ "linkReferences": {
689
+ "contracts/types/NftId.sol": {
690
+ "NftIdLib": [
691
+ {
692
+ "length": 20,
693
+ "start": 4150
694
+ },
695
+ {
696
+ "length": 20,
697
+ "start": 5140
698
+ }
699
+ ]
700
+ }
701
+ },
702
+ "deployedLinkReferences": {
703
+ "contracts/types/NftId.sol": {
704
+ "NftIdLib": [
705
+ {
706
+ "length": 20,
707
+ "start": 1028
708
+ },
709
+ {
710
+ "length": 20,
711
+ "start": 2018
712
+ }
713
+ ]
714
+ }
715
+ }
602
716
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/23d9cb949ebaded2db536c461b622e36.json"
3
+ "buildInfo": "../../../build-info/22ace16a46acabda891a4eae781c3ca6.json"
4
4
  }
@@ -78,6 +78,87 @@
78
78
  "stateMutability": "nonpayable",
79
79
  "type": "constructor"
80
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
+ },
81
162
  {
82
163
  "inputs": [],
83
164
  "name": "InvalidInitialization",
@@ -370,7 +451,7 @@
370
451
  "outputs": [
371
452
  {
372
453
  "internalType": "NftId",
373
- "name": "nftId",
454
+ "name": "",
374
455
  "type": "uint96"
375
456
  }
376
457
  ],
@@ -459,7 +540,7 @@
459
540
  "outputs": [
460
541
  {
461
542
  "internalType": "contract IRegistry",
462
- "name": "registry",
543
+ "name": "",
463
544
  "type": "address"
464
545
  }
465
546
  ],
@@ -492,6 +573,13 @@
492
573
  "stateMutability": "view",
493
574
  "type": "function"
494
575
  },
576
+ {
577
+ "inputs": [],
578
+ "name": "linkToRegisteredNftId",
579
+ "outputs": [],
580
+ "stateMutability": "nonpayable",
581
+ "type": "function"
582
+ },
495
583
  {
496
584
  "inputs": [],
497
585
  "name": "lock",
@@ -591,14 +679,26 @@
591
679
  "type": "function"
592
680
  }
593
681
  ],
594
- "bytecode": "0x60806040523480156200001157600080fd5b50604051620028c3380380620028c38339810160408190526200003491620008ae565b888888888888888888888888606e6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff1916600117905589856040805160208101909152600081526200009f87878686868662000574565b6000620000c2600080516020620028a3833981519152546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000112573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200013c919081019062000a18565b6080810151600580546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152630de7806f60e41b6004820152919250906301ffc9a790602401602060405180830381865afa158015620001a4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ca919062000afe565b620001f65760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600560009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200024a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000270919062000b23565b600180546001600160a01b03199081166001600160a01b0393841617825560038054309083161790556004805490911692891692909217909155631b1599eb60e21b60009081526020527f82dc1aafdf8e16d475718790c9464a2912866acb395e292abd1ea37be80f5b28805460ff191690911790555050505050505050600560009054906101000a90046001600160a01b03166001600160a01b0316634288121d6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000342573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000368919062000b23565b600680546001600160a01b03199081166001600160a01b0393841617909155600780548216888416179055600880549091168683161790558351600955602080850151600a558351600b55830151600c55600080516020620028a38339815191525416600754604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa15801562000415573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200043b919062000b43565b600d80546001600160601b0319166001600160601b03929092169190911790556200047c600080516020620028a3833981519152546001600160a01b031690565b600854604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa158015620004c6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004ec919062000b43565b600d80546001600160601b03929092166c0100000000000000000000000002600160601b600160c01b03199092169190911790556379fc0e7160e11b60009081526020527fae37458bb8945ae7571d1722238fea83f3c5619cf829a972c67f136a0bac29d2805460ff1916600117905550505050505050505050505050505050505062000cbc565b6001600160a01b038616620005cc5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f00000000006044820152606401620001ed565b6040516301ffc9a760e01b8152636882e63f60e11b600482015286906001600160a01b038216906301ffc9a790602401602060405180830381865afa1580156200061a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000640919062000afe565b6200068e5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620001ed565b6001600160a01b03818116600160a01b6001600160601b038916810291909117600080516020620028a38339815191529081557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30180546001600160a01b031961ffff60a01b1990911660ff8b1690940260ff60a81b191693909317600160a81b8915150217929092169286169290921790557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3026200074d848262000bf0565b5063a6d3826560e01b60009081526020527f164a5a3a3a16df858f794c5fc01b962add2c2151ae53ddb31581eabdf1156730805460ff191660011790555050505050505050565b6001600160a01b0381168114620007aa57600080fd5b50565b8051620007ba8162000794565b919050565b80516001600160601b0381168114620007ba57600080fd5b80518015158114620007ba57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620008235762000823620007e8565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620008545762000854620007e8565b604052919050565b6000604082840312156200086f57600080fd5b604080519081016001600160401b0381118282101715620008945762000894620007e8565b604052825181526020928301519281019290925250919050565b60008060008060008060008060006101608a8c031215620008ce57600080fd5b8951620008db8162000794565b9850620008eb60208b01620007bf565b975060408a0151620008fd8162000794565b96506200090d60608b01620007d7565b955060808a01516200091f8162000794565b60a08b0151909550620009328162000794565b9350620009438b60c08c016200085c565b9250620009558b6101008c016200085c565b91506101408a0151620009688162000794565b809150509295985092959850929598565b805160ff81168114620007ba57600080fd5b600082601f8301126200099d57600080fd5b81516001600160401b03811115620009b957620009b9620007e8565b6020620009cf601f8301601f1916820162000829565b8281528582848701011115620009e457600080fd5b60005b8381101562000a04578581018301518282018401528201620009e7565b506000928101909101919091529392505050565b60006020828403121562000a2b57600080fd5b81516001600160401b038082111562000a4357600080fd5b9083019060e0828603121562000a5857600080fd5b62000a62620007fe565b62000a6d83620007bf565b815262000a7d60208401620007bf565b602082015262000a906040840162000979565b604082015262000aa360608401620007d7565b606082015262000ab660808401620007ad565b608082015262000ac960a08401620007ad565b60a082015260c08301518281111562000ae157600080fd5b62000aef878286016200098b565b60c08301525095945050505050565b60006020828403121562000b1157600080fd5b62000b1c82620007d7565b9392505050565b60006020828403121562000b3657600080fd5b815162000b1c8162000794565b60006020828403121562000b5657600080fd5b62000b1c82620007bf565b600181811c9082168062000b7657607f821691505b60208210810362000b9757634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000beb57600081815260208120601f850160051c8101602086101562000bc65750805b601f850160051c820191505b8181101562000be75782815560010162000bd2565b5050505b505050565b81516001600160401b0381111562000c0c5762000c0c620007e8565b62000c248162000c1d845462000b61565b8462000b9d565b602080601f83116001811462000c5c576000841562000c435750858301515b600019600386901b1c1916600185901b17855562000be7565b600085815260208120601f198616915b8281101562000c8d5788860151825594840194600190910190840162000c6c565b508582101562000cac5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611bd78062000ccc6000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063630361f6116100c3578063b6b412ba1161007c578063b6b412ba146102ff578063bbfbbfba14610312578063daafed4014610325578063db6dcc951461032d578063de7b5d1414610335578063f83d08ba1461034657600080fd5b8063630361f614610279578063644c45e01461028e578063893d20e814610296578063955fd7821461029e578063a69df4b5146102bf578063abd732ef146102c757600080fd5b80631bdd6b76116101155780631bdd6b76146102055780631eff4b221461022557806321df0da71461023a5780633f28c2ec1461024b5780635ab1bd531461025e5780635e78426b1461026657600080fd5b806301ffc9a7146101525780630fec111c1461019457806312abb9b3146101aa57806313299604146101cb5780631380bf23146101f0575b600080fd5b61017f61016036600461101c565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61019c61034e565b60405161018b92919061109d565b6101bd6101b836600461129e565b610578565b60405190815260200161018b565b6003546001600160a01b03165b6040516001600160a01b03909116815260200161018b565b6101f8610604565b60405161018b9190611327565b61020d610739565b6040516001600160601b03909116815260200161018b565b6101bd600080516020611b8283398151915281565b6004546001600160a01b03166101d8565b61020d61025936600461133e565b6107b6565b6101d861082c565b6101bd610274366004611388565b610848565b61028c610287366004611413565b61085e565b005b61020d6108a1565b6101d86108df565b6102a661095a565b6040516001600160c01b0319909116815260200161018b565b61028c610989565b6102f26040518060400160405280600c81526020016b44454641554c545f5249534b60a01b81525081565b60405161018b919061145a565b61028c61030d36600461149d565b610a2a565b61028c6103203660046114d2565b610aca565b6101f8610ad8565b61020d610c0d565b6005546001600160a01b03166101d8565b61028c610c48565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610392610cb0565b91509150600080600760009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156103ec573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104149190810190611592565b9150915060008060008380602001905181019061043191906116bb565b6040805161012081018252600d546001600160601b038082168352600160601b90910416602080830191909152600480546001600160a01b031683850152835180850185526009548152600a5481840152606084015283518085018552600b548152600c5492810192909252608083019190915260a0820186905260c0820185905260e082018490528251632bd182d360e01b81528351969c50949a509298508e975095506101008601945073__$a23651848365a6a5ca15f07b4331037f48$__93632bd182d39380840193908290030181865af4158015610517573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053b9190611760565b905260035460405161055a92916001600160a01b03169060200161177c565b60405160208183030381529060405298509850505050505050509091565b600654604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105b39089908b908a908a9089908b90600401611872565b60a060405180830381865afa1580156105d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f491906118c9565b50929a9950505050505050505050565b604080518082019091526000808252602082015260006106226108a1565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610674573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106989190611909565b1561071d5760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa1580156106ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107139190611926565b6060015191505090565b5050604080518082019091526009548152600a54602082015290565b600061074361082c565b600754604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa15801561078d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b191906119e5565b905090565b6000806107c161095a565b604080516020810190915260008152600d5491925090600160c01b900460ff16610812576107fe8260405180602001604052806000815250610e17565b600d805460ff60c01b1916600160c01b1790555b61082133838989858a8a610e49565b979650505050505050565b600080516020611b82833981519152546001600160a01b031690565b6000610855600a86611a02565b95945050505050565b6040513381527fb00037f8426b35b13d3428bd0d8bb6059e05f90d0da23ee636f827aee1718e489060200160405180910390a161089c838383610ed5565b505050565b600080516020611b8283398151915254604051636939560f60e11b81523060048201526000916001600160a01b03169063d272ac1e90602401610770565b6000600080516020611b8283398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610936573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b19190611a24565b60006107b16040518060400160405280600c81526020016b44454641554c545f5249534b60a01b815250610f55565b6109916108df565b6001600160a01b0316336001600160a01b0316146109ca5760405162461bcd60e51b81526004016109c190611a41565b60405180910390fd5b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610a1057600080fd5b505af1158015610a24573d6000803e3d6000fd5b50505050565b610a326108df565b6001600160a01b0316336001600160a01b031614610a625760405162461bcd60e51b81526004016109c190611a41565b600654604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610a949085908590600401611a78565b600060405180830381600087803b158015610aae57600080fd5b505af1158015610ac2573d6000803e3d6000fd5b505050505050565b610ad48282610fd6565b5050565b60408051808201909152600080825260208201526000610af66108a1565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610b48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6c9190611909565b15610bf15760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610bc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be79190611926565b6080015191505090565b505060408051808201909152600b548152600c54602082015290565b6000610c1761082c565b600854604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401610770565b610c506108df565b6001600160a01b0316336001600160a01b031614610c805760405162461bcd60e51b81526004016109c190611a41565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016109f6565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260606000600080516020611b8283398151915290506040518060e00160405280610d13600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610d7d90611a9e565b80601f0160208091040260200160405190810160405280929190818152602001828054610da990611a9e565b8015610df65780601f10610dcb57610100808354040283529160200191610df6565b820191906000526020600020905b815481529060010190602001808311610dd957829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6006546040516304af15b960e11b81526001600160a01b039091169063095e2b7290610a949085908590600401611ad8565b60065460405163c2c7498760e01b81526000916001600160a01b03169063c2c7498790610e86908b908b908b908b908b908b908b90600401611afe565b6020604051808303816000875af1158015610ea5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec991906119e5565b98975050505050505050565b600654604051633181b0fb60e11b81526001600160601b0385166004820152831515602482015264ffffffffff831660448201526001600160a01b039091169063630361f690606401600060405180830381600087803b158015610f3857600080fd5b505af1158015610f4c573d6000803e3d6000fd5b50505050505050565b60405163253a42dd60e11b815260009073__$19a201e37be2e25dc57bd4aa563a0edb25$__90634a7485ba90610f8f90859060040161145a565b602060405180830381865af4158015610fac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd09190611b64565b92915050565b600654604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba90604401610a94565b60006020828403121561102e57600080fd5b81356001600160e01b03198116811461104657600080fd5b9392505050565b60005b83811015611068578181015183820152602001611050565b50506000910152565b6000815180845261108981602086016020860161104d565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516110e160a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611127610120840182611071565b905082810360208401526108558185611071565b6001600160c01b03198116811461115157600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff8111828210171561118d5761118d611154565b60405290565b60405160e0810167ffffffffffffffff8111828210171561118d5761118d611154565b604051610120810167ffffffffffffffff8111828210171561118d5761118d611154565b604051601f8201601f1916810167ffffffffffffffff8111828210171561120357611203611154565b604052919050565b600067ffffffffffffffff82111561122557611225611154565b50601f01601f191660200190565b600082601f83011261124457600080fd5b81356112576112528261120b565b6111da565b81815284602083860101111561126c57600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b038116811461115157600080fd5b60008060008060008060c087890312156112b757600080fd5b8635955060208701356112c98161113b565b945060408701359350606087013567ffffffffffffffff8111156112ec57600080fd5b6112f889828a01611233565b93505060808701356113098161113b565b915060a087013561131981611289565b809150509295509295509295565b815181526020808301519082015260408101610fd0565b6000806000806080858703121561135457600080fd5b8435935060208501359250604085013561136d81611289565b9150606085013561137d8161113b565b939692955090935050565b6000806000806080858703121561139e57600080fd5b8435935060208501356113b08161113b565b925060408501359150606085013567ffffffffffffffff8111156113d357600080fd5b6113df87828801611233565b91505092959194509250565b801515811461115157600080fd5b803564ffffffffff8116811461140e57600080fd5b919050565b60008060006060848603121561142857600080fd5b833561143381611289565b92506020840135611443816113eb565b9150611451604085016113f9565b90509250925092565b6020815260006110466020830184611071565b60006040828403121561147f57600080fd5b61148761116a565b9050813581526020820135602082015292915050565b600080608083850312156114b057600080fd5b6114ba848461146d565b91506114c9846040850161146d565b90509250929050565b600080604083850312156114e557600080fd5b82356114f081611289565b91506114c9602084016113f9565b805161140e81611289565b805160ff8116811461140e57600080fd5b805161140e816113eb565b6001600160a01b038116811461115157600080fd5b805161140e81611525565b600082601f83011261155657600080fd5b81516115646112528261120b565b81815284602083860101111561157957600080fd5b61158a82602083016020870161104d565b949350505050565b600080604083850312156115a557600080fd5b825167ffffffffffffffff808211156115bd57600080fd5b9084019060e082870312156115d157600080fd5b6115d9611193565b6115e2836114fe565b81526115f0602084016114fe565b602082015261160160408401611509565b60408201526116126060840161151a565b60608201526116236080840161153a565b608082015261163460a0840161153a565b60a082015260c08301518281111561164b57600080fd5b61165788828601611545565b60c083015250602086015190945091508082111561167457600080fd5b5061168185828601611545565b9150509250929050565b60006040828403121561169d57600080fd5b6116a561116a565b9050815181526020820151602082015292915050565b6000806000806000808688036101408112156116d657600080fd5b60408112156116e457600080fd5b506116ed61116a565b87516116f8816113eb565b815260208881015190820152604088015190965061171581611525565b606088015190955061172681611525565b9350611735886080890161168b565b92506117448860c0890161168b565b915061175488610100890161168b565b90509295509295509295565b60006040828403121561177257600080fd5b611046838361168b565b82516001600160601b031681526020808401516102008301916117a9908401826001600160601b03169052565b5060408401516117c460408401826001600160a01b03169052565b5060608401516117e1606084018280518252602090810151910152565b506080840151805160a0840152602081015160c08401525060a0840151805160e084015260208101516101008401525060c0840151805161012084015260208101516101408401525060e0840151805161016084015260208101516101808401525061010084015180516101a084015260208101516101c0840152506001600160a01b0383166101e0830152611046565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c060608401526118a560c0840187611071565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a086880312156118e157600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b60006020828403121561191b57600080fd5b8151611046816113eb565b60006101e0828403121561193957600080fd5b6119416111b6565b61194a836114fe565b8152611958602084016114fe565b60208201526119696040840161153a565b604082015261197b846060850161168b565b606082015261198d8460a0850161168b565b608082015261199f8460e0850161168b565b60a08201526119b284610120850161168b565b60c08201526119c584610160850161168b565b60e08201526119d8846101a0850161168b565b6101008201529392505050565b6000602082840312156119f757600080fd5b815161104681611289565b600082611a1f57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611a3657600080fd5b815161104681611525565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b825181526020808401518183015282516040830152820151606082015260808101611046565b600181811c90821680611ab257607f821691505b602082108103611ad257634e487b7160e01b600052602260045260246000fd5b50919050565b67ffffffffffffffff60c01b8316815260406020820152600061158a6040830184611071565b60018060a01b0388168152600067ffffffffffffffff60c01b808916602084015287604084015286606084015260e06080840152611b3f60e0840187611071565b6001600160601b039590951660a08401529290921660c0909101525095945050505050565b600060208284031215611b7657600080fd5b81516110468161113b56fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300a264697066735822122004699364faef762bacf89af1a323d0e12c924ee340a2071fa9dab20a798c956764736f6c634300081400336548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300",
595
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061014d5760003560e01c8063630361f6116100c3578063b6b412ba1161007c578063b6b412ba146102ff578063bbfbbfba14610312578063daafed4014610325578063db6dcc951461032d578063de7b5d1414610335578063f83d08ba1461034657600080fd5b8063630361f614610279578063644c45e01461028e578063893d20e814610296578063955fd7821461029e578063a69df4b5146102bf578063abd732ef146102c757600080fd5b80631bdd6b76116101155780631bdd6b76146102055780631eff4b221461022557806321df0da71461023a5780633f28c2ec1461024b5780635ab1bd531461025e5780635e78426b1461026657600080fd5b806301ffc9a7146101525780630fec111c1461019457806312abb9b3146101aa57806313299604146101cb5780631380bf23146101f0575b600080fd5b61017f61016036600461101c565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61019c61034e565b60405161018b92919061109d565b6101bd6101b836600461129e565b610578565b60405190815260200161018b565b6003546001600160a01b03165b6040516001600160a01b03909116815260200161018b565b6101f8610604565b60405161018b9190611327565b61020d610739565b6040516001600160601b03909116815260200161018b565b6101bd600080516020611b8283398151915281565b6004546001600160a01b03166101d8565b61020d61025936600461133e565b6107b6565b6101d861082c565b6101bd610274366004611388565b610848565b61028c610287366004611413565b61085e565b005b61020d6108a1565b6101d86108df565b6102a661095a565b6040516001600160c01b0319909116815260200161018b565b61028c610989565b6102f26040518060400160405280600c81526020016b44454641554c545f5249534b60a01b81525081565b60405161018b919061145a565b61028c61030d36600461149d565b610a2a565b61028c6103203660046114d2565b610aca565b6101f8610ad8565b61020d610c0d565b6005546001600160a01b03166101d8565b61028c610c48565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610392610cb0565b91509150600080600760009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156103ec573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104149190810190611592565b9150915060008060008380602001905181019061043191906116bb565b6040805161012081018252600d546001600160601b038082168352600160601b90910416602080830191909152600480546001600160a01b031683850152835180850185526009548152600a5481840152606084015283518085018552600b548152600c5492810192909252608083019190915260a0820186905260c0820185905260e082018490528251632bd182d360e01b81528351969c50949a509298508e975095506101008601945073__$a23651848365a6a5ca15f07b4331037f48$__93632bd182d39380840193908290030181865af4158015610517573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053b9190611760565b905260035460405161055a92916001600160a01b03169060200161177c565b60405160208183030381529060405298509850505050505050509091565b600654604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105b39089908b908a908a9089908b90600401611872565b60a060405180830381865afa1580156105d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f491906118c9565b50929a9950505050505050505050565b604080518082019091526000808252602082015260006106226108a1565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610674573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106989190611909565b1561071d5760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa1580156106ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107139190611926565b6060015191505090565b5050604080518082019091526009548152600a54602082015290565b600061074361082c565b600754604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa15801561078d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b191906119e5565b905090565b6000806107c161095a565b604080516020810190915260008152600d5491925090600160c01b900460ff16610812576107fe8260405180602001604052806000815250610e17565b600d805460ff60c01b1916600160c01b1790555b61082133838989858a8a610e49565b979650505050505050565b600080516020611b82833981519152546001600160a01b031690565b6000610855600a86611a02565b95945050505050565b6040513381527fb00037f8426b35b13d3428bd0d8bb6059e05f90d0da23ee636f827aee1718e489060200160405180910390a161089c838383610ed5565b505050565b600080516020611b8283398151915254604051636939560f60e11b81523060048201526000916001600160a01b03169063d272ac1e90602401610770565b6000600080516020611b8283398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610936573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b19190611a24565b60006107b16040518060400160405280600c81526020016b44454641554c545f5249534b60a01b815250610f55565b6109916108df565b6001600160a01b0316336001600160a01b0316146109ca5760405162461bcd60e51b81526004016109c190611a41565b60405180910390fd5b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610a1057600080fd5b505af1158015610a24573d6000803e3d6000fd5b50505050565b610a326108df565b6001600160a01b0316336001600160a01b031614610a625760405162461bcd60e51b81526004016109c190611a41565b600654604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610a949085908590600401611a78565b600060405180830381600087803b158015610aae57600080fd5b505af1158015610ac2573d6000803e3d6000fd5b505050505050565b610ad48282610fd6565b5050565b60408051808201909152600080825260208201526000610af66108a1565b60055460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610b48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6c9190611909565b15610bf15760055460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610bc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be79190611926565b6080015191505090565b505060408051808201909152600b548152600c54602082015290565b6000610c1761082c565b600854604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401610770565b610c506108df565b6001600160a01b0316336001600160a01b031614610c805760405162461bcd60e51b81526004016109c190611a41565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016109f6565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260606000600080516020611b8283398151915290506040518060e00160405280610d13600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610d7d90611a9e565b80601f0160208091040260200160405190810160405280929190818152602001828054610da990611a9e565b8015610df65780601f10610dcb57610100808354040283529160200191610df6565b820191906000526020600020905b815481529060010190602001808311610dd957829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6006546040516304af15b960e11b81526001600160a01b039091169063095e2b7290610a949085908590600401611ad8565b60065460405163c2c7498760e01b81526000916001600160a01b03169063c2c7498790610e86908b908b908b908b908b908b908b90600401611afe565b6020604051808303816000875af1158015610ea5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec991906119e5565b98975050505050505050565b600654604051633181b0fb60e11b81526001600160601b0385166004820152831515602482015264ffffffffff831660448201526001600160a01b039091169063630361f690606401600060405180830381600087803b158015610f3857600080fd5b505af1158015610f4c573d6000803e3d6000fd5b50505050505050565b60405163253a42dd60e11b815260009073__$19a201e37be2e25dc57bd4aa563a0edb25$__90634a7485ba90610f8f90859060040161145a565b602060405180830381865af4158015610fac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd09190611b64565b92915050565b600654604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba90604401610a94565b60006020828403121561102e57600080fd5b81356001600160e01b03198116811461104657600080fd5b9392505050565b60005b83811015611068578181015183820152602001611050565b50506000910152565b6000815180845261108981602086016020860161104d565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516110e160a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611127610120840182611071565b905082810360208401526108558185611071565b6001600160c01b03198116811461115157600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff8111828210171561118d5761118d611154565b60405290565b60405160e0810167ffffffffffffffff8111828210171561118d5761118d611154565b604051610120810167ffffffffffffffff8111828210171561118d5761118d611154565b604051601f8201601f1916810167ffffffffffffffff8111828210171561120357611203611154565b604052919050565b600067ffffffffffffffff82111561122557611225611154565b50601f01601f191660200190565b600082601f83011261124457600080fd5b81356112576112528261120b565b6111da565b81815284602083860101111561126c57600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b038116811461115157600080fd5b60008060008060008060c087890312156112b757600080fd5b8635955060208701356112c98161113b565b945060408701359350606087013567ffffffffffffffff8111156112ec57600080fd5b6112f889828a01611233565b93505060808701356113098161113b565b915060a087013561131981611289565b809150509295509295509295565b815181526020808301519082015260408101610fd0565b6000806000806080858703121561135457600080fd5b8435935060208501359250604085013561136d81611289565b9150606085013561137d8161113b565b939692955090935050565b6000806000806080858703121561139e57600080fd5b8435935060208501356113b08161113b565b925060408501359150606085013567ffffffffffffffff8111156113d357600080fd5b6113df87828801611233565b91505092959194509250565b801515811461115157600080fd5b803564ffffffffff8116811461140e57600080fd5b919050565b60008060006060848603121561142857600080fd5b833561143381611289565b92506020840135611443816113eb565b9150611451604085016113f9565b90509250925092565b6020815260006110466020830184611071565b60006040828403121561147f57600080fd5b61148761116a565b9050813581526020820135602082015292915050565b600080608083850312156114b057600080fd5b6114ba848461146d565b91506114c9846040850161146d565b90509250929050565b600080604083850312156114e557600080fd5b82356114f081611289565b91506114c9602084016113f9565b805161140e81611289565b805160ff8116811461140e57600080fd5b805161140e816113eb565b6001600160a01b038116811461115157600080fd5b805161140e81611525565b600082601f83011261155657600080fd5b81516115646112528261120b565b81815284602083860101111561157957600080fd5b61158a82602083016020870161104d565b949350505050565b600080604083850312156115a557600080fd5b825167ffffffffffffffff808211156115bd57600080fd5b9084019060e082870312156115d157600080fd5b6115d9611193565b6115e2836114fe565b81526115f0602084016114fe565b602082015261160160408401611509565b60408201526116126060840161151a565b60608201526116236080840161153a565b608082015261163460a0840161153a565b60a082015260c08301518281111561164b57600080fd5b61165788828601611545565b60c083015250602086015190945091508082111561167457600080fd5b5061168185828601611545565b9150509250929050565b60006040828403121561169d57600080fd5b6116a561116a565b9050815181526020820151602082015292915050565b6000806000806000808688036101408112156116d657600080fd5b60408112156116e457600080fd5b506116ed61116a565b87516116f8816113eb565b815260208881015190820152604088015190965061171581611525565b606088015190955061172681611525565b9350611735886080890161168b565b92506117448860c0890161168b565b915061175488610100890161168b565b90509295509295509295565b60006040828403121561177257600080fd5b611046838361168b565b82516001600160601b031681526020808401516102008301916117a9908401826001600160601b03169052565b5060408401516117c460408401826001600160a01b03169052565b5060608401516117e1606084018280518252602090810151910152565b506080840151805160a0840152602081015160c08401525060a0840151805160e084015260208101516101008401525060c0840151805161012084015260208101516101408401525060e0840151805161016084015260208101516101808401525061010084015180516101a084015260208101516101c0840152506001600160a01b0383166101e0830152611046565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c060608401526118a560c0840187611071565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a086880312156118e157600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b60006020828403121561191b57600080fd5b8151611046816113eb565b60006101e0828403121561193957600080fd5b6119416111b6565b61194a836114fe565b8152611958602084016114fe565b60208201526119696040840161153a565b604082015261197b846060850161168b565b606082015261198d8460a0850161168b565b608082015261199f8460e0850161168b565b60a08201526119b284610120850161168b565b60c08201526119c584610160850161168b565b60e08201526119d8846101a0850161168b565b6101008201529392505050565b6000602082840312156119f757600080fd5b815161104681611289565b600082611a1f57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611a3657600080fd5b815161104681611525565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b825181526020808401518183015282516040830152820151606082015260808101611046565b600181811c90821680611ab257607f821691505b602082108103611ad257634e487b7160e01b600052602260045260246000fd5b50919050565b67ffffffffffffffff60c01b8316815260406020820152600061158a6040830184611071565b60018060a01b0388168152600067ffffffffffffffff60c01b808916602084015287604084015286606084015260e06080840152611b3f60e0840187611071565b6001600160601b039590951660a08401529290921660c0909101525095945050505050565b600060208284031215611b7657600080fd5b81516110468161113b56fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300a264697066735822122004699364faef762bacf89af1a323d0e12c924ee340a2071fa9dab20a798c956764736f6c63430008140033",
682
+ "bytecode": "0x60806040523480156200001157600080fd5b5060405162002ba738038062002ba78339810160408190526200003491620008de565b888888888888888888888888606e6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558985600280546001600160a01b03191633179055604080516020810190915260008152620000b18787868686866200055c565b6000620000c66001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000116573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000140919081019062000a48565b6080810151600780546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152630de7806f60e41b6004820152919250906301ffc9a790602401602060405180830381865afa158015620001a8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ce919062000b2e565b620001fa5760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200024e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000274919062000b53565b600380546001600160a01b03199081166001600160a01b0393841617909155600580543090831617905560068054909116918816919091179055631b1599eb60e21b60009081526020527f82dc1aafdf8e16d475718790c9464a2912866acb395e292abd1ea37be80f5b28805460ff191660011790555050505050505050600760009054906101000a90046001600160a01b03166001600160a01b0316634288121d6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000346573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200036c919062000b53565b600880546001600160a01b03199081166001600160a01b0393841617909155600980548216888416179055600a80549091168683161790558351600b55602080850151600c558351600d55830151600e5560015416600954604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa1580156200040b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000431919062000b73565b600f80546001600160601b0319166001600160601b0392909216919091179055620004646001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa158015620004ae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004d4919062000b73565b600f80546001600160601b03929092166c0100000000000000000000000002600160601b600160c01b03199092169190911790556379fc0e7160e11b60009081526020527fae37458bb8945ae7571d1722238fea83f3c5619cf829a972c67f136a0bac29d2805460ff1916600117905550505050505050505050505050505050505062000cec565b6200056882876200062d565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d010000000000000000000000000086151502178155905060018101620005e7838262000c20565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b600280546001600160a01b0319166001600160a01b038416179055620006538162000657565b5050565b6001546001600160a01b031615620006925760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001f1565b6001600160a01b038116620006ba5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620006f25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001f1565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263350fb35160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156200076f575060408051601f3d908101601f191682019092526200076c9181019062000b2e565b60015b620007995760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001f1565b80620006535760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001f1565b50565b6001600160a01b0381168114620007c457600080fd5b8051620007ea81620007c7565b919050565b80516001600160601b0381168114620007ea57600080fd5b80518015158114620007ea57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171562000853576200085362000818565b60405290565b604051601f8201601f191681016001600160401b038111828210171562000884576200088462000818565b604052919050565b6000604082840312156200089f57600080fd5b604080519081016001600160401b0381118282101715620008c457620008c462000818565b604052825181526020928301519281019290925250919050565b60008060008060008060008060006101608a8c031215620008fe57600080fd5b89516200090b81620007c7565b98506200091b60208b01620007ef565b975060408a01516200092d81620007c7565b96506200093d60608b0162000807565b955060808a01516200094f81620007c7565b60a08b01519095506200096281620007c7565b9350620009738b60c08c016200088c565b9250620009858b6101008c016200088c565b91506101408a01516200099881620007c7565b809150509295985092959850929598565b805160ff81168114620007ea57600080fd5b600082601f830112620009cd57600080fd5b81516001600160401b03811115620009e957620009e962000818565b6020620009ff601f8301601f1916820162000859565b828152858284870101111562000a1457600080fd5b60005b8381101562000a3457858101830151828201840152820162000a17565b506000928101909101919091529392505050565b60006020828403121562000a5b57600080fd5b81516001600160401b038082111562000a7357600080fd5b9083019060e0828603121562000a8857600080fd5b62000a926200082e565b62000a9d83620007ef565b815262000aad60208401620007ef565b602082015262000ac060408401620009a9565b604082015262000ad36060840162000807565b606082015262000ae660808401620007dd565b608082015262000af960a08401620007dd565b60a082015260c08301518281111562000b1157600080fd5b62000b1f87828601620009bb565b60c08301525095945050505050565b60006020828403121562000b4157600080fd5b62000b4c8262000807565b9392505050565b60006020828403121562000b6657600080fd5b815162000b4c81620007c7565b60006020828403121562000b8657600080fd5b62000b4c82620007ef565b600181811c9082168062000ba657607f821691505b60208210810362000bc757634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000c1b57600081815260208120601f850160051c8101602086101562000bf65750805b601f850160051c820191505b8181101562000c175782815560010162000c02565b5050505b505050565b81516001600160401b0381111562000c3c5762000c3c62000818565b62000c548162000c4d845462000b91565b8462000bcd565b602080601f83116001811462000c8c576000841562000c735750858301515b600019600386901b1c1916600185901b17855562000c17565b600085815260208120601f198616915b8281101562000cbd5788860151825594840194600190910190840162000c9c565b508582101562000cdc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611eab8062000cfc6000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c8063630361f6116100c3578063b6b412ba1161007c578063b6b412ba1461033d578063bbfbbfba14610350578063daafed4014610363578063db6dcc951461036b578063de7b5d1414610373578063f83d08ba1461038457600080fd5b8063630361f6146102a9578063644c45e0146102bc578063893d20e8146102d4578063955fd782146102dc578063a69df4b5146102fd578063abd732ef1461030557600080fd5b80631bdd6b76116101155780631bdd6b761461021a5780631eff4b221461023a57806321df0da7146102615780633f28c2ec146102725780635ab1bd53146102855780635e78426b1461029657600080fd5b806301ffc9a71461015d5780630fec111c1461019f57806312abb9b3146101b557806313299604146101d65780631380bf23146101fb578063138461e014610210575b600080fd5b61018a61016b366004611347565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101a761038c565b6040516101969291906113c8565b6101c86101c33660046115c9565b6105b6565b604051908152602001610196565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610196565b610203610642565b6040516101969190611652565b610218610783565b005b6102226109a5565b6040516001600160601b039091168152602001610196565b6101c87f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6006546001600160a01b03166101e3565b610222610280366004611669565b610a2c565b6001546001600160a01b03166101e3565b6101c86102a43660046116b3565b610aa2565b6102186102b736600461173e565b610ab8565b600154600160a01b90046001600160601b0316610222565b6101e3610afb565b6102e4610c14565b6040516001600160c01b03199091168152602001610196565b610218610c43565b6103306040518060400160405280600c81526020016b44454641554c545f5249534b60a01b81525081565b6040516101969190611785565b61021861034b3660046117c8565b610cf1565b61021861035e3660046117fd565b610da7565b610203610db5565b610222610ef6565b6007546001600160a01b03166101e3565b610218610f3b565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091806103d0610fb8565b91509150600080600960009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561042a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261045291908101906118bd565b9150915060008060008380602001905181019061046f91906119e6565b6040805161012081018252600f546001600160601b038082168352600160601b909104166020808301919091526006546001600160a01b03168284015282518084018452600b548152600c5481830152606083015282518084018452600d548152600e5491810191909152608082015260a0810185905260c0810184905260e081018390528151632bd182d360e01b81528251959b509399509197508d96509094506101008501935073__$a23651848365a6a5ca15f07b4331037f48$__92632bd182d39260048082019392918290030181865af4158015610555573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105799190611a8b565b905260055460405161059892916001600160a01b031690602001611aa7565b60405160208183030381529060405298509850505050505050509091565b600854604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105f19089908b908a908a9089908b90600401611b9d565b60a060405180830381865afa15801561060e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106329190611bf4565b50929a9950505050505050505050565b6040805180820190915260008082526020820152600154600090600160a01b90046001600160601b031660075460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa1580156106be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e29190611c34565b156107675760075460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075d9190611c51565b6060015191505090565b505060408051808201909152600b548152600c54602082015290565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108099190611c34565b15610850576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108795760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e69190611c34565b61090e576040516372657a5160e01b81526001600160a01b0382166004820152602401610847565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610958573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097c9190611d10565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60006109b96001546001600160a01b031690565b600954604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa158015610a03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a279190611d10565b905090565b600080610a37610c14565b604080516020810190915260008152600f5491925090600160c01b900460ff16610a8857610a74826040518060200160405280600081525061113e565b600f805460ff60c01b1916600160c01b1790555b610a9733838989858a8a6111a6565b979650505050505050565b6000610aaf600a86611d2d565b95945050505050565b6040513381527fb00037f8426b35b13d3428bd0d8bb6059e05f90d0da23ee636f827aee1718e489060200160405180910390a1610af6838383611232565b505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610b60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b849190611c34565b15610c0457600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610be0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a279190611d4f565b506002546001600160a01b031690565b6000610a276040518060400160405280600c81526020016b44454641554c545f5249534b60a01b815250611280565b6000610c4d610afb565b90506001600160a01b03811615801590610c705750336001600160a01b03821614155b15610c905760405163700dd81160e01b8152336004820152602401610847565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610cd657600080fd5b505af1158015610cea573d6000803e3d6000fd5b5050505050565b6000610cfb610afb565b90506001600160a01b03811615801590610d1e5750336001600160a01b03821614155b15610d3e5760405163700dd81160e01b8152336004820152602401610847565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610d709086908690600401611d6c565b600060405180830381600087803b158015610d8a57600080fd5b505af1158015610d9e573d6000803e3d6000fd5b50505050505050565b610db18282611301565b5050565b6040805180820190915260008082526020820152600154600090600160a01b90046001600160601b031660075460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610e31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e559190611c34565b15610eda5760075460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed09190611c51565b6080015191505090565b505060408051808201909152600d548152600e54602082015290565b6000610f0a6001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024016109e6565b6000610f45610afb565b90506001600160a01b03811615801590610f685750336001600160a01b03821614155b15610f885760405163700dd81160e01b8152336004820152602401610847565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610cbc565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061103f6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001611087610afb565b6001600160a01b031681526020018260010180546110a490611d92565b80601f01602080910402602001604051908101604052809291908181526020018280546110d090611d92565b801561111d5780601f106110f25761010080835404028352916020019161111d565b820191906000526020600020905b81548152906001019060200180831161110057829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6008546040516304af15b960e11b81526001600160a01b039091169063095e2b72906111709085908590600401611dcc565b600060405180830381600087803b15801561118a57600080fd5b505af115801561119e573d6000803e3d6000fd5b505050505050565b60085460405163c2c7498760e01b81526000916001600160a01b03169063c2c74987906111e3908b908b908b908b908b908b908b90600401611df2565b6020604051808303816000875af1158015611202573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112269190611d10565b98975050505050505050565b600854604051633181b0fb60e11b81526001600160601b0385166004820152831515602482015264ffffffffff831660448201526001600160a01b039091169063630361f690606401610d70565b60405163253a42dd60e11b815260009073__$19a201e37be2e25dc57bd4aa563a0edb25$__90634a7485ba906112ba908590600401611785565b602060405180830381865af41580156112d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112fb9190611e58565b92915050565b600854604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba90604401611170565b60006020828403121561135957600080fd5b81356001600160e01b03198116811461137157600080fd5b9392505050565b60005b8381101561139357818101518382015260200161137b565b50506000910152565b600081518084526113b4816020860160208601611378565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161140c60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261145261012084018261139c565b90508281036020840152610aaf818561139c565b6001600160c01b03198116811461147c57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156114b8576114b861147f565b60405290565b60405160e0810167ffffffffffffffff811182821017156114b8576114b861147f565b604051610120810167ffffffffffffffff811182821017156114b8576114b861147f565b604051601f8201601f1916810167ffffffffffffffff8111828210171561152e5761152e61147f565b604052919050565b600067ffffffffffffffff8211156115505761155061147f565b50601f01601f191660200190565b600082601f83011261156f57600080fd5b813561158261157d82611536565b611505565b81815284602083860101111561159757600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b038116811461147c57600080fd5b60008060008060008060c087890312156115e257600080fd5b8635955060208701356115f481611466565b945060408701359350606087013567ffffffffffffffff81111561161757600080fd5b61162389828a0161155e565b935050608087013561163481611466565b915060a0870135611644816115b4565b809150509295509295509295565b8151815260208083015190820152604081016112fb565b6000806000806080858703121561167f57600080fd5b84359350602085013592506040850135611698816115b4565b915060608501356116a881611466565b939692955090935050565b600080600080608085870312156116c957600080fd5b8435935060208501356116db81611466565b925060408501359150606085013567ffffffffffffffff8111156116fe57600080fd5b61170a8782880161155e565b91505092959194509250565b801515811461147c57600080fd5b803564ffffffffff8116811461173957600080fd5b919050565b60008060006060848603121561175357600080fd5b833561175e816115b4565b9250602084013561176e81611716565b915061177c60408501611724565b90509250925092565b602081526000611371602083018461139c565b6000604082840312156117aa57600080fd5b6117b2611495565b9050813581526020820135602082015292915050565b600080608083850312156117db57600080fd5b6117e58484611798565b91506117f48460408501611798565b90509250929050565b6000806040838503121561181057600080fd5b823561181b816115b4565b91506117f460208401611724565b8051611739816115b4565b805160ff8116811461173957600080fd5b805161173981611716565b6001600160a01b038116811461147c57600080fd5b805161173981611850565b600082601f83011261188157600080fd5b815161188f61157d82611536565b8181528460208386010111156118a457600080fd5b6118b5826020830160208701611378565b949350505050565b600080604083850312156118d057600080fd5b825167ffffffffffffffff808211156118e857600080fd5b9084019060e082870312156118fc57600080fd5b6119046114be565b61190d83611829565b815261191b60208401611829565b602082015261192c60408401611834565b604082015261193d60608401611845565b606082015261194e60808401611865565b608082015261195f60a08401611865565b60a082015260c08301518281111561197657600080fd5b61198288828601611870565b60c083015250602086015190945091508082111561199f57600080fd5b506119ac85828601611870565b9150509250929050565b6000604082840312156119c857600080fd5b6119d0611495565b9050815181526020820151602082015292915050565b600080600080600080868803610140811215611a0157600080fd5b6040811215611a0f57600080fd5b50611a18611495565b8751611a2381611716565b8152602088810151908201526040880151909650611a4081611850565b6060880151909550611a5181611850565b9350611a6088608089016119b6565b9250611a6f8860c089016119b6565b9150611a7f8861010089016119b6565b90509295509295509295565b600060408284031215611a9d57600080fd5b61137183836119b6565b82516001600160601b03168152602080840151610200830191611ad4908401826001600160601b03169052565b506040840151611aef60408401826001600160a01b03169052565b506060840151611b0c606084018280518252602090810151910152565b506080840151805160a0840152602081015160c08401525060a0840151805160e084015260208101516101008401525060c0840151805161012084015260208101516101408401525060e0840151805161016084015260208101516101808401525061010084015180516101a084015260208101516101c0840152506001600160a01b0383166101e0830152611371565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c06060840152611bd060c084018761139c565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a08688031215611c0c57600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b600060208284031215611c4657600080fd5b815161137181611716565b60006101e08284031215611c6457600080fd5b611c6c6114e1565b611c7583611829565b8152611c8360208401611829565b6020820152611c9460408401611865565b6040820152611ca684606085016119b6565b6060820152611cb88460a085016119b6565b6080820152611cca8460e085016119b6565b60a0820152611cdd8461012085016119b6565b60c0820152611cf08461016085016119b6565b60e0820152611d03846101a085016119b6565b6101008201529392505050565b600060208284031215611d2257600080fd5b8151611371816115b4565b600082611d4a57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611d6157600080fd5b815161137181611850565b825181526020808401518183015282516040830152820151606082015260808101611371565b600181811c90821680611da657607f821691505b602082108103611dc657634e487b7160e01b600052602260045260246000fd5b50919050565b67ffffffffffffffff60c01b831681526040602082015260006118b5604083018461139c565b60018060a01b0388168152600067ffffffffffffffff60c01b808916602084015287604084015286606084015260e06080840152611e3360e084018761139c565b6001600160601b039590951660a08401529290921660c0909101525095945050505050565b600060208284031215611e6a57600080fd5b81516113718161146656fea2646970667358221220f4896bc949a5ecfeebf0a35496eb839b6c7e746102d37bf223e86f5dc0ea6ee164736f6c63430008140033",
683
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101585760003560e01c8063630361f6116100c3578063b6b412ba1161007c578063b6b412ba1461033d578063bbfbbfba14610350578063daafed4014610363578063db6dcc951461036b578063de7b5d1414610373578063f83d08ba1461038457600080fd5b8063630361f6146102a9578063644c45e0146102bc578063893d20e8146102d4578063955fd782146102dc578063a69df4b5146102fd578063abd732ef1461030557600080fd5b80631bdd6b76116101155780631bdd6b761461021a5780631eff4b221461023a57806321df0da7146102615780633f28c2ec146102725780635ab1bd53146102855780635e78426b1461029657600080fd5b806301ffc9a71461015d5780630fec111c1461019f57806312abb9b3146101b557806313299604146101d65780631380bf23146101fb578063138461e014610210575b600080fd5b61018a61016b366004611347565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101a761038c565b6040516101969291906113c8565b6101c86101c33660046115c9565b6105b6565b604051908152602001610196565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610196565b610203610642565b6040516101969190611652565b610218610783565b005b6102226109a5565b6040516001600160601b039091168152602001610196565b6101c87f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6006546001600160a01b03166101e3565b610222610280366004611669565b610a2c565b6001546001600160a01b03166101e3565b6101c86102a43660046116b3565b610aa2565b6102186102b736600461173e565b610ab8565b600154600160a01b90046001600160601b0316610222565b6101e3610afb565b6102e4610c14565b6040516001600160c01b03199091168152602001610196565b610218610c43565b6103306040518060400160405280600c81526020016b44454641554c545f5249534b60a01b81525081565b6040516101969190611785565b61021861034b3660046117c8565b610cf1565b61021861035e3660046117fd565b610da7565b610203610db5565b610222610ef6565b6007546001600160a01b03166101e3565b610218610f3b565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091806103d0610fb8565b91509150600080600960009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561042a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261045291908101906118bd565b9150915060008060008380602001905181019061046f91906119e6565b6040805161012081018252600f546001600160601b038082168352600160601b909104166020808301919091526006546001600160a01b03168284015282518084018452600b548152600c5481830152606083015282518084018452600d548152600e5491810191909152608082015260a0810185905260c0810184905260e081018390528151632bd182d360e01b81528251959b509399509197508d96509094506101008501935073__$a23651848365a6a5ca15f07b4331037f48$__92632bd182d39260048082019392918290030181865af4158015610555573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105799190611a8b565b905260055460405161059892916001600160a01b031690602001611aa7565b60405160208183030381529060405298509850505050505050509091565b600854604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105f19089908b908a908a9089908b90600401611b9d565b60a060405180830381865afa15801561060e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106329190611bf4565b50929a9950505050505050505050565b6040805180820190915260008082526020820152600154600090600160a01b90046001600160601b031660075460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa1580156106be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e29190611c34565b156107675760075460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075d9190611c51565b6060015191505090565b505060408051808201909152600b548152600c54602082015290565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108099190611c34565b15610850576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108795760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e69190611c34565b61090e576040516372657a5160e01b81526001600160a01b0382166004820152602401610847565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610958573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097c9190611d10565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60006109b96001546001600160a01b031690565b600954604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa158015610a03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a279190611d10565b905090565b600080610a37610c14565b604080516020810190915260008152600f5491925090600160c01b900460ff16610a8857610a74826040518060200160405280600081525061113e565b600f805460ff60c01b1916600160c01b1790555b610a9733838989858a8a6111a6565b979650505050505050565b6000610aaf600a86611d2d565b95945050505050565b6040513381527fb00037f8426b35b13d3428bd0d8bb6059e05f90d0da23ee636f827aee1718e489060200160405180910390a1610af6838383611232565b505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610b60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b849190611c34565b15610c0457600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610be0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a279190611d4f565b506002546001600160a01b031690565b6000610a276040518060400160405280600c81526020016b44454641554c545f5249534b60a01b815250611280565b6000610c4d610afb565b90506001600160a01b03811615801590610c705750336001600160a01b03821614155b15610c905760405163700dd81160e01b8152336004820152602401610847565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610cd657600080fd5b505af1158015610cea573d6000803e3d6000fd5b5050505050565b6000610cfb610afb565b90506001600160a01b03811615801590610d1e5750336001600160a01b03821614155b15610d3e5760405163700dd81160e01b8152336004820152602401610847565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610d709086908690600401611d6c565b600060405180830381600087803b158015610d8a57600080fd5b505af1158015610d9e573d6000803e3d6000fd5b50505050505050565b610db18282611301565b5050565b6040805180820190915260008082526020820152600154600090600160a01b90046001600160601b031660075460405163278b381b60e01b81526001600160601b03831660048201529192506001600160a01b03169063278b381b90602401602060405180830381865afa158015610e31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e559190611c34565b15610eda5760075460405163f2b246c360e01b81526001600160601b03831660048201526001600160a01b039091169063f2b246c3906024016101e060405180830381865afa158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed09190611c51565b6080015191505090565b505060408051808201909152600d548152600e54602082015290565b6000610f0a6001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024016109e6565b6000610f45610afb565b90506001600160a01b03811615801590610f685750336001600160a01b03821614155b15610f885760405163700dd81160e01b8152336004820152602401610847565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610cbc565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061103f6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001611087610afb565b6001600160a01b031681526020018260010180546110a490611d92565b80601f01602080910402602001604051908101604052809291908181526020018280546110d090611d92565b801561111d5780601f106110f25761010080835404028352916020019161111d565b820191906000526020600020905b81548152906001019060200180831161110057829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6008546040516304af15b960e11b81526001600160a01b039091169063095e2b72906111709085908590600401611dcc565b600060405180830381600087803b15801561118a57600080fd5b505af115801561119e573d6000803e3d6000fd5b505050505050565b60085460405163c2c7498760e01b81526000916001600160a01b03169063c2c74987906111e3908b908b908b908b908b908b908b90600401611df2565b6020604051808303816000875af1158015611202573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112269190611d10565b98975050505050505050565b600854604051633181b0fb60e11b81526001600160601b0385166004820152831515602482015264ffffffffff831660448201526001600160a01b039091169063630361f690606401610d70565b60405163253a42dd60e11b815260009073__$19a201e37be2e25dc57bd4aa563a0edb25$__90634a7485ba906112ba908590600401611785565b602060405180830381865af41580156112d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112fb9190611e58565b92915050565b600854604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba90604401611170565b60006020828403121561135957600080fd5b81356001600160e01b03198116811461137157600080fd5b9392505050565b60005b8381101561139357818101518382015260200161137b565b50506000910152565b600081518084526113b4816020860160208601611378565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161140c60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261145261012084018261139c565b90508281036020840152610aaf818561139c565b6001600160c01b03198116811461147c57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156114b8576114b861147f565b60405290565b60405160e0810167ffffffffffffffff811182821017156114b8576114b861147f565b604051610120810167ffffffffffffffff811182821017156114b8576114b861147f565b604051601f8201601f1916810167ffffffffffffffff8111828210171561152e5761152e61147f565b604052919050565b600067ffffffffffffffff8211156115505761155061147f565b50601f01601f191660200190565b600082601f83011261156f57600080fd5b813561158261157d82611536565b611505565b81815284602083860101111561159757600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b038116811461147c57600080fd5b60008060008060008060c087890312156115e257600080fd5b8635955060208701356115f481611466565b945060408701359350606087013567ffffffffffffffff81111561161757600080fd5b61162389828a0161155e565b935050608087013561163481611466565b915060a0870135611644816115b4565b809150509295509295509295565b8151815260208083015190820152604081016112fb565b6000806000806080858703121561167f57600080fd5b84359350602085013592506040850135611698816115b4565b915060608501356116a881611466565b939692955090935050565b600080600080608085870312156116c957600080fd5b8435935060208501356116db81611466565b925060408501359150606085013567ffffffffffffffff8111156116fe57600080fd5b61170a8782880161155e565b91505092959194509250565b801515811461147c57600080fd5b803564ffffffffff8116811461173957600080fd5b919050565b60008060006060848603121561175357600080fd5b833561175e816115b4565b9250602084013561176e81611716565b915061177c60408501611724565b90509250925092565b602081526000611371602083018461139c565b6000604082840312156117aa57600080fd5b6117b2611495565b9050813581526020820135602082015292915050565b600080608083850312156117db57600080fd5b6117e58484611798565b91506117f48460408501611798565b90509250929050565b6000806040838503121561181057600080fd5b823561181b816115b4565b91506117f460208401611724565b8051611739816115b4565b805160ff8116811461173957600080fd5b805161173981611716565b6001600160a01b038116811461147c57600080fd5b805161173981611850565b600082601f83011261188157600080fd5b815161188f61157d82611536565b8181528460208386010111156118a457600080fd5b6118b5826020830160208701611378565b949350505050565b600080604083850312156118d057600080fd5b825167ffffffffffffffff808211156118e857600080fd5b9084019060e082870312156118fc57600080fd5b6119046114be565b61190d83611829565b815261191b60208401611829565b602082015261192c60408401611834565b604082015261193d60608401611845565b606082015261194e60808401611865565b608082015261195f60a08401611865565b60a082015260c08301518281111561197657600080fd5b61198288828601611870565b60c083015250602086015190945091508082111561199f57600080fd5b506119ac85828601611870565b9150509250929050565b6000604082840312156119c857600080fd5b6119d0611495565b9050815181526020820151602082015292915050565b600080600080600080868803610140811215611a0157600080fd5b6040811215611a0f57600080fd5b50611a18611495565b8751611a2381611716565b8152602088810151908201526040880151909650611a4081611850565b6060880151909550611a5181611850565b9350611a6088608089016119b6565b9250611a6f8860c089016119b6565b9150611a7f8861010089016119b6565b90509295509295509295565b600060408284031215611a9d57600080fd5b61137183836119b6565b82516001600160601b03168152602080840151610200830191611ad4908401826001600160601b03169052565b506040840151611aef60408401826001600160a01b03169052565b506060840151611b0c606084018280518252602090810151910152565b506080840151805160a0840152602081015160c08401525060a0840151805160e084015260208101516101008401525060c0840151805161012084015260208101516101408401525060e0840151805161016084015260208101516101808401525061010084015180516101a084015260208101516101c0840152506001600160a01b0383166101e0830152611371565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c06060840152611bd060c084018761139c565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a08688031215611c0c57600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b600060208284031215611c4657600080fd5b815161137181611716565b60006101e08284031215611c6457600080fd5b611c6c6114e1565b611c7583611829565b8152611c8360208401611829565b6020820152611c9460408401611865565b6040820152611ca684606085016119b6565b6060820152611cb88460a085016119b6565b6080820152611cca8460e085016119b6565b60a0820152611cdd8461012085016119b6565b60c0820152611cf08461016085016119b6565b60e0820152611d03846101a085016119b6565b6101008201529392505050565b600060208284031215611d2257600080fd5b8151611371816115b4565b600082611d4a57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611d6157600080fd5b815161137181611850565b825181526020808401518183015282516040830152820151606082015260808101611371565b600181811c90821680611da657607f821691505b602082108103611dc657634e487b7160e01b600052602260045260246000fd5b50919050565b67ffffffffffffffff60c01b831681526040602082015260006118b5604083018461139c565b60018060a01b0388168152600067ffffffffffffffff60c01b808916602084015287604084015286606084015260e06080840152611e3360e084018761139c565b6001600160601b039590951660a08401529290921660c0909101525095945050505050565b600060208284031215611e6a57600080fd5b81516113718161146656fea2646970667358221220f4896bc949a5ecfeebf0a35496eb839b6c7e746102d37bf223e86f5dc0ea6ee164736f6c63430008140033",
596
684
  "linkReferences": {
597
685
  "contracts/types/Fee.sol": {
598
686
  "FeeLib": [
599
687
  {
600
688
  "length": 20,
601
- "start": 4523
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
602
702
  }
603
703
  ]
604
704
  },
@@ -606,7 +706,7 @@
606
706
  "RiskIdLib": [
607
707
  {
608
708
  "length": 20,
609
- "start": 7219
709
+ "start": 8078
610
710
  }
611
711
  ]
612
712
  }
@@ -616,7 +716,19 @@
616
716
  "FeeLib": [
617
717
  {
618
718
  "length": 20,
619
- "start": 1247
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
620
732
  }
621
733
  ]
622
734
  },
@@ -624,7 +736,7 @@
624
736
  "RiskIdLib": [
625
737
  {
626
738
  "length": 20,
627
- "start": 3943
739
+ "start": 4754
628
740
  }
629
741
  ]
630
742
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/23d9cb949ebaded2db536c461b622e36.json"
3
+ "buildInfo": "../../../build-info/22ace16a46acabda891a4eae781c3ca6.json"
4
4
  }