@etherisc/gif-next 0.0.2-cbce707-667 → 0.0.2-cc18d4d-714

Sign up to get free protection for your applications and to get access to all the features.
Files changed (251) hide show
  1. package/README.md +63 -1
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +656 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +311 -132
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → components/IComponent.sol/IComponent.json} +171 -158
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +445 -1
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +522 -58
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +596 -5
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +299 -258
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +329 -155
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  36. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  38. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  40. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  41. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +86 -2
  42. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  43. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1289 -62
  44. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  45. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +125 -19
  46. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  47. package/artifacts/contracts/instance/Instance.sol/Instance.json +175 -655
  48. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  49. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +211 -144
  50. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +75 -82
  52. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +275 -127
  54. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  55. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +38 -57
  56. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  57. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  58. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +137 -20
  60. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  61. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  62. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  63. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  64. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  65. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +59 -16
  66. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  68. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  70. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  72. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1102 -0
  74. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +449 -0
  76. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  77. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +161 -46
  78. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  79. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +29 -28
  80. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IBundleService.sol/IBundleService.json} +295 -46
  82. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +13 -18
  84. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  85. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +766 -0
  86. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +15 -82
  88. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +25 -245
  90. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1227 -0
  92. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +505 -0
  94. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +160 -150
  96. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +29 -40
  98. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +856 -0
  100. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +437 -0
  102. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  104. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +195 -224
  106. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  107. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +221 -93
  108. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  110. package/artifacts/contracts/registry/Registry.sol/Registry.json +208 -329
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  112. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  114. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +75 -112
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +51 -112
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  118. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  120. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +13 -29
  121. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  123. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  125. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +0 -5
  126. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  127. package/artifacts/contracts/shared/IService.sol/IService.json +13 -18
  128. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  129. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  130. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +19 -6
  131. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  132. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +19 -6
  133. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +19 -11
  135. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  136. package/artifacts/contracts/shared/Service.sol/Service.json +26 -18
  137. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  138. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  139. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  140. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  141. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  142. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +19 -11
  143. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  144. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  145. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  146. package/artifacts/contracts/test/TestService.sol/TestService.json +44 -36
  147. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  148. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  149. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  150. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  151. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  152. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  153. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  154. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  155. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  156. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  157. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  158. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  159. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  160. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  161. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  162. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  163. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  164. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  165. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  166. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  167. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  168. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  169. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  170. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  172. package/contracts/components/Component.sol +216 -0
  173. package/contracts/components/Distribution.sol +39 -52
  174. package/contracts/components/IComponent.sol +43 -0
  175. package/contracts/components/IDistributionComponent.sol +4 -3
  176. package/contracts/components/IPoolComponent.sol +7 -18
  177. package/contracts/components/IProductComponent.sol +7 -3
  178. package/contracts/components/Pool.sol +59 -98
  179. package/contracts/components/Product.sol +77 -108
  180. package/contracts/instance/BundleManager.sol +125 -0
  181. package/contracts/instance/Cloneable.sol +46 -0
  182. package/contracts/instance/IInstance.sol +41 -8
  183. package/contracts/instance/IInstanceService.sol +15 -4
  184. package/contracts/instance/Instance.sol +63 -237
  185. package/contracts/instance/InstanceAccessManager.sol +87 -78
  186. package/contracts/instance/InstanceReader.sol +12 -25
  187. package/contracts/instance/InstanceService.sol +348 -95
  188. package/contracts/instance/InstanceServiceManager.sol +10 -12
  189. package/contracts/instance/ObjectManager.sol +84 -0
  190. package/contracts/instance/base/ComponentService.sol +134 -0
  191. package/contracts/instance/module/IAccess.sol +27 -18
  192. package/contracts/instance/module/ISetup.sol +3 -1
  193. package/contracts/instance/service/BundleService.sol +293 -0
  194. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  195. package/contracts/instance/service/DistributionService.sol +43 -42
  196. package/contracts/instance/service/DistributionServiceManager.sol +10 -12
  197. package/contracts/instance/service/IBundleService.sol +44 -0
  198. package/contracts/instance/service/IPolicyService.sol +94 -0
  199. package/contracts/instance/service/IPoolService.sol +6 -23
  200. package/contracts/instance/service/IProductService.sol +6 -73
  201. package/contracts/instance/service/PolicyService.sol +538 -0
  202. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  203. package/contracts/instance/service/PoolService.sol +39 -140
  204. package/contracts/instance/service/PoolServiceManager.sol +10 -12
  205. package/contracts/instance/service/ProductService.sol +233 -0
  206. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  207. package/contracts/registry/ChainNft.sol +1 -1
  208. package/contracts/registry/IRegistry.sol +35 -31
  209. package/contracts/registry/IRegistryService.sol +45 -13
  210. package/contracts/registry/Registry.sol +206 -243
  211. package/contracts/registry/RegistryAccessManager.sol +216 -0
  212. package/contracts/registry/RegistryService.sol +83 -220
  213. package/contracts/registry/RegistryServiceManager.sol +18 -36
  214. package/contracts/registry/ReleaseManager.sol +332 -0
  215. package/contracts/registry/TokenRegistry.sol +8 -7
  216. package/contracts/shared/IRegisterable.sol +1 -3
  217. package/contracts/shared/IService.sol +2 -1
  218. package/contracts/shared/NftOwnable.sol +7 -4
  219. package/contracts/shared/ProxyManager.sol +1 -1
  220. package/contracts/shared/Registerable.sol +10 -14
  221. package/contracts/shared/Service.sol +14 -8
  222. package/contracts/test/TestService.sol +3 -2
  223. package/contracts/types/NftIdSet.sol +26 -24
  224. package/contracts/types/RoleId.sol +10 -9
  225. package/package.json +3 -3
  226. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  227. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  228. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  229. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  230. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  231. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  232. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  233. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  234. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  235. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  236. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  237. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  238. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  239. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  240. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  241. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  242. package/contracts/components/BaseComponent.sol +0 -91
  243. package/contracts/components/IBaseComponent.sol +0 -25
  244. package/contracts/instance/AccessManagedSimple.sol +0 -115
  245. package/contracts/instance/AccessManagerSimple.sol +0 -692
  246. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  247. package/contracts/instance/base/ComponentServiceBase.sol +0 -41
  248. package/contracts/instance/base/IInstanceBase.sol +0 -23
  249. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  250. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  251. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -7,108 +7,166 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "address",
