@etherisc/gif-next 0.0.2-fe88ad7-208 → 0.0.2-ff8087d-237
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +8 -13
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +873 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +903 -202
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{BaseComponent.sol/BaseComponent.json → IComponent.sol/IComponent.json} +237 -83
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +879 -31
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +879 -59
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +720 -16
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +760 -195
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +564 -141
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +1 -1
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +15 -15
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +69 -79
- 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 +1474 -483
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +248 -218
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +1152 -794
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +462 -179
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +414 -267
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +482 -346
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +355 -91
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +11 -40
- 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} +263 -164
- 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 +58 -75
- 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 +1124 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +688 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +641 -303
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +343 -79
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1384 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +752 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1434 -280
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +469 -73
- 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} +342 -189
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +310 -249
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +743 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +757 -144
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +262 -275
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +703 -125
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +71 -165
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +632 -344
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +367 -91
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1119 -224
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +361 -73
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +297 -210
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +298 -78
- 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 +117 -5
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +99 -217
- 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 +131 -27
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +18 -18
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +205 -250
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +287 -81
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +81 -68
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +138 -50
- 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 +27 -29
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +71 -165
- 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 +107 -27
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +283 -63
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +116 -51
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +173 -153
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/shared/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 +116 -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 +191 -203
- 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 +281 -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 +74 -19
- 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 +272 -0
- package/contracts/components/Distribution.sol +204 -82
- package/contracts/components/IComponent.sol +90 -0
- package/contracts/components/IDistributionComponent.sol +44 -17
- package/contracts/components/IPoolComponent.sol +90 -42
- package/contracts/components/IProductComponent.sol +15 -9
- package/contracts/components/Pool.sol +217 -186
- package/contracts/components/Product.sol +246 -166
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +2 -12
- package/contracts/instance/BundleManager.sol +17 -20
- package/contracts/instance/Cloneable.sol +7 -2
- package/contracts/instance/IInstance.sol +67 -25
- package/contracts/instance/IInstanceService.sol +34 -11
- package/contracts/instance/Instance.sol +158 -116
- package/contracts/instance/InstanceAccessManager.sol +389 -165
- package/contracts/instance/InstanceReader.sol +87 -36
- package/contracts/instance/InstanceService.sol +295 -161
- package/contracts/instance/InstanceServiceManager.sol +1 -1
- package/contracts/instance/ObjectManager.sol +10 -29
- package/contracts/instance/base/ComponentService.sol +130 -0
- package/contracts/instance/base/KeyValueStore.sol +13 -36
- package/contracts/instance/base/Lifecycle.sol +26 -6
- package/contracts/instance/module/IAccess.sol +22 -16
- package/contracts/instance/module/IBundle.sol +8 -5
- package/contracts/instance/module/IComponents.sol +41 -0
- package/contracts/instance/module/IDistribution.sol +3 -0
- package/contracts/instance/module/IPolicy.sol +43 -11
- package/contracts/instance/module/ISetup.sol +7 -20
- package/contracts/instance/service/ApplicationService.sol +356 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +244 -119
- package/contracts/instance/service/BundleServiceManager.sol +1 -1
- package/contracts/instance/service/ClaimService.sol +443 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +360 -41
- package/contracts/instance/service/DistributionServiceManager.sol +1 -1
- package/contracts/instance/service/IApplicationService.sol +79 -0
- package/contracts/instance/service/IBundleService.sol +93 -20
- package/contracts/instance/service/IClaimService.sol +90 -0
- package/contracts/instance/service/IDistributionService.sol +89 -0
- package/contracts/instance/service/IPolicyService.sol +44 -51
- package/contracts/instance/service/IPoolService.sol +97 -3
- package/contracts/instance/service/PolicyService.sol +233 -364
- package/contracts/instance/service/PolicyServiceManager.sol +2 -2
- package/contracts/instance/service/PoolService.sol +319 -40
- package/contracts/instance/service/PoolServiceManager.sol +1 -1
- package/contracts/instance/service/ProductService.sol +90 -50
- package/contracts/instance/service/ProductServiceManager.sol +2 -2
- package/contracts/registry/ChainNft.sol +8 -0
- package/contracts/registry/IRegistry.sol +18 -8
- package/contracts/registry/IRegistryService.sol +21 -13
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +142 -71
- package/contracts/registry/RegistryAccessManager.sol +31 -25
- package/contracts/registry/RegistryService.sol +93 -134
- package/contracts/registry/RegistryServiceManager.sol +13 -13
- package/contracts/registry/ReleaseManager.sol +103 -127
- package/contracts/registry/TokenRegistry.sol +19 -13
- package/contracts/shared/ERC165.sol +14 -12
- package/contracts/shared/INftOwnable.sol +11 -10
- package/contracts/shared/IPolicyHolder.sol +40 -0
- package/contracts/shared/IRegisterable.sol +4 -6
- package/contracts/shared/IRegistryLinked.sol +11 -0
- package/contracts/shared/IService.sol +6 -4
- package/contracts/shared/IVersionable.sol +4 -47
- package/contracts/shared/NftOwnable.sol +64 -80
- package/contracts/shared/PolicyHolder.sol +94 -0
- package/contracts/shared/ProxyManager.sol +100 -25
- package/contracts/shared/Registerable.sol +24 -39
- package/contracts/shared/RegistryLinked.sol +43 -0
- package/contracts/shared/Service.sol +36 -22
- package/contracts/shared/TokenHandler.sol +14 -6
- package/contracts/shared/Versionable.sol +4 -92
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestService.sol +1 -1
- package/contracts/types/Amount.sol +109 -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 +17 -8
- package/contracts/types/NftId.sol +8 -0
- package/contracts/types/ObjectType.sol +11 -6
- package/contracts/types/PayoutId.sol +82 -0
- package/contracts/types/Referral.sol +4 -0
- package/contracts/types/RoleId.sol +18 -11
- 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/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -397
- 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/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
- 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 -814
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
- package/contracts/components/BaseComponent.sol +0 -159
- package/contracts/components/IBaseComponent.sol +0 -34
- 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/IInstanceBase.sol +0 -26
- package/contracts/instance/InstanceBase.sol +0 -41
- package/contracts/instance/base/ComponentServiceBase.sol +0 -82
- package/contracts/instance/base/IInstanceBase.sol +0 -23
- package/contracts/instance/service/ComponentOwnerService.sol +0 -315
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
- package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -7,81 +7,92 @@
|
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
9
|
"internalType": "address",
|
10
|
-
"name": "
|
10
|
+
"name": "authority",
|
11
11
|
"type": "address"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"internalType": "NftId",
|
15
|
-
"name": "nftId",
|
16
|
-
"type": "uint96"
|
17
12
|
}
|
18
13
|
],
|
19
|
-
"name": "
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
20
15
|
"type": "error"
|
21
16
|
},
|
22
17
|
{
|
23
18
|
"inputs": [
|
24
19
|
{
|
25
20
|
"internalType": "address",
|
26
|
-
"name": "
|
21
|
+
"name": "caller",
|
27
22
|
"type": "address"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
28
|
}
|
29
29
|
],
|
30
|
-
"name": "
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
31
|
"type": "error"
|
32
32
|
},
|
33
33
|
{
|
34
34
|
"inputs": [
|
35
35
|
{
|
36
36
|
"internalType": "address",
|
37
|
-
"name": "
|
37
|
+
"name": "caller",
|
38
38
|
"type": "address"
|
39
39
|
}
|
40
40
|
],
|
41
|
-
"name": "
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
42
|
"type": "error"
|
43
43
|
},
|
44
44
|
{
|
45
45
|
"inputs": [
|
46
46
|
{
|
47
|
-
"internalType": "
|
48
|
-
"name": "
|
49
|
-
"type": "
|
47
|
+
"internalType": "NftId",
|
48
|
+
"name": "nftId",
|
49
|
+
"type": "uint96"
|
50
50
|
}
|
51
51
|
],
|
52
|
-
"name": "
|
52
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
53
53
|
"type": "error"
|
54
54
|
},
|
55
55
|
{
|
56
56
|
"inputs": [
|
57
57
|
{
|
58
58
|
"internalType": "address",
|
59
|
-
"name": "
|
59
|
+
"name": "contractAddress",
|
60
60
|
"type": "address"
|
61
61
|
}
|
62
62
|
],
|
63
|
-
"name": "
|
63
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
64
64
|
"type": "error"
|
65
65
|
},
|
66
66
|
{
|
67
67
|
"inputs": [],
|
68
|
-
"name": "
|
68
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
69
69
|
"type": "error"
|
70
70
|
},
|
71
71
|
{
|
72
72
|
"inputs": [
|
73
73
|
{
|
74
74
|
"internalType": "address",
|
75
|
-
"name": "
|
75
|
+
"name": "account",
|
76
|
+
"type": "address"
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"name": "ErrorNftOwnableNotOwner",
|
80
|
+
"type": "error"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"inputs": [
|
84
|
+
{
|
85
|
+
"internalType": "address",
|
86
|
+
"name": "registryAddress",
|
76
87
|
"type": "address"
|
77
88
|
}
|
78
89
|
],
|
79
|
-
"name": "
|
90
|
+
"name": "ErrorNotRegistry",
|
80
91
|
"type": "error"
|
81
92
|
},
|
82
93
|
{
|
83
94
|
"inputs": [],
|
84
|
-
"name": "
|
95
|
+
"name": "ErrorServiceNotImplemented",
|
85
96
|
"type": "error"
|
86
97
|
},
|
87
98
|
{
|
@@ -99,12 +110,12 @@
|
|
99
110
|
"inputs": [
|
100
111
|
{
|
101
112
|
"indexed": false,
|
102
|
-
"internalType": "
|
103
|
-
"name": "
|
104
|
-
"type": "
|
113
|
+
"internalType": "address",
|
114
|
+
"name": "authority",
|
115
|
+
"type": "address"
|
105
116
|
}
|
106
117
|
],
|
107
|
-
"name": "
|
118
|
+
"name": "AuthorityUpdated",
|
108
119
|
"type": "event"
|
109
120
|
},
|
110
121
|
{
|
@@ -112,26 +123,27 @@
|
|
112
123
|
"inputs": [
|
113
124
|
{
|
114
125
|
"indexed": false,
|
115
|
-
"internalType": "
|
126
|
+
"internalType": "uint64",
|
116
127
|
"name": "version",
|
117
|
-
"type": "
|
118
|
-
},
|
119
|
-
{
|
120
|
-
"indexed": false,
|
121
|
-
"internalType": "address",
|
122
|
-
"name": "implementation",
|
123
|
-
"type": "address"
|
124
|
-
},
|
125
|
-
{
|
126
|
-
"indexed": false,
|
127
|
-
"internalType": "address",
|
128
|
-
"name": "activatedBy",
|
129
|
-
"type": "address"
|
128
|
+
"type": "uint64"
|
130
129
|
}
|
131
130
|
],
|
132
|
-
"name": "
|
131
|
+
"name": "Initialized",
|
133
132
|
"type": "event"
|
134
133
|
},
|
134
|
+
{
|
135
|
+
"inputs": [],
|
136
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
137
|
+
"outputs": [
|
138
|
+
{
|
139
|
+
"internalType": "bytes32",
|
140
|
+
"name": "",
|
141
|
+
"type": "bytes32"
|
142
|
+
}
|
143
|
+
],
|
144
|
+
"stateMutability": "view",
|
145
|
+
"type": "function"
|
146
|
+
},
|
135
147
|
{
|
136
148
|
"inputs": [],
|
137
149
|
"name": "REGISTERABLE_LOCATION_V1",
|
@@ -145,13 +157,26 @@
|
|
145
157
|
"stateMutability": "view",
|
146
158
|
"type": "function"
|
147
159
|
},
|
160
|
+
{
|
161
|
+
"inputs": [],
|
162
|
+
"name": "authority",
|
163
|
+
"outputs": [
|
164
|
+
{
|
165
|
+
"internalType": "address",
|
166
|
+
"name": "",
|
167
|
+
"type": "address"
|
168
|
+
}
|
169
|
+
],
|
170
|
+
"stateMutability": "view",
|
171
|
+
"type": "function"
|
172
|
+
},
|
148
173
|
{
|
149
174
|
"inputs": [],
|
150
175
|
"name": "getDomain",
|
151
176
|
"outputs": [
|
152
177
|
{
|
153
178
|
"internalType": "ObjectType",
|
154
|
-
"name": "",
|
179
|
+
"name": "serviceDomain",
|
155
180
|
"type": "uint8"
|
156
181
|
}
|
157
182
|
],
|
@@ -201,39 +226,8 @@
|
|
201
226
|
}
|
202
227
|
],
|
203
228
|
"internalType": "struct IRegistry.ObjectInfo",
|
204
|
-
"name": "",
|
229
|
+
"name": "info",
|
205
230
|
"type": "tuple"
|
206
|
-
},
|
207
|
-
{
|
208
|
-
"internalType": "bytes",
|
209
|
-
"name": "data",
|
210
|
-
"type": "bytes"
|
211
|
-
}
|
212
|
-
],
|
213
|
-
"stateMutability": "view",
|
214
|
-
"type": "function"
|
215
|
-
},
|
216
|
-
{
|
217
|
-
"inputs": [],
|
218
|
-
"name": "getInitializedVersion",
|
219
|
-
"outputs": [
|
220
|
-
{
|
221
|
-
"internalType": "uint64",
|
222
|
-
"name": "",
|
223
|
-
"type": "uint64"
|
224
|
-
}
|
225
|
-
],
|
226
|
-
"stateMutability": "view",
|
227
|
-
"type": "function"
|
228
|
-
},
|
229
|
-
{
|
230
|
-
"inputs": [],
|
231
|
-
"name": "getMajorVersion",
|
232
|
-
"outputs": [
|
233
|
-
{
|
234
|
-
"internalType": "VersionPart",
|
235
|
-
"name": "majorVersion",
|
236
|
-
"type": "uint8"
|
237
231
|
}
|
238
232
|
],
|
239
233
|
"stateMutability": "view",
|
@@ -291,103 +285,101 @@
|
|
291
285
|
"stateMutability": "pure",
|
292
286
|
"type": "function"
|
293
287
|
},
|
288
|
+
{
|
289
|
+
"inputs": [],
|
290
|
+
"name": "initializeERC165",
|
291
|
+
"outputs": [],
|
292
|
+
"stateMutability": "nonpayable",
|
293
|
+
"type": "function"
|
294
|
+
},
|
294
295
|
{
|
295
296
|
"inputs": [
|
296
297
|
{
|
297
|
-
"internalType": "
|
298
|
-
"name": "
|
299
|
-
"type": "
|
300
|
-
}
|
301
|
-
],
|
302
|
-
"name": "getVersion",
|
303
|
-
"outputs": [
|
298
|
+
"internalType": "address",
|
299
|
+
"name": "initialOwner",
|
300
|
+
"type": "address"
|
301
|
+
},
|
304
302
|
{
|
305
|
-
"internalType": "
|
306
|
-
"name": "",
|
307
|
-
"type": "
|
303
|
+
"internalType": "address",
|
304
|
+
"name": "registryAddress",
|
305
|
+
"type": "address"
|
308
306
|
}
|
309
307
|
],
|
310
|
-
"
|
308
|
+
"name": "initializeNftOwnable",
|
309
|
+
"outputs": [],
|
310
|
+
"stateMutability": "nonpayable",
|
311
311
|
"type": "function"
|
312
312
|
},
|
313
313
|
{
|
314
|
-
"inputs": [
|
315
|
-
"name": "getVersionCount",
|
316
|
-
"outputs": [
|
314
|
+
"inputs": [
|
317
315
|
{
|
318
|
-
"internalType": "
|
319
|
-
"name": "",
|
320
|
-
"type": "
|
316
|
+
"internalType": "address",
|
317
|
+
"name": "registryAddress",
|
318
|
+
"type": "address"
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"internalType": "NftId",
|
322
|
+
"name": "parentNftId",
|
323
|
+
"type": "uint96"
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"internalType": "ObjectType",
|
327
|
+
"name": "objectType",
|
328
|
+
"type": "uint8"
|
329
|
+
},
|
330
|
+
{
|
331
|
+
"internalType": "bool",
|
332
|
+
"name": "isInterceptor",
|
333
|
+
"type": "bool"
|
334
|
+
},
|
335
|
+
{
|
336
|
+
"internalType": "address",
|
337
|
+
"name": "initialOwner",
|
338
|
+
"type": "address"
|
339
|
+
},
|
340
|
+
{
|
341
|
+
"internalType": "bytes",
|
342
|
+
"name": "registryData",
|
343
|
+
"type": "bytes"
|
321
344
|
}
|
322
345
|
],
|
323
|
-
"
|
346
|
+
"name": "initializeRegisterable",
|
347
|
+
"outputs": [],
|
348
|
+
"stateMutability": "nonpayable",
|
324
349
|
"type": "function"
|
325
350
|
},
|
326
351
|
{
|
327
352
|
"inputs": [
|
328
353
|
{
|
329
|
-
"internalType": "
|
330
|
-
"name": "
|
331
|
-
"type": "
|
332
|
-
}
|
333
|
-
],
|
334
|
-
"name": "getVersionInfo",
|
335
|
-
"outputs": [
|
336
|
-
{
|
337
|
-
"components": [
|
338
|
-
{
|
339
|
-
"internalType": "Version",
|
340
|
-
"name": "version",
|
341
|
-
"type": "uint24"
|
342
|
-
},
|
343
|
-
{
|
344
|
-
"internalType": "address",
|
345
|
-
"name": "implementation",
|
346
|
-
"type": "address"
|
347
|
-
},
|
348
|
-
{
|
349
|
-
"internalType": "address",
|
350
|
-
"name": "activatedBy",
|
351
|
-
"type": "address"
|
352
|
-
},
|
353
|
-
{
|
354
|
-
"internalType": "Timestamp",
|
355
|
-
"name": "activatedAt",
|
356
|
-
"type": "uint40"
|
357
|
-
},
|
358
|
-
{
|
359
|
-
"internalType": "Blocknumber",
|
360
|
-
"name": "activatedIn",
|
361
|
-
"type": "uint32"
|
362
|
-
}
|
363
|
-
],
|
364
|
-
"internalType": "struct IVersionable.VersionInfo",
|
365
|
-
"name": "",
|
366
|
-
"type": "tuple"
|
354
|
+
"internalType": "address",
|
355
|
+
"name": "registryAddress",
|
356
|
+
"type": "address"
|
367
357
|
}
|
368
358
|
],
|
369
|
-
"
|
359
|
+
"name": "initializeRegistryLinked",
|
360
|
+
"outputs": [],
|
361
|
+
"stateMutability": "nonpayable",
|
370
362
|
"type": "function"
|
371
363
|
},
|
372
364
|
{
|
373
365
|
"inputs": [
|
374
366
|
{
|
375
367
|
"internalType": "address",
|
376
|
-
"name": "
|
368
|
+
"name": "registry",
|
377
369
|
"type": "address"
|
378
370
|
},
|
379
371
|
{
|
380
372
|
"internalType": "address",
|
381
|
-
"name": "
|
373
|
+
"name": "authority",
|
382
374
|
"type": "address"
|
383
375
|
},
|
384
376
|
{
|
385
|
-
"internalType": "
|
386
|
-
"name": "
|
387
|
-
"type": "
|
377
|
+
"internalType": "address",
|
378
|
+
"name": "initialOwner",
|
379
|
+
"type": "address"
|
388
380
|
}
|
389
381
|
],
|
390
|
-
"name": "
|
382
|
+
"name": "initializeService",
|
391
383
|
"outputs": [],
|
392
384
|
"stateMutability": "nonpayable",
|
393
385
|
"type": "function"
|
@@ -395,17 +387,29 @@
|
|
395
387
|
{
|
396
388
|
"inputs": [
|
397
389
|
{
|
398
|
-
"internalType": "
|
399
|
-
"name": "
|
400
|
-
"type": "
|
390
|
+
"internalType": "address",
|
391
|
+
"name": "activatedBy",
|
392
|
+
"type": "address"
|
393
|
+
},
|
394
|
+
{
|
395
|
+
"internalType": "bytes",
|
396
|
+
"name": "data",
|
397
|
+
"type": "bytes"
|
401
398
|
}
|
402
399
|
],
|
403
|
-
"name": "
|
400
|
+
"name": "initializeVersionable",
|
401
|
+
"outputs": [],
|
402
|
+
"stateMutability": "nonpayable",
|
403
|
+
"type": "function"
|
404
|
+
},
|
405
|
+
{
|
406
|
+
"inputs": [],
|
407
|
+
"name": "isConsumingScheduledOp",
|
404
408
|
"outputs": [
|
405
409
|
{
|
406
|
-
"internalType": "
|
410
|
+
"internalType": "bytes4",
|
407
411
|
"name": "",
|
408
|
-
"type": "
|
412
|
+
"type": "bytes4"
|
409
413
|
}
|
410
414
|
],
|
411
415
|
"stateMutability": "view",
|
@@ -418,6 +422,32 @@
|
|
418
422
|
"stateMutability": "nonpayable",
|
419
423
|
"type": "function"
|
420
424
|
},
|
425
|
+
{
|
426
|
+
"inputs": [
|
427
|
+
{
|
428
|
+
"internalType": "bytes4",
|
429
|
+
"name": "interfaceId",
|
430
|
+
"type": "bytes4"
|
431
|
+
}
|
432
|
+
],
|
433
|
+
"name": "registerInterface",
|
434
|
+
"outputs": [],
|
435
|
+
"stateMutability": "nonpayable",
|
436
|
+
"type": "function"
|
437
|
+
},
|
438
|
+
{
|
439
|
+
"inputs": [
|
440
|
+
{
|
441
|
+
"internalType": "address",
|
442
|
+
"name": "newAuthority",
|
443
|
+
"type": "address"
|
444
|
+
}
|
445
|
+
],
|
446
|
+
"name": "setAuthority",
|
447
|
+
"outputs": [],
|
448
|
+
"stateMutability": "nonpayable",
|
449
|
+
"type": "function"
|
450
|
+
},
|
421
451
|
{
|
422
452
|
"inputs": [
|
423
453
|
{
|
@@ -439,23 +469,13 @@
|
|
439
469
|
},
|
440
470
|
{
|
441
471
|
"inputs": [
|
442
|
-
{
|
443
|
-
"internalType": "address",
|
444
|
-
"name": "implementation",
|
445
|
-
"type": "address"
|
446
|
-
},
|
447
|
-
{
|
448
|
-
"internalType": "address",
|
449
|
-
"name": "activatedBy",
|
450
|
-
"type": "address"
|
451
|
-
},
|
452
472
|
{
|
453
473
|
"internalType": "bytes",
|
454
474
|
"name": "data",
|
455
475
|
"type": "bytes"
|
456
476
|
}
|
457
477
|
],
|
458
|
-
"name": "
|
478
|
+
"name": "upgradeVersionable",
|
459
479
|
"outputs": [],
|
460
480
|
"stateMutability": "nonpayable",
|
461
481
|
"type": "function"
|
@@ -78,9 +78,9 @@
|
|
78
78
|
"type": "address"
|
79
79
|
},
|
80
80
|
{
|
81
|
-
"internalType": "
|
81
|
+
"internalType": "Amount",
|
82
82
|
"name": "amount",
|
83
|
-
"type": "
|
83
|
+
"type": "uint96"
|
84
84
|
}
|
85
85
|
],
|
86
86
|
"name": "transfer",
|
@@ -89,8 +89,26 @@
|
|
89
89
|
"type": "function"
|
90
90
|
}
|
91
91
|
],
|
92
|
-
"bytecode": "
|
93
|
-
"deployedBytecode": "
|
94
|
-
"linkReferences": {
|
95
|
-
|
92
|
+
"bytecode": "0x608060405234801561001057600080fd5b506040516104b53803806104b583398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b610422806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063c661667d1461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d61006836600461032a565b61006f565b005b60005460405163046e44af60e11b81526bffffffffffffffffffffffff8316600482015261010a916001600160a01b0316908590859073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156100e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101059190610382565b61010f565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261016990859061016f565b50505050565b60006101846001600160a01b038416836101d7565b905080516000141580156101a95750808060200190518101906101a7919061039b565b155b1561010a57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b60606101e5838360006101ec565b9392505050565b6060814710156102115760405163cd78605960e01b81523060048201526024016101ce565b600080856001600160a01b0316848660405161022d91906103bd565b60006040518083038185875af1925050503d806000811461026a576040519150601f19603f3d011682016040523d82523d6000602084013e61026f565b606091505b509150915061027f868383610289565b9695505050505050565b60608261029e57610299826102e5565b6101e5565b81511580156102b557506001600160a01b0384163b155b156102de57604051639996b31560e01b81526001600160a01b03851660048201526024016101ce565b50806101e5565b8051156102f55780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b038116811461032557600080fd5b919050565b60008060006060848603121561033f57600080fd5b6103488461030e565b92506103566020850161030e565b915060408401356bffffffffffffffffffffffff8116811461037757600080fd5b809150509250925092565b60006020828403121561039457600080fd5b5051919050565b6000602082840312156103ad57600080fd5b815180151581146101e557600080fd5b6000825160005b818110156103de57602081860181015185830152016103c4565b50600092019182525091905056fea26469706673582212206527407be49ce27152c90b431b7430a6bf6b837533825111eff835d5f8e9989564736f6c63430008140033",
|
93
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063c661667d1461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d61006836600461032a565b61006f565b005b60005460405163046e44af60e11b81526bffffffffffffffffffffffff8316600482015261010a916001600160a01b0316908590859073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156100e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101059190610382565b61010f565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261016990859061016f565b50505050565b60006101846001600160a01b038416836101d7565b905080516000141580156101a95750808060200190518101906101a7919061039b565b155b1561010a57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b60606101e5838360006101ec565b9392505050565b6060814710156102115760405163cd78605960e01b81523060048201526024016101ce565b600080856001600160a01b0316848660405161022d91906103bd565b60006040518083038185875af1925050503d806000811461026a576040519150601f19603f3d011682016040523d82523d6000602084013e61026f565b606091505b509150915061027f868383610289565b9695505050505050565b60608261029e57610299826102e5565b6101e5565b81511580156102b557506001600160a01b0384163b155b156102de57604051639996b31560e01b81526001600160a01b03851660048201526024016101ce565b50806101e5565b8051156102f55780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b038116811461032557600080fd5b919050565b60008060006060848603121561033f57600080fd5b6103488461030e565b92506103566020850161030e565b915060408401356bffffffffffffffffffffffff8116811461037757600080fd5b809150509250925092565b60006020828403121561039457600080fd5b5051919050565b6000602082840312156103ad57600080fd5b815180151581146101e557600080fd5b6000825160005b818110156103de57602081860181015185830152016103c4565b50600092019182525091905056fea26469706673582212206527407be49ce27152c90b431b7430a6bf6b837533825111eff835d5f8e9989564736f6c63430008140033",
|
94
|
+
"linkReferences": {
|
95
|
+
"contracts/types/Amount.sol": {
|
96
|
+
"AmountLib": [
|
97
|
+
{
|
98
|
+
"length": 20,
|
99
|
+
"start": 314
|
100
|
+
}
|
101
|
+
]
|
102
|
+
}
|
103
|
+
},
|
104
|
+
"deployedLinkReferences": {
|
105
|
+
"contracts/types/Amount.sol": {
|
106
|
+
"AmountLib": [
|
107
|
+
{
|
108
|
+
"length": 20,
|
109
|
+
"start": 167
|
110
|
+
}
|
111
|
+
]
|
112
|
+
}
|
113
|
+
}
|
96
114
|
}
|
package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json
CHANGED
@@ -122,8 +122,8 @@
|
|
122
122
|
"type": "function"
|
123
123
|
}
|
124
124
|
],
|
125
|
-
"bytecode": "
|
126
|
-
"deployedBytecode": "
|
125
|
+
"bytecode": "0x60a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea2646970667358221220d2615f8e3fdb3a87ca84bc18a82a0003dca67e82d4147ba3674b6a083fa37b4c64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220cb46d8eee562c2068d4d3afab9e2a7f48be119bb61a6a1c3d7ef6ba5a8aff09464736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103",
|
126
|
+
"deployedBytecode": "0x60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea2646970667358221220d2615f8e3fdb3a87ca84bc18a82a0003dca67e82d4147ba3674b6a083fa37b4c64736f6c63430008140033",
|
127
127
|
"linkReferences": {},
|
128
128
|
"deployedLinkReferences": {}
|
129
129
|
}
|