@etherisc/gif-next 0.0.2-bfb44e0-483 → 0.0.2-c0b400a-177
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +8 -8
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +80 -145
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +125 -239
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +77 -92
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +102 -183
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +261 -201
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +81 -164
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +278 -288
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +85 -218
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +64 -50
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +496 -536
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +105 -212
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +567 -621
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +448 -121
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +120 -227
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +170 -397
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +207 -116
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +8 -13
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +18 -220
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +54 -71
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +182 -331
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +141 -366
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +182 -107
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +824 -268
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +312 -109
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +124 -206
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +89 -257
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +409 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +514 -157
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +45 -289
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +69 -153
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +12 -177
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +85 -442
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +188 -141
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +116 -249
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +187 -104
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +42 -272
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +179 -104
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +19 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +71 -180
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +31 -12
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +2 -2
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +90 -264
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +182 -113
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +11 -11
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +34 -67
- 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/ERC165.sol/ERC165.json +2 -2
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +4 -30
- 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/IRegisterable.sol/IRegisterable.json +4 -30
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -21
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +12 -177
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -150
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +10 -62
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -23
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +171 -88
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +11 -74
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -23
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +13 -215
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -150
- 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 +11 -74
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +31 -269
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +6 -188
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +2 -2
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
- package/contracts/components/Component.sol +96 -81
- package/contracts/components/Distribution.sol +29 -47
- package/contracts/components/IComponent.sol +40 -16
- package/contracts/components/IDistributionComponent.sol +1 -30
- package/contracts/components/IPoolComponent.sol +73 -47
- package/contracts/components/IProductComponent.sol +3 -2
- package/contracts/components/Pool.sol +171 -126
- package/contracts/components/Product.sol +38 -23
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
- package/contracts/instance/BundleManager.sol +7 -5
- package/contracts/instance/Cloneable.sol +7 -2
- package/contracts/instance/IInstance.sol +23 -11
- package/contracts/instance/IInstanceService.sol +18 -5
- package/contracts/instance/Instance.sol +62 -16
- package/contracts/instance/InstanceAccessManager.sol +382 -157
- package/contracts/instance/InstanceReader.sol +7 -10
- package/contracts/instance/InstanceService.sol +222 -160
- package/contracts/instance/InstanceServiceManager.sol +1 -1
- package/contracts/instance/ObjectManager.sol +6 -8
- package/contracts/instance/base/ComponentService.sol +5 -5
- package/contracts/instance/base/KeyValueStore.sol +5 -2
- package/contracts/instance/base/Lifecycle.sol +11 -2
- package/contracts/instance/module/IAccess.sol +20 -13
- package/contracts/instance/module/IBundle.sol +2 -1
- package/contracts/instance/module/IComponents.sol +35 -0
- package/contracts/instance/module/IDistribution.sol +2 -0
- package/contracts/instance/module/IPolicy.sol +30 -3
- package/contracts/instance/module/ISetup.sol +7 -21
- package/contracts/instance/service/ApplicationService.sol +139 -57
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +76 -38
- package/contracts/instance/service/BundleServiceManager.sol +1 -1
- package/contracts/instance/service/ClaimService.sol +151 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +224 -31
- package/contracts/instance/service/DistributionServiceManager.sol +1 -1
- package/contracts/instance/service/IApplicationService.sol +9 -9
- package/contracts/instance/service/IBundleService.sol +19 -11
- package/contracts/instance/service/IClaimService.sol +61 -0
- package/contracts/instance/service/IDistributionService.sol +36 -3
- package/contracts/instance/service/IPolicyService.sol +18 -34
- package/contracts/instance/service/IPoolService.sol +17 -2
- package/contracts/instance/service/PolicyService.sol +74 -195
- package/contracts/instance/service/PolicyServiceManager.sol +2 -2
- package/contracts/instance/service/PoolService.sol +128 -17
- package/contracts/instance/service/PoolServiceManager.sol +1 -1
- package/contracts/instance/service/ProductService.sol +10 -2
- package/contracts/instance/service/ProductServiceManager.sol +2 -2
- package/contracts/registry/ChainNft.sol +8 -0
- package/contracts/registry/IRegistry.sol +2 -0
- package/contracts/registry/IRegistryService.sol +10 -8
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +26 -21
- package/contracts/registry/RegistryService.sol +62 -40
- package/contracts/registry/RegistryServiceManager.sol +13 -13
- package/contracts/registry/ReleaseManager.sol +18 -28
- package/contracts/registry/TokenRegistry.sol +13 -10
- package/contracts/shared/ERC165.sol +2 -1
- package/contracts/shared/INftOwnable.sol +4 -9
- package/contracts/shared/IRegistryLinked.sol +0 -3
- package/contracts/shared/IService.sol +2 -0
- package/contracts/shared/IVersionable.sol +4 -47
- package/contracts/shared/NftOwnable.sol +10 -80
- package/contracts/shared/ProxyManager.sol +98 -24
- package/contracts/shared/Registerable.sol +3 -10
- package/contracts/shared/RegistryLinked.sol +10 -26
- package/contracts/shared/Service.sol +10 -12
- package/contracts/shared/TokenHandler.sol +11 -5
- package/contracts/shared/Versionable.sol +1 -90
- package/contracts/types/Blocknumber.sol +1 -0
- package/contracts/types/ClaimId.sol +52 -0
- package/contracts/types/Fee.sol +1 -0
- package/contracts/types/NftId.sol +8 -0
- package/contracts/types/ObjectType.sol +5 -4
- package/contracts/types/PayoutId.sol +54 -0
- package/contracts/types/Referral.sol +4 -0
- package/contracts/types/RoleId.sol +16 -9
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +1 -0
- package/contracts/types/Timestamp.sol +13 -13
- package/contracts/types/UFixed.sol +1 -0
- package/contracts/types/Version.sol +1 -0
- package/package.json +1 -1
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/contracts/experiment/cloning/Cloner.sol +0 -47
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
@@ -63,22 +63,6 @@
|
|
63
63
|
"name": "AddressInsufficientBalance",
|
64
64
|
"type": "error"
|
65
65
|
},
|
66
|
-
{
|
67
|
-
"inputs": [
|
68
|
-
{
|
69
|
-
"internalType": "address",
|
70
|
-
"name": "registry",
|
71
|
-
"type": "address"
|
72
|
-
},
|
73
|
-
{
|
74
|
-
"internalType": "NftId",
|
75
|
-
"name": "nftId",
|
76
|
-
"type": "uint96"
|
77
|
-
}
|
78
|
-
],
|
79
|
-
"name": "ErrorAlreadyLinked",
|
80
|
-
"type": "error"
|
81
|
-
},
|
82
66
|
{
|
83
67
|
"inputs": [
|
84
68
|
{
|
@@ -96,11 +80,6 @@
|
|
96
80
|
"internalType": "NftId",
|
97
81
|
"name": "instanceNftId",
|
98
82
|
"type": "uint96"
|
99
|
-
},
|
100
|
-
{
|
101
|
-
"internalType": "address",
|
102
|
-
"name": "instance",
|
103
|
-
"type": "address"
|
104
83
|
}
|
105
84
|
],
|
106
85
|
"name": "ErrorComponentNotInstance",
|
@@ -123,29 +102,7 @@
|
|
123
102
|
"type": "error"
|
124
103
|
},
|
125
104
|
{
|
126
|
-
"inputs": [
|
127
|
-
{
|
128
|
-
"internalType": "address",
|
129
|
-
"name": "caller",
|
130
|
-
"type": "address"
|
131
|
-
},
|
132
|
-
{
|
133
|
-
"internalType": "uint64",
|
134
|
-
"name": "requiredRoleIdNum",
|
135
|
-
"type": "uint64"
|
136
|
-
}
|
137
|
-
],
|
138
|
-
"name": "ErrorComponentUnauthorized",
|
139
|
-
"type": "error"
|
140
|
-
},
|
141
|
-
{
|
142
|
-
"inputs": [
|
143
|
-
{
|
144
|
-
"internalType": "address",
|
145
|
-
"name": "newWallet",
|
146
|
-
"type": "address"
|
147
|
-
}
|
148
|
-
],
|
105
|
+
"inputs": [],
|
149
106
|
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
150
107
|
"type": "error"
|
151
108
|
},
|
@@ -180,6 +137,17 @@
|
|
180
137
|
"name": "ErrorComponentWalletAllowanceTooSmall",
|
181
138
|
"type": "error"
|
182
139
|
},
|
140
|
+
{
|
141
|
+
"inputs": [
|
142
|
+
{
|
143
|
+
"internalType": "NftId",
|
144
|
+
"name": "nftId",
|
145
|
+
"type": "uint96"
|
146
|
+
}
|
147
|
+
],
|
148
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
149
|
+
"type": "error"
|
150
|
+
},
|
183
151
|
{
|
184
152
|
"inputs": [
|
185
153
|
{
|
@@ -188,12 +156,12 @@
|
|
188
156
|
"type": "address"
|
189
157
|
}
|
190
158
|
],
|
191
|
-
"name": "
|
159
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
192
160
|
"type": "error"
|
193
161
|
},
|
194
162
|
{
|
195
163
|
"inputs": [],
|
196
|
-
"name": "
|
164
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
197
165
|
"type": "error"
|
198
166
|
},
|
199
167
|
{
|
@@ -204,7 +172,7 @@
|
|
204
172
|
"type": "address"
|
205
173
|
}
|
206
174
|
],
|
207
|
-
"name": "
|
175
|
+
"name": "ErrorNftOwnableNotOwner",
|
208
176
|
"type": "error"
|
209
177
|
},
|
210
178
|
{
|
@@ -221,44 +189,39 @@
|
|
221
189
|
{
|
222
190
|
"inputs": [
|
223
191
|
{
|
224
|
-
"internalType": "
|
225
|
-
"name": "
|
226
|
-
"type": "
|
192
|
+
"internalType": "NftId",
|
193
|
+
"name": "applicationNftId",
|
194
|
+
"type": "uint96"
|
227
195
|
}
|
228
196
|
],
|
229
|
-
"name": "
|
197
|
+
"name": "ErrorPoolApplicationBundleMismatch",
|
230
198
|
"type": "error"
|
231
199
|
},
|
232
200
|
{
|
233
201
|
"inputs": [
|
202
|
+
{
|
203
|
+
"internalType": "NftId",
|
204
|
+
"name": "bundleNftId",
|
205
|
+
"type": "uint96"
|
206
|
+
},
|
234
207
|
{
|
235
208
|
"internalType": "address",
|
236
|
-
"name": "
|
209
|
+
"name": "caller",
|
237
210
|
"type": "address"
|
238
211
|
}
|
239
212
|
],
|
240
|
-
"name": "
|
241
|
-
"type": "error"
|
242
|
-
},
|
243
|
-
{
|
244
|
-
"inputs": [],
|
245
|
-
"name": "ErrorRegistryAddressZero",
|
213
|
+
"name": "ErrorPoolNotBundleOwner",
|
246
214
|
"type": "error"
|
247
215
|
},
|
248
216
|
{
|
249
217
|
"inputs": [
|
250
218
|
{
|
251
219
|
"internalType": "address",
|
252
|
-
"name": "
|
220
|
+
"name": "caller",
|
253
221
|
"type": "address"
|
254
222
|
}
|
255
223
|
],
|
256
|
-
"name": "
|
257
|
-
"type": "error"
|
258
|
-
},
|
259
|
-
{
|
260
|
-
"inputs": [],
|
261
|
-
"name": "ErrorRegistryNotInitialized",
|
224
|
+
"name": "ErrorPoolNotPoolService",
|
262
225
|
"type": "error"
|
263
226
|
},
|
264
227
|
{
|
@@ -316,6 +279,12 @@
|
|
316
279
|
{
|
317
280
|
"anonymous": false,
|
318
281
|
"inputs": [
|
282
|
+
{
|
283
|
+
"indexed": false,
|
284
|
+
"internalType": "address",
|
285
|
+
"name": "oldWallet",
|
286
|
+
"type": "address"
|
287
|
+
},
|
319
288
|
{
|
320
289
|
"indexed": false,
|
321
290
|
"internalType": "address",
|
@@ -354,10 +323,16 @@
|
|
354
323
|
{
|
355
324
|
"anonymous": false,
|
356
325
|
"inputs": [
|
326
|
+
{
|
327
|
+
"indexed": false,
|
328
|
+
"internalType": "address",
|
329
|
+
"name": "pool",
|
330
|
+
"type": "address"
|
331
|
+
},
|
357
332
|
{
|
358
333
|
"indexed": false,
|
359
334
|
"internalType": "NftId",
|
360
|
-
"name": "
|
335
|
+
"name": "applicationNftId",
|
361
336
|
"type": "uint96"
|
362
337
|
},
|
363
338
|
{
|
@@ -365,20 +340,14 @@
|
|
365
340
|
"internalType": "uint256",
|
366
341
|
"name": "collateralizationAmount",
|
367
342
|
"type": "uint256"
|
368
|
-
},
|
369
|
-
{
|
370
|
-
"indexed": false,
|
371
|
-
"internalType": "address",
|
372
|
-
"name": "pool",
|
373
|
-
"type": "address"
|
374
343
|
}
|
375
344
|
],
|
376
|
-
"name": "
|
345
|
+
"name": "LogPoolVerifiedByPool",
|
377
346
|
"type": "event"
|
378
347
|
},
|
379
348
|
{
|
380
349
|
"inputs": [],
|
381
|
-
"name": "
|
350
|
+
"name": "COMPONENT_LOCATION_V1",
|
382
351
|
"outputs": [
|
383
352
|
{
|
384
353
|
"internalType": "bytes32",
|
@@ -428,6 +397,45 @@
|
|
428
397
|
"stateMutability": "view",
|
429
398
|
"type": "function"
|
430
399
|
},
|
400
|
+
{
|
401
|
+
"inputs": [
|
402
|
+
{
|
403
|
+
"internalType": "NftId",
|
404
|
+
"name": "applicationNftId",
|
405
|
+
"type": "uint96"
|
406
|
+
},
|
407
|
+
{
|
408
|
+
"internalType": "bytes",
|
409
|
+
"name": "applicationData",
|
410
|
+
"type": "bytes"
|
411
|
+
},
|
412
|
+
{
|
413
|
+
"internalType": "NftId",
|
414
|
+
"name": "bundleNftId",
|
415
|
+
"type": "uint96"
|
416
|
+
},
|
417
|
+
{
|
418
|
+
"internalType": "bytes",
|
419
|
+
"name": "bundleFilter",
|
420
|
+
"type": "bytes"
|
421
|
+
},
|
422
|
+
{
|
423
|
+
"internalType": "uint256",
|
424
|
+
"name": "collateralizationAmount",
|
425
|
+
"type": "uint256"
|
426
|
+
}
|
427
|
+
],
|
428
|
+
"name": "applicationMatchesBundle",
|
429
|
+
"outputs": [
|
430
|
+
{
|
431
|
+
"internalType": "bool",
|
432
|
+
"name": "isMatching",
|
433
|
+
"type": "bool"
|
434
|
+
}
|
435
|
+
],
|
436
|
+
"stateMutability": "view",
|
437
|
+
"type": "function"
|
438
|
+
},
|
431
439
|
{
|
432
440
|
"inputs": [],
|
433
441
|
"name": "authority",
|
@@ -441,14 +449,72 @@
|
|
441
449
|
"stateMutability": "view",
|
442
450
|
"type": "function"
|
443
451
|
},
|
452
|
+
{
|
453
|
+
"inputs": [
|
454
|
+
{
|
455
|
+
"internalType": "NftId",
|
456
|
+
"name": "bundleNftId",
|
457
|
+
"type": "uint96"
|
458
|
+
}
|
459
|
+
],
|
460
|
+
"name": "close",
|
461
|
+
"outputs": [],
|
462
|
+
"stateMutability": "nonpayable",
|
463
|
+
"type": "function"
|
464
|
+
},
|
465
|
+
{
|
466
|
+
"inputs": [
|
467
|
+
{
|
468
|
+
"internalType": "NftId",
|
469
|
+
"name": "bundleNftId",
|
470
|
+
"type": "uint96"
|
471
|
+
},
|
472
|
+
{
|
473
|
+
"internalType": "Seconds",
|
474
|
+
"name": "lifetimeExtension",
|
475
|
+
"type": "uint40"
|
476
|
+
}
|
477
|
+
],
|
478
|
+
"name": "extend",
|
479
|
+
"outputs": [],
|
480
|
+
"stateMutability": "nonpayable",
|
481
|
+
"type": "function"
|
482
|
+
},
|
444
483
|
{
|
445
484
|
"inputs": [],
|
446
|
-
"name": "
|
485
|
+
"name": "getComponentInfo",
|
447
486
|
"outputs": [
|
448
487
|
{
|
449
|
-
"
|
450
|
-
|
451
|
-
|
488
|
+
"components": [
|
489
|
+
{
|
490
|
+
"internalType": "string",
|
491
|
+
"name": "name",
|
492
|
+
"type": "string"
|
493
|
+
},
|
494
|
+
{
|
495
|
+
"internalType": "contract IERC20Metadata",
|
496
|
+
"name": "token",
|
497
|
+
"type": "address"
|
498
|
+
},
|
499
|
+
{
|
500
|
+
"internalType": "contract TokenHandler",
|
501
|
+
"name": "tokenHandler",
|
502
|
+
"type": "address"
|
503
|
+
},
|
504
|
+
{
|
505
|
+
"internalType": "address",
|
506
|
+
"name": "wallet",
|
507
|
+
"type": "address"
|
508
|
+
},
|
509
|
+
{
|
510
|
+
"internalType": "bytes",
|
511
|
+
"name": "data",
|
512
|
+
"type": "bytes"
|
513
|
+
}
|
514
|
+
],
|
515
|
+
"internalType": "struct IComponents.ComponentInfo",
|
516
|
+
"name": "info",
|
517
|
+
"type": "tuple"
|
452
518
|
}
|
453
519
|
],
|
454
520
|
"stateMutability": "view",
|
@@ -523,19 +589,6 @@
|
|
523
589
|
"stateMutability": "view",
|
524
590
|
"type": "function"
|
525
591
|
},
|
526
|
-
{
|
527
|
-
"inputs": [],
|
528
|
-
"name": "getInitialOwner",
|
529
|
-
"outputs": [
|
530
|
-
{
|
531
|
-
"internalType": "address",
|
532
|
-
"name": "",
|
533
|
-
"type": "address"
|
534
|
-
}
|
535
|
-
],
|
536
|
-
"stateMutability": "view",
|
537
|
-
"type": "function"
|
538
|
-
},
|
539
592
|
{
|
540
593
|
"inputs": [],
|
541
594
|
"name": "getInstance",
|
@@ -549,32 +602,6 @@
|
|
549
602
|
"stateMutability": "view",
|
550
603
|
"type": "function"
|
551
604
|
},
|
552
|
-
{
|
553
|
-
"inputs": [],
|
554
|
-
"name": "getInstanceReader",
|
555
|
-
"outputs": [
|
556
|
-
{
|
557
|
-
"internalType": "contract InstanceReader",
|
558
|
-
"name": "reader",
|
559
|
-
"type": "address"
|
560
|
-
}
|
561
|
-
],
|
562
|
-
"stateMutability": "view",
|
563
|
-
"type": "function"
|
564
|
-
},
|
565
|
-
{
|
566
|
-
"inputs": [],
|
567
|
-
"name": "getInstanceService",
|
568
|
-
"outputs": [
|
569
|
-
{
|
570
|
-
"internalType": "contract IInstanceService",
|
571
|
-
"name": "",
|
572
|
-
"type": "address"
|
573
|
-
}
|
574
|
-
],
|
575
|
-
"stateMutability": "view",
|
576
|
-
"type": "function"
|
577
|
-
},
|
578
605
|
{
|
579
606
|
"inputs": [],
|
580
607
|
"name": "getName",
|
@@ -616,72 +643,7 @@
|
|
616
643
|
},
|
617
644
|
{
|
618
645
|
"inputs": [],
|
619
|
-
"name": "
|
620
|
-
"outputs": [
|
621
|
-
{
|
622
|
-
"internalType": "NftId",
|
623
|
-
"name": "productNftId",
|
624
|
-
"type": "uint96"
|
625
|
-
}
|
626
|
-
],
|
627
|
-
"stateMutability": "view",
|
628
|
-
"type": "function"
|
629
|
-
},
|
630
|
-
{
|
631
|
-
"inputs": [],
|
632
|
-
"name": "getProductService",
|
633
|
-
"outputs": [
|
634
|
-
{
|
635
|
-
"internalType": "contract IProductService",
|
636
|
-
"name": "",
|
637
|
-
"type": "address"
|
638
|
-
}
|
639
|
-
],
|
640
|
-
"stateMutability": "view",
|
641
|
-
"type": "function"
|
642
|
-
},
|
643
|
-
{
|
644
|
-
"inputs": [],
|
645
|
-
"name": "getRegistry",
|
646
|
-
"outputs": [
|
647
|
-
{
|
648
|
-
"internalType": "contract IRegistry",
|
649
|
-
"name": "",
|
650
|
-
"type": "address"
|
651
|
-
}
|
652
|
-
],
|
653
|
-
"stateMutability": "view",
|
654
|
-
"type": "function"
|
655
|
-
},
|
656
|
-
{
|
657
|
-
"inputs": [],
|
658
|
-
"name": "getRegistryAddress",
|
659
|
-
"outputs": [
|
660
|
-
{
|
661
|
-
"internalType": "address",
|
662
|
-
"name": "",
|
663
|
-
"type": "address"
|
664
|
-
}
|
665
|
-
],
|
666
|
-
"stateMutability": "view",
|
667
|
-
"type": "function"
|
668
|
-
},
|
669
|
-
{
|
670
|
-
"inputs": [],
|
671
|
-
"name": "getRetentionLevel",
|
672
|
-
"outputs": [
|
673
|
-
{
|
674
|
-
"internalType": "UFixed",
|
675
|
-
"name": "retentionLevel",
|
676
|
-
"type": "uint256"
|
677
|
-
}
|
678
|
-
],
|
679
|
-
"stateMutability": "view",
|
680
|
-
"type": "function"
|
681
|
-
},
|
682
|
-
{
|
683
|
-
"inputs": [],
|
684
|
-
"name": "getSetupInfo",
|
646
|
+
"name": "getPoolInfo",
|
685
647
|
"outputs": [
|
686
648
|
{
|
687
649
|
"components": [
|
@@ -691,9 +653,14 @@
|
|
691
653
|
"type": "uint96"
|
692
654
|
},
|
693
655
|
{
|
694
|
-
"internalType": "
|
695
|
-
"name": "
|
696
|
-
"type": "
|
656
|
+
"internalType": "RoleId",
|
657
|
+
"name": "bundleOwnerRole",
|
658
|
+
"type": "uint64"
|
659
|
+
},
|
660
|
+
{
|
661
|
+
"internalType": "uint256",
|
662
|
+
"name": "maxCapitalAmount",
|
663
|
+
"type": "uint256"
|
697
664
|
},
|
698
665
|
{
|
699
666
|
"internalType": "bool",
|
@@ -770,21 +737,55 @@
|
|
770
737
|
"internalType": "struct Fee",
|
771
738
|
"name": "performanceFee",
|
772
739
|
"type": "tuple"
|
773
|
-
},
|
774
|
-
{
|
775
|
-
"internalType": "address",
|
776
|
-
"name": "wallet",
|
777
|
-
"type": "address"
|
778
740
|
}
|
779
741
|
],
|
780
|
-
"internalType": "struct
|
781
|
-
"name": "
|
742
|
+
"internalType": "struct IComponents.PoolInfo",
|
743
|
+
"name": "poolInfo",
|
782
744
|
"type": "tuple"
|
783
745
|
}
|
784
746
|
],
|
785
747
|
"stateMutability": "view",
|
786
748
|
"type": "function"
|
787
749
|
},
|
750
|
+
{
|
751
|
+
"inputs": [],
|
752
|
+
"name": "getProductNftId",
|
753
|
+
"outputs": [
|
754
|
+
{
|
755
|
+
"internalType": "NftId",
|
756
|
+
"name": "productNftId",
|
757
|
+
"type": "uint96"
|
758
|
+
}
|
759
|
+
],
|
760
|
+
"stateMutability": "view",
|
761
|
+
"type": "function"
|
762
|
+
},
|
763
|
+
{
|
764
|
+
"inputs": [],
|
765
|
+
"name": "getRegistry",
|
766
|
+
"outputs": [
|
767
|
+
{
|
768
|
+
"internalType": "contract IRegistry",
|
769
|
+
"name": "",
|
770
|
+
"type": "address"
|
771
|
+
}
|
772
|
+
],
|
773
|
+
"stateMutability": "view",
|
774
|
+
"type": "function"
|
775
|
+
},
|
776
|
+
{
|
777
|
+
"inputs": [],
|
778
|
+
"name": "getRegistryAddress",
|
779
|
+
"outputs": [
|
780
|
+
{
|
781
|
+
"internalType": "address",
|
782
|
+
"name": "",
|
783
|
+
"type": "address"
|
784
|
+
}
|
785
|
+
],
|
786
|
+
"stateMutability": "view",
|
787
|
+
"type": "function"
|
788
|
+
},
|
788
789
|
{
|
789
790
|
"inputs": [],
|
790
791
|
"name": "getToken",
|
@@ -850,7 +851,7 @@
|
|
850
851
|
},
|
851
852
|
{
|
852
853
|
"internalType": "bytes",
|
853
|
-
"name": "
|
854
|
+
"name": "registryData",
|
854
855
|
"type": "bytes"
|
855
856
|
}
|
856
857
|
],
|
@@ -884,19 +885,6 @@
|
|
884
885
|
"stateMutability": "nonpayable",
|
885
886
|
"type": "function"
|
886
887
|
},
|
887
|
-
{
|
888
|
-
"inputs": [
|
889
|
-
{
|
890
|
-
"internalType": "address",
|
891
|
-
"name": "initialOwner",
|
892
|
-
"type": "address"
|
893
|
-
}
|
894
|
-
],
|
895
|
-
"name": "initializeOwner",
|
896
|
-
"outputs": [],
|
897
|
-
"stateMutability": "nonpayable",
|
898
|
-
"type": "function"
|
899
|
-
},
|
900
888
|
{
|
901
889
|
"inputs": [
|
902
890
|
{
|
@@ -924,26 +912,6 @@
|
|
924
912
|
"name": "isInterceptingNftTransfers",
|
925
913
|
"type": "bool"
|
926
914
|
},
|
927
|
-
{
|
928
|
-
"internalType": "bool",
|
929
|
-
"name": "isExternallyManaging",
|
930
|
-
"type": "bool"
|
931
|
-
},
|
932
|
-
{
|
933
|
-
"internalType": "bool",
|
934
|
-
"name": "isVerifying",
|
935
|
-
"type": "bool"
|
936
|
-
},
|
937
|
-
{
|
938
|
-
"internalType": "UFixed",
|
939
|
-
"name": "collateralizationLevel",
|
940
|
-
"type": "uint256"
|
941
|
-
},
|
942
|
-
{
|
943
|
-
"internalType": "UFixed",
|
944
|
-
"name": "retentionLevel",
|
945
|
-
"type": "uint256"
|
946
|
-
},
|
947
915
|
{
|
948
916
|
"internalType": "address",
|
949
917
|
"name": "initialOwner",
|
@@ -951,7 +919,7 @@
|
|
951
919
|
},
|
952
920
|
{
|
953
921
|
"internalType": "bytes",
|
954
|
-
"name": "
|
922
|
+
"name": "registryData",
|
955
923
|
"type": "bytes"
|
956
924
|
}
|
957
925
|
],
|
@@ -989,7 +957,7 @@
|
|
989
957
|
},
|
990
958
|
{
|
991
959
|
"internalType": "bytes",
|
992
|
-
"name": "
|
960
|
+
"name": "registryData",
|
993
961
|
"type": "bytes"
|
994
962
|
}
|
995
963
|
],
|
@@ -1024,32 +992,6 @@
|
|
1024
992
|
"stateMutability": "view",
|
1025
993
|
"type": "function"
|
1026
994
|
},
|
1027
|
-
{
|
1028
|
-
"inputs": [],
|
1029
|
-
"name": "isExternallyManaged",
|
1030
|
-
"outputs": [
|
1031
|
-
{
|
1032
|
-
"internalType": "bool",
|
1033
|
-
"name": "",
|
1034
|
-
"type": "bool"
|
1035
|
-
}
|
1036
|
-
],
|
1037
|
-
"stateMutability": "view",
|
1038
|
-
"type": "function"
|
1039
|
-
},
|
1040
|
-
{
|
1041
|
-
"inputs": [],
|
1042
|
-
"name": "isInterceptingBundleTransfers",
|
1043
|
-
"outputs": [
|
1044
|
-
{
|
1045
|
-
"internalType": "bool",
|
1046
|
-
"name": "",
|
1047
|
-
"type": "bool"
|
1048
|
-
}
|
1049
|
-
],
|
1050
|
-
"stateMutability": "view",
|
1051
|
-
"type": "function"
|
1052
|
-
},
|
1053
995
|
{
|
1054
996
|
"inputs": [],
|
1055
997
|
"name": "isNftInterceptor",
|
@@ -1063,19 +1005,6 @@
|
|
1063
1005
|
"stateMutability": "view",
|
1064
1006
|
"type": "function"
|
1065
1007
|
},
|
1066
|
-
{
|
1067
|
-
"inputs": [],
|
1068
|
-
"name": "isVerifyingApplications",
|
1069
|
-
"outputs": [
|
1070
|
-
{
|
1071
|
-
"internalType": "bool",
|
1072
|
-
"name": "isConfirmingApplication",
|
1073
|
-
"type": "bool"
|
1074
|
-
}
|
1075
|
-
],
|
1076
|
-
"stateMutability": "view",
|
1077
|
-
"type": "function"
|
1078
|
-
},
|
1079
1008
|
{
|
1080
1009
|
"inputs": [],
|
1081
1010
|
"name": "linkToRegisteredNftId",
|
@@ -1105,11 +1034,6 @@
|
|
1105
1034
|
},
|
1106
1035
|
{
|
1107
1036
|
"inputs": [
|
1108
|
-
{
|
1109
|
-
"internalType": "address",
|
1110
|
-
"name": "from",
|
1111
|
-
"type": "address"
|
1112
|
-
},
|
1113
1037
|
{
|
1114
1038
|
"internalType": "address",
|
1115
1039
|
"name": "to",
|
@@ -1121,7 +1045,7 @@
|
|
1121
1045
|
"type": "uint256"
|
1122
1046
|
}
|
1123
1047
|
],
|
1124
|
-
"name": "
|
1048
|
+
"name": "nftMint",
|
1125
1049
|
"outputs": [],
|
1126
1050
|
"stateMutability": "nonpayable",
|
1127
1051
|
"type": "function"
|
@@ -1129,25 +1053,24 @@
|
|
1129
1053
|
{
|
1130
1054
|
"inputs": [
|
1131
1055
|
{
|
1132
|
-
"internalType": "
|
1133
|
-
"name": "",
|
1134
|
-
"type": "
|
1056
|
+
"internalType": "address",
|
1057
|
+
"name": "from",
|
1058
|
+
"type": "address"
|
1135
1059
|
},
|
1136
1060
|
{
|
1137
|
-
"internalType": "
|
1138
|
-
"name": "",
|
1139
|
-
"type": "
|
1140
|
-
}
|
1141
|
-
],
|
1142
|
-
"name": "policyMatchesBundle",
|
1143
|
-
"outputs": [
|
1061
|
+
"internalType": "address",
|
1062
|
+
"name": "to",
|
1063
|
+
"type": "address"
|
1064
|
+
},
|
1144
1065
|
{
|
1145
|
-
"internalType": "
|
1146
|
-
"name": "
|
1147
|
-
"type": "
|
1066
|
+
"internalType": "uint256",
|
1067
|
+
"name": "tokenId",
|
1068
|
+
"type": "uint256"
|
1148
1069
|
}
|
1149
1070
|
],
|
1150
|
-
"
|
1071
|
+
"name": "nftTransferFrom",
|
1072
|
+
"outputs": [],
|
1073
|
+
"stateMutability": "nonpayable",
|
1151
1074
|
"type": "function"
|
1152
1075
|
},
|
1153
1076
|
{
|
@@ -1206,6 +1129,19 @@
|
|
1206
1129
|
"stateMutability": "nonpayable",
|
1207
1130
|
"type": "function"
|
1208
1131
|
},
|
1132
|
+
{
|
1133
|
+
"inputs": [
|
1134
|
+
{
|
1135
|
+
"internalType": "RoleId",
|
1136
|
+
"name": "bundleOwnerRole",
|
1137
|
+
"type": "uint64"
|
1138
|
+
}
|
1139
|
+
],
|
1140
|
+
"name": "setBundleOwnerRole",
|
1141
|
+
"outputs": [],
|
1142
|
+
"stateMutability": "nonpayable",
|
1143
|
+
"type": "function"
|
1144
|
+
},
|
1209
1145
|
{
|
1210
1146
|
"inputs": [
|
1211
1147
|
{
|
@@ -1265,6 +1201,19 @@
|
|
1265
1201
|
"stateMutability": "nonpayable",
|
1266
1202
|
"type": "function"
|
1267
1203
|
},
|
1204
|
+
{
|
1205
|
+
"inputs": [
|
1206
|
+
{
|
1207
|
+
"internalType": "uint256",
|
1208
|
+
"name": "maxCapitalAmount",
|
1209
|
+
"type": "uint256"
|
1210
|
+
}
|
1211
|
+
],
|
1212
|
+
"name": "setMaxCapitalAmount",
|
1213
|
+
"outputs": [],
|
1214
|
+
"stateMutability": "nonpayable",
|
1215
|
+
"type": "function"
|
1216
|
+
},
|
1268
1217
|
{
|
1269
1218
|
"inputs": [
|
1270
1219
|
{
|
@@ -1291,6 +1240,24 @@
|
|
1291
1240
|
"stateMutability": "nonpayable",
|
1292
1241
|
"type": "function"
|
1293
1242
|
},
|
1243
|
+
{
|
1244
|
+
"inputs": [
|
1245
|
+
{
|
1246
|
+
"internalType": "NftId",
|
1247
|
+
"name": "bundleNftId",
|
1248
|
+
"type": "uint96"
|
1249
|
+
},
|
1250
|
+
{
|
1251
|
+
"internalType": "uint256",
|
1252
|
+
"name": "amount",
|
1253
|
+
"type": "uint256"
|
1254
|
+
}
|
1255
|
+
],
|
1256
|
+
"name": "stake",
|
1257
|
+
"outputs": [],
|
1258
|
+
"stateMutability": "nonpayable",
|
1259
|
+
"type": "function"
|
1260
|
+
},
|
1294
1261
|
{
|
1295
1262
|
"inputs": [
|
1296
1263
|
{
|
@@ -1330,6 +1297,24 @@
|
|
1330
1297
|
"stateMutability": "nonpayable",
|
1331
1298
|
"type": "function"
|
1332
1299
|
},
|
1300
|
+
{
|
1301
|
+
"inputs": [
|
1302
|
+
{
|
1303
|
+
"internalType": "NftId",
|
1304
|
+
"name": "bundleNftId",
|
1305
|
+
"type": "uint96"
|
1306
|
+
},
|
1307
|
+
{
|
1308
|
+
"internalType": "uint256",
|
1309
|
+
"name": "amount",
|
1310
|
+
"type": "uint256"
|
1311
|
+
}
|
1312
|
+
],
|
1313
|
+
"name": "unstake",
|
1314
|
+
"outputs": [],
|
1315
|
+
"stateMutability": "nonpayable",
|
1316
|
+
"type": "function"
|
1317
|
+
},
|
1333
1318
|
{
|
1334
1319
|
"inputs": [
|
1335
1320
|
{
|
@@ -1342,6 +1327,11 @@
|
|
1342
1327
|
"name": "applicationData",
|
1343
1328
|
"type": "bytes"
|
1344
1329
|
},
|
1330
|
+
{
|
1331
|
+
"internalType": "NftId",
|
1332
|
+
"name": "bundleNftId",
|
1333
|
+
"type": "uint96"
|
1334
|
+
},
|
1345
1335
|
{
|
1346
1336
|
"internalType": "bytes",
|
1347
1337
|
"name": "bundleFilter",
|