@etherisc/gif-next 0.0.2-f29e479-370 → 0.0.2-f30e0eb-805
Sign up to get free protection for your applications and to get access to all the features.
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +68 -89
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +113 -140
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +65 -73
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +91 -122
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +256 -189
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +69 -145
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +279 -245
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +73 -162
- 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 +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +64 -50
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +171 -308
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +98 -40
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +260 -379
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +448 -121
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +120 -227
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +148 -161
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +31 -23
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +8 -13
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +1 -1
- 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 +40 -10
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +54 -71
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
- 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 +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +161 -62
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +33 -25
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +137 -140
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +12 -12
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +3 -3
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +2 -2
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +505 -91
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +78 -42
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +110 -27
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +93 -96
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +350 -8
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +21 -64
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +81 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +58 -157
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +19 -47
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +114 -17
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +17 -9
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +7 -7
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +4 -4
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +19 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +31 -12
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +2 -2
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +5 -5
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +3 -3
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +7 -7
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
- 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/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- 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/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.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 +3 -3
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
- 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/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +3 -3
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +3 -3
- 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/TestVersion.sol/TestVersion.json +2 -2
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +2 -2
- 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/Blocknumber.sol/BlocknumberLib.json +2 -2
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.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/Fee.sol/FeeLib.json +2 -2
- 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 +17 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
- 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/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
- 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/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
- package/contracts/components/Component.sol +95 -85
- package/contracts/components/Distribution.sol +12 -19
- package/contracts/components/IComponent.sol +37 -17
- package/contracts/components/IDistributionComponent.sol +1 -22
- package/contracts/components/IPoolComponent.sol +73 -47
- package/contracts/components/IProductComponent.sol +3 -2
- package/contracts/components/Pool.sol +171 -126
- package/contracts/components/Product.sol +26 -18
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
- package/contracts/instance/BundleManager.sol +7 -5
- package/contracts/instance/Cloneable.sol +7 -2
- package/contracts/instance/IInstance.sol +16 -10
- package/contracts/instance/IInstanceService.sol +18 -5
- package/contracts/instance/Instance.sol +45 -9
- package/contracts/instance/InstanceAccessManager.sol +382 -157
- package/contracts/instance/InstanceReader.sol +7 -10
- package/contracts/instance/InstanceService.sol +174 -155
- package/contracts/instance/ObjectManager.sol +6 -8
- package/contracts/instance/base/ComponentService.sol +5 -5
- package/contracts/instance/base/KeyValueStore.sol +5 -2
- package/contracts/instance/base/Lifecycle.sol +11 -2
- package/contracts/instance/module/IAccess.sol +20 -13
- package/contracts/instance/module/IBundle.sol +2 -1
- package/contracts/instance/module/IComponents.sol +35 -0
- package/contracts/instance/module/IDistribution.sol +2 -1
- package/contracts/instance/module/IPolicy.sol +26 -1
- package/contracts/instance/module/ISetup.sol +7 -22
- package/contracts/instance/service/ApplicationService.sol +123 -41
- package/contracts/instance/service/BundleService.sol +76 -38
- package/contracts/instance/service/DistributionService.sol +139 -47
- package/contracts/instance/service/IApplicationService.sol +7 -7
- package/contracts/instance/service/IBundleService.sol +19 -11
- package/contracts/instance/service/IDistributionService.sol +19 -4
- package/contracts/instance/service/IPolicyService.sol +3 -20
- package/contracts/instance/service/IPoolService.sol +17 -2
- package/contracts/instance/service/PolicyService.sol +59 -132
- package/contracts/instance/service/PoolService.sol +128 -17
- package/contracts/instance/service/ProductService.sol +10 -2
- package/contracts/registry/ChainNft.sol +8 -0
- package/contracts/registry/IRegistry.sol +2 -0
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +23 -20
- package/contracts/registry/RegistryService.sol +5 -5
- package/contracts/shared/Registerable.sol +2 -2
- package/contracts/shared/TokenHandler.sol +11 -5
- package/contracts/types/Blocknumber.sol +1 -0
- package/contracts/types/Fee.sol +1 -0
- package/contracts/types/NftId.sol +8 -0
- package/contracts/types/ObjectType.sol +1 -0
- package/contracts/types/Referral.sol +4 -0
- package/contracts/types/RoleId.sol +13 -6
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +1 -0
- package/contracts/types/Timestamp.sol +13 -13
- package/contracts/types/UFixed.sol +1 -0
- package/contracts/types/Version.sol +1 -0
- package/package.json +1 -1
@@ -80,11 +80,6 @@
|
|
80
80
|
"internalType": "NftId",
|
81
81
|
"name": "instanceNftId",
|
82
82
|
"type": "uint96"
|
83
|
-
},
|
84
|
-
{
|
85
|
-
"internalType": "address",
|
86
|
-
"name": "instance",
|
87
|
-
"type": "address"
|
88
83
|
}
|
89
84
|
],
|
90
85
|
"name": "ErrorComponentNotInstance",
|
@@ -107,29 +102,7 @@
|
|
107
102
|
"type": "error"
|
108
103
|
},
|
109
104
|
{
|
110
|
-
"inputs": [
|
111
|
-
{
|
112
|
-
"internalType": "address",
|
113
|
-
"name": "caller",
|
114
|
-
"type": "address"
|
115
|
-
},
|
116
|
-
{
|
117
|
-
"internalType": "uint64",
|
118
|
-
"name": "requiredRoleIdNum",
|
119
|
-
"type": "uint64"
|
120
|
-
}
|
121
|
-
],
|
122
|
-
"name": "ErrorComponentUnauthorized",
|
123
|
-
"type": "error"
|
124
|
-
},
|
125
|
-
{
|
126
|
-
"inputs": [
|
127
|
-
{
|
128
|
-
"internalType": "address",
|
129
|
-
"name": "newWallet",
|
130
|
-
"type": "address"
|
131
|
-
}
|
132
|
-
],
|
105
|
+
"inputs": [],
|
133
106
|
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
134
107
|
"type": "error"
|
135
108
|
},
|
@@ -268,6 +241,12 @@
|
|
268
241
|
{
|
269
242
|
"anonymous": false,
|
270
243
|
"inputs": [
|
244
|
+
{
|
245
|
+
"indexed": false,
|
246
|
+
"internalType": "address",
|
247
|
+
"name": "oldWallet",
|
248
|
+
"type": "address"
|
249
|
+
},
|
271
250
|
{
|
272
251
|
"indexed": false,
|
273
252
|
"internalType": "address",
|
@@ -305,7 +284,7 @@
|
|
305
284
|
},
|
306
285
|
{
|
307
286
|
"inputs": [],
|
308
|
-
"name": "
|
287
|
+
"name": "COMPONENT_LOCATION_V1",
|
309
288
|
"outputs": [
|
310
289
|
{
|
311
290
|
"internalType": "bytes32",
|
@@ -355,6 +334,46 @@
|
|
355
334
|
"stateMutability": "view",
|
356
335
|
"type": "function"
|
357
336
|
},
|
337
|
+
{
|
338
|
+
"inputs": [],
|
339
|
+
"name": "getComponentInfo",
|
340
|
+
"outputs": [
|
341
|
+
{
|
342
|
+
"components": [
|
343
|
+
{
|
344
|
+
"internalType": "string",
|
345
|
+
"name": "name",
|
346
|
+
"type": "string"
|
347
|
+
},
|
348
|
+
{
|
349
|
+
"internalType": "contract IERC20Metadata",
|
350
|
+
"name": "token",
|
351
|
+
"type": "address"
|
352
|
+
},
|
353
|
+
{
|
354
|
+
"internalType": "contract TokenHandler",
|
355
|
+
"name": "tokenHandler",
|
356
|
+
"type": "address"
|
357
|
+
},
|
358
|
+
{
|
359
|
+
"internalType": "address",
|
360
|
+
"name": "wallet",
|
361
|
+
"type": "address"
|
362
|
+
},
|
363
|
+
{
|
364
|
+
"internalType": "bytes",
|
365
|
+
"name": "data",
|
366
|
+
"type": "bytes"
|
367
|
+
}
|
368
|
+
],
|
369
|
+
"internalType": "struct IComponents.ComponentInfo",
|
370
|
+
"name": "info",
|
371
|
+
"type": "tuple"
|
372
|
+
}
|
373
|
+
],
|
374
|
+
"stateMutability": "view",
|
375
|
+
"type": "function"
|
376
|
+
},
|
358
377
|
{
|
359
378
|
"inputs": [],
|
360
379
|
"name": "getInitialInfo",
|
@@ -418,32 +437,6 @@
|
|
418
437
|
"stateMutability": "view",
|
419
438
|
"type": "function"
|
420
439
|
},
|
421
|
-
{
|
422
|
-
"inputs": [],
|
423
|
-
"name": "getInstanceReader",
|
424
|
-
"outputs": [
|
425
|
-
{
|
426
|
-
"internalType": "contract InstanceReader",
|
427
|
-
"name": "reader",
|
428
|
-
"type": "address"
|
429
|
-
}
|
430
|
-
],
|
431
|
-
"stateMutability": "view",
|
432
|
-
"type": "function"
|
433
|
-
},
|
434
|
-
{
|
435
|
-
"inputs": [],
|
436
|
-
"name": "getInstanceService",
|
437
|
-
"outputs": [
|
438
|
-
{
|
439
|
-
"internalType": "contract IInstanceService",
|
440
|
-
"name": "",
|
441
|
-
"type": "address"
|
442
|
-
}
|
443
|
-
],
|
444
|
-
"stateMutability": "view",
|
445
|
-
"type": "function"
|
446
|
-
},
|
447
440
|
{
|
448
441
|
"inputs": [],
|
449
442
|
"name": "getName",
|
@@ -496,19 +489,6 @@
|
|
496
489
|
"stateMutability": "view",
|
497
490
|
"type": "function"
|
498
491
|
},
|
499
|
-
{
|
500
|
-
"inputs": [],
|
501
|
-
"name": "getProductService",
|
502
|
-
"outputs": [
|
503
|
-
{
|
504
|
-
"internalType": "contract IProductService",
|
505
|
-
"name": "",
|
506
|
-
"type": "address"
|
507
|
-
}
|
508
|
-
],
|
509
|
-
"stateMutability": "view",
|
510
|
-
"type": "function"
|
511
|
-
},
|
512
492
|
{
|
513
493
|
"inputs": [],
|
514
494
|
"name": "getRegistry",
|
@@ -535,25 +515,6 @@
|
|
535
515
|
"stateMutability": "view",
|
536
516
|
"type": "function"
|
537
517
|
},
|
538
|
-
{
|
539
|
-
"inputs": [
|
540
|
-
{
|
541
|
-
"internalType": "ObjectType",
|
542
|
-
"name": "domain",
|
543
|
-
"type": "uint8"
|
544
|
-
}
|
545
|
-
],
|
546
|
-
"name": "getServiceAddress",
|
547
|
-
"outputs": [
|
548
|
-
{
|
549
|
-
"internalType": "address",
|
550
|
-
"name": "service",
|
551
|
-
"type": "address"
|
552
|
-
}
|
553
|
-
],
|
554
|
-
"stateMutability": "view",
|
555
|
-
"type": "function"
|
556
|
-
},
|
557
518
|
{
|
558
519
|
"inputs": [],
|
559
520
|
"name": "getToken",
|
@@ -619,7 +580,7 @@
|
|
619
580
|
},
|
620
581
|
{
|
621
582
|
"internalType": "bytes",
|
622
|
-
"name": "
|
583
|
+
"name": "registryData",
|
623
584
|
"type": "bytes"
|
624
585
|
}
|
625
586
|
],
|
@@ -682,7 +643,7 @@
|
|
682
643
|
},
|
683
644
|
{
|
684
645
|
"internalType": "bytes",
|
685
|
-
"name": "
|
646
|
+
"name": "registryData",
|
686
647
|
"type": "bytes"
|
687
648
|
}
|
688
649
|
],
|
@@ -744,6 +705,24 @@
|
|
744
705
|
"stateMutability": "nonpayable",
|
745
706
|
"type": "function"
|
746
707
|
},
|
708
|
+
{
|
709
|
+
"inputs": [
|
710
|
+
{
|
711
|
+
"internalType": "address",
|
712
|
+
"name": "to",
|
713
|
+
"type": "address"
|
714
|
+
},
|
715
|
+
{
|
716
|
+
"internalType": "uint256",
|
717
|
+
"name": "tokenId",
|
718
|
+
"type": "uint256"
|
719
|
+
}
|
720
|
+
],
|
721
|
+
"name": "nftMint",
|
722
|
+
"outputs": [],
|
723
|
+
"stateMutability": "nonpayable",
|
724
|
+
"type": "function"
|
725
|
+
},
|
747
726
|
{
|
748
727
|
"inputs": [
|
749
728
|
{
|
@@ -80,11 +80,6 @@
|
|
80
80
|
"internalType": "NftId",
|
81
81
|
"name": "instanceNftId",
|
82
82
|
"type": "uint96"
|
83
|
-
},
|
84
|
-
{
|
85
|
-
"internalType": "address",
|
86
|
-
"name": "instance",
|
87
|
-
"type": "address"
|
88
83
|
}
|
89
84
|
],
|
90
85
|
"name": "ErrorComponentNotInstance",
|
@@ -107,29 +102,7 @@
|
|
107
102
|
"type": "error"
|
108
103
|
},
|
109
104
|
{
|
110
|
-
"inputs": [
|
111
|
-
{
|
112
|
-
"internalType": "address",
|
113
|
-
"name": "caller",
|
114
|
-
"type": "address"
|
115
|
-
},
|
116
|
-
{
|
117
|
-
"internalType": "uint64",
|
118
|
-
"name": "requiredRoleIdNum",
|
119
|
-
"type": "uint64"
|
120
|
-
}
|
121
|
-
],
|
122
|
-
"name": "ErrorComponentUnauthorized",
|
123
|
-
"type": "error"
|
124
|
-
},
|
125
|
-
{
|
126
|
-
"inputs": [
|
127
|
-
{
|
128
|
-
"internalType": "address",
|
129
|
-
"name": "newWallet",
|
130
|
-
"type": "address"
|
131
|
-
}
|
132
|
-
],
|
105
|
+
"inputs": [],
|
133
106
|
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
134
107
|
"type": "error"
|
135
108
|
},
|
@@ -268,6 +241,12 @@
|
|
268
241
|
{
|
269
242
|
"anonymous": false,
|
270
243
|
"inputs": [
|
244
|
+
{
|
245
|
+
"indexed": false,
|
246
|
+
"internalType": "address",
|
247
|
+
"name": "oldWallet",
|
248
|
+
"type": "address"
|
249
|
+
},
|
271
250
|
{
|
272
251
|
"indexed": false,
|
273
252
|
"internalType": "address",
|
@@ -324,7 +303,7 @@
|
|
324
303
|
},
|
325
304
|
{
|
326
305
|
"inputs": [],
|
327
|
-
"name": "
|
306
|
+
"name": "COMPONENT_LOCATION_V1",
|
328
307
|
"outputs": [
|
329
308
|
{
|
330
309
|
"internalType": "bytes32",
|
@@ -500,47 +479,43 @@
|
|
500
479
|
"type": "function"
|
501
480
|
},
|
502
481
|
{
|
503
|
-
"inputs": [
|
504
|
-
|
505
|
-
"internalType": "NftId",
|
506
|
-
"name": "distributorNftId",
|
507
|
-
"type": "uint96"
|
508
|
-
},
|
509
|
-
{
|
510
|
-
"internalType": "string",
|
511
|
-
"name": "code",
|
512
|
-
"type": "string"
|
513
|
-
},
|
514
|
-
{
|
515
|
-
"internalType": "UFixed",
|
516
|
-
"name": "discountPercentage",
|
517
|
-
"type": "uint256"
|
518
|
-
},
|
519
|
-
{
|
520
|
-
"internalType": "uint32",
|
521
|
-
"name": "maxReferrals",
|
522
|
-
"type": "uint32"
|
523
|
-
},
|
524
|
-
{
|
525
|
-
"internalType": "Timestamp",
|
526
|
-
"name": "expiryAt",
|
527
|
-
"type": "uint40"
|
528
|
-
},
|
529
|
-
{
|
530
|
-
"internalType": "bytes",
|
531
|
-
"name": "data",
|
532
|
-
"type": "bytes"
|
533
|
-
}
|
534
|
-
],
|
535
|
-
"name": "createReferral",
|
482
|
+
"inputs": [],
|
483
|
+
"name": "getComponentInfo",
|
536
484
|
"outputs": [
|
537
485
|
{
|
538
|
-
"
|
539
|
-
|
540
|
-
|
486
|
+
"components": [
|
487
|
+
{
|
488
|
+
"internalType": "string",
|
489
|
+
"name": "name",
|
490
|
+
"type": "string"
|
491
|
+
},
|
492
|
+
{
|
493
|
+
"internalType": "contract IERC20Metadata",
|
494
|
+
"name": "token",
|
495
|
+
"type": "address"
|
496
|
+
},
|
497
|
+
{
|
498
|
+
"internalType": "contract TokenHandler",
|
499
|
+
"name": "tokenHandler",
|
500
|
+
"type": "address"
|
501
|
+
},
|
502
|
+
{
|
503
|
+
"internalType": "address",
|
504
|
+
"name": "wallet",
|
505
|
+
"type": "address"
|
506
|
+
},
|
507
|
+
{
|
508
|
+
"internalType": "bytes",
|
509
|
+
"name": "data",
|
510
|
+
"type": "bytes"
|
511
|
+
}
|
512
|
+
],
|
513
|
+
"internalType": "struct IComponents.ComponentInfo",
|
514
|
+
"name": "info",
|
515
|
+
"type": "tuple"
|
541
516
|
}
|
542
517
|
],
|
543
|
-
"stateMutability": "
|
518
|
+
"stateMutability": "view",
|
544
519
|
"type": "function"
|
545
520
|
},
|
546
521
|
{
|
@@ -674,32 +649,6 @@
|
|
674
649
|
"stateMutability": "view",
|
675
650
|
"type": "function"
|
676
651
|
},
|
677
|
-
{
|
678
|
-
"inputs": [],
|
679
|
-
"name": "getInstanceReader",
|
680
|
-
"outputs": [
|
681
|
-
{
|
682
|
-
"internalType": "contract InstanceReader",
|
683
|
-
"name": "reader",
|
684
|
-
"type": "address"
|
685
|
-
}
|
686
|
-
],
|
687
|
-
"stateMutability": "view",
|
688
|
-
"type": "function"
|
689
|
-
},
|
690
|
-
{
|
691
|
-
"inputs": [],
|
692
|
-
"name": "getInstanceService",
|
693
|
-
"outputs": [
|
694
|
-
{
|
695
|
-
"internalType": "contract IInstanceService",
|
696
|
-
"name": "",
|
697
|
-
"type": "address"
|
698
|
-
}
|
699
|
-
],
|
700
|
-
"stateMutability": "view",
|
701
|
-
"type": "function"
|
702
|
-
},
|
703
652
|
{
|
704
653
|
"inputs": [],
|
705
654
|
"name": "getName",
|
@@ -752,19 +701,6 @@
|
|
752
701
|
"stateMutability": "view",
|
753
702
|
"type": "function"
|
754
703
|
},
|
755
|
-
{
|
756
|
-
"inputs": [],
|
757
|
-
"name": "getProductService",
|
758
|
-
"outputs": [
|
759
|
-
{
|
760
|
-
"internalType": "contract IProductService",
|
761
|
-
"name": "",
|
762
|
-
"type": "address"
|
763
|
-
}
|
764
|
-
],
|
765
|
-
"stateMutability": "view",
|
766
|
-
"type": "function"
|
767
|
-
},
|
768
704
|
{
|
769
705
|
"inputs": [
|
770
706
|
{
|
@@ -810,25 +746,6 @@
|
|
810
746
|
"stateMutability": "view",
|
811
747
|
"type": "function"
|
812
748
|
},
|
813
|
-
{
|
814
|
-
"inputs": [
|
815
|
-
{
|
816
|
-
"internalType": "ObjectType",
|
817
|
-
"name": "domain",
|
818
|
-
"type": "uint8"
|
819
|
-
}
|
820
|
-
],
|
821
|
-
"name": "getServiceAddress",
|
822
|
-
"outputs": [
|
823
|
-
{
|
824
|
-
"internalType": "address",
|
825
|
-
"name": "service",
|
826
|
-
"type": "address"
|
827
|
-
}
|
828
|
-
],
|
829
|
-
"stateMutability": "view",
|
830
|
-
"type": "function"
|
831
|
-
},
|
832
749
|
{
|
833
750
|
"inputs": [],
|
834
751
|
"name": "getSetupInfo",
|
@@ -845,6 +762,23 @@
|
|
845
762
|
"name": "tokenHandler",
|
846
763
|
"type": "address"
|
847
764
|
},
|
765
|
+
{
|
766
|
+
"components": [
|
767
|
+
{
|
768
|
+
"internalType": "UFixed",
|
769
|
+
"name": "fractionalFee",
|
770
|
+
"type": "uint256"
|
771
|
+
},
|
772
|
+
{
|
773
|
+
"internalType": "uint256",
|
774
|
+
"name": "fixedFee",
|
775
|
+
"type": "uint256"
|
776
|
+
}
|
777
|
+
],
|
778
|
+
"internalType": "struct Fee",
|
779
|
+
"name": "minDistributionOwnerFee",
|
780
|
+
"type": "tuple"
|
781
|
+
},
|
848
782
|
{
|
849
783
|
"components": [
|
850
784
|
{
|
@@ -866,6 +800,11 @@
|
|
866
800
|
"internalType": "address",
|
867
801
|
"name": "wallet",
|
868
802
|
"type": "address"
|
803
|
+
},
|
804
|
+
{
|
805
|
+
"internalType": "uint256",
|
806
|
+
"name": "sumDistributionOwnerFees",
|
807
|
+
"type": "uint256"
|
869
808
|
}
|
870
809
|
],
|
871
810
|
"internalType": "struct ISetup.DistributionSetupInfo",
|
@@ -941,7 +880,7 @@
|
|
941
880
|
},
|
942
881
|
{
|
943
882
|
"internalType": "bytes",
|
944
|
-
"name": "
|
883
|
+
"name": "registryData",
|
945
884
|
"type": "bytes"
|
946
885
|
}
|
947
886
|
],
|
@@ -972,6 +911,23 @@
|
|
972
911
|
"name": "token",
|
973
912
|
"type": "address"
|
974
913
|
},
|
914
|
+
{
|
915
|
+
"components": [
|
916
|
+
{
|
917
|
+
"internalType": "UFixed",
|
918
|
+
"name": "fractionalFee",
|
919
|
+
"type": "uint256"
|
920
|
+
},
|
921
|
+
{
|
922
|
+
"internalType": "uint256",
|
923
|
+
"name": "fixedFee",
|
924
|
+
"type": "uint256"
|
925
|
+
}
|
926
|
+
],
|
927
|
+
"internalType": "struct Fee",
|
928
|
+
"name": "minDistributionOwnerFee",
|
929
|
+
"type": "tuple"
|
930
|
+
},
|
975
931
|
{
|
976
932
|
"components": [
|
977
933
|
{
|
@@ -996,7 +952,7 @@
|
|
996
952
|
},
|
997
953
|
{
|
998
954
|
"internalType": "bytes",
|
999
|
-
"name": "
|
955
|
+
"name": "registryData",
|
1000
956
|
"type": "bytes"
|
1001
957
|
}
|
1002
958
|
],
|
@@ -1059,7 +1015,7 @@
|
|
1059
1015
|
},
|
1060
1016
|
{
|
1061
1017
|
"internalType": "bytes",
|
1062
|
-
"name": "
|
1018
|
+
"name": "registryData",
|
1063
1019
|
"type": "bytes"
|
1064
1020
|
}
|
1065
1021
|
],
|
@@ -1155,11 +1111,6 @@
|
|
1155
1111
|
},
|
1156
1112
|
{
|
1157
1113
|
"inputs": [
|
1158
|
-
{
|
1159
|
-
"internalType": "address",
|
1160
|
-
"name": "from",
|
1161
|
-
"type": "address"
|
1162
|
-
},
|
1163
1114
|
{
|
1164
1115
|
"internalType": "address",
|
1165
1116
|
"name": "to",
|
@@ -1171,7 +1122,7 @@
|
|
1171
1122
|
"type": "uint256"
|
1172
1123
|
}
|
1173
1124
|
],
|
1174
|
-
"name": "
|
1125
|
+
"name": "nftMint",
|
1175
1126
|
"outputs": [],
|
1176
1127
|
"stateMutability": "nonpayable",
|
1177
1128
|
"type": "function"
|
@@ -1179,17 +1130,22 @@
|
|
1179
1130
|
{
|
1180
1131
|
"inputs": [
|
1181
1132
|
{
|
1182
|
-
"internalType": "
|
1183
|
-
"name": "
|
1184
|
-
"type": "
|
1133
|
+
"internalType": "address",
|
1134
|
+
"name": "from",
|
1135
|
+
"type": "address"
|
1136
|
+
},
|
1137
|
+
{
|
1138
|
+
"internalType": "address",
|
1139
|
+
"name": "to",
|
1140
|
+
"type": "address"
|
1185
1141
|
},
|
1186
1142
|
{
|
1187
1143
|
"internalType": "uint256",
|
1188
|
-
"name": "
|
1144
|
+
"name": "tokenId",
|
1189
1145
|
"type": "uint256"
|
1190
1146
|
}
|
1191
1147
|
],
|
1192
|
-
"name": "
|
1148
|
+
"name": "nftTransferFrom",
|
1193
1149
|
"outputs": [],
|
1194
1150
|
"stateMutability": "nonpayable",
|
1195
1151
|
"type": "function"
|
@@ -1203,11 +1159,11 @@
|
|
1203
1159
|
},
|
1204
1160
|
{
|
1205
1161
|
"internalType": "uint256",
|
1206
|
-
"name": "
|
1162
|
+
"name": "feeAmount",
|
1207
1163
|
"type": "uint256"
|
1208
1164
|
}
|
1209
1165
|
],
|
1210
|
-
"name": "
|
1166
|
+
"name": "processRenewal",
|
1211
1167
|
"outputs": [],
|
1212
1168
|
"stateMutability": "nonpayable",
|
1213
1169
|
"type": "function"
|
@@ -1240,6 +1196,23 @@
|
|
1240
1196
|
},
|
1241
1197
|
{
|
1242
1198
|
"inputs": [
|
1199
|
+
{
|
1200
|
+
"components": [
|
1201
|
+
{
|
1202
|
+
"internalType": "UFixed",
|
1203
|
+
"name": "fractionalFee",
|
1204
|
+
"type": "uint256"
|
1205
|
+
},
|
1206
|
+
{
|
1207
|
+
"internalType": "uint256",
|
1208
|
+
"name": "fixedFee",
|
1209
|
+
"type": "uint256"
|
1210
|
+
}
|
1211
|
+
],
|
1212
|
+
"internalType": "struct Fee",
|
1213
|
+
"name": "minDistributionOwnerFee",
|
1214
|
+
"type": "tuple"
|
1215
|
+
},
|
1243
1216
|
{
|
1244
1217
|
"components": [
|
1245
1218
|
{
|