@etherisc/gif-next 0.0.2-f62dcdf-553 → 0.0.2-f634e5c-828
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +27 -6
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +2 -2
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
- package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
- package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +2 -2
- package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
- package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +1 -1
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +1 -1
- package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +2 -2
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +55 -147
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
- package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +2 -2
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +8 -52
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +121 -82
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +72 -48
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +11 -37
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +23 -0
- package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +37 -160
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +49 -17
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +93 -200
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +2 -2
- package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +79 -121
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +33 -101
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +155 -155
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +1 -1
- package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +391 -219
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +147 -42
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +64 -18
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +24 -17
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +96 -29
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +103 -72
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +40 -27
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +302 -74
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +71 -48
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +46 -22
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +59 -69
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
- package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +810 -0
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
- package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +22 -114
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
- package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +2 -2
- package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
- package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +11 -37
- package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
- package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +8 -52
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +84 -60
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +66 -22
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +8 -67
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
- package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +49 -17
- package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleService.sol/BundleService.json +101 -206
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +58 -70
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +19 -57
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +11 -76
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +77 -75
- package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/pool/Pool.sol/Pool.json +8 -91
- package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolService.sol/PoolService.json +154 -160
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +61 -33
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +58 -23
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +42 -22
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +13 -52
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
- package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +2 -2
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +74 -66
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +67 -47
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
- package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +34 -7
- package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +38 -19
- package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +16 -37
- package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +132 -121
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +70 -42
- package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
- package/artifacts/contracts/product/PricingService.sol/PricingService.json +50 -34
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +56 -32
- package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/product/Product.sol/Product.json +13 -52
- package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +1 -1
- package/artifacts/contracts/product/RiskService.sol/RiskService.json +34 -18
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +1 -1
- package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +40 -16
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +24 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +62 -38
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +107 -94
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +32 -16
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +39 -15
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +12 -12
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
- package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +6 -6
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
- package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/shared/Component.sol/Component.json +8 -38
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +256 -116
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +78 -42
- package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +402 -6
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
- package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponent.sol/IComponent.json +11 -23
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
- package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +146 -14
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +11 -37
- package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
- package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +8 -52
- package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
- package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +2 -2
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +388 -35
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +395 -0
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +88 -24
- package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/IStaking.sol/IStaking.json +29 -59
- package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +3 -3
- package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/staking/Staking.sol/Staking.json +80 -152
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +2 -2
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +50 -46
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +2 -2
- package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingService.sol/StakingService.json +36 -20
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +43 -19
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
- package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +13 -13
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
- package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +3 -3
- package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
- package/artifacts/contracts/type/Amount.sol/AmountLib.json +3 -3
- package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
- package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/type/Fee.sol/FeeLib.json +3 -3
- package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
- package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
- package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
- package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +43 -5
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
- package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
- package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
- package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
- package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
- package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +3 -3
- package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +18 -2
- package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
- package/contracts/authorization/AccessAdmin.sol +21 -2
- package/contracts/authorization/ReleaseAccessManager.sol +1 -1
- package/contracts/distribution/BasicDistribution.sol +2 -2
- package/contracts/distribution/BasicDistributionAuthorization.sol +1 -1
- package/contracts/distribution/Distribution.sol +5 -6
- package/contracts/distribution/DistributionService.sol +18 -19
- package/contracts/distribution/IDistributionService.sol +5 -6
- package/contracts/examples/fire/FirePool.sol +16 -3
- package/contracts/examples/fire/FireProduct.sol +24 -8
- package/contracts/examples/unpermissioned/SimpleDistribution.sol +15 -0
- package/contracts/examples/unpermissioned/SimplePool.sol +34 -2
- package/contracts/examples/unpermissioned/SimpleProduct.sol +15 -21
- package/contracts/instance/BundleSet.sol +38 -34
- package/contracts/instance/IInstance.sol +7 -2
- package/contracts/instance/IInstanceService.sol +7 -9
- package/contracts/instance/Instance.sol +16 -9
- package/contracts/instance/InstanceAdmin.sol +41 -30
- package/contracts/instance/InstanceAuthorizationV3.sol +33 -9
- package/contracts/instance/InstanceReader.sol +88 -2
- package/contracts/instance/InstanceService.sol +39 -58
- package/contracts/instance/RiskSet.sol +119 -0
- package/contracts/instance/base/ObjectCounter.sol +1 -2
- package/contracts/instance/base/ObjectSet.sol +24 -25
- package/contracts/instance/module/IComponents.sol +1 -2
- package/contracts/instance/module/IPolicy.sol +2 -1
- package/contracts/instance/module/IRisk.sol +1 -0
- package/contracts/oracle/OracleService.sol +87 -69
- package/contracts/pool/BasicPool.sol +24 -3
- package/contracts/pool/BasicPoolAuthorization.sol +12 -1
- package/contracts/pool/BundleService.sol +14 -84
- package/contracts/pool/IBundleService.sol +2 -23
- package/contracts/pool/IPoolComponent.sol +1 -7
- package/contracts/pool/IPoolService.sol +12 -26
- package/contracts/pool/Pool.sol +112 -102
- package/contracts/pool/PoolService.sol +156 -88
- package/contracts/product/ApplicationService.sol +12 -12
- package/contracts/product/BasicProduct.sol +7 -11
- package/contracts/product/ClaimService.sol +3 -1
- package/contracts/product/IApplicationService.sol +5 -2
- package/contracts/product/IPolicyService.sol +17 -7
- package/contracts/product/PolicyService.sol +237 -195
- package/contracts/product/Product.sol +12 -40
- package/contracts/product/RiskService.sol +14 -3
- package/contracts/registry/ChainNft.sol +4 -2
- package/contracts/registry/IRegistry.sol +2 -0
- package/contracts/registry/Registry.sol +9 -1
- package/contracts/registry/RegistryAdmin.sol +15 -12
- package/contracts/registry/ReleaseRegistry.sol +5 -20
- package/contracts/registry/ServiceAuthorizationV3.sol +13 -31
- package/contracts/shared/Component.sol +43 -86
- package/contracts/shared/ComponentService.sol +160 -36
- package/contracts/shared/ComponentVerifyingService.sol +15 -13
- package/contracts/shared/ContractLib.sol +196 -10
- package/contracts/shared/IComponent.sol +5 -12
- package/contracts/shared/IComponentService.sol +19 -5
- package/contracts/shared/IInstanceLinkedComponent.sol +0 -11
- package/contracts/shared/InstanceLinkedComponent.sol +1 -17
- package/contracts/shared/Registerable.sol +0 -2
- package/contracts/shared/RegistryLinked.sol +6 -12
- package/contracts/shared/TokenHandler.sol +316 -66
- package/contracts/shared/TokenHandlerDeployerLib.sol +10 -2
- package/contracts/staking/IStaking.sol +9 -4
- package/contracts/staking/Staking.sol +29 -21
- package/contracts/staking/StakingService.sol +41 -8
- package/contracts/type/Key32.sol +2 -2
- package/contracts/type/Key32Set.sol +62 -0
- package/contracts/type/NftId.sol +6 -0
- package/contracts/type/ObjectType.sol +2 -0
- package/contracts/type/RiskId.sol +18 -6
- package/contracts/type/UFixed.sol +9 -119
- package/package.json +3 -3
- package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
- package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -16
@@ -5,20 +5,379 @@
|
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "NftId",
|
10
|
+
"name": "componentNftId",
|
11
|
+
"type": "uint96"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "ErrorContractLibComponentInactive",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
19
|
+
{
|
20
|
+
"internalType": "NftId",
|
21
|
+
"name": "componentNftId",
|
22
|
+
"type": "uint96"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "ObjectType",
|
26
|
+
"name": "expectedType",
|
27
|
+
"type": "uint8"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"internalType": "ObjectType",
|
31
|
+
"name": "actualType",
|
32
|
+
"type": "uint8"
|
33
|
+
}
|
34
|
+
],
|
35
|
+
"name": "ErrorContractLibComponentTypeMismatch",
|
36
|
+
"type": "error"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"inputs": [
|
40
|
+
{
|
41
|
+
"internalType": "NftId",
|
42
|
+
"name": "componentNftId",
|
43
|
+
"type": "uint96"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"internalType": "ObjectType",
|
47
|
+
"name": "objectType",
|
48
|
+
"type": "uint8"
|
49
|
+
}
|
50
|
+
],
|
51
|
+
"name": "ErrorContractLibNotComponent",
|
52
|
+
"type": "error"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"inputs": [
|
56
|
+
{
|
57
|
+
"internalType": "address",
|
58
|
+
"name": "target",
|
59
|
+
"type": "address"
|
60
|
+
}
|
61
|
+
],
|
62
|
+
"name": "ErrorContractLibNotRegistered",
|
63
|
+
"type": "error"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"inputs": [
|
67
|
+
{
|
68
|
+
"internalType": "NftId",
|
69
|
+
"name": "componentNftId",
|
70
|
+
"type": "uint96"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"internalType": "ObjectType",
|
74
|
+
"name": "objectType",
|
75
|
+
"type": "uint8"
|
76
|
+
}
|
77
|
+
],
|
78
|
+
"name": "ErrorContractLibNotStaking",
|
79
|
+
"type": "error"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"inputs": [
|
83
|
+
{
|
84
|
+
"internalType": "contract IRegistry",
|
85
|
+
"name": "registry",
|
86
|
+
"type": "IRegistry"
|
87
|
+
},
|
8
88
|
{
|
9
89
|
"internalType": "address",
|
10
90
|
"name": "target",
|
11
91
|
"type": "address"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"internalType": "bool",
|
95
|
+
"name": "onlyActive",
|
96
|
+
"type": "bool"
|
12
97
|
}
|
13
98
|
],
|
14
|
-
"name": "
|
99
|
+
"name": "getAndVerifyAnyComponent",
|
15
100
|
"outputs": [
|
101
|
+
{
|
102
|
+
"components": [
|
103
|
+
{
|
104
|
+
"internalType": "NftId",
|
105
|
+
"name": "nftId",
|
106
|
+
"type": "uint96"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"internalType": "NftId",
|
110
|
+
"name": "parentNftId",
|
111
|
+
"type": "uint96"
|
112
|
+
},
|
113
|
+
{
|
114
|
+
"internalType": "ObjectType",
|
115
|
+
"name": "objectType",
|
116
|
+
"type": "uint8"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"internalType": "bool",
|
120
|
+
"name": "isInterceptor",
|
121
|
+
"type": "bool"
|
122
|
+
},
|
123
|
+
{
|
124
|
+
"internalType": "address",
|
125
|
+
"name": "objectAddress",
|
126
|
+
"type": "address"
|
127
|
+
},
|
128
|
+
{
|
129
|
+
"internalType": "address",
|
130
|
+
"name": "initialOwner",
|
131
|
+
"type": "address"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"internalType": "bytes",
|
135
|
+
"name": "data",
|
136
|
+
"type": "bytes"
|
137
|
+
}
|
138
|
+
],
|
139
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
140
|
+
"name": "info",
|
141
|
+
"type": "tuple"
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"internalType": "address",
|
145
|
+
"name": "instance",
|
146
|
+
"type": "address"
|
147
|
+
}
|
148
|
+
],
|
149
|
+
"stateMutability": "view",
|
150
|
+
"type": "function"
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"inputs": [
|
154
|
+
{
|
155
|
+
"internalType": "contract IRegistry",
|
156
|
+
"name": "registry",
|
157
|
+
"type": "IRegistry"
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"internalType": "address",
|
161
|
+
"name": "target",
|
162
|
+
"type": "address"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"internalType": "ObjectType",
|
166
|
+
"name": "expectedType",
|
167
|
+
"type": "uint8"
|
168
|
+
},
|
16
169
|
{
|
17
170
|
"internalType": "bool",
|
18
|
-
"name": "",
|
171
|
+
"name": "onlyActive",
|
19
172
|
"type": "bool"
|
20
173
|
}
|
21
174
|
],
|
175
|
+
"name": "getAndVerifyComponent",
|
176
|
+
"outputs": [
|
177
|
+
{
|
178
|
+
"components": [
|
179
|
+
{
|
180
|
+
"internalType": "NftId",
|
181
|
+
"name": "nftId",
|
182
|
+
"type": "uint96"
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"internalType": "NftId",
|
186
|
+
"name": "parentNftId",
|
187
|
+
"type": "uint96"
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"internalType": "ObjectType",
|
191
|
+
"name": "objectType",
|
192
|
+
"type": "uint8"
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"internalType": "bool",
|
196
|
+
"name": "isInterceptor",
|
197
|
+
"type": "bool"
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"internalType": "address",
|
201
|
+
"name": "objectAddress",
|
202
|
+
"type": "address"
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"internalType": "address",
|
206
|
+
"name": "initialOwner",
|
207
|
+
"type": "address"
|
208
|
+
},
|
209
|
+
{
|
210
|
+
"internalType": "bytes",
|
211
|
+
"name": "data",
|
212
|
+
"type": "bytes"
|
213
|
+
}
|
214
|
+
],
|
215
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
216
|
+
"name": "info",
|
217
|
+
"type": "tuple"
|
218
|
+
},
|
219
|
+
{
|
220
|
+
"internalType": "address",
|
221
|
+
"name": "instance",
|
222
|
+
"type": "address"
|
223
|
+
}
|
224
|
+
],
|
225
|
+
"stateMutability": "view",
|
226
|
+
"type": "function"
|
227
|
+
},
|
228
|
+
{
|
229
|
+
"inputs": [
|
230
|
+
{
|
231
|
+
"internalType": "contract IRegistry",
|
232
|
+
"name": "registry",
|
233
|
+
"type": "IRegistry"
|
234
|
+
},
|
235
|
+
{
|
236
|
+
"internalType": "address",
|
237
|
+
"name": "target",
|
238
|
+
"type": "address"
|
239
|
+
}
|
240
|
+
],
|
241
|
+
"name": "getAndVerifyStaking",
|
242
|
+
"outputs": [
|
243
|
+
{
|
244
|
+
"components": [
|
245
|
+
{
|
246
|
+
"internalType": "NftId",
|
247
|
+
"name": "nftId",
|
248
|
+
"type": "uint96"
|
249
|
+
},
|
250
|
+
{
|
251
|
+
"internalType": "NftId",
|
252
|
+
"name": "parentNftId",
|
253
|
+
"type": "uint96"
|
254
|
+
},
|
255
|
+
{
|
256
|
+
"internalType": "ObjectType",
|
257
|
+
"name": "objectType",
|
258
|
+
"type": "uint8"
|
259
|
+
},
|
260
|
+
{
|
261
|
+
"internalType": "bool",
|
262
|
+
"name": "isInterceptor",
|
263
|
+
"type": "bool"
|
264
|
+
},
|
265
|
+
{
|
266
|
+
"internalType": "address",
|
267
|
+
"name": "objectAddress",
|
268
|
+
"type": "address"
|
269
|
+
},
|
270
|
+
{
|
271
|
+
"internalType": "address",
|
272
|
+
"name": "initialOwner",
|
273
|
+
"type": "address"
|
274
|
+
},
|
275
|
+
{
|
276
|
+
"internalType": "bytes",
|
277
|
+
"name": "data",
|
278
|
+
"type": "bytes"
|
279
|
+
}
|
280
|
+
],
|
281
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
282
|
+
"name": "info",
|
283
|
+
"type": "tuple"
|
284
|
+
}
|
285
|
+
],
|
286
|
+
"stateMutability": "view",
|
287
|
+
"type": "function"
|
288
|
+
},
|
289
|
+
{
|
290
|
+
"inputs": [
|
291
|
+
{
|
292
|
+
"internalType": "contract IRegistry",
|
293
|
+
"name": "registry",
|
294
|
+
"type": "IRegistry"
|
295
|
+
},
|
296
|
+
{
|
297
|
+
"internalType": "NftId",
|
298
|
+
"name": "componentNftId",
|
299
|
+
"type": "uint96"
|
300
|
+
},
|
301
|
+
{
|
302
|
+
"internalType": "bool",
|
303
|
+
"name": "onlyActive",
|
304
|
+
"type": "bool"
|
305
|
+
}
|
306
|
+
],
|
307
|
+
"name": "getInfoAndInstance",
|
308
|
+
"outputs": [
|
309
|
+
{
|
310
|
+
"components": [
|
311
|
+
{
|
312
|
+
"internalType": "NftId",
|
313
|
+
"name": "nftId",
|
314
|
+
"type": "uint96"
|
315
|
+
},
|
316
|
+
{
|
317
|
+
"internalType": "NftId",
|
318
|
+
"name": "parentNftId",
|
319
|
+
"type": "uint96"
|
320
|
+
},
|
321
|
+
{
|
322
|
+
"internalType": "ObjectType",
|
323
|
+
"name": "objectType",
|
324
|
+
"type": "uint8"
|
325
|
+
},
|
326
|
+
{
|
327
|
+
"internalType": "bool",
|
328
|
+
"name": "isInterceptor",
|
329
|
+
"type": "bool"
|
330
|
+
},
|
331
|
+
{
|
332
|
+
"internalType": "address",
|
333
|
+
"name": "objectAddress",
|
334
|
+
"type": "address"
|
335
|
+
},
|
336
|
+
{
|
337
|
+
"internalType": "address",
|
338
|
+
"name": "initialOwner",
|
339
|
+
"type": "address"
|
340
|
+
},
|
341
|
+
{
|
342
|
+
"internalType": "bytes",
|
343
|
+
"name": "data",
|
344
|
+
"type": "bytes"
|
345
|
+
}
|
346
|
+
],
|
347
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
348
|
+
"name": "info",
|
349
|
+
"type": "tuple"
|
350
|
+
},
|
351
|
+
{
|
352
|
+
"internalType": "address",
|
353
|
+
"name": "instance",
|
354
|
+
"type": "address"
|
355
|
+
}
|
356
|
+
],
|
357
|
+
"stateMutability": "view",
|
358
|
+
"type": "function"
|
359
|
+
},
|
360
|
+
{
|
361
|
+
"inputs": [
|
362
|
+
{
|
363
|
+
"internalType": "contract IRegistry",
|
364
|
+
"name": "registry",
|
365
|
+
"type": "IRegistry"
|
366
|
+
},
|
367
|
+
{
|
368
|
+
"internalType": "NftId",
|
369
|
+
"name": "componentNftId",
|
370
|
+
"type": "uint96"
|
371
|
+
}
|
372
|
+
],
|
373
|
+
"name": "getInstanceForComponent",
|
374
|
+
"outputs": [
|
375
|
+
{
|
376
|
+
"internalType": "address",
|
377
|
+
"name": "instance",
|
378
|
+
"type": "address"
|
379
|
+
}
|
380
|
+
],
|
22
381
|
"stateMutability": "view",
|
23
382
|
"type": "function"
|
24
383
|
},
|
@@ -60,6 +419,25 @@
|
|
60
419
|
"stateMutability": "view",
|
61
420
|
"type": "function"
|
62
421
|
},
|
422
|
+
{
|
423
|
+
"inputs": [
|
424
|
+
{
|
425
|
+
"internalType": "address",
|
426
|
+
"name": "registry",
|
427
|
+
"type": "address"
|
428
|
+
}
|
429
|
+
],
|
430
|
+
"name": "isRegistry",
|
431
|
+
"outputs": [
|
432
|
+
{
|
433
|
+
"internalType": "bool",
|
434
|
+
"name": "",
|
435
|
+
"type": "bool"
|
436
|
+
}
|
437
|
+
],
|
438
|
+
"stateMutability": "view",
|
439
|
+
"type": "function"
|
440
|
+
},
|
63
441
|
{
|
64
442
|
"inputs": [
|
65
443
|
{
|
@@ -85,8 +463,26 @@
|
|
85
463
|
"type": "function"
|
86
464
|
}
|
87
465
|
],
|
88
|
-
"bytecode": "
|
89
|
-
"deployedBytecode": "
|
90
|
-
"linkReferences": {
|
91
|
-
|
466
|
+
"bytecode": "0x61100d610034600b8282823980515f1a607314602857634e487b7160e01b5f525f60045260245ffd5b305f52607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061009b575f3560e01c8063aa13a9881161006e578063aa13a9881461011f578063b6bbad1214610132578063c52721a314610145578063ce64d28114610158578063d905700714610183575f80fd5b80630c21dea21461009f57806316279055146100c85780633334d16b146100eb5780635c990ed3146100fe575b5f80fd5b6100b26100ad366004610b0e565b610196565b6040516100bf9190610c04565b60405180910390f35b6100db6100d6366004610c16565b61020a565b60405190151581526020016100bf565b6100db6100f9366004610c16565b610227565b61011161010c366004610c4c565b61024d565b6040516100bf929190610ca5565b61011161012d366004610cce565b6102dc565b6100db610140366004610c16565b6103a9565b610111610153366004610d2a565b6103ba565b61016b610166366004610d57565b610456565b6040516001600160a01b0390911681526020016100bf565b6100db610191366004610d83565b6105ca565b61019e610aba565b6101a883836105dc565b90506101c681604001516101ba600390565b60ff9081169116141590565b15610204578051604080830151905163067e446760e31b81526001600160601b03909216600483015260ff1660248201526044015b60405180910390fd5b92915050565b5f6001600160a01b03821661022057505f919050565b503b151590565b5f6102318261020a565b61023c57505f919050565b61020482631939536960e31b6105ca565b610255610aba565b5f61026086866105dc565b915061027782604001518560ff9081169116141590565b156102b8578151604080840151905163176bb19d60e21b81526001600160601b03909216600483015260ff80871660248401521660448201526064016101fb565b6102c2868361076e565b90506102d38186845f0151866108e9565b94509492505050565b6102e4610aba565b5f6102ef85856105dc565b915061030c8260400151610301600c90565b60ff90811691161490565b8061032257506103228260400151610301600f90565b8061033857506103388260400151610301600e90565b8061034e575061034e8260400151610301600d90565b6103865781516040808401519051631df6ffe760e01b81526001600160601b03909216600483015260ff1660248201526044016101fb565b610390858361076e565b90506103a18185845f0151866108e9565b935093915050565b5f61020482620b5ccf60e31b6109e7565b6103c2610aba565b6040516305247a1760e51b81526001600160601b03841660048201525f906001600160a01b0386169063a48f42e0906024015f60405180830381865afa15801561040e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526104359190810190610eb4565b9150610441858361076e565b90506103a1818360800151845f0151866108e9565b6040516305247a1760e51b81526001600160601b03821660048201525f9081906001600160a01b0385169063a48f42e0906024015f60405180830381865afa1580156104a4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526104cb9190810190610eb4565b602001516040516305247a1760e51b81526001600160601b03821660048201529091505f906001600160a01b0386169063a48f42e0906024015f60405180830381865afa15801561051e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526105459190810190610eb4565b602001516040516305247a1760e51b81526001600160601b03821660048201529091506001600160a01b0386169063a48f42e0906024015f60405180830381865afa158015610596573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526105bd9190810190610eb4565b6080015195945050505050565b5f6105d583836109e7565b9392505050565b6105e4610aba565b604051632f2a35f760e11b81526001600160a01b0383811660048301525f9190851690635e546bee90602401602060405180830381865afa15801561062b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064f9190610f86565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156106a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106cc9190610fa1565b156106f557604051630e8088a760e01b81526001600160a01b03841660048201526024016101fb565b6040516305247a1760e51b81526001600160601b03821660048201526001600160a01b0385169063a48f42e0906024015f60405180830381865afa15801561073f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107669190810190610eb4565b949350505050565b5f61077f8260400151610301600c90565b1561080057602082015160405163bf8e179760e01b81526001600160601b0390911660048201526001600160a01b0384169063bf8e179790602401602060405180830381865afa1580156107d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f99190610fbc565b9050610204565b60208201516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b0384169063bf8e179790829063a48f42e0906024015f60405180830381865afa158015610858573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261087f9190810190610eb4565b602001516040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156108c5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105d59190610fbc565b80156109e157836001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561092b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094f9190610fbc565b604051629b7b3560e61b81526001600160a01b03858116600483015291909116906326decd4090602401602060405180830381865afa158015610994573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b89190610fa1565b156109e157604051633a31890160e11b81526001600160601b03831660048201526024016101fb565b50505050565b5f6109f183610a02565b80156105d557506105d58383610a34565b5f610a14826301ffc9a760e01b610a34565b80156102045750610a2d826001600160e01b0319610a34565b1592915050565b6040516001600160e01b0319821660248201525f90819060440160408051601f19818403018152919052602080820180516001600160e01b03166301ffc9a760e01b17815282519293505f9283928392909183918a617530fa92503d91505f519050828015610aa4575060208210155b8015610aaf57505f81115b979650505050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6001600160a01b0381168114610b0b575f80fd5b50565b5f8060408385031215610b1f575f80fd5b8235610b2a81610af7565b91506020830135610b3a81610af7565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b6001600160601b0381511682526001600160601b03602082015116602083015260ff60408201511660408301525f6060820151610bb4606085018215159052565b506080820151610bcf60808501826001600160a01b03169052565b5060a0820151610bea60a08501826001600160a01b03169052565b5060c082015160e060c085015261076660e0850182610b45565b602081525f6105d56020830184610b73565b5f60208284031215610c26575f80fd5b81356105d581610af7565b60ff81168114610b0b575f80fd5b8015158114610b0b575f80fd5b5f805f8060808587031215610c5f575f80fd5b8435610c6a81610af7565b93506020850135610c7a81610af7565b92506040850135610c8a81610c31565b91506060850135610c9a81610c3f565b939692955090935050565b604081525f610cb76040830185610b73565b905060018060a01b03831660208301529392505050565b5f805f60608486031215610ce0575f80fd5b8335610ceb81610af7565b92506020840135610cfb81610af7565b91506040840135610d0b81610c3f565b809150509250925092565b6001600160601b0381168114610b0b575f80fd5b5f805f60608486031215610d3c575f80fd5b8335610d4781610af7565b92506020840135610cfb81610d16565b5f8060408385031215610d68575f80fd5b8235610d7381610af7565b91506020830135610b3a81610d16565b5f8060408385031215610d94575f80fd5b8235610d9f81610af7565b915060208301356001600160e01b031981168114610b3a575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff81118282101715610df257610df2610dbb565b60405290565b8051610e0381610d16565b919050565b8051610e0381610c31565b8051610e0381610c3f565b8051610e0381610af7565b5f82601f830112610e38575f80fd5b815167ffffffffffffffff811115610e5257610e52610dbb565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715610e8157610e81610dbb565b604052818152838201602001851015610e98575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215610ec4575f80fd5b815167ffffffffffffffff811115610eda575f80fd5b820160e08185031215610eeb575f80fd5b610ef3610dcf565b610efc82610df8565b8152610f0a60208301610df8565b6020820152610f1b60408301610e08565b6040820152610f2c60608301610e13565b6060820152610f3d60808301610e1e565b6080820152610f4e60a08301610e1e565b60a082015260c082015167ffffffffffffffff811115610f6c575f80fd5b610f7886828501610e29565b60c083015250949350505050565b5f60208284031215610f96575f80fd5b81516105d581610d16565b5f60208284031215610fb1575f80fd5b81516105d581610c3f565b5f60208284031215610fcc575f80fd5b81516105d581610af756fea2646970667358221220dd72d86732ed7708c57a5491275cad1f90cfb66967e3b6e3a79ec48ea58a619f64736f6c634300081a0033",
|
467
|
+
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061009b575f3560e01c8063aa13a9881161006e578063aa13a9881461011f578063b6bbad1214610132578063c52721a314610145578063ce64d28114610158578063d905700714610183575f80fd5b80630c21dea21461009f57806316279055146100c85780633334d16b146100eb5780635c990ed3146100fe575b5f80fd5b6100b26100ad366004610b0e565b610196565b6040516100bf9190610c04565b60405180910390f35b6100db6100d6366004610c16565b61020a565b60405190151581526020016100bf565b6100db6100f9366004610c16565b610227565b61011161010c366004610c4c565b61024d565b6040516100bf929190610ca5565b61011161012d366004610cce565b6102dc565b6100db610140366004610c16565b6103a9565b610111610153366004610d2a565b6103ba565b61016b610166366004610d57565b610456565b6040516001600160a01b0390911681526020016100bf565b6100db610191366004610d83565b6105ca565b61019e610aba565b6101a883836105dc565b90506101c681604001516101ba600390565b60ff9081169116141590565b15610204578051604080830151905163067e446760e31b81526001600160601b03909216600483015260ff1660248201526044015b60405180910390fd5b92915050565b5f6001600160a01b03821661022057505f919050565b503b151590565b5f6102318261020a565b61023c57505f919050565b61020482631939536960e31b6105ca565b610255610aba565b5f61026086866105dc565b915061027782604001518560ff9081169116141590565b156102b8578151604080840151905163176bb19d60e21b81526001600160601b03909216600483015260ff80871660248401521660448201526064016101fb565b6102c2868361076e565b90506102d38186845f0151866108e9565b94509492505050565b6102e4610aba565b5f6102ef85856105dc565b915061030c8260400151610301600c90565b60ff90811691161490565b8061032257506103228260400151610301600f90565b8061033857506103388260400151610301600e90565b8061034e575061034e8260400151610301600d90565b6103865781516040808401519051631df6ffe760e01b81526001600160601b03909216600483015260ff1660248201526044016101fb565b610390858361076e565b90506103a18185845f0151866108e9565b935093915050565b5f61020482620b5ccf60e31b6109e7565b6103c2610aba565b6040516305247a1760e51b81526001600160601b03841660048201525f906001600160a01b0386169063a48f42e0906024015f60405180830381865afa15801561040e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526104359190810190610eb4565b9150610441858361076e565b90506103a1818360800151845f0151866108e9565b6040516305247a1760e51b81526001600160601b03821660048201525f9081906001600160a01b0385169063a48f42e0906024015f60405180830381865afa1580156104a4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526104cb9190810190610eb4565b602001516040516305247a1760e51b81526001600160601b03821660048201529091505f906001600160a01b0386169063a48f42e0906024015f60405180830381865afa15801561051e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526105459190810190610eb4565b602001516040516305247a1760e51b81526001600160601b03821660048201529091506001600160a01b0386169063a48f42e0906024015f60405180830381865afa158015610596573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526105bd9190810190610eb4565b6080015195945050505050565b5f6105d583836109e7565b9392505050565b6105e4610aba565b604051632f2a35f760e11b81526001600160a01b0383811660048301525f9190851690635e546bee90602401602060405180830381865afa15801561062b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064f9190610f86565b604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af41580156106a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106cc9190610fa1565b156106f557604051630e8088a760e01b81526001600160a01b03841660048201526024016101fb565b6040516305247a1760e51b81526001600160601b03821660048201526001600160a01b0385169063a48f42e0906024015f60405180830381865afa15801561073f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107669190810190610eb4565b949350505050565b5f61077f8260400151610301600c90565b1561080057602082015160405163bf8e179760e01b81526001600160601b0390911660048201526001600160a01b0384169063bf8e179790602401602060405180830381865afa1580156107d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f99190610fbc565b9050610204565b60208201516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b0384169063bf8e179790829063a48f42e0906024015f60405180830381865afa158015610858573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261087f9190810190610eb4565b602001516040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156108c5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105d59190610fbc565b80156109e157836001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561092b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061094f9190610fbc565b604051629b7b3560e61b81526001600160a01b03858116600483015291909116906326decd4090602401602060405180830381865afa158015610994573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b89190610fa1565b156109e157604051633a31890160e11b81526001600160601b03831660048201526024016101fb565b50505050565b5f6109f183610a02565b80156105d557506105d58383610a34565b5f610a14826301ffc9a760e01b610a34565b80156102045750610a2d826001600160e01b0319610a34565b1592915050565b6040516001600160e01b0319821660248201525f90819060440160408051601f19818403018152919052602080820180516001600160e01b03166301ffc9a760e01b17815282519293505f9283928392909183918a617530fa92503d91505f519050828015610aa4575060208210155b8015610aaf57505f81115b979650505050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6001600160a01b0381168114610b0b575f80fd5b50565b5f8060408385031215610b1f575f80fd5b8235610b2a81610af7565b91506020830135610b3a81610af7565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b6001600160601b0381511682526001600160601b03602082015116602083015260ff60408201511660408301525f6060820151610bb4606085018215159052565b506080820151610bcf60808501826001600160a01b03169052565b5060a0820151610bea60a08501826001600160a01b03169052565b5060c082015160e060c085015261076660e0850182610b45565b602081525f6105d56020830184610b73565b5f60208284031215610c26575f80fd5b81356105d581610af7565b60ff81168114610b0b575f80fd5b8015158114610b0b575f80fd5b5f805f8060808587031215610c5f575f80fd5b8435610c6a81610af7565b93506020850135610c7a81610af7565b92506040850135610c8a81610c31565b91506060850135610c9a81610c3f565b939692955090935050565b604081525f610cb76040830185610b73565b905060018060a01b03831660208301529392505050565b5f805f60608486031215610ce0575f80fd5b8335610ceb81610af7565b92506020840135610cfb81610af7565b91506040840135610d0b81610c3f565b809150509250925092565b6001600160601b0381168114610b0b575f80fd5b5f805f60608486031215610d3c575f80fd5b8335610d4781610af7565b92506020840135610cfb81610d16565b5f8060408385031215610d68575f80fd5b8235610d7381610af7565b91506020830135610b3a81610d16565b5f8060408385031215610d94575f80fd5b8235610d9f81610af7565b915060208301356001600160e01b031981168114610b3a575f80fd5b634e487b7160e01b5f52604160045260245ffd5b60405160e0810167ffffffffffffffff81118282101715610df257610df2610dbb565b60405290565b8051610e0381610d16565b919050565b8051610e0381610c31565b8051610e0381610c3f565b8051610e0381610af7565b5f82601f830112610e38575f80fd5b815167ffffffffffffffff811115610e5257610e52610dbb565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715610e8157610e81610dbb565b604052818152838201602001851015610e98575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215610ec4575f80fd5b815167ffffffffffffffff811115610eda575f80fd5b820160e08185031215610eeb575f80fd5b610ef3610dcf565b610efc82610df8565b8152610f0a60208301610df8565b6020820152610f1b60408301610e08565b6040820152610f2c60608301610e13565b6060820152610f3d60808301610e1e565b6080820152610f4e60a08301610e1e565b60a082015260c082015167ffffffffffffffff811115610f6c575f80fd5b610f7886828501610e29565b60c083015250949350505050565b5f60208284031215610f96575f80fd5b81516105d581610d16565b5f60208284031215610fb1575f80fd5b81516105d581610c3f565b5f60208284031215610fcc575f80fd5b81516105d581610af756fea2646970667358221220dd72d86732ed7708c57a5491275cad1f90cfb66967e3b6e3a79ec48ea58a619f64736f6c634300081a0033",
|
468
|
+
"linkReferences": {
|
469
|
+
"contracts/type/NftId.sol": {
|
470
|
+
"NftIdLib": [
|
471
|
+
{
|
472
|
+
"length": 20,
|
473
|
+
"start": 1700
|
474
|
+
}
|
475
|
+
]
|
476
|
+
}
|
477
|
+
},
|
478
|
+
"deployedLinkReferences": {
|
479
|
+
"contracts/type/NftId.sol": {
|
480
|
+
"NftIdLib": [
|
481
|
+
{
|
482
|
+
"length": 20,
|
483
|
+
"start": 1648
|
484
|
+
}
|
485
|
+
]
|
486
|
+
}
|
487
|
+
}
|
92
488
|
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "IInstanceAdminHelper",
|
4
|
+
"sourceName": "contracts/shared/ContractLib.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [],
|
8
|
+
"name": "getInstanceAdmin",
|
9
|
+
"outputs": [
|
10
|
+
{
|
11
|
+
"internalType": "contract ITargetHelper",
|
12
|
+
"name": "",
|
13
|
+
"type": "address"
|
14
|
+
}
|
15
|
+
],
|
16
|
+
"stateMutability": "view",
|
17
|
+
"type": "function"
|
18
|
+
}
|
19
|
+
],
|
20
|
+
"bytecode": "0x",
|
21
|
+
"deployedBytecode": "0x",
|
22
|
+
"linkReferences": {},
|
23
|
+
"deployedLinkReferences": {}
|
24
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "ITargetHelper",
|
4
|
+
"sourceName": "contracts/shared/ContractLib.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "target",
|
11
|
+
"type": "address"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "isTargetLocked",
|
15
|
+
"outputs": [
|
16
|
+
{
|
17
|
+
"internalType": "bool",
|
18
|
+
"name": "",
|
19
|
+
"type": "bool"
|
20
|
+
}
|
21
|
+
],
|
22
|
+
"stateMutability": "view",
|
23
|
+
"type": "function"
|
24
|
+
}
|
25
|
+
],
|
26
|
+
"bytecode": "0x",
|
27
|
+
"deployedBytecode": "0x",
|
28
|
+
"linkReferences": {},
|
29
|
+
"deployedLinkReferences": {}
|
30
|
+
}
|
@@ -173,6 +173,12 @@
|
|
173
173
|
{
|
174
174
|
"anonymous": false,
|
175
175
|
"inputs": [
|
176
|
+
{
|
177
|
+
"indexed": false,
|
178
|
+
"internalType": "address",
|
179
|
+
"name": "tokenHandler",
|
180
|
+
"type": "address"
|
181
|
+
},
|
176
182
|
{
|
177
183
|
"indexed": false,
|
178
184
|
"internalType": "address",
|
@@ -241,6 +247,11 @@
|
|
241
247
|
},
|
242
248
|
{
|
243
249
|
"inputs": [
|
250
|
+
{
|
251
|
+
"internalType": "contract IERC20Metadata",
|
252
|
+
"name": "token",
|
253
|
+
"type": "address"
|
254
|
+
},
|
244
255
|
{
|
245
256
|
"internalType": "Amount",
|
246
257
|
"name": "spendingLimitAmount",
|
@@ -286,11 +297,6 @@
|
|
286
297
|
"name": "tokenHandler",
|
287
298
|
"type": "address"
|
288
299
|
},
|
289
|
-
{
|
290
|
-
"internalType": "address",
|
291
|
-
"name": "wallet",
|
292
|
-
"type": "address"
|
293
|
-
},
|
294
300
|
{
|
295
301
|
"internalType": "bytes",
|
296
302
|
"name": "data",
|
@@ -326,11 +332,6 @@
|
|
326
332
|
"name": "tokenHandler",
|
327
333
|
"type": "address"
|
328
334
|
},
|
329
|
-
{
|
330
|
-
"internalType": "address",
|
331
|
-
"name": "wallet",
|
332
|
-
"type": "address"
|
333
|
-
},
|
334
335
|
{
|
335
336
|
"internalType": "bytes",
|
336
337
|
"name": "data",
|
@@ -592,19 +593,6 @@
|
|
592
593
|
"stateMutability": "nonpayable",
|
593
594
|
"type": "function"
|
594
595
|
},
|
595
|
-
{
|
596
|
-
"inputs": [
|
597
|
-
{
|
598
|
-
"internalType": "address",
|
599
|
-
"name": "walletAddress",
|
600
|
-
"type": "address"
|
601
|
-
}
|
602
|
-
],
|
603
|
-
"name": "setWallet",
|
604
|
-
"outputs": [],
|
605
|
-
"stateMutability": "nonpayable",
|
606
|
-
"type": "function"
|
607
|
-
},
|
608
596
|
{
|
609
597
|
"inputs": [
|
610
598
|
{
|