@etherisc/gif-next 0.0.2-eb98db7-932 → 0.0.2-ebf1a6b-485
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 +10 -89
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +67 -134
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +7 -73
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +46 -117
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +238 -96
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +11 -145
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +241 -112
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +15 -162
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +2 -2
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +84 -146
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +11 -0
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +149 -211
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +2 -2
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +79 -110
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +44 -33
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +17 -17
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +2 -2
- 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 +2 -2
- 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/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +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 +34 -23
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +9 -9
- 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 +535 -69
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +96 -32
- 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 +17 -6
- 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 +344 -6
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +11 -64
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +11 -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 +48 -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 +22 -11
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +6 -6
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +14 -3
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +2 -2
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- 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/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +2 -2
- 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 +24 -13
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +7 -7
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +2 -2
- 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/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 +3 -3
- 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 +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/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/ClaimId.sol/ClaimIdLib.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/NumberId.sol/NumberIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- 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/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/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/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/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/contracts/components/Component.sol +68 -88
- package/contracts/components/Distribution.sol +12 -6
- package/contracts/components/IComponent.sol +31 -17
- package/contracts/components/IDistributionComponent.sol +1 -14
- package/contracts/components/IPoolComponent.sol +89 -25
- package/contracts/components/IProductComponent.sol +3 -2
- package/contracts/components/Pool.sol +216 -92
- package/contracts/components/Product.sol +24 -20
- package/contracts/instance/BundleManager.sol +1 -1
- package/contracts/instance/InstanceService.sol +15 -1
- package/contracts/instance/module/IBundle.sol +2 -1
- package/contracts/instance/module/IDistribution.sol +2 -1
- package/contracts/instance/module/IPolicy.sol +26 -1
- package/contracts/instance/module/ISetup.sol +5 -7
- package/contracts/instance/service/ApplicationService.sol +121 -40
- package/contracts/instance/service/BundleService.sol +4 -3
- package/contracts/instance/service/DistributionService.sol +91 -43
- package/contracts/instance/service/IApplicationService.sol +7 -7
- package/contracts/instance/service/IBundleService.sol +3 -2
- package/contracts/instance/service/IDistributionService.sol +15 -2
- package/contracts/instance/service/IPolicyService.sol +1 -20
- package/contracts/instance/service/PolicyService.sol +31 -105
- package/contracts/registry/RegistryService.sol +5 -5
- package/contracts/shared/IService.sol +2 -0
- package/contracts/shared/Registerable.sol +2 -2
- package/contracts/types/RoleId.sol +7 -2
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/Timestamp.sol +12 -13
- 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",
|
@@ -418,32 +397,6 @@
|
|
418
397
|
"stateMutability": "view",
|
419
398
|
"type": "function"
|
420
399
|
},
|
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
400
|
{
|
448
401
|
"inputs": [],
|
449
402
|
"name": "getName",
|
@@ -496,19 +449,6 @@
|
|
496
449
|
"stateMutability": "view",
|
497
450
|
"type": "function"
|
498
451
|
},
|
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
452
|
{
|
513
453
|
"inputs": [],
|
514
454
|
"name": "getRegistry",
|
@@ -535,25 +475,6 @@
|
|
535
475
|
"stateMutability": "view",
|
536
476
|
"type": "function"
|
537
477
|
},
|
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
478
|
{
|
558
479
|
"inputs": [],
|
559
480
|
"name": "getToken",
|
@@ -619,7 +540,7 @@
|
|
619
540
|
},
|
620
541
|
{
|
621
542
|
"internalType": "bytes",
|
622
|
-
"name": "
|
543
|
+
"name": "registryData",
|
623
544
|
"type": "bytes"
|
624
545
|
}
|
625
546
|
],
|
@@ -682,7 +603,7 @@
|
|
682
603
|
},
|
683
604
|
{
|
684
605
|
"internalType": "bytes",
|
685
|
-
"name": "
|
606
|
+
"name": "registryData",
|
686
607
|
"type": "bytes"
|
687
608
|
}
|
688
609
|
],
|
@@ -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",
|
@@ -499,50 +478,6 @@
|
|
499
478
|
"stateMutability": "nonpayable",
|
500
479
|
"type": "function"
|
501
480
|
},
|
502
|
-
{
|
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",
|
536
|
-
"outputs": [
|
537
|
-
{
|
538
|
-
"internalType": "ReferralId",
|
539
|
-
"name": "referralId",
|
540
|
-
"type": "bytes8"
|
541
|
-
}
|
542
|
-
],
|
543
|
-
"stateMutability": "nonpayable",
|
544
|
-
"type": "function"
|
545
|
-
},
|
546
481
|
{
|
547
482
|
"inputs": [
|
548
483
|
{
|
@@ -674,32 +609,6 @@
|
|
674
609
|
"stateMutability": "view",
|
675
610
|
"type": "function"
|
676
611
|
},
|
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
612
|
{
|
704
613
|
"inputs": [],
|
705
614
|
"name": "getName",
|
@@ -752,19 +661,6 @@
|
|
752
661
|
"stateMutability": "view",
|
753
662
|
"type": "function"
|
754
663
|
},
|
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
664
|
{
|
769
665
|
"inputs": [
|
770
666
|
{
|
@@ -810,25 +706,6 @@
|
|
810
706
|
"stateMutability": "view",
|
811
707
|
"type": "function"
|
812
708
|
},
|
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
709
|
{
|
833
710
|
"inputs": [],
|
834
711
|
"name": "getSetupInfo",
|
@@ -845,6 +722,23 @@
|
|
845
722
|
"name": "tokenHandler",
|
846
723
|
"type": "address"
|
847
724
|
},
|
725
|
+
{
|
726
|
+
"components": [
|
727
|
+
{
|
728
|
+
"internalType": "UFixed",
|
729
|
+
"name": "fractionalFee",
|
730
|
+
"type": "uint256"
|
731
|
+
},
|
732
|
+
{
|
733
|
+
"internalType": "uint256",
|
734
|
+
"name": "fixedFee",
|
735
|
+
"type": "uint256"
|
736
|
+
}
|
737
|
+
],
|
738
|
+
"internalType": "struct Fee",
|
739
|
+
"name": "minDistributionOwnerFee",
|
740
|
+
"type": "tuple"
|
741
|
+
},
|
848
742
|
{
|
849
743
|
"components": [
|
850
744
|
{
|
@@ -866,6 +760,11 @@
|
|
866
760
|
"internalType": "address",
|
867
761
|
"name": "wallet",
|
868
762
|
"type": "address"
|
763
|
+
},
|
764
|
+
{
|
765
|
+
"internalType": "uint256",
|
766
|
+
"name": "sumDistributionFees",
|
767
|
+
"type": "uint256"
|
869
768
|
}
|
870
769
|
],
|
871
770
|
"internalType": "struct ISetup.DistributionSetupInfo",
|
@@ -941,7 +840,7 @@
|
|
941
840
|
},
|
942
841
|
{
|
943
842
|
"internalType": "bytes",
|
944
|
-
"name": "
|
843
|
+
"name": "registryData",
|
945
844
|
"type": "bytes"
|
946
845
|
}
|
947
846
|
],
|
@@ -972,6 +871,23 @@
|
|
972
871
|
"name": "token",
|
973
872
|
"type": "address"
|
974
873
|
},
|
874
|
+
{
|
875
|
+
"components": [
|
876
|
+
{
|
877
|
+
"internalType": "UFixed",
|
878
|
+
"name": "fractionalFee",
|
879
|
+
"type": "uint256"
|
880
|
+
},
|
881
|
+
{
|
882
|
+
"internalType": "uint256",
|
883
|
+
"name": "fixedFee",
|
884
|
+
"type": "uint256"
|
885
|
+
}
|
886
|
+
],
|
887
|
+
"internalType": "struct Fee",
|
888
|
+
"name": "minDistributionOwnerFee",
|
889
|
+
"type": "tuple"
|
890
|
+
},
|
975
891
|
{
|
976
892
|
"components": [
|
977
893
|
{
|
@@ -996,7 +912,7 @@
|
|
996
912
|
},
|
997
913
|
{
|
998
914
|
"internalType": "bytes",
|
999
|
-
"name": "
|
915
|
+
"name": "registryData",
|
1000
916
|
"type": "bytes"
|
1001
917
|
}
|
1002
918
|
],
|
@@ -1059,7 +975,7 @@
|
|
1059
975
|
},
|
1060
976
|
{
|
1061
977
|
"internalType": "bytes",
|
1062
|
-
"name": "
|
978
|
+
"name": "registryData",
|
1063
979
|
"type": "bytes"
|
1064
980
|
}
|
1065
981
|
],
|
@@ -1240,6 +1156,23 @@
|
|
1240
1156
|
},
|
1241
1157
|
{
|
1242
1158
|
"inputs": [
|
1159
|
+
{
|
1160
|
+
"components": [
|
1161
|
+
{
|
1162
|
+
"internalType": "UFixed",
|
1163
|
+
"name": "fractionalFee",
|
1164
|
+
"type": "uint256"
|
1165
|
+
},
|
1166
|
+
{
|
1167
|
+
"internalType": "uint256",
|
1168
|
+
"name": "fixedFee",
|
1169
|
+
"type": "uint256"
|
1170
|
+
}
|
1171
|
+
],
|
1172
|
+
"internalType": "struct Fee",
|
1173
|
+
"name": "minDistributionOwnerFee",
|
1174
|
+
"type": "tuple"
|
1175
|
+
},
|
1243
1176
|
{
|
1244
1177
|
"components": [
|
1245
1178
|
{
|
@@ -20,11 +20,6 @@
|
|
20
20
|
"internalType": "NftId",
|
21
21
|
"name": "instanceNftId",
|
22
22
|
"type": "uint96"
|
23
|
-
},
|
24
|
-
{
|
25
|
-
"internalType": "address",
|
26
|
-
"name": "instance",
|
27
|
-
"type": "address"
|
28
23
|
}
|
29
24
|
],
|
30
25
|
"name": "ErrorComponentNotInstance",
|
@@ -47,29 +42,7 @@
|
|
47
42
|
"type": "error"
|
48
43
|
},
|
49
44
|
{
|
50
|
-
"inputs": [
|
51
|
-
{
|
52
|
-
"internalType": "address",
|
53
|
-
"name": "caller",
|
54
|
-
"type": "address"
|
55
|
-
},
|
56
|
-
{
|
57
|
-
"internalType": "uint64",
|
58
|
-
"name": "requiredRoleIdNum",
|
59
|
-
"type": "uint64"
|
60
|
-
}
|
61
|
-
],
|
62
|
-
"name": "ErrorComponentUnauthorized",
|
63
|
-
"type": "error"
|
64
|
-
},
|
65
|
-
{
|
66
|
-
"inputs": [
|
67
|
-
{
|
68
|
-
"internalType": "address",
|
69
|
-
"name": "newWallet",
|
70
|
-
"type": "address"
|
71
|
-
}
|
72
|
-
],
|
45
|
+
"inputs": [],
|
73
46
|
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
74
47
|
"type": "error"
|
75
48
|
},
|
@@ -156,6 +129,12 @@
|
|
156
129
|
{
|
157
130
|
"anonymous": false,
|
158
131
|
"inputs": [
|
132
|
+
{
|
133
|
+
"indexed": false,
|
134
|
+
"internalType": "address",
|
135
|
+
"name": "oldWallet",
|
136
|
+
"type": "address"
|
137
|
+
},
|
159
138
|
{
|
160
139
|
"indexed": false,
|
161
140
|
"internalType": "address",
|
@@ -254,19 +233,6 @@
|
|
254
233
|
"stateMutability": "view",
|
255
234
|
"type": "function"
|
256
235
|
},
|
257
|
-
{
|
258
|
-
"inputs": [],
|
259
|
-
"name": "getInstanceService",
|
260
|
-
"outputs": [
|
261
|
-
{
|
262
|
-
"internalType": "contract IInstanceService",
|
263
|
-
"name": "",
|
264
|
-
"type": "address"
|
265
|
-
}
|
266
|
-
],
|
267
|
-
"stateMutability": "view",
|
268
|
-
"type": "function"
|
269
|
-
},
|
270
236
|
{
|
271
237
|
"inputs": [],
|
272
238
|
"name": "getName",
|
@@ -319,19 +285,6 @@
|
|
319
285
|
"stateMutability": "view",
|
320
286
|
"type": "function"
|
321
287
|
},
|
322
|
-
{
|
323
|
-
"inputs": [],
|
324
|
-
"name": "getProductService",
|
325
|
-
"outputs": [
|
326
|
-
{
|
327
|
-
"internalType": "contract IProductService",
|
328
|
-
"name": "",
|
329
|
-
"type": "address"
|
330
|
-
}
|
331
|
-
],
|
332
|
-
"stateMutability": "view",
|
333
|
-
"type": "function"
|
334
|
-
},
|
335
288
|
{
|
336
289
|
"inputs": [],
|
337
290
|
"name": "getRegistry",
|
@@ -358,25 +311,6 @@
|
|
358
311
|
"stateMutability": "view",
|
359
312
|
"type": "function"
|
360
313
|
},
|
361
|
-
{
|
362
|
-
"inputs": [
|
363
|
-
{
|
364
|
-
"internalType": "ObjectType",
|
365
|
-
"name": "domain",
|
366
|
-
"type": "uint8"
|
367
|
-
}
|
368
|
-
],
|
369
|
-
"name": "getServiceAddress",
|
370
|
-
"outputs": [
|
371
|
-
{
|
372
|
-
"internalType": "address",
|
373
|
-
"name": "service",
|
374
|
-
"type": "address"
|
375
|
-
}
|
376
|
-
],
|
377
|
-
"stateMutability": "view",
|
378
|
-
"type": "function"
|
379
|
-
},
|
380
314
|
{
|
381
315
|
"inputs": [],
|
382
316
|
"name": "getToken",
|