@etherisc/gif-next 0.0.2-e2d8c7d-942 → 0.0.2-e38b7e6-931

Sign up to get free protection for your applications and to get access to all the features.
Files changed (224) hide show
  1. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +40 -0
  3. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.json +42 -100
  5. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +40 -0
  7. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  8. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  10. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +5 -5
  11. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  12. package/artifacts/contracts/components/Pool.sol/Pool.json +42 -128
  13. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  14. package/artifacts/contracts/components/Product.sol/Product.json +47 -116
  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/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +1 -1
  36. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +2 -2
  38. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  39. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  40. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +90 -13
  41. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  42. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  43. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +88 -14
  44. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  45. package/artifacts/contracts/instance/Instance.sol/Instance.json +56 -616
  46. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  47. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +221 -114
  48. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +1 -1
  49. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +2 -2
  50. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2 -2
  52. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +126 -242
  54. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  55. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +26 -126
  56. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  57. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +2 -2
  58. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  59. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +114 -13
  60. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  61. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -13
  62. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  63. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  64. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  65. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  66. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +59 -16
  68. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  70. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  74. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
  75. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +235 -37
  76. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  77. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +20 -24
  78. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  79. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +145 -38
  80. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +17 -21
  82. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +64 -13
  84. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +13 -13
  86. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +120 -13
  88. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +13 -13
  90. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +13 -13
  92. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +326 -64
  94. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +51 -23
  96. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +145 -38
  98. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +17 -21
  100. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  101. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +151 -44
  102. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  103. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +17 -13
  104. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  105. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  106. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  107. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +132 -133
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  109. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +94 -65
  110. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  111. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  112. package/artifacts/contracts/registry/Registry.sol/Registry.json +145 -227
  113. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  114. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +30 -128
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +38 -104
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  120. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +530 -0
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +14 -27
  123. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  124. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  125. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  126. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  127. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  128. package/artifacts/contracts/shared/IService.sol/IService.json +13 -13
  129. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  130. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  131. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
  132. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  133. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +2 -2
  134. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  135. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +2 -2
  136. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +1 -1
  137. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  138. package/artifacts/contracts/shared/Service.sol/Service.json +13 -13
  139. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  140. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  141. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  142. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  143. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  144. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +2 -2
  145. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  146. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  147. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  148. package/artifacts/contracts/test/TestService.sol/TestService.json +31 -31
  149. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  150. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  151. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  152. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  153. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  154. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  155. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  156. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  157. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  158. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  159. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  160. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  161. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  162. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  163. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  164. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  165. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  166. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  167. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  168. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  169. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  170. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  172. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  173. package/contracts/components/BaseComponent.sol +48 -12
  174. package/contracts/components/Distribution.sol +2 -11
  175. package/contracts/components/IBaseComponent.sol +5 -1
  176. package/contracts/components/IProductComponent.sol +2 -2
  177. package/contracts/components/Pool.sol +5 -18
  178. package/contracts/components/Product.sol +19 -16
  179. package/contracts/instance/IInstance.sol +3 -3
  180. package/contracts/instance/IInstanceBase.sol +0 -1
  181. package/contracts/instance/IInstanceService.sol +9 -3
  182. package/contracts/instance/Instance.sol +12 -214
  183. package/contracts/instance/InstanceAccessManager.sol +92 -77
  184. package/contracts/instance/InstanceBase.sol +0 -2
  185. package/contracts/instance/InstanceService.sol +118 -72
  186. package/contracts/instance/InstanceServiceManager.sol +5 -8
  187. package/contracts/instance/base/ComponentServiceBase.sol +78 -12
  188. package/contracts/instance/base/IInstanceBase.sol +0 -2
  189. package/contracts/instance/module/IAccess.sol +27 -17
  190. package/contracts/instance/service/BundleService.sol +39 -5
  191. package/contracts/instance/service/BundleServiceManager.sol +5 -8
  192. package/contracts/instance/service/DistributionService.sol +33 -36
  193. package/contracts/instance/service/DistributionServiceManager.sol +6 -9
  194. package/contracts/instance/service/IBundleService.sol +5 -6
  195. package/contracts/instance/service/IPolicyService.sol +7 -0
  196. package/contracts/instance/service/PolicyService.sol +65 -34
  197. package/contracts/instance/service/PoolService.sol +46 -28
  198. package/contracts/instance/service/PoolServiceManager.sol +5 -8
  199. package/contracts/instance/service/ProductService.sol +66 -30
  200. package/contracts/registry/ChainNft.sol +1 -1
  201. package/contracts/registry/IRegistry.sol +26 -16
  202. package/contracts/registry/IRegistryService.sol +13 -5
  203. package/contracts/registry/Registry.sol +149 -201
  204. package/contracts/registry/RegistryAccessManager.sol +210 -0
  205. package/contracts/registry/RegistryService.sol +50 -88
  206. package/contracts/registry/RegistryServiceManager.sol +18 -36
  207. package/contracts/registry/ReleaseManager.sol +342 -0
  208. package/contracts/registry/TokenRegistry.sol +5 -6
  209. package/contracts/shared/IRegisterable.sol +0 -2
  210. package/contracts/shared/IService.sol +2 -1
  211. package/contracts/shared/ProxyManager.sol +1 -1
  212. package/contracts/shared/Service.sol +10 -7
  213. package/contracts/test/TestService.sol +3 -2
  214. package/contracts/types/RoleId.sol +10 -12
  215. package/package.json +1 -1
  216. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  217. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  218. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  219. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  220. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  221. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +0 -466
  222. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  223. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  224. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
@@ -7,130 +7,65 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "address",
10
- "name": "registry",
11
- "type": "address"
12
- },
13
- {
14
- "internalType": "NftId",
15
- "name": "instanceNftId",
16
- "type": "uint96"
17
- },
18
- {
19
- "internalType": "address",
20
- "name": "token",
10
+ "name": "target",
21
11
  "type": "address"
22
- },
23
- {
24
- "internalType": "bool",
25
- "name": "isInterceptor",
26
- "type": "bool"
27
- },
28
- {
29
- "internalType": "bool",
30
- "name": "isConfirmingApplication",
31
- "type": "bool"
32
- },
33
- {
34
- "internalType": "UFixed",
35
- "name": "collateralizationLevel",
36
- "type": "uint256"
37
- },
38
- {
39
- "components": [
40
- {
41
- "internalType": "UFixed",
42
- "name": "fractionalFee",
43
- "type": "uint256"
44
- },
45
- {
46
- "internalType": "uint256",
47
- "name": "fixedFee",
48
- "type": "uint256"
49
- }
50
- ],
51
- "internalType": "struct Fee",
52
- "name": "poolFee",
53
- "type": "tuple"
54
- },
55
- {
56
- "components": [
57
- {
58
- "internalType": "UFixed",
59
- "name": "fractionalFee",
60
- "type": "uint256"
61
- },
62
- {
63
- "internalType": "uint256",
64
- "name": "fixedFee",
65
- "type": "uint256"
66
- }
67
- ],
68
- "internalType": "struct Fee",
69
- "name": "stakingFee",
70
- "type": "tuple"
71
- },
72
- {
73
- "components": [
74
- {
75
- "internalType": "UFixed",
76
- "name": "fractionalFee",
77
- "type": "uint256"
78
- },
79
- {
80
- "internalType": "uint256",
81
- "name": "fixedFee",
82
- "type": "uint256"
83
- }
84
- ],
85
- "internalType": "struct Fee",
86
- "name": "performanceFee",
87
- "type": "tuple"
88
- },
12
+ }
13
+ ],
14
+ "name": "AddressEmptyCode",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
89
19
  {
90
20
  "internalType": "address",
91
- "name": "initialOwner",
21
+ "name": "account",
92
22
  "type": "address"
93
23
  }
94
24
  ],
95
- "stateMutability": "nonpayable",
96
- "type": "constructor"
25
+ "name": "AddressInsufficientBalance",
26
+ "type": "error"
97
27
  },
98
28
  {
99
29
  "inputs": [
100
30
  {
101
31
  "internalType": "address",
102
- "name": "target",
32
+ "name": "registry",
103
33
  "type": "address"
34
+ },
35
+ {
36
+ "internalType": "NftId",
37
+ "name": "nftId",
38
+ "type": "uint96"
104
39
  }
105
40
  ],
106
- "name": "AddressEmptyCode",
41
+ "name": "ErrorAlreadyLinked",
107
42
  "type": "error"
108
43
  },
109
44
  {
110
45
  "inputs": [
111
46
  {
112
47
  "internalType": "address",
113
- "name": "account",
48
+ "name": "caller",
114
49
  "type": "address"
115
50
  }
116
51
  ],
117
- "name": "AddressInsufficientBalance",
52
+ "name": "ErrorBaseComponentNotProductService",
118
53
  "type": "error"
119
54
  },
120
55
  {
121
56
  "inputs": [
122
57
  {
123
58
  "internalType": "address",
124
- "name": "registry",
59
+ "name": "caller",
125
60
  "type": "address"
126
61
  },
127
62
  {
128
- "internalType": "NftId",
129
- "name": "nftId",
130
- "type": "uint96"
63
+ "internalType": "uint64",
64
+ "name": "requiredRoleIdNum",
65
+ "type": "uint64"
131
66
  }
132
67
  ],
133
- "name": "ErrorAlreadyLinked",
68
+ "name": "ErrorBaseComponentUnauthorized",
134
69
  "type": "error"
135
70
  },
