@etherisc/gif-next 0.0.2-b1059a4-617 → 0.0.2-b13fcec-949
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 -183
- 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 +90 -164
- 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 +109 -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 +159 -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 +12 -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 +172 -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 +139 -131
- 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 +14 -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 +864 -67
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +142 -14
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +121 -27
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +104 -96
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +11 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +540 -7
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +32 -64
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +92 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +11 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +69 -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 +125 -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 +18 -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/IRegistryService.sol/IRegistryService.json +11 -0
- 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 +16 -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/IService.sol/IService.json +11 -0
- 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 +12 -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 +14 -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 +16 -44
- package/contracts/components/IComponent.sol +37 -17
- package/contracts/components/IDistributionComponent.sol +1 -30
- 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 -0
- package/contracts/instance/module/IPolicy.sol +26 -1
- package/contracts/instance/module/ISetup.sol +7 -21
- package/contracts/instance/service/ApplicationService.sol +123 -41
- package/contracts/instance/service/BundleService.sol +76 -38
- package/contracts/instance/service/DistributionService.sol +213 -23
- package/contracts/instance/service/IApplicationService.sol +7 -7
- package/contracts/instance/service/IBundleService.sol +19 -11
- package/contracts/instance/service/IDistributionService.sol +36 -3
- package/contracts/instance/service/IPolicyService.sol +3 -20
- package/contracts/instance/service/IPoolService.sol +17 -2
- package/contracts/instance/service/PolicyService.sol +59 -130
- 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/IService.sol +2 -0
- 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",
|
@@ -387,30 +366,6 @@
|
|
387
366
|
"stateMutability": "view",
|
388
367
|
"type": "function"
|
389
368
|
},
|
390
|
-
{
|
391
|
-
"inputs": [
|
392
|
-
{
|
393
|
-
"internalType": "ReferralId",
|
394
|
-
"name": "referralId",
|
395
|
-
"type": "bytes8"
|
396
|
-
},
|
397
|
-
{
|
398
|
-
"internalType": "uint256",
|
399
|
-
"name": "netPremiumAmount",
|
400
|
-
"type": "uint256"
|
401
|
-
}
|
402
|
-
],
|
403
|
-
"name": "calculateFeeAmount",
|
404
|
-
"outputs": [
|
405
|
-
{
|
406
|
-
"internalType": "uint256",
|
407
|
-
"name": "feeAmount",
|
408
|
-
"type": "uint256"
|
409
|
-
}
|
410
|
-
],
|
411
|
-
"stateMutability": "view",
|
412
|
-
"type": "function"
|
413
|
-
},
|
414
369
|
{
|
415
370
|
"inputs": [
|
416
371
|
{
|
@@ -524,47 +479,43 @@
|
|
524
479
|
"type": "function"
|
525
480
|
},
|
526
481
|
{
|
527
|
-
"inputs": [
|
528
|
-
|
529
|
-
"internalType": "NftId",
|
530
|
-
"name": "distributorNftId",
|
531
|
-
"type": "uint96"
|
532
|
-
},
|
533
|
-
{
|
534
|
-
"internalType": "string",
|
535
|
-
"name": "code",
|
536
|
-
"type": "string"
|
537
|
-
},
|
538
|
-
{
|
539
|
-
"internalType": "UFixed",
|
540
|
-
"name": "discountPercentage",
|
541
|
-
"type": "uint256"
|
542
|
-
},
|
543
|
-
{
|
544
|
-
"internalType": "uint32",
|
545
|
-
"name": "maxReferrals",
|
546
|
-
"type": "uint32"
|
547
|
-
},
|
548
|
-
{
|
549
|
-
"internalType": "Timestamp",
|
550
|
-
"name": "expiryAt",
|
551
|
-
"type": "uint40"
|
552
|
-
},
|
553
|
-
{
|
554
|
-
"internalType": "bytes",
|
555
|
-
"name": "data",
|
556
|
-
"type": "bytes"
|
557
|
-
}
|
558
|
-
],
|
559
|
-
"name": "createReferral",
|
482
|
+
"inputs": [],
|
483
|
+
"name": "getComponentInfo",
|
560
484
|
"outputs": [
|
561
485
|
{
|
562
|
-
"
|
563
|
-
|
564
|
-
|
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"
|
565
516
|
}
|
566
517
|
],
|
567
|
-
"stateMutability": "
|
518
|
+
"stateMutability": "view",
|
568
519
|
"type": "function"
|
569
520
|
},
|
570
521
|
{
|
@@ -698,32 +649,6 @@
|
|
698
649
|
"stateMutability": "view",
|
699
650
|
"type": "function"
|
700
651
|
},
|
701
|
-
{
|
702
|
-
"inputs": [],
|
703
|
-
"name": "getInstanceReader",
|
704
|
-
"outputs": [
|
705
|
-
{
|
706
|
-
"internalType": "contract InstanceReader",
|
707
|
-
"name": "reader",
|
708
|
-
"type": "address"
|
709
|
-
}
|
710
|
-
],
|
711
|
-
"stateMutability": "view",
|
712
|
-
"type": "function"
|
713
|
-
},
|
714
|
-
{
|
715
|
-
"inputs": [],
|
716
|
-
"name": "getInstanceService",
|
717
|
-
"outputs": [
|
718
|
-
{
|
719
|
-
"internalType": "contract IInstanceService",
|
720
|
-
"name": "",
|
721
|
-
"type": "address"
|
722
|
-
}
|
723
|
-
],
|
724
|
-
"stateMutability": "view",
|
725
|
-
"type": "function"
|
726
|
-
},
|
727
652
|
{
|
728
653
|
"inputs": [],
|
729
654
|
"name": "getName",
|
@@ -776,19 +701,6 @@
|
|
776
701
|
"stateMutability": "view",
|
777
702
|
"type": "function"
|
778
703
|
},
|
779
|
-
{
|
780
|
-
"inputs": [],
|
781
|
-
"name": "getProductService",
|
782
|
-
"outputs": [
|
783
|
-
{
|
784
|
-
"internalType": "contract IProductService",
|
785
|
-
"name": "",
|
786
|
-
"type": "address"
|
787
|
-
}
|
788
|
-
],
|
789
|
-
"stateMutability": "view",
|
790
|
-
"type": "function"
|
791
|
-
},
|
792
704
|
{
|
793
705
|
"inputs": [
|
794
706
|
{
|
@@ -834,25 +746,6 @@
|
|
834
746
|
"stateMutability": "view",
|
835
747
|
"type": "function"
|
836
748
|
},
|
837
|
-
{
|
838
|
-
"inputs": [
|
839
|
-
{
|
840
|
-
"internalType": "ObjectType",
|
841
|
-
"name": "domain",
|
842
|
-
"type": "uint8"
|
843
|
-
}
|
844
|
-
],
|
845
|
-
"name": "getServiceAddress",
|
846
|
-
"outputs": [
|
847
|
-
{
|
848
|
-
"internalType": "address",
|
849
|
-
"name": "service",
|
850
|
-
"type": "address"
|
851
|
-
}
|
852
|
-
],
|
853
|
-
"stateMutability": "view",
|
854
|
-
"type": "function"
|
855
|
-
},
|
856
749
|
{
|
857
750
|
"inputs": [],
|
858
751
|
"name": "getSetupInfo",
|
@@ -869,6 +762,23 @@
|
|
869
762
|
"name": "tokenHandler",
|
870
763
|
"type": "address"
|
871
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
|
+
},
|
872
782
|
{
|
873
783
|
"components": [
|
874
784
|
{
|
@@ -890,6 +800,11 @@
|
|
890
800
|
"internalType": "address",
|
891
801
|
"name": "wallet",
|
892
802
|
"type": "address"
|
803
|
+
},
|
804
|
+
{
|
805
|
+
"internalType": "uint256",
|
806
|
+
"name": "sumDistributionOwnerFees",
|
807
|
+
"type": "uint256"
|
893
808
|
}
|
894
809
|
],
|
895
810
|
"internalType": "struct ISetup.DistributionSetupInfo",
|
@@ -965,7 +880,7 @@
|
|
965
880
|
},
|
966
881
|
{
|
967
882
|
"internalType": "bytes",
|
968
|
-
"name": "
|
883
|
+
"name": "registryData",
|
969
884
|
"type": "bytes"
|
970
885
|
}
|
971
886
|
],
|
@@ -996,6 +911,23 @@
|
|
996
911
|
"name": "token",
|
997
912
|
"type": "address"
|
998
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
|
+
},
|
999
931
|
{
|
1000
932
|
"components": [
|
1001
933
|
{
|
@@ -1020,7 +952,7 @@
|
|
1020
952
|
},
|
1021
953
|
{
|
1022
954
|
"internalType": "bytes",
|
1023
|
-
"name": "
|
955
|
+
"name": "registryData",
|
1024
956
|
"type": "bytes"
|
1025
957
|
}
|
1026
958
|
],
|
@@ -1083,7 +1015,7 @@
|
|
1083
1015
|
},
|
1084
1016
|
{
|
1085
1017
|
"internalType": "bytes",
|
1086
|
-
"name": "
|
1018
|
+
"name": "registryData",
|
1087
1019
|
"type": "bytes"
|
1088
1020
|
}
|
1089
1021
|
],
|
@@ -1179,11 +1111,6 @@
|
|
1179
1111
|
},
|
1180
1112
|
{
|
1181
1113
|
"inputs": [
|
1182
|
-
{
|
1183
|
-
"internalType": "address",
|
1184
|
-
"name": "from",
|
1185
|
-
"type": "address"
|
1186
|
-
},
|
1187
1114
|
{
|
1188
1115
|
"internalType": "address",
|
1189
1116
|
"name": "to",
|
@@ -1195,7 +1122,7 @@
|
|
1195
1122
|
"type": "uint256"
|
1196
1123
|
}
|
1197
1124
|
],
|
1198
|
-
"name": "
|
1125
|
+
"name": "nftMint",
|
1199
1126
|
"outputs": [],
|
1200
1127
|
"stateMutability": "nonpayable",
|
1201
1128
|
"type": "function"
|
@@ -1203,17 +1130,22 @@
|
|
1203
1130
|
{
|
1204
1131
|
"inputs": [
|
1205
1132
|
{
|
1206
|
-
"internalType": "
|
1207
|
-
"name": "
|
1208
|
-
"type": "
|
1133
|
+
"internalType": "address",
|
1134
|
+
"name": "from",
|
1135
|
+
"type": "address"
|
1136
|
+
},
|
1137
|
+
{
|
1138
|
+
"internalType": "address",
|
1139
|
+
"name": "to",
|
1140
|
+
"type": "address"
|
1209
1141
|
},
|
1210
1142
|
{
|
1211
1143
|
"internalType": "uint256",
|
1212
|
-
"name": "
|
1144
|
+
"name": "tokenId",
|
1213
1145
|
"type": "uint256"
|
1214
1146
|
}
|
1215
1147
|
],
|
1216
|
-
"name": "
|
1148
|
+
"name": "nftTransferFrom",
|
1217
1149
|
"outputs": [],
|
1218
1150
|
"stateMutability": "nonpayable",
|
1219
1151
|
"type": "function"
|
@@ -1227,34 +1159,15 @@
|
|
1227
1159
|
},
|
1228
1160
|
{
|
1229
1161
|
"internalType": "uint256",
|
1230
|
-
"name": "
|
1162
|
+
"name": "feeAmount",
|
1231
1163
|
"type": "uint256"
|
1232
1164
|
}
|
1233
1165
|
],
|
1234
|
-
"name": "
|
1166
|
+
"name": "processRenewal",
|
1235
1167
|
"outputs": [],
|
1236
1168
|
"stateMutability": "nonpayable",
|
1237
1169
|
"type": "function"
|
1238
1170
|
},
|
1239
|
-
{
|
1240
|
-
"inputs": [
|
1241
|
-
{
|
1242
|
-
"internalType": "ReferralId",
|
1243
|
-
"name": "referralId",
|
1244
|
-
"type": "bytes8"
|
1245
|
-
}
|
1246
|
-
],
|
1247
|
-
"name": "referralIsValid",
|
1248
|
-
"outputs": [
|
1249
|
-
{
|
1250
|
-
"internalType": "bool",
|
1251
|
-
"name": "isValid",
|
1252
|
-
"type": "bool"
|
1253
|
-
}
|
1254
|
-
],
|
1255
|
-
"stateMutability": "view",
|
1256
|
-
"type": "function"
|
1257
|
-
},
|
1258
1171
|
{
|
1259
1172
|
"inputs": [
|
1260
1173
|
{
|
@@ -1283,6 +1196,23 @@
|
|
1283
1196
|
},
|
1284
1197
|
{
|
1285
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
|
+
},
|
1286
1216
|
{
|
1287
1217
|
"components": [
|
1288
1218
|
{
|