@t-rex-network/t-rex 5.0.0-beta2 → 5.0.0-beta3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE.md +78 -0
- package/README.md +19 -22
- package/contracts/{roles/AgentRole.sol → ERC-3643/ERC3643ErrorsLib.sol} +60 -33
- package/contracts/ERC-3643/IERC3643.sol +61 -5
- package/contracts/ERC-3643/IERC3643ClaimTopicsRegistry.sol +11 -2
- package/contracts/ERC-3643/IERC3643Compliance.sol +21 -8
- package/contracts/ERC-3643/IERC3643IdentityRegistry.sol +33 -0
- package/contracts/ERC-3643/IERC3643IdentityRegistryStorage.sol +62 -7
- package/contracts/ERC-3643/IERC3643TrustedIssuersRegistry.sol +29 -12
- package/contracts/ERC-3643/base/ERC3643ClaimTopicsRegistry.sol +140 -0
- package/contracts/ERC-3643/base/ERC3643Compliance.sol +223 -0
- package/contracts/ERC-3643/base/ERC3643IdentityRegistry.sol +382 -0
- package/contracts/ERC-3643/base/ERC3643IdentityRegistryStorage.sol +290 -0
- package/contracts/ERC-3643/base/ERC3643Token.sol +601 -0
- package/contracts/ERC-3643/base/ERC3643TrustedIssuersRegistry.sol +237 -0
- package/contracts/compliance/modular/ComplianceLedger.sol +175 -0
- package/contracts/compliance/modular/ComplianceLedgerLib.sol +120 -0
- package/contracts/compliance/modular/IComplianceLedger.sol +104 -0
- package/contracts/compliance/modular/IModularCompliance.sol +119 -28
- package/contracts/compliance/modular/ITransferValidation.sol +308 -0
- package/contracts/compliance/modular/ModularCompliance.sol +399 -240
- package/contracts/compliance/modular/ModuleSetLib.sol +182 -0
- package/contracts/compliance/modular/MovementKindLib.sol +97 -0
- package/contracts/compliance/modular/TransferContextLib.sol +140 -0
- package/contracts/compliance/modular/TransferValidation.sol +822 -0
- package/contracts/compliance/modular/TransferValidationLib.sol +183 -0
- package/contracts/compliance/modular/modules/AbstractModuleUpgradeable.sol +87 -56
- package/contracts/compliance/modular/modules/IModule.sol +142 -58
- package/contracts/compliance/modular/modules/MaxBalancePerIdentityModule.sol +175 -0
- package/contracts/compliance/modular/modules/ModuleProxy.sol +24 -24
- package/contracts/compliance/modular/modules/SpenderVerificationModule.sol +149 -0
- package/contracts/compliance/modular/modules/SpenderWhitelistModule.sol +215 -0
- package/contracts/factory/ITREXFactory.sol +94 -44
- package/contracts/factory/TREXFactory.sol +408 -201
- package/contracts/interop/ISettlementHandler.sol +101 -0
- package/contracts/interop/ITREXMessaging.sol +166 -0
- package/contracts/{proxy/ModularComplianceProxy.sol → interop/ITrustedGatewayRegistry.sol} +48 -43
- package/contracts/interop/TREXMessaging.sol +189 -0
- package/contracts/interop/TREXMessagingLib.sol +425 -0
- package/contracts/{proxy/TrustedIssuersRegistryProxy.sol → interop/TrustedGatewayRegistry.sol} +46 -37
- package/contracts/libraries/AccessManagerSetupLib.sol +484 -0
- package/contracts/libraries/ErrorsLib.sol +172 -65
- package/contracts/libraries/EventsLib.sol +168 -66
- package/contracts/libraries/MessageTypesLib.sol +259 -0
- package/contracts/libraries/RolesLib.sol +146 -0
- package/contracts/{roles/Roles.sol → libraries/VersionLib.sol} +46 -49
- package/contracts/libraries/WalletKeyLib.sol +156 -0
- package/contracts/proxy/beacon/ITREXImplementationAuthority.sol +157 -0
- package/contracts/proxy/beacon/TREXImplementationAuthority.sol +188 -0
- package/contracts/registry/implementation/IdentityRegistryStorage.sol +215 -163
- package/contracts/registry/implementation/TREXRegistry.sol +475 -0
- package/contracts/registry/interface/IIdentityRegistryStorage.sol +30 -25
- package/contracts/registry/interface/ITREXRegistry.sol +180 -0
- package/contracts/token/IToken.sol +210 -49
- package/contracts/token/Token.sol +411 -476
- package/contracts/token/TokenDelegationLib.sol +339 -0
- package/contracts/token/TokenGuardsLib.sol +123 -0
- package/contracts/token/TokenLedgerLib.sol +316 -0
- package/contracts/token/TokenRecoveryLib.sol +130 -0
- package/contracts/{roles/AgentRoleUpgradeable.sol → utils/AccessManagedOwnable.sol} +31 -31
- package/contracts/{proxy/IdentityRegistryStorageProxy.sol → utils/AccessManagedOwnableBase.sol} +56 -34
- package/contracts/utils/AccessManagedOwnableUpgradeable.sol +116 -0
- package/contracts/utils/IUtilityChecker.sol +32 -26
- package/contracts/{roles/AbstractAgentRole.sol → utils/TREXAccessManager.sol} +54 -57
- package/contracts/utils/UtilityChecker.sol +175 -52
- package/contracts/utils/UtilityCheckerProxy.sol +24 -24
- package/contracts/{proxy/interface/IProxy.sol → vendor/IERC173.sol} +15 -28
- package/out/AbstractModuleUpgradeable.sol/AbstractModuleUpgradeable.json +1 -1
- package/out/AbstractSigner.sol/AbstractSigner.json +1 -0
- package/out/AccessManaged.sol/AccessManaged.json +1 -0
- package/out/AccessManagedOwnable.sol/AccessManagedOwnable.json +1 -0
- package/out/AccessManagedOwnableBase.sol/AccessManagedOwnableBase.json +1 -0
- package/out/AccessManagedOwnableUpgradeable.sol/AccessManagedOwnableUpgradeable.json +1 -0
- package/out/AccessManagedUpgradeable.sol/AccessManagedUpgradeable.json +1 -0
- package/out/AccessManager.sol/AccessManager.json +1 -0
- package/out/AccessManagerHelper.sol/AccessManagerHelper.json +1 -0
- package/out/AccessManagerSetupLib.sol/AccessManagerSetupLib.json +1 -0
- package/out/AccessManagerUpgradeable.sol/AccessManagerUpgradeable.json +1 -0
- package/out/Account.sol/Account.json +1 -0
- package/out/Address.sol/Address.json +1 -1
- package/out/Arrays.sol/Arrays.json +1 -1
- package/out/AuthorityUtils.sol/AuthorityUtils.json +1 -0
- package/out/Base.sol/CommonBase.json +1 -1
- package/out/Base.sol/ScriptBase.json +1 -1
- package/out/Base.sol/TestBase.json +1 -1
- package/out/Base64.sol/Base64.json +1 -0
- package/out/BeaconProxy.sol/BeaconProxy.json +1 -0
- package/out/BeaconProxyDeployer.sol/BeaconProxyDeployer.json +1 -0
- package/out/Bytes.sol/Bytes.json +1 -1
- package/out/Calldata.sol/Calldata.json +1 -0
- package/out/CapabilityModules.sol/AllTypesModule.json +1 -0
- package/out/CapabilityModules.sol/CappedRecipientModule.json +1 -0
- package/out/CapabilityModules.sol/DelegatedCapRuleModule.json +1 -0
- package/out/CapabilityModules.sol/DuplicateTypeModule.json +1 -0
- package/out/CapabilityModules.sol/LockedSenderModule.json +1 -0
- package/out/CapabilityModules.sol/NoTypeModule.json +1 -0
- package/out/CapabilityModules.sol/RecordingModule.json +1 -0
- package/out/CapabilityModules.sol/RuleAndMintTrackerModule.json +1 -0
- package/out/CapabilityModules.sol/RuleAndTrackerModule.json +1 -0
- package/out/CapabilityModules.sol/RuleOnlyModule.json +1 -0
- package/out/CapabilityModules.sol/SpenderOnlyModule.json +1 -0
- package/out/CapabilityModules.sol/TrackerOnlyModule.json +1 -0
- package/out/CapabilityModules.sol/UndeclaredRuleModule.json +1 -0
- package/out/CapabilityModules.sol/WritingRuleModule.json +1 -0
- package/out/ClaimIssuerAlwaysReverts.sol/ClaimIssuerAlwaysReverts.json +1 -0
- package/out/ClaimIssuerTrick.sol/ClaimIssuerTrick.json +1 -1
- package/out/Comparators.sol/Comparators.json +1 -1
- package/out/ComplianceLedger.sol/ComplianceLedger.json +1 -0
- package/out/ComplianceLedgerLib.sol/ComplianceLedgerLib.json +1 -0
- package/out/Context.sol/Context.json +1 -1
- package/out/ContextUpgradeable.sol/ContextUpgradeable.json +1 -1
- package/out/Countries.sol/Countries.json +1 -1
- package/out/Create2.sol/Create2.json +1 -1
- package/out/Create3.sol/Create3.json +1 -1
- package/out/DeployComplianceModules.s.sol/DeployComplianceModules.json +1 -0
- package/out/DeployComplianceModules.s.sol/ITokenCompliance.json +1 -0
- package/out/DeployUtilityChecker.s.sol/DeployUtilityChecker.json +1 -0
- package/out/ECDSA.sol/ECDSA.json +1 -1
- package/out/EIP712.sol/EIP712.json +1 -1
- package/out/EIP712Upgradeable.sol/EIP712Upgradeable.json +1 -1
- package/out/ERC165.sol/ERC165.json +1 -0
- package/out/ERC165Checker.sol/ERC165Checker.json +1 -0
- package/out/ERC165Upgradeable.sol/ERC165Upgradeable.json +1 -0
- package/out/ERC1967Proxy.sol/ERC1967Proxy.json +1 -1
- package/out/ERC1967Utils.sol/ERC1967Utils.json +1 -1
- package/out/ERC20.sol/ERC20.json +1 -1
- package/out/ERC20Pausable.sol/ERC20Pausable.json +1 -1
- package/out/ERC20PermitUpgradeable.sol/ERC20PermitUpgradeable.json +1 -1
- package/out/ERC20Upgradeable.sol/ERC20Upgradeable.json +1 -1
- package/out/ERC3643ClaimTopicsRegistry.sol/ERC3643ClaimTopicsRegistry.json +1 -0
- package/out/ERC3643Compliance.sol/ERC3643Compliance.json +1 -0
- package/out/ERC3643ErrorsLib.sol/ERC3643ErrorsLib.json +1 -0
- package/out/ERC3643IdentityRegistry.sol/ERC3643IdentityRegistry.json +1 -0
- package/out/ERC3643IdentityRegistryStorage.sol/ERC3643IdentityRegistryStorage.json +1 -0
- package/out/ERC3643Token.sol/ERC3643Token.json +1 -0
- package/out/ERC3643TrustedIssuersRegistry.sol/ERC3643TrustedIssuersRegistry.json +1 -0
- package/out/ERC4337Utils.sol/ERC4337Utils.json +1 -0
- package/out/ERC4337Utils.sol/IEntryPointExtra.json +1 -0
- package/out/ERC734Validator.sol/ERC734Validator.json +1 -0
- package/out/ERC7579Validator.sol/ERC7579Validator.json +1 -0
- package/out/ERC7786GatewayMock.sol/ERC7786GatewayMock.json +1 -0
- package/out/ERC7786Recipient.sol/ERC7786Recipient.json +1 -0
- package/out/ERC7913WebAuthnVerifier.sol/ERC7913WebAuthnVerifier.json +1 -0
- package/out/EnumerableSet.sol/EnumerableSet.json +1 -1
- package/out/Errors.sol/Errors.json +1 -1
- package/out/ErrorsLib.sol/ErrorsLib.json +1 -1
- package/out/EventsLib.sol/EventsLib.json +1 -1
- package/out/Hashes.sol/Hashes.json +1 -0
- package/out/HostileModules.sol/RevertEverywhereModule.json +1 -0
- package/out/HostileModules.sol/UnbindRevertingModule.json +1 -0
- package/out/IAccessManaged.sol/IAccessManaged.json +1 -0
- package/out/IAccessManager.sol/IAccessManager.json +1 -0
- package/out/IAuthority.sol/IAuthority.json +1 -0
- package/out/IBeacon.sol/IBeacon.json +1 -1
- package/out/IClaimIssuer.sol/IClaimIssuer.json +1 -1
- package/out/IComplianceLedger.sol/IComplianceLedger.json +1 -0
- package/out/IERC1271.sol/IERC1271.json +1 -0
- package/out/IERC165.sol/IERC165.json +1 -1
- package/out/IERC173.sol/IERC173.json +1 -1
- package/out/IERC1967.sol/IERC1967.json +1 -1
- package/out/IERC20.sol/IERC20.json +1 -1
- package/out/IERC20Metadata.sol/IERC20Metadata.json +1 -1
- package/out/IERC20Permit.sol/IERC20Permit.json +1 -1
- package/out/IERC3643.sol/IERC3643.json +1 -1
- package/out/IERC3643ClaimTopicsRegistry.sol/IERC3643ClaimTopicsRegistry.json +1 -1
- package/out/IERC3643Compliance.sol/IERC3643Compliance.json +1 -1
- package/out/IERC3643IdentityRegistry.sol/IERC3643IdentityRegistry.json +1 -1
- package/out/IERC3643IdentityRegistryStorage.sol/IERC3643IdentityRegistryStorage.json +1 -1
- package/out/IERC3643TrustedIssuersRegistry.sol/IERC3643TrustedIssuersRegistry.json +1 -1
- package/out/IERC4337.sol/IAccount.json +1 -0
- package/out/IERC4337.sol/IAccountExecute.json +1 -0
- package/out/IERC4337.sol/IAggregator.json +1 -0
- package/out/IERC4337.sol/IEntryPoint.json +1 -0
- package/out/IERC4337.sol/IEntryPointNonces.json +1 -0
- package/out/IERC4337.sol/IEntryPointStake.json +1 -0
- package/out/IERC4337.sol/IPaymaster.json +1 -0
- package/out/IERC5267.sol/IERC5267.json +1 -1
- package/out/IERC734.sol/IERC734.json +1 -1
- package/out/IERC735.sol/IERC735.json +1 -1
- package/out/IERC7913.sol/IERC7913SignatureVerifier.json +1 -0
- package/out/IIdentity.sol/IIdentity.json +1 -1
- package/out/IIdentityFactory.sol/IIdentityFactory.json +1 -0
- package/out/IIdentityRegistryStorage.sol/IIdentityRegistryStorage.json +1 -1
- package/out/IKeyExecutor.sol/IKeyExecutor.json +1 -0
- package/out/IModularCompliance.sol/IModularCompliance.json +1 -1
- package/out/IModule.sol/IModule.json +1 -1
- package/out/IMulticall3.sol/IMulticall3.json +1 -1
- package/out/IReputationRegistry.sol/IReputationRegistry.json +1 -0
- package/out/ISettlementHandler.sol/ISettlementHandler.json +1 -0
- package/out/ITREXFactory.sol/ITREXFactory.json +1 -1
- package/out/ITREXImplementationAuthority.sol/ITREXImplementationAuthority.json +1 -1
- package/out/ITREXMessaging.sol/ITREXMessaging.json +1 -0
- package/out/ITREXRegistry.sol/ITREXRegistry.json +1 -0
- package/out/IToken.sol/IToken.json +1 -1
- package/out/ITransferValidation.sol/ITransferValidation.json +1 -0
- package/out/ITrustedGatewayRegistry.sol/ITrustedGatewayRegistry.json +1 -0
- package/out/IUtilityChecker.sol/IUtilityChecker.json +1 -1
- package/out/Identity.sol/Identity.json +1 -1
- package/out/IdentityFactory.sol/IdentityFactory.json +1 -0
- package/out/IdentityModulesHelper.sol/IdentityModulesHelper.json +1 -0
- package/out/IdentityRegistryStorage.sol/IdentityRegistryStorage.json +1 -1
- package/out/IdentityTypes.sol/IdentityTypes.json +1 -0
- package/out/Initializable.sol/Initializable.json +1 -1
- package/out/InteropSuiteTest.sol/InteropSuiteTest.json +1 -0
- package/out/KeyApprovalModule.sol/IIdentityAccount.json +1 -0
- package/out/KeyApprovalModule.sol/KeyApprovalModule.json +1 -0
- package/out/KeyManager.sol/KeyManager.json +1 -0
- package/out/KeyPurposes.sol/KeyPurposes.json +1 -1
- package/out/KeyTypes.sol/KeyTypes.json +1 -1
- package/out/LowLevelCall.sol/LowLevelCall.json +1 -1
- package/out/Math.sol/Math.json +1 -1
- package/out/MaxBalancePerIdentityModule.sol/MaxBalancePerIdentityModule.json +1 -0
- package/out/MessageHashUtils.sol/MessageHashUtils.json +1 -1
- package/out/MessageTypesLib.sol/MessageTypesLib.json +1 -0
- package/out/MockTREXAccessManagerV2.sol/MockTREXAccessManagerV2.json +1 -0
- package/out/MockTokenV2.sol/MockTokenV2.json +1 -0
- package/out/Mocks.sol/ClaimTopicsRegistryMock.json +1 -0
- package/out/Mocks.sol/ComplianceMock.json +1 -0
- package/out/Mocks.sol/IdentityRegistryMock.json +1 -0
- package/out/Mocks.sol/IdentityRegistryStorageMock.json +1 -0
- package/out/Mocks.sol/TokenMock.json +1 -0
- package/out/Mocks.sol/TrustedIssuersRegistryMock.json +1 -0
- package/out/ModularCompliance.sol/ModularCompliance.json +1 -1
- package/out/ModuleNotPnP.sol/ModuleNotPnP.json +1 -1
- package/out/ModuleProxy.sol/ModuleProxy.json +1 -1
- package/out/ModuleSetLib.sol/ModuleSetLib.json +1 -0
- package/out/MovementKindLib.sol/MovementKindLib.json +1 -0
- package/out/Multicall.sol/Multicall.json +1 -0
- package/out/MulticallUpgradeable.sol/MulticallUpgradeable.json +1 -1
- package/out/Nonces.sol/Nonces.json +1 -1
- package/out/NoncesUpgradeable.sol/NoncesUpgradeable.json +1 -1
- package/out/Ownable.sol/Ownable.json +1 -1
- package/out/OwnableUpgradeable.sol/OwnableUpgradeable.json +1 -1
- package/out/P256.sol/P256.json +1 -0
- package/out/Packing.sol/Packing.json +1 -0
- package/out/Panic.sol/Panic.json +1 -1
- package/out/Pausable.sol/Pausable.json +1 -1
- package/out/PausableUpgradeable.sol/PausableUpgradeable.json +1 -1
- package/out/Proxy.sol/Proxy.json +1 -1
- package/out/ReentrancyGuardTransient.sol/ReentrancyGuardTransient.json +1 -0
- package/out/ReentrantModule.sol/ReentrantModule.json +1 -0
- package/out/ReputationRegistry.sol/ReputationRegistry.json +1 -0
- package/out/RolesLib.sol/RolesLib.json +1 -0
- package/out/SafeCalldataBatch.sol/SafeCalldataBatch.json +1 -0
- package/out/SafeCast.sol/SafeCast.json +1 -1
- package/out/SatelliteLiteMock.sol/SatelliteLiteMock.json +1 -0
- package/out/Script.sol/Script.json +1 -0
- package/out/ShortStrings.sol/ShortStrings.json +1 -1
- package/out/SignatureChecker.sol/SignatureChecker.json +1 -0
- package/out/SignedMath.sol/SignedMath.json +1 -1
- package/out/SlotDerivation.sol/SlotDerivation.json +1 -1
- package/out/SmartAccount.sol/SmartAccount.json +1 -0
- package/out/SpenderVerificationModule.sol/SpenderVerificationModule.json +1 -0
- package/out/SpenderWhitelistModule.sol/SpenderWhitelistModule.json +1 -0
- package/out/StdAssertions.sol/StdAssertions.json +1 -1
- package/out/StdChains.sol/StdChains.json +1 -1
- package/out/StdCheats.sol/StdCheats.json +1 -1
- package/out/StdCheats.sol/StdCheatsSafe.json +1 -1
- package/out/StdConstants.sol/StdConstants.json +1 -1
- package/out/StdError.sol/stdError.json +1 -1
- package/out/StdInvariant.sol/StdInvariant.json +1 -1
- package/out/StdJson.sol/stdJson.json +1 -1
- package/out/StdMath.sol/stdMath.json +1 -1
- package/out/StdStorage.sol/stdStorage.json +1 -1
- package/out/StdStorage.sol/stdStorageSafe.json +1 -1
- package/out/StdStyle.sol/StdStyle.json +1 -1
- package/out/StdToml.sol/stdToml.json +1 -1
- package/out/StdUtils.sol/StdUtils.json +1 -1
- package/out/StorageSlot.sol/StorageSlot.json +1 -1
- package/out/Strings.sol/Strings.json +1 -1
- package/out/Structs.sol/Structs.json +1 -1
- package/out/TREXAccessManager.sol/TREXAccessManager.json +1 -0
- package/out/TREXFactory.sol/TREXFactory.json +1 -1
- package/out/TREXImplementationAuthority.sol/TREXImplementationAuthority.json +1 -1
- package/out/TREXMessaging.sol/TREXMessaging.json +1 -0
- package/out/TREXMessagingLib.sol/TREXMessagingLib.json +1 -0
- package/out/TREXRegistry.sol/TREXRegistry.json +1 -0
- package/out/TestERC20.sol/TestERC20.json +1 -1
- package/out/TestModule.sol/TestModule.json +1 -1
- package/out/TestTREXFactory.sol/TestTREXFactory.json +1 -1
- package/out/Time.sol/Time.json +1 -0
- package/out/Token.sol/Token.json +1 -1
- package/out/TokenDelegationLib.sol/TokenDelegationLib.json +1 -0
- package/out/TokenGuardsLib.sol/TokenGuardsLib.json +1 -0
- package/out/TokenHandler.sol/TokenHandler.json +1 -0
- package/out/TokenLedgerHarness.sol/TokenLedgerHarness.json +1 -0
- package/out/TokenLedgerLib.sol/TokenLedgerLib.json +1 -0
- package/out/TokenRecoveryLib.sol/TokenRecoveryLib.json +1 -0
- package/out/TokenReservationStub.sol/TokenReservationStub.json +1 -0
- package/out/TransferContextLib.sol/TransferContextLib.json +1 -0
- package/out/TransferValidation.sol/TransferValidation.json +1 -0
- package/out/TransferValidationHarness.sol/TransferValidationHarness.json +1 -0
- package/out/TransferValidationLib.sol/TransferValidationLib.json +1 -0
- package/out/TransientSlot.sol/TransientSlot.json +1 -0
- package/out/TrustedGatewayRegistry.sol/TrustedGatewayRegistry.json +1 -0
- package/out/UUPSUpgradeable.sol/UUPSUpgradeable.json +1 -1
- package/out/UpgradeableBeacon.sol/UpgradeableBeacon.json +1 -0
- package/out/UtilityChecker.sol/UtilityChecker.json +1 -1
- package/out/UtilityCheckerProxy.sol/UtilityCheckerProxy.json +1 -1
- package/out/Utils.sol/Utils.json +1 -1
- package/out/VersionLib.sol/VersionLib.json +1 -0
- package/out/Vm.sol/Vm.json +1 -1
- package/out/Vm.sol/VmSafe.json +1 -1
- package/out/WalletKeyLib.sol/WalletKeyLib.json +1 -0
- package/out/WebAuthn.sol/WebAuthn.json +1 -0
- package/out/console.sol/console.json +1 -1
- package/out/draft-AccountERC7579Upgradeable.sol/AccountERC7579Upgradeable.json +1 -0
- package/out/draft-ERC7579Utils.sol/ERC7579Utils.json +1 -0
- package/out/draft-IERC1822.sol/IERC1822Proxiable.json +1 -1
- package/out/draft-IERC6093.sol/IERC1155Errors.json +1 -1
- package/out/draft-IERC6093.sol/IERC20Errors.json +1 -1
- package/out/draft-IERC6093.sol/IERC721Errors.json +1 -1
- package/out/draft-IERC7579.sol/IERC7579AccountConfig.json +1 -0
- package/out/draft-IERC7579.sol/IERC7579Execution.json +1 -0
- package/out/draft-IERC7579.sol/IERC7579Hook.json +1 -0
- package/out/draft-IERC7579.sol/IERC7579Module.json +1 -0
- package/out/draft-IERC7579.sol/IERC7579ModuleConfig.json +1 -0
- package/out/draft-IERC7579.sol/IERC7579Validator.json +1 -0
- package/out/draft-IERC7786.sol/IERC7786GatewaySource.json +1 -0
- package/out/draft-IERC7786.sol/IERC7786Recipient.json +1 -0
- package/out/draft-InteroperableAddress.sol/InteroperableAddress.json +1 -0
- package/out/libraries/Errors.sol/Errors.json +1 -1
- package/out/safeconsole.sol/safeconsole.json +1 -1
- package/package.json +11 -7
- package/contracts/ERC-3643/ERC3643EventsLib.sol +0 -150
- package/contracts/factory/ITREXGateway.sol +0 -234
- package/contracts/factory/TREXGateway.sol +0 -274
- package/contracts/proxy/AbstractProxy.sol +0 -146
- package/contracts/proxy/ClaimTopicsRegistryProxy.sol +0 -83
- package/contracts/proxy/IdentityRegistryProxy.sol +0 -95
- package/contracts/proxy/TokenProxy.sol +0 -97
- package/contracts/proxy/authority/IAFactory.sol +0 -122
- package/contracts/proxy/authority/IIAFactory.sol +0 -87
- package/contracts/proxy/authority/ITREXImplementationAuthority.sol +0 -239
- package/contracts/proxy/authority/TREXImplementationAuthority.sol +0 -350
- package/contracts/registry/implementation/ClaimTopicsRegistry.sol +0 -152
- package/contracts/registry/implementation/IdentityRegistry.sol +0 -352
- package/contracts/registry/implementation/TrustedIssuersRegistry.sol +0 -272
- package/contracts/registry/interface/IClaimTopicsRegistry.sol +0 -70
- package/contracts/registry/interface/IIdentityRegistry.sol +0 -102
- package/contracts/registry/interface/ITrustedIssuersRegistry.sol +0 -70
- package/contracts/roles/IERC173.sol +0 -21
- package/contracts/token/TokenStructs.sol +0 -74
- package/contracts/utils/InterfaceIdCalculator.sol +0 -223
- package/contracts/vendor/openzeppelin/Create3.sol +0 -143
- package/out/AbstractAgentRole.sol/AbstractAgentRole.json +0 -1
- package/out/AbstractProxy.sol/AbstractProxy.json +0 -1
- package/out/AgentRole.sol/AgentRole.json +0 -1
- package/out/AgentRoleUpgradeable.sol/AgentRoleUpgradeable.json +0 -1
- package/out/ClaimIssuer.sol/ClaimIssuer.json +0 -1
- package/out/ClaimTopicsRegistry.sol/ClaimTopicsRegistry.json +0 -1
- package/out/ClaimTopicsRegistryProxy.sol/ClaimTopicsRegistryProxy.json +0 -1
- package/out/ERC2771Context.sol/ERC2771Context.json +0 -1
- package/out/ERC2771ContextUpgradeable.sol/ERC2771ContextUpgradeable.json +0 -1
- package/out/ERC2771Forwarder.sol/ERC2771Forwarder.json +0 -1
- package/out/ERC3643EventsLib.sol/ERC3643EventsLib.json +0 -1
- package/out/IAFactory.sol/IAFactory.json +0 -1
- package/out/IClaimTopicsRegistry.sol/IClaimTopicsRegistry.json +0 -1
- package/out/IERC1363.sol/IERC1363.json +0 -1
- package/out/IIAFactory.sol/IIAFactory.json +0 -1
- package/out/IIdFactory.sol/IIdFactory.json +0 -1
- package/out/IIdentityRegistry.sol/IIdentityRegistry.json +0 -1
- package/out/IImplementationAuthority.sol/IImplementationAuthority.json +0 -1
- package/out/IProxy.sol/IProxy.json +0 -1
- package/out/ITREXGateway.sol/ITREXGateway.json +0 -1
- package/out/ITrustedIssuersRegistry.sol/ITrustedIssuersRegistry.json +0 -1
- package/out/IdFactory.sol/IdFactory.json +0 -1
- package/out/IdentityProxy.sol/IdentityProxy.json +0 -1
- package/out/IdentityRegistry.sol/IdentityRegistry.json +0 -1
- package/out/IdentityRegistryProxy.sol/IdentityRegistryProxy.json +0 -1
- package/out/IdentityRegistryStorageProxy.sol/IdentityRegistryStorageProxy.json +0 -1
- package/out/ImplementationAuthority.sol/ImplementationAuthority.json +0 -1
- package/out/InterfaceIdCalculator.sol/InterfaceIdCalculator.json +0 -1
- package/out/ModularComplianceProxy.sol/ModularComplianceProxy.json +0 -1
- package/out/Ownable2Step.sol/Ownable2Step.json +0 -1
- package/out/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.json +0 -1
- package/out/Roles.sol/Roles.json +0 -1
- package/out/SafeERC20.sol/SafeERC20.json +0 -1
- package/out/Storage.sol/Storage.json +0 -1
- package/out/TREXGateway.sol/TREXGateway.json +0 -1
- package/out/TestAgentRole.sol/TestAgentRole.json +0 -1
- package/out/TestAgentRoleUpgradeable.sol/TestAgentRoleUpgradeable.json +0 -1
- package/out/TokenProxy.sol/TokenProxy.json +0 -1
- package/out/TrustedIssuersRegistry.sol/TrustedIssuersRegistry.json +0 -1
- package/out/TrustedIssuersRegistryProxy.sol/TrustedIssuersRegistryProxy.json +0 -1
- package/out/Version.sol/Version.json +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"abi":[{"type":"function","name":"addClaimTopic","inputs":[{"name":"_claimTopic","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"addClaimTopicForIdentityType","inputs":[{"name":"identityType","type":"uint256","internalType":"uint256"},{"name":"claimTopic","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"addTrustedIssuer","inputs":[{"name":"_trustedIssuer","type":"address","internalType":"address"},{"name":"_claimTopics","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"batchRegisterIdentity","inputs":[{"name":"_userAddresses","type":"address[]","internalType":"address[]"},{"name":"_identities","type":"address[]","internalType":"contract IIdentity[]"},{"name":"_countries","type":"uint16[]","internalType":"uint16[]"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"contains","inputs":[{"name":"_userAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"deleteIdentity","inputs":[{"name":"_userAddress","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"disableEligibilityChecks","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"enableEligibilityChecks","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"getClaimTopics","inputs":[],"outputs":[{"name":"","type":"uint256[]","internalType":"uint256[]"}],"stateMutability":"view"},{"type":"function","name":"getClaimTopicsForIdentityType","inputs":[{"name":"identityType","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256[]","internalType":"uint256[]"}],"stateMutability":"view"},{"type":"function","name":"getTrustedIssuerClaimTopics","inputs":[{"name":"_trustedIssuer","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256[]","internalType":"uint256[]"}],"stateMutability":"view"},{"type":"function","name":"getTrustedIssuers","inputs":[],"outputs":[{"name":"","type":"address[]","internalType":"address[]"}],"stateMutability":"view"},{"type":"function","name":"getTrustedIssuersForClaimTopic","inputs":[{"name":"claimTopic","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address[]","internalType":"address[]"}],"stateMutability":"view"},{"type":"function","name":"hasClaimTopic","inputs":[{"name":"_issuer","type":"address","internalType":"address"},{"name":"_claimTopic","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"identity","inputs":[{"name":"_userAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"address","internalType":"contract IIdentity"}],"stateMutability":"view"},{"type":"function","name":"identityFactory","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IIdentityFactory"}],"stateMutability":"view"},{"type":"function","name":"identityStorage","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IERC3643IdentityRegistryStorage"}],"stateMutability":"view"},{"type":"function","name":"investorCountry","inputs":[{"name":"_userAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint16","internalType":"uint16"}],"stateMutability":"view"},{"type":"function","name":"isLocallyRegistered","inputs":[{"name":"userAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"isTrustedIssuer","inputs":[{"name":"_issuer","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"isVerified","inputs":[{"name":"_userAddress","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"isWalletVerified","inputs":[{"name":"wallet","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"type":"function","name":"issuersRegistry","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IERC3643TrustedIssuersRegistry"}],"stateMutability":"view"},{"type":"function","name":"registerIdentity","inputs":[{"name":"_userAddress","type":"address","internalType":"address"},{"name":"_identity","type":"address","internalType":"contract IIdentity"},{"name":"_country","type":"uint16","internalType":"uint16"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"removeClaimTopic","inputs":[{"name":"_claimTopic","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"removeClaimTopicForIdentityType","inputs":[{"name":"identityType","type":"uint256","internalType":"uint256"},{"name":"claimTopic","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"removeTrustedIssuer","inputs":[{"name":"_trustedIssuer","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"resolveIdentity","inputs":[{"name":"wallet","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"address","internalType":"contract IIdentity"}],"stateMutability":"view"},{"type":"function","name":"setClaimTopicsRegistry","inputs":[{"name":"_claimTopicsRegistry","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setIdentityRegistryStorage","inputs":[{"name":"_identityRegistryStorage","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setTrustedIssuersRegistry","inputs":[{"name":"_trustedIssuersRegistry","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"topicsRegistry","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IERC3643ClaimTopicsRegistry"}],"stateMutability":"view"},{"type":"function","name":"updateCountry","inputs":[{"name":"_userAddress","type":"address","internalType":"address"},{"name":"_country","type":"uint16","internalType":"uint16"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"updateIdentity","inputs":[{"name":"_userAddress","type":"address","internalType":"address"},{"name":"_identity","type":"address","internalType":"contract IIdentity"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"updateIssuerClaimTopics","inputs":[{"name":"_trustedIssuer","type":"address","internalType":"address"},{"name":"_claimTopics","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"ClaimTopicAdded","inputs":[{"name":"_claimTopic","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"ClaimTopicRemoved","inputs":[{"name":"_claimTopic","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"ClaimTopicsRegistrySet","inputs":[{"name":"_claimTopicsRegistry","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"ClaimTopicsUpdated","inputs":[{"name":"_trustedIssuer","type":"address","indexed":true,"internalType":"address"},{"name":"_claimTopics","type":"uint256[]","indexed":false,"internalType":"uint256[]"}],"anonymous":false},{"type":"event","name":"CountryUpdated","inputs":[{"name":"_investorAddress","type":"address","indexed":true,"internalType":"address"},{"name":"_country","type":"uint16","indexed":true,"internalType":"uint16"}],"anonymous":false},{"type":"event","name":"IdentityRegistered","inputs":[{"name":"_investorAddress","type":"address","indexed":true,"internalType":"address"},{"name":"_identity","type":"address","indexed":true,"internalType":"contract IIdentity"}],"anonymous":false},{"type":"event","name":"IdentityRemoved","inputs":[{"name":"_investorAddress","type":"address","indexed":true,"internalType":"address"},{"name":"_identity","type":"address","indexed":true,"internalType":"contract IIdentity"}],"anonymous":false},{"type":"event","name":"IdentityStorageSet","inputs":[{"name":"_identityStorage","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"IdentityUpdated","inputs":[{"name":"_oldIdentity","type":"address","indexed":true,"internalType":"contract IIdentity"},{"name":"_newIdentity","type":"address","indexed":true,"internalType":"contract IIdentity"}],"anonymous":false},{"type":"event","name":"TrustedIssuerAdded","inputs":[{"name":"_trustedIssuer","type":"address","indexed":true,"internalType":"address"},{"name":"_claimTopics","type":"uint256[]","indexed":false,"internalType":"uint256[]"}],"anonymous":false},{"type":"event","name":"TrustedIssuerRemoved","inputs":[{"name":"_trustedIssuer","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"TrustedIssuersRegistrySet","inputs":[{"name":"_trustedIssuersRegistry","type":"address","indexed":true,"internalType":"address"}],"anonymous":false}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"addClaimTopic(uint256)":"c7b22551","addClaimTopicForIdentityType(uint256,uint256)":"a3a81a9f","addTrustedIssuer(address,uint256[])":"9f63ea98","batchRegisterIdentity(address[],address[],uint16[])":"653dc9f1","contains(address)":"5dbe47e8","deleteIdentity(address)":"a8d29d1d","disableEligibilityChecks()":"23e0e370","enableEligibilityChecks()":"8f5757ab","getClaimTopics()":"df09d604","getClaimTopicsForIdentityType(uint256)":"e6c6c935","getTrustedIssuerClaimTopics(address)":"c28fb278","getTrustedIssuers()":"d9dd24c5","getTrustedIssuersForClaimTopic(uint256)":"52c111d1","hasClaimTopic(address,uint256)":"34a89987","identity(address)":"f0eb5e54","identityFactory()":"e5f0c352","identityStorage()":"f11abfd8","investorCountry(address)":"7e42683b","isLocallyRegistered(address)":"f5e3dda7","isTrustedIssuer(address)":"ef2ed1a4","isVerified(address)":"b9209e33","isWalletVerified(bytes)":"b48dc3ee","issuersRegistry()":"b4f3fcb7","registerIdentity(address,address,uint16)":"454a03e0","removeClaimTopic(uint256)":"08297846","removeClaimTopicForIdentityType(uint256,uint256)":"d8b8b899","removeTrustedIssuer(address)":"b93d28eb","resolveIdentity(bytes)":"43dc9678","setClaimTopicsRegistry(address)":"670af6a9","setIdentityRegistryStorage(address)":"26d941ae","setTrustedIssuersRegistry(address)":"e744d789","topicsRegistry()":"3b3e12f4","updateCountry(address,uint16)":"3b239a7f","updateIdentity(address,address)":"8e098ca1","updateIssuerClaimTopics(address,uint256[])":"04bc7e84"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.30+commit.73712a01\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_claimTopic\",\"type\":\"uint256\"}],\"name\":\"ClaimTopicAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_claimTopic\",\"type\":\"uint256\"}],\"name\":\"ClaimTopicRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_claimTopicsRegistry\",\"type\":\"address\"}],\"name\":\"ClaimTopicsRegistrySet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_trustedIssuer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"_claimTopics\",\"type\":\"uint256[]\"}],\"name\":\"ClaimTopicsUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_investorAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint16\",\"name\":\"_country\",\"type\":\"uint16\"}],\"name\":\"CountryUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_investorAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract IIdentity\",\"name\":\"_identity\",\"type\":\"address\"}],\"name\":\"IdentityRegistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_investorAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract IIdentity\",\"name\":\"_identity\",\"type\":\"address\"}],\"name\":\"IdentityRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_identityStorage\",\"type\":\"address\"}],\"name\":\"IdentityStorageSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"contract IIdentity\",\"name\":\"_oldIdentity\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"contract IIdentity\",\"name\":\"_newIdentity\",\"type\":\"address\"}],\"name\":\"IdentityUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_trustedIssuer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"_claimTopics\",\"type\":\"uint256[]\"}],\"name\":\"TrustedIssuerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_trustedIssuer\",\"type\":\"address\"}],\"name\":\"TrustedIssuerRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_trustedIssuersRegistry\",\"type\":\"address\"}],\"name\":\"TrustedIssuersRegistrySet\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_claimTopic\",\"type\":\"uint256\"}],\"name\":\"addClaimTopic\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"identityType\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"claimTopic\",\"type\":\"uint256\"}],\"name\":\"addClaimTopicForIdentityType\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_trustedIssuer\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"_claimTopics\",\"type\":\"uint256[]\"}],\"name\":\"addTrustedIssuer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_userAddresses\",\"type\":\"address[]\"},{\"internalType\":\"contract IIdentity[]\",\"name\":\"_identities\",\"type\":\"address[]\"},{\"internalType\":\"uint16[]\",\"name\":\"_countries\",\"type\":\"uint16[]\"}],\"name\":\"batchRegisterIdentity\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userAddress\",\"type\":\"address\"}],\"name\":\"contains\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userAddress\",\"type\":\"address\"}],\"name\":\"deleteIdentity\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"disableEligibilityChecks\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"enableEligibilityChecks\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getClaimTopics\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"identityType\",\"type\":\"uint256\"}],\"name\":\"getClaimTopicsForIdentityType\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_trustedIssuer\",\"type\":\"address\"}],\"name\":\"getTrustedIssuerClaimTopics\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTrustedIssuers\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"claimTopic\",\"type\":\"uint256\"}],\"name\":\"getTrustedIssuersForClaimTopic\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_issuer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_claimTopic\",\"type\":\"uint256\"}],\"name\":\"hasClaimTopic\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userAddress\",\"type\":\"address\"}],\"name\":\"identity\",\"outputs\":[{\"internalType\":\"contract IIdentity\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"identityFactory\",\"outputs\":[{\"internalType\":\"contract IIdentityFactory\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"identityStorage\",\"outputs\":[{\"internalType\":\"contract IERC3643IdentityRegistryStorage\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userAddress\",\"type\":\"address\"}],\"name\":\"investorCountry\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"userAddress\",\"type\":\"address\"}],\"name\":\"isLocallyRegistered\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_issuer\",\"type\":\"address\"}],\"name\":\"isTrustedIssuer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userAddress\",\"type\":\"address\"}],\"name\":\"isVerified\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"wallet\",\"type\":\"bytes\"}],\"name\":\"isWalletVerified\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"issuersRegistry\",\"outputs\":[{\"internalType\":\"contract IERC3643TrustedIssuersRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userAddress\",\"type\":\"address\"},{\"internalType\":\"contract IIdentity\",\"name\":\"_identity\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"_country\",\"type\":\"uint16\"}],\"name\":\"registerIdentity\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_claimTopic\",\"type\":\"uint256\"}],\"name\":\"removeClaimTopic\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"identityType\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"claimTopic\",\"type\":\"uint256\"}],\"name\":\"removeClaimTopicForIdentityType\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_trustedIssuer\",\"type\":\"address\"}],\"name\":\"removeTrustedIssuer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"wallet\",\"type\":\"bytes\"}],\"name\":\"resolveIdentity\",\"outputs\":[{\"internalType\":\"contract IIdentity\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_claimTopicsRegistry\",\"type\":\"address\"}],\"name\":\"setClaimTopicsRegistry\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_identityRegistryStorage\",\"type\":\"address\"}],\"name\":\"setIdentityRegistryStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_trustedIssuersRegistry\",\"type\":\"address\"}],\"name\":\"setTrustedIssuersRegistry\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"topicsRegistry\",\"outputs\":[{\"internalType\":\"contract IERC3643ClaimTopicsRegistry\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userAddress\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"_country\",\"type\":\"uint16\"}],\"name\":\"updateCountry\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userAddress\",\"type\":\"address\"},{\"internalType\":\"contract IIdentity\",\"name\":\"_identity\",\"type\":\"address\"}],\"name\":\"updateIdentity\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_trustedIssuer\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"_claimTopics\",\"type\":\"uint256[]\"}],\"name\":\"updateIssuerClaimTopics\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"events\":{\"ClaimTopicAdded(uint256)\":{\"details\":\"Emitted when a claim topic has been added to the requirement list.\",\"params\":{\"_claimTopic\":\"The claim topic that has been added.\"}},\"ClaimTopicRemoved(uint256)\":{\"details\":\"Emitted when a claim topic has been removed from the requirement list.\",\"params\":{\"_claimTopic\":\"The claim topic that has been removed.\"}},\"ClaimTopicsRegistrySet(address)\":{\"details\":\"Emitted when the ClaimTopicsRegistry has been set for the Identity Registry.\",\"params\":{\"_claimTopicsRegistry\":\"The address of the Claim Topics Registry.\"}},\"ClaimTopicsUpdated(address,uint256[])\":{\"details\":\"Emitted when the set of claim topics a trusted issuer is trusted for changes.\",\"params\":{\"_claimTopics\":\"The new claim topics the issuer is trusted for.\",\"_trustedIssuer\":\"The address of the trusted issuer's ClaimIssuer contract.\"}},\"CountryUpdated(address,uint16)\":{\"details\":\"Emitted when an investor's country is updated in the Identity Registry.\",\"params\":{\"_country\":\"The investor's new country code (ISO-3166).\",\"_investorAddress\":\"The address of the investor's wallet.\"}},\"IdentityRegistered(address,address)\":{\"details\":\"Emitted when an identity is registered into the Identity Registry.\",\"params\":{\"_identity\":\"The address of the investor's ONCHAINID.\",\"_investorAddress\":\"The address of the investor's wallet.\"}},\"IdentityRemoved(address,address)\":{\"details\":\"Emitted when an identity is removed from the Identity Registry.\",\"params\":{\"_identity\":\"The address of the investor's ONCHAINID.\",\"_investorAddress\":\"The address of the investor's wallet.\"}},\"IdentityStorageSet(address)\":{\"details\":\"Emitted when the IdentityRegistryStorage has been set for the Identity Registry.\",\"params\":{\"_identityStorage\":\"The address of the Identity Registry Storage.\"}},\"IdentityUpdated(address,address)\":{\"details\":\"Emitted when an identity contract is replaced in the Identity Registry.\",\"params\":{\"_newIdentity\":\"The new ONCHAINID address.\",\"_oldIdentity\":\"The old ONCHAINID address.\"}},\"TrustedIssuerAdded(address,uint256[])\":{\"details\":\"Emitted when a trusted issuer is registered, together with the claim topics it is trusted for.\",\"params\":{\"_claimTopics\":\"The claim topics the issuer is trusted for.\",\"_trustedIssuer\":\"The address of the trusted issuer's ClaimIssuer contract.\"}},\"TrustedIssuerRemoved(address)\":{\"details\":\"Emitted when a trusted issuer is removed from the registry.\",\"params\":{\"_trustedIssuer\":\"The address of the trusted issuer's ClaimIssuer contract.\"}},\"TrustedIssuersRegistrySet(address)\":{\"details\":\"Emitted when the TrustedIssuersRegistry has been set for the Identity Registry.\",\"params\":{\"_trustedIssuersRegistry\":\"The address of the Trusted Issuers Registry.\"}}},\"kind\":\"dev\",\"methods\":{\"addClaimTopic(uint256)\":{\"details\":\"Add a trusted claim topic (For example: KYC=1, AML=2). Restricted to the configured AccessManager role (OWNER). emits `ClaimTopicAdded` event cannot add more than 15 topics for 1 token as adding more could create gas issues\",\"params\":{\"_claimTopic\":\"The claim topic index\"}},\"addClaimTopicForIdentityType(uint256,uint256)\":{\"details\":\"Adds a claim topic to the override set of an identity type. A non-empty override set fully REPLACES the default claim topics inside `isVerified` for identities of that type. It is not additive. Later changes to the default topics do not reach types holding an override; a topic meant for everyone must be added to each override too. The identity type checked by `isVerified` is the IdentityFactory record (`identityTypeOf`), never what the identity contract says about itself. Requirements: - The caller must hold the role bound to this selector by the AccessManager. - `identityType` must not be 0 (reserved for \\\"unknown\\\", which always resolves to the default topics); otherwise the call reverts with `InvalidIdentityType`. - The override set must hold fewer than 15 topics; otherwise the call reverts with `MaxClaimTopicsReached`. - The topic must not already be in the set; otherwise the call reverts with `ClaimTopicAlreadyExists`. Emits a `ClaimTopicAddedForIdentityType` event upon successful execution.\",\"params\":{\"claimTopic\":\"the claim topic to require for that identity type\",\"identityType\":\"the ONCHAINID identity type the topic is required for\"}},\"addTrustedIssuer(address,uint256[])\":{\"details\":\"registers a ClaimIssuer contract as trusted claim issuer. Requires that a ClaimIssuer contract doesn't already exist Requires that the claimTopics set is not empty Requires that there is no more than 15 claimTopics Requires that there is no more than 50 Trusted issuers\",\"params\":{\"_claimTopics\":\"the set of claim topics that the trusted issuer is allowed to emit Restricted to the configured AccessManager role (OWNER). emits a `TrustedIssuerAdded` event\",\"_trustedIssuer\":\"The ClaimIssuer contract address of the trusted claim issuer.\"}},\"batchRegisterIdentity(address[],address[],uint16[])\":{\"details\":\"function allowing to register identities in batch This function can only be called by a wallet set as agent of the smart contract Requires that none of the users has an identity contract already registered. IMPORTANT : THIS TRANSACTION COULD EXCEED GAS LIMIT IF `_userAddresses.length` IS TOO HIGH, USE WITH CARE OR YOU COULD LOSE TX FEES WITH AN \\\"OUT OF GAS\\\" TRANSACTION\",\"params\":{\"_countries\":\"The countries of the corresponding investors emits _userAddresses.length `IdentityRegistered` events\",\"_identities\":\"The addresses of the corresponding identity contracts\",\"_userAddresses\":\"The addresses of the users\"}},\"contains(address)\":{\"details\":\"This functions checks whether a wallet has its Identity registered or not in the Identity Registry.\",\"params\":{\"_userAddress\":\"The address of the user to be checked.\"},\"returns\":{\"_0\":\"'True' if the address is contained in the Identity Registry, 'false' if not.\"}},\"deleteIdentity(address)\":{\"details\":\"Removes an user from the identity registry. Requires that the user have an identity contract already deployed that will be deleted. This function can only be called by a wallet set as agent of the smart contract\",\"params\":{\"_userAddress\":\"The address of the user to be removed emits `IdentityRemoved` event\"}},\"disableEligibilityChecks()\":{\"details\":\"Disables the eligibility checks for token transfers and other operations. Once disabled, `isVerified` skips the required-claims and trusted-issuer verification. A wallet still needs an active identity: one that is unbound or revoked is refused in every mode. Unlike 4.2, disabling the checks does not verify every address, so every holder of an open-mode token needs an ONCHAINID, contracts that hold tokens (pools, escrows, vaults) included. The agent registers them like any investor. Requirements: - The caller must hold the role bound to this selector by the AccessManager. - The eligibility checks must not already be disabled; otherwise the call reverts with `EligibilityChecksDisabledAlready`. Emits an `EligibilityChecksDisabled` event upon successful execution.\"},\"enableEligibilityChecks()\":{\"details\":\"Enables the eligibility checks for token transfers and other operations. Resumes the full claims / trusted-issuer verification inside `isVerified`. Requirements: - The caller must hold the role bound to this selector by the AccessManager. - The eligibility checks must currently be disabled; otherwise the call reverts with `EligibilityChecksEnabledAlready`. Emits an `EligibilityChecksEnabled` event upon successful execution.\"},\"getClaimTopics()\":{\"details\":\"Get the trusted claim topics for the security token\",\"returns\":{\"_0\":\"Array of trusted claim topics\"}},\"getClaimTopicsForIdentityType(uint256)\":{\"details\":\"Returns the override claim topics registered for an identity type. An empty array means identities of that type verify against the default `getClaimTopics()`.\",\"params\":{\"identityType\":\"the ONCHAINID identity type to query\"}},\"getTrustedIssuerClaimTopics(address)\":{\"details\":\"Function for getting all the claim topic of trusted claim issuer\",\"params\":{\"_trustedIssuer\":\"the trusted issuer concerned.\"},\"returns\":{\"_0\":\"The set of claim topics that the trusted issuer is allowed to emit, empty if the provided ClaimIssuer contract is not registered.\"}},\"getTrustedIssuers()\":{\"details\":\"Function for getting all the trusted claim issuers stored.\",\"returns\":{\"_0\":\"array of all claim issuers registered.\"}},\"getTrustedIssuersForClaimTopic(uint256)\":{\"details\":\"Function for getting all the trusted issuer allowed for a given claim topic.\",\"params\":{\"claimTopic\":\"the claim topic to get the trusted issuers for.\"},\"returns\":{\"_0\":\"array of all claim issuer addresses that are allowed for the given claim topic.\"}},\"hasClaimTopic(address,uint256)\":{\"details\":\"Function for checking if the trusted claim issuer is allowed to emit a certain claim topic\",\"params\":{\"_claimTopic\":\"the Claim Topic that has to be checked to know if the `issuer` is allowed to emit it\",\"_issuer\":\"the address of the trusted issuer's ClaimIssuer contract\"},\"returns\":{\"_0\":\"true if the issuer is trusted for this claim topic.\"}},\"identity(address)\":{\"details\":\"Returns the onchainID of an investor.\",\"params\":{\"_userAddress\":\"The wallet of the investor\"}},\"identityFactory()\":{\"details\":\"Returns the ONCHAINID IdentityFactory this registry resolves through: a wallet the storage does not bind resolves here, and its type record backs per-type claim topic resolution. Baked into the implementation at construction, so changing it takes a new implementation published through the beacon. `identityTypeOf` on it returns 0 for identities it did not mint, which resolve to the default claim topics.\"},\"identityStorage()\":{\"details\":\"Returns the IdentityRegistryStorage linked to the current IdentityRegistry.\"},\"investorCountry(address)\":{\"details\":\"Returns the country code of an investor.\",\"params\":{\"_userAddress\":\"The wallet of the investor\"}},\"isTrustedIssuer(address)\":{\"details\":\"Checks if the ClaimIssuer contract is trusted\",\"params\":{\"_issuer\":\"the address of the ClaimIssuer contract\"},\"returns\":{\"_0\":\"true if the issuer is trusted, false otherwise.\"}},\"isVerified(address)\":{\"details\":\"This functions checks whether an identity contract corresponding to the provided user address has the required claims or not based on the data fetched from trusted issuers registry and from the claim topics registry\",\"params\":{\"_userAddress\":\"The address of the user to be verified.\"},\"returns\":{\"_0\":\"'True' if the address is verified, 'false' if not.\"}},\"isWalletVerified(bytes)\":{\"details\":\"Returns whether an ERC-7930 wallet is eligible for new activity, the way `isVerified` answers for a wallet on this chain. A wallet on this chain reads its registry entry; every other wallet resolves its active binding through the IdentityFactory. A wallet the IdentityFactory has revoked is not eligible on either path, however it was registered, even though `resolveIdentity` still attributes it. The identity then passes the same claim check as `isVerified`, and `disableEligibilityChecks` skips that check the same way, still requiring the active identity. Requirements: - `wallet` must be a canonical ERC-7930 v1 envelope; otherwise reverts with `NonCanonicalInteroperableAddress`.\",\"params\":{\"wallet\":\"the ERC-7930 envelope of the wallet to check\"},\"returns\":{\"_0\":\"true when the wallet's active identity satisfies every required claim topic\"}},\"issuersRegistry()\":{\"details\":\"Returns the TrustedIssuersRegistry linked to the current IdentityRegistry.\"},\"registerIdentity(address,address,uint16)\":{\"details\":\"Register an identity contract corresponding to a user address. Requires that the user doesn't have an identity contract already registered. This function can only be called by a wallet set as agent of the smart contract\",\"params\":{\"_country\":\"The country of the investor emits `IdentityRegistered` event\",\"_identity\":\"The address of the user's identity contract\",\"_userAddress\":\"The address of the user\"}},\"removeClaimTopic(uint256)\":{\"details\":\"Remove a trusted claim topic (For example: KYC=1, AML=2). Restricted to the configured AccessManager role (OWNER). emits `ClaimTopicRemoved` event\",\"params\":{\"_claimTopic\":\"The claim topic index\"}},\"removeClaimTopicForIdentityType(uint256,uint256)\":{\"details\":\"Removes a claim topic from the override set of an identity type. Once the set becomes empty, identities of that type fall back to the default claim topics. Removing a topic that is not in the set is a silent no-op, mirroring `removeClaimTopic`. Requirements: - The caller must hold the role bound to this selector by the AccessManager. - `identityType` must not be 0; otherwise the call reverts with `InvalidIdentityType`. Emits a `ClaimTopicRemovedForIdentityType` event when a topic is actually removed.\",\"params\":{\"claimTopic\":\"the claim topic to remove for that identity type\",\"identityType\":\"the ONCHAINID identity type the topic is no longer required for\"}},\"removeTrustedIssuer(address)\":{\"details\":\"Removes the ClaimIssuer contract of a trusted claim issuer. Requires that the claim issuer contract to be registered first\",\"params\":{\"_trustedIssuer\":\"the claim issuer to remove. Restricted to the configured AccessManager role (OWNER). emits a `TrustedIssuerRemoved` event\"}},\"resolveIdentity(bytes)\":{\"details\":\"Returns the identity an ERC-7930 wallet is bound to, for attribution. A wallet on this chain reads its registry entry; every other wallet is resolved through the IdentityFactory, revoked bindings included, so a position stays attributed once its wallet is revoked. This is the lookup for who owns a position; use `isWalletVerified` to know whether the wallet may receive new activity. Requirements: - `wallet` must be a canonical ERC-7930 v1 envelope; otherwise reverts with `NonCanonicalInteroperableAddress`.\",\"params\":{\"wallet\":\"the ERC-7930 envelope of the wallet to resolve\"},\"returns\":{\"_0\":\"the bound identity, or the zero address when the wallet is unbound\"}},\"setClaimTopicsRegistry(address)\":{\"details\":\"Replace the actual claimTopicsRegistry contract with a new one. This function can only be called by the wallet set as owner of the smart contract\",\"params\":{\"_claimTopicsRegistry\":\"The address of the new claim Topics Registry emits `ClaimTopicsRegistrySet` event\"}},\"setIdentityRegistryStorage(address)\":{\"details\":\"Replace the actual identityRegistryStorage contract with a new one. This function can only be called by the wallet set as owner of the smart contract\",\"params\":{\"_identityRegistryStorage\":\"The address of the new Identity Registry Storage emits `IdentityStorageSet` event\"}},\"setTrustedIssuersRegistry(address)\":{\"details\":\"Replace the actual trustedIssuersRegistry contract with a new one. This function can only be called by the wallet set as owner of the smart contract\",\"params\":{\"_trustedIssuersRegistry\":\"The address of the new Trusted Issuers Registry emits `TrustedIssuersRegistrySet` event\"}},\"topicsRegistry()\":{\"details\":\"Returns the ClaimTopicsRegistry linked to the current IdentityRegistry.\"},\"updateCountry(address,uint16)\":{\"details\":\"Updates the country corresponding to a user address. Requires that the user should have an identity contract already deployed that will be replaced. This function can only be called by a wallet set as agent of the smart contract\",\"params\":{\"_country\":\"The new country of the user emits `CountryUpdated` event\",\"_userAddress\":\"The address of the user\"}},\"updateIdentity(address,address)\":{\"details\":\"Updates an identity contract corresponding to a user address. Requires that the user address should be the owner of the identity contract. Requires that the user should have an identity contract already deployed that will be replaced. This function can only be called by a wallet set as agent of the smart contract\",\"params\":{\"_identity\":\"The address of the user's new identity contract emits `IdentityUpdated` event\",\"_userAddress\":\"The address of the user\"}},\"updateIssuerClaimTopics(address,uint256[])\":{\"details\":\"Updates the set of claim topics that a trusted issuer is allowed to emit. The provided set replaces the issuer's current set in full. Requires that this ClaimIssuer contract already exists in the registry Requires that the provided claimTopics set is not empty Requires that there is no more than 15 claimTopics An empty set is rejected, so this function cannot clear an issuer's topics. Stripping an issuer of every topic is done with `removeTrustedIssuer`, which drops the issuer and unbinds all of its topics.\",\"params\":{\"_claimTopics\":\"the set of claim topics that the trusted issuer is allowed to emit Restricted to the configured AccessManager role (OWNER). emits a `ClaimTopicsUpdated` event\",\"_trustedIssuer\":\"the claim issuer to update.\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"isLocallyRegistered(address)\":{\"notice\":\"Returns true when the wallet is active in this registry's storage, ignoring the IdentityFactory.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/registry/interface/ITREXRegistry.sol\":\"ITREXRegistry\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"appendCBOR\":false,\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@forge-std/=dependencies/forge-std-1.16.2/src/\",\":@onchain-id/solidity/=dependencies/onchain-id-develop/\",\":@openzeppelin-contracts-5.7.0/=dependencies/@openzeppelin-contracts-5.7.0/\",\":@openzeppelin-contracts-upgradeable-5.7.0/=dependencies/@openzeppelin-contracts-upgradeable-5.7.0/\",\":@openzeppelin/accounts/=dependencies/onchain-id-develop/dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/\",\":@openzeppelin/contracts-upgradeable/=dependencies/@openzeppelin-contracts-upgradeable-5.7.0/\",\":@openzeppelin/contracts/=dependencies/@openzeppelin-contracts-5.7.0/\",\":forge-std-1.16.2/=dependencies/forge-std-1.16.2/src/\",\":forge-std/=dependencies/onchain-id-develop/dependencies/forge-std-v1.14.0/src/\",\":onchain-id-develop/=dependencies/onchain-id-develop/\"]},\"sources\":{\"contracts/ERC-3643/IERC3643ClaimTopicsRegistry.sol\":{\"keccak256\":\"0x817bd116fa823a1e9a29190073605ac78d59e264dd9c2dde5b44d6160560dd65\",\"license\":\"CC0-1.0\",\"urls\":[\"bzz-raw://26c01a407f6540f61ea84c9fcc2f179afbe3cca1eadd4f43f1956abafa4cf94d\",\"dweb:/ipfs/QmdoUbos3XwvGaa9NyujZ8XTuotSoRaCkGqTwmeSiTcfHD\"]},\"contracts/ERC-3643/IERC3643IdentityRegistry.sol\":{\"keccak256\":\"0x1978f75528e2b60090e7fd8b95500ba93362f34de3dd828b234fa783be45ca72\",\"license\":\"CC0-1.0\",\"urls\":[\"bzz-raw://c86ce6964ec4d5a59b88f02b88f64c89d22d5a64e4ff7f5d65b67586a6f199b8\",\"dweb:/ipfs/QmcJpBtDU4BxG2wuJSNScCxueGw3uGspsaAfYZVzNGSpoh\"]},\"contracts/ERC-3643/IERC3643IdentityRegistryStorage.sol\":{\"keccak256\":\"0xf4e3d94a124d016a94e6f33b3a56b39ce6a9053416739f687676577073d2590f\",\"license\":\"CC0-1.0\",\"urls\":[\"bzz-raw://ec0ac1447a15f5dfc63e019cf07be4a607c551eb7ac8536e986af5b339ca4293\",\"dweb:/ipfs/QmTRqZgXgXPPzrgcS371UQmT8kcR9obf6GQSDResd6NZRA\"]},\"contracts/ERC-3643/IERC3643TrustedIssuersRegistry.sol\":{\"keccak256\":\"0x402227e7414460948ed67b816e5b30e1fdf2e9c2639b3e2cfa403dadbe7d1db1\",\"license\":\"CC0-1.0\",\"urls\":[\"bzz-raw://860034b771e0df5a995ed2fe5a61773ae7a1855e340ca85f17f7147ae6f75ce9\",\"dweb:/ipfs/QmUtjtYV59RhEh4HYdmgdoacvHFw4kme3e6Xd3jMPC57N1\"]},\"contracts/registry/interface/ITREXRegistry.sol\":{\"keccak256\":\"0x5381996395e02eff2ca70353ebb3cc9250ea8d76c6df73ec898e0c46e472d742\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://88a065c5cad478ae80ed1d2536c0bef0d72590f2f7f67e48f459de6986b7d69a\",\"dweb:/ipfs/Qme4bp3WsoQDjFgJXzxZKUxA2rtWJtx61rQcYBhQAa3PbP\"]},\"dependencies/@openzeppelin-contracts-5.7.0/utils/Arrays.sol\":{\"keccak256\":\"0x772f0c778626a7bdcbcbabca74b825ae9b9dc89d2a47a98b402b1187fbaa63a4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://eba1d46e58e8880b45c6d51245dc94585b81d6d7290ca77ef50037a6193ed301\",\"dweb:/ipfs/Qme3CWun5qQACjGEerT2MCvhs6brKGFfJirGnzV1ypKTXA\"]},\"dependencies/@openzeppelin-contracts-5.7.0/utils/Comparators.sol\":{\"keccak256\":\"0x302eecd8cf323b4690e3494a7d960b3cbce077032ab8ef655b323cdd136cec58\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://49ba706f1bc476d68fe6c1fad75517acea4e9e275be0989b548e292eb3a3eacd\",\"dweb:/ipfs/QmeBpvcdGWzWMKTQESUCEhHgnEQYYATVwPxLMxa6vMT7jC\"]},\"dependencies/@openzeppelin-contracts-5.7.0/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"dependencies/@openzeppelin-contracts-5.7.0/utils/SlotDerivation.sol\":{\"keccak256\":\"0x94045fd4f268edf2b2d01ef119268548c320366d6f5294ad30c1b8f9d4f5225f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://edfda81f426f8948b3834115c21e83c48180e6db0d2a8cd2debb2185ed349337\",\"dweb:/ipfs/QmdYZneFyDAux1BuWQxLAdqtABrGS2k9WYCa7C9dvpKkWv\"]},\"dependencies/@openzeppelin-contracts-5.7.0/utils/StorageSlot.sol\":{\"keccak256\":\"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b\",\"dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM\"]},\"dependencies/@openzeppelin-contracts-5.7.0/utils/math/Math.sol\":{\"keccak256\":\"0x59973a93b1f983f94e10529f46ca46544a9fec2b5f56fb1390bbe9e0dc79f857\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c55ef8f0b9719790c2ae6f81d80a59ffb89f2f0abe6bc065585bd79edce058c5\",\"dweb:/ipfs/QmNNmCbX9NjPXKqHJN8R1WC2rNeZSQrPZLd6FF6AKLyH5Y\"]},\"dependencies/@openzeppelin-contracts-5.7.0/utils/math/SafeCast.sol\":{\"keccak256\":\"0xc8cae21c9ae4a46e5162ff9bf5b351d6fa6a6eba72d515f3bc1bdfeda7fdf083\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ce830ebcf28e31643caba318996db3763c36d52cd0f23798ba83c135355d45e9\",\"dweb:/ipfs/QmdGPcvptHN7UBCbUYBbRX3hiRVRFLRwno8b4uga6uFNif\"]},\"dependencies/@openzeppelin-contracts-5.7.0/utils/structs/EnumerableSet.sol\":{\"keccak256\":\"0xd553ff8b7d55679f0711f1598600ac292dbd8cfdf4b2419b9cabe4c931172895\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7905ccb27e2308fd0d90dc1212161003ab6964e1c176593db1ccedef705bcc09\",\"dweb:/ipfs/QmW37vm2PcrWLKnN74sKkvAzqSwntCEfCp4EoSEvbBHWkj\"]},\"dependencies/onchain-id-develop/contracts/factory/IIdentityFactory.sol\":{\"keccak256\":\"0xc096547c79c1845552d830fc38e1b5dc4cb371ff64b9ce96a65cddeeebbbb402\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://0596255dcf9a71f9cb4abc3b536ce9c252fdd0e26120fce06aae4c5c8837bed1\",\"dweb:/ipfs/QmUwfftBRmTbHnCePfoZWjT1T9BgxoxB7cGJeEYS5AYF5Q\"]},\"dependencies/onchain-id-develop/contracts/interface/IERC734.sol\":{\"keccak256\":\"0x5b63b065db77b9c63ef7cc4c1d2b623892aa2b32feb6a78d9d22ed362bb648e4\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://f6cf5fed483831e41840fa24bede977d3bc0868b67883b5b45b14f66db1e035b\",\"dweb:/ipfs/QmZazhde9xnU42t31xugynSPDWQbrjoGLWq2NNNNeBDukm\"]},\"dependencies/onchain-id-develop/contracts/interface/IERC735.sol\":{\"keccak256\":\"0x82391e9ecc8fc076e3671c3e2f41f6ca9f11e71b5c3faee023cb5a062c84b8a0\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://19cc8e243b11cbab035972cbcda6080388a7b05d4d4b50597e88a12fadf498b8\",\"dweb:/ipfs/QmdeBuh3JFWDnfMGekxAtQXE6zW4Awkerp85qhpvBQmR2F\"]},\"dependencies/onchain-id-develop/contracts/interface/IIdentity.sol\":{\"keccak256\":\"0xcae5ac4efee4856d102c113e025fad00a453e14e2ede5c87ae00f4ddfd150566\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://221d5f426a856f783ac23058f2b86bd27d4719575c733ade5f2056871c3d5465\",\"dweb:/ipfs/QmYqxYvtiUpsKj9KgpJhSm5jPohq3KEGxMCSGsr1MnWUUY\"]},\"dependencies/onchain-id-develop/contracts/storage/Structs.sol\":{\"keccak256\":\"0xeb175771b30b07bfaa713dc9f7b50d9ef6e222a9aa887f530bd9323cc51a21df\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://225fb773f556d5768b4998fed00a344b3f3549705bdf9c0ac283ef1d5d35be89\",\"dweb:/ipfs/QmbU1LKiKeVKi2cdYUR7txbh4RTn9YChX3e1QivPdfEEkK\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.30+commit.73712a01"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"uint256","name":"_claimTopic","type":"uint256","indexed":true}],"type":"event","name":"ClaimTopicAdded","anonymous":false},{"inputs":[{"internalType":"uint256","name":"_claimTopic","type":"uint256","indexed":true}],"type":"event","name":"ClaimTopicRemoved","anonymous":false},{"inputs":[{"internalType":"address","name":"_claimTopicsRegistry","type":"address","indexed":true}],"type":"event","name":"ClaimTopicsRegistrySet","anonymous":false},{"inputs":[{"internalType":"address","name":"_trustedIssuer","type":"address","indexed":true},{"internalType":"uint256[]","name":"_claimTopics","type":"uint256[]","indexed":false}],"type":"event","name":"ClaimTopicsUpdated","anonymous":false},{"inputs":[{"internalType":"address","name":"_investorAddress","type":"address","indexed":true},{"internalType":"uint16","name":"_country","type":"uint16","indexed":true}],"type":"event","name":"CountryUpdated","anonymous":false},{"inputs":[{"internalType":"address","name":"_investorAddress","type":"address","indexed":true},{"internalType":"contract IIdentity","name":"_identity","type":"address","indexed":true}],"type":"event","name":"IdentityRegistered","anonymous":false},{"inputs":[{"internalType":"address","name":"_investorAddress","type":"address","indexed":true},{"internalType":"contract IIdentity","name":"_identity","type":"address","indexed":true}],"type":"event","name":"IdentityRemoved","anonymous":false},{"inputs":[{"internalType":"address","name":"_identityStorage","type":"address","indexed":true}],"type":"event","name":"IdentityStorageSet","anonymous":false},{"inputs":[{"internalType":"contract IIdentity","name":"_oldIdentity","type":"address","indexed":true},{"internalType":"contract IIdentity","name":"_newIdentity","type":"address","indexed":true}],"type":"event","name":"IdentityUpdated","anonymous":false},{"inputs":[{"internalType":"address","name":"_trustedIssuer","type":"address","indexed":true},{"internalType":"uint256[]","name":"_claimTopics","type":"uint256[]","indexed":false}],"type":"event","name":"TrustedIssuerAdded","anonymous":false},{"inputs":[{"internalType":"address","name":"_trustedIssuer","type":"address","indexed":true}],"type":"event","name":"TrustedIssuerRemoved","anonymous":false},{"inputs":[{"internalType":"address","name":"_trustedIssuersRegistry","type":"address","indexed":true}],"type":"event","name":"TrustedIssuersRegistrySet","anonymous":false},{"inputs":[{"internalType":"uint256","name":"_claimTopic","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"addClaimTopic"},{"inputs":[{"internalType":"uint256","name":"identityType","type":"uint256"},{"internalType":"uint256","name":"claimTopic","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"addClaimTopicForIdentityType"},{"inputs":[{"internalType":"address","name":"_trustedIssuer","type":"address"},{"internalType":"uint256[]","name":"_claimTopics","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function","name":"addTrustedIssuer"},{"inputs":[{"internalType":"address[]","name":"_userAddresses","type":"address[]"},{"internalType":"contract IIdentity[]","name":"_identities","type":"address[]"},{"internalType":"uint16[]","name":"_countries","type":"uint16[]"}],"stateMutability":"nonpayable","type":"function","name":"batchRegisterIdentity"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"stateMutability":"view","type":"function","name":"contains","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"deleteIdentity"},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"disableEligibilityChecks"},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"enableEligibilityChecks"},{"inputs":[],"stateMutability":"view","type":"function","name":"getClaimTopics","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}]},{"inputs":[{"internalType":"uint256","name":"identityType","type":"uint256"}],"stateMutability":"view","type":"function","name":"getClaimTopicsForIdentityType","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}]},{"inputs":[{"internalType":"address","name":"_trustedIssuer","type":"address"}],"stateMutability":"view","type":"function","name":"getTrustedIssuerClaimTopics","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"getTrustedIssuers","outputs":[{"internalType":"address[]","name":"","type":"address[]"}]},{"inputs":[{"internalType":"uint256","name":"claimTopic","type":"uint256"}],"stateMutability":"view","type":"function","name":"getTrustedIssuersForClaimTopic","outputs":[{"internalType":"address[]","name":"","type":"address[]"}]},{"inputs":[{"internalType":"address","name":"_issuer","type":"address"},{"internalType":"uint256","name":"_claimTopic","type":"uint256"}],"stateMutability":"view","type":"function","name":"hasClaimTopic","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"stateMutability":"view","type":"function","name":"identity","outputs":[{"internalType":"contract IIdentity","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"identityFactory","outputs":[{"internalType":"contract IIdentityFactory","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"identityStorage","outputs":[{"internalType":"contract IERC3643IdentityRegistryStorage","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"stateMutability":"view","type":"function","name":"investorCountry","outputs":[{"internalType":"uint16","name":"","type":"uint16"}]},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"}],"stateMutability":"view","type":"function","name":"isLocallyRegistered","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"_issuer","type":"address"}],"stateMutability":"view","type":"function","name":"isTrustedIssuer","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"}],"stateMutability":"view","type":"function","name":"isVerified","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"bytes","name":"wallet","type":"bytes"}],"stateMutability":"view","type":"function","name":"isWalletVerified","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"issuersRegistry","outputs":[{"internalType":"contract IERC3643TrustedIssuersRegistry","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"},{"internalType":"contract IIdentity","name":"_identity","type":"address"},{"internalType":"uint16","name":"_country","type":"uint16"}],"stateMutability":"nonpayable","type":"function","name":"registerIdentity"},{"inputs":[{"internalType":"uint256","name":"_claimTopic","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"removeClaimTopic"},{"inputs":[{"internalType":"uint256","name":"identityType","type":"uint256"},{"internalType":"uint256","name":"claimTopic","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"removeClaimTopicForIdentityType"},{"inputs":[{"internalType":"address","name":"_trustedIssuer","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"removeTrustedIssuer"},{"inputs":[{"internalType":"bytes","name":"wallet","type":"bytes"}],"stateMutability":"view","type":"function","name":"resolveIdentity","outputs":[{"internalType":"contract IIdentity","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"_claimTopicsRegistry","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"setClaimTopicsRegistry"},{"inputs":[{"internalType":"address","name":"_identityRegistryStorage","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"setIdentityRegistryStorage"},{"inputs":[{"internalType":"address","name":"_trustedIssuersRegistry","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"setTrustedIssuersRegistry"},{"inputs":[],"stateMutability":"view","type":"function","name":"topicsRegistry","outputs":[{"internalType":"contract IERC3643ClaimTopicsRegistry","name":"","type":"address"}]},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"},{"internalType":"uint16","name":"_country","type":"uint16"}],"stateMutability":"nonpayable","type":"function","name":"updateCountry"},{"inputs":[{"internalType":"address","name":"_userAddress","type":"address"},{"internalType":"contract IIdentity","name":"_identity","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"updateIdentity"},{"inputs":[{"internalType":"address","name":"_trustedIssuer","type":"address"},{"internalType":"uint256[]","name":"_claimTopics","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function","name":"updateIssuerClaimTopics"}],"devdoc":{"kind":"dev","methods":{"addClaimTopic(uint256)":{"details":"Add a trusted claim topic (For example: KYC=1, AML=2). Restricted to the configured AccessManager role (OWNER). emits `ClaimTopicAdded` event cannot add more than 15 topics for 1 token as adding more could create gas issues","params":{"_claimTopic":"The claim topic index"}},"addClaimTopicForIdentityType(uint256,uint256)":{"details":"Adds a claim topic to the override set of an identity type. A non-empty override set fully REPLACES the default claim topics inside `isVerified` for identities of that type. It is not additive. Later changes to the default topics do not reach types holding an override; a topic meant for everyone must be added to each override too. The identity type checked by `isVerified` is the IdentityFactory record (`identityTypeOf`), never what the identity contract says about itself. Requirements: - The caller must hold the role bound to this selector by the AccessManager. - `identityType` must not be 0 (reserved for \"unknown\", which always resolves to the default topics); otherwise the call reverts with `InvalidIdentityType`. - The override set must hold fewer than 15 topics; otherwise the call reverts with `MaxClaimTopicsReached`. - The topic must not already be in the set; otherwise the call reverts with `ClaimTopicAlreadyExists`. Emits a `ClaimTopicAddedForIdentityType` event upon successful execution.","params":{"claimTopic":"the claim topic to require for that identity type","identityType":"the ONCHAINID identity type the topic is required for"}},"addTrustedIssuer(address,uint256[])":{"details":"registers a ClaimIssuer contract as trusted claim issuer. Requires that a ClaimIssuer contract doesn't already exist Requires that the claimTopics set is not empty Requires that there is no more than 15 claimTopics Requires that there is no more than 50 Trusted issuers","params":{"_claimTopics":"the set of claim topics that the trusted issuer is allowed to emit Restricted to the configured AccessManager role (OWNER). emits a `TrustedIssuerAdded` event","_trustedIssuer":"The ClaimIssuer contract address of the trusted claim issuer."}},"batchRegisterIdentity(address[],address[],uint16[])":{"details":"function allowing to register identities in batch This function can only be called by a wallet set as agent of the smart contract Requires that none of the users has an identity contract already registered. IMPORTANT : THIS TRANSACTION COULD EXCEED GAS LIMIT IF `_userAddresses.length` IS TOO HIGH, USE WITH CARE OR YOU COULD LOSE TX FEES WITH AN \"OUT OF GAS\" TRANSACTION","params":{"_countries":"The countries of the corresponding investors emits _userAddresses.length `IdentityRegistered` events","_identities":"The addresses of the corresponding identity contracts","_userAddresses":"The addresses of the users"}},"contains(address)":{"details":"This functions checks whether a wallet has its Identity registered or not in the Identity Registry.","params":{"_userAddress":"The address of the user to be checked."},"returns":{"_0":"'True' if the address is contained in the Identity Registry, 'false' if not."}},"deleteIdentity(address)":{"details":"Removes an user from the identity registry. Requires that the user have an identity contract already deployed that will be deleted. This function can only be called by a wallet set as agent of the smart contract","params":{"_userAddress":"The address of the user to be removed emits `IdentityRemoved` event"}},"disableEligibilityChecks()":{"details":"Disables the eligibility checks for token transfers and other operations. Once disabled, `isVerified` skips the required-claims and trusted-issuer verification. A wallet still needs an active identity: one that is unbound or revoked is refused in every mode. Unlike 4.2, disabling the checks does not verify every address, so every holder of an open-mode token needs an ONCHAINID, contracts that hold tokens (pools, escrows, vaults) included. The agent registers them like any investor. Requirements: - The caller must hold the role bound to this selector by the AccessManager. - The eligibility checks must not already be disabled; otherwise the call reverts with `EligibilityChecksDisabledAlready`. Emits an `EligibilityChecksDisabled` event upon successful execution."},"enableEligibilityChecks()":{"details":"Enables the eligibility checks for token transfers and other operations. Resumes the full claims / trusted-issuer verification inside `isVerified`. Requirements: - The caller must hold the role bound to this selector by the AccessManager. - The eligibility checks must currently be disabled; otherwise the call reverts with `EligibilityChecksEnabledAlready`. Emits an `EligibilityChecksEnabled` event upon successful execution."},"getClaimTopics()":{"details":"Get the trusted claim topics for the security token","returns":{"_0":"Array of trusted claim topics"}},"getClaimTopicsForIdentityType(uint256)":{"details":"Returns the override claim topics registered for an identity type. An empty array means identities of that type verify against the default `getClaimTopics()`.","params":{"identityType":"the ONCHAINID identity type to query"}},"getTrustedIssuerClaimTopics(address)":{"details":"Function for getting all the claim topic of trusted claim issuer","params":{"_trustedIssuer":"the trusted issuer concerned."},"returns":{"_0":"The set of claim topics that the trusted issuer is allowed to emit, empty if the provided ClaimIssuer contract is not registered."}},"getTrustedIssuers()":{"details":"Function for getting all the trusted claim issuers stored.","returns":{"_0":"array of all claim issuers registered."}},"getTrustedIssuersForClaimTopic(uint256)":{"details":"Function for getting all the trusted issuer allowed for a given claim topic.","params":{"claimTopic":"the claim topic to get the trusted issuers for."},"returns":{"_0":"array of all claim issuer addresses that are allowed for the given claim topic."}},"hasClaimTopic(address,uint256)":{"details":"Function for checking if the trusted claim issuer is allowed to emit a certain claim topic","params":{"_claimTopic":"the Claim Topic that has to be checked to know if the `issuer` is allowed to emit it","_issuer":"the address of the trusted issuer's ClaimIssuer contract"},"returns":{"_0":"true if the issuer is trusted for this claim topic."}},"identity(address)":{"details":"Returns the onchainID of an investor.","params":{"_userAddress":"The wallet of the investor"}},"identityFactory()":{"details":"Returns the ONCHAINID IdentityFactory this registry resolves through: a wallet the storage does not bind resolves here, and its type record backs per-type claim topic resolution. Baked into the implementation at construction, so changing it takes a new implementation published through the beacon. `identityTypeOf` on it returns 0 for identities it did not mint, which resolve to the default claim topics."},"identityStorage()":{"details":"Returns the IdentityRegistryStorage linked to the current IdentityRegistry."},"investorCountry(address)":{"details":"Returns the country code of an investor.","params":{"_userAddress":"The wallet of the investor"}},"isTrustedIssuer(address)":{"details":"Checks if the ClaimIssuer contract is trusted","params":{"_issuer":"the address of the ClaimIssuer contract"},"returns":{"_0":"true if the issuer is trusted, false otherwise."}},"isVerified(address)":{"details":"This functions checks whether an identity contract corresponding to the provided user address has the required claims or not based on the data fetched from trusted issuers registry and from the claim topics registry","params":{"_userAddress":"The address of the user to be verified."},"returns":{"_0":"'True' if the address is verified, 'false' if not."}},"isWalletVerified(bytes)":{"details":"Returns whether an ERC-7930 wallet is eligible for new activity, the way `isVerified` answers for a wallet on this chain. A wallet on this chain reads its registry entry; every other wallet resolves its active binding through the IdentityFactory. A wallet the IdentityFactory has revoked is not eligible on either path, however it was registered, even though `resolveIdentity` still attributes it. The identity then passes the same claim check as `isVerified`, and `disableEligibilityChecks` skips that check the same way, still requiring the active identity. Requirements: - `wallet` must be a canonical ERC-7930 v1 envelope; otherwise reverts with `NonCanonicalInteroperableAddress`.","params":{"wallet":"the ERC-7930 envelope of the wallet to check"},"returns":{"_0":"true when the wallet's active identity satisfies every required claim topic"}},"issuersRegistry()":{"details":"Returns the TrustedIssuersRegistry linked to the current IdentityRegistry."},"registerIdentity(address,address,uint16)":{"details":"Register an identity contract corresponding to a user address. Requires that the user doesn't have an identity contract already registered. This function can only be called by a wallet set as agent of the smart contract","params":{"_country":"The country of the investor emits `IdentityRegistered` event","_identity":"The address of the user's identity contract","_userAddress":"The address of the user"}},"removeClaimTopic(uint256)":{"details":"Remove a trusted claim topic (For example: KYC=1, AML=2). Restricted to the configured AccessManager role (OWNER). emits `ClaimTopicRemoved` event","params":{"_claimTopic":"The claim topic index"}},"removeClaimTopicForIdentityType(uint256,uint256)":{"details":"Removes a claim topic from the override set of an identity type. Once the set becomes empty, identities of that type fall back to the default claim topics. Removing a topic that is not in the set is a silent no-op, mirroring `removeClaimTopic`. Requirements: - The caller must hold the role bound to this selector by the AccessManager. - `identityType` must not be 0; otherwise the call reverts with `InvalidIdentityType`. Emits a `ClaimTopicRemovedForIdentityType` event when a topic is actually removed.","params":{"claimTopic":"the claim topic to remove for that identity type","identityType":"the ONCHAINID identity type the topic is no longer required for"}},"removeTrustedIssuer(address)":{"details":"Removes the ClaimIssuer contract of a trusted claim issuer. Requires that the claim issuer contract to be registered first","params":{"_trustedIssuer":"the claim issuer to remove. Restricted to the configured AccessManager role (OWNER). emits a `TrustedIssuerRemoved` event"}},"resolveIdentity(bytes)":{"details":"Returns the identity an ERC-7930 wallet is bound to, for attribution. A wallet on this chain reads its registry entry; every other wallet is resolved through the IdentityFactory, revoked bindings included, so a position stays attributed once its wallet is revoked. This is the lookup for who owns a position; use `isWalletVerified` to know whether the wallet may receive new activity. Requirements: - `wallet` must be a canonical ERC-7930 v1 envelope; otherwise reverts with `NonCanonicalInteroperableAddress`.","params":{"wallet":"the ERC-7930 envelope of the wallet to resolve"},"returns":{"_0":"the bound identity, or the zero address when the wallet is unbound"}},"setClaimTopicsRegistry(address)":{"details":"Replace the actual claimTopicsRegistry contract with a new one. This function can only be called by the wallet set as owner of the smart contract","params":{"_claimTopicsRegistry":"The address of the new claim Topics Registry emits `ClaimTopicsRegistrySet` event"}},"setIdentityRegistryStorage(address)":{"details":"Replace the actual identityRegistryStorage contract with a new one. This function can only be called by the wallet set as owner of the smart contract","params":{"_identityRegistryStorage":"The address of the new Identity Registry Storage emits `IdentityStorageSet` event"}},"setTrustedIssuersRegistry(address)":{"details":"Replace the actual trustedIssuersRegistry contract with a new one. This function can only be called by the wallet set as owner of the smart contract","params":{"_trustedIssuersRegistry":"The address of the new Trusted Issuers Registry emits `TrustedIssuersRegistrySet` event"}},"topicsRegistry()":{"details":"Returns the ClaimTopicsRegistry linked to the current IdentityRegistry."},"updateCountry(address,uint16)":{"details":"Updates the country corresponding to a user address. Requires that the user should have an identity contract already deployed that will be replaced. This function can only be called by a wallet set as agent of the smart contract","params":{"_country":"The new country of the user emits `CountryUpdated` event","_userAddress":"The address of the user"}},"updateIdentity(address,address)":{"details":"Updates an identity contract corresponding to a user address. Requires that the user address should be the owner of the identity contract. Requires that the user should have an identity contract already deployed that will be replaced. This function can only be called by a wallet set as agent of the smart contract","params":{"_identity":"The address of the user's new identity contract emits `IdentityUpdated` event","_userAddress":"The address of the user"}},"updateIssuerClaimTopics(address,uint256[])":{"details":"Updates the set of claim topics that a trusted issuer is allowed to emit. The provided set replaces the issuer's current set in full. Requires that this ClaimIssuer contract already exists in the registry Requires that the provided claimTopics set is not empty Requires that there is no more than 15 claimTopics An empty set is rejected, so this function cannot clear an issuer's topics. Stripping an issuer of every topic is done with `removeTrustedIssuer`, which drops the issuer and unbinds all of its topics.","params":{"_claimTopics":"the set of claim topics that the trusted issuer is allowed to emit Restricted to the configured AccessManager role (OWNER). emits a `ClaimTopicsUpdated` event","_trustedIssuer":"the claim issuer to update."}}},"version":1},"userdoc":{"kind":"user","methods":{"isLocallyRegistered(address)":{"notice":"Returns true when the wallet is active in this registry's storage, ignoring the IdentityFactory."}},"version":1}},"settings":{"remappings":["@forge-std/=dependencies/forge-std-1.16.2/src/","@onchain-id/solidity/=dependencies/onchain-id-develop/","@openzeppelin-contracts-5.7.0/=dependencies/@openzeppelin-contracts-5.7.0/","@openzeppelin-contracts-upgradeable-5.7.0/=dependencies/@openzeppelin-contracts-upgradeable-5.7.0/","@openzeppelin/accounts/=dependencies/onchain-id-develop/dependencies/@openzeppelin-accounts-0.0.0-e4c2a32a/packages/contracts/src/","@openzeppelin/contracts-upgradeable/=dependencies/@openzeppelin-contracts-upgradeable-5.7.0/","@openzeppelin/contracts/=dependencies/@openzeppelin-contracts-5.7.0/","forge-std-1.16.2/=dependencies/forge-std-1.16.2/src/","forge-std/=dependencies/onchain-id-develop/dependencies/forge-std-v1.14.0/src/","onchain-id-develop/=dependencies/onchain-id-develop/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"none","appendCBOR":false},"compilationTarget":{"contracts/registry/interface/ITREXRegistry.sol":"ITREXRegistry"},"evmVersion":"cancun","libraries":{}},"sources":{"contracts/ERC-3643/IERC3643ClaimTopicsRegistry.sol":{"keccak256":"0x817bd116fa823a1e9a29190073605ac78d59e264dd9c2dde5b44d6160560dd65","urls":["bzz-raw://26c01a407f6540f61ea84c9fcc2f179afbe3cca1eadd4f43f1956abafa4cf94d","dweb:/ipfs/QmdoUbos3XwvGaa9NyujZ8XTuotSoRaCkGqTwmeSiTcfHD"],"license":"CC0-1.0"},"contracts/ERC-3643/IERC3643IdentityRegistry.sol":{"keccak256":"0x1978f75528e2b60090e7fd8b95500ba93362f34de3dd828b234fa783be45ca72","urls":["bzz-raw://c86ce6964ec4d5a59b88f02b88f64c89d22d5a64e4ff7f5d65b67586a6f199b8","dweb:/ipfs/QmcJpBtDU4BxG2wuJSNScCxueGw3uGspsaAfYZVzNGSpoh"],"license":"CC0-1.0"},"contracts/ERC-3643/IERC3643IdentityRegistryStorage.sol":{"keccak256":"0xf4e3d94a124d016a94e6f33b3a56b39ce6a9053416739f687676577073d2590f","urls":["bzz-raw://ec0ac1447a15f5dfc63e019cf07be4a607c551eb7ac8536e986af5b339ca4293","dweb:/ipfs/QmTRqZgXgXPPzrgcS371UQmT8kcR9obf6GQSDResd6NZRA"],"license":"CC0-1.0"},"contracts/ERC-3643/IERC3643TrustedIssuersRegistry.sol":{"keccak256":"0x402227e7414460948ed67b816e5b30e1fdf2e9c2639b3e2cfa403dadbe7d1db1","urls":["bzz-raw://860034b771e0df5a995ed2fe5a61773ae7a1855e340ca85f17f7147ae6f75ce9","dweb:/ipfs/QmUtjtYV59RhEh4HYdmgdoacvHFw4kme3e6Xd3jMPC57N1"],"license":"CC0-1.0"},"contracts/registry/interface/ITREXRegistry.sol":{"keccak256":"0x5381996395e02eff2ca70353ebb3cc9250ea8d76c6df73ec898e0c46e472d742","urls":["bzz-raw://88a065c5cad478ae80ed1d2536c0bef0d72590f2f7f67e48f459de6986b7d69a","dweb:/ipfs/Qme4bp3WsoQDjFgJXzxZKUxA2rtWJtx61rQcYBhQAa3PbP"],"license":"GPL-3.0"},"dependencies/@openzeppelin-contracts-5.7.0/utils/Arrays.sol":{"keccak256":"0x772f0c778626a7bdcbcbabca74b825ae9b9dc89d2a47a98b402b1187fbaa63a4","urls":["bzz-raw://eba1d46e58e8880b45c6d51245dc94585b81d6d7290ca77ef50037a6193ed301","dweb:/ipfs/Qme3CWun5qQACjGEerT2MCvhs6brKGFfJirGnzV1ypKTXA"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0/utils/Comparators.sol":{"keccak256":"0x302eecd8cf323b4690e3494a7d960b3cbce077032ab8ef655b323cdd136cec58","urls":["bzz-raw://49ba706f1bc476d68fe6c1fad75517acea4e9e275be0989b548e292eb3a3eacd","dweb:/ipfs/QmeBpvcdGWzWMKTQESUCEhHgnEQYYATVwPxLMxa6vMT7jC"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0/utils/Panic.sol":{"keccak256":"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a","urls":["bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a","dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0/utils/SlotDerivation.sol":{"keccak256":"0x94045fd4f268edf2b2d01ef119268548c320366d6f5294ad30c1b8f9d4f5225f","urls":["bzz-raw://edfda81f426f8948b3834115c21e83c48180e6db0d2a8cd2debb2185ed349337","dweb:/ipfs/QmdYZneFyDAux1BuWQxLAdqtABrGS2k9WYCa7C9dvpKkWv"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0/utils/StorageSlot.sol":{"keccak256":"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97","urls":["bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b","dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0/utils/math/Math.sol":{"keccak256":"0x59973a93b1f983f94e10529f46ca46544a9fec2b5f56fb1390bbe9e0dc79f857","urls":["bzz-raw://c55ef8f0b9719790c2ae6f81d80a59ffb89f2f0abe6bc065585bd79edce058c5","dweb:/ipfs/QmNNmCbX9NjPXKqHJN8R1WC2rNeZSQrPZLd6FF6AKLyH5Y"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0/utils/math/SafeCast.sol":{"keccak256":"0xc8cae21c9ae4a46e5162ff9bf5b351d6fa6a6eba72d515f3bc1bdfeda7fdf083","urls":["bzz-raw://ce830ebcf28e31643caba318996db3763c36d52cd0f23798ba83c135355d45e9","dweb:/ipfs/QmdGPcvptHN7UBCbUYBbRX3hiRVRFLRwno8b4uga6uFNif"],"license":"MIT"},"dependencies/@openzeppelin-contracts-5.7.0/utils/structs/EnumerableSet.sol":{"keccak256":"0xd553ff8b7d55679f0711f1598600ac292dbd8cfdf4b2419b9cabe4c931172895","urls":["bzz-raw://7905ccb27e2308fd0d90dc1212161003ab6964e1c176593db1ccedef705bcc09","dweb:/ipfs/QmW37vm2PcrWLKnN74sKkvAzqSwntCEfCp4EoSEvbBHWkj"],"license":"MIT"},"dependencies/onchain-id-develop/contracts/factory/IIdentityFactory.sol":{"keccak256":"0xc096547c79c1845552d830fc38e1b5dc4cb371ff64b9ce96a65cddeeebbbb402","urls":["bzz-raw://0596255dcf9a71f9cb4abc3b536ce9c252fdd0e26120fce06aae4c5c8837bed1","dweb:/ipfs/QmUwfftBRmTbHnCePfoZWjT1T9BgxoxB7cGJeEYS5AYF5Q"],"license":"GPL-3.0"},"dependencies/onchain-id-develop/contracts/interface/IERC734.sol":{"keccak256":"0x5b63b065db77b9c63ef7cc4c1d2b623892aa2b32feb6a78d9d22ed362bb648e4","urls":["bzz-raw://f6cf5fed483831e41840fa24bede977d3bc0868b67883b5b45b14f66db1e035b","dweb:/ipfs/QmZazhde9xnU42t31xugynSPDWQbrjoGLWq2NNNNeBDukm"],"license":"GPL-3.0"},"dependencies/onchain-id-develop/contracts/interface/IERC735.sol":{"keccak256":"0x82391e9ecc8fc076e3671c3e2f41f6ca9f11e71b5c3faee023cb5a062c84b8a0","urls":["bzz-raw://19cc8e243b11cbab035972cbcda6080388a7b05d4d4b50597e88a12fadf498b8","dweb:/ipfs/QmdeBuh3JFWDnfMGekxAtQXE6zW4Awkerp85qhpvBQmR2F"],"license":"GPL-3.0"},"dependencies/onchain-id-develop/contracts/interface/IIdentity.sol":{"keccak256":"0xcae5ac4efee4856d102c113e025fad00a453e14e2ede5c87ae00f4ddfd150566","urls":["bzz-raw://221d5f426a856f783ac23058f2b86bd27d4719575c733ade5f2056871c3d5465","dweb:/ipfs/QmYqxYvtiUpsKj9KgpJhSm5jPohq3KEGxMCSGsr1MnWUUY"],"license":"GPL-3.0"},"dependencies/onchain-id-develop/contracts/storage/Structs.sol":{"keccak256":"0xeb175771b30b07bfaa713dc9f7b50d9ef6e222a9aa887f530bd9323cc51a21df","urls":["bzz-raw://225fb773f556d5768b4998fed00a344b3f3549705bdf9c0ac283ef1d5d35be89","dweb:/ipfs/QmbU1LKiKeVKi2cdYUR7txbh4RTn9YChX3e1QivPdfEEkK"],"license":"GPL-3.0"}},"version":1},"id":50}
|