136
71
  {
@@ -477,6 +412,19 @@
477
412
  "stateMutability": "view",
478
413
  "type": "function"
479
414
  },
415
+ {
416
+ "inputs": [],
417
+ "name": "getName",
418
+ "outputs": [
419
+ {
420
+ "internalType": "string",
421
+ "name": "name",
422
+ "type": "string"
423
+ }
424
+ ],
425
+ "stateMutability": "pure",
426
+ "type": "function"
427
+ },
480
428
  {
481
429
  "inputs": [],
482
430
  "name": "getNftId",
@@ -898,42 +846,8 @@
898
846
  "type": "function"
899
847
  }
900
848
  ],
901
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162002e7a38038062002e7a833981016040819052620000349162000968565b898989608c8a856200006c6301ffc9a760e01b600090815260205260008051602062002e5a833981519152805460ff19166001179055565b600280546001600160a01b031916331790556040805160208101909152600081526200009d8787868686866200054f565b6000620000b26001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000102573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200012c919081019062000ad9565b6080810151600780546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b815263d442f11960e01b6004820152919250906301ffc9a790602401602060405180830381865afa15801562000194573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ba919062000bbf565b620001e65760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200023a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000260919062000be4565b600380546001600160a01b03199081166001600160a01b03938416179091556005805430908316179055600680549091169188169190911790556346b32da560e01b60009081526020527f0c74615b9065379cafc5e4e9d82ac4cbed23f75e35c2545793f8045351389f6c805460ff1916600117905550506008805460ff19168d1515179055505050600988905550508451600a5550602080850151600b558351600c5583810151600d558251600e55820151600f556040518890620003269062000843565b6001600160a01b039091168152602001604051809103906000f08015801562000353573d6000803e3d6000fd5b50601080546001600160a01b0319166001600160a01b0392831617905560075460408051636b9bf08b60e01b815290519190921691636b9bf08b9160048083019260209291908290030181865afa158015620003b3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003d9919062000be4565b601180546001600160a01b0319166001600160a01b0392831617905560075460408051634288121d60e01b815290519190921691634288121d9160048083019260209291908290030181865afa15801562000438573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200045e919062000be4565b601280546001600160a01b0319166001600160a01b039283161790556007546040805163fed3d63f60e01b81529051919092169163fed3d63f9160048083019260209291908290030181865afa158015620004bd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004e3919062000be4565b601380546001600160a01b0319166001600160a01b0392909216919091179055634ce2a6c760e11b60009081526020527f0ba8e23e8491845af463ee288e6da5085bc9c6a7c3db66293825e0802be51038805460ff191660011790555050505050505050505062000d5f565b620005806301ffc9a760e01b600090815260205260008051602062002e5a833981519152805460ff19166001179055565b6200058c828762000651565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d0100000000000000000000000000861515021781559050600181016200060b838262000c93565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b6001600160a01b038216620006a95760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401620001dd565b600280546001600160a01b0319166001600160a01b038416179055620006cf81620006d3565b5050565b6001546001600160a01b0316156200070e5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001dd565b6001600160a01b038116620007365760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036200076e5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001dd565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015620007eb575060408051601f3d908101601f19168201909252620007e89181019062000bbf565b60015b620008155760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001dd565b80620006cf5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001dd565b50565b6103fd8062002a5d83390190565b6001600160a01b03811681146200084057600080fd5b8051620008748162000851565b919050565b80516001600160601b03811681146200087457600080fd5b805180151581146200087457600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620008dd57620008dd620008a2565b60405290565b604051601f8201601f191681016001600160401b03811182821017156200090e576200090e620008a2565b604052919050565b6000604082840312156200092957600080fd5b604080519081016001600160401b03811182821017156200094e576200094e620008a2565b604052825181526020928301519281019290925250919050565b6000806000806000806000806000806101a08b8d0312156200098957600080fd5b8a51620009968162000851565b9950620009a660208c0162000879565b985060408b0151620009b88162000851565b9750620009c860608c0162000891565b9650620009d860808c0162000891565b955060a08b01519450620009f08c60c08d0162000916565b935062000a028c6101008d0162000916565b925062000a148c6101408d0162000916565b91506101808b015162000a278162000851565b809150509295989b9194979a5092959850565b805160ff811681146200087457600080fd5b600082601f83011262000a5e57600080fd5b81516001600160401b0381111562000a7a5762000a7a620008a2565b602062000a90601f8301601f19168201620008e3565b828152858284870101111562000aa557600080fd5b60005b8381101562000ac557858101830151828201840152820162000aa8565b506000928101909101919091529392505050565b60006020828403121562000aec57600080fd5b81516001600160401b038082111562000b0457600080fd5b9083019060e0828603121562000b1957600080fd5b62000b23620008b8565b62000b2e8362000879565b815262000b3e6020840162000879565b602082015262000b516040840162000a3a565b604082015262000b646060840162000891565b606082015262000b776080840162000867565b608082015262000b8a60a0840162000867565b60a082015260c08301518281111562000ba257600080fd5b62000bb08782860162000a4c565b60c08301525095945050505050565b60006020828403121562000bd257600080fd5b62000bdd8262000891565b9392505050565b60006020828403121562000bf757600080fd5b815162000bdd8162000851565b600181811c9082168062000c1957607f821691505b60208210810362000c3a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000c8e57600081815260208120601f850160051c8101602086101562000c695750805b601f850160051c820191505b8181101562000c8a5782815560010162000c75565b5050505b505050565b81516001600160401b0381111562000caf5762000caf620008a2565b62000cc78162000cc0845462000c04565b8462000c40565b602080601f83116001811462000cff576000841562000ce65750858301515b600019600386901b1c1916600185901b17855562000c8a565b600085815260208120601f198616915b8281101562000d305788860151825594840194600190910190840162000d0f565b508582101562000d4f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611cee8062000d6f6000396000f3fe608060405234801561001057600080fd5b50600436106101725760003560e01c806365effc1a116100de578063d632072511610097578063de7b5d1411610071578063de7b5d1414610359578063deaa59df1461036a578063f83d08ba1461037d578063fde0a3cd1461038557600080fd5b8063d632072514610325578063d7f5e60914610330578063dab123251461034357600080fd5b806365effc1a146102c75780636f10e8a0146102da57806382678766146102ed578063893d20e814610300578063a69df4b514610308578063c200b8091461031057600080fd5b806321df0da71161013057806321df0da71461025f5780632a65c6881461027057806354afef63146102835780635ab1bd531461028b578063636450f51461029c578063644c45e0146102af57600080fd5b806251884a1461017757806301ffc9a7146101a85780630fec111c146101e557806313299604146101fb578063138461e0146102205780631eff4b221461022a575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b6101d56101b6366004611549565b6001600160e01b03191660009081526020819052604090205460ff1690565b604051901515815260200161019f565b6101ed610398565b60405161019f9291906115c3565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161019f565b6102286104ab565b005b6102517f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161019f565b6006546001600160a01b0316610208565b61022861027e36600461167f565b6106cd565b600954610251565b6001546001600160a01b0316610208565b6102286102aa36600461172f565b61081c565b600154600160a01b90046001600160601b031661018b565b6102286102d53660046117f2565b610884565b6102286102e836600461167f565b6108fa565b6102286102fb366004611870565b610964565b610208610a2c565b610228610b4a565b610318610bdf565b60405161019f91906118b6565b60085460ff166101d5565b61018b61033e366004611975565b610d61565b6101d56103513660046119d7565b600192915050565b6007546001600160a01b0316610208565b610228610378366004611a50565b610deb565b6102286110f2565b61022861039336600461167f565b61115d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290916103db611196565b506040805161012081018252600754600160a01b90046001600160601b031681526010546001600160a01b039081166020808401919091526009548385015283518085018552600a548152600b5481830152606084015283518085018552600c548152600d5481830152608084015283518085018552600e548152600f548183015260a0840152600060c084015260085460ff16151560e08401526005549091166101008301529151929350839261049392016118b6565b60405160208183030381529060405292509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561050d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105319190611a82565b15610578576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166105a15760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156105ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060e9190611a82565b610636576040516372657a5160e01b81526001600160a01b038216600482015260240161056f565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610680573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a49190611aa8565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6106d5610a2c565b6001600160a01b0316336001600160a01b0316146107085760405163700dd81160e01b815233600482015260240161056f565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af4158015610784573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a89190611a82565b6107f45760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c726561647920736574000000000000604482015260640161056f565b600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b60135460405163636450f560e01b81526001600160a01b039091169063636450f59061084e9085908590600401611ac5565b600060405180830381600087803b15801561086857600080fd5b505af115801561087c573d6000803e3d6000fd5b505050505050565b6012546001600160a01b031633146108e85760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b606482015260840161056f565b6108f48484848461131c565b50505050565b601354604051630378874560e51b81526001600160601b03831660048201526001600160a01b0390911690636f10e8a0906024015b600060405180830381600087803b15801561094957600080fd5b505af115801561095d573d6000803e3d6000fd5b5050505050565b61096c610a2c565b6001600160a01b0316336001600160a01b03161461099f5760405163700dd81160e01b815233600482015260240161056f565b601154604051634133c3b360e11b8152845160048201526020808601516024830152845160448301528085015160648301528351608483015283015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b158015610a0f57600080fd5b505af1158015610a23573d6000803e3d6000fd5b50505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab59190611a82565b15610b3a57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610b11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b359190611af7565b905090565b506002546001600160a01b031690565b610b52610a2c565b6001600160a01b0316336001600160a01b031614610b855760405163700dd81160e01b815233600482015260240161056f565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610bcb57600080fd5b505af11580156108f4573d6000803e3d6000fd5b610c5960408051610120810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a082019081526000602082018190526040820181905260609091015290565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610ca3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc79190611af7565b9050806001600160a01b03166355e343a9610cf26001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161018060405180830381865afa158015610d37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5b9190611b44565b91505090565b60135460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d5390610d9e9084908a908a908a908a90600401611bf9565b6020604051808303816000875af1158015610dbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de19190611aa8565b9695505050505050565b610df3610a2c565b6001600160a01b0316336001600160a01b031614610e265760405163700dd81160e01b815233600482015260240161056f565b6005546006546040516370a0823160e01b81526001600160a01b03928316600482018190529260009216906370a0823190602401602060405180830381865afa158015610e77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9b9190611c49565b9050816001600160a01b0316836001600160a01b031603610eda57604051637c739a9960e11b81526001600160a01b038416600482015260240161056f565b8015610fab576001600160a01b0382163014610fab57600654604051636eb1769f60e11b81526001600160a01b038481166004830152306024830152600092169063dd62ed3e90604401602060405180830381865afa158015610f41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f659190611c49565b905081811015610fa957604051633945c9b360e01b81526001600160a01b03808516600483015285166024820152604481018290526064810183905260840161056f565b505b600580546001600160a01b0319166001600160a01b0385169081179091556040519081527f7a6b70c9759bfc6df8d6267688169ed308c6efabc985cf7d02df268733f8ec059060200160405180910390a180156110ed57306001600160a01b038316036110895760065460405163095ea7b360e01b8152306004820152602481018390526001600160a01b039091169063095ea7b3906044016020604051808303816000875af1158015611063573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110879190611a82565b505b6006546110a1906001600160a01b031683858461136a565b604080516001600160a01b038085168252851660208201529081018290527f40b3f633f2d28d6e514f9789ade3c5ddfab85e6731dda38dcb69206d3272c71b9060600160405180910390a15b505050565b6110fa610a2c565b6001600160a01b0316336001600160a01b03161461112d5760405163700dd81160e01b815233600482015260240161056f565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610bb1565b60135460405163fde0a3cd60e01b81526001600160601b03831660048201526001600160a01b039091169063fde0a3cd9060240161092f565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061121d6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001611265610a2c565b6001600160a01b0316815260200182600101805461128290611c62565b80601f01602080910402602001604051908101604052809291908181526020018280546112ae90611c62565b80156112fb5780601f106112d0576101008083540402835291602001916112fb565b820191906000526020600020905b8154815290600101906020018083116112de57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b604080516001600160a01b038581166024830152848116604483015260648083018590528351808403909101815260849092019092526020810180516001600160e01b03166323b872dd60e01b1790526108f4918691906000906113d09084168361141e565b905080516000141580156113f55750808060200190518101906113f39190611a82565b155b156110ed57604051635274afe760e01b81526001600160a01b038416600482015260240161056f565b606061142c83836000611433565b9392505050565b6060814710156114585760405163cd78605960e01b815230600482015260240161056f565b600080856001600160a01b031684866040516114749190611c9c565b60006040518083038185875af1925050503d80600081146114b1576040519150601f19603f3d011682016040523d82523d6000602084013e6114b6565b606091505b5091509150610de18683836060826114d6576114d18261151d565b61142c565b81511580156114ed57506001600160a01b0384163b155b1561151657604051639996b31560e01b81526001600160a01b038516600482015260240161056f565b508061142c565b80511561152d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b60006020828403121561155b57600080fd5b81356001600160e01b03198116811461142c57600080fd5b60005b8381101561158e578181015183820152602001611576565b50506000910152565b600081518084526115af816020860160208601611573565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161160760a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261164d610120840182611597565b905082810360208401526116618185611597565b95945050505050565b6001600160601b038116811461154657600080fd5b60006020828403121561169157600080fd5b813561142c8161166a565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156116d5576116d561169c565b60405290565b604051610120810167ffffffffffffffff811182821017156116d5576116d561169c565b60006040828403121561171157600080fd5b6117196116b2565b9050813581526020820135602082015292915050565b6000806060838503121561174257600080fd5b823561174d8161166a565b915061175c84602085016116ff565b90509250929050565b600082601f83011261177657600080fd5b813567ffffffffffffffff808211156117915761179161169c565b604051601f8301601f19908116603f011681019082821181831017156117b9576117b961169c565b816040528381528660208588010111156117d257600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806080858703121561180857600080fd5b84356118138161166a565b9350602085013567ffffffffffffffff8082111561183057600080fd5b61183c88838901611765565b9450604087013591508082111561185257600080fd5b5061185f87828801611765565b949793965093946060013593505050565b600080600060c0848603121561188557600080fd5b61188f85856116ff565b925061189e85604086016116ff565b91506118ad85608086016116ff565b90509250925092565b81516001600160601b031681526020808301516101808301916118e3908401826001600160a01b03169052565b5060408301516040830152606083015161190a606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525092915050565b60008060008060a0858703121561198b57600080fd5b61199586866116ff565b93506040850135925060608501359150608085013567ffffffffffffffff8111156119bf57600080fd5b6119cb87828801611765565b91505092959194509250565b600080604083850312156119ea57600080fd5b823567ffffffffffffffff80821115611a0257600080fd5b611a0e86838701611765565b93506020850135915080821115611a2457600080fd5b50611a3185828601611765565b9150509250929050565b6001600160a01b038116811461154657600080fd5b600060208284031215611a6257600080fd5b813561142c81611a3b565b80518015158114611a7d57600080fd5b919050565b600060208284031215611a9457600080fd5b61142c82611a6d565b8051611a7d8161166a565b600060208284031215611aba57600080fd5b815161142c8161166a565b6001600160601b03831681526060810161142c602083018480518252602090810151910152565b8051611a7d81611a3b565b600060208284031215611b0957600080fd5b815161142c81611a3b565b600060408284031215611b2657600080fd5b611b2e6116b2565b9050815181526020820151602082015292915050565b60006101808284031215611b5757600080fd5b611b5f6116db565b611b6883611a9d565b8152611b7660208401611aec565b602082015260408301516040820152611b928460608501611b14565b6060820152611ba48460a08501611b14565b6080820152611bb68460e08501611b14565b60a0820152611bc86101208401611a6d565b60c0820152611bda6101408401611a6d565b60e0820152611bec6101608401611aec565b6101008201529392505050565b6001600160a01b0386168152611c1c602082018680518252602090810151910152565b83606082015282608082015260c060a08201526000611c3e60c0830184611597565b979650505050505050565b600060208284031215611c5b57600080fd5b5051919050565b600181811c90821680611c7657607f821691505b602082108103611c9657634e487b7160e01b600052602260045260246000fd5b50919050565b60008251611cae818460208701611573565b919091019291505056fea26469706673582212209a70287b588b3e2306ffacc078524b01801ddbe14ddb60c9d848d4fad9e3247164736f6c63430008140033608060405234801561001057600080fd5b506040516103fd3803806103fd83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b61036a806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063beabacc81461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d6100683660046102a7565b61006f565b005b600054610087906001600160a01b031684848461008c565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526100e69085906100ec565b50505050565b60006101016001600160a01b03841683610154565b9050805160001415801561012657508080602001905181019061012491906102e3565b155b1561008757604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b606061016283836000610169565b9392505050565b60608147101561018e5760405163cd78605960e01b815230600482015260240161014b565b600080856001600160a01b031684866040516101aa9190610305565b60006040518083038185875af1925050503d80600081146101e7576040519150601f19603f3d011682016040523d82523d6000602084013e6101ec565b606091505b50915091506101fc868383610206565b9695505050505050565b60608261021b5761021682610262565b610162565b815115801561023257506001600160a01b0384163b155b1561025b57604051639996b31560e01b81526001600160a01b038516600482015260240161014b565b5080610162565b8051156102725780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b03811681146102a257600080fd5b919050565b6000806000606084860312156102bc57600080fd5b6102c58461028b565b92506102d36020850161028b565b9150604084013590509250925092565b6000602082840312156102f557600080fd5b8151801515811461016257600080fd5b6000825160005b81811015610326576020818601810151858301520161030c565b50600092019182525091905056fea26469706673582212205dcbb6c5ddae5c31498dff1c0933ab8c0d284bb07f5e69fd452d43a18212e70964736f6c6343000814003367be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5",
902
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101725760003560e01c806365effc1a116100de578063d632072511610097578063de7b5d1411610071578063de7b5d1414610359578063deaa59df1461036a578063f83d08ba1461037d578063fde0a3cd1461038557600080fd5b8063d632072514610325578063d7f5e60914610330578063dab123251461034357600080fd5b806365effc1a146102c75780636f10e8a0146102da57806382678766146102ed578063893d20e814610300578063a69df4b514610308578063c200b8091461031057600080fd5b806321df0da71161013057806321df0da71461025f5780632a65c6881461027057806354afef63146102835780635ab1bd531461028b578063636450f51461029c578063644c45e0146102af57600080fd5b806251884a1461017757806301ffc9a7146101a85780630fec111c146101e557806313299604146101fb578063138461e0146102205780631eff4b221461022a575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b6101d56101b6366004611549565b6001600160e01b03191660009081526020819052604090205460ff1690565b604051901515815260200161019f565b6101ed610398565b60405161019f9291906115c3565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161019f565b6102286104ab565b005b6102517f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161019f565b6006546001600160a01b0316610208565b61022861027e36600461167f565b6106cd565b600954610251565b6001546001600160a01b0316610208565b6102286102aa36600461172f565b61081c565b600154600160a01b90046001600160601b031661018b565b6102286102d53660046117f2565b610884565b6102286102e836600461167f565b6108fa565b6102286102fb366004611870565b610964565b610208610a2c565b610228610b4a565b610318610bdf565b60405161019f91906118b6565b60085460ff166101d5565b61018b61033e366004611975565b610d61565b6101d56103513660046119d7565b600192915050565b6007546001600160a01b0316610208565b610228610378366004611a50565b610deb565b6102286110f2565b61022861039336600461167f565b61115d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290916103db611196565b506040805161012081018252600754600160a01b90046001600160601b031681526010546001600160a01b039081166020808401919091526009548385015283518085018552600a548152600b5481830152606084015283518085018552600c548152600d5481830152608084015283518085018552600e548152600f548183015260a0840152600060c084015260085460ff16151560e08401526005549091166101008301529151929350839261049392016118b6565b60405160208183030381529060405292509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561050d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105319190611a82565b15610578576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166105a15760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156105ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060e9190611a82565b610636576040516372657a5160e01b81526001600160a01b038216600482015260240161056f565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610680573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a49190611aa8565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6106d5610a2c565b6001600160a01b0316336001600160a01b0316146107085760405163700dd81160e01b815233600482015260240161056f565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af4158015610784573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a89190611a82565b6107f45760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c726561647920736574000000000000604482015260640161056f565b600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b60135460405163636450f560e01b81526001600160a01b039091169063636450f59061084e9085908590600401611ac5565b600060405180830381600087803b15801561086857600080fd5b505af115801561087c573d6000803e3d6000fd5b505050505050565b6012546001600160a01b031633146108e85760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b606482015260840161056f565b6108f48484848461131c565b50505050565b601354604051630378874560e51b81526001600160601b03831660048201526001600160a01b0390911690636f10e8a0906024015b600060405180830381600087803b15801561094957600080fd5b505af115801561095d573d6000803e3d6000fd5b5050505050565b61096c610a2c565b6001600160a01b0316336001600160a01b03161461099f5760405163700dd81160e01b815233600482015260240161056f565b601154604051634133c3b360e11b8152845160048201526020808601516024830152845160448301528085015160648301528351608483015283015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b158015610a0f57600080fd5b505af1158015610a23573d6000803e3d6000fd5b50505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab59190611a82565b15610b3a57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610b11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b359190611af7565b905090565b506002546001600160a01b031690565b610b52610a2c565b6001600160a01b0316336001600160a01b031614610b855760405163700dd81160e01b815233600482015260240161056f565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610bcb57600080fd5b505af11580156108f4573d6000803e3d6000fd5b610c5960408051610120810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a082019081526000602082018190526040820181905260609091015290565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610ca3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc79190611af7565b9050806001600160a01b03166355e343a9610cf26001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161018060405180830381865afa158015610d37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5b9190611b44565b91505090565b60135460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d5390610d9e9084908a908a908a908a90600401611bf9565b6020604051808303816000875af1158015610dbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de19190611aa8565b9695505050505050565b610df3610a2c565b6001600160a01b0316336001600160a01b031614610e265760405163700dd81160e01b815233600482015260240161056f565b6005546006546040516370a0823160e01b81526001600160a01b03928316600482018190529260009216906370a0823190602401602060405180830381865afa158015610e77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9b9190611c49565b9050816001600160a01b0316836001600160a01b031603610eda57604051637c739a9960e11b81526001600160a01b038416600482015260240161056f565b8015610fab576001600160a01b0382163014610fab57600654604051636eb1769f60e11b81526001600160a01b038481166004830152306024830152600092169063dd62ed3e90604401602060405180830381865afa158015610f41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f659190611c49565b905081811015610fa957604051633945c9b360e01b81526001600160a01b03808516600483015285166024820152604481018290526064810183905260840161056f565b505b600580546001600160a01b0319166001600160a01b0385169081179091556040519081527f7a6b70c9759bfc6df8d6267688169ed308c6efabc985cf7d02df268733f8ec059060200160405180910390a180156110ed57306001600160a01b038316036110895760065460405163095ea7b360e01b8152306004820152602481018390526001600160a01b039091169063095ea7b3906044016020604051808303816000875af1158015611063573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110879190611a82565b505b6006546110a1906001600160a01b031683858461136a565b604080516001600160a01b038085168252851660208201529081018290527f40b3f633f2d28d6e514f9789ade3c5ddfab85e6731dda38dcb69206d3272c71b9060600160405180910390a15b505050565b6110fa610a2c565b6001600160a01b0316336001600160a01b03161461112d5760405163700dd81160e01b815233600482015260240161056f565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610bb1565b60135460405163fde0a3cd60e01b81526001600160601b03831660048201526001600160a01b039091169063fde0a3cd9060240161092f565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061121d6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001611265610a2c565b6001600160a01b0316815260200182600101805461128290611c62565b80601f01602080910402602001604051908101604052809291908181526020018280546112ae90611c62565b80156112fb5780601f106112d0576101008083540402835291602001916112fb565b820191906000526020600020905b8154815290600101906020018083116112de57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b604080516001600160a01b038581166024830152848116604483015260648083018590528351808403909101815260849092019092526020810180516001600160e01b03166323b872dd60e01b1790526108f4918691906000906113d09084168361141e565b905080516000141580156113f55750808060200190518101906113f39190611a82565b155b156110ed57604051635274afe760e01b81526001600160a01b038416600482015260240161056f565b606061142c83836000611433565b9392505050565b6060814710156114585760405163cd78605960e01b815230600482015260240161056f565b600080856001600160a01b031684866040516114749190611c9c565b60006040518083038185875af1925050503d80600081146114b1576040519150601f19603f3d011682016040523d82523d6000602084013e6114b6565b606091505b5091509150610de18683836060826114d6576114d18261151d565b61142c565b81511580156114ed57506001600160a01b0384163b155b1561151657604051639996b31560e01b81526001600160a01b038516600482015260240161056f565b508061142c565b80511561152d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b60006020828403121561155b57600080fd5b81356001600160e01b03198116811461142c57600080fd5b60005b8381101561158e578181015183820152602001611576565b50506000910152565b600081518084526115af816020860160208601611573565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161160760a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261164d610120840182611597565b905082810360208401526116618185611597565b95945050505050565b6001600160601b038116811461154657600080fd5b60006020828403121561169157600080fd5b813561142c8161166a565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156116d5576116d561169c565b60405290565b604051610120810167ffffffffffffffff811182821017156116d5576116d561169c565b60006040828403121561171157600080fd5b6117196116b2565b9050813581526020820135602082015292915050565b6000806060838503121561174257600080fd5b823561174d8161166a565b915061175c84602085016116ff565b90509250929050565b600082601f83011261177657600080fd5b813567ffffffffffffffff808211156117915761179161169c565b604051601f8301601f19908116603f011681019082821181831017156117b9576117b961169c565b816040528381528660208588010111156117d257600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806080858703121561180857600080fd5b84356118138161166a565b9350602085013567ffffffffffffffff8082111561183057600080fd5b61183c88838901611765565b9450604087013591508082111561185257600080fd5b5061185f87828801611765565b949793965093946060013593505050565b600080600060c0848603121561188557600080fd5b61188f85856116ff565b925061189e85604086016116ff565b91506118ad85608086016116ff565b90509250925092565b81516001600160601b031681526020808301516101808301916118e3908401826001600160a01b03169052565b5060408301516040830152606083015161190a606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525092915050565b60008060008060a0858703121561198b57600080fd5b61199586866116ff565b93506040850135925060608501359150608085013567ffffffffffffffff8111156119bf57600080fd5b6119cb87828801611765565b91505092959194509250565b600080604083850312156119ea57600080fd5b823567ffffffffffffffff80821115611a0257600080fd5b611a0e86838701611765565b93506020850135915080821115611a2457600080fd5b50611a3185828601611765565b9150509250929050565b6001600160a01b038116811461154657600080fd5b600060208284031215611a6257600080fd5b813561142c81611a3b565b80518015158114611a7d57600080fd5b919050565b600060208284031215611a9457600080fd5b61142c82611a6d565b8051611a7d8161166a565b600060208284031215611aba57600080fd5b815161142c8161166a565b6001600160601b03831681526060810161142c602083018480518252602090810151910152565b8051611a7d81611a3b565b600060208284031215611b0957600080fd5b815161142c81611a3b565b600060408284031215611b2657600080fd5b611b2e6116b2565b9050815181526020820151602082015292915050565b60006101808284031215611b5757600080fd5b611b5f6116db565b611b6883611a9d565b8152611b7660208401611aec565b602082015260408301516040820152611b928460608501611b14565b6060820152611ba48460a08501611b14565b6080820152611bb68460e08501611b14565b60a0820152611bc86101208401611a6d565b60c0820152611bda6101408401611a6d565b60e0820152611bec6101608401611aec565b6101008201529392505050565b6001600160a01b0386168152611c1c602082018680518252602090810151910152565b83606082015282608082015260c060a08201526000611c3e60c0830184611597565b979650505050505050565b600060208284031215611c5b57600080fd5b5051919050565b600181811c90821680611c7657607f821691505b602082108103611c9657634e487b7160e01b600052602260045260246000fd5b50919050565b60008251611cae818460208701611573565b919091019291505056fea26469706673582212209a70287b588b3e2306ffacc078524b01801ddbe14ddb60c9d848d4fad9e3247164736f6c63430008140033",
903
- "linkReferences": {
904
- "contracts/types/NftId.sol": {
905
- "NftIdLib": [
906
- {
907
- "length": 20,
908
- "start": 4674
909
- },
910
- {
911
- "length": 20,
912
- "start": 5244
913
- },
914
- {
915
- "length": 20,
916
- "start": 6086
917
- }
918
- ]
919
- }
920
- },
921
- "deployedLinkReferences": {
922
- "contracts/types/NftId.sol": {
923
- "NftIdLib": [
924
- {
925
- "length": 20,
926
- "start": 1235
927
- },
928
- {
929
- "length": 20,
930
- "start": 1805
931
- },
932
- {
933
- "length": 20,
934
- "start": 2647
935
- }
936
- ]
937
- }
938
- }
849
+ "bytecode": "0x",
850
+ "deployedBytecode": "0x",
851
+ "linkReferences": {},
852
+ "deployedLinkReferences": {}
939
853
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/21904db660ef62061ace66e5e42ffc9e.json"
3
+ "buildInfo": "../../../build-info/2d0d5ac9f3af33498ef492a7caeac063.json"
4
4
  }
