@etherisc/gif-next 0.0.2-eb98db7-932 → 0.0.2-ebf1a6b-485
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +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
|
},
|
@@ -215,9 +188,41 @@
|
|
215
188
|
},
|
216
189
|
{
|
217
190
|
"inputs": [
|
191
|
+
{
|
192
|
+
"internalType": "NftId",
|
193
|
+
"name": "applicationNftId",
|
194
|
+
"type": "uint96"
|
195
|
+
}
|
196
|
+
],
|
197
|
+
"name": "ErrorPoolApplicationBundleMismatch",
|
198
|
+
"type": "error"
|
199
|
+
},
|
200
|
+
{
|
201
|
+
"inputs": [],
|
202
|
+
"name": "ErrorPoolBundleOwnerRoleAlreadySet",
|
203
|
+
"type": "error"
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"inputs": [
|
207
|
+
{
|
208
|
+
"internalType": "NftId",
|
209
|
+
"name": "bundleNftId",
|
210
|
+
"type": "uint96"
|
211
|
+
},
|
218
212
|
{
|
219
213
|
"internalType": "address",
|
220
|
-
"name": "
|
214
|
+
"name": "caller",
|
215
|
+
"type": "address"
|
216
|
+
}
|
217
|
+
],
|
218
|
+
"name": "ErrorPoolNotBundleOwner",
|
219
|
+
"type": "error"
|
220
|
+
},
|
221
|
+
{
|
222
|
+
"inputs": [
|
223
|
+
{
|
224
|
+
"internalType": "address",
|
225
|
+
"name": "caller",
|
221
226
|
"type": "address"
|
222
227
|
}
|
223
228
|
],
|
@@ -279,6 +284,12 @@
|
|
279
284
|
{
|
280
285
|
"anonymous": false,
|
281
286
|
"inputs": [
|
287
|
+
{
|
288
|
+
"indexed": false,
|
289
|
+
"internalType": "address",
|
290
|
+
"name": "oldWallet",
|
291
|
+
"type": "address"
|
292
|
+
},
|
282
293
|
{
|
283
294
|
"indexed": false,
|
284
295
|
"internalType": "address",
|
@@ -319,29 +330,61 @@
|
|
319
330
|
"inputs": [
|
320
331
|
{
|
321
332
|
"indexed": false,
|
322
|
-
"internalType": "
|
323
|
-
"name": "
|
324
|
-
"type": "
|
333
|
+
"internalType": "uint256",
|
334
|
+
"name": "previousMaxCapitalAmount",
|
335
|
+
"type": "uint256"
|
325
336
|
},
|
326
337
|
{
|
327
338
|
"indexed": false,
|
328
339
|
"internalType": "uint256",
|
329
|
-
"name": "
|
340
|
+
"name": "currentMaxCapitalAmount",
|
330
341
|
"type": "uint256"
|
331
|
-
}
|
342
|
+
}
|
343
|
+
],
|
344
|
+
"name": "LogPoolBundleMaxCapitalAmountUpdated",
|
345
|
+
"type": "event"
|
346
|
+
},
|
347
|
+
{
|
348
|
+
"anonymous": false,
|
349
|
+
"inputs": [
|
350
|
+
{
|
351
|
+
"indexed": false,
|
352
|
+
"internalType": "RoleId",
|
353
|
+
"name": "bundleOwnerRole",
|
354
|
+
"type": "uint64"
|
355
|
+
}
|
356
|
+
],
|
357
|
+
"name": "LogPoolBundleOwnerRoleSet",
|
358
|
+
"type": "event"
|
359
|
+
},
|
360
|
+
{
|
361
|
+
"anonymous": false,
|
362
|
+
"inputs": [
|
332
363
|
{
|
333
364
|
"indexed": false,
|
334
365
|
"internalType": "address",
|
335
366
|
"name": "pool",
|
336
367
|
"type": "address"
|
368
|
+
},
|
369
|
+
{
|
370
|
+
"indexed": false,
|
371
|
+
"internalType": "NftId",
|
372
|
+
"name": "applicationNftId",
|
373
|
+
"type": "uint96"
|
374
|
+
},
|
375
|
+
{
|
376
|
+
"indexed": false,
|
377
|
+
"internalType": "uint256",
|
378
|
+
"name": "collateralizationAmount",
|
379
|
+
"type": "uint256"
|
337
380
|
}
|
338
381
|
],
|
339
|
-
"name": "
|
382
|
+
"name": "LogPoolVerifiedByPool",
|
340
383
|
"type": "event"
|
341
384
|
},
|
342
385
|
{
|
343
386
|
"inputs": [],
|
344
|
-
"name": "
|
387
|
+
"name": "COMPONENT_LOCATION_V1",
|
345
388
|
"outputs": [
|
346
389
|
{
|
347
390
|
"internalType": "bytes32",
|
@@ -391,6 +434,45 @@
|
|
391
434
|
"stateMutability": "view",
|
392
435
|
"type": "function"
|
393
436
|
},
|
437
|
+
{
|
438
|
+
"inputs": [
|
439
|
+
{
|
440
|
+
"internalType": "NftId",
|
441
|
+
"name": "applicationNftId",
|
442
|
+
"type": "uint96"
|
443
|
+
},
|
444
|
+
{
|
445
|
+
"internalType": "bytes",
|
446
|
+
"name": "applicationData",
|
447
|
+
"type": "bytes"
|
448
|
+
},
|
449
|
+
{
|
450
|
+
"internalType": "NftId",
|
451
|
+
"name": "bundleNftId",
|
452
|
+
"type": "uint96"
|
453
|
+
},
|
454
|
+
{
|
455
|
+
"internalType": "bytes",
|
456
|
+
"name": "bundleFilter",
|
457
|
+
"type": "bytes"
|
458
|
+
},
|
459
|
+
{
|
460
|
+
"internalType": "uint256",
|
461
|
+
"name": "collateralizationAmount",
|
462
|
+
"type": "uint256"
|
463
|
+
}
|
464
|
+
],
|
465
|
+
"name": "applicationMatchesBundle",
|
466
|
+
"outputs": [
|
467
|
+
{
|
468
|
+
"internalType": "bool",
|
469
|
+
"name": "isMatching",
|
470
|
+
"type": "bool"
|
471
|
+
}
|
472
|
+
],
|
473
|
+
"stateMutability": "view",
|
474
|
+
"type": "function"
|
475
|
+
},
|
394
476
|
{
|
395
477
|
"inputs": [],
|
396
478
|
"name": "authority",
|
@@ -404,6 +486,50 @@
|
|
404
486
|
"stateMutability": "view",
|
405
487
|
"type": "function"
|
406
488
|
},
|
489
|
+
{
|
490
|
+
"inputs": [
|
491
|
+
{
|
492
|
+
"internalType": "NftId",
|
493
|
+
"name": "bundleNftId",
|
494
|
+
"type": "uint96"
|
495
|
+
}
|
496
|
+
],
|
497
|
+
"name": "close",
|
498
|
+
"outputs": [],
|
499
|
+
"stateMutability": "nonpayable",
|
500
|
+
"type": "function"
|
501
|
+
},
|
502
|
+
{
|
503
|
+
"inputs": [
|
504
|
+
{
|
505
|
+
"internalType": "NftId",
|
506
|
+
"name": "bundleNftId",
|
507
|
+
"type": "uint96"
|
508
|
+
},
|
509
|
+
{
|
510
|
+
"internalType": "Seconds",
|
511
|
+
"name": "lifetimeExtension",
|
512
|
+
"type": "uint40"
|
513
|
+
}
|
514
|
+
],
|
515
|
+
"name": "extend",
|
516
|
+
"outputs": [],
|
517
|
+
"stateMutability": "nonpayable",
|
518
|
+
"type": "function"
|
519
|
+
},
|
520
|
+
{
|
521
|
+
"inputs": [],
|
522
|
+
"name": "getBundleOwnerRole",
|
523
|
+
"outputs": [
|
524
|
+
{
|
525
|
+
"internalType": "RoleId",
|
526
|
+
"name": "bundleOwnerRole",
|
527
|
+
"type": "uint64"
|
528
|
+
}
|
529
|
+
],
|
530
|
+
"stateMutability": "view",
|
531
|
+
"type": "function"
|
532
|
+
},
|
407
533
|
{
|
408
534
|
"inputs": [],
|
409
535
|
"name": "getCollateralizationLevel",
|
@@ -501,25 +627,12 @@
|
|
501
627
|
},
|
502
628
|
{
|
503
629
|
"inputs": [],
|
504
|
-
"name": "
|
630
|
+
"name": "getMaxCapitalAmount",
|
505
631
|
"outputs": [
|
506
632
|
{
|
507
|
-
"internalType": "
|
508
|
-
"name": "
|
509
|
-
"type": "
|
510
|
-
}
|
511
|
-
],
|
512
|
-
"stateMutability": "view",
|
513
|
-
"type": "function"
|
514
|
-
},
|
515
|
-
{
|
516
|
-
"inputs": [],
|
517
|
-
"name": "getInstanceService",
|
518
|
-
"outputs": [
|
519
|
-
{
|
520
|
-
"internalType": "contract IInstanceService",
|
521
|
-
"name": "",
|
522
|
-
"type": "address"
|
633
|
+
"internalType": "uint256",
|
634
|
+
"name": "maxCapitalAmount",
|
635
|
+
"type": "uint256"
|
523
636
|
}
|
524
637
|
],
|
525
638
|
"stateMutability": "view",
|
@@ -577,19 +690,6 @@
|
|
577
690
|
"stateMutability": "view",
|
578
691
|
"type": "function"
|
579
692
|
},
|
580
|
-
{
|
581
|
-
"inputs": [],
|
582
|
-
"name": "getProductService",
|
583
|
-
"outputs": [
|
584
|
-
{
|
585
|
-
"internalType": "contract IProductService",
|
586
|
-
"name": "",
|
587
|
-
"type": "address"
|
588
|
-
}
|
589
|
-
],
|
590
|
-
"stateMutability": "view",
|
591
|
-
"type": "function"
|
592
|
-
},
|
593
693
|
{
|
594
694
|
"inputs": [],
|
595
695
|
"name": "getRegistry",
|
@@ -629,25 +729,6 @@
|
|
629
729
|
"stateMutability": "view",
|
630
730
|
"type": "function"
|
631
731
|
},
|
632
|
-
{
|
633
|
-
"inputs": [
|
634
|
-
{
|
635
|
-
"internalType": "ObjectType",
|
636
|
-
"name": "domain",
|
637
|
-
"type": "uint8"
|
638
|
-
}
|
639
|
-
],
|
640
|
-
"name": "getServiceAddress",
|
641
|
-
"outputs": [
|
642
|
-
{
|
643
|
-
"internalType": "address",
|
644
|
-
"name": "service",
|
645
|
-
"type": "address"
|
646
|
-
}
|
647
|
-
],
|
648
|
-
"stateMutability": "view",
|
649
|
-
"type": "function"
|
650
|
-
},
|
651
732
|
{
|
652
733
|
"inputs": [],
|
653
734
|
"name": "getSetupInfo",
|
@@ -664,6 +745,11 @@
|
|
664
745
|
"name": "tokenHandler",
|
665
746
|
"type": "address"
|
666
747
|
},
|
748
|
+
{
|
749
|
+
"internalType": "uint256",
|
750
|
+
"name": "maxCapitalAmount",
|
751
|
+
"type": "uint256"
|
752
|
+
},
|
667
753
|
{
|
668
754
|
"internalType": "bool",
|
669
755
|
"name": "isInterceptingBundleTransfers",
|
@@ -819,7 +905,7 @@
|
|
819
905
|
},
|
820
906
|
{
|
821
907
|
"internalType": "bytes",
|
822
|
-
"name": "
|
908
|
+
"name": "registryData",
|
823
909
|
"type": "bytes"
|
824
910
|
}
|
825
911
|
],
|
@@ -907,7 +993,7 @@
|
|
907
993
|
},
|
908
994
|
{
|
909
995
|
"internalType": "bytes",
|
910
|
-
"name": "
|
996
|
+
"name": "registryData",
|
911
997
|
"type": "bytes"
|
912
998
|
}
|
913
999
|
],
|
@@ -945,7 +1031,7 @@
|
|
945
1031
|
},
|
946
1032
|
{
|
947
1033
|
"internalType": "bytes",
|
948
|
-
"name": "
|
1034
|
+
"name": "registryData",
|
949
1035
|
"type": "bytes"
|
950
1036
|
}
|
951
1037
|
],
|
@@ -1082,30 +1168,6 @@
|
|
1082
1168
|
"stateMutability": "nonpayable",
|
1083
1169
|
"type": "function"
|
1084
1170
|
},
|
1085
|
-
{
|
1086
|
-
"inputs": [
|
1087
|
-
{
|
1088
|
-
"internalType": "bytes",
|
1089
|
-
"name": "",
|
1090
|
-
"type": "bytes"
|
1091
|
-
},
|
1092
|
-
{
|
1093
|
-
"internalType": "bytes",
|
1094
|
-
"name": "",
|
1095
|
-
"type": "bytes"
|
1096
|
-
}
|
1097
|
-
],
|
1098
|
-
"name": "policyMatchesBundle",
|
1099
|
-
"outputs": [
|
1100
|
-
{
|
1101
|
-
"internalType": "bool",
|
1102
|
-
"name": "isMatching",
|
1103
|
-
"type": "bool"
|
1104
|
-
}
|
1105
|
-
],
|
1106
|
-
"stateMutability": "pure",
|
1107
|
-
"type": "function"
|
1108
|
-
},
|
1109
1171
|
{
|
1110
1172
|
"inputs": [
|
1111
1173
|
{
|
@@ -1162,6 +1224,19 @@
|
|
1162
1224
|
"stateMutability": "nonpayable",
|
1163
1225
|
"type": "function"
|
1164
1226
|
},
|
1227
|
+
{
|
1228
|
+
"inputs": [
|
1229
|
+
{
|
1230
|
+
"internalType": "RoleId",
|
1231
|
+
"name": "bundleOwnerRole",
|
1232
|
+
"type": "uint64"
|
1233
|
+
}
|
1234
|
+
],
|
1235
|
+
"name": "setBundleOwnerRole",
|
1236
|
+
"outputs": [],
|
1237
|
+
"stateMutability": "nonpayable",
|
1238
|
+
"type": "function"
|
1239
|
+
},
|
1165
1240
|
{
|
1166
1241
|
"inputs": [
|
1167
1242
|
{
|
@@ -1221,6 +1296,19 @@
|
|
1221
1296
|
"stateMutability": "nonpayable",
|
1222
1297
|
"type": "function"
|
1223
1298
|
},
|
1299
|
+
{
|
1300
|
+
"inputs": [
|
1301
|
+
{
|
1302
|
+
"internalType": "uint256",
|
1303
|
+
"name": "maxCapitalAmount",
|
1304
|
+
"type": "uint256"
|
1305
|
+
}
|
1306
|
+
],
|
1307
|
+
"name": "setMaxCapitalAmount",
|
1308
|
+
"outputs": [],
|
1309
|
+
"stateMutability": "nonpayable",
|
1310
|
+
"type": "function"
|
1311
|
+
},
|
1224
1312
|
{
|
1225
1313
|
"inputs": [
|
1226
1314
|
{
|
@@ -1247,6 +1335,24 @@
|
|
1247
1335
|
"stateMutability": "nonpayable",
|
1248
1336
|
"type": "function"
|
1249
1337
|
},
|
1338
|
+
{
|
1339
|
+
"inputs": [
|
1340
|
+
{
|
1341
|
+
"internalType": "NftId",
|
1342
|
+
"name": "bundleNftId",
|
1343
|
+
"type": "uint96"
|
1344
|
+
},
|
1345
|
+
{
|
1346
|
+
"internalType": "uint256",
|
1347
|
+
"name": "amount",
|
1348
|
+
"type": "uint256"
|
1349
|
+
}
|
1350
|
+
],
|
1351
|
+
"name": "stake",
|
1352
|
+
"outputs": [],
|
1353
|
+
"stateMutability": "nonpayable",
|
1354
|
+
"type": "function"
|
1355
|
+
},
|
1250
1356
|
{
|
1251
1357
|
"inputs": [
|
1252
1358
|
{
|
@@ -1286,6 +1392,24 @@
|
|
1286
1392
|
"stateMutability": "nonpayable",
|
1287
1393
|
"type": "function"
|
1288
1394
|
},
|
1395
|
+
{
|
1396
|
+
"inputs": [
|
1397
|
+
{
|
1398
|
+
"internalType": "NftId",
|
1399
|
+
"name": "bundleNftId",
|
1400
|
+
"type": "uint96"
|
1401
|
+
},
|
1402
|
+
{
|
1403
|
+
"internalType": "uint256",
|
1404
|
+
"name": "amount",
|
1405
|
+
"type": "uint256"
|
1406
|
+
}
|
1407
|
+
],
|
1408
|
+
"name": "unstake",
|
1409
|
+
"outputs": [],
|
1410
|
+
"stateMutability": "nonpayable",
|
1411
|
+
"type": "function"
|
1412
|
+
},
|
1289
1413
|
{
|
1290
1414
|
"inputs": [
|
1291
1415
|
{
|
@@ -1298,6 +1422,11 @@
|
|
1298
1422
|
"name": "applicationData",
|
1299
1423
|
"type": "bytes"
|
1300
1424
|
},
|
1425
|
+
{
|
1426
|
+
"internalType": "NftId",
|
1427
|
+
"name": "bundleNftId",
|
1428
|
+
"type": "uint96"
|
1429
|
+
},
|
1301
1430
|
{
|
1302
1431
|
"internalType": "bytes",
|
1303
1432
|
"name": "bundleFilter",
|