10
- "name": "registry",
10
+ "name": "authority",
11
11
  "type": "address"
12
- },
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
13
19
  {
14
- "internalType": "NftId",
15
- "name": "instanceNftId",
16
- "type": "uint96"
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
17
23
  },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
18
35
  {
19
36
  "internalType": "address",
20
- "name": "token",
37
+ "name": "caller",
21
38
  "type": "address"
22
- },
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
23
46
  {
24
- "internalType": "bool",
25
- "name": "isInterceptor",
26
- "type": "bool"
27
- },
47
+ "internalType": "address",
48
+ "name": "target",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "AddressEmptyCode",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
28
57
  {
29
- "internalType": "bool",
30
- "name": "verifying",
31
- "type": "bool"
32
- },
58
+ "internalType": "address",
59
+ "name": "account",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "name": "AddressInsufficientBalance",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
33
68
  {
34
- "internalType": "UFixed",
35
- "name": "collateralizationLevel",
36
- "type": "uint256"
69
+ "internalType": "address",
70
+ "name": "registry",
71
+ "type": "address"
37
72
  },
38
73
  {
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
- },
74
+ "internalType": "NftId",
75
+ "name": "nftId",
76
+ "type": "uint96"
77
+ }
78
+ ],
79
+ "name": "ErrorAlreadyLinked",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [
55
84
  {
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"
85
+ "internalType": "NftId",
86
+ "name": "instanceNftId",
87
+ "type": "uint96"
71
88
  },
72
89
  {
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"
90
+ "internalType": "address",
91
+ "name": "instance",
92
+ "type": "address"
93
+ }
94
+ ],
95
+ "name": "ErrorComponentNotInstance",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "address",
102
+ "name": "caller",
103
+ "type": "address"
104
+ }
105
+ ],
106
+ "name": "ErrorComponentNotProductService",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [],
111
+ "name": "ErrorComponentProductNftAlreadySet",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "address",
118
+ "name": "caller",
119
+ "type": "address"
88
120
  },
121
+ {
122
+ "internalType": "uint64",
123
+ "name": "requiredRoleIdNum",
124
+ "type": "uint64"
125
+ }
126
+ ],
127
+ "name": "ErrorComponentUnauthorized",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [
89
132
  {
90
133
  "internalType": "address",
91
- "name": "initialOwner",
134
+ "name": "newWallet",
92
135
  "type": "address"
93
136
  }
94
137
  ],
95
- "stateMutability": "nonpayable",
96
- "type": "constructor"
138
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
139
+ "type": "error"
140
+ },
141
+ {
142
+ "inputs": [],
143
+ "name": "ErrorComponentWalletAddressZero",
144
+ "type": "error"
97
145
  },
98
146
  {
99
147
  "inputs": [
100
148
  {
101
149
  "internalType": "address",
102
- "name": "registry",
150
+ "name": "oldWallet",
103
151
  "type": "address"
104
152
  },
105
153
  {
106
- "internalType": "NftId",
107
- "name": "nftId",
108
- "type": "uint96"
154
+ "internalType": "address",
155
+ "name": "newWallet",
156
+ "type": "address"
157
+ },
158
+ {
159
+ "internalType": "uint256",
160
+ "name": "allowance",
161
+ "type": "uint256"
162
+ },
163
+ {
164
+ "internalType": "uint256",
165
+ "name": "balance",
166
+ "type": "uint256"
109
167
  }
110
168
  ],
111
- "name": "ErrorAlreadyLinked",
169
+ "name": "ErrorComponentWalletAllowanceTooSmall",
112
170
  "type": "error"
113
171
  },
114
172
  {
@@ -176,6 +234,11 @@
176
234
  "name": "ErrorRegistryNotInitialized",
177
235
  "type": "error"
178
236
  },
237
+ {
238
+ "inputs": [],
239
+ "name": "FailedInnerCall",
240
+ "type": "error"
241
+ },
179
242
  {
180
243
  "inputs": [],
181
244
  "name": "InvalidInitialization",
@@ -186,6 +249,30 @@
186
249
  "name": "NotInitializing",
187
250
  "type": "error"
188
251
  },