@@ -7,113 +7,65 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "address",
10
- "name": "registry",
11
- "type": "address"
12
- },
13
- {
14
- "internalType": "NftId",
15
- "name": "instanceNftid",
16
- "type": "uint96"
17
- },
18
- {
19
- "internalType": "address",
20
- "name": "token",
21
- "type": "address"
22
- },
23
- {
24
- "internalType": "bool",
25
- "name": "isInterceptor",
26
- "type": "bool"
27
- },
28
- {
29
- "internalType": "address",
30
- "name": "pool",
31
- "type": "address"
32
- },
33
- {
34
- "internalType": "address",
35
- "name": "distribution",
10
+ "name": "target",
36
11
  "type": "address"
37
- },
38
- {
39
- "components": [
40
- {
41
- "internalType": "UFixed",
42
- "name": "fractionalFee",
43
- "type": "uint256"
44
- },
45
- {
46
- "internalType": "uint256",
47
- "name": "fixedFee",
48
- "type": "uint256"
49
- }
50
- ],
51
- "internalType": "struct Fee",
52
- "name": "productFee",
53
- "type": "tuple"
54
- },
55
- {
56
- "components": [
57
- {
58
- "internalType": "UFixed",
59
- "name": "fractionalFee",
60
- "type": "uint256"
61
- },
62
- {
63
- "internalType": "uint256",
64
- "name": "fixedFee",
65
- "type": "uint256"
66
- }
67
- ],
68
- "internalType": "struct Fee",
69
- "name": "processingFee",
70
- "type": "tuple"
71
- },
12
+ }
13
+ ],
14
+ "name": "AddressEmptyCode",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
72
19
  {
73
20
  "internalType": "address",
74
- "name": "initialOwner",
21
+ "name": "account",
75
22
  "type": "address"
76
23
  }
