@etherisc/gif-next 0.0.2-e59218b-293 → 0.0.2-e5a2253-213
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +63 -1
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +166 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +153 -85
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +128 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +28 -2
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +5 -5
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +185 -114
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +160 -98
- 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/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/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +788 -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 +138 -2
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +448 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +104 -14
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +107 -660
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +244 -114
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +763 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +38 -28
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +183 -151
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +26 -74
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +285 -0
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +114 -32
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -13
- 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/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- 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/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1121 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +436 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +141 -66
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +14 -34
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IBundleService.sol/IBundleService.json} +295 -41
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +13 -13
- 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 +15 -164
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +17 -241
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1246 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +492 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +140 -241
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +14 -38
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +129 -401
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +14 -78
- 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 +132 -133
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +94 -65
- 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 +145 -227
- 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 +30 -128
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +38 -104
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +530 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +14 -27
- 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/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +13 -13
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +2 -2
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +2 -2
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +13 -13
- 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/Versionable.sol/Versionable.dbg.json +1 -1
- 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 +2 -2
- 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 +31 -31
- 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/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/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- 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/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- 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/BaseComponent.sol +91 -14
- package/contracts/components/Distribution.sol +2 -11
- package/contracts/components/IBaseComponent.sol +11 -1
- package/contracts/components/IPoolComponent.sol +5 -1
- package/contracts/components/IProductComponent.sol +2 -2
- package/contracts/components/Pool.sol +38 -26
- package/contracts/components/Product.sol +28 -21
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +23 -0
- package/contracts/instance/BundleManager.sol +129 -0
- package/contracts/instance/Cloneable.sol +46 -0
- package/contracts/instance/IInstance.sol +9 -3
- package/contracts/instance/IInstanceBase.sol +25 -0
- package/contracts/instance/IInstanceService.sol +13 -3
- package/contracts/instance/Instance.sol +43 -224
- package/contracts/instance/InstanceAccessManager.sol +93 -78
- package/contracts/instance/InstanceBase.sol +39 -0
- package/contracts/instance/InstanceService.sol +247 -100
- package/contracts/instance/InstanceServiceManager.sol +5 -8
- package/contracts/instance/ObjectManager.sol +101 -0
- package/contracts/instance/base/ComponentServiceBase.sol +85 -81
- package/contracts/instance/base/IInstanceBase.sol +0 -2
- package/contracts/instance/module/IAccess.sol +27 -17
- package/contracts/instance/module/ISetup.sol +2 -1
- package/contracts/instance/service/BundleService.sol +294 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/DistributionService.sol +48 -21
- package/contracts/instance/service/DistributionServiceManager.sol +6 -9
- package/contracts/instance/service/IBundleService.sol +44 -0
- package/contracts/instance/service/IPolicyService.sol +94 -0
- package/contracts/instance/service/IPoolService.sol +4 -25
- package/contracts/instance/service/IProductService.sol +2 -72
- package/contracts/instance/service/PolicyService.sol +539 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +65 -124
- package/contracts/instance/service/PoolServiceManager.sol +5 -8
- package/contracts/instance/service/ProductService.sol +96 -454
- package/contracts/registry/ChainNft.sol +1 -1
- package/contracts/registry/IRegistry.sol +26 -16
- package/contracts/registry/IRegistryService.sol +13 -5
- package/contracts/registry/Registry.sol +149 -201
- package/contracts/registry/RegistryAccessManager.sol +210 -0
- package/contracts/registry/RegistryService.sol +50 -88
- package/contracts/registry/RegistryServiceManager.sol +18 -36
- package/contracts/registry/ReleaseManager.sol +342 -0
- package/contracts/registry/TokenRegistry.sol +5 -6
- package/contracts/shared/IRegisterable.sol +0 -2
- package/contracts/shared/IService.sol +2 -1
- package/contracts/shared/ProxyManager.sol +1 -1
- package/contracts/shared/Service.sol +10 -7
- package/contracts/test/TestService.sol +3 -2
- package/contracts/types/NftIdSet.sol +26 -24
- package/contracts/types/RoleId.sol +10 -10
- package/package.json +1 -1
- 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/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/contracts/instance/AccessManagedSimple.sol +0 -115
- package/contracts/instance/AccessManagerSimple.sol +0 -692
- package/contracts/instance/IAccessManagerSimple.sol +0 -391
- package/contracts/instance/service/ComponentOwnerService.sol +0 -317
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
@@ -7,91 +7,102 @@
|
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
9
|
"internalType": "address",
|
10
|
-
"name": "
|
10
|
+
"name": "target",
|
11
11
|
"type": "address"
|
12
|
-
}
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "AddressEmptyCode",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
13
19
|
{
|
14
|
-
"internalType": "
|
15
|
-
"name": "
|
16
|
-
"type": "
|
17
|
-
}
|
20
|
+
"internalType": "address",
|
21
|
+
"name": "account",
|
22
|
+
"type": "address"
|
23
|
+
}
|
24
|
+
],
|
25
|
+
"name": "AddressInsufficientBalance",
|
26
|
+
"type": "error"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"inputs": [
|
18
30
|
{
|
19
31
|
"internalType": "address",
|
20
|
-
"name": "
|
32
|
+
"name": "registry",
|
21
33
|
"type": "address"
|
22
34
|
},
|
23
35
|
{
|
24
|
-
"internalType": "
|
25
|
-
"name": "
|
26
|
-
"type": "
|
27
|
-
}
|
36
|
+
"internalType": "NftId",
|
37
|
+
"name": "nftId",
|
38
|
+
"type": "uint96"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"name": "ErrorAlreadyLinked",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
28
46
|
{
|
29
47
|
"internalType": "address",
|
30
|
-
"name": "
|
48
|
+
"name": "caller",
|
31
49
|
"type": "address"
|
32
|
-
}
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "ErrorBaseComponentNotProductService",
|
53
|
+
"type": "error"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"inputs": [
|
33
57
|
{
|
34
58
|
"internalType": "address",
|
35
|
-
"name": "
|
59
|
+
"name": "caller",
|
36
60
|
"type": "address"
|
37
61
|
},
|
38
62
|
{
|
39
|
-
"
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
}
|
50
|
-
],
|
51
|
-
"internalType": "struct Fee",
|
52
|
-
"name": "productFee",
|
53
|
-
"type": "tuple"
|
54
|
-
},
|
55
|
-
{
|
56
|
-
"components": [
|
57
|
-
{
|
58
|
-
"internalType": "UFixed",
|
59
|
-
"name": "fractionalFee",
|
60
|
-
"type": "uint256"
|
61
|
-
},
|
62
|
-
{
|
63
|
-
"internalType": "uint256",
|
64
|
-
"name": "fixedFee",
|
65
|
-
"type": "uint256"
|
66
|
-
}
|
67
|
-
],
|
68
|
-
"internalType": "struct Fee",
|
69
|
-
"name": "processingFee",
|
70
|
-
"type": "tuple"
|
71
|
-
},
|
63
|
+
"internalType": "uint64",
|
64
|
+
"name": "requiredRoleIdNum",
|
65
|
+
"type": "uint64"
|
66
|
+
}
|
67
|
+
],
|
68
|
+
"name": "ErrorBaseComponentUnauthorized",
|
69
|
+
"type": "error"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"inputs": [
|
72
73
|
{
|
73
74
|
"internalType": "address",
|
74
|
-
"name": "
|
75
|
+
"name": "newWallet",
|
75
76
|
"type": "address"
|
76
77
|
}
|
77
78
|
],
|
78
|
-
"
|
79
|
-
"type": "
|
79
|
+
"name": "ErrorBaseComponentWalletAddressIsSameAsCurrent",
|
80
|
+
"type": "error"
|
80
81
|
},
|
81
82
|
{
|
82
83
|
"inputs": [
|
83
84
|
{
|
84
85
|
"internalType": "address",
|
85
|
-
"name": "
|
86
|
+
"name": "oldWallet",
|
86
87
|
"type": "address"
|
87
88
|
},
|
88
89
|
{
|
89
|
-
"internalType": "
|
90
|
-
"name": "
|
91
|
-
"type": "
|
90
|
+
"internalType": "address",
|
91
|
+
"name": "newWallet",
|
92
|
+
"type": "address"
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"internalType": "uint256",
|
96
|
+
"name": "allowance",
|
97
|
+
"type": "uint256"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"internalType": "uint256",
|
101
|
+
"name": "balance",
|
102
|
+
"type": "uint256"
|
92
103
|
}
|
93
104
|
],
|
94
|
-
"name": "
|
105
|
+
"name": "ErrorBaseComponentWalletAllowanceTooSmall",
|
95
106
|
"type": "error"
|
96
107
|
},
|
97
108
|
{
|
@@ -159,6 +170,11 @@
|
|
159
170
|
"name": "ErrorRegistryNotInitialized",
|
160
171
|
"type": "error"
|
161
172
|
},
|
173
|
+
{
|
174
|
+
"inputs": [],
|
175
|
+
"name": "FailedInnerCall",
|
176
|
+
"type": "error"
|
177
|
+
},
|
162
178
|
{
|
163
179
|
"inputs": [],
|
164
180
|
"name": "InvalidInitialization",
|
@@ -169,6 +185,17 @@
|
|
169
185
|
"name": "NotInitializing",
|
170
186
|
"type": "error"
|
171
187
|
},
|
188
|
+
{
|
189
|
+
"inputs": [
|
190
|
+
{
|
191
|
+
"internalType": "address",
|
192
|
+
"name": "token",
|
193
|
+
"type": "address"
|
194
|
+
}
|
195
|
+
],
|
196
|
+
"name": "SafeERC20FailedOperation",
|
197
|
+
"type": "error"
|
198
|
+
},
|
172
199
|
{
|
173
200
|
"anonymous": false,
|
174
201
|
"inputs": [
|
@@ -182,6 +209,44 @@
|
|
182
209
|
"name": "Initialized",
|
183
210
|
"type": "event"
|
184
211
|
},
|
212
|
+
{
|
213
|
+
"anonymous": false,
|
214
|
+
"inputs": [
|
215
|
+
{
|
216
|
+
"indexed": false,
|
217
|
+
"internalType": "address",
|
218
|
+
"name": "newWallet",
|
219
|
+
"type": "address"
|
220
|
+
}
|
221
|
+
],
|
222
|
+
"name": "LogBaseComponentWalletAddressChanged",
|
223
|
+
"type": "event"
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"anonymous": false,
|
227
|
+
"inputs": [
|
228
|
+
{
|
229
|
+
"indexed": false,
|
230
|
+
"internalType": "address",
|
231
|
+
"name": "from",
|
232
|
+
"type": "address"
|
233
|
+
},
|
234
|
+
{
|
235
|
+
"indexed": false,
|
236
|
+
"internalType": "address",
|
237
|
+
"name": "to",
|
238
|
+
"type": "address"
|
239
|
+
},
|
240
|
+
{
|
241
|
+
"indexed": false,
|
242
|
+
"internalType": "uint256",
|
243
|
+
"name": "amount",
|
244
|
+
"type": "uint256"
|
245
|
+
}
|
246
|
+
],
|
247
|
+
"name": "LogBaseComponentWalletTokensTransferred",
|
248
|
+
"type": "event"
|
249
|
+
},
|
185
250
|
{
|
186
251
|
"inputs": [],
|
187
252
|
"name": "REGISTERABLE_LOCATION_V1",
|
@@ -251,15 +316,15 @@
|
|
251
316
|
"name": "applicationData",
|
252
317
|
"type": "bytes"
|
253
318
|
},
|
254
|
-
{
|
255
|
-
"internalType": "ReferralId",
|
256
|
-
"name": "referralId",
|
257
|
-
"type": "bytes8"
|
258
|
-
},
|
259
319
|
{
|
260
320
|
"internalType": "NftId",
|
261
321
|
"name": "bundleNftId",
|
262
322
|
"type": "uint96"
|
323
|
+
},
|
324
|
+
{
|
325
|
+
"internalType": "ReferralId",
|
326
|
+
"name": "referralId",
|
327
|
+
"type": "bytes8"
|
263
328
|
}
|
264
329
|
],
|
265
330
|
"name": "calculatePremium",
|
@@ -354,6 +419,19 @@
|
|
354
419
|
"stateMutability": "view",
|
355
420
|
"type": "function"
|
356
421
|
},
|
422
|
+
{
|
423
|
+
"inputs": [],
|
424
|
+
"name": "getName",
|
425
|
+
"outputs": [
|
426
|
+
{
|
427
|
+
"internalType": "string",
|
428
|
+
"name": "name",
|
429
|
+
"type": "string"
|
430
|
+
}
|
431
|
+
],
|
432
|
+
"stateMutability": "pure",
|
433
|
+
"type": "function"
|
434
|
+
},
|
357
435
|
{
|
358
436
|
"inputs": [],
|
359
437
|
"name": "getNftId",
|
@@ -547,6 +625,11 @@
|
|
547
625
|
"name": "performanceFee",
|
548
626
|
"type": "tuple"
|
549
627
|
},
|
628
|
+
{
|
629
|
+
"internalType": "bool",
|
630
|
+
"name": "isIntercepting",
|
631
|
+
"type": "bool"
|
632
|
+
},
|
550
633
|
{
|
551
634
|
"internalType": "address",
|
552
635
|
"name": "wallet",
|
@@ -656,6 +739,19 @@
|
|
656
739
|
"stateMutability": "nonpayable",
|
657
740
|
"type": "function"
|
658
741
|
},
|
742
|
+
{
|
743
|
+
"inputs": [
|
744
|
+
{
|
745
|
+
"internalType": "address",
|
746
|
+
"name": "newWallet",
|
747
|
+
"type": "address"
|
748
|
+
}
|
749
|
+
],
|
750
|
+
"name": "setWallet",
|
751
|
+
"outputs": [],
|
752
|
+
"stateMutability": "nonpayable",
|
753
|
+
"type": "function"
|
754
|
+
},
|
659
755
|
{
|
660
756
|
"inputs": [
|
661
757
|
{
|
@@ -683,42 +779,8 @@
|
|
683
779
|
"type": "function"
|
684
780
|
}
|
685
781
|
],
|
686
|
-
"bytecode": "0x60806040523480156200001157600080fd5b5060405162002cc738038062002cc78339810160408190526200003491620009a8565b888888606e89856200006c6301ffc9a760e01b600090815260205260008051602062002ca7833981519152805460ff19166001179055565b600280546001600160a01b031916331790556040805160208101909152600081526200009d8787868686866200058f565b6000620000b26001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000102573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200012c919081019062000b12565b6080810151600780546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b815263063dfd6360e41b6004820152919250906301ffc9a790602401602060405180830381865afa15801562000194573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ba919062000bf8565b620001e65760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200023a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000260919062000c1d565b600380546001600160a01b03199081166001600160a01b0393841617909155600580543090831617905560068054909116918816919091179055634c0cba3d60e11b60009081526020527f8605f84a1fdbc6ff75d8a06315d161884729b429561b502d19c5a33135142c3a805460ff191660011790555050505050505050600760009054906101000a90046001600160a01b03166001600160a01b0316634288121d6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000332573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000358919062000c1d565b600880546001600160a01b03199081166001600160a01b0393841617909155600980548216888416179055600a80549091169186169190911790558251600b55602080840151600c558251600d55820151600e556040518790620003bc9062000883565b6001600160a01b039091168152602001604051809103906000f080158015620003e9573d6000803e3d6000fd5b50600f80546001600160a01b0319166001600160a01b0392831617905560015416600954604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa15801562000454573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200047a919062000c3d565b600f80546001600160601b0392909216600160a01b026001600160a01b03909216919091179055620004b46001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa158015620004fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000524919062000c3d565b601080546001600160601b0319166001600160601b0392909216919091179055633ad74e8160e01b60009081526020527f6d6f21c9f977ce279ee1b58c3ce3ac0b612bbc5256f6c821ab515558c7e6a0a8805460ff1916600117905550505050505050505062000db6565b620005c06301ffc9a760e01b600090815260205260008051602062002ca7833981519152805460ff19166001179055565b620005cc828762000691565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d0100000000000000000000000000861515021781559050600181016200064b838262000cea565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b6001600160a01b038216620006e95760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401620001dd565b600280546001600160a01b0319166001600160a01b0384161790556200070f8162000713565b5050565b6001546001600160a01b0316156200074e5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001dd565b6001600160a01b038116620007765760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620007ae5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001dd565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156200082b575060408051601f3d908101601f19168201909252620008289181019062000bf8565b60015b620008555760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001dd565b806200070f5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001dd565b50565b6103fd80620028aa83390190565b6001600160a01b03811681146200088057600080fd5b8051620008b48162000891565b919050565b80516001600160601b0381168114620008b457600080fd5b80518015158114620008b457600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156200091d576200091d620008e2565b60405290565b604051601f8201601f191681016001600160401b03811182821017156200094e576200094e620008e2565b604052919050565b6000604082840312156200096957600080fd5b604080519081016001600160401b03811182821017156200098e576200098e620008e2565b604052825181526020928301519281019290925250919050565b60008060008060008060008060006101608a8c031215620009c857600080fd5b8951620009d58162000891565b9850620009e560208b01620008b9565b975060408a0151620009f78162000891565b965062000a0760608b01620008d1565b955060808a015162000a198162000891565b60a08b015190955062000a2c8162000891565b935062000a3d8b60c08c0162000956565b925062000a4f8b6101008c0162000956565b91506101408a015162000a628162000891565b809150509295985092959850929598565b805160ff81168114620008b457600080fd5b600082601f83011262000a9757600080fd5b81516001600160401b0381111562000ab35762000ab3620008e2565b602062000ac9601f8301601f1916820162000923565b828152858284870101111562000ade57600080fd5b60005b8381101562000afe57858101830151828201840152820162000ae1565b506000928101909101919091529392505050565b60006020828403121562000b2557600080fd5b81516001600160401b038082111562000b3d57600080fd5b9083019060e0828603121562000b5257600080fd5b62000b5c620008f8565b62000b6783620008b9565b815262000b7760208401620008b9565b602082015262000b8a6040840162000a73565b604082015262000b9d60608401620008d1565b606082015262000bb060808401620008a7565b608082015262000bc360a08401620008a7565b60a082015260c08301518281111562000bdb57600080fd5b62000be98782860162000a85565b60c08301525095945050505050565b60006020828403121562000c0b57600080fd5b62000c1682620008d1565b9392505050565b60006020828403121562000c3057600080fd5b815162000c168162000891565b60006020828403121562000c5057600080fd5b62000c1682620008b9565b600181811c9082168062000c7057607f821691505b60208210810362000c9157634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000ce557600081815260208120601f850160051c8101602086101562000cc05750805b601f850160051c820191505b8181101562000ce15782815560010162000ccc565b5050505b505050565b81516001600160401b0381111562000d065762000d06620008e2565b62000d1e8162000d17845462000c5b565b8462000c97565b602080601f83116001811462000d56576000841562000d3d5750858301515b600019600386901b1c1916600185901b17855562000ce1565b600085815260208120601f198616915b8281101562000d875788860151825594840194600190910190840162000d66565b508582101562000da65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611ae48062000dc66000396000f3fe608060405234801561001057600080fd5b506004361061012b5760003560e01c80635ab1bd53116100ad578063b6b412ba11610071578063b6b412ba146102a3578063c200b809146102b6578063db6dcc95146102cb578063de7b5d14146102d3578063f83d08ba146102e457600080fd5b80635ab1bd53146102575780635e78426b14610268578063644c45e01461027b578063893d20e814610293578063a69df4b51461029b57600080fd5b8063138461e0116100f4578063138461e0146101fa5780631bdd6b76146102045780631eff4b221461020c57806321df0da7146102335780632a65c6881461024457600080fd5b806251884a1461013057806301ffc9a7146101615780630fec111c1461019e57806312abb9b3146101b457806313299604146101d5575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b61018e61016f36600461102b565b6001600160e01b03191660009081526020819052604090205460ff1690565b6040519015158152602001610158565b6101a66102ec565b6040516101589291906110ac565b6101c76101c23660046112d1565b610548565b604051908152602001610158565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610158565b6102026105d4565b005b6101446107f6565b6101c77f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6006546001600160a01b03166101e2565b61020261025236600461135a565b61087d565b6001546001600160a01b03166101e2565b6101c7610276366004611377565b6109cc565b600154600160a01b90046001600160601b0316610144565b6101e26109e2565b610202610afb565b6102026102b136600461140a565b610b96565b6102be610c39565b604051610158919061143f565b610144610df5565b6007546001600160a01b03166101e2565b610202610e3a565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610330610ea5565b915091506000600960009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610389573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103b191908101906115fc565b9150506000818060200190518101906103ca9190611725565b90506000600a60009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610421573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261044991908101906115fc565b91505060008180602001905181019061046291906117c7565b60408051610160810182526006546001600160a01b039081168252600f548082166020808501919091526010546001600160601b0390811685870152600160a01b9092049091166060808501919091528486015160808086019190915285518087018752600b548152600c548185015260a08087019190915286518088018852600d548152600e548186015260c0870152918a015160e08601528901516101008501528801516101208401526005549091166101408301529151929350889261052b920161143f565b604051602081830303815290604052975097505050505050509091565b600854604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105839089908b908a908a9089908b9060040161185c565b60a060405180830381865afa1580156105a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c491906118b3565b50929a9950505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610636573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065a91906118f3565b156106a1576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166106ca5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610713573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073791906118f3565b61075f576040516372657a5160e01b81526001600160a01b0382166004820152602401610698565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156107a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107cd919061190e565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600061080a6001546001600160a01b031690565b600954604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa158015610854573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610878919061190e565b905090565b6108856109e2565b6001600160a01b0316336001600160a01b0316146108b85760405163700dd81160e01b8152336004820152602401610698565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af4158015610934573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095891906118f3565b6109a45760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c7265616479207365740000000000006044820152606401610698565b600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b60006109d9600a8661192b565b95945050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6b91906118f3565b15610aeb57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610ac7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610878919061194d565b506002546001600160a01b031690565b610b036109e2565b6001600160a01b0316336001600160a01b031614610b365760405163700dd81160e01b8152336004820152602401610698565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610b7c57600080fd5b505af1158015610b90573d6000803e3d6000fd5b50505050565b610b9e6109e2565b6001600160a01b0316336001600160a01b031614610bd15760405163700dd81160e01b8152336004820152602401610698565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610c03908590859060040161196a565b600060405180830381600087803b158015610c1d57600080fd5b505af1158015610c31573d6000803e3d6000fd5b505050505050565b610ced604080516101608101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e0840152835180850185528281528082018390526101008401528351808501909452818452830152906101208201908152600060209091015290565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610d37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5b919061194d565b9050806001600160a01b03166390af7064610d866001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161022060405180830381865afa158015610dcb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610def9190611990565b91505090565b6000610e096001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401610837565b610e426109e2565b6001600160a01b0316336001600160a01b031614610e755760405163700dd81160e01b8152336004820152602401610698565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b62565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610f2c6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610f746109e2565b6001600160a01b03168152602001826001018054610f9190611a74565b80601f0160208091040260200160405190810160405280929190818152602001828054610fbd90611a74565b801561100a5780601f10610fdf5761010080835404028352916020019161100a565b820191906000526020600020905b815481529060010190602001808311610fed57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b60006020828403121561103d57600080fd5b81356001600160e01b03198116811461105557600080fd5b9392505050565b60005b8381101561107757818101518382015260200161105f565b50506000910152565b6000815180845261109881602086016020860161105c565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516110f060a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611136610120840182611080565b905082810360208401526109d98185611080565b6001600160c01b03198116811461116057600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff8111828210171561119c5761119c611163565b60405290565b60405160e0810167ffffffffffffffff8111828210171561119c5761119c611163565b604051610100810167ffffffffffffffff8111828210171561119c5761119c611163565b604051610160810167ffffffffffffffff8111828210171561119c5761119c611163565b604051601f8201601f1916810167ffffffffffffffff8111828210171561123657611236611163565b604052919050565b600067ffffffffffffffff82111561125857611258611163565b50601f01601f191660200190565b600082601f83011261127757600080fd5b813561128a6112858261123e565b61120d565b81815284602083860101111561129f57600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b038116811461116057600080fd5b60008060008060008060c087890312156112ea57600080fd5b8635955060208701356112fc8161114a565b945060408701359350606087013567ffffffffffffffff81111561131f57600080fd5b61132b89828a01611266565b935050608087013561133c8161114a565b915060a087013561134c816112bc565b809150509295509295509295565b60006020828403121561136c57600080fd5b8135611055816112bc565b6000806000806080858703121561138d57600080fd5b84359350602085013561139f8161114a565b925060408501359150606085013567ffffffffffffffff8111156113c257600080fd5b6113ce87828801611266565b91505092959194509250565b6000604082840312156113ec57600080fd5b6113f4611179565b9050813581526020820135602082015292915050565b6000806080838503121561141d57600080fd5b61142784846113da565b915061143684604085016113da565b90509250929050565b81516001600160a01b031681526102208101602083015161146b60208401826001600160a01b03169052565b50604083015161148660408401826001600160601b03169052565b5060608301516114a160608401826001600160601b03169052565b5060808301516114be608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006114f48185018380518252602090810151910152565b60e085015191506101406115148186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401516001600160a01b03811661020085015290505092915050565b8051611569816112bc565b919050565b805160ff8116811461156957600080fd5b8051801515811461156957600080fd5b6001600160a01b038116811461116057600080fd5b80516115698161158f565b600082601f8301126115c057600080fd5b81516115ce6112858261123e565b8181528460208386010111156115e357600080fd5b6115f482602083016020870161105c565b949350505050565b6000806040838503121561160f57600080fd5b825167ffffffffffffffff8082111561162757600080fd5b9084019060e0828703121561163b57600080fd5b6116436111a2565b61164c8361155e565b815261165a6020840161155e565b602082015261166b6040840161156e565b604082015261167c6060840161157f565b606082015261168d608084016115a4565b608082015261169e60a084016115a4565b60a082015260c0830151828111156116b557600080fd5b6116c1888286016115af565b60c08301525060208601519094509150808211156116de57600080fd5b506116eb858286016115af565b9150509250929050565b60006040828403121561170757600080fd5b61170f611179565b9050815181526020820151602082015292915050565b6000610160828403121561173857600080fd5b6117406111c5565b6117498361155e565b8152611757602084016115a4565b60208201526040830151604082015261177384606085016116f5565b60608201526117858460a085016116f5565b60808201526117978460e085016116f5565b60a08201526117a9610120840161157f565b60c08201526117bb61014084016115a4565b60e08201529392505050565b600060c082840312156117d957600080fd5b60405160a0810181811067ffffffffffffffff821117156117fc576117fc611163565b604052825161180a816112bc565b8152602083015161181a8161158f565b602082015261182c84604085016116f5565b604082015261183d6080840161157f565b606082015260a08301516118508161158f565b60808201529392505050565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c0606084015261188f60c0840187611080565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a086880312156118cb57600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b60006020828403121561190557600080fd5b6110558261157f565b60006020828403121561192057600080fd5b8151611055816112bc565b60008261194857634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561195f57600080fd5b81516110558161158f565b825181526020808401518183015282516040830152820151606082015260808101611055565b600061022082840312156119a357600080fd5b6119ab6111e9565b6119b4836115a4565b81526119c2602084016115a4565b60208201526119d36040840161155e565b60408201526119e46060840161155e565b60608201526119f684608085016116f5565b6080820152611a088460c085016116f5565b60a0820152610100611a1c858286016116f5565b60c0830152610140611a30868287016116f5565b60e0840152611a438661018087016116f5565b82840152611a55866101c087016116f5565b610120840152611a6861020086016115a4565b90830152509392505050565b600181811c90821680611a8857607f821691505b602082108103611aa857634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220eba36fd2dac0d46484d26d0c83f04bbdb7c139600bf32a5372544f161231480f64736f6c63430008140033608060405234801561001057600080fd5b506040516103fd3803806103fd83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b61036a806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063beabacc81461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d6100683660046102a7565b61006f565b005b600054610087906001600160a01b031684848461008c565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526100e69085906100ec565b50505050565b60006101016001600160a01b03841683610154565b9050805160001415801561012657508080602001905181019061012491906102e3565b155b1561008757604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b606061016283836000610169565b9392505050565b60608147101561018e5760405163cd78605960e01b815230600482015260240161014b565b600080856001600160a01b031684866040516101aa9190610305565b60006040518083038185875af1925050503d80600081146101e7576040519150601f19603f3d011682016040523d82523d6000602084013e6101ec565b606091505b50915091506101fc868383610206565b9695505050505050565b60608261021b5761021682610262565b610162565b815115801561023257506001600160a01b0384163b155b1561025b57604051639996b31560e01b81526001600160a01b038516600482015260240161014b565b5080610162565b8051156102725780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b03811681146102a257600080fd5b919050565b6000806000606084860312156102bc57600080fd5b6102c58461028b565b92506102d36020850161028b565b9150604084013590509250925092565b6000602082840312156102f557600080fd5b8151801515811461016257600080fd5b6000825160005b81811015610326576020818601810151858301520161030c565b50600092019182525091905056fea26469706673582212205dcbb6c5ddae5c31498dff1c0933ab8c0d284bb07f5e69fd452d43a18212e70964736f6c6343000814003367be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5",
|
687
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061012b5760003560e01c80635ab1bd53116100ad578063b6b412ba11610071578063b6b412ba146102a3578063c200b809146102b6578063db6dcc95146102cb578063de7b5d14146102d3578063f83d08ba146102e457600080fd5b80635ab1bd53146102575780635e78426b14610268578063644c45e01461027b578063893d20e814610293578063a69df4b51461029b57600080fd5b8063138461e0116100f4578063138461e0146101fa5780631bdd6b76146102045780631eff4b221461020c57806321df0da7146102335780632a65c6881461024457600080fd5b806251884a1461013057806301ffc9a7146101615780630fec111c1461019e57806312abb9b3146101b457806313299604146101d5575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b61018e61016f36600461102b565b6001600160e01b03191660009081526020819052604090205460ff1690565b6040519015158152602001610158565b6101a66102ec565b6040516101589291906110ac565b6101c76101c23660046112d1565b610548565b604051908152602001610158565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610158565b6102026105d4565b005b6101446107f6565b6101c77f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6006546001600160a01b03166101e2565b61020261025236600461135a565b61087d565b6001546001600160a01b03166101e2565b6101c7610276366004611377565b6109cc565b600154600160a01b90046001600160601b0316610144565b6101e26109e2565b610202610afb565b6102026102b136600461140a565b610b96565b6102be610c39565b604051610158919061143f565b610144610df5565b6007546001600160a01b03166101e2565b610202610e3a565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610330610ea5565b915091506000600960009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610389573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103b191908101906115fc565b9150506000818060200190518101906103ca9190611725565b90506000600a60009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610421573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261044991908101906115fc565b91505060008180602001905181019061046291906117c7565b60408051610160810182526006546001600160a01b039081168252600f548082166020808501919091526010546001600160601b0390811685870152600160a01b9092049091166060808501919091528486015160808086019190915285518087018752600b548152600c548185015260a08087019190915286518088018852600d548152600e548186015260c0870152918a015160e08601528901516101008501528801516101208401526005549091166101408301529151929350889261052b920161143f565b604051602081830303815290604052975097505050505050509091565b600854604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105839089908b908a908a9089908b9060040161185c565b60a060405180830381865afa1580156105a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c491906118b3565b50929a9950505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610636573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065a91906118f3565b156106a1576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166106ca5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610713573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073791906118f3565b61075f576040516372657a5160e01b81526001600160a01b0382166004820152602401610698565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156107a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107cd919061190e565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600061080a6001546001600160a01b031690565b600954604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa158015610854573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610878919061190e565b905090565b6108856109e2565b6001600160a01b0316336001600160a01b0316146108b85760405163700dd81160e01b8152336004820152602401610698565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af4158015610934573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095891906118f3565b6109a45760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c7265616479207365740000000000006044820152606401610698565b600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b60006109d9600a8661192b565b95945050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6b91906118f3565b15610aeb57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610ac7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610878919061194d565b506002546001600160a01b031690565b610b036109e2565b6001600160a01b0316336001600160a01b031614610b365760405163700dd81160e01b8152336004820152602401610698565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610b7c57600080fd5b505af1158015610b90573d6000803e3d6000fd5b50505050565b610b9e6109e2565b6001600160a01b0316336001600160a01b031614610bd15760405163700dd81160e01b8152336004820152602401610698565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610c03908590859060040161196a565b600060405180830381600087803b158015610c1d57600080fd5b505af1158015610c31573d6000803e3d6000fd5b505050505050565b610ced604080516101608101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e0840152835180850185528281528082018390526101008401528351808501909452818452830152906101208201908152600060209091015290565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610d37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5b919061194d565b9050806001600160a01b03166390af7064610d866001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161022060405180830381865afa158015610dcb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610def9190611990565b91505090565b6000610e096001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401610837565b610e426109e2565b6001600160a01b0316336001600160a01b031614610e755760405163700dd81160e01b8152336004820152602401610698565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b62565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610f2c6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610f746109e2565b6001600160a01b03168152602001826001018054610f9190611a74565b80601f0160208091040260200160405190810160405280929190818152602001828054610fbd90611a74565b801561100a5780601f10610fdf5761010080835404028352916020019161100a565b820191906000526020600020905b815481529060010190602001808311610fed57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b60006020828403121561103d57600080fd5b81356001600160e01b03198116811461105557600080fd5b9392505050565b60005b8381101561107757818101518382015260200161105f565b50506000910152565b6000815180845261109881602086016020860161105c565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516110f060a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611136610120840182611080565b905082810360208401526109d98185611080565b6001600160c01b03198116811461116057600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff8111828210171561119c5761119c611163565b60405290565b60405160e0810167ffffffffffffffff8111828210171561119c5761119c611163565b604051610100810167ffffffffffffffff8111828210171561119c5761119c611163565b604051610160810167ffffffffffffffff8111828210171561119c5761119c611163565b604051601f8201601f1916810167ffffffffffffffff8111828210171561123657611236611163565b604052919050565b600067ffffffffffffffff82111561125857611258611163565b50601f01601f191660200190565b600082601f83011261127757600080fd5b813561128a6112858261123e565b61120d565b81815284602083860101111561129f57600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b038116811461116057600080fd5b60008060008060008060c087890312156112ea57600080fd5b8635955060208701356112fc8161114a565b945060408701359350606087013567ffffffffffffffff81111561131f57600080fd5b61132b89828a01611266565b935050608087013561133c8161114a565b915060a087013561134c816112bc565b809150509295509295509295565b60006020828403121561136c57600080fd5b8135611055816112bc565b6000806000806080858703121561138d57600080fd5b84359350602085013561139f8161114a565b925060408501359150606085013567ffffffffffffffff8111156113c257600080fd5b6113ce87828801611266565b91505092959194509250565b6000604082840312156113ec57600080fd5b6113f4611179565b9050813581526020820135602082015292915050565b6000806080838503121561141d57600080fd5b61142784846113da565b915061143684604085016113da565b90509250929050565b81516001600160a01b031681526102208101602083015161146b60208401826001600160a01b03169052565b50604083015161148660408401826001600160601b03169052565b5060608301516114a160608401826001600160601b03169052565b5060808301516114be608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006114f48185018380518252602090810151910152565b60e085015191506101406115148186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401516001600160a01b03811661020085015290505092915050565b8051611569816112bc565b919050565b805160ff8116811461156957600080fd5b8051801515811461156957600080fd5b6001600160a01b038116811461116057600080fd5b80516115698161158f565b600082601f8301126115c057600080fd5b81516115ce6112858261123e565b8181528460208386010111156115e357600080fd5b6115f482602083016020870161105c565b949350505050565b6000806040838503121561160f57600080fd5b825167ffffffffffffffff8082111561162757600080fd5b9084019060e0828703121561163b57600080fd5b6116436111a2565b61164c8361155e565b815261165a6020840161155e565b602082015261166b6040840161156e565b604082015261167c6060840161157f565b606082015261168d608084016115a4565b608082015261169e60a084016115a4565b60a082015260c0830151828111156116b557600080fd5b6116c1888286016115af565b60c08301525060208601519094509150808211156116de57600080fd5b506116eb858286016115af565b9150509250929050565b60006040828403121561170757600080fd5b61170f611179565b9050815181526020820151602082015292915050565b6000610160828403121561173857600080fd5b6117406111c5565b6117498361155e565b8152611757602084016115a4565b60208201526040830151604082015261177384606085016116f5565b60608201526117858460a085016116f5565b60808201526117978460e085016116f5565b60a08201526117a9610120840161157f565b60c08201526117bb61014084016115a4565b60e08201529392505050565b600060c082840312156117d957600080fd5b60405160a0810181811067ffffffffffffffff821117156117fc576117fc611163565b604052825161180a816112bc565b8152602083015161181a8161158f565b602082015261182c84604085016116f5565b604082015261183d6080840161157f565b606082015260a08301516118508161158f565b60808201529392505050565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c0606084015261188f60c0840187611080565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a086880312156118cb57600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b60006020828403121561190557600080fd5b6110558261157f565b60006020828403121561192057600080fd5b8151611055816112bc565b60008261194857634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561195f57600080fd5b81516110558161158f565b825181526020808401518183015282516040830152820151606082015260808101611055565b600061022082840312156119a357600080fd5b6119ab6111e9565b6119b4836115a4565b81526119c2602084016115a4565b60208201526119d36040840161155e565b60408201526119e46060840161155e565b60608201526119f684608085016116f5565b6080820152611a088460c085016116f5565b60a0820152610100611a1c858286016116f5565b60c0830152610140611a30868287016116f5565b60e0840152611a438661018087016116f5565b82840152611a55866101c087016116f5565b610120840152611a6861020086016115a4565b90830152509392505050565b600181811c90821680611a8857607f821691505b602082108103611aa857634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220eba36fd2dac0d46484d26d0c83f04bbdb7c139600bf32a5372544f161231480f64736f6c63430008140033",
|
688
|
-
"linkReferences": {
|
689
|
-
|
690
|
-
"NftIdLib": [
|
691
|
-
{
|
692
|
-
"length": 20,
|
693
|
-
"start": 5058
|
694
|
-
},
|
695
|
-
{
|
696
|
-
"length": 20,
|
697
|
-
"start": 5763
|
698
|
-
},
|
699
|
-
{
|
700
|
-
"length": 20,
|
701
|
-
"start": 6099
|
702
|
-
}
|
703
|
-
]
|
704
|
-
}
|
705
|
-
},
|
706
|
-
"deployedLinkReferences": {
|
707
|
-
"contracts/types/NftId.sol": {
|
708
|
-
"NftIdLib": [
|
709
|
-
{
|
710
|
-
"length": 20,
|
711
|
-
"start": 1532
|
712
|
-
},
|
713
|
-
{
|
714
|
-
"length": 20,
|
715
|
-
"start": 2237
|
716
|
-
},
|
717
|
-
{
|
718
|
-
"length": 20,
|
719
|
-
"start": 2573
|
720
|
-
}
|
721
|
-
]
|
722
|
-
}
|
723
|
-
}
|
782
|
+
"bytecode": "0x",
|
783
|
+
"deployedBytecode": "0x",
|
784
|
+
"linkReferences": {},
|
785
|
+
"deployedLinkReferences": {}
|
724
786
|
}
|