@etherisc/gif-next 0.0.2-cf68d0c-530 → 0.0.2-d10d6b3-916

Sign up to get free protection for your applications and to get access to all the features.
Files changed (188) hide show
  1. package/README.md +43 -0
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.json +10 -62
  5. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  6. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -52
  8. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +28 -2
  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 +42 -19
  13. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  14. package/artifacts/contracts/components/Product.sol/Product.json +18 -64
  15. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +1 -1
  16. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +1 -1
  17. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +1 -1
  18. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  35. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +1 -1
  36. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +1 -1
  37. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  38. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +775 -0
  39. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  40. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  41. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +1 -1
  42. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  43. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1347 -93
  44. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  45. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +5 -0
  46. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  47. package/artifacts/contracts/instance/Instance.sol/Instance.json +176 -84
  48. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  49. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +2 -2
  50. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +177 -38
  52. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +193 -50
  54. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  55. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +70 -26
  56. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  57. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +272 -0
  58. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  59. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +59 -0
  60. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  61. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  62. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  63. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  64. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  65. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  66. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  68. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  70. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  72. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +16 -16
  74. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  75. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +100 -25
  76. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  77. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +30 -14
  78. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  79. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  80. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +167 -0
  82. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +40 -31
  84. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  85. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1049 -0
  86. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +464 -0
  88. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +1147 -0
  90. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +488 -0
  92. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  93. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  94. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +2 -110
  95. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  96. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +94 -0
  97. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  98. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  99. package/artifacts/contracts/registry/Registry.sol/Registry.json +35 -146
  100. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  101. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +76 -20
  102. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  103. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +26 -34
  104. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  105. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +12 -12
  106. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  107. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  108. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  109. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  110. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  111. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  112. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  113. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
  114. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  115. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +2 -2
  116. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  117. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +2 -2
  118. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +1 -1
  119. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  120. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  121. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  122. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  123. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  124. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  125. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +4 -4
  126. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  127. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  128. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  129. package/artifacts/contracts/test/TestService.sol/TestService.json +9 -9
  130. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  131. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  132. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  133. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  134. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  135. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  136. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  137. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  138. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  139. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  140. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  141. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  142. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  143. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  144. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  145. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  146. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  147. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  148. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  149. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  150. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  151. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  152. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  153. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  154. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  155. package/contracts/components/Distribution.sol +12 -15
  156. package/contracts/components/IDistributionComponent.sol +0 -2
  157. package/contracts/components/IPoolComponent.sol +5 -1
  158. package/contracts/components/Pool.sol +35 -26
  159. package/contracts/components/Product.sol +33 -41
  160. package/contracts/instance/BundleManager.sol +129 -0
  161. package/contracts/instance/Cloneable.sol +46 -0
  162. package/contracts/instance/IInstance.sol +30 -7
  163. package/contracts/instance/IInstanceService.sol +3 -1
  164. package/contracts/instance/Instance.sol +26 -15
  165. package/contracts/instance/InstanceReader.sol +26 -1
  166. package/contracts/instance/InstanceService.sol +90 -16
  167. package/contracts/instance/InstanceServiceManager.sol +6 -5
  168. package/contracts/instance/ObjectManager.sol +95 -0
  169. package/contracts/instance/base/ComponentServiceBase.sol +96 -1
  170. package/contracts/instance/module/IBundle.sol +1 -0
  171. package/contracts/instance/module/ISetup.sol +3 -0
  172. package/contracts/instance/service/DistributionService.sol +12 -20
  173. package/contracts/instance/service/DistributionServiceManager.sol +6 -5
  174. package/contracts/instance/service/IPoolService.sol +16 -2
  175. package/contracts/instance/service/IProductService.sol +6 -3
  176. package/contracts/instance/service/PoolService.sol +287 -0
  177. package/contracts/instance/service/PoolServiceManager.sol +54 -0
  178. package/contracts/instance/service/ProductService.sol +570 -0
  179. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  180. package/contracts/registry/IRegistry.sol +5 -18
  181. package/contracts/registry/IRegistryService.sol +28 -11
  182. package/contracts/registry/Registry.sol +4 -45
  183. package/contracts/registry/RegistryService.sol +30 -71
  184. package/contracts/shared/NftOwnable.sol +2 -4
  185. package/contracts/shared/Service.sol +1 -0
  186. package/contracts/types/NftIdSet.sol +26 -24
  187. package/contracts/types/RoleId.sol +2 -0
  188. package/package.json +1 -1
