@etherisc/gif-next 0.0.2-fb8d07b-779 → 0.0.2-fbe22f0-239
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +136 -2
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +858 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +588 -92
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → components/IComponent.sol/IComponent.json} +208 -143
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +543 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +663 -31
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +648 -5
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +818 -273
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +657 -181
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +1 -1
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +1 -1
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +86 -2
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1371 -129
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +132 -21
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +293 -656
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +211 -144
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +89 -91
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +395 -122
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +149 -57
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +243 -55
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +2 -2
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +59 -16
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1091 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1292 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +560 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +272 -91
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +140 -40
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +217 -58
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +785 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +20 -20
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +771 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +22 -84
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +32 -247
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1352 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +616 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +256 -180
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +140 -52
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +981 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +548 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +208 -224
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +228 -95
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +222 -330
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +197 -109
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +162 -112
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +124 -29
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +24 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +5 -5
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +20 -20
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -2
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +130 -11
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +172 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +130 -6
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +126 -11
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +153 -20
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -2
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +126 -11
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +171 -38
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -8
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +2 -2
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/contracts/components/Component.sol +230 -0
- package/contracts/components/Distribution.sol +53 -57
- package/contracts/components/IComponent.sol +50 -0
- package/contracts/components/IDistributionComponent.sol +5 -2
- package/contracts/components/IPoolComponent.sol +54 -29
- package/contracts/components/IProductComponent.sol +7 -3
- package/contracts/components/Pool.sol +153 -142
- package/contracts/components/Product.sol +109 -128
- package/contracts/instance/BundleManager.sol +125 -0
- package/contracts/instance/Cloneable.sol +46 -0
- package/contracts/instance/IInstance.sol +41 -8
- package/contracts/instance/IInstanceService.sol +15 -4
- package/contracts/instance/Instance.sol +65 -240
- package/contracts/instance/InstanceAccessManager.sol +87 -78
- package/contracts/instance/InstanceReader.sol +12 -25
- package/contracts/instance/InstanceService.sol +347 -95
- package/contracts/instance/InstanceServiceManager.sol +10 -12
- package/contracts/instance/ObjectManager.sol +84 -0
- package/contracts/instance/base/ComponentService.sol +134 -0
- package/contracts/instance/module/IAccess.sol +27 -18
- package/contracts/instance/module/ISetup.sol +7 -4
- package/contracts/instance/service/ApplicationService.sol +268 -0
- package/contracts/instance/service/BundleService.sol +298 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/DistributionService.sol +45 -27
- package/contracts/instance/service/DistributionServiceManager.sol +10 -12
- package/contracts/instance/service/IApplicationService.sol +82 -0
- package/contracts/instance/service/IBundleService.sol +54 -0
- package/contracts/instance/service/IPolicyService.sol +88 -0
- package/contracts/instance/service/IPoolService.sol +6 -23
- package/contracts/instance/service/IProductService.sol +6 -73
- package/contracts/instance/service/PolicyService.sol +524 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +40 -124
- package/contracts/instance/service/PoolServiceManager.sol +10 -12
- package/contracts/instance/service/ProductService.sol +233 -0
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/ChainNft.sol +1 -1
- package/contracts/registry/IRegistry.sol +38 -33
- package/contracts/registry/IRegistryService.sol +45 -13
- package/contracts/registry/Registry.sol +223 -250
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +86 -224
- package/contracts/registry/RegistryServiceManager.sol +18 -36
- package/contracts/registry/ReleaseManager.sol +332 -0
- package/contracts/registry/TokenRegistry.sol +11 -9
- package/contracts/shared/ERC165.sol +12 -11
- package/contracts/shared/INftOwnable.sol +6 -1
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +4 -6
- package/contracts/shared/IService.sol +2 -1
- package/contracts/shared/IVersionable.sol +2 -2
- package/contracts/shared/NftOwnable.sol +93 -42
- package/contracts/shared/PolicyHolder.sol +52 -0
- package/contracts/shared/ProxyManager.sol +6 -5
- package/contracts/shared/Registerable.sol +15 -24
- package/contracts/shared/Service.sol +18 -13
- package/contracts/shared/Versionable.sol +3 -2
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestService.sol +4 -3
- package/contracts/types/NftIdSet.sol +26 -24
- package/contracts/types/ObjectType.sol +5 -1
- package/contracts/types/RoleId.sol +10 -9
- package/package.json +3 -3
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
- package/contracts/components/BaseComponent.sol +0 -91
- package/contracts/components/IBaseComponent.sol +0 -25
- package/contracts/instance/AccessManagedSimple.sol +0 -115
- package/contracts/instance/AccessManagerSimple.sol +0 -692
- package/contracts/instance/IAccessManagerSimple.sol +0 -391
- package/contracts/instance/base/ComponentServiceBase.sol +0 -125
- package/contracts/instance/base/IInstanceBase.sol +0 -23
- package/contracts/instance/service/ComponentOwnerService.sol +0 -317
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
- package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -30,6 +30,11 @@
|
|
30
30
|
"name": "ErrorContractNotRegistered",
|
31
31
|
"type": "error"
|
32
32
|
},
|
33
|
+
{
|
34
|
+
"inputs": [],
|
35
|
+
"name": "ErrorInitialOwnerZero",
|
36
|
+
"type": "error"
|
37
|
+
},
|
33
38
|
{
|
34
39
|
"inputs": [
|
35
40
|
{
|
@@ -132,6 +137,19 @@
|
|
132
137
|
"name": "LogVersionableInitialized",
|
133
138
|
"type": "event"
|
134
139
|
},
|
140
|
+
{
|
141
|
+
"inputs": [],
|
142
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
143
|
+
"outputs": [
|
144
|
+
{
|
145
|
+
"internalType": "bytes32",
|
146
|
+
"name": "",
|
147
|
+
"type": "bytes32"
|
148
|
+
}
|
149
|
+
],
|
150
|
+
"stateMutability": "view",
|
151
|
+
"type": "function"
|
152
|
+
},
|
135
153
|
{
|
136
154
|
"inputs": [],
|
137
155
|
"name": "REGISTERABLE_LOCATION_V1",
|
@@ -145,6 +163,19 @@
|
|
145
163
|
"stateMutability": "view",
|
146
164
|
"type": "function"
|
147
165
|
},
|
166
|
+
{
|
167
|
+
"inputs": [],
|
168
|
+
"name": "getDomain",
|
169
|
+
"outputs": [
|
170
|
+
{
|
171
|
+
"internalType": "ObjectType",
|
172
|
+
"name": "",
|
173
|
+
"type": "uint8"
|
174
|
+
}
|
175
|
+
],
|
176
|
+
"stateMutability": "pure",
|
177
|
+
"type": "function"
|
178
|
+
},
|
148
179
|
{
|
149
180
|
"inputs": [],
|
150
181
|
"name": "getInitialInfo",
|
@@ -188,13 +219,8 @@
|
|
188
219
|
}
|
189
220
|
],
|
190
221
|
"internalType": "struct IRegistry.ObjectInfo",
|
191
|
-
"name": "",
|
222
|
+
"name": "info",
|
192
223
|
"type": "tuple"
|
193
|
-
},
|
194
|
-
{
|
195
|
-
"internalType": "bytes",
|
196
|
-
"name": "data",
|
197
|
-
"type": "bytes"
|
198
224
|
}
|
199
225
|
],
|
200
226
|
"stateMutability": "view",
|
@@ -202,12 +228,12 @@
|
|
202
228
|
},
|
203
229
|
{
|
204
230
|
"inputs": [],
|
205
|
-
"name": "
|
231
|
+
"name": "getInitialOwner",
|
206
232
|
"outputs": [
|
207
233
|
{
|
208
|
-
"internalType": "
|
234
|
+
"internalType": "address",
|
209
235
|
"name": "",
|
210
|
-
"type": "
|
236
|
+
"type": "address"
|
211
237
|
}
|
212
238
|
],
|
213
239
|
"stateMutability": "view",
|
@@ -215,12 +241,12 @@
|
|
215
241
|
},
|
216
242
|
{
|
217
243
|
"inputs": [],
|
218
|
-
"name": "
|
244
|
+
"name": "getInitializedVersion",
|
219
245
|
"outputs": [
|
220
246
|
{
|
221
|
-
"internalType": "
|
222
|
-
"name": "
|
223
|
-
"type": "
|
247
|
+
"internalType": "uint64",
|
248
|
+
"name": "",
|
249
|
+
"type": "uint64"
|
224
250
|
}
|
225
251
|
],
|
226
252
|
"stateMutability": "view",
|
@@ -228,15 +254,15 @@
|
|
228
254
|
},
|
229
255
|
{
|
230
256
|
"inputs": [],
|
231
|
-
"name": "
|
257
|
+
"name": "getMajorVersion",
|
232
258
|
"outputs": [
|
233
259
|
{
|
234
|
-
"internalType": "
|
235
|
-
"name": "
|
236
|
-
"type": "
|
260
|
+
"internalType": "VersionPart",
|
261
|
+
"name": "majorVersion",
|
262
|
+
"type": "uint8"
|
237
263
|
}
|
238
264
|
],
|
239
|
-
"stateMutability": "
|
265
|
+
"stateMutability": "view",
|
240
266
|
"type": "function"
|
241
267
|
},
|
242
268
|
{
|
@@ -369,6 +395,100 @@
|
|
369
395
|
"stateMutability": "view",
|
370
396
|
"type": "function"
|
371
397
|
},
|
398
|
+
{
|
399
|
+
"inputs": [],
|
400
|
+
"name": "initializeERC165",
|
401
|
+
"outputs": [],
|
402
|
+
"stateMutability": "nonpayable",
|
403
|
+
"type": "function"
|
404
|
+
},
|
405
|
+
{
|
406
|
+
"inputs": [
|
407
|
+
{
|
408
|
+
"internalType": "address",
|
409
|
+
"name": "initialOwner",
|
410
|
+
"type": "address"
|
411
|
+
},
|
412
|
+
{
|
413
|
+
"internalType": "address",
|
414
|
+
"name": "registryAddress",
|
415
|
+
"type": "address"
|
416
|
+
}
|
417
|
+
],
|
418
|
+
"name": "initializeNftOwnable",
|
419
|
+
"outputs": [],
|
420
|
+
"stateMutability": "nonpayable",
|
421
|
+
"type": "function"
|
422
|
+
},
|
423
|
+
{
|
424
|
+
"inputs": [
|
425
|
+
{
|
426
|
+
"internalType": "address",
|
427
|
+
"name": "initialOwner",
|
428
|
+
"type": "address"
|
429
|
+
}
|
430
|
+
],
|
431
|
+
"name": "initializeOwner",
|
432
|
+
"outputs": [],
|
433
|
+
"stateMutability": "nonpayable",
|
434
|
+
"type": "function"
|
435
|
+
},
|
436
|
+
{
|
437
|
+
"inputs": [
|
438
|
+
{
|
439
|
+
"internalType": "address",
|
440
|
+
"name": "registryAddress",
|
441
|
+
"type": "address"
|
442
|
+
},
|
443
|
+
{
|
444
|
+
"internalType": "NftId",
|
445
|
+
"name": "parentNftId",
|
446
|
+
"type": "uint96"
|
447
|
+
},
|
448
|
+
{
|
449
|
+
"internalType": "ObjectType",
|
450
|
+
"name": "objectType",
|
451
|
+
"type": "uint8"
|
452
|
+
},
|
453
|
+
{
|
454
|
+
"internalType": "bool",
|
455
|
+
"name": "isInterceptor",
|
456
|
+
"type": "bool"
|
457
|
+
},
|
458
|
+
{
|
459
|
+
"internalType": "address",
|
460
|
+
"name": "initialOwner",
|
461
|
+
"type": "address"
|
462
|
+
},
|
463
|
+
{
|
464
|
+
"internalType": "bytes",
|
465
|
+
"name": "data",
|
466
|
+
"type": "bytes"
|
467
|
+
}
|
468
|
+
],
|
469
|
+
"name": "initializeRegisterable",
|
470
|
+
"outputs": [],
|
471
|
+
"stateMutability": "nonpayable",
|
472
|
+
"type": "function"
|
473
|
+
},
|
474
|
+
{
|
475
|
+
"inputs": [
|
476
|
+
{
|
477
|
+
"internalType": "address",
|
478
|
+
"name": "registry",
|
479
|
+
"type": "address"
|
480
|
+
},
|
481
|
+
{
|
482
|
+
"internalType": "address",
|
483
|
+
"name": "initialOwner",
|
484
|
+
"type": "address"
|
485
|
+
}
|
486
|
+
],
|
487
|
+
"name": "initializeService",
|
488
|
+
"outputs": [],
|
489
|
+
"stateMutability": "nonpayable",
|
490
|
+
"type": "function"
|
491
|
+
},
|
372
492
|
{
|
373
493
|
"inputs": [
|
374
494
|
{
|
@@ -387,7 +507,7 @@
|
|
387
507
|
"type": "bytes"
|
388
508
|
}
|
389
509
|
],
|
390
|
-
"name": "
|
510
|
+
"name": "initializeVersionable",
|
391
511
|
"outputs": [],
|
392
512
|
"stateMutability": "nonpayable",
|
393
513
|
"type": "function"
|
@@ -418,6 +538,19 @@
|
|
418
538
|
"stateMutability": "nonpayable",
|
419
539
|
"type": "function"
|
420
540
|
},
|
541
|
+
{
|
542
|
+
"inputs": [
|
543
|
+
{
|
544
|
+
"internalType": "bytes4",
|
545
|
+
"name": "interfaceId",
|
546
|
+
"type": "bytes4"
|
547
|
+
}
|
548
|
+
],
|
549
|
+
"name": "registerInterface",
|
550
|
+
"outputs": [],
|
551
|
+
"stateMutability": "nonpayable",
|
552
|
+
"type": "function"
|
553
|
+
},
|
421
554
|
{
|
422
555
|
"inputs": [
|
423
556
|
{
|
@@ -455,7 +588,7 @@
|
|
455
588
|
"type": "bytes"
|
456
589
|
}
|
457
590
|
],
|
458
|
-
"name": "
|
591
|
+
"name": "upgradeVersionable",
|
459
592
|
"outputs": [],
|
460
593
|
"stateMutability": "nonpayable",
|
461
594
|
"type": "function"
|
package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json
CHANGED
@@ -122,8 +122,8 @@
|
|
122
122
|
"type": "function"
|
123
123
|
}
|
124
124
|
],
|
125
|
-
"bytecode": "
|
126
|
-
"deployedBytecode": "
|
125
|
+
"bytecode": "0x60a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea26469706673582212203a14d0ccd5aa6a98fdea74c9c09e7975c82e76e3c9c954cdb391653caa14eafc64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103",
|
126
|
+
"deployedBytecode": "0x60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea26469706673582212203a14d0ccd5aa6a98fdea74c9c09e7975c82e76e3c9c954cdb391653caa14eafc64736f6c63430008140033",
|
127
127
|
"linkReferences": {},
|
128
128
|
"deployedLinkReferences": {}
|
129
129
|
}
|
@@ -173,7 +173,7 @@
|
|
173
173
|
"type": "bytes"
|
174
174
|
}
|
175
175
|
],
|
176
|
-
"name": "
|
176
|
+
"name": "initializeVersionable",
|
177
177
|
"outputs": [],
|
178
178
|
"stateMutability": "nonpayable",
|
179
179
|
"type": "function"
|
@@ -215,7 +215,7 @@
|
|
215
215
|
"type": "bytes"
|
216
216
|
}
|
217
217
|
],
|
218
|
-
"name": "
|
218
|
+
"name": "upgradeVersionable",
|
219
219
|
"outputs": [],
|
220
220
|
"stateMutability": "nonpayable",
|
221
221
|
"type": "function"
|
@@ -61,6 +61,11 @@
|
|
61
61
|
"name": "ErrorContractNotRegistered",
|
62
62
|
"type": "error"
|
63
63
|
},
|
64
|
+
{
|
65
|
+
"inputs": [],
|
66
|
+
"name": "ErrorInitialOwnerZero",
|
67
|
+
"type": "error"
|
68
|
+
},
|
64
69
|
{
|
65
70
|
"inputs": [
|
66
71
|
{
|
@@ -138,6 +143,19 @@
|
|
138
143
|
"name": "Initialized",
|
139
144
|
"type": "event"
|
140
145
|
},
|
146
|
+
{
|
147
|
+
"inputs": [],
|
148
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
149
|
+
"outputs": [
|
150
|
+
{
|
151
|
+
"internalType": "bytes32",
|
152
|
+
"name": "",
|
153
|
+
"type": "bytes32"
|
154
|
+
}
|
155
|
+
],
|
156
|
+
"stateMutability": "view",
|
157
|
+
"type": "function"
|
158
|
+
},
|
141
159
|
{
|
142
160
|
"inputs": [],
|
143
161
|
"name": "REGISTERABLE_LOCATION_V1",
|
@@ -194,13 +212,21 @@
|
|
194
212
|
}
|
195
213
|
],
|
196
214
|
"internalType": "struct IRegistry.ObjectInfo",
|
197
|
-
"name": "",
|
215
|
+
"name": "info",
|
198
216
|
"type": "tuple"
|
199
|
-
}
|
217
|
+
}
|
218
|
+
],
|
219
|
+
"stateMutability": "view",
|
220
|
+
"type": "function"
|
221
|
+
},
|
222
|
+
{
|
223
|
+
"inputs": [],
|
224
|
+
"name": "getInitialOwner",
|
225
|
+
"outputs": [
|
200
226
|
{
|
201
|
-
"internalType": "
|
202
|
-
"name": "
|
203
|
-
"type": "
|
227
|
+
"internalType": "address",
|
228
|
+
"name": "",
|
229
|
+
"type": "address"
|
204
230
|
}
|
205
231
|
],
|
206
232
|
"stateMutability": "view",
|
@@ -245,6 +271,82 @@
|
|
245
271
|
"stateMutability": "view",
|
246
272
|
"type": "function"
|
247
273
|
},
|
274
|
+
{
|
275
|
+
"inputs": [],
|
276
|
+
"name": "initializeERC165",
|
277
|
+
"outputs": [],
|
278
|
+
"stateMutability": "nonpayable",
|
279
|
+
"type": "function"
|
280
|
+
},
|
281
|
+
{
|
282
|
+
"inputs": [
|
283
|
+
{
|
284
|
+
"internalType": "address",
|
285
|
+
"name": "initialOwner",
|
286
|
+
"type": "address"
|
287
|
+
},
|
288
|
+
{
|
289
|
+
"internalType": "address",
|
290
|
+
"name": "registryAddress",
|
291
|
+
"type": "address"
|
292
|
+
}
|
293
|
+
],
|
294
|
+
"name": "initializeNftOwnable",
|
295
|
+
"outputs": [],
|
296
|
+
"stateMutability": "nonpayable",
|
297
|
+
"type": "function"
|
298
|
+
},
|
299
|
+
{
|
300
|
+
"inputs": [
|
301
|
+
{
|
302
|
+
"internalType": "address",
|
303
|
+
"name": "initialOwner",
|
304
|
+
"type": "address"
|
305
|
+
}
|
306
|
+
],
|
307
|
+
"name": "initializeOwner",
|
308
|
+
"outputs": [],
|
309
|
+
"stateMutability": "nonpayable",
|
310
|
+
"type": "function"
|
311
|
+
},
|
312
|
+
{
|
313
|
+
"inputs": [
|
314
|
+
{
|
315
|
+
"internalType": "address",
|
316
|
+
"name": "registryAddress",
|
317
|
+
"type": "address"
|
318
|
+
},
|
319
|
+
{
|
320
|
+
"internalType": "NftId",
|
321
|
+
"name": "parentNftId",
|
322
|
+
"type": "uint96"
|
323
|
+
},
|
324
|
+
{
|
325
|
+
"internalType": "ObjectType",
|
326
|
+
"name": "objectType",
|
327
|
+
"type": "uint8"
|
328
|
+
},
|
329
|
+
{
|
330
|
+
"internalType": "bool",
|
331
|
+
"name": "isInterceptor",
|
332
|
+
"type": "bool"
|
333
|
+
},
|
334
|
+
{
|
335
|
+
"internalType": "address",
|
336
|
+
"name": "initialOwner",
|
337
|
+
"type": "address"
|
338
|
+
},
|
339
|
+
{
|
340
|
+
"internalType": "bytes",
|
341
|
+
"name": "data",
|
342
|
+
"type": "bytes"
|
343
|
+
}
|
344
|
+
],
|
345
|
+
"name": "initializeRegisterable",
|
346
|
+
"outputs": [],
|
347
|
+
"stateMutability": "nonpayable",
|
348
|
+
"type": "function"
|
349
|
+
},
|
248
350
|
{
|
249
351
|
"inputs": [],
|
250
352
|
"name": "linkToRegisteredNftId",
|
@@ -252,6 +354,19 @@
|
|
252
354
|
"stateMutability": "nonpayable",
|
253
355
|
"type": "function"
|
254
356
|
},
|
357
|
+
{
|
358
|
+
"inputs": [
|
359
|
+
{
|
360
|
+
"internalType": "bytes4",
|
361
|
+
"name": "interfaceId",
|
362
|
+
"type": "bytes4"
|
363
|
+
}
|
364
|
+
],
|
365
|
+
"name": "registerInterface",
|
366
|
+
"outputs": [],
|
367
|
+
"stateMutability": "nonpayable",
|
368
|
+
"type": "function"
|
369
|
+
},
|
255
370
|
{
|
256
371
|
"inputs": [
|
257
372
|
{
|
@@ -272,18 +387,18 @@
|
|
272
387
|
"type": "function"
|
273
388
|
}
|
274
389
|
],
|
275
|
-
"bytecode": "0x60806040523480156200001157600080fd5b5060405162000dee38038062000dee83398101604081905262000034916200036d565b620000656301ffc9a760e01b600090815260205260008051602062000dce833981519152805460ff19166001179055565b600280546001600160a01b0319163317905560408051602081019091526000815262000096868686868686620000a2565b50505050505062000589565b620000d36301ffc9a760e01b600090815260205260008051602062000dce833981519152805460ff19166001179055565b620000df8287620001a4565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d0100000000000000000000000000861515021781559050600181016200015e838262000498565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b600280546001600160a01b0319166001600160a01b038416179055620001ca81620001ce565b5050565b6001546001600160a01b0316156200020d5760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024015b60405180910390fd5b6001600160a01b038116620002355760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036200026d5760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000204565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015620002ea575060408051601f3d908101601f19168201909252620002e79181019062000564565b60015b620003145760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000204565b80620001ca5760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000204565b80516001600160a01b03811681146200035757600080fd5b919050565b805180151581146200035757600080fd5b600080600080600060a086880312156200038657600080fd5b62000391866200033f565b60208701519095506001600160601b0381168114620003af57600080fd5b604087015190945060ff81168114620003c757600080fd5b9250620003d7606087016200035c565b9150620003e7608087016200033f565b90509295509295909350565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200041e57607f821691505b6020821081036200043f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200049357600081815260208120601f850160051c810160208610156200046e5750805b601f850160051c820191505b818110156200048f578281556001016200047a565b5050505b505050565b81516001600160401b03811115620004b457620004b4620003f3565b620004cc81620004c5845462000409565b8462000445565b602080601f831160018114620005045760008415620004eb5750858301515b600019600386901b1c1916600185901b1785556200048f565b600085815260208120601f198616915b82811015620005355788860151825594840194600190910190840162000514565b5085821015620005545787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200057757600080fd5b62000582826200035c565b9392505050565b61083580620005996000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80631eff4b221161005b5780631eff4b22146100e45780635ab1bd5314610119578063644c45e01461013e578063893d20e81461016957600080fd5b806301ffc9a7146100825780630fec111c146100c4578063138461e0146100da575b600080fd5b6100af610090366004610633565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6100cc610171565b6040516100bb9291906106aa565b6100e26102f3565b005b61010b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016100bb565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016100bb565b600154600160a01b90046001600160601b03166040516001600160601b0390911681526020016100bb565b610126610515565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806101f46001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161023c610515565b6001600160a01b0316815260200182600101805461025990610751565b80601f016020809104026020016040519081016040528092919081815260200182805461028590610751565b80156102d25780601f106102a7576101008083540402835291602001916102d2565b820191906000526020600020905b8154815290600101906020018083116102b557829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610355573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610379919061078b565b156103c0576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166103e95760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610432573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610456919061078b565b61047e576040516372657a5160e01b81526001600160a01b03821660048201526024016103b7565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156104c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ec91906107ad565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561057a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059e919061078b565b1561062357600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156105fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061e91906107d6565b905090565b506002546001600160a01b031690565b60006020828403121561064557600080fd5b81356001600160e01b03198116811461065d57600080fd5b9392505050565b6000815180845260005b8181101561068a5760208185018101518683018201520161066e565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516106ee60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152610734610120840182610664565b905082810360208401526107488185610664565b95945050505050565b600181811c9082168061076557607f821691505b60208210810361078557634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561079d57600080fd5b8151801515811461065d57600080fd5b6000602082840312156107bf57600080fd5b81516001600160601b038116811461065d57600080fd5b6000602082840312156107e857600080fd5b81516001600160a01b038116811461065d57600080fdfea26469706673582212202e5f9f37fa1db62eea3c191945c1a8383d00edb793b28430652dcffc1c7efe2a64736f6c6343000814003367be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5",
|
276
|
-
"deployedBytecode": "
|
390
|
+
"bytecode": "0x60806040523480156200001157600080fd5b50604051620017433803806200174383398101604081905262000034916200044b565b604080516020810190915260008152620000538686868686866200005f565b50505050505062000666565b6200006962000110565b62000075828762000161565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d010000000000000000000000000086151502178155905060018101620000f4838262000575565b50620001076303fb044760e21b620001a1565b50505050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff166200015f57604051631afcd79f60e31b815260040160405180910390fd5b565b6200016b62000110565b6200017682620001d0565b620001818162000243565b6200018b620003d5565b6200019d63a444b9bb60e01b620001a1565b5050565b620001ab62000110565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620001da62000110565b6001600160a01b03811662000202576040516352e2d0c160e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0392909216919091179055565b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160a01b031615620002a157805460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024015b60405180910390fd5b6001600160a01b038216620002c95760405163f5c4d07d60e01b815260040160405180910390fd5b816001600160a01b03163b600003620003015760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000298565b80546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156200037b575060408051601f3d908101601f19168201909252620003789181019062000641565b60015b620003a55760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000298565b80620003d05760405163fdeac91f60e01b81526001600160a01b038416600482015260240162000298565b505050565b620003df62000110565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b80516001600160a01b03811681146200043557600080fd5b919050565b805180151581146200043557600080fd5b600080600080600060a086880312156200046457600080fd5b6200046f866200041d565b60208701519095506001600160601b03811681146200048d57600080fd5b604087015190945060ff81168114620004a557600080fd5b9250620004b5606087016200043a565b9150620004c5608087016200041d565b90509295509295909350565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620004fc57607f821691505b6020821081036200051d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003d057600081815260208120601f850160051c810160208610156200054c5750805b601f850160051c820191505b818110156200056d5782815560010162000558565b505050505050565b81516001600160401b03811115620005915762000591620004d1565b620005a981620005a28454620004e7565b8462000523565b602080601f831160018114620005e15760008415620005c85750858301515b600019600386901b1c1916600185901b1785556200056d565b600085815260208120601f198616915b828110156200061257888601518255948401946001909101908401620005f1565b5085821015620006315787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200065457600080fd5b6200065f826200043a565b9392505050565b6110cd80620006766000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80635ab1bd531161008c5780638c5f36bb116100665780638c5f36bb14610225578063ada9652e14610238578063f7c34ee01461024d578063fb2cb1011461026057600080fd5b80635ab1bd53146101b3578063644c45e0146101e5578063893d20e81461021d57600080fd5b80631eff4b22116100c85780631eff4b2214610150578063214cdb801461018557806327bb7a331461019857806336fc697e146101ab57600080fd5b806301ffc9a7146100ef5780630fec111c14610131578063138461e014610146575b600080fd5b61011c6100fd366004610c24565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610139610268565b6040516101289190610c9b565b61014e610417565b005b6101777f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610128565b61014e610193366004610c24565b610645565b61014e6101a6366004610d77565b610672565b61014e61070e565b600080516020611078833981519152546001600160a01b03165b6040516001600160a01b039091168152602001610128565b60008051602061107883398151915254600160a01b90046001600160601b03166040516001600160601b039091168152602001610128565b6101cd610754565b61014e610233366004610e8a565b610885565b61017760008051602061107883398151915281565b61014e61025b366004610ea7565b6109ad565b6101cd6109e3565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061031390610ee0565b80601f016020809104026020016040519081016040528092919081815260200182805461033f90610ee0565b801561038c5780601f106103615761010080835404028352916020019161038c565b820191906000526020600020905b81548152906001019060200180831161036f57829003601f168201915b50505050508152505090506040518060e001604052806103aa600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016103fb6109e3565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061107883398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561048c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b09190610f1a565b156104f65780546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b80546001600160a01b031661051e5760405163cf29926160e01b815260040160405180910390fd5b805460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610566573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058a9190610f1a565b6105b2576040516372657a5160e01b81526001600160a01b03821660048201526024016104ed565b8154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156105fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061f9190610f37565b82546001600160601b0391909116600160a01b026001600160a01b039091161790915550565b61064d6109f9565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61067a6109f9565b61068482876109ad565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016106f48382610f9a565b506107056303fb044760e21b610645565b50505050505050565b6107166109f9565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008060008051602061107883398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ee9190610f1a565b15610873578054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610849573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086d919061105a565b91505090565b600101546001600160a01b0316919050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff166000811580156108cb5750825b905060008267ffffffffffffffff1660011480156108e85750303b155b9050811580156108f6575080155b156109145760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561093e57845460ff60401b1916600160401b1785555b61094786610a44565b61094f61070e565b61095f63a444b9bb60e01b610645565b83156109a557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6109b56109f9565b6109be82610a44565b6109c781610ab4565b6109cf61070e565b6109df63a444b9bb60e01b610645565b5050565b6000600080516020611078833981519152610873565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610a4257604051631afcd79f60e31b815260040160405180910390fd5b565b610a4c6109f9565b6001600160a01b038116610a73576040516352e2d0c160e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0392909216919091179055565b60008051602061107883398151915280546001600160a01b031615610afa57805460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016104ed565b6001600160a01b038216610b215760405163f5c4d07d60e01b815260040160405180910390fd5b816001600160a01b03163b600003610b575760405163fdeac91f60e01b81526001600160a01b03831660048201526024016104ed565b80546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610bce575060408051601f3d908101601f19168201909252610bcb91810190610f1a565b60015b610bf65760405163fdeac91f60e01b81526001600160a01b03831660048201526024016104ed565b80610c1f5760405163fdeac91f60e01b81526001600160a01b03841660048201526024016104ed565b505050565b600060208284031215610c3657600080fd5b81356001600160e01b031981168114610c4e57600080fd5b9392505050565b6000815180845260005b81811015610c7b57602081850181015186830182015201610c5f565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151610d0460c08401826001600160a01b03169052565b5060c083015160e080840152610d1e610100840182610c55565b949350505050565b6001600160a01b0381168114610d3b57600080fd5b50565b6001600160601b0381168114610d3b57600080fd5b8015158114610d3b57600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060008060008060c08789031215610d9057600080fd5b8635610d9b81610d26565b95506020870135610dab81610d3e565b9450604087013560ff81168114610dc157600080fd5b93506060870135610dd181610d53565b92506080870135610de181610d26565b915060a087013567ffffffffffffffff80821115610dfe57600080fd5b818901915089601f830112610e1257600080fd5b813581811115610e2457610e24610d61565b604051601f8201601f19908116603f01168101908382118183101715610e4c57610e4c610d61565b816040528281528c6020848701011115610e6557600080fd5b8260208601602083013760006020848301015280955050505050509295509295509295565b600060208284031215610e9c57600080fd5b8135610c4e81610d26565b60008060408385031215610eba57600080fd5b8235610ec581610d26565b91506020830135610ed581610d26565b809150509250929050565b600181811c90821680610ef457607f821691505b602082108103610f1457634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610f2c57600080fd5b8151610c4e81610d53565b600060208284031215610f4957600080fd5b8151610c4e81610d3e565b601f821115610c1f57600081815260208120601f850160051c81016020861015610f7b5750805b601f850160051c820191505b818110156109a557828155600101610f87565b815167ffffffffffffffff811115610fb457610fb4610d61565b610fc881610fc28454610ee0565b84610f54565b602080601f831160018114610ffd5760008415610fe55750858301515b600019600386901b1c1916600185901b1785556109a5565b600085815260208120601f198616915b8281101561102c5788860151825594840194600190910190840161100d565b508582101561104a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561106c57600080fd5b8151610c4e81610d2656fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220e796d58346343a8de9cfe65dcd0084adc66d09838ef517d8c9f57da4f419036c64736f6c63430008140033",
|
391
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80635ab1bd531161008c5780638c5f36bb116100665780638c5f36bb14610225578063ada9652e14610238578063f7c34ee01461024d578063fb2cb1011461026057600080fd5b80635ab1bd53146101b3578063644c45e0146101e5578063893d20e81461021d57600080fd5b80631eff4b22116100c85780631eff4b2214610150578063214cdb801461018557806327bb7a331461019857806336fc697e146101ab57600080fd5b806301ffc9a7146100ef5780630fec111c14610131578063138461e014610146575b600080fd5b61011c6100fd366004610c24565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610139610268565b6040516101289190610c9b565b61014e610417565b005b6101777f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610128565b61014e610193366004610c24565b610645565b61014e6101a6366004610d77565b610672565b61014e61070e565b600080516020611078833981519152546001600160a01b03165b6040516001600160a01b039091168152602001610128565b60008051602061107883398151915254600160a01b90046001600160601b03166040516001600160601b039091168152602001610128565b6101cd610754565b61014e610233366004610e8a565b610885565b61017760008051602061107883398151915281565b61014e61025b366004610ea7565b6109ad565b6101cd6109e3565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b9091041615159181019190915260018201805491929160608401919061031390610ee0565b80601f016020809104026020016040519081016040528092919081815260200182805461033f90610ee0565b801561038c5780601f106103615761010080835404028352916020019161038c565b820191906000526020600020905b81548152906001019060200180831161036f57829003601f168201915b50505050508152505090506040518060e001604052806103aa600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016103fb6109e3565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061107883398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561048c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b09190610f1a565b156104f65780546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b80546001600160a01b031661051e5760405163cf29926160e01b815260040160405180910390fd5b805460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610566573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058a9190610f1a565b6105b2576040516372657a5160e01b81526001600160a01b03821660048201526024016104ed565b8154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156105fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061f9190610f37565b82546001600160601b0391909116600160a01b026001600160a01b039091161790915550565b61064d6109f9565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61067a6109f9565b61068482876109ad565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016106f48382610f9a565b506107056303fb044760e21b610645565b50505050505050565b6107166109f9565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008060008051602061107883398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ee9190610f1a565b15610873578054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610849573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086d919061105a565b91505090565b600101546001600160a01b0316919050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff166000811580156108cb5750825b905060008267ffffffffffffffff1660011480156108e85750303b155b9050811580156108f6575080155b156109145760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561093e57845460ff60401b1916600160401b1785555b61094786610a44565b61094f61070e565b61095f63a444b9bb60e01b610645565b83156109a557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b6109b56109f9565b6109be82610a44565b6109c781610ab4565b6109cf61070e565b6109df63a444b9bb60e01b610645565b5050565b6000600080516020611078833981519152610873565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610a4257604051631afcd79f60e31b815260040160405180910390fd5b565b610a4c6109f9565b6001600160a01b038116610a73576040516352e2d0c160e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0392909216919091179055565b60008051602061107883398151915280546001600160a01b031615610afa57805460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016104ed565b6001600160a01b038216610b215760405163f5c4d07d60e01b815260040160405180910390fd5b816001600160a01b03163b600003610b575760405163fdeac91f60e01b81526001600160a01b03831660048201526024016104ed565b80546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610bce575060408051601f3d908101601f19168201909252610bcb91810190610f1a565b60015b610bf65760405163fdeac91f60e01b81526001600160a01b03831660048201526024016104ed565b80610c1f5760405163fdeac91f60e01b81526001600160a01b03841660048201526024016104ed565b505050565b600060208284031215610c3657600080fd5b81356001600160e01b031981168114610c4e57600080fd5b9392505050565b6000815180845260005b81811015610c7b57602081850181015186830182015201610c5f565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151610d0460c08401826001600160a01b03169052565b5060c083015160e080840152610d1e610100840182610c55565b949350505050565b6001600160a01b0381168114610d3b57600080fd5b50565b6001600160601b0381168114610d3b57600080fd5b8015158114610d3b57600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060008060008060c08789031215610d9057600080fd5b8635610d9b81610d26565b95506020870135610dab81610d3e565b9450604087013560ff81168114610dc157600080fd5b93506060870135610dd181610d53565b92506080870135610de181610d26565b915060a087013567ffffffffffffffff80821115610dfe57600080fd5b818901915089601f830112610e1257600080fd5b813581811115610e2457610e24610d61565b604051601f8201601f19908116603f01168101908382118183101715610e4c57610e4c610d61565b816040528281528c6020848701011115610e6557600080fd5b8260208601602083013760006020848301015280955050505050509295509295509295565b600060208284031215610e9c57600080fd5b8135610c4e81610d26565b60008060408385031215610eba57600080fd5b8235610ec581610d26565b91506020830135610ed581610d26565b809150509250929050565b600181811c90821680610ef457607f821691505b602082108103610f1457634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610f2c57600080fd5b8151610c4e81610d53565b600060208284031215610f4957600080fd5b8151610c4e81610d3e565b601f821115610c1f57600081815260208120601f850160051c81016020861015610f7b5750805b601f850160051c820191505b818110156109a557828155600101610f87565b815167ffffffffffffffff811115610fb457610fb4610d61565b610fc881610fc28454610ee0565b84610f54565b602080601f831160018114610ffd5760008415610fe55750858301515b600019600386901b1c1916600185901b1785556109a5565b600085815260208120601f198616915b8281101561102c5788860151825594840194600190910190840161100d565b508582101561104a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561106c57600080fd5b8151610c4e81610d2656fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00a2646970667358221220e796d58346343a8de9cfe65dcd0084adc66d09838ef517d8c9f57da4f419036c64736f6c63430008140033",
|
277
392
|
"linkReferences": {
|
278
393
|
"contracts/types/NftId.sol": {
|
279
394
|
"NftIdLib": [
|
280
395
|
{
|
281
396
|
"length": 20,
|
282
|
-
"start":
|
397
|
+
"start": 2760
|
283
398
|
},
|
284
399
|
{
|
285
400
|
"length": 20,
|
286
|
-
"start":
|
401
|
+
"start": 3590
|
287
402
|
}
|
288
403
|
]
|
289
404
|
}
|
@@ -293,11 +408,11 @@
|
|
293
408
|
"NftIdLib": [
|
294
409
|
{
|
295
410
|
"length": 20,
|
296
|
-
"start":
|
411
|
+
"start": 1106
|
297
412
|
},
|
298
413
|
{
|
299
414
|
"length": 20,
|
300
|
-
"start":
|
415
|
+
"start": 1936
|
301
416
|
}
|
302
417
|
]
|
303
418
|
}
|
@@ -75,8 +75,8 @@
|
|
75
75
|
"type": "function"
|
76
76
|
}
|
77
77
|
],
|
78
|
-
"bytecode": "0x608060405234801561001057600080fd5b5061032e806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80631fa8a7301461005c5780635312fdc214610082578063775a404814610095578063b844f20e1461009d578063c4ce6e5b146100b2575b600080fd5b6100646100ba565b60405167ffffffffffffffff90911681526020015b60405180910390f35b610064610090366004610260565b6100c9565b610064610146565b6100a5610150565b6040516100799190610279565b6100a561017f565b60006100c46101ab565b905090565b6040516368aebf7b60e01b81526004810182905260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801561011c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014091906102c7565b92915050565b60006100c4610224565b60606100c460408051808201909152601081526f50726f647563744f776e6572526f6c6560801b602082015290565b60606100c460408051808201909152600d81526c506f6f6c4f776e6572526f6c6560981b602082015290565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015610200573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100c491906102c7565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$
|
79
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c80631fa8a7301461005c5780635312fdc214610082578063775a404814610095578063b844f20e1461009d578063c4ce6e5b146100b2575b600080fd5b6100646100ba565b60405167ffffffffffffffff90911681526020015b60405180910390f35b610064610090366004610260565b6100c9565b610064610146565b6100a5610150565b6040516100799190610279565b6100a561017f565b60006100c46101ab565b905090565b6040516368aebf7b60e01b81526004810182905260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801561011c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014091906102c7565b92915050565b60006100c4610224565b60606100c460408051808201909152601081526f50726f647563744f776e6572526f6c6560801b602082015290565b60606100c460408051808201909152600d81526c506f6f6c4f776e6572526f6c6560981b602082015290565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015610200573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100c491906102c7565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$
|
78
|
+
"bytecode": "0x608060405234801561001057600080fd5b5061032e806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80631fa8a7301461005c5780635312fdc214610082578063775a404814610095578063b844f20e1461009d578063c4ce6e5b146100b2575b600080fd5b6100646100ba565b60405167ffffffffffffffff90911681526020015b60405180910390f35b610064610090366004610260565b6100c9565b610064610146565b6100a5610150565b6040516100799190610279565b6100a561017f565b60006100c46101ab565b905090565b6040516368aebf7b60e01b81526004810182905260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801561011c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014091906102c7565b92915050565b60006100c4610224565b60606100c460408051808201909152601081526f50726f647563744f776e6572526f6c6560801b602082015290565b60606100c460408051808201909152600d81526c506f6f6c4f776e6572526f6c6560981b602082015290565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015610200573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100c491906102c7565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016101e3565b60006020828403121561027257600080fd5b5035919050565b600060208083528351808285015260005b818110156102a65785810183015185820160400152820161028a565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156102d957600080fd5b815167ffffffffffffffff811681146102f157600080fd5b939250505056fea2646970667358221220e7bd5463ab28f442b95b42b48309bcedcbdec489b9a5140eef138234436137d764736f6c63430008140033",
|
79
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c80631fa8a7301461005c5780635312fdc214610082578063775a404814610095578063b844f20e1461009d578063c4ce6e5b146100b2575b600080fd5b6100646100ba565b60405167ffffffffffffffff90911681526020015b60405180910390f35b610064610090366004610260565b6100c9565b610064610146565b6100a5610150565b6040516100799190610279565b6100a561017f565b60006100c46101ab565b905090565b6040516368aebf7b60e01b81526004810182905260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801561011c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061014091906102c7565b92915050565b60006100c4610224565b60606100c460408051808201909152601081526f50726f647563744f776e6572526f6c6560801b602082015290565b60606100c460408051808201909152600d81526c506f6f6c4f776e6572526f6c6560981b602082015290565b6040516368aebf7b60e01b815261012c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015610200573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100c491906102c7565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016101e3565b60006020828403121561027257600080fd5b5035919050565b600060208083528351808285015260005b818110156102a65785810183015185820160400152820161028a565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156102d957600080fd5b815167ffffffffffffffff811681146102f157600080fd5b939250505056fea2646970667358221220e7bd5463ab28f442b95b42b48309bcedcbdec489b9a5140eef138234436137d764736f6c63430008140033",
|
80
80
|
"linkReferences": {
|
81
81
|
"contracts/types/RoleId.sol": {
|
82
82
|
"RoleIdLib": [
|