77
24
  ],
78
- "stateMutability": "nonpayable",
79
- "type": "constructor"
25
+ "name": "AddressInsufficientBalance",
26
+ "type": "error"
80
27
  },
81
28
  {
82
29
  "inputs": [
83
30
  {
84
31
  "internalType": "address",
85
- "name": "target",
32
+ "name": "registry",
86
33
  "type": "address"
34
+ },
35
+ {
36
+ "internalType": "NftId",
37
+ "name": "nftId",
38
+ "type": "uint96"
87
39
  }
88
40
  ],
89
- "name": "AddressEmptyCode",
41
+ "name": "ErrorAlreadyLinked",
90
42
  "type": "error"
91
43
  },
92
44
  {
93
45
  "inputs": [
94
46
  {
95
47
  "internalType": "address",
96
- "name": "account",
48
+ "name": "caller",
97
49
  "type": "address"
98
50
  }
99
51
  ],
100
- "name": "AddressInsufficientBalance",
52
+ "name": "ErrorBaseComponentNotProductService",
101
53
  "type": "error"
102
54
  },
103
55
  {
104
56
  "inputs": [
105
57
  {
106
58
  "internalType": "address",
107
- "name": "registry",
59
+ "name": "caller",
108
60
  "type": "address"
109
61
  },
110
62
  {
111
- "internalType": "NftId",
112
- "name": "nftId",
113
- "type": "uint96"
63
+ "internalType": "uint64",
64
+ "name": "requiredRoleIdNum",
65
+ "type": "uint64"
114
66
  }
115
67
  ],
116
- "name": "ErrorAlreadyLinked",
68
+ "name": "ErrorBaseComponentUnauthorized",
117
69
  "type": "error"
118
70
  },