@@ -0,0 +1,1049 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "PoolService",
4
+ "sourceName": "contracts/instance/service/PoolService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "ObjectType",
10
+ "name": "componentType",
11
+ "type": "uint8"
12
+ }
13
+ ],
14
+ "name": "ComponentTypeInvalid",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "registry",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "NftId",
26
+ "name": "nftId",
27
+ "type": "uint96"
28
+ }
29
+ ],
30
+ "name": "ErrorAlreadyLinked",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "NftId",
37
+ "name": "policyNftId",
38
+ "type": "uint96"
39
+ }
40
+ ],
41
+ "name": "ErrorBundleManagerErrorPolicyAlreadyActivated",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "contractAddress",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorContractNotRegistered",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "bundleOwner",
60
+ "type": "address"
61
+ },
62
+ {
63
+ "internalType": "address",
64
+ "name": "tokenHandlerAddress",
65
+ "type": "address"
66
+ },
67
+ {
68
+ "internalType": "uint256",
69
+ "name": "amount",
70
+ "type": "uint256"
71
+ }
72
+ ],
73
+ "name": "ErrorIPoolServiceInsufficientAllowance",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "account",
81
+ "type": "address"
82
+ }
83
+ ],
84
+ "name": "ErrorNotOwner",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [
89
+ {
90
+ "internalType": "address",
91
+ "name": "registryAddress",
92
+ "type": "address"
93
+ }
94
+ ],
95
+ "name": "ErrorNotRegistry",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "address",
102
+ "name": "registryAddress",
103
+ "type": "address"
104
+ }
105
+ ],
106
+ "name": "ErrorRegisterableNotRegistry",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [],
111
+ "name": "ErrorRegistryAddressZero",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "address",
118
+ "name": "registry",
119
+ "type": "address"
120
+ }
121
+ ],
122
+ "name": "ErrorRegistryAlreadyInitialized",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [],
127
+ "name": "ErrorRegistryNotInitialized",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [
132
+ {
133
+ "internalType": "RoleId",
134
+ "name": "expected",
135
+ "type": "uint64"
136
+ },
137
+ {
138
+ "internalType": "address",
139
+ "name": "caller",
140
+ "type": "address"
141
+ }
142
+ ],
143
+ "name": "ExpectedRoleMissing",
144
+ "type": "error"
145
+ },
146
+ {
147
+ "inputs": [],
148
+ "name": "InvalidInitialization",
149
+ "type": "error"
150
+ },
151
+ {
152
+ "inputs": [],
153
+ "name": "NotInitializing",
154
+ "type": "error"
155
+ },
156
+ {
157
+ "anonymous": false,
158
+ "inputs": [
159
+ {
160
+ "indexed": false,
161
+ "internalType": "uint64",
162
+ "name": "version",
163
+ "type": "uint64"
164
+ }
165
+ ],
166
+ "name": "Initialized",
167
+ "type": "event"
168
+ },
169
+ {
170
+ "anonymous": false,
171
+ "inputs": [
172
+ {
173
+ "indexed": false,
174
+ "internalType": "Version",
175
+ "name": "version",
176
+ "type": "uint24"
177
+ },
178
+ {
179
+ "indexed": false,
180
+ "internalType": "address",
181
+ "name": "implementation",
182
+ "type": "address"
183
+ },
184
+ {
185
+ "indexed": false,
186
+ "internalType": "address",
187
+ "name": "activatedBy",
188
+ "type": "address"
189
+ }
190
+ ],
191
+ "name": "LogVersionableInitialized",
192
+ "type": "event"
193
+ },
194
+ {
195
+ "inputs": [],
196
+ "name": "NAME",
197
+ "outputs": [
198
+ {
199
+ "internalType": "string",
200
+ "name": "",
201
+ "type": "string"
202
+ }
203
+ ],
204
+ "stateMutability": "view",
205
+ "type": "function"
206
+ },
207
+ {
208
+ "inputs": [],
209
+ "name": "REGISTERABLE_LOCATION_V1",
210
+ "outputs": [
211
+ {
212
+ "internalType": "bytes32",
213
+ "name": "",
214
+ "type": "bytes32"
215
+ }
216
+ ],
217
+ "stateMutability": "view",
218
+ "type": "function"
219
+ },
220
+ {
221
+ "inputs": [
222
+ {
223
+ "internalType": "address",
224
+ "name": "owner",
225
+ "type": "address"
226
+ },
227
+ {
228
+ "components": [
229
+ {
230
+ "internalType": "UFixed",
231
+ "name": "fractionalFee",
232
+ "type": "uint256"
233
+ },
234
+ {
235
+ "internalType": "uint256",
236
+ "name": "fixedFee",
237
+ "type": "uint256"
238
+ }
239
+ ],
240
+ "internalType": "struct Fee",
241
+ "name": "fee",
242
+ "type": "tuple"
243
+ },
244
+ {
245
+ "internalType": "uint256",
246
+ "name": "stakingAmount",
247
+ "type": "uint256"
248
+ },
249
+ {
250
+ "internalType": "uint256",
251
+ "name": "lifetime",
252
+ "type": "uint256"
253
+ },
254
+ {
255
+ "internalType": "bytes",
256
+ "name": "filter",
257
+ "type": "bytes"
258
+ }
259
+ ],
260
+ "name": "createBundle",
261
+ "outputs": [
262
+ {
263
+ "internalType": "NftId",
264
+ "name": "bundleNftId",
265
+ "type": "uint96"
266
+ }
267
+ ],
268
+ "stateMutability": "nonpayable",
269
+ "type": "function"
270
+ },
271
+ {
272
+ "inputs": [],
273
+ "name": "getInitialInfo",
274
+ "outputs": [
275
+ {
276
+ "components": [
277
+ {
278
+ "internalType": "NftId",
279
+ "name": "nftId",
280
+ "type": "uint96"
281
+ },
282
+ {
283
+ "internalType": "NftId",
284
+ "name": "parentNftId",
285
+ "type": "uint96"
286
+ },
287
+ {
288
+ "internalType": "ObjectType",
289
+ "name": "objectType",
290
+ "type": "uint8"
291
+ },
292
+ {
293
+ "internalType": "bool",
294
+ "name": "isInterceptor",
295
+ "type": "bool"
296
+ },
297
+ {
298
+ "internalType": "address",
299
+ "name": "objectAddress",
300
+ "type": "address"
301
+ },
302
+ {
303
+ "internalType": "address",
304
+ "name": "initialOwner",
305
+ "type": "address"
306
+ },
307
+ {
308
+ "internalType": "bytes",
309
+ "name": "data",
310
+ "type": "bytes"
311
+ }
312
+ ],
313
+ "internalType": "struct IRegistry.ObjectInfo",
314
+ "name": "",
315
+ "type": "tuple"
316
+ },
317
+ {
318
+ "internalType": "bytes",
319
+ "name": "data",
320
+ "type": "bytes"
321
+ }
322
+ ],
323
+ "stateMutability": "view",
324
+ "type": "function"
325
+ },
326
+ {
327
+ "inputs": [],
328
+ "name": "getInitializedVersion",
329
+ "outputs": [
330
+ {
331
+ "internalType": "uint64",
332
+ "name": "",
333
+ "type": "uint64"
334
+ }
335
+ ],
336
+ "stateMutability": "view",
337
+ "type": "function"
338
+ },
339
+ {
340
+ "inputs": [],
341
+ "name": "getInstanceService",
342
+ "outputs": [
343
+ {
344
+ "internalType": "contract InstanceService",
345
+ "name": "",
346
+ "type": "address"
347
+ }
348
+ ],
349
+ "stateMutability": "view",
350
+ "type": "function"
351
+ },
352
+ {
353
+ "inputs": [],
354
+ "name": "getMajorVersion",
355
+ "outputs": [
356
+ {
357
+ "internalType": "VersionPart",
358
+ "name": "majorVersion",
359
+ "type": "uint8"
360
+ }
361
+ ],
362
+ "stateMutability": "view",
363
+ "type": "function"
364
+ },
365
+ {
366
+ "inputs": [],
367
+ "name": "getName",
368
+ "outputs": [
369
+ {
370
+ "internalType": "string",
371
+ "name": "name",
372
+ "type": "string"
373
+ }
374
+ ],
375
+ "stateMutability": "pure",
376
+ "type": "function"
377
+ },
378
+ {
379
+ "inputs": [],
380
+ "name": "getNftId",
381
+ "outputs": [
382
+ {
383
+ "internalType": "NftId",
384
+ "name": "",
385
+ "type": "uint96"
386
+ }
387
+ ],
388
+ "stateMutability": "view",
389
+ "type": "function"
390
+ },
391
+ {
392
+ "inputs": [],
393
+ "name": "getOwner",
394
+ "outputs": [
395
+ {
396
+ "internalType": "address",
397
+ "name": "",
398
+ "type": "address"
399
+ }
400
+ ],
401
+ "stateMutability": "view",
402
+ "type": "function"
403
+ },
404
+ {
405
+ "inputs": [],
406
+ "name": "getRegistry",
407
+ "outputs": [
408
+ {
409
+ "internalType": "contract IRegistry",
410
+ "name": "",
411
+ "type": "address"
412
+ }
413
+ ],
414
+ "stateMutability": "view",
415
+ "type": "function"
416
+ },
417
+ {
418
+ "inputs": [],
419
+ "name": "getRegistryService",
420
+ "outputs": [
421
+ {
422
+ "internalType": "contract IRegistryService",
423
+ "name": "",
424
+ "type": "address"
425
+ }
426
+ ],
427
+ "stateMutability": "view",
428
+ "type": "function"
429
+ },
430
+ {
431
+ "inputs": [],
432
+ "name": "getVersion",
433
+ "outputs": [
434
+ {
435
+ "internalType": "Version",
436
+ "name": "",
437
+ "type": "uint24"
438
+ }
439
+ ],
440
+ "stateMutability": "pure",
441
+ "type": "function"
442
+ },
443
+ {
444
+ "inputs": [
445
+ {
446
+ "internalType": "uint256",
447
+ "name": "idx",
448
+ "type": "uint256"
449
+ }
450
+ ],
451
+ "name": "getVersion",
452
+ "outputs": [
453
+ {
454
+ "internalType": "Version",
455
+ "name": "",
456
+ "type": "uint24"
457
+ }
458
+ ],
459
+ "stateMutability": "view",
460
+ "type": "function"
461
+ },
462
+ {
463
+ "inputs": [],
464
+ "name": "getVersionCount",
465
+ "outputs": [
466
+ {
467
+ "internalType": "uint256",
468
+ "name": "",
469
+ "type": "uint256"
470
+ }
471
+ ],
472
+ "stateMutability": "view",
473
+ "type": "function"
474
+ },
475
+ {
476
+ "inputs": [
477
+ {
478
+ "internalType": "Version",
479
+ "name": "_version",
480
+ "type": "uint24"
481
+ }
482
+ ],
483
+ "name": "getVersionInfo",
484
+ "outputs": [
485
+ {
486
+ "components": [
487
+ {
488
+ "internalType": "Version",
489
+ "name": "version",
490
+ "type": "uint24"
491
+ },
492
+ {
493
+ "internalType": "address",
494
+ "name": "implementation",
495
+ "type": "address"
496
+ },
497
+ {
498
+ "internalType": "address",
499
+ "name": "activatedBy",
500
+ "type": "address"
501
+ },
502
+ {
503
+ "internalType": "Timestamp",
504
+ "name": "activatedAt",
505
+ "type": "uint40"
506
+ },
507
+ {
508
+ "internalType": "Blocknumber",
509
+ "name": "activatedIn",
510
+ "type": "uint32"
511
+ }
512
+ ],
513
+ "internalType": "struct IVersionable.VersionInfo",
514
+ "name": "",
515
+ "type": "tuple"
516
+ }
517
+ ],
518
+ "stateMutability": "view",
519
+ "type": "function"
520
+ },
521
+ {
522
+ "inputs": [
523
+ {
524
+ "internalType": "address",
525
+ "name": "implementation",
526
+ "type": "address"
527
+ },
528
+ {
529
+ "internalType": "address",
530
+ "name": "activatedBy",
531
+ "type": "address"
532
+ },
533
+ {
534
+ "internalType": "bytes",
535
+ "name": "data",
536
+ "type": "bytes"
537
+ }
538
+ ],
539
+ "name": "initialize",
540
+ "outputs": [],
541
+ "stateMutability": "nonpayable",
542
+ "type": "function"
543
+ },
544
+ {
545
+ "inputs": [
546
+ {
547
+ "internalType": "Version",
548
+ "name": "_version",
549
+ "type": "uint24"
550
+ }
551
+ ],
552
+ "name": "isInitialized",
553
+ "outputs": [
554
+ {
555
+ "internalType": "bool",
556
+ "name": "",
557
+ "type": "bool"
558
+ }
559
+ ],
560
+ "stateMutability": "view",
561
+ "type": "function"
562
+ },
563
+ {
564
+ "inputs": [],
565
+ "name": "linkToRegisteredNftId",
566
+ "outputs": [],
567
+ "stateMutability": "nonpayable",
568
+ "type": "function"
569
+ },
570
+ {
571
+ "inputs": [
572
+ {
573
+ "internalType": "NftId",
574
+ "name": "bundleNftId",
575
+ "type": "uint96"
576
+ }
577
+ ],
578
+ "name": "lockBundle",
579
+ "outputs": [],
580
+ "stateMutability": "nonpayable",
581
+ "type": "function"
582
+ },
583
+ {
584
+ "inputs": [
585
+ {
586
+ "internalType": "address",
587
+ "name": "componentAddress",
588
+ "type": "address"
589
+ }
590
+ ],
591
+ "name": "register",
592
+ "outputs": [
593
+ {
594
+ "internalType": "NftId",
595
+ "name": "componentNftId",
596
+ "type": "uint96"
597
+ }
598
+ ],
599
+ "stateMutability": "nonpayable",
600
+ "type": "function"
601
+ },
602
+ {
603
+ "inputs": [
604
+ {
605
+ "internalType": "NftId",
606
+ "name": "bundleNftId",
607
+ "type": "uint96"
608
+ },
609
+ {
610
+ "components": [
611
+ {
612
+ "internalType": "UFixed",
613
+ "name": "fractionalFee",
614
+ "type": "uint256"
615
+ },
616
+ {
617
+ "internalType": "uint256",
618
+ "name": "fixedFee",
619
+ "type": "uint256"
620
+ }
621
+ ],
622
+ "internalType": "struct Fee",
623
+ "name": "fee",
624
+ "type": "tuple"
625
+ }
626
+ ],
627
+ "name": "setBundleFee",
628
+ "outputs": [],
629
+ "stateMutability": "nonpayable",
630
+ "type": "function"
631
+ },
632
+ {
633
+ "inputs": [
634
+ {
635
+ "components": [
636
+ {
637
+ "internalType": "UFixed",
638
+ "name": "fractionalFee",
639
+ "type": "uint256"
640
+ },
641
+ {
642
+ "internalType": "uint256",
643
+ "name": "fixedFee",
644
+ "type": "uint256"
645
+ }
646
+ ],
647
+ "internalType": "struct Fee",
648
+ "name": "poolFee",
649
+ "type": "tuple"
650
+ },
651
+ {
652
+ "components": [
653
+ {
654
+ "internalType": "UFixed",
655
+ "name": "fractionalFee",
656
+ "type": "uint256"
657
+ },
658
+ {
659
+ "internalType": "uint256",
660
+ "name": "fixedFee",
661
+ "type": "uint256"
662
+ }
663
+ ],
664
+ "internalType": "struct Fee",
665
+ "name": "stakingFee",
666
+ "type": "tuple"
667
+ },
668
+ {
669
+ "components": [
670
+ {
671
+ "internalType": "UFixed",
672
+ "name": "fractionalFee",
673
+ "type": "uint256"
674
+ },
675
+ {
676
+ "internalType": "uint256",
677
+ "name": "fixedFee",
678
+ "type": "uint256"
679
+ }
680
+ ],
681
+ "internalType": "struct Fee",
682
+ "name": "performanceFee",
683
+ "type": "tuple"
684
+ }
685
+ ],
686
+ "name": "setFees",
687
+ "outputs": [],
688
+ "stateMutability": "nonpayable",
689
+ "type": "function"
690
+ },
691
+ {
692
+ "inputs": [
693
+ {
694
+ "internalType": "bytes4",
695
+ "name": "interfaceId",
696
+ "type": "bytes4"
697
+ }
698
+ ],
699
+ "name": "supportsInterface",
700
+ "outputs": [
701
+ {
702
+ "internalType": "bool",
703
+ "name": "",
704
+ "type": "bool"
705
+ }
706
+ ],
707
+ "stateMutability": "view",
708
+ "type": "function"
709
+ },
710
+ {
711
+ "inputs": [
712
+ {
713
+ "internalType": "contract IInstance",
714
+ "name": "instance",
715
+ "type": "address"
716
+ },
717
+ {
718
+ "internalType": "NftId",
719
+ "name": "policyNftId",
720
+ "type": "uint96"
721
+ },
722
+ {
723
+ "internalType": "NftId",
724
+ "name": "bundleNftId",
725
+ "type": "uint96"
726
+ },
727
+ {
728
+ "internalType": "uint256",
729
+ "name": "collateralAmount",
730
+ "type": "uint256"
731
+ },
732
+ {
733
+ "internalType": "uint256",
734
+ "name": "netPremiumAmount",
735
+ "type": "uint256"
736
+ }
737
+ ],
738
+ "name": "underwritePolicy",
739
+ "outputs": [],
740
+ "stateMutability": "nonpayable",
741
+ "type": "function"
742
+ },
743
+ {
744
+ "inputs": [
745
+ {
746
+ "internalType": "NftId",
747
+ "name": "bundleNftId",
748
+ "type": "uint96"
749
+ }
750
+ ],
751
+ "name": "unlockBundle",
752
+ "outputs": [],
753
+ "stateMutability": "nonpayable",
754
+ "type": "function"
755
+ },
756
+ {
757
+ "inputs": [
758
+ {
759
+ "internalType": "NftId",
760
+ "name": "instanceNftId",
761
+ "type": "uint96"
762
+ },
763
+ {
764
+ "internalType": "NftId",
765
+ "name": "bundleNftId",
766
+ "type": "uint96"
767
+ },
768
+ {
769
+ "components": [
770
+ {
771
+ "internalType": "NftId",
772
+ "name": "poolNftId",
773
+ "type": "uint96"
774
+ },
775
+ {
776
+ "components": [
777
+ {
778
+ "internalType": "UFixed",
779
+ "name": "fractionalFee",
780
+ "type": "uint256"
781
+ },
782
+ {
783
+ "internalType": "uint256",
784
+ "name": "fixedFee",
785
+ "type": "uint256"
786
+ }
787
+ ],
788
+ "internalType": "struct Fee",
789
+ "name": "fee",
790
+ "type": "tuple"
791
+ },
792
+ {
793
+ "internalType": "bytes",
794
+ "name": "filter",
795
+ "type": "bytes"
796
+ },
797
+ {
798
+ "internalType": "uint256",
799
+ "name": "capitalAmount",
800
+ "type": "uint256"
801
+ },
802
+ {
803
+ "internalType": "uint256",
804
+ "name": "lockedAmount",
805
+ "type": "uint256"
806
+ },
807
+ {
808
+ "internalType": "uint256",
809
+ "name": "balanceAmount",
810
+ "type": "uint256"
811
+ },
812
+ {
813
+ "internalType": "uint256",
814
+ "name": "lifetime",
815
+ "type": "uint256"
816
+ },
817
+ {
818
+ "internalType": "Timestamp",
819
+ "name": "expiredAt",
820
+ "type": "uint40"
821
+ },
822
+ {
823
+ "internalType": "Timestamp",
824
+ "name": "closedAt",
825
+ "type": "uint40"
826
+ }
827
+ ],
828
+ "internalType": "struct IBundle.BundleInfo",
829
+ "name": "bundleInfo",
830
+ "type": "tuple"
831
+ },
832
+ {
833
+ "internalType": "StateId",
834
+ "name": "state",
835
+ "type": "uint8"
836
+ }
837
+ ],
838
+ "name": "updateBundle",
839
+ "outputs": [],
840
+ "stateMutability": "nonpayable",
841
+ "type": "function"
842
+ },
843
+ {
844
+ "inputs": [
845
+ {
846
+ "internalType": "address",
847
+ "name": "implementation",
848
+ "type": "address"
849
+ },
850
+ {
851
+ "internalType": "address",
852
+ "name": "activatedBy",
853
+ "type": "address"
854
+ },
855
+ {
856
+ "internalType": "bytes",
857
+ "name": "data",
858
+ "type": "bytes"
859
+ }
860
+ ],
861
+ "name": "upgrade",
862
+ "outputs": [],
863
+ "stateMutability": "nonpayable",
864
+ "type": "function"
865
+ }
866
+ ],
867
+ "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6145f1806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806382678766116100f9578063caf4e3d411610097578063cf7a1d7711610071578063cf7a1d7714610555578063cf7e5db814610568578063e3458d531461057b578063fde0a3cd1461058e57600080fd5b8063caf4e3d41461052b578063cc9fc59a14610533578063cde749f41461053b57600080fd5b8063a3f4df7e116100d3578063a3f4df7e146104bb578063a745e3df146104e5578063b3c65015146104f8578063b88da7591461051857600080fd5b80638267876614610479578063893d20e81461048c578063946dfcfe1461049457600080fd5b80634420e486116101665780635ab1bd53116101405780635ab1bd5314610416578063636450f51461043b578063644c45e01461044e5780636f10e8a01461046657600080fd5b80634420e486146102bf5780634d459c90146102ea5780634f4213331461040357600080fd5b8063138461e0116101a2578063138461e01461023d57806317d7de7c146102475780631eff4b221461027757806332e6f922146102ac57600080fd5b806301ffc9a7146101c95780630d8e6e2c1461020b5780630fec111c14610227575b600080fd5b6101f66101d736600461345e565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102136105a1565b60405162ffffff9091168152602001610202565b61022f61062b565b604051610202929190613558565b61024561077e565b005b60408051808201909152600b81526a506f6f6c5365727669636560a81b60208201525b6040516102029190613586565b61029e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610202565b6102456102ba3660046135d3565b6109a0565b6102d26102cd36600461362e565b610bbf565b6040516001600160601b039091168152602001610202565b6103a66102f836600461365c565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061459c83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610202565b6101f661041136600461365c565b610f26565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610202565b61024561044936600461377f565b610fd9565b600154600160a01b90046001600160601b03166102d2565b6102456104743660046137b5565b611274565b6102456104873660046137d2565b611352565b6104236114c7565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed9015461029e565b61026a6040518060400160405280600b81526020016a506f6f6c5365727669636560a81b81525081565b6102456104f3366004613895565b6115e1565b61050061173b565b6040516001600160401b039091168152602001610202565b6102136105263660046138f6565b61175c565b6104236117ad565b610423611868565b6105436118e0565b60405160ff9091168152602001610202565b610245610563366004613895565b611963565b610245610576366004613947565b611a6b565b6102d2610589366004613a5d565b611bca565b61024561059c3660046137b5565b611f26565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610602573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106269190613b05565b905090565b610633613420565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061067f6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106c76114c7565b6001600160a01b031681526020018260010180546106e490613b22565b80601f016020809104026020016040519081016040528092919081815260200182805461071090613b22565b801561075d5780601f106107325761010080835404028352916020019161075d565b820191906000526020600020905b81548152906001019060200180831161074057829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108049190613b6c565b1561084b576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108745760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e19190613b6c565b610909576040516372657a5160e01b81526001600160a01b0382166004820152602401610842565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610953573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109779190613b92565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b336109b36001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156109fb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1f9190613b6c565b610a3b5760405162461bcd60e51b815260040161084290613baf565b6000866001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9f9190613bda565b604051634793b4ab60e01b81526001600160601b03871660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa158015610af2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b1a9190810190613c77565b90508481608001818151610b2e9190613d57565b90525060a081018051859190610b45908390613d57565b9052506040516307f8b57360e31b81526001600160a01b03891690633fc5ab9890610b79908990859060ff90600401613e17565b600060405180830381600087803b158015610b9357600080fd5b505af1158015610ba7573d6000803e3d6000fd5b50505050610bb58888611fd1565b5050505050505050565b6000818082610bcd826122c9565b60ff8116600090815260036020908152604080832054815163379ed74560e21b815291519495506001600160401b0316933393926001600160a01b0388169263de7b5d1492600480830193928290030181865afa158015610c32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c569190613bda565b9050610c60611868565b6001600160a01b0316639c12c9c78385846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd29190613b92565b6040516001600160e01b031960e086901b1681526001600160a01b0390931660048401526001600160401b0390911660248301526001600160601b03166044820152606401602060405180830381865afa158015610d34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d589190613b6c565b610d8f576040516351302f8160e01b81526001600160401b03841660048201526001600160a01b0383166024820152604401610842565b33886000610d9c826122c9565b90506000610da86117ad565b9050610db2613420565b6060610dc68460785b60ff90811691161490565b15610e4e57604051638fbc2d8160e01b81526001600160a01b0386811660048301528781166024830152841690638fbc2d81906044015b6000604051808303816000875af1158015610e1c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e449190810190613f0f565b9092509050610ef8565b610e5984606e610dbb565b15610e9457604051635d96628960e01b81526001600160a01b0386811660048301528781166024830152841690635d96628990604401610dfd565b610e9f84608c610dbb565b15610eda57604051637286e5e560e01b81526001600160a01b0386811660048301528781166024830152841690637286e5e590604401610dfd565b60405163062839b560e01b815260ff85166004820152602401610842565b81519c506000610f078361233e565b9050610f148e83836123e0565b50505050505050505050505050919050565b60008060008051602061459c83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610fae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd29190613f72565b1192915050565b600080610fe6608c612455565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561102a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061104e9190613bda565b8351604051634793b4ab60e01b81526001600160601b0388166004820152919250906000906001600160a01b03841690634793b4ab90602401600060405180830381865afa1580156110a4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110cc9190810190613c77565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561112a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114e9190613b6c565b61119a5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c532d3031303a42554e444c455f554e4b4e4f574e000000006044820152606401610842565b80516001600160601b038084169116146112015760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c532d3031313a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b6064820152608401610842565b602081018690526040516307f8b57360e31b81526001600160a01b03851690633fc5ab9890611239908a90859060ff90600401613e17565b600060405180830381600087803b15801561125357600080fd5b505af1158015611267573d6000803e3d6000fd5b5050505050505050505050565b6000611280608c612455565b9150506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e79190613bda565b6040516306fa456560e01b81526001600160601b03851660048201529091506001600160a01b038216906306fa4565906024015b600060405180830381600087803b15801561133557600080fd5b505af1158015611349573d6000803e3d6000fd5b50505050505050565b60008061135f608c612455565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c79190613bda565b83516040516355e343a960e01b81526001600160601b0382166004820152919250906000906001600160a01b038416906355e343a99060240161018060405180830381865afa15801561141e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114429190613f8b565b606081018990526080810188905260a08101879052604051633055195560e11b81529091506001600160a01b038516906360aa32aa9061148b908590859060ff906004016140f9565b600060405180830381600087803b1580156114a557600080fd5b505af11580156114b9573d6000803e3d6000fd5b505050505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561152c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115509190613b6c565b156115d157600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a906024015b602060405180830381865afa1580156115ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106269190613bda565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6116036105a1565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611643573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611667919061413e565b60008051602061457c8339815191528054600160401b900460ff168061169a575080546001600160401b03808416911610155b156116b85760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556116e38585612713565b6116ec836129b2565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061062660008051602061457c833981519152546001600160401b031690565b600060008051602061459c83398151915260010182815481106117815761178161415b565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000806117c26001546001600160a01b031690565b6001600160a01b031663a3bcd81d6117d86118e0565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa15801561183e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118629190613bda565b92915050565b600061187c6001546001600160a01b031690565b6001600160a01b031663a3bcd81d6118926118e0565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e496e7374616e63655365727669636560881b606482015260ff9091166024820152608401611590565b60006118ea6105a1565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561193f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106269190614171565b60008051602061457c8339815191528054600160401b810460ff1615906001600160401b03166000811580156119965750825b90506000826001600160401b031660011480156119b25750303b155b9050811580156119c0575080155b156119de5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611a0857845460ff60401b1916600160401b1785555b611a128888612713565b611a1c87876129ba565b8315610bb557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b33611a7e6001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611ac6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aea9190613b6c565b611b065760405162461bcd60e51b815260040161084290613baf565b6000611b1a6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611b69573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b91919081019061418e565b60808101516040516307f8b57360e31b8152919250906001600160a01b03821690633fc5ab989061123990899089908990600401613e17565b60008080611bd8608c612455565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c409190613bda565b90506000836000015190506000604051806101200160405280836001600160601b031681526020018c815260200189898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602082018d90526040820152606081018c9052608081018b905260a001611ccb600090565b64ffffffffff16815260006020909101529050611ce66117ad565b6001600160a01b031663c2bf08c86040518060e00160405280611d07600090565b6001600160601b03168152602001856001600160601b03168152602001611d2c60dc90565b60ff16815260200160001515815260200160006001600160a01b031681526020018f6001600160a01b0316815260200184604051602001611d6d91906141c2565b6040516020818303038152906040528152506040518263ffffffff1660e01b8152600401611d9b91906141d5565b6020604051808303816000875af1158015611dba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dde9190613b92565b604051633038d34760e11b81529096506001600160a01b03851690636071a68e90611e0f90899085906004016141e8565b600060405180830381600087803b158015611e2957600080fd5b505af1158015611e3d573d6000803e3d6000fd5b505050506000846001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea59190613bda565b6040516346f0e8a760e11b81526001600160601b03891660048201529091506001600160a01b03821690638de1d14e90602401600060405180830381600087803b158015611ef257600080fd5b505af1158015611f06573d6000803e3d6000fd5b50505050611f168484898e612b0f565b5050505050509695505050505050565b6000611f32608c612455565b9150506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f999190613bda565b60405163b5346af560e01b81526001600160601b03851660048201529091506001600160a01b0382169063b5346af59060240161131b565b33611fe46001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa15801561202c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120509190613b6c565b61206c5760405162461bcd60e51b815260040161084290613baf565b6000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120d09190613bda565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612123573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261214b9190810190614234565b6101a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af41580156121ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121cf9190613b6c565b156121f857604051639218a15160e01b81526001600160601b0385166004820152602401610842565b6000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015612238573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061225c9190613bda565b604051630331f98560e21b81526001600160601b03871660048201529091506001600160a01b03821690630cc7e61490602401600060405180830381600087803b1580156122a957600080fd5b505af11580156122bd573d6000803e3d6000fd5b50505050505050505050565b600080826001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561230a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526123329190810190613f0f565b50604001519392505050565b6000806123536001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa1580156123ac573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526123d4919081019061418e565b60800151949350505050565b6000828060200190518101906123f69190613f8b565b6040516339f34df560e21b81529091506001600160a01b0383169063e7cd37d4906124279087908590600401614399565b600060405180830381600087803b15801561244157600080fd5b505af1158015610bb5573d6000803e3d6000fd5b61245d613420565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa1580156124aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ce9190613b92565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612529573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061254d9190613b6c565b6125995760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e0000000000000000006044820152606401610842565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156125f4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261261c919081019061418e565b925061263283604001518560ff90811691161490565b6126745760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610842565b60006126886001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156126dd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612705919081019061418e565b608001519395939450505050565b61271b612d9f565b60008051602061459c833981519152600061274b60008051602061457c833981519152546001600160401b031690565b905060006127576105a1565b9050816001600160401b03166001036127845760028301805462ffffff191662ffffff83161790556127d2565b600283015462ffffff908116908216116127d25760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610842565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015612886573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128aa91906143b7565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061172c9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101c4612d9f565b60008051602061457c8339815191528054600160401b810460ff1615906001600160401b03166000811580156129ed5750825b90506000826001600160401b03166001148015612a095750303b155b905081158015612a17575080155b15612a355760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612a5f57845460ff60401b1916600160401b1785555b600086806020019051810190612a7591906143d4565b600480546001600160a01b039093166001600160a01b0319909316831790559150612aa09089612dd8565b612ab0631b4612f160e31b612f2e565b612ac0636d2eb53760e01b612f2e565b50831561134957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a150505050505050565b8015612d99576040516355e343a960e01b81526001600160601b03841660048201526000906001600160a01b038616906355e343a99060240161018060405180830381865afa158015612b66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b8a9190613f8b565b60208101519091506000612ba66001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612bf5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c199190613bda565b60808401516101008501516040516317d5759960e31b81526001600160a01b03808516600483015291821660248201526044810188905292935090919084169063beabacc890606401600060405180830381600087803b158015612c7c57600080fd5b505af1158015612c90573d6000803e3d6000fd5b50506040516346f0526160e11b815273__$a23651848365a6a5ca15f07b4331037f48$__9250638de0a4c29150612ccb90849060040161440e565b602060405180830381865af4158015612ce8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d0c9190613b6c565b610bb55760405163012ebd8360e21b8152815160048201526020820151602482015260448101869052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612d75573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b99190614425565b50505050565b60008051602061457c83398151915254600160401b900460ff16612dd657604051631afcd79f60e31b815260040160405180910390fd5b565b612de28282612f53565b612dea612fdc565b606e60005260036020527f0de2b21138735878e0660eef23d1131fad23d66157bfa1c473a82b60c5169926805467ffffffffffffffff19166001600160401b0392909216919091179055612e3c613055565b608c60005260036020527f83339eadc78535e76a031a9a544cf6fa252296becf88992d49fad5f832544a38805467ffffffffffffffff19166001600160401b0392909216919091179055612e8e613091565b607860005260036020527fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c805467ffffffffffffffff19166001600160401b0392909216919091179055612ee06130cc565b608260005260036020527fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc5805467ffffffffffffffff19166001600160401b03929092169190911790555050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6000612f7d60408051808201909152600b81526a506f6f6c5365727669636560a81b602082015290565b612f856118e0565b604051602001612f96929190614449565b60405160208183030381529060405290506000612fb284613107565b90506000612fc58583603c848888613172565b612fd5631b4612f160e31b612f2e565b5050505050565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613031573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610626919061413e565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613014565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613014565b6040516368aebf7b60e01b815260c8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613014565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa15801561314e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118629190613b92565b6131b36301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6131bd828761323e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161322d83826144bc565b506113496303fb044760e21b612f2e565b6001600160a01b0382166132945760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610842565b600280546001600160a01b0319166001600160a01b0384161790556132b8816132bc565b5050565b6001546001600160a01b0316156132f55760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610842565b6001600160a01b03811661331c5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036133525760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610842565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156133cc575060408051601f3d908101601f191682019092526133c991810190613b6c565b60015b6133f45760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610842565b806132b85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610842565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561347057600080fd5b81356001600160e01b03198116811461348857600080fd5b9392505050565b60005b838110156134aa578181015183820152602001613492565b50506000910152565b600081518084526134cb81602086016020860161348f565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c085015261355060e08501826134b3565b949350505050565b60408152600061356b60408301856134df565b828103602084015261357d81856134b3565b95945050505050565b60208152600061348860208301846134b3565b6001600160a01b038116811461341d57600080fd5b6001600160601b038116811461341d57600080fd5b80356135ce816135ae565b919050565b600080600080600060a086880312156135eb57600080fd5b85356135f681613599565b94506020860135613606816135ae565b93506040860135613616816135ae565b94979396509394606081013594506080013592915050565b60006020828403121561364057600080fd5b813561348881613599565b62ffffff8116811461341d57600080fd5b60006020828403121561366e57600080fd5b81356134888161364b565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156136b1576136b1613679565b60405290565b60405161012081016001600160401b03811182821017156136b1576136b1613679565b60405160e081016001600160401b03811182821017156136b1576136b1613679565b60405161020081016001600160401b03811182821017156136b1576136b1613679565b604051601f8201601f191681016001600160401b038111828210171561374757613747613679565b604052919050565b60006040828403121561376157600080fd5b61376961368f565b9050813581526020820135602082015292915050565b6000806060838503121561379257600080fd5b823561379d816135ae565b91506137ac846020850161374f565b90509250929050565b6000602082840312156137c757600080fd5b8135613488816135ae565b600080600060c084860312156137e757600080fd5b6137f1858561374f565b9250613800856040860161374f565b915061380f856080860161374f565b90509250925092565b60006001600160401b0382111561383157613831613679565b50601f01601f191660200190565b600082601f83011261385057600080fd5b813561386361385e82613818565b61371f565b81815284602083860101111561387857600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156138aa57600080fd5b83356138b581613599565b925060208401356138c581613599565b915060408401356001600160401b038111156138e057600080fd5b6138ec8682870161383f565b9150509250925092565b60006020828403121561390857600080fd5b5035919050565b64ffffffffff8116811461341d57600080fd5b80356135ce8161390f565b60ff8116811461341d57600080fd5b80356135ce8161392d565b6000806000806080858703121561395d57600080fd5b8435613968816135ae565b93506020850135613978816135ae565b925060408501356001600160401b038082111561399457600080fd5b9086019061014082890312156139a957600080fd5b6139b16136b7565b6139ba836135c3565b81526139c9896020850161374f565b60208201526060830135828111156139e057600080fd5b6139ec8a82860161383f565b6040830152506080830135606082015260a0830135608082015260c083013560a082015260e083013560c08201526101009150613a2a828401613922565b60e0820152613a3c6101208401613922565b82820152809450505050613a526060860161393c565b905092959194509250565b60008060008060008060c08789031215613a7657600080fd5b8635613a8181613599565b9550613a90886020890161374f565b9450606087013593506080870135925060a08701356001600160401b0380821115613aba57600080fd5b818901915089601f830112613ace57600080fd5b813581811115613add57600080fd5b8a6020828501011115613aef57600080fd5b6020830194508093505050509295509295509295565b600060208284031215613b1757600080fd5b81516134888161364b565b600181811c90821680613b3657607f821691505b602082108103613b5657634e487b7160e01b600052602260045260246000fd5b50919050565b805180151581146135ce57600080fd5b600060208284031215613b7e57600080fd5b61348882613b5c565b80516135ce816135ae565b600060208284031215613ba457600080fd5b8151613488816135ae565b6020808252601190820152704552524f525f4e4f545f5345525649434560781b604082015260600190565b600060208284031215613bec57600080fd5b815161348881613599565b600060408284031215613c0957600080fd5b613c1161368f565b9050815181526020820151602082015292915050565b600082601f830112613c3857600080fd5b8151613c4661385e82613818565b818152846020838601011115613c5b57600080fd5b61355082602083016020870161348f565b80516135ce8161390f565b600060208284031215613c8957600080fd5b81516001600160401b0380821115613ca057600080fd5b908301906101408286031215613cb557600080fd5b613cbd6136b7565b613cc683613b87565b8152613cd58660208501613bf7565b6020820152606083015182811115613cec57600080fd5b613cf887828601613c27565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c08201526101009150613d36828401613c6c565b60e0820152613d486101208401613c6c565b91810191909152949350505050565b8082018082111561186257634e487b7160e01b600052601160045260246000fd5b80516001600160601b031682526000610140602083810151805186830152908101516040860152506040830151816060860152613db7828601826134b3565b91505060608301516080850152608083015160a085015260a083015160c085015260c083015160e085015260e0830151610100613dfc8187018364ffffffffff169052565b84015164ffffffffff81166101208701529050509392505050565b6001600160601b0384168152606060208201526000613e396060830185613d78565b905060ff83166040830152949350505050565b80516135ce8161392d565b80516135ce81613599565b600060e08284031215613e7457600080fd5b613e7c6136da565b9050613e8782613b87565b8152613e9560208301613b87565b6020820152613ea660408301613e4c565b6040820152613eb760608301613b5c565b6060820152613ec860808301613e57565b6080820152613ed960a08301613e57565b60a082015260c08201516001600160401b03811115613ef757600080fd5b613f0384828501613c27565b60c08301525092915050565b60008060408385031215613f2257600080fd5b82516001600160401b0380821115613f3957600080fd5b613f4586838701613e62565b93506020850151915080821115613f5b57600080fd5b50613f6885828601613c27565b9150509250929050565b600060208284031215613f8457600080fd5b5051919050565b60006101808284031215613f9e57600080fd5b613fa66136b7565b613faf83613b87565b8152613fbd60208401613e57565b602082015260408301516040820152613fd98460608501613bf7565b6060820152613feb8460a08501613bf7565b6080820152613ffd8460e08501613bf7565b60a082015261400f6101208401613b5c565b60c08201526140216101408401613b5c565b60e08201526140336101608401613e57565b6101008201529392505050565b6001600160601b038151168252602081015161406760208401826001600160a01b03169052565b5060408101516040830152606081015161408e606084018280518252602090810151910152565b506080810151805160a0840152602081015160c08401525060a0810151805160e084015260208101516101008401525060c08101518015156101208401525060e08101518015156101408401525061010001516001600160a01b03166101609190910152565b505050565b6001600160601b03841681526101c081016141176020830185614040565b60ff83166101a0830152949350505050565b6001600160401b038116811461341d57600080fd5b60006020828403121561415057600080fd5b815161348881614129565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561418357600080fd5b81516134888161392d565b6000602082840312156141a057600080fd5b81516001600160401b038111156141b657600080fd5b61355084828501613e62565b6020815260006134886020830184613d78565b60208152600061348860208301846134df565b6001600160601b03831681526040602082015260006135506040830184613d78565b80516001600160c01b0319811681146135ce57600080fd5b805161ffff811681146135ce57600080fd5b60006020828403121561424657600080fd5b81516001600160401b038082111561425d57600080fd5b90830190610200828603121561427257600080fd5b61427a6136fc565b61428383613b87565b815261429160208401613b87565b60208201526142a26040840161420a565b60408201526142b36060840161420a565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156142f457600080fd5b61430088828701613c27565b828401525050610120808401518381111561431a57600080fd5b61432688828701613c27565b828401525050610140915061433c828401614222565b828201526101609150614350828401614222565b82820152610180915081830151828201526101a09150614371828401613c6c565b828201526101c09150614385828401613c6c565b828201526101e09150613d48828401613c6c565b6001600160601b03831681526101a081016134886020830184614040565b6000602082840312156143c957600080fd5b81516134888161390f565b600080604083850312156143e757600080fd5b82516143f281613599565b602084015190925061440381613599565b809150509250929050565b815181526020808301519082015260408101611862565b6000806040838503121561443857600080fd5b505080516020909101519092909150565b60408152600061445c60408301856134b3565b905060ff831660208301529392505050565b601f8211156140f457600081815260208120601f850160051c810160208610156144955750805b601f850160051c820191505b818110156144b4578281556001016144a1565b505050505050565b81516001600160401b038111156144d5576144d5613679565b6144e9816144e38454613b22565b8461446e565b602080601f83116001811461451e57600084156145065750858301515b600019600386901b1c1916600185901b1785556144b4565b600085815260208120601f198616915b8281101561454d5788860151825594840194600190910190840161452e565b508582101561456b5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220d1df09b525b18207c6ed78819819f41d7a6222f3f8d497b4dd8f4bcb9f273b0d64736f6c63430008140033",
868
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101c45760003560e01c806382678766116100f9578063caf4e3d411610097578063cf7a1d7711610071578063cf7a1d7714610555578063cf7e5db814610568578063e3458d531461057b578063fde0a3cd1461058e57600080fd5b8063caf4e3d41461052b578063cc9fc59a14610533578063cde749f41461053b57600080fd5b8063a3f4df7e116100d3578063a3f4df7e146104bb578063a745e3df146104e5578063b3c65015146104f8578063b88da7591461051857600080fd5b80638267876614610479578063893d20e81461048c578063946dfcfe1461049457600080fd5b80634420e486116101665780635ab1bd53116101405780635ab1bd5314610416578063636450f51461043b578063644c45e01461044e5780636f10e8a01461046657600080fd5b80634420e486146102bf5780634d459c90146102ea5780634f4213331461040357600080fd5b8063138461e0116101a2578063138461e01461023d57806317d7de7c146102475780631eff4b221461027757806332e6f922146102ac57600080fd5b806301ffc9a7146101c95780630d8e6e2c1461020b5780630fec111c14610227575b600080fd5b6101f66101d736600461345e565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102136105a1565b60405162ffffff9091168152602001610202565b61022f61062b565b604051610202929190613558565b61024561077e565b005b60408051808201909152600b81526a506f6f6c5365727669636560a81b60208201525b6040516102029190613586565b61029e7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610202565b6102456102ba3660046135d3565b6109a0565b6102d26102cd36600461362e565b610bbf565b6040516001600160601b039091168152602001610202565b6103a66102f836600461365c565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061459c83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610202565b6101f661041136600461365c565b610f26565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610202565b61024561044936600461377f565b610fd9565b600154600160a01b90046001600160601b03166102d2565b6102456104743660046137b5565b611274565b6102456104873660046137d2565b611352565b6104236114c7565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed9015461029e565b61026a6040518060400160405280600b81526020016a506f6f6c5365727669636560a81b81525081565b6102456104f3366004613895565b6115e1565b61050061173b565b6040516001600160401b039091168152602001610202565b6102136105263660046138f6565b61175c565b6104236117ad565b610423611868565b6105436118e0565b60405160ff9091168152602001610202565b610245610563366004613895565b611963565b610245610576366004613947565b611a6b565b6102d2610589366004613a5d565b611bca565b61024561059c3660046137b5565b611f26565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610602573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106269190613b05565b905090565b610633613420565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061067f6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106c76114c7565b6001600160a01b031681526020018260010180546106e490613b22565b80601f016020809104026020016040519081016040528092919081815260200182805461071090613b22565b801561075d5780601f106107325761010080835404028352916020019161075d565b820191906000526020600020905b81548152906001019060200180831161074057829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108049190613b6c565b1561084b576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108745760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e19190613b6c565b610909576040516372657a5160e01b81526001600160a01b0382166004820152602401610842565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610953573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109779190613b92565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b336109b36001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa1580156109fb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1f9190613b6c565b610a3b5760405162461bcd60e51b815260040161084290613baf565b6000866001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9f9190613bda565b604051634793b4ab60e01b81526001600160601b03871660048201529091506000906001600160a01b03831690634793b4ab90602401600060405180830381865afa158015610af2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b1a9190810190613c77565b90508481608001818151610b2e9190613d57565b90525060a081018051859190610b45908390613d57565b9052506040516307f8b57360e31b81526001600160a01b03891690633fc5ab9890610b79908990859060ff90600401613e17565b600060405180830381600087803b158015610b9357600080fd5b505af1158015610ba7573d6000803e3d6000fd5b50505050610bb58888611fd1565b5050505050505050565b6000818082610bcd826122c9565b60ff8116600090815260036020908152604080832054815163379ed74560e21b815291519495506001600160401b0316933393926001600160a01b0388169263de7b5d1492600480830193928290030181865afa158015610c32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c569190613bda565b9050610c60611868565b6001600160a01b0316639c12c9c78385846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610cae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd29190613b92565b6040516001600160e01b031960e086901b1681526001600160a01b0390931660048401526001600160401b0390911660248301526001600160601b03166044820152606401602060405180830381865afa158015610d34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d589190613b6c565b610d8f576040516351302f8160e01b81526001600160401b03841660048201526001600160a01b0383166024820152604401610842565b33886000610d9c826122c9565b90506000610da86117ad565b9050610db2613420565b6060610dc68460785b60ff90811691161490565b15610e4e57604051638fbc2d8160e01b81526001600160a01b0386811660048301528781166024830152841690638fbc2d81906044015b6000604051808303816000875af1158015610e1c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e449190810190613f0f565b9092509050610ef8565b610e5984606e610dbb565b15610e9457604051635d96628960e01b81526001600160a01b0386811660048301528781166024830152841690635d96628990604401610dfd565b610e9f84608c610dbb565b15610eda57604051637286e5e560e01b81526001600160a01b0386811660048301528781166024830152841690637286e5e590604401610dfd565b60405163062839b560e01b815260ff85166004820152602401610842565b81519c506000610f078361233e565b9050610f148e83836123e0565b50505050505050505050505050919050565b60008060008051602061459c83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610fae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd29190613f72565b1192915050565b600080610fe6608c612455565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561102a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061104e9190613bda565b8351604051634793b4ab60e01b81526001600160601b0388166004820152919250906000906001600160a01b03841690634793b4ab90602401600060405180830381865afa1580156110a4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110cc9190810190613c77565b80516040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561112a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114e9190613b6c565b61119a5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c532d3031303a42554e444c455f554e4b4e4f574e000000006044820152606401610842565b80516001600160601b038084169116146112015760405162461bcd60e51b815260206004820152602260248201527f4552524f523a504c532d3031313a42554e444c455f504f4f4c5f4d49534d4154604482015261086960f31b6064820152608401610842565b602081018690526040516307f8b57360e31b81526001600160a01b03851690633fc5ab9890611239908a90859060ff90600401613e17565b600060405180830381600087803b15801561125357600080fd5b505af1158015611267573d6000803e3d6000fd5b5050505050505050505050565b6000611280608c612455565b9150506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e79190613bda565b6040516306fa456560e01b81526001600160601b03851660048201529091506001600160a01b038216906306fa4565906024015b600060405180830381600087803b15801561133557600080fd5b505af1158015611349573d6000803e3d6000fd5b50505050505050565b60008061135f608c612455565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c79190613bda565b83516040516355e343a960e01b81526001600160601b0382166004820152919250906000906001600160a01b038416906355e343a99060240161018060405180830381865afa15801561141e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114429190613f8b565b606081018990526080810188905260a08101879052604051633055195560e11b81529091506001600160a01b038516906360aa32aa9061148b908590859060ff906004016140f9565b600060405180830381600087803b1580156114a557600080fd5b505af11580156114b9573d6000803e3d6000fd5b505050505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561152c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115509190613b6c565b156115d157600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a906024015b602060405180830381865afa1580156115ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106269190613bda565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6116036105a1565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611643573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611667919061413e565b60008051602061457c8339815191528054600160401b900460ff168061169a575080546001600160401b03808416911610155b156116b85760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556116e38585612713565b6116ec836129b2565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061062660008051602061457c833981519152546001600160401b031690565b600060008051602061459c83398151915260010182815481106117815761178161415b565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000806117c26001546001600160a01b031690565b6001600160a01b031663a3bcd81d6117d86118e0565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa15801561183e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118629190613bda565b92915050565b600061187c6001546001600160a01b031690565b6001600160a01b031663a3bcd81d6118926118e0565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e496e7374616e63655365727669636560881b606482015260ff9091166024820152608401611590565b60006118ea6105a1565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561193f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106269190614171565b60008051602061457c8339815191528054600160401b810460ff1615906001600160401b03166000811580156119965750825b90506000826001600160401b031660011480156119b25750303b155b9050811580156119c0575080155b156119de5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611a0857845460ff60401b1916600160401b1785555b611a128888612713565b611a1c87876129ba565b8315610bb557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b33611a7e6001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa158015611ac6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aea9190613b6c565b611b065760405162461bcd60e51b815260040161084290613baf565b6000611b1a6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611b69573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b91919081019061418e565b60808101516040516307f8b57360e31b8152919250906001600160a01b03821690633fc5ab989061123990899089908990600401613e17565b60008080611bd8608c612455565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c409190613bda565b90506000836000015190506000604051806101200160405280836001600160601b031681526020018c815260200189898080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920182905250938552505050602082018d90526040820152606081018c9052608081018b905260a001611ccb600090565b64ffffffffff16815260006020909101529050611ce66117ad565b6001600160a01b031663c2bf08c86040518060e00160405280611d07600090565b6001600160601b03168152602001856001600160601b03168152602001611d2c60dc90565b60ff16815260200160001515815260200160006001600160a01b031681526020018f6001600160a01b0316815260200184604051602001611d6d91906141c2565b6040516020818303038152906040528152506040518263ffffffff1660e01b8152600401611d9b91906141d5565b6020604051808303816000875af1158015611dba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dde9190613b92565b604051633038d34760e11b81529096506001600160a01b03851690636071a68e90611e0f90899085906004016141e8565b600060405180830381600087803b158015611e2957600080fd5b505af1158015611e3d573d6000803e3d6000fd5b505050506000846001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea59190613bda565b6040516346f0e8a760e11b81526001600160601b03891660048201529091506001600160a01b03821690638de1d14e90602401600060405180830381600087803b158015611ef257600080fd5b505af1158015611f06573d6000803e3d6000fd5b50505050611f168484898e612b0f565b5050505050509695505050505050565b6000611f32608c612455565b9150506000816001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f999190613bda565b60405163b5346af560e01b81526001600160601b03851660048201529091506001600160a01b0382169063b5346af59060240161131b565b33611fe46001546001600160a01b031690565b604051632b91e0a960e01b81526001600160a01b0383811660048301529190911690632b91e0a990602401602060405180830381865afa15801561202c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120509190613b6c565b61206c5760405162461bcd60e51b815260040161084290613baf565b6000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120d09190613bda565b60405163bd7d9d8560e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063bd7d9d8590602401600060405180830381865afa158015612123573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261214b9190810190614234565b6101a0810151604051638d38cd4b60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__90638d38cd4b90602401602060405180830381865af41580156121ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121cf9190613b6c565b156121f857604051639218a15160e01b81526001600160601b0385166004820152602401610842565b6000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015612238573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061225c9190613bda565b604051630331f98560e21b81526001600160601b03871660048201529091506001600160a01b03821690630cc7e61490602401600060405180830381600087803b1580156122a957600080fd5b505af11580156122bd573d6000803e3d6000fd5b50505050505050505050565b600080826001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561230a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526123329190810190613f0f565b50604001519392505050565b6000806123536001546001600160a01b031690565b60208401516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa1580156123ac573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526123d4919081019061418e565b60800151949350505050565b6000828060200190518101906123f69190613f8b565b6040516339f34df560e21b81529091506001600160a01b0383169063e7cd37d4906124279087908590600401614399565b600060405180830381600087803b15801561244157600080fd5b505af1158015610bb5573d6000803e3d6000fd5b61245d613420565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa1580156124aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ce9190613b92565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015612529573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061254d9190613b6c565b6125995760405162461bcd60e51b815260206004820152601760248201527f4552524f525f434f4d504f4e454e545f554e4b4e4f574e0000000000000000006044820152606401610842565b6001546001600160a01b03166040516305247a1760e51b81526001600160601b03831660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156125f4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261261c919081019061418e565b925061263283604001518560ff90811691161490565b6126745760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610842565b60006126886001546001600160a01b031690565b60208501516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156126dd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612705919081019061418e565b608001519395939450505050565b61271b612d9f565b60008051602061459c833981519152600061274b60008051602061457c833981519152546001600160401b031690565b905060006127576105a1565b9050816001600160401b03166001036127845760028301805462ffffff191662ffffff83161790556127d2565b600283015462ffffff908116908216116127d25760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610842565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015612886573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128aa91906143b7565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061172c9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101c4612d9f565b60008051602061457c8339815191528054600160401b810460ff1615906001600160401b03166000811580156129ed5750825b90506000826001600160401b03166001148015612a095750303b155b905081158015612a17575080155b15612a355760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612a5f57845460ff60401b1916600160401b1785555b600086806020019051810190612a7591906143d4565b600480546001600160a01b039093166001600160a01b0319909316831790559150612aa09089612dd8565b612ab0631b4612f160e31b612f2e565b612ac0636d2eb53760e01b612f2e565b50831561134957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a150505050505050565b8015612d99576040516355e343a960e01b81526001600160601b03841660048201526000906001600160a01b038616906355e343a99060240161018060405180830381865afa158015612b66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b8a9190613f8b565b60208101519091506000612ba66001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03871660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612bf5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c199190613bda565b60808401516101008501516040516317d5759960e31b81526001600160a01b03808516600483015291821660248201526044810188905292935090919084169063beabacc890606401600060405180830381600087803b158015612c7c57600080fd5b505af1158015612c90573d6000803e3d6000fd5b50506040516346f0526160e11b815273__$a23651848365a6a5ca15f07b4331037f48$__9250638de0a4c29150612ccb90849060040161440e565b602060405180830381865af4158015612ce8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d0c9190613b6c565b610bb55760405163012ebd8360e21b8152815160048201526020820151602482015260448101869052600090819073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015612d75573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b99190614425565b50505050565b60008051602061457c83398151915254600160401b900460ff16612dd657604051631afcd79f60e31b815260040160405180910390fd5b565b612de28282612f53565b612dea612fdc565b606e60005260036020527f0de2b21138735878e0660eef23d1131fad23d66157bfa1c473a82b60c5169926805467ffffffffffffffff19166001600160401b0392909216919091179055612e3c613055565b608c60005260036020527f83339eadc78535e76a031a9a544cf6fa252296becf88992d49fad5f832544a38805467ffffffffffffffff19166001600160401b0392909216919091179055612e8e613091565b607860005260036020527fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c805467ffffffffffffffff19166001600160401b0392909216919091179055612ee06130cc565b608260005260036020527fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc5805467ffffffffffffffff19166001600160401b03929092169190911790555050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6000612f7d60408051808201909152600b81526a506f6f6c5365727669636560a81b602082015290565b612f856118e0565b604051602001612f96929190614449565b60405160208183030381529060405290506000612fb284613107565b90506000612fc58583603c848888613172565b612fd5631b4612f160e31b612f2e565b5050505050565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613031573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610626919061413e565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613014565b6040516368aebf7b60e01b81526064600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613014565b6040516368aebf7b60e01b815260c8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613014565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa15801561314e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118629190613b92565b6131b36301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6131bd828761323e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161322d83826144bc565b506113496303fb044760e21b612f2e565b6001600160a01b0382166132945760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610842565b600280546001600160a01b0319166001600160a01b0384161790556132b8816132bc565b5050565b6001546001600160a01b0316156132f55760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610842565b6001600160a01b03811661331c5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036133525760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610842565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156133cc575060408051601f3d908101601f191682019092526133c991810190613b6c565b60015b6133f45760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610842565b806132b85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610842565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561347057600080fd5b81356001600160e01b03198116811461348857600080fd5b9392505050565b60005b838110156134aa578181015183820152602001613492565b50506000910152565b600081518084526134cb81602086016020860161348f565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c085015261355060e08501826134b3565b949350505050565b60408152600061356b60408301856134df565b828103602084015261357d81856134b3565b95945050505050565b60208152600061348860208301846134b3565b6001600160a01b038116811461341d57600080fd5b6001600160601b038116811461341d57600080fd5b80356135ce816135ae565b919050565b600080600080600060a086880312156135eb57600080fd5b85356135f681613599565b94506020860135613606816135ae565b93506040860135613616816135ae565b94979396509394606081013594506080013592915050565b60006020828403121561364057600080fd5b813561348881613599565b62ffffff8116811461341d57600080fd5b60006020828403121561366e57600080fd5b81356134888161364b565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156136b1576136b1613679565b60405290565b60405161012081016001600160401b03811182821017156136b1576136b1613679565b60405160e081016001600160401b03811182821017156136b1576136b1613679565b60405161020081016001600160401b03811182821017156136b1576136b1613679565b604051601f8201601f191681016001600160401b038111828210171561374757613747613679565b604052919050565b60006040828403121561376157600080fd5b61376961368f565b9050813581526020820135602082015292915050565b6000806060838503121561379257600080fd5b823561379d816135ae565b91506137ac846020850161374f565b90509250929050565b6000602082840312156137c757600080fd5b8135613488816135ae565b600080600060c084860312156137e757600080fd5b6137f1858561374f565b9250613800856040860161374f565b915061380f856080860161374f565b90509250925092565b60006001600160401b0382111561383157613831613679565b50601f01601f191660200190565b600082601f83011261385057600080fd5b813561386361385e82613818565b61371f565b81815284602083860101111561387857600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156138aa57600080fd5b83356138b581613599565b925060208401356138c581613599565b915060408401356001600160401b038111156138e057600080fd5b6138ec8682870161383f565b9150509250925092565b60006020828403121561390857600080fd5b5035919050565b64ffffffffff8116811461341d57600080fd5b80356135ce8161390f565b60ff8116811461341d57600080fd5b80356135ce8161392d565b6000806000806080858703121561395d57600080fd5b8435613968816135ae565b93506020850135613978816135ae565b925060408501356001600160401b038082111561399457600080fd5b9086019061014082890312156139a957600080fd5b6139b16136b7565b6139ba836135c3565b81526139c9896020850161374f565b60208201526060830135828111156139e057600080fd5b6139ec8a82860161383f565b6040830152506080830135606082015260a0830135608082015260c083013560a082015260e083013560c08201526101009150613a2a828401613922565b60e0820152613a3c6101208401613922565b82820152809450505050613a526060860161393c565b905092959194509250565b60008060008060008060c08789031215613a7657600080fd5b8635613a8181613599565b9550613a90886020890161374f565b9450606087013593506080870135925060a08701356001600160401b0380821115613aba57600080fd5b818901915089601f830112613ace57600080fd5b813581811115613add57600080fd5b8a6020828501011115613aef57600080fd5b6020830194508093505050509295509295509295565b600060208284031215613b1757600080fd5b81516134888161364b565b600181811c90821680613b3657607f821691505b602082108103613b5657634e487b7160e01b600052602260045260246000fd5b50919050565b805180151581146135ce57600080fd5b600060208284031215613b7e57600080fd5b61348882613b5c565b80516135ce816135ae565b600060208284031215613ba457600080fd5b8151613488816135ae565b6020808252601190820152704552524f525f4e4f545f5345525649434560781b604082015260600190565b600060208284031215613bec57600080fd5b815161348881613599565b600060408284031215613c0957600080fd5b613c1161368f565b9050815181526020820151602082015292915050565b600082601f830112613c3857600080fd5b8151613c4661385e82613818565b818152846020838601011115613c5b57600080fd5b61355082602083016020870161348f565b80516135ce8161390f565b600060208284031215613c8957600080fd5b81516001600160401b0380821115613ca057600080fd5b908301906101408286031215613cb557600080fd5b613cbd6136b7565b613cc683613b87565b8152613cd58660208501613bf7565b6020820152606083015182811115613cec57600080fd5b613cf887828601613c27565b6040830152506080830151606082015260a0830151608082015260c083015160a082015260e083015160c08201526101009150613d36828401613c6c565b60e0820152613d486101208401613c6c565b91810191909152949350505050565b8082018082111561186257634e487b7160e01b600052601160045260246000fd5b80516001600160601b031682526000610140602083810151805186830152908101516040860152506040830151816060860152613db7828601826134b3565b91505060608301516080850152608083015160a085015260a083015160c085015260c083015160e085015260e0830151610100613dfc8187018364ffffffffff169052565b84015164ffffffffff81166101208701529050509392505050565b6001600160601b0384168152606060208201526000613e396060830185613d78565b905060ff83166040830152949350505050565b80516135ce8161392d565b80516135ce81613599565b600060e08284031215613e7457600080fd5b613e7c6136da565b9050613e8782613b87565b8152613e9560208301613b87565b6020820152613ea660408301613e4c565b6040820152613eb760608301613b5c565b6060820152613ec860808301613e57565b6080820152613ed960a08301613e57565b60a082015260c08201516001600160401b03811115613ef757600080fd5b613f0384828501613c27565b60c08301525092915050565b60008060408385031215613f2257600080fd5b82516001600160401b0380821115613f3957600080fd5b613f4586838701613e62565b93506020850151915080821115613f5b57600080fd5b50613f6885828601613c27565b9150509250929050565b600060208284031215613f8457600080fd5b5051919050565b60006101808284031215613f9e57600080fd5b613fa66136b7565b613faf83613b87565b8152613fbd60208401613e57565b602082015260408301516040820152613fd98460608501613bf7565b6060820152613feb8460a08501613bf7565b6080820152613ffd8460e08501613bf7565b60a082015261400f6101208401613b5c565b60c08201526140216101408401613b5c565b60e08201526140336101608401613e57565b6101008201529392505050565b6001600160601b038151168252602081015161406760208401826001600160a01b03169052565b5060408101516040830152606081015161408e606084018280518252602090810151910152565b506080810151805160a0840152602081015160c08401525060a0810151805160e084015260208101516101008401525060c08101518015156101208401525060e08101518015156101408401525061010001516001600160a01b03166101609190910152565b505050565b6001600160601b03841681526101c081016141176020830185614040565b60ff83166101a0830152949350505050565b6001600160401b038116811461341d57600080fd5b60006020828403121561415057600080fd5b815161348881614129565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561418357600080fd5b81516134888161392d565b6000602082840312156141a057600080fd5b81516001600160401b038111156141b657600080fd5b61355084828501613e62565b6020815260006134886020830184613d78565b60208152600061348860208301846134df565b6001600160601b03831681526040602082015260006135506040830184613d78565b80516001600160c01b0319811681146135ce57600080fd5b805161ffff811681146135ce57600080fd5b60006020828403121561424657600080fd5b81516001600160401b038082111561425d57600080fd5b90830190610200828603121561427257600080fd5b61427a6136fc565b61428383613b87565b815261429160208401613b87565b60208201526142a26040840161420a565b60408201526142b36060840161420a565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156142f457600080fd5b61430088828701613c27565b828401525050610120808401518381111561431a57600080fd5b61432688828701613c27565b828401525050610140915061433c828401614222565b828201526101609150614350828401614222565b82820152610180915081830151828201526101a09150614371828401613c6c565b828201526101c09150614385828401613c6c565b828201526101e09150613d48828401613c6c565b6001600160601b03831681526101a081016134886020830184614040565b6000602082840312156143c957600080fd5b81516134888161390f565b600080604083850312156143e757600080fd5b82516143f281613599565b602084015190925061440381613599565b809150509250929050565b815181526020808301519082015260408101611862565b6000806040838503121561443857600080fd5b505080516020909101519092909150565b60408152600061445c60408301856134b3565b905060ff831660208301529392505050565b601f8211156140f457600081815260208120601f850160051c810160208610156144955750805b601f850160051c820191505b818110156144b4578281556001016144a1565b505050505050565b81516001600160401b038111156144d5576144d5613679565b6144e9816144e38454613b22565b8461446e565b602080601f83116001811461451e57600084156145065750858301515b600019600386901b1c1916600185901b1785556144b4565b600085815260208120601f198616915b8281101561454d5788860151825594840194600190910190840161452e565b508582101561456b5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220d1df09b525b18207c6ed78819819f41d7a6222f3f8d497b4dd8f4bcb9f273b0d64736f6c63430008140033",
869
+ "linkReferences": {
870
+ "contracts/types/Blocknumber.sol": {
871
+ "BlocknumberLib": [
872
+ {
873
+ "length": 20,
874
+ "start": 4270
875
+ }
876
+ ]
877
+ },
878
+ "contracts/types/Fee.sol": {
879
+ "FeeLib": [
880
+ {
881
+ "length": 20,
882
+ "start": 11739
883
+ },
884
+ {
885
+ "length": 20,
886
+ "start": 11894
887
+ }
888
+ ]
889
+ },
890
+ "contracts/types/NftId.sol": {
891
+ "NftIdLib": [
892
+ {
893
+ "length": 20,
894
+ "start": 2272
895
+ },
896
+ {
897
+ "length": 20,
898
+ "start": 4650
899
+ },
900
+ {
901
+ "length": 20,
902
+ "start": 5676
903
+ },
904
+ {
905
+ "length": 20,
906
+ "start": 9769
907
+ }
908
+ ]
909
+ },
910
+ "contracts/types/RoleId.sol": {
911
+ "RoleIdLib": [
912
+ {
913
+ "length": 20,
914
+ "start": 12592
915
+ },
916
+ {
917
+ "length": 20,
918
+ "start": 12713
919
+ },
920
+ {
921
+ "length": 20,
922
+ "start": 12772
923
+ },
924
+ {
925
+ "length": 20,
926
+ "start": 12831
927
+ }
928
+ ]
929
+ },
930
+ "contracts/types/Timestamp.sol": {
931
+ "TimestampLib": [
932
+ {
933
+ "length": 20,
934
+ "start": 8875
935
+ },
936
+ {
937
+ "length": 20,
938
+ "start": 10630
939
+ }
940
+ ]
941
+ },
942
+ "contracts/types/Version.sol": {
943
+ "VersionLib": [
944
+ {
945
+ "length": 20,
946
+ "start": 1794
947
+ },
948
+ {
949
+ "length": 20,
950
+ "start": 5917
951
+ },
952
+ {
953
+ "length": 20,
954
+ "start": 6719
955
+ }
956
+ ]
957
+ }
958
+ },
959
+ "deployedLinkReferences": {
960
+ "contracts/types/Blocknumber.sol": {
961
+ "BlocknumberLib": [
962
+ {
963
+ "length": 20,
964
+ "start": 3956
965
+ }
966
+ ]
967
+ },
968
+ "contracts/types/Fee.sol": {
969
+ "FeeLib": [
970
+ {
971
+ "length": 20,
972
+ "start": 11425
973
+ },
974
+ {
975
+ "length": 20,
976
+ "start": 11580
977
+ }
978
+ ]
979
+ },
980
+ "contracts/types/NftId.sol": {
981
+ "NftIdLib": [
982
+ {
983
+ "length": 20,
984
+ "start": 1958
985
+ },
986
+ {
987
+ "length": 20,
988
+ "start": 4336
989
+ },
990
+ {
991
+ "length": 20,
992
+ "start": 5362
993
+ },
994
+ {
995
+ "length": 20,
996
+ "start": 9455
997
+ }
998
+ ]
999
+ },
1000
+ "contracts/types/RoleId.sol": {
1001
+ "RoleIdLib": [
1002
+ {
1003
+ "length": 20,
1004
+ "start": 12278
1005
+ },
1006
+ {
1007
+ "length": 20,
1008
+ "start": 12399
1009
+ },
1010
+ {
1011
+ "length": 20,
1012
+ "start": 12458
1013
+ },
1014
+ {
1015
+ "length": 20,
1016
+ "start": 12517
1017
+ }
1018
+ ]
1019
+ },
1020
+ "contracts/types/Timestamp.sol": {
1021
+ "TimestampLib": [
1022
+ {
1023
+ "length": 20,
1024
+ "start": 8561
1025
+ },
1026
+ {
1027
+ "length": 20,
1028
+ "start": 10316
1029
+ }
1030
+ ]
1031
+ },
1032
+ "contracts/types/Version.sol": {
1033
+ "VersionLib": [
1034
+ {
1035
+ "length": 20,
1036
+ "start": 1480
1037
+ },
1038
+ {
1039
+ "length": 20,
1040
+ "start": 5603
1041
+ },
1042
+ {
1043
+ "length": 20,
1044
+ "start": 6405
1045
+ }
1046
+ ]
1047
+ }
1048
+ }
1049
+ }