@etherisc/gif-next 0.0.2-d086e6d-456 → 0.0.2-d1f0662-893
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +6 -88
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +37 -6
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +60 -13
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +37 -6
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +44 -13
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +55 -24
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +52 -21
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +55 -24
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +52 -21
- 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 +309 -2023
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +21 -62
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +424 -2776
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +95 -58
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +331 -51
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +71 -215
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +38 -83
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2788 -0
- 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 +25 -36
- 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 +8 -8
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +6 -6
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +6 -6
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.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 +106 -246
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +38 -55
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +166 -136
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +38 -59
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +623 -91
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +143 -32
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +185 -451
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +82 -107
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +38 -191
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +97 -45
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +306 -62
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +34 -297
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +124 -103
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +269 -60
- package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.json +510 -0
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +5 -37
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +332 -162
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +104 -53
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +442 -84
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +90 -39
- package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +1004 -0
- package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +688 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +56 -59
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +28 -37
- 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 +5 -37
- 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 +22 -49
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +21 -34
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +23 -11
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +10 -23
- package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/{instance → shared}/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +3 -3
- 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/INftOwnable.sol/INftOwnable.json +0 -13
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +69 -9
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +0 -13
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +5 -37
- 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 +6 -19
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +80 -26
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +14 -27
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +6 -19
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +11 -38
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
- 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/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 +6 -19
- 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 +26 -49
- 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/Amount.sol/AmountLib.dbg.json +1 -1
- package/artifacts/contracts/types/Amount.sol/AmountLib.json +124 -4
- 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/ClaimId.sol/ClaimIdLib.json +83 -4
- 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 +42 -18
- 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 +2 -2
- 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/PayoutId.sol/PayoutIdLib.json +116 -7
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +2 -2
- 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 +1 -1
- 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 +17 -4
- 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 +21 -2
- package/contracts/components/Distribution.sol +11 -6
- package/contracts/components/IComponent.sol +16 -2
- package/contracts/components/IPoolComponent.sol +8 -7
- package/contracts/components/IProductComponent.sol +5 -4
- package/contracts/components/Pool.sol +11 -12
- package/contracts/components/Product.sol +144 -62
- package/contracts/instance/BundleManager.sol +3 -4
- package/contracts/instance/IInstance.sol +32 -53
- package/contracts/instance/IInstanceService.sol +15 -14
- package/contracts/instance/Instance.sol +107 -205
- package/contracts/instance/InstanceAccessManager.sol +44 -25
- package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
- package/contracts/instance/InstanceReader.sol +84 -7
- package/contracts/instance/InstanceService.sol +102 -289
- package/contracts/instance/InstanceStore.sol +212 -0
- package/contracts/instance/ObjectManager.sol +1 -1
- package/contracts/instance/base/ComponentService.sol +53 -41
- package/contracts/instance/base/KeyValueStore.sol +0 -31
- package/contracts/instance/base/Lifecycle.sol +15 -4
- package/contracts/instance/module/IAccess.sol +2 -2
- package/contracts/instance/module/IComponents.sol +3 -3
- package/contracts/instance/module/IDistribution.sol +3 -2
- package/contracts/instance/module/IPolicy.sol +13 -8
- package/contracts/instance/service/ApplicationService.sol +60 -224
- package/contracts/instance/service/BundleService.sol +73 -122
- package/contracts/instance/service/ClaimService.sol +318 -32
- package/contracts/instance/service/DistributionService.sol +64 -151
- package/contracts/instance/service/IApplicationService.sol +8 -28
- package/contracts/instance/service/IBundleService.sol +34 -9
- package/contracts/instance/service/IClaimService.sol +52 -23
- package/contracts/instance/service/IDistributionService.sol +11 -22
- package/contracts/instance/service/IPolicyService.sol +24 -16
- package/contracts/instance/service/IPoolService.sol +18 -3
- package/contracts/instance/service/IPricingService.sol +37 -0
- package/contracts/instance/service/PolicyService.sol +134 -118
- package/contracts/instance/service/PoolService.sol +124 -64
- package/contracts/instance/service/PricingService.sol +275 -0
- package/contracts/instance/service/PricingServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +14 -14
- package/contracts/registry/IRegistryService.sol +0 -2
- package/contracts/registry/RegistryService.sol +16 -15
- package/contracts/registry/ReleaseManager.sol +20 -18
- package/contracts/shared/IPolicyHolder.sol +23 -9
- package/contracts/shared/IRegistryLinked.sol +0 -1
- package/contracts/shared/IService.sol +3 -6
- package/contracts/shared/NftOwnable.sol +0 -2
- package/contracts/shared/PolicyHolder.sol +30 -17
- package/contracts/shared/Registerable.sol +10 -9
- package/contracts/shared/RegistryLinked.sol +0 -5
- package/contracts/shared/Service.sol +16 -7
- package/contracts/shared/TokenHandler.sol +4 -2
- package/contracts/test/TestService.sol +1 -1
- package/contracts/types/Amount.sol +49 -0
- package/contracts/types/ClaimId.sol +25 -2
- package/contracts/types/Fee.sol +7 -6
- package/contracts/types/ObjectType.sol +9 -5
- package/contracts/types/PayoutId.sol +33 -5
- package/contracts/types/StateId.sol +6 -2
- package/contracts/types/Timestamp.sol +5 -0
- package/package.json +1 -1
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
- /package/contracts/{instance → shared}/AccessManagerUpgradeableInitializeable.sol +0 -0
@@ -115,6 +115,11 @@
|
|
115
115
|
"name": "ErrorComponentWalletAllowanceTooSmall",
|
116
116
|
"type": "error"
|
117
117
|
},
|
118
|
+
{
|
119
|
+
"inputs": [],
|
120
|
+
"name": "ErrorComponentWalletNotComponent",
|
121
|
+
"type": "error"
|
122
|
+
},
|
118
123
|
{
|
119
124
|
"inputs": [
|
120
125
|
{
|
@@ -215,6 +220,19 @@
|
|
215
220
|
"name": "AuthorityUpdated",
|
216
221
|
"type": "event"
|
217
222
|
},
|
223
|
+
{
|
224
|
+
"anonymous": false,
|
225
|
+
"inputs": [
|
226
|
+
{
|
227
|
+
"indexed": false,
|
228
|
+
"internalType": "uint256",
|
229
|
+
"name": "limit",
|
230
|
+
"type": "uint256"
|
231
|
+
}
|
232
|
+
],
|
233
|
+
"name": "LogComponentTokenHandlerApproved",
|
234
|
+
"type": "event"
|
235
|
+
},
|
218
236
|
{
|
219
237
|
"anonymous": false,
|
220
238
|
"inputs": [
|
@@ -276,9 +294,9 @@
|
|
276
294
|
},
|
277
295
|
{
|
278
296
|
"indexed": false,
|
279
|
-
"internalType": "
|
297
|
+
"internalType": "Amount",
|
280
298
|
"name": "collateralizationAmount",
|
281
|
-
"type": "
|
299
|
+
"type": "uint96"
|
282
300
|
}
|
283
301
|
],
|
284
302
|
"name": "LogPoolVerifiedByPool",
|
@@ -307,9 +325,9 @@
|
|
307
325
|
"type": "bytes"
|
308
326
|
},
|
309
327
|
{
|
310
|
-
"internalType": "
|
328
|
+
"internalType": "Amount",
|
311
329
|
"name": "collateralizationAmount",
|
312
|
-
"type": "
|
330
|
+
"type": "uint96"
|
313
331
|
}
|
314
332
|
],
|
315
333
|
"name": "applicationMatchesBundle",
|
@@ -323,6 +341,19 @@
|
|
323
341
|
"stateMutability": "view",
|
324
342
|
"type": "function"
|
325
343
|
},
|
344
|
+
{
|
345
|
+
"inputs": [
|
346
|
+
{
|
347
|
+
"internalType": "uint256",
|
348
|
+
"name": "spendingLimitAmount",
|
349
|
+
"type": "uint256"
|
350
|
+
}
|
351
|
+
],
|
352
|
+
"name": "approveTokenHandler",
|
353
|
+
"outputs": [],
|
354
|
+
"stateMutability": "nonpayable",
|
355
|
+
"type": "function"
|
356
|
+
},
|
326
357
|
{
|
327
358
|
"inputs": [],
|
328
359
|
"name": "authority",
|
@@ -536,19 +567,19 @@
|
|
536
567
|
"type": "uint64"
|
537
568
|
},
|
538
569
|
{
|
539
|
-
"internalType": "
|
570
|
+
"internalType": "Amount",
|
540
571
|
"name": "maxCapitalAmount",
|
541
|
-
"type": "
|
572
|
+
"type": "uint96"
|
542
573
|
},
|
543
574
|
{
|
544
|
-
"internalType": "
|
575
|
+
"internalType": "Amount",
|
545
576
|
"name": "balanceAmount",
|
546
|
-
"type": "
|
577
|
+
"type": "uint96"
|
547
578
|
},
|
548
579
|
{
|
549
|
-
"internalType": "
|
580
|
+
"internalType": "Amount",
|
550
581
|
"name": "feeAmount",
|
551
|
-
"type": "
|
582
|
+
"type": "uint96"
|
552
583
|
},
|
553
584
|
{
|
554
585
|
"internalType": "bool",
|
@@ -663,11 +694,11 @@
|
|
663
694
|
},
|
664
695
|
{
|
665
696
|
"inputs": [],
|
666
|
-
"name": "
|
697
|
+
"name": "getToken",
|
667
698
|
"outputs": [
|
668
699
|
{
|
669
|
-
"internalType": "
|
670
|
-
"name": "",
|
700
|
+
"internalType": "contract IERC20Metadata",
|
701
|
+
"name": "token",
|
671
702
|
"type": "address"
|
672
703
|
}
|
673
704
|
],
|
@@ -676,11 +707,11 @@
|
|
676
707
|
},
|
677
708
|
{
|
678
709
|
"inputs": [],
|
679
|
-
"name": "
|
710
|
+
"name": "getTokenHandler",
|
680
711
|
"outputs": [
|
681
712
|
{
|
682
|
-
"internalType": "contract
|
683
|
-
"name": "
|
713
|
+
"internalType": "contract TokenHandler",
|
714
|
+
"name": "tokenHandler",
|
684
715
|
"type": "address"
|
685
716
|
}
|
686
717
|
],
|
@@ -912,9 +943,9 @@
|
|
912
943
|
{
|
913
944
|
"inputs": [
|
914
945
|
{
|
915
|
-
"internalType": "
|
946
|
+
"internalType": "Amount",
|
916
947
|
"name": "maxCapitalAmount",
|
917
|
-
"type": "
|
948
|
+
"type": "uint96"
|
918
949
|
}
|
919
950
|
],
|
920
951
|
"name": "setMaxCapitalAmount",
|
@@ -956,9 +987,9 @@
|
|
956
987
|
"type": "uint96"
|
957
988
|
},
|
958
989
|
{
|
959
|
-
"internalType": "
|
990
|
+
"internalType": "Amount",
|
960
991
|
"name": "amount",
|
961
|
-
"type": "
|
992
|
+
"type": "uint96"
|
962
993
|
}
|
963
994
|
],
|
964
995
|
"name": "stake",
|
@@ -1013,9 +1044,9 @@
|
|
1013
1044
|
"type": "uint96"
|
1014
1045
|
},
|
1015
1046
|
{
|
1016
|
-
"internalType": "
|
1047
|
+
"internalType": "Amount",
|
1017
1048
|
"name": "amount",
|
1018
|
-
"type": "
|
1049
|
+
"type": "uint96"
|
1019
1050
|
}
|
1020
1051
|
],
|
1021
1052
|
"name": "unstake",
|
@@ -1046,9 +1077,9 @@
|
|
1046
1077
|
"type": "bytes"
|
1047
1078
|
},
|
1048
1079
|
{
|
1049
|
-
"internalType": "
|
1080
|
+
"internalType": "Amount",
|
1050
1081
|
"name": "collateralizationAmount",
|
1051
|
-
"type": "
|
1082
|
+
"type": "uint96"
|
1052
1083
|
}
|
1053
1084
|
],
|
1054
1085
|
"name": "verifyApplication",
|
@@ -115,6 +115,11 @@
|
|
115
115
|
"name": "ErrorComponentWalletAllowanceTooSmall",
|
116
116
|
"type": "error"
|
117
117
|
},
|
118
|
+
{
|
119
|
+
"inputs": [],
|
120
|
+
"name": "ErrorComponentWalletNotComponent",
|
121
|
+
"type": "error"
|
122
|
+
},
|
118
123
|
{
|
119
124
|
"inputs": [
|
120
125
|
{
|
@@ -177,6 +182,19 @@
|
|
177
182
|
"name": "AuthorityUpdated",
|
178
183
|
"type": "event"
|
179
184
|
},
|
185
|
+
{
|
186
|
+
"anonymous": false,
|
187
|
+
"inputs": [
|
188
|
+
{
|
189
|
+
"indexed": false,
|
190
|
+
"internalType": "uint256",
|
191
|
+
"name": "limit",
|
192
|
+
"type": "uint256"
|
193
|
+
}
|
194
|
+
],
|
195
|
+
"name": "LogComponentTokenHandlerApproved",
|
196
|
+
"type": "event"
|
197
|
+
},
|
180
198
|
{
|
181
199
|
"anonymous": false,
|
182
200
|
"inputs": [
|
@@ -221,6 +239,19 @@
|
|
221
239
|
"name": "LogComponentWalletTokensTransferred",
|
222
240
|
"type": "event"
|
223
241
|
},
|
242
|
+
{
|
243
|
+
"inputs": [
|
244
|
+
{
|
245
|
+
"internalType": "uint256",
|
246
|
+
"name": "spendingLimitAmount",
|
247
|
+
"type": "uint256"
|
248
|
+
}
|
249
|
+
],
|
250
|
+
"name": "approveTokenHandler",
|
251
|
+
"outputs": [],
|
252
|
+
"stateMutability": "nonpayable",
|
253
|
+
"type": "function"
|
254
|
+
},
|
224
255
|
{
|
225
256
|
"inputs": [],
|
226
257
|
"name": "authority",
|
@@ -237,9 +268,9 @@
|
|
237
268
|
{
|
238
269
|
"inputs": [
|
239
270
|
{
|
240
|
-
"internalType": "
|
271
|
+
"internalType": "Amount",
|
241
272
|
"name": "sumInsuredAmount",
|
242
|
-
"type": "
|
273
|
+
"type": "uint96"
|
243
274
|
},
|
244
275
|
{
|
245
276
|
"internalType": "RiskId",
|
@@ -260,9 +291,9 @@
|
|
260
291
|
"name": "calculateNetPremium",
|
261
292
|
"outputs": [
|
262
293
|
{
|
263
|
-
"internalType": "
|
294
|
+
"internalType": "Amount",
|
264
295
|
"name": "netPremiumAmount",
|
265
|
-
"type": "
|
296
|
+
"type": "uint96"
|
266
297
|
}
|
267
298
|
],
|
268
299
|
"stateMutability": "view",
|
@@ -271,9 +302,9 @@
|
|
271
302
|
{
|
272
303
|
"inputs": [
|
273
304
|
{
|
274
|
-
"internalType": "
|
305
|
+
"internalType": "Amount",
|
275
306
|
"name": "sumInsuredAmount",
|
276
|
-
"type": "
|
307
|
+
"type": "uint96"
|
277
308
|
},
|
278
309
|
{
|
279
310
|
"internalType": "RiskId",
|
@@ -304,9 +335,9 @@
|
|
304
335
|
"name": "calculatePremium",
|
305
336
|
"outputs": [
|
306
337
|
{
|
307
|
-
"internalType": "
|
338
|
+
"internalType": "Amount",
|
308
339
|
"name": "premiumAmount",
|
309
|
-
"type": "
|
340
|
+
"type": "uint96"
|
310
341
|
}
|
311
342
|
],
|
312
343
|
"stateMutability": "view",
|
@@ -516,19 +547,6 @@
|
|
516
547
|
"stateMutability": "view",
|
517
548
|
"type": "function"
|
518
549
|
},
|
519
|
-
{
|
520
|
-
"inputs": [],
|
521
|
-
"name": "getRegistryAddress",
|
522
|
-
"outputs": [
|
523
|
-
{
|
524
|
-
"internalType": "address",
|
525
|
-
"name": "",
|
526
|
-
"type": "address"
|
527
|
-
}
|
528
|
-
],
|
529
|
-
"stateMutability": "view",
|
530
|
-
"type": "function"
|
531
|
-
},
|
532
550
|
{
|
533
551
|
"inputs": [],
|
534
552
|
"name": "getSetupInfo",
|
@@ -621,6 +639,19 @@
|
|
621
639
|
"stateMutability": "view",
|
622
640
|
"type": "function"
|
623
641
|
},
|
642
|
+
{
|
643
|
+
"inputs": [],
|
644
|
+
"name": "getTokenHandler",
|
645
|
+
"outputs": [
|
646
|
+
{
|
647
|
+
"internalType": "contract TokenHandler",
|
648
|
+
"name": "tokenHandler",
|
649
|
+
"type": "address"
|
650
|
+
}
|
651
|
+
],
|
652
|
+
"stateMutability": "view",
|
653
|
+
"type": "function"
|
654
|
+
},
|
624
655
|
{
|
625
656
|
"inputs": [],
|
626
657
|
"name": "getWallet",
|
@@ -137,6 +137,11 @@
|
|
137
137
|
"name": "ErrorComponentWalletAllowanceTooSmall",
|
138
138
|
"type": "error"
|
139
139
|
},
|
140
|
+
{
|
141
|
+
"inputs": [],
|
142
|
+
"name": "ErrorComponentWalletNotComponent",
|
143
|
+
"type": "error"
|
144
|
+
},
|
140
145
|
{
|
141
146
|
"inputs": [
|
142
147
|
{
|
@@ -276,6 +281,19 @@
|
|
276
281
|
"name": "Initialized",
|
277
282
|
"type": "event"
|
278
283
|
},
|
284
|
+
{
|
285
|
+
"anonymous": false,
|
286
|
+
"inputs": [
|
287
|
+
{
|
288
|
+
"indexed": false,
|
289
|
+
"internalType": "uint256",
|
290
|
+
"name": "limit",
|
291
|
+
"type": "uint256"
|
292
|
+
}
|
293
|
+
],
|
294
|
+
"name": "LogComponentTokenHandlerApproved",
|
295
|
+
"type": "event"
|
296
|
+
},
|
279
297
|
{
|
280
298
|
"anonymous": false,
|
281
299
|
"inputs": [
|
@@ -337,9 +355,9 @@
|
|
337
355
|
},
|
338
356
|
{
|
339
357
|
"indexed": false,
|
340
|
-
"internalType": "
|
358
|
+
"internalType": "Amount",
|
341
359
|
"name": "collateralizationAmount",
|
342
|
-
"type": "
|
360
|
+
"type": "uint96"
|
343
361
|
}
|
344
362
|
],
|
345
363
|
"name": "LogPoolVerifiedByPool",
|
@@ -420,9 +438,9 @@
|
|
420
438
|
"type": "bytes"
|
421
439
|
},
|
422
440
|
{
|
423
|
-
"internalType": "
|
441
|
+
"internalType": "Amount",
|
424
442
|
"name": "collateralizationAmount",
|
425
|
-
"type": "
|
443
|
+
"type": "uint96"
|
426
444
|
}
|
427
445
|
],
|
428
446
|
"name": "applicationMatchesBundle",
|
@@ -436,6 +454,19 @@
|
|
436
454
|
"stateMutability": "view",
|
437
455
|
"type": "function"
|
438
456
|
},
|
457
|
+
{
|
458
|
+
"inputs": [
|
459
|
+
{
|
460
|
+
"internalType": "uint256",
|
461
|
+
"name": "spendingLimitAmount",
|
462
|
+
"type": "uint256"
|
463
|
+
}
|
464
|
+
],
|
465
|
+
"name": "approveTokenHandler",
|
466
|
+
"outputs": [],
|
467
|
+
"stateMutability": "nonpayable",
|
468
|
+
"type": "function"
|
469
|
+
},
|
439
470
|
{
|
440
471
|
"inputs": [],
|
441
472
|
"name": "authority",
|
@@ -668,19 +699,19 @@
|
|
668
699
|
"type": "uint64"
|
669
700
|
},
|
670
701
|
{
|
671
|
-
"internalType": "
|
702
|
+
"internalType": "Amount",
|
672
703
|
"name": "maxCapitalAmount",
|
673
|
-
"type": "
|
704
|
+
"type": "uint96"
|
674
705
|
},
|
675
706
|
{
|
676
|
-
"internalType": "
|
707
|
+
"internalType": "Amount",
|
677
708
|
"name": "balanceAmount",
|
678
|
-
"type": "
|
709
|
+
"type": "uint96"
|
679
710
|
},
|
680
711
|
{
|
681
|
-
"internalType": "
|
712
|
+
"internalType": "Amount",
|
682
713
|
"name": "feeAmount",
|
683
|
-
"type": "
|
714
|
+
"type": "uint96"
|
684
715
|
},
|
685
716
|
{
|
686
717
|
"internalType": "bool",
|
@@ -795,11 +826,11 @@
|
|
795
826
|
},
|
796
827
|
{
|
797
828
|
"inputs": [],
|
798
|
-
"name": "
|
829
|
+
"name": "getToken",
|
799
830
|
"outputs": [
|
800
831
|
{
|
801
|
-
"internalType": "
|
802
|
-
"name": "",
|
832
|
+
"internalType": "contract IERC20Metadata",
|
833
|
+
"name": "token",
|
803
834
|
"type": "address"
|
804
835
|
}
|
805
836
|
],
|
@@ -808,11 +839,11 @@
|
|
808
839
|
},
|
809
840
|
{
|
810
841
|
"inputs": [],
|
811
|
-
"name": "
|
842
|
+
"name": "getTokenHandler",
|
812
843
|
"outputs": [
|
813
844
|
{
|
814
|
-
"internalType": "contract
|
815
|
-
"name": "
|
845
|
+
"internalType": "contract TokenHandler",
|
846
|
+
"name": "tokenHandler",
|
816
847
|
"type": "address"
|
817
848
|
}
|
818
849
|
],
|
@@ -1224,9 +1255,9 @@
|
|
1224
1255
|
{
|
1225
1256
|
"inputs": [
|
1226
1257
|
{
|
1227
|
-
"internalType": "
|
1258
|
+
"internalType": "Amount",
|
1228
1259
|
"name": "maxCapitalAmount",
|
1229
|
-
"type": "
|
1260
|
+
"type": "uint96"
|
1230
1261
|
}
|
1231
1262
|
],
|
1232
1263
|
"name": "setMaxCapitalAmount",
|
@@ -1268,9 +1299,9 @@
|
|
1268
1299
|
"type": "uint96"
|
1269
1300
|
},
|
1270
1301
|
{
|
1271
|
-
"internalType": "
|
1302
|
+
"internalType": "Amount",
|
1272
1303
|
"name": "amount",
|
1273
|
-
"type": "
|
1304
|
+
"type": "uint96"
|
1274
1305
|
}
|
1275
1306
|
],
|
1276
1307
|
"name": "stake",
|
@@ -1325,9 +1356,9 @@
|
|
1325
1356
|
"type": "uint96"
|
1326
1357
|
},
|
1327
1358
|
{
|
1328
|
-
"internalType": "
|
1359
|
+
"internalType": "Amount",
|
1329
1360
|
"name": "amount",
|
1330
|
-
"type": "
|
1361
|
+
"type": "uint96"
|
1331
1362
|
}
|
1332
1363
|
],
|
1333
1364
|
"name": "unstake",
|
@@ -1358,9 +1389,9 @@
|
|
1358
1389
|
"type": "bytes"
|
1359
1390
|
},
|
1360
1391
|
{
|
1361
|
-
"internalType": "
|
1392
|
+
"internalType": "Amount",
|
1362
1393
|
"name": "collateralizationAmount",
|
1363
|
-
"type": "
|
1394
|
+
"type": "uint96"
|
1364
1395
|
}
|
1365
1396
|
],
|
1366
1397
|
"name": "verifyApplication",
|
@@ -137,6 +137,11 @@
|
|
137
137
|
"name": "ErrorComponentWalletAllowanceTooSmall",
|
138
138
|
"type": "error"
|
139
139
|
},
|
140
|
+
{
|
141
|
+
"inputs": [],
|
142
|
+
"name": "ErrorComponentWalletNotComponent",
|
143
|
+
"type": "error"
|
144
|
+
},
|
140
145
|
{
|
141
146
|
"inputs": [
|
142
147
|
{
|
@@ -238,6 +243,19 @@
|
|
238
243
|
"name": "Initialized",
|
239
244
|
"type": "event"
|
240
245
|
},
|
246
|
+
{
|
247
|
+
"anonymous": false,
|
248
|
+
"inputs": [
|
249
|
+
{
|
250
|
+
"indexed": false,
|
251
|
+
"internalType": "uint256",
|
252
|
+
"name": "limit",
|
253
|
+
"type": "uint256"
|
254
|
+
}
|
255
|
+
],
|
256
|
+
"name": "LogComponentTokenHandlerApproved",
|
257
|
+
"type": "event"
|
258
|
+
},
|
241
259
|
{
|
242
260
|
"anonymous": false,
|
243
261
|
"inputs": [
|
@@ -334,6 +352,19 @@
|
|
334
352
|
"stateMutability": "view",
|
335
353
|
"type": "function"
|
336
354
|
},
|
355
|
+
{
|
356
|
+
"inputs": [
|
357
|
+
{
|
358
|
+
"internalType": "uint256",
|
359
|
+
"name": "spendingLimitAmount",
|
360
|
+
"type": "uint256"
|
361
|
+
}
|
362
|
+
],
|
363
|
+
"name": "approveTokenHandler",
|
364
|
+
"outputs": [],
|
365
|
+
"stateMutability": "nonpayable",
|
366
|
+
"type": "function"
|
367
|
+
},
|
337
368
|
{
|
338
369
|
"inputs": [],
|
339
370
|
"name": "authority",
|
@@ -350,9 +381,9 @@
|
|
350
381
|
{
|
351
382
|
"inputs": [
|
352
383
|
{
|
353
|
-
"internalType": "
|
384
|
+
"internalType": "Amount",
|
354
385
|
"name": "sumInsuredAmount",
|
355
|
-
"type": "
|
386
|
+
"type": "uint96"
|
356
387
|
},
|
357
388
|
{
|
358
389
|
"internalType": "RiskId",
|
@@ -373,9 +404,9 @@
|
|
373
404
|
"name": "calculateNetPremium",
|
374
405
|
"outputs": [
|
375
406
|
{
|
376
|
-
"internalType": "
|
407
|
+
"internalType": "Amount",
|
377
408
|
"name": "netPremiumAmount",
|
378
|
-
"type": "
|
409
|
+
"type": "uint96"
|
379
410
|
}
|
380
411
|
],
|
381
412
|
"stateMutability": "view",
|
@@ -384,9 +415,9 @@
|
|
384
415
|
{
|
385
416
|
"inputs": [
|
386
417
|
{
|
387
|
-
"internalType": "
|
418
|
+
"internalType": "Amount",
|
388
419
|
"name": "sumInsuredAmount",
|
389
|
-
"type": "
|
420
|
+
"type": "uint96"
|
390
421
|
},
|
391
422
|
{
|
392
423
|
"internalType": "RiskId",
|
@@ -417,9 +448,9 @@
|
|
417
448
|
"name": "calculatePremium",
|
418
449
|
"outputs": [
|
419
450
|
{
|
420
|
-
"internalType": "
|
451
|
+
"internalType": "Amount",
|
421
452
|
"name": "premiumAmount",
|
422
|
-
"type": "
|
453
|
+
"type": "uint96"
|
423
454
|
}
|
424
455
|
],
|
425
456
|
"stateMutability": "view",
|
@@ -629,19 +660,6 @@
|
|
629
660
|
"stateMutability": "view",
|
630
661
|
"type": "function"
|
631
662
|
},
|
632
|
-
{
|
633
|
-
"inputs": [],
|
634
|
-
"name": "getRegistryAddress",
|
635
|
-
"outputs": [
|
636
|
-
{
|
637
|
-
"internalType": "address",
|
638
|
-
"name": "",
|
639
|
-
"type": "address"
|
640
|
-
}
|
641
|
-
],
|
642
|
-
"stateMutability": "view",
|
643
|
-
"type": "function"
|
644
|
-
},
|
645
663
|
{
|
646
664
|
"inputs": [],
|
647
665
|
"name": "getSetupInfo",
|
@@ -734,6 +752,19 @@
|
|
734
752
|
"stateMutability": "view",
|
735
753
|
"type": "function"
|
736
754
|
},
|
755
|
+
{
|
756
|
+
"inputs": [],
|
757
|
+
"name": "getTokenHandler",
|
758
|
+
"outputs": [
|
759
|
+
{
|
760
|
+
"internalType": "contract TokenHandler",
|
761
|
+
"name": "tokenHandler",
|
762
|
+
"type": "address"
|
763
|
+
}
|
764
|
+
],
|
765
|
+
"stateMutability": "view",
|
766
|
+
"type": "function"
|
767
|
+
},
|
737
768
|
{
|
738
769
|
"inputs": [],
|
739
770
|
"name": "getWallet",
|