119
71
  {
@@ -364,15 +316,15 @@
364
316
  "name": "applicationData",
365
317
  "type": "bytes"
366
318
  },
367
- {
368
- "internalType": "ReferralId",
369
- "name": "referralId",
370
- "type": "bytes8"
371
- },
372
319
  {
373
320
  "internalType": "NftId",
374
321
  "name": "bundleNftId",
375
322
  "type": "uint96"
323
+ },
324
+ {
325
+ "internalType": "ReferralId",
326
+ "name": "referralId",
327
+ "type": "bytes8"
376
328
  }
377
329
  ],
378
330
  "name": "calculatePremium",
@@ -467,6 +419,19 @@
467
419
  "stateMutability": "view",
468
420
  "type": "function"
469
421
  },
422
+ {
423
+ "inputs": [],
424
+ "name": "getName",
425
+ "outputs": [
426
+ {
427
+ "internalType": "string",
428
+ "name": "name",
429
+ "type": "string"
430
+ }
431
+ ],
432
+ "stateMutability": "pure",
433
+ "type": "function"
434
+ },
470
435
  {
471
436
  "inputs": [],
472
437
  "name": "getNftId",
@@ -814,42 +779,8 @@
814
779
  "type": "function"
815
780
  }
816
781
  ],
817
- "bytecode": "0x60806040523480156200001157600080fd5b50604051620032e6380380620032e6833981016040819052620000349162000a2d565b888888606e89856200006c6301ffc9a760e01b6000908152602052600080516020620032c6833981519152805460ff19166001179055565b600280546001600160a01b031916331790556040805160208101909152600081526200009d87878686868662000614565b6000620000b26001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000102573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200012c919081019062000b97565b6080810151600780546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b815263d442f11960e01b6004820152919250906301ffc9a790602401602060405180830381865afa15801562000194573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ba919062000c7d565b620001e65760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200023a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000260919062000ca2565b600380546001600160a01b03199081166001600160a01b03938416179091556005805430908316179055600680549091169188169190911790556346b32da560e01b60009081526020527f0c74615b9065379cafc5e4e9d82ac4cbed23f75e35c2545793f8045351389f6c805460ff191660011790555050505050505050600760009054906101000a90046001600160a01b03166001600160a01b0316634288121d6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000332573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000358919062000ca2565b600880546001600160a01b0319166001600160a01b039283161790556007546040805163e1033e7d60e01b81529051919092169163e1033e7d9160048083019260209291908290030181865afa158015620003b7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003dd919062000ca2565b600980546001600160a01b03199081166001600160a01b0393841617909155600a80548216888416179055600b80549091169186169190911790558251600c55602080840151600d558251600e55820151600f556040518790620004419062000908565b6001600160a01b039091168152602001604051809103906000f0801580156200046e573d6000803e3d6000fd5b50601080546001600160a01b0319166001600160a01b0392831617905560015416600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa158015620004d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004ff919062000cc2565b601080546001600160601b0392909216600160a01b026001600160a01b03909216919091179055620005396001546001600160a01b031690565b600b54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa15801562000583573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005a9919062000cc2565b601180546001600160601b0319166001600160601b0392909216919091179055633ad74e8160e01b60009081526020527f6d6f21c9f977ce279ee1b58c3ce3ac0b612bbc5256f6c821ab515558c7e6a0a8805460ff1916600117905550505050505050505062000e3b565b620006456301ffc9a760e01b6000908152602052600080516020620032c6833981519152805460ff19166001179055565b62000651828762000716565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d010000000000000000000000000086151502178155905060018101620006d0838262000d6f565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b6001600160a01b0382166200076e5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401620001dd565b600280546001600160a01b0319166001600160a01b038416179055620007948162000798565b5050565b6001546001600160a01b031615620007d35760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001dd565b6001600160a01b038116620007fb5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620008335760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001dd565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015620008b0575060408051601f3d908101601f19168201909252620008ad9181019062000c7d565b60015b620008da5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001dd565b80620007945760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001dd565b50565b6103fd8062002ec983390190565b6001600160a01b03811681146200090557600080fd5b8051620009398162000916565b919050565b80516001600160601b03811681146200093957600080fd5b805180151581146200093957600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620009a257620009a262000967565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620009d357620009d362000967565b604052919050565b600060408284031215620009ee57600080fd5b604080519081016001600160401b038111828210171562000a135762000a1362000967565b604052825181526020928301519281019290925250919050565b60008060008060008060008060006101608a8c03121562000a4d57600080fd5b895162000a5a8162000916565b985062000a6a60208b016200093e565b975060408a015162000a7c8162000916565b965062000a8c60608b0162000956565b955060808a015162000a9e8162000916565b60a08b015190955062000ab18162000916565b935062000ac28b60c08c01620009db565b925062000ad48b6101008c01620009db565b91506101408a015162000ae78162000916565b809150509295985092959850929598565b805160ff811681146200093957600080fd5b600082601f83011262000b1c57600080fd5b81516001600160401b0381111562000b385762000b3862000967565b602062000b4e601f8301601f19168201620009a8565b828152858284870101111562000b6357600080fd5b60005b8381101562000b8357858101830151828201840152820162000b66565b506000928101909101919091529392505050565b60006020828403121562000baa57600080fd5b81516001600160401b038082111562000bc257600080fd5b9083019060e0828603121562000bd757600080fd5b62000be16200097d565b62000bec836200093e565b815262000bfc602084016200093e565b602082015262000c0f6040840162000af8565b604082015262000c226060840162000956565b606082015262000c35608084016200092c565b608082015262000c4860a084016200092c565b60a082015260c08301518281111562000c6057600080fd5b62000c6e8782860162000b0a565b60c08301525095945050505050565b60006020828403121562000c9057600080fd5b62000c9b8262000956565b9392505050565b60006020828403121562000cb557600080fd5b815162000c9b8162000916565b60006020828403121562000cd557600080fd5b62000c9b826200093e565b600181811c9082168062000cf557607f821691505b60208210810362000d1657634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000d6a57600081815260208120601f850160051c8101602086101562000d455750805b601f850160051c820191505b8181101562000d665782815560010162000d51565b5050505b505050565b81516001600160401b0381111562000d8b5762000d8b62000967565b62000da38162000d9c845462000ce0565b8462000d1c565b602080601f83116001811462000ddb576000841562000dc25750858301515b600019600386901b1c1916600185901b17855562000d66565b600085815260208120601f198616915b8281101562000e0c5788860151825594840194600190910190840162000deb565b508582101562000e2b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61207e8062000e4b6000396000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c80635ab1bd53116100b8578063b6b412ba1161007c578063b6b412ba146102ae578063c200b809146102c1578063db6dcc95146102d6578063de7b5d14146102de578063deaa59df146102ef578063f83d08ba1461030257600080fd5b80635ab1bd53146102625780635e78426b14610273578063644c45e014610286578063893d20e81461029e578063a69df4b5146102a657600080fd5b8063138461e0116100ff578063138461e0146102055780631bdd6b761461020f5780631eff4b221461021757806321df0da71461023e5780632a65c6881461024f57600080fd5b806251884a1461013b57806301ffc9a71461016c5780630fec111c146101a957806312abb9b3146101bf57806313299604146101e0575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b61019961017a36600461154d565b6001600160e01b03191660009081526020819052604090205460ff1690565b6040519015158152602001610163565b6101b161030a565b6040516101639291906115c7565b6101d26101cd3660046117e9565b61056e565b604051908152602001610163565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610163565b61020d6105fa565b005b61014f61081c565b6101d27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6006546001600160a01b03166101ed565b61020d61025d366004611872565b6108a3565b6001546001600160a01b03166101ed565b6101d261028136600461188f565b6109f2565b600154600160a01b90046001600160601b031661014f565b6101ed610a08565b61020d610b21565b61020d6102bc366004611922565b610bbc565b6102c9610c5f565b6040516101639190611957565b61014f610e22565b6007546001600160a01b03166101ed565b61020d6102fd366004611a95565b610e67565b61020d61116e565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290918061034e6111d9565b915091506000600a60009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156103a7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103cf9190810190611b3b565b9150506000818060200190518101906103e89190611c64565b90506000600b60009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561043f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104679190810190611b3b565b9150506000818060200190518101906104809190611d19565b60408051610180810182526006546001600160a01b0390811682526010548082166020808501919091526011546001600160601b0390811685870152600160a01b9092049091166060808501919091528486015160808086019190915285518087018752600c548152600d548185015260a08087019190915286518088018852600e548152600f548186015260c0870152918a015160e08601528901516101008501528801516101208401526000610140840152600554909116610160830152915192935088926105519201611957565b604051602081830303815290604052975097505050505050509091565b600954604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105a99089908b908a908a9089908b90600401611dae565b60a060405180830381865afa1580156105c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ea9190611e05565b50929a9950505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561065c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106809190611e45565b156106c7576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166106f05760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075d9190611e45565b610785576040516372657a5160e01b81526001600160a01b03821660048201526024016106be565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156107cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f39190611e60565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60006108306001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa15801561087a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089e9190611e60565b905090565b6108ab610a08565b6001600160a01b0316336001600160a01b0316146108de5760405163700dd81160e01b81523360048201526024016106be565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af415801561095a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097e9190611e45565b6109ca5760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c72656164792073657400000000000060448201526064016106be565b600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b60006109ff600a86611e7d565b95945050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a919190611e45565b15610b1157600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610aed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089e9190611e9f565b506002546001600160a01b031690565b610b29610a08565b6001600160a01b0316336001600160a01b031614610b5c5760405163700dd81160e01b81523360048201526024016106be565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610ba257600080fd5b505af1158015610bb6573d6000803e3d6000fd5b50505050565b610bc4610a08565b6001600160a01b0316336001600160a01b031614610bf75760405163700dd81160e01b81523360048201526024016106be565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610c299085908590600401611ebc565b600060405180830381600087803b158015610c4357600080fd5b505af1158015610c57573d6000803e3d6000fd5b505050505050565b610d1a604080516101808101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e084015283518085018552828152808201839052610100840152835180850190945281845283015290610120820190815260006020820181905260409091015290565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610d64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d889190611e9f565b9050806001600160a01b03166390af7064610db36001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161024060405180830381865afa158015610df8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1c9190611ee2565b91505090565b6000610e366001546001600160a01b031690565b600b54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e9060240161085d565b610e6f610a08565b6001600160a01b0316336001600160a01b031614610ea25760405163700dd81160e01b81523360048201526024016106be565b6005546006546040516370a0823160e01b81526001600160a01b03928316600482018190529260009216906370a0823190602401602060405180830381865afa158015610ef3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f179190611fd9565b9050816001600160a01b0316836001600160a01b031603610f5657604051637c739a9960e11b81526001600160a01b03841660048201526024016106be565b8015611027576001600160a01b038216301461102757600654604051636eb1769f60e11b81526001600160a01b038481166004830152306024830152600092169063dd62ed3e90604401602060405180830381865afa158015610fbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe19190611fd9565b90508181101561102557604051633945c9b360e01b81526001600160a01b0380851660048301528516602482015260448101829052606481018390526084016106be565b505b600580546001600160a01b0319166001600160a01b0385169081179091556040519081527f7a6b70c9759bfc6df8d6267688169ed308c6efabc985cf7d02df268733f8ec059060200160405180910390a1801561116957306001600160a01b038316036111055760065460405163095ea7b360e01b8152306004820152602481018390526001600160a01b039091169063095ea7b3906044016020604051808303816000875af11580156110df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111039190611e45565b505b60065461111d906001600160a01b031683858461135f565b604080516001600160a01b038085168252851660208201529081018290527f40b3f633f2d28d6e514f9789ade3c5ddfab85e6731dda38dcb69206d3272c71b9060600160405180910390a15b505050565b611176610a08565b6001600160a01b0316336001600160a01b0316146111a95760405163700dd81160e01b81523360048201526024016106be565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b88565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806112606001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016112a8610a08565b6001600160a01b031681526020018260010180546112c590611ff2565b80601f01602080910402602001604051908101604052809291908181526020018280546112f190611ff2565b801561133e5780601f106113135761010080835404028352916020019161133e565b820191906000526020600020905b81548152906001019060200180831161132157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160a01b038581166024830152848116604483015260648083018590528351808403909101815260849092019092526020810180516001600160e01b03166323b872dd60e01b179052610bb6918691906000906113c590841683611413565b905080516000141580156113ea5750808060200190518101906113e89190611e45565b155b1561116957604051635274afe760e01b81526001600160a01b03841660048201526024016106be565b606061142183836000611428565b9392505050565b60608147101561144d5760405163cd78605960e01b81523060048201526024016106be565b600080856001600160a01b03168486604051611469919061202c565b60006040518083038185875af1925050503d80600081146114a6576040519150601f19603f3d011682016040523d82523d6000602084013e6114ab565b606091505b50915091506114bb8683836114c5565b9695505050505050565b6060826114da576114d582611521565b611421565b81511580156114f157506001600160a01b0384163b155b1561151a57604051639996b31560e01b81526001600160a01b03851660048201526024016106be565b5080611421565b8051156115315780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b60006020828403121561155f57600080fd5b81356001600160e01b03198116811461142157600080fd5b60005b8381101561159257818101518382015260200161157a565b50506000910152565b600081518084526115b3816020860160208601611577565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161160b60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261165161012084018261159b565b905082810360208401526109ff818561159b565b6001600160c01b03198116811461154a57600080fd5b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156116b4576116b461167b565b60405290565b60405160e0810167ffffffffffffffff811182821017156116b4576116b461167b565b604051610120810167ffffffffffffffff811182821017156116b4576116b461167b565b604051610180810167ffffffffffffffff811182821017156116b4576116b461167b565b604051601f8201601f1916810167ffffffffffffffff8111828210171561174e5761174e61167b565b604052919050565b600067ffffffffffffffff8211156117705761177061167b565b50601f01601f191660200190565b600082601f83011261178f57600080fd5b81356117a261179d82611756565b611725565b8181528460208386010111156117b757600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b038116811461154a57600080fd5b60008060008060008060c0878903121561180257600080fd5b86359550602087013561181481611665565b945060408701359350606087013567ffffffffffffffff81111561183757600080fd5b61184389828a0161177e565b935050608087013561185481611665565b915060a0870135611864816117d4565b809150509295509295509295565b60006020828403121561188457600080fd5b8135611421816117d4565b600080600080608085870312156118a557600080fd5b8435935060208501356118b781611665565b925060408501359150606085013567ffffffffffffffff8111156118da57600080fd5b6118e68782880161177e565b91505092959194509250565b60006040828403121561190457600080fd5b61190c611691565b9050813581526020820135602082015292915050565b6000806080838503121561193557600080fd5b61193f84846118f2565b915061194e84604085016118f2565b90509250929050565b81516001600160a01b031681526102408101602083015161198360208401826001600160a01b03169052565b50604083015161199e60408401826001600160601b03169052565b5060608301516119b960608401826001600160601b03169052565b5060808301516119d6608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100611a0c8185018380518252602090810151910152565b60e08501519150610140611a2c8186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e0850152840151151561020084015250610160909201516001600160a01b03166102209091015290565b6001600160a01b038116811461154a57600080fd5b600060208284031215611aa757600080fd5b813561142181611a80565b8051611abd816117d4565b919050565b805160ff81168114611abd57600080fd5b80518015158114611abd57600080fd5b8051611abd81611a80565b600082601f830112611aff57600080fd5b8151611b0d61179d82611756565b818152846020838601011115611b2257600080fd5b611b33826020830160208701611577565b949350505050565b60008060408385031215611b4e57600080fd5b825167ffffffffffffffff80821115611b6657600080fd5b9084019060e08287031215611b7a57600080fd5b611b826116ba565b611b8b83611ab2565b8152611b9960208401611ab2565b6020820152611baa60408401611ac2565b6040820152611bbb60608401611ad3565b6060820152611bcc60808401611ae3565b6080820152611bdd60a08401611ae3565b60a082015260c083015182811115611bf457600080fd5b611c0088828601611aee565b60c0830152506020860151909450915080821115611c1d57600080fd5b50611c2a85828601611aee565b9150509250929050565b600060408284031215611c4657600080fd5b611c4e611691565b9050815181526020820151602082015292915050565b60006101808284031215611c7757600080fd5b611c7f6116dd565b611c8883611ab2565b8152611c9660208401611ae3565b602082015260408301516040820152611cb28460608501611c34565b6060820152611cc48460a08501611c34565b6080820152611cd68460e08501611c34565b60a0820152611ce86101208401611ad3565b60c0820152611cfa6101408401611ad3565b60e0820152611d0c6101608401611ae3565b6101008201529392505050565b600060c08284031215611d2b57600080fd5b60405160a0810181811067ffffffffffffffff82111715611d4e57611d4e61167b565b6040528251611d5c816117d4565b81526020830151611d6c81611a80565b6020820152611d7e8460408501611c34565b6040820152611d8f60808401611ad3565b606082015260a0830151611da281611a80565b60808201529392505050565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c06060840152611de160c084018761159b565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a08688031215611e1d57600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b600060208284031215611e5757600080fd5b61142182611ad3565b600060208284031215611e7257600080fd5b8151611421816117d4565b600082611e9a57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611eb157600080fd5b815161142181611a80565b825181526020808401518183015282516040830152820151606082015260808101611421565b60006102408284031215611ef557600080fd5b611efd611701565b611f0683611ae3565b8152611f1460208401611ae3565b6020820152611f2560408401611ab2565b6040820152611f3660608401611ab2565b6060820152611f488460808501611c34565b6080820152611f5a8460c08501611c34565b60a0820152610100611f6e85828601611c34565b60c0830152610140611f8286828701611c34565b60e0840152611f95866101808701611c34565b82840152611fa7866101c08701611c34565b610120840152611fba6102008601611ad3565b9083015250611fcc6102208401611ae3565b6101608201529392505050565b600060208284031215611feb57600080fd5b5051919050565b600181811c9082168061200657607f821691505b60208210810361202657634e487b7160e01b600052602260045260246000fd5b50919050565b6000825161203e818460208701611577565b919091019291505056fea2646970667358221220ce4cbdf92a75f58fb5a718b187d51eff6ec47939c3308f062d256ccbabb1457764736f6c63430008140033608060405234801561001057600080fd5b506040516103fd3803806103fd83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b61036a806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063beabacc81461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d6100683660046102a7565b61006f565b005b600054610087906001600160a01b031684848461008c565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526100e69085906100ec565b50505050565b60006101016001600160a01b03841683610154565b9050805160001415801561012657508080602001905181019061012491906102e3565b155b1561008757604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b606061016283836000610169565b9392505050565b60608147101561018e5760405163cd78605960e01b815230600482015260240161014b565b600080856001600160a01b031684866040516101aa9190610305565b60006040518083038185875af1925050503d80600081146101e7576040519150601f19603f3d011682016040523d82523d6000602084013e6101ec565b606091505b50915091506101fc868383610206565b9695505050505050565b60608261021b5761021682610262565b610162565b815115801561023257506001600160a01b0384163b155b1561025b57604051639996b31560e01b81526001600160a01b038516600482015260240161014b565b5080610162565b8051156102725780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b03811681146102a257600080fd5b919050565b6000806000606084860312156102bc57600080fd5b6102c58461028b565b92506102d36020850161028b565b9150604084013590509250925092565b6000602082840312156102f557600080fd5b8151801515811461016257600080fd5b6000825160005b81811015610326576020818601810151858301520161030c565b50600092019182525091905056fea26469706673582212205dcbb6c5ddae5c31498dff1c0933ab8c0d284bb07f5e69fd452d43a18212e70964736f6c6343000814003367be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5",
818
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101365760003560e01c80635ab1bd53116100b8578063b6b412ba1161007c578063b6b412ba146102ae578063c200b809146102c1578063db6dcc95146102d6578063de7b5d14146102de578063deaa59df146102ef578063f83d08ba1461030257600080fd5b80635ab1bd53146102625780635e78426b14610273578063644c45e014610286578063893d20e81461029e578063a69df4b5146102a657600080fd5b8063138461e0116100ff578063138461e0146102055780631bdd6b761461020f5780631eff4b221461021757806321df0da71461023e5780632a65c6881461024f57600080fd5b806251884a1461013b57806301ffc9a71461016c5780630fec111c146101a957806312abb9b3146101bf57806313299604146101e0575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b61019961017a36600461154d565b6001600160e01b03191660009081526020819052604090205460ff1690565b6040519015158152602001610163565b6101b161030a565b6040516101639291906115c7565b6101d26101cd3660046117e9565b61056e565b604051908152602001610163565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610163565b61020d6105fa565b005b61014f61081c565b6101d27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6006546001600160a01b03166101ed565b61020d61025d366004611872565b6108a3565b6001546001600160a01b03166101ed565b6101d261028136600461188f565b6109f2565b600154600160a01b90046001600160601b031661014f565b6101ed610a08565b61020d610b21565b61020d6102bc366004611922565b610bbc565b6102c9610c5f565b6040516101639190611957565b61014f610e22565b6007546001600160a01b03166101ed565b61020d6102fd366004611a95565b610e67565b61020d61116e565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290918061034e6111d9565b915091506000600a60009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156103a7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103cf9190810190611b3b565b9150506000818060200190518101906103e89190611c64565b90506000600b60009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561043f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104679190810190611b3b565b9150506000818060200190518101906104809190611d19565b60408051610180810182526006546001600160a01b0390811682526010548082166020808501919091526011546001600160601b0390811685870152600160a01b9092049091166060808501919091528486015160808086019190915285518087018752600c548152600d548185015260a08087019190915286518088018852600e548152600f548186015260c0870152918a015160e08601528901516101008501528801516101208401526000610140840152600554909116610160830152915192935088926105519201611957565b604051602081830303815290604052975097505050505050509091565b600954604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105a99089908b908a908a9089908b90600401611dae565b60a060405180830381865afa1580156105c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ea9190611e05565b50929a9950505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561065c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106809190611e45565b156106c7576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166106f05760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075d9190611e45565b610785576040516372657a5160e01b81526001600160a01b03821660048201526024016106be565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156107cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f39190611e60565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60006108306001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa15801561087a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089e9190611e60565b905090565b6108ab610a08565b6001600160a01b0316336001600160a01b0316146108de5760405163700dd81160e01b81523360048201526024016106be565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af415801561095a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097e9190611e45565b6109ca5760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c72656164792073657400000000000060448201526064016106be565b600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b60006109ff600a86611e7d565b95945050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a919190611e45565b15610b1157600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610aed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089e9190611e9f565b506002546001600160a01b031690565b610b29610a08565b6001600160a01b0316336001600160a01b031614610b5c5760405163700dd81160e01b81523360048201526024016106be565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610ba257600080fd5b505af1158015610bb6573d6000803e3d6000fd5b50505050565b610bc4610a08565b6001600160a01b0316336001600160a01b031614610bf75760405163700dd81160e01b81523360048201526024016106be565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610c299085908590600401611ebc565b600060405180830381600087803b158015610c4357600080fd5b505af1158015610c57573d6000803e3d6000fd5b505050505050565b610d1a604080516101808101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e084015283518085018552828152808201839052610100840152835180850190945281845283015290610120820190815260006020820181905260409091015290565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610d64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d889190611e9f565b9050806001600160a01b03166390af7064610db36001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161024060405180830381865afa158015610df8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1c9190611ee2565b91505090565b6000610e366001546001600160a01b031690565b600b54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e9060240161085d565b610e6f610a08565b6001600160a01b0316336001600160a01b031614610ea25760405163700dd81160e01b81523360048201526024016106be565b6005546006546040516370a0823160e01b81526001600160a01b03928316600482018190529260009216906370a0823190602401602060405180830381865afa158015610ef3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f179190611fd9565b9050816001600160a01b0316836001600160a01b031603610f5657604051637c739a9960e11b81526001600160a01b03841660048201526024016106be565b8015611027576001600160a01b038216301461102757600654604051636eb1769f60e11b81526001600160a01b038481166004830152306024830152600092169063dd62ed3e90604401602060405180830381865afa158015610fbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe19190611fd9565b90508181101561102557604051633945c9b360e01b81526001600160a01b0380851660048301528516602482015260448101829052606481018390526084016106be565b505b600580546001600160a01b0319166001600160a01b0385169081179091556040519081527f7a6b70c9759bfc6df8d6267688169ed308c6efabc985cf7d02df268733f8ec059060200160405180910390a1801561116957306001600160a01b038316036111055760065460405163095ea7b360e01b8152306004820152602481018390526001600160a01b039091169063095ea7b3906044016020604051808303816000875af11580156110df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111039190611e45565b505b60065461111d906001600160a01b031683858461135f565b604080516001600160a01b038085168252851660208201529081018290527f40b3f633f2d28d6e514f9789ade3c5ddfab85e6731dda38dcb69206d3272c71b9060600160405180910390a15b505050565b611176610a08565b6001600160a01b0316336001600160a01b0316146111a95760405163700dd81160e01b81523360048201526024016106be565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b88565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806112606001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016112a8610a08565b6001600160a01b031681526020018260010180546112c590611ff2565b80601f01602080910402602001604051908101604052809291908181526020018280546112f190611ff2565b801561133e5780601f106113135761010080835404028352916020019161133e565b820191906000526020600020905b81548152906001019060200180831161132157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160a01b038581166024830152848116604483015260648083018590528351808403909101815260849092019092526020810180516001600160e01b03166323b872dd60e01b179052610bb6918691906000906113c590841683611413565b905080516000141580156113ea5750808060200190518101906113e89190611e45565b155b1561116957604051635274afe760e01b81526001600160a01b03841660048201526024016106be565b606061142183836000611428565b9392505050565b60608147101561144d5760405163cd78605960e01b81523060048201526024016106be565b600080856001600160a01b03168486604051611469919061202c565b60006040518083038185875af1925050503d80600081146114a6576040519150601f19603f3d011682016040523d82523d6000602084013e6114ab565b606091505b50915091506114bb8683836114c5565b9695505050505050565b6060826114da576114d582611521565b611421565b81511580156114f157506001600160a01b0384163b155b1561151a57604051639996b31560e01b81526001600160a01b03851660048201526024016106be565b5080611421565b8051156115315780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b60006020828403121561155f57600080fd5b81356001600160e01b03198116811461142157600080fd5b60005b8381101561159257818101518382015260200161157a565b50506000910152565b600081518084526115b3816020860160208601611577565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161160b60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261165161012084018261159b565b905082810360208401526109ff818561159b565b6001600160c01b03198116811461154a57600080fd5b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156116b4576116b461167b565b60405290565b60405160e0810167ffffffffffffffff811182821017156116b4576116b461167b565b604051610120810167ffffffffffffffff811182821017156116b4576116b461167b565b604051610180810167ffffffffffffffff811182821017156116b4576116b461167b565b604051601f8201601f1916810167ffffffffffffffff8111828210171561174e5761174e61167b565b604052919050565b600067ffffffffffffffff8211156117705761177061167b565b50601f01601f191660200190565b600082601f83011261178f57600080fd5b81356117a261179d82611756565b611725565b8181528460208386010111156117b757600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b038116811461154a57600080fd5b60008060008060008060c0878903121561180257600080fd5b86359550602087013561181481611665565b945060408701359350606087013567ffffffffffffffff81111561183757600080fd5b61184389828a0161177e565b935050608087013561185481611665565b915060a0870135611864816117d4565b809150509295509295509295565b60006020828403121561188457600080fd5b8135611421816117d4565b600080600080608085870312156118a557600080fd5b8435935060208501356118b781611665565b925060408501359150606085013567ffffffffffffffff8111156118da57600080fd5b6118e68782880161177e565b91505092959194509250565b60006040828403121561190457600080fd5b61190c611691565b9050813581526020820135602082015292915050565b6000806080838503121561193557600080fd5b61193f84846118f2565b915061194e84604085016118f2565b90509250929050565b81516001600160a01b031681526102408101602083015161198360208401826001600160a01b03169052565b50604083015161199e60408401826001600160601b03169052565b5060608301516119b960608401826001600160601b03169052565b5060808301516119d6608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100611a0c8185018380518252602090810151910152565b60e08501519150610140611a2c8186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e0850152840151151561020084015250610160909201516001600160a01b03166102209091015290565b6001600160a01b038116811461154a57600080fd5b600060208284031215611aa757600080fd5b813561142181611a80565b8051611abd816117d4565b919050565b805160ff81168114611abd57600080fd5b80518015158114611abd57600080fd5b8051611abd81611a80565b600082601f830112611aff57600080fd5b8151611b0d61179d82611756565b818152846020838601011115611b2257600080fd5b611b33826020830160208701611577565b949350505050565b60008060408385031215611b4e57600080fd5b825167ffffffffffffffff80821115611b6657600080fd5b9084019060e08287031215611b7a57600080fd5b611b826116ba565b611b8b83611ab2565b8152611b9960208401611ab2565b6020820152611baa60408401611ac2565b6040820152611bbb60608401611ad3565b6060820152611bcc60808401611ae3565b6080820152611bdd60a08401611ae3565b60a082015260c083015182811115611bf457600080fd5b611c0088828601611aee565b60c0830152506020860151909450915080821115611c1d57600080fd5b50611c2a85828601611aee565b9150509250929050565b600060408284031215611c4657600080fd5b611c4e611691565b9050815181526020820151602082015292915050565b60006101808284031215611c7757600080fd5b611c7f6116dd565b611c8883611ab2565b8152611c9660208401611ae3565b602082015260408301516040820152611cb28460608501611c34565b6060820152611cc48460a08501611c34565b6080820152611cd68460e08501611c34565b60a0820152611ce86101208401611ad3565b60c0820152611cfa6101408401611ad3565b60e0820152611d0c6101608401611ae3565b6101008201529392505050565b600060c08284031215611d2b57600080fd5b60405160a0810181811067ffffffffffffffff82111715611d4e57611d4e61167b565b6040528251611d5c816117d4565b81526020830151611d6c81611a80565b6020820152611d7e8460408501611c34565b6040820152611d8f60808401611ad3565b606082015260a0830151611da281611a80565b60808201529392505050565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c06060840152611de160c084018761159b565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a08688031215611e1d57600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b600060208284031215611e5757600080fd5b61142182611ad3565b600060208284031215611e7257600080fd5b8151611421816117d4565b600082611e9a57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611eb157600080fd5b815161142181611a80565b825181526020808401518183015282516040830152820151606082015260808101611421565b60006102408284031215611ef557600080fd5b611efd611701565b611f0683611ae3565b8152611f1460208401611ae3565b6020820152611f2560408401611ab2565b6040820152611f3660608401611ab2565b6060820152611f488460808501611c34565b6080820152611f5a8460c08501611c34565b60a0820152610100611f6e85828601611c34565b60c0830152610140611f8286828701611c34565b60e0840152611f95866101808701611c34565b82840152611fa7866101c08701611c34565b610120840152611fba6102008601611ad3565b9083015250611fcc6102208401611ae3565b6101608201529392505050565b600060208284031215611feb57600080fd5b5051919050565b600181811c9082168061200657607f821691505b60208210810361202657634e487b7160e01b600052602260045260246000fd5b50919050565b6000825161203e818460208701611577565b919091019291505056fea2646970667358221220ce4cbdf92a75f58fb5a718b187d51eff6ec47939c3308f062d256ccbabb1457764736f6c63430008140033",
819
- "linkReferences": {
820
- "contracts/types/NftId.sol": {
821
- "NftIdLib": [
822
- {
823
- "length": 20,
824
- "start": 5229
825
- },
826
- {
827
- "length": 20,
828
- "start": 5934
829
- },
830
- {
831
- "length": 20,
832
- "start": 6270
833
- }
834
- ]
835
- }
836
- },
837
- "deployedLinkReferences": {
838
- "contracts/types/NftId.sol": {
839
- "NftIdLib": [
840
- {
841
- "length": 20,
842
- "start": 1570
843
- },
844
- {
845
- "length": 20,
846
- "start": 2275
847
- },
848
- {
849
- "length": 20,
850
- "start": 2611
851
- }
852
- ]
853
- }
854
- }
782
+ "bytecode": "0x",
783
+ "deployedBytecode": "0x",
784
+ "linkReferences": {},
785
+ "deployedLinkReferences": {}
855
786
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/21904db660ef62061ace66e5e42ffc9e.json"
3
+ "buildInfo": "../../../../build-info/2d0d5ac9f3af33498ef492a7caeac063.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/21904db660ef62061ace66e5e42ffc9e.json"
3
+ "buildInfo": "../../../../build-info/2d0d5ac9f3af33498ef492a7caeac063.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/21904db660ef62061ace66e5e42ffc9e.json"
3
+ "buildInfo": "../../../../build-info/2d0d5ac9f3af33498ef492a7caeac063.json"
4
4
  }