@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
package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json
CHANGED
@@ -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",
|
@@ -322,50 +301,6 @@
|
|
322
301
|
"stateMutability": "nonpayable",
|
323
302
|
"type": "function"
|
324
303
|
},
|
325
|
-
{
|
326
|
-
"inputs": [
|
327
|
-
{
|
328
|
-
"internalType": "NftId",
|
329
|
-
"name": "distributorNftId",
|
330
|
-
"type": "uint96"
|
331
|
-
},
|
332
|
-
{
|
333
|
-
"internalType": "string",
|
334
|
-
"name": "code",
|
335
|
-
"type": "string"
|
336
|
-
},
|
337
|
-
{
|
338
|
-
"internalType": "UFixed",
|
339
|
-
"name": "discountPercentage",
|
340
|
-
"type": "uint256"
|
341
|
-
},
|
342
|
-
{
|
343
|
-
"internalType": "uint32",
|
344
|
-
"name": "maxReferrals",
|
345
|
-
"type": "uint32"
|
346
|
-
},
|
347
|
-
{
|
348
|
-
"internalType": "Timestamp",
|
349
|
-
"name": "expiryAt",
|
350
|
-
"type": "uint40"
|
351
|
-
},
|
352
|
-
{
|
353
|
-
"internalType": "bytes",
|
354
|
-
"name": "data",
|
355
|
-
"type": "bytes"
|
356
|
-
}
|
357
|
-
],
|
358
|
-
"name": "createReferral",
|
359
|
-
"outputs": [
|
360
|
-
{
|
361
|
-
"internalType": "ReferralId",
|
362
|
-
"name": "referralId",
|
363
|
-
"type": "bytes8"
|
364
|
-
}
|
365
|
-
],
|
366
|
-
"stateMutability": "nonpayable",
|
367
|
-
"type": "function"
|
368
|
-
},
|
369
304
|
{
|
370
305
|
"inputs": [
|
371
306
|
{
|
@@ -478,19 +413,6 @@
|
|
478
413
|
"stateMutability": "view",
|
479
414
|
"type": "function"
|
480
415
|
},
|
481
|
-
{
|
482
|
-
"inputs": [],
|
483
|
-
"name": "getInstanceService",
|
484
|
-
"outputs": [
|
485
|
-
{
|
486
|
-
"internalType": "contract IInstanceService",
|
487
|
-
"name": "",
|
488
|
-
"type": "address"
|
489
|
-
}
|
490
|
-
],
|
491
|
-
"stateMutability": "view",
|
492
|
-
"type": "function"
|
493
|
-
},
|
494
416
|
{
|
495
417
|
"inputs": [],
|
496
418
|
"name": "getName",
|
@@ -543,19 +465,6 @@
|
|
543
465
|
"stateMutability": "view",
|
544
466
|
"type": "function"
|
545
467
|
},
|
546
|
-
{
|
547
|
-
"inputs": [],
|
548
|
-
"name": "getProductService",
|
549
|
-
"outputs": [
|
550
|
-
{
|
551
|
-
"internalType": "contract IProductService",
|
552
|
-
"name": "",
|
553
|
-
"type": "address"
|
554
|
-
}
|
555
|
-
],
|
556
|
-
"stateMutability": "view",
|
557
|
-
"type": "function"
|
558
|
-
},
|
559
468
|
{
|
560
469
|
"inputs": [
|
561
470
|
{
|
@@ -601,25 +510,6 @@
|
|
601
510
|
"stateMutability": "view",
|
602
511
|
"type": "function"
|
603
512
|
},
|
604
|
-
{
|
605
|
-
"inputs": [
|
606
|
-
{
|
607
|
-
"internalType": "ObjectType",
|
608
|
-
"name": "domain",
|
609
|
-
"type": "uint8"
|
610
|
-
}
|
611
|
-
],
|
612
|
-
"name": "getServiceAddress",
|
613
|
-
"outputs": [
|
614
|
-
{
|
615
|
-
"internalType": "address",
|
616
|
-
"name": "service",
|
617
|
-
"type": "address"
|
618
|
-
}
|
619
|
-
],
|
620
|
-
"stateMutability": "view",
|
621
|
-
"type": "function"
|
622
|
-
},
|
623
513
|
{
|
624
514
|
"inputs": [],
|
625
515
|
"name": "getSetupInfo",
|
@@ -636,6 +526,23 @@
|
|
636
526
|
"name": "tokenHandler",
|
637
527
|
"type": "address"
|
638
528
|
},
|
529
|
+
{
|
530
|
+
"components": [
|
531
|
+
{
|
532
|
+
"internalType": "UFixed",
|
533
|
+
"name": "fractionalFee",
|
534
|
+
"type": "uint256"
|
535
|
+
},
|
536
|
+
{
|
537
|
+
"internalType": "uint256",
|
538
|
+
"name": "fixedFee",
|
539
|
+
"type": "uint256"
|
540
|
+
}
|
541
|
+
],
|
542
|
+
"internalType": "struct Fee",
|
543
|
+
"name": "minDistributionOwnerFee",
|
544
|
+
"type": "tuple"
|
545
|
+
},
|
639
546
|
{
|
640
547
|
"components": [
|
641
548
|
{
|
@@ -657,6 +564,11 @@
|
|
657
564
|
"internalType": "address",
|
658
565
|
"name": "wallet",
|
659
566
|
"type": "address"
|
567
|
+
},
|
568
|
+
{
|
569
|
+
"internalType": "uint256",
|
570
|
+
"name": "sumDistributionFees",
|
571
|
+
"type": "uint256"
|
660
572
|
}
|
661
573
|
],
|
662
574
|
"internalType": "struct ISetup.DistributionSetupInfo",
|
@@ -794,6 +706,23 @@
|
|
794
706
|
},
|
795
707
|
{
|
796
708
|
"inputs": [
|
709
|
+
{
|
710
|
+
"components": [
|
711
|
+
{
|
712
|
+
"internalType": "UFixed",
|
713
|
+
"name": "fractionalFee",
|
714
|
+
"type": "uint256"
|
715
|
+
},
|
716
|
+
{
|
717
|
+
"internalType": "uint256",
|
718
|
+
"name": "fixedFee",
|
719
|
+
"type": "uint256"
|
720
|
+
}
|
721
|
+
],
|
722
|
+
"internalType": "struct Fee",
|
723
|
+
"name": "minDistributionOwnerFee",
|
724
|
+
"type": "tuple"
|
725
|
+
},
|
797
726
|
{
|
798
727
|
"components": [
|
799
728
|
{
|
@@ -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
|
},
|
@@ -153,11 +126,43 @@
|
|
153
126
|
"name": "ErrorNotRegistry",
|
154
127
|
"type": "error"
|
155
128
|
},
|
129
|
+
{
|
130
|
+
"inputs": [
|
131
|
+
{
|
132
|
+
"internalType": "NftId",
|
133
|
+
"name": "applicationNftId",
|
134
|
+
"type": "uint96"
|
135
|
+
}
|
136
|
+
],
|
137
|
+
"name": "ErrorPoolApplicationBundleMismatch",
|
138
|
+
"type": "error"
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"inputs": [],
|
142
|
+
"name": "ErrorPoolBundleOwnerRoleAlreadySet",
|
143
|
+
"type": "error"
|
144
|
+
},
|
145
|
+
{
|
146
|
+
"inputs": [
|
147
|
+
{
|
148
|
+
"internalType": "NftId",
|
149
|
+
"name": "bundleNftId",
|
150
|
+
"type": "uint96"
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"internalType": "address",
|
154
|
+
"name": "caller",
|
155
|
+
"type": "address"
|
156
|
+
}
|
157
|
+
],
|
158
|
+
"name": "ErrorPoolNotBundleOwner",
|
159
|
+
"type": "error"
|
160
|
+
},
|
156
161
|
{
|
157
162
|
"inputs": [
|
158
163
|
{
|
159
164
|
"internalType": "address",
|
160
|
-
"name": "
|
165
|
+
"name": "caller",
|
161
166
|
"type": "address"
|
162
167
|
}
|
163
168
|
],
|
@@ -167,6 +172,12 @@
|
|
167
172
|
{
|
168
173
|
"anonymous": false,
|
169
174
|
"inputs": [
|
175
|
+
{
|
176
|
+
"indexed": false,
|
177
|
+
"internalType": "address",
|
178
|
+
"name": "oldWallet",
|
179
|
+
"type": "address"
|
180
|
+
},
|
170
181
|
{
|
171
182
|
"indexed": false,
|
172
183
|
"internalType": "address",
|
@@ -207,26 +218,141 @@
|
|
207
218
|
"inputs": [
|
208
219
|
{
|
209
220
|
"indexed": false,
|
210
|
-
"internalType": "
|
211
|
-
"name": "
|
212
|
-
"type": "
|
221
|
+
"internalType": "uint256",
|
222
|
+
"name": "previousMaxCapitalAmount",
|
223
|
+
"type": "uint256"
|
213
224
|
},
|
214
225
|
{
|
215
226
|
"indexed": false,
|
216
227
|
"internalType": "uint256",
|
217
|
-
"name": "
|
228
|
+
"name": "currentMaxCapitalAmount",
|
218
229
|
"type": "uint256"
|
219
|
-
}
|
230
|
+
}
|
231
|
+
],
|
232
|
+
"name": "LogPoolBundleMaxCapitalAmountUpdated",
|
233
|
+
"type": "event"
|
234
|
+
},
|
235
|
+
{
|
236
|
+
"anonymous": false,
|
237
|
+
"inputs": [
|
238
|
+
{
|
239
|
+
"indexed": false,
|
240
|
+
"internalType": "RoleId",
|
241
|
+
"name": "bundleOwnerRole",
|
242
|
+
"type": "uint64"
|
243
|
+
}
|
244
|
+
],
|
245
|
+
"name": "LogPoolBundleOwnerRoleSet",
|
246
|
+
"type": "event"
|
247
|
+
},
|
248
|
+
{
|
249
|
+
"anonymous": false,
|
250
|
+
"inputs": [
|
220
251
|
{
|
221
252
|
"indexed": false,
|
222
253
|
"internalType": "address",
|
223
254
|
"name": "pool",
|
224
255
|
"type": "address"
|
256
|
+
},
|
257
|
+
{
|
258
|
+
"indexed": false,
|
259
|
+
"internalType": "NftId",
|
260
|
+
"name": "applicationNftId",
|
261
|
+
"type": "uint96"
|
262
|
+
},
|
263
|
+
{
|
264
|
+
"indexed": false,
|
265
|
+
"internalType": "uint256",
|
266
|
+
"name": "collateralizationAmount",
|
267
|
+
"type": "uint256"
|
225
268
|
}
|
226
269
|
],
|
227
|
-
"name": "
|
270
|
+
"name": "LogPoolVerifiedByPool",
|
228
271
|
"type": "event"
|
229
272
|
},
|
273
|
+
{
|
274
|
+
"inputs": [
|
275
|
+
{
|
276
|
+
"internalType": "NftId",
|
277
|
+
"name": "applicationNftId",
|
278
|
+
"type": "uint96"
|
279
|
+
},
|
280
|
+
{
|
281
|
+
"internalType": "bytes",
|
282
|
+
"name": "applicationData",
|
283
|
+
"type": "bytes"
|
284
|
+
},
|
285
|
+
{
|
286
|
+
"internalType": "NftId",
|
287
|
+
"name": "bundleNftId",
|
288
|
+
"type": "uint96"
|
289
|
+
},
|
290
|
+
{
|
291
|
+
"internalType": "bytes",
|
292
|
+
"name": "bundleFilter",
|
293
|
+
"type": "bytes"
|
294
|
+
},
|
295
|
+
{
|
296
|
+
"internalType": "uint256",
|
297
|
+
"name": "collateralizationAmount",
|
298
|
+
"type": "uint256"
|
299
|
+
}
|
300
|
+
],
|
301
|
+
"name": "applicationMatchesBundle",
|
302
|
+
"outputs": [
|
303
|
+
{
|
304
|
+
"internalType": "bool",
|
305
|
+
"name": "isMatching",
|
306
|
+
"type": "bool"
|
307
|
+
}
|
308
|
+
],
|
309
|
+
"stateMutability": "view",
|
310
|
+
"type": "function"
|
311
|
+
},
|
312
|
+
{
|
313
|
+
"inputs": [
|
314
|
+
{
|
315
|
+
"internalType": "NftId",
|
316
|
+
"name": "bundleNftId",
|
317
|
+
"type": "uint96"
|
318
|
+
}
|
319
|
+
],
|
320
|
+
"name": "close",
|
321
|
+
"outputs": [],
|
322
|
+
"stateMutability": "nonpayable",
|
323
|
+
"type": "function"
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"inputs": [
|
327
|
+
{
|
328
|
+
"internalType": "NftId",
|
329
|
+
"name": "bundleNftId",
|
330
|
+
"type": "uint96"
|
331
|
+
},
|
332
|
+
{
|
333
|
+
"internalType": "Seconds",
|
334
|
+
"name": "lifetimeExtension",
|
335
|
+
"type": "uint40"
|
336
|
+
}
|
337
|
+
],
|
338
|
+
"name": "extend",
|
339
|
+
"outputs": [],
|
340
|
+
"stateMutability": "nonpayable",
|
341
|
+
"type": "function"
|
342
|
+
},
|
343
|
+
{
|
344
|
+
"inputs": [],
|
345
|
+
"name": "getBundleOwnerRole",
|
346
|
+
"outputs": [
|
347
|
+
{
|
348
|
+
"internalType": "RoleId",
|
349
|
+
"name": "bundleOwnerRole",
|
350
|
+
"type": "uint64"
|
351
|
+
}
|
352
|
+
],
|
353
|
+
"stateMutability": "view",
|
354
|
+
"type": "function"
|
355
|
+
},
|
230
356
|
{
|
231
357
|
"inputs": [],
|
232
358
|
"name": "getCollateralizationLevel",
|
@@ -305,12 +431,12 @@
|
|
305
431
|
},
|
306
432
|
{
|
307
433
|
"inputs": [],
|
308
|
-
"name": "
|
434
|
+
"name": "getMaxCapitalAmount",
|
309
435
|
"outputs": [
|
310
436
|
{
|
311
|
-
"internalType": "
|
312
|
-
"name": "",
|
313
|
-
"type": "
|
437
|
+
"internalType": "uint256",
|
438
|
+
"name": "maxCapitalAmount",
|
439
|
+
"type": "uint256"
|
314
440
|
}
|
315
441
|
],
|
316
442
|
"stateMutability": "view",
|
@@ -368,19 +494,6 @@
|
|
368
494
|
"stateMutability": "view",
|
369
495
|
"type": "function"
|
370
496
|
},
|
371
|
-
{
|
372
|
-
"inputs": [],
|
373
|
-
"name": "getProductService",
|
374
|
-
"outputs": [
|
375
|
-
{
|
376
|
-
"internalType": "contract IProductService",
|
377
|
-
"name": "",
|
378
|
-
"type": "address"
|
379
|
-
}
|
380
|
-
],
|
381
|
-
"stateMutability": "view",
|
382
|
-
"type": "function"
|
383
|
-
},
|
384
497
|
{
|
385
498
|
"inputs": [],
|
386
499
|
"name": "getRegistry",
|
@@ -420,25 +533,6 @@
|
|
420
533
|
"stateMutability": "view",
|
421
534
|
"type": "function"
|
422
535
|
},
|
423
|
-
{
|
424
|
-
"inputs": [
|
425
|
-
{
|
426
|
-
"internalType": "ObjectType",
|
427
|
-
"name": "domain",
|
428
|
-
"type": "uint8"
|
429
|
-
}
|
430
|
-
],
|
431
|
-
"name": "getServiceAddress",
|
432
|
-
"outputs": [
|
433
|
-
{
|
434
|
-
"internalType": "address",
|
435
|
-
"name": "service",
|
436
|
-
"type": "address"
|
437
|
-
}
|
438
|
-
],
|
439
|
-
"stateMutability": "view",
|
440
|
-
"type": "function"
|
441
|
-
},
|
442
536
|
{
|
443
537
|
"inputs": [],
|
444
538
|
"name": "getSetupInfo",
|
@@ -455,6 +549,11 @@
|
|
455
549
|
"name": "tokenHandler",
|
456
550
|
"type": "address"
|
457
551
|
},
|
552
|
+
{
|
553
|
+
"internalType": "uint256",
|
554
|
+
"name": "maxCapitalAmount",
|
555
|
+
"type": "uint256"
|
556
|
+
},
|
458
557
|
{
|
459
558
|
"internalType": "bool",
|
460
559
|
"name": "isInterceptingBundleTransfers",
|
@@ -673,30 +772,6 @@
|
|
673
772
|
"stateMutability": "nonpayable",
|
674
773
|
"type": "function"
|
675
774
|
},
|
676
|
-
{
|
677
|
-
"inputs": [
|
678
|
-
{
|
679
|
-
"internalType": "bytes",
|
680
|
-
"name": "policyData",
|
681
|
-
"type": "bytes"
|
682
|
-
},
|
683
|
-
{
|
684
|
-
"internalType": "bytes",
|
685
|
-
"name": "bundleFilter",
|
686
|
-
"type": "bytes"
|
687
|
-
}
|
688
|
-
],
|
689
|
-
"name": "policyMatchesBundle",
|
690
|
-
"outputs": [
|
691
|
-
{
|
692
|
-
"internalType": "bool",
|
693
|
-
"name": "isMatching",
|
694
|
-
"type": "bool"
|
695
|
-
}
|
696
|
-
],
|
697
|
-
"stateMutability": "view",
|
698
|
-
"type": "function"
|
699
|
-
},
|
700
775
|
{
|
701
776
|
"inputs": [
|
702
777
|
{
|
@@ -727,6 +802,19 @@
|
|
727
802
|
"stateMutability": "nonpayable",
|
728
803
|
"type": "function"
|
729
804
|
},
|
805
|
+
{
|
806
|
+
"inputs": [
|
807
|
+
{
|
808
|
+
"internalType": "RoleId",
|
809
|
+
"name": "bundleOwnerRole",
|
810
|
+
"type": "uint64"
|
811
|
+
}
|
812
|
+
],
|
813
|
+
"name": "setBundleOwnerRole",
|
814
|
+
"outputs": [],
|
815
|
+
"stateMutability": "nonpayable",
|
816
|
+
"type": "function"
|
817
|
+
},
|
730
818
|
{
|
731
819
|
"inputs": [
|
732
820
|
{
|
@@ -786,6 +874,19 @@
|
|
786
874
|
"stateMutability": "nonpayable",
|
787
875
|
"type": "function"
|
788
876
|
},
|
877
|
+
{
|
878
|
+
"inputs": [
|
879
|
+
{
|
880
|
+
"internalType": "uint256",
|
881
|
+
"name": "maxCapitalAmount",
|
882
|
+
"type": "uint256"
|
883
|
+
}
|
884
|
+
],
|
885
|
+
"name": "setMaxCapitalAmount",
|
886
|
+
"outputs": [],
|
887
|
+
"stateMutability": "nonpayable",
|
888
|
+
"type": "function"
|
889
|
+
},
|
789
890
|
{
|
790
891
|
"inputs": [
|
791
892
|
{
|
@@ -812,6 +913,24 @@
|
|
812
913
|
"stateMutability": "nonpayable",
|
813
914
|
"type": "function"
|
814
915
|
},
|
916
|
+
{
|
917
|
+
"inputs": [
|
918
|
+
{
|
919
|
+
"internalType": "NftId",
|
920
|
+
"name": "bundleNftId",
|
921
|
+
"type": "uint96"
|
922
|
+
},
|
923
|
+
{
|
924
|
+
"internalType": "uint256",
|
925
|
+
"name": "amount",
|
926
|
+
"type": "uint256"
|
927
|
+
}
|
928
|
+
],
|
929
|
+
"name": "stake",
|
930
|
+
"outputs": [],
|
931
|
+
"stateMutability": "nonpayable",
|
932
|
+
"type": "function"
|
933
|
+
},
|
815
934
|
{
|
816
935
|
"inputs": [
|
817
936
|
{
|
@@ -851,6 +970,24 @@
|
|
851
970
|
"stateMutability": "nonpayable",
|
852
971
|
"type": "function"
|
853
972
|
},
|
973
|
+
{
|
974
|
+
"inputs": [
|
975
|
+
{
|
976
|
+
"internalType": "NftId",
|
977
|
+
"name": "bundleNftId",
|
978
|
+
"type": "uint96"
|
979
|
+
},
|
980
|
+
{
|
981
|
+
"internalType": "uint256",
|
982
|
+
"name": "amount",
|
983
|
+
"type": "uint256"
|
984
|
+
}
|
985
|
+
],
|
986
|
+
"name": "unstake",
|
987
|
+
"outputs": [],
|
988
|
+
"stateMutability": "nonpayable",
|
989
|
+
"type": "function"
|
990
|
+
},
|
854
991
|
{
|
855
992
|
"inputs": [
|
856
993
|
{
|
@@ -860,9 +997,14 @@
|
|
860
997
|
},
|
861
998
|
{
|
862
999
|
"internalType": "bytes",
|
863
|
-
"name": "
|
1000
|
+
"name": "applicationData",
|
864
1001
|
"type": "bytes"
|
865
1002
|
},
|
1003
|
+
{
|
1004
|
+
"internalType": "NftId",
|
1005
|
+
"name": "bundleNftId",
|
1006
|
+
"type": "uint96"
|
1007
|
+
},
|
866
1008
|
{
|
867
1009
|
"internalType": "bytes",
|
868
1010
|
"name": "bundleFilter",
|