252
+ {
253
+ "inputs": [
254
+ {
255
+ "internalType": "address",
256
+ "name": "token",
257
+ "type": "address"
258
+ }
259
+ ],
260
+ "name": "SafeERC20FailedOperation",
261
+ "type": "error"
262
+ },
263
+ {
264
+ "anonymous": false,
265
+ "inputs": [
266
+ {
267
+ "indexed": false,
268
+ "internalType": "address",
269
+ "name": "authority",
270
+ "type": "address"
271
+ }
272
+ ],
273
+ "name": "AuthorityUpdated",
274
+ "type": "event"
275
+ },
189
276
  {
190
277
  "anonymous": false,
191
278
  "inputs": [
@@ -199,6 +286,44 @@
199
286
  "name": "Initialized",
200
287
  "type": "event"
201
288
  },
289
+ {
290
+ "anonymous": false,
291
+ "inputs": [
292
+ {
293
+ "indexed": false,
294
+ "internalType": "address",
295
+ "name": "newWallet",
296
+ "type": "address"
297
+ }
298
+ ],
299
+ "name": "LogComponentWalletAddressChanged",
300
+ "type": "event"
301
+ },
302
+ {
303
+ "anonymous": false,
304
+ "inputs": [
305
+ {
306
+ "indexed": false,
307
+ "internalType": "address",
308
+ "name": "from",
309
+ "type": "address"
310
+ },
311
+ {
312
+ "indexed": false,
313
+ "internalType": "address",
314
+ "name": "to",
315
+ "type": "address"
316
+ },
317
+ {
318
+ "indexed": false,
319
+ "internalType": "uint256",
320
+ "name": "amount",
321
+ "type": "uint256"
322
+ }
323
+ ],
324
+ "name": "LogComponentWalletTokensTransferred",
325
+ "type": "event"
326
+ },
202
327
  {
203
328
  "anonymous": false,
204
329
  "inputs": [
@@ -226,7 +351,7 @@
226
351
  },
227
352
  {
228
353
  "inputs": [],
229
- "name": "REGISTERABLE_LOCATION_V1",
354
+ "name": "CONTRACT_LOCATION_V1",
230
355
  "outputs": [
231
356
  {
232
357
  "internalType": "bytes32",
@@ -238,49 +363,29 @@
238
363
  "type": "function"
239
364
  },
240
365
  {
241
- "inputs": [
242
- {
243
- "components": [
244
- {
245
- "internalType": "UFixed",
246
- "name": "fractionalFee",
247
- "type": "uint256"
248
- },
249
- {
250
- "internalType": "uint256",
251
- "name": "fixedFee",
252
- "type": "uint256"
253
- }
254
- ],
255
- "internalType": "struct Fee",
256
- "name": "fee",
257
- "type": "tuple"
258
- },
259
- {
260
- "internalType": "uint256",
261
- "name": "initialAmount",
262
- "type": "uint256"
263
- },
264
- {
265
- "internalType": "uint256",
266
- "name": "lifetime",
267
- "type": "uint256"
268
- },
366
+ "inputs": [],
367
+ "name": "REGISTERABLE_LOCATION_V1",
368
+ "outputs": [
269
369
  {
270
- "internalType": "bytes",
271
- "name": "filter",
272
- "type": "bytes"
370
+ "internalType": "bytes32",
371
+ "name": "",
372
+ "type": "bytes32"
273
373
  }
274
374
  ],
275
- "name": "createBundle",
375
+ "stateMutability": "view",
376
+ "type": "function"
377
+ },
378
+ {
379
+ "inputs": [],
380
+ "name": "authority",
276
381
  "outputs": [
277
382
  {
278
- "internalType": "NftId",
279
- "name": "bundleNftId",
280
- "type": "uint96"
383
+ "internalType": "address",
384
+ "name": "",
385
+ "type": "address"
281
386
  }
282
387
  ],
283
- "stateMutability": "nonpayable",
388
+ "stateMutability": "view",
284
389
  "type": "function"
285
390
  },
286
391
  {
@@ -339,13 +444,8 @@
339
444
  }
340
445
  ],
341
446
  "internalType": "struct IRegistry.ObjectInfo",
342
- "name": "",
447
+ "name": "info",
343
448
  "type": "tuple"
344
- },
345
- {
346
- "internalType": "bytes",
347
- "name": "",
348
- "type": "bytes"
349
449
  }
350
450
  ],
351
451
  "stateMutability": "view",
@@ -353,90 +453,12 @@
353
453
  },
354
454
  {
355
455
  "inputs": [],
356
- "name": "getInitialSetupInfo",
456
+ "name": "getInitialOwner",
357
457
  "outputs": [
358
458
  {
359
- "components": [
360
- {
361
- "internalType": "NftId",
362
- "name": "productNftId",
363
- "type": "uint96"
364
- },
365
- {
366
- "internalType": "contract TokenHandler",
367
- "name": "tokenHandler",
368
- "type": "address"
369
- },
370
- {
371
- "internalType": "UFixed",
372
- "name": "collateralizationLevel",
373
- "type": "uint256"
374
- },
375
- {
376
- "components": [
377
- {
378
- "internalType": "UFixed",
379
- "name": "fractionalFee",
380
- "type": "uint256"
381
- },
382
- {
383
- "internalType": "uint256",
384
- "name": "fixedFee",
385
- "type": "uint256"
386
- }
387
- ],
388
- "internalType": "struct Fee",
389
- "name": "poolFee",
390
- "type": "tuple"
391
- },
392
- {
393
- "components": [
394
- {
395
- "internalType": "UFixed",
396
- "name": "fractionalFee",
397
- "type": "uint256"
398
- },
399
- {
400
- "internalType": "uint256",
401
- "name": "fixedFee",
402
- "type": "uint256"
403
- }
404
- ],
405
- "internalType": "struct Fee",
406
- "name": "stakingFee",
407
- "type": "tuple"
408
- },
409
- {
410
- "components": [
411
- {
412
- "internalType": "UFixed",
413
- "name": "fractionalFee",
414
- "type": "uint256"
415
- },
416
- {
417
- "internalType": "uint256",
418
- "name": "fixedFee",
419
- "type": "uint256"
420
- }
421
- ],
422
- "internalType": "struct Fee",
423
- "name": "performanceFee",
424
- "type": "tuple"
425
- },
426
- {
427
- "internalType": "bool",
428
- "name": "isIntercepting",
429
- "type": "bool"
430
- },
431
- {
432
- "internalType": "address",
433
- "name": "wallet",
434
- "type": "address"
435
- }
436
- ],
437
- "internalType": "struct ISetup.PoolSetupInfo",
438
- "name": "setupInfo",
439
- "type": "tuple"
459
+ "internalType": "address",
460
+ "name": "",
461
+ "type": "address"
440
462
  }
441
463
  ],
442
464
  "stateMutability": "view",
@@ -455,6 +477,32 @@
455
477
  "stateMutability": "view",
456
478
  "type": "function"
457
479
  },
480
+ {
481
+ "inputs": [],
482
+ "name": "getInstanceService",
483
+ "outputs": [
484
+ {
485
+ "internalType": "contract IInstanceService",
486
+ "name": "",
487
+ "type": "address"
488
+ }
489
+ ],
490
+ "stateMutability": "view",
491
+ "type": "function"
492
+ },
493
+ {
494
+ "inputs": [],
495
+ "name": "getName",
496
+ "outputs": [
497
+ {
498
+ "internalType": "string",
499
+ "name": "name",
500
+ "type": "string"
501
+ }
502
+ ],
503
+ "stateMutability": "view",
504
+ "type": "function"
505
+ },
458
506
  {
459
507
  "inputs": [],
460
508
  "name": "getNftId",
@@ -494,6 +542,19 @@
494
542
  "stateMutability": "view",
495
543
  "type": "function"
496
544
  },
545
+ {
546
+ "inputs": [],
547
+ "name": "getProductService",
548
+ "outputs": [
549
+ {
550
+ "internalType": "contract IProductService",
551
+ "name": "",
552
+ "type": "address"
553
+ }
554
+ ],
555
+ "stateMutability": "view",
556
+ "type": "function"
557
+ },
497
558
  {
498
559
  "inputs": [],
499
560
  "name": "getRegistry",
@@ -584,6 +645,11 @@
584
645
  "name": "isIntercepting",
585
646
  "type": "bool"
586
647
  },
648
+ {
649
+ "internalType": "bool",
650
+ "name": "isConfirmingApplication",
651
+ "type": "bool"
652
+ },
587
653
  {
588
654
  "internalType": "address",
589
655
  "name": "wallet",
@@ -626,17 +692,30 @@
626
692
  },
627
693
  {
628
694
  "inputs": [],
629
- "name": "isVerifying",
695
+ "name": "isConfirmingApplication",
630
696
  "outputs": [
631
697
  {
632
698
  "internalType": "bool",
633
- "name": "verifying",
699
+ "name": "isConfirmingApplication",
634
700
  "type": "bool"
635
701
  }
636
702
  ],
637
703
  "stateMutability": "view",
638
704
  "type": "function"
639
705
  },
706
+ {
707
+ "inputs": [],
708
+ "name": "isConsumingScheduledOp",
709
+ "outputs": [
710
+ {
711
+ "internalType": "bytes4",
712
+ "name": "",
713
+ "type": "bytes4"
714
+ }
715
+ ],
716
+ "stateMutability": "view",
717
+ "type": "function"
718
+ },
640
719
  {
641
720
  "inputs": [],
642
721
  "name": "linkToRegisteredNftId",
@@ -678,29 +757,12 @@
678
757
  {
679
758
  "inputs": [
680
759
  {
681
- "internalType": "NftId",
682
- "name": "bundleNftId",
683
- "type": "uint96"
684
- },
685
- {
686
- "components": [
687
- {
688
- "internalType": "UFixed",
689
- "name": "fractionalFee",
690
- "type": "uint256"
691
- },
692
- {
693
- "internalType": "uint256",
694
- "name": "fixedFee",
695
- "type": "uint256"
696
- }
697
- ],
698
- "internalType": "struct Fee",
699
- "name": "fee",
700
- "type": "tuple"
760
+ "internalType": "address",
761
+ "name": "newAuthority",
762
+ "type": "address"
701
763
  }
702
764
  ],
703
- "name": "setBundleFee",
765
+ "name": "setAuthority",
704
766
  "outputs": [],
705
767
  "stateMutability": "nonpayable",
706
768
  "type": "function"
@@ -777,6 +839,19 @@
777
839
  "stateMutability": "nonpayable",
778
840
  "type": "function"
779
841
  },
842
+ {
843
+ "inputs": [
844
+ {
845
+ "internalType": "address",
846
+ "name": "newWallet",
847
+ "type": "address"
848
+ }
849
+ ],
850
+ "name": "setWallet",
851
+ "outputs": [],
852
+ "stateMutability": "nonpayable",
853
+ "type": "function"
854
+ },
780
855
  {
781
856
  "inputs": [
782
857
  {
@@ -832,42 +907,8 @@
832
907
  "type": "function"
833
908
  }
834
909
  ],
835
- "bytecode": "0x60806040523480156200001157600080fd5b50604051620022bb380380620022bb8339810160408190526200003491620007a1565b898989608c8a856200006c6301ffc9a760e01b60009081526020526000805160206200229b833981519152805460ff19166001179055565b600280546001600160a01b031916331790556040805160208101909152600081526200009d878786868686620003ee565b6000620000b26001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000102573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200012c919081019062000912565b6080810151600780546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152639f07a2f160e01b6004820152919250906301ffc9a790602401602060405180830381865afa15801562000194573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ba9190620009f8565b620001e65760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200023a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000260919062000a1d565b600380546001600160a01b03199081166001600160a01b0393841617909155600580543090831617905560068054909116918816919091179055634c0cba3d60e11b60009081526020527f8605f84a1fdbc6ff75d8a06315d161884729b429561b502d19c5a33135142c3a805460ff1916600117905550506008805460ff19168d1515179055505050600988905550508451600a5550602080850151600b558351600c5583810151600d558251600e5582810151600f5560075460408051636b9bf08b60e01b815290516001600160a01b0390921692636b9bf08b926004808401938290030181865afa1580156200035c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000382919062000a1d565b601080546001600160a01b0319166001600160a01b0392909216919091179055632d744d3360e11b60009081526020527f8b4532a0111795e202cfc84b9993b64ea185eec29ed9b6b664121b104b35bb00805460ff191660011790555050505050505050505062000b98565b6200041f6301ffc9a760e01b60009081526020526000805160206200229b833981519152805460ff19166001179055565b6200042b8287620004f0565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d010000000000000000000000000086151502178155905060018101620004aa838262000acc565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b600280546001600160a01b0319166001600160a01b03841617905562000516816200051a565b5050565b6001546001600160a01b031615620005555760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001dd565b6001600160a01b0381166200057d5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620005b55760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001dd565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa92505050801562000632575060408051601f3d908101601f191682019092526200062f91810190620009f8565b60015b6200065c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001dd565b80620005165760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001dd565b50565b6001600160a01b03811681146200068757600080fd5b8051620006ad816200068a565b919050565b80516001600160601b0381168114620006ad57600080fd5b80518015158114620006ad57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620007165762000716620006db565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620007475762000747620006db565b604052919050565b6000604082840312156200076257600080fd5b604080519081016001600160401b0381118282101715620007875762000787620006db565b604052825181526020928301519281019290925250919050565b6000806000806000806000806000806101a08b8d031215620007c257600080fd5b8a51620007cf816200068a565b9950620007df60208c01620006b2565b985060408b0151620007f1816200068a565b97506200080160608c01620006ca565b96506200081160808c01620006ca565b955060a08b01519450620008298c60c08d016200074f565b93506200083b8c6101008d016200074f565b92506200084d8c6101408d016200074f565b91506101808b015162000860816200068a565b809150509295989b9194979a5092959850565b805160ff81168114620006ad57600080fd5b600082601f8301126200089757600080fd5b81516001600160401b03811115620008b357620008b3620006db565b6020620008c9601f8301601f191682016200071c565b8281528582848701011115620008de57600080fd5b60005b83811015620008fe578581018301518282018401528201620008e1565b506000928101909101919091529392505050565b6000602082840312156200092557600080fd5b81516001600160401b03808211156200093d57600080fd5b9083019060e082860312156200095257600080fd5b6200095c620006f1565b6200096783620006b2565b81526200097760208401620006b2565b60208201526200098a6040840162000873565b60408201526200099d60608401620006ca565b6060820152620009b060808401620006a0565b6080820152620009c360a08401620006a0565b60a082015260c083015182811115620009db57600080fd5b620009e98782860162000885565b60c08301525095945050505050565b60006020828403121562000a0b57600080fd5b62000a1682620006ca565b9392505050565b60006020828403121562000a3057600080fd5b815162000a16816200068a565b600181811c9082168062000a5257607f821691505b60208210810362000a7357634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000ac757600081815260208120601f850160051c8101602086101562000aa25750805b601f850160051c820191505b8181101562000ac35782815560010162000aae565b5050505b505050565b81516001600160401b0381111562000ae85762000ae8620006db565b62000b008162000af9845462000a3d565b8462000a79565b602080601f83116001811462000b38576000841562000b1f5750858301515b600019600386901b1c1916600185901b17855562000ac3565b600085815260208120601f198616915b8281101562000b695788860151825594840194600190910190840162000b48565b508582101562000b885787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6116f38062000ba86000396000f3fe608060405234801561001057600080fd5b506004361061014c5760003560e01c8063644c45e0116100c3578063a69df4b51161007c578063a69df4b5146102ef578063c200b809146102f7578063d7f5e609146102ff578063dab1232514610312578063de7b5d1414610328578063f83d08ba1461033957600080fd5b8063644c45e01461028957806365effc1a146102a157806382678766146102b457806387ef9ba0146102c7578063893d20e8146102d25780638e7ff97e146102da57600080fd5b80631eff4b22116101155780631eff4b221461020457806321df0da7146102395780632a65c6881461024a57806354afef631461025d5780635ab1bd5314610265578063636450f51461027657600080fd5b806251884a1461015157806301ffc9a7146101825780630fec111c146101bf57806313299604146101d5578063138461e0146101fa575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b6101af610190366004610fcd565b6001600160e01b03191660009081526020819052604090205460ff1690565b6040519015158152602001610179565b6101c7610341565b604051610179929190611044565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610179565b6102026103bb565b005b61022b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610179565b6006546001600160a01b03166101e2565b610202610258366004611103565b6105dd565b60095461022b565b6001546001600160a01b03166101e2565b6102026102843660046111b3565b61073f565b600154600160a01b90046001600160601b0316610165565b6102026102af366004611276565b6107a7565b6102026102c23660046112f4565b61081d565b60085460ff166101af565b6101e26108f8565b6102e2610a16565b604051610179919061133a565b610202610ac4565b6102e2610b72565b61016561030d3660046113df565b610c82565b6101af610320366004611441565b600192915050565b6007546001600160a01b03166101e2565b610202610d0c565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610385610d89565b9150915081610392610a16565b6040516020016103a2919061133a565b6040516020818303038152906040529350935050509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561041d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061044191906114ba565b15610488576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166104b15760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156104fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051e91906114ba565b610546576040516372657a5160e01b81526001600160a01b038216600482015260240161047f565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b491906114e0565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60006105e76108f8565b90506001600160a01b0381161580159061060a5750336001600160a01b03821614155b1561062a5760405163700dd81160e01b815233600482015260240161047f565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af41580156106a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ca91906114ba565b6107165760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c726561647920736574000000000000604482015260640161047f565b50600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b60105460405163636450f560e01b81526001600160a01b039091169063636450f59061077190859085906004016114fd565b600060405180830381600087803b15801561078b57600080fd5b505af115801561079f573d6000803e3d6000fd5b505050505050565b6011546001600160a01b0316331461080b5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b606482015260840161047f565b61081784848484610f0f565b50505050565b60006108276108f8565b90506001600160a01b0381161580159061084a5750336001600160a01b03821614155b1561086a5760405163700dd81160e01b815233600482015260240161047f565b601054604051634133c3b360e11b8152855160048201526020808701516024830152855160448301528086015160648301528451608483015284015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b1580156108da57600080fd5b505af11580156108ee573d6000803e3d6000fd5b5050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561095d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098191906114ba565b15610a0657600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156109dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a019190611544565b905090565b506002546001600160a01b031690565b610a1e610f5d565b506040805161010081018252600754600160a01b90046001600160601b031681526006546001600160a01b039081166020808401919091526009548385015283518085018552600a548152600b5481830152606084015283518085018552600c548152600d548183015260808401528351808501909452600e548452600f549084015260a082019290925260085460ff16151560c082015260055490911660e082015290565b6000610ace6108f8565b90506001600160a01b03811615801590610af15750336001600160a01b03821614155b15610b115760405163700dd81160e01b815233600482015260240161047f565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610b5757600080fd5b505af1158015610b6b573d6000803e3d6000fd5b5050505050565b610b7a610f5d565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610bc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be89190611544565b9050806001600160a01b03166355e343a9610c136001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161016060405180830381865afa158015610c58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7c9190611591565b91505090565b60105460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d5390610cbf9084908a908a908a908a90600401611633565b6020604051808303816000875af1158015610cde573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0291906114e0565b9695505050505050565b6000610d166108f8565b90506001600160a01b03811615801590610d395750336001600160a01b03821614155b15610d595760405163700dd81160e01b815233600482015260240161047f565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b3d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610e106001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610e586108f8565b6001600160a01b03168152602001826001018054610e7590611683565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea190611683565b8015610eee5780601f10610ec357610100808354040283529160200191610eee565b820191906000526020600020905b815481529060010190602001808311610ed157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a0820190815260006020820181905260409091015290565b600060208284031215610fdf57600080fd5b81356001600160e01b031981168114610ff757600080fd5b9392505050565b6000815180845260005b8181101561102457602081850181015186830182015201611008565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161108860a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526110ce610120840182610ffe565b905082810360208401526110e28185610ffe565b95945050505050565b6001600160601b038116811461110057600080fd5b50565b60006020828403121561111557600080fd5b8135610ff7816110eb565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff8111828210171561115957611159611120565b60405290565b604051610100810167ffffffffffffffff8111828210171561115957611159611120565b60006040828403121561119557600080fd5b61119d611136565b9050813581526020820135602082015292915050565b600080606083850312156111c657600080fd5b82356111d1816110eb565b91506111e08460208501611183565b90509250929050565b600082601f8301126111fa57600080fd5b813567ffffffffffffffff8082111561121557611215611120565b604051601f8301601f19908116603f0116810190828211818310171561123d5761123d611120565b8160405283815286602085880101111561125657600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806080858703121561128c57600080fd5b8435611297816110eb565b9350602085013567ffffffffffffffff808211156112b457600080fd5b6112c0888389016111e9565b945060408701359150808211156112d657600080fd5b506112e3878288016111e9565b949793965093946060013593505050565b600080600060c0848603121561130957600080fd5b6113138585611183565b92506113228560408601611183565b91506113318560808601611183565b90509250925092565b81516001600160601b031681526020808301516001600160a01b031690820152604080830151908201526060808301516101608301916113869084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b60008060008060a085870312156113f557600080fd5b6113ff8686611183565b93506040850135925060608501359150608085013567ffffffffffffffff81111561142957600080fd5b611435878288016111e9565b91505092959194509250565b6000806040838503121561145457600080fd5b823567ffffffffffffffff8082111561146c57600080fd5b611478868387016111e9565b9350602085013591508082111561148e57600080fd5b5061149b858286016111e9565b9150509250929050565b805180151581146114b557600080fd5b919050565b6000602082840312156114cc57600080fd5b610ff7826114a5565b80516114b5816110eb565b6000602082840312156114f257600080fd5b8151610ff7816110eb565b6001600160601b038316815260608101610ff7602083018480518252602090810151910152565b6001600160a01b038116811461110057600080fd5b80516114b581611524565b60006020828403121561155657600080fd5b8151610ff781611524565b60006040828403121561157357600080fd5b61157b611136565b9050815181526020820151602082015292915050565b600061016082840312156115a457600080fd5b6115ac61115f565b6115b5836114d5565b81526115c360208401611539565b6020820152604083015160408201526115df8460608501611561565b60608201526115f18460a08501611561565b60808201526116038460e08501611561565b60a082015261161561012084016114a5565b60c08201526116276101408401611539565b60e08201529392505050565b6001600160a01b0386168152611656602082018680518252602090810151910152565b83606082015282608082015260c060a0820152600061167860c0830184610ffe565b979650505050505050565b600181811c9082168061169757607f821691505b6020821081036116b757634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220c9413f9ec769522e91104b73e66ec507bcbd298a7f6156df5dcd32ea334c086664736f6c6343000814003367be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5",
836
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061014c5760003560e01c8063644c45e0116100c3578063a69df4b51161007c578063a69df4b5146102ef578063c200b809146102f7578063d7f5e609146102ff578063dab1232514610312578063de7b5d1414610328578063f83d08ba1461033957600080fd5b8063644c45e01461028957806365effc1a146102a157806382678766146102b457806387ef9ba0146102c7578063893d20e8146102d25780638e7ff97e146102da57600080fd5b80631eff4b22116101155780631eff4b221461020457806321df0da7146102395780632a65c6881461024a57806354afef631461025d5780635ab1bd5314610265578063636450f51461027657600080fd5b806251884a1461015157806301ffc9a7146101825780630fec111c146101bf57806313299604146101d5578063138461e0146101fa575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b6101af610190366004610fcd565b6001600160e01b03191660009081526020819052604090205460ff1690565b6040519015158152602001610179565b6101c7610341565b604051610179929190611044565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610179565b6102026103bb565b005b61022b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610179565b6006546001600160a01b03166101e2565b610202610258366004611103565b6105dd565b60095461022b565b6001546001600160a01b03166101e2565b6102026102843660046111b3565b61073f565b600154600160a01b90046001600160601b0316610165565b6102026102af366004611276565b6107a7565b6102026102c23660046112f4565b61081d565b60085460ff166101af565b6101e26108f8565b6102e2610a16565b604051610179919061133a565b610202610ac4565b6102e2610b72565b61016561030d3660046113df565b610c82565b6101af610320366004611441565b600192915050565b6007546001600160a01b03166101e2565b610202610d0c565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610385610d89565b9150915081610392610a16565b6040516020016103a2919061133a565b6040516020818303038152906040529350935050509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561041d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061044191906114ba565b15610488576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166104b15760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156104fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051e91906114ba565b610546576040516372657a5160e01b81526001600160a01b038216600482015260240161047f565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b491906114e0565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60006105e76108f8565b90506001600160a01b0381161580159061060a5750336001600160a01b03821614155b1561062a5760405163700dd81160e01b815233600482015260240161047f565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af41580156106a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ca91906114ba565b6107165760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c726561647920736574000000000000604482015260640161047f565b50600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b60105460405163636450f560e01b81526001600160a01b039091169063636450f59061077190859085906004016114fd565b600060405180830381600087803b15801561078b57600080fd5b505af115801561079f573d6000803e3d6000fd5b505050505050565b6011546001600160a01b0316331461080b5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b606482015260840161047f565b61081784848484610f0f565b50505050565b60006108276108f8565b90506001600160a01b0381161580159061084a5750336001600160a01b03821614155b1561086a5760405163700dd81160e01b815233600482015260240161047f565b601054604051634133c3b360e11b8152855160048201526020808701516024830152855160448301528086015160648301528451608483015284015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b1580156108da57600080fd5b505af11580156108ee573d6000803e3d6000fd5b5050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561095d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098191906114ba565b15610a0657600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156109dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a019190611544565b905090565b506002546001600160a01b031690565b610a1e610f5d565b506040805161010081018252600754600160a01b90046001600160601b031681526006546001600160a01b039081166020808401919091526009548385015283518085018552600a548152600b5481830152606084015283518085018552600c548152600d548183015260808401528351808501909452600e548452600f549084015260a082019290925260085460ff16151560c082015260055490911660e082015290565b6000610ace6108f8565b90506001600160a01b03811615801590610af15750336001600160a01b03821614155b15610b115760405163700dd81160e01b815233600482015260240161047f565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610b5757600080fd5b505af1158015610b6b573d6000803e3d6000fd5b5050505050565b610b7a610f5d565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610bc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be89190611544565b9050806001600160a01b03166355e343a9610c136001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161016060405180830381865afa158015610c58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7c9190611591565b91505090565b60105460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d5390610cbf9084908a908a908a908a90600401611633565b6020604051808303816000875af1158015610cde573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0291906114e0565b9695505050505050565b6000610d166108f8565b90506001600160a01b03811615801590610d395750336001600160a01b03821614155b15610d595760405163700dd81160e01b815233600482015260240161047f565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b3d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610e106001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610e586108f8565b6001600160a01b03168152602001826001018054610e7590611683565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea190611683565b8015610eee5780601f10610ec357610100808354040283529160200191610eee565b820191906000526020600020905b815481529060010190602001808311610ed157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a0820190815260006020820181905260409091015290565b600060208284031215610fdf57600080fd5b81356001600160e01b031981168114610ff757600080fd5b9392505050565b6000815180845260005b8181101561102457602081850181015186830182015201611008565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161108860a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526110ce610120840182610ffe565b905082810360208401526110e28185610ffe565b95945050505050565b6001600160601b038116811461110057600080fd5b50565b60006020828403121561111557600080fd5b8135610ff7816110eb565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff8111828210171561115957611159611120565b60405290565b604051610100810167ffffffffffffffff8111828210171561115957611159611120565b60006040828403121561119557600080fd5b61119d611136565b9050813581526020820135602082015292915050565b600080606083850312156111c657600080fd5b82356111d1816110eb565b91506111e08460208501611183565b90509250929050565b600082601f8301126111fa57600080fd5b813567ffffffffffffffff8082111561121557611215611120565b604051601f8301601f19908116603f0116810190828211818310171561123d5761123d611120565b8160405283815286602085880101111561125657600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806080858703121561128c57600080fd5b8435611297816110eb565b9350602085013567ffffffffffffffff808211156112b457600080fd5b6112c0888389016111e9565b945060408701359150808211156112d657600080fd5b506112e3878288016111e9565b949793965093946060013593505050565b600080600060c0848603121561130957600080fd5b6113138585611183565b92506113228560408601611183565b91506113318560808601611183565b90509250925092565b81516001600160601b031681526020808301516001600160a01b031690820152604080830151908201526060808301516101608301916113869084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b60008060008060a085870312156113f557600080fd5b6113ff8686611183565b93506040850135925060608501359150608085013567ffffffffffffffff81111561142957600080fd5b611435878288016111e9565b91505092959194509250565b6000806040838503121561145457600080fd5b823567ffffffffffffffff8082111561146c57600080fd5b611478868387016111e9565b9350602085013591508082111561148e57600080fd5b5061149b858286016111e9565b9150509250929050565b805180151581146114b557600080fd5b919050565b6000602082840312156114cc57600080fd5b610ff7826114a5565b80516114b5816110eb565b6000602082840312156114f257600080fd5b8151610ff7816110eb565b6001600160601b038316815260608101610ff7602083018480518252602090810151910152565b6001600160a01b038116811461110057600080fd5b80516114b581611524565b60006020828403121561155657600080fd5b8151610ff781611524565b60006040828403121561157357600080fd5b61157b611136565b9050815181526020820151602082015292915050565b600061016082840312156115a457600080fd5b6115ac61115f565b6115b5836114d5565b81526115c360208401611539565b6020820152604083015160408201526115df8460608501611561565b60608201526115f18460a08501611561565b60808201526116038460e08501611561565b60a082015261161561012084016114a5565b60c08201526116276101408401611539565b60e08201529392505050565b6001600160a01b0386168152611656602082018680518252602090810151910152565b83606082015282608082015260c060a0820152600061167860c0830184610ffe565b979650505050505050565b600181811c9082168061169757607f821691505b6020821081036116b757634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220c9413f9ec769522e91104b73e66ec507bcbd298a7f6156df5dcd32ea334c086664736f6c63430008140033",
837
- "linkReferences": {
838
- "contracts/types/NftId.sol": {
839
- "NftIdLib": [
840
- {
841
- "length": 20,
842
- "start": 3979
843
- },
844
- {
845
- "length": 20,
846
- "start": 4567
847
- },
848
- {
849
- "length": 20,
850
- "start": 5323
851
- }
852
- ]
853
- }
854
- },
855
- "deployedLinkReferences": {
856
- "contracts/types/NftId.sol": {
857
- "NftIdLib": [
858
- {
859
- "length": 20,
860
- "start": 995
861
- },
862
- {
863
- "length": 20,
864
- "start": 1583
865
- },
866
- {
867
- "length": 20,
868
- "start": 2339
869
- }
870
- ]
871
- }
872
- }
910
+ "bytecode": "0x",
911
+ "deployedBytecode": "0x",
912
+ "linkReferences": {},
913
+ "deployedLinkReferences": {}
873
914
  }