@etherisc/gif-next 0.0.2-d2fd9d7-008 → 0.0.2-d30275e-758
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +28 -14
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +842 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +946 -219
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +605 -0
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +848 -31
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +846 -57
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +682 -9
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +806 -243
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +632 -194
- 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 +69 -66
- 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 +303 -1340
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +337 -168
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +439 -3102
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +609 -178
- 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 +251 -270
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +457 -402
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +292 -131
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2663 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +11 -27
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +277 -178
- 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 +71 -45
- 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 +4 -0
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +902 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +649 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1326 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +725 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1072 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +685 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1022 -223
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +392 -79
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +235 -200
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +714 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +602 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +585 -160
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +969 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +536 -304
- package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +4 -0
- package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → instance/service/IPricingService.sol/IPricingService.json} +248 -172
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +78 -388
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1575 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +741 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +832 -400
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +338 -93
- package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +988 -0
- package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +689 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +289 -564
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +289 -124
- 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 +244 -133
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +149 -230
- 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 +257 -235
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +200 -335
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +298 -145
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +141 -53
- 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 +41 -3
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +86 -172
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +191 -163
- 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 +2 -152
- 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 +129 -51
- 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 +210 -214
- 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 +8 -190
- 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 +4 -0
- package/artifacts/contracts/types/Amount.sol/AmountLib.json +209 -0
- 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 +179 -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 +40 -9
- 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 +209 -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 +38 -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 +253 -0
- package/contracts/components/Distribution.sol +204 -83
- package/contracts/components/IComponent.sol +76 -0
- package/contracts/components/IDistributionComponent.sol +44 -17
- package/contracts/components/IPoolComponent.sol +88 -41
- package/contracts/components/IProductComponent.sol +10 -5
- package/contracts/components/Pool.sol +217 -182
- package/contracts/components/Product.sol +248 -163
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
- package/contracts/instance/BundleManager.sol +17 -20
- package/contracts/instance/Cloneable.sol +7 -2
- package/contracts/instance/IInstance.sol +57 -33
- package/contracts/instance/IInstanceService.sol +56 -9
- package/contracts/instance/Instance.sol +150 -367
- package/contracts/instance/InstanceAccessManager.sol +430 -177
- package/contracts/instance/InstanceAuthorizationsLib.sol +300 -0
- package/contracts/instance/InstanceReader.sol +44 -39
- package/contracts/instance/InstanceService.sol +243 -166
- package/contracts/instance/InstanceServiceManager.sol +6 -9
- package/contracts/instance/InstanceStore.sol +208 -0
- package/contracts/instance/ObjectManager.sol +11 -24
- package/contracts/instance/base/ComponentService.sol +148 -0
- package/contracts/instance/base/KeyValueStore.sol +13 -5
- package/contracts/instance/base/Lifecycle.sol +23 -6
- package/contracts/instance/module/IAccess.sol +36 -20
- package/contracts/instance/module/IBundle.sol +8 -5
- package/contracts/instance/module/IComponents.sol +41 -0
- package/contracts/instance/module/IDistribution.sol +2 -0
- package/contracts/instance/module/IPolicy.sol +41 -9
- package/contracts/instance/module/ISetup.sol +7 -20
- package/contracts/instance/service/ApplicationService.sol +185 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +440 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/ClaimService.sol +239 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +287 -33
- package/contracts/instance/service/DistributionServiceManager.sol +7 -10
- package/contracts/instance/service/IApplicationService.sol +61 -0
- package/contracts/instance/service/IBundleService.sol +102 -0
- package/contracts/instance/service/IClaimService.sol +92 -0
- package/contracts/instance/service/IDistributionService.sol +74 -1
- package/contracts/instance/service/IPolicyService.sol +139 -0
- package/contracts/instance/service/IPoolService.sol +76 -25
- package/contracts/instance/service/IPricingService.sol +36 -0
- package/contracts/instance/service/IProductService.sol +2 -72
- package/contracts/instance/service/PolicyService.sol +577 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +232 -183
- package/contracts/instance/service/PoolServiceManager.sol +6 -9
- package/contracts/instance/service/PricingService.sol +275 -0
- package/contracts/instance/service/PricingServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +109 -469
- package/contracts/instance/service/ProductServiceManager.sol +2 -2
- package/contracts/registry/ChainNft.sol +9 -1
- package/contracts/registry/IRegistry.sol +39 -19
- package/contracts/registry/IRegistryService.sol +31 -13
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +243 -224
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +101 -173
- package/contracts/registry/RegistryServiceManager.sol +21 -39
- package/contracts/registry/ReleaseManager.sol +324 -0
- package/contracts/registry/TokenRegistry.sol +22 -17
- package/contracts/shared/ERC165.sol +14 -12
- package/contracts/shared/INftOwnable.sol +11 -10
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +4 -6
- package/contracts/shared/IRegistryLinked.sol +12 -0
- package/contracts/shared/IService.sol +5 -4
- package/contracts/shared/IVersionable.sol +4 -47
- package/contracts/shared/NftOwnable.sol +66 -80
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +100 -25
- package/contracts/shared/Registerable.sol +16 -32
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +41 -24
- package/contracts/shared/TokenHandler.sol +11 -5
- package/contracts/shared/Versionable.sol +4 -92
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestService.sol +4 -3
- package/contracts/types/Amount.sol +70 -0
- package/contracts/types/Blocknumber.sol +1 -0
- package/contracts/types/ClaimId.sol +75 -0
- package/contracts/types/DistributorType.sol +2 -2
- package/contracts/types/Fee.sol +13 -5
- package/contracts/types/NftId.sol +8 -0
- package/contracts/types/ObjectType.sol +16 -7
- package/contracts/types/PayoutId.sol +82 -0
- package/contracts/types/Referral.sol +4 -0
- package/contracts/types/RoleId.sol +26 -19
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +7 -2
- package/contracts/types/Timestamp.sol +18 -13
- package/contracts/types/UFixed.sol +1 -0
- package/contracts/types/Version.sol +1 -0
- package/package.json +3 -3
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
- 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/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/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +0 -101
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
- package/contracts/components/BaseComponent.sol +0 -91
- package/contracts/components/IBaseComponent.sol +0 -25
- 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
- package/contracts/instance/AccessManagedSimple.sol +0 -115
- package/contracts/instance/AccessManagerSimple.sol +0 -692
- package/contracts/instance/IAccessManagerSimple.sol +0 -391
- package/contracts/instance/base/ComponentServiceBase.sol +0 -134
- package/contracts/instance/base/IInstanceBase.sol +0 -23
- package/contracts/instance/service/ComponentOwnerService.sol +0 -317
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
- package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -7,108 +7,145 @@
|
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
9
|
"internalType": "address",
|
10
|
-
"name": "
|
10
|
+
"name": "authority",
|
11
11
|
"type": "address"
|
12
|
-
}
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
18
19
|
{
|
19
20
|
"internalType": "address",
|
20
|
-
"name": "
|
21
|
+
"name": "caller",
|
21
22
|
"type": "address"
|
22
23
|
},
|
23
24
|
{
|
24
|
-
"internalType": "
|
25
|
-
"name": "
|
26
|
-
"type": "
|
27
|
-
}
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
28
35
|
{
|
29
|
-
"internalType": "
|
30
|
-
"name": "
|
31
|
-
"type": "
|
32
|
-
}
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "caller",
|
38
|
+
"type": "address"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
33
46
|
{
|
34
|
-
"internalType": "
|
35
|
-
"name": "
|
36
|
-
"type": "
|
37
|
-
}
|
47
|
+
"internalType": "address",
|
48
|
+
"name": "target",
|
49
|
+
"type": "address"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "AddressEmptyCode",
|
53
|
+
"type": "error"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"inputs": [
|
38
57
|
{
|
39
|
-
"
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
}
|
50
|
-
],
|
51
|
-
"internalType": "struct Fee",
|
52
|
-
"name": "poolFee",
|
53
|
-
"type": "tuple"
|
54
|
-
},
|
58
|
+
"internalType": "address",
|
59
|
+
"name": "account",
|
60
|
+
"type": "address"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"name": "AddressInsufficientBalance",
|
64
|
+
"type": "error"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"inputs": [
|
55
68
|
{
|
56
|
-
"
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
}
|
67
|
-
],
|
68
|
-
"internalType": "struct Fee",
|
69
|
-
"name": "stakingFee",
|
70
|
-
"type": "tuple"
|
71
|
-
},
|
69
|
+
"internalType": "address",
|
70
|
+
"name": "caller",
|
71
|
+
"type": "address"
|
72
|
+
}
|
73
|
+
],
|
74
|
+
"name": "ErrorComponentNotChainNft",
|
75
|
+
"type": "error"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"inputs": [
|
72
79
|
{
|
73
|
-
"
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
}
|
84
|
-
],
|
85
|
-
"internalType": "struct Fee",
|
86
|
-
"name": "performanceFee",
|
87
|
-
"type": "tuple"
|
88
|
-
},
|
80
|
+
"internalType": "NftId",
|
81
|
+
"name": "instanceNftId",
|
82
|
+
"type": "uint96"
|
83
|
+
}
|
84
|
+
],
|
85
|
+
"name": "ErrorComponentNotInstance",
|
86
|
+
"type": "error"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"inputs": [
|
89
90
|
{
|
90
91
|
"internalType": "address",
|
91
|
-
"name": "
|
92
|
+
"name": "caller",
|
92
93
|
"type": "address"
|
93
94
|
}
|
94
95
|
],
|
95
|
-
"
|
96
|
-
"type": "
|
96
|
+
"name": "ErrorComponentNotProductService",
|
97
|
+
"type": "error"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"inputs": [],
|
101
|
+
"name": "ErrorComponentProductNftAlreadySet",
|
102
|
+
"type": "error"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"inputs": [],
|
106
|
+
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
107
|
+
"type": "error"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"inputs": [],
|
111
|
+
"name": "ErrorComponentWalletAddressZero",
|
112
|
+
"type": "error"
|
97
113
|
},
|
98
114
|
{
|
99
115
|
"inputs": [
|
100
116
|
{
|
101
117
|
"internalType": "address",
|
102
|
-
"name": "
|
118
|
+
"name": "oldWallet",
|
103
119
|
"type": "address"
|
104
120
|
},
|
121
|
+
{
|
122
|
+
"internalType": "address",
|
123
|
+
"name": "newWallet",
|
124
|
+
"type": "address"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"internalType": "uint256",
|
128
|
+
"name": "allowance",
|
129
|
+
"type": "uint256"
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"internalType": "uint256",
|
133
|
+
"name": "balance",
|
134
|
+
"type": "uint256"
|
135
|
+
}
|
136
|
+
],
|
137
|
+
"name": "ErrorComponentWalletAllowanceTooSmall",
|
138
|
+
"type": "error"
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"inputs": [
|
105
142
|
{
|
106
143
|
"internalType": "NftId",
|
107
144
|
"name": "nftId",
|
108
145
|
"type": "uint96"
|
109
146
|
}
|
110
147
|
],
|
111
|
-
"name": "
|
148
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
112
149
|
"type": "error"
|
113
150
|
},
|
114
151
|
{
|
@@ -119,7 +156,12 @@
|
|
119
156
|
"type": "address"
|
120
157
|
}
|
121
158
|
],
|
122
|
-
"name": "
|
159
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
160
|
+
"type": "error"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"inputs": [],
|
164
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
123
165
|
"type": "error"
|
124
166
|
},
|
125
167
|
{
|
@@ -130,7 +172,7 @@
|
|
130
172
|
"type": "address"
|
131
173
|
}
|
132
174
|
],
|
133
|
-
"name": "
|
175
|
+
"name": "ErrorNftOwnableNotOwner",
|
134
176
|
"type": "error"
|
135
177
|
},
|
136
178
|
{
|
@@ -147,33 +189,44 @@
|
|
147
189
|
{
|
148
190
|
"inputs": [
|
149
191
|
{
|
150
|
-
"internalType": "
|
151
|
-
"name": "
|
152
|
-
"type": "
|
192
|
+
"internalType": "NftId",
|
193
|
+
"name": "applicationNftId",
|
194
|
+
"type": "uint96"
|
153
195
|
}
|
154
196
|
],
|
155
|
-
"name": "
|
197
|
+
"name": "ErrorPoolApplicationBundleMismatch",
|
156
198
|
"type": "error"
|
157
199
|
},
|
158
200
|
{
|
159
|
-
"inputs": [
|
160
|
-
|
201
|
+
"inputs": [
|
202
|
+
{
|
203
|
+
"internalType": "NftId",
|
204
|
+
"name": "bundleNftId",
|
205
|
+
"type": "uint96"
|
206
|
+
},
|
207
|
+
{
|
208
|
+
"internalType": "address",
|
209
|
+
"name": "caller",
|
210
|
+
"type": "address"
|
211
|
+
}
|
212
|
+
],
|
213
|
+
"name": "ErrorPoolNotBundleOwner",
|
161
214
|
"type": "error"
|
162
215
|
},
|
163
216
|
{
|
164
217
|
"inputs": [
|
165
218
|
{
|
166
219
|
"internalType": "address",
|
167
|
-
"name": "
|
220
|
+
"name": "caller",
|
168
221
|
"type": "address"
|
169
222
|
}
|
170
223
|
],
|
171
|
-
"name": "
|
224
|
+
"name": "ErrorPoolNotPoolService",
|
172
225
|
"type": "error"
|
173
226
|
},
|
174
227
|
{
|
175
228
|
"inputs": [],
|
176
|
-
"name": "
|
229
|
+
"name": "FailedInnerCall",
|
177
230
|
"type": "error"
|
178
231
|
},
|
179
232
|
{
|
@@ -186,6 +239,30 @@
|
|
186
239
|
"name": "NotInitializing",
|
187
240
|
"type": "error"
|
188
241
|
},
|
242
|
+
{
|
243
|
+
"inputs": [
|
244
|
+
{
|
245
|
+
"internalType": "address",
|
246
|
+
"name": "token",
|
247
|
+
"type": "address"
|
248
|
+
}
|
249
|
+
],
|
250
|
+
"name": "SafeERC20FailedOperation",
|
251
|
+
"type": "error"
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"anonymous": false,
|
255
|
+
"inputs": [
|
256
|
+
{
|
257
|
+
"indexed": false,
|
258
|
+
"internalType": "address",
|
259
|
+
"name": "authority",
|
260
|
+
"type": "address"
|
261
|
+
}
|
262
|
+
],
|
263
|
+
"name": "AuthorityUpdated",
|
264
|
+
"type": "event"
|
265
|
+
},
|
189
266
|
{
|
190
267
|
"anonymous": false,
|
191
268
|
"inputs": [
|
@@ -204,26 +281,109 @@
|
|
204
281
|
"inputs": [
|
205
282
|
{
|
206
283
|
"indexed": false,
|
207
|
-
"internalType": "
|
208
|
-
"name": "
|
209
|
-
"type": "
|
284
|
+
"internalType": "address",
|
285
|
+
"name": "oldWallet",
|
286
|
+
"type": "address"
|
287
|
+
},
|
288
|
+
{
|
289
|
+
"indexed": false,
|
290
|
+
"internalType": "address",
|
291
|
+
"name": "newWallet",
|
292
|
+
"type": "address"
|
293
|
+
}
|
294
|
+
],
|
295
|
+
"name": "LogComponentWalletAddressChanged",
|
296
|
+
"type": "event"
|
297
|
+
},
|
298
|
+
{
|
299
|
+
"anonymous": false,
|
300
|
+
"inputs": [
|
301
|
+
{
|
302
|
+
"indexed": false,
|
303
|
+
"internalType": "address",
|
304
|
+
"name": "from",
|
305
|
+
"type": "address"
|
306
|
+
},
|
307
|
+
{
|
308
|
+
"indexed": false,
|
309
|
+
"internalType": "address",
|
310
|
+
"name": "to",
|
311
|
+
"type": "address"
|
210
312
|
},
|
211
313
|
{
|
212
314
|
"indexed": false,
|
213
315
|
"internalType": "uint256",
|
214
|
-
"name": "
|
316
|
+
"name": "amount",
|
215
317
|
"type": "uint256"
|
216
|
-
}
|
318
|
+
}
|
319
|
+
],
|
320
|
+
"name": "LogComponentWalletTokensTransferred",
|
321
|
+
"type": "event"
|
322
|
+
},
|
323
|
+
{
|
324
|
+
"anonymous": false,
|
325
|
+
"inputs": [
|
217
326
|
{
|
218
327
|
"indexed": false,
|
219
328
|
"internalType": "address",
|
220
329
|
"name": "pool",
|
221
330
|
"type": "address"
|
331
|
+
},
|
332
|
+
{
|
333
|
+
"indexed": false,
|
334
|
+
"internalType": "NftId",
|
335
|
+
"name": "applicationNftId",
|
336
|
+
"type": "uint96"
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"indexed": false,
|
340
|
+
"internalType": "uint256",
|
341
|
+
"name": "collateralizationAmount",
|
342
|
+
"type": "uint256"
|
222
343
|
}
|
223
344
|
],
|
224
|
-
"name": "
|
345
|
+
"name": "LogPoolVerifiedByPool",
|
225
346
|
"type": "event"
|
226
347
|
},
|
348
|
+
{
|
349
|
+
"inputs": [],
|
350
|
+
"name": "COMPONENT_LOCATION_V1",
|
351
|
+
"outputs": [
|
352
|
+
{
|
353
|
+
"internalType": "bytes32",
|
354
|
+
"name": "",
|
355
|
+
"type": "bytes32"
|
356
|
+
}
|
357
|
+
],
|
358
|
+
"stateMutability": "view",
|
359
|
+
"type": "function"
|
360
|
+
},
|
361
|
+
{
|
362
|
+
"inputs": [],
|
363
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
364
|
+
"outputs": [
|
365
|
+
{
|
366
|
+
"internalType": "bytes32",
|
367
|
+
"name": "",
|
368
|
+
"type": "bytes32"
|
369
|
+
}
|
370
|
+
],
|
371
|
+
"stateMutability": "view",
|
372
|
+
"type": "function"
|
373
|
+
},
|
374
|
+
{
|
375
|
+
"inputs": [],
|
376
|
+
"name": "POOL_STORAGE_LOCATION_V1",
|
377
|
+
"outputs": [
|
378
|
+
{
|
379
|
+
"internalType": "bytes32",
|
380
|
+
"name": "",
|
381
|
+
"type": "bytes32"
|
382
|
+
}
|
383
|
+
],
|
384
|
+
"stateMutability": "view",
|
385
|
+
"type": "function"
|
386
|
+
},
|
227
387
|
{
|
228
388
|
"inputs": [],
|
229
389
|
"name": "REGISTERABLE_LOCATION_V1",
|
@@ -240,62 +400,155 @@
|
|
240
400
|
{
|
241
401
|
"inputs": [
|
242
402
|
{
|
243
|
-
"
|
244
|
-
|
245
|
-
|
246
|
-
"name": "fractionalFee",
|
247
|
-
"type": "uint256"
|
248
|
-
},
|
249
|
-
{
|
250
|
-
"internalType": "uint256",
|
251
|
-
"name": "fixedFee",
|
252
|
-
"type": "uint256"
|
253
|
-
}
|
254
|
-
],
|
255
|
-
"internalType": "struct Fee",
|
256
|
-
"name": "fee",
|
257
|
-
"type": "tuple"
|
403
|
+
"internalType": "NftId",
|
404
|
+
"name": "applicationNftId",
|
405
|
+
"type": "uint96"
|
258
406
|
},
|
259
407
|
{
|
260
|
-
"internalType": "
|
261
|
-
"name": "
|
262
|
-
"type": "
|
408
|
+
"internalType": "bytes",
|
409
|
+
"name": "applicationData",
|
410
|
+
"type": "bytes"
|
263
411
|
},
|
264
412
|
{
|
265
|
-
"internalType": "
|
266
|
-
"name": "
|
267
|
-
"type": "
|
413
|
+
"internalType": "NftId",
|
414
|
+
"name": "bundleNftId",
|
415
|
+
"type": "uint96"
|
268
416
|
},
|
269
417
|
{
|
270
418
|
"internalType": "bytes",
|
271
|
-
"name": "
|
419
|
+
"name": "bundleFilter",
|
272
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
|
+
},
|
439
|
+
{
|
440
|
+
"inputs": [],
|
441
|
+
"name": "authority",
|
442
|
+
"outputs": [
|
443
|
+
{
|
444
|
+
"internalType": "address",
|
445
|
+
"name": "",
|
446
|
+
"type": "address"
|
447
|
+
}
|
448
|
+
],
|
449
|
+
"stateMutability": "view",
|
450
|
+
"type": "function"
|
451
|
+
},
|
452
|
+
{
|
453
|
+
"inputs": [
|
454
|
+
{
|
455
|
+
"internalType": "NftId",
|
456
|
+
"name": "bundleNftId",
|
457
|
+
"type": "uint96"
|
273
458
|
}
|
274
459
|
],
|
275
|
-
"name": "
|
276
|
-
"outputs": [
|
460
|
+
"name": "close",
|
461
|
+
"outputs": [],
|
462
|
+
"stateMutability": "nonpayable",
|
463
|
+
"type": "function"
|
464
|
+
},
|
465
|
+
{
|
466
|
+
"inputs": [
|
277
467
|
{
|
278
468
|
"internalType": "NftId",
|
279
469
|
"name": "bundleNftId",
|
280
470
|
"type": "uint96"
|
471
|
+
},
|
472
|
+
{
|
473
|
+
"internalType": "Seconds",
|
474
|
+
"name": "lifetimeExtension",
|
475
|
+
"type": "uint40"
|
281
476
|
}
|
282
477
|
],
|
478
|
+
"name": "extend",
|
479
|
+
"outputs": [],
|
283
480
|
"stateMutability": "nonpayable",
|
284
481
|
"type": "function"
|
285
482
|
},
|
286
483
|
{
|
287
484
|
"inputs": [],
|
288
|
-
"name": "
|
485
|
+
"name": "getComponentInfo",
|
289
486
|
"outputs": [
|
290
487
|
{
|
291
|
-
"
|
292
|
-
|
293
|
-
|
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": "Amount",
|
511
|
+
"name": "balanceAmount",
|
512
|
+
"type": "uint96"
|
513
|
+
},
|
514
|
+
{
|
515
|
+
"internalType": "Amount",
|
516
|
+
"name": "feeAmount",
|
517
|
+
"type": "uint96"
|
518
|
+
},
|
519
|
+
{
|
520
|
+
"internalType": "bytes",
|
521
|
+
"name": "data",
|
522
|
+
"type": "bytes"
|
523
|
+
}
|
524
|
+
],
|
525
|
+
"internalType": "struct IComponents.ComponentInfo",
|
526
|
+
"name": "info",
|
527
|
+
"type": "tuple"
|
294
528
|
}
|
295
529
|
],
|
296
530
|
"stateMutability": "view",
|
297
531
|
"type": "function"
|
298
532
|
},
|
533
|
+
{
|
534
|
+
"inputs": [
|
535
|
+
{
|
536
|
+
"internalType": "bytes",
|
537
|
+
"name": "name",
|
538
|
+
"type": "bytes"
|
539
|
+
}
|
540
|
+
],
|
541
|
+
"name": "getContractLocation",
|
542
|
+
"outputs": [
|
543
|
+
{
|
544
|
+
"internalType": "bytes32",
|
545
|
+
"name": "hash",
|
546
|
+
"type": "bytes32"
|
547
|
+
}
|
548
|
+
],
|
549
|
+
"stateMutability": "pure",
|
550
|
+
"type": "function"
|
551
|
+
},
|
299
552
|
{
|
300
553
|
"inputs": [],
|
301
554
|
"name": "getInitialInfo",
|
@@ -339,13 +592,8 @@
|
|
339
592
|
}
|
340
593
|
],
|
341
594
|
"internalType": "struct IRegistry.ObjectInfo",
|
342
|
-
"name": "",
|
595
|
+
"name": "info",
|
343
596
|
"type": "tuple"
|
344
|
-
},
|
345
|
-
{
|
346
|
-
"internalType": "bytes",
|
347
|
-
"name": "",
|
348
|
-
"type": "bytes"
|
349
597
|
}
|
350
598
|
],
|
351
599
|
"stateMutability": "view",
|
@@ -366,25 +614,12 @@
|
|
366
614
|
},
|
367
615
|
{
|
368
616
|
"inputs": [],
|
369
|
-
"name": "
|
370
|
-
"outputs": [
|
371
|
-
{
|
372
|
-
"internalType": "NftId",
|
373
|
-
"name": "",
|
374
|
-
"type": "uint96"
|
375
|
-
}
|
376
|
-
],
|
377
|
-
"stateMutability": "view",
|
378
|
-
"type": "function"
|
379
|
-
},
|
380
|
-
{
|
381
|
-
"inputs": [],
|
382
|
-
"name": "getOwner",
|
617
|
+
"name": "getName",
|
383
618
|
"outputs": [
|
384
619
|
{
|
385
|
-
"internalType": "
|
386
|
-
"name": "",
|
387
|
-
"type": "
|
620
|
+
"internalType": "string",
|
621
|
+
"name": "name",
|
622
|
+
"type": "string"
|
388
623
|
}
|
389
624
|
],
|
390
625
|
"stateMutability": "view",
|
@@ -392,11 +627,11 @@
|
|
392
627
|
},
|
393
628
|
{
|
394
629
|
"inputs": [],
|
395
|
-
"name": "
|
630
|
+
"name": "getNftId",
|
396
631
|
"outputs": [
|
397
632
|
{
|
398
633
|
"internalType": "NftId",
|
399
|
-
"name": "
|
634
|
+
"name": "",
|
400
635
|
"type": "uint96"
|
401
636
|
}
|
402
637
|
],
|
@@ -405,10 +640,10 @@
|
|
405
640
|
},
|
406
641
|
{
|
407
642
|
"inputs": [],
|
408
|
-
"name": "
|
643
|
+
"name": "getOwner",
|
409
644
|
"outputs": [
|
410
645
|
{
|
411
|
-
"internalType": "
|
646
|
+
"internalType": "address",
|
412
647
|
"name": "",
|
413
648
|
"type": "address"
|
414
649
|
}
|
@@ -418,7 +653,7 @@
|
|
418
653
|
},
|
419
654
|
{
|
420
655
|
"inputs": [],
|
421
|
-
"name": "
|
656
|
+
"name": "getPoolInfo",
|
422
657
|
"outputs": [
|
423
658
|
{
|
424
659
|
"components": [
|
@@ -428,15 +663,50 @@
|
|
428
663
|
"type": "uint96"
|
429
664
|
},
|
430
665
|
{
|
431
|
-
"internalType": "
|
432
|
-
"name": "
|
433
|
-
"type": "
|
666
|
+
"internalType": "RoleId",
|
667
|
+
"name": "bundleOwnerRole",
|
668
|
+
"type": "uint64"
|
669
|
+
},
|
670
|
+
{
|
671
|
+
"internalType": "uint256",
|
672
|
+
"name": "maxCapitalAmount",
|
673
|
+
"type": "uint256"
|
674
|
+
},
|
675
|
+
{
|
676
|
+
"internalType": "uint256",
|
677
|
+
"name": "balanceAmount",
|
678
|
+
"type": "uint256"
|
679
|
+
},
|
680
|
+
{
|
681
|
+
"internalType": "uint256",
|
682
|
+
"name": "feeAmount",
|
683
|
+
"type": "uint256"
|
684
|
+
},
|
685
|
+
{
|
686
|
+
"internalType": "bool",
|
687
|
+
"name": "isInterceptingBundleTransfers",
|
688
|
+
"type": "bool"
|
689
|
+
},
|
690
|
+
{
|
691
|
+
"internalType": "bool",
|
692
|
+
"name": "isExternallyManaged",
|
693
|
+
"type": "bool"
|
694
|
+
},
|
695
|
+
{
|
696
|
+
"internalType": "bool",
|
697
|
+
"name": "isVerifyingApplications",
|
698
|
+
"type": "bool"
|
434
699
|
},
|
435
700
|
{
|
436
701
|
"internalType": "UFixed",
|
437
702
|
"name": "collateralizationLevel",
|
438
703
|
"type": "uint256"
|
439
704
|
},
|
705
|
+
{
|
706
|
+
"internalType": "UFixed",
|
707
|
+
"name": "retentionLevel",
|
708
|
+
"type": "uint256"
|
709
|
+
},
|
440
710
|
{
|
441
711
|
"components": [
|
442
712
|
{
|
@@ -487,64 +757,268 @@
|
|
487
757
|
"internalType": "struct Fee",
|
488
758
|
"name": "performanceFee",
|
489
759
|
"type": "tuple"
|
490
|
-
},
|
491
|
-
{
|
492
|
-
"internalType": "bool",
|
493
|
-
"name": "isIntercepting",
|
494
|
-
"type": "bool"
|
495
|
-
},
|
496
|
-
{
|
497
|
-
"internalType": "bool",
|
498
|
-
"name": "isConfirmingApplication",
|
499
|
-
"type": "bool"
|
500
|
-
},
|
501
|
-
{
|
502
|
-
"internalType": "address",
|
503
|
-
"name": "wallet",
|
504
|
-
"type": "address"
|
505
760
|
}
|
506
761
|
],
|
507
|
-
"internalType": "struct
|
508
|
-
"name": "
|
762
|
+
"internalType": "struct IComponents.PoolInfo",
|
763
|
+
"name": "poolInfo",
|
509
764
|
"type": "tuple"
|
510
765
|
}
|
511
766
|
],
|
512
|
-
"stateMutability": "view",
|
767
|
+
"stateMutability": "view",
|
768
|
+
"type": "function"
|
769
|
+
},
|
770
|
+
{
|
771
|
+
"inputs": [],
|
772
|
+
"name": "getProductNftId",
|
773
|
+
"outputs": [
|
774
|
+
{
|
775
|
+
"internalType": "NftId",
|
776
|
+
"name": "productNftId",
|
777
|
+
"type": "uint96"
|
778
|
+
}
|
779
|
+
],
|
780
|
+
"stateMutability": "view",
|
781
|
+
"type": "function"
|
782
|
+
},
|
783
|
+
{
|
784
|
+
"inputs": [],
|
785
|
+
"name": "getRegistry",
|
786
|
+
"outputs": [
|
787
|
+
{
|
788
|
+
"internalType": "contract IRegistry",
|
789
|
+
"name": "",
|
790
|
+
"type": "address"
|
791
|
+
}
|
792
|
+
],
|
793
|
+
"stateMutability": "view",
|
794
|
+
"type": "function"
|
795
|
+
},
|
796
|
+
{
|
797
|
+
"inputs": [],
|
798
|
+
"name": "getRegistryAddress",
|
799
|
+
"outputs": [
|
800
|
+
{
|
801
|
+
"internalType": "address",
|
802
|
+
"name": "",
|
803
|
+
"type": "address"
|
804
|
+
}
|
805
|
+
],
|
806
|
+
"stateMutability": "view",
|
807
|
+
"type": "function"
|
808
|
+
},
|
809
|
+
{
|
810
|
+
"inputs": [],
|
811
|
+
"name": "getToken",
|
812
|
+
"outputs": [
|
813
|
+
{
|
814
|
+
"internalType": "contract IERC20Metadata",
|
815
|
+
"name": "token",
|
816
|
+
"type": "address"
|
817
|
+
}
|
818
|
+
],
|
819
|
+
"stateMutability": "view",
|
820
|
+
"type": "function"
|
821
|
+
},
|
822
|
+
{
|
823
|
+
"inputs": [],
|
824
|
+
"name": "getWallet",
|
825
|
+
"outputs": [
|
826
|
+
{
|
827
|
+
"internalType": "address",
|
828
|
+
"name": "walletAddress",
|
829
|
+
"type": "address"
|
830
|
+
}
|
831
|
+
],
|
832
|
+
"stateMutability": "view",
|
833
|
+
"type": "function"
|
834
|
+
},
|
835
|
+
{
|
836
|
+
"inputs": [
|
837
|
+
{
|
838
|
+
"internalType": "address",
|
839
|
+
"name": "registry",
|
840
|
+
"type": "address"
|
841
|
+
},
|
842
|
+
{
|
843
|
+
"internalType": "NftId",
|
844
|
+
"name": "instanceNftId",
|
845
|
+
"type": "uint96"
|
846
|
+
},
|
847
|
+
{
|
848
|
+
"internalType": "string",
|
849
|
+
"name": "name",
|
850
|
+
"type": "string"
|
851
|
+
},
|
852
|
+
{
|
853
|
+
"internalType": "address",
|
854
|
+
"name": "token",
|
855
|
+
"type": "address"
|
856
|
+
},
|
857
|
+
{
|
858
|
+
"internalType": "ObjectType",
|
859
|
+
"name": "componentType",
|
860
|
+
"type": "uint8"
|
861
|
+
},
|
862
|
+
{
|
863
|
+
"internalType": "bool",
|
864
|
+
"name": "isInterceptor",
|
865
|
+
"type": "bool"
|
866
|
+
},
|
867
|
+
{
|
868
|
+
"internalType": "address",
|
869
|
+
"name": "initialOwner",
|
870
|
+
"type": "address"
|
871
|
+
},
|
872
|
+
{
|
873
|
+
"internalType": "bytes",
|
874
|
+
"name": "registryData",
|
875
|
+
"type": "bytes"
|
876
|
+
}
|
877
|
+
],
|
878
|
+
"name": "initializeComponent",
|
879
|
+
"outputs": [],
|
880
|
+
"stateMutability": "nonpayable",
|
881
|
+
"type": "function"
|
882
|
+
},
|
883
|
+
{
|
884
|
+
"inputs": [],
|
885
|
+
"name": "initializeERC165",
|
886
|
+
"outputs": [],
|
887
|
+
"stateMutability": "nonpayable",
|
888
|
+
"type": "function"
|
889
|
+
},
|
890
|
+
{
|
891
|
+
"inputs": [
|
892
|
+
{
|
893
|
+
"internalType": "address",
|
894
|
+
"name": "initialOwner",
|
895
|
+
"type": "address"
|
896
|
+
},
|
897
|
+
{
|
898
|
+
"internalType": "address",
|
899
|
+
"name": "registryAddress",
|
900
|
+
"type": "address"
|
901
|
+
}
|
902
|
+
],
|
903
|
+
"name": "initializeNftOwnable",
|
904
|
+
"outputs": [],
|
905
|
+
"stateMutability": "nonpayable",
|
513
906
|
"type": "function"
|
514
907
|
},
|
515
908
|
{
|
516
|
-
"inputs": [
|
517
|
-
"name": "getToken",
|
518
|
-
"outputs": [
|
909
|
+
"inputs": [
|
519
910
|
{
|
520
|
-
"internalType": "
|
911
|
+
"internalType": "address",
|
912
|
+
"name": "registry",
|
913
|
+
"type": "address"
|
914
|
+
},
|
915
|
+
{
|
916
|
+
"internalType": "NftId",
|
917
|
+
"name": "instanceNftId",
|
918
|
+
"type": "uint96"
|
919
|
+
},
|
920
|
+
{
|
921
|
+
"internalType": "string",
|
922
|
+
"name": "name",
|
923
|
+
"type": "string"
|
924
|
+
},
|
925
|
+
{
|
926
|
+
"internalType": "address",
|
521
927
|
"name": "token",
|
522
928
|
"type": "address"
|
929
|
+
},
|
930
|
+
{
|
931
|
+
"internalType": "bool",
|
932
|
+
"name": "isInterceptingNftTransfers",
|
933
|
+
"type": "bool"
|
934
|
+
},
|
935
|
+
{
|
936
|
+
"internalType": "address",
|
937
|
+
"name": "initialOwner",
|
938
|
+
"type": "address"
|
939
|
+
},
|
940
|
+
{
|
941
|
+
"internalType": "bytes",
|
942
|
+
"name": "registryData",
|
943
|
+
"type": "bytes"
|
523
944
|
}
|
524
945
|
],
|
525
|
-
"
|
946
|
+
"name": "initializePool",
|
947
|
+
"outputs": [],
|
948
|
+
"stateMutability": "nonpayable",
|
526
949
|
"type": "function"
|
527
950
|
},
|
528
951
|
{
|
529
|
-
"inputs": [
|
530
|
-
"name": "getWallet",
|
531
|
-
"outputs": [
|
952
|
+
"inputs": [
|
532
953
|
{
|
533
954
|
"internalType": "address",
|
534
|
-
"name": "
|
955
|
+
"name": "registryAddress",
|
956
|
+
"type": "address"
|
957
|
+
},
|
958
|
+
{
|
959
|
+
"internalType": "NftId",
|
960
|
+
"name": "parentNftId",
|
961
|
+
"type": "uint96"
|
962
|
+
},
|
963
|
+
{
|
964
|
+
"internalType": "ObjectType",
|
965
|
+
"name": "objectType",
|
966
|
+
"type": "uint8"
|
967
|
+
},
|
968
|
+
{
|
969
|
+
"internalType": "bool",
|
970
|
+
"name": "isInterceptor",
|
971
|
+
"type": "bool"
|
972
|
+
},
|
973
|
+
{
|
974
|
+
"internalType": "address",
|
975
|
+
"name": "initialOwner",
|
976
|
+
"type": "address"
|
977
|
+
},
|
978
|
+
{
|
979
|
+
"internalType": "bytes",
|
980
|
+
"name": "registryData",
|
981
|
+
"type": "bytes"
|
982
|
+
}
|
983
|
+
],
|
984
|
+
"name": "initializeRegisterable",
|
985
|
+
"outputs": [],
|
986
|
+
"stateMutability": "nonpayable",
|
987
|
+
"type": "function"
|
988
|
+
},
|
989
|
+
{
|
990
|
+
"inputs": [
|
991
|
+
{
|
992
|
+
"internalType": "address",
|
993
|
+
"name": "registryAddress",
|
535
994
|
"type": "address"
|
536
995
|
}
|
537
996
|
],
|
997
|
+
"name": "initializeRegistryLinked",
|
998
|
+
"outputs": [],
|
999
|
+
"stateMutability": "nonpayable",
|
1000
|
+
"type": "function"
|
1001
|
+
},
|
1002
|
+
{
|
1003
|
+
"inputs": [],
|
1004
|
+
"name": "isConsumingScheduledOp",
|
1005
|
+
"outputs": [
|
1006
|
+
{
|
1007
|
+
"internalType": "bytes4",
|
1008
|
+
"name": "",
|
1009
|
+
"type": "bytes4"
|
1010
|
+
}
|
1011
|
+
],
|
538
1012
|
"stateMutability": "view",
|
539
1013
|
"type": "function"
|
540
1014
|
},
|
541
1015
|
{
|
542
1016
|
"inputs": [],
|
543
|
-
"name": "
|
1017
|
+
"name": "isNftInterceptor",
|
544
1018
|
"outputs": [
|
545
1019
|
{
|
546
1020
|
"internalType": "bool",
|
547
|
-
"name": "
|
1021
|
+
"name": "isInterceptor",
|
548
1022
|
"type": "bool"
|
549
1023
|
}
|
550
1024
|
],
|
@@ -581,25 +1055,68 @@
|
|
581
1055
|
{
|
582
1056
|
"inputs": [
|
583
1057
|
{
|
584
|
-
"internalType": "
|
585
|
-
"name": "",
|
586
|
-
"type": "
|
1058
|
+
"internalType": "address",
|
1059
|
+
"name": "to",
|
1060
|
+
"type": "address"
|
587
1061
|
},
|
588
1062
|
{
|
589
|
-
"internalType": "
|
590
|
-
"name": "",
|
591
|
-
"type": "
|
1063
|
+
"internalType": "uint256",
|
1064
|
+
"name": "tokenId",
|
1065
|
+
"type": "uint256"
|
592
1066
|
}
|
593
1067
|
],
|
594
|
-
"name": "
|
595
|
-
"outputs": [
|
1068
|
+
"name": "nftMint",
|
1069
|
+
"outputs": [],
|
1070
|
+
"stateMutability": "nonpayable",
|
1071
|
+
"type": "function"
|
1072
|
+
},
|
1073
|
+
{
|
1074
|
+
"inputs": [
|
596
1075
|
{
|
597
|
-
"internalType": "
|
598
|
-
"name": "
|
599
|
-
"type": "
|
1076
|
+
"internalType": "address",
|
1077
|
+
"name": "from",
|
1078
|
+
"type": "address"
|
1079
|
+
},
|
1080
|
+
{
|
1081
|
+
"internalType": "address",
|
1082
|
+
"name": "to",
|
1083
|
+
"type": "address"
|
1084
|
+
},
|
1085
|
+
{
|
1086
|
+
"internalType": "uint256",
|
1087
|
+
"name": "tokenId",
|
1088
|
+
"type": "uint256"
|
600
1089
|
}
|
601
1090
|
],
|
602
|
-
"
|
1091
|
+
"name": "nftTransferFrom",
|
1092
|
+
"outputs": [],
|
1093
|
+
"stateMutability": "nonpayable",
|
1094
|
+
"type": "function"
|
1095
|
+
},
|
1096
|
+
{
|
1097
|
+
"inputs": [
|
1098
|
+
{
|
1099
|
+
"internalType": "bytes4",
|
1100
|
+
"name": "interfaceId",
|
1101
|
+
"type": "bytes4"
|
1102
|
+
}
|
1103
|
+
],
|
1104
|
+
"name": "registerInterface",
|
1105
|
+
"outputs": [],
|
1106
|
+
"stateMutability": "nonpayable",
|
1107
|
+
"type": "function"
|
1108
|
+
},
|
1109
|
+
{
|
1110
|
+
"inputs": [
|
1111
|
+
{
|
1112
|
+
"internalType": "address",
|
1113
|
+
"name": "newAuthority",
|
1114
|
+
"type": "address"
|
1115
|
+
}
|
1116
|
+
],
|
1117
|
+
"name": "setAuthority",
|
1118
|
+
"outputs": [],
|
1119
|
+
"stateMutability": "nonpayable",
|
603
1120
|
"type": "function"
|
604
1121
|
},
|
605
1122
|
{
|
@@ -632,6 +1149,19 @@
|
|
632
1149
|
"stateMutability": "nonpayable",
|
633
1150
|
"type": "function"
|
634
1151
|
},
|
1152
|
+
{
|
1153
|
+
"inputs": [
|
1154
|
+
{
|
1155
|
+
"internalType": "RoleId",
|
1156
|
+
"name": "bundleOwnerRole",
|
1157
|
+
"type": "uint64"
|
1158
|
+
}
|
1159
|
+
],
|
1160
|
+
"name": "setBundleOwnerRole",
|
1161
|
+
"outputs": [],
|
1162
|
+
"stateMutability": "nonpayable",
|
1163
|
+
"type": "function"
|
1164
|
+
},
|
635
1165
|
{
|
636
1166
|
"inputs": [
|
637
1167
|
{
|
@@ -691,6 +1221,19 @@
|
|
691
1221
|
"stateMutability": "nonpayable",
|
692
1222
|
"type": "function"
|
693
1223
|
},
|
1224
|
+
{
|
1225
|
+
"inputs": [
|
1226
|
+
{
|
1227
|
+
"internalType": "uint256",
|
1228
|
+
"name": "maxCapitalAmount",
|
1229
|
+
"type": "uint256"
|
1230
|
+
}
|
1231
|
+
],
|
1232
|
+
"name": "setMaxCapitalAmount",
|
1233
|
+
"outputs": [],
|
1234
|
+
"stateMutability": "nonpayable",
|
1235
|
+
"type": "function"
|
1236
|
+
},
|
694
1237
|
{
|
695
1238
|
"inputs": [
|
696
1239
|
{
|
@@ -707,50 +1250,53 @@
|
|
707
1250
|
{
|
708
1251
|
"inputs": [
|
709
1252
|
{
|
710
|
-
"internalType": "
|
711
|
-
"name": "
|
712
|
-
"type": "
|
713
|
-
}
|
714
|
-
],
|
715
|
-
"name": "supportsInterface",
|
716
|
-
"outputs": [
|
717
|
-
{
|
718
|
-
"internalType": "bool",
|
719
|
-
"name": "",
|
720
|
-
"type": "bool"
|
1253
|
+
"internalType": "address",
|
1254
|
+
"name": "newWallet",
|
1255
|
+
"type": "address"
|
721
1256
|
}
|
722
1257
|
],
|
723
|
-
"
|
1258
|
+
"name": "setWallet",
|
1259
|
+
"outputs": [],
|
1260
|
+
"stateMutability": "nonpayable",
|
724
1261
|
"type": "function"
|
725
1262
|
},
|
726
1263
|
{
|
727
1264
|
"inputs": [
|
728
1265
|
{
|
729
1266
|
"internalType": "NftId",
|
730
|
-
"name": "
|
1267
|
+
"name": "bundleNftId",
|
731
1268
|
"type": "uint96"
|
732
1269
|
},
|
733
|
-
{
|
734
|
-
"internalType": "bytes",
|
735
|
-
"name": "policyData",
|
736
|
-
"type": "bytes"
|
737
|
-
},
|
738
|
-
{
|
739
|
-
"internalType": "bytes",
|
740
|
-
"name": "bundleFilter",
|
741
|
-
"type": "bytes"
|
742
|
-
},
|
743
1270
|
{
|
744
1271
|
"internalType": "uint256",
|
745
|
-
"name": "
|
1272
|
+
"name": "amount",
|
746
1273
|
"type": "uint256"
|
747
1274
|
}
|
748
1275
|
],
|
749
|
-
"name": "
|
1276
|
+
"name": "stake",
|
750
1277
|
"outputs": [],
|
751
1278
|
"stateMutability": "nonpayable",
|
752
1279
|
"type": "function"
|
753
1280
|
},
|
1281
|
+
{
|
1282
|
+
"inputs": [
|
1283
|
+
{
|
1284
|
+
"internalType": "bytes4",
|
1285
|
+
"name": "interfaceId",
|
1286
|
+
"type": "bytes4"
|
1287
|
+
}
|
1288
|
+
],
|
1289
|
+
"name": "supportsInterface",
|
1290
|
+
"outputs": [
|
1291
|
+
{
|
1292
|
+
"internalType": "bool",
|
1293
|
+
"name": "",
|
1294
|
+
"type": "bool"
|
1295
|
+
}
|
1296
|
+
],
|
1297
|
+
"stateMutability": "view",
|
1298
|
+
"type": "function"
|
1299
|
+
},
|
754
1300
|
{
|
755
1301
|
"inputs": [],
|
756
1302
|
"name": "unlock",
|
@@ -770,44 +1316,61 @@
|
|
770
1316
|
"outputs": [],
|
771
1317
|
"stateMutability": "nonpayable",
|
772
1318
|
"type": "function"
|
773
|
-
}
|
774
|
-
|
775
|
-
"bytecode": "0x60806040523480156200001157600080fd5b506040516200288f3803806200288f8339810160408190526200003491620008e3565b898989608c8a856200006c6301ffc9a760e01b60009081526020526000805160206200286f833981519152805460ff19166001179055565b600280546001600160a01b031916331790556040805160208101909152600081526200009d878786868686620004ca565b6000620000b26001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000102573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200012c919081019062000a54565b6080810151600780546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b815263cb92195b60e01b6004820152919250906301ffc9a790602401602060405180830381865afa15801562000194573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ba919062000b3a565b620001e65760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200023a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000260919062000b5f565b600380546001600160a01b03199081166001600160a01b0393841617909155600580543090831617905560068054909116918816919091179055634c0cba3d60e11b60009081526020527f8605f84a1fdbc6ff75d8a06315d161884729b429561b502d19c5a33135142c3a805460ff1916600117905550506008805460ff19168d1515179055505050600988905550508451600a5550602080850151600b558351600c5583810151600d558251600e55820151600f5560405188906200032690620007be565b6001600160a01b039091168152602001604051809103906000f08015801562000353573d6000803e3d6000fd5b50601080546001600160a01b0319166001600160a01b0392831617905560075460408051636b9bf08b60e01b815290519190921691636b9bf08b9160048083019260209291908290030181865afa158015620003b3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003d9919062000b5f565b601180546001600160a01b0319166001600160a01b0392831617905560075460408051634288121d60e01b815290519190921691634288121d9160048083019260209291908290030181865afa15801562000438573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200045e919062000b5f565b601280546001600160a01b0319166001600160a01b0392909216919091179055634ce2a6c760e11b60009081526020527f0ba8e23e8491845af463ee288e6da5085bc9c6a7c3db66293825e0802be51038805460ff191660011790555050505050505050505062000cda565b620004fb6301ffc9a760e01b60009081526020526000805160206200286f833981519152805460ff19166001179055565b620005078287620005cc565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d01000000000000000000000000008615150217815590506001810162000586838262000c0e565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b6001600160a01b038216620006245760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401620001dd565b600280546001600160a01b0319166001600160a01b0384161790556200064a816200064e565b5050565b6001546001600160a01b031615620006895760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001dd565b6001600160a01b038116620006b15760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620006e95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001dd565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa92505050801562000766575060408051601f3d908101601f19168201909252620007639181019062000b3a565b60015b620007905760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001dd565b806200064a5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001dd565b50565b6103fd806200247283390190565b6001600160a01b0381168114620007bb57600080fd5b8051620007ef81620007cc565b919050565b80516001600160601b0381168114620007ef57600080fd5b80518015158114620007ef57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156200085857620008586200081d565b60405290565b604051601f8201601f191681016001600160401b03811182821017156200088957620008896200081d565b604052919050565b600060408284031215620008a457600080fd5b604080519081016001600160401b0381118282101715620008c957620008c96200081d565b604052825181526020928301519281019290925250919050565b6000806000806000806000806000806101a08b8d0312156200090457600080fd5b8a516200091181620007cc565b99506200092160208c01620007f4565b985060408b01516200093381620007cc565b97506200094360608c016200080c565b96506200095360808c016200080c565b955060a08b015194506200096b8c60c08d0162000891565b93506200097d8c6101008d0162000891565b92506200098f8c6101408d0162000891565b91506101808b0151620009a281620007cc565b809150509295989b9194979a5092959850565b805160ff81168114620007ef57600080fd5b600082601f830112620009d957600080fd5b81516001600160401b03811115620009f557620009f56200081d565b602062000a0b601f8301601f191682016200085e565b828152858284870101111562000a2057600080fd5b60005b8381101562000a4057858101830151828201840152820162000a23565b506000928101909101919091529392505050565b60006020828403121562000a6757600080fd5b81516001600160401b038082111562000a7f57600080fd5b9083019060e0828603121562000a9457600080fd5b62000a9e62000833565b62000aa983620007f4565b815262000ab960208401620007f4565b602082015262000acc60408401620009b5565b604082015262000adf606084016200080c565b606082015262000af260808401620007e2565b608082015262000b0560a08401620007e2565b60a082015260c08301518281111562000b1d57600080fd5b62000b2b87828601620009c7565b60c08301525095945050505050565b60006020828403121562000b4d57600080fd5b62000b58826200080c565b9392505050565b60006020828403121562000b7257600080fd5b815162000b5881620007cc565b600181811c9082168062000b9457607f821691505b60208210810362000bb557634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000c0957600081815260208120601f850160051c8101602086101562000be45750805b601f850160051c820191505b8181101562000c055782815560010162000bf0565b5050505b505050565b81516001600160401b0381111562000c2a5762000c2a6200081d565b62000c428162000c3b845462000b7f565b8462000bbb565b602080601f83116001811462000c7a576000841562000c615750858301515b600019600386901b1c1916600185901b17855562000c05565b600085815260208120601f198616915b8281101562000cab5788860151825594840194600190910190840162000c8a565b508582101562000cca5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6117888062000cea6000396000f3fe608060405234801561001057600080fd5b50600436106101575760003560e01c806365effc1a116100c3578063d63207251161007c578063d63207251461030a578063d7f5e60914610315578063dab1232514610328578063de7b5d141461033e578063f83d08ba1461034f578063fde0a3cd1461035757600080fd5b806365effc1a146102ac5780636f10e8a0146102bf57806382678766146102d2578063893d20e8146102e5578063a69df4b5146102ed578063c200b809146102f557600080fd5b806321df0da71161011557806321df0da7146102445780632a65c6881461025557806354afef63146102685780635ab1bd5314610270578063636450f514610281578063644c45e01461029457600080fd5b806251884a1461015c57806301ffc9a71461018d5780630fec111c146101ca57806313299604146101e0578063138461e0146102055780631eff4b221461020f575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b6101ba61019b366004611035565b6001600160e01b03191660009081526020819052604090205460ff1690565b6040519015158152602001610184565b6101d261036a565b6040516101849291906110ac565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610184565b61020d61047d565b005b6102367f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610184565b6006546001600160a01b03166101ed565b61020d61026336600461116b565b61069f565b600954610236565b6001546001600160a01b03166101ed565b61020d61028f36600461121b565b6107ee565b600154600160a01b90046001600160601b0316610170565b61020d6102ba3660046112de565b610856565b61020d6102cd36600461116b565b6108cc565b61020d6102e036600461135c565b610936565b6101ed6109fe565b61020d610b1c565b6102fd610bb1565b60405161018491906113a2565b60085460ff166101ba565b610170610323366004611461565b610d33565b6101ba6103363660046114c3565b600192915050565b6007546001600160a01b03166101ed565b61020d610dbd565b61020d61036536600461116b565b610e28565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290916103ad610e61565b506040805161012081018252600754600160a01b90046001600160601b031681526010546001600160a01b039081166020808401919091526009548385015283518085018552600a548152600b5481830152606084015283518085018552600c548152600d5481830152608084015283518085018552600e548152600f548183015260a0840152600060c084015260085460ff16151560e08401526005549091166101008301529151929350839261046592016113a2565b60405160208183030381529060405292509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156104df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610503919061153c565b1561054a576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166105735760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156105bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e0919061153c565b610608576040516372657a5160e01b81526001600160a01b0382166004820152602401610541565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610652573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106769190611562565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6106a76109fe565b6001600160a01b0316336001600160a01b0316146106da5760405163700dd81160e01b8152336004820152602401610541565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af4158015610756573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077a919061153c565b6107c65760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c7265616479207365740000000000006044820152606401610541565b600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b60115460405163636450f560e01b81526001600160a01b039091169063636450f590610820908590859060040161157f565b600060405180830381600087803b15801561083a57600080fd5b505af115801561084e573d6000803e3d6000fd5b505050505050565b6012546001600160a01b031633146108ba5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b6064820152608401610541565b6108c684848484610fe7565b50505050565b601154604051630378874560e51b81526001600160601b03831660048201526001600160a01b0390911690636f10e8a0906024015b600060405180830381600087803b15801561091b57600080fd5b505af115801561092f573d6000803e3d6000fd5b5050505050565b61093e6109fe565b6001600160a01b0316336001600160a01b0316146109715760405163700dd81160e01b8152336004820152602401610541565b601154604051634133c3b360e11b8152845160048201526020808601516024830152845160448301528085015160648301528351608483015283015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b1580156109e157600080fd5b505af11580156109f5573d6000803e3d6000fd5b50505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a87919061153c565b15610b0c57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610ae3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0791906115c6565b905090565b506002546001600160a01b031690565b610b246109fe565b6001600160a01b0316336001600160a01b031614610b575760405163700dd81160e01b8152336004820152602401610541565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610b9d57600080fd5b505af11580156108c6573d6000803e3d6000fd5b610c2b60408051610120810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a082019081526000602082018190526040820181905260609091015290565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610c75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9991906115c6565b9050806001600160a01b03166355e343a9610cc46001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161018060405180830381865afa158015610d09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2d9190611613565b91505090565b60115460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d5390610d709084908a908a908a908a906004016116c8565b6020604051808303816000875af1158015610d8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db39190611562565b9695505050505050565b610dc56109fe565b6001600160a01b0316336001600160a01b031614610df85760405163700dd81160e01b8152336004820152602401610541565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b83565b60115460405163fde0a3cd60e01b81526001600160601b03831660048201526001600160a01b039091169063fde0a3cd90602401610901565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610ee86001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610f306109fe565b6001600160a01b03168152602001826001018054610f4d90611718565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7990611718565b8015610fc65780601f10610f9b57610100808354040283529160200191610fc6565b820191906000526020600020905b815481529060010190602001808311610fa957829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b60006020828403121561104757600080fd5b81356001600160e01b03198116811461105f57600080fd5b9392505050565b6000815180845260005b8181101561108c57602081850181015186830182015201611070565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516110f060a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611136610120840182611066565b9050828103602084015261114a8185611066565b95945050505050565b6001600160601b038116811461116857600080fd5b50565b60006020828403121561117d57600080fd5b813561105f81611153565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156111c1576111c1611188565b60405290565b604051610120810167ffffffffffffffff811182821017156111c1576111c1611188565b6000604082840312156111fd57600080fd5b61120561119e565b9050813581526020820135602082015292915050565b6000806060838503121561122e57600080fd5b823561123981611153565b915061124884602085016111eb565b90509250929050565b600082601f83011261126257600080fd5b813567ffffffffffffffff8082111561127d5761127d611188565b604051601f8301601f19908116603f011681019082821181831017156112a5576112a5611188565b816040528381528660208588010111156112be57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080600080608085870312156112f457600080fd5b84356112ff81611153565b9350602085013567ffffffffffffffff8082111561131c57600080fd5b61132888838901611251565b9450604087013591508082111561133e57600080fd5b5061134b87828801611251565b949793965093946060013593505050565b600080600060c0848603121561137157600080fd5b61137b85856111eb565b925061138a85604086016111eb565b915061139985608086016111eb565b90509250925092565b81516001600160601b031681526020808301516101808301916113cf908401826001600160a01b03169052565b506040830151604083015260608301516113f6606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525092915050565b60008060008060a0858703121561147757600080fd5b61148186866111eb565b93506040850135925060608501359150608085013567ffffffffffffffff8111156114ab57600080fd5b6114b787828801611251565b91505092959194509250565b600080604083850312156114d657600080fd5b823567ffffffffffffffff808211156114ee57600080fd5b6114fa86838701611251565b9350602085013591508082111561151057600080fd5b5061151d85828601611251565b9150509250929050565b8051801515811461153757600080fd5b919050565b60006020828403121561154e57600080fd5b61105f82611527565b805161153781611153565b60006020828403121561157457600080fd5b815161105f81611153565b6001600160601b03831681526060810161105f602083018480518252602090810151910152565b6001600160a01b038116811461116857600080fd5b8051611537816115a6565b6000602082840312156115d857600080fd5b815161105f816115a6565b6000604082840312156115f557600080fd5b6115fd61119e565b9050815181526020820151602082015292915050565b6000610180828403121561162657600080fd5b61162e6111c7565b61163783611557565b8152611645602084016115bb565b60208201526040830151604082015261166184606085016115e3565b60608201526116738460a085016115e3565b60808201526116858460e085016115e3565b60a08201526116976101208401611527565b60c08201526116a96101408401611527565b60e08201526116bb61016084016115bb565b6101008201529392505050565b6001600160a01b03861681526116eb602082018680518252602090810151910152565b83606082015282608082015260c060a0820152600061170d60c0830184611066565b979650505050505050565b600181811c9082168061172c57607f821691505b60208210810361174c57634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212206c6c434027955f36cd0b6925886e99a1741a7cba9c5748497ba75b6f5c69647c64736f6c63430008140033608060405234801561001057600080fd5b506040516103fd3803806103fd83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b61036a806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063beabacc81461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d6100683660046102a7565b61006f565b005b600054610087906001600160a01b031684848461008c565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526100e69085906100ec565b50505050565b60006101016001600160a01b03841683610154565b9050805160001415801561012657508080602001905181019061012491906102e3565b155b1561008757604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b606061016283836000610169565b9392505050565b60608147101561018e5760405163cd78605960e01b815230600482015260240161014b565b600080856001600160a01b031684866040516101aa9190610305565b60006040518083038185875af1925050503d80600081146101e7576040519150601f19603f3d011682016040523d82523d6000602084013e6101ec565b606091505b50915091506101fc868383610206565b9695505050505050565b60608261021b5761021682610262565b610162565b815115801561023257506001600160a01b0384163b155b1561025b57604051639996b31560e01b81526001600160a01b038516600482015260240161014b565b5080610162565b8051156102725780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b03811681146102a257600080fd5b919050565b6000806000606084860312156102bc57600080fd5b6102c58461028b565b92506102d36020850161028b565b9150604084013590509250925092565b6000602082840312156102f557600080fd5b8151801515811461016257600080fd5b6000825160005b81811015610326576020818601810151858301520161030c565b50600092019182525091905056fea26469706673582212205dcbb6c5ddae5c31498dff1c0933ab8c0d284bb07f5e69fd452d43a18212e70964736f6c6343000814003367be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5",
|
776
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101575760003560e01c806365effc1a116100c3578063d63207251161007c578063d63207251461030a578063d7f5e60914610315578063dab1232514610328578063de7b5d141461033e578063f83d08ba1461034f578063fde0a3cd1461035757600080fd5b806365effc1a146102ac5780636f10e8a0146102bf57806382678766146102d2578063893d20e8146102e5578063a69df4b5146102ed578063c200b809146102f557600080fd5b806321df0da71161011557806321df0da7146102445780632a65c6881461025557806354afef63146102685780635ab1bd5314610270578063636450f514610281578063644c45e01461029457600080fd5b806251884a1461015c57806301ffc9a71461018d5780630fec111c146101ca57806313299604146101e0578063138461e0146102055780631eff4b221461020f575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b6101ba61019b366004611035565b6001600160e01b03191660009081526020819052604090205460ff1690565b6040519015158152602001610184565b6101d261036a565b6040516101849291906110ac565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610184565b61020d61047d565b005b6102367f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610184565b6006546001600160a01b03166101ed565b61020d61026336600461116b565b61069f565b600954610236565b6001546001600160a01b03166101ed565b61020d61028f36600461121b565b6107ee565b600154600160a01b90046001600160601b0316610170565b61020d6102ba3660046112de565b610856565b61020d6102cd36600461116b565b6108cc565b61020d6102e036600461135c565b610936565b6101ed6109fe565b61020d610b1c565b6102fd610bb1565b60405161018491906113a2565b60085460ff166101ba565b610170610323366004611461565b610d33565b6101ba6103363660046114c3565b600192915050565b6007546001600160a01b03166101ed565b61020d610dbd565b61020d61036536600461116b565b610e28565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290916103ad610e61565b506040805161012081018252600754600160a01b90046001600160601b031681526010546001600160a01b039081166020808401919091526009548385015283518085018552600a548152600b5481830152606084015283518085018552600c548152600d5481830152608084015283518085018552600e548152600f548183015260a0840152600060c084015260085460ff16151560e08401526005549091166101008301529151929350839261046592016113a2565b60405160208183030381529060405292509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156104df573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610503919061153c565b1561054a576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166105735760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156105bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e0919061153c565b610608576040516372657a5160e01b81526001600160a01b0382166004820152602401610541565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610652573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106769190611562565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6106a76109fe565b6001600160a01b0316336001600160a01b0316146106da5760405163700dd81160e01b8152336004820152602401610541565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af4158015610756573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077a919061153c565b6107c65760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c7265616479207365740000000000006044820152606401610541565b600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b60115460405163636450f560e01b81526001600160a01b039091169063636450f590610820908590859060040161157f565b600060405180830381600087803b15801561083a57600080fd5b505af115801561084e573d6000803e3d6000fd5b505050505050565b6012546001600160a01b031633146108ba5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b6064820152608401610541565b6108c684848484610fe7565b50505050565b601154604051630378874560e51b81526001600160601b03831660048201526001600160a01b0390911690636f10e8a0906024015b600060405180830381600087803b15801561091b57600080fd5b505af115801561092f573d6000803e3d6000fd5b5050505050565b61093e6109fe565b6001600160a01b0316336001600160a01b0316146109715760405163700dd81160e01b8152336004820152602401610541565b601154604051634133c3b360e11b8152845160048201526020808601516024830152845160448301528085015160648301528351608483015283015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b1580156109e157600080fd5b505af11580156109f5573d6000803e3d6000fd5b50505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a87919061153c565b15610b0c57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610ae3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0791906115c6565b905090565b506002546001600160a01b031690565b610b246109fe565b6001600160a01b0316336001600160a01b031614610b575760405163700dd81160e01b8152336004820152602401610541565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610b9d57600080fd5b505af11580156108c6573d6000803e3d6000fd5b610c2b60408051610120810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a082019081526000602082018190526040820181905260609091015290565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610c75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9991906115c6565b9050806001600160a01b03166355e343a9610cc46001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161018060405180830381865afa158015610d09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2d9190611613565b91505090565b60115460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d5390610d709084908a908a908a908a906004016116c8565b6020604051808303816000875af1158015610d8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db39190611562565b9695505050505050565b610dc56109fe565b6001600160a01b0316336001600160a01b031614610df85760405163700dd81160e01b8152336004820152602401610541565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b83565b60115460405163fde0a3cd60e01b81526001600160601b03831660048201526001600160a01b039091169063fde0a3cd90602401610901565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610ee86001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610f306109fe565b6001600160a01b03168152602001826001018054610f4d90611718565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7990611718565b8015610fc65780601f10610f9b57610100808354040283529160200191610fc6565b820191906000526020600020905b815481529060010190602001808311610fa957829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b60006020828403121561104757600080fd5b81356001600160e01b03198116811461105f57600080fd5b9392505050565b6000815180845260005b8181101561108c57602081850181015186830182015201611070565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516110f060a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611136610120840182611066565b9050828103602084015261114a8185611066565b95945050505050565b6001600160601b038116811461116857600080fd5b50565b60006020828403121561117d57600080fd5b813561105f81611153565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156111c1576111c1611188565b60405290565b604051610120810167ffffffffffffffff811182821017156111c1576111c1611188565b6000604082840312156111fd57600080fd5b61120561119e565b9050813581526020820135602082015292915050565b6000806060838503121561122e57600080fd5b823561123981611153565b915061124884602085016111eb565b90509250929050565b600082601f83011261126257600080fd5b813567ffffffffffffffff8082111561127d5761127d611188565b604051601f8301601f19908116603f011681019082821181831017156112a5576112a5611188565b816040528381528660208588010111156112be57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080600080608085870312156112f457600080fd5b84356112ff81611153565b9350602085013567ffffffffffffffff8082111561131c57600080fd5b61132888838901611251565b9450604087013591508082111561133e57600080fd5b5061134b87828801611251565b949793965093946060013593505050565b600080600060c0848603121561137157600080fd5b61137b85856111eb565b925061138a85604086016111eb565b915061139985608086016111eb565b90509250925092565b81516001600160601b031681526020808301516101808301916113cf908401826001600160a01b03169052565b506040830151604083015260608301516113f6606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525092915050565b60008060008060a0858703121561147757600080fd5b61148186866111eb565b93506040850135925060608501359150608085013567ffffffffffffffff8111156114ab57600080fd5b6114b787828801611251565b91505092959194509250565b600080604083850312156114d657600080fd5b823567ffffffffffffffff808211156114ee57600080fd5b6114fa86838701611251565b9350602085013591508082111561151057600080fd5b5061151d85828601611251565b9150509250929050565b8051801515811461153757600080fd5b919050565b60006020828403121561154e57600080fd5b61105f82611527565b805161153781611153565b60006020828403121561157457600080fd5b815161105f81611153565b6001600160601b03831681526060810161105f602083018480518252602090810151910152565b6001600160a01b038116811461116857600080fd5b8051611537816115a6565b6000602082840312156115d857600080fd5b815161105f816115a6565b6000604082840312156115f557600080fd5b6115fd61119e565b9050815181526020820151602082015292915050565b6000610180828403121561162657600080fd5b61162e6111c7565b61163783611557565b8152611645602084016115bb565b60208201526040830151604082015261166184606085016115e3565b60608201526116738460a085016115e3565b60808201526116858460e085016115e3565b60a08201526116976101208401611527565b60c08201526116a96101408401611527565b60e08201526116bb61016084016115bb565b6101008201529392505050565b6001600160a01b03861681526116eb602082018680518252602090810151910152565b83606082015282608082015260c060a0820152600061170d60c0830184611066565b979650505050505050565b600181811c9082168061172c57607f821691505b60208210810361174c57634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212206c6c434027955f36cd0b6925886e99a1741a7cba9c5748497ba75b6f5c69647c64736f6c63430008140033",
|
777
|
-
"linkReferences": {
|
778
|
-
"contracts/types/NftId.sol": {
|
779
|
-
"NftIdLib": [
|
1319
|
+
},
|
1320
|
+
{
|
1321
|
+
"inputs": [
|
780
1322
|
{
|
781
|
-
"
|
782
|
-
"
|
1323
|
+
"internalType": "NftId",
|
1324
|
+
"name": "bundleNftId",
|
1325
|
+
"type": "uint96"
|
783
1326
|
},
|
784
1327
|
{
|
785
|
-
"
|
786
|
-
"
|
1328
|
+
"internalType": "uint256",
|
1329
|
+
"name": "amount",
|
1330
|
+
"type": "uint256"
|
1331
|
+
}
|
1332
|
+
],
|
1333
|
+
"name": "unstake",
|
1334
|
+
"outputs": [],
|
1335
|
+
"stateMutability": "nonpayable",
|
1336
|
+
"type": "function"
|
1337
|
+
},
|
1338
|
+
{
|
1339
|
+
"inputs": [
|
1340
|
+
{
|
1341
|
+
"internalType": "NftId",
|
1342
|
+
"name": "applicationNftId",
|
1343
|
+
"type": "uint96"
|
787
1344
|
},
|
788
1345
|
{
|
789
|
-
"
|
790
|
-
"
|
791
|
-
|
792
|
-
|
793
|
-
}
|
794
|
-
},
|
795
|
-
"deployedLinkReferences": {
|
796
|
-
"contracts/types/NftId.sol": {
|
797
|
-
"NftIdLib": [
|
1346
|
+
"internalType": "bytes",
|
1347
|
+
"name": "applicationData",
|
1348
|
+
"type": "bytes"
|
1349
|
+
},
|
798
1350
|
{
|
799
|
-
"
|
800
|
-
"
|
1351
|
+
"internalType": "NftId",
|
1352
|
+
"name": "bundleNftId",
|
1353
|
+
"type": "uint96"
|
801
1354
|
},
|
802
1355
|
{
|
803
|
-
"
|
804
|
-
"
|
1356
|
+
"internalType": "bytes",
|
1357
|
+
"name": "bundleFilter",
|
1358
|
+
"type": "bytes"
|
805
1359
|
},
|
806
1360
|
{
|
807
|
-
"
|
808
|
-
"
|
1361
|
+
"internalType": "uint256",
|
1362
|
+
"name": "collateralizationAmount",
|
1363
|
+
"type": "uint256"
|
809
1364
|
}
|
810
|
-
]
|
1365
|
+
],
|
1366
|
+
"name": "verifyApplication",
|
1367
|
+
"outputs": [],
|
1368
|
+
"stateMutability": "nonpayable",
|
1369
|
+
"type": "function"
|
811
1370
|
}
|
812
|
-
|
1371
|
+
],
|
1372
|
+
"bytecode": "0x",
|
1373
|
+
"deployedBytecode": "0x",
|
1374
|
+
"linkReferences": {},
|
1375
|
+
"deployedLinkReferences": {}
|
813
1376
|
}
|